mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 05:23:17 +00:00
1 line
No EOL
1.5 MiB
Vendored
1 line
No EOL
1.5 MiB
Vendored
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{"+VHp":function(t,e,n){"use strict";n("V8Te")},"+mfz":function(t,e,n){"use strict";n("LKnw")},"+uhv":function(t,e,n){"use strict";n("M24V")},"/RaH":function(t,e,n){var i=n("iTP3");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},"/jad":function(t,e,n){"use strict";var i=n("1gDp"),o=n("ngXG"),r={props:{status:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!1},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"}},components:{"context-menu":i.a,"poll-card":o.a},data:function(){return{config:window.App.config,profile:{},loading:!0,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,content:void 0}},mounted:function(){var t=this;this.profile=window._sharedData.curUser,this.content=this.status.content,this.status.emojis.forEach((function(e){var n='<img draggable="false" class="emojione custom-emoji" alt="'.concat(e.shortcode,'" title="').concat(e.shortcode,'" src="').concat(e.url,'" data-original="').concat(e.url,'" data-static="').concat(e.static_url,'" width="18" height="18" onerror="this.onerror=null;this.src=\'/storage/emoji/missing.png\';" />');t.content=t.content.replace(":".concat(e.shortcode,":"),n)}))},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,n=window.App.config.username.remote.custom,i=t.account.username,o=document.createElement("a");switch(o.href=t.account.url,o=o.hostname,e){case"@":return i+'<span class="text-lighter font-weight-bold">@'+o+"</span>";case"from":return i+'<span class="text-lighter font-weight-bold"> <span class="font-weight-normal">from</span> '+o+"</span>";case"custom":return i+'<span class="text-lighter font-weight-bold"> '+n+" "+o+"</span>";default:return i+'<span class="text-lighter font-weight-bold">@'+o+"</span>"}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){if(0!=$("body").hasClass("loggedIn")){var n=t.favourites_count;t.favourited=!t.favourited,axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,t.favourited=!!t.favourited})).catch((function(e){t.favourited=!!t.favourited,t.favourites_count=n,swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200),t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)}},commentFocus:function(t,e){this.$emit("comment-focus",t)},commentSubmit:function(t,e){var n=this;this.replySending=!0;var i=t.id,o=this.replyText,r=this.config.uploader.max_caption_length;if(o.length>r)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+r+" characters or less.","error");axios.post("/i/comment",{item:i,comment:o,sensitive:this.replyNsfw}).then((function(t){n.replyText="",n.replies.push(t.data.entity),n.$refs.replyModal.hide()})),this.replySending=!1},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete",t)},canFollow:function(t){return!!t.hasOwnProperty("relationship")&&(!(!t.hasOwnProperty("account")||!t.account.hasOwnProperty("id"))&&(t.account.id!=this.profile.id&&!t.relationship.following))},follow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(n){e.status.relationship.following=!0,e.$emit("followed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},unfollow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(n){e.status.relationship.following=!1,e.$emit("unfollowed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))}}},a=(n("RePV"),n("KHd+")),s=Object(a.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?n("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[n("div",{staticClass:"card-body"},[n("div",{staticClass:"media"},[n("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("div",{staticClass:"pl-2 d-flex align-items-top"},[n("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t")]),t._v(" "),n("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),n("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),n("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[n("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[n("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),n("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),n("div",{staticClass:"pl-2"},[t.status.sensitive?n("details",[n("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),n("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):n("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),n("p",{staticClass:"mb-0"},[n("i",{staticClass:"fa-heart fa-lg cursor-pointer mr-3",class:{"far text-muted":!t.status.favourited,"fas text-danger":t.status.favourited},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),n("i",{staticClass:"far fa-comment cursor-pointer text-muted fa-lg mr-3",on:{click:function(e){return t.commentFocus(t.status,e)}}})])])])])])]):"poll"===t.status.pf_type?n("div",[n("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):n("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?n("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[n("div",[n("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),n("div",{staticClass:"pl-2"},[n("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\tLoading...\n\t\t\t\t")]),t._v(" "),t.status.account.is_admin?n("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[n("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),n("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),n("div",{staticClass:"d-flex align-items-center"},[t.status.place?n("a",{staticClass:"small text-decoration-none text-muted",attrs:{href:"/discover/places/"+t.status.place.id+"/"+t.status.place.slug,title:"Location","data-toggle":"tooltip"}},[n("i",{staticClass:"fas fa-map-marked-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))]):t._e()])]),t._v(" "),t.canFollow(t.status)?n("div",[n("span",{staticClass:"px-2"}),t._v(" "),n("button",{staticClass:"btn btn-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.follow(t.status.account.id)}}},[n("i",{staticClass:"far fa-user-plus mr-1"}),t._v(" Follow")])]):t._e(),t._v(" "),t.status.hasOwnProperty("relationship")&&t.status.relationship.hasOwnProperty("following")&&t.status.relationship.following?n("div",[n("span",{staticClass:"px-2"}),t._v(" "),n("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.unfollow(t.status.account.id)}}},[n("i",{staticClass:"far fa-user-check mr-1"}),t._v(" Following")])]):t._e(),t._v(" "),n("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[n("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[n("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),n("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),n("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?n("div",{staticClass:"w-100"},[n("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?n("div",{staticClass:"w-100"},[n("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?n("div",{staticClass:"w-100"},[n("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?n("div",{staticClass:"w-100"},[n("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?n("div",{staticClass:"w-100"},[n("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):n("div",{staticClass:"w-100"},[n("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),t.config.features.label.covid.enabled&&t.status.label&&1==t.status.label.covid?n("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[n("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[n("span",[n("i",{staticClass:"fas fa-info-circle mr-2"}),t._v("\n\t\t\t\t\tFor information about COVID-19, "+t._s(t.config.features.label.covid.org)+"\n\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),n("div",{staticClass:"card-body"},[t.reactionBar?n("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?n("h3",{staticClass:"fas fa-heart text-danger pr-3 m-0 cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}):n("h3",{staticClass:"fal fa-heart pr-3 m-0 like-btn text-dark cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),t.status.comments_disabled?t._e():n("h3",{staticClass:"fal fa-comment text-dark pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.commentFocus(t.status,e)}}}),t._v(" "),t.status.taggedPeople.length?n("span",{staticClass:"float-right"},[n("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[n("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,e){return n("span",{staticClass:"mr-n2"},[n("a",{attrs:{href:"/"+t.username}},[n("img",{staticClass:"border rounded-circle",attrs:{src:t.avatar,width:"20px",height:"20px","data-toggle":"tooltip",title:"@"+t.username,alt:"Avatar"}})])])}))],2)]):t._e()]):t._e(),t._v(" "),t.status.liked_by.username&&t.status.liked_by.username!==t.profile.username?n("div",{staticClass:"likes mb-1"},[n("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),n("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?n("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?n("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),n("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?n("div",{staticClass:"caption"},[t.status.sensitive?t._e():n("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[n("span",{staticClass:"username font-weight-bold"},[n("bdi",[n("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),n("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),n("div",{staticClass:"timestamp mt-2"},[n("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?n("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[n("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1):n("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),n("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1),t._v(" "),t.recommended?n("span",[n("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),n("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),n("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fas fa-chevron-right text-lighter"})])}],!1,null,null,null);e.a=s.exports},"0SFe":function(t,e,n){"use strict";n("SZ2H")},"0dhX":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-bookmarks-component .form-check[data-v-25a4c79a] {\n margin-left: 1rem;\n}\n.account-bookmarks-component .form-check .media-body[data-v-25a4c79a] {\n margin-left: 1rem;\n}\n.account-bookmarks-component .media-image-placeholder[data-v-25a4c79a] {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 50px;\n height: 50px;\n background-color: #f8f9fa !important;\n border-radius: 5px;\n margin-right: 1rem;\n}",""])},"0ox+":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.autocomplete-input{border:1px solid #eee;border-radius:8px;width:100%;padding:12px 12px 12px 48px;box-sizing:border-box;position:relative;font-size:16px;line-height:1.5;flex:1;background-color:#eee;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNjY2IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTEiIGN5PSIxMSIgcj0iOCIvPjxwYXRoIGQ9Ik0yMSAyMWwtNC00Ii8+PC9zdmc+");background-repeat:no-repeat;background-position:12px}.autocomplete-input:focus,.autocomplete-input[aria-expanded=true]{border-color:rgba(0,0,0,.12);background-color:#fff;outline:none;box-shadow:0 2px 2px rgba(0,0,0,.16)}[data-position=below] .autocomplete-input[aria-expanded=true]{border-bottom-color:transparent;border-radius:8px 8px 0 0}[data-position=above] .autocomplete-input[aria-expanded=true]{border-top-color:transparent;border-radius:0 0 8px 8px;z-index:2}.autocomplete[data-loading=true]:after{content:"";border:3px solid rgba(0,0,0,.12);border-right-color:rgba(0,0,0,.48);border-radius:100%;width:20px;height:20px;position:absolute;right:12px;top:50%;transform:translateY(-50%);-webkit-animation:rotate 1s linear infinite;animation:rotate 1s linear infinite}.autocomplete-result-list{margin:0;border:1px solid rgba(0,0,0,.12);padding:0;box-sizing:border-box;max-height:296px;overflow-y:auto;background:#fff;list-style:none;box-shadow:0 2px 2px rgba(0,0,0,.16)}[data-position=below] .autocomplete-result-list{margin-top:-1px;border-top-color:transparent;border-radius:0 0 8px 8px;padding-bottom:8px}[data-position=above] .autocomplete-result-list{margin-bottom:-1px;border-bottom-color:transparent;border-radius:8px 8px 0 0;padding-top:8px}.autocomplete-result{cursor:default;padding:12px 12px 12px 48px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjY2NjIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTEiIGN5PSIxMSIgcj0iOCIvPjxwYXRoIGQ9Ik0yMSAyMWwtNC00Ii8+PC9zdmc+");background-repeat:no-repeat;background-position:12px}.autocomplete-result:hover,.autocomplete-result[aria-selected=true]{background-color:rgba(0,0,0,.06)}@-webkit-keyframes rotate{0%{transform:translateY(-50%) rotate(0deg)}to{transform:translateY(-50%) rotate(359deg)}}@keyframes rotate{0%{transform:translateY(-50%) rotate(0deg)}to{transform:translateY(-50%) rotate(359deg)}}',""])},"1PLf":function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"00ee":function(t,e,n){var i={};i[n("b622")("toStringTag")]="z",t.exports="[object z]"===String(i)},"0366":function(t,e,n){var i=n("1c0b");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,o){return t.call(e,n,i,o)}}return function(){return t.apply(e,arguments)}}},"0538":function(t,e,n){"use strict";var i=n("1c0b"),o=n("861d"),r=[].slice,a={},s=function(t,e,n){if(!(e in a)){for(var i=[],o=0;o<e;o++)i[o]="a["+o+"]";a[e]=Function("C,a","return new C("+i.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=i(this),n=r.call(arguments,1),a=function(){var i=n.concat(r.call(arguments));return this instanceof a?s(e,i.length,i):e.apply(t,i)};return o(e.prototype)&&(a.prototype=e.prototype),a}},"057f":function(t,e,n){var i=n("fc6a"),o=n("241c").f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==r.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(i(t))}},"06cf":function(t,e,n){var i=n("83ab"),o=n("d1e7"),r=n("5c6c"),a=n("fc6a"),s=n("c04e"),l=n("5135"),c=n("0cfb"),u=Object.getOwnPropertyDescriptor;e.f=i?u:function(t,e){if(t=a(t),e=s(e,!0),c)try{return u(t,e)}catch(t){}if(l(t,e))return r(!o.f.call(t,e),t[e])}},"0cfb":function(t,e,n){var i=n("83ab"),o=n("d039"),r=n("cc12");t.exports=!i&&!o((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},1148:function(t,e,n){"use strict";var i=n("a691"),o=n("1d80");t.exports="".repeat||function(t){var e=String(o(this)),n="",r=i(t);if(r<0||r==1/0)throw RangeError("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}},"19aa":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},"1be4":function(t,e,n){var i=n("d066");t.exports=i("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,e,n){var i=n("b622")("iterator"),o=!1;try{var r=0,a={next:function(){return{done:!!r++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n}},"1cdc":function(t,e,n){var i=n("342f");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(i)},"1d80":function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},2266:function(t,e,n){var i=n("825a"),o=n("e95a"),r=n("50c4"),a=n("0366"),s=n("35a1"),l=n("9bdd"),c=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,u,d){var p,h,f,m,v,g,b,y=a(e,n,u?2:1);if(d)p=t;else{if("function"!=typeof(h=s(t)))throw TypeError("Target is not iterable");if(o(h)){for(f=0,m=r(t.length);m>f;f++)if((v=u?y(i(b=t[f])[0],b[1]):y(t[f]))&&v instanceof c)return v;return new c(!1)}p=h.call(t)}for(g=p.next;!(b=g.call(p)).done;)if("object"==typeof(v=l(p,y,b.value,u))&&v&&v instanceof c)return v;return new c(!1)}).stop=function(t){return new c(!0,t)}},"23cb":function(t,e,n){var i=n("a691"),o=Math.max,r=Math.min;t.exports=function(t,e){var n=i(t);return n<0?o(n+e,0):r(n,e)}},"23e7":function(t,e,n){var i=n("da84"),o=n("06cf").f,r=n("9112"),a=n("6eeb"),s=n("ce4e"),l=n("e893"),c=n("94ca");t.exports=function(t,e){var n,u,d,p,h,f=t.target,m=t.global,v=t.stat;if(n=m?i:v?i[f]||s(f,{}):(i[f]||{}).prototype)for(u in e){if(p=e[u],d=t.noTargetGet?(h=o(n,u))&&h.value:n[u],!c(m?u:f+(v?".":"#")+u,t.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(t.sham||d&&d.sham)&&r(p,"sham",!0),a(n,u,p,t)}}},"241c":function(t,e,n){var i=n("ca84"),o=n("7839").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},"25f0":function(t,e,n){"use strict";var i=n("6eeb"),o=n("825a"),r=n("d039"),a=n("ad6d"),s=RegExp.prototype,l=s.toString,c=r((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),u="toString"!=l.name;(c||u)&&i(RegExp.prototype,"toString",(function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in s)?a.call(t):n)}),{unsafe:!0})},2626:function(t,e,n){"use strict";var i=n("d066"),o=n("9bf2"),r=n("b622"),a=n("83ab"),s=r("species");t.exports=function(t){var e=i(t),n=o.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},2994:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("49d8"),o=n("3054"),r=n("aacc");e.default=function(t,e,n,a,s){if(a<1||a>9||s<1||s>9)throw new r.ValidationError("BlurHash must have between 1 and 9 components");if(e*n*4!==t.length)throw new r.ValidationError("Width and height must match the pixels array");for(var l=[],c=function(i){for(var r=function(r){var a=0==r&&0==i?1:2,s=function(t,e,n,i){for(var r=0,a=0,s=0,l=4*e,c=0;c<e;c++)for(var u=0;u<n;u++){var d=i(c,u);r+=d*o.sRGBToLinear(t[4*c+0+u*l]),a+=d*o.sRGBToLinear(t[4*c+1+u*l]),s+=d*o.sRGBToLinear(t[4*c+2+u*l])}var p=1/(e*n);return[r*p,a*p,s*p]}(t,e,n,(function(t,o){return a*Math.cos(Math.PI*r*t/e)*Math.cos(Math.PI*i*o/n)}));l.push(s)},s=0;s<a;s++)r(s)},u=0;u<s;u++)c(u);var d,p,h=l[0],f=l.slice(1),m="",v=a-1+9*(s-1);if(m+=i.encode83(v,1),f.length>0){var g=Math.max.apply(Math,f.map((function(t){return Math.max.apply(Math,t)}))),b=Math.floor(Math.max(0,Math.min(82,Math.floor(166*g-.5))));d=(b+1)/166,m+=i.encode83(b,1)}else d=1,m+=i.encode83(0,1);return m+=i.encode83((p=h,(o.linearTosRGB(p[0])<<16)+(o.linearTosRGB(p[1])<<8)+o.linearTosRGB(p[2])),4),f.forEach((function(t){m+=i.encode83(function(t,e){return 19*Math.floor(Math.max(0,Math.min(18,Math.floor(9*o.signPow(t[0]/e,.5)+9.5))))*19+19*Math.floor(Math.max(0,Math.min(18,Math.floor(9*o.signPow(t[1]/e,.5)+9.5))))+Math.floor(Math.max(0,Math.min(18,Math.floor(9*o.signPow(t[2]/e,.5)+9.5))))}(t,d),2)})),m}},"2cf4":function(t,e,n){var i,o,r,a=n("da84"),s=n("d039"),l=n("c6b6"),c=n("0366"),u=n("1be4"),d=n("cc12"),p=n("1cdc"),h=a.location,f=a.setImmediate,m=a.clearImmediate,v=a.process,g=a.MessageChannel,b=a.Dispatch,y=0,w={},_=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},x=function(t){return function(){_(t)}},C=function(t){_(t.data)},k=function(t){a.postMessage(t+"",h.protocol+"//"+h.host)};f&&m||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return w[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},i(y),y},m=function(t){delete w[t]},"process"==l(v)?i=function(t){v.nextTick(x(t))}:b&&b.now?i=function(t){b.now(x(t))}:g&&!p?(r=(o=new g).port2,o.port1.onmessage=C,i=c(r.postMessage,r,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(k)||"file:"===h.protocol?i="onreadystatechange"in d("script")?function(t){u.appendChild(d("script")).onreadystatechange=function(){u.removeChild(this),_(t)}}:function(t){setTimeout(x(t),0)}:(i=k,a.addEventListener("message",C,!1))),t.exports={set:f,clear:m}},"2d00":function(t,e,n){var i,o,r=n("da84"),a=n("342f"),s=r.process,l=s&&s.versions,c=l&&l.v8;c?o=(i=c.split("."))[0]+i[1]:a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(o=i[1]),t.exports=o&&+o},3054:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sRGBToLinear=function(t){var e=t/255;return e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},e.linearTosRGB=function(t){var e=Math.max(0,Math.min(1,t));return e<=.0031308?Math.round(12.92*e*255+.5):Math.round(255*(1.055*Math.pow(e,1/2.4)-.055)+.5)},e.sign=function(t){return t<0?-1:1},e.signPow=function(t,n){return e.sign(t)*Math.pow(Math.abs(t),n)}},3410:function(t,e,n){var i=n("23e7"),o=n("d039"),r=n("7b0b"),a=n("e163"),s=n("e177");i({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(r(t))}})},"342f":function(t,e,n){var i=n("d066");t.exports=i("navigator","userAgent")||""},"35a1":function(t,e,n){var i=n("f5df"),o=n("3f8c"),r=n("b622")("iterator");t.exports=function(t){if(null!=t)return t[r]||t["@@iterator"]||o[i(t)]}},"37e8":function(t,e,n){var i=n("83ab"),o=n("9bf2"),r=n("825a"),a=n("df75");t.exports=i?Object.defineProperties:function(t,e){r(t);for(var n,i=a(e),s=i.length,l=0;s>l;)o.f(t,n=i[l++],e[n]);return t}},"3bbe":function(t,e,n){var i=n("861d");t.exports=function(t){if(!i(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,n){"use strict";var i=n("6547").charAt,o=n("69f3"),r=n("7dd0"),a=o.set,s=o.getterFor("String Iterator");r(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=s(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=i(n,o),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},"408a":function(t,e,n){var i=n("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=i(t))throw TypeError("Incorrect invocation");return+t}},"428f":function(t,e,n){var i=n("da84");t.exports=i},"44ad":function(t,e,n){var i=n("d039"),o=n("c6b6"),r="".split;t.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?r.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var i=n("b622"),o=n("7c73"),r=n("9bf2"),a=i("unscopables"),s=Array.prototype;null==s[a]&&r.f(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},"44de":function(t,e,n){var i=n("da84");t.exports=function(t,e){var n=i.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},4840:function(t,e,n){var i=n("825a"),o=n("1c0b"),r=n("b622")("species");t.exports=function(t,e){var n,a=i(t).constructor;return void 0===a||null==(n=i(a)[r])?e:o(n)}},4930:function(t,e,n){var i=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())}))},"49d8":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"];e.decode83=function(t){for(var e=0,n=0;n<t.length;n++){var o=t[n];e=83*e+i.indexOf(o)}return e},e.encode83=function(t,e){for(var n="",o=1;o<=e;o++){var r=Math.floor(t)/Math.pow(83,e-o)%83;n+=i[Math.floor(r)]}return n}},"4ae1":function(t,e,n){var i=n("23e7"),o=n("d066"),r=n("1c0b"),a=n("825a"),s=n("861d"),l=n("7c73"),c=n("0538"),u=n("d039"),d=o("Reflect","construct"),p=u((function(){function t(){}return!(d((function(){}),[],t)instanceof t)})),h=!u((function(){d((function(){}))})),f=p||h;i({target:"Reflect",stat:!0,forced:f,sham:f},{construct:function(t,e){r(t),a(e);var n=arguments.length<3?t:r(arguments[2]);if(h&&!p)return d(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var i=[null];return i.push.apply(i,e),new(c.apply(t,i))}var o=n.prototype,u=l(s(o)?o:Object.prototype),f=Function.apply.call(t,u,e);return s(f)?f:u}})},"4d64":function(t,e,n){var i=n("fc6a"),o=n("50c4"),r=n("23cb"),a=function(t){return function(e,n,a){var s,l=i(e),c=o(l.length),u=r(a,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"50c4":function(t,e,n){var i=n("a691"),o=Math.min;t.exports=function(t){return t>0?o(i(t),9007199254740991):0}},5135:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},5692:function(t,e,n){var i=n("c430"),o=n("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:i?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var i=n("d066"),o=n("241c"),r=n("7418"),a=n("825a");t.exports=i("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=r.f;return n?e.concat(n(t)):e}},5899:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"58a8":function(t,e,n){var i=n("1d80"),o="["+n("5899")+"]",r=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(t){return function(e){var n=String(i(e));return 1&t&&(n=n.replace(r,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"63a9":function(t,e,n){},6547:function(t,e,n){var i=n("a691"),o=n("1d80"),r=function(t){return function(e,n){var r,a,s=String(o(e)),l=i(n),c=s.length;return l<0||l>=c?t?"":void 0:(r=s.charCodeAt(l))<55296||r>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):r:t?s.slice(l,l+2):a-56320+(r-55296<<10)+65536}};t.exports={codeAt:r(!1),charAt:r(!0)}},"65f0":function(t,e,n){var i=n("861d"),o=n("e8b5"),r=n("b622")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[r])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"69f3":function(t,e,n){var i,o,r,a=n("7f9a"),s=n("da84"),l=n("861d"),c=n("9112"),u=n("5135"),d=n("f772"),p=n("d012"),h=s.WeakMap;if(a){var f=new h,m=f.get,v=f.has,g=f.set;i=function(t,e){return g.call(f,t,e),e},o=function(t){return m.call(f,t)||{}},r=function(t){return v.call(f,t)}}else{var b=d("state");p[b]=!0,i=function(t,e){return c(t,b,e),e},o=function(t){return u(t,b)?t[b]:{}},r=function(t){return u(t,b)}}t.exports={set:i,get:o,has:r,enforce:function(t){return r(t)?o(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},"6eeb":function(t,e,n){var i=n("da84"),o=n("9112"),r=n("5135"),a=n("ce4e"),s=n("8925"),l=n("69f3"),c=l.get,u=l.enforce,d=String(String).split("String");(t.exports=function(t,e,n,s){var l=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||r(n,"name")||o(n,"name",e),u(n).source=d.join("string"==typeof e?e:"")),t!==i?(l?!p&&t[e]&&(c=!0):delete t[e],c?t[e]=n:o(t,e,n)):c?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},7156:function(t,e,n){var i=n("861d"),o=n("d2bb");t.exports=function(t,e,n){var r,a;return o&&"function"==typeof(r=e.constructor)&&r!==n&&i(a=r.prototype)&&a!==n.prototype&&o(t,a),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var i=n("428f"),o=n("5135"),r=n("e538"),a=n("9bf2").f;t.exports=function(t){var e=i.Symbol||(i.Symbol={});o(e,t)||a(e,t,{value:r.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var i=n("1d80");t.exports=function(t){return Object(i(t))}},"7c73":function(t,e,n){var i,o=n("825a"),r=n("37e8"),a=n("7839"),s=n("d012"),l=n("1be4"),c=n("cc12"),u=n("f772"),d=u("IE_PROTO"),p=function(){},h=function(t){return"<script>"+t+"<\/script>"},f=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;f=i?function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e}(i):((e=c("iframe")).style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete f.prototype[a[n]];return f()};s[d]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[d]=t):n=f(),void 0===e?n:r(n,e)}},"7dd0":function(t,e,n){"use strict";var i=n("23e7"),o=n("9ed3"),r=n("e163"),a=n("d2bb"),s=n("d44e"),l=n("9112"),c=n("6eeb"),u=n("b622"),d=n("c430"),p=n("3f8c"),h=n("ae93"),f=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,v=u("iterator"),g=function(){return this};t.exports=function(t,e,n,u,h,b,y){o(n,e,u);var w,_,x,C=function(t){if(t===h&&T)return T;if(!m&&t in S)return S[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},k=e+" Iterator",O=!1,S=t.prototype,P=S[v]||S["@@iterator"]||h&&S[h],T=!m&&P||C(h),j="Array"==e&&S.entries||P;if(j&&(w=r(j.call(new t)),f!==Object.prototype&&w.next&&(d||r(w)===f||(a?a(w,f):"function"!=typeof w[v]&&l(w,v,g)),s(w,k,!0,!0),d&&(p[k]=g))),"values"==h&&P&&"values"!==P.name&&(O=!0,T=function(){return P.call(this)}),d&&!y||S[v]===T||l(S,v,T),p[e]=T,h)if(_={values:C("values"),keys:b?T:C("keys"),entries:C("entries")},y)for(x in _)(m||O||!(x in S))&&c(S,x,_[x]);else i({target:e,proto:!0,forced:m||O},_);return _}},"7f9a":function(t,e,n){var i=n("da84"),o=n("8925"),r=i.WeakMap;t.exports="function"==typeof r&&/native code/.test(o(r))},"825a":function(t,e,n){var i=n("861d");t.exports=function(t){if(!i(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var i=n("d039");t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},8875:function(t,e,n){var i,o,r;"undefined"!=typeof self&&self,o=[],void 0===(r="function"==typeof(i=function(){return function(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(c){var t,e,n,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(c.stack)||/@([^@]*):(\d+):(\d+)\s*$/gi.exec(c.stack),o=i&&i[1]||!1,r=i&&i[2]||!1,a=document.location.href.replace(document.location.hash,""),s=document.getElementsByTagName("script");o===a&&(t=document.documentElement.outerHTML,e=new RegExp("(?:[^\\n]+?\\n){0,"+(r-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),n=t.replace(e,"$1").trim());for(var l=0;l<s.length;l++){if("interactive"===s[l].readyState)return s[l];if(s[l].src===o)return s[l];if(o===a&&s[l].innerHTML&&s[l].innerHTML.trim()===n)return s[l]}return null}}})?i.apply(e,o):i)||(t.exports=r)},8925:function(t,e,n){var i=n("c6cd"),o=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(t){return o.call(t)}),t.exports=i.inspectSource},"8bbf":function(t,e){t.exports=n("XuX8")},"8cd5":function(t,e,n){"use strict";var i=n("63a9");n.n(i).a},"90e3":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+i).toString(36)}},9112:function(t,e,n){var i=n("83ab"),o=n("9bf2"),r=n("5c6c");t.exports=i?function(t,e,n){return o.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"94ca":function(t,e,n){var i=n("d039"),o=/#|\.prototype\./,r=function(t,e){var n=s[a(t)];return n==c||n!=l&&("function"==typeof e?i(e):!!e)},a=r.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=r.data={},l=r.NATIVE="N",c=r.POLYFILL="P";t.exports=r},"96cf":function(t,e,n){var i=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",r=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function s(t,e,n,i){var o=e&&e.prototype instanceof u?e:u,r=Object.create(o.prototype),a=new x(i||[]);return r._invoke=function(t,e,n){var i="suspendedStart";return function(o,r){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===o)throw r;return k()}for(n.method=o,n.arg=r;;){var a=n.delegate;if(a){var s=y(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var u=l(t,e,n);if("normal"===u.type){if(i=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i="completed",n.method="throw",n.arg=u.arg)}}}(t,n,a),r}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var c={};function u(){}function d(){}function p(){}var h={};h[o]=function(){return this};var f=Object.getPrototypeOf,m=f&&f(f(C([])));m&&m!==e&&n.call(m,o)&&(h=m);var v=p.prototype=u.prototype=Object.create(h);function g(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function b(t,e){var i;this._invoke=function(o,r){function a(){return new e((function(i,a){!function i(o,r,a,s){var c=l(t[o],t,r);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){u.value=t,a(u)}),(function(t){return i("throw",t,a,s)}))}s(c.arg)}(o,r,i,a)}))}return i=i?i.then(a,a):a()}}function y(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,y(t,e),"throw"===e.method))return c;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var i=l(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,c;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,c):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,c)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function C(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function e(){for(;++i<t.length;)if(n.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=v.constructor=p,p.constructor=d,p[a]=d.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,a in t||(t[a]="GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},g(b.prototype),b.prototype[r]=function(){return this},t.AsyncIterator=b,t.async=function(e,n,i,o,r){void 0===r&&(r=Promise);var a=new b(s(e,n,i,o),r);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(v),v[a]="Generator",v[o]=function(){return this},v.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var i=e.pop();if(i in t)return n.value=i,n.done=!1,n}return n.done=!0,n}},t.values=C,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(n,i){return a.type="throw",a.arg=t,e.next=n,i&&(e.method="next",e.arg=void 0),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o],a=r.completion;if("root"===r.tryLoc)return i("end");if(r.tryLoc<=this.prev){var s=n.call(r,"catchLoc"),l=n.call(r,"finallyLoc");if(s&&l){if(this.prev<r.catchLoc)return i(r.catchLoc,!0);if(this.prev<r.finallyLoc)return i(r.finallyLoc)}else if(s){if(this.prev<r.catchLoc)return i(r.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return i(r.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=t,a.arg=e,r?(this.method="next",this.next=r.finallyLoc,c):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),c},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),c}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var o=i.arg;_(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},t}(t.exports);try{regeneratorRuntime=i}catch(t){Function("r","regeneratorRuntime = r")(i)}},"9bdd":function(t,e,n){var i=n("825a");t.exports=function(t,e,n,o){try{return o?e(i(n)[0],n[1]):e(n)}catch(e){var r=t.return;throw void 0!==r&&i(r.call(t)),e}}},"9bf2":function(t,e,n){var i=n("83ab"),o=n("0cfb"),r=n("825a"),a=n("c04e"),s=Object.defineProperty;e.f=i?s:function(t,e,n){if(r(t),e=a(e,!0),r(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9ed3":function(t,e,n){"use strict";var i=n("ae93").IteratorPrototype,o=n("7c73"),r=n("5c6c"),a=n("d44e"),s=n("3f8c"),l=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=o(i,{next:r(1,n)}),a(t,c,!1,!0),s[c]=l,t}},a0bd:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("a161");e.decode=i.default,e.isBlurhashValid=i.isBlurhashValid;var o=n("2994");e.encode=o.default,function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n("aacc"))},a161:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("49d8"),o=n("3054"),r=n("aacc"),a=function(t){if(!t||t.length<6)throw new r.ValidationError("The blurhash string must be at least 6 characters");var e=i.decode83(t[0]),n=Math.floor(e/9)+1,o=e%9+1;if(t.length!==4+2*o*n)throw new r.ValidationError("blurhash length mismatch: length is "+t.length+" but it should be "+(4+2*o*n))};e.isBlurhashValid=function(t){try{a(t)}catch(t){return{result:!1,errorReason:t.message}}return{result:!0}};var s=function(t){var e=t>>16,n=t>>8&255,i=255&t;return[o.sRGBToLinear(e),o.sRGBToLinear(n),o.sRGBToLinear(i)]},l=function(t,e){var n=Math.floor(t/361),i=Math.floor(t/19)%19,r=t%19;return[o.signPow((n-9)/9,2)*e,o.signPow((i-9)/9,2)*e,o.signPow((r-9)/9,2)*e]};e.default=function(t,e,n,r){a(t),r|=1;for(var c=i.decode83(t[0]),u=Math.floor(c/9)+1,d=c%9+1,p=(i.decode83(t[1])+1)/166,h=new Array(d*u),f=0;f<h.length;f++)if(0===f){var m=i.decode83(t.substring(2,6));h[f]=s(m)}else{m=i.decode83(t.substring(4+2*f,6+2*f));h[f]=l(m,p*r)}for(var v=4*e,g=new Uint8ClampedArray(v*n),b=0;b<n;b++)for(var y=0;y<e;y++){for(var w=0,_=0,x=0,C=0;C<u;C++)for(f=0;f<d;f++){var k=Math.cos(Math.PI*y*f/e)*Math.cos(Math.PI*b*C/n),O=h[f+C*d];w+=O[0]*k,_+=O[1]*k,x+=O[2]*k}var S=o.linearTosRGB(w),P=o.linearTosRGB(_),T=o.linearTosRGB(x);g[4*y+0+b*v]=S,g[4*y+1+b*v]=P,g[4*y+2+b*v]=T,g[4*y+3+b*v]=255}return g}},a4d3:function(t,e,n){"use strict";var i=n("23e7"),o=n("da84"),r=n("d066"),a=n("c430"),s=n("83ab"),l=n("4930"),c=n("fdbf"),u=n("d039"),d=n("5135"),p=n("e8b5"),h=n("861d"),f=n("825a"),m=n("7b0b"),v=n("fc6a"),g=n("c04e"),b=n("5c6c"),y=n("7c73"),w=n("df75"),_=n("241c"),x=n("057f"),C=n("7418"),k=n("06cf"),O=n("9bf2"),S=n("d1e7"),P=n("9112"),T=n("6eeb"),j=n("5692"),M=n("f772"),E=n("d012"),A=n("90e3"),D=n("b622"),$=n("e538"),I=n("746f"),L=n("d44e"),B=n("69f3"),F=n("b727").forEach,R=M("hidden"),N=D("toPrimitive"),U=B.set,z=B.getterFor("Symbol"),H=Object.prototype,V=o.Symbol,W=r("JSON","stringify"),G=k.f,q=O.f,Y=x.f,X=S.f,K=j("symbols"),J=j("op-symbols"),Z=j("string-to-symbol-registry"),Q=j("symbol-to-string-registry"),tt=j("wks"),et=o.QObject,nt=!et||!et.prototype||!et.prototype.findChild,it=s&&u((function(){return 7!=y(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=G(H,e);i&&delete H[e],q(t,e,n),i&&t!==H&&q(H,e,i)}:q,ot=function(t,e){var n=K[t]=y(V.prototype);return U(n,{type:"Symbol",tag:t,description:e}),s||(n.description=e),n},rt=c?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof V},at=function(t,e,n){t===H&&at(J,e,n),f(t);var i=g(e,!0);return f(n),d(K,i)?(n.enumerable?(d(t,R)&&t[R][i]&&(t[R][i]=!1),n=y(n,{enumerable:b(0,!1)})):(d(t,R)||q(t,R,b(1,{})),t[R][i]=!0),it(t,i,n)):q(t,i,n)},st=function(t,e){f(t);var n=v(e),i=w(n).concat(dt(n));return F(i,(function(e){s&&!lt.call(n,e)||at(t,e,n[e])})),t},lt=function(t){var e=g(t,!0),n=X.call(this,e);return!(this===H&&d(K,e)&&!d(J,e))&&(!(n||!d(this,e)||!d(K,e)||d(this,R)&&this[R][e])||n)},ct=function(t,e){var n=v(t),i=g(e,!0);if(n!==H||!d(K,i)||d(J,i)){var o=G(n,i);return!o||!d(K,i)||d(n,R)&&n[R][i]||(o.enumerable=!0),o}},ut=function(t){var e=Y(v(t)),n=[];return F(e,(function(t){d(K,t)||d(E,t)||n.push(t)})),n},dt=function(t){var e=t===H,n=Y(e?J:v(t)),i=[];return F(n,(function(t){!d(K,t)||e&&!d(H,t)||i.push(K[t])})),i};(l||(T((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=A(t),n=function(t){this===H&&n.call(J,t),d(this,R)&&d(this[R],e)&&(this[R][e]=!1),it(this,e,b(1,t))};return s&&nt&&it(H,e,{configurable:!0,set:n}),ot(e,t)}).prototype,"toString",(function(){return z(this).tag})),T(V,"withoutSetter",(function(t){return ot(A(t),t)})),S.f=lt,O.f=at,k.f=ct,_.f=x.f=ut,C.f=dt,$.f=function(t){return ot(D(t),t)},s&&(q(V.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),a||T(H,"propertyIsEnumerable",lt,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:V}),F(w(tt),(function(t){I(t)})),i({target:"Symbol",stat:!0,forced:!l},{for:function(t){var e=String(t);if(d(Z,e))return Z[e];var n=V(e);return Z[e]=n,Q[n]=e,n},keyFor:function(t){if(!rt(t))throw TypeError(t+" is not a symbol");if(d(Q,t))return Q[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),i({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(t,e){return void 0===e?y(t):st(y(t),e)},defineProperty:at,defineProperties:st,getOwnPropertyDescriptor:ct}),i({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ut,getOwnPropertySymbols:dt}),i({target:"Object",stat:!0,forced:u((function(){C.f(1)}))},{getOwnPropertySymbols:function(t){return C.f(m(t))}}),W)&&i({target:"JSON",stat:!0,forced:!l||u((function(){var t=V();return"[null]"!=W([t])||"{}"!=W({a:t})||"{}"!=W(Object(t))}))},{stringify:function(t,e,n){for(var i,o=[t],r=1;arguments.length>r;)o.push(arguments[r++]);if(i=e,(h(e)||void 0!==t)&&!rt(t))return p(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!rt(e))return e}),o[1]=e,W.apply(null,o)}});V.prototype[N]||P(V.prototype,N,V.prototype.valueOf),L(V,"Symbol"),E[R]=!0},a691:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},a9e3:function(t,e,n){"use strict";var i=n("83ab"),o=n("da84"),r=n("94ca"),a=n("6eeb"),s=n("5135"),l=n("c6b6"),c=n("7156"),u=n("c04e"),d=n("d039"),p=n("7c73"),h=n("241c").f,f=n("06cf").f,m=n("9bf2").f,v=n("58a8").trim,g=o.Number,b=g.prototype,y="Number"==l(p(b)),w=function(t){var e,n,i,o,r,a,s,l,c=u(t,!1);if("string"==typeof c&&c.length>2)if(43===(e=(c=v(c)).charCodeAt(0))||45===e){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:i=2,o=49;break;case 79:case 111:i=8,o=55;break;default:return+c}for(a=(r=c.slice(2)).length,s=0;s<a;s++)if((l=r.charCodeAt(s))<48||l>o)return NaN;return parseInt(r,i)}return+c};if(r("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var _,x=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof x&&(y?d((function(){b.valueOf.call(n)})):"Number"!=l(n))?c(new g(w(e)),n,x):w(e)},C=i?h(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),k=0;C.length>k;k++)s(g,_=C[k])&&!s(x,_)&&m(x,_,f(g,_));x.prototype=b,b.constructor=x,a(o,"Number",x)}},aacc:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(e){var n=t.call(this,e)||this;return n.name="ValidationError",n.message=e,n}return o(e,t),e}(Error);e.ValidationError=r},ad6d:function(t,e,n){"use strict";var i=n("825a");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae93:function(t,e,n){"use strict";var i,o,r,a=n("e163"),s=n("9112"),l=n("5135"),c=n("b622"),u=n("c430"),d=c("iterator"),p=!1;[].keys&&("next"in(r=[].keys())?(o=a(a(r)))!==Object.prototype&&(i=o):p=!0),null==i&&(i={}),u||l(i,d)||s(i,d,(function(){return this})),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:p}},b041:function(t,e,n){"use strict";var i=n("00ee"),o=n("f5df");t.exports=i?{}.toString:function(){return"[object "+o(this)+"]"}},b575:function(t,e,n){var i,o,r,a,s,l,c,u,d=n("da84"),p=n("06cf").f,h=n("c6b6"),f=n("2cf4").set,m=n("1cdc"),v=d.MutationObserver||d.WebKitMutationObserver,g=d.process,b=d.Promise,y="process"==h(g),w=p(d,"queueMicrotask"),_=w&&w.value;_||(i=function(){var t,e;for(y&&(t=g.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?a():r=void 0,t}}r=void 0,t&&t.enter()},y?a=function(){g.nextTick(i)}:v&&!m?(s=!0,l=document.createTextNode(""),new v(i).observe(l,{characterData:!0}),a=function(){l.data=s=!s}):b&&b.resolve?(c=b.resolve(void 0),u=c.then,a=function(){u.call(c,i)}):a=function(){f.call(d,i)}),t.exports=_||function(t){var e={fn:t,next:void 0};r&&(r.next=e),o||(o=e,a()),r=e}},b622:function(t,e,n){var i=n("da84"),o=n("5692"),r=n("5135"),a=n("90e3"),s=n("4930"),l=n("fdbf"),c=o("wks"),u=i.Symbol,d=l?u:u&&u.withoutSetter||a;t.exports=function(t){return r(c,t)||(s&&r(u,t)?c[t]=u[t]:c[t]=d("Symbol."+t)),c[t]}},b680:function(t,e,n){"use strict";var i=n("23e7"),o=n("a691"),r=n("408a"),a=n("1148"),s=n("d039"),l=1..toFixed,c=Math.floor,u=function(t,e,n){return 0===e?n:e%2==1?u(t,e-1,n*t):u(t*t,e/2,n)};i({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){l.call({})}))},{toFixed:function(t){var e,n,i,s,l=r(this),d=o(t),p=[0,0,0,0,0,0],h="",f="0",m=function(t,e){for(var n=-1,i=e;++n<6;)i+=t*p[n],p[n]=i%1e7,i=c(i/1e7)},v=function(t){for(var e=6,n=0;--e>=0;)n+=p[e],p[e]=c(n/t),n=n%t*1e7},g=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==p[t]){var n=String(p[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e};if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(h="-",l=-l),l>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(l*u(2,69,1))-69)<0?l*u(2,-e,1):l/u(2,e,1),n*=4503599627370496,(e=52-e)>0){for(m(0,n),i=d;i>=7;)m(1e7,0),i-=7;for(m(u(10,i,1),0),i=e-1;i>=23;)v(1<<23),i-=23;v(1<<i),m(1,1),v(2),f=g()}else m(0,n),m(1<<-e,0),f=g()+a.call("0",d);return f=d>0?h+((s=f.length)<=d?"0."+a.call("0",d-s)+f:f.slice(0,s-d)+"."+f.slice(s-d)):h+f}})},b727:function(t,e,n){var i=n("0366"),o=n("44ad"),r=n("7b0b"),a=n("50c4"),s=n("65f0"),l=[].push,c=function(t){var e=1==t,n=2==t,c=3==t,u=4==t,d=6==t,p=5==t||d;return function(h,f,m,v){for(var g,b,y=r(h),w=o(y),_=i(f,m,3),x=a(w.length),C=0,k=v||s,O=e?k(h,x):n?k(h,0):void 0;x>C;C++)if((p||C in w)&&(b=_(g=w[C],C,y),t))if(e)O[C]=b;else if(b)switch(t){case 3:return!0;case 5:return g;case 6:return C;case 2:l.call(O,g)}else if(u)return!1;return d?-1:c||u?u:O}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},c04e:function(t,e,n){var i=n("861d");t.exports=function(t,e){if(!i(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!i(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!i(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!i(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var i=n("da84"),o=n("ce4e"),r=i["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=r},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var i=n("5135"),o=n("fc6a"),r=n("4d64").indexOf,a=n("d012");t.exports=function(t,e){var n,s=o(t),l=0,c=[];for(n in s)!i(a,n)&&i(s,n)&&c.push(n);for(;e.length>l;)i(s,n=e[l++])&&(~r(c,n)||c.push(n));return c}},cc12:function(t,e,n){var i=n("da84"),o=n("861d"),r=i.document,a=o(r)&&o(r.createElement);t.exports=function(t){return a?r.createElement(t):{}}},cdf9:function(t,e,n){var i=n("825a"),o=n("861d"),r=n("f069");t.exports=function(t,e){if(i(t),o(e)&&e.constructor===t)return e;var n=r.f(t);return(0,n.resolve)(e),n.promise}},ce4e:function(t,e,n){var i=n("da84"),o=n("9112");t.exports=function(t,e){try{o(i,t,e)}catch(n){i[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},d066:function(t,e,n){var i=n("428f"),o=n("da84"),r=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?r(i[t])||r(o[t]):i[t]&&i[t][e]||o[t]&&o[t][e]}},d1e7:function(t,e,n){"use strict";var i={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!i.call({1:2},1);e.f=r?function(t){var e=o(this,t);return!!e&&e.enumerable}:i},d28b:function(t,e,n){n("746f")("iterator")},d2bb:function(t,e,n){var i=n("825a"),o=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),o(r),e?t.call(n,r):n.__proto__=r,n}}():void 0)},d3b7:function(t,e,n){var i=n("00ee"),o=n("6eeb"),r=n("b041");i||o(Object.prototype,"toString",r,{unsafe:!0})},d44e:function(t,e,n){var i=n("9bf2").f,o=n("5135"),r=n("b622")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,r)&&i(t,r,{configurable:!0,value:e})}},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n("c8ba"))},ddb0:function(t,e,n){var i=n("da84"),o=n("fdbc"),r=n("e260"),a=n("9112"),s=n("b622"),l=s("iterator"),c=s("toStringTag"),u=r.values;for(var d in o){var p=i[d],h=p&&p.prototype;if(h){if(h[l]!==u)try{a(h,l,u)}catch(t){h[l]=u}if(h[c]||a(h,c,d),o[d])for(var f in r)if(h[f]!==r[f])try{a(h,f,r[f])}catch(t){h[f]=r[f]}}}},df75:function(t,e,n){var i=n("ca84"),o=n("7839");t.exports=Object.keys||function(t){return i(t,o)}},e01a:function(t,e,n){"use strict";var i=n("23e7"),o=n("83ab"),r=n("da84"),a=n("5135"),s=n("861d"),l=n("9bf2").f,c=n("e893"),u=r.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new u(t):void 0===t?u():u(t);return""===t&&(d[e]=!0),e};c(p,u);var h=p.prototype=u.prototype;h.constructor=p;var f=h.toString,m="Symbol(test)"==String(u("test")),v=/^Symbol\((.*)\)[^)]+$/;l(h,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=f.call(t);if(a(d,t))return"";var n=m?e.slice(7,-1):e.replace(v,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:p})}},e163:function(t,e,n){var i=n("5135"),o=n("7b0b"),r=n("f772"),a=n("e177"),s=r("IE_PROTO"),l=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),i(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},e177:function(t,e,n){var i=n("d039");t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var i=n("fc6a"),o=n("44d2"),r=n("3f8c"),a=n("69f3"),s=n("7dd0"),l=a.set,c=a.getterFor("Array Iterator");t.exports=s(Array,"Array",(function(t,e){l(this,{type:"Array Iterator",target:i(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values"),r.Arguments=r.Array,o("keys"),o("values"),o("entries")},e2cc:function(t,e,n){var i=n("6eeb");t.exports=function(t,e,n){for(var o in e)i(t,o,e[o],n);return t}},e538:function(t,e,n){var i=n("b622");e.f=i},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},e6cf:function(t,e,n){"use strict";var i,o,r,a,s=n("23e7"),l=n("c430"),c=n("da84"),u=n("d066"),d=n("fea9"),p=n("6eeb"),h=n("e2cc"),f=n("d44e"),m=n("2626"),v=n("861d"),g=n("1c0b"),b=n("19aa"),y=n("c6b6"),w=n("8925"),_=n("2266"),x=n("1c7e"),C=n("4840"),k=n("2cf4").set,O=n("b575"),S=n("cdf9"),P=n("44de"),T=n("f069"),j=n("e667"),M=n("69f3"),E=n("94ca"),A=n("b622"),D=n("2d00"),$=A("species"),I="Promise",L=M.get,B=M.set,F=M.getterFor(I),R=d,N=c.TypeError,U=c.document,z=c.process,H=u("fetch"),V=T.f,W=V,G="process"==y(z),q=!!(U&&U.createEvent&&c.dispatchEvent),Y=E(I,(function(){if(!(w(R)!==String(R))){if(66===D)return!0;if(!G&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!R.prototype.finally)return!0;if(D>=51&&/native code/.test(R))return!1;var t=R.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[$]=e,!(t.then((function(){}))instanceof e)})),X=Y||!x((function(t){R.all(t).catch((function(){}))})),K=function(t){var e;return!(!v(t)||"function"!=typeof(e=t.then))&&e},J=function(t,e,n){if(!e.notified){e.notified=!0;var i=e.reactions;O((function(){for(var o=e.value,r=1==e.state,a=0;i.length>a;){var s,l,c,u=i[a++],d=r?u.ok:u.fail,p=u.resolve,h=u.reject,f=u.domain;try{d?(r||(2===e.rejection&&et(t,e),e.rejection=1),!0===d?s=o:(f&&f.enter(),s=d(o),f&&(f.exit(),c=!0)),s===u.promise?h(N("Promise-chain cycle")):(l=K(s))?l.call(s,p,h):p(s)):h(o)}catch(t){f&&!c&&f.exit(),h(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&Q(t,e)}))}},Z=function(t,e,n){var i,o;q?((i=U.createEvent("Event")).promise=e,i.reason=n,i.initEvent(t,!1,!0),c.dispatchEvent(i)):i={promise:e,reason:n},(o=c["on"+t])?o(i):"unhandledrejection"===t&&P("Unhandled promise rejection",n)},Q=function(t,e){k.call(c,(function(){var n,i=e.value;if(tt(e)&&(n=j((function(){G?z.emit("unhandledRejection",i,t):Z("unhandledrejection",t,i)})),e.rejection=G||tt(e)?2:1,n.error))throw n.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){k.call(c,(function(){G?z.emit("rejectionHandled",t):Z("rejectionhandled",t,e.value)}))},nt=function(t,e,n,i){return function(o){t(e,n,o,i)}},it=function(t,e,n,i){e.done||(e.done=!0,i&&(e=i),e.value=n,e.state=2,J(t,e,!0))},ot=function(t,e,n,i){if(!e.done){e.done=!0,i&&(e=i);try{if(t===n)throw N("Promise can't be resolved itself");var o=K(n);o?O((function(){var i={done:!1};try{o.call(n,nt(ot,t,i,e),nt(it,t,i,e))}catch(n){it(t,i,n,e)}})):(e.value=n,e.state=1,J(t,e,!1))}catch(n){it(t,{done:!1},n,e)}}};Y&&(R=function(t){b(this,R,I),g(t),i.call(this);var e=L(this);try{t(nt(ot,this,e),nt(it,this,e))}catch(t){it(this,e,t)}},(i=function(t){B(this,{type:I,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(R.prototype,{then:function(t,e){var n=F(this),i=V(C(this,R));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=G?z.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&J(this,n,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i,e=L(t);this.promise=t,this.resolve=nt(ot,t,e),this.reject=nt(it,t,e)},T.f=V=function(t){return t===R||t===r?new o(t):W(t)},l||"function"!=typeof d||(a=d.prototype.then,p(d.prototype,"then",(function(t,e){var n=this;return new R((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof H&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return S(R,H.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:Y},{Promise:R}),f(R,I,!1,!0),m(I),r=u(I),s({target:I,stat:!0,forced:Y},{reject:function(t){var e=V(this);return e.reject.call(void 0,t),e.promise}}),s({target:I,stat:!0,forced:l||Y},{resolve:function(t){return S(l&&this===r?R:this,t)}}),s({target:I,stat:!0,forced:X},{all:function(t){var e=this,n=V(e),i=n.resolve,o=n.reject,r=j((function(){var n=g(e.resolve),r=[],a=0,s=1;_(t,(function(t){var l=a++,c=!1;r.push(void 0),s++,n.call(e,t).then((function(t){c||(c=!0,r[l]=t,--s||i(r))}),o)})),--s||i(r)}));return r.error&&o(r.value),n.promise},race:function(t){var e=this,n=V(e),i=n.reject,o=j((function(){var o=g(e.resolve);_(t,(function(t){o.call(e,t).then(n.resolve,i)}))}));return o.error&&i(o.value),n.promise}})},e893:function(t,e,n){var i=n("5135"),o=n("56ef"),r=n("06cf"),a=n("9bf2");t.exports=function(t,e){for(var n=o(e),s=a.f,l=r.f,c=0;c<n.length;c++){var u=n[c];i(t,u)||s(t,u,l(e,u))}}},e8b5:function(t,e,n){var i=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==i(t)}},e95a:function(t,e,n){var i=n("b622"),o=n("3f8c"),r=i("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[r]===t)}},f069:function(t,e,n){"use strict";var i=n("1c0b"),o=function(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)};t.exports.f=function(t){return new o(t)}},f5df:function(t,e,n){var i=n("00ee"),o=n("c6b6"),r=n("b622")("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=i?o:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?n:a?o(e):"Object"==(i=o(e))&&"function"==typeof e.callee?"Arguments":i}},f772:function(t,e,n){var i=n("5692"),o=n("90e3"),r=i("keys");t.exports=function(t){return r[t]||(r[t]=o(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),n.d(e,"BlurHash",(function(){return V})),n.d(e,"BlurHashCanvas",(function(){return z})),n.d(e,"BlurHashImage",(function(){return q})),"undefined"!=typeof window){var i=window.document.currentScript,o=n("8875");i=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var r=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);r&&(n.p=r[1])}n("a9e3");function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}n("4ae1"),n("3410");function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n("d3b7"),n("25f0");function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}n("a4d3"),n("e01a"),n("d28b"),n("e260"),n("3ca3"),n("ddb0");function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return function(){var e,n=c(t);if(u()){var i=c(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return p(this,e)}}function f(t,e,n,i){var o,r=arguments.length,a=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(e,n,a):o(e,n))||a);return r>3&&a&&Object.defineProperty(e,n,a),a}var m=n("8bbf"),v=n.n(m);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function w(){return"undefined"!=typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys}function _(t,e){x(t,e),Object.getOwnPropertyNames(e.prototype).forEach((function(n){x(t.prototype,e.prototype,n)})),Object.getOwnPropertyNames(e).forEach((function(n){x(t,e,n)}))}function x(t,e,n){(n?Reflect.getOwnMetadataKeys(e,n):Reflect.getOwnMetadataKeys(e)).forEach((function(i){var o=n?Reflect.getOwnMetadata(i,e,n):Reflect.getOwnMetadata(i,e);n?Reflect.defineMetadata(i,o,t,n):Reflect.defineMetadata(i,o,t)}))}var C={__proto__:[]}instanceof Array;function k(t){return function(e,n,i){var o="function"==typeof e?e:e.constructor;o.__decorators__||(o.__decorators__=[]),"number"!=typeof i&&(i=void 0),o.__decorators__.push((function(e){return t(e,n,i)}))}}function O(t,e){var n=e.prototype._init;e.prototype._init=function(){var e=this,n=Object.getOwnPropertyNames(t);if(t.$options.props)for(var i in t.$options.props)t.hasOwnProperty(i)||n.push(i);n.forEach((function(n){"_"!==n.charAt(0)&&Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){t[n]=e},configurable:!0})}))};var i=new e;e.prototype._init=n;var o={};return Object.keys(i).forEach((function(t){void 0!==i[t]&&(o[t]=i[t])})),o}var S=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.name=e.name||t._componentTag||t.name;var n=t.prototype;Object.getOwnPropertyNames(n).forEach((function(t){if("constructor"!==t)if(S.indexOf(t)>-1)e[t]=n[t];else{var i=Object.getOwnPropertyDescriptor(n,t);void 0!==i.value?"function"==typeof i.value?(e.methods||(e.methods={}))[t]=i.value:(e.mixins||(e.mixins=[])).push({data:function(){return b({},t,i.value)}}):(i.get||i.set)&&((e.computed||(e.computed={}))[t]={get:i.get,set:i.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return O(this,t)}});var i=t.__decorators__;i&&(i.forEach((function(t){return t(e)})),delete t.__decorators__);var o=Object.getPrototypeOf(t.prototype),r=o instanceof v.a?o.constructor:v.a,a=r.extend(e);return j(a,t,r),w()&&_(a,t),a}var T={prototype:!0,arguments:!0,callee:!0,caller:!0};function j(t,e,n){Object.getOwnPropertyNames(e).forEach((function(i){if(!T[i]){var o=Object.getOwnPropertyDescriptor(t,i);if(!o||o.configurable){var r,a,s=Object.getOwnPropertyDescriptor(e,i);if(!C){if("cid"===i)return;var l=Object.getOwnPropertyDescriptor(n,i);if(r=s.value,a=g(r),null!=r&&("object"===a||"function"===a)&&l&&l.value===s.value)return}0,Object.defineProperty(t,i,s)}}}))}function M(t){return"function"==typeof t?P(t):function(e){return P(e,t)}}M.registerHooks=function(t){S.push.apply(S,y(t))};var E=M;var A="undefined"!=typeof Reflect&&void 0!==Reflect.getMetadata;function D(t,e,n){if(A&&!Array.isArray(t)&&"function"!=typeof t&&void 0===t.type){var i=Reflect.getMetadata("design:type",e,n);i!==Object&&(t.type=i)}}function $(t){return void 0===t&&(t={}),function(e,n){D(t,e,n),k((function(e,n){(e.props||(e.props={}))[n]=t}))(e,n)}}n("96cf"),n("e6cf");function I(t,e,n,i,o,r,a){try{var s=t[r](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,o)}function L(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function B(t,e,n){return e&&L(t.prototype,e),n&&L(t,n),t}var F=n("a0bd"),R=(n("b680"),function(t){return"number"==typeof t?t:parseInt(t,10)}),N=function(t){l(o,t);var e,n,i=h(o);function o(){return a(this,o),i.apply(this,arguments)}return B(o,[{key:"updateCanvas",value:(e=regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.draw();case 3:case"end":return t.stop()}}),t,this)})),n=function(){var t=this,n=arguments;return new Promise((function(i,o){var r=e.apply(t,n);function a(t){I(r,i,o,a,s,"next",t)}function s(t){I(r,i,o,a,s,"throw",t)}a(void 0)}))},function(){return n.apply(this,arguments)})},{key:"draw",value:function(){var t=Object(F.decode)(this.hash,this.currentWidth,this.currentHeight,this.punch),e=this.$refs.canvas.getContext("2d"),n=e.createImageData(this.currentWidth,this.currentHeight);n.data.set(t),e.putImageData(n,0,0)}},{key:"mounted",value:function(){this.draw()}},{key:"watchers",get:function(){return[this.hash,this.width,this.height,this.punch]}},{key:"currentWidth",get:function(){return R(this.width)}},{key:"currentHeight",get:function(){return R(this.height)}},{key:"currentPunch",get:function(){return R(this.punch)}}]),o}(v.a);function U(t,e,n,i,o,r,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}f([$({type:String,required:!0})],N.prototype,"hash",void 0),f([$({type:[Number,String],default:128})],N.prototype,"width",void 0),f([$({type:[Number,String],default:128})],N.prototype,"height",void 0),f([$({type:Number,default:1})],N.prototype,"punch",void 0),f([function(t,e){void 0===e&&(e={});var n=e.deep,i=void 0!==n&&n,o=e.immediate,r=void 0!==o&&o;return k((function(e,n){"object"!=typeof e.watch&&(e.watch=Object.create(null));var o=e.watch;"object"!=typeof o[t]||Array.isArray(o[t])?void 0===o[t]&&(o[t]=[]):o[t]=[o[t]],o[t].push({handler:n,deep:i,immediate:r})}))}("watchers")],N.prototype,"updateCanvas",null);var z=U(N=f([E],N),(function(){var t=this.$createElement;return(this._self._c||t)("canvas",{ref:"canvas",attrs:{width:this.currentWidth,height:this.currentHeight}})}),[],!1,null,null,null).exports,H=function(t){l(n,t);var e=h(n);function n(){return a(this,n),e.apply(this,arguments)}return n}(v.a);f([$({type:String,required:!0})],H.prototype,"hash",void 0),f([$({type:[Number,String],default:128})],H.prototype,"width",void 0),f([$({type:[Number,String],default:128})],H.prototype,"height",void 0),f([$({type:Number,default:1})],H.prototype,"punch",void 0);var V=U(H=f([E({components:{BlurHashCanvas:z}})],H),(function(){var t=this.$createElement;return(this._self._c||t)("blur-hash-canvas",{attrs:{hash:this.hash,width:this.width,height:this.height,punch:this.punch}})}),[],!1,null,null,null).exports,W=function(t){l(n,t);var e=h(n);function n(){var t;return a(this,n),(t=e.apply(this,arguments)).imageLoaded=!1,t}return B(n,[{key:"onLoaded",value:function(){this.imageLoaded=!0}},{key:"computedRatio",get:function(){return t=R(this.height),e=R(this.width),"".concat((Math.round(t)/Math.round(e)*100).toFixed(2),"%");var t,e}},{key:"cssVars",get:function(){return{"--transition-duration":this.transitionDuration>0?"".concat(this.transitionDuration/1e3,"s"):"none"}}}]),n}(v.a);f([$({type:String,required:!0})],W.prototype,"hash",void 0),f([$({type:[Number,String],default:128})],W.prototype,"width",void 0),f([$({type:[Number,String],default:128})],W.prototype,"height",void 0),f([$({type:Number,default:1})],W.prototype,"punch",void 0),f([$({type:String,required:!0})],W.prototype,"src",void 0),f([$({type:String,default:null})],W.prototype,"srcset",void 0),f([$({type:Number,default:500})],W.prototype,"transitionDuration",void 0);var G=W=f([E({components:{BlurHashCanvas:z}})],W),q=(n("8cd5"),U(G,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{position:"relative"},style:[{paddingBottom:t.computedRatio},t.cssVars]},[n("transition-group",{staticStyle:{height:"100%",width:"100%",position:"absolute",top:"0",left:"0",right:"0",bottom:"0"},attrs:{mode:"in-out",name:"fade"}},[n("blur-hash-canvas",{directives:[{name:"show",rawName:"v-show",value:!t.imageLoaded,expression:"!imageLoaded"}],key:"canvas",staticStyle:{height:"100%",width:"100%",position:"absolute",top:"0",left:"0",right:"0",bottom:"0"},attrs:{hash:t.hash,width:t.width,height:t.height,punch:t.punch}}),n("img",t._b({directives:[{name:"show",rawName:"v-show",value:t.imageLoaded,expression:"imageLoaded"}],key:"image",staticStyle:{height:"100%",width:"100%",position:"absolute",top:"0",left:"0",right:"0",bottom:"0"},attrs:{src:t.src,srcset:t.srcset},on:{load:t.onLoaded}},"img",t.$attrs,!1))],1)],1)}),[],!1,null,"6383fb07",null).exports),Y={install:function(t,e){t.component("blur-hash-image",q),t.component("blur-hash",V),t.component("blur-hash-canvas",z)}};e.default=Y},fc6a:function(t,e,n){var i=n("44ad"),o=n("1d80");t.exports=function(t){return i(o(t))}},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,n){var i=n("4930");t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(t,e,n){var i=n("da84");t.exports=i.Promise}})},"1gDp":function(t,e,n){"use strict";var i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var n=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,n)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var n=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,n)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var n=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,n)}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var n=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+n,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var n=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+n,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,n=this.ctxMenuStatus.id;swal({title:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(i){i?axios.post("/i/report/",{report:t,type:"post",id:n}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){swal("Oops!","There was an issue reporting this post.","error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;switch(this.confirmModalType){case"post.delete":axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}))}this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,n){var i=this,o=(t.account.username,t.id,""),r=this;switch(e){case"addcw":o="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(n){n&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,r.closeModals(),r.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),r.closeModals(),r.ctxModMenuClose()}))}));break;case"remcw":o="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(n){n&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,r.closeModals(),r.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),r.closeModals(),r.ctxModMenuClose()}))}));break;case"unlist":o="Are you sure you want to unlist this post?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(n){n&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){i.feed=i.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),r.closeModals(),r.ctxModMenuClose()})).catch((function(t){r.closeModals(),r.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":o="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(n){n&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal("Success","Successfully marked account as spammer","success"),r.closeModals(),r.ctxModMenuClose()})).catch((function(t){r.closeModals(),r.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){0!=$("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.account.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.account.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=$("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(n){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(n){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}},o=n("KHd+"),r=Object(o.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal-stack"},[n("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[n("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("View Profile")]):t._e(),t._v(" "),"archived"!==t.status.visibility?n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("Share")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?n("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?n("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?n("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?n("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]):t._e(),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),n("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[n("div",{staticClass:"list-group text-center"},[n("p",{staticClass:"py-2 px-3 mb-0"}),n("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),n("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),n("p"),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),n("br"),t._v(" "),n("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),n("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[n("div",{staticClass:"list-group text-center"},[n("p",{staticClass:"py-2 px-3 mb-0"}),n("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),n("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),n("p"),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),n("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),n("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[n("div",[n("div",{staticClass:"form-group"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[n("div",{staticClass:"form-check mr-3"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var n=t.ctxEmbedShowCaption,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.ctxEmbedShowCaption=n.concat([null])):r>-1&&(t.ctxEmbedShowCaption=n.slice(0,r).concat(n.slice(r+1)))}else t.ctxEmbedShowCaption=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),t._v(" "),n("div",{staticClass:"form-check mr-3"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var n=t.ctxEmbedShowLikes,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.ctxEmbedShowLikes=n.concat([null])):r>-1&&(t.ctxEmbedShowLikes=n.slice(0,r).concat(n.slice(r+1)))}else t.ctxEmbedShowLikes=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),t._v(" "),n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var n=t.ctxEmbedCompactMode,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.ctxEmbedCompactMode=n.concat([null])):r>-1&&(t.ctxEmbedCompactMode=n.slice(0,r).concat(n.slice(r+1)))}else t.ctxEmbedCompactMode=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),t._v(" "),n("hr"),t._v(" "),n("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),n("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),n("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),n("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[n("p",{staticClass:"py-2 px-3 mb-0"}),n("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),n("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),n("p"),t._v(" "),n("div",{staticClass:"list-group text-center"},[n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),n("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[n("p",{staticClass:"py-2 px-3 mb-0"}),n("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),n("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),n("p"),t._v(" "),n("div",{staticClass:"list-group text-center"},[n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),n("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[n("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[n("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),n("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[n("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),n("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)}),[],!1,null,null,null);e.a=r.exports},21:function(t,e,n){t.exports=n("fQ/w")},"2DDd":function(t,e,n){"use strict";n("UzOw")},"2Jpm":function(t,e,n){"use strict";n.r(e);var i={props:["status"],methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())},toggleContentWarning:function(t){this.$emit("togglecw")}}},o=(n("Lp1U"),n("KHd+")),r=Object(o.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return 1==t.status.sensitive?n("div",{staticClass:"content-label-wrapper"},[n("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),n("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),n("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),n("p",{staticClass:"mb-0"},[n("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),n("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):n("div",{staticClass:"embed-responsive embed-responsive-16by9"},[n("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:"",poster:t.status.media_attachments[0].preview_url,"data-id":t.status.id}},[n("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}],!1,null,"5e63aaf2",null);e.default=r.exports},"2w22":function(t){t.exports=JSON.parse('{"common":{"comment":"Commenter","commented":"Commenté","comments":"Commentaires","like":"J\'aime","liked":"Aimé","likes":"J\'aime","share":"Partager","shared":"Partagé","shares":"Partages","unshare":"Ne plus partager","cancel":"Annuler","copyLink":"Copier le lien","delete":"Supprimer","error":"Erreur","errorMsg":"Une erreur est survenue. Veuillez réessayer plus tard.","oops":"Zut !","other":"Autre","readMore":"En savoir plus","success":"Opération réussie","sensitive":"Sensible","sensitiveContent":"Contenu sensible","sensitiveContentWarning":"Le contenu de ce message peut être sensible"},"site":{"terms":"Conditions d\'utilisation","privacy":"Politique de confidentialité"},"navmenu":{"search":"Chercher","admin":"Tableau de bord d\'administration","homeFeed":"Fil principal","localFeed":"Fil local","globalFeed":"Fil global","discover":"Découvrir","directMessages":"Messages Privés","notifications":"Notifications","groups":"Groupes","stories":"Stories","profile":"Profil","drive":"Médiathèque","settings":"Paramètres","compose":"Publier","logout":"Logout","about":"À propos","help":"Aide","language":"Langue","privacy":"Confidentialité","terms":"Conditions","backToPreviousDesign":"Revenir au design précédent"},"directMessages":{"inbox":"Boîte de réception","sent":"Boîte d\'envois","requests":"Demandes"},"notifications":{"liked":"a aimé votre","commented":"a commenté votre","reacted":"a réagi à votre","shared":"a partagé votre","tagged":"vous a tagué·e dans un","updatedA":"mis à jour un·e","sentA":"a envoyé un·e","followed":"s\'est abonné·e à","mentioned":"a mentionné","you":"vous","yourApplication":"Votre candidature à rejoindre","applicationApproved":"a été approuvée !","applicationRejected":"a été rejetée. Vous pouvez refaire une demande dans 6 mois.","dm":"mp","groupPost":"publication de groupe","modlog":"journal de modération","post":"publication","story":"story"},"post":{"shareToFollowers":"Partager avec ses abonné·e·s","shareToOther":"Partager avec d\'autres","noLikes":"Aucun J\'aime pour le moment","uploading":"Envoi en cours"},"profile":{"posts":"Publications","followers":"Abonné·e·s","following":"Abonnements","admin":"Administrateur·rice","collections":"Collections","follow":"S\'abonner","unfollow":"Se désabonner","editProfile":"Modifier votre profil","followRequested":"Demande d\'abonnement","joined":"A rejoint","emptyCollections":"Aucune collection ne semble exister","emptyPosts":"Aucune publication ne semble exister"},"menu":{"viewPost":"Voir la publication","viewProfile":"Voir le profil","moderationTools":"Outils de modération","report":"Signaler","archive":"Archiver","unarchive":"Désarchiver","embed":"Intégrer","selectOneOption":"Sélectionnez l\'une des options suivantes","unlistFromTimelines":"Retirer des flux","addCW":"Ajouter un avertissement de contenu","removeCW":"Enlever l’avertissement de contenu","markAsSpammer":"Marquer comme spammeur·euse","markAsSpammerText":"Retirer + avertissements pour les contenus existants et futurs","spam":"Indésirable","sensitive":"Contenu sensible","abusive":"Abusif ou préjudiciable","underageAccount":"Compte d\'un·e mineur·e","copyrightInfringement":"Violation des droits d’auteur","impersonation":"Usurpation d\'identité","scamOrFraud":"Arnaque ou fraude","confirmReport":"Confirmer le signalement","confirmReportText":"Êtes-vous sûr·e de vouloir signaler cette publication ?","reportSent":"Signalement envoyé !","reportSentText":"Nous avons bien reçu votre signalement.","reportSentError":"Une erreur s\'est produite lors du signalement de cette publication.","modAddCWConfirm":"Êtes-vous sûr·e de vouloir ajouter un avertissement de contenu à cette publication ?","modCWSuccess":"Avertissement de contenu ajouté avec succès","modRemoveCWConfirm":"Êtes-vous sûr·e de vouloir supprimer l\'avertissement de contenu sur cette publication ?","modRemoveCWSuccess":"Avertissement de contenu supprimé avec succès","modUnlistConfirm":"Êtes-vous sûr·e de vouloir retirer cette publication des flux ?","modUnlistSuccess":"Publication retirée des fils avec succès","modMarkAsSpammerConfirm":"Êtes-vous sûr·e de vouloir marquer cet utilisateur·rice comme spammeur·euse ? Toutes les publications existantes et futures seront retirées des flux et un avertissement de contenu sera appliqué.","modMarkAsSpammerSuccess":"Compte marqué avec succès comme spammeur","toFollowers":"aux abonné·e·s","showCaption":"Afficher la légende","showLikes":"Afficher les J\'aime","compactMode":"Mode compact","embedConfirmText":"En utilisant ce module, vous acceptez nos","deletePostConfirm":"Êtes-vous sûr·e de vouloir supprimer cette publication ?","archivePostConfirm":"Êtes-vous sûr·e de vouloir archiver cette publication ?","unarchivePostConfirm":"Êtes-vous sûr·e de vouloir désarchiver cette publication ?"},"story":{"add":"Ajouter une story"},"timeline":{"peopleYouMayKnow":"Connaissances possibles"},"hashtags":{"emptyFeed":"Aucune publication ne semble exister pour ce hashtag"}}')},"3VoG":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"/*!\n * Cropper.js v1.5.12\n * https://fengyuanchen.github.io/cropperjs\n *\n * Copyright 2015-present Chen Fengyuan\n * Released under the MIT license\n *\n * Date: 2021-06-12T08:00:11.623Z\n */\n\n.cropper-container {\n direction: ltr;\n font-size: 0;\n line-height: 0;\n position: relative;\n -ms-touch-action: none;\n touch-action: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.cropper-container img {\n display: block;\n height: 100%;\n image-orientation: 0deg;\n max-height: none !important;\n max-width: none !important;\n min-height: 0 !important;\n min-width: 0 !important;\n width: 100%;\n}\n\n.cropper-wrap-box,\n.cropper-canvas,\n.cropper-drag-box,\n.cropper-crop-box,\n.cropper-modal {\n bottom: 0;\n left: 0;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.cropper-wrap-box,\n.cropper-canvas {\n overflow: hidden;\n}\n\n.cropper-drag-box {\n background-color: #fff;\n opacity: 0;\n}\n\n.cropper-modal {\n background-color: #000;\n opacity: 0.5;\n}\n\n.cropper-view-box {\n display: block;\n height: 100%;\n outline: 1px solid #39f;\n outline-color: rgba(51, 153, 255, 0.75);\n overflow: hidden;\n width: 100%;\n}\n\n.cropper-dashed {\n border: 0 dashed #eee;\n display: block;\n opacity: 0.5;\n position: absolute;\n}\n\n.cropper-dashed.dashed-h {\n border-bottom-width: 1px;\n border-top-width: 1px;\n height: calc(100% / 3);\n left: 0;\n top: calc(100% / 3);\n width: 100%;\n}\n\n.cropper-dashed.dashed-v {\n border-left-width: 1px;\n border-right-width: 1px;\n height: 100%;\n left: calc(100% / 3);\n top: 0;\n width: calc(100% / 3);\n}\n\n.cropper-center {\n display: block;\n height: 0;\n left: 50%;\n opacity: 0.75;\n position: absolute;\n top: 50%;\n width: 0;\n}\n\n.cropper-center::before,\n.cropper-center::after {\n background-color: #eee;\n content: ' ';\n display: block;\n position: absolute;\n}\n\n.cropper-center::before {\n height: 1px;\n left: -3px;\n top: 0;\n width: 7px;\n}\n\n.cropper-center::after {\n height: 7px;\n left: 0;\n top: -3px;\n width: 1px;\n}\n\n.cropper-face,\n.cropper-line,\n.cropper-point {\n display: block;\n height: 100%;\n opacity: 0.1;\n position: absolute;\n width: 100%;\n}\n\n.cropper-face {\n background-color: #fff;\n left: 0;\n top: 0;\n}\n\n.cropper-line {\n background-color: #39f;\n}\n\n.cropper-line.line-e {\n cursor: ew-resize;\n right: -3px;\n top: 0;\n width: 5px;\n}\n\n.cropper-line.line-n {\n cursor: ns-resize;\n height: 5px;\n left: 0;\n top: -3px;\n}\n\n.cropper-line.line-w {\n cursor: ew-resize;\n left: -3px;\n top: 0;\n width: 5px;\n}\n\n.cropper-line.line-s {\n bottom: -3px;\n cursor: ns-resize;\n height: 5px;\n left: 0;\n}\n\n.cropper-point {\n background-color: #39f;\n height: 5px;\n opacity: 0.75;\n width: 5px;\n}\n\n.cropper-point.point-e {\n cursor: ew-resize;\n margin-top: -3px;\n right: -3px;\n top: 50%;\n}\n\n.cropper-point.point-n {\n cursor: ns-resize;\n left: 50%;\n margin-left: -3px;\n top: -3px;\n}\n\n.cropper-point.point-w {\n cursor: ew-resize;\n left: -3px;\n margin-top: -3px;\n top: 50%;\n}\n\n.cropper-point.point-s {\n bottom: -3px;\n cursor: s-resize;\n left: 50%;\n margin-left: -3px;\n}\n\n.cropper-point.point-ne {\n cursor: nesw-resize;\n right: -3px;\n top: -3px;\n}\n\n.cropper-point.point-nw {\n cursor: nwse-resize;\n left: -3px;\n top: -3px;\n}\n\n.cropper-point.point-sw {\n bottom: -3px;\n cursor: nesw-resize;\n left: -3px;\n}\n\n.cropper-point.point-se {\n bottom: -3px;\n cursor: nwse-resize;\n height: 20px;\n opacity: 1;\n right: -3px;\n width: 20px;\n}\n\n@media (min-width: 768px) {\n .cropper-point.point-se {\n height: 15px;\n width: 15px;\n }\n}\n\n@media (min-width: 992px) {\n .cropper-point.point-se {\n height: 10px;\n width: 10px;\n }\n}\n\n@media (min-width: 1200px) {\n .cropper-point.point-se {\n height: 5px;\n opacity: 0.75;\n width: 5px;\n }\n}\n\n.cropper-point.point-se::before {\n background-color: #39f;\n bottom: -50%;\n content: ' ';\n display: block;\n height: 200%;\n opacity: 0;\n position: absolute;\n right: -50%;\n width: 200%;\n}\n\n.cropper-invisible {\n opacity: 0;\n}\n\n.cropper-bg {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');\n}\n\n.cropper-hide {\n display: block;\n height: 0;\n position: absolute;\n width: 0;\n}\n\n.cropper-hidden {\n display: none !important;\n}\n\n.cropper-move {\n cursor: move;\n}\n\n.cropper-crop {\n cursor: crosshair;\n}\n\n.cropper-disabled .cropper-drag-box,\n.cropper-disabled .cropper-face,\n.cropper-disabled .cropper-line,\n.cropper-disabled .cropper-point {\n cursor: not-allowed;\n}\n",""])},"4Gle":function(t,e,n){var i=n("xs1Q");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},"4KG8":function(t,e,n){t.exports=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function n(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}if(Array.prototype.find||(Array.prototype.find=function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),i=n.length>>>0,o=arguments[1],r=0;r<i;r++)if(e=n[r],t.call(o,e,r,n))return e}),window&&"function"!=typeof window.CustomEvent){var i=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n};void 0!==window.Event&&(i.prototype=window.Event.prototype),window.CustomEvent=i}var o=function(){function e(n){t(this,e),this.tribute=n,this.tribute.events=this}return n(e,[{key:"bind",value:function(t){t.boundKeydown=this.keydown.bind(t,this),t.boundKeyup=this.keyup.bind(t,this),t.boundInput=this.input.bind(t,this),t.addEventListener("keydown",t.boundKeydown,!1),t.addEventListener("keyup",t.boundKeyup,!1),t.addEventListener("input",t.boundInput,!1)}},{key:"unbind",value:function(t){t.removeEventListener("keydown",t.boundKeydown,!1),t.removeEventListener("keyup",t.boundKeyup,!1),t.removeEventListener("input",t.boundInput,!1),delete t.boundKeydown,delete t.boundKeyup,delete t.boundInput}},{key:"keydown",value:function(t,n){t.shouldDeactivate(n)&&(t.tribute.isActive=!1,t.tribute.hideMenu());var i=this;t.commandEvent=!1,e.keys().forEach((function(e){e.key===n.keyCode&&(t.commandEvent=!0,t.callbacks()[e.value.toLowerCase()](n,i))}))}},{key:"input",value:function(t,e){t.inputEvent=!0,t.keyup.call(this,t,e)}},{key:"click",value:function(t,e){var n=t.tribute;if(n.menu&&n.menu.contains(e.target)){var i=e.target;for(e.preventDefault(),e.stopPropagation();"li"!==i.nodeName.toLowerCase();)if(!(i=i.parentNode)||i===n.menu)throw new Error("cannot find the <li> container for the click");n.selectItemAtIndex(i.getAttribute("data-index"),e),n.hideMenu()}else n.current.element&&!n.current.externalTrigger&&(n.current.externalTrigger=!1,setTimeout((function(){return n.hideMenu()})))}},{key:"keyup",value:function(t,e){if(t.inputEvent&&(t.inputEvent=!1),t.updateSelection(this),27!==e.keyCode){if(!t.tribute.allowSpaces&&t.tribute.hasTrailingSpace)return t.tribute.hasTrailingSpace=!1,t.commandEvent=!0,void t.callbacks().space(e,this);if(!t.tribute.isActive)if(t.tribute.autocompleteMode)t.callbacks().triggerChar(e,this,"");else{var n=t.getKeyCode(t,this,e);if(isNaN(n)||!n)return;var i=t.tribute.triggers().find((function(t){return t.charCodeAt(0)===n}));void 0!==i&&t.callbacks().triggerChar(e,this,i)}t.tribute.current.mentionText.length<t.tribute.current.collection.menuShowMinLength||((t.tribute.current.trigger||t.tribute.autocompleteMode)&&!1===t.commandEvent||t.tribute.isActive&&8===e.keyCode)&&t.tribute.showMenuFor(this,!0)}}},{key:"shouldDeactivate",value:function(t){if(!this.tribute.isActive)return!1;if(0===this.tribute.current.mentionText.length){var n=!1;return e.keys().forEach((function(e){t.keyCode===e.key&&(n=!0)})),!n}return!1}},{key:"getKeyCode",value:function(t,e,n){var i=t.tribute,o=i.range.getTriggerInfo(!1,i.hasTrailingSpace,!0,i.allowSpaces,i.autocompleteMode);return!!o&&o.mentionTriggerChar.charCodeAt(0)}},{key:"updateSelection",value:function(t){this.tribute.current.element=t;var e=this.tribute.range.getTriggerInfo(!1,this.tribute.hasTrailingSpace,!0,this.tribute.allowSpaces,this.tribute.autocompleteMode);e&&(this.tribute.current.selectedPath=e.mentionSelectedPath,this.tribute.current.mentionText=e.mentionText,this.tribute.current.selectedOffset=e.mentionSelectedOffset)}},{key:"callbacks",value:function(){var t=this;return{triggerChar:function(e,n,i){var o=t.tribute;o.current.trigger=i;var r=o.collection.find((function(t){return t.trigger===i}));o.current.collection=r,o.current.mentionText.length>=o.current.collection.menuShowMinLength&&o.inputEvent&&o.showMenuFor(n,!0)},enter:function(e,n){t.tribute.isActive&&t.tribute.current.filteredItems&&(e.preventDefault(),e.stopPropagation(),setTimeout((function(){t.tribute.selectItemAtIndex(t.tribute.menuSelected,e),t.tribute.hideMenu()}),0))},escape:function(e,n){t.tribute.isActive&&(e.preventDefault(),e.stopPropagation(),t.tribute.isActive=!1,t.tribute.hideMenu())},tab:function(e,n){t.callbacks().enter(e,n)},space:function(e,n){t.tribute.isActive&&(t.tribute.spaceSelectsMatch?t.callbacks().enter(e,n):t.tribute.allowSpaces||(e.stopPropagation(),setTimeout((function(){t.tribute.hideMenu(),t.tribute.isActive=!1}),0)))},up:function(e,n){if(t.tribute.isActive&&t.tribute.current.filteredItems){e.preventDefault(),e.stopPropagation();var i=t.tribute.current.filteredItems.length,o=t.tribute.menuSelected;i>o&&o>0?(t.tribute.menuSelected--,t.setActiveLi()):0===o&&(t.tribute.menuSelected=i-1,t.setActiveLi(),t.tribute.menu.scrollTop=t.tribute.menu.scrollHeight)}},down:function(e,n){if(t.tribute.isActive&&t.tribute.current.filteredItems){e.preventDefault(),e.stopPropagation();var i=t.tribute.current.filteredItems.length-1,o=t.tribute.menuSelected;i>o?(t.tribute.menuSelected++,t.setActiveLi()):i===o&&(t.tribute.menuSelected=0,t.setActiveLi(),t.tribute.menu.scrollTop=0)}},delete:function(e,n){t.tribute.isActive&&t.tribute.current.mentionText.length<1?t.tribute.hideMenu():t.tribute.isActive&&t.tribute.showMenuFor(n)}}}},{key:"setActiveLi",value:function(t){var e=this.tribute.menu.querySelectorAll("li"),n=e.length>>>0;t&&(this.tribute.menuSelected=parseInt(t));for(var i=0;i<n;i++){var o=e[i];if(i===this.tribute.menuSelected){o.classList.add(this.tribute.current.collection.selectClass);var r=o.getBoundingClientRect(),a=this.tribute.menu.getBoundingClientRect();if(r.bottom>a.bottom){var s=r.bottom-a.bottom;this.tribute.menu.scrollTop+=s}else if(r.top<a.top){var l=a.top-r.top;this.tribute.menu.scrollTop-=l}}else o.classList.remove(this.tribute.current.collection.selectClass)}}},{key:"getFullHeight",value:function(t,e){var n=t.getBoundingClientRect().height;if(e){var i=t.currentStyle||window.getComputedStyle(t);return n+parseFloat(i.marginTop)+parseFloat(i.marginBottom)}return n}}],[{key:"keys",value:function(){return[{key:9,value:"TAB"},{key:8,value:"DELETE"},{key:13,value:"ENTER"},{key:27,value:"ESCAPE"},{key:32,value:"SPACE"},{key:38,value:"UP"},{key:40,value:"DOWN"}]}}]),e}(),r=function(){function e(n){t(this,e),this.tribute=n,this.tribute.menuEvents=this,this.menu=this.tribute.menu}return n(e,[{key:"bind",value:function(t){var e=this;this.menuClickEvent=this.tribute.events.click.bind(null,this),this.menuContainerScrollEvent=this.debounce((function(){e.tribute.isActive&&e.tribute.showMenuFor(e.tribute.current.element,!1)}),300,!1),this.windowResizeEvent=this.debounce((function(){e.tribute.isActive&&e.tribute.range.positionMenuAtCaret(!0)}),300,!1),this.tribute.range.getDocument().addEventListener("MSPointerDown",this.menuClickEvent,!1),this.tribute.range.getDocument().addEventListener("mousedown",this.menuClickEvent,!1),window.addEventListener("resize",this.windowResizeEvent),this.menuContainer?this.menuContainer.addEventListener("scroll",this.menuContainerScrollEvent,!1):window.addEventListener("scroll",this.menuContainerScrollEvent)}},{key:"unbind",value:function(t){this.tribute.range.getDocument().removeEventListener("mousedown",this.menuClickEvent,!1),this.tribute.range.getDocument().removeEventListener("MSPointerDown",this.menuClickEvent,!1),window.removeEventListener("resize",this.windowResizeEvent),this.menuContainer?this.menuContainer.removeEventListener("scroll",this.menuContainerScrollEvent,!1):window.removeEventListener("scroll",this.menuContainerScrollEvent)}},{key:"debounce",value:function(t,e,n){var i,o=arguments,r=this;return function(){var a=r,s=o,l=n&&!i;clearTimeout(i),i=setTimeout((function(){i=null,n||t.apply(a,s)}),e),l&&t.apply(a,s)}}}]),e}(),a=function(){function e(n){t(this,e),this.tribute=n,this.tribute.range=this}return n(e,[{key:"getDocument",value:function(){var t;return this.tribute.current.collection&&(t=this.tribute.current.collection.iframe),t?t.contentWindow.document:document}},{key:"positionMenuAtCaret",value:function(t){var e,n=this,i=this.tribute.current,o=this.getTriggerInfo(!1,this.tribute.hasTrailingSpace,!0,this.tribute.allowSpaces,this.tribute.autocompleteMode);if(void 0!==o){if(!this.tribute.positionMenu)return void(this.tribute.menu.style.cssText="display: block;");e=this.isContentEditable(i.element)?this.getContentEditableCaretPosition(o.mentionPosition):this.getTextAreaOrInputUnderlinePosition(this.tribute.current.element,o.mentionPosition),this.tribute.menu.style.cssText="top: ".concat(e.top,"px;\n left: ").concat(e.left,"px;\n right: ").concat(e.right,"px;\n bottom: ").concat(e.bottom,"px;\n position: absolute;\n display: block;"),"auto"===e.left&&(this.tribute.menu.style.left="auto"),"auto"===e.top&&(this.tribute.menu.style.top="auto"),t&&this.scrollIntoView(),window.setTimeout((function(){var i={width:n.tribute.menu.offsetWidth,height:n.tribute.menu.offsetHeight},o=n.isMenuOffScreen(e,i),r=window.innerWidth>i.width&&(o.left||o.right),a=window.innerHeight>i.height&&(o.top||o.bottom);(r||a)&&(n.tribute.menu.style.cssText="display: none",n.positionMenuAtCaret(t))}),0)}else this.tribute.menu.style.cssText="display: none"}},{key:"selectElement",value:function(t,e,n){var i,o=t;if(e)for(var r=0;r<e.length;r++){if(void 0===(o=o.childNodes[e[r]]))return;for(;o.length<n;)n-=o.length,o=o.nextSibling;0!==o.childNodes.length||o.length||(o=o.previousSibling)}var a=this.getWindowSelection();(i=this.getDocument().createRange()).setStart(o,n),i.setEnd(o,n),i.collapse(!0);try{a.removeAllRanges()}catch(t){}a.addRange(i),t.focus()}},{key:"replaceTriggerText",value:function(t,e,n,i,o){var r=this.getTriggerInfo(!0,n,e,this.tribute.allowSpaces,this.tribute.autocompleteMode);if(void 0!==r){var a=this.tribute.current,s=new CustomEvent("tribute-replaced",{detail:{item:o,instance:a,context:r,event:i}});if(this.isContentEditable(a.element)){t+="string"==typeof this.tribute.replaceTextSuffix?this.tribute.replaceTextSuffix:" ";var l=r.mentionPosition+r.mentionText.length;this.tribute.autocompleteMode||(l+=r.mentionTriggerChar.length),this.pasteHtml(t,r.mentionPosition,l)}else{var c=this.tribute.current.element,u="string"==typeof this.tribute.replaceTextSuffix?this.tribute.replaceTextSuffix:" ";t+=u;var d=r.mentionPosition,p=r.mentionPosition+r.mentionText.length+u.length;this.tribute.autocompleteMode||(p+=r.mentionTriggerChar.length-1),c.value=c.value.substring(0,d)+t+c.value.substring(p,c.value.length),c.selectionStart=d+t.length,c.selectionEnd=d+t.length}a.element.dispatchEvent(new CustomEvent("input",{bubbles:!0})),a.element.dispatchEvent(s)}}},{key:"pasteHtml",value:function(t,e,n){var i,o;o=this.getWindowSelection(),(i=this.getDocument().createRange()).setStart(o.anchorNode,e),i.setEnd(o.anchorNode,n),i.deleteContents();var r=this.getDocument().createElement("div");r.innerHTML=t;for(var a,s,l=this.getDocument().createDocumentFragment();a=r.firstChild;)s=l.appendChild(a);i.insertNode(l),s&&((i=i.cloneRange()).setStartAfter(s),i.collapse(!0),o.removeAllRanges(),o.addRange(i))}},{key:"getWindowSelection",value:function(){return this.tribute.collection.iframe?this.tribute.collection.iframe.contentWindow.getSelection():window.getSelection()}},{key:"getNodePositionInParent",value:function(t){if(null===t.parentNode)return 0;for(var e=0;e<t.parentNode.childNodes.length;e++)if(t.parentNode.childNodes[e]===t)return e}},{key:"getContentEditableSelectedPath",value:function(t){var e=this.getWindowSelection(),n=e.anchorNode,i=[];if(null!=n){for(var o,r=n.contentEditable;null!==n&&"true"!==r;)o=this.getNodePositionInParent(n),i.push(o),null!==(n=n.parentNode)&&(r=n.contentEditable);return i.reverse(),{selected:n,path:i,offset:e.getRangeAt(0).startOffset}}}},{key:"getTextPrecedingCurrentSelection",value:function(){var t=this.tribute.current,e="";if(this.isContentEditable(t.element)){var n=this.getWindowSelection().anchorNode;if(null!=n){var i=n.textContent,o=this.getWindowSelection().getRangeAt(0).startOffset;i&&o>=0&&(e=i.substring(0,o))}}else{var r=this.tribute.current.element;if(r){var a=r.selectionStart;r.value&&a>=0&&(e=r.value.substring(0,a))}}return e}},{key:"getLastWordInText",value:function(t){var e=(t=t.replace(/\u00A0/g," ")).split(/\s+/);return e[e.length-1].trim()}},{key:"getTriggerInfo",value:function(t,e,n,i,o){var r,a,s,l=this,c=this.tribute.current;if(this.isContentEditable(c.element)){var u=this.getContentEditableSelectedPath(c);u&&(r=u.selected,a=u.path,s=u.offset)}else r=this.tribute.current.element;var d=this.getTextPrecedingCurrentSelection(),p=this.getLastWordInText(d);if(o)return{mentionPosition:d.length-p.length,mentionText:p,mentionSelectedElement:r,mentionSelectedPath:a,mentionSelectedOffset:s};if(null!=d){var h,f=-1;if(this.tribute.collection.forEach((function(t){var e=t.trigger,i=t.requireLeadingSpace?l.lastIndexWithLeadingSpace(d,e):d.lastIndexOf(e);i>f&&(f=i,h=e,n=t.requireLeadingSpace)})),f>=0&&(0===f||!n||/[\xA0\s]/g.test(d.substring(f-1,f)))){var m=d.substring(f+h.length,d.length);h=d.substring(f,f+h.length);var v=m.substring(0,1),g=m.length>0&&(" "===v||" "===v);e&&(m=m.trim());var b=i?/[^\S ]/g:/[\xA0\s]/g;if(this.tribute.hasTrailingSpace=b.test(m),!g&&(t||!b.test(m)))return{mentionPosition:f,mentionText:m,mentionSelectedElement:r,mentionSelectedPath:a,mentionSelectedOffset:s,mentionTriggerChar:h}}}}},{key:"lastIndexWithLeadingSpace",value:function(t,e){for(var n=t.split("").reverse().join(""),i=-1,o=0,r=t.length;o<r;o++){for(var a=o===t.length-1,s=/\s/.test(n[o+1]),l=!0,c=e.length-1;c>=0;c--)if(e[c]!==n[o-c]){l=!1;break}if(l&&(a||s)){i=t.length-1-o;break}}return i}},{key:"isContentEditable",value:function(t){return"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName}},{key:"isMenuOffScreen",value:function(t,e){var n=window.innerWidth,i=window.innerHeight,o=document.documentElement,r=(window.pageXOffset||o.scrollLeft)-(o.clientLeft||0),a=(window.pageYOffset||o.scrollTop)-(o.clientTop||0),s="number"==typeof t.top?t.top:a+i-t.bottom-e.height,l="number"==typeof t.right?t.right:t.left+e.width,c="number"==typeof t.bottom?t.bottom:t.top+e.height,u="number"==typeof t.left?t.left:r+n-t.right-e.width;return{top:s<Math.floor(a),right:l>Math.ceil(r+n),bottom:c>Math.ceil(a+i),left:u<Math.floor(r)}}},{key:"getMenuDimensions",value:function(){var t={width:null,height:null};return this.tribute.menu.style.cssText="top: 0px;\n left: 0px;\n position: fixed;\n display: block;\n visibility; hidden;",t.width=this.tribute.menu.offsetWidth,t.height=this.tribute.menu.offsetHeight,this.tribute.menu.style.cssText="display: none;",t}},{key:"getTextAreaOrInputUnderlinePosition",value:function(t,e,n){var i=null!==window.mozInnerScreenX,o=this.getDocument().createElement("div");o.id="input-textarea-caret-position-mirror-div",this.getDocument().body.appendChild(o);var r=o.style,a=window.getComputedStyle?getComputedStyle(t):t.currentStyle;r.whiteSpace="pre-wrap","INPUT"!==t.nodeName&&(r.wordWrap="break-word"),r.position="absolute",r.visibility="hidden",["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing"].forEach((function(t){r[t]=a[t]})),i?(r.width="".concat(parseInt(a.width)-2,"px"),t.scrollHeight>parseInt(a.height)&&(r.overflowY="scroll")):r.overflow="hidden",o.textContent=t.value.substring(0,e),"INPUT"===t.nodeName&&(o.textContent=o.textContent.replace(/\s/g," "));var s=this.getDocument().createElement("span");s.textContent=t.value.substring(e)||".",o.appendChild(s);var l=t.getBoundingClientRect(),c=document.documentElement,u=(window.pageXOffset||c.scrollLeft)-(c.clientLeft||0),d=(window.pageYOffset||c.scrollTop)-(c.clientTop||0),p=0,h=0;this.menuContainerIsBody&&(p=l.top,h=l.left);var f={top:p+d+s.offsetTop+parseInt(a.borderTopWidth)+parseInt(a.fontSize)-t.scrollTop,left:h+u+s.offsetLeft+parseInt(a.borderLeftWidth)},m=window.innerWidth,v=window.innerHeight,g=this.getMenuDimensions(),b=this.isMenuOffScreen(f,g);b.right&&(f.right=m-f.left,f.left="auto");var y=this.tribute.menuContainer?this.tribute.menuContainer.offsetHeight:this.getDocument().body.offsetHeight;if(b.bottom){var w=y-(v-(this.tribute.menuContainer?this.tribute.menuContainer.getBoundingClientRect():this.getDocument().body.getBoundingClientRect()).top);f.bottom=w+(v-l.top-s.offsetTop),f.top="auto"}return(b=this.isMenuOffScreen(f,g)).left&&(f.left=m>g.width?u+m-g.width:u,delete f.right),b.top&&(f.top=v>g.height?d+v-g.height:d,delete f.bottom),this.getDocument().body.removeChild(o),f}},{key:"getContentEditableCaretPosition",value:function(t){var e,n=this.getWindowSelection();(e=this.getDocument().createRange()).setStart(n.anchorNode,t),e.setEnd(n.anchorNode,t),e.collapse(!1);var i=e.getBoundingClientRect(),o=document.documentElement,r=(window.pageXOffset||o.scrollLeft)-(o.clientLeft||0),a=(window.pageYOffset||o.scrollTop)-(o.clientTop||0),s={left:i.left+r,top:i.top+i.height+a},l=window.innerWidth,c=window.innerHeight,u=this.getMenuDimensions(),d=this.isMenuOffScreen(s,u);d.right&&(s.left="auto",s.right=l-i.left-r);var p=this.tribute.menuContainer?this.tribute.menuContainer.offsetHeight:this.getDocument().body.offsetHeight;if(d.bottom){var h=p-(c-(this.tribute.menuContainer?this.tribute.menuContainer.getBoundingClientRect():this.getDocument().body.getBoundingClientRect()).top);s.top="auto",s.bottom=h+(c-i.top)}return(d=this.isMenuOffScreen(s,u)).left&&(s.left=l>u.width?r+l-u.width:r,delete s.right),d.top&&(s.top=c>u.height?a+c-u.height:a,delete s.bottom),this.menuContainerIsBody||(s.left=s.left?s.left-this.tribute.menuContainer.offsetLeft:s.left,s.top=s.top?s.top-this.tribute.menuContainer.offsetTop:s.top),s}},{key:"scrollIntoView",value:function(t){var e,n=this.menu;if(void 0!==n){for(;void 0===e||0===e.height;)if(0===(e=n.getBoundingClientRect()).height&&(void 0===(n=n.childNodes[0])||!n.getBoundingClientRect))return;var i=e.top,o=i+e.height;if(i<0)window.scrollTo(0,window.pageYOffset+e.top-20);else if(o>window.innerHeight){var r=window.pageYOffset+e.top-20;r-window.pageYOffset>100&&(r=window.pageYOffset+100);var a=window.pageYOffset-(window.innerHeight-o);a>r&&(a=r),window.scrollTo(0,a)}}}},{key:"menuContainerIsBody",get:function(){return this.tribute.menuContainer===document.body||!this.tribute.menuContainer}}]),e}(),s=function(){function e(n){t(this,e),this.tribute=n,this.tribute.search=this}return n(e,[{key:"simpleFilter",value:function(t,e){var n=this;return e.filter((function(e){return n.test(t,e)}))}},{key:"test",value:function(t,e){return null!==this.match(t,e)}},{key:"match",value:function(t,e,n){n=n||{},e.length;var i=n.pre||"",o=n.post||"",r=n.caseSensitive&&e||e.toLowerCase();if(n.skip)return{rendered:e,score:0};t=n.caseSensitive&&t||t.toLowerCase();var a=this.traverse(r,t,0,0,[]);return a?{rendered:this.render(e,a.cache,i,o),score:a.score}:null}},{key:"traverse",value:function(t,e,n,i,o){if(e.length===i)return{score:this.calculateScore(o),cache:o.slice()};if(!(t.length===n||e.length-i>t.length-n)){for(var r,a,s=e[i],l=t.indexOf(s,n);l>-1;){if(o.push(l),a=this.traverse(t,e,l+1,i+1,o),o.pop(),!a)return r;(!r||r.score<a.score)&&(r=a),l=t.indexOf(s,l+1)}return r}}},{key:"calculateScore",value:function(t){var e=0,n=1;return t.forEach((function(i,o){o>0&&(t[o-1]+1===i?n+=n+1:n=1),e+=n})),e}},{key:"render",value:function(t,e,n,i){var o=t.substring(0,e[0]);return e.forEach((function(r,a){o+=n+t[r]+i+t.substring(r+1,e[a+1]?e[a+1]:t.length)})),o}},{key:"filter",value:function(t,e,n){var i=this;return n=n||{},e.reduce((function(e,o,r,a){var s=o;n.extract&&((s=n.extract(o))||(s=""));var l=i.match(t,s,n);return null!=l&&(e[e.length]={string:l.rendered,score:l.score,index:r,original:o}),e}),[]).sort((function(t,e){return e.score-t.score||t.index-e.index}))}}]),e}();return function(){function e(n){var i,l=this,c=n.values,u=void 0===c?null:c,d=n.iframe,p=void 0===d?null:d,h=n.selectClass,f=void 0===h?"highlight":h,m=n.containerClass,v=void 0===m?"tribute-container":m,g=n.itemClass,b=void 0===g?"":g,y=n.trigger,w=void 0===y?"@":y,_=n.autocompleteMode,x=void 0!==_&&_,C=n.selectTemplate,k=void 0===C?null:C,O=n.menuItemTemplate,S=void 0===O?null:O,P=n.lookup,T=void 0===P?"key":P,j=n.fillAttr,M=void 0===j?"value":j,E=n.collection,A=void 0===E?null:E,D=n.menuContainer,$=void 0===D?null:D,I=n.noMatchTemplate,L=void 0===I?null:I,B=n.requireLeadingSpace,F=void 0===B||B,R=n.allowSpaces,N=void 0!==R&&R,U=n.replaceTextSuffix,z=void 0===U?null:U,H=n.positionMenu,V=void 0===H||H,W=n.spaceSelectsMatch,G=void 0!==W&&W,q=n.searchOpts,Y=void 0===q?{}:q,X=n.menuItemLimit,K=void 0===X?null:X,J=n.menuShowMinLength,Z=void 0===J?0:J;if(t(this,e),this.autocompleteMode=x,this.menuSelected=0,this.current={},this.inputEvent=!1,this.isActive=!1,this.menuContainer=$,this.allowSpaces=N,this.replaceTextSuffix=z,this.positionMenu=V,this.hasTrailingSpace=!1,this.spaceSelectsMatch=G,this.autocompleteMode&&(w="",N=!1),u)this.collection=[{trigger:w,iframe:p,selectClass:f,containerClass:v,itemClass:b,selectTemplate:(k||e.defaultSelectTemplate).bind(this),menuItemTemplate:(S||e.defaultMenuItemTemplate).bind(this),noMatchTemplate:(i=L,"string"==typeof i?""===i.trim()?null:i:"function"==typeof i?i.bind(l):L||function(){return"<li>No Match Found!</li>"}.bind(l)),lookup:T,fillAttr:M,values:u,requireLeadingSpace:F,searchOpts:Y,menuItemLimit:K,menuShowMinLength:Z}];else{if(!A)throw new Error("[Tribute] No collection specified.");this.autocompleteMode&&console.warn("Tribute in autocomplete mode does not work for collections"),this.collection=A.map((function(t){return{trigger:t.trigger||w,iframe:t.iframe||p,selectClass:t.selectClass||f,containerClass:t.containerClass||v,itemClass:t.itemClass||b,selectTemplate:(t.selectTemplate||e.defaultSelectTemplate).bind(l),menuItemTemplate:(t.menuItemTemplate||e.defaultMenuItemTemplate).bind(l),noMatchTemplate:function(t){return"string"==typeof t?""===t.trim()?null:t:"function"==typeof t?t.bind(l):L||function(){return"<li>No Match Found!</li>"}.bind(l)}(L),lookup:t.lookup||T,fillAttr:t.fillAttr||M,values:t.values,requireLeadingSpace:t.requireLeadingSpace,searchOpts:t.searchOpts||Y,menuItemLimit:t.menuItemLimit||K,menuShowMinLength:t.menuShowMinLength||Z}}))}new a(this),new o(this),new r(this),new s(this)}return n(e,[{key:"triggers",value:function(){return this.collection.map((function(t){return t.trigger}))}},{key:"attach",value:function(t){if(!t)throw new Error("[Tribute] Must pass in a DOM node or NodeList.");if("undefined"!=typeof jQuery&&t instanceof jQuery&&(t=t.get()),t.constructor===NodeList||t.constructor===HTMLCollection||t.constructor===Array)for(var e=t.length,n=0;n<e;++n)this._attach(t[n]);else this._attach(t)}},{key:"_attach",value:function(t){t.hasAttribute("data-tribute")&&console.warn("Tribute was already bound to "+t.nodeName),this.ensureEditable(t),this.events.bind(t),t.setAttribute("data-tribute",!0)}},{key:"ensureEditable",value:function(t){if(-1===e.inputTypes().indexOf(t.nodeName)){if(!t.contentEditable)throw new Error("[Tribute] Cannot bind to "+t.nodeName);t.contentEditable=!0}}},{key:"createMenu",value:function(t){var e=this.range.getDocument().createElement("div"),n=this.range.getDocument().createElement("ul");return e.className=t,e.appendChild(n),this.menuContainer?this.menuContainer.appendChild(e):this.range.getDocument().body.appendChild(e)}},{key:"showMenuFor",value:function(t,e){var n=this;if(!this.isActive||this.current.element!==t||this.current.mentionText!==this.currentMentionTextSnapshot){this.currentMentionTextSnapshot=this.current.mentionText,this.menu||(this.menu=this.createMenu(this.current.collection.containerClass),t.tributeMenu=this.menu,this.menuEvents.bind(this.menu)),this.isActive=!0,this.menuSelected=0,this.current.mentionText||(this.current.mentionText="");var i=function(t){if(n.isActive){var i=n.search.filter(n.current.mentionText,t,{pre:n.current.collection.searchOpts.pre||"<span>",post:n.current.collection.searchOpts.post||"</span>",skip:n.current.collection.searchOpts.skip,extract:function(t){if("string"==typeof n.current.collection.lookup)return t[n.current.collection.lookup];if("function"==typeof n.current.collection.lookup)return n.current.collection.lookup(t,n.current.mentionText);throw new Error("Invalid lookup attribute, lookup must be string or function.")}});n.current.collection.menuItemLimit&&(i=i.slice(0,n.current.collection.menuItemLimit)),n.current.filteredItems=i;var o=n.menu.querySelector("ul");if(n.range.positionMenuAtCaret(e),!i.length){var r=new CustomEvent("tribute-no-match",{detail:n.menu});return n.current.element.dispatchEvent(r),void("function"==typeof n.current.collection.noMatchTemplate&&!n.current.collection.noMatchTemplate()||!n.current.collection.noMatchTemplate?n.hideMenu():"function"==typeof n.current.collection.noMatchTemplate?o.innerHTML=n.current.collection.noMatchTemplate():o.innerHTML=n.current.collection.noMatchTemplate)}o.innerHTML="";var a=n.range.getDocument().createDocumentFragment();i.forEach((function(t,e){var i=n.range.getDocument().createElement("li");i.setAttribute("data-index",e),i.className=n.current.collection.itemClass,i.addEventListener("mousemove",(function(t){var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){o=!0,r=t}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(n._findLiTarget(t.target),2),i=(e[0],e[1]);0!==t.movementY&&n.events.setActiveLi(i)})),n.menuSelected===e&&i.classList.add(n.current.collection.selectClass),i.innerHTML=n.current.collection.menuItemTemplate(t),a.appendChild(i)})),o.appendChild(a)}};"function"==typeof this.current.collection.values?this.current.collection.values(this.current.mentionText,i):i(this.current.collection.values)}}},{key:"_findLiTarget",value:function(t){if(!t)return[];var e=t.getAttribute("data-index");return e?[t,e]:this._findLiTarget(t.parentNode)}},{key:"showMenuForCollection",value:function(t,e){t!==document.activeElement&&this.placeCaretAtEnd(t),this.current.collection=this.collection[e||0],this.current.externalTrigger=!0,this.current.element=t,t.isContentEditable?this.insertTextAtCursor(this.current.collection.trigger):this.insertAtCaret(t,this.current.collection.trigger),this.showMenuFor(t)}},{key:"placeCaretAtEnd",value:function(t){if(t.focus(),void 0!==window.getSelection&&void 0!==document.createRange){var e=document.createRange();e.selectNodeContents(t),e.collapse(!1);var n=window.getSelection();n.removeAllRanges(),n.addRange(e)}else if(void 0!==document.body.createTextRange){var i=document.body.createTextRange();i.moveToElementText(t),i.collapse(!1),i.select()}}},{key:"insertTextAtCursor",value:function(t){var e,n;(n=(e=window.getSelection()).getRangeAt(0)).deleteContents();var i=document.createTextNode(t);n.insertNode(i),n.selectNodeContents(i),n.collapse(!1),e.removeAllRanges(),e.addRange(n)}},{key:"insertAtCaret",value:function(t,e){var n=t.scrollTop,i=t.selectionStart,o=t.value.substring(0,i),r=t.value.substring(t.selectionEnd,t.value.length);t.value=o+e+r,i+=e.length,t.selectionStart=i,t.selectionEnd=i,t.focus(),t.scrollTop=n}},{key:"hideMenu",value:function(){this.menu&&(this.menu.style.cssText="display: none;",this.isActive=!1,this.menuSelected=0,this.current={})}},{key:"selectItemAtIndex",value:function(t,e){if("number"==typeof(t=parseInt(t))&&!isNaN(t)){var n=this.current.filteredItems[t],i=this.current.collection.selectTemplate(n);null!==i&&this.replaceText(i,e,n)}}},{key:"replaceText",value:function(t,e,n){this.range.replaceTriggerText(t,!0,!0,e,n)}},{key:"_append",value:function(t,e,n){if("function"==typeof t.values)throw new Error("Unable to append to values, as it is a function.");t.values=n?e:t.values.concat(e)}},{key:"append",value:function(t,e,n){var i=parseInt(t);if("number"!=typeof i)throw new Error("please provide an index for the collection to update.");var o=this.collection[i];this._append(o,e,n)}},{key:"appendCurrent",value:function(t,e){if(!this.isActive)throw new Error("No active state. Please use append instead and pass an index.");this._append(this.current.collection,t,e)}},{key:"detach",value:function(t){if(!t)throw new Error("[Tribute] Must pass in a DOM node or NodeList.");if("undefined"!=typeof jQuery&&t instanceof jQuery&&(t=t.get()),t.constructor===NodeList||t.constructor===HTMLCollection||t.constructor===Array)for(var e=t.length,n=0;n<e;++n)this._detach(t[n]);else this._detach(t)}},{key:"_detach",value:function(t){var e=this;this.events.unbind(t),t.tributeMenu&&this.menuEvents.unbind(t.tributeMenu),setTimeout((function(){t.removeAttribute("data-tribute"),e.isActive=!1,t.tributeMenu&&t.tributeMenu.remove()}))}},{key:"isActive",get:function(){return this._isActive},set:function(t){if(this._isActive!=t&&(this._isActive=t,this.current.element)){var e=new CustomEvent("tribute-active-".concat(t));this.current.element.dispatchEvent(e)}}}],[{key:"defaultSelectTemplate",value:function(t){return void 0===t?"".concat(this.current.collection.trigger).concat(this.current.mentionText):this.range.isContentEditable(this.current.element)?'<span class="tribute-mention">'+(this.current.collection.trigger+t.original[this.current.collection.fillAttr])+"</span>":this.current.collection.trigger+t.original[this.current.collection.fillAttr]}},{key:"defaultMenuItemTemplate",value:function(t){return t.string}},{key:"inputTypes",value:function(){return["TEXTAREA","INPUT"]}}]),e}()}()},"4Toj":function(t,e,n){var i=n("54Wo");t.exports=function(t,e){var n=i(t,e)/1e3;return n>0?Math.floor(n):Math.ceil(n)}},"4Wae":function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=9)}([function(t,e,n){var i=n(6);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(3).default)("6223ff68",i,!0,{})},function(t,e,n){var i=n(8);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(3).default)("27f0e51f",i,!0,{})},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,i=t[1]||"",o=t[3];if(!o)return i;if(e&&"function"==typeof btoa){var r=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=o.sources.map((function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"}));return[i].concat(a).concat([r]).join("\n")}return[i].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={},o=0;o<this.length;o++){var r=this[o][0];"number"==typeof r&&(i[r]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){"use strict";function i(t,e){for(var n=[],i={},o=0;o<e.length;o++){var r=e[o],a=r[0],s={id:t+":"+o,css:r[1],media:r[2],sourceMap:r[3]};i[a]?i[a].parts.push(s):n.push(i[a]={id:a,parts:[s]})}return n}n.r(e),n.d(e,"default",(function(){return h}));var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d=null,p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t,e,n,o){c=n,d=o||{};var a=i(t,e);return f(a),function(e){for(var n=[],o=0;o<a.length;o++){var s=a[o];(l=r[s.id]).refs--,n.push(l)}for(e?f(a=i(t,e)):a=[],o=0;o<n.length;o++){var l;if(0===(l=n[o]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete r[l.id]}}}}function f(t){for(var e=0;e<t.length;e++){var n=t[e],i=r[n.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](n.parts[o]);for(;o<n.parts.length;o++)i.parts.push(v(n.parts[o]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(v(n.parts[o]));r[n.id]={id:n.id,refs:1,parts:a}}}}function m(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function v(t){var e,n,i=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(i){if(c)return u;i.parentNode.removeChild(i)}if(p){var o=l++;i=s||(s=m()),e=y.bind(null,i,o,!1),n=y.bind(null,i,o,!0)}else i=m(),e=w.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var g,b=(g=[],function(t,e){return g[t]=e,g.filter(Boolean).join("\n")});function y(t,e,n,i){var o=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,o);else{var r=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(r,a[e]):t.appendChild(r)}}function w(t,e){var n=e.css,i=e.media,o=e.sourceMap;if(i&&t.setAttribute("media",i),d.ssrId&&t.setAttribute("data-vue-ssr-id",e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(e)}t.exports=n},function(t,e,n){"use strict";n.r(e);var i=n(0),o=n.n(i);for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e.default=o.a},function(t,e,n){(t.exports=n(2)(!1)).push([t.i,'.loading-wave-dots[data-v-46b20d22]{position:relative}.loading-wave-dots[data-v-46b20d22] .wave-item{position:absolute;top:50%;left:50%;display:inline-block;margin-top:-4px;width:8px;height:8px;border-radius:50%;-webkit-animation:loading-wave-dots-data-v-46b20d22 linear 2.8s infinite;animation:loading-wave-dots-data-v-46b20d22 linear 2.8s infinite}.loading-wave-dots[data-v-46b20d22] .wave-item:first-child{margin-left:-36px}.loading-wave-dots[data-v-46b20d22] .wave-item:nth-child(2){margin-left:-20px;-webkit-animation-delay:.14s;animation-delay:.14s}.loading-wave-dots[data-v-46b20d22] .wave-item:nth-child(3){margin-left:-4px;-webkit-animation-delay:.28s;animation-delay:.28s}.loading-wave-dots[data-v-46b20d22] .wave-item:nth-child(4){margin-left:12px;-webkit-animation-delay:.42s;animation-delay:.42s}.loading-wave-dots[data-v-46b20d22] .wave-item:last-child{margin-left:28px;-webkit-animation-delay:.56s;animation-delay:.56s}@-webkit-keyframes loading-wave-dots-data-v-46b20d22{0%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}10%{-webkit-transform:translateY(-6px);transform:translateY(-6px);background:#999}20%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}to{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}}@keyframes loading-wave-dots-data-v-46b20d22{0%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}10%{-webkit-transform:translateY(-6px);transform:translateY(-6px);background:#999}20%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}to{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}}.loading-circles[data-v-46b20d22] .circle-item{width:5px;height:5px;-webkit-animation:loading-circles-data-v-46b20d22 linear .75s infinite;animation:loading-circles-data-v-46b20d22 linear .75s infinite}.loading-circles[data-v-46b20d22] .circle-item:first-child{margin-top:-14.5px;margin-left:-2.5px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(2){margin-top:-11.26px;margin-left:6.26px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(3){margin-top:-2.5px;margin-left:9.5px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(4){margin-top:6.26px;margin-left:6.26px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(5){margin-top:9.5px;margin-left:-2.5px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(6){margin-top:6.26px;margin-left:-11.26px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(7){margin-top:-2.5px;margin-left:-14.5px}.loading-circles[data-v-46b20d22] .circle-item:last-child{margin-top:-11.26px;margin-left:-11.26px}@-webkit-keyframes loading-circles-data-v-46b20d22{0%{background:#dfdfdf}90%{background:#505050}to{background:#dfdfdf}}@keyframes loading-circles-data-v-46b20d22{0%{background:#dfdfdf}90%{background:#505050}to{background:#dfdfdf}}.loading-bubbles[data-v-46b20d22] .bubble-item{background:#666;-webkit-animation:loading-bubbles-data-v-46b20d22 linear .75s infinite;animation:loading-bubbles-data-v-46b20d22 linear .75s infinite}.loading-bubbles[data-v-46b20d22] .bubble-item:first-child{margin-top:-12.5px;margin-left:-.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(2){margin-top:-9.26px;margin-left:8.26px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(3){margin-top:-.5px;margin-left:11.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(4){margin-top:8.26px;margin-left:8.26px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(5){margin-top:11.5px;margin-left:-.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(6){margin-top:8.26px;margin-left:-9.26px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(7){margin-top:-.5px;margin-left:-12.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:last-child{margin-top:-9.26px;margin-left:-9.26px}@-webkit-keyframes loading-bubbles-data-v-46b20d22{0%{width:1px;height:1px;box-shadow:0 0 0 3px #666}90%{width:1px;height:1px;box-shadow:0 0 0 0 #666}to{width:1px;height:1px;box-shadow:0 0 0 3px #666}}@keyframes loading-bubbles-data-v-46b20d22{0%{width:1px;height:1px;box-shadow:0 0 0 3px #666}90%{width:1px;height:1px;box-shadow:0 0 0 0 #666}to{width:1px;height:1px;box-shadow:0 0 0 3px #666}}.loading-default[data-v-46b20d22]{position:relative;border:1px solid #999;-webkit-animation:loading-rotating-data-v-46b20d22 ease 1.5s infinite;animation:loading-rotating-data-v-46b20d22 ease 1.5s infinite}.loading-default[data-v-46b20d22]:before{content:"";position:absolute;display:block;top:0;left:50%;margin-top:-3px;margin-left:-3px;width:6px;height:6px;background-color:#999;border-radius:50%}.loading-spiral[data-v-46b20d22]{border:2px solid #777;border-right-color:transparent;-webkit-animation:loading-rotating-data-v-46b20d22 linear .85s infinite;animation:loading-rotating-data-v-46b20d22 linear .85s infinite}@-webkit-keyframes loading-rotating-data-v-46b20d22{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loading-rotating-data-v-46b20d22{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loading-bubbles[data-v-46b20d22],.loading-circles[data-v-46b20d22]{position:relative}.loading-bubbles[data-v-46b20d22] .bubble-item,.loading-circles[data-v-46b20d22] .circle-item{position:absolute;top:50%;left:50%;display:inline-block;border-radius:50%}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(2),.loading-circles[data-v-46b20d22] .circle-item:nth-child(2){-webkit-animation-delay:93ms;animation-delay:93ms}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(3),.loading-circles[data-v-46b20d22] .circle-item:nth-child(3){-webkit-animation-delay:.186s;animation-delay:.186s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(4),.loading-circles[data-v-46b20d22] .circle-item:nth-child(4){-webkit-animation-delay:.279s;animation-delay:.279s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(5),.loading-circles[data-v-46b20d22] .circle-item:nth-child(5){-webkit-animation-delay:.372s;animation-delay:.372s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(6),.loading-circles[data-v-46b20d22] .circle-item:nth-child(6){-webkit-animation-delay:.465s;animation-delay:.465s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(7),.loading-circles[data-v-46b20d22] .circle-item:nth-child(7){-webkit-animation-delay:.558s;animation-delay:.558s}.loading-bubbles[data-v-46b20d22] .bubble-item:last-child,.loading-circles[data-v-46b20d22] .circle-item:last-child{-webkit-animation-delay:.651s;animation-delay:.651s}',""])},function(t,e,n){"use strict";n.r(e);var i=n(1),o=n.n(i);for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e.default=o.a},function(t,e,n){(t.exports=n(2)(!1)).push([t.i,".infinite-loading-container[data-v-644ea9c9]{clear:both;text-align:center}.infinite-loading-container[data-v-644ea9c9] [class^=loading-]{display:inline-block;margin:5px 0;width:28px;height:28px;font-size:28px;line-height:28px;border-radius:50%}.btn-try-infinite[data-v-644ea9c9]{margin-top:5px;padding:5px 10px;color:#999;font-size:14px;line-height:1;background:transparent;border:1px solid #ccc;border-radius:3px;outline:none;cursor:pointer}.btn-try-infinite[data-v-644ea9c9]:not(:active):hover{opacity:.8}",""])},function(t,e,n){"use strict";n.r(e);var i={throttleLimit:50,loopCheckTimeout:1e3,loopCheckMaxCalls:10},o=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){return t={passive:!0},!0}});window.addEventListener("testpassive",e,e),window.remove("testpassive",e,e)}catch(t){}return t}(),r={STATE_CHANGER:["emit `loaded` and `complete` event through component instance of `$refs` may cause error, so it will be deprecated soon, please use the `$state` argument instead (`$state` just the special `$event` variable):","\ntemplate:",'<infinite-loading @infinite="infiniteHandler"></infinite-loading>',"\nscript:\n...\ninfiniteHandler($state) {\n ajax('https://www.example.com/api/news')\n .then((res) => {\n if (res.data.length) {\n $state.loaded();\n } else {\n $state.complete();\n }\n });\n}\n...","","more details: https://github.com/PeachScript/vue-infinite-loading/issues/57#issuecomment-324370549"].join("\n"),INFINITE_EVENT:"`:on-infinite` property will be deprecated soon, please use `@infinite` event instead.",IDENTIFIER:"the `reset` event will be deprecated soon, please reset this component by change the `identifier` property."},a={INFINITE_LOOP:["executed the callback function more than ".concat(i.loopCheckMaxCalls," times for a short time, it looks like searched a wrong scroll wrapper that doest not has fixed height or maximum height, please check it. If you want to force to set a element as scroll wrapper ranther than automatic searching, you can do this:"),'\n\x3c!-- add a special attribute for the real scroll wrapper --\x3e\n<div infinite-wrapper>\n ...\n \x3c!-- set force-use-infinite-wrapper --\x3e\n <infinite-loading force-use-infinite-wrapper></infinite-loading>\n</div>\nor\n<div class="infinite-wrapper">\n ...\n \x3c!-- set force-use-infinite-wrapper as css selector of the real scroll wrapper --\x3e\n <infinite-loading force-use-infinite-wrapper=".infinite-wrapper"></infinite-loading>\n</div>\n ',"more details: https://github.com/PeachScript/vue-infinite-loading/issues/55#issuecomment-316934169"].join("\n")},s={READY:0,LOADING:1,COMPLETE:2,ERROR:3},l={color:"#666",fontSize:"14px",padding:"10px 0"},c={mode:"development",props:{spinner:"default",distance:100,forceUseInfiniteWrapper:!1},system:i,slots:{noResults:"No results :(",noMore:"No more data :)",error:"Opps, something went wrong :(",errorBtnText:"Retry",spinner:""},WARNINGS:r,ERRORS:a,STATUS:s},u=n(4),d=n.n(u),p={BUBBLES:{render:function(t){return t("span",{attrs:{class:"loading-bubbles"}},Array.apply(Array,Array(8)).map((function(){return t("span",{attrs:{class:"bubble-item"}})})))}},CIRCLES:{render:function(t){return t("span",{attrs:{class:"loading-circles"}},Array.apply(Array,Array(8)).map((function(){return t("span",{attrs:{class:"circle-item"}})})))}},DEFAULT:{render:function(t){return t("i",{attrs:{class:"loading-default"}})}},SPIRAL:{render:function(t){return t("i",{attrs:{class:"loading-spiral"}})}},WAVEDOTS:{render:function(t){return t("span",{attrs:{class:"loading-wave-dots"}},Array.apply(Array,Array(5)).map((function(){return t("span",{attrs:{class:"wave-item"}})})))}}};function h(t,e,n,i,o,r,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}var f=h({name:"Spinner",computed:{spinnerView:function(){return p[(this.$attrs.spinner||"").toUpperCase()]||this.spinnerInConfig},spinnerInConfig:function(){return c.slots.spinner&&"string"==typeof c.slots.spinner?{render:function(){return this._v(c.slots.spinner)}}:"object"===d()(c.slots.spinner)?c.slots.spinner:p[c.props.spinner.toUpperCase()]||p.DEFAULT}}},(function(){var t=this.$createElement;return(this._self._c||t)(this.spinnerView,{tag:"component"})}),[],!1,(function(t){var e=n(5);e.__inject__&&e.__inject__(t)}),"46b20d22",null).exports;function m(t){"production"!==c.mode&&console.warn("[Vue-infinite-loading warn]: ".concat(t))}var v={timers:[],caches:[],throttle:function(t){var e=this;-1===this.caches.indexOf(t)&&(this.caches.push(t),this.timers.push(setTimeout((function(){t(),e.caches.splice(e.caches.indexOf(t),1),e.timers.shift()}),c.system.throttleLimit)))},reset:function(){this.timers.forEach((function(t){clearTimeout(t)})),this.timers.length=0,this.caches=[]}},g={isChecked:!1,timer:null,times:0,track:function(){var t=this;this.times+=1,clearTimeout(this.timer),this.timer=setTimeout((function(){t.isChecked=!0}),c.system.loopCheckTimeout),this.times>c.system.loopCheckMaxCalls&&(function(t){console.error("[Vue-infinite-loading error]: ".concat(t))}(a.INFINITE_LOOP),this.isChecked=!0)}},b={key:"_infiniteScrollHeight",getScrollElm:function(t){return t===window?document.documentElement:t},save:function(t){var e=this.getScrollElm(t);e[this.key]=e.scrollHeight},restore:function(t){var e=this.getScrollElm(t);"number"==typeof e[this.key]&&(e.scrollTop=e.scrollHeight-e[this.key]+e.scrollTop),this.remove(e)},remove:function(t){void 0!==t[this.key]&&delete t[this.key]}};function y(t){return t.offsetWidth+t.offsetHeight>0}var w=h({name:"InfiniteLoading",data:function(){return{scrollParent:null,scrollHandler:null,isFirstLoad:!0,status:s.READY,slots:c.slots}},components:{Spinner:f},computed:{isShowSpinner:function(){return this.status===s.LOADING},isShowError:function(){return this.status===s.ERROR},isShowNoResults:function(){return this.status===s.COMPLETE&&this.isFirstLoad},isShowNoMore:function(){return this.status===s.COMPLETE&&!this.isFirstLoad},slotStyles:function(){var t=this,e={};return Object.keys(c.slots).forEach((function(n){var i=function(t){return t.replace(/[A-Z]/g,(function(t){return"-".concat(t.toLowerCase())}))}(n);(!t.$slots[i]&&!c.slots[n].render||t.$slots[i]&&!t.$slots[i][0].tag)&&(e[n]=l)})),e}},props:{distance:{type:Number,default:c.props.distance},spinner:String,direction:{type:String,default:"bottom"},forceUseInfiniteWrapper:{type:[Boolean,String],default:c.props.forceUseInfiniteWrapper},identifier:{default:+new Date},onInfinite:Function},watch:{identifier:function(){this.stateChanger.reset()}},mounted:function(){var t=this;this.$watch("forceUseInfiniteWrapper",(function(){t.scrollParent=t.getScrollParent()}),{immediate:!0}),this.scrollHandler=function(e){t.status===s.READY&&(e&&e.constructor===Event&&y(t.$el)?v.throttle(t.attemptLoad):t.attemptLoad())},setTimeout((function(){t.scrollHandler(),t.scrollParent.addEventListener("scroll",t.scrollHandler,o)}),1),this.$on("$InfiniteLoading:loaded",(function(e){t.isFirstLoad=!1,"top"===t.direction&&t.$nextTick((function(){b.restore(t.scrollParent)})),t.status===s.LOADING&&t.$nextTick(t.attemptLoad.bind(null,!0)),e&&e.target===t||m(r.STATE_CHANGER)})),this.$on("$InfiniteLoading:complete",(function(e){t.status=s.COMPLETE,t.$nextTick((function(){t.$forceUpdate()})),t.scrollParent.removeEventListener("scroll",t.scrollHandler,o),e&&e.target===t||m(r.STATE_CHANGER)})),this.$on("$InfiniteLoading:reset",(function(e){t.status=s.READY,t.isFirstLoad=!0,b.remove(t.scrollParent),t.scrollParent.addEventListener("scroll",t.scrollHandler,o),setTimeout((function(){v.reset(),t.scrollHandler()}),1),e&&e.target===t||m(r.IDENTIFIER)})),this.stateChanger={loaded:function(){t.$emit("$InfiniteLoading:loaded",{target:t})},complete:function(){t.$emit("$InfiniteLoading:complete",{target:t})},reset:function(){t.$emit("$InfiniteLoading:reset",{target:t})},error:function(){t.status=s.ERROR,v.reset()}},this.onInfinite&&m(r.INFINITE_EVENT)},deactivated:function(){this.status===s.LOADING&&(this.status=s.READY),this.scrollParent.removeEventListener("scroll",this.scrollHandler,o)},activated:function(){this.scrollParent.addEventListener("scroll",this.scrollHandler,o)},methods:{attemptLoad:function(t){var e=this;this.status!==s.COMPLETE&&y(this.$el)&&this.getCurrentDistance()<=this.distance?(this.status=s.LOADING,"top"===this.direction&&this.$nextTick((function(){b.save(e.scrollParent)})),"function"==typeof this.onInfinite?this.onInfinite.call(null,this.stateChanger):this.$emit("infinite",this.stateChanger),!t||this.forceUseInfiniteWrapper||g.isChecked||g.track()):this.status===s.LOADING&&(this.status=s.READY)},getCurrentDistance:function(){return"top"===this.direction?"number"==typeof this.scrollParent.scrollTop?this.scrollParent.scrollTop:this.scrollParent.pageYOffset:this.$el.getBoundingClientRect().top-(this.scrollParent===window?window.innerHeight:this.scrollParent.getBoundingClientRect().bottom)},getScrollParent:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el;return"string"==typeof this.forceUseInfiniteWrapper&&(t=document.querySelector(this.forceUseInfiniteWrapper)),t||("BODY"===e.tagName?t=window:(!this.forceUseInfiniteWrapper&&["scroll","auto"].indexOf(getComputedStyle(e).overflowY)>-1||e.hasAttribute("infinite-wrapper")||e.hasAttribute("data-infinite-wrapper"))&&(t=e)),t||this.getScrollParent(e.parentNode)}},destroyed:function(){!this.status!==s.COMPLETE&&(v.reset(),b.remove(this.scrollParent),this.scrollParent.removeEventListener("scroll",this.scrollHandler,o))}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"infinite-loading-container"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowSpinner,expression:"isShowSpinner"}],staticClass:"infinite-status-prompt",style:t.slotStyles.spinner},[t._t("spinner",[n("spinner",{attrs:{spinner:t.spinner}})])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowNoResults,expression:"isShowNoResults"}],staticClass:"infinite-status-prompt",style:t.slotStyles.noResults},[t._t("no-results",[t.slots.noResults.render?n(t.slots.noResults,{tag:"component"}):[t._v(t._s(t.slots.noResults))]])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowNoMore,expression:"isShowNoMore"}],staticClass:"infinite-status-prompt",style:t.slotStyles.noMore},[t._t("no-more",[t.slots.noMore.render?n(t.slots.noMore,{tag:"component"}):[t._v(t._s(t.slots.noMore))]])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowError,expression:"isShowError"}],staticClass:"infinite-status-prompt",style:t.slotStyles.error},[t._t("error",[t.slots.error.render?n(t.slots.error,{tag:"component",attrs:{trigger:t.attemptLoad}}):[t._v("\n "+t._s(t.slots.error)+"\n "),n("br"),t._v(" "),n("button",{staticClass:"btn-try-infinite",domProps:{textContent:t._s(t.slots.errorBtnText)},on:{click:t.attemptLoad}})]],{trigger:t.attemptLoad})],2)])}),[],!1,(function(t){var e=n(7);e.__inject__&&e.__inject__(t)}),"644ea9c9",null).exports;function _(t){c.mode=t.config.productionTip?"development":"production"}Object.defineProperty(w,"install",{configurable:!1,enumerable:!1,value:function(t,e){Object.assign(c.props,e&&e.props),Object.assign(c.slots,e&&e.slots),Object.assign(c.system,e&&e.system),t.component("infinite-loading",w),_(t)}}),"undefined"!=typeof window&&window.Vue&&(window.Vue.component("infinite-loading",w),_(window.Vue)),e.default=w}])},"5+fz":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.account-settings-component {\n margin-top: -1px;\n overflow-y: auto;\n}\n@media (min-width: 768px) {\n.account-settings-component {\n margin-top: 1rem;\n}\n}\n.account-settings-component .card {\n padding: 0;\n}\n.account-settings-component .card-body {\n padding: 0;\n}\n.account-settings-component .settings-menu-col {\n display: none;\n padding: 1rem 0.5rem;\n height: 100vh;\n -ms-overflow-style: none;\n scrollbar-width: none;\n overflow-y: auto;\n}\n.account-settings-component .settings-menu-col::-webkit-scrollbar {\n display: none;\n}\n.account-settings-component .settings-menu-col .title {\n display: none;\n}\n@media (min-width: 768px) {\n.account-settings-component .settings-menu-col {\n display: block;\n height: 710px;\n border-right: 1px solid rgba(0, 0, 0, 0.1);\n}\n}\n.account-settings-component .settings-menu-col.showMobile {\n display: block;\n}\n.account-settings-component .settings-menu-col.showMobile .title {\n display: block;\n}\n.account-settings-component .settings-menu-col.showMobile .flex-column {\n margin-top: 60px;\n}\n.account-settings-component .settings-menu-col .nav-item {\n width: 100%;\n margin-bottom: 5px;\n}\n.account-settings-component .settings-menu-col .nav-item .nav-link {\n width: 100%;\n color: #212529;\n font-weight: 600;\n text-align: left;\n}\n@media (min-width: 768px) {\n.account-settings-component .settings-menu-col .nav-item .nav-link.active {\n color: #2c78bf;\n background-color: #F3F4F6;\n}\n}\n.account-settings-component .settings-menu-col .nav-item .nav-link:hover {\n background-color: #F9FAFB;\n}\n.account-settings-component .settings-menu-col .nav-item .nav-link-icon {\n width: 10px;\n margin-right: 10px;\n display: inline-flex;\n justify-content: center;\n}\n.account-settings-component .settings-menu-col .nav-item .nav-link-icon i {\n opacity: 0.4;\n}\n.account-settings-component .settings-menu-col .nav-item hr {\n margin-bottom: 0.1rem;\n margin-top: 0.5rem;\n}\n.account-settings-component .settings-menu-col .mobile-menu {\n position: fixed;\n width: 100%;\n height: 65px !important;\n top: 0;\n padding: 1rem;\n margin: 0 -10px 68px -10px;\n background: #fff;\n z-index: 99;\n}\n.account-settings-component .btn-light {\n border: 1px solid #F3F4F6;\n}\n.account-settings-component .settings-body-col {\n padding: 0 1rem 1rem;\n height: 100vh;\n position: relative;\n overflow-y: auto;\n}\n@media (min-width: 768px) {\n.account-settings-component .settings-body-col {\n height: 710px;\n}\n}\n.account-settings-component .settings-body-col.inMenuMode {\n display: none;\n}\n@media (min-width: 768px) {\n.account-settings-component .settings-body-col.inMenuMode {\n display: block;\n}\n}\n.account-settings-component .settings-body-col .searchbox {\n display: none;\n}\n@media (min-width: 768px) {\n.account-settings-component .settings-body-col .searchbox {\n display: block;\n}\n}\n.account-settings-component .settings-body-col .searchbox.open {\n display: block;\n}\n.account-settings-component .settings-body-col .title-menu {\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n background-color: #fff;\n z-index: 999;\n padding-top: 1rem;\n}\n.account-settings-component .autocomplete-input {\n padding: 0.375rem 0.75rem 0.375rem 2.6rem;\n background-color: #f8f9fa !important;\n font-size: 0.9rem;\n border-radius: 50rem;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjQjhDMkNDIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTEiIGN5PSIxMSIgcj0iNSIvPjxwYXRoIGQ9Ik0xOSAxOWwtNC00Ii8+PC9zdmc+");\n}\n.account-settings-component .autocomplete-result {\n background-image: none;\n padding: 4px 12px;\n}\n.account-settings-component .autocomplete-result:not(:last-child) {\n border-bottom: 1px solid #F3F4F6;\n}\n.account-settings-component .autocomplete-result .media-icon {\n width: 30px;\n margin-right: 0.5rem;\n}\n@media (max-width: 768px) {\n.account-settings-component .fixed-bottom-mobile {\n position: fixed;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1030;\n}\n}',""])},"54Wo":function(t,e,n){var i=n("yNUO");t.exports=function(t,e){var n=i(t),o=i(e);return n.getTime()-o.getTime()}},"69ih":function(t,e,n){var i=n("pm6S");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},"6DAA":function(t,e,n){var i=n("kOWh");t.exports=function(){var t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e=["January","February","March","April","May","June","July","August","September","October","November","December"],n=["Su","Mo","Tu","We","Th","Fr","Sa"],o=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],r=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=["AM","PM"],s=["am","pm"],l=["a.m.","p.m."],c={MMM:function(e){return t[e.getMonth()]},MMMM:function(t){return e[t.getMonth()]},dd:function(t){return n[t.getDay()]},ddd:function(t){return o[t.getDay()]},dddd:function(t){return r[t.getDay()]},A:function(t){return t.getHours()/12>=1?a[1]:a[0]},a:function(t){return t.getHours()/12>=1?s[1]:s[0]},aa:function(t){return t.getHours()/12>=1?l[1]:l[0]}};return["M","D","DDD","d","Q","W"].forEach((function(t){c[t+"o"]=function(e,n){return function(t){var e=t%100;if(e>20||e<10)switch(e%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"}(n[t](e))}})),{formatters:c,formattingTokensRegExp:i(c)}}},"6Olv":function(t,e,n){var i=n("qd+X");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},"7AN4":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-likes-component .form-check {\n margin-left: 1rem;\n}\n.account-likes-component .form-check .media-body {\n margin-left: 1rem;\n}\n.account-likes-component .media-image-placeholder {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 60px;\n height: 60px;\n background-color: #f8f9fa !important;\n border-radius: 6px;\n margin-right: 1rem;\n border: 1px solid #F3F4F6;\n}\n.account-likes-component .square img,\n.account-likes-component .square canvas {\n border-radius: 6px !important;\n border: 1px solid #F3F4F6;\n}",""])},"7XJY":function(t){t.exports=JSON.parse('{"common":{"comment":"Kommentar","commented":"Kommentiert","comments":"Kommentare","like":"Gefällt mir","liked":"Gefällt","likes":"Gefällt","share":"Teilen","shared":"Geteilt","shares":"Geteilt","unshare":"Teilen rückgängig machen","cancel":"Abbrechen","copyLink":"Link kopieren","delete":"Löschen","error":"Fehler","errorMsg":"Etwas ist schief gelaufen. Bitter versuch es später nochmal.","oops":"Hoppla!","other":"Anderes","readMore":"Weiterlesen","success":"Erfolgreich","sensitive":"Sensibel","sensitiveContent":"Sensibler Inhalt","sensitiveContentWarning":"Dieser Beitrag kann sensible Inhalte enthalten"},"site":{"terms":"Nutzungsbedingungen","privacy":"Datenschutzrichtlinien"},"navmenu":{"search":"Suche","admin":"Administrator-Dashboard","homeFeed":"Startseite","localFeed":"Lokaler Feed","globalFeed":"Globaler Feed","discover":"Entdecken","directMessages":"Direktnachrichten","notifications":"Benachrichtigungen","groups":"Gruppen","stories":"Stories","profile":"Profil","drive":"Festplatte","settings":"Einstellungen","compose":"Neu erstellen","logout":"Ausloggen","about":"Über uns","help":"Hilfe","language":"Sprache","privacy":"Privatsphäre","terms":"AGB","backToPreviousDesign":"Zurück zum vorherigen Design"},"directMessages":{"inbox":"Posteingang","sent":"Gesendet","requests":"Anfragen"},"notifications":{"liked":"gefällt dein","commented":"kommentierte dein","reacted":"reagierte auf dein","shared":"teilte deine","tagged":"markierte dich in einem","updatedA":"aktualisierte ein","sentA":"sendete ein","followed":"gefolgt","mentioned":"erwähnt","you":"du","yourApplication":"Deine Bewerbung um beizutreten","applicationApproved":"wurde genehmigt!","applicationRejected":"wurde abgelehnt. Du kannst dich in 6 Monaten erneut für den Beitritt bewerben.","dm":"PN","groupPost":"Gruppen-Post","modlog":"modlog","post":"Beitrag","story":"Story"},"post":{"shareToFollowers":"Mit Folgenden teilen","shareToOther":"Mit anderen teilen","noLikes":"Gefällt bisher noch niemandem","uploading":"Lädt hoch"},"profile":{"posts":"Beiträge","followers":"Folgende","following":"Folgend","admin":"Admin","collections":"Sammlungen","follow":"Folgen","unfollow":"Entfolgen","editProfile":"Profil bearbeiten","followRequested":"Folgeanfragen","joined":"Beigetreten","emptyCollections":"Wir können keine Sammlungen finden","emptyPosts":"Wir können keine Beiträge finden"},"menu":{"viewPost":"Beitrag anzeigen","viewProfile":"Profil anzeigen","moderationTools":"Moderationswerkzeuge","report":"Melden","archive":"Archivieren","unarchive":"Entarchivieren","embed":"Einbetten","selectOneOption":"Wähle eine der folgenden Optionen","unlistFromTimelines":"Nicht in Timelines listen","addCW":"Inhaltswarnung hinzufügen","removeCW":"Inhaltswarnung entfernen","markAsSpammer":"Als Spammer markieren","markAsSpammerText":"Aus der Zeitleiste entfernen und bisherige und zukünftige Beiträge mit einer Inhaltswarnung versehen","spam":"Spam","sensitive":"Sensibler Inhalt","abusive":"missbräuchlich oder schädigend","underageAccount":"Minderjährigen-Konto","copyrightInfringement":"Urheberrechtsverletzung","impersonation":"Identitätsdiebstahl","scamOrFraud":"Betrug oder Missbrauch","confirmReport":"Meldung bestätigen","confirmReportText":"Bist du sicher, dass du diesen Beitrag melden möchtest?","reportSent":"Meldung gesendet!","reportSentText":"Wir haben deinen Bericht erfolgreich erhalten.","reportSentError":"Es gab ein Problem beim Melden dieses Beitrags.","modAddCWConfirm":"Bist du sicher, dass du diesem Beitrag eine Inhaltswarnung hinzufügen möchtest?","modCWSuccess":"Inhaltswarnung erfolgreich hinzugefügt","modRemoveCWConfirm":"Bist du sicher, dass die Inhaltswarnung auf diesem Beitrag entfernt werden soll?","modRemoveCWSuccess":"Inhaltswarnung erfolgreich entfernt","modUnlistConfirm":"Bist du sicher, dass du diesen Beitrag nicht listen möchtest?","modUnlistSuccess":"Beitrag erfolgreich nicht gelistet","modMarkAsSpammerConfirm":"Bist du sicher, dass du diesen Benutzer als Spam markieren möchtest? Alle existierenden und zukünftigen Beiträge werden nicht mehr in der Zeitleiste angezeigt und mit einer Inhaltswarnung versehen.","modMarkAsSpammerSuccess":"Konto erfolgreich als Spammer markiert","toFollowers":"an die Folgenden","showCaption":"Bildunterschrift anzeigen","showLikes":"\\"Gefällt mir\\" anzeigen","compactMode":"Kompaktmodus","embedConfirmText":"Mit der Nutzung dieser Einbettung erklärst du dich mit unseren","deletePostConfirm":"Bist du sicher, dass du diesen Beitrag löschen möchtest?","archivePostConfirm":"Bist du sicher, dass du diesen Beitrag archivieren möchtest?","unarchivePostConfirm":"Möchten Sie dieses Element wirklich aus dem Archiv zurückholen?"},"story":{"add":"Story hinzufügen"},"timeline":{"peopleYouMayKnow":"Leute, die du vielleicht kennst"},"hashtags":{"emptyFeed":"Wir können keine Beiträge mit diesem Hashtag finden"}}')},"7n9v":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".status-card-component .status-content {\n font-size: 17px;\n}\n.status-card-component.status-card-sm .status-content {\n font-size: 14px;\n}\n.status-card-component.status-card-sm .fa-lg {\n font-size: unset;\n line-height: unset;\n vertical-align: unset;\n}",""])},"8+kw":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".profile-following-component .list-group-item {\n border: none;\n}\n.profile-following-component .list-group-item:not(:last-child) {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n}",""])},"83i4":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.media-drawer-filters[data-v-3e419437] {\n\t\toverflow-x: scroll;\n\t\tflex-wrap:unset;\n}\n.media-drawer-filters[data-v-3e419437]::-webkit-scrollbar {\n\t\twidth: 0px;\n\t\tbackground: transparent;\n}\n.media-drawer-filters .nav-link[data-v-3e419437] {\n\t\tmin-width:100px;\n\t\tpadding-top: 1rem;\n\t\tpadding-bottom: 1rem;\n}\n.media-drawer-filters .active[data-v-3e419437] {\n\t\tcolor: #fff;\n\t\tfont-weight: bold;\n}\n@media (hover: none) and (pointer: coarse) {\n.media-drawer-filters[data-v-3e419437]::-webkit-scrollbar {\n\t display: none;\n}\n}\n.no-focus[data-v-3e419437] {\n\t\tborder-color: none;\n\t\toutline: 0;\n\t\tbox-shadow: none;\n}\na.list-group-item[data-v-3e419437] {\n\t\ttext-decoration: none;\n}\na.list-group-item[data-v-3e419437]:hover {\n\t\ttext-decoration: none;\n\t\tbackground-color: #f8f9fa !important;\n}\n.compose-action[data-v-3e419437]:hover {\n\t\tcursor: pointer;\n\t\tbackground-color: #f8f9fa !important;\n}\n",""])},"8FsP":function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(){var t="object"===("undefined"==typeof window?"undefined":n(window))?window:"object"===("undefined"==typeof self?"undefined":n(self))?self:this,e=t.BlobBuilder||t.WebKitBlobBuilder||t.MSBlobBuilder||t.MozBlobBuilder;t.URL=t.URL||t.webkitURL||function(t,e){return(e=document.createElement("a")).href=t,e};var i=t.Blob,o=URL.createObjectURL,r=URL.revokeObjectURL,a=t.Symbol&&t.Symbol.toStringTag,s=!1,c=!1,u=!!t.ArrayBuffer,d=e&&e.prototype.append&&e.prototype.getBlob;try{s=2===new Blob(["ä"]).size,c=2===new Blob([new Uint8Array([1,2])]).size}catch(t){}function p(t){return t.map((function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var n=new Uint8Array(t.byteLength);n.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=n.buffer}return e}return t}))}function h(t,n){n=n||{};var i=new e;return p(t).forEach((function(t){i.append(t)})),n.type?i.getBlob(n.type):i.getBlob()}function f(t,e){return new i(p(t),e||{})}t.Blob&&(h.prototype=Blob.prototype,f.prototype=Blob.prototype);var m="function"==typeof TextEncoder?TextEncoder.prototype.encode.bind(new TextEncoder):function(e){for(var n=0,i=e.length,o=t.Uint8Array||Array,r=0,a=Math.max(32,i+(i>>1)+7),s=new o(a>>3<<3);n<i;){var l=e.charCodeAt(n++);if(l>=55296&&l<=56319){if(n<i){var c=e.charCodeAt(n);56320==(64512&c)&&(++n,l=((1023&l)<<10)+(1023&c)+65536)}if(l>=55296&&l<=56319)continue}if(r+4>s.length){a+=8,a=(a*=1+n/e.length*2)>>3<<3;var u=new Uint8Array(a);u.set(s),s=u}if(0!=(4294967168&l)){if(0==(4294965248&l))s[r++]=l>>6&31|192;else if(0==(4294901760&l))s[r++]=l>>12&15|224,s[r++]=l>>6&63|128;else{if(0!=(4292870144&l))continue;s[r++]=l>>18&7|240,s[r++]=l>>12&63|128,s[r++]=l>>6&63|128}s[r++]=63&l|128}else s[r++]=l}return s.slice(0,r)},v="function"==typeof TextDecoder?TextDecoder.prototype.decode.bind(new TextDecoder):function(t){for(var e=t.length,n=[],i=0;i<e;){var o,r,a,s,l=t[i],c=null,u=l>239?4:l>223?3:l>191?2:1;if(i+u<=e)switch(u){case 1:l<128&&(c=l);break;case 2:128==(192&(o=t[i+1]))&&(s=(31&l)<<6|63&o)>127&&(c=s);break;case 3:o=t[i+1],r=t[i+2],128==(192&o)&&128==(192&r)&&(s=(15&l)<<12|(63&o)<<6|63&r)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:o=t[i+1],r=t[i+2],a=t[i+3],128==(192&o)&&128==(192&r)&&128==(192&a)&&(s=(15&l)<<18|(63&o)<<12|(63&r)<<6|63&a)>65535&&s<1114112&&(c=s)}null===c?(c=65533,u=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=u}var d=n.length,p="";for(i=0;i<d;)p+=String.fromCharCode.apply(String,n.slice(i,i+=4096));return p};function g(){var e=!!t.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,n=t.XMLHttpRequest&&t.XMLHttpRequest.prototype.send;e&&n&&(XMLHttpRequest.prototype.send=function(t){t instanceof Blob?(this.setRequestHeader("Content-Type",t.type),n.call(this,t)):n.call(this,t)});try{new File([],"")}catch(e){try{var i=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name.replace(///g, ":");this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date();this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();t.File=i}catch(e){i=function(t,e,n){var i=new Blob(t,n),o=n&&void 0!==n.lastModified?new Date(n.lastModified):new Date;return i.name=e.replace(/\//g,":"),i.lastModifiedDate=o,i.lastModified=+o,i.toString=function(){return"[object File]"},a&&(i[a]="File"),i};t.File=i}}}s?(g(),t.Blob=c?t.Blob:f):d?(g(),t.Blob=h):function(){function e(t){for(var e=new Array(t.byteLength),n=new Uint8Array(t),i=e.length;i--;)e[i]=n[i];return e}function n(t){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n=[],i=0;i<t.length;i+=3){var o=t[i],r=i+1<t.length,a=r?t[i+1]:0,s=i+2<t.length,l=s?t[i+2]:0,c=o>>2,u=(3&o)<<4|a>>4,d=(15&a)<<2|l>>6,p=63&l;s||(p=64,r||(d=64)),n.push(e[c],e[u],e[d],e[p])}return n.join("")}var i=Object.create||function(t){function e(){}return e.prototype=t,new e};if(u)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(t){return t&&a.indexOf(Object.prototype.toString.call(t))>-1};function c(n,i){i=null==i?{}:i;for(var o=0,r=(n=n||[]).length;o<r;o++){var a=n[o];a instanceof c?n[o]=a._buffer:"string"==typeof a?n[o]=m(a):u&&(ArrayBuffer.prototype.isPrototypeOf(a)||s(a))?n[o]=e(a):u&&((d=a)&&DataView.prototype.isPrototypeOf(d))?n[o]=e(a.buffer):n[o]=m(String(a))}var d;this._buffer=t.Uint8Array?function(t){for(var e=0,n=t.length;n--;)e+=t[n].length;var i=new Uint8Array(e),o=0;for(n=0,l=t.length;n<l;n++){var r=t[n];i.set(r,o),o+=r.byteLength||r.length}return i}(n):[].concat.apply([],n),this.size=this._buffer.length,this.type=i.type||"",/[^\u0020-\u007E]/.test(this.type)?this.type="":this.type=this.type.toLowerCase()}function d(t,e,n){n=n||{};var i=c.call(this,t,n)||this;return i.name=e.replace(/\//g,":"),i.lastModifiedDate=n.lastModified?new Date(n.lastModified):new Date,i.lastModified=+i.lastModifiedDate,i}if(c.prototype.arrayBuffer=function(){return Promise.resolve(this._buffer)},c.prototype.text=function(){return Promise.resolve(v(this._buffer))},c.prototype.slice=function(t,e,n){return new c([this._buffer.slice(t||0,e||this._buffer.length)],{type:n})},c.prototype.toString=function(){return"[object Blob]"},d.prototype=i(c.prototype),d.prototype.constructor=d,Object.setPrototypeOf)Object.setPrototypeOf(d,c);else try{d.__proto__=c}catch(t){}function p(){if(!(this instanceof p))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var t=document.createDocumentFragment();this.addEventListener=t.addEventListener,this.dispatchEvent=function(e){var n=this["on"+e.type];"function"==typeof n&&n(e),t.dispatchEvent(e)},this.removeEventListener=t.removeEventListener}function h(t,e,n){if(!(e instanceof c))throw new TypeError("Failed to execute '"+n+"' on 'FileReader': parameter 1 is not of type 'Blob'.");t.result="",setTimeout((function(){this.readyState=p.LOADING,t.dispatchEvent(new Event("load")),t.dispatchEvent(new Event("loadend"))}))}d.prototype.toString=function(){return"[object File]"},p.EMPTY=0,p.LOADING=1,p.DONE=2,p.prototype.error=null,p.prototype.onabort=null,p.prototype.onerror=null,p.prototype.onload=null,p.prototype.onloadend=null,p.prototype.onloadstart=null,p.prototype.onprogress=null,p.prototype.readAsDataURL=function(t){h(this,t,"readAsDataURL"),this.result="data:"+t.type+";base64,"+n(t._buffer)},p.prototype.readAsText=function(t){h(this,t,"readAsText"),this.result=v(t._buffer)},p.prototype.readAsArrayBuffer=function(t){h(this,t,"readAsText"),this.result=(t._buffer.buffer||t._buffer).slice()},p.prototype.abort=function(){},URL.createObjectURL=function(t){return t instanceof c?"data:"+t.type+";base64,"+n(t._buffer):o.call(URL,t)},URL.revokeObjectURL=function(t){r&&r.call(URL,t)};var f=t.XMLHttpRequest&&t.XMLHttpRequest.prototype.send;f&&(XMLHttpRequest.prototype.send=function(t){t instanceof c?(this.setRequestHeader("Content-Type",t.type),f.call(this,v(t._buffer))):f.call(this,t)}),t.FileReader=p,t.File=d,t.Blob=c}(),a&&(File.prototype[a]="File",Blob.prototype[a]="Blob",FileReader.prototype[a]="FileReader");var b,y=t.Blob.prototype;function w(t){return new Promise((function(e,n){t.onload=t.onerror=function(i){t.onload=t.onerror=null,"load"===i.type?e(t.result||t):n(new Error("Failed to read the blob/file"))}}))}try{new ReadableStream({type:"bytes"}),b=function(){var t=0,e=this;return new ReadableStream({type:"bytes",autoAllocateChunkSize:524288,pull:function(n){var i=n.byobRequest.view;return e.slice(t,t+i.byteLength).arrayBuffer().then((function(o){var r=new Uint8Array(o),a=r.byteLength;t+=a,i.set(r),n.byobRequest.respond(a),t>=e.size&&n.close()}))}})}}catch(t){try{new ReadableStream({}),b=function(t){var e=0;t=this;return new ReadableStream({pull:function(n){return t.slice(e,e+524288).arrayBuffer().then((function(i){e+=i.byteLength;var o=new Uint8Array(i);n.enqueue(o),e==t.size&&n.close()}))}})}}catch(t){try{new Response("").body.getReader().read(),b=function(){return new Response(this).body}}catch(t){b=function(){throw new Error("Include https://github.com/MattiasBuelens/web-streams-polyfill")}}}}y.arrayBuffer||(y.arrayBuffer=function(){var t=new FileReader;return t.readAsArrayBuffer(this),w(t)}),y.text||(y.text=function(){var t=new FileReader;return t.readAsText(this),w(t)}),y.stream||(y.stream=b)}(),function(t){"use strict";var e,n=t.Uint8Array,i=t.HTMLCanvasElement,o=i&&i.prototype,r=/\s*;\s*base64\s*(?:;|$)/i,a="toDataURL",s=function(t){for(var i,o,r=t.length,a=new n(r/4*3|0),s=0,l=0,c=[0,0],u=0,d=0;r--;)o=t.charCodeAt(s++),255!==(i=e[o-43])&&void 0!==i&&(c[1]=c[0],c[0]=o,d=d<<6|i,4===++u&&(a[l++]=d>>>16,61!==c[1]&&(a[l++]=d>>>8),61!==c[0]&&(a[l++]=d),u=0));return a};n&&(e=new n([62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51])),!i||o.toBlob&&o.toBlobHD||(o.toBlob||(o.toBlob=function(t,e){if(e||(e="image/png"),this.mozGetAsFile)t(this.mozGetAsFile("canvas",e));else if(this.msToBlob&&/^\s*image\/png\s*(?:$|;)/i.test(e))t(this.msToBlob());else{var i,o=Array.prototype.slice.call(arguments,1),l=this[a].apply(this,o),c=l.indexOf(","),u=l.substring(c+1),d=r.test(l.substring(0,c));Blob.fake?((i=new Blob).encoding=d?"base64":"URI",i.data=u,i.size=u.length):n&&(i=d?new Blob([s(u)],{type:e}):new Blob([decodeURIComponent(u)],{type:e})),t(i)}}),!o.toBlobHD&&o.toDataURLHD?o.toBlobHD=function(){a="toDataURLHD";var t=this.toBlob();return a="toDataURL",t}:o.toBlobHD=o.toBlob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content||this)},"8eHY":function(t,e,n){var i=n("Zbyu");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},"8fqW":function(t,e,n){var i=n("UQAc");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},"8oxB":function(t,e){var n,i,o=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:r}catch(t){n=r}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var l,c=[],u=!1,d=-1;function p(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&h())}function h(){if(!u){var t=s(p);u=!0;for(var e=c.length;e;){for(l=c,c=[];++d<e;)l&&l[d].run();d=-1,e=c.length}l=null,u=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function m(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new f(t,e)),1!==c.length||u||s(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},"8wdl":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-archive-component .form-check[data-v-3527e0f6] {\n margin-left: 1rem;\n}\n.account-archive-component .form-check .media-body[data-v-3527e0f6] {\n margin-left: 1rem;\n}\n.account-archive-component .media-image-placeholder[data-v-3527e0f6] {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 50px;\n height: 50px;\n background-color: #f8f9fa !important;\n border-radius: 5px;\n margin-right: 1rem;\n}\n.account-archive-component .nav-link[data-v-3527e0f6] {\n color: #B8C2CC;\n font-size: 12px;\n font-weight: 600;\n text-transform: uppercase;\n}\n.account-archive-component .nav-link.active[data-v-3527e0f6] {\n color: #000;\n}",""])},"96jg":function(t,e,n){"use strict";n("RIlz")},"9Bud":function(t,e,n){"use strict";n("/RaH")},"9TCv":function(t,e,n){"use strict";n("Et/p")},"9hc6":function(t){t.exports=JSON.parse('{"common":{"comment":"تَعليق","commented":"علَّقتَ عليه","comments":"تَعليقات","like":"إعجاب","liked":"أُعجِبتَ بِه","likes":"إعْجابات","share":"مُشارَكَة","shared":"تمَّ مُشارَكَتُه","shares":"مُشارَكَات","unshare":"إلغاء المُشارَكَة","cancel":"إلغاء","copyLink":"نَسخ الرابِط","delete":"حَذف","error":"خطأ","errorMsg":"حَدَثَ خطأٌ ما. يُرجى المُحاولةُ مرةً أُخرى لاحِقًا.","oops":"المَعذِرَة!","other":"اُخرى","readMore":"قراءةُ المزيد","success":"نَجاح","sensitive":"حسَّاس","sensitiveContent":"مُحتَوًى حسَّاس","sensitiveContentWarning":"قد يحتوي هذا المَنشور على مُحتوًى حسَّاس"},"site":{"terms":"شُروطُ الاِستِخدام","privacy":"سِياسَةُ الخُصوصيَّة"},"navmenu":{"search":"البَحث","admin":"لوحَةُ تَحكُّمِ المُشرِف","homeFeed":"التَّغذيَة الرئيسَة","localFeed":"التَّغذيَة المحليَّة","globalFeed":"التَّغذيَة الشّامِلة","discover":"الاِستِكشاف","directMessages":"الرسائِلُ المُباشِرَة","notifications":"الإشعارات","groups":"المَجمُوعات","stories":"القَصَص","profile":"المِلف التَّعريفيّ","drive":"وِحدَةُ التَّخزين","settings":"الإعدَادَات","compose":"إنشاءُ جَديد","logout":"تَسجيلُ الخُرُوج","about":"حَول","help":"المُساعَدَة","language":"اللُّغَة","privacy":"الخُصُوصِيَّة","terms":"الشُّرُوط","backToPreviousDesign":"العودة إلى التصميم السابق"},"directMessages":{"inbox":"صَندوقُ الوارِد","sent":"أُرسِلَت","requests":"الطَّلَبات"},"notifications":{"liked":"أُعجِبَ بِمنشورٍ لَك","commented":"علَّقَ على مَنشورٍ لَك","reacted":"تَفاعَلَ مَعَك","shared":"شَارَكَ مَنشورٍ لَك","tagged":"أشارَ إليكَ فِي","updatedA":"حَدَّثَ","sentA":"أرسَلَ","followed":"تابَعَ","mentioned":"أشارَ إلى","you":"أنت","yourApplication":"طلبُكَ للانضِمام","applicationApproved":"تمَّت الموافقة عليه!","applicationRejected":"تمَّ رفضه. يُمكِنُكَ التقدُمُ بطلبٍ جديدٍ للانضمام بعد 6 شهور.","dm":"الرسائِل المُباشِرَة","groupPost":"مَنشور مَجموعَة","modlog":"سجلات المُشرِف","post":"مَنشور","story":"قَصَّة"},"post":{"shareToFollowers":"المُشاركة مَعَ المُتابِعين","shareToOther":"المُشارَكَة مَعَ الآخرين","noLikes":"لا إعجابات حتَّى الآن","uploading":"الرَّفعُ جارٍ"},"profile":{"posts":"المَنشُورات","followers":"المُتابِعُون","following":"المُتابَعُون","admin":"مُشرِف","collections":"تَجميعات","follow":"مُتابَعَة","unfollow":"إلغاء المُتابَعَة","editProfile":"تحرير المِلَف التَّعريفي","followRequested":"طُلِبَت المُتابَعَة","joined":"انضَم","emptyCollections":"على ما يَبدوا، لا يُمكِنُنا العُثور على أي تَجميعات","emptyPosts":"على ما يَبدوا، لا يُمكِنُنا العُثور على أي مَنشور"},"menu":{"viewPost":"عَرض المَنشور","viewProfile":"عَرض المِلف التعريفي","moderationTools":"أدوات الإشراف","report":"إبلاغ","archive":"أرشَفَة","unarchive":"إلغاء الأرشَفَة","embed":"تضمين","selectOneOption":"حدِّد أحدَ الخياراتِ التالِيَة","unlistFromTimelines":"الاستثناء من قوائِم الخُطُوط الزمنيَّة","addCW":"إضافة تحذير مُحتوى","removeCW":"حذف تحذير المُحتوى","markAsSpammer":"تَعليم كَغير مَرغُوبٍ بِه","markAsSpammerText":"الاستثِناء مِنَ القوائِم + إضافة تحذير مُحتوى لِلمُشارَكَات الحاليَّة وَالمُستَقبَليَّة","spam":"غير مَرغوب بِه","sensitive":"مُحتَوًى حسَّاس","abusive":"مُسيءٌ أو ضار","underageAccount":"حِسابٌ دونَ السِّن","copyrightInfringement":"اِنتِهاكُ حُقُوق","impersonation":"اِنتِحالُ شَخصيَّة","scamOrFraud":"نَصبٌ أو اِحتِيال","confirmReport":"تأكيدُ البَلاغ","confirmReportText":"هل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي الإبلاغِ عَن هَذَا المَنشور؟","reportSent":"أُرسِلَ البَلاغ!","reportSentText":"لقد تلقينا بَلاغُكَ بِنجاح.","reportSentError":"طَرَأ خَلَلٌ أثناءُ الإبلاغِ عَن هذا المَنشور.","modAddCWConfirm":"هل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي إضافَةِ تَحذيرٍ للمُحتَوى عَلى هَذَا المَنشُور؟","modCWSuccess":"أُضيفَ تَحذيرُ المُحتَوى بِنَجاح","modRemoveCWConfirm":"هَل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي إزالَةِ تَحذيرِ المُحتَوى مِن عَلى هَذَا المَنشُور؟","modRemoveCWSuccess":"أُزيلَ تَحذيرُ المُحتَوى بِنَجاح","modUnlistConfirm":"هل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي اِستِثناءِ هَذَا المَنشُورِ مِنَ القائِمَة (جَعلَهُ غَيرُ مُدرَج)؟","modUnlistSuccess":"اُستُثنِيَ المَنشُورُ بِنَجاح","modMarkAsSpammerConfirm":"هَل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي تَعليمِ هذا المُستَخدِمِ كَناشِرٍ لِمَنشُوراتٍ غيرِ مَرغوبٍ فِيها؟ سوف يُلغى إدراجُ جَميعِ مَنشوراتِهِ الحاليَّةِ وَالمُستَقبَليَّةِ مِنَ الخُطُوطِ الزَمنيَّةِ وَسوف يُطبَّقُ تَحذيرُ المُحتَوَى عَليها.","modMarkAsSpammerSuccess":"عُلِّمَ المُستَخدِمُ كَناشِرٍ لِمَنشُوراتٍ غيرِ مَرغوبٍ فِيها بِنَجاح","toFollowers":"إلَى المُتَابِعين","showCaption":"عَرضُ التَعليقِ التَوضيحي","showLikes":"إظهارُ الإعجابات","compactMode":"الوَضع المَضغوط","embedConfirmText":"باِستِخدامِكَ لِهذا التَّضمين، أنتَ تُوافِقُ عَلَى","deletePostConfirm":"هَل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي حَذفِ هَذَا المَنشُور؟","archivePostConfirm":"هَل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي أرشَفَةِ هَذَا المَنشُور؟","unarchivePostConfirm":"هَل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي إلغاءِ أرشَفَةِ هَذَا المَنشُور؟"},"story":{"add":"إضافَةُ قَصَّة"},"timeline":{"peopleYouMayKnow":"أشخاصٌ قَد تَعرِفُهُم"},"hashtags":{"emptyFeed":"على ما يَبدوا، لا يُمكِنُنا العُثور على أي مَنشور يَحتَوي على هذا الوَسم"}}')},"9tPo":function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,i=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var o,r=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(r)?t:(o=0===r.indexOf("//")?r:0===r.indexOf("/")?n+r:i+r.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},"9wGH":function(t,e,n){"use strict";n.r(e);var i={props:["status"]},o=n("KHd+"),r=Object(o.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return 1==t.status.sensitive?n("div",[n("details",{staticClass:"details-animated"},[n("summary",[n("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),n("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),n("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,e){return n("b-carousel-slide",{key:t.id+"-media"},[n("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%",poster:t.preview_url},slot:"img"},[n("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):n("div",[n("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,e){return n("b-carousel-slide",{key:t.id+"-media"},[n("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%",poster:t.preview_url},slot:"img"},[n("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)}),[],!1,null,null,null);e.default=r.exports},AWmZ:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-export-component .form-check[data-v-09975844] {\n margin-left: 1rem;\n}\n.account-export-component .form-check .media-body[data-v-09975844] {\n margin-left: 1rem;\n}",""])},AcoO:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.app-drawer-component .nav-link {\n padding: 0.5rem 0.1rem;\n}\n.app-drawer-component .nav-link.active {\n background-color: transparent;\n}\n.app-drawer-component .nav-link.router-link-exact-active {\n background-color: transparent;\n color: #3B82F6 !important;\n}\n.app-drawer-component .nav-link p {\n margin-bottom: 0;\n}\n.app-drawer-component .nav-link-label {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;\n margin-top: 0;\n font-size: 10px;\n text-transform: uppercase;\n font-weight: 700;\n opacity: 0.6;\n}',""])},ActF:function(t,e,n){var i=n("eSBa");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},AjvE:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return r}));const i=t=>{let e=t/255;return e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},o=t=>{let e=Math.max(0,Math.min(1,t));return e<=.0031308?Math.round(12.92*e*255+.5):Math.round(255*(1.055*Math.pow(e,1/2.4)-.055)+.5)},r=(t,e)=>(t<0?-1:1)*Math.pow(Math.abs(t),e)},"C0h/":function(t,e,n){var i=n("dRId");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},CCYc:function(t,e,n){"use strict";n("C0h/")},CCqj:function(t,e,n){"use strict";n("guyj")},CHrT:function(t,e,n){var i=n("lkZn");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},CTQT:function(t){t.exports=JSON.parse('{"common":{"comment":"Commenta","commented":"Commentato","comments":"Commenti","like":"Like","liked":"Like aggiunto","likes":"Tutti i Like","share":"Condividi","shared":"Condiviso","shares":"Condivisioni","unshare":"Annulla condivisione","cancel":"Annulla","copyLink":"Copia link","delete":"Elimina","error":"Errore","errorMsg":"Qualcosa è andato storto. Sei pregato di riprovare più tardi.","oops":"Ops!","other":"Altro","readMore":"Leggi di più","success":"Riuscito","sensitive":"Sensibile","sensitiveContent":"Contenuto Sensibile","sensitiveContentWarning":"Questo post potrebbe contenere contenuti sensibili"},"site":{"terms":"Termini di Utilizzo","privacy":"Informativa Privacy"},"navmenu":{"search":"Cerca","admin":"Pannello di amministrazione","homeFeed":"Feed Home","localFeed":"Feed Locale","globalFeed":"Feed Globale","discover":"Esplora","directMessages":"Messaggi Diretti","notifications":"Notifiche","groups":"Gruppi","stories":"Storie","profile":"Profilo","drive":"Drive","settings":"Impostazioni","compose":"Crea Nuovo","logout":"Esci","about":"Info","help":"Supporto","language":"Lingua","privacy":"Privacy","terms":"Condizioni","backToPreviousDesign":"Torna al design precedente"},"directMessages":{"inbox":"In arrivo","sent":"Inviata","requests":"Richieste"},"notifications":{"liked":"ha messo like a","commented":"ha commentato","reacted":"ha reagito a","shared":"ha condiviso","tagged":"ti ha taggato in","updatedA":"ha aggiornato un","sentA":"ha inviato un","followed":"stai seguendo","mentioned":"menzionato","you":"tu","yourApplication":"La tua candidatura per unirti","applicationApproved":"è stata approvata!","applicationRejected":"è stata respinta. Puoi richiedere di unirti fra 6 mesi.","dm":"dm","groupPost":"post di gruppo","modlog":"modlog","post":"post","story":"storia"},"post":{"shareToFollowers":"Condividi con i follower","shareToOther":"Condividi con altri","noLikes":"Ancora nessun Like","uploading":"Caricamento in corso"},"profile":{"posts":"Post","followers":"Follower","following":"Seguiti","admin":"Amministrazione","collections":"Collezioni","follow":"Segui","unfollow":"Smetti di seguire","editProfile":"Modifica profilo","followRequested":"Richiesta in attesa","joined":"Iscritto","emptyCollections":"Non riusciamo a trovare alcuna collezione","emptyPosts":"Non riusciamo a trovare alcun post"},"menu":{"viewPost":"Mostra Post","viewProfile":"Mostra Profilo","moderationTools":"Strumenti di moderazione","report":"Segnala","archive":"Archivia","unarchive":"Rimuovi dall\'archivio","embed":"Incorpora","selectOneOption":"Scegli una delle seguenti opzioni","unlistFromTimelines":"Rimuovi dalle Timeline","addCW":"Aggiungi segnalazione","removeCW":"Rimuovi segnalazione","markAsSpammer":"Segna come Spammer","markAsSpammerText":"Rimuovi dalla lista + segnalazione di contenuti sensibili per post attuali e futuri","spam":"Spam","sensitive":"Contenuto Sensibile","abusive":"Abusivo o Dannoso","underageAccount":"Account di minorenne","copyrightInfringement":"Violazione del copyright","impersonation":"Impersonifica","scamOrFraud":"Truffa o frode","confirmReport":"Conferma Segnalazione","confirmReportText":"Sei sicurə di voler segnalare questo contenuto?","reportSent":"Segnalazione inviata!","reportSentText":"Abbiamo ricevuto la tua segnalazione con successo.","reportSentError":"Si è verificato un problema nella segnalazione di questo post.","modAddCWConfirm":"Sei sicurə di voler segnalare come sensibile questo post?","modCWSuccess":"Segnalazione aggiunta con successo","modRemoveCWConfirm":"Sei sicurə di voler rimuovere la segnalazione da questo post?","modRemoveCWSuccess":"Segnalazione rimossa con successo","modUnlistConfirm":"Sei sicurə di voler rimuovere questo post dall’elenco?","modUnlistSuccess":"Post rimosso dall’elenco con successo","modMarkAsSpammerConfirm":"Sei sicuro di voler contrassegnare questo utente come spammer? Tutti i suoi post esistenti e futuri saranno rimossi dalle timeline e una segnalazione per contenuti sensibili sarà aggiunta.","modMarkAsSpammerSuccess":"Account contrassegnato come spammer con successo","toFollowers":"ai follower","showCaption":"Mostra didascalia","showLikes":"Mostra i like","compactMode":"Modalità compatta","embedConfirmText":"Usando questo strumento, acconsenti ai nostri","deletePostConfirm":"Sei sicurə di voler eliminare questo post?","archivePostConfirm":"Sei sicurə di voler archiviare questo post?","unarchivePostConfirm":"Sei sicurə di voler rimuovere questo post dall’archivio?"},"story":{"add":"Aggiungi Storia"},"timeline":{"peopleYouMayKnow":"Persone che potresti conoscere"},"hashtags":{"emptyFeed":"Non riusciamo a trovare alcun post con questo hashtag"}}')},CVxE:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".knowledgebase-component .text-narrow {\n font-weight: 900 !important;\n letter-spacing: -0.034em;\n}\n.knowledgebase-component strong {\n font-weight: 700;\n}",""])},Cb8w:function(t,e,n){var i=n("vncG");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},CiH3:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".fade-enter-active[data-v-6383fb07],.fade-leave-active[data-v-6383fb07]{transition:opacity var(--transition-duration)}.fade-enter[data-v-6383fb07],.fade-leave-to[data-v-6383fb07]{opacity:0}",""])},CmN8:function(t,e,n){window,t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=53)}([function(t,e,n){var i=n(30)("wks"),o=n(15),r=n(3).Symbol,a="function"==typeof r;(t.exports=function(t){return i[t]||(i[t]=a&&r[t]||(a?r:o)("Symbol."+t))}).store=i},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(3),o=n(11),r=n(6),a=n(10),s=n(29),l=function(t,e,n){var c,u,d,p,h=t&l.F,f=t&l.G,m=t&l.S,v=t&l.P,g=t&l.B,b=f?i:m?i[e]||(i[e]={}):(i[e]||{}).prototype,y=f?o:o[e]||(o[e]={}),w=y.prototype||(y.prototype={});for(c in f&&(n=e),n)d=((u=!h&&b&&void 0!==b[c])?b:n)[c],p=g&&u?s(d,i):v&&"function"==typeof d?s(Function.call,d):d,b&&a(b,c,d,t&l.U),y[c]!=d&&r(y,c,p),v&&w[c]!=d&&(w[c]=d)};i.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var i=n(7),o=n(40),r=n(20),a=Object.defineProperty;e.f=n(5)?Object.defineProperty:function(t,e,n){if(i(t),e=r(e,!0),i(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(1)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var i=n(4),o=n(14);t.exports=n(5)?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(8);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(3),o=n(6),r=n(9),a=n(15)("src"),s=Function.toString,l=(""+s).split("toString");n(11).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(r(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(r(n,a)||o(n,a,t[e]?""+t[e]:l.join(String(e)))),t===i?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var i=n(47),o=n(17);t.exports=function(t){return i(o(t))}},function(t,e,n){var i=n(48),o=n(33);t.exports=Object.keys||function(t){return i(t,o)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e,n){var i=n(17);t.exports=function(t){return Object(i(t))}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports={}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var i=n(8);t.exports=function(t,e){if(!i(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!i(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!i(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!i(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=!1},function(t,e){e.f={}.propertyIsEnumerable},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 o=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(i),r=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[n].concat(r).concat([o]).join("\n")}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={},o=0;o<this.length;o++){var r=this[o][0];"number"==typeof r&&(i[r]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){"use strict";function i(t,e){for(var n=[],i={},o=0;o<e.length;o++){var r=e[o],a=r[0],s={id:t+":"+o,css:r[1],media:r[2],sourceMap:r[3]};i[a]?i[a].parts.push(s):n.push(i[a]={id:a,parts:[s]})}return n}n.r(e),n.d(e,"default",(function(){return f}));var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d=null,p="data-vue-ssr-id",h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,n,o){c=n,d=o||{};var a=i(t,e);return m(a),function(e){for(var n=[],o=0;o<a.length;o++){var s=a[o];(l=r[s.id]).refs--,n.push(l)}for(e?m(a=i(t,e)):a=[],o=0;o<n.length;o++){var l;if(0===(l=n[o]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete r[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],i=r[n.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](n.parts[o]);for(;o<n.parts.length;o++)i.parts.push(g(n.parts[o]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(g(n.parts[o]));r[n.id]={id:n.id,refs:1,parts:a}}}}function v(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function g(t){var e,n,i=document.querySelector("style["+p+'~="'+t.id+'"]');if(i){if(c)return u;i.parentNode.removeChild(i)}if(h){var o=l++;i=s||(s=v()),e=y.bind(null,i,o,!1),n=y.bind(null,i,o,!0)}else i=v(),e=function(t,e){var n=e.css,i=e.media,o=e.sourceMap;if(i&&t.setAttribute("media",i),d.ssrId&&t.setAttribute(p,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,i){var o=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,o);else{var r=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(r,a[e]):t.appendChild(r)}}},function(t,e,n){var i=n(95);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(24).default)("1c9d4ce3",i,!1,{})},function(t,e,n){var i=n(98);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(24).default)("6a175419",i,!1,{})},function(t,e,n){var i=n(100);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(24).default)("07c48036",i,!1,{})},function(t,e,n){var i=n(102);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(24).default)("6eff00d0",i,!1,{})},function(t,e,n){var i=n(39);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,o){return t.call(e,n,i,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var i=n(11),o=n(3),r=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(21)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var i=n(7),o=n(67),r=n(33),a=n(32)("IE_PROTO"),s=function(){},l=function(){var t,e=n(41)("iframe"),i=r.length;for(e.style.display="none",n(69).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;i--;)delete l.prototype[r[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=i(t),n=new s,s.prototype=null,n[a]=t):n=l(),void 0===e?n:o(n,e)}},function(t,e,n){var i=n(30)("keys"),o=n(15);t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(4).f,o=n(9),r=n(0)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,r)&&i(t,r,{configurable:!0,value:e})}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i=n(48),o=n(33).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},function(t,e,n){var i=n(22),o=n(14),r=n(12),a=n(20),s=n(9),l=n(40),c=Object.getOwnPropertyDescriptor;e.f=n(5)?c:function(t,e){if(t=r(t),e=a(e,!0),l)try{return c(t,e)}catch(t){}if(s(t,e))return o(!i.f.call(t,e),t[e])}},function(t,e,n){"use strict";var i=n(3),o=n(9),r=n(19),a=n(85),s=n(20),l=n(1),c=n(36).f,u=n(37).f,d=n(4).f,p=n(87).trim,h=i.Number,f=h,m=h.prototype,v="Number"==r(n(31)(m)),g="trim"in String.prototype,b=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var n,i,o,r=(e=g?e.trim():p(e,3)).charCodeAt(0);if(43===r||45===r){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===r){switch(e.charCodeAt(1)){case 66:case 98:i=2,o=49;break;case 79:case 111:i=8,o=55;break;default:return+e}for(var a,l=e.slice(2),c=0,u=l.length;c<u;c++)if((a=l.charCodeAt(c))<48||a>o)return NaN;return parseInt(l,i)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(v?l((function(){m.valueOf.call(n)})):"Number"!=r(n))?a(new f(b(e)),n,h):b(e)};for(var y,w=n(5)?c(f):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;w.length>_;_++)o(f,y=w[_])&&!o(h,y)&&d(h,y,u(f,y));h.prototype=m,m.constructor=h,n(10)(i,"Number",h)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){t.exports=!n(5)&&!n(1)((function(){return 7!=Object.defineProperty(n(41)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var i=n(8),o=n(3).document,r=i(o)&&i(o.createElement);t.exports=function(t){return r?o.createElement(t):{}}},function(t,e,n){var i=n(43),o=Math.min;t.exports=function(t){return t>0?o(i(t),9007199254740991):0}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){"use strict";var i=n(7);t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var i=n(46),o=n(64),r=n(18),a=n(12);t.exports=n(65)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},function(t,e,n){var i=n(0)("unscopables"),o=Array.prototype;null==o[i]&&n(6)(o,i,{}),t.exports=function(t){o[i][t]=!0}},function(t,e,n){var i=n(19);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e,n){var i=n(9),o=n(12),r=n(49)(!1),a=n(32)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),l=0,c=[];for(n in s)n!=a&&i(s,n)&&c.push(n);for(;e.length>l;)i(s,n=e[l++])&&(~r(c,n)||c.push(n));return c}},function(t,e,n){var i=n(12),o=n(42),r=n(68);t.exports=function(t){return function(e,n,a){var s,l=i(e),c=o(l.length),u=r(a,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},function(t,e,n){var i=n(3),o=n(11),r=n(21),a=n(51),s=n(4).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=r?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){e.f=n(0)},function(t,e,n){var i=n(2);i(i.S+i.F,"Object",{assign:n(96)})},function(t,e,n){t.exports=n(103)},function(t,e,n){"use strict";var i=n(29),o=n(2),r=n(16),a=n(55),s=n(56),l=n(42),c=n(57),u=n(58);o(o.S+o.F*!n(60)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,d,p=r(t),h="function"==typeof this?this:Array,f=arguments.length,m=f>1?arguments[1]:void 0,v=void 0!==m,g=0,b=u(p);if(v&&(m=i(m,f>2?arguments[2]:void 0,2)),null==b||h==Array&&s(b))for(n=new h(e=l(p.length));e>g;g++)c(n,g,v?m(p[g],g):p[g]);else for(d=b.call(p),n=new h;!(o=d.next()).done;g++)c(n,g,v?a(d,m,[o.value,g],!0):o.value);return n.length=g,n}})},function(t,e,n){var i=n(7);t.exports=function(t,e,n,o){try{return o?e(i(n)[0],n[1]):e(n)}catch(e){var r=t.return;throw void 0!==r&&i(r.call(t)),e}}},function(t,e,n){var i=n(18),o=n(0)("iterator"),r=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||r[o]===t)}},function(t,e,n){"use strict";var i=n(4),o=n(14);t.exports=function(t,e,n){e in t?i.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var i=n(59),o=n(0)("iterator"),r=n(18);t.exports=n(11).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||r[i(t)]}},function(t,e,n){var i=n(19),o=n(0)("toStringTag"),r="Arguments"==i(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:r?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var i=n(0)("iterator"),o=!1;try{var r=[7][i]();r.return=function(){o=!0},Array.from(r,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var r=[7],a=r[i]();a.next=function(){return{done:n=!0}},r[i]=function(){return a},t(r)}catch(t){}return n}},function(t,e,n){"use strict";n(62);var i=n(7),o=n(44),r=n(5),a=/./.toString,s=function(t){n(10)(RegExp.prototype,"toString",t,!0)};n(1)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?s((function(){var t=i(this);return"/".concat(t.source,"/","flags"in t?t.flags:!r&&t instanceof RegExp?o.call(t):void 0)})):"toString"!=a.name&&s((function(){return a.call(this)}))},function(t,e,n){n(5)&&"g"!=/./g.flags&&n(4).f(RegExp.prototype,"flags",{configurable:!0,get:n(44)})},function(t,e,n){for(var i=n(45),o=n(13),r=n(10),a=n(3),s=n(6),l=n(18),c=n(0),u=c("iterator"),d=c("toStringTag"),p=l.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=o(h),m=0;m<f.length;m++){var v,g=f[m],b=h[g],y=a[g],w=y&&y.prototype;if(w&&(w[u]||s(w,u,p),w[d]||s(w,d,g),l[g]=p,b))for(v in i)w[v]||r(w,v,i[v],!0)}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var i=n(21),o=n(2),r=n(10),a=n(6),s=n(18),l=n(66),c=n(34),u=n(70),d=n(0)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,f,m,v,g){l(n,e,f);var b,y,w,_=function(t){if(!p&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",C="values"==m,k=!1,O=t.prototype,S=O[d]||O["@@iterator"]||m&&O[m],P=S||_(m),T=m?C?_("entries"):P:void 0,j="Array"==e&&O.entries||S;if(j&&(w=u(j.call(new t)))!==Object.prototype&&w.next&&(c(w,x,!0),i||"function"==typeof w[d]||a(w,d,h)),C&&S&&"values"!==S.name&&(k=!0,P=function(){return S.call(this)}),i&&!g||!p&&!k&&O[d]||a(O,d,P),s[e]=P,s[x]=h,m)if(b={values:C?P:_("values"),keys:v?P:_("keys"),entries:T},g)for(y in b)y in O||r(O,y,b[y]);else o(o.P+o.F*(p||k),e,b);return b}},function(t,e,n){"use strict";var i=n(31),o=n(14),r=n(34),a={};n(6)(a,n(0)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(a,{next:o(1,n)}),r(t,e+" Iterator")}},function(t,e,n){var i=n(4),o=n(7),r=n(13);t.exports=n(5)?Object.defineProperties:function(t,e){o(t);for(var n,a=r(e),s=a.length,l=0;s>l;)i.f(t,n=a[l++],e[n]);return t}},function(t,e,n){var i=n(43),o=Math.max,r=Math.min;t.exports=function(t,e){return(t=i(t))<0?o(t+e,0):r(t,e)}},function(t,e,n){var i=n(3).document;t.exports=i&&i.documentElement},function(t,e,n){var i=n(9),o=n(16),r=n(32)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),i(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var i=n(16),o=n(13);n(72)("keys",(function(){return function(t){return o(i(t))}}))},function(t,e,n){var i=n(2),o=n(11),r=n(1);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*r((function(){n(1)})),"Object",a)}},function(t,e,n){n(50)("asyncIterator")},function(t,e,n){"use strict";var i=n(3),o=n(9),r=n(5),a=n(2),s=n(10),l=n(75).KEY,c=n(1),u=n(30),d=n(34),p=n(15),h=n(0),f=n(51),m=n(50),v=n(76),g=n(77),b=n(7),y=n(8),w=n(12),_=n(20),x=n(14),C=n(31),k=n(78),O=n(37),S=n(4),P=n(13),T=O.f,j=S.f,M=k.f,E=i.Symbol,A=i.JSON,D=A&&A.stringify,$=h("_hidden"),I=h("toPrimitive"),L={}.propertyIsEnumerable,B=u("symbol-registry"),F=u("symbols"),R=u("op-symbols"),N=Object.prototype,U="function"==typeof E,z=i.QObject,H=!z||!z.prototype||!z.prototype.findChild,V=r&&c((function(){return 7!=C(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=T(N,e);i&&delete N[e],j(t,e,n),i&&t!==N&&j(N,e,i)}:j,W=function(t){var e=F[t]=C(E.prototype);return e._k=t,e},G=U&&"symbol"==typeof E.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof E},q=function(t,e,n){return t===N&&q(R,e,n),b(t),e=_(e,!0),b(n),o(F,e)?(n.enumerable?(o(t,$)&&t[$][e]&&(t[$][e]=!1),n=C(n,{enumerable:x(0,!1)})):(o(t,$)||j(t,$,x(1,{})),t[$][e]=!0),V(t,e,n)):j(t,e,n)},Y=function(t,e){b(t);for(var n,i=v(e=w(e)),o=0,r=i.length;r>o;)q(t,n=i[o++],e[n]);return t},X=function(t){var e=L.call(this,t=_(t,!0));return!(this===N&&o(F,t)&&!o(R,t))&&(!(e||!o(this,t)||!o(F,t)||o(this,$)&&this[$][t])||e)},K=function(t,e){if(t=w(t),e=_(e,!0),t!==N||!o(F,e)||o(R,e)){var n=T(t,e);return!n||!o(F,e)||o(t,$)&&t[$][e]||(n.enumerable=!0),n}},J=function(t){for(var e,n=M(w(t)),i=[],r=0;n.length>r;)o(F,e=n[r++])||e==$||e==l||i.push(e);return i},Z=function(t){for(var e,n=t===N,i=M(n?R:w(t)),r=[],a=0;i.length>a;)!o(F,e=i[a++])||n&&!o(N,e)||r.push(F[e]);return r};U||(s((E=function(){if(this instanceof E)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===N&&e.call(R,n),o(this,$)&&o(this[$],t)&&(this[$][t]=!1),V(this,t,x(1,n))};return r&&H&&V(N,t,{configurable:!0,set:e}),W(t)}).prototype,"toString",(function(){return this._k})),O.f=K,S.f=q,n(36).f=k.f=J,n(22).f=X,n(35).f=Z,r&&!n(21)&&s(N,"propertyIsEnumerable",X,!0),f.f=function(t){return W(h(t))}),a(a.G+a.W+a.F*!U,{Symbol:E});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Q.length>tt;)h(Q[tt++]);for(var et=P(h.store),nt=0;et.length>nt;)m(et[nt++]);a(a.S+a.F*!U,"Symbol",{for:function(t){return o(B,t+="")?B[t]:B[t]=E(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!U,"Object",{create:function(t,e){return void 0===e?C(t):Y(C(t),e)},defineProperty:q,defineProperties:Y,getOwnPropertyDescriptor:K,getOwnPropertyNames:J,getOwnPropertySymbols:Z}),A&&a(a.S+a.F*(!U||c((function(){var t=E();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(n=e=i[1],(y(e)||void 0!==t)&&!G(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),i[1]=e,D.apply(A,i)}}),E.prototype[I]||n(6)(E.prototype,I,E.prototype.valueOf),d(E,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},function(t,e,n){var i=n(15)("meta"),o=n(8),r=n(9),a=n(4).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(1)((function(){return l(Object.preventExtensions({}))})),u=function(t){a(t,i,{value:{i:"O"+ ++s,w:{}}})},d=t.exports={KEY:i,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!r(t,i)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[i].i},getWeak:function(t,e){if(!r(t,i)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[i].w},onFreeze:function(t){return c&&d.NEED&&l(t)&&!r(t,i)&&u(t),t}}},function(t,e,n){var i=n(13),o=n(35),r=n(22);t.exports=function(t){var e=i(t),n=o.f;if(n)for(var a,s=n(t),l=r.f,c=0;s.length>c;)l.call(t,a=s[c++])&&e.push(a);return e}},function(t,e,n){var i=n(19);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(12),o=n(36).f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==r.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(i(t))}},function(t,e,n){var i=n(2);i(i.S,"Math",{sign:n(80)})},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){n(82)("match",1,(function(t,e,n){return[function(n){"use strict";var i=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i):new RegExp(n)[e](String(i))},n]}))},function(t,e,n){"use strict";var i=n(6),o=n(10),r=n(1),a=n(17),s=n(0);t.exports=function(t,e,n){var l=s(t),c=n(a,l,""[t]),u=c[0],d=c[1];r((function(){var e={};return e[l]=function(){return 7},7!=""[t](e)}))&&(o(String.prototype,t,u),i(RegExp.prototype,l,2==e?function(t,e){return d.call(t,this,e)}:function(t){return d.call(t,this)}))}},function(t,e,n){"use strict";var i=n(2),o=n(39),r=n(16),a=n(1),s=[].sort,l=[1,2,3];i(i.P+i.F*(a((function(){l.sort(void 0)}))||!a((function(){l.sort(null)}))||!n(84)(s)),"Array",{sort:function(t){return void 0===t?s.call(r(this)):s.call(r(this),o(t))}})},function(t,e,n){"use strict";var i=n(1);t.exports=function(t,e){return!!t&&i((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){var i=n(8),o=n(86).set;t.exports=function(t,e,n){var r,a=e.constructor;return a!==n&&"function"==typeof a&&(r=a.prototype)!==n.prototype&&i(r)&&o&&o(t,r),t}},function(t,e,n){var i=n(8),o=n(7),r=function(t,e){if(o(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{(i=n(29)(Function.call,n(37).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return r(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:r}},function(t,e,n){var i=n(2),o=n(17),r=n(1),a=n(88),s="["+a+"]",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),u=function(t,e,n){var o={},s=r((function(){return!!a[t]()||"
"!="
"[t]()})),l=o[t]=s?e(d):a[t];n&&(o[n]=l),i(i.P+i.F*s,"String",o)},d=u.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(c,"")),t};t.exports=u},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,n){"use strict";var i=n(2),o=n(49)(!0);i(i.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(46)("includes")},function(t,e,n){"use strict";var i=n(2),o=n(91);i(i.P+i.F*n(93)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var i=n(92),o=n(17);t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var i=n(8),o=n(19),r=n(0)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[r])?!!e:"RegExp"==o(t))}},function(t,e,n){var i=n(0)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){"use strict";var i=n(25);n.n(i).a},function(t,e,n){(t.exports=n(23)(!1)).push([t.i,'\n.VueCarousel-navigation-button[data-v-453ad8cd] {\n position: absolute;\n top: 50%;\n box-sizing: border-box;\n color: #000;\n text-decoration: none;\n appearance: none;\n border: none;\n background-color: transparent;\n padding: 0;\n cursor: pointer;\n outline: none;\n}\n.VueCarousel-navigation-button[data-v-453ad8cd]:focus {\n outline: 1px solid lightblue;\n}\n.VueCarousel-navigation-next[data-v-453ad8cd] {\n right: 0;\n transform: translateY(-50%) translateX(100%);\n font-family: "system";\n}\n.VueCarousel-navigation-prev[data-v-453ad8cd] {\n left: 0;\n transform: translateY(-50%) translateX(-100%);\n font-family: "system";\n}\n.VueCarousel-navigation--disabled[data-v-453ad8cd] {\n opacity: 0.5;\n cursor: default;\n}\n\n/* Define the "system" font family */\n@font-face {\n font-family: system;\n font-style: normal;\n font-weight: 300;\n src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"),\n local(".LucidaGrandeUI"), local("Ubuntu Light"), local("Segoe UI Symbol"),\n local("Roboto-Light"), local("DroidSans"), local("Tahoma");\n}\n',""])},function(t,e,n){"use strict";var i=n(13),o=n(35),r=n(22),a=n(16),s=n(47),l=Object.assign;t.exports=!l||n(1)((function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=i}))?function(t,e){for(var n=a(t),l=arguments.length,c=1,u=o.f,d=r.f;l>c;)for(var p,h=s(arguments[c++]),f=u?i(h).concat(u(h)):i(h),m=f.length,v=0;m>v;)d.call(h,p=f[v++])&&(n[p]=h[p]);return n}:l},function(t,e,n){"use strict";var i=n(26);n.n(i).a},function(t,e,n){(t.exports=n(23)(!1)).push([t.i,"\n.VueCarousel-pagination[data-v-438fd353] {\n width: 100%;\n text-align: center;\n}\n.VueCarousel-pagination--top-overlay[data-v-438fd353] {\n position: absolute;\n top: 0;\n}\n.VueCarousel-pagination--bottom-overlay[data-v-438fd353] {\n position: absolute;\n bottom: 0;\n}\n.VueCarousel-dot-container[data-v-438fd353] {\n display: inline-block;\n margin: 0 auto;\n padding: 0;\n}\n.VueCarousel-dot[data-v-438fd353] {\n display: inline-block;\n cursor: pointer;\n appearance: none;\n border: none;\n background-clip: content-box;\n box-sizing: content-box;\n padding: 0;\n border-radius: 100%;\n outline: none;\n}\n.VueCarousel-dot[data-v-438fd353]:focus {\n outline: 1px solid lightblue;\n}\n",""])},function(t,e,n){"use strict";var i=n(27);n.n(i).a},function(t,e,n){(t.exports=n(23)(!1)).push([t.i,"\n.VueCarousel-slide {\n flex-basis: inherit;\n flex-grow: 0;\n flex-shrink: 0;\n user-select: none;\n backface-visibility: hidden;\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n outline: none;\n}\n.VueCarousel-slide-adjustableHeight {\n display: table;\n flex-basis: auto;\n width: 100%;\n}\n",""])},function(t,e,n){"use strict";var i=n(28);n.n(i).a},function(t,e,n){(t.exports=n(23)(!1)).push([t.i,"\n.VueCarousel {\n display: flex;\n flex-direction: column;\n position: relative;\n}\n.VueCarousel--reverse {\n flex-direction: column-reverse;\n}\n.VueCarousel-wrapper {\n width: 100%;\n position: relative;\n overflow: hidden;\n}\n.VueCarousel-inner {\n display: flex;\n flex-direction: row;\n backface-visibility: hidden;\n}\n.VueCarousel-inner--center {\n justify-content: center;\n}\n",""])},function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"VueCarousel",class:{"VueCarousel--reverse":"top"===t.paginationPosition}},[n("div",{ref:"VueCarousel-wrapper",staticClass:"VueCarousel-wrapper"},[n("div",{ref:"VueCarousel-inner",class:["VueCarousel-inner",{"VueCarousel-inner--center":t.isCenterModeEnabled}],style:{transform:"translate("+t.currentOffset+"px, 0)",transition:t.dragging?"none":t.transitionStyle,"ms-flex-preferred-size":t.slideWidth+"px","webkit-flex-basis":t.slideWidth+"px","flex-basis":t.slideWidth+"px",visibility:t.slideWidth?"visible":"hidden",height:""+t.currentHeight,"padding-left":t.padding+"px","padding-right":t.padding+"px"}},[t._t("default")],2)]),t._v(" "),t.navigationEnabled?t._t("navigation",[t.isNavigationRequired?n("navigation",{attrs:{clickTargetSize:t.navigationClickTargetSize,nextLabel:t.navigationNextLabel,prevLabel:t.navigationPrevLabel},on:{navigationclick:t.handleNavigation}}):t._e()]):t._e(),t._v(" "),t.paginationEnabled?t._t("pagination",[n("pagination",{on:{paginationclick:function(e){t.goToPage(e,"pagination")}}})]):t._e()],2)};i._withStripped=!0,n(54),n(61),n(63),n(45),n(71),n(73),n(74),n(79),n(81),n(83),n(38),n(89),n(90);var o={props:{autoplay:{type:Boolean,default:!1},autoplayTimeout:{type:Number,default:2e3},autoplayHoverPause:{type:Boolean,default:!0},autoplayDirection:{type:String,default:"forward"}},data:function(){return{autoplayInterval:null}},destroyed:function(){this.$isServer||(this.$el.removeEventListener("mouseenter",this.pauseAutoplay),this.$el.removeEventListener("mouseleave",this.startAutoplay))},methods:{pauseAutoplay:function(){this.autoplayInterval&&(this.autoplayInterval=clearInterval(this.autoplayInterval))},startAutoplay:function(){this.autoplay&&(this.autoplayInterval=setInterval(this.autoplayAdvancePage,this.autoplayTimeout))},restartAutoplay:function(){this.pauseAutoplay(),this.startAutoplay()},autoplayAdvancePage:function(){this.advancePage(this.autoplayDirection)}},mounted:function(){!this.$isServer&&this.autoplayHoverPause&&(this.$el.addEventListener("mouseenter",this.pauseAutoplay),this.$el.addEventListener("mouseleave",this.startAutoplay)),this.startAutoplay()}},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"VueCarousel-navigation"},[n("button",{staticClass:"VueCarousel-navigation-button VueCarousel-navigation-prev",class:{"VueCarousel-navigation--disabled":!t.canAdvanceBackward},style:"padding: "+t.clickTargetSize+"px; margin-right: -"+t.clickTargetSize+"px;",attrs:{type:"button","aria-label":"Previous page",tabindex:t.canAdvanceBackward?0:-1},domProps:{innerHTML:t._s(t.prevLabel)},on:{click:function(e){e.preventDefault(),t.triggerPageAdvance("backward")}}}),t._v(" "),n("button",{staticClass:"VueCarousel-navigation-button VueCarousel-navigation-next",class:{"VueCarousel-navigation--disabled":!t.canAdvanceForward},style:"padding: "+t.clickTargetSize+"px; margin-left: -"+t.clickTargetSize+"px;",attrs:{type:"button","aria-label":"Next page",tabindex:t.canAdvanceForward?0:-1},domProps:{innerHTML:t._s(t.nextLabel)},on:{click:function(e){e.preventDefault(),t.triggerPageAdvance("forward")}}})])};r._withStripped=!0;var a={name:"navigation",inject:["carousel"],props:{clickTargetSize:{type:Number,default:8},nextLabel:{type:String,default:"▶"},prevLabel:{type:String,default:"◀"}},computed:{canAdvanceForward:function(){return this.carousel.canAdvanceForward||!1},canAdvanceBackward:function(){return this.carousel.canAdvanceBackward||!1}},methods:{triggerPageAdvance:function(t){this.$emit("navigationclick",t)}}};function s(t,e,n,i,o,r,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}n(94);var l=s(a,r,[],!1,null,"453ad8cd",null);l.options.__file="src/Navigation.vue";var c=l.exports,u=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("div",{directives:[{name:"show",rawName:"v-show",value:e.carousel.pageCount>1,expression:"carousel.pageCount > 1"}],staticClass:"VueCarousel-pagination",class:(t={},t["VueCarousel-pagination--"+e.paginationPositionModifierName]=e.paginationPositionModifierName,t)},[i("div",{staticClass:"VueCarousel-dot-container",style:e.dotContainerStyle,attrs:{role:"tablist"}},e._l(e.paginationCount,(function(t,n){return i("button",{key:t+"_"+n,staticClass:"VueCarousel-dot",class:{"VueCarousel-dot--active":e.isCurrentDot(n)},style:e.dotStyle(n),attrs:{"aria-hidden":"false",role:"tab",title:e.getDotTitle(n),value:e.getDotTitle(n),"aria-label":e.getDotTitle(n),"aria-selected":e.isCurrentDot(n)?"true":"false"},on:{click:function(t){e.goToPage(n)}}})})))])};u._withStripped=!0,n(52);var d={name:"pagination",inject:["carousel"],computed:{paginationPositionModifierName:function(){var t=this.carousel.paginationPosition;if(!(t.indexOf("overlay")<0))return t},paginationPropertyBasedOnPosition:function(){return this.carousel.paginationPosition.indexOf("top")>=0?"bottom":"top"},paginationCount:function(){return this.carousel&&this.carousel.scrollPerPage?this.carousel.pageCount:this.carousel.slideCount||0},dotContainerStyle:function(){var t=this.carousel;if(-1===t.maxPaginationDotCount)return{"margin-top":"".concat(2*t.paginationPadding,"px")};var e=2*t.paginationPadding,n=t.maxPaginationDotCount*(t.paginationSize+e);return{"margin-top":"".concat(2*t.paginationPadding,"px"),overflow:"hidden",width:"".concat(n,"px"),margin:"0 auto","white-space":"nowrap"}}},methods:{goToPage:function(t){this.$emit("paginationclick",t)},isCurrentDot:function(t){return t===this.carousel.currentPage},getDotTitle:function(t){return this.carousel.$children[t].title?this.carousel.$children[t].title:"Item ".concat(t)},dotStyle:function(t){var e=this.carousel,n={};if(n["margin-".concat(this.paginationPropertyBasedOnPosition)]="".concat(2*e.paginationPadding,"px"),Object.assign(n,{padding:"".concat(e.paginationPadding,"px"),width:"".concat(e.paginationSize,"px"),height:"".concat(e.paginationSize,"px"),"background-color":"".concat(this.isCurrentDot(t)?e.paginationActiveColor:e.paginationColor)}),-1===e.maxPaginationDotCount)return n;var i=e.paginationSize+2*e.paginationPadding,o=e.pageCount-e.maxPaginationDotCount,r=0-i*(e.currentPage>o?o:e.currentPage<=e.maxPaginationDotCount/2?0:e.currentPage-Math.ceil(e.maxPaginationDotCount/2)+1);return Object.assign(n,{"-webkit-transform":"translate3d(".concat(r,"px,0,0)"),transform:"translate3d(".concat(r,"px,0,0)"),"-webkit-transition":"-webkit-transform ".concat(e.speed/1e3,"s"),transition:"transform ".concat(e.speed/1e3,"s")})}}},p=(n(97),s(d,u,[],!1,null,"438fd353",null));p.options.__file="src/Pagination.vue";var h=p.exports,f=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"VueCarousel-slide",class:{"VueCarousel-slide-active":this.isActive,"VueCarousel-slide-center":this.isCenter,"VueCarousel-slide-adjustableHeight":this.isAdjustableHeight},attrs:{tabindex:"-1","aria-hidden":!this.isActive,role:"tabpanel"}},[this._t("default")],2)};f._withStripped=!0;var m={name:"slide",props:["title"],data:function(){return{width:null}},inject:["carousel"],mounted:function(){this.$isServer||this.$el.addEventListener("dragstart",(function(t){return t.preventDefault()})),this.$el.addEventListener(this.carousel.isTouch?"touchend":"mouseup",this.onTouchEnd)},computed:{activeSlides:function(){for(var t=this.carousel,e=t.currentPage,n=t.breakpointSlidesPerPage,i=[],o=t.$children.filter((function(t){return t.$el&&t.$el.className.indexOf("VueCarousel-slide")>=0})).map((function(t){return t._uid})),r=0;r<n;){var a=o[e*n+r];i.push(a),r++}return i},isActive:function(){return this.activeSlides.indexOf(this._uid)>=0},isCenter:function(){var t=this.carousel.breakpointSlidesPerPage;return!(t%2==0||!this.isActive)&&this.activeSlides.indexOf(this._uid)===Math.floor(t/2)},isAdjustableHeight:function(){return this.carousel.adjustableHeight}},methods:{onTouchEnd:function(t){var e=this.carousel.isTouch&&t.changedTouches&&t.changedTouches.length>0?t.changedTouches[0].clientX:t.clientX,n=this.carousel.dragStartX-e;(0===this.carousel.minSwipeDistance||Math.abs(n)<this.carousel.minSwipeDistance)&&(this.$emit("slideclick",Object.assign({},t.currentTarget.dataset)),this.$emit("slide-click",Object.assign({},t.currentTarget.dataset)))}}},v=(n(99),s(m,f,[],!1,null,null,null));v.options.__file="src/Slide.vue";var g=v.exports;function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var w={onwebkittransitionend:"webkitTransitionEnd",onmoztransitionend:"transitionend",onotransitionend:"oTransitionEnd otransitionend",ontransitionend:"transitionend"},_=function(){for(var t in w)if(t in window)return w[t]},x={name:"carousel",beforeUpdate:function(){this.computeCarouselWidth()},components:{Navigation:c,Pagination:h,Slide:g},data:function(){return{browserWidth:null,carouselWidth:0,currentPage:0,dragging:!1,dragMomentum:0,dragOffset:0,dragStartY:0,dragStartX:0,isTouch:"undefined"!=typeof window&&"ontouchstart"in window,offset:0,refreshRate:16,slideCount:0,transitionstart:"transitionstart",transitionend:"transitionend",currentHeight:"auto"}},mixins:[o],provide:function(){return{carousel:this}},props:{adjustableHeight:{type:Boolean,default:!1},adjustableHeightEasing:{type:String},centerMode:{type:Boolean,default:!1},easing:{type:String,validator:function(t){return-1!==["ease","linear","ease-in","ease-out","ease-in-out"].indexOf(t)||t.includes("cubic-bezier")},default:"ease"},loop:{type:Boolean,default:!1},minSwipeDistance:{type:Number,default:8},mouseDrag:{type:Boolean,default:!0},touchDrag:{type:Boolean,default:!0},navigateTo:{type:[Number,Array],default:0},navigationClickTargetSize:{type:Number,default:8},navigationEnabled:{type:Boolean,default:!1},navigationNextLabel:{type:String,default:"▶"},navigationPrevLabel:{type:String,default:"◀"},paginationActiveColor:{type:String,default:"#000000"},paginationColor:{type:String,default:"#efefef"},paginationEnabled:{type:Boolean,default:!0},paginationPadding:{type:Number,default:10},paginationPosition:{type:String,default:"bottom"},paginationSize:{type:Number,default:10},perPage:{type:Number,default:2},perPageCustom:{type:Array},resistanceCoef:{type:Number,default:20},scrollPerPage:{type:Boolean,default:!0},spacePadding:{type:Number,default:0},spacePaddingMaxOffsetFactor:{type:Number,default:0},speed:{type:Number,default:500},tagName:{type:String,default:"slide"},value:{type:Number},maxPaginationDotCount:{type:Number,default:-1},rtl:{type:Boolean,default:!1}},watch:{value:function(t){t!==this.currentPage&&(this.goToPage(t),this.render())},navigateTo:{immediate:!0,handler:function(t){var e=this;"object"===y(t)?(0==t[1]&&(this.dragging=!0,setTimeout((function(){e.dragging=!1}),this.refreshRate)),this.$nextTick((function(){e.goToPage(t[0])}))):this.$nextTick((function(){e.goToPage(t)}))}},currentPage:function(t){this.$emit("pageChange",t),this.$emit("page-change",t),this.$emit("input",t)},autoplay:function(t){!1===t?this.pauseAutoplay():this.restartAutoplay()}},computed:{breakpointSlidesPerPage:function(){if(!this.perPageCustom)return this.perPage;var t=this.perPageCustom,e=this.browserWidth,n=t.sort((function(t,e){return t[0]>e[0]?-1:1})).filter((function(t){return e>=t[0]}));return n[0]&&n[0][1]||this.perPage},canAdvanceForward:function(){return this.loop||this.offset<this.maxOffset},canAdvanceBackward:function(){return this.loop||this.currentPage>0},currentPerPage:function(){return!this.perPageCustom||this.$isServer?this.perPage:this.breakpointSlidesPerPage},currentOffset:function(){return this.isCenterModeEnabled?0:this.rtl?1*(this.offset-this.dragOffset):-1*(this.offset+this.dragOffset)},isHidden:function(){return this.carouselWidth<=0},maxOffset:function(){return Math.max(this.slideWidth*(this.slideCount-this.currentPerPage)-this.spacePadding*this.spacePaddingMaxOffsetFactor,0)},pageCount:function(){return this.scrollPerPage?Math.ceil(this.slideCount/this.currentPerPage):this.slideCount-this.currentPerPage+1},slideWidth:function(){return(this.carouselWidth-2*this.spacePadding)/this.currentPerPage},isNavigationRequired:function(){return this.slideCount>this.currentPerPage},isCenterModeEnabled:function(){return this.centerMode&&!this.isNavigationRequired},transitionStyle:function(){var t="".concat(this.speed/1e3,"s"),e="".concat(t," ").concat(this.easing," transform");return this.adjustableHeight?"".concat(e,", height ").concat(t," ").concat(this.adjustableHeightEasing||this.easing):e},padding:function(){var t=this.spacePadding;return t>0&&t}},methods:{getNextPage:function(){return this.currentPage<this.pageCount-1?this.currentPage+1:this.loop?0:this.currentPage},getPreviousPage:function(){return this.currentPage>0?this.currentPage-1:this.loop?this.pageCount-1:this.currentPage},advancePage:function(t){t&&"backward"===t&&this.canAdvanceBackward?this.goToPage(this.getPreviousPage(),"navigation"):(!t||t&&"backward"!==t)&&this.canAdvanceForward&&this.goToPage(this.getNextPage(),"navigation")},goToLastSlide:function(){var t=this;this.dragging=!0,setTimeout((function(){t.dragging=!1}),this.refreshRate),this.$nextTick((function(){t.goToPage(t.pageCount)}))},attachMutationObserver:function(){var t=this,e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(e){var n={attributes:!0,data:!0};if(this.adjustableHeight&&(n=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){b(t,e,n[e])}))}return t}({},n,{childList:!0,subtree:!0,characterData:!0})),this.mutationObserver=new e((function(){t.$nextTick((function(){t.computeCarouselWidth(),t.computeCarouselHeight()}))})),this.$parent.$el)for(var i=this.$el.getElementsByClassName("VueCarousel-inner"),o=0;o<i.length;o++)this.mutationObserver.observe(i[o],n)}},handleNavigation:function(t){this.advancePage(t),this.pauseAutoplay(),this.$emit("navigation-click",t)},detachMutationObserver:function(){this.mutationObserver&&this.mutationObserver.disconnect()},getBrowserWidth:function(){return this.browserWidth=window.innerWidth,this.browserWidth},getCarouselWidth:function(){for(var t=this.$el.getElementsByClassName("VueCarousel-inner"),e=0;e<t.length;e++)t[e].clientWidth>0&&(this.carouselWidth=t[e].clientWidth||0);return this.carouselWidth},getCarouselHeight:function(){var t=this;if(!this.adjustableHeight)return"auto";var e=this.currentPerPage*(this.currentPage+1)-1,n=function(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}(Array(this.currentPerPage)).map((function(n,i){return t.getSlide(e+i)})).reduce((function(t,e){return Math.max(t,e&&e.$el.clientHeight||0)}),0);return this.currentHeight=0===n?"auto":"".concat(n,"px"),this.currentHeight},getSlideCount:function(){var t=this;this.slideCount=this.$slots&&this.$slots.default&&this.$slots.default.filter((function(e){return e.tag&&null!==e.tag.match("^vue-component-\\d+-".concat(t.tagName,"$"))})).length||0},getSlide:function(t){var e=this;return this.$children.filter((function(t){return null!==t.$vnode.tag.match("^vue-component-\\d+-".concat(e.tagName,"$"))}))[t]},goToPage:function(t,e){t>=0&&t<=this.pageCount&&(this.offset=this.scrollPerPage?Math.min(this.slideWidth*this.currentPerPage*t,this.maxOffset):this.slideWidth*t,this.autoplay&&!this.autoplayHoverPause&&this.restartAutoplay(),this.currentPage=t,"pagination"===e&&(this.pauseAutoplay(),this.$emit("pagination-click",t)))},onStart:function(t){2!=t.button&&(document.addEventListener(this.isTouch?"touchend":"mouseup",this.onEnd,!0),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.onDrag,!0),this.startTime=t.timeStamp,this.dragging=!0,this.dragStartX=this.isTouch?t.touches[0].clientX:t.clientX,this.dragStartY=this.isTouch?t.touches[0].clientY:t.clientY)},onEnd:function(t){this.autoplay&&!this.autoplayHoverPause&&this.restartAutoplay(),this.pauseAutoplay();var e=this.isTouch?t.changedTouches[0].clientX:t.clientX,n=this.dragStartX-e;if(this.dragMomentum=n/(t.timeStamp-this.startTime),0!==this.minSwipeDistance&&Math.abs(n)>=this.minSwipeDistance){var i=this.scrollPerPage?this.slideWidth*this.currentPerPage:this.slideWidth;this.dragOffset=this.dragOffset+Math.sign(n)*(i/2)}this.rtl?this.offset-=this.dragOffset:this.offset+=this.dragOffset,this.dragOffset=0,this.dragging=!1,this.render(),document.removeEventListener(this.isTouch?"touchend":"mouseup",this.onEnd,!0),document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.onDrag,!0)},onDrag:function(t){var e=this.isTouch?t.touches[0].clientX:t.clientX,n=this.isTouch?t.touches[0].clientY:t.clientY,i=this.dragStartX-e,o=this.dragStartY-n;if(!(this.isTouch&&Math.abs(i)<Math.abs(o))){t.stopImmediatePropagation(),this.dragOffset=i;var r=this.offset+this.dragOffset;this.rtl?0==this.offset&&this.dragOffset>0?this.dragOffset=Math.sqrt(this.resistanceCoef*this.dragOffset):this.offset==this.maxOffset&&this.dragOffset<0&&(this.dragOffset=-Math.sqrt(-this.resistanceCoef*this.dragOffset)):r<0?this.dragOffset=-Math.sqrt(-this.resistanceCoef*this.dragOffset):r>this.maxOffset&&(this.dragOffset=Math.sqrt(this.resistanceCoef*this.dragOffset))}},onResize:function(){var t=this;this.computeCarouselWidth(),this.computeCarouselHeight(),this.dragging=!0,this.render(),setTimeout((function(){t.dragging=!1}),this.refreshRate)},render:function(){this.rtl?this.offset-=Math.max(1-this.currentPerPage,Math.min(Math.round(this.dragMomentum),this.currentPerPage-1))*this.slideWidth:this.offset+=Math.max(1-this.currentPerPage,Math.min(Math.round(this.dragMomentum),this.currentPerPage-1))*this.slideWidth;var t=this.scrollPerPage?this.slideWidth*this.currentPerPage:this.slideWidth,e=t*Math.floor(this.slideCount/(this.currentPerPage-1)),n=e+this.slideWidth*(this.slideCount%this.currentPerPage);this.offset>(e+n)/2?this.offset=n:this.offset=t*Math.round(this.offset/t),this.offset=Math.max(0,Math.min(this.offset,this.maxOffset)),this.currentPage=this.scrollPerPage?Math.round(this.offset/this.slideWidth/this.currentPerPage):Math.round(this.offset/this.slideWidth)},computeCarouselWidth:function(){this.getSlideCount(),this.getBrowserWidth(),this.getCarouselWidth(),this.setCurrentPageInBounds()},computeCarouselHeight:function(){this.getCarouselHeight()},setCurrentPageInBounds:function(){if(!this.canAdvanceForward&&this.scrollPerPage){var t=this.pageCount-1;this.currentPage=t>=0?t:0,this.offset=Math.max(0,Math.min(this.offset,this.maxOffset))}},handleTransitionStart:function(){this.$emit("transitionStart"),this.$emit("transition-start")},handleTransitionEnd:function(){this.$emit("transitionEnd"),this.$emit("transition-end")}},mounted:function(){window.addEventListener("resize",function(t,e,n){var i;return function(){clearTimeout(i),i=setTimeout((function(){i=null,t.apply(void 0)}),e)}}(this.onResize,this.refreshRate)),(this.isTouch&&this.touchDrag||this.mouseDrag)&&this.$refs["VueCarousel-wrapper"].addEventListener(this.isTouch?"touchstart":"mousedown",this.onStart),this.attachMutationObserver(),this.computeCarouselWidth(),this.computeCarouselHeight(),this.transitionstart=_(),this.$refs["VueCarousel-inner"].addEventListener(this.transitionstart,this.handleTransitionStart),this.transitionend=_(),this.$refs["VueCarousel-inner"].addEventListener(this.transitionend,this.handleTransitionEnd),this.$emit("mounted"),"backward"===this.autoplayDirection&&this.goToLastSlide()},beforeDestroy:function(){this.detachMutationObserver(),window.removeEventListener("resize",this.getBrowserWidth),this.$refs["VueCarousel-inner"].removeEventListener(this.transitionstart,this.handleTransitionStart),this.$refs["VueCarousel-inner"].removeEventListener(this.transitionend,this.handleTransitionEnd),this.$refs["VueCarousel-wrapper"].removeEventListener(this.isTouch?"touchstart":"mousedown",this.onStart)}},C=(n(101),s(x,i,[],!1,null,null,null));C.options.__file="src/Carousel.vue";var k=C.exports;n.d(e,"Carousel",(function(){return k})),n.d(e,"Slide",(function(){return g})),e.default={install:function(t){t.component("carousel",k),t.component("slide",g)}}}])},D6j1:function(t,e,n){"use strict";n("Cb8w")},"D9/W":function(t){t.exports=JSON.parse('{"common":{"comment":"Комментарий","commented":"Прокомментировано","comments":"Комментарии","like":"Мне нравится","liked":"Вы лайкнули","likes":"Лайки","share":"Поделиться","shared":"Поделились","shares":"Поделились","unshare":"Не делиться","cancel":"Отмена","copyLink":"Скопировать ссылку","delete":"Удалить","error":"Ошибка","errorMsg":"Что-то пошло не так. Пожалуйста, попробуйте еще раз позже.","oops":"Упс!","other":"Прочее","readMore":"Читать далее","success":"Успешно","sensitive":"Чувствительный","sensitiveContent":"Чувствительный контент","sensitiveContentWarning":"Этот пост может содержать чувствительный контент"},"site":{"terms":"Условия использования","privacy":"Политика конфиденциальности"},"navmenu":{"search":"Поиск","admin":"Панель администратора","homeFeed":"Домашняя лента","localFeed":"Локальная лента","globalFeed":"Глобальная лента","discover":"Общее","directMessages":"Личные Сообщения","notifications":"Уведомления","groups":"Группы","stories":"Истории","profile":"Профиль","drive":"Диск","settings":"Настройки","compose":"Создать новый пост","logout":"Logout","about":"О нас","help":"Помощь","language":"Язык","privacy":"Конфиденциальность","terms":"Условия использования","backToPreviousDesign":"Вернуться к предыдущему дизайну"},"directMessages":{"inbox":"Входящие","sent":"Отправленные","requests":"Запросы"},"notifications":{"liked":"понравился ваш","commented":"прокомментировал ваш","reacted":"отреагировал на ваш","shared":"поделился вашим","tagged":"отметил вас в публикации","updatedA":"updated a","sentA":"отправил","followed":"подписался","mentioned":"mentioned","you":"вы","yourApplication":"Ваше заявка на вступление","applicationApproved":"было одобрено!","applicationRejected":"было отклонено. Вы можете повторно подать заявку на регистрацию в течение 6 месяцев.","dm":"сообщение","groupPost":"сообщения группы","modlog":"modlog","post":"пост","story":"история"},"post":{"shareToFollowers":"Поделиться с подписчиками","shareToOther":"Поделиться с другими","noLikes":"Пока никому не понравилось","uploading":"Загружается"},"profile":{"posts":"Посты","followers":"Подписчики","following":"Подписки","admin":"Администратор","collections":"Коллекции","follow":"Подписаться","unfollow":"Отписаться","editProfile":"Редактировать профиль","followRequested":"Хочет на Вас подписаться","joined":"Регистрация","emptyCollections":"Похоже, мы не можем найти ни одной коллекции","emptyPosts":"Похоже, мы не можем найти ни одной записи"},"menu":{"viewPost":"Показать пост","viewProfile":"Посмотреть профиль","moderationTools":"Инструменты модерации","report":"Пожаловаться","archive":"Архив","unarchive":"Вернуть из архива","embed":"Встроить","selectOneOption":"Выберите один из вариантов","unlistFromTimelines":"Скрыть из лент","addCW":"Добавить предупреждение о контенте","removeCW":"Удалить предупреждение о контенте","markAsSpammer":"Пометить как спамера","markAsSpammerText":"Unlist + CW existing and future posts","spam":"Спам","sensitive":"Деликатный контент","abusive":"Жестокое обращение или причинение вреда","underageAccount":"Несовершеннолетний аккаунт","copyrightInfringement":"Нарушение авторских прав","impersonation":"Представление себя за другого человека","scamOrFraud":"Обман или мошенничество","confirmReport":"Подтвердить жалобу","confirmReportText":"Вы действительно хотите пожаловаться на этот пост?","reportSent":"Жалоба отправлена!","reportSentText":"Мы успешно получили Вашу жалобу.","reportSentError":"При отправке жалобы на этот пост произошла ошибка.","modAddCWConfirm":"Вы действительно хотите добавить предупреждение о контенте на этот пост?","modCWSuccess":"Предупреждение о контенте успешно добавлено","modRemoveCWConfirm":"Вы действительно хотите удалить предупреждение о контенте с этого поста?","modRemoveCWSuccess":"Предупреждение о контенте успешно удалено","modUnlistConfirm":"Вы действительно хотите скрыть этот пост из лент?","modUnlistSuccess":"Successfully unlisted post","modMarkAsSpammerConfirm":"Вы уверены, что хотите отметить этого пользователя спамом? Все существующие и будущие сообщения будут исключены из списка в сроки, и будет применяться предупреждение о содержании.","modMarkAsSpammerSuccess":"Аккаунт успешно помечен как спаммер","toFollowers":"to Followers","showCaption":"Показать подпись","showLikes":"Показать отметки \\"мне нравится\\"","compactMode":"Компактный режим","embedConfirmText":"By using this embed, you agree to our","deletePostConfirm":"Вы действительно хотите удалить этот пост?","archivePostConfirm":"Вы действительно хотите архивировать этот пост?","unarchivePostConfirm":"Вы действительно хотите убрать этот пост из архива?"},"story":{"add":"Добавить историю"},"timeline":{"peopleYouMayKnow":"Возможные друзья"},"hashtags":{"emptyFeed":"Похоже, мы не можем найти записи для этого хэштега"}}')},DT56:function(t,e,n){var i=n("yNUO");t.exports=function(t,e){var n=i(t).getTime(),o=i(e).getTime();return n<o?-1:n>o?1:0}},DqmW:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.metro-nav {\n z-index: 4;\n}\n.metro-nav .dropdown-menu {\n min-width: 18rem;\n padding: 0;\n border: none;\n}\n.metro-nav .dropdown-menu .nav {\n overflow: auto;\n}\n.metro-nav .dropdown-menu .nav-item .nav-link {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;\n font-weight: 500;\n color: #9ca3af;\n padding-left: 14px;\n margin-bottom: 5px;\n}\n.metro-nav .dropdown-menu .nav-item .nav-link:hover {\n background-color: #f9fafb;\n}\n.metro-nav .dropdown-menu .nav-item .nav-link .icon {\n display: inline-block;\n width: 40px;\n text-align: center;\n}\n.metro-nav .dropdown-menu .nav-item .router-link-exact-active {\n color: #3B82F6;\n font-weight: 700;\n padding-left: 14px;\n}\n.metro-nav .dropdown-menu .nav-item .router-link-exact-active:not(.text-center) {\n padding-left: 10px;\n border-left: 4px solid #3B82F6;\n}\n.metro-nav .dropdown-menu .nav-item .router-link-exact-active .icon {\n color: #3B82F6 !important;\n}\n.metro-nav .dropdown-menu .nav-item.nav-icons .small {\n font-weight: 700 !important;\n}\n.metro-nav .dropdown-menu .nav-item:is(:last-child) .nav-link {\n margin-bottom: 0;\n border-bottom-left-radius: 15px;\n border-bottom-right-radius: 15px;\n}\n.metro-nav .fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.metro-nav .fa-layers .fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n transform: scale(0.5);\n transform-origin: top right;\n display: inline-block;\n position: absolute;\n margin-right: -5px;\n margin-top: -10px;\n}\n.metro-nav .fa-layers .far {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n@media (min-width: 768px) {\n.metro-nav .searchbox {\n width: 300px;\n}\n}\n@media (min-width: 768px) {\n.metro-nav .nav-avatar {\n width: 50px;\n height: 50px;\n}\n}\n.metro-nav .autocomplete-input {\n padding: 0.375rem 0.75rem 0.375rem 2.6rem;\n background-color: #f8f9fa !important;\n font-size: 0.9rem;\n border-radius: 50rem;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjQjhDMkNDIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTEiIGN5PSIxMSIgcj0iNSIvPjxwYXRoIGQ9Ik0xOSAxOWwtNC00Ii8+PC9zdmc+");\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08) !important;\n}\n.metro-nav .autocomplete-result {\n background-image: none;\n padding: 4px 12px;\n}\n.metro-nav .autocomplete-result:not(:last-child) {\n border-bottom: 1px solid #F3F4F6;\n}\n.metro-nav .autocomplete-result .media-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 40px;\n height: 40px;\n margin-right: 1rem;\n background: #F3F4F6;\n border: 1px solid #E5E7EB;\n border-radius: 8px;\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08) !important;\n}',""])},EE95:function(t){t.exports=JSON.parse('{"common":{"comment":"תגובה","commented":"הגיבו","comments":"תגובות","like":"אוהב","liked":"אהבתי","likes":"אהבות","share":"שיתוף","shared":"שיתפו","shares":"שיתופים","unshare":"ביטול-שיתוף","cancel":"ביטול","copyLink":"העתק קישור","delete":"מחק","error":"שגיאה","errorMsg":"משהו השתבש. אנא נסו שוב מאוחר יותר.","oops":"אופס!","other":"אחר","readMore":"קרא עוד","success":"הצלחה","sensitive":"רגיש","sensitiveContent":"תוכן רגיש","sensitiveContentWarning":"פוסט זה עלול להכיל תוכן רגיש"},"site":{"terms":"תנאי שימוש","privacy":"מדיניות פרטיות"},"navmenu":{"search":"חיפוש","admin":"לוח בקרה למנהל","homeFeed":"פיד ביתי","localFeed":"פיד מקומי","globalFeed":"פיד גלובאלי","discover":"גלו","directMessages":"הודעות אישיות","notifications":"התראות","groups":"קבוצות","stories":"סיפורים","profile":"פרופיל","drive":"כונן (דרייב)","settings":"הגדרות","compose":"צרו חדש","logout":"התנתק/י","about":"אודות","help":"עזרה","language":"שפה","privacy":"פרטיות","terms":"תנאים","backToPreviousDesign":"חזרה לעיצוב הקודם"},"directMessages":{"inbox":"הודעות נכנסות","sent":"הודעות יוצאות","requests":"בקשות"},"notifications":{"liked":"אהבו לך","commented":"הגיבו לך על","reacted":"הגיבו לך על","shared":"שיתפו לך","tagged":"תייגו אותך בתוך","updatedA":"עדכנו","sentA":"שלחו","followed":"עוקבים","mentioned":"ציינו","you":"אתכם","yourApplication":"בקשתכם להצטרפות","applicationApproved":"אושרה!","applicationRejected":"נדחתה. ניתן לשלוח בקשה חוזרת לאחר 6 חודשים.","dm":"הודעה אישית","groupPost":"פוסט קבוצתי","modlog":"לוג מנהלים","post":"פוסט","story":"סטורי"},"post":{"shareToFollowers":"שתף לעוקבים","shareToOther":"שתף ל-אחר","noLikes":"אין עדיין סימוני \\"אהבתי\\"","uploading":"מעלה"},"profile":{"posts":"פוסטים","followers":"עוקבים","following":"עוקב/ת","admin":"מנהל מערכת","collections":"אוספים","follow":"עקוב","unfollow":"הפסק מעקב","editProfile":"ערוך פרופיל","followRequested":"בקשת עקיבה","joined":"הצטרפויות","emptyCollections":"לא נמצאו אוספים","emptyPosts":"לא נמצאו פוסטים"},"menu":{"viewPost":"הצג פוסט","viewProfile":"הצג פרופיל","moderationTools":"כלי ניהול","report":"דווח","archive":"ארכיון","unarchive":"הסר מהארכיון","embed":"הטמע","selectOneOption":"בחר באחד מהאפשרויות הבאות","unlistFromTimelines":"העלם מטיימליינים","addCW":"הוסף אזהרת תוכן","removeCW":"הסר אזהרת תוכן","markAsSpammer":"סמן בתור ספאמר (מציף)","markAsSpammerText":"העלם והפעל אזהרת תוכן לפוסטים קיימים ועתידיים","spam":"ספאם","sensitive":"תוכן רגיש","abusive":"תוכן מטריד או מזיק","underageAccount":"תוכן עם קטינים","copyrightInfringement":"הפרת זכויות יוצרים","impersonation":"התחזות","scamOrFraud":"הונאה","confirmReport":"אישור דיווח","confirmReportText":"האם אתם בטוחים שברצונכם לדווח על פוסט זה?","reportSent":"דיווח נשלח!","reportSentText":"התקבלה הדיווח.","reportSentError":"הייתה תקלה בדיווח פוסט זה.","modAddCWConfirm":"אתם בטוחים שברצונכם להוסיף אזהרת תוכן לפוסט זה?","modCWSuccess":"אזהרת תוכן נוספה בהצלחה","modRemoveCWConfirm":"אתם בטוחים שברצונכם להסיר את אזהרת התוכן מפוסט זה?","modRemoveCWSuccess":"אזהרת תוכן הוסרה בהצלחה","modUnlistConfirm":"האם אתם בטוחים שברצונכם להעלים פוסט זה?","modUnlistSuccess":"פוסט הועלם בהצלחה","modMarkAsSpammerConfirm":"האם אתם בטוחים שברצונכם לסמן משתמש זה בתור ספאמר (מציף)? כל הפוסטים הקיימים ועתידיים יועלמו ואזהרת תוכן תופעל.","modMarkAsSpammerSuccess":"חשבון סומן בתור ספאמר בהצלחה","toFollowers":"עבור עוקבים","showCaption":"הצג תיאור","showLikes":"הצג כמות ״אהבתי״","compactMode":"מצב מוקטן","embedConfirmText":"בעט שימוש בהמטעה זו, הנכם מסכימים אל","deletePostConfirm":"האם אתם בטוחים שברצונכם למחוק פוסט זה?","archivePostConfirm":"האם אתם בטוחים שברצונכם להעביר פוסט זה לארכיון?","unarchivePostConfirm":"האם אתם בטוחים שברצונכם להוציא פוסט זה מהארכיון?"},"story":{"add":"הוסף סטורי"},"timeline":{"peopleYouMayKnow":"אנשים שאתם אולי מכירים"},"hashtags":{"emptyFeed":"לא נמצאו פוסטים עבור תיוג זה"}}')},Efyt:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".profile-timeline-component[data-v-c95215d8] {\n margin-bottom: 10rem;\n}",""])},"Et/p":function(t,e,n){var i=n("AWmZ");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},F809:function(t,e,n){var i=n("yNUO"),o=n("sunR"),r=n("DT56");t.exports=function(t,e){var n=i(t),a=i(e),s=r(n,a),l=Math.abs(o(n,a));return n.setMonth(n.getMonth()-s*l),s*(l-(r(n,a)===-s))}},GUC0:function(t,e,n){(function(e,n){t.exports=function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=8)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="swal-button";e.CLASS_NAMES={MODAL:"swal-modal",OVERLAY:"swal-overlay",SHOW_MODAL:"swal-overlay--show-modal",MODAL_TITLE:"swal-title",MODAL_TEXT:"swal-text",ICON:"swal-icon",ICON_CUSTOM:"swal-icon--custom",CONTENT:"swal-content",FOOTER:"swal-footer",BUTTON_CONTAINER:"swal-button-container",BUTTON:i,CONFIRM_BUTTON:i+"--confirm",CANCEL_BUTTON:i+"--cancel",DANGER_BUTTON:i+"--danger",BUTTON_LOADING:i+"--loading",BUTTON_LOADER:i+"__loader"},e.default=e.CLASS_NAMES},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNode=function(t){var e="."+t;return document.querySelector(e)},e.stringToNode=function(t){var e=document.createElement("div");return e.innerHTML=t.trim(),e.firstChild},e.insertAfter=function(t,e){var n=e.nextSibling;e.parentNode.insertBefore(t,n)},e.removeNode=function(t){t.parentElement.removeChild(t)},e.throwErr=function(t){throw"SweetAlert: "+(t=t.replace(/ +(?= )/g,"")).trim()},e.isPlainObject=function(t){if("[object Object]"!==Object.prototype.toString.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype},e.ordinalSuffixOf=function(t){var e=t%10,n=t%100;return 1===e&&11!==n?t+"st":2===e&&12!==n?t+"nd":3===e&&13!==n?t+"rd":t+"th"}},function(t,e,n){"use strict";function i(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),i(n(25));var o=n(26);e.overlayMarkup=o.default,i(n(27)),i(n(28)),i(n(29));var r=n(0),a=r.default.MODAL_TITLE,s=r.default.MODAL_TEXT,l=r.default.ICON,c=r.default.FOOTER;e.iconMarkup='\n <div class="'+l+'"></div>',e.titleMarkup='\n <div class="'+a+'"></div>\n',e.textMarkup='\n <div class="'+s+'"></div>',e.footerMarkup='\n <div class="'+c+'"></div>\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1);e.CONFIRM_KEY="confirm",e.CANCEL_KEY="cancel";var o={visible:!0,text:null,value:null,className:"",closeModal:!0},r=Object.assign({},o,{visible:!1,text:"Cancel",value:null}),a=Object.assign({},o,{text:"OK",value:!0});e.defaultButtonList={cancel:r,confirm:a};var s=function(t){switch(t){case e.CONFIRM_KEY:return a;case e.CANCEL_KEY:return r;default:var n=t.charAt(0).toUpperCase()+t.slice(1);return Object.assign({},o,{text:n,value:t})}},l=function(t,e){var n=s(t);return!0===e?Object.assign({},n,{visible:!0}):"string"==typeof e?Object.assign({},n,{visible:!0,text:e}):i.isPlainObject(e)?Object.assign({visible:!0},n,e):Object.assign({},n,{visible:!1})},c=function(t){var n={};switch(t.length){case 1:n[e.CANCEL_KEY]=Object.assign({},r,{visible:!1});break;case 2:n[e.CANCEL_KEY]=l(e.CANCEL_KEY,t[0]),n[e.CONFIRM_KEY]=l(e.CONFIRM_KEY,t[1]);break;default:i.throwErr("Invalid number of 'buttons' in array ("+t.length+").\n If you want more than 2 buttons, you need to use an object!")}return n};e.getButtonListOpts=function(t){var n=e.defaultButtonList;return"string"==typeof t?n[e.CONFIRM_KEY]=l(e.CONFIRM_KEY,t):Array.isArray(t)?n=c(t):i.isPlainObject(t)?n=function(t){for(var e={},n=0,i=Object.keys(t);n<i.length;n++){var o=i[n],a=t[o],s=l(o,a);e[o]=s}return e.cancel||(e.cancel=r),e}(t):!0===t?n=c([!0,!0]):!1===t?n=c([!1,!1]):void 0===t&&(n=e.defaultButtonList),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=n(2),r=n(0),a=r.default.MODAL,s=r.default.OVERLAY,l=n(30),c=n(31),u=n(32),d=n(33);e.injectElIntoModal=function(t){var e=i.getNode(a),n=i.stringToNode(t);return e.appendChild(n),n};var p=function(t,e){!function(t){t.className=a,t.textContent=""}(t);var n=e.className;n&&t.classList.add(n)};e.initModalContent=function(t){var e=i.getNode(a);p(e,t),l.default(t.icon),c.initTitle(t.title),c.initText(t.text),d.default(t.content),u.default(t.buttons,t.dangerMode)},e.default=function(){var t=i.getNode(s),e=i.stringToNode(o.modalMarkup);t.appendChild(e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o={isOpen:!1,promise:null,actions:{},timer:null},r=Object.assign({},o);e.resetState=function(){r=Object.assign({},o)},e.setActionValue=function(t){if("string"==typeof t)return a(i.CONFIRM_KEY,t);for(var e in t)a(e,t[e])};var a=function(t,e){r.actions[t]||(r.actions[t]={}),Object.assign(r.actions[t],{value:e})};e.setActionOptionsFor=function(t,e){var n=(void 0===e?{}:e).closeModal,i=void 0===n||n;Object.assign(r.actions[t],{closeModal:i})},e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=n(3),r=n(0),a=r.default.OVERLAY,s=r.default.SHOW_MODAL,l=r.default.BUTTON,c=r.default.BUTTON_LOADING,u=n(5);e.openModal=function(){i.getNode(a).classList.add(s),u.default.isOpen=!0},e.onAction=function(t){void 0===t&&(t=o.CANCEL_KEY);var e=u.default.actions[t],n=e.value;if(!1===e.closeModal){var r=l+"--"+t;i.getNode(r).classList.add(c)}else i.getNode(a).classList.remove(s),u.default.isOpen=!1;u.default.promise.resolve(n)},e.getState=function(){var t=Object.assign({},u.default);return delete t.promise,delete t.timer,t},e.stopLoading=function(){for(var t=document.querySelectorAll("."+l),e=0;e<t.length;e++)t[e].classList.remove(c)}},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},function(t,e,n){(function(e){t.exports=e.sweetAlert=n(9)}).call(e,n(7))},function(t,e,n){(function(e){t.exports=e.swal=n(10)}).call(e,n(7))},function(t,e,n){"undefined"!=typeof window&&n(11),n(16);var i=n(23).default;t.exports=i},function(t,e,n){var i=n(12);"string"==typeof i&&(i=[[t.i,i,""]]);var o={insertAt:"top",transform:void 0};n(14)(i,o),i.locals&&(t.exports=i.locals)},function(t,e,n){(t.exports=n(13)(void 0)).push([t.i,'.swal-icon--error{border-color:#f27474;-webkit-animation:animateErrorIcon .5s;animation:animateErrorIcon .5s}.swal-icon--error__x-mark{position:relative;display:block;-webkit-animation:animateXMark .5s;animation:animateXMark .5s}.swal-icon--error__line{position:absolute;height:5px;width:47px;background-color:#f27474;display:block;top:37px;border-radius:2px}.swal-icon--error__line--left{-webkit-transform:rotate(45deg);transform:rotate(45deg);left:17px}.swal-icon--error__line--right{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);right:16px}@-webkit-keyframes animateErrorIcon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}to{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);opacity:1}}@keyframes animateErrorIcon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}to{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);opacity:1}}@-webkit-keyframes animateXMark{0%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}50%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}80%{-webkit-transform:scale(1.15);transform:scale(1.15);margin-top:-6px}to{-webkit-transform:scale(1);transform:scale(1);margin-top:0;opacity:1}}@keyframes animateXMark{0%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}50%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}80%{-webkit-transform:scale(1.15);transform:scale(1.15);margin-top:-6px}to{-webkit-transform:scale(1);transform:scale(1);margin-top:0;opacity:1}}.swal-icon--warning{border-color:#f8bb86;-webkit-animation:pulseWarning .75s infinite alternate;animation:pulseWarning .75s infinite alternate}.swal-icon--warning__body{width:5px;height:47px;top:10px;border-radius:2px;margin-left:-2px}.swal-icon--warning__body,.swal-icon--warning__dot{position:absolute;left:50%;background-color:#f8bb86}.swal-icon--warning__dot{width:7px;height:7px;border-radius:50%;margin-left:-4px;bottom:-11px}@-webkit-keyframes pulseWarning{0%{border-color:#f8d486}to{border-color:#f8bb86}}@keyframes pulseWarning{0%{border-color:#f8d486}to{border-color:#f8bb86}}.swal-icon--success{border-color:#a5dc86}.swal-icon--success:after,.swal-icon--success:before{content:"";border-radius:50%;position:absolute;width:60px;height:120px;background:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal-icon--success:before{border-radius:120px 0 0 120px;top:-7px;left:-33px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:60px 60px;transform-origin:60px 60px}.swal-icon--success:after{border-radius:0 120px 120px 0;top:-11px;left:30px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 60px;transform-origin:0 60px;-webkit-animation:rotatePlaceholder 4.25s ease-in;animation:rotatePlaceholder 4.25s ease-in}.swal-icon--success__ring{width:80px;height:80px;border:4px solid hsla(98,55%,69%,.2);border-radius:50%;box-sizing:content-box;position:absolute;left:-4px;top:-4px;z-index:2}.swal-icon--success__hide-corners{width:5px;height:90px;background-color:#fff;padding:1px;position:absolute;left:28px;top:8px;z-index:1;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal-icon--success__line{height:5px;background-color:#a5dc86;display:block;border-radius:2px;position:absolute;z-index:2}.swal-icon--success__line--tip{width:25px;left:14px;top:46px;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation:animateSuccessTip .75s;animation:animateSuccessTip .75s}.swal-icon--success__line--long{width:47px;right:8px;top:38px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-animation:animateSuccessLong .75s;animation:animateSuccessLong .75s}@-webkit-keyframes rotatePlaceholder{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}to{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes rotatePlaceholder{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}to{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes animateSuccessTip{0%{width:0;left:1px;top:19px}54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@keyframes animateSuccessTip{0%{width:0;left:1px;top:19px}54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@-webkit-keyframes animateSuccessLong{0%{width:0;right:46px;top:54px}65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}@keyframes animateSuccessLong{0%{width:0;right:46px;top:54px}65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}.swal-icon--info{border-color:#c9dae1}.swal-icon--info:before{width:5px;height:29px;bottom:17px;border-radius:2px;margin-left:-2px}.swal-icon--info:after,.swal-icon--info:before{content:"";position:absolute;left:50%;background-color:#c9dae1}.swal-icon--info:after{width:7px;height:7px;border-radius:50%;margin-left:-3px;top:19px}.swal-icon{width:80px;height:80px;border-width:4px;border-style:solid;border-radius:50%;padding:0;position:relative;box-sizing:content-box;margin:20px auto}.swal-icon:first-child{margin-top:32px}.swal-icon--custom{width:auto;height:auto;max-width:100%;border:none;border-radius:0}.swal-icon img{max-width:100%;max-height:100%}.swal-title{color:rgba(0,0,0,.65);font-weight:600;text-transform:none;position:relative;display:block;padding:13px 16px;font-size:27px;line-height:normal;text-align:center;margin-bottom:0}.swal-title:first-child{margin-top:26px}.swal-title:not(:first-child){padding-bottom:0}.swal-title:not(:last-child){margin-bottom:13px}.swal-text{font-size:16px;position:relative;float:none;line-height:normal;vertical-align:top;text-align:left;display:inline-block;margin:0;padding:0 10px;font-weight:400;color:rgba(0,0,0,.64);max-width:calc(100% - 20px);overflow-wrap:break-word;box-sizing:border-box}.swal-text:first-child{margin-top:45px}.swal-text:last-child{margin-bottom:45px}.swal-footer{text-align:right;padding-top:13px;margin-top:13px;padding:13px 16px;border-radius:inherit;border-top-left-radius:0;border-top-right-radius:0}.swal-button-container{margin:5px;display:inline-block;position:relative}.swal-button{background-color:#7cd1f9;color:#fff;border:none;box-shadow:none;border-radius:5px;font-weight:600;font-size:14px;padding:10px 24px;margin:0;cursor:pointer}.swal-button:not([disabled]):hover{background-color:#78cbf2}.swal-button:active{background-color:#70bce0}.swal-button:focus{outline:none;box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(43,114,165,.29)}.swal-button[disabled]{opacity:.5;cursor:default}.swal-button::-moz-focus-inner{border:0}.swal-button--cancel{color:#555;background-color:#efefef}.swal-button--cancel:not([disabled]):hover{background-color:#e8e8e8}.swal-button--cancel:active{background-color:#d7d7d7}.swal-button--cancel:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(116,136,150,.29)}.swal-button--danger{background-color:#e64942}.swal-button--danger:not([disabled]):hover{background-color:#df4740}.swal-button--danger:active{background-color:#cf423b}.swal-button--danger:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(165,43,43,.29)}.swal-content{padding:0 20px;margin-top:20px;font-size:medium}.swal-content:last-child{margin-bottom:20px}.swal-content__input,.swal-content__textarea{-webkit-appearance:none;background-color:#fff;border:none;font-size:14px;display:block;box-sizing:border-box;width:100%;border:1px solid rgba(0,0,0,.14);padding:10px 13px;border-radius:2px;transition:border-color .2s}.swal-content__input:focus,.swal-content__textarea:focus{outline:none;border-color:#6db8ff}.swal-content__textarea{resize:vertical}.swal-button--loading{color:transparent}.swal-button--loading~.swal-button__loader{opacity:1}.swal-button__loader{position:absolute;height:auto;width:43px;z-index:2;left:50%;top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);text-align:center;pointer-events:none;opacity:0}.swal-button__loader div{display:inline-block;float:none;vertical-align:baseline;width:9px;height:9px;padding:0;border:none;margin:2px;opacity:.4;border-radius:7px;background-color:hsla(0,0%,100%,.9);transition:background .2s;-webkit-animation:swal-loading-anim 1s infinite;animation:swal-loading-anim 1s infinite}.swal-button__loader div:nth-child(3n+2){-webkit-animation-delay:.15s;animation-delay:.15s}.swal-button__loader div:nth-child(3n+3){-webkit-animation-delay:.3s;animation-delay:.3s}@-webkit-keyframes swal-loading-anim{0%{opacity:.4}20%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes swal-loading-anim{0%{opacity:.4}20%{opacity:.4}50%{opacity:1}to{opacity:.4}}.swal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;text-align:center;font-size:0;overflow-y:auto;background-color:rgba(0,0,0,.4);z-index:10000;pointer-events:none;opacity:0;transition:opacity .3s}.swal-overlay:before{content:" ";display:inline-block;vertical-align:middle;height:100%}.swal-overlay--show-modal{opacity:1;pointer-events:auto}.swal-overlay--show-modal .swal-modal{opacity:1;pointer-events:auto;box-sizing:border-box;-webkit-animation:showSweetAlert .3s;animation:showSweetAlert .3s;will-change:transform}.swal-modal{width:478px;opacity:0;pointer-events:none;background-color:#fff;text-align:center;border-radius:5px;position:static;margin:20px auto;display:inline-block;vertical-align:middle;-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;z-index:10001;transition:opacity .2s,-webkit-transform .3s;transition:transform .3s,opacity .2s;transition:transform .3s,opacity .2s,-webkit-transform .3s}@media (max-width:500px){.swal-modal{width:calc(100% - 20px)}}@-webkit-keyframes showSweetAlert{0%{-webkit-transform:scale(1);transform:scale(1)}1%{-webkit-transform:scale(.5);transform:scale(.5)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes showSweetAlert{0%{-webkit-transform:scale(1);transform:scale(1)}1%{-webkit-transform:scale(.5);transform:scale(.5)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}to{-webkit-transform:scale(1);transform:scale(1)}}',""])},function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var o=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(i);return[n].concat(i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}))).concat([o]).join("\n")}return[n].join("\n")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i=n(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},o=0;o<this.length;o++){var r=this[o][0];"number"==typeof r&&(i[r]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){function i(t,e){for(var n=0;n<t.length;n++){var i=t[n],o=f[i.id];if(o){o.refs++;for(var r=0;r<o.parts.length;r++)o.parts[r](i.parts[r]);for(;r<i.parts.length;r++)o.parts.push(u(i.parts[r],e))}else{var a=[];for(r=0;r<i.parts.length;r++)a.push(u(i.parts[r],e));f[i.id]={id:i.id,refs:1,parts:a}}}}function o(t,e){for(var n=[],i={},o=0;o<t.length;o++){var r=t[o],a=e.base?r[0]+e.base:r[0],s={css:r[1],media:r[2],sourceMap:r[3]};i[a]?i[a].parts.push(s):n.push(i[a]={id:a,parts:[s]})}return n}function r(t,e){var n=v(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var i=y[y.length-1];if("top"===t.insertAt)i?i.nextSibling?n.insertBefore(e,i.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),y.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function a(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=y.indexOf(t);e>=0&&y.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",c(e,t.attrs),r(t,e),e}function l(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",c(e,t.attrs),r(t,e),e}function c(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function u(t,e){var n,i,o,r;if(e.transform&&t.css){if(!(r=e.transform(t.css)))return function(){};t.css=r}if(e.singleton){var c=b++;n=g||(g=s(e)),i=d.bind(null,n,c,!1),o=d.bind(null,n,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(e),i=h.bind(null,n,e),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),i=p.bind(null,n),o=function(){a(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 o()}}function d(t,e,n,i){var o=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=_(e,o);else{var r=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(r,a[e]):t.appendChild(r)}}function p(t,e){var n=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function h(t,e,n){var i=n.css,o=n.sourceMap,r=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||r)&&(i=w(i)),o&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([i],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var f={},m=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}((function(){return window&&document&&document.all&&!window.atob})),v=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t.call(this,n)),e[n]}}((function(t){return document.querySelector(t)})),g=null,b=0,y=[],w=n(15);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=m()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=o(t,e);return i(n,e),function(t){for(var r=[],a=0;a<n.length;a++){var s=n[a];(l=f[s.id]).refs--,r.push(l)}for(t&&i(o(t,e),e),a=0;a<r.length;a++){var l;if(0===(l=r[a]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete f[l.id]}}}};var _=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,i=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var o,r=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r)?t:(o=0===r.indexOf("//")?r:0===r.indexOf("/")?n+r:i+r.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(t,e,n){var i=n(17);"undefined"==typeof window||window.Promise||(window.Promise=i),n(21),String.prototype.includes||(String.prototype.includes=function(t,e){"use strict";return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&-1!==this.indexOf(t,e)}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t,e){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),i=n.length>>>0;if(0===i)return!1;for(var o=0|e,r=Math.max(o>=0?o:i-Math.abs(o),0);r<i;){if(function(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}(n[r],t))return!0;r++}return!1}}),"undefined"!=typeof window&&[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}))},function(t,e,n){(function(e){!function(n){function i(){}function o(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],u(t,this)}function r(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,o._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var i;try{i=n(t._value)}catch(t){return void s(e.promise,t)}a(e.promise,i)}else(1===t._state?a:s)(e.promise,t._value)}))):t._deferreds.push(e)}function a(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof o)return t._state=3,t._value=e,void l(t);if("function"==typeof n)return void u(function(t,e){return function(){t.apply(e,arguments)}}(n,e),t)}t._state=1,t._value=e,l(t)}catch(e){s(t,e)}}function s(t,e){t._state=2,t._value=e,l(t)}function l(t){2===t._state&&0===t._deferreds.length&&o._immediateFn((function(){t._handled||o._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e<n;e++)r(t,t._deferreds[e]);t._deferreds=null}function c(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function u(t,e){var n=!1;try{t((function(t){n||(n=!0,a(e,t))}),(function(t){n||(n=!0,s(e,t))}))}catch(t){if(n)return;n=!0,s(e,t)}}var d=setTimeout;o.prototype.catch=function(t){return this.then(null,t)},o.prototype.then=function(t,e){var n=new this.constructor(i);return r(this,new c(t,e,n)),n},o.all=function(t){var e=Array.prototype.slice.call(t);return new o((function(t,n){function i(r,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(t){i(r,t)}),n)}e[r]=a,0==--o&&t(e)}catch(t){n(t)}}if(0===e.length)return t([]);for(var o=e.length,r=0;r<e.length;r++)i(r,e[r])}))},o.resolve=function(t){return t&&"object"==typeof t&&t.constructor===o?t:new o((function(e){e(t)}))},o.reject=function(t){return new o((function(e,n){n(t)}))},o.race=function(t){return new o((function(e,n){for(var i=0,o=t.length;i<o;i++)t[i].then(e,n)}))},o._immediateFn="function"==typeof e&&function(t){e(t)}||function(t){d(t,0)},o._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},o._setImmediateFn=function(t){o._immediateFn=t},o._setUnhandledRejectionFn=function(t){o._unhandledRejectionFn=t},void 0!==t&&t.exports?t.exports=o:n.Promise||(n.Promise=o)}(this)}).call(e,n(18).setImmediate)},function(t,i,o){function r(t,e){this._id=t,this._clearFn=e}var a=Function.prototype.apply;i.setTimeout=function(){return new r(a.call(setTimeout,window,arguments),clearTimeout)},i.setInterval=function(){return new r(a.call(setInterval,window,arguments),clearInterval)},i.clearTimeout=i.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},i.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},i.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},i._unrefActive=i.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},o(19),i.setImmediate=e,i.clearImmediate=n},function(t,e,n){(function(t,e){!function(t,n){"use strict";function i(t){delete s[t]}function o(t){if(l)setTimeout(o,0,t);else{var e=s[t];if(e){l=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{i(t),l=!1}}}}if(!t.setImmediate){var r,a=1,s={},l=!1,c=t.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(t);u=u&&u.setTimeout?u:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){o(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&o(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),r=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){o(t.data)},r=function(e){t.port2.postMessage(e)}}():c&&"onreadystatechange"in c.createElement("script")?function(){var t=c.documentElement;r=function(e){var n=c.createElement("script");n.onreadystatechange=function(){o(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():r=function(t){setTimeout(o,0,t)},u.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var i={callback:t,args:e};return s[a]=i,r(a),a++},u.clearImmediate=i}}("undefined"==typeof self?void 0===t?this:t:self)}).call(e,n(7),n(20))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(t){if(c===setTimeout)return setTimeout(t,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(t,0);try{return c(t,0)}catch(e){try{return c.call(null,t,0)}catch(e){return c.call(this,t,0)}}}function r(){f&&p&&(f=!1,p.length?h=p.concat(h):m=-1,h.length&&a())}function a(){if(!f){var t=o(r);f=!0;for(var e=h.length;e;){for(p=h,h=[];++m<e;)p&&p[m].run();m=-1,e=h.length}p=null,f=!1,function(t){if(u===clearTimeout)return clearTimeout(t);if((u===i||!u)&&clearTimeout)return u=clearTimeout,clearTimeout(t);try{u(t)}catch(e){try{return u.call(null,t)}catch(e){return u.call(this,t)}}}(t)}}function s(t,e){this.fun=t,this.array=e}function l(){}var c,u,d=t.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(t){c=n}try{u="function"==typeof clearTimeout?clearTimeout:i}catch(t){u=i}}();var p,h=[],f=!1,m=-1;d.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];h.push(new s(t,e)),1!==h.length||f||o(a)},s.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=l,d.addListener=l,d.once=l,d.off=l,d.removeListener=l,d.removeAllListeners=l,d.emit=l,d.prependListener=l,d.prependOnceListener=l,d.listeners=function(t){return[]},d.binding=function(t){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(t){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(t,e,n){"use strict";n(22).polyfill()},function(t,e,n){"use strict";function i(t,e){if(null==t)throw new TypeError("Cannot convert first argument to object");for(var n=Object(t),i=1;i<arguments.length;i++){var o=arguments[i];if(null!=o)for(var r=Object.keys(Object(o)),a=0,s=r.length;a<s;a++){var l=r[a],c=Object.getOwnPropertyDescriptor(o,l);void 0!==c&&c.enumerable&&(n[l]=o[l])}}return n}t.exports={assign:i,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:i})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(24),o=n(6),r=n(5),a=n(36),s=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if("undefined"!=typeof window){var n=a.getOpts.apply(void 0,t);return new Promise((function(t,e){r.default.promise={resolve:t,reject:e},i.default(n),setTimeout((function(){o.openModal()}))}))}};s.close=o.onAction,s.getState=o.getState,s.setActionValue=r.setActionValue,s.stopLoading=o.stopLoading,s.setDefaults=a.setDefaults,e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=n(0).default.MODAL,r=n(4),a=n(34),s=n(35),l=n(1);e.init=function(t){i.getNode(o)||(document.body||l.throwErr("You can only use SweetAlert AFTER the DOM has loaded!"),a.default(),r.default()),r.initModalContent(t),s.default(t)},e.default=e.init},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0).default.MODAL;e.modalMarkup='\n <div class="'+i+'" role="dialog" aria-modal="true"></div>',e.default=e.modalMarkup},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i='<div \n class="'+n(0).default.OVERLAY+'"\n tabIndex="-1">\n </div>';e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0).default.ICON;e.errorIconMarkup=function(){var t=i+"--error",e=t+"__line";return'\n <div class="'+t+'__x-mark">\n <span class="'+e+" "+e+'--left"></span>\n <span class="'+e+" "+e+'--right"></span>\n </div>\n '},e.warningIconMarkup=function(){var t=i+"--warning";return'\n <span class="'+t+'__body">\n <span class="'+t+'__dot"></span>\n </span>\n '},e.successIconMarkup=function(){var t=i+"--success";return'\n <span class="'+t+"__line "+t+'__line--long"></span>\n <span class="'+t+"__line "+t+'__line--tip"></span>\n\n <div class="'+t+'__ring"></div>\n <div class="'+t+'__hide-corners"></div>\n '}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0).default.CONTENT;e.contentMarkup='\n <div class="'+i+'">\n\n </div>\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=i.default.BUTTON_CONTAINER,r=i.default.BUTTON,a=i.default.BUTTON_LOADER;e.buttonMarkup='\n <div class="'+o+'">\n\n <button\n class="'+r+'"\n ></button>\n\n <div class="'+a+'">\n <div></div>\n <div></div>\n <div></div>\n </div>\n\n </div>\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(4),o=n(2),r=n(0),a=r.default.ICON,s=r.default.ICON_CUSTOM,l=["error","warning","success","info"],c={error:o.errorIconMarkup(),warning:o.warningIconMarkup(),success:o.successIconMarkup()};e.default=function(t){if(t){var e=i.injectElIntoModal(o.iconMarkup);l.includes(t)?function(t,e){var n=a+"--"+t;e.classList.add(n);var i=c[t];i&&(e.innerHTML=i)}(t,e):function(t,e){e.classList.add(s);var n=document.createElement("img");n.src=t,e.appendChild(n)}(t,e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(4),r=function(t){navigator.userAgent.includes("AppleWebKit")&&(t.style.display="none",t.offsetHeight,t.style.display="")};e.initTitle=function(t){if(t){var e=o.injectElIntoModal(i.titleMarkup);e.textContent=t,r(e)}},e.initText=function(t){if(t){var e=document.createDocumentFragment();t.split("\n").forEach((function(t,n,i){e.appendChild(document.createTextNode(t)),n<i.length-1&&e.appendChild(document.createElement("br"))}));var n=o.injectElIntoModal(i.textMarkup);n.appendChild(e),r(n)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=n(4),r=n(0),a=r.default.BUTTON,s=r.default.DANGER_BUTTON,l=n(3),c=n(2),u=n(6),d=n(5),p=function(t,e,n){var o=e.text,r=e.value,p=e.className,h=e.closeModal,f=i.stringToNode(c.buttonMarkup),m=f.querySelector("."+a),v=a+"--"+t;m.classList.add(v),p&&(Array.isArray(p)?p:p.split(" ")).filter((function(t){return t.length>0})).forEach((function(t){m.classList.add(t)})),n&&t===l.CONFIRM_KEY&&m.classList.add(s),m.textContent=o;var g={};return g[t]=r,d.setActionValue(g),d.setActionOptionsFor(t,{closeModal:h}),m.addEventListener("click",(function(){return u.onAction(t)})),f};e.default=function(t,e){var n=o.injectElIntoModal(c.footerMarkup);for(var i in t){var r=t[i],a=p(i,r,e);r.visible&&n.appendChild(a)}0===n.children.length&&n.remove()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(4),r=n(2),a=n(5),s=n(6),l=n(0).default.CONTENT,c=function(t){t.addEventListener("input",(function(t){var e=t.target.value;a.setActionValue(e)})),t.addEventListener("keyup",(function(t){if("Enter"===t.key)return s.onAction(i.CONFIRM_KEY)})),setTimeout((function(){t.focus(),a.setActionValue("")}),0)};e.default=function(t){if(t){var e=o.injectElIntoModal(r.contentMarkup),n=t.element,i=t.attributes;"string"==typeof n?function(t,e,n){var i=document.createElement(e),o=l+"__"+e;for(var r in i.classList.add(o),n){var a=n[r];i[r]=a}"input"===e&&c(i),t.appendChild(i)}(e,n,i):e.appendChild(n)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=n(2);e.default=function(){var t=i.stringToNode(o.overlayMarkup);document.body.appendChild(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(5),o=n(6),r=n(1),a=n(3),s=n(0),l=s.default.MODAL,c=s.default.BUTTON,u=s.default.OVERLAY,d=function(t){if(i.default.isOpen)switch(t.key){case"Escape":return o.onAction(a.CANCEL_KEY)}},p=function(t){if(i.default.isOpen)switch(t.key){case"Tab":return function(t){t.preventDefault(),f()}(t)}},h=function(t){if(i.default.isOpen)return"Tab"===t.key&&t.shiftKey?function(t){t.preventDefault(),m()}(t):void 0},f=function(){var t=r.getNode(c);t&&(t.tabIndex=0,t.focus())},m=function(){var t=r.getNode(l).querySelectorAll("."+c),e=t[t.length-1];e&&e.focus()},v=function(){var t=r.getNode(l).querySelectorAll("."+c);t.length&&(function(t){t[t.length-1].addEventListener("keydown",p)}(t),function(t){t[0].addEventListener("keydown",h)}(t))},g=function(t){if(r.getNode(u)===t.target)return o.onAction(a.CANCEL_KEY)};e.default=function(t){t.closeOnEsc?document.addEventListener("keyup",d):document.removeEventListener("keyup",d),t.dangerMode?f():m(),v(),function(t){var e=r.getNode(u);e.removeEventListener("click",g),t&&e.addEventListener("click",g)}(t.closeOnClickOutside),function(t){i.default.timer&&clearTimeout(i.default.timer),t&&(i.default.timer=window.setTimeout((function(){return o.onAction(a.CANCEL_KEY)}),t))}(t.timer)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=n(3),r=n(37),a=n(38),s={title:null,text:null,icon:null,buttons:o.defaultButtonList,content:null,className:null,closeOnClickOutside:!0,closeOnEsc:!0,dangerMode:!1,timer:null},l=Object.assign({},s);e.setDefaults=function(t){l=Object.assign({},s,t)};var c=function(t){var e=t&&t.button,n=t&&t.buttons;return void 0!==e&&void 0!==n&&i.throwErr("Cannot set both 'button' and 'buttons' options!"),void 0!==e?{confirm:e}:n},u=function(t){return i.ordinalSuffixOf(t+1)},d=function(t,e){i.throwErr(u(e)+" argument ('"+t+"') is invalid")},p=function(t,e){var n=t+1,o=e[n];i.isPlainObject(o)||void 0===o||i.throwErr("Expected "+u(n)+" argument ('"+o+"') to be a plain object")},h=function(t,e,n,o){var r=e instanceof Element;if("string"==typeof e){if(0===n)return{text:e};if(1===n)return{text:e,title:o[0]};if(2===n)return p(n,o),{icon:e};d(e,n)}else{if(r&&0===n)return p(n,o),{content:e};if(i.isPlainObject(e))return function(t,e){var n=t+1,o=e[n];void 0!==o&&i.throwErr("Unexpected "+u(n)+" argument ("+o+")")}(n,o),e;d(e,n)}};e.getOpts=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n={};t.forEach((function(e,i){var o=h(0,e,i,t);Object.assign(n,o)}));var i=c(n);n.buttons=o.getButtonListOpts(i),delete n.button,n.content=r.getContentOpts(n.content);var u=Object.assign({},s,l,n);return Object.keys(u).forEach((function(t){a.DEPRECATED_OPTS[t]&&a.logDeprecation(t)})),u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o={element:"input",attributes:{placeholder:""}};e.getContentOpts=function(t){return i.isPlainObject(t)?Object.assign({},t):t instanceof Element?{element:t}:"input"===t?o:null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.logDeprecation=function(t){var n=e.DEPRECATED_OPTS[t],i=n.onlyRename,o=n.replacement,r=n.subOption,a=n.link,s='SweetAlert warning: "'+t+'" option has been '+(i?"renamed":"deprecated")+".";o&&(s+=" Please use"+(r?' "'+r+'" in ':" ")+'"'+o+'" instead.');var l="https://sweetalert.js.org";s+=a?" More details: "+l+a:" More details: "+l+"/guides/#upgrading-from-1x",console.warn(s)},e.DEPRECATED_OPTS={type:{replacement:"icon",link:"/docs/#icon"},imageUrl:{replacement:"icon",link:"/docs/#icon"},customClass:{replacement:"className",onlyRename:!0,link:"/docs/#classname"},imageSize:{},showCancelButton:{replacement:"buttons",link:"/docs/#buttons"},showConfirmButton:{replacement:"button",link:"/docs/#button"},confirmButtonText:{replacement:"button",link:"/docs/#button"},confirmButtonColor:{},cancelButtonText:{replacement:"buttons",link:"/docs/#buttons"},closeOnConfirm:{replacement:"button",subOption:"closeModal",link:"/docs/#button"},closeOnCancel:{replacement:"buttons",subOption:"closeModal",link:"/docs/#buttons"},showLoaderOnConfirm:{replacement:"buttons"},animation:{},inputType:{replacement:"content",link:"/docs/#content"},inputValue:{replacement:"content",link:"/docs/#content"},inputPlaceholder:{replacement:"content",link:"/docs/#content"},html:{replacement:"content",link:"/docs/#content"},allowEscapeKey:{replacement:"closeOnEsc",onlyRename:!0,link:"/docs/#closeonesc"},allowClickOutside:{replacement:"closeOnClickOutside",onlyRename:!0,link:"/docs/#closeonclickoutside"}}}])}).call(this,n("URgk").setImmediate,n("URgk").clearImmediate)},GYWy:function(t,e,n){(function(t,i){var o;!function(r){e&&e.nodeType,t&&t.nodeType;var a="object"==typeof i&&i;a.global!==a&&a.window!==a&&a.self;var s,l=2147483647,c=/^xn--/,u=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,f=String.fromCharCode;function m(t){throw new RangeError(p[t])}function v(t,e){for(var n=t.length,i=[];n--;)i[n]=e(t[n]);return i}function g(t,e){var n=t.split("@"),i="";return n.length>1&&(i=n[0]+"@",t=n[1]),i+v((t=t.replace(d,".")).split("."),e).join(".")}function b(t){for(var e,n,i=[],o=0,r=t.length;o<r;)(e=t.charCodeAt(o++))>=55296&&e<=56319&&o<r?56320==(64512&(n=t.charCodeAt(o++)))?i.push(((1023&e)<<10)+(1023&n)+65536):(i.push(e),o--):i.push(e);return i}function y(t){return v(t,(function(t){var e="";return t>65535&&(e+=f((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=f(t)})).join("")}function w(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function _(t,e,n){var i=0;for(t=n?h(t/700):t>>1,t+=h(t/e);t>455;i+=36)t=h(t/35);return h(i+36*t/(t+38))}function x(t){var e,n,i,o,r,a,s,c,u,d,p,f=[],v=t.length,g=0,b=128,w=72;for((n=t.lastIndexOf("-"))<0&&(n=0),i=0;i<n;++i)t.charCodeAt(i)>=128&&m("not-basic"),f.push(t.charCodeAt(i));for(o=n>0?n+1:0;o<v;){for(r=g,a=1,s=36;o>=v&&m("invalid-input"),((c=(p=t.charCodeAt(o++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:36)>=36||c>h((l-g)/a))&&m("overflow"),g+=c*a,!(c<(u=s<=w?1:s>=w+26?26:s-w));s+=36)a>h(l/(d=36-u))&&m("overflow"),a*=d;w=_(g-r,e=f.length+1,0==r),h(g/e)>l-b&&m("overflow"),b+=h(g/e),g%=e,f.splice(g++,0,b)}return y(f)}function C(t){var e,n,i,o,r,a,s,c,u,d,p,v,g,y,x,C=[];for(v=(t=b(t)).length,e=128,n=0,r=72,a=0;a<v;++a)(p=t[a])<128&&C.push(f(p));for(i=o=C.length,o&&C.push("-");i<v;){for(s=l,a=0;a<v;++a)(p=t[a])>=e&&p<s&&(s=p);for(s-e>h((l-n)/(g=i+1))&&m("overflow"),n+=(s-e)*g,e=s,a=0;a<v;++a)if((p=t[a])<e&&++n>l&&m("overflow"),p==e){for(c=n,u=36;!(c<(d=u<=r?1:u>=r+26?26:u-r));u+=36)x=c-d,y=36-d,C.push(f(w(d+x%y,0))),c=h(x/y);C.push(f(w(c,0))),r=_(n,g,i==o),n=0,++i}++n,++e}return C.join("")}s={version:"1.4.1",ucs2:{decode:b,encode:y},decode:x,encode:C,toASCII:function(t){return g(t,(function(t){return u.test(t)?"xn--"+C(t):t}))},toUnicode:function(t){return g(t,(function(t){return c.test(t)?x(t.slice(4).toLowerCase()):t}))}},void 0===(o=function(){return s}.call(e,n,e,t))||(t.exports=o)}()}).call(this,n("YuTi")(t),n("yLpj"))},Gabo:function(t,e,n){var i=n("j9ok");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},HPPE:function(t,e,n){"use strict";n.r(e);var i=n("lb/t");n("i3gq");function o(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var a={components:{Autocomplete:i.a},data:function(){return{user:window._sharedData.user,profileLayoutModel:"grid"}},computed:{profileLayout:{get:function(){return this.$store.state.profileLayout},set:function(t){this.$store.commit("setProfileLayout",t)}},hideCounts:{get:function(){return this.$store.state.hideCounts},set:function(t){this.$store.commit("setHideCounts",t)}},autoloadComments:{get:function(){return this.$store.state.autoloadComments},set:function(t){this.$store.commit("setAutoloadComments",t)}},newReactions:{get:function(){return this.$store.state.newReactions},set:function(t){this.$store.commit("setNewReactions",t)}},fixedHeight:{get:function(){return this.$store.state.fixedHeight},set:function(t){this.$store.commit("setFixedHeight",t)}}},methods:{autocompleteSearch:function(t){var e=this;if(!t||t.length<2)return[];var n=t.startsWith("https://")||t.startsWith("@");return axios.get("/api/v2/search",{params:{q:t,resolve:n}}).then((function(n){var i=[],r=n.data.accounts.map((function(t){var e=t;return e.s_type="account",e})),a=n.data.hashtags.map((function(t){var e=t;return e.s_type="hashtag",e}));if(i.push.apply(i,o(r.slice(0,5))),i.push.apply(i,o(a.slice(0,5))),n.data.statuses)if(Array.isArray(n.data.statuses)){var s=n.data.statuses.map((function(t){var e=t;return e.s_type="status",e}));i.push.apply(i,o(s))}else t===n.data.statuses.url&&(e.$refs.autocomplete.value="",e.$router.push({name:"post",path:"/i/web/post/".concat(n.data.statuses.id),params:{id:n.data.statuses.id,cachedStatus:n.data.statuses,cachedProfile:e.user}}));return i}))},getSearchResultValue:function(t){return t},onSearchSubmit:function(t){if(!(t.length<1))switch(this.$refs.autocomplete.value="",t.s_type){case"account":location.href="/i/web/profile/".concat(t.id);break;case"hashtag":location.href="/i/web/hashtag/".concat(t.name);break;case"status":location.href="/i/web/post/".concat(t.id)}},truncate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30;return t.length<=e?t:t.slice(0,e)+"..."},logout:function(){axios.post("/logout").then((function(t){location.href="/"})).catch((function(t){location.href="/"}))},openUserInterfaceSettings:function(){event.currentTarget.blur(),this.$refs.uis.show()}}},s=(n("QX/O"),n("KHd+")),l=Object(s.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"metro-nav navbar navbar-expand navbar-light navbar-laravel sticky-top shadow-none py-1"},[n("div",{staticClass:"container-fluid"},[t._m(0),t._v(" "),n("div",{staticClass:"collapse navbar-collapse"},[n("div",{staticClass:"navbar-nav ml-auto"},[n("autocomplete",{ref:"autocomplete",staticClass:"searchbox",attrs:{search:t.autocompleteSearch,placeholder:t.$t("navmenu.search"),"aria-label":"Search","get-result-value":t.getSearchResultValue,debounceTime:700},on:{submit:t.onSearchSubmit},scopedSlots:t._u([{key:"result",fn:function(e){var i=e.result,o=e.props;return[n("li",t._b({staticClass:"autocomplete-result"},"li",o,!1),["account"===i.s_type?n("div",{staticClass:"media align-items-center my-0"},[n("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:i.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),n("div",{staticClass:"media-body"},[i.display_name&&i.display_name.length?n("div",[n("p",{staticClass:"result-name mb-0 font-weight-bold",staticStyle:{"line-height":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.truncate(i.display_name,28))+"\n\t\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"result-name mb-0 text-muted small font-weight-bold text-break"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t@"+t._s(i.acct)+"\n\t\t\t\t\t\t\t\t\t\t\t")])]):n("div",[n("p",{staticClass:"result-name mb-0 font-weight-bold",staticStyle:{"line-height":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t@"+t._s(i.acct)+"\n\t\t\t\t\t\t\t\t\t\t\t")])])])]):"hashtag"===i.s_type?n("div",{staticClass:"media align-items-center my-0"},[n("div",{staticClass:"media-icon"},[n("i",{staticClass:"far fa-hashtag fa-large"})]),t._v(" "),n("div",{staticClass:"media-body"},[n("div",[n("p",{staticClass:"result-name mb-0 font-weight-bold text-break",staticStyle:{"line-height":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(i.name)+"\n\t\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"result-name mb-0 text-muted small text-break"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(i.count)+" Posts\n\t\t\t\t\t\t\t\t\t\t\t")])])])]):"status"===i.s_type?n("div",{staticClass:"media align-items-center my-0"},[n("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:i.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("div",[n("p",{staticClass:"result-name mb-0 font-weight-bold",staticStyle:{"line-height":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t@"+t._s(t.truncate(i.account.acct,20))+"\n\t\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"result-name mb-0 text-muted small font-weight-bold text-break"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tView status\n\t\t\t\t\t\t\t\t\t\t\t")])])])]):t._e()])]}}])})],1),t._v(" "),n("div",{staticClass:"ml-auto"},[n("ul",{staticClass:"navbar-nav align-items-center"},[n("li",{staticClass:"nav-item dropdown ml-2"},[n("a",{staticClass:"nav-link dropdown-toggle",attrs:{id:"navbarDropdown",href:"#",role:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"User Menu"}},[n("i",{staticClass:"d-none far fa-user fa-lg text-dark"}),t._v(" "),n("span",{staticClass:"sr-only"},[t._v("User Menu")]),t._v(" "),n("img",{staticClass:"nav-avatar rounded-circle border shadow",attrs:{src:t.user.avatar,width:"30",height:"30",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),n("div",{staticClass:"dropdown-menu dropdown-menu-right shadow",attrs:{"aria-labelledby":"navbarDropdown"}},[n("ul",{staticClass:"nav flex-column"},[n("li",{staticClass:"nav-item nav-icons"},[n("div",{staticClass:"d-flex justify-content-between align-items-center"},[n("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web"}},[n("div",{staticClass:"icon text-lighter"},[n("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),n("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),n("router-link",{staticClass:"nav-link text-center",attrs:{to:{name:"timeline",params:{scope:"local"}}}},[n("div",{staticClass:"icon text-lighter"},[n("i",{staticClass:"fas fa-stream fa-lg"})]),t._v(" "),n("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]),t._v(" "),n("router-link",{staticClass:"nav-link text-center",attrs:{to:{name:"timeline",params:{scope:"global"}}}},[n("div",{staticClass:"icon text-lighter"},[n("i",{staticClass:"far fa-globe fa-lg"})]),t._v(" "),n("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])])],1)]),t._v(" "),n("li",{staticClass:"nav-item nav-icons"},[n("div",{staticClass:"d-flex justify-content-between align-items-center"},[n("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web/discover"}},[n("div",{staticClass:"icon text-lighter"},[n("i",{staticClass:"far fa-compass"})]),t._v(" "),n("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.discover")))])]),t._v(" "),n("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web/notifications"}},[n("div",{staticClass:"icon text-lighter"},[n("i",{staticClass:"far fa-bell"})]),t._v(" "),n("div",{staticClass:"small"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),n("router-link",{staticClass:"nav-link text-center px-3",attrs:{to:"/i/web/profile/"+t.user.id}},[n("div",{staticClass:"icon text-lighter"},[n("i",{staticClass:"far fa-user"})]),t._v(" "),n("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.profile")))])])],1),t._v(" "),n("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/compose"}},[n("span",{staticClass:"icon text-lighter"},[n("i",{staticClass:"far fa-plus-square"})]),t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.compose"))+"\n\t\t\t\t\t\t\t\t\t\t")])],1),t._v(" "),n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[n("span",[n("span",{staticClass:"icon text-lighter"},[n("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t\t\t\t\t\t")])])],1),t._v(" "),n("li",{staticClass:"nav-item"},[n("a",{staticClass:"nav-link",attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.openUserInterfaceSettings.apply(null,arguments)}}},[t._m(1),t._v("\n\t\t\t\t\t\t\t\t\t\t\tUI Settings\n\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),t.user.is_admin?n("li",{staticClass:"nav-item"},[n("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),n("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(2),t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t\t\t\t\t\t")])]):t._e(),t._v(" "),n("li",{staticClass:"nav-item"},[n("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),n("a",{staticClass:"nav-link",attrs:{href:"/"}},[t._m(3),t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),n("li",{staticClass:"nav-item"},[n("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),n("a",{staticClass:"nav-link",attrs:{href:"/"},on:{click:function(e){return e.preventDefault(),t.logout()}}},[t._m(4),t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.logout"))+"\n\t\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),n("b-modal",{ref:"uis",attrs:{"hide-footer":"",centered:"","body-class":"p-0",title:"UI Settings"}},[n("div",{staticClass:"list-group list-group-flush"},[n("div",{staticClass:"list-group-item px-3"},[n("b-form-checkbox",{staticClass:"font-weight-bold",attrs:{switch:""},model:{value:t.fixedHeight,callback:function(e){t.fixedHeight=e},expression:"fixedHeight"}},[t._v("\n\t\t\t\t\tCompact Media Previews\n\t\t\t\t")]),t._v(" "),n("p",{staticClass:"small text-muted mb-0",staticStyle:{"padding-left":"36px"}},[t._v("Fixed height media previews")])],1),t._v(" "),n("div",{staticClass:"list-group-item px-3"},[n("b-form-checkbox",{staticClass:"font-weight-bold",attrs:{switch:""},model:{value:t.autoloadComments,callback:function(e){t.autoloadComments=e},expression:"autoloadComments"}},[t._v("\n\t\t\t\t\tAutoload Comments\n\t\t\t\t")]),t._v(" "),n("p",{staticClass:"small text-muted mb-0",staticStyle:{"padding-left":"36px"}},[t._v("Show the first 3 comments on posts")])],1),t._v(" "),n("div",{staticClass:"list-group-item px-3"},[n("b-form-checkbox",{staticClass:"font-weight-bold",attrs:{switch:""},model:{value:t.newReactions,callback:function(e){t.newReactions=e},expression:"newReactions"}},[t._v("\n\t\t\t\t\tUse New Reactions\n\t\t\t\t")]),t._v(" "),n("p",{staticClass:"small text-muted mb-0",staticStyle:{"padding-left":"36px"}},[t._v("Use the new reactions bar on posts")])],1),t._v(" "),n("div",{staticClass:"list-group-item px-3"},[n("b-form-checkbox",{staticClass:"font-weight-bold",attrs:{switch:""},model:{value:t.hideCounts,callback:function(e){t.hideCounts=e},expression:"hideCounts"}},[t._v("\n\t\t\t\t\tHide Counts & Stats\n\t\t\t\t")]),t._v(" "),n("p",{staticClass:"small text-muted mb-0",staticStyle:{"padding-left":"36px"}},[t._v("Hidden comment, like and reblog counts")])],1),t._v(" "),n("div",{staticClass:"list-group-item px-3"},[n("p",{staticClass:"font-weight-bold mb-1"},[t._v("Preferred Profile Layout")]),t._v(" "),n("b-form-group",{attrs:{label:""}},[n("b-form-radio",{attrs:{name:"profile-layout",value:"grid"},model:{value:t.profileLayout,callback:function(e){t.profileLayout=e},expression:"profileLayout"}},[t._v("Grid")]),t._v(" "),n("b-form-radio",{attrs:{name:"profile-layout",value:"masonry"},model:{value:t.profileLayout,callback:function(e){t.profileLayout=e},expression:"profileLayout"}},[t._v("Masonry")]),t._v(" "),n("b-form-radio",{attrs:{name:"profile-layout",value:"feed"},model:{value:t.profileLayout,callback:function(e){t.profileLayout=e},expression:"profileLayout"}},[t._v("Feed")])],1),t._v(" "),n("p",{staticClass:"small text-muted mb-0"},[t._v("The default layout for profiles")])],1)])])],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("a",{staticClass:"navbar-brand d-flex align-items-center",staticStyle:{width:"50px"},attrs:{href:"/i/web",title:"Logo"}},[e("img",{staticClass:"px-2",attrs:{src:"/img/pixelfed-icon-color.svg",height:"30px",loading:"eager",alt:"Pixelfed logo"}}),this._v(" "),e("span",{staticClass:"font-weight-bold mb-0 d-none d-sm-block",staticStyle:{"font-size":"20px"}},[this._v("\n\t\t\t\t\tpixelfed\n\t\t\t\t")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-brush"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-tools"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"fas fa-chevron-left"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-sign-out"})])}],!1,null,null,null);e.default=l.exports},HSnI:function(t,e,n){"use strict";n("Vzmo")},Hs6E:function(t,e,n){"use strict";n("69ih")},"I+B4":function(t,e,n){"use strict";n("wq/R")},I1BE: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 o=(a=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),r=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[n].concat(r).concat([o]).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={},o=0;o<this.length;o++){var r=this[o][0];"number"==typeof r&&(i[r]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},IFrh:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".media-body[data-v-2d57d208] {\n margin-right: 0.5rem;\n}\n.avatar[data-v-2d57d208] {\n border-radius: 15px;\n}\n.username[data-v-2d57d208] {\n font-size: 14px;\n line-height: 14px;\n margin-bottom: 2px;\n word-break: break-word !important;\n word-wrap: break-word !important;\n}\n.display-name[data-v-2d57d208] {\n margin-bottom: 0;\n font-size: 12px;\n word-break: break-word !important;\n word-wrap: break-word !important;\n}\n.follower-count[data-v-2d57d208] {\n margin-bottom: 0;\n font-size: 10px;\n word-break: break-word !important;\n word-wrap: break-word !important;\n}\n.follow[data-v-2d57d208] {\n background-color: #3B82F6;\n border-radius: 18px;\n font-weight: 600;\n padding: 5px 15px;\n}",""])},IV43:function(t,e,n){"use strict";n("QQqD")},JMt0:function(t,e,n){"use strict";var i=n("4KG8"),o=n.n(i),r={name:"vue-tribute",props:{options:{type:Object,required:!0}},watch:{options:{immediate:!1,deep:!0,handler:function(){var t=this;this.tribute&&setTimeout((function(){var e=t.$slots.default[0].elm;t.tribute.detach(e),setTimeout((function(){e=t.$slots.default[0].elm,t.tribute=new o.a(t.options),t.tribute.attach(e),e.tributeInstance=t.tribute}),0)}),0)}}},mounted:function(){if(void 0===o.a)throw new Error("[vue-tribute] cannot locate tributejs!");var t=this.$slots.default[0].elm;this.tribute=new o.a(this.options),this.tribute.attach(t),t.tributeInstance=this.tribute,t.addEventListener("tribute-replaced",(function(t){t.target.dispatchEvent(new Event("input",{bubbles:!0}))}))},beforeDestroy:function(){var t=this.$slots.default[0].elm;this.tribute&&this.tribute.detach(t)},render:function(t){return t("div",{staticClass:"v-tribute"},this.$slots.default)}};"undefined"!=typeof window&&window.Vue&&window.Vue.component(r.name,r),e.a=r},JdCH:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));class i extends Error{constructor(t){super(t),this.name="ValidationError",this.message=t}}},K4j9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,o=(i=n("XuX8"))&&"object"==typeof i&&"default"in i?i.default:i;function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var s="undefined"!=typeof window;function l(t,e){return e.reduce((function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e}),{})}var c={},u={},d={},p=new(o.extend({data:function(){return{transports:c,targets:u,sources:d,trackInstances:s}},methods:{open:function(t){if(s){var e=t.to,n=t.from,i=t.passengers,a=t.order,l=void 0===a?1/0:a;if(e&&n&&i){var c,u={to:e,from:n,passengers:(c=i,Array.isArray(c)||"object"===r(c)?Object.freeze(c):c),order:l};-1===Object.keys(this.transports).indexOf(e)&&o.set(this.transports,e,[]);var d,p=this.$_getTransportIndex(u),h=this.transports[e].slice(0);-1===p?h.push(u):h[p]=u,this.transports[e]=(d=function(t,e){return t.order-e.order},h.map((function(t,e){return[e,t]})).sort((function(t,e){return d(t[1],e[1])||t[0]-e[0]})).map((function(t){return t[1]})))}}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.to,i=t.from;if(n&&(i||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var o=this.$_getTransportIndex(t);if(o>=0){var r=this.transports[n].slice(0);r.splice(o,1),this.transports[n]=r}}},registerTarget:function(t,e,n){s&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,n){s&&(this.trackInstances&&!n&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var i in this.transports[e])if(this.transports[e][i].from===n)return+i;return-1}}}))(c),h=1,f=o.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(h++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){p.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){p.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};p.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"==typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:a(t),order:this.order};p.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),m=o.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:p.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){p.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){p.unregisterTarget(e),p.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){p.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var i=n.passengers[0],o="function"==typeof i?i(e):n.passengers;return t.concat(o)}),[])}(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),i=this.transition||this.tag;return e?n[0]:this.slim&&!i?t():t(i,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),v=0,g=["disabled","name","order","slim","slotProps","tag","to"],b=["multiple","transition"],y=o.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(v++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!=typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(p.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=p.targets[e.name];else{var n=e.append;if(n){var i="string"==typeof n?n:"DIV",o=document.createElement(i);t.appendChild(o),t=o}var r=l(this.$props,b);r.slim=this.targetSlim,r.tag=this.targetTag,r.slotProps=this.targetSlotProps,r.name=this.to,this.portalTarget=new m({el:t,parent:this.$parent||this,propsData:r})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=l(this.$props,g);return t(f,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});var w={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",f),t.component(e.portalTargetName||"PortalTarget",m),t.component(e.MountingPortalName||"MountingPortal",y)}};e.default=w,e.Portal=f,e.PortalTarget=m,e.MountingPortal=y,e.Wormhole=p},"KHd+":function(t,e,n){"use strict";function i(t,e,n,i,o,r,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}n.d(e,"a",(function(){return i}))},L2JU:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return x}));var i=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n,i=(n=function(e){return e.original===t},e.filter(n)[0]);if(i)return i.copy;var r=Array.isArray(t)?[]:{};return e.push({original:t,copy:r}),Object.keys(t).forEach((function(n){r[n]=o(t[n],e)})),r}function r(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function a(t){return null!==t&&"object"==typeof t}var s=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},l={namespaced:{configurable:!0}};l.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(t,e){this._children[t]=e},s.prototype.removeChild=function(t){delete this._children[t]},s.prototype.getChild=function(t){return this._children[t]},s.prototype.hasChild=function(t){return t in this._children},s.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},s.prototype.forEachChild=function(t){r(this._children,t)},s.prototype.forEachGetter=function(t){this._rawModule.getters&&r(this._rawModule.getters,t)},s.prototype.forEachAction=function(t){this._rawModule.actions&&r(this._rawModule.actions,t)},s.prototype.forEachMutation=function(t){this._rawModule.mutations&&r(this._rawModule.mutations,t)},Object.defineProperties(s.prototype,l);var c=function(t){this.register([],t,!1)};c.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},c.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},c.prototype.update=function(t){!function t(e,n,i){0;if(n.update(i),i.modules)for(var o in i.modules){if(!n.getChild(o))return void 0;t(e.concat(o),n.getChild(o),i.modules[o])}}([],this.root,t)},c.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var o=new s(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o);e.modules&&r(e.modules,(function(e,o){i.register(t.concat(o),e,n)}))},c.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},c.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var u;var d=function(t){var e=this;void 0===t&&(t={}),!u&&"undefined"!=typeof window&&window.Vue&&y(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var o=t.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new c(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new u,this._makeLocalGettersCache=Object.create(null);var r=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(r,t,e)},this.commit=function(t,e,n){return s.call(r,t,e,n)},this.strict=o;var l=this._modules.root.state;v(this,l,[],this._modules.root),m(this,l),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:u.config.devtools)&&function(t){i&&(t._devtoolHook=i,i.emit("vuex:init",t),i.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){i.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){i.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},p={state:{configurable:!0}};function h(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function f(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;v(t,n,[],t._modules.root,!0),m(t,n,e)}function m(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,a={};r(o,(function(e,n){a[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=u.config.silent;u.config.silent=!0,t._vm=new u({data:{$$state:e},computed:a}),u.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),u.nextTick((function(){return i.$destroy()})))}function v(t,e,n,i,o){var r=!n.length,a=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=i),!r&&!o){var s=g(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){u.set(s,l,i.state)}))}var c=i.context=function(t,e,n){var i=""===e,o={dispatch:i?t.dispatch:function(n,i,o){var r=b(n,i,o),a=r.payload,s=r.options,l=r.type;return s&&s.root||(l=e+l),t.dispatch(l,a)},commit:i?t.commit:function(n,i,o){var r=b(n,i,o),a=r.payload,s=r.options,l=r.type;s&&s.root||(l=e+l),t.commit(l,a,s)}};return Object.defineProperties(o,{getters:{get:i?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,i)===e){var r=o.slice(i);Object.defineProperty(n,r,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return g(t.state,n)}}}),o}(t,a,n);i.forEachMutation((function(e,n){!function(t,e,n,i){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,i.state,e)}))}(t,a+n,e,c)})),i.forEachAction((function(e,n){var i=e.root?n:a+n,o=e.handler||e;!function(t,e,n,i){(t._actions[e]||(t._actions[e]=[])).push((function(e){var o,r=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(o=r)&&"function"==typeof o.then||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}(t,i,o,c)})),i.forEachGetter((function(e,n){!function(t,e,n,i){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)}}(t,a+n,e,c)})),i.forEachChild((function(i,r){v(t,e,n.concat(r),i,o)}))}function g(t,e){return e.reduce((function(t,e){return t[e]}),t)}function b(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function y(t){u&&t===u||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(u=t)}p.state.get=function(){return this._vm._data.$$state},p.state.set=function(t){0},d.prototype.commit=function(t,e,n){var i=this,o=b(t,e,n),r=o.type,a=o.payload,s=(o.options,{type:r,payload:a}),l=this._mutations[r];l&&(this._withCommit((function(){l.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,i.state)})))},d.prototype.dispatch=function(t,e){var n=this,i=b(t,e),o=i.type,r=i.payload,a={type:o,payload:r},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(t){0}var l=s.length>1?Promise.all(s.map((function(t){return t(r)}))):s[0](r);return new Promise((function(t,e){l.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(t){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(t){0}e(t)}))}))}},d.prototype.subscribe=function(t,e){return h(t,this._subscribers,e)},d.prototype.subscribeAction=function(t,e){return h("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},d.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},d.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},d.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),v(this,this.state,t,this._modules.get(t),n.preserveState),m(this,this.state)},d.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=g(e.state,t.slice(0,-1));u.delete(n,t[t.length-1])})),f(this)},d.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},d.prototype.hotUpdate=function(t){this._modules.update(t),f(this,!0)},d.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(d.prototype,p);var w=O((function(t,e){var n={};return k(e).forEach((function(e){var i=e.key,o=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=S(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[i].vuex=!0})),n})),_=O((function(t,e){var n={};return k(e).forEach((function(e){var i=e.key,o=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.commit;if(t){var r=S(this.$store,"mapMutations",t);if(!r)return;i=r.context.commit}return"function"==typeof o?o.apply(this,[i].concat(e)):i.apply(this.$store,[o].concat(e))}})),n})),x=O((function(t,e){var n={};return k(e).forEach((function(e){var i=e.key,o=e.val;o=t+o,n[i]=function(){if(!t||S(this.$store,"mapGetters",t))return this.$store.getters[o]},n[i].vuex=!0})),n})),C=O((function(t,e){var n={};return k(e).forEach((function(e){var i=e.key,o=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var r=S(this.$store,"mapActions",t);if(!r)return;i=r.context.dispatch}return"function"==typeof o?o.apply(this,[i].concat(e)):i.apply(this.$store,[o].concat(e))}})),n}));function k(t){return function(t){return Array.isArray(t)||a(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function O(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function S(t,e,n){return t._modulesNamespaceMap[n]}function P(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(n){t.log(e)}}function T(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function j(){var t=new Date;return" @ "+M(t.getHours(),2)+":"+M(t.getMinutes(),2)+":"+M(t.getSeconds(),2)+"."+M(t.getMilliseconds(),3)}function M(t,e){return n="0",i=e-t.toString().length,new Array(i+1).join(n)+t;var n,i}var E={Store:d,install:y,version:"3.6.2",mapState:w,mapMutations:_,mapGetters:x,mapActions:C,createNamespacedHelpers:function(t){return{mapState:w.bind(null,t),mapGetters:x.bind(null,t),mapMutations:_.bind(null,t),mapActions:C.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var a=t.actionFilter;void 0===a&&(a=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var l=t.logMutations;void 0===l&&(l=!0);var c=t.logActions;void 0===c&&(c=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var d=o(t.state);void 0!==u&&(l&&t.subscribe((function(t,a){var s=o(a);if(n(t,d,s)){var l=j(),c=r(t),p="mutation "+t.type+l;P(u,p,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",i(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",i(s)),T(u)}d=s})),c&&t.subscribeAction((function(t,n){if(a(t,n)){var i=j(),o=s(t),r="action "+t.type+i;P(u,r,e),u.log("%c action","color: #03A9F4; font-weight: bold",o),T(u)}})))}}};e.a=E}).call(this,n("yLpj"))},L4Pp:function(t,e,n){"use strict";n("dS8w")},LFid:function(t){t.exports=JSON.parse('{"common":{"comment":"Comentario","commented":"Comentado","comments":"Comentarios","like":"Me gusta","liked":"Te gusta","likes":"Me gustas","share":"Compartir","shared":"Compartido","shares":"Compartidos","unshare":"No compartir","cancel":"Cancelar","copyLink":"Copiar Enlace","delete":"Eliminar","error":"Error","errorMsg":"Algo fue mal. Por favor inténtelo de nuevo más tarde.","oops":"Upss!","other":"Otros","readMore":"Ver más","success":"Correcto","sensitive":"Sensible","sensitiveContent":"Contenido Sensible","sensitiveContentWarning":"Este post podría tener contenido sensible"},"site":{"terms":"Términos de Uso","privacy":"Política de Privacidad"},"navmenu":{"search":"Buscar","admin":"Panel de Administrador","homeFeed":"Feed Principal","localFeed":"Feed Local","globalFeed":"Feed Global","discover":"Descubre","directMessages":"Mensajes Directos","notifications":"Notificaciones","groups":"Grupos","stories":"Historias","profile":"Perfil","drive":"Multimedia","settings":"Ajustes","compose":"Crear Nuevo","logout":"Logout","about":"Acerca de","help":"Ayuda","language":"Idioma","privacy":"Privacidad","terms":"Términos","backToPreviousDesign":"Volver al diseño anterior"},"directMessages":{"inbox":"Entrada","sent":"Enviado","requests":"Solicitudes"},"notifications":{"liked":"le gustó tu","commented":"comentó en tu","reacted":"reaccionó a tu","shared":"ha compartido tu","tagged":"te ha etiquetado en","updatedA":"actualizó una","sentA":"envió un","followed":"te siguió","mentioned":"te mencionó","you":"tú","yourApplication":"Tu solicitud para unirse","applicationApproved":"ha sido aprobada!","applicationRejected":"ha sido rechazada. Puedes volver a solicitar unirte en 6 meses.","dm":"md","groupPost":"publicación de grupo","modlog":"modlog","post":"publicación","story":"historia"},"post":{"shareToFollowers":"Compartir a seguidores","shareToOther":"Compartir a otros","noLikes":"No hay me gustas","uploading":"Subiendo"},"profile":{"posts":"Publicaciones","followers":"Seguidores","following":"Siguiendo","admin":"Administrador","collections":"Colecciones","follow":"Seguir","unfollow":"Dejar de seguir","editProfile":"Editar Perfil","followRequested":"Seguimiento Solicitado","joined":"Se unió","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"Ver Publicación","viewProfile":"Ver Perfil","moderationTools":"Herramientas de Moderación","report":"Reportar","archive":"Archivar","unarchive":"No Archivar","embed":"Incrustar","selectOneOption":"Escoge una de las siguientes opciones","unlistFromTimelines":"No listar en Líneas Temporales","addCW":"Añadir Spoiler","removeCW":"Quitar Spoiler","markAsSpammer":"Marcar como Spammer","markAsSpammerText":"No listar + Spoiler publicaciones actuales y futuras","spam":"Spam","sensitive":"Contenido Sensible","abusive":"Abusivo o Dañino","underageAccount":"Cuenta de Menor de Edad","copyrightInfringement":"Violación de Copyright","impersonation":"Suplantación","scamOrFraud":"Scam o Fraude","confirmReport":"Confirmar Reporte","confirmReportText":"¿Seguro que quieres reportar esta publicación?","reportSent":"¡Reporte enviado!","reportSentText":"Hemos recibido tu reporte de forma satisfactoria.","reportSentError":"Hubo un problema reportando esta publicación.","modAddCWConfirm":"¿Seguro que desea añadir un spoiler a esta publicación?","modCWSuccess":"Spoiler añadido correctamente","modRemoveCWConfirm":"¿Seguro que desea eliminar el spoiler de esta publicación?","modRemoveCWSuccess":"Spoiler eliminado correctamente","modUnlistConfirm":"¿Seguro que desea no listar esta publicación?","modUnlistSuccess":"Publicación no listada correctamente","modMarkAsSpammerConfirm":"¿Seguro que quiere marcar este usuario como spammer? Todas las publicaciones existentes y futuras no serán listadas en las líneas temporales y se les agregará un Spoiler o alerta de contenido.","modMarkAsSpammerSuccess":"Cuenta marcada como spam correctamente","toFollowers":"a Seguidores","showCaption":"Mostrar subtítulos","showLikes":"Mostrar me gustas","compactMode":"Modo Compacto","embedConfirmText":"Usando este incrustado, usted acepta","deletePostConfirm":"¿Seguro que desea eliminar esta publicación?","archivePostConfirm":"¿Seguro que desea archivar esta publicación?","unarchivePostConfirm":"¿Seguro que desea desarchivar esta publicación?"},"story":{"add":"Añadir Historia"},"timeline":{"peopleYouMayKnow":"Gente que podrías conocer"},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"}}')},LKnw:function(t,e,n){var i=n("U3gw");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},LZbM: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 o;return i=i||{},o="string"==typeof t[e]?t[e]:1===n?t[e].one:t[e].other.replace("{{count}}",n),i.addSuffix?i.comparison>0?"in "+o:o+" ago":o}}}},Lp1U:function(t,e,n){"use strict";n("na7+")},LpiV:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".story-carousel-component .story-wrapper {\n display: block;\n position: relative;\n width: 100%;\n height: 200px;\n border-radius: 15px;\n margin-bottom: 1rem;\n background: #b24592;\n background: linear-gradient(to right, #b24592, #f15f79);\n}\n.story-carousel-component .story-wrapper .username {\n color: #fff;\n}\n.story-carousel-component .story-wrapper .avatar {\n border-radius: 6px;\n margin-bottom: 5px;\n}",""])},M24V:function(t,e,n){var i=n("aXAF");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},MaCO:function(t,e,n){"use strict";n("oaGm")},Mb3Q:function(t,e){function n(t,e){var i={name:t.name,path:t.path,hash:t.hash,query:t.query,params:t.params,fullPath:t.fullPath,meta:t.meta};return e&&(i.from=n(e)),Object.freeze(i)}e.sync=function(t,e,i){var o=(i||{}).moduleName||"route";t.registerModule(o,{namespaced:!0,state:n(e.currentRoute),mutations:{ROUTE_CHANGED:function(e,i){t.state[o]=n(i.to,i.from)}}});var r,a=!1,s=t.watch((function(t){return t[o]}),(function(t){var n=t.fullPath;n!==r&&(null!=r&&(a=!0,e.push(t)),r=n)}),{sync:!0}),l=e.afterEach((function(e,n){a?a=!1:(r=e.fullPath,t.commit(o+"/ROUTE_CHANGED",{to:e,from:n}))}));return function(){null!=l&&l(),null!=s&&s(),t.unregisterModule(o)}}},Mrqh:function(t,e,n){"use strict";n.r(e);var i=n("NFb6"),o=n.n(i),r={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){o()({el:t.target})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();e.advancePage("backward"),e.$emit("navigation-click","backward")}if("39"==t.keyCode){t.preventDefault();e.advancePage("forward"),e.$emit("navigation-click","forward")}}}},a=(n("Hs6E"),n("KHd+")),s=Object(a.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return 1==t.status.sensitive?n("div",{staticClass:"content-label-wrapper"},[n("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),n("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),n("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t")]),t._v(" "),n("p",{staticClass:"mb-0"},[n("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),n("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):n("div",{staticClass:"w-100 h-100 p-0"},[n("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(e,i){return n("slide",{key:"px-carousel-"+e.id+"-"+i,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:e.description}},[n("img",{class:e.filter_class+" img-fluid w-100 p-0",attrs:{src:e.url,alt:t.altText(e),loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}}),t._v(" "),!t.status.sensitive&&t.sensitive?n("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[n("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?n("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[n("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),n("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),n("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])})),1)],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}],!1,null,"1b12221c",null);e.default=s.exports},N0po:function(t,e,n){var i=n("US+e");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},NFb6:function(t,e){var n,i,o,r,a,s,l,c,u,d,p,h,f,m,v,g,b,y,w,_,x,C,k,O,S,P,T,j,M,E,A,D,$,I=[],L={},B="appendChild",F="createElement",R="removeChild";function N(){var t=n.getBoundingClientRect(),e=t.top,i=t.left,a=t.width,s=t.height;return"transform:translate3D("+(i-(o.clientWidth-a)/2)+"px, "+(e-(o.clientHeight-s)/2)+"px, 0) scale3D("+n.clientWidth/r.clientWidth+", "+n.clientHeight/r.clientHeight+", 0)"}function U(t){var e=E.length-1;if(!f){if(t>0&&M===e||t<0&&!M){if(!$.loop)return J(a,""),void setTimeout(J,9,a,"animation:"+(t>0?"bpl":"bpf")+" .3s;transition:transform .35s");M=t>0?-1:e+1}if([(M=Math.max(0,Math.min(M+t,e)))-1,M,M+1].forEach((function(t){if(t=Math.max(0,Math.min(t,e)),!L[t]){var n=E[t].src,i=document[F]("IMG");i.addEventListener("load",q.bind(null,n)),i.src=n,L[t]=i}})),L[M].complete)return z(t);f=!0,J(v,"opacity:.4;"),o[B](v),L[M].onload=function(){x&&z(t)},L[M].onerror=function(){E[M]={error:"Error loading image"},x&&z(t)}}}function z(t){f&&(o[R](v),f=!1);var e=E[M];if(e.error)alert(e.error);else{var i=o.querySelector("img:last-of-type");J(a=r=L[M],"animation:"+(t>0?"bpfl":"bpfr")+" .35s;transition:transform .35s"),J(i,"animation:"+(t>0?"bpfol":"bpfor")+" .35s both"),o[B](a),e.el&&(n=e.el)}A.innerHTML=M+1+"/"+E.length,G(E[M].caption),P&&P([a,E[M]])}function H(){var t,e,n=.95*window.innerHeight,i=.95*window.innerWidth,o=n/i,r=$.dimensions||[1920,1080],a=r[0],s=r[1],l=s/a;l>o?e=(t=Math.min(s,n))/l:t=(e=Math.min(a,i))*l,c.style.cssText+="width:"+e+"px;height:"+t+"px;"}function V(t){~[1,4].indexOf(r.readyState)?(Y(),setTimeout((function(){r.play()}),99)):r.error?Y(t):m=setTimeout(V,35,t)}function W(t){$.noLoader||(t&&J(v,"top:"+n.offsetTop+"px;left:"+n.offsetLeft+"px;height:"+n.clientHeight+"px;width:"+n.clientWidth+"px"),n.parentElement[t?B:R](v),f=t)}function G(t){t&&(b.innerHTML=t),J(g,"opacity:"+(t?"1;pointer-events:auto":"0"))}function q(t){!~I.indexOf(t)&&I.push(t)}function Y(t){if(f&&W(),O&&O(),"string"==typeof t)return K(),$.onError?$.onError():alert("Error: The requested "+t+" could not be loaded.");k&&q(d),r.style.cssText+=N(),J(o,"opacity:1;pointer-events:auto"),S&&(S=setTimeout(S,410)),_=!0,x=!!E,setTimeout((function(){r.style.cssText+="transition:transform .35s;transform:none",y&&setTimeout(G,250,y)}),60)}function X(t){var e=t?t.target:o,n=[g,w,s,l,b,j,T,v];e.blur(),C||~n.indexOf(e)||(r.style.cssText+=N(),J(o,"pointer-events:auto"),setTimeout(K,350),clearTimeout(S),_=!1,C=!0)}function K(){if((r===c?u:r).removeAttribute("src"),document.body[R](o),o[R](r),J(o,""),J(r,""),G(!1),x){for(var t=o.querySelectorAll("img"),e=0;e<t.length;e++)o[R](t[e]);f&&o[R](v),o[R](A),x=E=!1,L={},D||o[R](T),D||o[R](j),a.onload=Y,a.onerror=Y.bind(null,"image")}$.onClose&&$.onClose(),C=f=!1}function J(t,e){t.style.cssText=e}t.exports=function(t){var e;return i||function(){var t,e;function n(t){var e=document[F]("button");return e.className=t,e.innerHTML='<svg viewBox="0 0 48 48"><path d="M28 24L47 5a3 3 0 1 0-4-4L24 20 5 1a3 3 0 1 0-4 4l19 19L1 43a3 3 0 1 0 4 4l19-19 19 19a3 3 0 0 0 4 0v-4L28 24z"/></svg>',e}function d(t,e){var n=document[F]("button");return n.className="bp-lr",n.innerHTML='<svg viewBox="0 0 129 129" height="70" fill="#fff"><path d="M88.6 121.3c.8.8 1.8 1.2 2.9 1.2s2.1-.4 2.9-1.2a4.1 4.1 0 0 0 0-5.8l-51-51 51-51a4.1 4.1 0 0 0-5.8-5.8l-54 53.9a4.1 4.1 0 0 0 0 5.8l54 53.9z"/></svg>',J(n,e),n.onclick=function(e){e.stopPropagation(),U(t)},n}var h=document[F]("STYLE");h.innerHTML="#bp_caption,#bp_container{bottom:0;left:0;right:0;position:fixed;opacity:0}#bp_container>*,#bp_loader{position:absolute;right:0;z-index:10}#bp_container,#bp_caption,#bp_container svg{pointer-events:none}#bp_container{top:0;z-index:9999;background:rgba(0,0,0,.7);opacity:0;transition:opacity .35s}#bp_loader{top:0;left:0;bottom:0;display:flex;align-items:center;cursor:wait;background:0;z-index:9}#bp_loader svg{width:50%;max-width:300px;max-height:50%;margin:auto;animation:bpturn 1s infinite linear}#bp_aud,#bp_container img,#bp_sv,#bp_vid{user-select:none;max-height:96%;max-width:96%;top:0;bottom:0;left:0;margin:auto;box-shadow:0 0 3em rgba(0,0,0,.4);z-index:-1}#bp_sv{background:#111}#bp_sv svg{width:66px}#bp_caption{font-size:.9em;padding:1.3em;background:rgba(15,15,15,.94);color:#fff;text-align:center;transition:opacity .3s}#bp_aud{width:650px;top:calc(50% - 20px);bottom:auto;box-shadow:none}#bp_count{left:0;right:auto;padding:14px;color:rgba(255,255,255,.7);font-size:22px;cursor:default}#bp_container button{position:absolute;border:0;outline:0;background:0;cursor:pointer;transition:all .1s}#bp_container>.bp-x{padding:0;height:41px;width:41px;border-radius:100%;top:8px;right:14px;opacity:.8;line-height:1}#bp_container>.bp-x:focus,#bp_container>.bp-x:hover{background:rgba(255,255,255,.2)}.bp-x svg,.bp-xc svg{height:21px;width:20px;fill:#fff;vertical-align:top;}.bp-xc svg{width:16px}#bp_container .bp-xc{left:2%;bottom:100%;padding:9px 20px 7px;background:#d04444;border-radius:2px 2px 0 0;opacity:.85}#bp_container .bp-xc:focus,#bp_container .bp-xc:hover{opacity:1}.bp-lr{top:50%;top:calc(50% - 130px);padding:99px 0;width:6%;background:0;border:0;opacity:.4;transition:opacity .1s}.bp-lr:focus,.bp-lr:hover{opacity:.8}@keyframes bpf{50%{transform:translatex(15px)}100%{transform:none}}@keyframes bpl{50%{transform:translatex(-15px)}100%{transform:none}}@keyframes bpfl{0%{opacity:0;transform:translatex(70px)}100%{opacity:1;transform:none}}@keyframes bpfr{0%{opacity:0;transform:translatex(-70px)}100%{opacity:1;transform:none}}@keyframes bpfol{0%{opacity:1;transform:none}100%{opacity:0;transform:translatex(-70px)}}@keyframes bpfor{0%{opacity:1;transform:none}100%{opacity:0;transform:translatex(70px)}}@keyframes bpturn{0%{transform:none}100%{transform:rotate(360deg)}}@media (max-width:600px){.bp-lr{font-size:15vw}}",document.head[B](h),(o=document[F]("DIV")).id="bp_container",o.onclick=X,p=n("bp-x"),o[B](p),"ontouchend"in window&&window.visualViewport&&(D=!0,o.ontouchstart=function(n){var i=n.touches,o=n.changedTouches;e=i.length>1,t=o[0].pageX},o.ontouchend=function(n){var i=n.changedTouches;if(x&&!e&&window.visualViewport.scale<=1){var o=i[0].pageX-t;o<-30&&U(1),o>30&&U(-1)}});a=document[F]("IMG"),(s=document[F]("VIDEO")).id="bp_vid",s.setAttribute("playsinline",!0),s.controls=!0,s.loop=!0,(l=document[F]("audio")).id="bp_aud",l.controls=!0,l.loop=!0,(A=document[F]("span")).id="bp_count",(g=document[F]("DIV")).id="bp_caption",(w=n("bp-xc")).onclick=G.bind(null,!1),g[B](w),b=document[F]("SPAN"),g[B](b),o[B](g),T=d(1,"transform:scalex(-1)"),j=d(-1,"left:0;right:auto"),(v=document[F]("DIV")).id="bp_loader",v.innerHTML='<svg viewbox="0 0 32 32" fill="#fff" opacity=".8"><path d="M16 0a16 16 0 0 0 0 32 16 16 0 0 0 0-32m0 4a12 12 0 0 1 0 24 12 12 0 0 1 0-24" fill="#000" opacity=".5"/><path d="M16 0a16 16 0 0 1 16 16h-4A12 12 0 0 0 16 4z"/></svg>',(c=document[F]("DIV")).id="bp_sv",(u=document[F]("IFRAME")).setAttribute("allowfullscreen",!0),u.allow="autoplay; fullscreen",u.onload=function(){return c[R](v)},J(u,"border:0;position:absolute;height:100%;width:100%;left:0;top:0"),c[B](u),a.onload=Y,a.onerror=Y.bind(null,"image"),window.addEventListener("resize",(function(){x||f&&W(!0),r===c&&H()})),document.addEventListener("keyup",(function(t){var e=t.keyCode;27===e&&_&&X(),x&&(39===e&&U(1),37===e&&U(-1),38===e&&U(10),40===e&&U(-10))})),document.addEventListener("keydown",(function(t){x&&~[37,38,39,40].indexOf(t.keyCode)&&t.preventDefault()})),document.addEventListener("focus",(function(t){_&&!o.contains(t.target)&&(t.stopPropagation(),p.focus())}),!0),i=!0}(),f&&(clearTimeout(m),K()),$=t,h=t.ytSrc||t.vimeoSrc,O=t.animationStart,S=t.animationEnd,P=t.onChangeImage,n=t.el,k=!1,y=n.getAttribute("data-caption"),t.gallery?function(t,e){var i=$.galleryAttribute||"data-bp";if(Array.isArray(t))E=t,y=t[M=e||0].caption;else{var s=(E=[].slice.call("string"==typeof t?document.querySelectorAll(t+" ["+i+"]"):t)).indexOf(n);M=0===e||e?e:-1!==s?s:0,E=E.map((function(t){return{el:t,src:t.getAttribute(i),caption:t.getAttribute("data-caption")}}))}k=!0,d=E[M].src,!~I.indexOf(d)&&W(!0),E.length>1?(o[B](A),A.innerHTML=M+1+"/"+E.length,D||(o[B](T),o[B](j))):E=!1;(r=a).src=d}(t.gallery,t.position):h||t.iframeSrc?(r=c,function(){var t;$.ytSrc?t="https://www.youtube"+($.ytNoCookie?"-nocookie":"")+".com/embed/"+h+"?html5=1&rel=0&playsinline=1&autoplay=1":$.vimeoSrc?t="https://player.vimeo.com/video/"+h+"?autoplay=1":$.iframeSrc&&(t=$.iframeSrc);J(v,""),c[B](v),u.src=t,H(),setTimeout(Y,9)}()):t.imgSrc?(k=!0,d=t.imgSrc,!~I.indexOf(d)&&W(!0),(r=a).src=d):t.audio?(W(!0),(r=l).src=t.audio,V("audio file")):t.vidSrc?(W(!0),t.dimensions&&J(s,"width:"+t.dimensions[0]+"px"),e=t.vidSrc,Array.isArray(e)?(r=s.cloneNode(),e.forEach((function(t){var e=document[F]("SOURCE");e.src=t,e.type="video/"+t.match(/.(\w+)$/)[1],r[B](e)}))):(r=s).src=e,V("video")):(r=a).src="IMG"===n.tagName?n.src:window.getComputedStyle(n).backgroundImage.replace(/^url|[(|)|'|"]/g,""),o[B](r),document.body[B](o),{close:X,opts:$,updateDimensions:H,display:r,next:function(){return U(1)},prev:function(){return U(-1)}}}},NmtT:function(t,e,n){var i=n("yHON"),o=n("yNUO"),r=n("4Toj"),a=n("F809"),s=n("Us+F");t.exports=function(t,e,n){var l=n||{},c=i(t,e),u=l.locale,d=s.distanceInWords.localize;u&&u.distanceInWords&&u.distanceInWords.localize&&(d=u.distanceInWords.localize);var p,h,f={addSuffix:Boolean(l.addSuffix),comparison:c};c>0?(p=o(t),h=o(e)):(p=o(e),h=o(t));var m,v=r(h,p),g=h.getTimezoneOffset()-p.getTimezoneOffset(),b=Math.round(v/60)-g;if(b<2)return l.includeSeconds?v<5?d("lessThanXSeconds",5,f):v<10?d("lessThanXSeconds",10,f):v<20?d("lessThanXSeconds",20,f):v<40?d("halfAMinute",null,f):d(v<60?"lessThanXMinutes":"xMinutes",1,f):0===b?d("lessThanXMinutes",1,f):d("xMinutes",b,f);if(b<45)return d("xMinutes",b,f);if(b<90)return d("aboutXHours",1,f);if(b<1440)return d("aboutXHours",Math.round(b/60),f);if(b<2520)return d("xDays",1,f);if(b<43200)return d("xDays",Math.round(b/1440),f);if(b<86400)return d("aboutXMonths",m=Math.round(b/43200),f);if((m=a(h,p))<12)return d("xMonths",Math.round(b/43200),f);var y=m%12,w=Math.floor(m/12);return y<3?d("aboutXYears",w,f):y<9?d("overXYears",w,f):d("almostXYears",w+1,f)}},OCAn:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.content-label-wrapper[data-v-5e63aaf2] {\n\tposition: relative;\n}\n.content-label[data-v-5e63aaf2] {\n\tmargin: 0;\n\tposition: absolute;\n\ttop:50%;\n\tleft:50%;\n\ttransform: translate(-50%, -50%);\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\tjustify-content: center;\n\twidth: 100%;\n\theight: 100%;\n\tz-index: 2;\n\tbackground: rgba(0, 0, 0, 0.2)\n}\n",""])},OtPv:function(t,e,n){t.exports=function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e=/[a-z]{1,6}(?:[._][a-z]{1,2})?/i,n=/\!'#%&'\(\)*\+,\\\-\.\/:;<=>\?@\[\]\^_{|}~\$/,i=function(t,e,n){return n=n||"","string"!=typeof t&&(t.global&&n.indexOf("g")<0&&(n+="g"),t.ignoreCase&&n.indexOf("i")<0&&(n+="i"),t.multiline&&n.indexOf("m")<0&&(n+="m"),t=t.source),new RegExp(t.replace(/#\{(\w+)\}/g,(function(t,n){var i=e[n]||"";return"string"!=typeof i&&(i=i.source),i})),n)},o=/\x09-\x0D\x20\x85\xA0\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000/,r=i(/[#{spacesGroup}]/,{spacesGroup:o}),a=i("(^|#{spaces})(\\$)(#{cashtag})(?=$|\\s|[#{punct}])",{cashtag:e,spaces:r,punct:n},"gi"),s=function(t){if(!t||-1===t.indexOf("$"))return[];var e=[];return t.replace(a,(function(t,n,i,o,r,a){var s=r+n.length,l=s+o.length+1;e.push({cashtag:o,indices:[s,l]})})),e},l=/[##]/,c=i(/^(?:#{hashSigns}|:\/\/)/,{hashSigns:l}),u=i(RegExp("(?:(?:한국|香港|澳門|新加坡|台灣|台湾|中國|中国|გე|ไทย|ලංකා|ഭാരതം|ಭಾರತ|భారత్|சிங்கப்பூர்|இலங்கை|இந்தியா|ଭାରତ|ભારત|ਭਾਰਤ|ভাৰত|ভারত|বাংলা|भारोत|भारतम्|भारत|ڀارت|پاکستان|موريتانيا|مليسيا|مصر|قطر|فلسطين|عمان|عراق|سورية|سودان|تونس|بھارت|بارت|ایران|امارات|المغرب|السعودية|الجزائر|الاردن|հայ|қаз|укр|срб|рф|мон|мкд|ею|бел|бг|ελ|zw|zm|za|yt|ye|ws|wf|vu|vn|vi|vg|ve|vc|va|uz|uy|us|um|uk|ug|ua|tz|tw|tv|tt|tr|tp|to|tn|tm|tl|tk|tj|th|tg|tf|td|tc|sz|sy|sx|sv|su|st|ss|sr|so|sn|sm|sl|sk|sj|si|sh|sg|se|sd|sc|sb|sa|rw|ru|rs|ro|re|qa|py|pw|pt|ps|pr|pn|pm|pl|pk|ph|pg|pf|pe|pa|om|nz|nu|nr|np|no|nl|ni|ng|nf|ne|nc|na|mz|my|mx|mw|mv|mu|mt|ms|mr|mq|mp|mo|mn|mm|ml|mk|mh|mg|mf|me|md|mc|ma|ly|lv|lu|lt|ls|lr|lk|li|lc|lb|la|kz|ky|kw|kr|kp|kn|km|ki|kh|kg|ke|jp|jo|jm|je|it|is|ir|iq|io|in|im|il|ie|id|hu|ht|hr|hn|hm|hk|gy|gw|gu|gt|gs|gr|gq|gp|gn|gm|gl|gi|gh|gg|gf|ge|gd|gb|ga|fr|fo|fm|fk|fj|fi|eu|et|es|er|eh|eg|ee|ec|dz|do|dm|dk|dj|de|cz|cy|cx|cw|cv|cu|cr|co|cn|cm|cl|ck|ci|ch|cg|cf|cd|cc|ca|bz|by|bw|bv|bt|bs|br|bq|bo|bn|bm|bl|bj|bi|bh|bg|bf|be|bd|bb|ba|az|ax|aw|au|at|as|ar|aq|ao|an|am|al|ai|ag|af|ae|ad|ac)(?=[^0-9a-zA-Z@]|$))")),d=/\uFFFE\uFEFF\uFFFF\u202A-\u202E/,p=function(t,e){return t.replace(/#\{(\w+)\}/g,(function(t,n){return e[n]||""}))},h=p("#{punct}#{spacesGroup}#{invalidCharsGroup}",{punct:n,spacesGroup:o,invalidCharsGroup:d}),f=i(/[^#{invalidDomainChars}]/,{invalidDomainChars:h}),m=i(/(?:(?:#{validDomainChars}(?:-|#{validDomainChars})*)?#{validDomainChars}\.)/,{validDomainChars:f}),v=i(RegExp("(?:(?:삼성|닷컴|닷넷|香格里拉|餐厅|食品|飞利浦|電訊盈科|集团|通販|购物|谷歌|诺基亚|联通|网络|网站|网店|网址|组织机构|移动|珠宝|点看|游戏|淡马锡|机构|書籍|时尚|新闻|政府|政务|手表|手机|我爱你|慈善|微博|广东|工行|家電|娱乐|天主教|大拿|大众汽车|在线|嘉里大酒店|嘉里|商标|商店|商城|公益|公司|八卦|健康|信息|佛山|企业|中文网|中信|世界|ポイント|ファッション|セール|ストア|コム|グーグル|クラウド|みんな|คอม|संगठन|नेट|कॉम|همراه|موقع|موبايلي|كوم|كاثوليك|عرب|شبكة|بيتك|بازار|العليان|ارامكو|اتصالات|ابوظبي|קום|сайт|рус|орг|онлайн|москва|ком|католик|дети|zuerich|zone|zippo|zip|zero|zara|zappos|yun|youtube|you|yokohama|yoga|yodobashi|yandex|yamaxun|yahoo|yachts|xyz|xxx|xperia|xin|xihuan|xfinity|xerox|xbox|wtf|wtc|wow|world|works|work|woodside|wolterskluwer|wme|winners|wine|windows|win|williamhill|wiki|wien|whoswho|weir|weibo|wedding|wed|website|weber|webcam|weatherchannel|weather|watches|watch|warman|wanggou|wang|walter|walmart|wales|vuelos|voyage|voto|voting|vote|volvo|volkswagen|vodka|vlaanderen|vivo|viva|vistaprint|vista|vision|visa|virgin|vip|vin|villas|viking|vig|video|viajes|vet|versicherung|vermögensberatung|vermögensberater|verisign|ventures|vegas|vanguard|vana|vacations|ups|uol|uno|university|unicom|uconnect|ubs|ubank|tvs|tushu|tunes|tui|tube|trv|trust|travelersinsurance|travelers|travelchannel|travel|training|trading|trade|toys|toyota|town|tours|total|toshiba|toray|top|tools|tokyo|today|tmall|tkmaxx|tjx|tjmaxx|tirol|tires|tips|tiffany|tienda|tickets|tiaa|theatre|theater|thd|teva|tennis|temasek|telefonica|telecity|tel|technology|tech|team|tdk|tci|taxi|tax|tattoo|tatar|tatamotors|target|taobao|talk|taipei|tab|systems|symantec|sydney|swiss|swiftcover|swatch|suzuki|surgery|surf|support|supply|supplies|sucks|style|study|studio|stream|store|storage|stockholm|stcgroup|stc|statoil|statefarm|statebank|starhub|star|staples|stada|srt|srl|spreadbetting|spot|spiegel|space|soy|sony|song|solutions|solar|sohu|software|softbank|social|soccer|sncf|smile|smart|sling|skype|sky|skin|ski|site|singles|sina|silk|shriram|showtime|show|shouji|shopping|shop|shoes|shiksha|shia|shell|shaw|sharp|shangrila|sfr|sexy|sex|sew|seven|ses|services|sener|select|seek|security|secure|seat|search|scot|scor|scjohnson|science|schwarz|schule|school|scholarships|schmidt|schaeffler|scb|sca|sbs|sbi|saxo|save|sas|sarl|sapo|sap|sanofi|sandvikcoromant|sandvik|samsung|samsclub|salon|sale|sakura|safety|safe|saarland|ryukyu|rwe|run|ruhr|rugby|rsvp|room|rogers|rodeo|rocks|rocher|rmit|rip|rio|ril|rightathome|ricoh|richardli|rich|rexroth|reviews|review|restaurant|rest|republican|report|repair|rentals|rent|ren|reliance|reit|reisen|reise|rehab|redumbrella|redstone|red|recipes|realty|realtor|realestate|read|raid|radio|racing|qvc|quest|quebec|qpon|pwc|pub|prudential|pru|protection|property|properties|promo|progressive|prof|productions|prod|pro|prime|press|praxi|pramerica|post|porn|politie|poker|pohl|pnc|plus|plumbing|playstation|play|place|pizza|pioneer|pink|ping|pin|pid|pictures|pictet|pics|piaget|physio|photos|photography|photo|phone|philips|phd|pharmacy|pfizer|pet|pccw|pay|passagens|party|parts|partners|pars|paris|panerai|panasonic|pamperedchef|page|ovh|ott|otsuka|osaka|origins|orientexpress|organic|org|orange|oracle|open|ooo|onyourside|online|onl|ong|one|omega|ollo|oldnavy|olayangroup|olayan|okinawa|office|off|observer|obi|nyc|ntt|nrw|nra|nowtv|nowruz|now|norton|northwesternmutual|nokia|nissay|nissan|ninja|nikon|nike|nico|nhk|ngo|nfl|nexus|nextdirect|next|news|newholland|new|neustar|network|netflix|netbank|net|nec|nba|navy|natura|nationwide|name|nagoya|nadex|nab|mutuelle|mutual|museum|mtr|mtpc|mtn|msd|movistar|movie|mov|motorcycles|moto|moscow|mortgage|mormon|mopar|montblanc|monster|money|monash|mom|moi|moe|moda|mobily|mobile|mobi|mma|mls|mlb|mitsubishi|mit|mint|mini|mil|microsoft|miami|metlife|merckmsd|meo|menu|men|memorial|meme|melbourne|meet|media|med|mckinsey|mcdonalds|mcd|mba|mattel|maserati|marshalls|marriott|markets|marketing|market|map|mango|management|man|makeup|maison|maif|madrid|macys|luxury|luxe|lupin|lundbeck|ltda|ltd|lplfinancial|lpl|love|lotto|lotte|london|lol|loft|locus|locker|loans|loan|lixil|living|live|lipsy|link|linde|lincoln|limo|limited|lilly|like|lighting|lifestyle|lifeinsurance|life|lidl|liaison|lgbt|lexus|lego|legal|lefrak|leclerc|lease|lds|lawyer|law|latrobe|latino|lat|lasalle|lanxess|landrover|land|lancome|lancia|lancaster|lamer|lamborghini|ladbrokes|lacaixa|kyoto|kuokgroup|kred|krd|kpn|kpmg|kosher|komatsu|koeln|kiwi|kitchen|kindle|kinder|kim|kia|kfh|kerryproperties|kerrylogistics|kerryhotels|kddi|kaufen|juniper|juegos|jprs|jpmorgan|joy|jot|joburg|jobs|jnj|jmp|jll|jlc|jio|jewelry|jetzt|jeep|jcp|jcb|java|jaguar|iwc|iveco|itv|itau|istanbul|ist|ismaili|iselect|irish|ipiranga|investments|intuit|international|intel|int|insure|insurance|institute|ink|ing|info|infiniti|industries|immobilien|immo|imdb|imamat|ikano|iinet|ifm|ieee|icu|ice|icbc|ibm|hyundai|hyatt|hughes|htc|hsbc|how|house|hotmail|hotels|hoteles|hot|hosting|host|hospital|horse|honeywell|honda|homesense|homes|homegoods|homedepot|holiday|holdings|hockey|hkt|hiv|hitachi|hisamitsu|hiphop|hgtv|hermes|here|helsinki|help|healthcare|health|hdfcbank|hdfc|hbo|haus|hangout|hamburg|hair|guru|guitars|guide|guge|gucci|guardian|group|grocery|gripe|green|gratis|graphics|grainger|gov|got|gop|google|goog|goodyear|goodhands|goo|golf|goldpoint|gold|godaddy|gmx|gmo|gmbh|gmail|globo|global|gle|glass|glade|giving|gives|gifts|gift|ggee|george|genting|gent|gea|gdn|gbiz|garden|gap|games|game|gallup|gallo|gallery|gal|fyi|futbol|furniture|fund|fun|fujixerox|fujitsu|ftr|frontier|frontdoor|frogans|frl|fresenius|free|fox|foundation|forum|forsale|forex|ford|football|foodnetwork|food|foo|fly|flsmidth|flowers|florist|flir|flights|flickr|fitness|fit|fishing|fish|firmdale|firestone|fire|financial|finance|final|film|fido|fidelity|fiat|ferrero|ferrari|feedback|fedex|fast|fashion|farmers|farm|fans|fan|family|faith|fairwinds|fail|fage|extraspace|express|exposed|expert|exchange|everbank|events|eus|eurovision|etisalat|esurance|estate|esq|erni|ericsson|equipment|epson|epost|enterprises|engineering|engineer|energy|emerck|email|education|edu|edeka|eco|eat|earth|dvr|dvag|durban|dupont|duns|dunlop|duck|dubai|dtv|drive|download|dot|doosan|domains|doha|dog|dodge|doctor|docs|dnp|diy|dish|discover|discount|directory|direct|digital|diet|diamonds|dhl|dev|design|desi|dentist|dental|democrat|delta|deloitte|dell|delivery|degree|deals|dealer|deal|dds|dclk|day|datsun|dating|date|data|dance|dad|dabur|cyou|cymru|cuisinella|csc|cruises|cruise|crs|crown|cricket|creditunion|creditcard|credit|courses|coupons|coupon|country|corsica|coop|cool|cookingchannel|cooking|contractors|contact|consulting|construction|condos|comsec|computer|compare|company|community|commbank|comcast|com|cologne|college|coffee|codes|coach|clubmed|club|cloud|clothing|clinique|clinic|click|cleaning|claims|cityeats|city|citic|citi|citadel|cisco|circle|cipriani|church|chrysler|chrome|christmas|chloe|chintai|cheap|chat|chase|channel|chanel|cfd|cfa|cern|ceo|center|ceb|cbs|cbre|cbn|cba|catholic|catering|cat|casino|cash|caseih|case|casa|cartier|cars|careers|career|care|cards|caravan|car|capitalone|capital|capetown|canon|cancerresearch|camp|camera|cam|calvinklein|call|cal|cafe|cab|bzh|buzz|buy|business|builders|build|bugatti|budapest|brussels|brother|broker|broadway|bridgestone|bradesco|box|boutique|bot|boston|bostik|bosch|boots|booking|book|boo|bond|bom|bofa|boehringer|boats|bnpparibas|bnl|bmw|bms|blue|bloomberg|blog|blockbuster|blanco|blackfriday|black|biz|bio|bingo|bing|bike|bid|bible|bharti|bet|bestbuy|best|berlin|bentley|beer|beauty|beats|bcn|bcg|bbva|bbt|bbc|bayern|bauhaus|basketball|baseball|bargains|barefoot|barclays|barclaycard|barcelona|bar|bank|band|bananarepublic|banamex|baidu|baby|azure|axa|aws|avianca|autos|auto|author|auspost|audio|audible|audi|auction|attorney|athleta|associates|asia|asda|arte|art|arpa|army|archi|aramco|arab|aquarelle|apple|app|apartments|aol|anz|anquan|android|analytics|amsterdam|amica|amfam|amex|americanfamily|americanexpress|alstom|alsace|ally|allstate|allfinanz|alipay|alibaba|alfaromeo|akdn|airtel|airforce|airbus|aigo|aig|agency|agakhan|africa|afl|afamilycompany|aetna|aero|aeg|adult|ads|adac|actor|active|aco|accountants|accountant|accenture|academy|abudhabi|abogado|able|abc|abbvie|abbott|abb|abarth|aarp|aaa|onion)(?=[^0-9a-zA-Z@]|$))")),g=/(?:xn--[\-0-9a-z]+)/,b=i(/(?:(?:#{validDomainChars}(?:[_-]|#{validDomainChars})*)?#{validDomainChars}\.)/,{validDomainChars:f}),y=i(/(?:#{validSubdomain}*#{validDomainName}(?:#{validGTLD}|#{validCCTLD}|#{validPunycode}))/,{validDomainName:m,validSubdomain:b,validGTLD:v,validCCTLD:u,validPunycode:g}),w=/[0-9]+/,_=/\u0400-\u04FF/,x=/\xC0-\xD6\xD8-\xF6\xF8-\xFF\u0100-\u024F\u0253\u0254\u0256\u0257\u0259\u025B\u0263\u0268\u026F\u0272\u0289\u028B\u02BB\u0300-\u036F\u1E00-\u1EFF/,C=i(/[a-z#{cyrillicLettersAndMarks}0-9!\*';:=\+,\.\$\/%#\[\]\-\u2013_~@\|&#{latinAccentChars}]/i,{cyrillicLettersAndMarks:_,latinAccentChars:x}),k=i("\\((?:#{validGeneralUrlPathChars}+|(?:#{validGeneralUrlPathChars}*\\(#{validGeneralUrlPathChars}+\\)#{validGeneralUrlPathChars}*))\\)",{validGeneralUrlPathChars:C},"i"),O=i(/[\+\-a-z#{cyrillicLettersAndMarks}0-9=_#\/#{latinAccentChars}]|(?:#{validUrlBalancedParens})/i,{cyrillicLettersAndMarks:_,latinAccentChars:x,validUrlBalancedParens:k}),S=i("(?:(?:#{validGeneralUrlPathChars}*(?:#{validUrlBalancedParens}#{validGeneralUrlPathChars}*)*#{validUrlPathEndingChars})|(?:@#{validGeneralUrlPathChars}+/))",{validGeneralUrlPathChars:C,validUrlBalancedParens:k,validUrlPathEndingChars:O},"i"),P=i(/(?:[^A-Za-z0-9@@$###{invalidCharsGroup}]|^)/,{invalidCharsGroup:d}),T=/[a-z0-9!?\*'@\(\);:&=\+\$\/%#\[\]\-_\.,~|]/i,j=/[a-z0-9\-_&=#\/]/i,M=i("((#{validUrlPrecedingChars})((https?:\\/\\/)?(#{validDomain})(?::(#{validPortNumber}))?(\\/#{validUrlPath}*)?(\\?#{validUrlQueryChars}*#{validUrlQueryEndingChars})?))",{validUrlPrecedingChars:P,validDomain:y,validPortNumber:w,validUrlPath:S,validUrlQueryChars:T,validUrlQueryEndingChars:j},"gi"),E=/[-_.\/]$/,A=i(/(?:(?:[\-a-z0-9#{latinAccentChars}]+)\.)+(?:#{validGTLD}|#{validCCTLD}|#{validPunycode})/gi,{latinAccentChars:x,validGTLD:v,validCCTLD:u,validPunycode:g}),D=function(e){if("xn--"!==e.substring(0,4)||e.match(A)){for(var n=e.split("."),i=0;i<n.length;i++){var o=n[i],r=t.toASCII(o);if(r.length<1||r.length>63)return}return n.join(".")}},$=/^https?:\/\/t\.co\/([a-z0-9]+)/i,I={extractUrlsWithoutProtocol:!0},L=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I;if(!t||(e.extractUrlsWithoutProtocol?!t.match(/\./):!t.match(/:/)))return[];for(var n=[],i=function(){var t=RegExp.$2,i=RegExp.$3,o=RegExp.$4,r=RegExp.$5,a=RegExp.$7,s=M.lastIndex,l=s-i.length;if(!B(i,o||"https://",r))return"continue";if(o){if(i.match($)){var c=RegExp.$1;if(c&&c.length>40)return"continue";i=RegExp.lastMatch,s=l+i.length}n.push({url:i,indices:[l,s]})}else{if(!e.extractUrlsWithoutProtocol||t.match(E))return"continue";var u=null,d=0;if(r.replace(A,(function(t){var e=r.indexOf(t,d);d=e+t.length,u={url:t,indices:[l+e,l+d]},n.push(u)})),null==u)return"continue";a&&(u.url=i.replace(r,u.url),u.indices[1]=s)}};M.exec(t);)i();return n},B=function(t,e,n){var i=t.length,o=D(n);return!(!o||!o.length)&&(i=i+o.length-n.length,e.length+i<=4096)},F=function(t){t.sort((function(t,e){return t.indices[0]-e.indices[0]}));for(var e=t[0],n=1;n<t.length;n++)e.indices[1]>t[n].indices[0]?(t.splice(n,1),n--):e=t[n]},R=/\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\uddfd\ude80-\ude9c\udea0-\uded0\udee0\udf00-\udf1f\udf30-\udf40\udf42-\udf49\udf50-\udf7a\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf]|\ud801[\udc00-\udc9d\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe\uddbf\ude00-\ude03\ude05\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude33\ude38-\ude3a\ude3f\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee6\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48]|\ud804[\udc00-\udc46\udc7f-\udcba\udcd0-\udce8\udd00-\udd34\udd50-\udd73\udd76\udd80-\uddc4\uddda\ude00-\ude11\ude13-\ude37\udeb0-\udeea\udf01-\udf03\udf05-\udf0c\udf0f\udf10\udf13-\udf28\udf2a-\udf30\udf32\udf33\udf35-\udf39\udf3c-\udf44\udf47\udf48\udf4b-\udf4d\udf57\udf5d-\udf63\udf66-\udf6c\udf70-\udf74]|\ud805[\udc80-\udcc5\udcc7\udd80-\uddb5\uddb8-\uddc0\ude00-\ude40\ude44\ude80-\udeb7]|\ud806[\udca0-\udcdf\udcff\udec0-\udef8]|\ud808[\udc00-\udf98]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud81a[\udc00-\ude38\ude40-\ude5e\uded0-\udeed\udef0-\udef4\udf00-\udf36\udf40-\udf43\udf63-\udf77\udf7d-\udf8f]|\ud81b[\udf00-\udf44\udf50-\udf7e\udf8f-\udf9f]|\ud82c[\udc00\udc01]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9d\udc9e]|\ud834[\udd65-\udd69\udd6d-\udd72\udd7b-\udd82\udd85-\udd8b\uddaa-\uddad\ude42-\ude44]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e\udc9f\udca2\udca5\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb]|\ud83a[\udc00-\udcc4\udcd0-\udcd6]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d]|\ud87e[\udc00-\ude1d]|\udb40[\udd00-\uddef]/,N=/A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u052f\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u05d0-\u05ea\u05f0-\u05f2\u0610-\u061a\u0620-\u065f\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06ef\u06fa-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07ca-\u07f5\u07fa\u0800-\u082d\u0840-\u085b\u08a0-\u08b2\u08e4-\u0963\u0971-\u0983\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7\u09c8\u09cb-\u09ce\u09d7\u09dc\u09dd\u09df-\u09e3\u09f0\u09f1\u0a01-\u0a03\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a70-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0b01-\u0b03\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b5c\u0b5d\u0b5f-\u0b63\u0b71\u0b82\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0c00-\u0c03\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c58\u0c59\u0c60-\u0c63\u0c81-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0cde\u0ce0-\u0ce3\u0cf1\u0cf2\u0d01-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d57\u0d60-\u0d63\u0d7a-\u0d7f\u0d82\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb9\u0ebb-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0edc-\u0edf\u0f00\u0f18\u0f19\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u103f\u1050-\u108f\u109a-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16f1-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772\u1773\u1780-\u17d3\u17d7\u17dc\u17dd\u180b-\u180d\u1820-\u1877\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f\u1aa7\u1ab0-\u1abe\u1b00-\u1b4b\u1b6b-\u1b73\u1b80-\u1baf\u1bba-\u1bf3\u1c00-\u1c37\u1c4d-\u1c4f\u1c5a-\u1c7d\u1cd0-\u1cd2\u1cd4-\u1cf6\u1cf8\u1cf9\u1d00-\u1df5\u1dfc-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u20d0-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2183\u2184\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u2e2f\u3005\u3006\u302a-\u302f\u3031-\u3035\u303b\u303c\u3041-\u3096\u3099\u309a\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua672\ua674-\ua67d\ua67f-\ua69d\ua69f-\ua6e5\ua6f0\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua7ad\ua7b0\ua7b1\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c4\ua8e0-\ua8f7\ua8fb\ua90a-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf\ua9e0-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab5f\uab64\uab65\uabc0-\uabea\uabec\uabed\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf870-\uf87f\uf882\uf884-\uf89f\uf8b8\uf8c1-\uf8d6\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2d\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc/,U=/[\uD800-\uDBFF][\uDC00-\uDFFF]/gm,z=i(/(?:[#{bmpLetterAndMarks}]|(?=#{nonBmpCodePairs})(?:#{astralLetterAndMarks}))/,{bmpLetterAndMarks:N,nonBmpCodePairs:U,astralLetterAndMarks:R}),H=/\ud801[\udca0-\udca9]|\ud804[\udc66-\udc6f\udcf0-\udcf9\udd36-\udd3f\uddd0-\uddd9\udef0-\udef9]|\ud805[\udcd0-\udcd9\ude50-\ude59\udec0-\udec9]|\ud806[\udce0-\udce9]|\ud81a[\ude60-\ude69\udf50-\udf59]|\ud835[\udfce-\udfff]/,V=/0-9\u0660-\u0669\u06f0-\u06f9\u07c0-\u07c9\u0966-\u096f\u09e6-\u09ef\u0a66-\u0a6f\u0ae6-\u0aef\u0b66-\u0b6f\u0be6-\u0bef\u0c66-\u0c6f\u0ce6-\u0cef\u0d66-\u0d6f\u0de6-\u0def\u0e50-\u0e59\u0ed0-\u0ed9\u0f20-\u0f29\u1040-\u1049\u1090-\u1099\u17e0-\u17e9\u1810-\u1819\u1946-\u194f\u19d0-\u19d9\u1a80-\u1a89\u1a90-\u1a99\u1b50-\u1b59\u1bb0-\u1bb9\u1c40-\u1c49\u1c50-\u1c59\ua620-\ua629\ua8d0-\ua8d9\ua900-\ua909\ua9d0-\ua9d9\ua9f0-\ua9f9\uaa50-\uaa59\uabf0-\uabf9\uff10-\uff19/,W=/_\u200c\u200d\ua67e\u05be\u05f3\u05f4\uff5e\u301c\u309b\u309c\u30a0\u30fb\u3003\u0f0b\u0f0c\xb7/,G=i(/(?:[#{bmpLetterAndMarks}#{bmpNumerals}#{hashtagSpecialChars}]|(?=#{nonBmpCodePairs})(?:#{astralLetterAndMarks}|#{astralNumerals}))/,{bmpLetterAndMarks:N,bmpNumerals:V,hashtagSpecialChars:W,nonBmpCodePairs:U,astralLetterAndMarks:R,astralNumerals:H}),q=/(?:[^\uD800-\uDFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF])/,Y=i(/(?:^|\uFE0E|\uFE0F|$|(?!#{hashtagAlphaNumeric}|&)#{codePoint})/,{codePoint:q,hashtagAlphaNumeric:G}),X=i(/(#{hashtagBoundary})(#{hashSigns})(?!\uFE0F|\u20E3)(#{hashtagAlphaNumeric}*#{hashtagAlpha}#{hashtagAlphaNumeric}*)/gi,{hashtagBoundary:Y,hashSigns:l,hashtagAlphaNumeric:G,hashtagAlpha:z}),K=function(t,e){if(e||(e={checkUrlOverlap:!0}),!t||!t.match(l))return[];var n=[];if(t.replace(X,(function(t,e,i,o,r,a){if(!a.slice(r+t.length).match(c)){var s=r+e.length,l=s+o.length+1;n.push({hashtag:o,indices:[s,l]})}})),e.checkUrlOverlap){var i=L(t);if(i.length>0){var o=n.concat(i);F(o),n=[];for(var r=0;r<o.length;r++)o[r].hashtag&&n.push(o[r])}}return n},J=/[@@]/,Z=i(/^(?:#{atSigns}|[#{latinAccentChars}]|:\/\/)/,{atSigns:J,latinAccentChars:x}),Q=/(?:^|[^a-zA-Z0-9_!#$%&*@@]|(?:^|[^a-zA-Z0-9_+~.-])(?:rt|RT|rT|Rt):?)/,tt=i("(#{validMentionPrecedingChars})(#{atSigns})([a-zA-Z0-9_]{1,20})(/[a-zA-Z][a-zA-Z0-9_-]{0,24})?",{validMentionPrecedingChars:Q,atSigns:J},"g"),et=function(t){if(!t||!t.match(J))return[];var e=[];return t.replace(tt,(function(t,n,i,o,r,a,s){if(!s.slice(a+t.length).match(Z)){r=r||"";var l=a+n.length,c=l+o.length+r.length+1;e.push({screenName:o,listSlug:r,indices:[l,c]})}})),e},nt=function(t,e){var n=L(t,e).concat(et(t)).concat(K(t,{checkUrlOverlap:!1})).concat(s(t));return 0==n.length?[]:(F(n),n)},it=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},ot={disabled:!0,readonly:!0,multiple:!0,checked:!0},rt={urlClass:!0,listClass:!0,usernameClass:!0,hashtagClass:!0,cashtagClass:!0,usernameUrlBase:!0,listUrlBase:!0,hashtagUrlBase:!0,cashtagUrlBase:!0,usernameUrlBlock:!0,listUrlBlock:!0,hashtagUrlBlock:!0,linkUrlBlock:!0,usernameIncludeSymbol:!0,suppressLists:!0,suppressNoFollow:!0,targetBlank:!0,suppressDataScreenName:!0,urlEntities:!0,symbolTag:!0,textWithSymbolTag:!0,urlTarget:!0,invisibleTagAttrs:!0,linkAttributeBlock:!0,linkTextBlock:!0,htmlEscapeNonEntities:!0},at=function(t){var e={};for(var n in t){var i=t[n];rt[n]||(ot[n]&&(i=i?n:null),null!=i&&(e[n]=i))}return e},st={"&":"&",">":">","<":"<",'"':""","'":"'"},lt=function(t){return t&&t.replace(/[&"'><]/g,(function(t){return st[t]}))},ct={disabled:!0,readonly:!0,multiple:!0,checked:!0},ut=function(t){var e="";for(var n in t){var i=t[n];ct[n]&&(i=i?n:null),null!=i&&(e+=" "+lt(n)+'="'+lt(i.toString())+'"')}return e},dt=function(t,e,n,i){i.suppressNoFollow||(n.rel="nofollow"),i.linkAttributeBlock&&i.linkAttributeBlock(t,n),i.linkTextBlock&&(e=i.linkTextBlock(t,e));var o={text:e,attr:ut(n)};return p("<a#{attr}>#{text}</a>",o)},pt=function(t,e,n,i,o){var r=o.symbolTag?"<"+o.symbolTag+">"+e+"</"+o.symbolTag+">":e;n=lt(n);var a=o.textWithSymbolTag?"<"+o.textWithSymbolTag+">"+n+"</"+o.textWithSymbolTag+">":n;return o.usernameIncludeSymbol||!e.match(J)?dt(t,r+a,i,o):r+dt(t,a,i,o)},ht=function(t,e,n){var i=lt(t.cashtag),o=it(n.htmlAttrs||{});return o.href=n.cashtagUrlBase+i,o.title="$"+i,o.class=n.cashtagClass,n.targetBlank&&(o.target="_blank"),pt(t,"$",i,o,n)},ft=/[\u0600-\u06FF]|[\u0750-\u077F]|[\u0590-\u05FF]|[\uFE70-\uFEFF]/gm,mt=function(t,e,n){var i=e.substring(t.indices[0],t.indices[0]+1),o=lt(t.hashtag),r=it(n.htmlAttrs||{});return r.href=n.hashtagUrlBase+o,r.title="#"+o,r.class=n.hashtagClass,o.charAt(0).match(ft)&&(r.class+=" rtl"),n.targetBlank&&(r.target="_blank"),pt(t,i,o,r,n)},vt=function(t,e){var n=t.display_url,i=t.expanded_url,o=n.replace(/…/g,"");if(-1!=i.indexOf(o)){var r=i.indexOf(o),a={displayUrlSansEllipses:o,beforeDisplayUrl:i.substr(0,r),afterDisplayUrl:i.substr(r+o.length),precedingEllipsis:n.match(/^…/)?"…":"",followingEllipsis:n.match(/…$/)?"…":""};for(var s in a)a.hasOwnProperty(s)&&(a[s]=lt(a[s]));return a.invisible=e.invisibleTagAttrs,p("<span class='tco-ellipsis'>#{precedingEllipsis}<span #{invisible}> </span></span><span #{invisible}>#{beforeDisplayUrl}</span><span class='js-display-url'>#{displayUrlSansEllipses}</span><span #{invisible}>#{afterDisplayUrl}</span><span class='tco-ellipsis'><span #{invisible}> </span>#{followingEllipsis}</span>",a)}return n},gt=/^https?:\/\//i,bt=function(t,e,n){var i=t.url,o=lt(i),r=n.urlEntities&&n.urlEntities[i]||t;r.display_url&&(o=vt(r,n));var a=it(n.htmlAttrs||{});return i.match(gt)||(i="http://"+i),a.href=i,n.targetBlank&&(a.target="_blank"),n.urlClass&&(a.class=n.urlClass),n.urlTarget&&(a.target=n.urlTarget),!n.title&&r.display_url&&(a.title=r.expanded_url),dt(t,o,a,n)},yt=function(t,e,n){var i=e.substring(t.indices[0],t.indices[0]+1),o=lt(t.screenName),r=lt(t.listSlug),a=t.listSlug&&!n.suppressLists,s=it(n.htmlAttrs||{});return s.class=a?n.listClass:n.usernameClass,s.href=a?n.listUrlBase+o+r:n.usernameUrlBase+o,a||n.suppressDataScreenName||(s["data-screen-name"]=o),n.targetBlank&&(s.target="_blank"),pt(t,i,a?o+r:o,s,n)},wt=function(t,e,n){var i,o;if((n=it(n||{})).hashtagClass=n.hashtagClass||"tweet-url hashtag",n.hashtagUrlBase=n.hashtagUrlBase||"https://twitter.com/search?q=%23",n.cashtagClass=n.cashtagClass||"tweet-url cashtag",n.cashtagUrlBase=n.cashtagUrlBase||"https://twitter.com/search?q=%24",n.listClass=n.listClass||"tweet-url list-slug",n.usernameClass=n.usernameClass||"tweet-url username",n.usernameUrlBase=n.usernameUrlBase||"https://twitter.com/",n.listUrlBase=n.listUrlBase||"https://twitter.com/",n.htmlAttrs=at(n),n.invisibleTagAttrs=n.invisibleTagAttrs||"style='position:absolute;left:-9999px;'",n.urlEntities){for(i={},l=0,o=n.urlEntities.length;l<o;l++)i[n.urlEntities[l].url]=n.urlEntities[l];n.urlEntities=i}var r="",a=0;e.sort((function(t,e){return t.indices[0]-e.indices[0]}));for(var s=n.htmlEscapeNonEntities?lt:function(t){return t},l=0;l<e.length;l++){var c=e[l];r+=s(t.substring(a,c.indices[0])),c.url?r+=bt(c,0,n):c.hashtag?r+=mt(c,t,n):c.screenName?r+=yt(c,t,n):c.cashtag&&(r+=ht(c,0,n)),a=c.indices[1]}return r+=s(t.substring(a,t.length))},_t=function(t,e,n){if(0!==e.length){var i=0,o=0;e.sort((function(t,e){return t.indices[0]-e.indices[0]}));for(var r=0,a=e[0];i<t.length;){if(a.indices[0]===(n?i:o)){var s=a.indices[1]-a.indices[0];if(a.indices[0]=n?o:i,a.indices[1]=a.indices[0]+s,++r===e.length)break;a=e[r]}var l=t.charCodeAt(i);l>=55296&&l<=56319&&i<t.length-1&&(l=t.charCodeAt(i+1))>=56320&&l<=57343&&i++,o++,i++}}},xt=function(t,e){_t(t,e,!1)},Ct={version:2,maxWeightedTweetLength:280,scale:100,defaultWeight:200,transformedURLLength:23,ranges:[{start:0,end:4351,weight:100},{start:8192,end:8205,weight:100},{start:8208,end:8223,weight:100},{start:8242,end:8247,weight:100}]},kt={defaults:Ct,version1:{version:1,maxWeightedTweetLength:140,scale:1,defaultWeight:1,transformedURLLength:23,ranges:[]},version2:Ct},Ot=function(t){for(var e=[],n=K(t),i=0;i<n.length;i++)e.push(n[i].hashtag);return e},St=function(t){for(var e=[],n=void 0,i=et(t),o=0;o<i.length;o++)""===(n=i[o]).listSlug&&e.push({screenName:n.screenName,indices:n.indices});return e},Pt=function(t){for(var e=[],n=St(t),i=0;i<n.length;i++){var o=n[i].screenName;e.push(o)}return e},Tt=i(/^(?:#{spaces})*#{atSigns}([a-zA-Z0-9_]{1,20})/,{atSigns:J,spaces:r}),jt=function(t,e){var n=e.defaultWeight,i=e.ranges,o=n,r=t.charCodeAt(0);if(Array.isArray(i))for(var a=0,s=i.length;a<s;a++){var l=i[a];if(r>=l.start&&r<=l.end){o=l.weight;break}}return o},Mt=i(/[#{invalidCharsGroup}]/,{invalidCharsGroup:d}),Et=function(t){return Mt.test(t)},At=(function(){function t(t){this.value=t}function e(e){var n,i;function o(n,i){try{var a=e[n](i),s=a.value;s instanceof t?Promise.resolve(s.value).then((function(t){o("next",t)}),(function(t){o("throw",t)})):r(a.done?"return":"normal",a.value)}catch(t){r("throw",t)}}function r(t,e){switch(t){case"return":n.resolve({value:e,done:!0});break;case"throw":n.reject(e);break;default:n.resolve({value:e,done:!1})}(n=n.next)?o(n.key,n.arg):i=null}this._invoke=function(t,e){return new Promise((function(r,a){var s={key:t,arg:e,resolve:r,reject:a,next:null};i?i=i.next=s:(n=i=s,o(t,e))}))},"function"!=typeof e.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(e.prototype[Symbol.asyncIterator]=function(){return this}),e.prototype.next=function(t){return this._invoke("next",t)},e.prototype.throw=function(t){return this._invoke("throw",t)},e.prototype.return=function(t){return this._invoke("return",t)}}(),Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}),Dt=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:kt.defaults,n=At({},kt.defaults,e),i=(n.defaultWeight,n.scale),o=n.maxWeightedTweetLength,r=n.transformedURLLength,a="function"==typeof String.prototype.normalize?t.normalize():t,s=L(a),l=a.length,c=0,u=0,d=!0,p=function(t){var e=s.filter((function(e){return e.indices[0]===t}))[0];if(e){var l=e.url;c+=r*i,t+=l.length-1}else $t(a,t)&&(t+=1),c+=jt(a.charAt(t),n);d&&(d=!Et(a.substring(t,t+1))),d&&c<=o*i&&(u=t),h=t},h=0;h<l;h++)p(h);c/=i,d=d&&c>0&&c<=o;var f=Math.floor(c/o*1e3),m=t.length-a.length;return{weightedLength:c,valid:d,permillage:f,validRangeStart:0,validRangeEnd:u+=m,displayRangeStart:0,displayRangeEnd:t.length>0?t.length-1:0}},$t=function(t,e){if(e<t.length-1){var n=t.charCodeAt(e),i=t.charCodeAt(e+1);return 55296<=n&&n<=56319&&56320<=i&&i<=57343}return!1},It=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:kt.defaults;return Dt(t,e).weightedLength},Lt=function(t){for(var e=t.split("<"),n=void 0,i=[],o=void 0,r=0;r<e.length;r+=1)if(o=e[r]){n=o.split(">");for(var a=0;a<n.length;a+=1)i.push(n[a])}else i.push("");return i},Bt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:kt.defaults;if(!t)return"empty";var n=At({},kt.defaults,e),i=n.maxWeightedTweetLength;return It(t,n)>i?"too_long":!!Et(t)&&"invalid_characters"},Ft=i(/^#{validMentionOrList}$/,{validMentionOrList:tt}),Rt=/[a-z\u0400-\u04FF0-9\-._~]/i,Nt=/(?:%[0-9a-f]{2})/i,Ut=/[!$&'()*+,;=]/i,zt=i("(?:#{validateUrlUnreserved}|#{validateUrlPctEncoded}|#{validateUrlSubDelims}|:)*",{validateUrlUnreserved:Rt,validateUrlPctEncoded:Nt,validateUrlSubDelims:Ut},"i"),Ht=/(?:[a-z0-9](?:[a-z0-9\-]*[a-z0-9])?)/i,Vt=/(?:[a-z](?:[a-z0-9\-]*[a-z0-9])?)/i,Wt=/(?:[a-z0-9](?:[a-z0-9_\-]*[a-z0-9])?)/i,Gt=i(/(?:(?:#{validateUrlSubDomainSegment}\.)*(?:#{validateUrlDomainSegment}\.)#{validateUrlDomainTld})/i,{validateUrlSubDomainSegment:Wt,validateUrlDomainSegment:Ht,validateUrlDomainTld:Vt}),qt=/(?:[0-9]|(?:[1-9][0-9])|(?:1[0-9]{2})|(?:2[0-4][0-9])|(?:25[0-5]))/i,Yt=i(/(?:#{validateUrlDecOctet}(?:\.#{validateUrlDecOctet}){3})/i,{validateUrlDecOctet:qt}),Xt=/(?:\[[a-f0-9:\.]+\])/i,Kt=i("(?:#{validateUrlIpv4}|#{validateUrlIpv6})",{validateUrlIpv4:Yt,validateUrlIpv6:Xt},"i"),Jt=i("(?:#{validateUrlIp}|#{validateUrlDomain})",{validateUrlIp:Kt,validateUrlDomain:Gt},"i"),Zt=/[0-9]{1,5}/,Qt=i("(?:(#{validateUrlUserinfo})@)?(#{validateUrlHost})(?::(#{validateUrlPort}))?",{validateUrlUserinfo:zt,validateUrlHost:Jt,validateUrlPort:Zt},"i"),te=i("(?:#{validateUrlUnreserved}|#{validateUrlPctEncoded}|#{validateUrlSubDelims}|[:|@])",{validateUrlUnreserved:Rt,validateUrlPctEncoded:Nt,validateUrlSubDelims:Ut},"i"),ee=i(/(#{validateUrlPchar}|\/|\?)*/i,{validateUrlPchar:te}),ne=i(/(\/#{validateUrlPchar}*)*/i,{validateUrlPchar:te}),ie=i(/(#{validateUrlPchar}|\/|\?)*/i,{validateUrlPchar:te}),oe=/(?:[a-z][a-z0-9+\-.]*)/i,re=i("^(?:([^:/?#]+):\\/\\/)?([^/?#]*)([^?#]*)(?:\\?([^#]*))?(?:#(.*))?$","i"),ae=/(?:(?:[a-z0-9]|[^\u0000-\u007f])(?:(?:[a-z0-9_\-]|[^\u0000-\u007f])*(?:[a-z0-9]|[^\u0000-\u007f]))?)/i,se=/(?:(?:[a-z0-9]|[^\u0000-\u007f])(?:(?:[a-z0-9\-]|[^\u0000-\u007f])*(?:[a-z0-9]|[^\u0000-\u007f]))?)/i,le=/(?:(?:[a-z]|[^\u0000-\u007f])(?:(?:[a-z0-9\-]|[^\u0000-\u007f])*(?:[a-z0-9]|[^\u0000-\u007f]))?)/i,ce=i(/(?:(?:#{validateUrlUnicodeSubDomainSegment}\.)*(?:#{validateUrlUnicodeDomainSegment}\.)#{validateUrlUnicodeDomainTld})/i,{validateUrlUnicodeSubDomainSegment:ae,validateUrlUnicodeDomainSegment:se,validateUrlUnicodeDomainTld:le}),ue=i("(?:#{validateUrlIp}|#{validateUrlUnicodeDomain})",{validateUrlIp:Kt,validateUrlUnicodeDomain:ce},"i"),de=i("(?:(#{validateUrlUserinfo})@)?(#{validateUrlUnicodeHost})(?::(#{validateUrlPort}))?",{validateUrlUserinfo:zt,validateUrlUnicodeHost:ue,validateUrlPort:Zt},"i");function pe(t,e,n){return n?!t||t.match(e)&&RegExp["$&"]===t:"string"==typeof t&&t.match(e)&&RegExp["$&"]===t}return"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),i=1;i<arguments.length;i++){var o=arguments[i];if(null!=o)for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n[r]=o[r])}return n},writable:!0,configurable:!0}),{autoLink:function(t,e){var n=nt(t,{extractUrlsWithoutProtocol:!1});return wt(t,n,e)},autoLinkCashtags:function(t,e){var n=s(t);return wt(t,n,e)},autoLinkEntities:wt,autoLinkHashtags:function(t,e){var n=K(t);return wt(t,n,e)},autoLinkUrlsCustom:function(t,e){var n=L(t,{extractUrlsWithoutProtocol:!1});return wt(t,n,e)},autoLinkUsernamesOrLists:function(t,e){var n=et(t);return wt(t,n,e)},autoLinkWithJSON:function(t,e,n){if(e.user_mentions)for(var i=0;i<e.user_mentions.length;i++)e.user_mentions[i].screenName=e.user_mentions[i].screen_name;if(e.hashtags)for(i=0;i<e.hashtags.length;i++)e.hashtags[i].hashtag=e.hashtags[i].text;if(e.symbols)for(i=0;i<e.symbols.length;i++)e.symbols[i].cashtag=e.symbols[i].text;var o=[];for(var r in e)o=o.concat(e[r]);return xt(t,o),wt(t,o,n)},configs:kt,convertUnicodeIndices:function(t,e,n){if(0!=e.length){var i=0,o=0;e.sort((function(t,e){return t.indices[0]-e.indices[0]}));for(var r=0,a=e[0];i<t.length;){if(a.indices[0]==(n?i:o)){var s=a.indices[1]-a.indices[0];if(a.indices[0]=n?o:i,a.indices[1]=a.indices[0]+s,++r==e.length)break;a=e[r]}var l=t.charCodeAt(i);l>=55296&&l<=56319&&i<t.length-1&&(l=t.charCodeAt(i+1))>=56320&&l<=57343&&i++,o++,i++}}},extractCashtags:function(t){for(var e=[],n=s(t),i=0;i<n.length;i++)e.push(n[i].cashtag);return e},extractCashtagsWithIndices:s,extractEntitiesWithIndices:nt,extractHashtags:Ot,extractHashtagsWithIndices:K,extractHtmlAttrsFromOptions:at,extractMentions:Pt,extractMentionsOrListsWithIndices:et,extractMentionsWithIndices:St,extractReplies:function(t){if(!t)return null;var e=t.match(Tt);return!e||RegExp.rightContext.match(Z)?null:e[1]},extractUrls:function(t,e){for(var n=[],i=L(t,e),o=0;o<i.length;o++)n.push(i[o].url);return n},extractUrlsWithIndices:L,getTweetLength:It,getUnicodeTextLength:function(t){return t.replace(U," ").length},hasInvalidCharacters:Et,hitHighlight:function(t,e,n){if(n=n||{},0===(e=e||[]).length)return t;var i=n.tag||"em",o=["<"+i+">","</"+i+">"],r=Lt(t),a=void 0,s=void 0,l="",c=0,u=r[0],d=0,p=0,h=!1,f=u,m=[],v=void 0,g=void 0,b=void 0,y=void 0,w=void 0;for(a=0;a<e.length;a+=1)for(s=0;s<e[a].length;s+=1)m.push(e[a][s]);for(v=0;v<m.length;v+=1){for(g=m[v],b=o[v%2],y=!1;null!=u&&g>=d+u.length;)l+=f.slice(p),h&&g===d+f.length&&(l+=b,y=!0),r[c+1]&&(l+="<"+r[c+1]+">"),d+=f.length,p=0,f=u=r[c+=2],h=!1;y||null==u?y||(y=!0,l+=b):(w=g-d,l+=f.slice(p,w)+b,p=w,h=v%2==0)}if(null!=u)for(p<f.length&&(l+=f.slice(p)),v=c+1;v<r.length;v+=1)l+=v%2==0?r[v]:"<"+r[v]+">";return l},htmlEscape:lt,isInvalidTweet:Bt,isValidHashtag:function(t){if(!t)return!1;var e=Ot(t);return 1===e.length&&e[0]===t.slice(1)},isValidList:function(t){var e=t.match(Ft);return!(!e||""!=e[1]||!e[4])},isValidTweetText:function(t,e){return!Bt(t,e)},isValidUrl:function(t,e,n){if(null==e&&(e=!0),null==n&&(n=!0),!t)return!1;var i=t.match(re);if(!i||i[0]!==t)return!1;var o=i[1],r=i[2],a=i[3],s=i[4],l=i[5];return!!((!n||pe(o,oe)&&o.match(/^https?$/i))&&pe(a,ne)&&pe(s,ie,!0)&&pe(l,ee,!0))&&(e&&pe(r,de)||!e&&pe(r,Qt))},isValidUsername:function(t){if(!t)return!1;var e=Pt(t);return 1===e.length&&e[0]===t.slice(1)},linkTextWithEntity:vt,linkToCashtag:ht,linkToHashtag:mt,linkToMentionAndList:yt,linkToText:dt,linkToTextWithSymbol:pt,linkToUrl:bt,modifyIndicesFromUTF16ToUnicode:function(t,e){_t(t,e,!0)},modifyIndicesFromUnicodeToUTF16:xt,regexen:{astralLetterAndMarks:R,astralNumerals:H,atSigns:J,bmpLetterAndMarks:N,bmpNumerals:V,cashtag:e,codePoint:q,cyrillicLettersAndMarks:_,endHashtagMatch:c,endMentionMatch:Z,hashSigns:l,hashtagAlpha:z,hashtagAlphaNumeric:G,hashtagBoundary:Y,hashtagSpecialChars:W,invalidChars:Mt,invalidCharsGroup:d,invalidDomainChars:h,invalidUrlWithoutProtocolPrecedingChars:E,latinAccentChars:x,nonBmpCodePairs:U,punct:n,rtlChars:ft,spaces:r,spacesGroup:o,urlHasHttps:/^https:\/\//i,urlHasProtocol:gt,validAsciiDomain:A,validateUrlAuthority:Qt,validateUrlDecOctet:qt,validateUrlDomain:Gt,validateUrlDomainSegment:Ht,validateUrlDomainTld:Vt,validateUrlFragment:ee,validateUrlHost:Jt,validateUrlIp:Kt,validateUrlIpv4:Yt,validateUrlIpv6:Xt,validateUrlPath:ne,validateUrlPchar:te,validateUrlPctEncoded:Nt,validateUrlPort:Zt,validateUrlQuery:ie,validateUrlScheme:oe,validateUrlSubDelims:Ut,validateUrlSubDomainSegment:Wt,validateUrlUnencoded:re,validateUrlUnicodeAuthority:de,validateUrlUnicodeDomain:ce,validateUrlUnicodeDomainSegment:se,validateUrlUnicodeDomainTld:le,validateUrlUnicodeHost:ue,validateUrlUnicodeSubDomainSegment:ae,validateUrlUnreserved:Rt,validateUrlUserinfo:zt,validCashtag:a,validCCTLD:u,validDomain:y,validDomainChars:f,validDomainName:m,validGeneralUrlPathChars:C,validGTLD:v,validHashtag:X,validMentionOrList:tt,validMentionPrecedingChars:Q,validPortNumber:w,validPunycode:g,validReply:Tt,validSubdomain:b,validTcoUrl:$,validUrlBalancedParens:k,validUrlPath:S,validUrlPathEndingChars:O,validUrlPrecedingChars:P,validUrlQueryChars:T,validUrlQueryEndingChars:j},removeOverlappingEntities:F,parseTweet:Dt,splitTags:Lt,tagAttrs:ut}}(n("GYWy"))},PjaB:function(t,e,n){"use strict";n("T7If")},Pk8W:function(t,e,n){"use strict";n("aEiZ")},"Po//":function(t,e,n){"use strict";n("Ute1")},QQqD:function(t,e,n){var i=n("5+fz");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},"QX/O":function(t,e,n){"use strict";n("pN/7")},Qidn:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-groups-component .form-check[data-v-1f784a2c] {\n margin-left: 1rem;\n}\n.account-groups-component .form-check .media-body[data-v-1f784a2c] {\n margin-left: 1rem;\n}\n.account-groups-component .nav-link[data-v-1f784a2c] {\n color: #B8C2CC;\n font-size: 12px;\n font-weight: 600;\n text-transform: uppercase;\n}\n.account-groups-component .nav-link.active[data-v-1f784a2c] {\n color: #000;\n}",""])},QviT:function(t,e,n){"use strict";n("6Olv")},R6kn:function(t){t.exports=JSON.parse('{"common":{"comment":"Comentar","commented":"Comentari","comments":"Comentaris","like":"M\'agrada","liked":"M\'ha agradat","likes":"\\"M\'agrada\\"","share":"Comparteix","shared":"S\'han compartit","shares":"S\'han compartit","unshare":"Deixa de compartir","cancel":"Cancel·la","copyLink":"Copia l\'enllaç","delete":"Esborra","error":"Error","errorMsg":"Alguna cosa ha anat malament. Siusplau, intenta-ho més tard.","oops":"Uix!","other":"Altres","readMore":"Llegiu-ne més","success":"Completat amb èxit","sensitive":"Sensible","sensitiveContent":"Contingut sensible","sensitiveContentWarning":"Aquest article pot contenir contingut sensible"},"site":{"terms":"Condicions d\'ús","privacy":"Política de Privacitat"},"navmenu":{"search":"Cercar","admin":"Tauler d\'Administració","homeFeed":"Línia de temps principal","localFeed":"Línia de temps local","globalFeed":"Línia de temps global","discover":"Descobrir","directMessages":"Missatges directes","notifications":"Notificacions","groups":"Grups","stories":"Històries","profile":"Perfil","drive":"Unitat","settings":"Paràmetres","compose":"Crea un nou","logout":"Logout","about":"Quant a","help":"Ajuda","language":"Idioma","privacy":"Privacitat","terms":"Termes","backToPreviousDesign":"Tornar al disseny anterior"},"directMessages":{"inbox":"Safata d\'entrada","sent":"Enviat","requests":"Sol·licitud"},"notifications":{"liked":"li agrada la teva","commented":"comentat el teu","reacted":"ha reaccionat al teu","shared":"ha compartit la teva","tagged":"t\'ha etiquetat en una","updatedA":"actualitzat a","sentA":"enviat a","followed":"seguits","mentioned":"mencionat","you":"vostè","yourApplication":"La teva sol·licitud per unir-te","applicationApproved":"està aprovat!","applicationRejected":"ha estat rebutjat. Pots tornar a sol·licitar unir-te en 6 mesos.","dm":"md","groupPost":"publicacions al grup","modlog":"modlog","post":"publicació","story":"història"},"post":{"shareToFollowers":"Comparteix amb els seguidors","shareToOther":"Compartits per altres","noLikes":"Cap m\'agrada encara","uploading":"Carregant"},"profile":{"posts":"Publicacions","followers":"Seguidors","following":"Seguint","admin":"Administrador","collections":"Col·leccions","follow":"Segueix","unfollow":"Deixeu de seguir","editProfile":"Edita el teu perfil","followRequested":"Sol·licitud de seguidor","joined":"S\'ha unit","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"Veure publicació","viewProfile":"Mostra el perfil","moderationTools":"Eines de moderació","report":"Informe","archive":"Arxiu","unarchive":"Desarxiva","embed":"Incrusta","selectOneOption":"Seleccioneu una de les opcions següents","unlistFromTimelines":"Desllista de les línies de temps","addCW":"Afegeix advertència de contingut","removeCW":"Esborra advertència de contingut","markAsSpammer":"Marca com a brossa","markAsSpammerText":"Desllista + CW publicacions existents i futures","spam":"Contingut brossa","sensitive":"Contingut sensible","abusive":"Abusiu o nociu","underageAccount":"Compte de menors d\'edat","copyrightInfringement":"Infracció de drets d’autor","impersonation":"Suplantacions","scamOrFraud":"Estafa o Frau","confirmReport":"Confirma l\'informe","confirmReportText":"Esteu segur que voleu informar d\'aquesta publicació?","reportSent":"Informe enviat!","reportSentText":"Hem rebut correctament el vostre informe.","reportSentError":"Hi ha hagut un problema en informar d\'aquesta publicació.","modAddCWConfirm":"Confirmes que vols afegir un avís de contingut a aquesta publicació?","modCWSuccess":"Avís de contingut afegit correctament","modRemoveCWConfirm":"Confirmes que vols esborrar un avís de contingut d\'aquesta publicació?","modRemoveCWSuccess":"Avís de contingut esborrat correctament","modUnlistConfirm":"Esteu segur que voleu desllistar d\'aquesta publicació?","modUnlistSuccess":"Entrada desllistada amb èxit","modMarkAsSpammerConfirm":"Esteu segur que voleu marcar aquest usuari com a brossa? Totes les publicacions existents i futures no apareixeran a les cronologies i s\'aplicarà un avís de contingut.","modMarkAsSpammerSuccess":"El compte s\'ha marcat correctament com a brossa","toFollowers":"els seguidors","showCaption":"Mostra el subtítol","showLikes":"Mostra els m\'agrada","compactMode":"Mode Compacte","embedConfirmText":"En utilitzar aquesta inserció, accepteu el nostre","deletePostConfirm":"Esteu segur que voleu suprimir aquesta publicació?","archivePostConfirm":"Segur que voleu arxivar aquesta publicació?","unarchivePostConfirm":"Segur que voleu desarxivar aquesta publicació?"},"story":{"add":"Afegir història"},"timeline":{"peopleYouMayKnow":"Gent que potser coneixes"},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"}}')},RIlz:function(t,e,n){var i=n("0dhX");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},RePV:function(t,e,n){"use strict";n("dfRi")},RlRG:function(t,e,n){"use strict";n.r(e);var i={data:function(){return{authenticated:!1,loaded:!1,config:window.App.config,posts:{},trending:{},trendingDaily:{},trendingMonthly:{},searchTerm:"",trendingRange:"daily",trendingLoading:!0,recommendedLoading:!0}},beforeMount:function(){this.authenticated=$("body").hasClass("loggedIn")},mounted:function(){this.loaded=!0,this.loadTrending(),1==$("body").hasClass("loggedIn")&&(this.fetchData(),axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(t){window._sharedData.curUser=t.data,window.App.util.navatar()})))},methods:{fetchData:function(){var t=this;this.recommendedLoading&&axios.get("/api/v1/discover/posts").then((function(e){t.posts=e.data.posts.filter((function(t){return null!=t})),t.recommendedLoading=!1}))},searchSubmit:function(){this.searchTerm.length>1&&(window.location.href="/i/results?q="+this.searchTerm)},loadTrending:function(){var t=this;"daily"==this.trendingRange&&this.trendingDaily.length&&(this.trending=this.trendingDaily,this.trendingLoading=!1),"monthly"==this.trendingRange&&this.trendingMonthly.length&&(this.trending=this.trendingMonthly,this.trendingLoading=!1),axios.get("/api/pixelfed/v2/discover/posts/trending",{params:{range:this.trendingRange}}).then((function(e){var n=e.data.filter((function(t){return null!==t}));"daily"==t.trendingRange&&(t.trendingDaily=n.filter((function(t){return 0==t.sensitive}))),"monthly"==t.trendingRange&&(t.trendingMonthly=n.filter((function(t){return 0==t.sensitive}))),t.trending=n,t.trendingLoading=!1}))},trendingRangeToggle:function(t){this.trendingLoading=!0,this.trendingRange=t,this.loadTrending()},formatCount:function(t){return App.util.format.count(t)}}},o=n("KHd+"),r=Object(o.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.loaded?n("div",[t.authenticated?n("div",{staticClass:"d-block d-md-none border-top-0 pt-3"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchTerm,expression:"searchTerm"}],staticClass:"form-control rounded-pill shadow-sm",attrs:{placeholder:"Search"},domProps:{value:t.searchTerm},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchSubmit.apply(null,arguments)},input:function(e){e.target.composing||(t.searchTerm=e.target.value)}}})]):t._e(),t._v(" "),n("section",{staticClass:"mt-3 mb-5 section-explore"},[n("div",{staticClass:"profile-timeline"},[n("div",{staticClass:"row p-0 mt-5"},[n("div",{staticClass:"col-12 mb-3 d-flex justify-content-between align-items-center"},[n("p",{staticClass:"d-block d-md-none h1 font-weight-bold mb-0"},[t._v("Trending")]),t._v(" "),n("p",{staticClass:"d-none d-md-block display-4 font-weight-bold mb-0"},[t._v("Trending")]),t._v(" "),n("div",[n("div",{staticClass:"btn-group"},[n("button",{class:"daily"==t.trendingRange?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.trendingRangeToggle("daily")}}},[t._v("Daily")]),t._v(" "),n("button",{class:"monthly"==t.trendingRange?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.trendingRangeToggle("monthly")}}},[t._v("Monthly")])])])])]),t._v(" "),t.trendingLoading?n("div",{staticClass:"row d-flex align-items-center justify-content-center bg-light border",staticStyle:{"min-height":"40vh"}},[t._m(1)]):n("div",{staticClass:"row p-0 d-flex"},t._l(t.trending.slice(0,12),(function(e,i){return t.trending.length?n("div",{staticClass:"col-4 p-1 p-sm-2 p-md-3 pt-0"},[n("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:e.url}},[n("div",{staticClass:"square"},[e.sensitive?n("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),n("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1):n("div",{staticClass:"square-content"},[n("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash,src:e.media_attachments[0].preview_url}})],1),t._v(" "),"photo:album"==e.pf_type?n("span",{staticClass:"float-right mr-3 post-icon"},[n("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.pf_type?n("span",{staticClass:"float-right mr-3 post-icon"},[n("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.pf_type?n("span",{staticClass:"float-right mr-3 post-icon"},[n("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),n("div",{staticClass:"info-overlay-text"},[n("h5",{staticClass:"text-white m-auto font-weight-bold"},[n("span",[n("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),n("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reply_count)))])])])])])])]):n("div",{staticClass:"col-12 d-flex align-items-center justify-content-center bg-light border",staticStyle:{"min-height":"40vh"}},[n("div",{staticClass:"h2"},[t._v("No posts found :(")])])})),0)])]),t._v(" "),t.authenticated?n("section",{staticClass:"pt-5 mb-5 section-explore"},[n("div",{staticClass:"profile-timeline pt-3"},[t._m(2),t._v(" "),t.recommendedLoading?n("div",{staticClass:"row d-flex align-items-center justify-content-center bg-light border",staticStyle:{"min-height":"40vh"}},[t._m(4)]):n("div",{staticClass:"row p-0 d-flex"},t._l(t.posts,(function(e,i){return t.posts.length?n("div",{key:"rmki:"+i,staticClass:"col-4 p-1 p-sm-2 p-md-3 pt-0"},[n("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:e.url}},[n("div",{staticClass:"square"},[e.sensitive?n("div",{staticClass:"square-content"},[t._m(3,!0),t._v(" "),n("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1):n("div",{staticClass:"square-content"},[n("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash,src:e.media_attachments[0].preview_url}})],1),t._v(" "),"photo:album"==e.pf_type?n("span",{staticClass:"float-right mr-3 post-icon"},[n("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.pf_type?n("span",{staticClass:"float-right mr-3 post-icon"},[n("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.pf_type?n("span",{staticClass:"float-right mr-3 post-icon"},[n("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),n("div",{staticClass:"info-overlay-text"},[n("h5",{staticClass:"text-white m-auto font-weight-bold"},[n("span",[n("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),n("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reply_count)))])])])])])])]):n("div",{staticClass:"col-12 d-flex align-items-center justify-content-center bg-light border",staticStyle:{"min-height":"40vh"}},[n("div",{staticClass:"h2"},[t._v("No posts found :(")])])})),0)])]):t._e()]):n("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"70vh"}},[n("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row p-0 mt-5"},[e("div",{staticClass:"col-12 mb-3 d-flex justify-content-between align-items-center"},[e("p",{staticClass:"d-block d-md-none h1 font-weight-bold mb-0"},[this._v("For You")]),this._v(" "),e("p",{staticClass:"d-none d-md-block display-4 font-weight-bold mb-0"},[this._v("For You")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[this._v("Loading...")])])}],!1,null,null,null);e.default=r.exports},Rs6V:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".timeline-onboarding .profile-hover-card-inner {\n width: 100%;\n}\n.timeline-onboarding .profile-hover-card-inner .d-flex {\n max-width: 100% !important;\n}",""])},S3ZO:function(t,e,n){"use strict";n("shsI")},S3hQ:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-accessibility-component .form-check[data-v-6fc7ca94] {\n margin-left: 1rem;\n}\n.account-accessibility-component .form-check .media-body[data-v-6fc7ca94] {\n margin-left: 1rem;\n}",""])},SZ2H:function(t,e,n){var i=n("Qidn");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},SdWe:function(t,e,n){"use strict";(function(e){!function(e){var n=/^(b|B)$/,i={iec:{bits:["b","Kib","Mib","Gib","Tib","Pib","Eib","Zib","Yib"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},o={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]};function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],a=0,s=void 0,l=void 0,c=void 0,u=void 0,d=void 0,p=void 0,h=void 0,f=void 0,m=void 0,v=void 0,g=void 0,b=void 0,y=void 0,w=void 0,_=void 0;if(isNaN(t))throw new Error("Invalid arguments");return c=!0===e.bits,g=!0===e.unix,l=e.base||2,v=void 0!==e.round?e.round:g?1:2,b=void 0!==e.separator&&e.separator||"",y=void 0!==e.spacer?e.spacer:g?"":" ",_=e.symbols||e.suffixes||{},w=2===l&&e.standard||"jedec",m=e.output||"string",d=!0===e.fullform,p=e.fullforms instanceof Array?e.fullforms:[],s=void 0!==e.exponent?e.exponent:-1,u=l>2?1e3:1024,(h=(f=Number(t))<0)&&(f=-f),(-1===s||isNaN(s))&&(s=Math.floor(Math.log(f)/Math.log(u)))<0&&(s=0),s>8&&(s=8),0===f?(r[0]=0,r[1]=g?"":i[w][c?"bits":"bytes"][s]):(a=f/(2===l?Math.pow(2,10*s):Math.pow(1e3,s)),c&&(a*=8)>=u&&s<8&&(a/=u,s++),r[0]=Number(a.toFixed(s>0?v:0)),r[1]=10===l&&1===s?c?"kb":"kB":i[w][c?"bits":"bytes"][s],g&&(r[1]="jedec"===w?r[1].charAt(0):s>0?r[1].replace(/B$/,""):r[1],n.test(r[1])&&(r[0]=Math.floor(r[0]),r[1]=""))),h&&(r[0]=-r[0]),r[1]=_[r[1]]||r[1],"array"===m?r:"exponent"===m?s:"object"===m?{value:r[0],suffix:r[1],symbol:r[1]}:(d&&(r[1]=p[s]?p[s]:o[w][s]+(c?"bit":"byte")+(1===r[0]?"":"s")),b.length>0&&(r[0]=r[0].toString().replace(".",b)),r.join(y))}r.partial=function(t){return function(e){return r(e,t)}},t.exports=r}("undefined"!=typeof window&&window)}).call(this,n("yLpj"))},T7If:function(t,e,n){var i=n("XJg5");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},TEt6:function(t,e,n){"use strict";n("aImd")},TpkP:function(t,e,n){"use strict";n("nonB")},TuLp:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-security-component .form-check[data-v-fac93e58] {\n margin-left: 1rem;\n}\n.account-security-component .form-check .media-body[data-v-fac93e58] {\n margin-left: 1rem;\n}",""])},U3gw:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".compose-simple-component {\n width: 100%;\n height: 600px;\n overflow: auto;\n}\n.compose-simple-component .step-segment {\n display: flex;\n width: 100%;\n height: 100%;\n justify-content: center;\n align-items: center;\n padding: 30px;\n}\n.compose-simple-component .step-segment h1.display-4 {\n letter-spacing: -0.05em;\n line-height: 0.9;\n font-weight: 700;\n}",""])},UQAc:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".avatar[data-v-5ae68d74] {\n border-radius: 15px;\n}\n.username[data-v-5ae68d74] {\n margin-bottom: -6px;\n}\n.btn-white[data-v-5ae68d74] {\n background-color: #fff;\n border: 1px solid #F3F4F6;\n}\n.sidebar[data-v-5ae68d74] {\n top: 90px;\n}",""])},URgk:function(t,e,n){(function(t){var i=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function r(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new r(o.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new r(o.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n("YBdB"),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n("yLpj"))},"US+e":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.fade-enter-active[data-v-267be4b0], .fade-leave-active[data-v-267be4b0] {\n transition: opacity .5s;\n}\n.fade-enter[data-v-267be4b0], .fade-leave-to[data-v-267be4b0] {\n opacity: 0;\n}\n",""])},Uc9x:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".discover-feed-component .info-overlay {\n border-radius: 15px !important;\n}\n.discover-feed-component .square-next img,\n.discover-feed-component .square-next .info-overlay-text {\n border-radius: 15px !important;\n}\n.discover-feed-component .trending-range .btn:hover:not(.btn-danger) {\n background-color: #fca5a5;\n}\n.discover-feed-component .info-overlay-text-field {\n font-size: 13.5px;\n margin-bottom: 2px;\n}\n@media (min-width: 768px) {\n.discover-feed-component .info-overlay-text-field {\n font-size: 20px;\n margin-bottom: 15px;\n}\n}",""])},UchI:function(t,e,n){"use strict";n.d(e,"b",(function(){return s}));var i=n("fjH8"),o=n("AjvE"),r=n("JdCH");const a=t=>{if(!t||t.length<6)throw new r.a("The blurhash string must be at least 6 characters");const e=Object(i.a)(t[0]),n=Math.floor(e/9)+1,o=e%9+1;if(t.length!==4+2*o*n)throw new r.a(`blurhash length mismatch: length is ${t.length} but it should be ${4+2*o*n}`)},s=t=>{try{a(t)}catch(t){return{result:!1,errorReason:t.message}}return{result:!0}},l=t=>{const e=t>>16,n=t>>8&255,i=255&t;return[Object(o.b)(e),Object(o.b)(n),Object(o.b)(i)]},c=(t,e)=>{const n=Math.floor(t/361),i=Math.floor(t/19)%19,r=t%19;return[Object(o.c)((n-9)/9,2)*e,Object(o.c)((i-9)/9,2)*e,Object(o.c)((r-9)/9,2)*e]};e.a=(t,e,n,r)=>{a(t),r|=1;const s=Object(i.a)(t[0]),u=Math.floor(s/9)+1,d=s%9+1,p=(Object(i.a)(t[1])+1)/166,h=new Array(d*u);for(let e=0;e<h.length;e++)if(0===e){const n=Object(i.a)(t.substring(2,6));h[e]=l(n)}else{const n=Object(i.a)(t.substring(4+2*e,6+2*e));h[e]=c(n,p*r)}const f=4*e,m=new Uint8ClampedArray(f*n);for(let t=0;t<n;t++)for(let i=0;i<e;i++){let r=0,a=0,s=0;for(let o=0;o<u;o++)for(let l=0;l<d;l++){const c=Math.cos(Math.PI*i*l/e)*Math.cos(Math.PI*t*o/n);let u=h[l+o*d];r+=u[0]*c,a+=u[1]*c,s+=u[2]*c}let l=Object(o.a)(r),c=Object(o.a)(a),p=Object(o.a)(s);m[4*i+0+t*f]=l,m[4*i+1+t*f]=c,m[4*i+2+t*f]=p,m[4*i+3+t*f]=255}return m}},Uq1p:function(t,e,n){var i=n("kyJc");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},"Us+F":function(t,e,n){var i=n("LZbM"),o=n("6DAA");t.exports={distanceInWords:i(),format:o()}},Ute1:function(t,e,n){var i=n("cdph");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},Uuqv:function(t,e,n){var i=n("AcoO");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},UzOw:function(t,e,n){var i=n("r6/h");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},V4y4:function(t,e,n){"use strict";n("uZ6O")},V8Te:function(t,e,n){var i=n("Uc9x");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},VBPq:function(t,e,n){var i=n("hvct");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},VEhT:function(t,e,n){"use strict";n("mZhp")},VGX7:function(t,e){t.exports=function(t){var e=new Date(t.getTime()),n=e.getTimezoneOffset();return e.setSeconds(0,0),6e4*n+e.getTime()%6e4}},VgfT:function(t,e,n){"use strict";n("CHrT")},Vzmo:function(t,e,n){var i=n("XegA");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},WqKl:function(t,e,n){"use strict";n("gLZq")},X1uE:function(t,e,n){"use strict";var i=n("XuX8"),o=n.n(i),r="undefined"!=typeof window,a="undefined"!=typeof document,s="undefined"!=typeof navigator,l="undefined"!=typeof Promise,c="undefined"!=typeof MutationObserver||"undefined"!=typeof WebKitMutationObserver||"undefined"!=typeof MozMutationObserver,u=r&&a&&s,d=r?window:{},p=a?document:{},h=s?navigator:{},f=(h.userAgent||"").toLowerCase(),m=f.indexOf("jsdom")>0,v=(/msie|trident/.test(f),function(){var t=!1;if(u)try{var e={get passive(){t=!0}};d.addEventListener("test",e,e),d.removeEventListener("test",e,e)}catch(e){t=!1}return t}()),g=u&&("ontouchstart"in p.documentElement||h.maxTouchPoints>0),b=u&&Boolean(d.PointerEvent||d.MSPointerEvent),y=u&&"IntersectionObserver"in d&&"IntersectionObserverEntry"in d&&"intersectionRatio"in d.IntersectionObserverEntry.prototype,w="$bvConfig",_=["xs","sm","md","lg","xl"],x=/\[(\d+)]/g,C=/^(BV?)/,k=/^\d+$/,O=/^\..+/,S=/^#/,P=/^#[A-Za-z]+[\w\-:.]*$/,T=/(<([^>]+)>)/gi,j=/\B([A-Z])/g,M=/([a-z])([A-Z])/g,E=/^[0-9]*\.?[0-9]+$/,A=/\+/g,D=/[-/\\^$*+?.()|[\]{}]/g,$=/[\s\uFEFF\xA0]+/g,I=/\s+/,L=/\/\*$/,B=/(\s|^)(\w)/g,F=/^\s+/,R=/_/g,N=/-(\w)/g,U=/^\d+-\d\d?-\d\d?(?:\s|T|$)/,z=/-|\s|T/,H=/^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/,V=/^.*(#[^#]+)$/,W=/%2C/g,G=/[!'()*]/g,q=/^(\?|#|&)/,Y=/^\d+(\.\d*)?[/:]\d+(\.\d*)?$/,X=/[/:]/,K=/^col-/,J=/^BIcon/,Z=/-u-.+/;function Q(t){return(Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function et(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&st(t,e)}function nt(t){var e=at();return function(){var n,i=lt(t);if(e){var o=lt(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return it(this,n)}}function it(t,e){return!e||"object"!==Q(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ot(t){var e="function"==typeof Map?new Map:void 0;return(ot=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,i)}function i(){return rt(t,arguments,lt(this).constructor)}return i.prototype=Object.create(t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),st(i,t)})(t)}function rt(t,e,n){return(rt=at()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var o=new(Function.bind.apply(t,i));return n&&st(o,n.prototype),o}).apply(null,arguments)}function at(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function st(t,e){return(st=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function lt(t){return(lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ct=r?d.Element:function(t){et(n,t);var e=nt(n);function n(){return tt(this,n),e.apply(this,arguments)}return n}(ot(Object)),ut=r?d.HTMLElement:function(t){et(n,t);var e=nt(n);function n(){return tt(this,n),e.apply(this,arguments)}return n}(ct),dt=r?d.SVGElement:function(t){et(n,t);var e=nt(n);function n(){return tt(this,n),e.apply(this,arguments)}return n}(ct),pt=r?d.File:function(t){et(n,t);var e=nt(n);function n(){return tt(this,n),e.apply(this,arguments)}return n}(ot(Object));function ht(t){return(ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var ft=function(t){return ht(t)},mt=function(t){return Object.prototype.toString.call(t).slice(8,-1)},vt=function(t){return void 0===t},gt=function(t){return null===t},bt=function(t){return vt(t)||gt(t)},yt=function(t){return"function"===ft(t)},wt=function(t){return"boolean"===ft(t)},_t=function(t){return"string"===ft(t)},xt=function(t){return"number"===ft(t)},Ct=function(t){return E.test(String(t))},kt=function(t){return Array.isArray(t)},Ot=function(t){return null!==t&&"object"===ht(t)},St=function(t){return"[object Object]"===Object.prototype.toString.call(t)},Pt=function(t){return t instanceof Date},Tt=function(t){return t instanceof Event},jt=function(t){return"RegExp"===mt(t)};function Mt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Et(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mt(Object(n),!0).forEach((function(e){At(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function At(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Dt=function(){return Object.assign.apply(Object,arguments)},$t=function(t,e){return Object.create(t,e)},It=function(t,e){return Object.defineProperties(t,e)},Lt=function(t,e,n){return Object.defineProperty(t,e,n)},Bt=function(t){return Object.getOwnPropertyNames(t)},Ft=function(t){return Object.keys(t)},Rt=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},Nt=function(t){return Et({},t)},Ut=function(t,e){return Ft(t).filter((function(t){return-1!==e.indexOf(t)})).reduce((function(e,n){return Et(Et({},e),{},At({},n,t[n]))}),{})},zt=function(t,e){return Ft(t).filter((function(t){return-1===e.indexOf(t)})).reduce((function(e,n){return Et(Et({},e),{},At({},n,t[n]))}),{})},Ht=function(t){return Ft(t).sort().reduce((function(e,n){return Et(Et({},e),{},At({},n,t[n]))}),{})};function Vt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Wt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Vt(Object(n),!0).forEach((function(e){Gt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Gt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qt(t){return function(t){if(Array.isArray(t))return Yt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Yt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yt(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var Xt=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return kt(e)?e.reduce((function(e,n){return[].concat(qt(e),[t(n,n)])}),[]):St(e)?Ft(e).reduce((function(n,i){return Wt(Wt({},n),{},Gt({},i,t(e[i],e[i])))}),{}):n},Kt=function(t){return t},Jt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(!(e=kt(e)?e.join("."):e)||!Ot(t))return n;if(e in t)return t[e];var i=(e=String(e).replace(x,".$1")).split(".").filter(Kt);return 0===i.length?n:i.every((function(e){return Ot(t)&&e in t&&!bt(t=t[e])}))?t:gt(t)?null:n},Zt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=Jt(t,e);return bt(i)?n:i},Qt=n("k40M"),te=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Object(Qt.a)()||console.warn("[BootstrapVue warn]: ".concat(e?"".concat(e," - "):"").concat(t))},ee=function(t){return!u&&(te("".concat(t,": Can not be called during SSR.")),!0)},ne=function(t){return!l&&(te("".concat(t,": Requires Promise support.")),!0)};function ie(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var oe=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$_config={}}var e,n,i;return e=t,(n=[{key:"setConfig",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(St(e)){var n=Bt(e);n.forEach((function(n){var i=e[n];"breakpoints"===n?!kt(i)||i.length<2||i.some((function(t){return!_t(t)||0===t.length}))?te('"breakpoints" must be an array of at least 2 breakpoint names',"BvConfig"):t.$_config[n]=Xt(i):St(i)&&(t.$_config[n]=Bt(i).reduce((function(t,e){return vt(i[e])||(t[e]=Xt(i[e])),t}),t.$_config[n]||{}))}))}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return Xt(this.$_config)}},{key:"getConfigValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return Xt(Jt(this.$_config,t,e))}}])&&ie(e.prototype,n),i&&ie(e,i),t}(),re=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.a;e.prototype[w]=o.a.prototype[w]=e.prototype[w]||o.a.prototype[w]||new oe,e.prototype[w].setConfig(t)};function ae(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function se(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ae(Object(n),!0).forEach((function(e){le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function le(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,ue,de=(ce=!1,ue=["Multiple instances of Vue detected!","You may need to set up an alias for Vue in your bundler config.","See: https://bootstrap-vue.org/docs#using-module-bundlers"].join("\n"),function(t){ce||o.a===t||m||te(ue),ce=!0}),pe=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.components,n=t.directives,i=t.plugins,o=function t(o){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.installed||(t.installed=!0,de(o),re(r,o),ve(o,e),be(o,n),fe(o,i))};return o.installed=!1,o},he=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return se(se({},e),{},{install:pe(t)})},fe=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)n&&e[n]&&t.use(e[n])},me=function(t,e,n){t&&e&&n&&t.component(e,n)},ve=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)me(t,n,e[n])},ge=function(t,e,n){t&&e&&n&&t.directive(e.replace(/^VB/,"B"),n)},be=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)ge(t,n,e[n])},ye=function(){return(ye=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},we=/-(\w)/g,_e=/:(.*)/,xe=/;(?![^(]*\))/g;function Ce(t,e){return e?e.toUpperCase():""}function ke(t){for(var e,n={},i=0,o=t.split(xe);i<o.length;i++){var r=o[i].split(_e),a=r[0],s=r[1];(a=a.trim())&&("string"==typeof s&&(s=s.trim()),n[(e=a,e.replace(we,Ce))]=s)}return n}function Oe(){for(var t,e,n={},i=arguments.length;i--;)for(var o=0,r=Object.keys(arguments[i]);o<r.length;o++)switch(t=r[o]){case"class":case"style":case"directives":if(Array.isArray(n[t])||(n[t]=[]),"style"===t){var a=void 0;a=Array.isArray(arguments[i].style)?arguments[i].style:[arguments[i].style];for(var s=0;s<a.length;s++){var l=a[s];"string"==typeof l&&(a[s]=ke(l))}arguments[i].style=a}n[t]=n[t].concat(arguments[i][t]);break;case"staticClass":if(!arguments[i][t])break;void 0===n[t]&&(n[t]=""),n[t]&&(n[t]+=" "),n[t]+=arguments[i][t].trim();break;case"on":case"nativeOn":n[t]||(n[t]={});for(var c=0,u=Object.keys(arguments[i][t]||{});c<u.length;c++)e=u[c],n[t][e]?n[t][e]=[].concat(n[t][e],arguments[i][t][e]):n[t][e]=arguments[i][t][e];break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":n[t]||(n[t]={}),n[t]=ye({},arguments[i][t],n[t]);break;case"slot":case"key":case"ref":case"tag":case"show":case"keepAlive":default:n[t]||(n[t]=arguments[i][t])}return n}var Se="bv",Pe={passive:!0},Te={passive:!0,capture:!1},je=Array,Me=Boolean,Ee=Date,Ae=Function,De=Number,$e=Object,Ie=RegExp,Le=String,Be=[je,Ae],Fe=[je,$e],Re=[je,$e,Le],Ne=[je,Le],Ue=[Me,De],ze=[Me,De,Le],He=[Me,Le],Ve=[Ee,Le],We=[Ae,Le],Ge=[De,Le],qe=[De,$e,Le],Ye=[$e,Ae],Xe=[$e,Le],Ke=function(){return Array.from.apply(Array,arguments)},Je=function(t,e){return-1!==t.indexOf(e)},Ze=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Array.prototype.concat.apply([],e)},Qe=function(t,e){var n=yt(e)?e:function(){return e};return Array.apply(null,{length:t}).map(n)},tn=function(t){return t.reduce((function(t,e){return Ze(t,e)}),[])},en=function t(e){return e.reduce((function(e,n){return Ze(e,Array.isArray(n)?t(n):n)}),[])},nn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,n=parseInt(t,10);return isNaN(n)?e:n},on=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,n=parseFloat(t);return isNaN(n)?e:n},rn=function(t,e){return on(t).toFixed(nn(e,0))},an=function(t){return t.replace(j,"-$1").toLowerCase()},sn=function(t){return(t=an(t).replace(N,(function(t,e){return e?e.toUpperCase():""}))).charAt(0).toUpperCase()+t.slice(1)},ln=function(t){return t.replace(R," ").replace(M,(function(t,e,n){return e+" "+n})).replace(B,(function(t,e,n){return e+n.toUpperCase()}))},cn=function(t){return(t=_t(t)?t.trim():String(t)).charAt(0).toUpperCase()+t.slice(1)},un=function(t){return t.replace(D,"\\$&")},dn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return bt(t)?"":kt(t)||St(t)&&t.toString===Object.prototype.toString?JSON.stringify(t,null,e):String(t)},pn=function(t){return dn(t).trim()},hn=function(t){return dn(t).toLowerCase()},fn=ct.prototype,mn=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map((function(t){return"".concat(t,":not(:disabled):not([disabled])")})).join(", "),vn=fn.matches||fn.msMatchesSelector||fn.webkitMatchesSelector,gn=fn.closest||function(t){var e=this;do{if(jn(e,t))return e;e=e.parentElement||e.parentNode}while(!gt(e)&&e.nodeType===Node.ELEMENT_NODE);return null},bn=d.requestAnimationFrame||d.webkitRequestAnimationFrame||d.mozRequestAnimationFrame||d.msRequestAnimationFrame||d.oRequestAnimationFrame||function(t){return setTimeout(t,16)},yn=d.MutationObserver||d.WebKitMutationObserver||d.MozMutationObserver||null,wn=function(t){return!(!t||t.nodeType!==Node.ELEMENT_NODE)},_n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=p.activeElement;return e&&!t.some((function(t){return t===e}))?e:null},xn=function(t,e){return dn(t).toLowerCase()===dn(e).toLowerCase()},Cn=function(t){return wn(t)&&t===_n()},kn=function(t){if(!wn(t)||!t.parentNode||!En(p.body,t))return!1;if("none"===zn(t,"display"))return!1;var e=Hn(t);return!!(e&&e.height>0&&e.width>0)},On=function(t){return!wn(t)||t.disabled||Rn(t,"disabled")||In(t,"disabled")},Sn=function(t){return wn(t)&&t.offsetHeight},Pn=function(t,e){return Ke((wn(e)?e:p).querySelectorAll(t))},Tn=function(t,e){return(wn(e)?e:p).querySelector(t)||null},jn=function(t,e){return!!wn(t)&&vn.call(t,e)},Mn=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!wn(e))return null;var i=gn.call(e,t);return n?i:i===e?null:i},En=function(t,e){return!(!t||!yt(t.contains))&&t.contains(e)},An=function(t){return p.getElementById(/^#/.test(t)?t.slice(1):t)||null},Dn=function(t,e){e&&wn(t)&&t.classList&&t.classList.add(e)},$n=function(t,e){e&&wn(t)&&t.classList&&t.classList.remove(e)},In=function(t,e){return!!(e&&wn(t)&&t.classList)&&t.classList.contains(e)},Ln=function(t,e,n){e&&wn(t)&&t.setAttribute(e,n)},Bn=function(t,e){e&&wn(t)&&t.removeAttribute(e)},Fn=function(t,e){return e&&wn(t)?t.getAttribute(e):null},Rn=function(t,e){return e&&wn(t)?t.hasAttribute(e):null},Nn=function(t,e,n){e&&wn(t)&&(t.style[e]=n)},Un=function(t,e){e&&wn(t)&&(t.style[e]="")},zn=function(t,e){return e&&wn(t)&&t.style[e]||null},Hn=function(t){return wn(t)?t.getBoundingClientRect():null},Vn=function(t){var e=d.getComputedStyle;return e&&wn(t)?e(t):{}},Wn=function(){return d.getSelection?d.getSelection():null},Gn=function(t){var e={top:0,left:0};if(!wn(t)||0===t.getClientRects().length)return e;var n=Hn(t);if(n){var i=t.ownerDocument.defaultView;e.top=n.top+i.pageYOffset,e.left=n.left+i.pageXOffset}return e},qn=function(t){var e={top:0,left:0};if(!wn(t))return e;var n={top:0,left:0},i=Vn(t);if("fixed"===i.position)e=Hn(t)||e;else{e=Gn(t);for(var o=t.ownerDocument,r=t.offsetParent||o.documentElement;r&&(r===o.body||r===o.documentElement)&&"static"===Vn(r).position;)r=r.parentNode;if(r&&r!==t&&r.nodeType===Node.ELEMENT_NODE){n=Gn(r);var a=Vn(r);n.top+=on(a.borderTopWidth,0),n.left+=on(a.borderLeftWidth,0)}}return{top:e.top-n.top-on(i.marginTop,0),left:e.left-n.left-on(i.marginLeft,0)}},Yn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return Pn(mn,t).filter(kn).filter((function(t){return t.tabIndex>-1&&!t.disabled}))},Xn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{t.focus(e)}catch(t){}return Cn(t)},Kn=function(t){try{t.blur()}catch(t){}return!Cn(t)},Jn=function(t){var e=$t(null);return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var r=JSON.stringify(i);return e[r]=e[r]||t.apply(null,i)}},Zn=o.a.prototype,Qn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=Zn[w];return n?n.getConfigValue(t,e):Xt(e)},ti=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return e?Qn("".concat(t,".").concat(e),n):Qn(t,{})},ei=function(){return Qn("breakpoints",_)},ni=Jn((function(){return ei()})),ii=function(){return Xt(ni())},oi=Jn((function(){var t=ii();return t[0]="",t}));function ri(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ai(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ri(Object(n),!0).forEach((function(e){si(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ri(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function si(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var li=function(t,e){return t+cn(e)},ci=function(t,e){return n=e.replace(t,""),(n=_t(n)?n.trim():String(n)).charAt(0).toLowerCase()+n.slice(1);var n},ui=function(t,e){return e+(t?cn(t):"")},di=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,o=!0===n;return i=o?i:n,ai(ai(ai({},t?{type:t}:{}),o?{required:o}:vt(e)?{}:{default:Ot(e)?function(){return e}:e}),vt(i)?{}:{validator:i})},pi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Kt;if(kt(t))return t.map(e);var n={};for(var i in t)Rt(t,i)&&(n[e(i)]=Ot(t[i])?Nt(t[i]):t[i]);return n},hi=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Kt;return(kt(t)?t.slice():Ft(t)).reduce((function(t,i){return t[n(i)]=e[i],t}),{})},fi=function(t,e,n){return ai(ai({},Xt(t)),{},{default:function(){var i=ti(n,e,t.default);return yt(i)?i():i}})},mi=function(t,e){return Ft(t).reduce((function(n,i){return ai(ai({},n),{},si({},i,fi(t[i],i,e)))}),{})},vi=fi({},"","").default.name,gi=function(t){return yt(t)&&t.name!==vi};function bi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var yi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.type,i=void 0===n?void 0:n,r=e.defaultValue,a=void 0===r?void 0:r,s=e.validator,l=void 0===s?void 0:s,c=e.event,u=void 0===c?"input":c,d=bi({},t,di(i,a,l)),p=o.a.extend({model:{prop:t,event:u},props:d});return{mixin:p,props:d,prop:t,event:u}},wi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(t=Ze(t).filter(Kt)).some((function(t){return e[t]||n[t]}))},_i=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t=Ze(t).filter(Kt);for(var r=0;r<t.length&&!e;r++){var a=t[r];e=i[a]||o[a]}return yt(e)?e(n):e},xi=o.a.extend({methods:{hasNormalizedSlot:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$scopedSlots,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$slots;return wi(t,e,n)},normalizeSlot:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$scopedSlots,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.$slots,o=_i(t,e,n,i);return o?Ze(o):o}}}),Ci=function(t){return v?Ot(t)?t:{capture:!!t||!1}:!!(Ot(t)?t.capture:t)},ki=function(t,e,n,i){t&&t.addEventListener&&t.addEventListener(e,n,Ci(i))},Oi=function(t,e,n,i){t&&t.removeEventListener&&t.removeEventListener(e,n,Ci(i))},Si=function(t){for(var e=t?ki:Oi,n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];e.apply(void 0,i)},Pi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.preventDefault,i=void 0===n||n,o=e.propagation,r=void 0===o||o,a=e.immediatePropagation,s=void 0!==a&&a;i&&t.preventDefault(),r&&t.stopPropagation(),s&&t.stopImmediatePropagation()},Ti=function(t){return an(t.replace(C,""))},ji=function(t,e){return[Se,Ti(t),e].join("::")},Mi=function(t,e){return[Se,e,Ti(t)].join("::")};var Ei=mi({ariaLabel:di(Le,"Close"),content:di(Le,"×"),disabled:di(Me,!1),textVariant:di(Le)},"BButtonClose"),Ai=o.a.extend({name:"BButtonClose",functional:!0,props:Ei,render:function(t,e){var n,i,o,r=e.props,a=e.data,s=e.slots,l=e.scopedSlots,c=s(),u=l||{},d={staticClass:"close",class:(n={},i="text-".concat(r.textVariant),o=r.textVariant,i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,n),attrs:{type:"button",disabled:r.disabled,"aria-label":r.ariaLabel?String(r.ariaLabel):null},on:{click:function(t){r.disabled&&Tt(t)&&Pi(t)}}};return wi("default",u,c)||(d.domProps={innerHTML:r.content}),t("button",Oe(a,d),_i("default",{},u,c))}});function Di(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function $i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Di(Object(n),!0).forEach((function(e){Ii(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Di(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ii(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Li,Bi={name:"",enterClass:"",enterActiveClass:"",enterToClass:"show",leaveClass:"show",leaveActiveClass:"",leaveToClass:""},Fi=$i($i({},Bi),{},{enterActiveClass:"fade",leaveActiveClass:"fade"}),Ri={appear:di(Me,!1),mode:di(Le),noFade:di(Me,!1),transProps:di($e)},Ni=o.a.extend({name:"BVTransition",functional:!0,props:Ri,render:function(t,e){var n=e.children,i=e.data,o=e.props,r=o.transProps;return St(r)||(r=o.noFade?Bi:Fi,o.appear&&(r=$i($i({},r),{},{appear:!0,appearClass:r.enterClass,appearActiveClass:r.enterActiveClass,appearToClass:r.enterToClass}))),t("transition",Oe(i,{props:r=$i($i({mode:o.mode},r),{},{css:!0})}),n)}});function Ui(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function zi(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ui(Object(n),!0).forEach((function(e){Hi(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ui(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}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=yi("show",{type:ze,defaultValue:!1}),Wi=Vi.mixin,Gi=Vi.props,qi=Vi.prop,Yi=Vi.event,Xi=function(t){return""===t||wt(t)?0:(t=nn(t,0))>0?t:0},Ki=function(t){return""===t||!0===t||!(nn(t,0)<1)&&!!t},Ji=mi(Ht(zi(zi({},Gi),{},{dismissLabel:di(Le,"Close"),dismissible:di(Me,!1),fade:di(Me,!1),variant:di(Le,"info")})),"BAlert"),Zi=he({components:{BAlert:o.a.extend({name:"BAlert",mixins:[Wi,xi],props:Ji,data:function(){return{countDown:0,localShow:Ki(this[qi])}},watch:(Li={},Hi(Li,qi,(function(t){this.countDown=Xi(t),this.localShow=Ki(t)})),Hi(Li,"countDown",(function(t){var e=this;this.clearCountDownInterval();var n=this[qi];Ct(n)&&(this.$emit("dismiss-count-down",t),n!==t&&this.$emit(Yi,t),t>0?(this.localShow=!0,this.$_countDownTimeout=setTimeout((function(){e.countDown--}),1e3)):this.$nextTick((function(){bn((function(){e.localShow=!1}))})))})),Hi(Li,"localShow",(function(t){var e=this[qi];t||!this.dismissible&&!Ct(e)||this.$emit("dismissed"),Ct(e)||e===t||this.$emit(Yi,t)})),Li),created:function(){this.$_filterTimer=null;var t=this[qi];this.countDown=Xi(t),this.localShow=Ki(t)},beforeDestroy:function(){this.clearCountDownInterval()},methods:{dismiss:function(){this.clearCountDownInterval(),this.countDown=0,this.localShow=!1},clearCountDownInterval:function(){clearTimeout(this.$_countDownTimeout),this.$_countDownTimeout=null}},render:function(t){var e=t();if(this.localShow){var n=this.dismissible,i=this.variant,o=t();n&&(o=t(Ai,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot("dismiss")])),e=t("div",{staticClass:"alert",class:Hi({"alert-dismissible":n},"alert-".concat(i),i),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0},key:this._uid},[o,this.normalizeSlot()])}return t(Ni,{props:{noFade:!this.fade}},[e])}})}}),Qi=Math.min,to=Math.max,eo=Math.abs,no=Math.ceil,io=Math.floor,oo=Math.pow,ro=Math.round;function ao(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){o=!0,r=t}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return so(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return so(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function so(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var lo=mi({aspect:di(Ge,"1:1"),tag:di(Le,"div")},"BAspect"),co=o.a.extend({name:"BAspect",mixins:[xi],props:lo,computed:{padding:function(){var t=this.aspect,e=1;if(Y.test(t)){var n=ao(t.split(X).map((function(t){return on(t)||1})),2);e=n[0]/n[1]}else e=on(t)||1;return"".concat(100/eo(e),"%")}},render:function(t){var e=t("div",{staticClass:"".concat("b-aspect","-sizer flex-grow-1"),style:{paddingBottom:this.padding,height:0}}),n=t("div",{staticClass:"".concat("b-aspect","-content flex-grow-1 w-100 mw-100"),style:{marginLeft:"-100%"}},this.normalizeSlot());return t(this.tag,{staticClass:"".concat("b-aspect"," d-flex")},[e,n])}}),uo=he({components:{BAspect:co}}),po=function(t){return"%"+t.charCodeAt(0).toString(16)},ho=function(t){return encodeURIComponent(dn(t)).replace(G,po).replace(W,",")},fo=decodeURIComponent,mo=function(t){if(!St(t))return"";var e=Ft(t).map((function(e){var n=t[e];return vt(n)?"":gt(n)?ho(e):kt(n)?n.reduce((function(t,n){return gt(n)?t.push(ho(e)):vt(n)||t.push(ho(e)+"="+ho(n)),t}),[]).join("&"):ho(e)+"="+ho(n)})).filter((function(t){return t.length>0})).join("&");return e?"?".concat(e):""},vo=function(t){var e={};return(t=dn(t).trim().replace(q,""))?(t.split("&").forEach((function(t){var n=t.replace(A," ").split("="),i=fo(n.shift()),o=n.length>0?fo(n.join("=")):null;vt(e[i])?e[i]=o:kt(e[i])?e[i].push(o):e[i]=[e[i],o]})),e):e},go=function(t){return!(!t.href&&!t.to)},bo=function(t){return!(!t||xn(t,"a"))},yo=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.href,n=t.to,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"a",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";if(e)return e;if(bo(i))return null;if(_t(n))return n||r;if(St(n)&&(n.path||n.query||n.hash)){var a=dn(n.path),s=mo(n.query),l=dn(n.hash);return l=l&&"#"!==l.charAt(0)?"#".concat(l):l,"".concat(a).concat(s).concat(l)||r}return o};function wo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _o={viewBox:"0 0 16 16",width:"1em",height:"1em",focusable:"false",role:"img","aria-label":"icon"},xo={width:null,height:null,focusable:null,role:null,"aria-label":null},Co={animation:di(Le),content:di(Le),flipH:di(Me,!1),flipV:di(Me,!1),fontScale:di(Ge,1),rotate:di(Ge,0),scale:di(Ge,1),shiftH:di(Ge,0),shiftV:di(Ge,0),stacked:di(Me,!1),title:di(Le),variant:di(Le)},ko=o.a.extend({name:"BIconBase",functional:!0,props:Co,render:function(t,e){var n,i=e.data,o=e.props,r=e.children,a=o.animation,s=o.content,l=o.flipH,c=o.flipV,u=o.stacked,d=o.title,p=o.variant,h=to(on(o.fontScale,1),0)||1,f=to(on(o.scale,1),0)||1,m=on(o.rotate,0),v=on(o.shiftH,0),g=on(o.shiftV,0),b=l||c||1!==f,y=b||m,w=v||g,_=!bt(s),x=t("g",{attrs:{transform:[y?"translate(8 8)":null,b?"scale(".concat((l?-1:1)*f," ").concat((c?-1:1)*f,")"):null,m?"rotate(".concat(m,")"):null,y?"translate(-8 -8)":null].filter(Kt).join(" ")||null},domProps:_?{innerHTML:s||""}:{}},r);w&&(x=t("g",{attrs:{transform:"translate(".concat(16*v/16," ").concat(-16*g/16,")")}},[x])),u&&(x=t("g",[x]));var C=[d?t("title",d):null,x].filter(Kt);return t("svg",Oe({staticClass:"b-icon bi",class:(n={},wo(n,"text-".concat(p),p),wo(n,"b-icon-animation-".concat(a),a),n),attrs:_o,style:u?{}:{fontSize:1===h?null:"".concat(100*h,"%")}},i,u?{attrs:xo}:{},{attrs:{xmlns:u?null:"http://www.w3.org/2000/svg",fill:"currentColor"}}),C)}});function Oo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function So(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Oo(Object(n),!0).forEach((function(e){Po(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Oo(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Po(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var To=function(t,e){var n=an(t),i="BIcon".concat(sn(t)),r="bi-".concat(n),a=n.replace(/-/g," "),s=pn(e||"");return o.a.extend({name:i,functional:!0,props:zt(Co,["content"]),render:function(t,e){var n=e.data,i=e.props;return t(ko,Oe({props:{title:a},attrs:{"aria-label":a}},n,{staticClass:r,props:So(So({},i),{},{content:s})}))}})},jo=To("Blank",""),Mo=To("Calendar",'<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/>'),Eo=To("CalendarFill",'<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5h16V4H0V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5z"/>'),Ao=To("ChevronBarLeft",'<path fill-rule="evenodd" d="M11.854 3.646a.5.5 0 0 1 0 .708L8.207 8l3.647 3.646a.5.5 0 0 1-.708.708l-4-4a.5.5 0 0 1 0-.708l4-4a.5.5 0 0 1 .708 0zM4.5 1a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 1 0v-13a.5.5 0 0 0-.5-.5z"/>'),Do=To("ChevronDoubleLeft",'<path fill-rule="evenodd" d="M8.354 1.646a.5.5 0 0 1 0 .708L2.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/><path fill-rule="evenodd" d="M12.354 1.646a.5.5 0 0 1 0 .708L6.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>'),$o=To("ChevronDown",'<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>'),Io=To("ChevronLeft",'<path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>'),Lo=To("ChevronUp",'<path fill-rule="evenodd" d="M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"/>'),Bo=To("CircleFill",'<circle cx="8" cy="8" r="8"/>'),Fo=To("Clock",'<path d="M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/><path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0z"/>'),Ro=To("ClockFill",'<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/>'),No=To("Dash",'<path d="M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z"/>'),Uo=To("PersonFill",'<path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>'),zo=To("Plus",'<path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"/>'),Ho=To("Star",'<path d="M2.866 14.85c-.078.444.36.791.746.593l4.39-2.256 4.389 2.256c.386.198.824-.149.746-.592l-.83-4.73 3.523-3.356c.329-.314.158-.888-.283-.95l-4.898-.696L8.465.792a.513.513 0 0 0-.927 0L5.354 5.12l-4.898.696c-.441.062-.612.636-.283.95l3.523 3.356-.83 4.73zm4.905-2.767l-3.686 1.894.694-3.957a.565.565 0 0 0-.163-.505L1.71 6.745l4.052-.576a.525.525 0 0 0 .393-.288l1.847-3.658 1.846 3.658a.525.525 0 0 0 .393.288l4.052.575-2.906 2.77a.564.564 0 0 0-.163.506l.694 3.957-3.686-1.894a.503.503 0 0 0-.461 0z"/>'),Vo=To("StarFill",'<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.283.95l-3.523 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>'),Wo=To("StarHalf",'<path d="M5.354 5.119L7.538.792A.516.516 0 0 1 8 .5c.183 0 .366.097.465.292l2.184 4.327 4.898.696A.537.537 0 0 1 16 6.32a.55.55 0 0 1-.17.445l-3.523 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256a.519.519 0 0 1-.146.05c-.341.06-.668-.254-.6-.642l.83-4.73L.173 6.765a.55.55 0 0 1-.171-.403.59.59 0 0 1 .084-.302.513.513 0 0 1 .37-.245l4.898-.696zM8 12.027c.08 0 .16.018.232.056l3.686 1.894-.694-3.957a.564.564 0 0 1 .163-.505l2.906-2.77-4.052-.576a.525.525 0 0 1-.393-.288L8.002 2.223 8 2.226v9.8z"/>'),Go=To("X",'<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>');function qo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Yo(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qo(Object(n),!0).forEach((function(e){Xo(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qo(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Xo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ko=zt(Co,["content"]),Jo=mi(Ht(Yo(Yo({},Ko),{},{icon:di(Le)})),"BIcon"),Zo=o.a.extend({name:"BIcon",functional:!0,props:Jo,render:function(t,e){var n=e.data,i=e.props,o=e.parent,r=sn(pn(i.icon||"")).replace(J,"");return t(r&&function t(e,n){return e?(e.$options||{}).components[n]||t(e.$parent,n):null}(o,"BIcon".concat(r))||jo,Oe(n,{props:hi(Ko,i)}))}}),Qo=40,tr=35,er=13,nr=36,ir=37,or=39,rr=32,ar=38,sr=function t(e,n){if(e===n)return!0;var i=Pt(e),o=Pt(n);if(i||o)return!(!i||!o)&&e.getTime()===n.getTime();if(i=kt(e),o=kt(n),i||o)return!(!i||!o)&&function(t,e){if(t.length!==e.length)return!1;for(var n=!0,i=0;n&&i<t.length;i++)n=sr(t[i],e[i]);return n}(e,n);if(i=Ot(e),o=Ot(n),i||o){if(!i||!o)return!1;if(Ft(e).length!==Ft(n).length)return!1;for(var r in e){var a=Rt(e,r),s=Rt(n,r);if(a&&!s||!a&&s||!t(e[r],n[r]))return!1}}return String(e)===String(n)};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=function(t){return!t||0===Ft(t).length},ur=function(t){return{handler:function(e,n){if(!sr(e,n))if(cr(e)||cr(n))this[t]=Xt(e);else{for(var i in n)Rt(e,i)||this.$delete(this.$data[t],i);for(var o in e)this.$set(this.$data[t],o,e[o])}}}},dr=function(t,e){return o.a.extend({data:function(){return lr({},e,Xt(this[t]))},watch:lr({},t,ur(e))})},pr=dr("$attrs","bvAttrs"),hr=o.a.extend({methods:{listenOnRoot:function(t,e){var n=this;this.$root.$on(t,e),this.$on("hook:beforeDestroy",(function(){n.$root.$off(t,e)}))},listenOnRootOnce:function(t,e){var n=this;this.$root.$once(t,e),this.$on("hook:beforeDestroy",(function(){n.$root.$off(t,e)}))},emitOnRoot:function(t){for(var e,n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];(e=this.$root).$emit.apply(e,[t].concat(i))}}}),fr=dr("$listeners","bvListeners");function mr(t){return function(t){if(Array.isArray(t))return vr(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return vr(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vr(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vr(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function gr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function br(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gr(Object(n),!0).forEach((function(e){yr(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function yr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var wr=ji("BLink","clicked"),_r={activeClass:di(Le),append:di(Me,!1),event:di(Ne,"click"),exact:di(Me,!1),exactActiveClass:di(Le),replace:di(Me,!1),routerTag:di(Le,"a"),to:di(Xe)},xr={noPrefetch:di(Me,!1),prefetch:di(Me,null)},Cr=mi(Ht(br(br(br({},xr),_r),{},{active:di(Me,!1),disabled:di(Me,!1),href:di(Le),rel:di(Le,null),routerComponentName:di(Le),target:di(Le,"_self")})),"BLink"),kr=o.a.extend({name:"BLink",mixins:[pr,fr,hr,xi],inheritAttrs:!1,props:Cr,computed:{computedTag:function(){return function(t,e){var n=t.to,i=t.disabled,o=t.routerComponentName,r=!!e.$router;return!r||r&&(i||!n)?"a":o||(e.$nuxt?"nuxt-link":"router-link")}({to:this.to,disabled:this.disabled,routerComponentName:this.routerComponentName},this)},isRouterLink:function(){return bo(this.computedTag)},computedRel:function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.target,n=t.rel;return"_blank"===e&>(n)?"noopener":n||null}({target:this.target,rel:this.rel})},computedHref:function(){var t=this.to,e=this.href;return yo({to:t,href:e},this.computedTag)},computedProps:function(){var t=this.prefetch;return this.isRouterLink?br(br({},hi(br(br({},_r),xr),this)),{},{prefetch:wt(t)?t:void 0,tag:this.routerTag}):{}},computedAttrs:function(){var t=this.bvAttrs,e=this.computedHref,n=this.computedRel,i=this.disabled,o=this.target,r=this.routerTag,a=this.isRouterLink;return br(br(br(br({},t),e?{href:e}:{}),a&&!xn(r,"a")?{}:{rel:n,target:o}),{},{tabindex:i?"-1":vt(t.tabindex)?null:t.tabindex,"aria-disabled":i?"true":null})},computedListeners:function(){return br(br({},this.bvListeners),{},{click:this.onClick})}},methods:{onClick:function(t){var e=arguments,n=Tt(t),i=this.isRouterLink,o=this.bvListeners.click;n&&this.disabled?Pi(t,{immediatePropagation:!0}):(i&&t.currentTarget.__vue__&&t.currentTarget.__vue__.$emit("click",t),Ze(o).filter((function(t){return yt(t)})).forEach((function(t){t.apply(void 0,mr(e))})),this.emitOnRoot(wr,t),this.emitOnRoot("clicked::link",t)),n&&!i&&"#"===this.computedHref&&Pi(t,{propagation:!1})},focus:function(){Xn(this.$el)},blur:function(){Kn(this.$el)}},render:function(t){var e=this.active,n=this.disabled;return t(this.computedTag,yr({class:{active:e,disabled:n},attrs:this.computedAttrs,props:this.computedProps},this.isRouterLink?"nativeOn":"on",this.computedListeners),this.normalizeSlot())}});function Or(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Sr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Or(Object(n),!0).forEach((function(e){Pr(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Or(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Pr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Tr=zt(Cr,["event","routerTag"]);delete Tr.href.default,delete Tr.to.default;var jr=mi(Ht(Sr(Sr({},Tr),{},{block:di(Me,!1),disabled:di(Me,!1),pill:di(Me,!1),pressed:di(Me,null),size:di(Le),squared:di(Me,!1),tag:di(Le,"button"),type:di(Le,"button"),variant:di(Le,"secondary")})),"BButton"),Mr=function(t){"focusin"===t.type?Dn(t.target,"focus"):"focusout"===t.type&&$n(t.target,"focus")},Er=function(t){return go(t)||xn(t.tag,"a")},Ar=function(t){return wt(t.pressed)},Dr=function(t){return!(Er(t)||t.tag&&!xn(t.tag,"button"))},$r=function(t){return!Er(t)&&!Dr(t)},Ir=function(t){var e;return["btn-".concat(t.variant||"secondary"),(e={},Pr(e,"btn-".concat(t.size),t.size),Pr(e,"btn-block",t.block),Pr(e,"rounded-pill",t.pill),Pr(e,"rounded-0",t.squared&&!t.pill),Pr(e,"disabled",t.disabled),Pr(e,"active",t.pressed),e)]},Lr=function(t){return Er(t)?hi(Tr,t):{}},Br=function(t,e){var n=Dr(t),i=Er(t),o=Ar(t),r=$r(t),a=i&&"#"===t.href,s=e.attrs&&e.attrs.role?e.attrs.role:null,l=e.attrs?e.attrs.tabindex:null;return(r||a)&&(l="0"),{type:n&&!i?t.type:null,disabled:n?t.disabled:null,role:r||a?"button":s,"aria-disabled":r?String(t.disabled):null,"aria-pressed":o?String(t.pressed):null,autocomplete:o?"off":null,tabindex:t.disabled&&!n?"-1":l}},Fr=o.a.extend({name:"BButton",functional:!0,props:jr,render:function(t,e){var n=e.props,i=e.data,o=e.listeners,r=e.children,a=Ar(n),s=Er(n),l=$r(n),c=s&&"#"===n.href,u={keydown:function(t){if(!n.disabled&&(l||c)){var e=t.keyCode;if(e===rr||e===er&&l){var i=t.currentTarget||t.target;Pi(t,{propagation:!1}),i.click()}}},click:function(t){n.disabled&&Tt(t)?Pi(t):a&&o&&o["update:pressed"]&&Ze(o["update:pressed"]).forEach((function(t){yt(t)&&t(!n.pressed)}))}};a&&(u.focusin=Mr,u.focusout=Mr);var d={staticClass:"btn",class:Ir(n),props:Lr(n),attrs:Br(n,i),on:u};return t(s?kr:n.tag,Oe(i,d),r)}});function Rr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Nr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Rr(Object(n),!0).forEach((function(e){Ur(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ur(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var zr=["sm",null,"lg"],Hr=function(t){return t=_t(t)&&Ct(t)?on(t,0):t,xt(t)?"".concat(t,"px"):t||null},Vr=zt(Cr,["active","event","routerTag"]),Wr=mi(Ht(Nr(Nr({},Vr),{},{alt:di(Le,"avatar"),ariaLabel:di(Le),badge:di(He,!1),badgeLeft:di(Me,!1),badgeOffset:di(Le),badgeTop:di(Me,!1),badgeVariant:di(Le,"primary"),button:di(Me,!1),buttonType:di(Le,"button"),icon:di(Le),rounded:di(He,!1),size:di(Ge),square:di(Me,!1),src:di(Le),text:di(Le),variant:di(Le,"secondary")})),"BAvatar"),Gr=o.a.extend({name:"BAvatar",mixins:[xi],inject:{bvAvatarGroup:{default:null}},props:Wr,data:function(){return{localSrc:this.src||null}},computed:{computedSize:function(){var t=this.bvAvatarGroup;return Hr(t?t.size:this.size)},computedVariant:function(){var t=this.bvAvatarGroup;return t&&t.variant?t.variant:this.variant},computedRounded:function(){var t=this.bvAvatarGroup,e=!(!t||!t.square)||this.square,n=t&&t.rounded?t.rounded:this.rounded;return e?"0":""===n||(n||"circle")},fontStyle:function(){var t=this.computedSize,e=-1===zr.indexOf(t)?"calc(".concat(t," * ").concat(.4,")"):null;return e?{fontSize:e}:{}},marginStyle:function(){var t=this.computedSize,e=this.bvAvatarGroup,n=e?e.overlapScale:0,i=t&&n?"calc(".concat(t," * -").concat(n,")"):null;return i?{marginLeft:i,marginRight:i}:{}},badgeStyle:function(){var t=this.computedSize,e=this.badgeTop,n=this.badgeLeft,i=this.badgeOffset||"0px";return{fontSize:-1===zr.indexOf(t)?"calc(".concat(t," * ").concat(.4*.7," )"):null,top:e?i:null,bottom:e?null:i,left:n?i:null,right:n?null:i}}},watch:{src:function(t,e){t!==e&&(this.localSrc=t||null)}},methods:{onImgError:function(t){this.localSrc=null,this.$emit("img-error",t)},onClick:function(t){this.$emit("click",t)}},render:function(t){var e,n=this.computedVariant,i=this.disabled,o=this.computedRounded,r=this.icon,a=this.localSrc,s=this.text,l=this.fontStyle,c=this.marginStyle,u=this.computedSize,d=this.button,p=this.buttonType,h=this.badge,f=this.badgeVariant,m=this.badgeStyle,v=!d&&go(this),g=d?Fr:v?kr:"span",b=this.alt,y=this.ariaLabel||null,w=null;this.hasNormalizedSlot()?w=t("span",{staticClass:"b-avatar-custom"},[this.normalizeSlot()]):a?(w=t("img",{style:n?{}:{width:"100%",height:"100%"},attrs:{src:a,alt:b},on:{error:this.onImgError}}),w=t("span",{staticClass:"b-avatar-img"},[w])):w=r?t(Zo,{props:{icon:r},attrs:{"aria-hidden":"true",alt:b}}):s?t("span",{staticClass:"b-avatar-text",style:l},[t("span",s)]):t(Uo,{attrs:{"aria-hidden":"true",alt:b}});var _=t(),x=this.hasNormalizedSlot("badge");if(h||""===h||x){var C=!0===h?"":h;_=t("span",{staticClass:"b-avatar-badge",class:Ur({},"badge-".concat(f),f),style:m},[x?this.normalizeSlot("badge"):C])}return t(g,{staticClass:"b-avatar",class:(e={},Ur(e,"".concat("b-avatar","-").concat(u),u&&-1!==zr.indexOf(u)),Ur(e,"badge-".concat(n),!d&&n),Ur(e,"rounded",!0===o),Ur(e,"rounded-".concat(o),o&&!0!==o),Ur(e,"disabled",i),e),style:Nr(Nr({},c),{},{width:u,height:u}),attrs:{"aria-label":y||null},props:d?{variant:n,disabled:i,type:p}:v?hi(Vr,this):{},on:d||v?{click:this.onClick}:{}},[w,_])}}),qr=mi({overlap:di(Ge,.3),rounded:di(He,!1),size:di(Le),square:di(Me,!1),tag:di(Le,"div"),variant:di(Le)},"BAvatarGroup"),Yr=he({components:{BAvatar:Gr,BAvatarGroup:o.a.extend({name:"BAvatarGroup",mixins:[xi],provide:function(){return{bvAvatarGroup:this}},props:qr,computed:{computedSize:function(){return Hr(this.size)},overlapScale:function(){return Qi(to(on(this.overlap,0),0),1)/2},paddingStyle:function(){var t=this.computedSize;return(t=t?"calc(".concat(t," * ").concat(this.overlapScale,")"):null)?{paddingLeft:t,paddingRight:t}:{}}},render:function(t){var e=t("div",{staticClass:"b-avatar-group-inner",style:this.paddingStyle},this.normalizeSlot());return t(this.tag,{staticClass:"b-avatar-group",attrs:{role:"group"}},[e])}})}});function Xr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Kr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Xr(Object(n),!0).forEach((function(e){Jr(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Jr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Zr=zt(Cr,["event","routerTag"]);delete Zr.href.default,delete Zr.to.default;var Qr=mi(Ht(Kr(Kr({},Zr),{},{pill:di(Me,!1),tag:di(Le,"span"),variant:di(Le,"secondary")})),"BBadge"),ta=o.a.extend({name:"BBadge",functional:!0,props:Qr,render:function(t,e){var n=e.props,i=e.data,o=e.children,r=n.active,a=n.disabled,s=go(n),l=s?kr:n.tag,c=n.variant||"secondary";return t(l,Oe(i,{staticClass:"badge",class:["badge-".concat(c),{"badge-pill":n.pill,active:r,disabled:a}],props:s?hi(Zr,n):{}}),o)}}),ea=he({components:{BBadge:ta}}),na=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(t).replace(T,"")},ia=function(t,e){return t?{innerHTML:t}:e?{textContent:e}:{}};function oa(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ra(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?oa(Object(n),!0).forEach((function(e){aa(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):oa(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function aa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var sa=mi(Ht(ra(ra({},zt(Cr,["event","routerTag"])),{},{ariaCurrent:di(Le,"location"),html:di(Le),text:di(Le)})),"BBreadcrumbLink"),la=o.a.extend({name:"BBreadcrumbLink",functional:!0,props:sa,render:function(t,e){var n=e.props,i=e.data,o=e.children,r=n.active,a=r?"span":kr,s={attrs:{"aria-current":r?n.ariaCurrent:null},props:hi(sa,n)};return o||(s.domProps=ia(n.html,n.text)),t(a,Oe(i,s),o)}}),ca=mi(sa,"BBreadcrumbItem"),ua=o.a.extend({name:"BBreadcrumbItem",functional:!0,props:ca,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t("li",Oe(i,{staticClass:"breadcrumb-item",class:{active:n.active}}),[t(la,{props:n},o)])}});function da(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function pa(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?da(Object(n),!0).forEach((function(e){ha(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):da(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ha(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var fa=mi({items:di(je)},"BBreadcrumb"),ma=he({components:{BBreadcrumb:o.a.extend({name:"BBreadcrumb",functional:!0,props:fa,render:function(t,e){var n=e.props,i=e.data,o=e.children,r=n.items,a=o;if(kt(r)){var s=!1;a=r.map((function(e,n){Ot(e)||(e={text:dn(e)});var i=e.active;return i&&(s=!0),i||s||(i=n+1===r.length),t(ua,{props:pa(pa({},e),{},{active:i})})}))}return t("ol",Oe(i,{staticClass:"breadcrumb"}),a)}}),BBreadcrumbItem:ua,BBreadcrumbLink:la}}),va=he({components:{BButton:Fr,BBtn:Fr,BButtonClose:Ai,BBtnClose:Ai}});function ga(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ba(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ga(Object(n),!0).forEach((function(e){ya(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ga(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ya(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var wa=mi(Ht(ba(ba({},Ut(jr,["size"])),{},{ariaRole:di(Le,"group"),size:di(Le),tag:di(Le,"div"),vertical:di(Me,!1)})),"BButtonGroup"),_a=o.a.extend({name:"BButtonGroup",functional:!0,props:wa,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t(n.tag,Oe(i,{class:ya({"btn-group":!n.vertical,"btn-group-vertical":n.vertical},"btn-group-".concat(n.size),n.size),attrs:{role:n.ariaRole}}),o)}}),xa=he({components:{BButtonGroup:_a,BBtnGroup:_a}}),Ca=[".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(","),ka=mi({justify:di(Me,!1),keyNav:di(Me,!1)},"BButtonToolbar"),Oa=o.a.extend({name:"BButtonToolbar",mixins:[xi],props:ka,mounted:function(){this.keyNav&&this.getItems()},methods:{getItems:function(){var t=Pn(Ca,this.$el);return t.forEach((function(t){t.tabIndex=-1})),t.filter((function(t){return kn(t)}))},focusFirst:function(){var t=this.getItems();Xn(t[0])},focusPrev:function(t){var e=this.getItems(),n=e.indexOf(t.target);n>-1&&(e=e.slice(0,n).reverse(),Xn(e[0]))},focusNext:function(t){var e=this.getItems(),n=e.indexOf(t.target);n>-1&&(e=e.slice(n+1),Xn(e[0]))},focusLast:function(){var t=this.getItems().reverse();Xn(t[0])},onFocusin:function(t){var e=this.$el;t.target!==e||En(e,t.relatedTarget)||(Pi(t),this.focusFirst(t))},onKeydown:function(t){var e=t.keyCode,n=t.shiftKey;e===ar||e===ir?(Pi(t),n?this.focusFirst(t):this.focusPrev(t)):e!==Qo&&e!==or||(Pi(t),n?this.focusLast(t):this.focusNext(t))}},render:function(t){var e=this.keyNav;return t("div",{staticClass:"btn-toolbar",class:{"justify-content-between":this.justify},attrs:{role:"toolbar",tabindex:e?"0":null},on:e?{focusin:this.onFocusin,keydown:this.onKeydown}:{}},[this.normalizeSlot()])}}),Sa=he({components:{BButtonToolbar:Oa,BBtnToolbar:Oa}});function Pa(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){o=!0,r=t}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Ta(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ta(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ta(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ja(t,e,n){return(ja=Ma()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var o=new(Function.bind.apply(t,i));return n&&Ea(o,n.prototype),o}).apply(null,arguments)}function Ma(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function Ea(t,e){return(Ea=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Aa,Da=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return ja(Date,e)},$a=function(t){if(_t(t)&&U.test(t.trim())){var e=Pa(t.split(z).map((function(t){return nn(t,1)})),3),n=e[0],i=e[1],o=e[2];return Da(n,i-1,o)}return Pt(t)?Da(t.getFullYear(),t.getMonth(),t.getDate()):null},Ia=function(t){if(!(t=$a(t)))return null;var e=t.getFullYear(),n="0".concat(t.getMonth()+1).slice(-2),i="0".concat(t.getDate()).slice(-2);return"".concat(e,"-").concat(n,"-").concat(i)},La=function(t,e){return new Intl.DateTimeFormat(t,e).format},Ba=function(t,e){return Ia(t)===Ia(e)},Fa=function(t){return(t=Da(t)).setDate(1),t},Ra=function(t){return(t=Da(t)).setMonth(t.getMonth()+1),t.setDate(0),t},Na=function(t,e){var n=(t=Da(t)).getMonth();return t.setFullYear(t.getFullYear()+e),t.getMonth()!==n&&t.setDate(0),t},Ua=function(t){var e=(t=Da(t)).getMonth();return t.setMonth(e-1),t.getMonth()===e&&t.setDate(0),t},za=function(t){var e=(t=Da(t)).getMonth();return t.setMonth(e+1),t.getMonth()===(e+2)%12&&t.setDate(0),t},Ha=function(t){return Na(t,-1)},Va=function(t){return Na(t,1)},Wa=function(t){return Na(t,-10)},Ga=function(t){return Na(t,10)},qa=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t=$a(t),e=$a(e)||t,n=$a(n)||t,t?t<e?e:t>n?n:t:null},Ya=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map((function(t){return t.toLowerCase()})),Xa=function(t){var e=dn(t).toLowerCase().replace(Z,"").split("-"),n=e.slice(0,2).join("-"),i=e[0];return Je(Ya,n)||Je(Ya,i)},Ka={id:di(Le)},Ja=o.a.extend({props:Ka,data:function(){return{localId_:null}},computed:{safeId:function(){var t=this.id||this.localId_;return function(e){return t?(e=String(e||"").replace(/\s+/g,"_"))?t+"_"+e:t:null}}},mounted:function(){var t=this;this.$nextTick((function(){t.localId_="__BVID__".concat(t._uid)}))}});function Za(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Qa(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Za(Object(n),!0).forEach((function(e){ts(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Za(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ts(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var es=yi("value",{type:Ve}),ns=es.mixin,is=es.props,os=es.prop,rs=es.event,as=mi(Ht(Qa(Qa(Qa({},Ka),is),{},{ariaControls:di(Le),block:di(Me,!1),dateDisabledFn:di(Ae),dateFormatOptions:di($e,{year:"numeric",month:"long",day:"numeric",weekday:"long"}),dateInfoFn:di(Ae),direction:di(Le),disabled:di(Me,!1),hidden:di(Me,!1),hideHeader:di(Me,!1),initialDate:di(Ve),labelCalendar:di(Le,"Calendar"),labelCurrentMonth:di(Le,"Current month"),labelHelp:di(Le,"Use cursor keys to navigate calendar dates"),labelNav:di(Le,"Calendar navigation"),labelNextDecade:di(Le,"Next decade"),labelNextMonth:di(Le,"Next month"),labelNextYear:di(Le,"Next year"),labelNoDateSelected:di(Le,"No date selected"),labelPrevDecade:di(Le,"Previous decade"),labelPrevMonth:di(Le,"Previous month"),labelPrevYear:di(Le,"Previous year"),labelSelected:di(Le,"Selected date"),labelToday:di(Le,"Today"),locale:di(Ne),max:di(Ve),min:di(Ve),navButtonVariant:di(Le,"secondary"),noHighlightToday:di(Me,!1),noKeyNav:di(Me,!1),readonly:di(Me,!1),roleDescription:di(Le),selectedVariant:di(Le,"primary"),showDecadeNav:di(Me,!1),startWeekday:di(Ge,0),todayVariant:di(Le),valueAsDate:di(Me,!1),weekdayHeaderFormat:di(Le,"short",(function(t){return Je(["long","short","narrow"],t)})),width:di(Le,"270px")})),"BCalendar"),ss=o.a.extend({name:"BCalendar",mixins:[pr,Ja,ns,xi],props:as,data:function(){var t=Ia(this[os])||"";return{selectedYMD:t,activeYMD:t||Ia(qa(this.initialDate||this.getToday()),this.min,this.max),gridHasFocus:!1,isLive:!1}},computed:{valueId:function(){return this.safeId()},widgetId:function(){return this.safeId("_calendar-wrapper_")},navId:function(){return this.safeId("_calendar-nav_")},gridId:function(){return this.safeId("_calendar-grid_")},gridCaptionId:function(){return this.safeId("_calendar-grid-caption_")},gridHelpId:function(){return this.safeId("_calendar-grid-help_")},activeId:function(){return this.activeYMD?this.safeId("_cell-".concat(this.activeYMD,"_")):null},selectedDate:function(){return $a(this.selectedYMD)},activeDate:function(){return $a(this.activeYMD)},computedMin:function(){return $a(this.min)},computedMax:function(){return $a(this.max)},computedWeekStarts:function(){return to(nn(this.startWeekday,0),0)%7},computedLocale:function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"gregory";t=Ze(t).filter(Kt);var n=new Intl.DateTimeFormat(t,{calendar:e});return n.resolvedOptions().locale}(Ze(this.locale).filter(Kt),"gregory")},computedDateDisabledFn:function(){var t=this.dateDisabledFn;return gi(t)?t:function(){return!1}},computedDateInfoFn:function(){var t=this.dateInfoFn;return gi(t)?t:function(){return{}}},calendarLocale:function(){var t=new Intl.DateTimeFormat(this.computedLocale,{calendar:"gregory"}),e=t.resolvedOptions().calendar,n=t.resolvedOptions().locale;return"gregory"!==e&&(n=n.replace(/-u-.+$/i,"").concat("-u-ca-gregory")),n},calendarYear:function(){return this.activeDate.getFullYear()},calendarMonth:function(){return this.activeDate.getMonth()},calendarFirstDay:function(){return Da(this.calendarYear,this.calendarMonth,1,12)},calendarDaysInMonth:function(){var t=Da(this.calendarFirstDay);return t.setMonth(t.getMonth()+1,0),t.getDate()},computedVariant:function(){return"btn-".concat(this.selectedVariant||"primary")},computedTodayVariant:function(){return"btn-outline-".concat(this.todayVariant||this.selectedVariant||"primary")},computedNavButtonVariant:function(){return"btn-outline-".concat(this.navButtonVariant||"primary")},isRTL:function(){var t=dn(this.direction).toLowerCase();return"rtl"===t||"ltr"!==t&&Xa(this.computedLocale)},context:function(){var t=this.selectedYMD,e=this.activeYMD,n=$a(t),i=$a(e);return{selectedYMD:t,selectedDate:n,selectedFormatted:n?this.formatDateString(n):this.labelNoDateSelected,activeYMD:e,activeDate:i,activeFormatted:i?this.formatDateString(i):"",disabled:this.dateDisabled(i),locale:this.computedLocale,calendarLocale:this.calendarLocale,rtl:this.isRTL}},dateOutOfRange:function(){var t=this.computedMin,e=this.computedMax;return function(n){return n=$a(n),t&&n<t||e&&n>e}},dateDisabled:function(){var t=this,e=this.dateOutOfRange;return function(n){n=$a(n);var i=Ia(n);return!(!e(n)&&!t.computedDateDisabledFn(i,n))}},formatDateString:function(){return La(this.calendarLocale,Qa(Qa({year:"numeric",month:"2-digit",day:"2-digit"},this.dateFormatOptions),{},{hour:void 0,minute:void 0,second:void 0,calendar:"gregory"}))},formatYearMonth:function(){return La(this.calendarLocale,{year:"numeric",month:"long",calendar:"gregory"})},formatWeekdayName:function(){return La(this.calendarLocale,{weekday:"long",calendar:"gregory"})},formatWeekdayNameShort:function(){return La(this.calendarLocale,{weekday:this.weekdayHeaderFormat||"short",calendar:"gregory"})},formatDay:function(){var t=new Intl.NumberFormat([this.computedLocale],{style:"decimal",minimumIntegerDigits:1,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"});return function(e){return t.format(e.getDate())}},prevDecadeDisabled:function(){var t=this.computedMin;return this.disabled||t&&Ra(Wa(this.activeDate))<t},prevYearDisabled:function(){var t=this.computedMin;return this.disabled||t&&Ra(Ha(this.activeDate))<t},prevMonthDisabled:function(){var t=this.computedMin;return this.disabled||t&&Ra(Ua(this.activeDate))<t},thisMonthDisabled:function(){return this.disabled},nextMonthDisabled:function(){var t=this.computedMax;return this.disabled||t&&Fa(za(this.activeDate))>t},nextYearDisabled:function(){var t=this.computedMax;return this.disabled||t&&Fa(Va(this.activeDate))>t},nextDecadeDisabled:function(){var t=this.computedMax;return this.disabled||t&&Fa(Ga(this.activeDate))>t},calendar:function(){for(var t=[],e=this.calendarFirstDay,n=e.getFullYear(),i=e.getMonth(),o=this.calendarDaysInMonth,r=e.getDay(),a=0-((this.computedWeekStarts>r?7:0)-this.computedWeekStarts)-r,s=0;s<6&&a<o;s++){t[s]=[];for(var l=0;l<7;l++){a++;var c=Da(n,i,a),u=c.getMonth(),d=Ia(c),p=this.dateDisabled(c),h=this.computedDateInfoFn(d,$a(d));h=_t(h)||kt(h)?{class:h}:St(h)?Qa({class:""},h):{class:""},t[s].push({ymd:d,day:this.formatDay(c),label:this.formatDateString(c),isThisMonth:u===i,isDisabled:p,info:h})}}return t},calendarHeadings:function(){var t=this;return this.calendar[0].map((function(e){return{text:t.formatWeekdayNameShort($a(e.ymd)),label:t.formatWeekdayName($a(e.ymd))}}))}},watch:(Aa={},ts(Aa,os,(function(t,e){var n=Ia(t)||"",i=Ia(e)||"";Ba(n,i)||(this.activeYMD=n||this.activeYMD,this.selectedYMD=n)})),ts(Aa,"selectedYMD",(function(t,e){t!==e&&this.$emit(rs,this.valueAsDate?$a(t)||null:t||"")})),ts(Aa,"context",(function(t,e){sr(t,e)||this.$emit("context",t)})),ts(Aa,"hidden",(function(t){this.activeYMD=this.selectedYMD||Ia(this[os]||this.constrainDate(this.initialDate||this.getToday())),this.setLive(!t)})),Aa),created:function(){var t=this;this.$nextTick((function(){t.$emit("context",t.context)}))},mounted:function(){this.setLive(!0)},activated:function(){this.setLive(!0)},deactivated:function(){this.setLive(!1)},beforeDestroy:function(){this.setLive(!1)},methods:{focus:function(){this.disabled||Xn(this.$refs.grid)},blur:function(){this.disabled||Kn(this.$refs.grid)},setLive:function(t){var e=this;t?this.$nextTick((function(){bn((function(){e.isLive=!0}))})):this.isLive=!1},getToday:function(){return $a(Da())},constrainDate:function(t){return qa(t,this.computedMin,this.computedMax)},emitSelected:function(t){var e=this;this.$nextTick((function(){e.$emit("selected",Ia(t)||"",$a(t)||null)}))},setGridFocusFlag:function(t){this.gridHasFocus=!this.disabled&&"focus"===t.type},onKeydownWrapper:function(t){if(!this.noKeyNav){var e=t.altKey,n=t.ctrlKey,i=t.keyCode;if(Je([33,34,tr,nr,ir,ar,or,Qo],i)){Pi(t);var o=Da(this.activeDate),r=Da(this.activeDate),a=o.getDate(),s=this.constrainDate(this.getToday()),l=this.isRTL;33===i?(o=(e?n?Wa:Ha:Ua)(o),(r=Da(o)).setDate(1)):34===i?(o=(e?n?Ga:Va:za)(o),(r=Da(o)).setMonth(r.getMonth()+1),r.setDate(0)):i===ir?(o.setDate(a+(l?1:-1)),r=o=this.constrainDate(o)):i===or?(o.setDate(a+(l?-1:1)),r=o=this.constrainDate(o)):i===ar?(o.setDate(a-7),r=o=this.constrainDate(o)):i===Qo?(o.setDate(a+7),r=o=this.constrainDate(o)):i===nr?r=o=s:i===tr&&(r=o=$a(this.selectedDate)||s),this.dateOutOfRange(r)||Ba(o,this.activeDate)||(this.activeYMD=Ia(o)),this.focus()}}},onKeydownGrid:function(t){var e=t.keyCode,n=this.activeDate;e!==er&&e!==rr||(Pi(t),this.disabled||this.readonly||this.dateDisabled(n)||(this.selectedYMD=Ia(n),this.emitSelected(n)),this.focus())},onClickDay:function(t){var e=this.selectedDate,n=this.activeDate,i=$a(t.ymd);this.disabled||t.isDisabled||this.dateDisabled(i)||(this.readonly||(this.selectedYMD=Ia(Ba(i,e)?e:i),this.emitSelected(i)),this.activeYMD=Ia(Ba(i,n)?n:Da(i)),this.focus())},gotoPrevDecade:function(){this.activeYMD=Ia(this.constrainDate(Wa(this.activeDate)))},gotoPrevYear:function(){this.activeYMD=Ia(this.constrainDate(Ha(this.activeDate)))},gotoPrevMonth:function(){this.activeYMD=Ia(this.constrainDate(Ua(this.activeDate)))},gotoCurrentMonth:function(){this.activeYMD=Ia(this.constrainDate(this.getToday()))},gotoNextMonth:function(){this.activeYMD=Ia(this.constrainDate(za(this.activeDate)))},gotoNextYear:function(){this.activeYMD=Ia(this.constrainDate(Va(this.activeDate)))},gotoNextDecade:function(){this.activeYMD=Ia(this.constrainDate(Ga(this.activeDate)))},onHeaderClick:function(){this.disabled||(this.activeYMD=this.selectedYMD||Ia(this.getToday()),this.focus())}},render:function(t){var e=this;if(this.hidden)return t();var n=this.valueId,i=this.widgetId,o=this.navId,r=this.gridId,a=this.gridCaptionId,s=this.gridHelpId,l=this.activeId,c=this.disabled,u=this.noKeyNav,d=this.isLive,p=this.isRTL,h=this.activeYMD,f=this.selectedYMD,m=this.safeId,v=!this.showDecadeNav,g=Ia(this.getToday()),b=!this.noHighlightToday,y=t("output",{staticClass:"form-control form-control-sm text-center",class:{"text-muted":c,readonly:this.readonly||c},attrs:{id:n,for:r,role:"status",tabindex:c?null:"-1","data-selected":dn(f),"aria-live":d?"polite":"off","aria-atomic":d?"true":null},on:{click:this.onHeaderClick,focus:this.onHeaderClick}},this.selectedDate?[t("bdi",{staticClass:"sr-only"}," (".concat(dn(this.labelSelected),") ")),t("bdi",this.formatDateString(this.selectedDate))]:this.labelNoDateSelected||" ");y=t("header",{staticClass:"b-calendar-header",class:{"sr-only":this.hideHeader},attrs:{title:this.selectedDate&&this.labelSelectedDate||null}},[y]);var w={isRTL:p},_={shiftV:.5},x=Qa(Qa({},_),{},{flipH:p}),C=Qa(Qa({},_),{},{flipH:!p}),k=this.normalizeSlot("nav-prev-decade",w)||t(Ao,{props:x}),O=this.normalizeSlot("nav-prev-year",w)||t(Do,{props:x}),S=this.normalizeSlot("nav-prev-month",w)||t(Io,{props:x}),P=this.normalizeSlot("nav-this-month",w)||t(Bo,{props:_}),T=this.normalizeSlot("nav-next-month",w)||t(Io,{props:C}),j=this.normalizeSlot("nav-next-year",w)||t(Do,{props:C}),M=this.normalizeSlot("nav-next-decade",w)||t(Ao,{props:C}),E=function(n,i,o,r,a){return t("button",{staticClass:"btn btn-sm border-0 flex-fill",class:[e.computedNavButtonVariant,{disabled:r}],attrs:{title:i||null,type:"button",tabindex:u?"-1":null,"aria-label":i||null,"aria-disabled":r?"true":null,"aria-keyshortcuts":a||null},on:r?{}:{click:o}},[t("div",{attrs:{"aria-hidden":"true"}},[n])])},A=t("div",{staticClass:"b-calendar-nav d-flex",attrs:{id:o,role:"group",tabindex:u?"-1":null,"aria-hidden":c?"true":null,"aria-label":this.labelNav||null,"aria-controls":r}},[v?t():E(k,this.labelPrevDecade,this.gotoPrevDecade,this.prevDecadeDisabled,"Ctrl+Alt+PageDown"),E(O,this.labelPrevYear,this.gotoPrevYear,this.prevYearDisabled,"Alt+PageDown"),E(S,this.labelPrevMonth,this.gotoPrevMonth,this.prevMonthDisabled,"PageDown"),E(P,this.labelCurrentMonth,this.gotoCurrentMonth,this.thisMonthDisabled,"Home"),E(T,this.labelNextMonth,this.gotoNextMonth,this.nextMonthDisabled,"PageUp"),E(j,this.labelNextYear,this.gotoNextYear,this.nextYearDisabled,"Alt+PageUp"),v?t():E(M,this.labelNextDecade,this.gotoNextDecade,this.nextDecadeDisabled,"Ctrl+Alt+PageUp")]),D=t("header",{staticClass:"b-calendar-grid-caption text-center font-weight-bold",class:{"text-muted":c},attrs:{id:a,"aria-live":d?"polite":null,"aria-atomic":d?"true":null},key:"grid-caption"},this.formatYearMonth(this.calendarFirstDay)),$=t("div",{staticClass:"b-calendar-grid-weekdays row no-gutters border-bottom",attrs:{"aria-hidden":"true"}},this.calendarHeadings.map((function(e,n){return t("small",{staticClass:"col text-truncate",class:{"text-muted":c},attrs:{title:e.label===e.text?null:e.label,"aria-label":e.label},key:n},e.text)}))),I=this.calendar.map((function(n){var i=n.map((function(n,i){var o,r=n.ymd===f,a=n.ymd===h,s=n.ymd===g,l=m("_cell-".concat(n.ymd,"_")),u=t("span",{staticClass:"btn border-0 rounded-circle text-nowrap",class:(o={focus:a&&e.gridHasFocus,disabled:n.isDisabled||c,active:r},ts(o,e.computedVariant,r),ts(o,e.computedTodayVariant,s&&b&&!r&&n.isThisMonth),ts(o,"btn-outline-light",!(s&&b||r||a)),ts(o,"btn-light",!(s&&b)&&!r&&a),ts(o,"text-muted",!n.isThisMonth&&!r),ts(o,"text-dark",!(s&&b)&&!r&&!a&&n.isThisMonth),ts(o,"font-weight-bold",(r||n.isThisMonth)&&!n.isDisabled),o),on:{click:function(){return e.onClickDay(n)}}},n.day);return t("div",{staticClass:"col p-0",class:n.isDisabled?"bg-light":n.info.class||"",attrs:{id:l,role:"button","data-date":n.ymd,"aria-hidden":n.isThisMonth?null:"true","aria-disabled":n.isDisabled||c?"true":null,"aria-label":[n.label,r?"(".concat(e.labelSelected,")"):null,s?"(".concat(e.labelToday,")"):null].filter(Kt).join(" "),"aria-selected":r?"true":null,"aria-current":r?"date":null},key:i},[u])}));return t("div",{staticClass:"row no-gutters",key:n[0].ymd},i)}));I=t("div",{staticClass:"b-calendar-grid-body",style:c?{pointerEvents:"none"}:{}},I);var L=t("footer",{staticClass:"b-calendar-grid-help border-top small text-muted text-center bg-light",attrs:{id:s}},[t("div",{staticClass:"small"},this.labelHelp)]),B=t("div",{staticClass:"b-calendar-grid form-control h-auto text-center",attrs:{id:r,role:"application",tabindex:u?"-1":c?null:"0","data-month":h.slice(0,-3),"aria-roledescription":this.labelCalendar||null,"aria-labelledby":a,"aria-describedby":s,"aria-disabled":c?"true":null,"aria-activedescendant":l},on:{keydown:this.onKeydownGrid,focus:this.setGridFocusFlag,blur:this.setGridFocusFlag},ref:"grid"},[D,$,I,L]),F=this.normalizeSlot();F=F?t("footer",{staticClass:"b-calendar-footer"},F):t();var R=t("div",{staticClass:"b-calendar-inner",style:this.block?{}:{width:this.width},attrs:{id:i,dir:p?"rtl":"ltr",lang:this.computedLocale||null,role:"group","aria-disabled":c?"true":null,"aria-controls":this.ariaControls||null,"aria-roledescription":this.roleDescription||null,"aria-describedby":[this.bvAttrs["aria-describedby"],n,s].filter(Kt).join(" ")},on:{keydown:this.onKeydownWrapper}},[y,A,B,F]);return t("div",{staticClass:"b-calendar",class:{"d-block":this.block}},[R])}}),ls=he({components:{BCalendar:ss}}),cs=mi({bgVariant:di(Le),borderVariant:di(Le),tag:di(Le,"div"),textVariant:di(Le)},"BCard"),us=(o.a.extend({props:cs}),mi({title:di(Le),titleTag:di(Le,"h4")},"BCardTitle")),ds=o.a.extend({name:"BCardTitle",functional:!0,props:us,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t(n.titleTag,Oe(i,{staticClass:"card-title"}),o||dn(n.title))}}),ps=mi({subTitle:di(Le),subTitleTag:di(Le,"h6"),subTitleTextVariant:di(Le,"muted")},"BCardSubTitle"),hs=o.a.extend({name:"BCardSubTitle",functional:!0,props:ps,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t(n.subTitleTag,Oe(i,{staticClass:"card-subtitle",class:[n.subTitleTextVariant?"text-".concat(n.subTitleTextVariant):null]}),o||dn(n.subTitle))}});function fs(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ms(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fs(Object(n),!0).forEach((function(e){vs(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fs(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function vs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var gs=mi(Ht(ms(ms(ms(ms({},us),ps),pi(cs,li.bind(null,"body"))),{},{bodyClass:di(Re),overlay:di(Me,!1)})),"BCardBody"),bs=o.a.extend({name:"BCardBody",functional:!0,props:gs,render:function(t,e){var n,i=e.props,o=e.data,r=e.children,a=i.bodyBgVariant,s=i.bodyBorderVariant,l=i.bodyTextVariant,c=t();i.title&&(c=t(ds,{props:hi(us,i)}));var u=t();return i.subTitle&&(u=t(hs,{props:hi(ps,i),class:["mb-2"]})),t(i.bodyTag,Oe(o,{staticClass:"card-body",class:[(n={"card-img-overlay":i.overlay},vs(n,"bg-".concat(a),a),vs(n,"border-".concat(s),s),vs(n,"text-".concat(l),l),n),i.bodyClass]}),[c,u,r])}});function ys(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ws(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ys(Object(n),!0).forEach((function(e){_s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ys(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function _s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var xs=mi(Ht(ws(ws({},pi(cs,li.bind(null,"header"))),{},{header:di(Le),headerClass:di(Re),headerHtml:di(Le)})),"BCardHeader"),Cs=o.a.extend({name:"BCardHeader",functional:!0,props:xs,render:function(t,e){var n,i=e.props,o=e.data,r=e.children,a=i.headerBgVariant,s=i.headerBorderVariant,l=i.headerTextVariant;return t(i.headerTag,Oe(o,{staticClass:"card-header",class:[i.headerClass,(n={},_s(n,"bg-".concat(a),a),_s(n,"border-".concat(s),s),_s(n,"text-".concat(l),l),n)],domProps:r?{}:ia(i.headerHtml,i.header)}),r)}});function ks(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Os(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ks(Object(n),!0).forEach((function(e){Ss(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ks(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ss(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ps=mi(Ht(Os(Os({},pi(cs,li.bind(null,"footer"))),{},{footer:di(Le),footerClass:di(Re),footerHtml:di(Le)})),"BCardFooter"),Ts=o.a.extend({name:"BCardFooter",functional:!0,props:Ps,render:function(t,e){var n,i=e.props,o=e.data,r=e.children,a=i.footerBgVariant,s=i.footerBorderVariant,l=i.footerTextVariant;return t(i.footerTag,Oe(o,{staticClass:"card-footer",class:[i.footerClass,(n={},Ss(n,"bg-".concat(a),a),Ss(n,"border-".concat(s),s),Ss(n,"text-".concat(l),l),n)],domProps:r?{}:ia(i.footerHtml,i.footer)}),r)}});function js(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ms='<svg width="%{w}" height="%{h}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 %{w} %{h}" preserveAspectRatio="none"><rect width="100%" height="100%" style="fill:%{f};"></rect></svg>',Es=mi({alt:di(Le),blank:di(Me,!1),blankColor:di(Le,"transparent"),block:di(Me,!1),center:di(Me,!1),fluid:di(Me,!1),fluidGrow:di(Me,!1),height:di(Ge),left:di(Me,!1),right:di(Me,!1),rounded:di(He,!1),sizes:di(Ne),src:di(Le),srcset:di(Ne),thumbnail:di(Me,!1),width:di(Ge)},"BImg"),As=o.a.extend({name:"BImg",functional:!0,props:Es,render:function(t,e){var n,i=e.props,o=e.data,r=i.alt,a=i.src,s=i.block,l=i.fluidGrow,c=i.rounded,u=nn(i.width)||null,d=nn(i.height)||null,p=null,h=Ze(i.srcset).filter(Kt).join(","),f=Ze(i.sizes).filter(Kt).join(",");return i.blank&&(!d&&u?d=u:!u&&d&&(u=d),u||d||(u=1,d=1),a=function(t,e,n){var i=encodeURIComponent(Ms.replace("%{w}",dn(t)).replace("%{h}",dn(e)).replace("%{f}",n));return"data:image/svg+xml;charset=UTF-8,".concat(i)}(u,d,i.blankColor||"transparent"),h=null,f=null),i.left?p="float-left":i.right?p="float-right":i.center&&(p="mx-auto",s=!0),t("img",Oe(o,{attrs:{src:a,alt:r,width:u?dn(u):null,height:d?dn(d):null,srcset:h||null,sizes:f||null},class:(n={"img-thumbnail":i.thumbnail,"img-fluid":i.fluid||l,"w-100":l,rounded:""===c||!0===c},js(n,"rounded-".concat(c),_t(c)&&""!==c),js(n,p,p),js(n,"d-block",s),n)}))}});function Ds(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function $s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ds(Object(n),!0).forEach((function(e){Is(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ds(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Is(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ls=mi(Ht($s($s({},Ut(Es,["src","alt","width","height","left","right"])),{},{bottom:di(Me,!1),end:di(Me,!1),start:di(Me,!1),top:di(Me,!1)})),"BCardImg"),Bs=o.a.extend({name:"BCardImg",functional:!0,props:Ls,render:function(t,e){var n=e.props,i=e.data,o=n.src,r=n.alt,a=n.width,s=n.height,l="card-img";return n.top?l+="-top":n.right||n.end?l+="-right":n.bottom?l+="-bottom":(n.left||n.start)&&(l+="-left"),t("img",Oe(i,{class:l,attrs:{src:o,alt:r,width:a,height:s}}))}});function Fs(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Rs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fs(Object(n),!0).forEach((function(e){Ns(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fs(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ns(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Us=pi(Ls,li.bind(null,"img"));Us.imgSrc.required=!1;var zs=mi(Ht(Rs(Rs(Rs(Rs(Rs(Rs({},gs),xs),Ps),Us),cs),{},{align:di(Le),noBody:di(Me,!1)})),"BCard"),Hs=o.a.extend({name:"BCard",functional:!0,props:zs,render:function(t,e){var n,i=e.props,o=e.data,r=e.slots,a=e.scopedSlots,s=i.imgSrc,l=i.imgLeft,c=i.imgRight,u=i.imgStart,d=i.imgEnd,p=i.imgBottom,h=i.header,f=i.headerHtml,m=i.footer,v=i.footerHtml,g=i.align,b=i.textVariant,y=i.bgVariant,w=i.borderVariant,_=a||{},x=r(),C={},k=t(),O=t();if(s){var S=t(Bs,{props:hi(Us,i,ci.bind(null,"img"))});p?O=S:k=S}var P=t(),T=wi("header",_,x);(T||h||f)&&(P=t(Cs,{props:hi(xs,i),domProps:T?{}:ia(f,h)},_i("header",C,_,x)));var j=_i("default",C,_,x);i.noBody||(j=t(bs,{props:hi(gs,i)},j),i.overlay&&s&&(j=t("div",{staticClass:"position-relative"},[k,j,O]),k=t(),O=t()));var M=t();return(wi("footer",_,x)||m||v)&&(M=t(Ts,{props:hi(Ps,i),domProps:T?{}:ia(v,m)},_i("footer",C,_,x))),t(i.tag,Oe(o,{staticClass:"card",class:(n={"flex-row":l||u,"flex-row-reverse":(c||d)&&!(l||u)},Ns(n,"text-".concat(g),g),Ns(n,"bg-".concat(y),y),Ns(n,"border-".concat(w),w),Ns(n,"text-".concat(b),b),n)}),[k,P,j,M,O])}});function Vs(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var Ws,Gs="__bv__visibility_observer",qs=function(){function t(e,n,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.callback=n.callback,this.margin=n.margin||0,this.once=n.once||!1,this.observer=null,this.visible=void 0,this.doneOnce=!1,this.createObserver(i)}var e,n,i;return e=t,(n=[{key:"createObserver",value:function(t){var e=this;if(this.observer&&this.stop(),!this.doneOnce&&yt(this.callback)){try{this.observer=new IntersectionObserver(this.handler.bind(this),{root:null,rootMargin:this.margin,threshold:0})}catch(t){return this.doneOnce=!0,this.observer=void 0,void this.callback(null)}t.context.$nextTick((function(){bn((function(){e.observer&&e.observer.observe(e.el)}))}))}}},{key:"handler",value:function(t){var e=t?t[0]:{},n=Boolean(e.isIntersecting||e.intersectionRatio>0);n!==this.visible&&(this.visible=n,this.callback(n),this.once&&this.visible&&(this.doneOnce=!0,this.stop()))}},{key:"stop",value:function(){this.observer&&this.observer.disconnect(),this.observer=null}}])&&Vs(e.prototype,n),i&&Vs(e,i),t}(),Ys=function(t){var e=t[Gs];e&&e.stop&&e.stop(),delete t[Gs]},Xs=function(t,e,n){var i=e.value,o=e.modifiers,r={margin:"0px",once:!1,callback:i};Ft(o).forEach((function(t){k.test(t)?r.margin="".concat(t,"px"):"once"===t.toLowerCase()&&(r.once=!0)})),Ys(t),t[Gs]=new qs(t,r,n),t[Gs]._prevModifiers=Nt(o)},Ks={bind:Xs,componentUpdated:function(t,e,n){var i=e.value,o=e.oldValue,r=e.modifiers;r=Nt(r),!t||i===o&&t[Gs]&&sr(r,t[Gs]._prevModifiers)||Xs(t,{value:i,modifiers:r},n)},unbind:function(t){Ys(t)}};function Js(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Zs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Js(Object(n),!0).forEach((function(e){Qs(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Js(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Qs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tl=zt(Es,["blank"]),el=mi(Zs(Zs({},tl),{},Qs({blankColor:di(Le,"transparent"),blankHeight:di(Ge),blankSrc:di(Le,null),blankWidth:di(Ge),offset:di(Ge,360)},"show",di(Me,!1))),"BImgLazy"),nl=o.a.extend({name:"BImgLazy",directives:{"b-visible":Ks},props:el,data:function(){return{isShown:this.show}},computed:{computedSrc:function(){var t=this.blankSrc;return!t||this.isShown?this.src:t},computedBlank:function(){return!(this.isShown||this.blankSrc)},computedWidth:function(){var t=this.width;return this.isShown?t:this.blankWidth||t},computedHeight:function(){var t=this.height;return this.isShown?t:this.blankHeight||t},computedSrcset:function(){var t=Ze(this.srcset).filter(Kt).join(",");return!this.blankSrc||this.isShown?t:null},computedSizes:function(){var t=Ze(this.sizes).filter(Kt).join(",");return!this.blankSrc||this.isShown?t:null}},watch:(Ws={},Qs(Ws,"show",(function(t,e){if(t!==e){var n=!y||t;this.isShown=n,n!==t&&this.$nextTick(this.updateShowProp)}})),Qs(Ws,"isShown",(function(t,e){t!==e&&this.updateShowProp()})),Ws),mounted:function(){this.isShown=!y||this.show},methods:{updateShowProp:function(){this.$emit("update:show",this.isShown)},doShow:function(t){!t&&null!==t||this.isShown||(this.isShown=!0)}},render:function(t){var e,n=[];this.isShown||n.push({name:"b-visible",value:this.doShow,modifiers:(e={},Qs(e,"".concat(nn(this.offset,0)),!0),Qs(e,"once",!0),e)});return t(As,{directives:n,props:Zs({src:this.computedSrc,blank:this.computedBlank,width:this.computedWidth,height:this.computedHeight,srcset:this.computedSrcset||null,sizes:this.computedSizes||null},hi(tl,this.$props))})}});function il(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ol(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?il(Object(n),!0).forEach((function(e){rl(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):il(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function rl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var al=mi(Ht(ol(ol({},zt(el,Ft(Es))),zt(Ls,["src","alt","width","height"]))),"BCardImgLazy"),sl=o.a.extend({name:"BCardImgLazy",functional:!0,props:al,render:function(t,e){var n=e.props,i=e.data,o="card-img";return n.top?o+="-top":n.right||n.end?o+="-right":n.bottom?o+="-bottom":(n.left||n.start)&&(o+="-left"),t(nl,Oe(i,{class:[o],props:zt(n,["left","right"])}))}}),ll=mi({textTag:di(Le,"p")},"BCardText"),cl=o.a.extend({name:"BCardText",functional:!0,props:ll,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t(n.textTag,Oe(i,{staticClass:"card-text"}),o)}}),ul=mi({columns:di(Me,!1),deck:di(Me,!1),tag:di(Le,"div")},"BCardGroup"),dl=he({components:{BCard:Hs,BCardHeader:Cs,BCardBody:bs,BCardTitle:ds,BCardSubTitle:hs,BCardFooter:Ts,BCardImg:Bs,BCardImgLazy:sl,BCardText:cl,BCardGroup:o.a.extend({name:"BCardGroup",functional:!0,props:ul,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t(n.tag,Oe(i,{class:n.deck?"card-deck":n.columns?"card-columns":"card-group"}),o)}})}}),pl=function(){};function hl(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function fl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ml,vl=function(t,e,n){if(t=t?t.$el||t:null,!wn(t))return null;if(i="observeDom",!c&&(te("".concat(i,": Requires MutationObserver support.")),1))return null;var i,o=new yn((function(t){for(var n=!1,i=0;i<t.length&&!n;i++){var o=t[i],r=o.type,a=o.target;("characterData"===r&&a.nodeType===Node.TEXT_NODE||"attributes"===r||"childList"===r&&(o.addedNodes.length>0||o.removedNodes.length>0))&&(n=!0)}n&&e()}));return o.observe(t,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?hl(Object(n),!0).forEach((function(e){fl(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):hl(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({childList:!0,subtree:!0},n)),o};function gl(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function bl(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gl(Object(n),!0).forEach((function(e){yl(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gl(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function yl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var wl=yi("value",{type:De,defaultValue:0}),_l=wl.mixin,xl=wl.props,Cl=wl.prop,kl=wl.event,Ol={next:{dirClass:"carousel-item-left",overlayClass:"carousel-item-next"},prev:{dirClass:"carousel-item-right",overlayClass:"carousel-item-prev"}},Sl={TOUCH:"touch",PEN:"pen"},Pl={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend oTransitionEnd",transition:"transitionend"},Tl=mi(Ht(bl(bl(bl({},Ka),xl),{},{background:di(Le),controls:di(Me,!1),fade:di(Me,!1),imgHeight:di(Ge),imgWidth:di(Ge),indicators:di(Me,!1),interval:di(De,5e3),labelGotoSlide:di(Le,"Goto slide"),labelIndicators:di(Le,"Select a slide to display"),labelNext:di(Le,"Next slide"),labelPrev:di(Le,"Previous slide"),noAnimation:di(Me,!1),noHoverPause:di(Me,!1),noTouch:di(Me,!1),noWrap:di(Me,!1)})),"BCarousel"),jl=o.a.extend({name:"BCarousel",mixins:[Ja,_l,xi],provide:function(){return{bvCarousel:this}},props:Tl,data:function(){return{index:this[Cl]||0,isSliding:!1,transitionEndEvent:null,slides:[],direction:null,isPaused:!(nn(this.interval,0)>0),touchStartX:0,touchDeltaX:0}},computed:{numSlides:function(){return this.slides.length}},watch:(ml={},yl(ml,Cl,(function(t,e){t!==e&&this.setSlide(nn(t,0))})),yl(ml,"interval",(function(t,e){t!==e&&(t?(this.pause(!0),this.start(!1)):this.pause(!1))})),yl(ml,"isPaused",(function(t,e){t!==e&&this.$emit(t?"paused":"unpaused")})),yl(ml,"index",(function(t,e){t===e||this.isSliding||this.doSlide(t,e)})),ml),created:function(){this.$_interval=null,this.$_animationTimeout=null,this.$_touchTimeout=null,this.$_observer=null,this.isPaused=!(nn(this.interval,0)>0)},mounted:function(){this.transitionEndEvent=function(t){for(var e in Pl)if(!vt(t.style[e]))return Pl[e];return null}(this.$el)||null,this.updateSlides(),this.setObserver(!0)},beforeDestroy:function(){this.clearInterval(),this.clearAnimationTimeout(),this.clearTouchTimeout(),this.setObserver(!1)},methods:{clearInterval:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){clearInterval(this.$_interval),this.$_interval=null})),clearAnimationTimeout:function(){clearTimeout(this.$_animationTimeout),this.$_animationTimeout=null},clearTouchTimeout:function(){clearTimeout(this.$_touchTimeout),this.$_touchTimeout=null},setObserver:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,t&&(this.$_observer=vl(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]}))},setSlide:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(u&&document.visibilityState&&document.hidden)){var i=this.noWrap,o=this.numSlides;t=io(t),0!==o&&(this.isSliding?this.$once("sliding-end",(function(){bn((function(){return e.setSlide(t,n)}))})):(this.direction=n,this.index=t>=o?i?o-1:0:t<0?i?0:o-1:t,i&&this.index!==t&&this.index!==this[Cl]&&this.$emit(kl,this.index)))}},prev:function(){this.setSlide(this.index-1,"prev")},next:function(){this.setSlide(this.index+1,"next")},pause:function(t){t||(this.isPaused=!0),this.clearInterval()},start:function(t){t||(this.isPaused=!1),this.clearInterval(),this.interval&&this.numSlides>1&&(this.$_interval=setInterval(this.next,to(1e3,this.interval)))},restart:function(){this.$el.contains(_n())||this.start()},doSlide:function(t,e){var n=this,i=Boolean(this.interval),o=this.calcDirection(this.direction,e,t),r=o.overlayClass,a=o.dirClass,s=this.slides[e],l=this.slides[t];if(s&&l){if(this.isSliding=!0,i&&this.pause(!1),this.$emit("sliding-start",t),this.$emit(kl,this.index),this.noAnimation)Dn(l,"active"),$n(s,"active"),this.isSliding=!1,this.$nextTick((function(){return n.$emit("sliding-end",t)}));else{Dn(l,r),Sn(l),Dn(s,a),Dn(l,a);var c=!1,u=function e(){if(!c){if(c=!0,n.transitionEndEvent)n.transitionEndEvent.split(/\s+/).forEach((function(t){return Oi(l,t,e,Te)}));n.clearAnimationTimeout(),$n(l,a),$n(l,r),Dn(l,"active"),$n(s,"active"),$n(s,a),$n(s,r),Ln(s,"aria-current","false"),Ln(l,"aria-current","true"),Ln(s,"aria-hidden","true"),Ln(l,"aria-hidden","false"),n.isSliding=!1,n.direction=null,n.$nextTick((function(){return n.$emit("sliding-end",t)}))}};if(this.transitionEndEvent)this.transitionEndEvent.split(/\s+/).forEach((function(t){return ki(l,t,u,Te)}));this.$_animationTimeout=setTimeout(u,650)}i&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=Pn(".carousel-item",this.$refs.inner);var t=this.slides.length,e=to(0,Qi(io(this.index),t-1));this.slides.forEach((function(n,i){var o=i+1;i===e?(Dn(n,"active"),Ln(n,"aria-current","true")):($n(n,"active"),Ln(n,"aria-current","false")),Ln(n,"aria-posinset",String(o)),Ln(n,"aria-setsize",String(t))})),this.setSlide(e),this.start(this.isPaused)},calcDirection:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t?Ol[t]:n>e?Ol.next:Ol.prev},handleClick:function(t,e){var n=t.keyCode;"click"!==t.type&&n!==rr&&n!==er||(Pi(t),e())},handleSwipe:function(){var t=eo(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0?this.prev():e<0&&this.next()}},touchStart:function(t){b&&Sl[t.pointerType.toUpperCase()]?this.touchStartX=t.clientX:b||(this.touchStartX=t.touches[0].clientX)},touchMove:function(t){t.touches&&t.touches.length>1?this.touchDeltaX=0:this.touchDeltaX=t.touches[0].clientX-this.touchStartX},touchEnd:function(t){b&&Sl[t.pointerType.toUpperCase()]&&(this.touchDeltaX=t.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this.clearTouchTimeout(),this.$_touchTimeout=setTimeout(this.start,500+to(1e3,this.interval))}},render:function(t){var e=this,n=this.indicators,i=this.background,o=this.noAnimation,r=this.noHoverPause,a=this.noTouch,s=this.index,l=this.isSliding,c=this.pause,u=this.restart,d=this.touchStart,p=this.touchEnd,h=this.safeId("__BV_inner_"),f=t("div",{staticClass:"carousel-inner",attrs:{id:h,role:"list"},ref:"inner"},[this.normalizeSlot()]),m=t();if(this.controls){var v=function(n,i,o){var r=function(t){l?Pi(t,{propagation:!1}):e.handleClick(t,o)};return t("a",{staticClass:"carousel-control-".concat(n),attrs:{href:"#",role:"button","aria-controls":h,"aria-disabled":l?"true":null},on:{click:r,keydown:r}},[t("span",{staticClass:"carousel-control-".concat(n,"-icon"),attrs:{"aria-hidden":"true"}}),t("span",{class:"sr-only"},[i])])};m=[v("prev",this.labelPrev,this.prev),v("next",this.labelNext,this.next)]}var y=t("ol",{staticClass:"carousel-indicators",directives:[{name:"show",value:n}],attrs:{id:this.safeId("__BV_indicators_"),"aria-hidden":n?"false":"true","aria-label":this.labelIndicators,"aria-owns":h}},this.slides.map((function(i,o){var r=function(t){e.handleClick(t,(function(){e.setSlide(o)}))};return t("li",{class:{active:o===s},attrs:{role:"button",id:e.safeId("__BV_indicator_".concat(o+1,"_")),tabindex:n?"0":"-1","aria-current":o===s?"true":"false","aria-label":"".concat(e.labelGotoSlide," ").concat(o+1),"aria-describedby":i.id||null,"aria-controls":h},on:{click:r,keydown:r},key:"slide_".concat(o)})}))),w={mouseenter:r?pl:c,mouseleave:r?pl:u,focusin:c,focusout:u,keydown:function(t){if(!/input|textarea/i.test(t.target.tagName)){var n=t.keyCode;n!==ir&&n!==or||(Pi(t),e[n===ir?"prev":"next"]())}}};return g&&!a&&(b?(w["&pointerdown"]=d,w["&pointerup"]=p):(w["&touchstart"]=d,w["&touchmove"]=this.touchMove,w["&touchend"]=p)),t("div",{staticClass:"carousel",class:{slide:!o,"carousel-fade":!o&&this.fade,"pointer-event":g&&b&&!a},style:{background:i},attrs:{role:"region",id:this.safeId(),"aria-busy":l?"true":"false"},on:w},[f,m,y])}});function Ml(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function El(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ml(Object(n),!0).forEach((function(e){Al(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ml(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Al(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Dl,$l={imgAlt:di(Le),imgBlank:di(Me,!1),imgBlankColor:di(Le,"transparent"),imgHeight:di(Ge),imgSrc:di(Le),imgWidth:di(Ge)},Il=mi(Ht(El(El(El({},Ka),$l),{},{background:di(Le),caption:di(Le),captionHtml:di(Le),captionTag:di(Le,"h3"),contentTag:di(Le,"div"),contentVisibleUp:di(Le),text:di(Le),textHtml:di(Le),textTag:di(Le,"p")})),"BCarouselSlide"),Ll=he({components:{BCarousel:jl,BCarouselSlide:o.a.extend({name:"BCarouselSlide",mixins:[Ja,xi],inject:{bvCarousel:{default:function(){return{noTouch:!0}}}},props:Il,computed:{contentClasses:function(){return[this.contentVisibleUp?"d-none":"",this.contentVisibleUp?"d-".concat(this.contentVisibleUp,"-block"):""]},computedWidth:function(){return this.imgWidth||this.bvCarousel.imgWidth||null},computedHeight:function(){return this.imgHeight||this.bvCarousel.imgHeight||null}},render:function(t){var e=this.normalizeSlot("img");if(!e&&(this.imgSrc||this.imgBlank)){var n={};!this.bvCarousel.noTouch&&g&&(n.dragstart=function(t){return Pi(t,{propagation:!1})}),e=t(As,{props:El(El({},hi($l,this.$props,ci.bind(null,"img"))),{},{width:this.computedWidth,height:this.computedHeight,fluidGrow:!0,block:!0}),on:n})}var i=[!(!this.caption&&!this.captionHtml)&&t(this.captionTag,{domProps:ia(this.captionHtml,this.caption)}),!(!this.text&&!this.textHtml)&&t(this.textTag,{domProps:ia(this.textHtml,this.text)}),this.normalizeSlot()||!1],o=t();return i.some(Kt)&&(o=t(this.contentTag,{staticClass:"carousel-caption",class:this.contentClasses},i.map((function(e){return e||t()})))),t("div",{staticClass:"carousel-item",style:{background:this.background||this.bvCarousel.background||null},attrs:{id:this.safeId(),role:"listitem"}},[e,o])}})}}),Bl={css:!0,enterClass:"",enterActiveClass:"collapsing",enterToClass:"collapse show",leaveClass:"collapse show",leaveActiveClass:"collapsing",leaveToClass:"collapse"},Fl={enter:function(t){Nn(t,"height",0),bn((function(){Sn(t),Nn(t,"height","".concat(t.scrollHeight,"px"))}))},afterEnter:function(t){Un(t,"height")},leave:function(t){Nn(t,"height","auto"),Nn(t,"display","block"),Nn(t,"height","".concat(Hn(t).height,"px")),Sn(t),Nn(t,"height",0)},afterLeave:function(t){Un(t,"height")}},Rl={appear:di(Me,!1)},Nl=o.a.extend({name:"BVCollapse",functional:!0,props:Rl,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t("transition",Oe(i,{props:Bl,on:Fl},{props:n}),o)}});function Ul(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function zl(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ul(Object(n),!0).forEach((function(e){Hl(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ul(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Hl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Vl=Mi("BCollapse","toggle"),Wl=Mi("BCollapse","request-state"),Gl=ji("BCollapse","accordion"),ql=ji("BCollapse","state"),Yl=ji("BCollapse","sync-state"),Xl=yi("visible",{type:Me,defaultValue:!1}),Kl=Xl.mixin,Jl=Xl.props,Zl=Xl.prop,Ql=Xl.event,tc=mi(Ht(zl(zl(zl({},Ka),Jl),{},{accordion:di(Le),appear:di(Me,!1),isNav:di(Me,!1),tag:di(Le,"div")})),"BCollapse"),ec=o.a.extend({name:"BCollapse",mixins:[Ja,Kl,xi,hr],props:tc,data:function(){return{show:this[Zl],transitioning:!1}},computed:{classObject:function(){var t=this.transitioning;return{"navbar-collapse":this.isNav,collapse:!t,show:this.show&&!t}},slotScope:function(){var t=this;return{visible:this.show,close:function(){t.show=!1}}}},watch:(Dl={},Hl(Dl,Zl,(function(t){t!==this.show&&(this.show=t)})),Hl(Dl,"show",(function(t,e){t!==e&&this.emitState()})),Dl),created:function(){this.show=this[Zl]},mounted:function(){var t=this;this.show=this[Zl],this.listenOnRoot(Vl,this.handleToggleEvt),this.listenOnRoot(Gl,this.handleAccordionEvt),this.isNav&&(this.setWindowEvents(!0),this.handleResize()),this.$nextTick((function(){t.emitState()})),this.listenOnRoot(Wl,(function(e){e===t.safeId()&&t.$nextTick(t.emitSync)}))},updated:function(){this.emitSync()},deactivated:function(){this.isNav&&this.setWindowEvents(!1)},activated:function(){this.isNav&&this.setWindowEvents(!0),this.emitSync()},beforeDestroy:function(){this.show=!1,this.isNav&&u&&this.setWindowEvents(!1)},methods:{setWindowEvents:function(t){Si(t,window,"resize",this.handleResize,Te),Si(t,window,"orientationchange",this.handleResize,Te)},toggle:function(){this.show=!this.show},onEnter:function(){this.transitioning=!0,this.$emit("show")},onAfterEnter:function(){this.transitioning=!1,this.$emit("shown")},onLeave:function(){this.transitioning=!0,this.$emit("hide")},onAfterLeave:function(){this.transitioning=!1,this.$emit("hidden")},emitState:function(){var t=this.show,e=this.accordion,n=this.safeId();this.$emit(Ql,t),this.emitOnRoot(ql,n,t),e&&t&&this.emitOnRoot(Gl,n,e)},emitSync:function(){this.emitOnRoot(Yl,this.safeId(),this.show)},checkDisplayBlock:function(){var t=this.$el,e=In(t,"show");$n(t,"show");var n="block"===Vn(t).display;return e&&Dn(t,"show"),n},clickHandler:function(t){var e=t.target;this.isNav&&e&&"block"===Vn(this.$el).display&&(!jn(e,".nav-link,.dropdown-item")&&!Mn(".nav-link,.dropdown-item",e)||this.checkDisplayBlock()||(this.show=!1))},handleToggleEvt:function(t){t===this.safeId()&&this.toggle()},handleAccordionEvt:function(t,e){var n=this.accordion,i=this.show;if(n&&n===e){var o=t===this.safeId();(o&&!i||!o&&i)&&this.toggle()}},handleResize:function(){this.show="block"===Vn(this.$el).display}},render:function(t){var e=this.appear,n=t(this.tag,{class:this.classObject,directives:[{name:"show",value:this.show}],attrs:{id:this.safeId()},on:{click:this.clickHandler}},this.normalizeSlot("default",this.slotScope));return t(Nl,{props:{appear:e},on:{enter:this.onEnter,afterEnter:this.onAfterEnter,leave:this.onLeave,afterLeave:this.onAfterLeave}},[n])}}),nc="__BV_toggle",ic="".concat(nc,"_HANDLER__"),oc="".concat(nc,"_CLICK__"),rc="".concat(nc,"_STATE__"),ac="".concat(nc,"_TARGETS__"),sc=Mi("BCollapse","toggle"),lc=ji("BCollapse","state"),cc=ji("BCollapse","sync-state"),uc=Mi("BCollapse","request-state"),dc=[er,rr],pc=function(t){return!Je(["button","a"],t.tagName.toLowerCase())},hc=function(t){var e=t[oc];e&&(Oi(t,"click",e,Pe),Oi(t,"keydown",e,Pe)),t[oc]=null},fc=function(t,e){t[ic]&&e.context&&e.context.$root.$off([lc,cc],t[ic]),t[ic]=null},mc=function(t,e){e?($n(t,"collapsed"),Dn(t,"not-collapsed"),Ln(t,"aria-expanded","true")):($n(t,"not-collapsed"),Dn(t,"collapsed"),Ln(t,"aria-expanded","false"))},vc=function(t,e){t[e]=null,delete t[e]},gc=function(t,e,n){if(u&&n.context){pc(t)&&(Rn(t,"role")||Ln(t,"role","button"),Rn(t,"tabindex")||Ln(t,"tabindex","0")),mc(t,t[rc]);var i=function(t,e){var n=t.modifiers,i=t.arg,o=t.value,r=Ft(n||{});if(o=_t(o)?o.split(I):o,xn(e.tagName,"a")){var a=Fn(e,"href")||"";P.test(a)&&r.push(a.replace(S,""))}return Ze(i,o).forEach((function(t){return _t(t)&&r.push(t)})),r.filter((function(t,e,n){return t&&n.indexOf(t)===e}))}(e,t);i.length>0?(Ln(t,"aria-controls",i.join(" ")),Nn(t,"overflow-anchor","none")):(Bn(t,"aria-controls"),Un(t,"overflow-anchor")),bn((function(){!function(t,e){if(hc(t),e.context){var n=function(n){"keydown"===n.type&&!Je(dc,n.keyCode)||On(t)||(t[ac]||[]).forEach((function(t){e.context.$root.$emit(sc,t)}))};t[oc]=n,ki(t,"click",n,Pe),pc(t)&&ki(t,"keydown",n,Pe)}}(t,n)})),sr(i,t[ac])||(t[ac]=i,i.forEach((function(t){n.context.$root.$emit(uc,t)})))}},bc={bind:function(t,e,n){t[rc]=!1,t[ac]=[],function(t,e){if(fc(t,e),e.context){var n=function(e,n){Je(t[ac]||[],e)&&(t[rc]=n,mc(t,n))};t[ic]=n,e.context.$root.$on([lc,cc],n)}}(t,n),gc(t,e,n)},componentUpdated:gc,updated:gc,unbind:function(t,e,n){hc(t),fc(t,n),vc(t,ic),vc(t,oc),vc(t,rc),vc(t,ac),$n(t,"collapsed"),$n(t,"not-collapsed"),Bn(t,"aria-expanded"),Bn(t,"aria-controls"),Bn(t,"role"),Un(t,"overflow-anchor")}},yc=he({directives:{VBToggle:bc}}),wc=he({components:{BCollapse:ec},plugins:{VBTogglePlugin:yc}}),_c=n("8L3F");function xc(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cc(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var kc=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(xc(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));Dt(this,t.Defaults,this.constructor.Defaults,n,{type:e}),It(this,{type:{enumerable:!0,configurable:!1,writable:!1},cancelable:{enumerable:!0,configurable:!1,writable:!1},nativeEvent:{enumerable:!0,configurable:!1,writable:!1},target:{enumerable:!0,configurable:!1,writable:!1},relatedTarget:{enumerable:!0,configurable:!1,writable:!1},vueTarget:{enumerable:!0,configurable:!1,writable:!1},componentId:{enumerable:!0,configurable:!1,writable:!1}});var i=!1;this.preventDefault=function(){this.cancelable&&(i=!0)},Lt(this,"defaultPrevented",{enumerable:!0,get:function(){return i}})}var e,n,i;return e=t,i=[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}],(n=null)&&Cc(e.prototype,n),i&&Cc(e,i),t}(),Oc=o.a.extend({data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(t,e){t!==e&&(Oi(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Te),t&&ki(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Te))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="click"),this.listenForClickOut&&ki(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Te)},beforeDestroy:function(){Oi(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Te)},methods:{isClickOut:function(t){return!En(this.$el,t.target)},_clickOutHandler:function(t){this.clickOutHandler&&this.isClickOut(t)&&this.clickOutHandler(t)}}}),Sc=o.a.extend({data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(t,e){t!==e&&(Oi(this.focusInElement,"focusin",this._focusInHandler,Te),t&&ki(this.focusInElement,"focusin",this._focusInHandler,Te))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&ki(this.focusInElement,"focusin",this._focusInHandler,Te)},beforeDestroy:function(){Oi(this.focusInElement,"focusin",this._focusInHandler,Te)},methods:{_focusInHandler:function(t){this.focusInHandler&&this.focusInHandler(t)}}});function Pc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Tc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pc(Object(n),!0).forEach((function(e){jc(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function jc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Mc=ji("BDropdown","shown"),Ec=ji("BDropdown","hidden"),Ac=[".dropdown-item",".b-dropdown-form"].map((function(t){return"".concat(t,":not(.disabled):not([disabled])")})).join(", "),Dc=mi(Ht(Tc(Tc({},Ka),{},{boundary:di([ut,Le],"scrollParent"),disabled:di(Me,!1),dropleft:di(Me,!1),dropright:di(Me,!1),dropup:di(Me,!1),noFlip:di(Me,!1),offset:di(Ge,0),popperOpts:di($e,{}),right:di(Me,!1)})),"BDropdown"),$c=o.a.extend({mixins:[Ja,hr,Oc,Sc],provide:function(){return{bvDropdown:this}},inject:{bvNavbar:{default:null}},props:Dc,data:function(){return{visible:!1,visibleChangePrevented:!1}},computed:{inNavbar:function(){return!gt(this.bvNavbar)},toggler:function(){var t=this.$refs.toggle;return t?t.$el||t:null},directionClass:function(){return this.dropup?"dropup":this.dropright?"dropright":this.dropleft?"dropleft":""},boundaryClass:function(){return"scrollParent"===this.boundary||this.inNavbar?"":"position-static"}},watch:{visible:function(t,e){if(this.visibleChangePrevented)this.visibleChangePrevented=!1;else if(t!==e){var n=new kc(t?"show":"hide",{cancelable:!0,vueTarget:this,target:this.$refs.menu,relatedTarget:null,componentId:this.safeId?this.safeId():this.id||null});if(this.emitEvent(n),n.defaultPrevented)return this.visibleChangePrevented=!0,this.visible=e,void this.$off("hidden",this.focusToggler);t?this.showMenu():this.hideMenu()}},disabled:function(t,e){t!==e&&t&&this.visible&&(this.visible=!1)}},created:function(){this.$_popper=null,this.$_hideTimeout=null},deactivated:function(){this.visible=!1,this.whileOpenListen(!1),this.destroyPopper()},beforeDestroy:function(){this.visible=!1,this.whileOpenListen(!1),this.destroyPopper(),this.clearHideTimeout()},methods:{emitEvent:function(t){var e=t.type;this.emitOnRoot(ji("BDropdown",e),t),this.$emit(e,t)},showMenu:function(){var t=this;if(!this.disabled){if(!this.inNavbar)if(void 0===_c.default)te("Popper.js not found. Falling back to CSS positioning","BDropdown");else{var e=this.dropup&&this.right||this.split?this.$el:this.$refs.toggle;e=e.$el||e,this.createPopper(e)}this.emitOnRoot(Mc,this),this.whileOpenListen(!0),this.$nextTick((function(){t.focusMenu(),t.$emit("shown")}))}},hideMenu:function(){this.whileOpenListen(!1),this.emitOnRoot(Ec,this),this.$emit("hidden"),this.destroyPopper()},createPopper:function(t){this.destroyPopper(),this.$_popper=new _c.default(t,this.$refs.menu,this.getPopperConfig())},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){try{this.$_popper.scheduleUpdate()}catch(t){}},clearHideTimeout:function(){clearTimeout(this.$_hideTimeout),this.$_hideTimeout=null},getPopperConfig:function(){var t="bottom-start";this.dropup?t=this.right?"top-end":"top-start":this.dropright?t="right-start":this.dropleft?t="left-start":this.right&&(t="bottom-end");var e={placement:t,modifiers:{offset:{offset:this.offset||0},flip:{enabled:!this.noFlip}}},n=this.boundary;return n&&(e.modifiers.preventOverflow={boundariesElement:n}),function t(e,n){return Ot(e)&&Ot(n)&&Ft(n).forEach((function(i){Ot(n[i])?(e[i]&&Ot(e[i])||(e[i]=n[i]),t(e[i],n[i])):Dt(e,At({},i,n[i]))})),e}(e,this.popperOpts||{})},whileOpenListen:function(t){this.listenForClickOut=t,this.listenForFocusIn=t;var e=t?"$on":"$off";this.$root[e](Mc,this.rootCloseListener)},rootCloseListener:function(t){t!==this&&(this.visible=!1)},show:function(){var t=this;this.disabled||bn((function(){t.visible=!0}))},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.disabled||(this.visible=!1,t&&this.$once("hidden",this.focusToggler))},toggle:function(t){var e=t=t||{},n=e.type,i=e.keyCode;("click"===n||"keydown"===n&&-1!==[er,rr,Qo].indexOf(i))&&(this.disabled?this.visible=!1:(this.$emit("toggle",t),Pi(t),this.visible?this.hide(!0):this.show()))},onMousedown:function(t){Pi(t,{propagation:!1})},onKeydown:function(t){var e=t.keyCode;27===e?this.onEsc(t):e===Qo?this.focusNext(t,!1):e===ar&&this.focusNext(t,!0)},onEsc:function(t){this.visible&&(this.visible=!1,Pi(t),this.$once("hidden",this.focusToggler))},onSplitClick:function(t){this.disabled?this.visible=!1:this.$emit("click",t)},hideHandler:function(t){var e=this,n=t.target;!this.visible||En(this.$refs.menu,n)||En(this.toggler,n)||(this.clearHideTimeout(),this.$_hideTimeout=setTimeout((function(){return e.hide()}),this.inNavbar?300:0))},clickOutHandler:function(t){this.hideHandler(t)},focusInHandler:function(t){this.hideHandler(t)},focusNext:function(t,e){var n=this,i=t.target;!this.visible||t&&Mn(".dropdown form",i)||(Pi(t),this.$nextTick((function(){var t=n.getItems();if(!(t.length<1)){var o=t.indexOf(i);e&&o>0?o--:!e&&o<t.length-1&&o++,o<0&&(o=0),n.focusItem(o,t)}})))},focusItem:function(t,e){var n=e.find((function(e,n){return n===t}));Xn(n)},getItems:function(){return(Pn(Ac,this.$refs.menu)||[]).filter(kn)},focusMenu:function(){Xn(this.$refs.menu)},focusToggler:function(){var t=this;this.$nextTick((function(){Xn(t.toggler)}))}}});function Ic(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Lc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ic(Object(n),!0).forEach((function(e){Bc(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ic(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Bc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Fc=mi(Ht(Lc(Lc(Lc({},Ka),Dc),{},{block:di(Me,!1),html:di(Le),lazy:di(Me,!1),menuClass:di(Re),noCaret:di(Me,!1),role:di(Le,"menu"),size:di(Le),split:di(Me,!1),splitButtonType:di(Le,"button",(function(t){return Je(["button","submit","reset"],t)})),splitClass:di(Re),splitHref:di(Le),splitTo:di(Xe),splitVariant:di(Le),text:di(Le),toggleClass:di(Re),toggleTag:di(Le,"button"),toggleText:di(Le,"Toggle dropdown"),variant:di(Le,"secondary")})),"BDropdown"),Rc=o.a.extend({name:"BDropdown",mixins:[Ja,$c,xi],props:Fc,computed:{dropdownClasses:function(){var t=this.block,e=this.split;return[this.directionClass,this.boundaryClass,{show:this.visible,"btn-group":e||!t,"d-flex":t&&e}]},menuClasses:function(){return[this.menuClass,{"dropdown-menu-right":this.right,show:this.visible}]},toggleClasses:function(){var t=this.split;return[this.toggleClass,{"dropdown-toggle-split":t,"dropdown-toggle-no-caret":this.noCaret&&!t}]}},render:function(t){var e=this.visible,n=this.variant,i=this.size,o=this.block,r=this.disabled,a=this.split,s=this.role,l=this.hide,c=this.toggle,u={variant:n,size:i,block:o,disabled:r},d=this.normalizeSlot("button-content"),p=this.hasNormalizedSlot("button-content")?{}:ia(this.html,this.text),h=t();if(a){var f=this.splitTo,m=this.splitHref,v=this.splitButtonType,g=Lc(Lc({},u),{},{variant:this.splitVariant||n});f?g.to=f:m?g.href=m:v&&(g.type=v),h=t(Fr,{class:this.splitClass,attrs:{id:this.safeId("_BV_button_")},props:g,domProps:p,on:{click:this.onSplitClick},ref:"button"},d),d=[t("span",{class:["sr-only"]},[this.toggleText])],p={}}var b=t(Fr,{staticClass:"dropdown-toggle",class:this.toggleClasses,attrs:{id:this.safeId("_BV_toggle_"),"aria-haspopup":"true","aria-expanded":dn(e)},props:Lc(Lc({},u),{},{tag:this.toggleTag,block:o&&!a}),domProps:p,on:{mousedown:this.onMousedown,click:c,keydown:c},ref:"toggle"},d),y=t("ul",{staticClass:"dropdown-menu",class:this.menuClasses,attrs:{role:s,tabindex:"-1","aria-labelledby":this.safeId(a?"_BV_button_":"_BV_toggle_")},on:{keydown:this.onKeydown},ref:"menu"},[!this.lazy||e?this.normalizeSlot("default",{hide:l}):t()]);return t("div",{staticClass:"dropdown b-dropdown",class:this.dropdownClasses,attrs:{id:this.safeId()}},[h,b,y])}});function Nc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Uc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Nc(Object(n),!0).forEach((function(e){zc(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Nc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function zc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Hc=zt(Cr,["event","routerTag"]),Vc=mi(Ht(Uc(Uc({},Hc),{},{linkClass:di(Re),variant:di(Le)})),"BDropdownItem"),Wc=o.a.extend({name:"BDropdownItem",mixins:[pr,xi],inject:{bvDropdown:{default:null}},inheritAttrs:!1,props:Vc,computed:{computedAttrs:function(){return Uc(Uc({},this.bvAttrs),{},{role:"menuitem"})}},methods:{closeDropdown:function(){var t=this;bn((function(){t.bvDropdown&&t.bvDropdown.hide(!0)}))},onClick:function(t){this.$emit("click",t),this.closeDropdown()}},render:function(t){var e=this.linkClass,n=this.variant,i=this.active,o=this.disabled,r=this.onClick,a=this.bvAttrs;return t("li",{class:a.class,style:a.style,attrs:{role:"presentation"}},[t(kr,{staticClass:"dropdown-item",class:[e,zc({},"text-".concat(n),n&&!(i||o))],props:hi(Hc,this.$props),attrs:this.computedAttrs,on:{click:r},ref:"item"},this.normalizeSlot())])}});function Gc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function qc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Gc(Object(n),!0).forEach((function(e){Yc(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Yc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Xc=mi({active:di(Me,!1),activeClass:di(Le,"active"),buttonClass:di(Re),disabled:di(Me,!1),variant:di(Le)},"BDropdownItemButton"),Kc=o.a.extend({name:"BDropdownItemButton",mixins:[pr,xi],inject:{bvDropdown:{default:null}},inheritAttrs:!1,props:Xc,computed:{computedAttrs:function(){return qc(qc({},this.bvAttrs),{},{role:"menuitem",type:"button",disabled:this.disabled})}},methods:{closeDropdown:function(){this.bvDropdown&&this.bvDropdown.hide(!0)},onClick:function(t){this.$emit("click",t),this.closeDropdown()}},render:function(t){var e,n=this.active,i=this.variant,o=this.bvAttrs;return t("li",{class:o.class,style:o.style,attrs:{role:"presentation"}},[t("button",{staticClass:"dropdown-item",class:[this.buttonClass,(e={},Yc(e,this.activeClass,n),Yc(e,"text-".concat(i),i&&!(n||this.disabled)),e)],attrs:this.computedAttrs,on:{click:this.onClick},ref:"button"},this.normalizeSlot())])}});function Jc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Zc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Jc(Object(n),!0).forEach((function(e){Qc(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Jc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Qc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tu=mi({id:di(Le),tag:di(Le,"header"),variant:di(Le)},"BDropdownHeader"),eu=o.a.extend({name:"BDropdownHeader",functional:!0,props:tu,render:function(t,e){var n=e.props,i=e.data,o=e.children,r=n.tag,a=n.variant;return t("li",Oe(zt(i,["attrs"]),{attrs:{role:"presentation"}}),[t(r,{staticClass:"dropdown-header",class:Qc({},"text-".concat(a),a),attrs:Zc(Zc({},i.attrs||{}),{},{id:n.id||null,role:xn(r,"header")?null:"heading"}),ref:"header"},o)])}});function nu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function iu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nu(Object(n),!0).forEach((function(e){ou(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ou(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ru=mi({tag:di(Le,"hr")},"BDropdownDivider"),au=o.a.extend({name:"BDropdownDivider",functional:!0,props:ru,render:function(t,e){var n=e.props,i=e.data;return t("li",Oe(zt(i,["attrs"]),{attrs:{role:"presentation"}}),[t(n.tag,{staticClass:"dropdown-divider",attrs:iu(iu({},i.attrs||{}),{},{role:"separator","aria-orientation":"horizontal"}),ref:"divider"})])}}),su=mi({id:di(Le),inline:di(Me,!1),novalidate:di(Me,!1),validated:di(Me,!1)},"BForm"),lu=o.a.extend({name:"BForm",functional:!0,props:su,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t("form",Oe(i,{class:{"form-inline":n.inline,"was-validated":n.validated},attrs:{id:n.id,novalidate:n.novalidate}}),o)}});function cu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function uu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?cu(Object(n),!0).forEach((function(e){du(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function du(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var pu=mi(Ht(uu(uu({},su),{},{disabled:di(Me,!1),formClass:di(Re)})),"BDropdownForm"),hu=o.a.extend({name:"BDropdownForm",functional:!0,props:pu,render:function(t,e){var n=e.props,i=e.data,o=e.listeners,r=e.children;return t("li",Oe(zt(i,["attrs","on"]),{attrs:{role:"presentation"}}),[t(lu,{staticClass:"b-dropdown-form",class:[n.formClass,{disabled:n.disabled}],props:n,attrs:uu(uu({},i.attrs||{}),{},{disabled:n.disabled,tabindex:n.disabled?null:"-1"}),on:o,ref:"form"},r)])}});var fu=mi({tag:di(Le,"p"),textClass:di(Re),variant:di(Le)},"BDropdownText"),mu=o.a.extend({name:"BDropdownText",functional:!0,props:fu,render:function(t,e){var n,i,o,r=e.props,a=e.data,s=e.children,l=r.tag,c=r.textClass,u=r.variant;return t("li",Oe(zt(a,["attrs"]),{attrs:{role:"presentation"}}),[t(l,{staticClass:"b-dropdown-text",class:[c,(n={},i="text-".concat(u),o=u,i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,n)],props:r,attrs:a.attrs||{},ref:"text"},s)])}});function vu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function gu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?vu(Object(n),!0).forEach((function(e){bu(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):vu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function bu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var yu=mi({ariaDescribedby:di(Le),header:di(Le),headerClasses:di(Re),headerTag:di(Le,"header"),headerVariant:di(Le),id:di(Le)},"BDropdownGroup"),wu=o.a.extend({name:"BDropdownGroup",functional:!0,props:yu,render:function(t,e){var n=e.props,i=e.data,o=e.slots,r=e.scopedSlots,a=n.id,s=n.variant,l=n.header,c=n.headerTag,u=o(),d=r||{},p={},h=a?"_bv_".concat(a,"_group_dd_header"):null,f=t();return(wi("header",d,u)||l)&&(f=t(c,{staticClass:"dropdown-header",class:[n.headerClasses,bu({},"text-".concat(s),s)],attrs:{id:h,role:xn(c,"header")?null:"heading"}},_i("header",p,d,u)||l)),t("li",Oe(zt(i,["attrs"]),{attrs:{role:"presentation"}}),[f,t("ul",{staticClass:"list-unstyled",attrs:gu(gu({},i.attrs||{}),{},{id:a,role:"group","aria-describedby":[h,n.ariaDescribedBy].filter(Kt).join(" ").trim()||null})},_i("default",p,d,u))])}}),_u=he({components:{BDropdown:Rc,BDd:Rc,BDropdownItem:Wc,BDdItem:Wc,BDropdownItemButton:Kc,BDropdownItemBtn:Kc,BDdItemButton:Kc,BDdItemBtn:Kc,BDropdownHeader:eu,BDdHeader:eu,BDropdownDivider:au,BDdDivider:au,BDropdownForm:hu,BDdForm:hu,BDropdownText:mu,BDdText:mu,BDropdownGroup:wu,BDdGroup:wu}});var xu=["iframe","embed","video","object","img","b-img","b-img-lazy"],Cu=mi({aspect:di(Le,"16by9"),tag:di(Le,"div"),type:di(Le,"iframe",(function(t){return Je(xu,t)}))},"BEmbed"),ku=he({components:{BEmbed:o.a.extend({name:"BEmbed",functional:!0,props:Cu,render:function(t,e){var n,i,o,r=e.props,a=e.data,s=e.children,l=r.aspect;return t(r.tag,{staticClass:"embed-responsive",class:(n={},i="embed-responsive-".concat(l),o=l,i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,n),ref:a.ref},[t(r.type,Oe(zt(a,["ref"]),{staticClass:"embed-responsive-item"}),s)])}})}}),Ou=mi({disabledField:di(Le,"disabled"),htmlField:di(Le,"html"),options:di(Fe,[]),textField:di(Le,"text"),valueField:di(Le,"value")},"formOptionControls"),Su=o.a.extend({props:Ou,computed:{formOptions:function(){return this.normalizeOptions(this.options)}},methods:{normalizeOption:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(St(t)){var n=Zt(t,this.valueField),i=Zt(t,this.textField);return{value:vt(n)?e||i:n,text:na(String(vt(i)?e:i)),html:Zt(t,this.htmlField),disabled:Boolean(Zt(t,this.disabledField))}}return{value:e||t,text:na(String(t)),disabled:!1}},normalizeOptions:function(t){var e=this;return kt(t)?t.map((function(t){return e.normalizeOption(t)})):St(t)?(te('Setting prop "options" to an object is deprecated. Use the array format instead.',this.$options.name),Ft(t).map((function(n){return e.normalizeOption(t[n]||{},n)}))):[]}}});function Pu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Tu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pu(Object(n),!0).forEach((function(e){ju(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ju(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Mu=mi(Ht(Tu(Tu({},Ou),{},{id:di(Le,void 0,!0)})),"BFormDatalist"),Eu=o.a.extend({name:"BFormDatalist",mixins:[Su,xi],props:Mu,render:function(t){var e=this.id,n=this.formOptions.map((function(e,n){var i=e.value,o=e.text,r=e.html,a=e.disabled;return t("option",{attrs:{value:i,disabled:a},domProps:ia(r,o),key:"option_".concat(n)})}));return t("datalist",{attrs:{id:e}},[n,this.normalizeSlot()])}});var Au,Du,$u=mi({id:di(Le),inline:di(Me,!1),tag:di(Le,"small"),textVariant:di(Le,"muted")},"BFormText"),Iu=o.a.extend({name:"BFormText",functional:!0,props:$u,render:function(t,e){var n,i,o,r=e.props,a=e.data,s=e.children;return t(r.tag,Oe(a,{class:(n={"form-text":!r.inline},i="text-".concat(r.textVariant),o=r.textVariant,i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,n),attrs:{id:r.id}}),s)}}),Lu=mi({ariaLive:di(Le),forceShow:di(Me,!1),id:di(Le),role:di(Le),state:di(Me,null),tag:di(Le,"div"),tooltip:di(Me,!1)},"BFormInvalidFeedback"),Bu=o.a.extend({name:"BFormInvalidFeedback",functional:!0,props:Lu,render:function(t,e){var n=e.props,i=e.data,o=e.children,r=n.tooltip,a=n.ariaLive,s=!0===n.forceShow||!1===n.state;return t(n.tag,Oe(i,{class:{"d-block":s,"invalid-feedback":!r,"invalid-tooltip":r},attrs:{id:n.id||null,role:n.role||null,"aria-live":a||null,"aria-atomic":a?"true":null}}),o)}}),Fu=mi({ariaLive:di(Le),forceShow:di(Me,!1),id:di(Le),role:di(Le),state:di(Me,null),tag:di(Le,"div"),tooltip:di(Me,!1)},"BFormValidFeedback"),Ru=o.a.extend({name:"BFormValidFeedback",functional:!0,props:Fu,render:function(t,e){var n=e.props,i=e.data,o=e.children,r=n.tooltip,a=n.ariaLive,s=!0===n.forceShow||!0===n.state;return t(n.tag,Oe(i,{class:{"d-block":s,"valid-feedback":!r,"valid-tooltip":r},attrs:{id:n.id||null,role:n.role||null,"aria-live":a||null,"aria-atomic":a?"true":null}}),o)}}),Nu=mi({tag:di(Le,"div")},"BFormRow"),Uu=o.a.extend({name:"BFormRow",functional:!0,props:Nu,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t(n.tag,Oe(i,{staticClass:"form-row"}),o)}}),zu=he({components:{BForm:lu,BFormDatalist:Eu,BDatalist:Eu,BFormText:Iu,BFormInvalidFeedback:Bu,BFormFeedback:Bu,BFormValidFeedback:Ru,BFormRow:Uu}}),Hu=function(t,e){for(var n=0;n<t.length;n++)if(sr(t[n],e))return n;return-1},Vu=mi({autofocus:di(Me,!1),disabled:di(Me,!1),form:di(Le),id:di(Le),name:di(Le),required:di(Me,!1)},"formControls"),Wu=o.a.extend({props:Vu,mounted:function(){this.handleAutofocus()},activated:function(){this.handleAutofocus()},methods:{handleAutofocus:function(){var t=this;this.$nextTick((function(){bn((function(){var e=t.$el;t.autofocus&&kn(e)&&(jn(e,"input, textarea, select")||(e=Tn("input, textarea, select",e)),Xn(e))}))}))}}}),Gu=mi({plain:di(Me,!1)},"formControls"),qu=o.a.extend({props:Gu,computed:{custom:function(){return!this.plain}}}),Yu=mi({size:di(Le)},"formControls"),Xu=o.a.extend({props:Yu,computed:{sizeFormClass:function(){return[this.size?"form-control-".concat(this.size):null]}}}),Ku=mi({state:di(Me,null)},"formState"),Ju=o.a.extend({props:Ku,computed:{computedState:function(){return wt(this.state)?this.state:null},stateClass:function(){var t=this.computedState;return!0===t?"is-valid":!1===t?"is-invalid":null},computedAriaInvalid:function(){var t=this.ariaInvalid;return!0===t||"true"===t||""===t||!1===this.computedState?"true":t}}});function Zu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Qu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Zu(Object(n),!0).forEach((function(e){td(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Zu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function td(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ed,nd=yi("checked",{defaultValue:null}),id=nd.mixin,od=nd.props,rd=nd.prop,ad=nd.event,sd=mi(Ht(Qu(Qu(Qu(Qu(Qu(Qu(Qu({},Ka),od),Vu),Yu),Ku),Gu),{},{ariaLabel:di(Le),ariaLabelledby:di(Le),button:di(Me,!1),buttonVariant:di(Le),inline:di(Me,!1),value:di(void 0)})),"formRadioCheckControls"),ld=o.a.extend({mixins:[pr,Ja,id,xi,Wu,Xu,Ju,qu],inheritAttrs:!1,props:sd,data:function(){return{localChecked:this.isGroup?this.bvGroup[rd]:this[rd],hasFocus:!1}},computed:{computedLocalChecked:{get:function(){return this.isGroup?this.bvGroup.localChecked:this.localChecked},set:function(t){this.isGroup?this.bvGroup.localChecked=t:this.localChecked=t}},isChecked:function(){return sr(this.value,this.computedLocalChecked)},isRadio:function(){return!0},isGroup:function(){return!!this.bvGroup},isBtnMode:function(){return this.isGroup?this.bvGroup.buttons:this.button},isPlain:function(){return!this.isBtnMode&&(this.isGroup?this.bvGroup.plain:this.plain)},isCustom:function(){return!this.isBtnMode&&!this.isPlain},isSwitch:function(){return!(this.isBtnMode||this.isRadio||this.isPlain)&&(this.isGroup?this.bvGroup.switches:this.switch)},isInline:function(){return this.isGroup?this.bvGroup.inline:this.inline},isDisabled:function(){return this.isGroup&&this.bvGroup.disabled||this.disabled},isRequired:function(){return this.computedName&&(this.isGroup?this.bvGroup.required:this.required)},computedName:function(){return(this.isGroup?this.bvGroup.groupName:this.name)||null},computedForm:function(){return(this.isGroup?this.bvGroup.form:this.form)||null},computedSize:function(){return(this.isGroup?this.bvGroup.size:this.size)||""},computedState:function(){return this.isGroup?this.bvGroup.computedState:wt(this.state)?this.state:null},computedButtonVariant:function(){var t=this.buttonVariant;return t||(this.isGroup&&this.bvGroup.buttonVariant?this.bvGroup.buttonVariant:"secondary")},buttonClasses:function(){var t,e=this.computedSize;return["btn","btn-".concat(this.computedButtonVariant),(t={},td(t,"btn-".concat(e),e),td(t,"disabled",this.isDisabled),td(t,"active",this.isChecked),td(t,"focus",this.hasFocus),t)]},computedAttrs:function(){var t=this.isDisabled,e=this.isRequired;return Qu(Qu({},this.bvAttrs),{},{id:this.safeId(),type:this.isRadio?"radio":"checkbox",name:this.computedName,form:this.computedForm,disabled:t,required:e,"aria-required":e||null,"aria-label":this.ariaLabel||null,"aria-labelledby":this.ariaLabelledby||null})}},watch:(Au={},td(Au,rd,(function(){this["".concat(rd,"Watcher")].apply(this,arguments)})),td(Au,"computedLocalChecked",(function(){this.computedLocalCheckedWatcher.apply(this,arguments)})),Au),methods:(Du={},td(Du,"".concat(rd,"Watcher"),(function(t){sr(t,this.computedLocalChecked)||(this.computedLocalChecked=t)})),td(Du,"computedLocalCheckedWatcher",(function(t,e){sr(t,e)||this.$emit(ad,t)})),td(Du,"handleChange",(function(t){var e=this,n=t.target.checked,i=this.value,o=n?i:null;this.computedLocalChecked=i,this.$nextTick((function(){e.$emit("change",o),e.isGroup&&e.bvGroup.$emit("change",o)}))})),td(Du,"handleFocus",(function(t){t.target&&("focus"===t.type?this.hasFocus=!0:"blur"===t.type&&(this.hasFocus=!1))})),td(Du,"focus",(function(){this.isDisabled||Xn(this.$refs.input)})),td(Du,"blur",(function(){this.isDisabled||Kn(this.$refs.input)})),Du),render:function(t){var e=this.isRadio,n=this.isBtnMode,i=this.isPlain,o=this.isCustom,r=this.isInline,a=this.isSwitch,s=this.computedSize,l=this.bvAttrs,c=this.normalizeSlot(),u=t("input",{class:[{"form-check-input":i,"custom-control-input":o,"position-static":i&&!c},n?"":this.stateClass],directives:[{name:"model",value:this.computedLocalChecked}],attrs:this.computedAttrs,domProps:{value:this.value,checked:this.isChecked},on:Qu({change:this.handleChange},n?{focus:this.handleFocus,blur:this.handleFocus}:{}),key:"input",ref:"input"});if(n){var d=t("label",{class:this.buttonClasses},[u,c]);return this.isGroup||(d=t("div",{class:["btn-group-toggle","d-inline-block"]},[d])),d}var p=t();return i&&!c||(p=t("label",{class:{"form-check-label":i,"custom-control-label":o},attrs:{for:this.safeId()}},c)),t("div",{class:[td({"form-check":i,"form-check-inline":i&&r,"custom-control":o,"custom-control-inline":o&&r,"custom-checkbox":o&&!e&&!a,"custom-switch":a,"custom-radio":o&&e},"b-custom-control-".concat(s),s&&!n),l.class],style:l.style},[u,p])}});function cd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ud(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?cd(Object(n),!0).forEach((function(e){dd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function dd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var pd=mi(Ht(ud(ud({},sd),{},(dd(ed={},"indeterminate",di(Me,!1)),dd(ed,"switch",di(Me,!1)),dd(ed,"uncheckedValue",di(void 0,!1)),dd(ed,"value",di(void 0,!0)),ed))),"BFormCheckbox"),hd=o.a.extend({name:"BFormCheckbox",mixins:[ld],inject:{bvGroup:{from:"bvCheckGroup",default:null}},props:pd,computed:{isChecked:function(){var t=this.value,e=this.computedLocalChecked;return kt(e)?Hu(e,t)>-1:sr(e,t)},isRadio:function(){return!1}},watch:dd({},"indeterminate",(function(t,e){sr(t,e)||this.setIndeterminate(t)})),mounted:function(){this.setIndeterminate(this.indeterminate)},methods:{computedLocalCheckedWatcher:function(t,e){if(!sr(t,e)){this.$emit(ad,t);var n=this.$refs.input;n&&this.$emit("update:indeterminate",n.indeterminate)}},handleChange:function(t){var e=this,n=t.target,i=n.checked,o=n.indeterminate,r=this.value,a=this.uncheckedValue,s=this.computedLocalChecked;if(kt(s)){var l=Hu(s,r);i&&l<0?s=s.concat(r):!i&&l>-1&&(s=s.slice(0,l).concat(s.slice(l+1)))}else s=i?r:a;this.computedLocalChecked=s,this.$nextTick((function(){e.$emit("change",s),e.isGroup&&e.bvGroup.$emit("change",s),e.$emit("update:indeterminate",o)}))},setIndeterminate:function(t){kt(this.computedLocalChecked)&&(t=!1);var e=this.$refs.input;e&&(e.indeterminate=t,this.$emit("update:indeterminate",t))}}});function fd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function md(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fd(Object(n),!0).forEach((function(e){vd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function vd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var gd,bd=mi(Ht(md(md(md(md(md({},Ka),Vu),sd),Yu),Ku)),"BFormRadio"),yd=o.a.extend({name:"BFormRadio",mixins:[Ja,ld,Wu,Xu,Ju],inject:{bvGroup:{from:"bvRadioGroup",default:!1}},props:bd,watch:{computedLocalChecked:function(t,e){sr(t,e)||this.$emit(ad,t)}}});function wd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function _d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wd(Object(n),!0).forEach((function(e){xd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function xd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Cd,kd=["aria-describedby","aria-labelledby"],Od=yi("checked"),Sd=Od.mixin,Pd=Od.props,Td=Od.prop,jd=Od.event,Md=mi(Ht(_d(_d(_d(_d(_d(_d(_d(_d({},Ka),Pd),Vu),Ou),Yu),Ku),Gu),{},{ariaInvalid:di(He,!1),buttonVariant:di(Le),buttons:di(Me,!1),stacked:di(Me,!1),validated:di(Me,!1)})),"formRadioCheckGroups"),Ed=o.a.extend({mixins:[Ja,Sd,xi,Wu,Su,Xu,Ju,qu],inheritAttrs:!1,props:Md,data:function(){return{localChecked:this[Td]}},computed:{inline:function(){return!this.stacked},groupName:function(){return this.name||this.safeId()},groupClasses:function(){var t=this.inline,e=this.size,n={"was-validated":this.validated};return this.buttons&&(n=[n,"btn-group-toggle",xd({"btn-group":t,"btn-group-vertical":!t},"btn-group-".concat(e),e)]),n}},watch:(gd={},xd(gd,Td,(function(t){sr(t,this.localChecked)||(this.localChecked=t)})),xd(gd,"localChecked",(function(t,e){sr(t,e)||this.$emit(jd,t)})),gd),render:function(t){var e=this,n=this.isRadioGroup,i=Ut(this.$attrs,kd),o=n?yd:hd,r=this.formOptions.map((function(n,r){var a="BV_option_".concat(r);return t(o,{props:{disabled:n.disabled||!1,id:e.safeId(a),value:n.value},attrs:i,key:a},[t("span",{domProps:ia(n.html,n.text)})])}));return t("div",{class:[this.groupClasses,"bv-no-focus-ring"],attrs:_d(_d({},zt(this.$attrs,kd)),{},{"aria-invalid":this.computedAriaInvalid,"aria-required":this.required?"true":null,id:this.safeId(),role:n?"radiogroup":"group",tabindex:"-1"})},[this.normalizeSlot("first"),r,this.normalizeSlot()])}});function Ad(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Dd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ad(Object(n),!0).forEach((function(e){$d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ad(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function $d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Id=mi(Ht(Dd(Dd({},Md),{},($d(Cd={},Td,di(je,[])),$d(Cd,"switches",di(Me,!1)),Cd))),"BFormCheckboxGroup"),Ld=o.a.extend({name:"BFormCheckboxGroup",mixins:[Ed],provide:function(){return{bvCheckGroup:this}},props:Id,computed:{isRadioGroup:function(){return!1}}}),Bd=he({components:{BFormCheckbox:hd,BCheckbox:hd,BCheck:hd,BFormCheckboxGroup:Ld,BCheckboxGroup:Ld,BCheckGroup:Ld}}),Fd="__BV_hover_handler__",Rd=function(t,e,n){Si(t,e,"mouseenter",n,Te),Si(t,e,"mouseleave",n,Te)},Nd=function(t,e){var n=e.value,i=void 0===n?null:n;if(u){var o=t[Fd],r=yt(o),a=!(r&&o.fn===i);r&&a&&(Rd(!1,t,o),delete t[Fd]),yt(i)&&a&&(t[Fd]=function(t){var e=function(e){t("mouseenter"===e.type,e)};return e.fn=t,e}(i),Rd(!0,t,t[Fd]))}},Ud={bind:Nd,componentUpdated:Nd,unbind:function(t){Nd(t,{value:null})}};function zd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Hd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?zd(Object(n),!0).forEach((function(e){Vd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):zd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Vd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Wd,Gd=Ht(Hd(Hd(Hd(Hd(Hd(Hd({},Ka),Yu),Ku),zt(Dc,["disabled"])),zt(Vu,["autofocus"])),{},{buttonOnly:di(Me,!1),buttonVariant:di(Le,"secondary"),formattedValue:di(Le),labelSelected:di(Le),lang:di(Le),menuClass:di(Re),placeholder:di(Le),readonly:di(Me,!1),rtl:di(Me,null),value:di(Le,"")})),qd=o.a.extend({name:"BVFormBtnLabelControl",directives:{"b-hover":Ud},mixins:[Ja,Xu,Ju,$c,xi],props:Gd,data:function(){return{isHovered:!1,hasFocus:!1}},computed:{idButton:function(){return this.safeId()},idLabel:function(){return this.safeId("_value_")},idMenu:function(){return this.safeId("_dialog_")},idWrapper:function(){return this.safeId("_outer_")},computedDir:function(){return!0===this.rtl?"rtl":!1===this.rtl?"ltr":null}},methods:{focus:function(){this.disabled||Xn(this.$refs.toggle)},blur:function(){this.disabled||Kn(this.$refs.toggle)},setFocus:function(t){this.hasFocus="focus"===t.type},handleHover:function(t){this.isHovered=t}},render:function(t){var e,n=this.idButton,i=this.idLabel,o=this.idMenu,r=this.idWrapper,a=this.disabled,s=this.readonly,l=this.required,c=this.name,u=this.state,d=this.visible,p=this.size,h=this.isHovered,f=this.hasFocus,m=this.labelSelected,v=this.buttonVariant,g=this.buttonOnly,b=dn(this.value)||"",y=!1===u||l&&!b,w={isHovered:h,hasFocus:f,state:u,opened:d},_=t("button",{staticClass:"btn",class:(e={},Vd(e,"btn-".concat(v),g),Vd(e,"btn-".concat(p),p),Vd(e,"h-auto",!g),Vd(e,"dropdown-toggle",g),Vd(e,"dropdown-toggle-no-caret",g),e),attrs:{id:n,type:"button",disabled:a,"aria-haspopup":"dialog","aria-expanded":d?"true":"false","aria-invalid":y?"true":null,"aria-required":l?"true":null},directives:[{name:"b-hover",value:this.handleHover}],on:{mousedown:this.onMousedown,click:this.toggle,keydown:this.toggle,"!focus":this.setFocus,"!blur":this.setFocus},ref:"toggle"},[this.hasNormalizedSlot("button-content")?this.normalizeSlot("button-content",w):t($o,{props:{scale:1.25}})]),x=t();c&&!a&&(x=t("input",{attrs:{type:"hidden",name:c||null,form:this.form||null,value:b}}));var C=t("div",{staticClass:"dropdown-menu",class:[this.menuClass,{show:d,"dropdown-menu-right":this.right}],attrs:{id:o,role:"dialog",tabindex:"-1","aria-modal":"false","aria-labelledby":i},on:{keydown:this.onKeydown},ref:"menu"},[this.normalizeSlot("default",{opened:d})]),k=t("label",{class:g?"sr-only":["form-control",{"text-muted":!b},this.stateClass,this.sizeFormClass],attrs:{id:i,for:n,"aria-invalid":y?"true":null,"aria-required":l?"true":null},directives:[{name:"b-hover",value:this.handleHover}],on:{"!click":function(t){Pi(t,{preventDefault:!1})}}},[b?this.formattedValue||b:this.placeholder||"",b&&m?t("bdi",{staticClass:"sr-only"},m):""]);return t("div",{staticClass:"b-form-btn-label-control dropdown",class:[this.directionClass,this.boundaryClass,[{"btn-group":g,"form-control":!g,focus:f&&!g,show:d,"is-valid":!0===u,"is-invalid":!1===u},g?null:this.sizeFormClass]],attrs:{id:r,role:g?null:"group",lang:this.lang||null,dir:this.computedDir,"aria-disabled":a,"aria-readonly":s&&!a,"aria-labelledby":i,"aria-invalid":!1===u||l&&!b?"true":null,"aria-required":l?"true":null}},[_,x,C,k])}});function Yd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Xd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Yd(Object(n),!0).forEach((function(e){Kd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Yd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Kd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Jd,Zd=yi("value",{type:Ve}),Qd=Zd.mixin,tp=Zd.props,ep=Zd.prop,np=Zd.event,ip=zt(as,["block","hidden","id","noKeyNav","roleDescription","value","width"]),op=zt(Gd,["formattedValue","id","lang","rtl","value"]),rp=mi(Ht(Xd(Xd(Xd(Xd(Xd({},Ka),tp),ip),op),{},{calendarWidth:di(Le,"270px"),closeButton:di(Me,!1),closeButtonVariant:di(Le,"outline-secondary"),dark:di(Me,!1),labelCloseButton:di(Le,"Close"),labelResetButton:di(Le,"Reset"),labelTodayButton:di(Le,"Select today"),noCloseOnSelect:di(Me,!1),resetButton:di(Me,!1),resetButtonVariant:di(Le,"outline-danger"),resetValue:di(Ve),todayButton:di(Me,!1),todayButtonVariant:di(Le,"outline-primary")})),"BFormDatepicker"),ap=o.a.extend({name:"BFormDatepicker",mixins:[Ja,Qd],props:rp,data:function(){return{localYMD:Ia(this[ep])||"",isVisible:!1,localLocale:null,isRTL:!1,formattedValue:"",activeYMD:""}},computed:{calendarYM:function(){return this.activeYMD.slice(0,-3)},computedLang:function(){return(this.localLocale||"").replace(/-u-.*$/i,"")||null},computedResetValue:function(){return Ia(qa(this.resetValue))||""}},watch:(Wd={},Kd(Wd,ep,(function(t){this.localYMD=Ia(t)||""})),Kd(Wd,"localYMD",(function(t){this.isVisible&&this.$emit(np,this.valueAsDate?$a(t)||null:t||"")})),Kd(Wd,"calendarYM",(function(t,e){if(t!==e&&e)try{this.$refs.control.updatePopper()}catch(t){}})),Wd),methods:{focus:function(){this.disabled||Xn(this.$refs.control)},blur:function(){this.disabled||Kn(this.$refs.control)},setAndClose:function(t){var e=this;this.localYMD=t,this.noCloseOnSelect||this.$nextTick((function(){e.$refs.control.hide(!0)}))},onSelected:function(t){var e=this;this.$nextTick((function(){e.setAndClose(t)}))},onInput:function(t){this.localYMD!==t&&(this.localYMD=t)},onContext:function(t){var e=t.activeYMD,n=t.isRTL,i=t.locale,o=t.selectedYMD,r=t.selectedFormatted;this.isRTL=n,this.localLocale=i,this.formattedValue=r,this.localYMD=o,this.activeYMD=e,this.$emit("context",t)},onTodayButton:function(){this.setAndClose(Ia(qa(Da(),this.min,this.max)))},onResetButton:function(){this.setAndClose(this.computedResetValue)},onCloseButton:function(){this.$refs.control.hide(!0)},onShow:function(){this.isVisible=!0},onShown:function(){var t=this;this.$nextTick((function(){Xn(t.$refs.calendar),t.$emit("shown")}))},onHidden:function(){this.isVisible=!1,this.$emit("hidden")},defaultButtonFn:function(t){var e=t.isHovered,n=t.hasFocus;return this.$createElement(e||n?Eo:Mo,{attrs:{"aria-hidden":"true"}})}},render:function(t){var e=this.localYMD,n=this.disabled,i=this.readonly,o=this.dark,r=this.$props,a=this.$scopedSlots,s=bt(this.placeholder)?this.labelNoDateSelected:this.placeholder,l=[];if(this.todayButton){var c=this.labelTodayButton;l.push(t(Fr,{props:{disabled:n||i,size:"sm",variant:this.todayButtonVariant},attrs:{"aria-label":c||null},on:{click:this.onTodayButton}},c))}if(this.resetButton){var u=this.labelResetButton;l.push(t(Fr,{props:{disabled:n||i,size:"sm",variant:this.resetButtonVariant},attrs:{"aria-label":u||null},on:{click:this.onResetButton}},u))}if(this.closeButton){var d=this.labelCloseButton;l.push(t(Fr,{props:{disabled:n,size:"sm",variant:this.closeButtonVariant},attrs:{"aria-label":d||null},on:{click:this.onCloseButton}},d))}l.length>0&&(l=[t("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":l.length>1,"justify-content-end":l.length<2}},l)]);var p=t(ss,{staticClass:"b-form-date-calendar w-100",props:Xd(Xd({},hi(ip,r)),{},{hidden:!this.isVisible,value:e,valueAsDate:!1,width:this.calendarWidth}),on:{selected:this.onSelected,input:this.onInput,context:this.onContext},scopedSlots:Ut(a,["nav-prev-decade","nav-prev-year","nav-prev-month","nav-this-month","nav-next-month","nav-next-year","nav-next-decade"]),key:"calendar",ref:"calendar"},l);return t(qd,{staticClass:"b-form-datepicker",props:Xd(Xd({},hi(op,r)),{},{formattedValue:e?this.formattedValue:"",id:this.safeId(),lang:this.computedLang,menuClass:[{"bg-dark":o,"text-light":o},this.menuClass],placeholder:s,rtl:this.isRTL,value:e}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:Kd({},"button-content",a["button-content"]||this.defaultButtonFn),ref:"control"},[p])}}),sp=he({components:{BFormDatepicker:ap,BDatepicker:ap}});function lp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function cp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?lp(Object(n),!0).forEach((function(e){up(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lp(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function up(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var dp=yi("value",{type:[je,pt],defaultValue:null,validator:function(t){return""===t?(te(vp,"BFormFile"),!0):bt(t)||gp(t)}}),pp=dp.mixin,hp=dp.props,fp=dp.prop,mp=dp.event,vp='Setting "value"/"v-model" to an empty string for reset is deprecated. Set to "null" instead.',gp=function t(e){return function(t){return t instanceof pt}(e)||kt(e)&&e.every((function(e){return t(e)}))},bp=function(t){return yt(t.getAsEntry)?t.getAsEntry():yt(t.webkitGetAsEntry)?t.webkitGetAsEntry():null},yp=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return new Promise((function(i){var o=[];!function r(){e.readEntries((function(e){0===e.length?i(Promise.all(o).then((function(t){return tn(t)}))):(o.push(Promise.all(e.map((function(e){if(e){if(e.isDirectory)return t(e.createReader(),"".concat(n).concat(e.name,"/"));if(e.isFile)return new Promise((function(t){e.file((function(e){e.$path="".concat(n).concat(e.name),t(e)}))}))}return null})).filter(Kt))),r())}))}()}))},wp=mi(Ht(cp(cp(cp(cp(cp(cp(cp({},Ka),hp),Vu),Gu),Ku),Yu),{},{accept:di(Le,""),browseText:di(Le,"Browse"),capture:di(Me,!1),directory:di(Me,!1),dropPlaceholder:di(Le,"Drop files here"),fileNameFormatter:di(Ae),multiple:di(Me,!1),noDrop:di(Me,!1),noDropPlaceholder:di(Le,"Not allowed"),noTraverse:di(Me,!1),placeholder:di(Le,"No file chosen")})),"BFormFile"),_p=o.a.extend({name:"BFormFile",mixins:[pr,Ja,pp,xi,Wu,Ju,qu,xi],inheritAttrs:!1,props:wp,data:function(){return{files:[],dragging:!1,dropAllowed:!this.noDrop,hasFocus:!1}},computed:{computedAccept:function(){var t=this.accept;return 0===(t=(t||"").trim().split(/[,\s]+/).filter(Kt)).length?null:t.map((function(t){var e="name",n="^",i="$";return O.test(t)?n="":(e="type",L.test(t)&&(i=".+$",t=t.slice(0,-1))),t=un(t),{rx:new RegExp("".concat(n).concat(t).concat(i)),prop:e}}))},computedCapture:function(){var t=this.capture;return!0===t||""===t||(t||null)},computedAttrs:function(){var t=this.name,e=this.disabled,n=this.required,i=this.form,o=this.computedCapture,r=this.accept,a=this.multiple,s=this.directory;return cp(cp({},this.bvAttrs),{},{type:"file",id:this.safeId(),name:t,disabled:e,required:n,form:i||null,capture:o,accept:r||null,multiple:a,directory:s,webkitdirectory:s,"aria-required":n?"true":null})},computedFileNameFormatter:function(){var t=this.fileNameFormatter;return gi(t)?t:this.defaultFileNameFormatter},clonedFiles:function(){return Xt(this.files)},flattenedFiles:function(){return en(this.files)},fileNames:function(){return this.flattenedFiles.map((function(t){return t.name}))},labelContent:function(){if(this.dragging&&!this.noDrop)return this.normalizeSlot("drop-placeholder",{allowed:this.dropAllowed})||(this.dropAllowed?this.dropPlaceholder:this.$createElement("span",{staticClass:"text-danger"},this.noDropPlaceholder));if(0===this.files.length)return this.normalizeSlot("placeholder")||this.placeholder;var t=this.flattenedFiles,e=this.clonedFiles,n=this.fileNames,i=this.computedFileNameFormatter;return this.hasNormalizedSlot("file-name")?this.normalizeSlot("file-name",{files:t,filesTraversed:e,names:n}):i(t,e,n)}},watch:(Jd={},up(Jd,fp,(function(t){(!t||kt(t)&&0===t.length)&&this.reset()})),up(Jd,"files",(function(t,e){if(!sr(t,e)){var n=this.multiple,i=this.noTraverse,o=!n||i?en(t):t;this.$emit(mp,n?o:o[0]||null)}})),Jd),created:function(){this.$_form=null},mounted:function(){var t=Mn("form",this.$el);t&&(ki(t,"reset",this.reset,Pe),this.$_form=t)},beforeDestroy:function(){var t=this.$_form;t&&Oi(t,"reset",this.reset,Pe)},methods:{isFileValid:function(t){if(!t)return!1;var e=this.computedAccept;return!e||e.some((function(e){return e.rx.test(t[e.prop])}))},isFilesArrayValid:function(t){var e=this;return kt(t)?t.every((function(t){return e.isFileValid(t)})):this.isFileValid(t)},defaultFileNameFormatter:function(t,e,n){return n.join(", ")},setFiles:function(t){this.dropAllowed=!this.noDrop,this.dragging=!1,this.files=this.multiple?this.directory?t:en(t):en(t).slice(0,1)},setInputFiles:function(t){try{var e=new ClipboardEvent("").clipboardData||new DataTransfer;en(Xt(t)).forEach((function(t){delete t.$path,e.items.add(t)})),this.$refs.input.files=e.files}catch(t){}},reset:function(){try{var t=this.$refs.input;t.value="",t.type="",t.type="file"}catch(t){}this.files=[]},handleFiles:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var n=t.filter(this.isFilesArrayValid);n.length>0&&(this.setFiles(n),this.setInputFiles(n))}else this.setFiles(t)},focusHandler:function(t){this.plain||"focusout"===t.type?this.hasFocus=!1:this.hasFocus=!0},onChange:function(t){var e=this,n=t.type,i=t.target,o=t.dataTransfer,r=void 0===o?{}:o,a="drop"===n;this.$emit("change",t);var s=Ke(r.items||[]);if(l&&s.length>0&&!gt(bp(s[0])))(function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.all(Ke(t).filter((function(t){return"file"===t.kind})).map((function(t){var n=bp(t);if(n){if(n.isDirectory&&e)return yp(n.createReader(),"".concat(n.name,"/"));if(n.isFile)return new Promise((function(t){n.file((function(e){e.$path="",t(e)}))}))}return null})).filter(Kt))})(s,this.directory).then((function(t){return e.handleFiles(t,a)}));else{var c=Ke(i.files||r.files||[]).map((function(t){return t.$path=t.webkitRelativePath||"",t}));this.handleFiles(c,a)}},onDragenter:function(t){Pi(t),this.dragging=!0;var e=t.dataTransfer,n=void 0===e?{}:e;if(this.noDrop||this.disabled||!this.dropAllowed)return n.dropEffect="none",void(this.dropAllowed=!1);n.dropEffect="copy"},onDragover:function(t){Pi(t),this.dragging=!0;var e=t.dataTransfer,n=void 0===e?{}:e;if(this.noDrop||this.disabled||!this.dropAllowed)return n.dropEffect="none",void(this.dropAllowed=!1);n.dropEffect="copy"},onDragleave:function(t){var e=this;Pi(t),this.$nextTick((function(){e.dragging=!1,e.dropAllowed=!e.noDrop}))},onDrop:function(t){var e=this;Pi(t),this.dragging=!1,this.noDrop||this.disabled||!this.dropAllowed?this.$nextTick((function(){e.dropAllowed=!e.noDrop})):this.onChange(t)}},render:function(t){var e=this.custom,n=this.plain,i=this.size,o=this.dragging,r=this.stateClass,a=this.bvAttrs,s=t("input",{class:[{"form-control-file":n,"custom-file-input":e,focus:e&&this.hasFocus},r],style:e?{zIndex:-5}:{},attrs:this.computedAttrs,on:{change:this.onChange,focusin:this.focusHandler,focusout:this.focusHandler,reset:this.reset},ref:"input"});if(n)return s;var l=t("label",{staticClass:"custom-file-label",class:{dragging:o},attrs:{for:this.safeId(),"data-browse":this.browseText||null}},[t("span",{staticClass:"d-block form-file-text",style:{pointerEvents:"none"}},[this.labelContent])]);return t("div",{staticClass:"custom-file b-form-file",class:[up({},"b-custom-control-".concat(i),i),r,a.class],style:a.style,attrs:{id:this.safeId("_BV_file_outer_")},on:{dragenter:this.onDragenter,dragover:this.onDragover,dragleave:this.onDragleave,drop:this.onDrop}},[s,l])}}),xp=he({components:{BFormFile:_p,BFile:_p}}),Cp=function(t){return"\\"+t},kp=function(t){var e=(t=dn(t)).length,n=t.charCodeAt(0);return t.split("").reduce((function(i,o,r){var a=t.charCodeAt(r);return 0===a?i+"<22>":127===a||a>=1&&a<=31||0===r&&a>=48&&a<=57||1===r&&a>=48&&a<=57&&45===n?i+Cp("".concat(a.toString(16)," ")):0===r&&45===a&&1===e?i+Cp(o):a>=128||45===a||95===a||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?i+o:i+Cp(o)}),"")};function Op(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Sp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Op(Object(n),!0).forEach((function(e){Pp(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Op(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Pp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Tp=["auto","start","end","center","baseline","stretch"],jp=Jn((function(t,e,n){var i=t;if(!bt(n)&&!1!==n)return e&&(i+="-".concat(e)),"col"!==t||""!==n&&!0!==n?(i+="-".concat(n),hn(i)):hn(i)})),Mp=$t(null),Ep={name:"BCol",functional:!0,get props(){return delete this.props,this.props=(t=oi().filter(Kt),e=t.reduce((function(t,e){return t[e]=di(ze),t}),$t(null)),n=t.reduce((function(t,e){return t[ui(e,"offset")]=di(Ge),t}),$t(null)),i=t.reduce((function(t,e){return t[ui(e,"order")]=di(Ge),t}),$t(null)),Mp=Dt($t(null),{col:Ft(e),offset:Ft(n),order:Ft(i)}),mi(Ht(Sp(Sp(Sp(Sp({},e),n),i),{},{alignSelf:di(Le,null,(function(t){return Je(Tp,t)})),col:di(Me,!1),cols:di(Ge),offset:di(Ge),order:di(Ge),tag:di(Le,"div")})),"BCol"));var t,e,n,i},render:function(t,e){var n,i=e.props,o=e.data,r=e.children,a=i.cols,s=i.offset,l=i.order,c=i.alignSelf,u=[];for(var d in Mp)for(var p=Mp[d],h=0;h<p.length;h++){var f=jp(d,p[h].replace(d,""),i[p[h]]);f&&u.push(f)}var m=u.some((function(t){return K.test(t)}));return u.push((Pp(n={col:i.col||!m&&!a},"col-".concat(a),a),Pp(n,"offset-".concat(s),s),Pp(n,"order-".concat(l),l),Pp(n,"align-self-".concat(c),c),n)),t(i.tag,Oe(o,{class:u}),r)}};function Ap(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Dp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ap(Object(n),!0).forEach((function(e){$p(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ap(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function $p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ip=["input","select","textarea"],Lp=Ip.map((function(t){return"".concat(t,":not([disabled])")})).join(),Bp=[].concat(Ip,["a","button","label"]),Fp={name:"BFormGroup",mixins:[Ja,Ju,xi],get props(){return delete this.props,this.props=mi(Ht(Dp(Dp(Dp(Dp({},Ka),Ku),oi().reduce((function(t,e){return t[ui(e,"contentCols")]=di(ze),t[ui(e,"labelAlign")]=di(Le),t[ui(e,"labelCols")]=di(ze),t}),$t(null))),{},{description:di(Le),disabled:di(Me,!1),feedbackAriaLive:di(Le,"assertive"),invalidFeedback:di(Le),label:di(Le),labelClass:di(Re),labelFor:di(Le),labelSize:di(Le),labelSrOnly:di(Me,!1),tooltip:di(Me,!1),validFeedback:di(Le),validated:di(Me,!1)})),"BFormGroup")},data:function(){return{ariaDescribedby:null}},computed:{contentColProps:function(){return this.getColProps(this.$props,"content")},labelAlignClasses:function(){return this.getAlignClasses(this.$props,"label")},labelColProps:function(){return this.getColProps(this.$props,"label")},isHorizontal:function(){return Ft(this.contentColProps).length>0||Ft(this.labelColProps).length>0}},watch:{ariaDescribedby:function(t,e){t!==e&&this.updateAriaDescribedby(t,e)}},mounted:function(){var t=this;this.$nextTick((function(){t.updateAriaDescribedby(t.ariaDescribedby)}))},methods:{getAlignClasses:function(t,e){return oi().reduce((function(n,i){var o=t[ui(i,"".concat(e,"Align"))]||null;return o&&n.push(["text",i,o].filter(Kt).join("-")),n}),[])},getColProps:function(t,e){return oi().reduce((function(n,i){var o=t[ui(i,"".concat(e,"Cols"))];return wt(o=""===o||(o||!1))||"auto"===o||(o=(o=nn(o,0))>0&&o),o&&(n[i||(wt(o)?"col":"cols")]=o),n}),{})},updateAriaDescribedby:function(t,e){var n=this.labelFor;if(u&&n){var i=Tn("#".concat(kp(n)),this.$refs.content);if(i){var o="aria-describedby",r=(t||"").split(I),a=(e||"").split(I),s=(Fn(i,o)||"").split(I).filter((function(t){return!Je(a,t)})).concat(r).filter((function(t,e,n){return n.indexOf(t)===e})).filter(Kt).join(" ").trim();s?Ln(i,o,s):Bn(i,o)}}},onLegendClick:function(t){if(!this.labelFor){var e=t.target,n=e?e.tagName:"";if(-1===Bp.indexOf(n)){var i=Pn(Lp,this.$refs.content).filter(kn);1===i.length&&Xn(i[0])}}}},render:function(t){var e=this.computedState,n=this.feedbackAriaLive,i=this.isHorizontal,o=this.labelFor,r=this.normalizeSlot,a=this.safeId,s=this.tooltip,l=a(),c=!o,u=t(),d=r("label")||this.label,p=d?a("_BV_label_"):null;if(d||i){var h=this.labelSize,f=this.labelColProps,m=c?"legend":"label";this.labelSrOnly?(d&&(u=t(m,{class:"sr-only",attrs:{id:p,for:o||null}},[d])),u=t(i?Ep:"div",{props:i?f:{}},[u])):u=t(i?Ep:m,{on:c?{click:this.onLegendClick}:{},props:i?Dp(Dp({},f),{},{tag:m}):{},attrs:{id:p,for:o||null,tabindex:c?"-1":null},class:[c?"bv-no-focus-ring":"",i||c?"col-form-label":"",!i&&c?"pt-0":"",i||c?"":"d-block",h?"col-form-label-".concat(h):"",this.labelAlignClasses,this.labelClass]},[d])}var v=t(),g=r("invalid-feedback")||this.invalidFeedback,b=g?a("_BV_feedback_invalid_"):null;g&&(v=t(Bu,{props:{ariaLive:n,id:b,role:n?"alert":null,state:e,tooltip:s},attrs:{tabindex:g?"-1":null}},[g]));var y=t(),w=r("valid-feedback")||this.validFeedback,_=w?a("_BV_feedback_valid_"):null;w&&(y=t(Ru,{props:{ariaLive:n,id:_,role:n?"alert":null,state:e,tooltip:s},attrs:{tabindex:w?"-1":null}},[w]));var x=t(),C=r("description")||this.description,k=C?a("_BV_description_"):null;C&&(x=t(Iu,{attrs:{id:k,tabindex:"-1"}},[C]));var O=this.ariaDescribedby=[k,!1===e?b:null,!0===e?_:null].filter(Kt).join(" ")||null,S=t(i?Ep:"div",{props:i?this.contentColProps:{},ref:"content"},[r("default",{ariaDescribedby:O,descriptionId:k,id:l,labelId:p})||t(),v,y,x]);return t(c?"fieldset":i?Uu:"div",{staticClass:"form-group",class:[{"was-validated":this.validated},this.stateClass],attrs:{id:l,disabled:c?this.disabled:null,role:c?null:"group","aria-invalid":this.computedAriaInvalid,"aria-labelledby":c&&i?p:null}},i&&c?[t(Uu,[u,S])]:[u,S])}},Rp=he({components:{BFormGroup:Fp,BFormFieldset:Fp}}),Np=o.a.extend({computed:{selectionStart:{cache:!1,get:function(){return this.$refs.input.selectionStart},set:function(t){this.$refs.input.selectionStart=t}},selectionEnd:{cache:!1,get:function(){return this.$refs.input.selectionEnd},set:function(t){this.$refs.input.selectionEnd=t}},selectionDirection:{cache:!1,get:function(){return this.$refs.input.selectionDirection},set:function(t){this.$refs.input.selectionDirection=t}}},methods:{select:function(){var t;(t=this.$refs.input).select.apply(t,arguments)},setSelectionRange:function(){var t;(t=this.$refs.input).setSelectionRange.apply(t,arguments)},setRangeText:function(){var t;(t=this.$refs.input).setRangeText.apply(t,arguments)}}});function Up(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function zp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Up(Object(n),!0).forEach((function(e){Hp(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Up(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Hp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Vp=yi("value",{type:Ge,defaultValue:"",event:"update"}),Wp=Vp.mixin,Gp=Vp.props,qp=Vp.prop,Yp=Vp.event,Xp=mi(Ht(zp(zp({},Gp),{},{ariaInvalid:di(He,!1),autocomplete:di(Le),debounce:di(Ge,0),formatter:di(Ae),lazy:di(Me,!1),lazyFormatter:di(Me,!1),number:di(Me,!1),placeholder:di(Le),plaintext:di(Me,!1),readonly:di(Me,!1),trim:di(Me,!1)})),"formTextControls"),Kp=o.a.extend({mixins:[Wp],props:Xp,data:function(){var t=this[qp];return{localValue:dn(t),vModelValue:this.modifyValue(t)}},computed:{computedClass:function(){var t=this.plaintext,e=this.type,n="range"===e,i="color"===e;return[{"custom-range":n,"form-control-plaintext":t&&!n&&!i,"form-control":i||!t&&!n},this.sizeFormClass,this.stateClass]},computedDebounce:function(){return to(nn(this.debounce,0),0)},hasFormatter:function(){return gi(this.formatter)}},watch:Hp({},qp,(function(t){var e=dn(t),n=this.modifyValue(t);e===this.localValue&&n===this.vModelValue||(this.clearDebounce(),this.localValue=e,this.vModelValue=n)})),created:function(){this.$_inputDebounceTimer=null},mounted:function(){this.$on("hook:beforeDestroy",this.clearDebounce)},beforeDestroy:function(){this.clearDebounce()},methods:{clearDebounce:function(){clearTimeout(this.$_inputDebounceTimer),this.$_inputDebounceTimer=null},formatValue:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t=dn(t),!this.hasFormatter||this.lazyFormatter&&!n||(t=this.formatter(t,e)),t},modifyValue:function(t){return t=dn(t),this.trim&&(t=t.trim()),this.number&&(t=on(t,t)),t},updateValue:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.lazy;if(!i||n){this.clearDebounce();var o=function(){if((t=e.modifyValue(t))!==e.vModelValue)e.vModelValue=t,e.$emit(Yp,t);else if(e.hasFormatter){var n=e.$refs.input;n&&t!==n.value&&(n.value=t)}},r=this.computedDebounce;r>0&&!i&&!n?this.$_inputDebounceTimer=setTimeout(o,r):o()}},onInput:function(t){if(!t.target.composing){var e=t.target.value,n=this.formatValue(e,t);!1===n||t.defaultPrevented?Pi(t,{propagation:!1}):(this.localValue=n,this.updateValue(n),this.$emit("input",n))}},onChange:function(t){var e=t.target.value,n=this.formatValue(e,t);!1===n||t.defaultPrevented?Pi(t,{propagation:!1}):(this.localValue=n,this.updateValue(n,!0),this.$emit("change",n))},onBlur:function(t){var e=t.target.value,n=this.formatValue(e,t,!0);!1!==n&&(this.localValue=dn(this.modifyValue(n)),this.updateValue(n,!0)),this.$emit("blur",t)},focus:function(){this.disabled||Xn(this.$el)},blur:function(){this.disabled||Kn(this.$el)}}}),Jp=o.a.extend({computed:{validity:{cache:!1,get:function(){return this.$refs.input.validity}},validationMessage:{cache:!1,get:function(){return this.$refs.input.validationMessage}},willValidate:{cache:!1,get:function(){return this.$refs.input.willValidate}}},methods:{setCustomValidity:function(){var t;return(t=this.$refs.input).setCustomValidity.apply(t,arguments)},checkValidity:function(){var t;return(t=this.$refs.input).checkValidity.apply(t,arguments)},reportValidity:function(){var t;return(t=this.$refs.input).reportValidity.apply(t,arguments)}}});function Zp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Qp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Zp(Object(n),!0).forEach((function(e){th(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Zp(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function th(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var eh,nh=["text","password","email","number","url","tel","search","range","color","date","time","datetime","datetime-local","month","week"],ih=mi(Ht(Qp(Qp(Qp(Qp(Qp(Qp({},Ka),Vu),Yu),Ku),Xp),{},{list:di(Le),max:di(Ge),min:di(Ge),noWheel:di(Me,!1),step:di(Ge),type:di(Le,"text",(function(t){return Je(nh,t)}))})),"BFormInput"),oh=o.a.extend({name:"BFormInput",mixins:[fr,Ja,Wu,Xu,Ju,Kp,Np,Jp],props:ih,computed:{localType:function(){var t=this.type;return Je(nh,t)?t:"text"},computedAttrs:function(){var t=this.localType,e=this.name,n=this.form,i=this.disabled,o=this.placeholder,r=this.required,a=this.min,s=this.max,l=this.step;return{id:this.safeId(),name:e,form:n,type:t,disabled:i,placeholder:o,required:r,autocomplete:this.autocomplete||null,readonly:this.readonly||this.plaintext,min:a,max:s,step:l,list:"password"!==t?this.list:null,"aria-required":r?"true":null,"aria-invalid":this.computedAriaInvalid}},computedListeners:function(){return Qp(Qp({},this.bvListeners),{},{input:this.onInput,change:this.onChange,blur:this.onBlur})}},watch:{noWheel:function(t){this.setWheelStopper(t)}},mounted:function(){this.setWheelStopper(this.noWheel)},deactivated:function(){this.setWheelStopper(!1)},activated:function(){this.setWheelStopper(this.noWheel)},beforeDestroy:function(){this.setWheelStopper(!1)},methods:{setWheelStopper:function(t){var e=this.$el;Si(t,e,"focus",this.onWheelFocus),Si(t,e,"blur",this.onWheelBlur),t||Oi(document,"wheel",this.stopWheel)},onWheelFocus:function(){ki(document,"wheel",this.stopWheel)},onWheelBlur:function(){Oi(document,"wheel",this.stopWheel)},stopWheel:function(t){Pi(t,{propagation:!1}),Kn(this.$el)}},render:function(t){return t("input",{class:this.computedClass,attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),rh=he({components:{BFormInput:oh,BInput:oh}}),ah=mi(Md,"BFormRadioGroup"),sh=o.a.extend({name:"BFormRadioGroup",mixins:[Ed],provide:function(){return{bvRadioGroup:this}},props:ah,computed:{isRadioGroup:function(){return!0}}}),lh=he({components:{BFormRadio:yd,BRadio:yd,BFormRadioGroup:sh,BRadioGroup:sh}});function ch(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function uh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ch(Object(n),!0).forEach((function(e){dh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ch(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function dh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ph=yi("value",{type:Ge,event:"change"}),hh=ph.mixin,fh=ph.props,mh=ph.prop,vh=ph.event,gh=function(t){return to(3,nn(t,5))},bh=function(t,e,n){return to(Qi(t,n),e)},yh=o.a.extend({name:"BVFormRatingStar",mixins:[xi],props:{disabled:di(Me,!1),focused:di(Me,!1),hasClear:di(Me,!1),rating:di(De,0),readonly:di(Me,!1),star:di(De,0),variant:di(Le)},methods:{onClick:function(t){this.disabled||this.readonly||(Pi(t,{propagation:!1}),this.$emit("selected",this.star))}},render:function(t){var e=this.rating,n=this.star,i=this.focused,o=this.hasClear,r=this.variant,a=this.disabled,s=this.readonly,l=o?0:1,c=e>=n?"full":e>=n-.5?"half":"empty",u={variant:r,disabled:a,readonly:s};return t("span",{staticClass:"b-rating-star",class:{focused:i&&e===n||!nn(e)&&n===l,"b-rating-star-empty":"empty"===c,"b-rating-star-half":"half"===c,"b-rating-star-full":"full"===c},attrs:{tabindex:a||s?null:"-1"},on:{click:this.onClick}},[t("span",{staticClass:"b-rating-icon"},[this.normalizeSlot(c,u)])])}}),wh=mi(Ht(uh(uh(uh(uh(uh({},Ka),fh),zt(Vu,["required","autofocus"])),Yu),{},{color:di(Le),iconClear:di(Le,"x"),iconEmpty:di(Le,"star"),iconFull:di(Le,"star-fill"),iconHalf:di(Le,"star-half"),inline:di(Me,!1),locale:di(Ne),noBorder:di(Me,!1),precision:di(Ge),readonly:di(Me,!1),showClear:di(Me,!1),showValue:di(Me,!1),showValueMax:di(Me,!1),stars:di(Ge,5,(function(t){return nn(t)>=3})),variant:di(Le)})),"BFormRating"),_h=o.a.extend({name:"BFormRating",components:{BIconStar:Ho,BIconStarHalf:Wo,BIconStarFill:Vo,BIconX:Go},mixins:[Ja,hh,Xu],props:wh,data:function(){var t=on(this[mh],null),e=gh(this.stars);return{localValue:gt(t)?null:bh(t,0,e),hasFocus:!1}},computed:{computedStars:function(){return gh(this.stars)},computedRating:function(){var t=on(this.localValue,0),e=nn(this.precision,3);return bh(on(t.toFixed(e)),0,this.computedStars)},computedLocale:function(){var t=Ze(this.locale).filter(Kt);return new Intl.NumberFormat(t).resolvedOptions().locale},isInteractive:function(){return!this.disabled&&!this.readonly},isRTL:function(){return Xa(this.computedLocale)},formattedRating:function(){var t=nn(this.precision),e=this.showValueMax,n=this.computedLocale,i={notation:"standard",minimumFractionDigits:isNaN(t)?0:t,maximumFractionDigits:isNaN(t)?3:t},o=this.computedStars.toLocaleString(n),r=this.localValue;return r=gt(r)?e?"-":"":r.toLocaleString(n,i),e?"".concat(r,"/").concat(o):r}},watch:(eh={},dh(eh,mh,(function(t,e){if(t!==e){var n=on(t,null);this.localValue=gt(n)?null:bh(n,0,this.computedStars)}})),dh(eh,"localValue",(function(t,e){t!==e&&t!==(this.value||0)&&this.$emit(vh,t||null)})),dh(eh,"disabled",(function(t){t&&(this.hasFocus=!1,this.blur())})),eh),methods:{focus:function(){this.disabled||Xn(this.$el)},blur:function(){this.disabled||Kn(this.$el)},onKeydown:function(t){var e=t.keyCode;if(this.isInteractive&&Je([ir,Qo,or,ar],e)){Pi(t,{propagation:!1});var n=nn(this.localValue,0),i=this.showClear?0:1,o=this.computedStars,r=this.isRTL?-1:1;e===ir?this.localValue=bh(n-r,i,o)||null:e===or?this.localValue=bh(n+r,i,o):e===Qo?this.localValue=bh(n-1,i,o)||null:e===ar&&(this.localValue=bh(n+1,i,o))}},onSelected:function(t){this.isInteractive&&(this.localValue=t)},onFocus:function(t){this.hasFocus=!!this.isInteractive&&"focus"===t.type},renderIcon:function(t){return this.$createElement(Zo,{props:{icon:t,variant:this.disabled||this.color?null:this.variant||null}})},iconEmptyFn:function(){return this.renderIcon(this.iconEmpty)},iconHalfFn:function(){return this.renderIcon(this.iconHalf)},iconFullFn:function(){return this.renderIcon(this.iconFull)},iconClearFn:function(){return this.$createElement(Zo,{props:{icon:this.iconClear}})}},render:function(t){var e=this,n=this.disabled,i=this.readonly,o=this.name,r=this.form,a=this.inline,s=this.variant,l=this.color,c=this.noBorder,u=this.hasFocus,d=this.computedRating,p=this.computedStars,h=this.formattedRating,f=this.showClear,m=this.isRTL,v=this.isInteractive,g=this.$scopedSlots,b=[];if(f&&!n&&!i){var y=t("span",{staticClass:"b-rating-icon"},[(g["icon-clear"]||this.iconClearFn)()]);b.push(t("span",{staticClass:"b-rating-star b-rating-star-clear flex-grow-1",class:{focused:u&&0===d},attrs:{tabindex:v?"-1":null},on:{click:function(){return e.onSelected(null)}},key:"clear"},[y]))}for(var w=0;w<p;w++){var _=w+1;b.push(t(yh,{staticClass:"flex-grow-1",style:l&&!n?{color:l}:{},props:{rating:d,star:_,variant:n?null:s||null,disabled:n,readonly:i,focused:u,hasClear:f},on:{selected:this.onSelected},scopedSlots:{empty:g["icon-empty"]||this.iconEmptyFn,half:g["icon-half"]||this.iconHalfFn,full:g["icon-full"]||this.iconFullFn},key:w}))}return o&&b.push(t("input",{attrs:{type:"hidden",value:gt(this.localValue)?"":d,name:o,form:r||null},key:"hidden"})),this.showValue&&b.push(t("b",{staticClass:"b-rating-value flex-grow-1",attrs:{"aria-hidden":"true"},key:"value"},dn(h))),t("output",{staticClass:"b-rating form-control align-items-center",class:[{"d-inline-flex":a,"d-flex":!a,"border-0":c,disabled:n,readonly:!n&&i},this.sizeFormClass],attrs:{id:this.safeId(),dir:m?"rtl":"ltr",tabindex:n?null:"0",disabled:n,role:"slider","aria-disabled":n?"true":null,"aria-readonly":!n&&i?"true":null,"aria-live":"off","aria-valuemin":f?"0":"1","aria-valuemax":dn(p),"aria-valuenow":d?dn(d):null},on:{keydown:this.onKeydown,focus:this.onFocus,blur:this.onFocus}},b)}}),xh=he({components:{BFormRating:_h,BRating:_h}}),Ch=yi("value"),kh=Ch.mixin,Oh=Ch.props,Sh=Ch.prop,Ph=Ch.event;function Th(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function jh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Th(Object(n),!0).forEach((function(e){Mh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Th(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Mh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Eh=mi(Ht(jh(jh({},Ou),{},{labelField:di(Le,"label"),optionsField:di(Le,"options")})),"formOptions"),Ah=o.a.extend({mixins:[Su],props:Eh,methods:{normalizeOption:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(St(t)){var n=Zt(t,this.valueField),i=Zt(t,this.textField),o=Zt(t,this.optionsField,null);return gt(o)?{value:vt(n)?e||i:n,text:String(vt(i)?e:i),html:Zt(t,this.htmlField),disabled:Boolean(Zt(t,this.disabledField))}:{label:String(Zt(t,this.labelField)||i),options:this.normalizeOptions(o)}}return{value:e||t,text:String(t),disabled:!1}}}}),Dh=mi({disabled:di(Me,!1),value:di(void 0,void 0,!0)},"BFormSelectOption"),$h=o.a.extend({name:"BFormSelectOption",functional:!0,props:Dh,render:function(t,e){var n=e.props,i=e.data,o=e.children,r=n.value;return t("option",Oe(i,{attrs:{disabled:n.disabled},domProps:{value:r}}),o)}});function Ih(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Lh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ih(Object(n),!0).forEach((function(e){Bh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ih(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Bh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Fh=mi(Ht(Lh(Lh({},Ou),{},{label:di(Le,void 0,!0)})),"BFormSelectOptionGroup"),Rh=o.a.extend({name:"BFormSelectOptionGroup",mixins:[xi,Su],props:Fh,render:function(t){var e=this.label,n=this.formOptions.map((function(e,n){var i=e.value,o=e.text,r=e.html,a=e.disabled;return t($h,{attrs:{value:i,disabled:a},domProps:ia(r,o),key:"option_".concat(n)})}));return t("optgroup",{attrs:{label:e}},[this.normalizeSlot("first"),n,this.normalizeSlot()])}});function Nh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Uh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Nh(Object(n),!0).forEach((function(e){zh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Nh(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function zh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Hh,Vh=mi(Ht(Uh(Uh(Uh(Uh(Uh(Uh(Uh({},Ka),Oh),Vu),Gu),Yu),Ku),{},{ariaInvalid:di(He,!1),multiple:di(Me,!1),selectSize:di(De,0)})),"BFormSelect"),Wh=o.a.extend({name:"BFormSelect",mixins:[Ja,kh,Wu,Xu,Ju,qu,Ah,xi],props:Vh,data:function(){return{localValue:this[Sh]}},computed:{computedSelectSize:function(){return this.plain||0!==this.selectSize?this.selectSize:null},inputClass:function(){return[this.plain?"form-control":"custom-select",this.size&&this.plain?"form-control-".concat(this.size):null,this.size&&!this.plain?"custom-select-".concat(this.size):null,this.stateClass]}},watch:{value:function(t){this.localValue=t},localValue:function(){this.$emit(Ph,this.localValue)}},methods:{focus:function(){Xn(this.$refs.input)},blur:function(){Kn(this.$refs.input)},onChange:function(t){var e=this,n=t.target,i=Ke(n.options).filter((function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));this.localValue=n.multiple?i:i[0],this.$nextTick((function(){e.$emit("change",e.localValue)}))}},render:function(t){var e=this.name,n=this.disabled,i=this.required,o=this.computedSelectSize,r=this.localValue,a=this.formOptions.map((function(e,n){var i=e.value,o=e.label,r=e.options,a=e.disabled,s="option_".concat(n);return kt(r)?t(Rh,{props:{label:o,options:r},key:s}):t($h,{props:{value:i,disabled:a},domProps:ia(e.html,e.text),key:s})}));return t("select",{class:this.inputClass,attrs:{id:this.safeId(),name:e,form:this.form||null,multiple:this.multiple||null,size:o,disabled:n,required:i,"aria-required":i?"true":null,"aria-invalid":this.computedAriaInvalid},on:{change:this.onChange},directives:[{name:"model",value:r}],ref:"input"},[this.normalizeSlot("first"),a,this.normalizeSlot()])}}),Gh=he({components:{BFormSelect:Wh,BFormSelectOption:$h,BFormSelectOptionGroup:Rh,BSelect:Wh,BSelectOption:$h,BSelectOptionGroup:Rh}});function qh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Yh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qh(Object(n),!0).forEach((function(e){Xh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qh(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Xh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Kh=yi("value",{type:Ue}),Jh=Kh.mixin,Zh=Kh.props,Qh=Kh.prop,tf=Kh.event,ef=[ar,Qo,nr,tr,33,34],nf=mi(Ht(Yh(Yh(Yh(Yh(Yh(Yh({},Ka),Zh),zt(Vu,["required","autofocus"])),Yu),Ku),{},{ariaControls:di(Le),ariaLabel:di(Le),formatterFn:di(Ae),inline:di(Me,!1),labelDecrement:di(Le,"Decrement"),labelIncrement:di(Le,"Increment"),locale:di(Ne),max:di(Ge,100),min:di(Ge,1),placeholder:di(Le),readonly:di(Me,!1),repeatDelay:di(Ge,500),repeatInterval:di(Ge,100),repeatStepMultiplier:di(Ge,4),repeatThreshold:di(Ge,10),step:di(Ge,1),vertical:di(Me,!1),wrap:di(Me,!1)})),"BFormSpinbutton"),of=o.a.extend({name:"BFormSpinbutton",mixins:[pr,Ja,Jh,Xu,Ju,xi],inheritAttrs:!1,props:nf,data:function(){return{localValue:on(this[Qh],null),hasFocus:!1}},computed:{spinId:function(){return this.safeId()},computedInline:function(){return this.inline&&!this.vertical},computedReadonly:function(){return this.readonly&&!this.disabled},computedRequired:function(){return this.required&&!this.computedReadonly&&!this.disabled},computedStep:function(){return on(this.step,1)},computedMin:function(){return on(this.min,1)},computedMax:function(){var t=on(this.max,100),e=this.computedStep,n=this.computedMin;return io((t-n)/e)*e+n},computedDelay:function(){var t=nn(this.repeatDelay,0);return t>0?t:500},computedInterval:function(){var t=nn(this.repeatInterval,0);return t>0?t:100},computedThreshold:function(){return to(nn(this.repeatThreshold,10),1)},computedStepMultiplier:function(){return to(nn(this.repeatStepMultiplier,4),1)},computedPrecision:function(){var t=this.computedStep;return io(t)===t?0:(t.toString().split(".")[1]||"").length},computedMultiplier:function(){return oo(10,this.computedPrecision||0)},valueAsFixed:function(){var t=this.localValue;return gt(t)?"":t.toFixed(this.computedPrecision)},computedLocale:function(){var t=Ze(this.locale).filter(Kt);return new Intl.NumberFormat(t).resolvedOptions().locale},computedRTL:function(){return Xa(this.computedLocale)},defaultFormatter:function(){var t=this.computedPrecision;return new Intl.NumberFormat(this.computedLocale,{style:"decimal",useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:t,maximumFractionDigits:t,notation:"standard"}).format},computedFormatter:function(){var t=this.formatterFn;return gi(t)?t:this.defaultFormatter},computedAttrs:function(){return Yh(Yh({},this.bvAttrs),{},{role:"group",lang:this.computedLocale,tabindex:this.disabled?null:"-1",title:this.ariaLabel})},computedSpinAttrs:function(){var t=this.spinId,e=this.localValue,n=this.computedRequired,i=this.disabled,o=this.state,r=this.computedFormatter,a=!gt(e);return Yh(Yh({dir:this.computedRTL?"rtl":"ltr"},this.bvAttrs),{},{id:t,role:"spinbutton",tabindex:i?null:"0","aria-live":"off","aria-label":this.ariaLabel||null,"aria-controls":this.ariaControls||null,"aria-invalid":!1===o||!a&&n?"true":null,"aria-required":n?"true":null,"aria-valuemin":dn(this.computedMin),"aria-valuemax":dn(this.computedMax),"aria-valuenow":a?e:null,"aria-valuetext":a?r(e):null})}},watch:(Hh={},Xh(Hh,Qh,(function(t){this.localValue=on(t,null)})),Xh(Hh,"localValue",(function(t){this.$emit(tf,t)})),Xh(Hh,"disabled",(function(t){t&&this.clearRepeat()})),Xh(Hh,"readonly",(function(t){t&&this.clearRepeat()})),Hh),created:function(){this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null,this.$_keyIsDown=!1},beforeDestroy:function(){this.clearRepeat()},deactivated:function(){this.clearRepeat()},methods:{focus:function(){this.disabled||Xn(this.$refs.spinner)},blur:function(){this.disabled||Kn(this.$refs.spinner)},emitChange:function(){this.$emit("change",this.localValue)},stepValue:function(t){var e=this.localValue;if(!this.disabled&&!gt(e)){var n=this.computedStep*t,i=this.computedMin,o=this.computedMax,r=this.computedMultiplier,a=this.wrap;e=ro((e-i)/n)*n+i+n,e=ro(e*r)/r,this.localValue=e>o?a?i:o:e<i?a?o:i:e}},onFocusBlur:function(t){this.disabled?this.hasFocus=!1:this.hasFocus="focus"===t.type},stepUp:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=this.localValue;gt(e)?this.localValue=this.computedMin:this.stepValue(1*t)},stepDown:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=this.localValue;gt(e)?this.localValue=this.wrap?this.computedMax:this.computedMin:this.stepValue(-1*t)},onKeydown:function(t){var e=t.keyCode,n=t.altKey,i=t.ctrlKey,o=t.metaKey;if(!(this.disabled||this.readonly||n||i||o)&&Je(ef,e)){if(Pi(t,{propagation:!1}),this.$_keyIsDown)return;this.resetTimers(),Je([ar,Qo],e)?(this.$_keyIsDown=!0,e===ar?this.handleStepRepeat(t,this.stepUp):e===Qo&&this.handleStepRepeat(t,this.stepDown)):33===e?this.stepUp(this.computedStepMultiplier):34===e?this.stepDown(this.computedStepMultiplier):e===nr?this.localValue=this.computedMin:e===tr&&(this.localValue=this.computedMax)}},onKeyup:function(t){var e=t.keyCode,n=t.altKey,i=t.ctrlKey,o=t.metaKey;this.disabled||this.readonly||n||i||o||Je(ef,e)&&(Pi(t,{propagation:!1}),this.resetTimers(),this.$_keyIsDown=!1,this.emitChange())},handleStepRepeat:function(t,e){var n=this,i=t||{},o=i.type,r=i.button;if(!this.disabled&&!this.readonly){if("mousedown"===o&&r)return;this.resetTimers(),e(1);var a=this.computedThreshold,s=this.computedStepMultiplier,l=this.computedDelay,c=this.computedInterval;this.$_autoDelayTimer=setTimeout((function(){var t=0;n.$_autoRepeatTimer=setInterval((function(){e(t<a?1:s),t++}),c)}),l)}},onMouseup:function(t){var e=t||{},n=e.type,i=e.button;"mouseup"===n&&i||(Pi(t,{propagation:!1}),this.resetTimers(),this.setMouseup(!1),this.emitChange())},setMouseup:function(t){try{Si(t,document.body,"mouseup",this.onMouseup,!1),Si(t,document.body,"touchend",this.onMouseup,!1)}catch(t){}},resetTimers:function(){clearTimeout(this.$_autoDelayTimer),clearInterval(this.$_autoRepeatTimer),this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null},clearRepeat:function(){this.resetTimers(),this.setMouseup(!1),this.$_keyIsDown=!1}},render:function(t){var e=this,n=this.spinId,i=this.localValue,o=this.computedInline,r=this.computedReadonly,a=this.vertical,s=this.disabled,l=this.computedFormatter,c=!gt(i),u=function(i,o,l,c,u,d,p){var h=t(l,{props:{scale:e.hasFocus?1.5:1.25},attrs:{"aria-hidden":"true"}}),f={hasFocus:e.hasFocus},m=function(t){s||r||(Pi(t,{propagation:!1}),e.setMouseup(!0),Xn(t.currentTarget),e.handleStepRepeat(t,i))};return t("button",{staticClass:"btn btn-sm border-0 rounded-0",class:{"py-0":!a},attrs:{tabindex:"-1",type:"button",disabled:s||r||d,"aria-disabled":s||r||d?"true":null,"aria-controls":n,"aria-label":o||null,"aria-keyshortcuts":u||null},on:{mousedown:m,touchstart:m},key:c||null,ref:c},[e.normalizeSlot(p,f)||h])},d=u(this.stepUp,this.labelIncrement,zo,"inc","ArrowUp",!1,"increment"),p=u(this.stepDown,this.labelDecrement,No,"dec","ArrowDown",!1,"decrement"),h=t();this.name&&!s&&(h=t("input",{attrs:{type:"hidden",name:this.name,form:this.form||null,value:this.valueAsFixed},key:"hidden"}));var f=t("output",{staticClass:"flex-grow-1",class:{"d-flex":a,"align-self-center":!a,"align-items-center":a,"border-top":a,"border-bottom":a,"border-left":!a,"border-right":!a},attrs:this.computedSpinAttrs,key:"output",ref:"spinner"},[t("bdi",c?l(i):this.placeholder||"")]);return t("div",{staticClass:"b-form-spinbutton form-control",class:[{disabled:s,readonly:r,focus:this.hasFocus,"d-inline-flex":o||a,"d-flex":!o&&!a,"align-items-stretch":!a,"flex-column":a},this.sizeFormClass,this.stateClass],attrs:this.computedAttrs,on:{keydown:this.onKeydown,keyup:this.onKeyup,"!focus":this.onFocusBlur,"!blur":this.onFocusBlur}},a?[d,h,f,p]:[p,h,f,d])}}),rf=he({components:{BFormSpinbutton:of,BSpinbutton:of}});function af(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function sf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?af(Object(n),!0).forEach((function(e){lf(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):af(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function lf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var cf,uf=mi(Ht(sf(sf({},Ka),{},{disabled:di(Me,!1),noRemove:di(Me,!1),pill:di(Me,!1),removeLabel:di(Le,"Remove tag"),tag:di(Le,"span"),title:di(Le),variant:di(Le,"secondary")})),"BFormTag"),df=o.a.extend({name:"BFormTag",mixins:[Ja,xi],props:uf,methods:{onRemove:function(t){var e=t.type,n=t.keyCode;this.disabled||"click"!==e&&("keydown"!==e||46!==n)||this.$emit("remove")}},render:function(t){var e=this.title,n=this.tag,i=this.variant,o=this.pill,r=this.disabled,a=this.safeId(),s=this.safeId("_taglabel_"),l=t();this.noRemove||r||(l=t(Ai,{staticClass:"b-form-tag-remove",props:{ariaLabel:this.removeLabel},attrs:{"aria-controls":a,"aria-describedby":s,"aria-keyshortcuts":"Delete"},on:{click:this.onRemove,keydown:this.onRemove}}));var c=t("span",{staticClass:"b-form-tag-content flex-grow-1 text-truncate",attrs:{id:s}},this.normalizeSlot()||e);return t(ta,{staticClass:"b-form-tag d-inline-flex align-items-baseline mw-100",class:{disabled:r},props:{tag:n,variant:i,pill:o},attrs:{id:a,title:e||null,"aria-labelledby":s}},[c,l])}});function pf(t){return function(t){if(Array.isArray(t))return hf(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return hf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hf(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hf(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ff(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function mf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ff(Object(n),!0).forEach((function(e){vf(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ff(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function vf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var gf=yi("value",{type:je,defaultValue:[]}),bf=gf.mixin,yf=gf.props,wf=gf.prop,_f=gf.event,xf=["text","email","tel","url","number"],Cf=[".b-form-tag","button","input","select"].join(" "),kf=function(t){return Ze(t).map((function(t){return pn(dn(t))})).filter((function(t,e,n){return t.length>0&&n.indexOf(t)===e}))},Of=function(t){return _t(t)?t:Tt(t)&&t.target.value||""},Sf=mi(Ht(mf(mf(mf(mf(mf(mf({},Ka),yf),Vu),Yu),Ku),{},{addButtonText:di(Le,"Add"),addButtonVariant:di(Le,"outline-secondary"),addOnChange:di(Me,!1),duplicateTagText:di(Le,"Duplicate tag(s)"),ignoreInputFocusSelector:di(Ne,Cf),inputAttrs:di($e,{}),inputClass:di(Re),inputId:di(Le),inputType:di(Le,"text",(function(t){return Je(xf,t)})),invalidTagText:di(Le,"Invalid tag(s)"),limit:di(De),limitTagsText:di(Le,"Tag limit reached"),noAddOnEnter:di(Me,!1),noOuterFocus:di(Me,!1),noTagRemove:di(Me,!1),placeholder:di(Le,"Add tag..."),removeOnDelete:di(Me,!1),separator:di(Ne),tagClass:di(Re),tagPills:di(Me,!1),tagRemoveLabel:di(Le,"Remove tag"),tagRemovedLabel:di(Le,"Tag removed"),tagValidator:di(Ae),tagVariant:di(Le,"secondary")})),"BFormTags"),Pf=o.a.extend({name:"BFormTags",mixins:[Ja,bf,Wu,Xu,Ju,xi],props:Sf,data:function(){return{hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:{all:[],valid:[],invalid:[],duplicate:[]}}},computed:{computedInputId:function(){return this.inputId||this.safeId("__input__")},computedInputType:function(){return Je(xf,this.inputType)?this.inputType:"text"},computedInputAttrs:function(){var t=this.disabled,e=this.form;return mf(mf({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:t,form:e})},computedInputHandlers:function(){return{input:this.onInputInput,change:this.onInputChange,keydown:this.onInputKeydown,reset:this.reset}},computedSeparator:function(){return Ze(this.separator).filter(_t).filter(Kt).join("")},computedSeparatorRegExp:function(){var t=this.computedSeparator;return t?new RegExp("[".concat(un(t).replace($,"\\s"),"]+")):null},computedJoiner:function(){var t=this.computedSeparator.charAt(0);return" "!==t?"".concat(t," "):t},computeIgnoreInputFocusSelector:function(){return Ze(this.ignoreInputFocusSelector).filter(Kt).join(",").trim()},disableAddButton:function(){var t=this,e=pn(this.newTag);return""===e||!this.splitTags(e).some((function(e){return!Je(t.tags,e)&&t.validateTag(e)}))},duplicateTags:function(){return this.tagsState.duplicate},hasDuplicateTags:function(){return this.duplicateTags.length>0},invalidTags:function(){return this.tagsState.invalid},hasInvalidTags:function(){return this.invalidTags.length>0},isLimitReached:function(){var t=this.limit;return xt(t)&&t>=0&&this.tags.length>=t}},watch:(cf={},vf(cf,wf,(function(t){this.tags=kf(t)})),vf(cf,"tags",(function(t,e){sr(t,this[wf])||this.$emit(_f,t),sr(t,e)||(t=Ze(t).filter(Kt),e=Ze(e).filter(Kt),this.removedTags=e.filter((function(e){return!Je(t,e)})))})),vf(cf,"tagsState",(function(t,e){sr(t,e)||this.$emit("tag-state",t.valid,t.invalid,t.duplicate)})),cf),created:function(){this.tags=kf(this[wf])},mounted:function(){var t=this,e=Mn("form",this.$el);e&&(ki(e,"reset",this.reset,Pe),this.$on("hook:beforeDestroy",(function(){Oi(e,"reset",t.reset,Pe)})))},methods:{addTag:function(t){if(t=_t(t)?t:this.newTag,!this.disabled&&""!==pn(t)&&!this.isLimitReached){var e=this.parseTags(t);if(e.valid.length>0||0===e.all.length)if(jn(this.getInput(),"select"))this.newTag="";else{var n=[].concat(pf(e.invalid),pf(e.duplicate));this.newTag=e.all.filter((function(t){return Je(n,t)})).join(this.computedJoiner).concat(n.length>0?this.computedJoiner.charAt(0):"")}e.valid.length>0&&(this.tags=Ze(this.tags,e.valid)),this.tagsState=e,this.focus()}},removeTag:function(t){var e=this;this.disabled||(this.tags=this.tags.filter((function(e){return e!==t})),this.$nextTick((function(){e.focus()})))},reset:function(){var t=this;this.newTag="",this.tags=[],this.$nextTick((function(){t.removedTags=[],t.tagsState={all:[],valid:[],invalid:[],duplicate:[]}}))},onInputInput:function(t){if(!(this.disabled||Tt(t)&&t.target.composing)){var e=Of(t),n=this.computedSeparatorRegExp;this.newTag!==e&&(this.newTag=e),e=dn(e).replace(F,""),n&&n.test(e.slice(-1))?this.addTag():this.tagsState=""===e?{all:[],valid:[],invalid:[],duplicate:[]}:this.parseTags(e)}},onInputChange:function(t){if(!this.disabled&&this.addOnChange){var e=Of(t);this.newTag!==e&&(this.newTag=e),this.addTag()}},onInputKeydown:function(t){if(!this.disabled&&Tt(t)){var e=t.keyCode,n=t.target.value||"";this.noAddOnEnter||e!==er?!this.removeOnDelete||8!==e&&46!==e||""!==n||(Pi(t,{propagation:!1}),this.tags=this.tags.slice(0,-1)):(Pi(t,{propagation:!1}),this.addTag())}},onClick:function(t){var e=this,n=this.computeIgnoreInputFocusSelector,i=t.target;this.disabled||Cn(i)||n&&Mn(n,i,!0)||this.$nextTick((function(){e.focus()}))},onFocusin:function(){this.hasFocus=!0},onFocusout:function(){this.hasFocus=!1},handleAutofocus:function(){var t=this;this.$nextTick((function(){bn((function(){t.autofocus&&!t.disabled&&t.focus()}))}))},focus:function(){this.disabled||Xn(this.getInput())},blur:function(){this.disabled||Kn(this.getInput())},splitTags:function(t){t=dn(t);var e=this.computedSeparatorRegExp;return(e?t.split(e):[t]).map(pn).filter(Kt)},parseTags:function(t){var e=this,n=this.splitTags(t),i={all:n,valid:[],invalid:[],duplicate:[]};return n.forEach((function(t){Je(e.tags,t)||Je(i.valid,t)?Je(i.duplicate,t)||i.duplicate.push(t):e.validateTag(t)?i.valid.push(t):Je(i.invalid,t)||i.invalid.push(t)})),i},validateTag:function(t){var e=this.tagValidator;return!gi(e)||e(t)},getInput:function(){return Tn("#".concat(kp(this.computedInputId)),this.$el)},defaultRender:function(t){var e=t.addButtonText,n=t.addButtonVariant,i=t.addTag,o=t.disableAddButton,r=t.disabled,a=t.duplicateTagText,s=t.inputAttrs,l=t.inputClass,c=t.inputHandlers,u=t.inputType,d=t.invalidTagText,p=t.isDuplicate,h=t.isInvalid,f=t.isLimitReached,m=t.limitTagsText,v=t.noTagRemove,g=t.placeholder,b=t.removeTag,y=t.tagClass,w=t.tagPills,_=t.tagRemoveLabel,x=t.tagVariant,C=t.tags,k=this.$createElement,O=C.map((function(t){return t=dn(t),k(df,{class:y,props:{disabled:r,noRemove:v,pill:w,removeLabel:_,tag:"li",title:t,variant:x},on:{remove:function(){return b(t)}},key:"tags_".concat(t)},t)})),S=d&&h?this.safeId("__invalid_feedback__"):null,P=a&&p?this.safeId("__duplicate_feedback__"):null,T=m&&f?this.safeId("__limit_feedback__"):null,j=[s["aria-describedby"],S,P,T].filter(Kt).join(" "),M=k("input",{staticClass:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",class:l,style:{outline:0,minWidth:"5rem"},attrs:mf(mf({},s),{},{"aria-describedby":j||null,type:u,placeholder:g||null}),domProps:{value:s.value},on:c,directives:[{name:"model",value:s.value}],ref:"input"}),E=k(Fr,{staticClass:"b-form-tags-button py-0",class:{invisible:o},style:{fontSize:"90%"},props:{disabled:o||f,variant:n},on:{click:function(){return i()}},ref:"button"},[this.normalizeSlot("add-button-text")||e]),A=this.safeId("__tag_list__"),D=k("li",{staticClass:"b-from-tags-field flex-grow-1",attrs:{role:"none","aria-live":"off","aria-controls":A},key:"tags_field"},[k("div",{staticClass:"d-flex",attrs:{role:"group"}},[M,E])]),$=k("ul",{staticClass:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center",attrs:{id:A},key:"tags_list"},[O,D]),I=k();if(d||a||m){var L=this.computedJoiner,B=k();S&&(B=k(Bu,{props:{id:S,forceShow:!0},key:"tags_invalid_feedback"},[this.invalidTagText,": ",this.invalidTags.join(L)]));var F=k();P&&(F=k(Iu,{props:{id:P},key:"tags_duplicate_feedback"},[this.duplicateTagText,": ",this.duplicateTags.join(L)]));var R=k();T&&(R=k(Iu,{props:{id:T},key:"tags_limit_feedback"},[m])),I=k("div",{attrs:{"aria-live":"polite","aria-atomic":"true"},key:"tags_feedback"},[B,F,R])}return[$,I]}},render:function(t){var e=this.name,n=this.disabled,i=this.required,o=this.form,r=this.tags,a=this.computedInputId,s=this.hasFocus,l=this.noOuterFocus,c=mf({tags:r.slice(),inputAttrs:this.computedInputAttrs,inputType:this.computedInputType,inputHandlers:this.computedInputHandlers,removeTag:this.removeTag,addTag:this.addTag,reset:this.reset,inputId:a,isInvalid:this.hasInvalidTags,invalidTags:this.invalidTags.slice(),isDuplicate:this.hasDuplicateTags,duplicateTags:this.duplicateTags.slice(),isLimitReached:this.isLimitReached,disableAddButton:this.disableAddButton},Ut(this.$props,["addButtonText","addButtonVariant","disabled","duplicateTagText","form","inputClass","invalidTagText","limit","limitTagsText","noTagRemove","placeholder","required","separator","size","state","tagClass","tagPills","tagRemoveLabel","tagVariant"])),u=this.normalizeSlot("default",c)||this.defaultRender(c),d=t("output",{staticClass:"sr-only",attrs:{id:this.safeId("__selected_tags__"),role:"status",for:a,"aria-live":s?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"}},this.tags.join(", ")),p=t("div",{staticClass:"sr-only",attrs:{id:this.safeId("__removed_tags__"),role:"status","aria-live":s?"assertive":"off","aria-atomic":"true"}},this.removedTags.length>0?"(".concat(this.tagRemovedLabel,") ").concat(this.removedTags.join(", ")):""),h=t();if(e&&!n){var f=r.length>0;h=(f?r:[""]).map((function(n){return t("input",{class:{"sr-only":!f},attrs:{type:f?"hidden":"text",value:n,required:i,name:e,form:o},key:"tag_input_".concat(n)})}))}return t("div",{staticClass:"b-form-tags form-control h-auto",class:[{focus:s&&!l&&!n,disabled:n},this.sizeFormClass,this.stateClass],attrs:{id:this.safeId(),role:"group",tabindex:n||l?null:"-1","aria-describedby":this.safeId("__selected_tags__")},on:{click:this.onClick,focusin:this.onFocusin,focusout:this.onFocusout}},[d,p,u,h])}}),Tf=he({components:{BFormTags:Pf,BTags:Pf,BFormTag:df,BTag:df}});function jf(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Mf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?jf(Object(n),!0).forEach((function(e){Ef(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):jf(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ef(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Af,Df=mi(Ht(Mf(Mf(Mf(Mf(Mf(Mf({},Ka),Vu),Yu),Ku),Xp),{},{maxRows:di(Ge),noAutoShrink:di(Me,!1),noResize:di(Me,!1),rows:di(Ge,2),wrap:di(Le,"soft")})),"BFormTextarea"),$f=o.a.extend({name:"BFormTextarea",directives:{"b-visible":Ks},mixins:[fr,Ja,hr,Wu,Xu,Ju,Kp,Np,Jp],props:Df,data:function(){return{heightInPx:null}},computed:{computedStyle:function(){var t={resize:!this.computedRows||this.noResize?"none":null};return this.computedRows||(t.height=this.heightInPx,t.overflowY="scroll"),t},computedMinRows:function(){return to(nn(this.rows,2),2)},computedMaxRows:function(){return to(this.computedMinRows,nn(this.maxRows,0))},computedRows:function(){return this.computedMinRows===this.computedMaxRows?this.computedMinRows:null},computedAttrs:function(){var t=this.disabled,e=this.required;return{id:this.safeId(),name:this.name||null,form:this.form||null,disabled:t,placeholder:this.placeholder||null,required:e,autocomplete:this.autocomplete||null,readonly:this.readonly||this.plaintext,rows:this.computedRows,wrap:this.wrap||null,"aria-required":this.required?"true":null,"aria-invalid":this.computedAriaInvalid}},computedListeners:function(){return Mf(Mf({},this.bvListeners),{},{input:this.onInput,change:this.onChange,blur:this.onBlur})}},watch:{localValue:function(){this.setHeight()}},mounted:function(){this.setHeight()},methods:{visibleCallback:function(t){t&&this.$nextTick(this.setHeight)},setHeight:function(){var t=this;this.$nextTick((function(){bn((function(){t.heightInPx=t.computeHeight()}))}))},computeHeight:function(){if(this.$isServer||!gt(this.computedRows))return null;var t=this.$el;if(!kn(t))return null;var e=Vn(t),n=on(e.lineHeight,1),i=on(e.borderTopWidth,0)+on(e.borderBottomWidth,0),o=on(e.paddingTop,0)+on(e.paddingBottom,0),r=i+o,a=n*this.computedMinRows+r,s=zn(t,"height")||e.height;Nn(t,"height","auto");var l=t.scrollHeight;Nn(t,"height",s);var c=to((l-o)/n,2),u=Qi(to(c,this.computedMinRows),this.computedMaxRows),d=to(no(u*n+r),a);return this.noAutoShrink&&on(s,0)>d?s:"".concat(d,"px")}},render:function(t){return t("textarea",{class:this.computedClass,style:this.computedStyle,directives:[{name:"b-visible",value:this.visibleCallback,modifiers:{640:!0}}],attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),If=he({components:{BFormTextarea:$f,BTextarea:$f}});function Lf(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Bf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Lf(Object(n),!0).forEach((function(e){Ff(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Lf(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ff(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rf(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){o=!0,r=t}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Nf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nf(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nf(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var Uf,zf=yi("value",{type:Le,defaultValue:""}),Hf=zf.mixin,Vf=zf.props,Wf=zf.prop,Gf=zf.event,qf=function(t){return"00".concat(t||"").slice(-2)},Yf=function(t){t=dn(t);var e=null,n=null,i=null;if(H.test(t)){var o=Rf(t.split(":").map((function(t){return nn(t,null)})),3);e=o[0],n=o[1],i=o[2]}return{hours:bt(e)?null:e,minutes:bt(n)?null:n,seconds:bt(i)?null:i,ampm:bt(e)||e<12?0:1}},Xf=mi(Ht(Bf(Bf(Bf(Bf({},Ka),Vf),Ut(nf,["labelIncrement","labelDecrement"])),{},{ariaLabelledby:di(Le),disabled:di(Me,!1),hidden:di(Me,!1),hideHeader:di(Me,!1),hour12:di(Me,null),labelAm:di(Le,"AM"),labelAmpm:di(Le,"AM/PM"),labelHours:di(Le,"Hours"),labelMinutes:di(Le,"Minutes"),labelNoTimeSelected:di(Le,"No time selected"),labelPm:di(Le,"PM"),labelSeconds:di(Le,"Seconds"),labelSelected:di(Le,"Selected time"),locale:di(Ne),minutesStep:di(Ge,1),readonly:di(Me,!1),secondsStep:di(Ge,1),showSeconds:di(Me,!1)})),"BTime"),Kf=o.a.extend({name:"BTime",mixins:[Ja,Hf,xi],props:Xf,data:function(){var t=Yf(this[Wf]||"");return{modelHours:t.hours,modelMinutes:t.minutes,modelSeconds:t.seconds,modelAmpm:t.ampm,isLive:!1}},computed:{computedHMS:function(){return function(t){var e=t.hours,n=t.minutes,i=t.seconds,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(gt(e)||gt(n)||o&>(i))return"";var r=[e,n,o?i:0];return r.map(qf).join(":")}({hours:this.modelHours,minutes:this.modelMinutes,seconds:this.modelSeconds},this.showSeconds)},resolvedOptions:function(){var t=Ze(this.locale).filter(Kt),e={hour:"numeric",minute:"numeric",second:"numeric"};bt(this.hour12)||(e.hour12=!!this.hour12);var n=new Intl.DateTimeFormat(t,e).resolvedOptions(),i=n.hour12||!1,o=n.hourCycle||(i?"h12":"h23");return{locale:n.locale,hour12:i,hourCycle:o}},computedLocale:function(){return this.resolvedOptions.locale},computedLang:function(){return(this.computedLocale||"").replace(/-u-.*$/,"")},computedRTL:function(){return Xa(this.computedLang)},computedHourCycle:function(){return this.resolvedOptions.hourCycle},is12Hour:function(){return!!this.resolvedOptions.hour12},context:function(){return{locale:this.computedLocale,isRTL:this.computedRTL,hourCycle:this.computedHourCycle,hour12:this.is12Hour,hours:this.modelHours,minutes:this.modelMinutes,seconds:this.showSeconds?this.modelSeconds:0,value:this.computedHMS,formatted:this.formattedTimeString}},valueId:function(){return this.safeId()||null},computedAriaLabelledby:function(){return[this.ariaLabelledby,this.valueId].filter(Kt).join(" ")||null},timeFormatter:function(){var t={hour12:this.is12Hour,hourCycle:this.computedHourCycle,hour:"numeric",minute:"numeric",timeZone:"UTC"};return this.showSeconds&&(t.second="numeric"),La(this.computedLocale,t)},numberFormatter:function(){return new Intl.NumberFormat(this.computedLocale,{style:"decimal",minimumIntegerDigits:2,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"}).format},formattedTimeString:function(){var t=this.modelHours,e=this.modelMinutes,n=this.showSeconds&&this.modelSeconds||0;return this.computedHMS?this.timeFormatter(Da(Date.UTC(0,0,1,t,e,n))):this.labelNoTimeSelected||" "},spinScopedSlots:function(){var t=this.$createElement;return{increment:function(e){var n=e.hasFocus;return t(Lo,{props:{scale:n?1.5:1.25},attrs:{"aria-hidden":"true"}})},decrement:function(e){var n=e.hasFocus;return t(Lo,{props:{flipV:!0,scale:n?1.5:1.25},attrs:{"aria-hidden":"true"}})}}}},watch:(Af={},Ff(Af,Wf,(function(t,e){if(t!==e&&!sr(Yf(t),Yf(this.computedHMS))){var n=Yf(t),i=n.hours,o=n.minutes,r=n.seconds,a=n.ampm;this.modelHours=i,this.modelMinutes=o,this.modelSeconds=r,this.modelAmpm=a}})),Ff(Af,"computedHMS",(function(t,e){t!==e&&this.$emit(Gf,t)})),Ff(Af,"context",(function(t,e){sr(t,e)||this.$emit("context",t)})),Ff(Af,"modelAmpm",(function(t,e){var n=this;if(t!==e){var i=gt(this.modelHours)?0:this.modelHours;this.$nextTick((function(){0===t&&i>11?n.modelHours=i-12:1===t&&i<12&&(n.modelHours=i+12)}))}})),Ff(Af,"modelHours",(function(t,e){t!==e&&(this.modelAmpm=t>11?1:0)})),Af),created:function(){var t=this;this.$nextTick((function(){t.$emit("context",t.context)}))},mounted:function(){this.setLive(!0)},activated:function(){this.setLive(!0)},deactivated:function(){this.setLive(!1)},beforeDestroy:function(){this.setLive(!1)},methods:{focus:function(){this.disabled||Xn(this.$refs.spinners[0])},blur:function(){if(!this.disabled){var t=_n();En(this.$el,t)&&Kn(t)}},formatHours:function(t){var e=this.computedHourCycle;return t=0===(t=this.is12Hour&&t>12?t-12:t)&&"h12"===e?12:0===t&&"h24"===e?24:12===t&&"h11"===e?0:t,this.numberFormatter(t)},formatMinutes:function(t){return this.numberFormatter(t)},formatSeconds:function(t){return this.numberFormatter(t)},formatAmpm:function(t){return 0===t?this.labelAm:1===t?this.labelPm:""},setHours:function(t){this.modelHours=t},setMinutes:function(t){this.modelMinutes=t},setSeconds:function(t){this.modelSeconds=t},setAmpm:function(t){this.modelAmpm=t},onSpinLeftRight:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.type,n=t.keyCode;if(!this.disabled&&"keydown"===e&&(n===ir||n===or)){Pi(t);var i=this.$refs.spinners||[],o=i.map((function(t){return!!t.hasFocus})).indexOf(!0);o=(o+=n===ir?-1:1)>=i.length?0:o<0?i.length-1:o,Xn(i[o])}},setLive:function(t){var e=this;t?this.$nextTick((function(){bn((function(){e.isLive=!0}))})):this.isLive=!1}},render:function(t){var e=this;if(this.hidden)return t();var n=this.valueId,i=this.computedAriaLabelledby,o=[],r=function(i,r,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=e.safeId("_spinbutton_".concat(r,"_"))||null;return o.push(l),t(of,{class:a,props:Bf({id:l,placeholder:"--",vertical:!0,required:!0,disabled:e.disabled,readonly:e.readonly,locale:e.computedLocale,labelIncrement:e.labelIncrement,labelDecrement:e.labelDecrement,wrap:!0,ariaControls:n,min:0},s),scopedSlots:e.spinScopedSlots,on:{change:i},key:r,ref:"spinners",refInFor:!0})},a=function(){return t("div",{staticClass:"d-flex flex-column",class:{"text-muted":e.disabled||e.readonly},attrs:{"aria-hidden":"true"}},[t(Bo,{props:{shiftV:4,scale:.5}}),t(Bo,{props:{shiftV:-4,scale:.5}})])},s=[];s.push(r(this.setHours,"hours","b-time-hours",{value:this.modelHours,max:23,step:1,formatterFn:this.formatHours,ariaLabel:this.labelHours})),s.push(a()),s.push(r(this.setMinutes,"minutes","b-time-minutes",{value:this.modelMinutes,max:59,step:this.minutesStep||1,formatterFn:this.formatMinutes,ariaLabel:this.labelMinutes})),this.showSeconds&&(s.push(a()),s.push(r(this.setSeconds,"seconds","b-time-seconds",{value:this.modelSeconds,max:59,step:this.secondsStep||1,formatterFn:this.formatSeconds,ariaLabel:this.labelSeconds}))),this.is12Hour&&s.push(r(this.setAmpm,"ampm","b-time-ampm",{value:this.modelAmpm,max:1,formatterFn:this.formatAmpm,ariaLabel:this.labelAmpm,required:!1})),s=t("div",{staticClass:"d-flex align-items-center justify-content-center mx-auto",attrs:{role:"group",tabindex:this.disabled||this.readonly?null:"-1","aria-labelledby":i},on:{keydown:this.onSpinLeftRight,click:function(t){t.target===t.currentTarget&&e.focus()}}},s);var l=t("output",{staticClass:"form-control form-control-sm text-center",class:{disabled:this.disabled||this.readonly},attrs:{id:n,role:"status",for:o.filter(Kt).join(" ")||null,tabindex:this.disabled?null:"-1","aria-live":this.isLive?"polite":"off","aria-atomic":"true"},on:{click:this.focus,focus:this.focus}},[t("bdi",this.formattedTimeString),this.computedHMS?t("span",{staticClass:"sr-only"}," (".concat(this.labelSelected,") ")):""]),c=t("header",{staticClass:"b-time-header",class:{"sr-only":this.hideHeader}},[l]),u=this.normalizeSlot();return u=u?t("footer",{staticClass:"b-time-footer"},u):t(),t("div",{staticClass:"b-time d-inline-flex flex-column text-center",attrs:{role:"group",lang:this.computedLang||null,"aria-labelledby":i||null,"aria-disabled":this.disabled?"true":null,"aria-readonly":this.readonly&&!this.disabled?"true":null}},[c,s,u])}});function Jf(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Zf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Jf(Object(n),!0).forEach((function(e){Qf(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Jf(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Qf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tm=yi("value",{type:Le,defaultValue:""}),em=tm.mixin,nm=tm.props,im=tm.prop,om=tm.event,rm=zt(Xf,["hidden","id","value"]),am=zt(Gd,["formattedValue","id","lang","rtl","value"]),sm=mi(Ht(Zf(Zf(Zf(Zf(Zf({},Ka),nm),rm),am),{},{closeButtonVariant:di(Le,"outline-secondary"),labelCloseButton:di(Le,"Close"),labelNowButton:di(Le,"Select now"),labelResetButton:di(Le,"Reset"),noCloseButton:di(Me,!1),nowButton:di(Me,!1),nowButtonVariant:di(Le,"outline-primary"),resetButton:di(Me,!1),resetButtonVariant:di(Le,"outline-danger"),resetValue:di(Ve)})),"BFormTimepicker"),lm=o.a.extend({name:"BFormTimepicker",mixins:[Ja,em],props:sm,data:function(){return{localHMS:this[im]||"",localLocale:null,isRTL:!1,formattedValue:"",isVisible:!1}},computed:{computedLang:function(){return(this.localLocale||"").replace(/-u-.*$/i,"")||null}},watch:(Uf={},Qf(Uf,im,(function(t){this.localHMS=t||""})),Qf(Uf,"localHMS",(function(t){this.isVisible&&this.$emit(om,t||"")})),Uf),methods:{focus:function(){this.disabled||Xn(this.$refs.control)},blur:function(){this.disabled||Kn(this.$refs.control)},setAndClose:function(t){var e=this;this.localHMS=t,this.$nextTick((function(){e.$refs.control.hide(!0)}))},onInput:function(t){this.localHMS!==t&&(this.localHMS=t)},onContext:function(t){var e=t.isRTL,n=t.locale,i=t.value,o=t.formatted;this.isRTL=e,this.localLocale=n,this.formattedValue=o,this.localHMS=i||"",this.$emit("context",t)},onNowButton:function(){var t=new Date,e=[t.getHours(),t.getMinutes(),this.showSeconds?t.getSeconds():0].map((function(t){return"00".concat(t||"").slice(-2)})).join(":");this.setAndClose(e)},onResetButton:function(){this.setAndClose(this.resetValue)},onCloseButton:function(){this.$refs.control.hide(!0)},onShow:function(){this.isVisible=!0},onShown:function(){var t=this;this.$nextTick((function(){Xn(t.$refs.time),t.$emit("shown")}))},onHidden:function(){this.isVisible=!1,this.$emit("hidden")},defaultButtonFn:function(t){var e=t.isHovered,n=t.hasFocus;return this.$createElement(e||n?Ro:Fo,{attrs:{"aria-hidden":"true"}})}},render:function(t){var e=this.localHMS,n=this.disabled,i=this.readonly,o=this.$props,r=bt(this.placeholder)?this.labelNoTimeSelected:this.placeholder,a=[];if(this.nowButton){var s=this.labelNowButton;a.push(t(Fr,{props:{size:"sm",disabled:n||i,variant:this.nowButtonVariant},attrs:{"aria-label":s||null},on:{click:this.onNowButton},key:"now-btn"},s))}if(this.resetButton){a.length>0&&a.push(t("span"," "));var l=this.labelResetButton;a.push(t(Fr,{props:{size:"sm",disabled:n||i,variant:this.resetButtonVariant},attrs:{"aria-label":l||null},on:{click:this.onResetButton},key:"reset-btn"},l))}if(!this.noCloseButton){a.length>0&&a.push(t("span"," "));var c=this.labelCloseButton;a.push(t(Fr,{props:{size:"sm",disabled:n,variant:this.closeButtonVariant},attrs:{"aria-label":c||null},on:{click:this.onCloseButton},key:"close-btn"},c))}a.length>0&&(a=[t("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":a.length>1,"justify-content-end":a.length<2}},a)]);var u=t(Kf,{staticClass:"b-form-time-control",props:Zf(Zf({},hi(rm,o)),{},{value:e,hidden:!this.isVisible}),on:{input:this.onInput,context:this.onContext},ref:"time"},a);return t(qd,{staticClass:"b-form-timepicker",props:Zf(Zf({},hi(am,o)),{},{id:this.safeId(),value:e,formattedValue:e?this.formattedValue:"",placeholder:r,rtl:this.isRTL,lang:this.computedLang}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:Qf({},"button-content",this.$scopedSlots["button-content"]||this.defaultButtonFn),ref:"control"},[u])}}),cm=he({components:{BFormTimepicker:lm,BTimepicker:lm}}),um=he({components:{BImg:As,BImgLazy:nl}}),dm=mi({tag:di(Le,"div")},"BInputGroupText"),pm=o.a.extend({name:"BInputGroupText",functional:!0,props:dm,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t(n.tag,Oe(i,{staticClass:"input-group-text"}),o)}}),hm=mi({append:di(Me,!1),id:di(Le),isText:di(Me,!1),tag:di(Le,"div")},"BInputGroupAddon"),fm=o.a.extend({name:"BInputGroupAddon",functional:!0,props:hm,render:function(t,e){var n=e.props,i=e.data,o=e.children,r=n.append;return t(n.tag,Oe(i,{class:{"input-group-append":r,"input-group-prepend":!r},attrs:{id:n.id}}),n.isText?[t(pm,o)]:o)}});function mm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function vm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?mm(Object(n),!0).forEach((function(e){gm(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):mm(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function gm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var bm=mi(zt(hm,["append"]),"BInputGroupAppend"),ym=o.a.extend({name:"BInputGroupAppend",functional:!0,props:bm,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t(fm,Oe(i,{props:vm(vm({},n),{},{append:!0})}),o)}});function wm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function _m(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wm(Object(n),!0).forEach((function(e){xm(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wm(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function xm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Cm=mi(zt(hm,["append"]),"BInputGroupPrepend"),km=o.a.extend({name:"BInputGroupPrepend",functional:!0,props:Cm,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t(fm,Oe(i,{props:_m(_m({},n),{},{append:!1})}),o)}});var Om=mi({append:di(Le),appendHtml:di(Le),id:di(Le),prepend:di(Le),prependHtml:di(Le),size:di(Le),tag:di(Le,"div")},"BInputGroup"),Sm=he({components:{BInputGroup:o.a.extend({name:"BInputGroup",functional:!0,props:Om,render:function(t,e){var n=e.props,i=e.data,o=e.slots,r=e.scopedSlots,a=n.prepend,s=n.prependHtml,l=n.append,c=n.appendHtml,u=n.size,d=r||{},p=o(),h={},f=t(),m=wi("prepend",d,p);(m||a||s)&&(f=t(km,[m?_i("prepend",h,d,p):t(pm,{domProps:ia(s,a)})]));var v,g,b,y=t(),w=wi("append",d,p);return(w||l||c)&&(y=t(ym,[w?_i("append",h,d,p):t(pm,{domProps:ia(c,l)})])),t(n.tag,Oe(i,{staticClass:"input-group",class:(v={},g="input-group-".concat(u),b=u,g in v?Object.defineProperty(v,g,{value:b,enumerable:!0,configurable:!0,writable:!0}):v[g]=b,v),attrs:{id:n.id||null,role:"group"}}),[f,_i("default",h,d,p),y])}}),BInputGroupAddon:fm,BInputGroupPrepend:km,BInputGroupAppend:ym,BInputGroupText:pm}});var Pm=mi({fluid:di(He,!1),tag:di(Le,"div")},"BContainer"),Tm=o.a.extend({name:"BContainer",functional:!0,props:Pm,render:function(t,e){var n,i,o,r=e.props,a=e.data,s=e.children,l=r.fluid;return t(r.tag,Oe(a,{class:(n={container:!(l||""===l),"container-fluid":!0===l||""===l},i="container-".concat(l),o=l&&!0!==l,i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,n)}),s)}});function jm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Mm=mi({bgVariant:di(Le),borderVariant:di(Le),containerFluid:di(He,!1),fluid:di(Me,!1),header:di(Le),headerHtml:di(Le),headerLevel:di(Ge,3),headerTag:di(Le,"h1"),lead:di(Le),leadHtml:di(Le),leadTag:di(Le,"p"),tag:di(Le,"div"),textVariant:di(Le)},"BJumbotron"),Em=he({components:{BJumbotron:o.a.extend({name:"BJumbotron",functional:!0,props:Mm,render:function(t,e){var n,i=e.props,o=e.data,r=e.slots,a=e.scopedSlots,s=i.header,l=i.headerHtml,c=i.lead,u=i.leadHtml,d=i.textVariant,p=i.bgVariant,h=i.borderVariant,f=a||{},m=r(),v={},g=t(),b=wi("header",f,m);if(b||s||l){var y=i.headerLevel;g=t(i.headerTag,{class:jm({},"display-".concat(y),y),domProps:b?{}:ia(l,s)},_i("header",v,f,m))}var w=t(),_=wi("lead",f,m);(_||c||u)&&(w=t(i.leadTag,{staticClass:"lead",domProps:_?{}:ia(u,c)},_i("lead",v,f,m)));var x=[g,w,_i("default",v,f,m)];return i.fluid&&(x=[t(Tm,{props:{fluid:i.containerFluid}},x)]),t(i.tag,Oe(o,{staticClass:"jumbotron",class:(n={"jumbotron-fluid":i.fluid},jm(n,"text-".concat(d),d),jm(n,"bg-".concat(p),p),jm(n,"border-".concat(h),h),jm(n,"border",h),n)}),x)}})}});function Am(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Dm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Am(Object(n),!0).forEach((function(e){$m(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Am(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function $m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Im=["start","end","center"],Lm=Jn((function(t,e){return(e=pn(dn(e)))?hn(["row-cols",t,e].filter(Kt).join("-")):null})),Bm=Jn((function(t){return hn(t.replace("cols",""))})),Fm=[],Rm=he({components:{BContainer:Tm,BRow:{name:"BRow",functional:!0,get props(){var t;return delete this.props,this.props=(t=oi().reduce((function(t,e){return t[ui(e,"cols")]=di(Ge),t}),$t(null)),Fm=Ft(t),mi(Ht(Dm(Dm({},t),{},{alignContent:di(Le,null,(function(t){return Je(Ze(Im,"between","around","stretch"),t)})),alignH:di(Le,null,(function(t){return Je(Ze(Im,"between","around"),t)})),alignV:di(Le,null,(function(t){return Je(Ze(Im,"baseline","stretch"),t)})),noGutters:di(Me,!1),tag:di(Le,"div")})),"BRow")),this.props},render:function(t,e){var n,i=e.props,o=e.data,r=e.children,a=i.alignV,s=i.alignH,l=i.alignContent,c=[];return Fm.forEach((function(t){var e=Lm(Bm(t),i[t]);e&&c.push(e)})),c.push(($m(n={"no-gutters":i.noGutters},"align-items-".concat(a),a),$m(n,"justify-content-".concat(s),s),$m(n,"align-content-".concat(l),l),n)),t(i.tag,Oe(o,{staticClass:"row",class:c}),r)}},BCol:Ep,BFormRow:Uu}}),Nm=he({components:{BLink:kr}});var Um=mi({flush:di(Me,!1),horizontal:di(He,!1),tag:di(Le,"div")},"BListGroup"),zm=o.a.extend({name:"BListGroup",functional:!0,props:Um,render:function(t,e){var n=e.props,i=e.data,o=e.children,r=""===n.horizontal||n.horizontal;r=!n.flush&&r;var a,s,l,c={staticClass:"list-group",class:(a={"list-group-flush":n.flush,"list-group-horizontal":!0===r},s="list-group-horizontal-".concat(r),l=_t(r),s in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a)};return t(n.tag,Oe(i,c),o)}});function Hm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Vm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hm(Object(n),!0).forEach((function(e){Wm(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hm(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Wm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Gm=["a","router-link","button","b-link"],qm=zt(Cr,["event","routerTag"]);delete qm.href.default,delete qm.to.default;var Ym=mi(Ht(Vm(Vm({},qm),{},{action:di(Me,!1),button:di(Me,!1),tag:di(Le,"div"),variant:di(Le)})),"BListGroupItem"),Xm=he({components:{BListGroup:zm,BListGroupItem:o.a.extend({name:"BListGroupItem",functional:!0,props:Ym,render:function(t,e){var n,i=e.props,o=e.data,r=e.children,a=i.button,s=i.variant,l=i.active,c=i.disabled,u=go(i),d=a?"button":u?kr:i.tag,p=!!(i.action||u||a||Je(Gm,i.tag)),h={},f={};return xn(d,"button")?(o.attrs&&o.attrs.type||(h.type="button"),i.disabled&&(h.disabled=!0)):f=hi(qm,i),t(d,Oe(o,{attrs:h,props:f,staticClass:"list-group-item",class:(n={},Wm(n,"list-group-item-".concat(s),s),Wm(n,"list-group-item-action",p),Wm(n,"active",l),Wm(n,"disabled",c),n)}),r)}})}});var Km=mi({right:di(Me,!1),tag:di(Le,"div"),verticalAlign:di(Le,"top")},"BMediaAside"),Jm=o.a.extend({name:"BMediaAside",functional:!0,props:Km,render:function(t,e){var n,i,o,r=e.props,a=e.data,s=e.children,l=r.verticalAlign,c="top"===l?"start":"bottom"===l?"end":l;return t(r.tag,Oe(a,{staticClass:"media-aside",class:(n={"media-aside-right":r.right},i="align-self-".concat(c),o=c,i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,n)}),s)}}),Zm=mi({tag:di(Le,"div")},"BMediaBody"),Qm=o.a.extend({name:"BMediaBody",functional:!0,props:Zm,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t(n.tag,Oe(i,{staticClass:"media-body"}),o)}}),tv=mi({noBody:di(Me,!1),rightAlign:di(Me,!1),tag:di(Le,"div"),verticalAlign:di(Le,"top")},"BMedia"),ev=he({components:{BMedia:o.a.extend({name:"BMedia",functional:!0,props:tv,render:function(t,e){var n=e.props,i=e.data,o=e.slots,r=e.scopedSlots,a=e.children,s=n.noBody,l=n.rightAlign,c=n.verticalAlign,u=s?a:[];if(!s){var d={},p=o(),h=r||{};u.push(t(Qm,_i("default",d,h,p)));var f=_i("aside",d,h,p);f&&u[l?"push":"unshift"](t(Jm,{props:{right:l,verticalAlign:c}},f))}return t(n.tag,Oe(i,{staticClass:"media"}),u)}}),BMediaAside:Jm,BMediaBody:Qm}}),nv=o.a.extend({created:function(){var t=this;u&&(this.$_bv_documentHandlers_={},this.$once("hook:beforeDestroy",(function(){var e=t.$_bv_documentHandlers_||{};delete t.$_bv_documentHandlers_,Ft(e).forEach((function(t){(e[t]||[]).forEach((function(e){return Oi(document,t,e,Te)}))}))})))},methods:{listenDocument:function(t,e,n){t?this.listenOnDocument(e,n):this.listenOffDocument(e,n)},listenOnDocument:function(t,e){this.$_bv_documentHandlers_&&_t(t)&&yt(e)&&(this.$_bv_documentHandlers_[t]=this.$_bv_documentHandlers_[t]||[],Je(this.$_bv_documentHandlers_[t],e)||(this.$_bv_documentHandlers_[t].push(e),ki(document,t,e,Te)))},listenOffDocument:function(t,e){this.$_bv_documentHandlers_&&_t(t)&&yt(e)&&(Oi(document,t,e,Te),this.$_bv_documentHandlers_[t]=(this.$_bv_documentHandlers_[t]||[]).filter((function(t){return t!==e})))}}}),iv=o.a.extend({beforeCreate:function(){this.$_bv_windowHandlers_={}},beforeDestroy:function(){if(u){var t=this.$_bv_windowHandlers_;delete this.$_bv_windowHandlers_,Ft(t).forEach((function(e){(t[e]||[]).forEach((function(t){return Oi(window,e,t,Te)}))}))}},methods:{listenWindow:function(t,e,n){t?this.listenOnWindow(e,n):this.listenOffWindow(e,n)},listenOnWindow:function(t,e){u&&this.$_bv_windowHandlers_&&_t(t)&&yt(e)&&(this.$_bv_windowHandlers_[t]=this.$_bv_windowHandlers_[t]||[],Je(this.$_bv_windowHandlers_[t],e)||(this.$_bv_windowHandlers_[t].push(e),ki(window,t,e,Te)))},listenOffWindow:function(t,e){u&&this.$_bv_windowHandlers_&&_t(t)&&yt(e)&&(Oi(window,t,e,Te),this.$_bv_windowHandlers_[t]=(this.$_bv_windowHandlers_[t]||[]).filter((function(t){return t!==e})))}}}),ov=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&t.$options._scopeId||e};var rv=o.a.extend({computed:{scopedStyleAttrs:function(){var t,e,n,i=ov(this.$parent);return i?(n="",(e=i)in(t={})?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t):{}}}}),av=o.a.extend({abstract:!0,name:"BVTransporterTarget",props:{nodes:di(Be)},data:function(t){return{updatedNodes:t.nodes}},destroyed:function(){var t;(t=this.$el)&&t.parentNode&&t.parentNode.removeChild(t)},render:function(t){var e=this.updatedNodes,n=yt(e)?e({}):e;return(n=Ze(n).filter(Kt))&&n.length>0&&!n[0].text?n[0]:t()}}),sv={container:di([ut,Le],"body"),disabled:di(Me,!1),tag:di(Le,"div")},lv=o.a.extend({name:"BVTransporter",mixins:[xi],props:sv,watch:{disabled:{immediate:!0,handler:function(t){t?this.unmountTarget():this.$nextTick(this.mountTarget)}}},created:function(){this.$_defaultFn=null,this.$_target=null},beforeMount:function(){this.mountTarget()},updated:function(){this.updateTarget()},beforeDestroy:function(){this.unmountTarget(),this.$_defaultFn=null},methods:{getContainer:function(){if(u){var t=this.container;return _t(t)?Tn(t):t}return null},mountTarget:function(){if(!this.$_target){var t=this.getContainer();if(t){var e=document.createElement("div");t.appendChild(e),this.$_target=new av({el:e,parent:this,propsData:{nodes:Ze(this.normalizeSlot())}})}}},updateTarget:function(){if(u&&this.$_target){var t=this.$scopedSlots.default;this.disabled||(t&&this.$_defaultFn!==t?this.$_target.updatedNodes=t:t||(this.$_target.updatedNodes=this.$slots.default)),this.$_defaultFn=t}},unmountTarget:function(){this.$_target&&this.$_target.$destroy(),this.$_target=null}},render:function(t){if(this.disabled){var e=Ze(this.normalizeSlot()).filter(Kt);if(e.length>0&&!e[0].text)return e[0]}return t()}});function cv(t){return(cv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function uv(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function dv(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?uv(Object(n),!0).forEach((function(e){pv(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):uv(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function pv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fv(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function mv(t,e,n){return(mv="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=wv(t)););return t}(t,e);if(i){var o=Object.getOwnPropertyDescriptor(i,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function vv(t,e){return(vv=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function gv(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=wv(t);if(e){var o=wv(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return bv(this,n)}}function bv(t,e){return!e||"object"!==cv(e)&&"function"!=typeof e?yv(t):e}function yv(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wv(t){return(wv=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var _v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vv(t,e)}(r,t);var e,n,i,o=gv(r);function r(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return hv(this,r),e=o.call(this,t,n),It(yv(e),{trigger:{enumerable:!0,configurable:!1,writable:!1}}),e}return e=r,i=[{key:"Defaults",get:function(){return dv(dv({},mv(wv(r),"Defaults",this)),{},{trigger:null})}}],(n=null)&&fv(e.prototype,n),i&&fv(e,i),r}(kc),xv=new(o.a.extend({data:function(){return{modals:[],baseZIndex:null,scrollbarWidth:null,isBodyOverflowing:!1}},computed:{modalCount:function(){return this.modals.length},modalsAreOpen:function(){return this.modalCount>0}},watch:{modalCount:function(t,e){u&&(this.getScrollbarWidth(),t>0&&0===e?(this.checkScrollbar(),this.setScrollbar(),Dn(document.body,"modal-open")):0===t&&e>0&&(this.resetScrollbar(),$n(document.body,"modal-open")),Ln(document.body,"data-modal-open-count",String(t)))},modals:function(t){var e=this;this.checkScrollbar(),bn((function(){e.updateModals(t||[])}))}},methods:{registerModal:function(t){var e=this;t&&-1===this.modals.indexOf(t)&&(this.modals.push(t),t.$once("hook:beforeDestroy",(function(){e.unregisterModal(t)})))},unregisterModal:function(t){var e=this.modals.indexOf(t);e>-1&&(this.modals.splice(e,1),t._isBeingDestroyed||t._isDestroyed||this.resetModal(t))},getBaseZIndex:function(){if(gt(this.baseZIndex)&&u){var t=document.createElement("div");Dn(t,"modal-backdrop"),Dn(t,"d-none"),Nn(t,"display","none"),document.body.appendChild(t),this.baseZIndex=nn(Vn(t).zIndex,1040),document.body.removeChild(t)}return this.baseZIndex||1040},getScrollbarWidth:function(){if(gt(this.scrollbarWidth)&&u){var t=document.createElement("div");Dn(t,"modal-scrollbar-measure"),document.body.appendChild(t),this.scrollbarWidth=Hn(t).width-t.clientWidth,document.body.removeChild(t)}return this.scrollbarWidth||0},updateModals:function(t){var e=this,n=this.getBaseZIndex(),i=this.getScrollbarWidth();t.forEach((function(t,o){t.zIndex=n+o,t.scrollbarWidth=i,t.isTop=o===e.modals.length-1,t.isBodyOverflowing=e.isBodyOverflowing}))},resetModal:function(t){t&&(t.zIndex=this.getBaseZIndex(),t.isTop=!0,t.isBodyOverflowing=!1)},checkScrollbar:function(){var t=Hn(document.body),e=t.left,n=t.right;this.isBodyOverflowing=e+n<window.innerWidth},setScrollbar:function(){var t=document.body;if(t._paddingChangedForModal=t._paddingChangedForModal||[],t._marginChangedForModal=t._marginChangedForModal||[],this.isBodyOverflowing){var e=this.scrollbarWidth;Pn(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top").forEach((function(n){var i=zn(n,"paddingRight")||"";Ln(n,"data-padding-right",i),Nn(n,"paddingRight","".concat(on(Vn(n).paddingRight,0)+e,"px")),t._paddingChangedForModal.push(n)})),Pn(".sticky-top").forEach((function(n){var i=zn(n,"marginRight")||"";Ln(n,"data-margin-right",i),Nn(n,"marginRight","".concat(on(Vn(n).marginRight,0)-e,"px")),t._marginChangedForModal.push(n)})),Pn(".navbar-toggler").forEach((function(n){var i=zn(n,"marginRight")||"";Ln(n,"data-margin-right",i),Nn(n,"marginRight","".concat(on(Vn(n).marginRight,0)+e,"px")),t._marginChangedForModal.push(n)}));var n=zn(t,"paddingRight")||"";Ln(t,"data-padding-right",n),Nn(t,"paddingRight","".concat(on(Vn(t).paddingRight,0)+e,"px"))}},resetScrollbar:function(){var t=document.body;t._paddingChangedForModal&&t._paddingChangedForModal.forEach((function(t){Rn(t,"data-padding-right")&&(Nn(t,"paddingRight",Fn(t,"data-padding-right")||""),Bn(t,"data-padding-right"))})),t._marginChangedForModal&&t._marginChangedForModal.forEach((function(t){Rn(t,"data-margin-right")&&(Nn(t,"marginRight",Fn(t,"data-margin-right")||""),Bn(t,"data-margin-right"))})),t._paddingChangedForModal=null,t._marginChangedForModal=null,Rn(t,"data-padding-right")&&(Nn(t,"paddingRight",Fn(t,"data-padding-right")||""),Bn(t,"data-padding-right"))}}}));function Cv(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function kv(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Cv(Object(n),!0).forEach((function(e){Ov(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Cv(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ov(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Sv=yi("visible",{type:Me,defaultValue:!1,event:"change"}),Pv=Sv.mixin,Tv=Sv.props,jv=Sv.prop,Mv=Sv.event,Ev=["cancel","headerclose","ok"],Av={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["style","class"]},Dv=mi(Ht(kv(kv(kv({},Ka),Tv),{},{ariaLabel:di(Le),autoFocusButton:di(Le,null,(function(t){return bt(t)||Je(Ev,t)})),bodyBgVariant:di(Le),bodyClass:di(Re),bodyTextVariant:di(Le),busy:di(Me,!1),buttonSize:di(Le),cancelDisabled:di(Me,!1),cancelTitle:di(Le,"Cancel"),cancelTitleHtml:di(Le),cancelVariant:di(Le,"secondary"),centered:di(Me,!1),contentClass:di(Re),dialogClass:di(Re),footerBgVariant:di(Le),footerBorderVariant:di(Le),footerClass:di(Re),footerTextVariant:di(Le),headerBgVariant:di(Le),headerBorderVariant:di(Le),headerClass:di(Re),headerCloseContent:di(Le,"×"),headerCloseLabel:di(Le,"Close"),headerCloseVariant:di(Le),headerTextVariant:di(Le),hideBackdrop:di(Me,!1),hideFooter:di(Me,!1),hideHeader:di(Me,!1),hideHeaderClose:di(Me,!1),ignoreEnforceFocusSelector:di(Ne),lazy:di(Me,!1),modalClass:di(Re),noCloseOnBackdrop:di(Me,!1),noCloseOnEsc:di(Me,!1),noEnforceFocus:di(Me,!1),noFade:di(Me,!1),noStacking:di(Me,!1),okDisabled:di(Me,!1),okOnly:di(Me,!1),okTitle:di(Le,"OK"),okTitleHtml:di(Le),okVariant:di(Le,"primary"),returnFocus:di([ut,$e,Le]),scrollable:di(Me,!1),size:di(Le,"md"),static:di(Me,!1),title:di(Le),titleClass:di(Re),titleHtml:di(Le),titleSrOnly:di(Me,!1),titleTag:di(Le,"h5")})),"BModal"),$v=o.a.extend({name:"BModal",mixins:[pr,Ja,Pv,nv,hr,iv,xi,rv],inheritAttrs:!1,props:Dv,data:function(){return{isHidden:!0,isVisible:!1,isTransitioning:!1,isShow:!1,isBlock:!1,isOpening:!1,isClosing:!1,ignoreBackdropClick:!1,isModalOverflowing:!1,scrollbarWidth:0,zIndex:xv.getBaseZIndex(),isTop:!0,isBodyOverflowing:!1}},computed:{modalId:function(){return this.safeId()},modalOuterId:function(){return this.safeId("__BV_modal_outer_")},modalHeaderId:function(){return this.safeId("__BV_modal_header_")},modalBodyId:function(){return this.safeId("__BV_modal_body_")},modalTitleId:function(){return this.safeId("__BV_modal_title_")},modalContentId:function(){return this.safeId("__BV_modal_content_")},modalFooterId:function(){return this.safeId("__BV_modal_footer_")},modalBackdropId:function(){return this.safeId("__BV_modal_backdrop_")},modalClasses:function(){return[{fade:!this.noFade,show:this.isShow},this.modalClass]},modalStyles:function(){var t="".concat(this.scrollbarWidth,"px");return{paddingLeft:!this.isBodyOverflowing&&this.isModalOverflowing?t:"",paddingRight:this.isBodyOverflowing&&!this.isModalOverflowing?t:"",display:this.isBlock?"block":"none"}},dialogClasses:function(){var t;return[(t={},Ov(t,"modal-".concat(this.size),this.size),Ov(t,"modal-dialog-centered",this.centered),Ov(t,"modal-dialog-scrollable",this.scrollable),t),this.dialogClass]},headerClasses:function(){var t;return[(t={},Ov(t,"bg-".concat(this.headerBgVariant),this.headerBgVariant),Ov(t,"text-".concat(this.headerTextVariant),this.headerTextVariant),Ov(t,"border-".concat(this.headerBorderVariant),this.headerBorderVariant),t),this.headerClass]},titleClasses:function(){return[{"sr-only":this.titleSrOnly},this.titleClass]},bodyClasses:function(){var t;return[(t={},Ov(t,"bg-".concat(this.bodyBgVariant),this.bodyBgVariant),Ov(t,"text-".concat(this.bodyTextVariant),this.bodyTextVariant),t),this.bodyClass]},footerClasses:function(){var t;return[(t={},Ov(t,"bg-".concat(this.footerBgVariant),this.footerBgVariant),Ov(t,"text-".concat(this.footerTextVariant),this.footerTextVariant),Ov(t,"border-".concat(this.footerBorderVariant),this.footerBorderVariant),t),this.footerClass]},modalOuterStyle:function(){return{position:"absolute",zIndex:this.zIndex}},slotScope:function(){return{cancel:this.onCancel,close:this.onClose,hide:this.hide,ok:this.onOk,visible:this.isVisible}},computeIgnoreEnforceFocusSelector:function(){return Ze(this.ignoreEnforceFocusSelector).filter(Kt).join(",").trim()},computedAttrs:function(){return kv(kv(kv({},this.static?{}:this.scopedStyleAttrs),this.bvAttrs),{},{id:this.modalOuterId})},computedModalAttrs:function(){var t=this.isVisible,e=this.ariaLabel;return{id:this.modalId,role:"dialog","aria-hidden":t?null:"true","aria-modal":t?"true":null,"aria-label":e,"aria-labelledby":this.hideHeader||e||!(this.hasNormalizedSlot("modal-title")||this.titleHtml||this.title)?null:this.modalTitleId,"aria-describedby":this.modalBodyId}}},watch:Ov({},jv,(function(t,e){t!==e&&this[t?"show":"hide"]()})),created:function(){this.$_observer=null,this.$_returnFocus=this.returnFocus||null},mounted:function(){this.zIndex=xv.getBaseZIndex(),this.listenOnRoot(Mi("BModal","show"),this.showHandler),this.listenOnRoot(Mi("BModal","hide"),this.hideHandler),this.listenOnRoot(Mi("BModal","toggle"),this.toggleHandler),this.listenOnRoot(ji("BModal","show"),this.modalListener),!0===this[jv]&&this.$nextTick(this.show)},beforeDestroy:function(){this.setObserver(!1),this.isVisible&&(this.isVisible=!1,this.isShow=!1,this.isTransitioning=!1)},methods:{setObserver:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,t&&(this.$_observer=vl(this.$refs.content,this.checkModalOverflow.bind(this),Av))},updateModel:function(t){t!==this[jv]&&this.$emit(Mv,t)},buildEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new _v(t,kv(kv({cancelable:!1,target:this.$refs.modal||this.$el||null,relatedTarget:null,trigger:null},e),{},{vueTarget:this,componentId:this.modalId}))},show:function(){if(!this.isVisible&&!this.isOpening)if(this.isClosing)this.$once("hidden",this.show);else{this.isOpening=!0,this.$_returnFocus=this.$_returnFocus||this.getActiveElement();var t=this.buildEvent("show",{cancelable:!0});if(this.emitEvent(t),t.defaultPrevented||this.isVisible)return this.isOpening=!1,void this.updateModel(!1);this.doShow()}},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(this.isVisible&&!this.isClosing){this.isClosing=!0;var e=this.buildEvent("hide",{cancelable:"FORCE"!==t,trigger:t||null});if("ok"===t?this.$emit("ok",e):"cancel"===t?this.$emit("cancel",e):"headerclose"===t&&this.$emit("close",e),this.emitEvent(e),e.defaultPrevented||!this.isVisible)return this.isClosing=!1,void this.updateModel(!0);this.setObserver(!1),this.isVisible=!1,this.updateModel(!1)}},toggle:function(t){t&&(this.$_returnFocus=t),this.isVisible?this.hide("toggle"):this.show()},getActiveElement:function(){var t=_n(u?[document.body]:[]);return t&&t.focus?t:null},doShow:function(){var t=this;xv.modalsAreOpen&&this.noStacking?this.listenOnRootOnce(ji("BModal","hidden"),this.doShow):(xv.registerModal(this),this.isHidden=!1,this.$nextTick((function(){t.isVisible=!0,t.isOpening=!1,t.updateModel(!0),t.$nextTick((function(){t.setObserver(!0)}))})))},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){var t=this;this.isBlock=!0,bn((function(){bn((function(){t.isShow=!0}))}))},onAfterEnter:function(){var t=this;this.checkModalOverflow(),this.isTransitioning=!1,bn((function(){t.emitEvent(t.buildEvent("shown")),t.setEnforceFocus(!0),t.$nextTick((function(){t.focusFirst()}))}))},onBeforeLeave:function(){this.isTransitioning=!0,this.setResizeEvent(!1),this.setEnforceFocus(!1)},onLeave:function(){this.isShow=!1},onAfterLeave:function(){var t=this;this.isBlock=!1,this.isTransitioning=!1,this.isModalOverflowing=!1,this.isHidden=!0,this.$nextTick((function(){t.isClosing=!1,xv.unregisterModal(t),t.returnFocusTo(),t.emitEvent(t.buildEvent("hidden"))}))},emitEvent:function(t){var e=t.type;this.emitOnRoot(ji("BModal",e),t,t.componentId),this.$emit(e,t)},onDialogMousedown:function(){var t=this,e=this.$refs.modal;ki(e,"mouseup",(function n(i){Oi(e,"mouseup",n,Te),i.target===e&&(t.ignoreBackdropClick=!0)}),Te)},onClickOut:function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:this.isVisible&&!this.noCloseOnBackdrop&&En(document.body,t.target)&&(En(this.$refs.content,t.target)||this.hide("backdrop"))},onOk:function(){this.hide("ok")},onCancel:function(){this.hide("cancel")},onClose:function(){this.hide("headerclose")},onEsc:function(t){27===t.keyCode&&this.isVisible&&!this.noCloseOnEsc&&this.hide("esc")},focusHandler:function(t){var e=this.$refs.content,n=t.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!e||document===n||En(e,n)||this.computeIgnoreEnforceFocusSelector&&Mn(this.computeIgnoreEnforceFocusSelector,n,!0))){var i=Yn(this.$refs.content),o=this.$refs["bottom-trap"],r=this.$refs["top-trap"];if(o&&n===o){if(Xn(i[0]))return}else if(r&&n===r&&Xn(i[i.length-1]))return;Xn(e,{preventScroll:!0})}},setEnforceFocus:function(t){this.listenDocument(t,"focusin",this.focusHandler)},setResizeEvent:function(t){this.listenWindow(t,"resize",this.checkModalOverflow),this.listenWindow(t,"orientationchange",this.checkModalOverflow)},showHandler:function(t,e){t===this.modalId&&(this.$_returnFocus=e||this.getActiveElement(),this.show())},hideHandler:function(t){t===this.modalId&&this.hide("event")},toggleHandler:function(t,e){t===this.modalId&&this.toggle(e)},modalListener:function(t){this.noStacking&&t.vueTarget!==this&&this.hide()},focusFirst:function(){var t=this;u&&bn((function(){var e=t.$refs.modal,n=t.$refs.content,i=t.getActiveElement();if(e&&n&&(!i||!En(n,i))){var o=t.$refs["ok-button"],r=t.$refs["cancel-button"],a=t.$refs["close-button"],s=t.autoFocusButton,l="ok"===s&&o?o.$el||o:"cancel"===s&&r?r.$el||r:"headerclose"===s&&a?a.$el||a:n;Xn(l),l===n&&t.$nextTick((function(){e.scrollTop=0}))}}))},returnFocusTo:function(){var t=this.returnFocus||this.$_returnFocus||null;this.$_returnFocus=null,this.$nextTick((function(){(t=_t(t)?Tn(t):t)&&(t=t.$el||t,Xn(t))}))},checkModalOverflow:function(){if(this.isVisible){var t=this.$refs.modal;this.isModalOverflowing=t.scrollHeight>document.documentElement.clientHeight}},makeModal:function(t){var e=t();if(!this.hideHeader){var n=this.normalizeSlot("modal-header",this.slotScope);if(!n){var i=t();this.hideHeaderClose||(i=t(Ai,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot("modal-header-close")])),n=[t(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot("modal-title")?{}:ia(this.titleHtml,this.title)},this.normalizeSlot("modal-title",this.slotScope)),i]}e=t("header",{staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.modalHeaderId},ref:"header"},[n])}var o=t("div",{staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.modalBodyId},ref:"body"},this.normalizeSlot("default",this.slotScope)),r=t();if(!this.hideFooter){var a=this.normalizeSlot("modal-footer",this.slotScope);if(!a){var s=t();this.okOnly||(s=t(Fr,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-cancel")?{}:ia(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot("modal-cancel"))),a=[s,t(Fr,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-ok")?{}:ia(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot("modal-ok"))]}r=t("footer",{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[a])}var l=t("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[e,o,r]),c=t(),u=t();this.isVisible&&!this.noEnforceFocus&&(c=t("span",{attrs:{tabindex:"0"},ref:"top-trap"}),u=t("span",{attrs:{tabindex:"0"},ref:"bottom-trap"}));var d=t("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[c,l,u]),p=t("div",{staticClass:"modal",class:this.modalClasses,style:this.modalStyles,attrs:this.computedModalAttrs,on:{keydown:this.onEsc,click:this.onClickOut},directives:[{name:"show",value:this.isVisible}],ref:"modal"},[d]);p=t("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave}},[p]);var h=t();return!this.hideBackdrop&&this.isVisible&&(h=t("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot("modal-backdrop"))),h=t(Ni,{props:{noFade:this.noFade}},[h]),t("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this._uid)},[p,h])}},render:function(t){return this.static?this.lazy&&this.isHidden?t():this.makeModal(t):this.isHidden?t():t(lv,[this.makeModal(t)])}}),Iv=Mi("BModal","show"),Lv="__bv_modal_directive__",Bv=function(t){var e=t.modifiers,n=void 0===e?{}:e,i=t.arg,o=t.value;return _t(o)?o:_t(i)?i:Ft(n).reverse()[0]},Fv=function(t){return t&&jn(t,".dropdown-menu > li, li.nav-item")&&Tn("a, button",t)||t},Rv=function(t){t&&"BUTTON"!==t.tagName&&(Rn(t,"role")||Ln(t,"role","button"),"A"===t.tagName||Rn(t,"tabindex")||Ln(t,"tabindex","0"))},Nv=function(t){var e=t[Lv]||{},n=e.trigger,i=e.handler;n&&i&&(Oi(n,"click",i,Pe),Oi(n,"keydown",i,Pe),Oi(t,"click",i,Pe),Oi(t,"keydown",i,Pe)),delete t[Lv]},Uv=function(t,e,n){var i=t[Lv]||{},o=Bv(e),r=Fv(t);o===i.target&&r===i.trigger||(Nv(t),function(t,e,n){var i=Bv(e),o=Fv(t);if(i&&o){var r=function(t){var e=t.currentTarget;if(!On(e)){var o=t.type,r=t.keyCode;"click"!==o&&("keydown"!==o||r!==er&&r!==rr)||n.context.$root.$emit(Iv,i,e)}};t[Lv]={handler:r,target:i,trigger:o},Rv(o),ki(o,"click",r,Pe),"BUTTON"!==o.tagName&&"button"===Fn(o,"role")&&ki(o,"keydown",r,Pe)}}(t,e,n)),Rv(r)},zv={inserted:Uv,updated:function(){},componentUpdated:Uv,unbind:Nv};function Hv(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Vv(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Wv(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Vv(Object(n),!0).forEach((function(e){Gv(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Vv(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Gv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qv(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var Yv,Xv=["id"].concat(function(t){if(Array.isArray(t))return qv(t)}(Yv=Ft(zt(Dv,["busy","lazy","noStacking","static","visible"])))||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(Yv)||function(t,e){if(t){if("string"==typeof t)return qv(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qv(t,e):void 0}}(Yv)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),Kv=function(){},Jv={msgBoxContent:"default",title:"modal-title",okTitle:"modal-ok",cancelTitle:"modal-cancel"},Zv=function(t){return Xv.reduce((function(e,n){return vt(t[n])||(e[n]=t[n]),e}),{})},Qv=he({components:{BModal:$v},directives:{VBModal:zv},plugins:{BVModalPlugin:he({plugins:{plugin:function(t){var e=t.extend({name:"BMsgBox",extends:$v,destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},mounted:function(){var t=this,e=function(){t.$nextTick((function(){bn((function(){t.$destroy()}))}))};this.$parent.$once("hook:destroyed",e),this.$once("hidden",e),this.$router&&this.$route&&this.$once("hook:beforeDestroy",this.$watch("$router",e)),this.show()}}),n=function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Kv;if(!ee("$bvModal")&&!ne("$bvModal")){var o=new e({parent:t,propsData:Wv(Wv(Wv({},Zv(ti("BModal"))),{},{hideHeaderClose:!0,hideHeader:!(n.title||n.titleHtml)},zt(n,Ft(Jv))),{},{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return Ft(Jv).forEach((function(t){vt(n[t])||(o.$slots[Jv[t]]=Ze(n[t]))})),new Promise((function(t,e){var n=!1;o.$once("hook:destroyed",(function(){n||e(new Error("BootstrapVue MsgBox destroyed before resolve"))})),o.$on("hide",(function(e){if(!e.defaultPrevented){var o=i(e);e.defaultPrevented||(n=!0,t(o))}}));var r=document.createElement("div");document.body.appendChild(r),o.$mount(r)}))}},i=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(e&&!ne("$bvModal")&&!ee("$bvModal")&&yt(o))return n(t,Wv(Wv({},Zv(i)),{},{msgBoxContent:e}),o)},o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Dt(this,{_vm:e,_root:e.$root}),It(this,{_vm:{enumerable:!0,configurable:!1,writable:!1},_root:{enumerable:!0,configurable:!1,writable:!1}})}var e,n,o;return e=t,(n=[{key:"show",value:function(t){if(t&&this._root){for(var e,n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];(e=this._root).$emit.apply(e,[Mi("BModal","show"),t].concat(i))}}},{key:"hide",value:function(t){if(t&&this._root){for(var e,n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];(e=this._root).$emit.apply(e,[Mi("BModal","hide"),t].concat(i))}}},{key:"msgBoxOk",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Wv(Wv({},e),{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:t});return i(this._vm,t,n,(function(){return!0}))}},{key:"msgBoxConfirm",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Wv(Wv({},e),{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return i(this._vm,t,n,(function(t){var e=t.trigger;return"ok"===e||"cancel"!==e&&null}))}}])&&Hv(e.prototype,n),o&&Hv(e,o),t}();t.mixin({beforeCreate:function(){this._bv__modal=new o(this)}}),Rt(t.prototype,"$bvModal")||Lt(t.prototype,"$bvModal",{get:function(){return this&&this._bv__modal||te('"'.concat("$bvModal",'" must be accessed from a Vue instance "this" context.'),"BModal"),this._bv__modal}})}}})}});function tg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var eg=mi({align:di(Le),cardHeader:di(Me,!1),fill:di(Me,!1),justified:di(Me,!1),pills:di(Me,!1),small:di(Me,!1),tabs:di(Me,!1),tag:di(Le,"ul"),vertical:di(Me,!1)},"BNav"),ng=o.a.extend({name:"BNav",functional:!0,props:eg,render:function(t,e){var n,i,o=e.props,r=e.data,a=e.children,s=o.tabs,l=o.pills,c=o.vertical,u=o.align,d=o.cardHeader;return t(o.tag,Oe(r,{staticClass:"nav",class:(n={"nav-tabs":s,"nav-pills":l&&!s,"card-header-tabs":!c&&d&&s,"card-header-pills":!c&&d&&l&&!s,"flex-column":c,"nav-fill":!c&&o.fill,"nav-justified":!c&&o.justified},tg(n,(i=u,"justify-content-".concat(i="left"===i?"start":"right"===i?"end":i)),!c&&u),tg(n,"small",o.small),n)}),a)}});function ig(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function og(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ig(Object(n),!0).forEach((function(e){rg(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ig(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function rg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ag=zt(Cr,["event","routerTag"]),sg=mi(Ht(og(og({},ag),{},{linkAttrs:di($e,{}),linkClasses:di(Re)})),"BNavItem"),lg=o.a.extend({name:"BNavItem",functional:!0,props:sg,render:function(t,e){var n=e.props,i=e.data,o=e.listeners,r=e.children;return t("li",Oe(zt(i,["on"]),{staticClass:"nav-item"}),[t(kr,{staticClass:"nav-link",class:n.linkClasses,attrs:n.linkAttrs,props:hi(ag,n),on:o},r)])}}),cg=o.a.extend({name:"BNavText",functional:!0,props:{},render:function(t,e){var n=e.data,i=e.children;return t("li",Oe(n,{staticClass:"navbar-text"}),i)}});function ug(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function dg(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ug(Object(n),!0).forEach((function(e){pg(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ug(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function pg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var hg=zt(su,["inline"]),fg=mi(Ht(dg(dg({},hg),{},{formClass:di(Re)})),"BNavForm"),mg=o.a.extend({name:"BNavForm",functional:!0,props:fg,render:function(t,e){var n=e.props,i=e.data,o=e.children,r=e.listeners,a=t(lu,{class:n.formClass,props:dg(dg({},hi(hg,n)),{},{inline:!0}),attrs:i.attrs,on:r},o);return t("li",Oe(zt(i,["attrs","on"]),{staticClass:"form-inline"}),[a])}});function vg(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function gg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function bg(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gg(Object(n),!0).forEach((function(e){yg(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gg(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function yg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var wg=mi(Ht(bg(bg({},Ka),Ut(Fc,[].concat(function(t){return function(t){if(Array.isArray(t))return vg(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return vg(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vg(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Ft(Dc)),["html","lazy","menuClass","noCaret","role","text","toggleClass"])))),"BNavItemDropdown"),_g=o.a.extend({name:"BNavItemDropdown",mixins:[Ja,$c,xi],props:wg,computed:{toggleId:function(){return this.safeId("_BV_toggle_")},dropdownClasses:function(){return[this.directionClass,this.boundaryClass,{show:this.visible}]},menuClasses:function(){return[this.menuClass,{"dropdown-menu-right":this.right,show:this.visible}]},toggleClasses:function(){return[this.toggleClass,{"dropdown-toggle-no-caret":this.noCaret}]}},render:function(t){var e=this.toggleId,n=this.visible,i=this.hide,o=t(kr,{staticClass:"nav-link dropdown-toggle",class:this.toggleClasses,props:{href:"#".concat(this.id||""),disabled:this.disabled},attrs:{id:e,role:"button","aria-haspopup":"true","aria-expanded":n?"true":"false"},on:{mousedown:this.onMousedown,click:this.toggle,keydown:this.toggle},ref:"toggle"},[this.normalizeSlot(["button-content","text"])||t("span",{domProps:ia(this.html,this.text)})]),r=t("ul",{staticClass:"dropdown-menu",class:this.menuClasses,attrs:{tabindex:"-1","aria-labelledby":e},on:{keydown:this.onKeydown},ref:"menu"},!this.lazy||n?this.normalizeSlot("default",{hide:i}):[t()]);return t("li",{staticClass:"nav-item b-nav-dropdown dropdown",class:this.dropdownClasses,attrs:{id:this.safeId()}},[o,r])}}),xg=he({components:{BNav:ng,BNavItem:lg,BNavText:cg,BNavForm:mg,BNavItemDropdown:_g,BNavItemDd:_g,BNavDropdown:_g,BNavDd:_g},plugins:{DropdownPlugin:_u}});function Cg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var kg=mi({fixed:di(Le),print:di(Me,!1),sticky:di(Me,!1),tag:di(Le,"nav"),toggleable:di(He,!1),type:di(Le,"light"),variant:di(Le)},"BNavbar"),Og=o.a.extend({name:"BNavbar",mixins:[xi],provide:function(){return{bvNavbar:this}},props:kg,computed:{breakpointClass:function(){var t=this.toggleable,e=ei()[0],n=null;return t&&_t(t)&&t!==e?n="navbar-expand-".concat(t):!1===t&&(n="navbar-expand"),n}},render:function(t){var e,n=this.tag,i=this.type,o=this.variant,r=this.fixed;return t(n,{staticClass:"navbar",class:[(e={"d-print":this.print,"sticky-top":this.sticky},Cg(e,"navbar-".concat(i),i),Cg(e,"bg-".concat(o),o),Cg(e,"fixed-".concat(r),r),e),this.breakpointClass],attrs:{role:xn(n,"nav")?null:"navigation"}},[this.normalizeSlot()])}});function Sg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Pg=mi(Ut(eg,["tag","fill","justified","align","small"]),"BNavbarNav"),Tg=o.a.extend({name:"BNavbarNav",functional:!0,props:Pg,render:function(t,e){var n,i,o=e.props,r=e.data,a=e.children,s=o.align;return t(o.tag,Oe(r,{staticClass:"navbar-nav",class:(n={"nav-fill":o.fill,"nav-justified":o.justified},Sg(n,(i=s,"justify-content-".concat(i="left"===i?"start":"right"===i?"end":i)),s),Sg(n,"small",o.small),n)}),a)}});function jg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Mg(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?jg(Object(n),!0).forEach((function(e){Eg(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):jg(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Eg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ag=zt(Cr,["event","routerTag"]);Ag.href.default=void 0,Ag.to.default=void 0;var Dg=mi(Ht(Mg(Mg({},Ag),{},{tag:di(Le,"div")})),"BNavbarBrand"),$g=o.a.extend({name:"BNavbarBrand",functional:!0,props:Dg,render:function(t,e){var n=e.props,i=e.data,o=e.children,r=n.to||n.href;return t(r?kr:n.tag,Oe(i,{staticClass:"navbar-brand",props:r?hi(Ag,n):{}}),o)}}),Ig=ji("BCollapse","state"),Lg=ji("BCollapse","sync-state"),Bg=mi({disabled:di(Me,!1),label:di(Le,"Toggle navigation"),target:di(Ne,void 0,!0)},"BNavbarToggle"),Fg=o.a.extend({name:"BNavbarToggle",directives:{VBToggle:bc},mixins:[hr,xi],props:Bg,data:function(){return{toggleState:!1}},created:function(){this.listenOnRoot(Ig,this.handleStateEvt),this.listenOnRoot(Lg,this.handleStateEvt)},methods:{onClick:function(t){this.disabled||this.$emit("click",t)},handleStateEvt:function(t,e){t===this.target&&(this.toggleState=e)}},render:function(t){var e=this.disabled;return t("button",{staticClass:"navbar-toggler",class:{disabled:e},directives:[{name:"VBToggle",value:this.target}],attrs:{type:"button",disabled:e,"aria-label":this.label},on:{click:this.onClick}},[this.normalizeSlot("default",{expanded:this.toggleState})||t("span",{staticClass:"".concat("navbar-toggler","-icon")})])}}),Rg=he({components:{BNavbar:Og,BNavbarNav:Tg,BNavbarBrand:$g,BNavbarToggle:Fg,BNavToggle:Fg},plugins:{NavPlugin:xg,CollapsePlugin:wc,DropdownPlugin:_u}});function Ng(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ug=mi({label:di(Le),role:di(Le,"status"),small:di(Me,!1),tag:di(Le,"span"),type:di(Le,"border"),variant:di(Le)},"BSpinner"),zg=o.a.extend({name:"BSpinner",functional:!0,props:Ug,render:function(t,e){var n,i=e.props,o=e.data,r=e.slots,a=e.scopedSlots,s=r(),l=_i("label",{},a||{},s)||i.label;return l&&(l=t("span",{staticClass:"sr-only"},l)),t(i.tag,Oe(o,{attrs:{role:l?i.role||"status":null,"aria-hidden":l?null:"true"},class:(n={},Ng(n,"spinner-".concat(i.type),i.type),Ng(n,"spinner-".concat(i.type,"-sm"),i.small),Ng(n,"text-".concat(i.variant),i.variant),n)}),[l||t()])}});function Hg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Vg(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hg(Object(n),!0).forEach((function(e){Wg(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hg(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Wg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Gg,qg={top:0,left:0,bottom:0,right:0},Yg=mi({bgColor:di(Le),blur:di(Le,"2px"),fixed:di(Me,!1),noCenter:di(Me,!1),noFade:di(Me,!1),noWrap:di(Me,!1),opacity:di(Ge,.85,(function(t){var e=on(t,0);return e>=0&&e<=1})),overlayTag:di(Le,"div"),rounded:di(He,!1),show:di(Me,!1),spinnerSmall:di(Me,!1),spinnerType:di(Le,"border"),spinnerVariant:di(Le),variant:di(Le,"light"),wrapTag:di(Le,"div"),zIndex:di(Ge,10)},"BOverlay"),Xg=he({components:{BOverlay:o.a.extend({name:"BOverlay",mixins:[xi],props:Yg,computed:{computedRounded:function(){var t=this.rounded;return!0===t||""===t?"rounded":t?"rounded-".concat(t):""},computedVariant:function(){var t=this.variant;return t&&!this.bgColor?"bg-".concat(t):""},slotScope:function(){return{spinnerType:this.spinnerType||null,spinnerVariant:this.spinnerVariant||null,spinnerSmall:this.spinnerSmall}}},methods:{defaultOverlayFn:function(t){var e=t.spinnerType,n=t.spinnerVariant,i=t.spinnerSmall;return this.$createElement(zg,{props:{type:e,variant:n,small:i}})}},render:function(t){var e=this,n=this.show,i=this.fixed,o=this.noFade,r=this.noWrap,a=this.slotScope,s=t();if(n){var l=t("div",{staticClass:"position-absolute",class:[this.computedVariant,this.computedRounded],style:Vg(Vg({},qg),{},{opacity:this.opacity,backgroundColor:this.bgColor||null,backdropFilter:this.blur?"blur(".concat(this.blur,")"):null})}),c=t("div",{staticClass:"position-absolute",style:this.noCenter?Vg({},qg):{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}},[this.normalizeSlot("overlay",a)||this.defaultOverlayFn(a)]);s=t(this.overlayTag,{staticClass:"b-overlay",class:{"position-absolute":!r||r&&!i,"position-fixed":r&&i},style:Vg(Vg({},qg),{},{zIndex:this.zIndex||10}),on:{click:function(t){return e.$emit("click",t)}},key:"overlay"},[l,c])}return s=t(Ni,{props:{noFade:o,appear:!0},on:{"after-enter":function(){return e.$emit("shown")},"after-leave":function(){return e.$emit("hidden")}}},[s]),r?s:t(this.wrapTag,{staticClass:"b-overlay-wrap position-relative",attrs:{"aria-busy":n?"true":null}},r?[s]:[this.normalizeSlot(),s])}})}});function Kg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Jg(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Kg(Object(n),!0).forEach((function(e){Zg(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Kg(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Zg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Qg=yi("value",{type:ze,defaultValue:null,validator:function(t){return!(!gt(t)&&nn(t,0)<1)||(te('"v-model" value must be a number greater than "0"',"BPagination"),!1)}}),tb=Qg.mixin,eb=Qg.props,nb=Qg.prop,ib=Qg.event,ob=function(t){var e=nn(t)||1;return e<1?5:e},rb=function(t,e){var n=nn(t)||1;return n>e?e:n<1?1:n},ab=function(t){if(t.keyCode===rr)return Pi(t,{immediatePropagation:!0}),t.currentTarget.click(),!1},sb=mi(Ht(Jg(Jg({},eb),{},{align:di(Le,"left"),ariaLabel:di(Le,"Pagination"),disabled:di(Me,!1),ellipsisClass:di(Re),ellipsisText:di(Le,"…"),firstClass:di(Re),firstNumber:di(Me,!1),firstText:di(Le,"«"),hideEllipsis:di(Me,!1),hideGotoEndButtons:di(Me,!1),labelFirstPage:di(Le,"Go to first page"),labelLastPage:di(Le,"Go to last page"),labelNextPage:di(Le,"Go to next page"),labelPage:di(We,"Go to page"),labelPrevPage:di(Le,"Go to previous page"),lastClass:di(Re),lastNumber:di(Me,!1),lastText:di(Le,"»"),limit:di(Ge,5,(function(t){return!(nn(t,0)<1)||(te('Prop "limit" must be a number greater than "0"',"BPagination"),!1)})),nextClass:di(Re),nextText:di(Le,"›"),pageClass:di(Re),pills:di(Me,!1),prevClass:di(Re),prevText:di(Le,"‹"),size:di(Le)})),"pagination"),lb=o.a.extend({mixins:[tb,xi],props:sb,data:function(){var t=nn(this[nb],0);return{currentPage:t=t>0?t:-1,localNumberOfPages:1,localLimit:5}},computed:{btnSize:function(){var t=this.size;return t?"pagination-".concat(t):""},alignment:function(){var t=this.align;return"center"===t?"justify-content-center":"end"===t||"right"===t?"justify-content-end":"fill"===t?"text-center":""},styleClass:function(){return this.pills?"b-pagination-pills":""},computedCurrentPage:function(){return rb(this.currentPage,this.localNumberOfPages)},paginationParams:function(){var t=this.localLimit,e=this.localNumberOfPages,n=this.computedCurrentPage,i=this.hideEllipsis,o=this.firstNumber,r=this.lastNumber,a=!1,s=!1,l=t,c=1;e<=t?l=e:n<t-1&&t>3?(i&&!r||(s=!0,l=t-(o?0:1)),l=Qi(l,t)):e-n+2<t&&t>3?(i&&!o||(a=!0,l=t-(r?0:1)),c=e-l+1):(t>3&&(l=t-(i?0:2),a=!(i&&!o),s=!(i&&!r)),c=n-io(l/2)),c<1?(c=1,a=!1):c>e-l&&(c=e-l+1,s=!1),a&&o&&c<4&&(l+=2,c=1,a=!1);var u=c+l-1;return s&&r&&u>e-3&&(l+=u===e-2?2:3,s=!1),t<=3&&(o&&1===c?l=Qi(l+1,e,t+1):r&&e===c+l-1&&(c=to(c-1,1),l=Qi(e-c+1,e,t+1))),{showFirstDots:a,showLastDots:s,numberOfLinks:l=Qi(l,e-c+1),startNumber:c}},pageList:function(){var t=this.paginationParams,e=t.numberOfLinks,n=t.startNumber,i=this.computedCurrentPage,o=function(t,e){return Qe(e,(function(e,n){return{number:t+n,classes:null}}))}(n,e);if(o.length>3){var r=i-n,a="bv-d-xs-down-none";if(0===r)for(var s=3;s<o.length;s++)o[s].classes=a;else if(r===o.length-1)for(var l=0;l<o.length-3;l++)o[l].classes=a;else{for(var c=0;c<r-1;c++)o[c].classes=a;for(var u=o.length-1;u>r+1;u--)o[u].classes=a}}return o}},watch:(Gg={},Zg(Gg,nb,(function(t,e){t!==e&&(this.currentPage=rb(t,this.localNumberOfPages))})),Zg(Gg,"currentPage",(function(t,e){t!==e&&this.$emit(ib,t>0?t:null)})),Zg(Gg,"limit",(function(t,e){t!==e&&(this.localLimit=ob(t))})),Gg),created:function(){var t=this;this.localLimit=ob(this.limit),this.$nextTick((function(){t.currentPage=t.currentPage>t.localNumberOfPages?t.localNumberOfPages:t.currentPage}))},methods:{handleKeyNav:function(t){var e=t.keyCode,n=t.shiftKey;this.isNav||(e===ir||e===ar?(Pi(t,{propagation:!1}),n?this.focusFirst():this.focusPrev()):e!==or&&e!==Qo||(Pi(t,{propagation:!1}),n?this.focusLast():this.focusNext()))},getButtons:function(){return Pn("button.page-link, a.page-link",this.$el).filter((function(t){return kn(t)}))},focusCurrent:function(){var t=this;this.$nextTick((function(){var e=t.getButtons().find((function(e){return nn(Fn(e,"aria-posinset"),0)===t.computedCurrentPage}));Xn(e)||t.focusFirst()}))},focusFirst:function(){var t=this;this.$nextTick((function(){var e=t.getButtons().find((function(t){return!On(t)}));Xn(e)}))},focusLast:function(){var t=this;this.$nextTick((function(){var e=t.getButtons().reverse().find((function(t){return!On(t)}));Xn(e)}))},focusPrev:function(){var t=this;this.$nextTick((function(){var e=t.getButtons(),n=e.indexOf(_n());n>0&&!On(e[n-1])&&Xn(e[n-1])}))},focusNext:function(){var t=this;this.$nextTick((function(){var e=t.getButtons(),n=e.indexOf(_n());n<e.length-1&&!On(e[n+1])&&Xn(e[n+1])}))}},render:function(t){var e=this,n=this.disabled,i=this.labelPage,o=this.ariaLabel,r=this.isNav,a=this.localNumberOfPages,s=this.computedCurrentPage,l=this.pageList.map((function(t){return t.number})),c=this.paginationParams,u=c.showFirstDots,d=c.showLastDots,p="fill"===this.align,h=[],f=function(t){return t===s},m=this.currentPage<1,v=function(i,o,s,l,c,u,d){var h=n||f(u)||m||i<1||i>a,v=i<1?1:i>a?a:i,g={disabled:h,page:v,index:v-1},b=e.normalizeSlot(s,g)||dn(l)||t(),y=t(h?"span":r?kr:"button",{staticClass:"page-link",class:{"flex-grow-1":!r&&!h&&p},props:h||!r?{}:e.linkProps(i),attrs:{role:r?null:"menuitem",type:r||h?null:"button",tabindex:h||r?null:"-1","aria-label":o,"aria-controls":e.ariaControls||null,"aria-disabled":h?"true":null},on:h?{}:{"!click":function(t){e.onClick(t,i)},keydown:ab}},[b]);return t("li",{key:d,staticClass:"page-item",class:[{disabled:h,"flex-fill":p,"d-flex":p&&!r&&!h},c],attrs:{role:r?null:"presentation","aria-hidden":h?"true":null}},[y])},g=function(n){return t("li",{staticClass:"page-item",class:["disabled","bv-d-xs-down-none",p?"flex-fill":"",e.ellipsisClass],attrs:{role:"separator"},key:"ellipsis-".concat(n?"last":"first")},[t("span",{staticClass:"page-link"},[e.normalizeSlot("ellipsis-text")||dn(e.ellipsisText)||t()])])},b=function(o,s){var l=o.number,c=f(l)&&!m,u=n?null:c||m&&0===s?"0":"-1",d={role:r?null:"menuitemradio",type:r||n?null:"button","aria-disabled":n?"true":null,"aria-controls":e.ariaControls||null,"aria-label":gi(i)?i(l):"".concat(yt(i)?i():i," ").concat(l),"aria-checked":r?null:c?"true":"false","aria-current":r&&c?"page":null,"aria-posinset":r?null:l,"aria-setsize":r?null:a,tabindex:r?null:u},h=dn(e.makePage(l)),v={page:l,index:l-1,content:h,active:c,disabled:n},g=t(n?"span":r?kr:"button",{props:n||!r?{}:e.linkProps(l),staticClass:"page-link",class:{"flex-grow-1":!r&&!n&&p},attrs:d,on:n?{}:{"!click":function(t){e.onClick(t,l)},keydown:ab}},[e.normalizeSlot("page",v)||h]);return t("li",{staticClass:"page-item",class:[{disabled:n,active:c,"flex-fill":p,"d-flex":p&&!r&&!n},o.classes,e.pageClass],attrs:{role:r?null:"presentation"},key:"page-".concat(l)},[g])},y=t();this.firstNumber||this.hideGotoEndButtons||(y=v(1,this.labelFirstPage,"first-text",this.firstText,this.firstClass,1,"pagination-goto-first")),h.push(y),h.push(v(s-1,this.labelPrevPage,"prev-text",this.prevText,this.prevClass,1,"pagination-goto-prev")),h.push(this.firstNumber&&1!==l[0]?b({number:1},0):t()),h.push(u?g(!1):t()),this.pageList.forEach((function(t,n){var i=u&&e.firstNumber&&1!==l[0]?1:0;h.push(b(t,n+i))})),h.push(d?g(!0):t()),h.push(this.lastNumber&&l[l.length-1]!==a?b({number:a},-1):t()),h.push(v(s+1,this.labelNextPage,"next-text",this.nextText,this.nextClass,a,"pagination-goto-next"));var w=t();this.lastNumber||this.hideGotoEndButtons||(w=v(a,this.labelLastPage,"last-text",this.lastText,this.lastClass,a,"pagination-goto-last")),h.push(w);var _=t("ul",{staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment,this.styleClass],attrs:{role:r?null:"menubar","aria-disabled":n?"true":"false","aria-label":r?null:o||null},on:r?{}:{keydown:this.handleKeyNav},ref:"ul"},h);return r?t("nav",{attrs:{"aria-disabled":n?"true":null,"aria-hidden":n?"true":"false","aria-label":r&&o||null}},[_]):_}});function cb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ub(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?cb(Object(n),!0).forEach((function(e){db(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cb(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function db(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var pb=function(t){return to(nn(t)||20,1)},hb=function(t){return to(nn(t)||0,0)},fb=mi(Ht(ub(ub({},sb),{},{ariaControls:di(Le),perPage:di(Ge,20),totalRows:di(Ge,0)})),"BPagination"),mb=he({components:{BPagination:o.a.extend({name:"BPagination",mixins:[lb],props:fb,computed:{numberOfPages:function(){var t=no(hb(this.totalRows)/pb(this.perPage));return t<1?1:t},pageSizeNumberOfPages:function(){return{perPage:pb(this.perPage),totalRows:hb(this.totalRows),numberOfPages:this.numberOfPages}}},watch:{pageSizeNumberOfPages:function(t,e){bt(e)||(t.perPage!==e.perPage&&t.totalRows===e.totalRows||t.numberOfPages!==e.numberOfPages&&this.currentPage>t.numberOfPages)&&(this.currentPage=1),this.localNumberOfPages=t.numberOfPages}},created:function(){var t=this;this.localNumberOfPages=this.numberOfPages;var e=nn(this[nb],0);e>0?this.currentPage=e:this.$nextTick((function(){t.currentPage=0}))},methods:{onClick:function(t,e){var n=this;if(e!==this.currentPage){var i=t.target,o=new kc("page-click",{cancelable:!0,vueTarget:this,target:i});this.$emit(o.type,o,e),o.defaultPrevented||(this.currentPage=e,this.$emit("change",this.currentPage),this.$nextTick((function(){kn(i)&&n.$el.contains(i)?Xn(i):n.focusCurrent()})))}},makePage:function(t){return t},linkProps:function(){return{}}}})}});function vb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function gb(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?vb(Object(n),!0).forEach((function(e){bb(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):vb(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function bb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var yb=zt(Cr,["event","routerTag"]),wb=mi(Ht(gb(gb(gb({},sb),yb),{},{baseUrl:di(Le,"/"),linkGen:di(Ae),noPageDetect:di(Me,!1),numberOfPages:di(Ge,1,(function(t){return!(nn(t,0)<1)||(te('Prop "number-of-pages" must be a number greater than "0"',"BPaginationNav"),!1)})),pageGen:di(Ae),pages:di(je),useRouter:di(Me,!1)})),"BPaginationNav"),_b=he({components:{BPaginationNav:o.a.extend({name:"BPaginationNav",mixins:[lb],props:wb,computed:{isNav:function(){return!0},computedValue:function(){var t=nn(this.value,0);return t<1?null:t}},watch:{numberOfPages:function(){var t=this;this.$nextTick((function(){t.setNumberOfPages()}))},pages:function(){var t=this;this.$nextTick((function(){t.setNumberOfPages()}))}},created:function(){this.setNumberOfPages()},mounted:function(){var t=this;this.$router&&this.$watch("$route",(function(){t.$nextTick((function(){bn((function(){t.guessCurrentPage()}))}))}))},methods:{setNumberOfPages:function(){var t,e=this;kt(this.pages)&&this.pages.length>0?this.localNumberOfPages=this.pages.length:this.localNumberOfPages=(t=this.numberOfPages,to(nn(t,0),1)),this.$nextTick((function(){e.guessCurrentPage()}))},onClick:function(t,e){var n=this;if(e!==this.currentPage){var i=t.currentTarget||t.target,o=new kc("page-click",{cancelable:!0,vueTarget:this,target:i});this.$emit(o.type,o,e),o.defaultPrevented||(bn((function(){n.currentPage=e,n.$emit("change",e)})),this.$nextTick((function(){Kn(i)})))}},getPageInfo:function(t){if(!kt(this.pages)||0===this.pages.length||vt(this.pages[t-1])){var e="".concat(this.baseUrl).concat(t);return{link:this.useRouter?{path:e}:e,text:dn(t)}}var n=this.pages[t-1];if(Ot(n)){var i=n.link;return{link:Ot(i)?i:this.useRouter?{path:i}:i,text:dn(n.text||t)}}return{link:dn(n),text:dn(t)}},makePage:function(t){var e=this.pageGen,n=this.getPageInfo(t);return gi(e)?e(t,n):n.text},makeLink:function(t){var e=this.linkGen,n=this.getPageInfo(t);return gi(e)?e(t,n):n.link},linkProps:function(t){var e=hi(yb,this),n=this.makeLink(t);return this.useRouter||Ot(n)?e.to=n:e.href=n,e},resolveLink:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{(t=document.createElement("a")).href=yo({to:e},"a","/","/"),document.body.appendChild(t);var n=t,i=n.pathname,o=n.hash,r=n.search;return document.body.removeChild(t),{path:i,hash:o,query:vo(r)}}catch(e){try{t&&t.parentNode&&t.parentNode.removeChild(t)}catch(t){}return{}}},resolveRoute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{var e=this.$router.resolve(t,this.$route).route;return{path:e.path,hash:e.hash,query:e.query}}catch(t){return{}}},guessCurrentPage:function(){var t=this.$router,e=this.$route,n=this.computedValue;if(!this.noPageDetect&&!n&&(u||!u&&t))for(var i=t&&e?{path:e.path,hash:e.hash,query:e.query}:{},o=u?window.location||document.location:null,r=o?{path:o.pathname,hash:o.hash,query:vo(o.search)}:{},a=1;!n&&a<=this.localNumberOfPages;a++){var s=this.makeLink(a);n=t&&(Ot(s)||this.useRouter)?sr(this.resolveRoute(s),i)?a:null:u?sr(this.resolveLink(s),r)?a:null:-1}this.currentPage=n>0?n:0}}})}}),xb={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",TOPLEFT:"top",TOPRIGHT:"top",RIGHTTOP:"right",RIGHTBOTTOM:"right",BOTTOMLEFT:"bottom",BOTTOMRIGHT:"bottom",LEFTTOP:"left",LEFTBOTTOM:"left"},Cb={AUTO:0,TOPLEFT:-1,TOP:0,TOPRIGHT:1,RIGHTTOP:-1,RIGHT:0,RIGHTBOTTOM:1,BOTTOMLEFT:-1,BOTTOM:0,BOTTOMRIGHT:1,LEFTTOP:-1,LEFT:0,LEFTBOTTOM:1},kb={arrowPadding:di(Ge,6),boundary:di([ut,Le],"scrollParent"),boundaryPadding:di(Ge,5),fallbackPlacement:di(Ne,"flip"),offset:di(Ge,0),placement:di(Le,"top"),target:di([ut,dt])},Ob=o.a.extend({name:"BVPopper",props:kb,data:function(){return{noFade:!1,localShow:!0,attachment:this.getAttachment(this.placement)}},computed:{templateType:function(){return"unknown"},popperConfig:function(){var t=this,e=this.placement;return{placement:this.getAttachment(e),modifiers:{offset:{offset:this.getOffset(e)},flip:{behavior:this.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{padding:this.boundaryPadding,boundariesElement:this.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t.popperPlacementChange(e)},onUpdate:function(e){t.popperPlacementChange(e)}}}},created:function(){var t=this;this.$_popper=null,this.localShow=!0,this.$on("show",(function(e){t.popperCreate(e)}));var e=function(){t.$nextTick((function(){bn((function(){t.$destroy()}))}))};this.$parent.$once("hook:destroyed",e),this.$once("hidden",e)},beforeMount:function(){this.attachment=this.getAttachment(this.placement)},updated:function(){this.updatePopper()},beforeDestroy:function(){this.destroyPopper()},destroyed:function(){var t=this.$el;t&&t.parentNode&&t.parentNode.removeChild(t)},methods:{hide:function(){this.localShow=!1},getAttachment:function(t){return xb[String(t).toUpperCase()]||"auto"},getOffset:function(t){if(!this.offset){var e=this.$refs.arrow||Tn(".arrow",this.$el),n=on(Vn(e).width,0)+on(this.arrowPadding,0);switch(Cb[String(t).toUpperCase()]||0){case 1:return"+50%p - ".concat(n,"px");case-1:return"-50%p + ".concat(n,"px");default:return 0}}return this.offset},popperCreate:function(t){this.destroyPopper(),this.$_popper=new _c.default(this.target,t,this.popperConfig)},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){this.$_popper&&this.$_popper.scheduleUpdate()},popperPlacementChange:function(t){this.attachment=this.getAttachment(t.placement)},renderTemplate:function(t){return t("div")}},render:function(t){var e=this,n=this.noFade;return t(Ni,{props:{appear:!0,noFade:n},on:{beforeEnter:function(t){return e.$emit("show",t)},afterEnter:function(t){return e.$emit("shown",t)},beforeLeave:function(t){return e.$emit("hide",t)},afterLeave:function(t){return e.$emit("hidden",t)}}},[this.localShow?this.renderTemplate(t):t()])}});function Sb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Pb(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Sb(Object(n),!0).forEach((function(e){Tb(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Sb(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Tb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var jb={html:di(Me,!1),id:di(Le)},Mb=o.a.extend({name:"BVTooltipTemplate",extends:Ob,mixins:[rv],props:jb,data:function(){return{title:"",content:"",variant:null,customClass:null,interactive:!0}},computed:{templateType:function(){return"tooltip"},templateClasses:function(){var t,e=this.variant,n=this.attachment,i=this.templateType;return[(t={noninteractive:!this.interactive},Tb(t,"b-".concat(i,"-").concat(e),e),Tb(t,"bs-".concat(i,"-").concat(n),n),t),this.customClass]},templateAttributes:function(){var t=this.id;return Pb(Pb({},this.$parent.$parent.$attrs),{},{id:t,role:"tooltip",tabindex:"-1"},this.scopedStyleAttrs)},templateListeners:function(){var t=this;return{mouseenter:function(e){t.$emit("mouseenter",e)},mouseleave:function(e){t.$emit("mouseleave",e)},focusin:function(e){t.$emit("focusin",e)},focusout:function(e){t.$emit("focusout",e)}}}},methods:{renderTemplate:function(t){var e=this.title,n=yt(e)?e({}):e,i=this.html&&!yt(e)?{innerHTML:e}:{};return t("div",{staticClass:"tooltip b-tooltip",class:this.templateClasses,attrs:this.templateAttributes,on:this.templateListeners},[t("div",{staticClass:"arrow",ref:"arrow"}),t("div",{staticClass:"tooltip-inner",domProps:i},[n])])}}});function Eb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Ab(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Eb(Object(n),!0).forEach((function(e){Db(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Eb(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Db(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $b,Ib,Lb=".modal-content",Bb=ji("BModal","hidden"),Fb=[Lb,".b-sidebar"].join(", "),Rb={title:"",content:"",variant:null,customClass:null,triggers:"",placement:"auto",fallbackPlacement:"flip",target:null,container:null,noFade:!1,boundary:"scrollParent",boundaryPadding:5,offset:0,delay:0,arrowPadding:6,interactive:!0,disabled:!1,id:null,html:!1},Nb=o.a.extend({name:"BVTooltip",mixins:[hr],data:function(){return Ab(Ab({},Rb),{},{activeTrigger:{hover:!1,click:!1,focus:!1},localShow:!1})},computed:{templateType:function(){return"tooltip"},computedId:function(){return this.id||"__bv_".concat(this.templateType,"_").concat(this._uid,"__")},computedDelay:function(){var t={show:0,hide:0};return St(this.delay)?(t.show=to(nn(this.delay.show,0),0),t.hide=to(nn(this.delay.hide,0),0)):(xt(this.delay)||_t(this.delay))&&(t.show=t.hide=to(nn(this.delay,0),0)),t},computedTriggers:function(){return Ze(this.triggers).filter(Kt).join(" ").trim().toLowerCase().split(/\s+/).sort()},isWithActiveTrigger:function(){for(var t in this.activeTrigger)if(this.activeTrigger[t])return!0;return!1},computedTemplateData:function(){return{title:this.title,content:this.content,variant:this.variant,customClass:this.customClass,noFade:this.noFade,interactive:this.interactive}}},watch:{computedTriggers:function(t,e){var n=this;sr(t,e)||this.$nextTick((function(){n.unListen(),e.forEach((function(e){Je(t,e)||n.activeTrigger[e]&&(n.activeTrigger[e]=!1)})),n.listen()}))},computedTemplateData:function(){this.handleTemplateUpdate()},title:function(t,e){t===e||t||this.hide()},disabled:function(t){t?this.disable():this.enable()}},created:function(){var t=this;this.$_tip=null,this.$_hoverTimeout=null,this.$_hoverState="",this.$_visibleInterval=null,this.$_enabled=!this.disabled,this.$_noop=pl.bind(this),this.$parent&&this.$parent.$once("hook:beforeDestroy",(function(){t.$nextTick((function(){bn((function(){t.$destroy()}))}))})),this.$nextTick((function(){var e=t.getTarget();e&&En(document.body,e)?(t.scopeId=ov(t.$parent),t.listen()):te(_t(t.target)?'Unable to find target element by ID "#'.concat(t.target,'" in document.'):"The provided target is no valid HTML element.",t.templateType)}))},updated:function(){this.$nextTick(this.handleTemplateUpdate)},deactivated:function(){this.forceHide()},beforeDestroy:function(){this.unListen(),this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.clearVisibilityInterval(),this.destroyTemplate(),this.$_noop=null},methods:{getTemplate:function(){return Mb},updateData:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!1;Ft(Rb).forEach((function(i){vt(e[i])||t[i]===e[i]||(t[i]=e[i],"title"===i&&(n=!0))})),n&&this.localShow&&this.fixTitle()},createTemplateAndShow:function(){var t=this.getContainer(),e=this.getTemplate(),n=this.$_tip=new e({parent:this,propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:nn(this.offset,0),arrowPadding:nn(this.arrowPadding,0),boundaryPadding:nn(this.boundaryPadding,0)}});this.handleTemplateUpdate(),n.$once("show",this.onTemplateShow),n.$once("shown",this.onTemplateShown),n.$once("hide",this.onTemplateHide),n.$once("hidden",this.onTemplateHidden),n.$once("hook:destroyed",this.destroyTemplate),n.$on("focusin",this.handleEvent),n.$on("focusout",this.handleEvent),n.$on("mouseenter",this.handleEvent),n.$on("mouseleave",this.handleEvent),n.$mount(t.appendChild(document.createElement("div")))},hideTemplate:function(){this.$_tip&&this.$_tip.hide(),this.clearActiveTriggers(),this.$_hoverState=""},destroyTemplate:function(){this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.localPlacementTarget=null;try{this.$_tip.$destroy()}catch(t){}this.$_tip=null,this.removeAriaDescribedby(),this.restoreTitle(),this.localShow=!1},getTemplateElement:function(){return this.$_tip?this.$_tip.$el:null},handleTemplateUpdate:function(){var t=this,e=this.$_tip;if(e){["title","content","variant","customClass","noFade","interactive"].forEach((function(n){e[n]!==t[n]&&(e[n]=t[n])}))}},show:function(){var t=this.getTarget();if(t&&En(document.body,t)&&kn(t)&&!this.dropdownOpen()&&(!bt(this.title)&&""!==this.title||!bt(this.content)&&""!==this.content)&&!this.$_tip&&!this.localShow){this.localShow=!0;var e=this.buildEvent("show",{cancelable:!0});this.emitEvent(e),e.defaultPrevented?this.destroyTemplate():(this.fixTitle(),this.addAriaDescribedby(),this.createTemplateAndShow())}},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.getTemplateElement();if(e&&this.localShow){var n=this.buildEvent("hide",{cancelable:!t});this.emitEvent(n),n.defaultPrevented||this.hideTemplate()}else this.restoreTitle()},forceHide:function(){this.getTemplateElement()&&this.localShow&&(this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.$_tip&&(this.$_tip.noFade=!0),this.hide(!0))},enable:function(){this.$_enabled=!0,this.emitEvent(this.buildEvent("enabled"))},disable:function(){this.$_enabled=!1,this.emitEvent(this.buildEvent("disabled"))},onTemplateShow:function(){this.setWhileOpenListeners(!0)},onTemplateShown:function(){var t=this.$_hoverState;this.$_hoverState="","out"===t&&this.leave(null),this.emitEvent(this.buildEvent("shown"))},onTemplateHide:function(){this.setWhileOpenListeners(!1)},onTemplateHidden:function(){this.destroyTemplate(),this.emitEvent(this.buildEvent("hidden"))},getTarget:function(){var t=this.target;return _t(t)?t=An(t.replace(/^#/,"")):yt(t)?t=t():t&&(t=t.$el||t),wn(t)?t:null},getPlacementTarget:function(){return this.getTarget()},getTargetId:function(){var t=this.getTarget();return t&&t.id?t.id:null},getContainer:function(){var t=!!this.container&&(this.container.$el||this.container),e=document.body,n=this.getTarget();return!1===t?Mn(Fb,n)||e:_t(t)&&An(t.replace(/^#/,""))||e},getBoundary:function(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal:function(){var t=this.getTarget();return t&&Mn(Lb,t)},isDropdown:function(){var t=this.getTarget();return t&&In(t,"dropdown")},dropdownOpen:function(){var t=this.getTarget();return this.isDropdown()&&t&&Tn(".dropdown-menu.show",t)},clearHoverTimeout:function(){clearTimeout(this.$_hoverTimeout),this.$_hoverTimeout=null},clearVisibilityInterval:function(){clearInterval(this.$_visibleInterval),this.$_visibleInterval=null},clearActiveTriggers:function(){for(var t in this.activeTrigger)this.activeTrigger[t]=!1},addAriaDescribedby:function(){var t=this.getTarget(),e=Fn(t,"aria-describedby")||"";e=e.split(/\s+/).concat(this.computedId).join(" ").trim(),Ln(t,"aria-describedby",e)},removeAriaDescribedby:function(){var t=this,e=this.getTarget(),n=Fn(e,"aria-describedby")||"";(n=n.split(/\s+/).filter((function(e){return e!==t.computedId})).join(" ").trim())?Ln(e,"aria-describedby",n):Bn(e,"aria-describedby")},fixTitle:function(){var t=this.getTarget();if(Rn(t,"title")){var e=Fn(t,"title");Ln(t,"title",""),e&&Ln(t,"data-original-title",e)}},restoreTitle:function(){var t=this.getTarget();if(Rn(t,"data-original-title")){var e=Fn(t,"data-original-title");Bn(t,"data-original-title"),e&&Ln(t,"title",e)}},buildEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new kc(t,Ab({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},e))},emitEvent:function(t){var e=t.type;this.emitOnRoot(ji(this.templateType,e),t),this.$emit(e,t)},listen:function(){var t=this,e=this.getTarget();e&&(this.setRootListener(!0),this.computedTriggers.forEach((function(n){"click"===n?ki(e,"click",t.handleEvent,Te):"focus"===n?(ki(e,"focusin",t.handleEvent,Te),ki(e,"focusout",t.handleEvent,Te)):"blur"===n?ki(e,"focusout",t.handleEvent,Te):"hover"===n&&(ki(e,"mouseenter",t.handleEvent,Te),ki(e,"mouseleave",t.handleEvent,Te))}),this))},unListen:function(){var t=this,e=this.getTarget();this.setRootListener(!1),["click","focusin","focusout","mouseenter","mouseleave"].forEach((function(n){e&&Oi(e,n,t.handleEvent,Te)}),this)},setRootListener:function(t){var e=this.$root;if(e){var n=t?"$on":"$off",i=this.templateType;e[n](Mi(i,"hide"),this.doHide),e[n](Mi(i,"show"),this.doShow),e[n](Mi(i,"disable"),this.doDisable),e[n](Mi(i,"enable"),this.doEnable)}},setWhileOpenListeners:function(t){this.setModalListener(t),this.setDropdownListener(t),this.visibleCheck(t),this.setOnTouchStartListener(t)},visibleCheck:function(t){var e=this;this.clearVisibilityInterval();var n=this.getTarget(),i=this.getTemplateElement();t&&(this.$_visibleInterval=setInterval((function(){!i||!e.localShow||n.parentNode&&kn(n)||e.forceHide()}),100))},setModalListener:function(t){this.isInModal()&&this.$root[t?"$on":"$off"](Bb,this.forceHide)},setOnTouchStartListener:function(t){var e=this;"ontouchstart"in document.documentElement&&Ke(document.body.children).forEach((function(n){Si(t,n,"mouseover",e.$_noop)}))},setDropdownListener:function(t){var e=this.getTarget();e&&this.$root&&this.isDropdown&&e.__vue__&&e.__vue__[t?"$on":"$off"]("shown",this.forceHide)},handleEvent:function(t){var e=this.getTarget();if(e&&!On(e)&&this.$_enabled&&!this.dropdownOpen()){var n=t.type,i=this.computedTriggers;if("click"===n&&Je(i,"click"))this.click(t);else if("mouseenter"===n&&Je(i,"hover"))this.enter(t);else if("focusin"===n&&Je(i,"focus"))this.enter(t);else if("focusout"===n&&(Je(i,"focus")||Je(i,"blur"))||"mouseleave"===n&&Je(i,"hover")){var o=this.getTemplateElement(),r=t.target,a=t.relatedTarget;if(o&&En(o,r)&&En(e,a)||o&&En(e,r)&&En(o,a)||o&&En(o,r)&&En(o,a)||En(e,r)&&En(e,a))return;this.leave(t)}}},doHide:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.forceHide()},doShow:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.show()},doDisable:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.disable()},doEnable:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.enable()},click:function(t){this.$_enabled&&!this.dropdownOpen()&&(Xn(t.currentTarget),this.activeTrigger.click=!this.activeTrigger.click,this.isWithActiveTrigger?this.enter(null):this.leave(null))},toggle:function(){this.$_enabled&&!this.dropdownOpen()&&(this.localShow?this.leave(null):this.enter(null))},enter:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(this.activeTrigger["focusin"===e.type?"focus":"hover"]=!0),this.localShow||"in"===this.$_hoverState?this.$_hoverState="in":(this.clearHoverTimeout(),this.$_hoverState="in",this.computedDelay.show?(this.fixTitle(),this.$_hoverTimeout=setTimeout((function(){"in"===t.$_hoverState?t.show():t.localShow||t.restoreTitle()}),this.computedDelay.show)):this.show())},leave:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(this.activeTrigger["focusout"===e.type?"focus":"hover"]=!1,"focusout"===e.type&&Je(this.computedTriggers,"blur")&&(this.activeTrigger.click=!1,this.activeTrigger.hover=!1)),this.isWithActiveTrigger||(this.clearHoverTimeout(),this.$_hoverState="out",this.computedDelay.hide?this.$_hoverTimeout=setTimeout((function(){"out"===t.$_hoverState&&t.hide()}),this.computedDelay.hide):this.hide())}}});function Ub(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function zb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Hb=mi((zb($b={boundary:di([ut,$e,Le],"scrollParent"),boundaryPadding:di(Ge,50),container:di([ut,$e,Le]),customClass:di(Le),delay:di(qe,50)},"disabled",di(Me,!1)),zb($b,"fallbackPlacement",di(Ne,"flip")),zb($b,"id",di(Le)),zb($b,"noFade",di(Me,!1)),zb($b,"noninteractive",di(Me,!1)),zb($b,"offset",di(Ge,0)),zb($b,"placement",di(Le,"top")),zb($b,"show",di(Me,!1)),zb($b,"target",di([ut,dt,Ae,$e,Le],void 0,!0)),zb($b,"title",di(Le)),zb($b,"triggers",di(Ne,"hover focus")),zb($b,"variant",di(Le)),$b),"BTooltip"),Vb=o.a.extend({name:"BTooltip",mixins:[xi],inheritAttrs:!1,props:Hb,data:function(){return{localShow:this.show,localTitle:"",localContent:""}},computed:{templateData:function(){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ub(Object(n),!0).forEach((function(e){zb(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ub(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({title:this.localTitle,content:this.localContent,interactive:!this.noninteractive},Ut(this.$props,["boundary","boundaryPadding","container","customClass","delay","fallbackPlacement","id","noFade","offset","placement","target","target","triggers","variant","disabled"]))},templateTitleContent:function(){return{title:this.title,content:this.content}}},watch:(Ib={},zb(Ib,"show",(function(t,e){t!==e&&t!==this.localShow&&this.$_toolpop&&(t?this.$_toolpop.show():this.$_toolpop.forceHide())})),zb(Ib,"disabled",(function(t){t?this.doDisable():this.doEnable()})),zb(Ib,"localShow",(function(t){this.$emit("update:show",t)})),zb(Ib,"templateData",(function(){var t=this;this.$nextTick((function(){t.$_toolpop&&t.$_toolpop.updateData(t.templateData)}))})),zb(Ib,"templateTitleContent",(function(){this.$nextTick(this.updateContent)})),Ib),created:function(){this.$_toolpop=null},updated:function(){this.$nextTick(this.updateContent)},beforeDestroy:function(){this.$off("open",this.doOpen),this.$off("close",this.doClose),this.$off("disable",this.doDisable),this.$off("enable",this.doEnable),this.$_toolpop&&(this.$_toolpop.$destroy(),this.$_toolpop=null)},mounted:function(){var t=this;this.$nextTick((function(){var e=t.getComponent();t.updateContent();var n=ov(t)||ov(t.$parent),i=t.$_toolpop=new e({parent:t,_scopeId:n||void 0});i.updateData(t.templateData),i.$on("show",t.onShow),i.$on("shown",t.onShown),i.$on("hide",t.onHide),i.$on("hidden",t.onHidden),i.$on("disabled",t.onDisabled),i.$on("enabled",t.onEnabled),t.disabled&&t.doDisable(),t.$on("open",t.doOpen),t.$on("close",t.doClose),t.$on("disable",t.doDisable),t.$on("enable",t.doEnable),t.localShow&&i.show()}))},methods:{getComponent:function(){return Nb},updateContent:function(){this.setTitle(this.normalizeSlot()||this.title)},setTitle:function(t){t=bt(t)?"":t,this.localTitle!==t&&(this.localTitle=t)},setContent:function(t){t=bt(t)?"":t,this.localContent!==t&&(this.localContent=t)},onShow:function(t){this.$emit("show",t),t&&(this.localShow=!t.defaultPrevented)},onShown:function(t){this.localShow=!0,this.$emit("shown",t)},onHide:function(t){this.$emit("hide",t)},onHidden:function(t){this.$emit("hidden",t),this.localShow=!1},onDisabled:function(t){t&&"disabled"===t.type&&(this.$emit("update:disabled",!0),this.$emit("disabled",t))},onEnabled:function(t){t&&"enabled"===t.type&&(this.$emit("update:disabled",!1),this.$emit("enabled",t))},doOpen:function(){!this.localShow&&this.$_toolpop&&this.$_toolpop.show()},doClose:function(){this.localShow&&this.$_toolpop&&this.$_toolpop.hide()},doDisable:function(){this.$_toolpop&&this.$_toolpop.disable()},doEnable:function(){this.$_toolpop&&this.$_toolpop.enable()}},render:function(t){return t()}}),Wb=o.a.extend({name:"BVPopoverTemplate",extends:Mb,computed:{templateType:function(){return"popover"}},methods:{renderTemplate:function(t){var e=this.title,n=this.content,i=yt(e)?e({}):e,o=yt(n)?n({}):n,r=this.html&&!yt(e)?{innerHTML:e}:{},a=this.html&&!yt(n)?{innerHTML:n}:{};return t("div",{staticClass:"popover b-popover",class:this.templateClasses,attrs:this.templateAttributes,on:this.templateListeners},[t("div",{staticClass:"arrow",ref:"arrow"}),bt(i)||""===i?t():t("h3",{staticClass:"popover-header",domProps:r},[i]),bt(o)||""===o?t():t("div",{staticClass:"popover-body",domProps:a},[o])])}}}),Gb=o.a.extend({name:"BVPopover",extends:Nb,computed:{templateType:function(){return"popover"}},methods:{getTemplate:function(){return Wb}}});function qb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Yb(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qb(Object(n),!0).forEach((function(e){Xb(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qb(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Xb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Kb=mi(Ht(Yb(Yb({},Hb),{},{content:di(Le),placement:di(Le,"right"),triggers:di(Ne,"click")})),"BPopover"),Jb=o.a.extend({name:"BPopover",extends:Vb,inheritAttrs:!1,props:Kb,methods:{getComponent:function(){return Gb},updateContent:function(){this.setContent(this.normalizeSlot()||this.content),this.setTitle(this.normalizeSlot("title")||this.title)}}});function Zb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Qb(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Zb(Object(n),!0).forEach((function(e){ty(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Zb(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ty(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ey="__BV_Popover__",ny={focus:!0,hover:!0,click:!0,blur:!0,manual:!0},iy=/^html$/i,oy=/^nofade$/i,ry=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i,ay=/^(window|viewport|scrollParent)$/i,sy=/^d\d+$/i,ly=/^ds\d+$/i,cy=/^dh\d+$/i,uy=/^o-?\d+$/i,dy=/^v-.+$/i,py=/\s+/,hy=function(t,e,n){if(u){var i=function(t,e){var n={title:void 0,content:void 0,trigger:"",placement:"right",fallbackPlacement:"flip",container:!1,animation:!0,offset:0,disabled:!1,id:null,html:!1,delay:ti("BPopover","delay",50),boundary:String(ti("BPopover","boundary","scrollParent")),boundaryPadding:nn(ti("BPopover","boundaryPadding",5),0),variant:ti("BPopover","variant"),customClass:ti("BPopover","customClass")};if(_t(t.value)||xt(t.value)||yt(t.value)?n.content=t.value:St(t.value)&&(n=Qb(Qb({},n),t.value)),t.arg&&(n.container="#".concat(t.arg)),vt(n.title)){var i=e.data||{};n.title=i.attrs&&!bt(i.attrs.title)?i.attrs.title:void 0}St(n.delay)||(n.delay={show:nn(n.delay,0),hide:nn(n.delay,0)}),Ft(t.modifiers).forEach((function(t){if(iy.test(t))n.html=!0;else if(oy.test(t))n.animation=!1;else if(ry.test(t))n.placement=t;else if(ay.test(t))t="scrollparent"===t?"scrollParent":t,n.boundary=t;else if(sy.test(t)){var e=nn(t.slice(1),0);n.delay.show=e,n.delay.hide=e}else ly.test(t)?n.delay.show=nn(t.slice(2),0):cy.test(t)?n.delay.hide=nn(t.slice(2),0):uy.test(t)?n.offset=nn(t.slice(1),0):dy.test(t)&&(n.variant=t.slice(2)||null)}));var o={};return Ze(n.trigger||"").filter(Kt).join(" ").trim().toLowerCase().split(py).forEach((function(t){ny[t]&&(o[t]=!0)})),Ft(t.modifiers).forEach((function(t){t=t.toLowerCase(),ny[t]&&(o[t]=!0)})),n.trigger=Ft(o).join(" "),"blur"===n.trigger&&(n.trigger="focus"),n.trigger||(n.trigger="click"),n}(e,n);if(!t[ey]){var o=n.context;t[ey]=new Gb({parent:o,_scopeId:ov(o,void 0)}),t[ey].__bv_prev_data__={},t[ey].$on("show",(function(){var e={};yt(i.title)&&(e.title=i.title(t)),yt(i.content)&&(e.content=i.content(t)),Ft(e).length>0&&t[ey].updateData(e)}))}var r={title:i.title,content:i.content,triggers:i.trigger,placement:i.placement,fallbackPlacement:i.fallbackPlacement,variant:i.variant,customClass:i.customClass,container:i.container,boundary:i.boundary,delay:i.delay,offset:i.offset,noFade:!i.animation,id:i.id,disabled:i.disabled,html:i.html},a=t[ey].__bv_prev_data__;if(t[ey].__bv_prev_data__=r,!sr(r,a)){var s={target:t};Ft(r).forEach((function(e){r[e]!==a[e]&&(s[e]="title"!==e&&"content"!==e||!yt(r[e])?r[e]:r[e](t))})),t[ey].updateData(s)}}},fy=he({directives:{VBPopover:{bind:function(t,e,n){hy(t,e,n)},componentUpdated:function(t,e,n){n.context.$nextTick((function(){hy(t,e,n)}))},unbind:function(t){!function(t){t[ey]&&(t[ey].$destroy(),t[ey]=null),delete t[ey]}(t)}}}}),my=he({components:{BPopover:Jb},plugins:{VBPopoverPlugin:fy}}),vy=mi({animated:di(Me,null),label:di(Le),labelHtml:di(Le),max:di(Ge,null),precision:di(Ge,null),showProgress:di(Me,null),showValue:di(Me,null),striped:di(Me,null),value:di(Ge,0),variant:di(Le)},"BProgressBar"),gy=o.a.extend({name:"BProgressBar",mixins:[xi],inject:{bvProgress:{default:function(){return{}}}},props:vy,computed:{progressBarClasses:function(){var t=this.computedAnimated,e=this.computedVariant;return[e?"bg-".concat(e):"",this.computedStriped||t?"progress-bar-striped":"",t?"progress-bar-animated":""]},progressBarStyles:function(){return{width:this.computedValue/this.computedMax*100+"%"}},computedValue:function(){return on(this.value,0)},computedMax:function(){var t=on(this.max)||on(this.bvProgress.max,0);return t>0?t:100},computedPrecision:function(){return to(nn(this.precision,nn(this.bvProgress.precision,0)),0)},computedProgress:function(){var t=this.computedPrecision,e=oo(10,t);return rn(100*e*this.computedValue/this.computedMax/e,t)},computedVariant:function(){return this.variant||this.bvProgress.variant},computedStriped:function(){return wt(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated:function(){return wt(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress:function(){return wt(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue:function(){return wt(this.showValue)?this.showValue:this.bvProgress.showValue||!1}},render:function(t){var e,n=this.label,i=this.labelHtml,o=this.computedValue,r=this.computedPrecision,a={};return this.hasNormalizedSlot()?e=this.normalizeSlot():n||i?a=ia(i,n):this.computedShowProgress?e=this.computedProgress:this.computedShowValue&&(e=rn(o,r)),t("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":dn(this.computedMax),"aria-valuenow":rn(o,r)},domProps:a},e)}});function by(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function yy(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?by(Object(n),!0).forEach((function(e){wy(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):by(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function wy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _y,xy=zt(vy,["label","labelHtml"]),Cy=mi(Ht(yy(yy({},xy),{},{animated:di(Me,!1),height:di(Le),max:di(Ge,100),precision:di(Ge,0),showProgress:di(Me,!1),showValue:di(Me,!1),striped:di(Me,!1)})),"BProgress"),ky=he({components:{BProgress:o.a.extend({name:"BProgress",mixins:[xi],provide:function(){return{bvProgress:this}},props:Cy,computed:{progressHeight:function(){return{height:this.height||null}}},render:function(t){var e=this.normalizeSlot();return e||(e=t(gy,{props:hi(xy,this.$props)})),t("div",{staticClass:"progress",style:this.progressHeight},[e])}}),BProgressBar:gy}});function Oy(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Sy(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Oy(Object(n),!0).forEach((function(e){Py(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Oy(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Py(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ty=Mi("BCollapse","request-state"),jy=Mi("BCollapse","toggle"),My=ji("BCollapse","state"),Ey=ji("BCollapse","sync-state"),Ay=yi("visible",{type:Me,defaultValue:!1,event:"change"}),Dy=Ay.mixin,$y=Ay.props,Iy=Ay.prop,Ly=Ay.event,By=mi(Ht(Sy(Sy(Sy({},Ka),$y),{},{ariaLabel:di(Le),ariaLabelledby:di(Le),backdrop:di(Me,!1),backdropVariant:di(Le,"dark"),bgVariant:di(Le,"light"),bodyClass:di(Re),closeLabel:di(Le),footerClass:di(Re),headerClass:di(Re),lazy:di(Me,!1),noCloseOnBackdrop:di(Me,!1),noCloseOnEsc:di(Me,!1),noCloseOnRouteChange:di(Me,!1),noEnforceFocus:di(Me,!1),noHeader:di(Me,!1),noHeaderClose:di(Me,!1),noSlide:di(Me,!1),right:di(Me,!1),shadow:di(He,!1),sidebarClass:di(Re),tag:di(Le,"div"),textVariant:di(Le,"dark"),title:di(Le),width:di(Le),zIndex:di(Ge)})),"BSidebar"),Fy=function(t,e){if(e.noHeader)return t();var n=e.normalizeSlot("header",e.slotScope);if(!n){var i=function(t,e){var n=e.normalizeSlot("title",e.slotScope)||e.title;return n?t("strong",{attrs:{id:e.safeId("__title__")}},[n]):t("span")}(t,e),o=function(t,e){if(e.noHeaderClose)return t();var n=e.closeLabel,i=e.textVariant,o=e.hide;return t(Ai,{props:{ariaLabel:n,textVariant:i},on:{click:o},ref:"close-button"},[e.normalizeSlot("header-close")||t(Go)])}(t,e);n=e.right?[o,i]:[i,o]}return t("header",{staticClass:"".concat("b-sidebar","-header"),class:e.headerClass,key:"header"},n)},Ry=function(t,e){return t("div",{staticClass:"".concat("b-sidebar","-body"),class:e.bodyClass,key:"body"},[e.normalizeSlot("default",e.slotScope)])},Ny=function(t,e){var n=e.normalizeSlot("footer",e.slotScope);return n?t("footer",{staticClass:"".concat("b-sidebar","-footer"),class:e.footerClass,key:"footer"},[n]):t()},Uy=function(t,e){var n=Fy(t,e);return e.lazy&&!e.isOpen?n:[n,Ry(t,e),Ny(t,e)]},zy=function(t,e){if(!e.backdrop)return t();var n=e.backdropVariant;return t("div",{directives:[{name:"show",value:e.localShow}],staticClass:"b-sidebar-backdrop",class:Py({},"bg-".concat(n),n),on:{click:e.onBackdropClick}})},Hy=he({components:{BSidebar:o.a.extend({name:"BSidebar",mixins:[pr,Ja,Dy,hr,xi],inheritAttrs:!1,props:By,data:function(){var t=!!this[Iy];return{localShow:t,isOpen:t}},computed:{transitionProps:function(){return this.noSlide?{css:!0}:{css:!0,enterClass:"",enterActiveClass:"slide",enterToClass:"show",leaveClass:"show",leaveActiveClass:"slide",leaveToClass:""}},slotScope:function(){return{hide:this.hide,right:this.right,visible:this.localShow}},hasTitle:function(){var t=this.$scopedSlots,e=this.$slots;return!(this.noHeader||this.hasNormalizedSlot("header")||!this.normalizeSlot("title",this.slotScope,t,e)&&!this.title)},titleId:function(){return this.hasTitle?this.safeId("__title__"):null},computedAttrs:function(){return Sy(Sy({},this.bvAttrs),{},{id:this.safeId(),tabindex:"-1",role:"dialog","aria-modal":this.backdrop?"true":"false","aria-hidden":this.localShow?null:"true","aria-label":this.ariaLabel||null,"aria-labelledby":this.ariaLabelledby||this.titleId||null})}},watch:(_y={},Py(_y,Iy,(function(t,e){t!==e&&(this.localShow=t)})),Py(_y,"localShow",(function(t,e){t!==e&&(this.emitState(t),this.$emit(Ly,t))})),Py(_y,"$route",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.noCloseOnRouteChange||t.fullPath===e.fullPath||this.hide()})),_y),created:function(){this.$_returnFocusEl=null},mounted:function(){var t=this;this.listenOnRoot(jy,this.handleToggle),this.listenOnRoot(Ty,this.handleSync),this.$nextTick((function(){t.emitState(t.localShow)}))},activated:function(){this.emitSync()},beforeDestroy:function(){this.localShow=!1,this.$_returnFocusEl=null},methods:{hide:function(){this.localShow=!1},emitState:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(My,this.safeId(),t)},emitSync:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(Ey,this.safeId(),t)},handleToggle:function(t){t&&t===this.safeId()&&(this.localShow=!this.localShow)},handleSync:function(t){var e=this;t&&t===this.safeId()&&this.$nextTick((function(){e.emitSync(e.localShow)}))},onKeydown:function(t){var e=t.keyCode;!this.noCloseOnEsc&&27===e&&this.localShow&&this.hide()},onBackdropClick:function(){this.localShow&&!this.noCloseOnBackdrop&&this.hide()},onTopTrapFocus:function(){var t=Yn(this.$refs.content);this.enforceFocus(t.reverse()[0])},onBottomTrapFocus:function(){var t=Yn(this.$refs.content);this.enforceFocus(t[0])},onBeforeEnter:function(){this.$_returnFocusEl=_n(u?[document.body]:[]),this.isOpen=!0},onAfterEnter:function(t){En(t,_n())||this.enforceFocus(t),this.$emit("shown")},onAfterLeave:function(){this.enforceFocus(this.$_returnFocusEl),this.$_returnFocusEl=null,this.isOpen=!1,this.$emit("hidden")},enforceFocus:function(t){this.noEnforceFocus||Xn(t)}},render:function(t){var e,n=this.bgVariant,i=this.width,o=this.textVariant,r=this.localShow,a=""===this.shadow||this.shadow,s=t(this.tag,{staticClass:"b-sidebar",class:[(e={shadow:!0===a},Py(e,"shadow-".concat(a),a&&!0!==a),Py(e,"".concat("b-sidebar","-right"),this.right),Py(e,"bg-".concat(n),n),Py(e,"text-".concat(o),o),e),this.sidebarClass],style:{width:i},attrs:this.computedAttrs,directives:[{name:"show",value:r}],ref:"content"},[Uy(t,this)]);s=t("transition",{props:this.transitionProps,on:{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[s]);var l=t(Ni,{props:{noFade:this.noSlide}},[zy(t,this)]),c=t(),u=t();return this.backdrop&&r&&(c=t("div",{attrs:{tabindex:"0"},on:{focus:this.onTopTrapFocus}}),u=t("div",{attrs:{tabindex:"0"},on:{focus:this.onBottomTrapFocus}})),t("div",{staticClass:"b-sidebar-outer",style:{zIndex:this.zIndex},attrs:{tabindex:"-1"},on:{keydown:this.onKeydown}},[c,s,u,l])}})},plugins:{VBTogglePlugin:yc}});function Vy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Wy=mi({animation:di(Le,"wave"),height:di(Le),size:di(Le),type:di(Le,"text"),variant:di(Le),width:di(Le)},"BSkeleton"),Gy=o.a.extend({name:"BSkeleton",functional:!0,props:Wy,render:function(t,e){var n,i=e.data,o=e.props,r=o.size,a=o.animation,s=o.variant;return t("div",Oe(i,{staticClass:"b-skeleton",style:{width:r||o.width,height:r||o.height},class:(n={},Vy(n,"b-skeleton-".concat(o.type),!0),Vy(n,"b-skeleton-animate-".concat(a),a),Vy(n,"bg-".concat(s),s),n)}))}});function qy(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Yy(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qy(Object(n),!0).forEach((function(e){Xy(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qy(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Xy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ky=mi({animation:di(Le,"wave"),icon:di(Le),iconProps:di($e,{})},"BSkeletonIcon"),Jy=o.a.extend({name:"BSkeletonIcon",functional:!0,props:Ky,render:function(t,e){var n=e.props,i=n.icon,o=n.animation,r=t(Zo,{staticClass:"b-skeleton-icon",props:Yy(Yy({},n.iconProps),{},{icon:i})});return t("div",{staticClass:"b-skeleton-icon-wrapper position-relative d-inline-block overflow-hidden",class:Xy({},"b-skeleton-animate-".concat(o),o)},[r])}});var Zy=mi({animation:di(Le),aspect:di(Le,"16:9"),cardImg:di(Le),height:di(Le),noAspect:di(Me,!1),variant:di(Le),width:di(Le)},"BSkeletonImg"),Qy=o.a.extend({name:"BSkeletonImg",functional:!0,props:Zy,render:function(t,e){var n,i,o,r=e.props,a=r.aspect,s=r.width,l=r.height,c=r.animation,u=r.variant,d=r.cardImg,p=t(Gy,{props:{type:"img",width:s,height:l,animation:c,variant:u},class:(n={},i="card-img-".concat(d),o=d,i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,n)});return r.noAspect?p:t(co,{props:{aspect:a}},[p])}}),tw=o.a.extend({methods:{hasListener:function(t){var e=this.$listeners||{},n=this._events||{};return!vt(e[t])||kt(n[t])&&n[t].length>0}}});var ew={stacked:di(He,!1)},nw=o.a.extend({props:ew,computed:{isStacked:function(){var t=this.stacked;return""===t||t},isStackedAlways:function(){return!0===this.isStacked},stackedTableClasses:function(){var t,e,n,i=this.isStackedAlways;return t={"b-table-stacked":i},e="b-table-stacked-".concat(this.stacked),n=!i&&this.isStacked,e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}}});function iw(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ow(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?iw(Object(n),!0).forEach((function(e){rw(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):iw(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function rw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var aw={bordered:di(Me,!1),borderless:di(Me,!1),captionTop:di(Me,!1),dark:di(Me,!1),fixed:di(Me,!1),hover:di(Me,!1),noBorderCollapse:di(Me,!1),outlined:di(Me,!1),responsive:di(He,!1),small:di(Me,!1),stickyHeader:di(He,!1),striped:di(Me,!1),tableClass:di(Re),tableVariant:di(Le)},sw=o.a.extend({mixins:[pr],provide:function(){return{bvTable:this}},inheritAttrs:!1,props:aw,computed:{isResponsive:function(){var t=this.responsive;return""===t||t},isStickyHeader:function(){var t=this.stickyHeader;return t=""===t||t,!this.isStacked&&t},wrapperClasses:function(){var t=this.isResponsive;return[this.isStickyHeader?"b-table-sticky-header":"",!0===t?"table-responsive":t?"table-responsive-".concat(this.responsive):""].filter(Kt)},wrapperStyles:function(){var t=this.isStickyHeader;return t&&!wt(t)?{maxHeight:t}:{}},tableClasses:function(){var t=this.hover,e=this.tableVariant;return t=this.isTableSimple?t:t&&this.computedItems.length>0&&!this.computedBusy,[this.tableClass,{"table-striped":this.striped,"table-hover":t,"table-dark":this.dark,"table-bordered":this.bordered,"table-borderless":this.borderless,"table-sm":this.small,border:this.outlined,"b-table-fixed":this.fixed,"b-table-caption-top":this.captionTop,"b-table-no-border-collapse":this.noBorderCollapse},e?"".concat(this.dark?"bg":"table","-").concat(e):"",this.stackedTableClasses,this.selectableTableClasses]},tableAttrs:function(){var t=this.computedItems,e=this.filteredItems,n=this.computedFields,i=this.selectableTableAttrs,o=this.isTableSimple?{}:{"aria-busy":this.computedBusy?"true":"false","aria-colcount":dn(n.length),"aria-describedby":this.bvAttrs["aria-describedby"]||this.$refs.caption?this.captionId:null};return ow(ow(ow({"aria-rowcount":t&&e&&e.length>t.length?dn(e.length):null},this.bvAttrs),{},{id:this.safeId(),role:"table"},o),i)}},render:function(t){var e=this.wrapperClasses,n=this.renderCaption,i=this.renderColgroup,o=this.renderThead,r=this.renderTbody,a=this.renderTfoot,s=[];this.isTableSimple?s.push(this.normalizeSlot()):(s.push(n?n():null),s.push(i?i():null),s.push(o?o():null),s.push(r?r():null),s.push(a?a():null));var l=t("table",{staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs,key:"b-table"},s.filter(Kt));return e.length>0?t("div",{class:e,style:this.wrapperStyles,key:"wrap"},[l]):l}});function lw(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function cw(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?lw(Object(n),!0).forEach((function(e){uw(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lw(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function uw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var dw=mi(Ht(cw(cw(cw({},Ka),ew),aw)),"BTableSimple"),pw=o.a.extend({name:"BTableSimple",mixins:[pr,tw,Ja,xi,sw,nw],props:dw,computed:{isTableSimple:function(){return!0}}});function hw(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function fw(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?hw(Object(n),!0).forEach((function(e){mw(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):hw(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function mw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var vw=function(t){return t>0},gw=mi({animation:di(Le),columns:di(De,5,vw),hideHeader:di(Me,!1),rows:di(De,3,vw),showFooter:di(Me,!1),tableProps:di($e,{})},"BSkeletonTable"),bw=o.a.extend({name:"BSkeletonTable",functional:!0,props:gw,render:function(t,e){var n=e.props,i=n.animation,o=n.columns,r=t("th",[t(Gy,{props:{animation:i}})]),a=t("tr",Qe(o,r)),s=t("td",[t(Gy,{props:{width:"75%",animation:i}})]),l=t("tr",Qe(o,s)),c=t("tbody",Qe(n.rows,l)),u=n.hideHeader?t():t("thead",[a]),d=n.showFooter?t("tfoot",[a]):t();return t(pw,{props:fw({},n.tableProps)},[u,c,d])}}),yw=mi({loading:di(Me,!1)},"BSkeletonWrapper"),ww=he({components:{BSkeleton:Gy,BSkeletonIcon:Jy,BSkeletonImg:Qy,BSkeletonTable:bw,BSkeletonWrapper:o.a.extend({name:"BSkeletonWrapper",functional:!0,props:yw,render:function(t,e){var n=e.data,i=e.props,o=e.slots,r=e.scopedSlots,a=o(),s=r||{},l={};return i.loading?t("div",Oe(n,{attrs:{role:"alert","aria-live":"polite","aria-busy":!0},staticClass:"b-skeleton-wrapper",key:"loading"}),_i("loading",l,s,a)):_i("default",l,s,a)}})}}),_w=he({components:{BSpinner:zg}});function xw(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Cw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var kw=mi({variant:di(Le)},"BTr"),Ow=o.a.extend({name:"BTr",mixins:[pr,fr,xi],provide:function(){return{bvTableTr:this}},inject:{bvTableRowGroup:{default:function(){return{}}}},inheritAttrs:!1,props:kw,computed:{inTbody:function(){return this.bvTableRowGroup.isTbody},inThead:function(){return this.bvTableRowGroup.isThead},inTfoot:function(){return this.bvTableRowGroup.isTfoot},isDark:function(){return this.bvTableRowGroup.isDark},isStacked:function(){return this.bvTableRowGroup.isStacked},isResponsive:function(){return this.bvTableRowGroup.isResponsive},isStickyHeader:function(){return this.bvTableRowGroup.isStickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTableRowGroup.hasStickyHeader},tableVariant:function(){return this.bvTableRowGroup.tableVariant},headVariant:function(){return this.inThead?this.bvTableRowGroup.headVariant:null},footVariant:function(){return this.inTfoot?this.bvTableRowGroup.footVariant:null},isRowDark:function(){return"light"!==this.headVariant&&"light"!==this.footVariant&&("dark"===this.headVariant||"dark"===this.footVariant||this.isDark)},trClasses:function(){var t=this.variant;return[t?"".concat(this.isRowDark?"bg":"table","-").concat(t):null]},trAttrs:function(){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xw(Object(n),!0).forEach((function(e){Cw(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xw(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({role:"row"},this.bvAttrs)}},render:function(t){return t("tr",{class:this.trClasses,attrs:this.trAttrs,on:this.bvListeners},this.normalizeSlot())}}),Sw={},Pw=o.a.extend({props:Sw,methods:{renderBottomRow:function(){var t=this.computedFields,e=this.stacked,n=this.tbodyTrClass,i=this.tbodyTrAttr,o=this.$createElement;return this.hasNormalizedSlot("bottom-row")&&!0!==e&&""!==e?o(Ow,{staticClass:"b-table-bottom-row",class:[yt(n)?n(null,"row-bottom"):n],attrs:yt(i)?i(null,"row-bottom"):i,key:"b-bottom-row"},this.normalizeSlot("bottom-row",{columns:t.length,fields:t})):o()}}});function Tw(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function jw(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Tw(Object(n),!0).forEach((function(e){Mw(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Tw(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Mw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ew=function(t){return(t=nn(t,0))>0?t:null},Aw=function(t){return bt(t)||Ew(t)>0},Dw=mi({colspan:di(Ge,null,Aw),rowspan:di(Ge,null,Aw),stackedHeading:di(Le),stickyColumn:di(Me,!1),variant:di(Le)},"BTableCell"),$w=o.a.extend({name:"BTableCell",mixins:[pr,fr,xi],inject:{bvTableTr:{default:function(){return{}}}},inheritAttrs:!1,props:Dw,computed:{tag:function(){return"td"},inTbody:function(){return this.bvTableTr.inTbody},inThead:function(){return this.bvTableTr.inThead},inTfoot:function(){return this.bvTableTr.inTfoot},isDark:function(){return this.bvTableTr.isDark},isStacked:function(){return this.bvTableTr.isStacked},isStackedCell:function(){return this.inTbody&&this.isStacked},isResponsive:function(){return this.bvTableTr.isResponsive},isStickyHeader:function(){return this.bvTableTr.isStickyHeader},hasStickyHeader:function(){return this.bvTableTr.hasStickyHeader},isStickyColumn:function(){return!this.isStacked&&(this.isResponsive||this.hasStickyHeader)&&this.stickyColumn},rowVariant:function(){return this.bvTableTr.variant},headVariant:function(){return this.bvTableTr.headVariant},footVariant:function(){return this.bvTableTr.footVariant},tableVariant:function(){return this.bvTableTr.tableVariant},computedColspan:function(){return Ew(this.colspan)},computedRowspan:function(){return Ew(this.rowspan)},cellClasses:function(){var t=this.variant,e=this.headVariant,n=this.isStickyColumn;return(!t&&this.isStickyHeader&&!e||!t&&n&&this.inTfoot&&!this.footVariant||!t&&n&&this.inThead&&!e||!t&&n&&this.inTbody)&&(t=this.rowVariant||this.tableVariant||"b-table-default"),[t?"".concat(this.isDark?"bg":"table","-").concat(t):null,n?"b-table-sticky-column":null]},cellAttrs:function(){var t=this.stackedHeading,e=this.inThead||this.inTfoot,n=this.computedColspan,i=this.computedRowspan,o="cell",r=null;return e?(o="columnheader",r=n>0?"colspan":"col"):xn(this.tag,"th")&&(o="rowheader",r=i>0?"rowgroup":"row"),jw(jw({colspan:n,rowspan:i,role:o,scope:r},this.bvAttrs),{},{"data-label":this.isStackedCell&&!bt(t)?dn(t):null})}},render:function(t){var e=[this.normalizeSlot()];return t(this.tag,{class:this.cellClasses,attrs:this.cellAttrs,on:this.bvListeners},[this.isStackedCell?t("div",[e]):e])}});var Iw,Lw,Bw,Fw=(Iw={},Lw="busy",Bw=di(Me,!1),Lw in Iw?Object.defineProperty(Iw,Lw,{value:Bw,enumerable:!0,configurable:!0,writable:!0}):Iw[Lw]=Bw,Iw),Rw=o.a.extend({props:Fw,data:function(){return{localBusy:!1}},computed:{computedBusy:function(){return this.busy||this.localBusy}},watch:{localBusy:function(t,e){t!==e&&this.$emit("update:busy",t)}},methods:{stopIfBusy:function(t){return!!this.computedBusy&&(Pi(t),!0)},renderBusy:function(){var t=this.tbodyTrClass,e=this.tbodyTrAttr,n=this.$createElement;return this.computedBusy&&this.hasNormalizedSlot("table-busy")?n(Ow,{staticClass:"b-table-busy-slot",class:[yt(t)?t(null,"table-busy"):t],attrs:yt(e)?e(null,"table-busy"):e,key:"table-busy-slot"},[n($w,{props:{colspan:this.computedFields.length||null}},[this.normalizeSlot("table-busy")])]):null}}}),Nw={caption:di(Le),captionHtml:di(Le)},Uw=o.a.extend({props:Nw,computed:{captionId:function(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption:function(){var t=this.caption,e=this.captionHtml,n=this.$createElement,i=n(),o=this.hasNormalizedSlot("table-caption");return(o||t||e)&&(i=n("caption",{attrs:{id:this.captionId},domProps:o?{}:ia(e,t),key:"caption",ref:"caption"},this.normalizeSlot("table-caption"))),i}}}),zw={},Hw=o.a.extend({methods:{renderColgroup:function(){var t=this.computedFields,e=this.$createElement,n=e();return this.hasNormalizedSlot("table-colgroup")&&(n=e("colgroup",{key:"colgroup"},[this.normalizeSlot("table-colgroup",{columns:t.length,fields:t})])),n}}}),Vw={emptyFilteredHtml:di(Le),emptyFilteredText:di(Le,"There are no records matching your request"),emptyHtml:di(Le),emptyText:di(Le,"There are no records to show"),showEmpty:di(Me,!1)},Ww=o.a.extend({props:Vw,methods:{renderEmpty:function(){var t=this.computedItems,e=this.$createElement,n=e();if(this.showEmpty&&(!t||0===t.length)&&(!this.computedBusy||!this.hasNormalizedSlot("table-busy"))){var i=this.computedFields,o=this.isFiltered,r=this.emptyText,a=this.emptyHtml,s=this.emptyFilteredText,l=this.emptyFilteredHtml,c=this.tbodyTrClass,u=this.tbodyTrAttr;(n=this.normalizeSlot(o?"emptyfiltered":"empty",{emptyFilteredHtml:l,emptyFilteredText:s,emptyHtml:a,emptyText:r,fields:i,items:t}))||(n=e("div",{class:["text-center","my-2"],domProps:o?ia(l,s):ia(a,r)})),n=e($w,{props:{colspan:i.length||null}},[e("div",{attrs:{role:"alert","aria-live":"polite"}},[n])]),n=e(Ow,{staticClass:"b-table-empty-row",class:[yt(c)?c(null,"row-empty"):c],attrs:yt(u)?u(null,"row-empty"):u,key:o?"b-empty-filtered-row":"b-empty-row"},[n])}return n}}}),Gw=function t(e){return bt(e)?"":Ot(e)&&!Pt(e)?Ft(e).sort().map((function(n){return t(e[n])})).filter((function(t){return!!t})).join(" "):dn(e)};function qw(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Yw(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qw(Object(n),!0).forEach((function(e){Xw(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qw(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Xw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Kw="_cellVariants",Jw="_rowVariant",Zw="_showDetails",Qw=[Kw,Jw,Zw].reduce((function(t,e){return Yw(Yw({},t),{},Xw({},e,!0))}),{}),t_=["a","a *","button","button *","input:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])","textarea:not(.disabled):not([disabled])",'[role="link"]','[role="link"] *','[role="button"]','[role="button"] *',"[tabindex]:not(.disabled):not([disabled])"].join(","),e_=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=Ft(i).reduce((function(e,n){var o=i[n],r=o.filterByFormatted,a=yt(r)?r:r?o.formatter:null;return yt(a)&&(e[n]=a(t[n],n,t)),e}),Nt(t)),r=Ft(o).filter((function(t){return!(Qw[t]||kt(e)&&e.length>0&&Je(e,t)||kt(n)&&n.length>0&&!Je(n,t))}));return Ut(o,r)};function n_(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var i_={filter:di([].concat(function(t){return function(t){if(Array.isArray(t))return n_(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n_(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return n_(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Re),[Ie])),filterDebounce:di(Ge,0,(function(t){return k.test(String(t))})),filterFunction:di(Ae),filterIgnoredFields:di(je,[]),filterIncludedFields:di(je,[])},o_=o.a.extend({props:i_,data:function(){return{isFiltered:!1,localFilter:this.filterSanitize(this.filter)}},computed:{computedFilterIgnored:function(){return Ze(this.filterIgnoredFields||[]).filter(Kt)},computedFilterIncluded:function(){return Ze(this.filterIncludedFields||[]).filter(Kt)},computedFilterDebounce:function(){var t=nn(this.filterDebounce,0);return t>0&&te('Prop "filter-debounce" is deprecated. Use the debounce feature of "<b-form-input>" instead.',"BTable"),t},localFiltering:function(){return!this.hasProvider||!!this.noProviderFiltering},filteredCheck:function(){return{filteredItems:this.filteredItems,localItems:this.localItems,localFilter:this.localFilter}},localFilterFn:function(){var t=this.filterFunction;return gi(t)?t:null},filteredItems:function(){var t=this.localItems,e=this.localFilter,n=this.localFiltering?this.filterFnFactory(this.localFilterFn,e)||this.defaultFilterFnFactory(e):null;return n&&t.length>0?t.filter(n):t}},watch:{computedFilterDebounce:function(t){!t&&this.$_filterTimer&&(this.clearFilterTimer(),this.localFilter=this.filterSanitize(this.filter))},filter:{deep:!0,handler:function(t){var e=this,n=this.computedFilterDebounce;this.clearFilterTimer(),n&&n>0?this.$_filterTimer=setTimeout((function(){e.localFilter=e.filterSanitize(t)}),n):this.localFilter=this.filterSanitize(t)}},filteredCheck:function(t){var e=t.filteredItems,n=t.localFilter,i=!1;n?sr(n,[])||sr(n,{})?i=!1:n&&(i=!0):i=!1,i&&this.$emit("filtered",e,e.length),this.isFiltered=i},isFiltered:function(t,e){if(!1===t&&!0===e){var n=this.localItems;this.$emit("filtered",n,n.length)}}},created:function(){var t=this;this.$_filterTimer=null,this.$nextTick((function(){t.isFiltered=Boolean(t.localFilter)}))},beforeDestroy:function(){this.clearFilterTimer()},methods:{clearFilterTimer:function(){clearTimeout(this.$_filterTimer),this.$_filterTimer=null},filterSanitize:function(t){return!this.localFiltering||this.localFilterFn||_t(t)||jt(t)?Xt(t):""},filterFnFactory:function(t,e){if(!t||!yt(t)||!e||sr(e,[])||sr(e,{}))return null;return function(n){return t(n,e)}},defaultFilterFnFactory:function(t){var e=this;if(!t||!_t(t)&&!jt(t))return null;var n=t;if(_t(n)){var i=un(t).replace($,"\\s+");n=new RegExp(".*".concat(i,".*"),"i")}return function(t){return n.lastIndex=0,n.test((i=t,o=e.computedFilterIgnored,r=e.computedFilterIncluded,a=e.computedFieldsObj,Ot(i)?Gw(e_(i,o,r,a)):""));var i,o,r,a}}}}),r_=function(t,e){var n=[];if(kt(t)&&t.filter(Kt).forEach((function(t){if(_t(t))n.push({key:t,label:ln(t)});else if(Ot(t)&&t.key&&_t(t.key))n.push(Nt(t));else if(Ot(t)&&1===Ft(t).length){var e=Ft(t)[0],i=function(t,e){var n=null;return _t(e)?n={key:t,label:e}:yt(e)?n={key:t,formatter:e}:Ot(e)?(n=Nt(e)).key=n.key||t:!1!==e&&(n={key:t}),n}(e,t[e]);i&&n.push(i)}})),0===n.length&&kt(e)&&e.length>0){var i=e[0];Ft(i).forEach((function(t){Qw[t]||n.push({key:t,label:ln(t)})}))}var o={};return n.filter((function(t){return!o[t.key]&&(o[t.key]=!0,t.label=_t(t.label)?t.label:ln(t.key),!0)}))};function a_(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function s_(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a_(Object(n),!0).forEach((function(e){l_(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c_=yi("value",{type:je,defaultValue:[]}),u_=c_.mixin,d_=c_.props,p_=c_.prop,h_=c_.event,f_=Ht(s_(s_({},d_),{},l_({fields:di(je,null),items:di(je,[]),primaryKey:di(Le)},p_,di(je,[])))),m_=o.a.extend({mixins:[u_],props:f_,data:function(){var t=this.items;return{localItems:kt(t)?t.slice():[]}},computed:{computedFields:function(){return r_(this.fields,this.localItems)},computedFieldsObj:function(){var t=this.$parent;return this.computedFields.reduce((function(e,n){if(e[n.key]=Nt(n),n.formatter){var i=n.formatter;_t(i)&&yt(t[i])?i=t[i]:yt(i)||(i=void 0),e[n.key].formatter=i}return e}),{})},computedItems:function(){return(this.paginatedItems||this.sortedItems||this.filteredItems||this.localItems||[]).slice()},context:function(){return{filter:this.localFilter,sortBy:this.localSortBy,sortDesc:this.localSortDesc,perPage:to(nn(this.perPage,0),0),currentPage:to(nn(this.currentPage,0),1),apiUrl:this.apiUrl}}},watch:{items:function(t){this.localItems=kt(t)?t.slice():[]},computedItems:function(t,e){sr(t,e)||this.$emit(h_,t)},context:function(t,e){sr(t,e)||this.$emit("context-changed",t)}},mounted:function(){this.$emit(h_,this.computedItems)},methods:{getFieldFormatter:function(t){var e=this.computedFieldsObj[t];return e?e.formatter:void 0}}}),v_={currentPage:di(Ge,1),perPage:di(Ge,0)},g_=o.a.extend({props:v_,computed:{localPaging:function(){return!this.hasProvider||!!this.noProviderPaging},paginatedItems:function(){var t=this.sortedItems||this.filteredItems||this.localItems||[],e=to(nn(this.currentPage,1),1),n=to(nn(this.perPage,0),0);return this.localPaging&&n&&(t=t.slice((e-1)*n,e*n)),t}}}),b_=ji("BTable","refreshed"),y_=Mi("BTable","refresh"),w_={apiUrl:di(Le),items:di(Be,[]),noProviderFiltering:di(Me,!1),noProviderPaging:di(Me,!1),noProviderSorting:di(Me,!1)},__=o.a.extend({mixins:[hr],props:w_,computed:{hasProvider:function(){return yt(this.items)},providerTriggerContext:function(){var t={apiUrl:this.apiUrl,filter:null,sortBy:null,sortDesc:null,perPage:null,currentPage:null};return this.noProviderFiltering||(t.filter=this.localFilter),this.noProviderSorting||(t.sortBy=this.localSortBy,t.sortDesc=this.localSortDesc),this.noProviderPaging||(t.perPage=this.perPage,t.currentPage=this.currentPage),Nt(t)}},watch:{items:function(t){(this.hasProvider||yt(t))&&this.$nextTick(this._providerUpdate)},providerTriggerContext:function(t,e){sr(t,e)||this.$nextTick(this._providerUpdate)}},mounted:function(){var t=this;!this.hasProvider||this.localItems&&0!==this.localItems.length||this._providerUpdate(),this.listenOnRoot(y_,(function(e){e!==t.id&&e!==t||t.refresh()}))},methods:{refresh:function(){var t=this.items,e=this.refresh;this.$off("refreshed",e),this.computedBusy?this.localBusy&&this.hasProvider&&this.$on("refreshed",e):(this.clearSelected(),this.hasProvider?this.$nextTick(this._providerUpdate):this.localItems=kt(t)?t.slice():[])},_providerSetLocal:function(t){this.localItems=kt(t)?t.slice():[],this.localBusy=!1,this.$emit("refreshed"),this.id&&this.emitOnRoot(b_,this.id)},_providerUpdate:function(){var t=this;this.hasProvider&&(this.computedBusy?this.$nextTick(this.refresh):(this.localBusy=!0,this.$nextTick((function(){try{var e=t.items(t.context,t._providerSetLocal);!function(t){return!bt(t)&&yt(t.then)&&yt(t.catch)}(e)?kt(e)?t._providerSetLocal(e):2!==t.items.length&&(te("Provider function didn't request callback and did not return a promise or data.","BTable"),t.localBusy=!1):e.then((function(e){t._providerSetLocal(e)}))}catch(e){te("Provider function error [".concat(e.name,"] ").concat(e.message,"."),"BTable"),t.localBusy=!1,t.$off("refreshed",t.refresh)}}))))}}});function x_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var C_,k_,O_=["range","multi","single"],S_={noSelectOnClick:di(Me,!1),selectMode:di(Le,"multi",(function(t){return Je(O_,t)})),selectable:di(Me,!1),selectedVariant:di(Le,"active")},P_=o.a.extend({props:S_,data:function(){return{selectedRows:[],selectedLastRow:-1}},computed:{isSelectable:function(){return this.selectable&&this.selectMode},hasSelectableRowClick:function(){return this.isSelectable&&!this.noSelectOnClick},supportsSelectableRows:function(){return!0},selectableHasSelection:function(){var t=this.selectedRows;return this.isSelectable&&t&&t.length>0&&t.some(Kt)},selectableIsMultiSelect:function(){return this.isSelectable&&Je(["range","multi"],this.selectMode)},selectableTableClasses:function(){var t,e=this.isSelectable;return x_(t={"b-table-selectable":e},"b-table-select-".concat(this.selectMode),e),x_(t,"b-table-selecting",this.selectableHasSelection),x_(t,"b-table-selectable-no-click",e&&!this.hasSelectableRowClick),t},selectableTableAttrs:function(){return{"aria-multiselectable":this.isSelectable?this.selectableIsMultiSelect?"true":"false":null}}},watch:{computedItems:function(t,e){var n=!1;if(this.isSelectable&&this.selectedRows.length>0){n=kt(t)&&kt(e)&&t.length===e.length;for(var i=0;n&&i<t.length;i++)n=sr(e_(t[i]),e_(e[i]))}n||this.clearSelected()},selectable:function(t){this.clearSelected(),this.setSelectionHandlers(t)},selectMode:function(){this.clearSelected()},hasSelectableRowClick:function(t){this.clearSelected(),this.setSelectionHandlers(!t)},selectedRows:function(t,e){var n=this;if(this.isSelectable&&!sr(t,e)){var i=[];t.forEach((function(t,e){t&&i.push(n.computedItems[e])})),this.$emit("row-selected",i)}}},beforeMount:function(){this.isSelectable&&this.setSelectionHandlers(!0)},methods:{selectRow:function(t){if(this.isSelectable&&xt(t)&&t>=0&&t<this.computedItems.length&&!this.isRowSelected(t)){var e=this.selectableIsMultiSelect?this.selectedRows.slice():[];e[t]=!0,this.selectedLastClicked=-1,this.selectedRows=e}},unselectRow:function(t){if(this.isSelectable&&xt(t)&&this.isRowSelected(t)){var e=this.selectedRows.slice();e[t]=!1,this.selectedLastClicked=-1,this.selectedRows=e}},selectAllRows:function(){var t=this.computedItems.length;this.isSelectable&&t>0&&(this.selectedLastClicked=-1,this.selectedRows=this.selectableIsMultiSelect?Qe(t,!0):[!0])},isRowSelected:function(t){return!(!xt(t)||!this.selectedRows[t])},clearSelected:function(){this.selectedLastClicked=-1,this.selectedRows=[]},selectableRowClasses:function(t){if(this.isSelectable&&this.isRowSelected(t)){var e=this.selectedVariant;return x_({"b-table-row-selected":!0},"".concat(this.dark?"bg":"table","-").concat(e),e)}return{}},selectableRowAttrs:function(t){return{"aria-selected":this.isSelectable?this.isRowSelected(t)?"true":"false":null}},setSelectionHandlers:function(t){var e=t&&!this.noSelectOnClick?"$on":"$off";this[e]("row-clicked",this.selectionHandler),this[e]("filtered",this.clearSelected),this[e]("context-changed",this.clearSelected)},selectionHandler:function(t,e,n){if(this.isSelectable&&!this.noSelectOnClick){var i=this.selectMode,o=this.selectedLastRow,r=this.selectedRows.slice(),a=!r[e];if("single"===i)r=[];else if("range"===i)if(o>-1&&n.shiftKey){for(var s=Qi(o,e);s<=to(o,e);s++)r[s]=!0;a=!0}else n.ctrlKey||n.metaKey||(r=[],a=!0),this.selectedLastRow=a?e:-1;r[e]=a,this.selectedRows=r}else this.clearSelected()}}}),T_=function(t,e){return t.map((function(t,e){return[e,t]})).sort(function(t,e){return this(t[1],e[1])||t[0]-e[0]}.bind(e)).map((function(t){return t[1]}))},j_=function(t){return bt(t)?"":Ct(t)?on(t,t):t};function M_(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function E_(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?M_(Object(n),!0).forEach((function(e){A_(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):M_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function A_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var D_=["asc","desc","last"],$_=(A_(C_={labelSortAsc:di(Le,"Click to sort Ascending"),labelSortClear:di(Le,"Click to clear sorting"),labelSortDesc:di(Le,"Click to sort Descending"),noFooterSorting:di(Me,!1),noLocalSorting:di(Me,!1),noSortReset:di(Me,!1)},"sortBy",di(Le)),A_(C_,"sortCompare",di(Ae)),A_(C_,"sortCompareLocale",di(Ne)),A_(C_,"sortCompareOptions",di($e,{numeric:!0})),A_(C_,"sortDesc",di(Me,!1)),A_(C_,"sortDirection",di(Le,"asc",(function(t){return Je(D_,t)}))),A_(C_,"sortIconLeft",di(Me,!1)),A_(C_,"sortNullLast",di(Me,!1)),C_),I_=o.a.extend({props:$_,data:function(){return{localSortBy:this.sortBy||"",localSortDesc:this.sortDesc||!1}},computed:{localSorting:function(){return this.hasProvider?!!this.noProviderSorting:!this.noLocalSorting},isSortable:function(){return this.computedFields.some((function(t){return t.sortable}))},sortedItems:function(){var t=this.localSortBy,e=this.localSortDesc,n=this.sortCompareLocale,i=this.sortNullLast,o=this.sortCompare,r=this.localSorting,a=(this.filteredItems||this.localItems||[]).slice(),s=E_(E_({},this.sortCompareOptions),{},{usage:"sort"});if(t&&r){var l=(this.computedFieldsObj[t]||{}).sortByFormatted,c=yt(l)?l:l?this.getFieldFormatter(t):void 0;return T_(a,(function(r,a){var l=null;return yt(o)&&(l=o(r,a,t,e,c,s,n)),(bt(l)||!1===l)&&(l=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.sortBy,o=void 0===i?null:i,r=n.formatter,a=void 0===r?null:r,s=n.locale,l=void 0===s?void 0:s,c=n.localeOptions,u=void 0===c?{}:c,d=n.nullLast,p=void 0!==d&&d,h=Zt(t,o,null),f=Zt(e,o,null);return yt(a)&&(h=a(h,o,t),f=a(f,o,e)),h=j_(h),f=j_(f),Pt(h)&&Pt(f)||xt(h)&&xt(f)?h<f?-1:h>f?1:0:p&&""===h&&""!==f?1:p&&""!==h&&""===f?-1:Gw(h).localeCompare(Gw(f),l,u)}(r,a,{sortBy:t,formatter:c,locale:n,localeOptions:s,nullLast:i})),(l||0)*(e?-1:1)}))}return a}},watch:(k_={isSortable:function(t){t?this.isSortable&&this.$on("head-clicked",this.handleSort):this.$off("head-clicked",this.handleSort)}},A_(k_,"sortDesc",(function(t){t!==this.localSortDesc&&(this.localSortDesc=t||!1)})),A_(k_,"sortBy",(function(t){t!==this.localSortBy&&(this.localSortBy=t||"")})),A_(k_,"localSortDesc",(function(t,e){t!==e&&this.$emit("update:sortDesc",t)})),A_(k_,"localSortBy",(function(t,e){t!==e&&this.$emit("update:sortBy",t)})),k_),created:function(){this.isSortable&&this.$on("head-clicked",this.handleSort)},methods:{handleSort:function(t,e,n,i){var o=this;if(this.isSortable&&(!i||!this.noFooterSorting)){var r=!1,a=function(){var t=e.sortDirection||o.sortDirection;"asc"===t?o.localSortDesc=!1:"desc"===t&&(o.localSortDesc=!0)};if(e.sortable){var s=!this.localSorting&&e.sortKey?e.sortKey:t;this.localSortBy===s?this.localSortDesc=!this.localSortDesc:(this.localSortBy=s,a()),r=!0}else this.localSortBy&&!this.noSortReset&&(this.localSortBy="",a(),r=!0);r&&this.$emit("sort-changed",this.context)}},sortTheadThClasses:function(t,e,n){return{"b-table-sort-icon-left":e.sortable&&this.sortIconLeft&&!(n&&this.noFooterSorting)}},sortTheadThAttrs:function(t,e,n){if(!this.isSortable||n&&this.noFooterSorting)return{};var i=e.sortable;return{"aria-sort":i&&this.localSortBy===t?this.localSortDesc?"descending":"ascending":i?"none":null}},sortTheadThLabel:function(t,e,n){if(!this.isSortable||n&&this.noFooterSorting)return null;var i="";if(e.sortable)if(this.localSortBy===t)i=this.localSortDesc?this.labelSortAsc:this.labelSortDesc;else{i=this.localSortDesc?this.labelSortDesc:this.labelSortAsc;var o=this.sortDirection||e.sortDirection;"asc"===o?i=this.labelSortAsc:"desc"===o&&(i=this.labelSortDesc)}else this.noSortReset||(i=this.localSortBy?this.labelSortClear:"");return pn(i)||null}}});function L_(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function B_(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?L_(Object(n),!0).forEach((function(e){F_(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):L_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function F_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var R_=mi({tbodyTransitionHandlers:di($e),tbodyTransitionProps:di($e)},"BTbody"),N_=o.a.extend({name:"BTbody",mixins:[pr,fr,xi],provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},inheritAttrs:!1,props:R_,computed:{isTbody:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!1},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},isTransitionGroup:function(){return this.tbodyTransitionProps||this.tbodyTransitionHandlers},tbodyAttrs:function(){return B_({role:"rowgroup"},this.bvAttrs)},tbodyProps:function(){var t=this.tbodyTransitionProps;return t?B_(B_({},t),{},{tag:"tbody"}):{}}},render:function(t){var e={props:this.tbodyProps,attrs:this.tbodyAttrs};return this.isTransitionGroup?(e.on=this.tbodyTransitionHandlers||{},e.nativeOn=this.bvListeners):e.on=this.bvListeners,t(this.isTransitionGroup?"transition-group":"tbody",e,this.normalizeSlot())}}),U_=["TD","TH","TR"],z_=function(t){if(!t||!t.target)return!1;var e=t.target;if(e.disabled||-1!==U_.indexOf(e.tagName))return!1;if(Mn(".dropdown-menu",e))return!0;var n="LABEL"===e.tagName?e:Mn("label",e);if(n){var i=Fn(n,"for"),o=i?An(i):Tn("input, select, textarea",n);if(o&&!o.disabled)return!0}return jn(e,t_)},H_=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=Wn();return!!(e&&""!==e.toString().trim()&&e.containsNode&&wn(t))&&e.containsNode(t,!0)},V_=mi(Dw,"BTh"),W_=o.a.extend({name:"BTh",extends:$w,props:V_,computed:{tag:function(){return"th"}}});function G_(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function q_(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?G_(Object(n),!0).forEach((function(e){Y_(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):G_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Y_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function X_(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var K_={detailsTdClass:di(Re),tbodyTrAttr:di(Ye),tbodyTrClass:di([].concat(function(t){return function(t){if(Array.isArray(t))return X_(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return X_(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return X_(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Re),[Ae]))},J_=o.a.extend({props:K_,methods:{getTdValues:function(t,e,n,i){var o=this.$parent;if(n){var r=Zt(t,e,"");return yt(n)?n(r,e,t):_t(n)&&yt(o[n])?o[n](r,e,t):n}return i},getThValues:function(t,e,n,i,o){var r=this.$parent;if(n){var a=Zt(t,e,"");return yt(n)?n(a,e,t,i):_t(n)&&yt(r[n])?r[n](a,e,t,i):n}return o},getFormattedValue:function(t,e){var n=e.key,i=this.getFieldFormatter(n),o=Zt(t,n,null);return yt(i)&&(o=i(o,n,t)),bt(o)?"":o},toggleDetailsFactory:function(t,e){var n=this;return function(){t&&n.$set(e,Zw,!e[Zw])}},rowHovered:function(t){this.tbodyRowEvtStopped(t)||this.emitTbodyRowEvent("row-hovered",t)},rowUnhovered:function(t){this.tbodyRowEvtStopped(t)||this.emitTbodyRowEvent("row-unhovered",t)},renderTbodyRowCell:function(t,e,n,i){var o=this,r=this.isStacked,a=t.key,s=t.label,l=t.isRowHeader,c=this.$createElement,u=this.hasNormalizedSlot("row-details"),d=this.getFormattedValue(n,t),p=!r&&(this.isResponsive||this.stickyHeader)&&t.stickyColumn,h=p?l?W_:$w:l?"th":"td",f=n[Kw]&&n[Kw][a]?n[Kw][a]:t.variant||null,m={class:[t.class?t.class:"",this.getTdValues(n,a,t.tdClass,"")],props:{},attrs:q_({"aria-colindex":String(e+1)},l?this.getThValues(n,a,t.thAttr,"row",{}):this.getTdValues(n,a,t.tdAttr,{})),key:"row-".concat(i,"-cell-").concat(e,"-").concat(a)};p?m.props={stackedHeading:r?s:null,stickyColumn:!0,variant:f}:(m.attrs["data-label"]=r&&!bt(s)?dn(s):null,m.attrs.role=l?"rowheader":"cell",m.attrs.scope=l?"row":null,f&&m.class.push("".concat(this.dark?"bg":"table","-").concat(f)));var v={item:n,index:i,field:t,unformatted:Zt(n,a,""),value:d,toggleDetails:this.toggleDetailsFactory(u,n),detailsShowing:Boolean(n[Zw])};this.supportsSelectableRows&&(v.rowSelected=this.isRowSelected(i),v.selectRow=function(){return o.selectRow(i)},v.unselectRow=function(){return o.unselectRow(i)});var g=this.$_bodyFieldSlotNameCache[a],b=g?this.normalizeSlot(g,v):dn(d);return this.isStacked&&(b=[c("div",[b])]),c(h,m,[b])},renderTbodyRow:function(t,e){var n=this,i=this.computedFields,o=this.striped,r=this.primaryKey,a=this.currentPage,s=this.perPage,l=this.tbodyTrClass,c=this.tbodyTrAttr,u=this.$createElement,d=this.hasNormalizedSlot("row-details"),p=t[Zw]&&d,h=this.$listeners["row-clicked"]||this.hasSelectableRowClick,f=[],m=p?this.safeId("_details_".concat(e,"_")):null,v=i.map((function(i,o){return n.renderTbodyRowCell(i,o,t,e)})),g=null;a&&s&&s>0&&(g=String((a-1)*s+e+1));var b=dn(Zt(t,r))||null,y=b||dn(e),w=b?this.safeId("_row_".concat(b)):null,_=this.selectableRowClasses?this.selectableRowClasses(e):{},x=this.selectableRowAttrs?this.selectableRowAttrs(e):{},C=yt(l)?l(t,"row"):l,k=yt(c)?c(t,"row"):c;if(f.push(u(Ow,{class:[C,_,p?"b-table-has-details":""],props:{variant:t[Jw]||null},attrs:q_(q_({id:w},k),{},{tabindex:h?"0":null,"data-pk":b||null,"aria-details":m,"aria-owns":m,"aria-rowindex":g},x),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered},key:"__b-table-row-".concat(y,"__"),ref:"item-rows",refInFor:!0},v)),p){var O={item:t,index:e,fields:i,toggleDetails:this.toggleDetailsFactory(d,t)};this.supportsSelectableRows&&(O.rowSelected=this.isRowSelected(e),O.selectRow=function(){return n.selectRow(e)},O.unselectRow=function(){return n.unselectRow(e)});var S=u($w,{props:{colspan:i.length},class:this.detailsTdClass},[this.normalizeSlot("row-details",O)]);o&&f.push(u("tr",{staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"},key:"__b-table-details-stripe__".concat(y)}));var P=yt(this.tbodyTrClass)?this.tbodyTrClass(t,"row-details"):this.tbodyTrClass,T=yt(this.tbodyTrAttr)?this.tbodyTrAttr(t,"row-details"):this.tbodyTrAttr;f.push(u(Ow,{staticClass:"b-table-details",class:[P],props:{variant:t[Jw]||null},attrs:q_(q_({},T),{},{id:m,tabindex:"-1"}),key:"__b-table-details__".concat(y)},[S]))}else d&&(f.push(u()),o&&f.push(u()));return f}}});function Z_(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Q_(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Z_(Object(n),!0).forEach((function(e){tx(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Z_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function tx(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ex=function(t){return"cell(".concat(t||"",")")},nx=Ht(Q_(Q_(Q_({},R_),K_),{},{tbodyClass:di(Re)})),ix=o.a.extend({mixins:[J_],props:nx,beforeDestroy:function(){this.$_bodyFieldSlotNameCache=null},methods:{getTbodyTrs:function(){var t=this.$refs,e=t.tbody?t.tbody.$el||t.tbody:null,n=(t["item-rows"]||[]).map((function(t){return t.$el||t}));return e&&e.children&&e.children.length>0&&n&&n.length>0?Ke(e.children).filter((function(t){return Je(n,t)})):[]},getTbodyTrIndex:function(t){if(!wn(t))return-1;var e="TR"===t.tagName?t:Mn("tr",t,!0);return e?this.getTbodyTrs().indexOf(e):-1},emitTbodyRowEvent:function(t,e){if(t&&this.hasListener(t)&&e&&e.target){var n=this.getTbodyTrIndex(e.target);if(n>-1){var i=this.computedItems[n];this.$emit(t,i,n,e)}}},tbodyRowEvtStopped:function(t){return this.stopIfBusy&&this.stopIfBusy(t)},onTbodyRowKeydown:function(t){var e=t.target,n=t.keyCode;if(!this.tbodyRowEvtStopped(t)&&"TR"===e.tagName&&Cn(e)&&0===e.tabIndex)if(Je([er,rr],n))Pi(t),this.onTBodyRowClicked(t);else if(Je([ar,Qo,nr,tr],n)){var i=this.getTbodyTrIndex(e);if(i>-1){Pi(t);var o=this.getTbodyTrs(),r=t.shiftKey;n===nr||r&&n===ar?Xn(o[0]):n===tr||r&&n===Qo?Xn(o[o.length-1]):n===ar&&i>0?Xn(o[i-1]):n===Qo&&i<o.length-1&&Xn(o[i+1])}}},onTBodyRowClicked:function(t){this.tbodyRowEvtStopped(t)||z_(t)||H_(this.$el)||this.emitTbodyRowEvent("row-clicked",t)},onTbodyRowMiddleMouseRowClicked:function(t){this.tbodyRowEvtStopped(t)||2!==t.which||this.emitTbodyRowEvent("row-middle-clicked",t)},onTbodyRowContextmenu:function(t){this.tbodyRowEvtStopped(t)||this.emitTbodyRowEvent("row-contextmenu",t)},onTbodyRowDblClicked:function(t){this.tbodyRowEvtStopped(t)||z_(t)||this.emitTbodyRowEvent("row-dblclicked",t)},renderTbody:function(){var t=this,e=this.computedItems,n=this.renderBusy,i=this.renderTopRow,o=this.renderEmpty,r=this.renderBottomRow,a=this.$createElement,s=this.hasListener("row-clicked")||this.hasSelectableRowClick,l=[],c=n?n():null;if(c)l.push(c);else{var u={},d=ex();d=this.hasNormalizedSlot(d)?d:null,this.computedFields.forEach((function(e){var n=e.key,i=ex(n),o=ex(n.toLowerCase());u[n]=t.hasNormalizedSlot(i)?i:t.hasNormalizedSlot(o)?o:d})),this.$_bodyFieldSlotNameCache=u,l.push(i?i():a()),e.forEach((function(e,n){l.push(t.renderTbodyRow(e,n))})),l.push(o?o():a()),l.push(r?r():a())}var p={auxclick:this.onTbodyRowMiddleMouseRowClicked,contextmenu:this.onTbodyRowContextmenu,dblclick:this.onTbodyRowDblClicked};return s&&(p.click=this.onTBodyRowClicked,p.keydown=this.onTbodyRowKeydown),a(N_,{class:this.tbodyClass||null,props:hi(R_,this.$props),on:p,ref:"tbody"},l)}}});function ox(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function rx(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ox(Object(n),!0).forEach((function(e){ax(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ox(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ax(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var sx=mi({footVariant:di(Le)},"BTfoot"),lx=o.a.extend({name:"BTfoot",mixins:[pr,fr,xi],provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},inheritAttrs:!1,props:sx,computed:{isTfoot:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!1},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},tfootClasses:function(){return[this.footVariant?"thead-".concat(this.footVariant):null]},tfootAttrs:function(){return rx(rx({},this.bvAttrs),{},{role:"rowgroup"})}},render:function(t){return t("tfoot",{class:this.tfootClasses,attrs:this.tfootAttrs,on:this.bvListeners},this.normalizeSlot())}}),cx={footClone:di(Me,!1),footRowVariant:di(Le),footVariant:di(Le),tfootClass:di(Re),tfootTrClass:di(Re)},ux=o.a.extend({props:cx,methods:{renderTFootCustom:function(){var t=this.$createElement;return this.hasNormalizedSlot("custom-foot")?t(lx,{class:this.tfootClass||null,props:{footVariant:this.footVariant||this.headVariant||null},key:"bv-tfoot-custom"},this.normalizeSlot("custom-foot",{items:this.computedItems.slice(),fields:this.computedFields.slice(),columns:this.computedFields.length})):t()},renderTfoot:function(){return this.footClone?this.renderThead(!0):this.renderTFootCustom()}}});function dx(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function px(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var hx=mi({headVariant:di(Le)},"BThead"),fx=o.a.extend({name:"BThead",mixins:[pr,fr,xi],provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},inheritAttrs:!1,props:hx,computed:{isThead:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},theadClasses:function(){return[this.headVariant?"thead-".concat(this.headVariant):null]},theadAttrs:function(){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?dx(Object(n),!0).forEach((function(e){px(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dx(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({role:"rowgroup"},this.bvAttrs)}},render:function(t){return t("thead",{class:this.theadClasses,attrs:this.theadAttrs,on:this.bvListeners},this.normalizeSlot())}});function mx(t){return function(t){if(Array.isArray(t))return vx(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return vx(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vx(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vx(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function gx(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function bx(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gx(Object(n),!0).forEach((function(e){yx(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gx(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function yx(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var wx=function(t){return"head(".concat(t||"",")")},_x=function(t){return"foot(".concat(t||"",")")},xx={headRowVariant:di(Le),headVariant:di(Le),theadClass:di(Re),theadTrClass:di(Re)},Cx=o.a.extend({props:xx,methods:{fieldClasses:function(t){return[t.class?t.class:"",t.thClass?t.thClass:""]},headClicked:function(t,e,n){this.stopIfBusy&&this.stopIfBusy(t)||z_(t)||H_(this.$el)||(Pi(t),this.$emit("head-clicked",e.key,e,t,n))},renderThead:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.computedFields,i=this.isSortable,o=this.isSelectable,r=this.headVariant,a=this.footVariant,s=this.headRowVariant,l=this.footRowVariant,c=this.$createElement;if(this.isStackedAlways||0===n.length)return c();var u=i||this.hasListener("head-clicked"),d=o?this.selectAllRows:pl,p=o?this.clearSelected:pl,h=function(n,o){var r=n.label,a=n.labelHtml,s=n.variant,l=n.stickyColumn,h=n.key,f=null;n.label.trim()||n.headerTitle||(f=ln(n.key));var m={};u&&(m.click=function(i){t.headClicked(i,n,e)},m.keydown=function(i){var o=i.keyCode;o!==er&&o!==rr||t.headClicked(i,n,e)});var v=i?t.sortTheadThAttrs(h,n,e):{},g=i?t.sortTheadThClasses(h,n,e):null,b=i?t.sortTheadThLabel(h,n,e):null,y={class:[t.fieldClasses(n),g],props:{variant:s,stickyColumn:l},style:n.thStyle||{},attrs:bx(bx({tabindex:u&&n.sortable?"0":null,abbr:n.headerAbbr||null,title:n.headerTitle||null,"aria-colindex":o+1,"aria-label":f},t.getThValues(null,h,n.thAttr,e?"foot":"head",{})),v),on:m,key:h},w=[wx(h),wx(h.toLowerCase()),wx()];e&&(w=[_x(h),_x(h.toLowerCase()),_x()].concat(mx(w)));var _={label:r,column:h,field:n,isFoot:e,selectAllRows:d,clearSelected:p},x=t.normalizeSlot(w,_)||c("div",{domProps:ia(a,r)}),C=b?c("span",{staticClass:"sr-only"}," (".concat(b,")")):null;return c(W_,y,[x,C].filter(Kt))},f=n.map(h).filter(Kt),m=[];if(e)m.push(c(Ow,{class:this.tfootTrClass,props:{variant:bt(l)?s:l}},f));else{var v={columns:n.length,fields:n,selectAllRows:d,clearSelected:p};m.push(this.normalizeSlot("thead-top",v)||c()),m.push(c(Ow,{class:this.theadTrClass,props:{variant:s}},f))}return c(e?lx:fx,{class:(e?this.tfootClass:this.theadClass)||null,props:e?{footVariant:a||r||null}:{headVariant:r||null},key:e?"bv-tfoot":"bv-thead"},m)}}}),kx=o.a.extend({methods:{renderTopRow:function(){var t=this.computedFields,e=this.stacked,n=this.tbodyTrClass,i=this.tbodyTrAttr,o=this.$createElement;return this.hasNormalizedSlot("top-row")&&!0!==e&&""!==e?o(Ow,{staticClass:"b-table-top-row",class:[yt(n)?n(null,"row-top"):n],attrs:yt(i)?i(null,"row-top"):i,key:"b-top-row"},[this.normalizeSlot("top-row",{columns:t.length,fields:t})]):o()}}});function Ox(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Sx(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ox(Object(n),!0).forEach((function(e){Px(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ox(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Px(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Tx=mi(Ht(Sx(Sx(Sx(Sx(Sx(Sx(Sx(Sx(Sx(Sx(Sx(Sx(Sx(Sx(Sx(Sx(Sx(Sx({},Ka),Sw),Fw),Nw),zw),Vw),i_),f_),v_),w_),S_),$_),ew),aw),nx),cx),xx),{})),"BTable"),jx=o.a.extend({name:"BTable",mixins:[pr,tw,Ja,xi,m_,sw,nw,Cx,ux,ix,nw,o_,I_,g_,Uw,Hw,P_,Ww,kx,Pw,Rw,__],props:Tx});function Mx(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Ex(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mx(Object(n),!0).forEach((function(e){Ax(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mx(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ax(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Dx,$x=mi(Ht(Ex(Ex(Ex(Ex(Ex(Ex(Ex(Ex(Ex({},Ka),Nw),zw),f_),ew),aw),nx),cx),xx)),"BTableLite"),Ix=he({components:{BTable:jx},plugins:{TableLitePlugin:he({components:{BTableLite:o.a.extend({name:"BTableLite",mixins:[pr,tw,Ja,xi,m_,sw,nw,Cx,ux,ix,Uw,Hw],props:$x})}}),TableSimplePlugin:he({components:{BTableSimple:pw,BTbody:N_,BThead:fx,BTfoot:lx,BTr:Ow,BTd:$w,BTh:W_}})}});function Lx(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Bx(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Lx(Object(n),!0).forEach((function(e){Fx(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Lx(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Fx(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Rx,Nx,Ux=yi("value",{type:De}),zx=Ux.mixin,Hx=Ux.props,Vx=Ux.prop,Wx=Ux.event,Gx=function(t){return!t.disabled},qx=o.a.extend({name:"BVTabButton",inject:{bvTabs:{default:function(){return{}}}},props:{controls:di(Le),id:di(Le),noKeyNav:di(Me,!1),posInSet:di(De),setSize:di(De),tab:di(),tabIndex:di(De)},methods:{focus:function(){Xn(this.$refs.link)},handleEvt:function(t){if(!this.tab.disabled){var e=t.type,n=t.keyCode,i=t.shiftKey;"click"===e||"keydown"===e&&n===rr?(Pi(t),this.$emit("click",t)):"keydown"!==e||this.noKeyNav||(-1!==[ar,ir,nr].indexOf(n)?(Pi(t),i||n===nr?this.$emit("first",t):this.$emit("prev",t)):-1!==[Qo,or,tr].indexOf(n)&&(Pi(t),i||n===tr?this.$emit("last",t):this.$emit("next",t)))}}},render:function(t){var e=this.id,n=this.tabIndex,i=this.setSize,o=this.posInSet,r=this.controls,a=this.handleEvt,s=this.tab,l=s.title,c=s.localActive,u=s.disabled,d=s.titleItemClass,p=s.titleLinkClass,h=s.titleLinkAttributes,f=t(kr,{staticClass:"nav-link",class:[{active:c&&!u,disabled:u},p,c?this.bvTabs.activeNavItemClass:null],props:{disabled:u},attrs:Bx(Bx({},h),{},{id:e,role:"tab",tabindex:n,"aria-selected":c&&!u?"true":"false","aria-setsize":i,"aria-posinset":o,"aria-controls":r}),on:{click:a,keydown:a},ref:"link"},[this.tab.normalizeSlot("title")||l]);return t("li",{staticClass:"nav-item",class:[d],attrs:{role:"presentation"}},[f])}}),Yx=zt(eg,["tabs","isNavBar","cardHeader"]),Xx=mi(Ht(Bx(Bx(Bx(Bx({},Ka),Hx),Yx),{},{activeNavItemClass:di(Re),activeTabClass:di(Re),card:di(Me,!1),contentClass:di(Re),end:di(Me,!1),lazy:di(Me,!1),navClass:di(Re),navWrapperClass:di(Re),noFade:di(Me,!1),noKeyNav:di(Me,!1),noNavStyle:di(Me,!1),tag:di(Le,"div")})),"BTabs"),Kx=o.a.extend({name:"BTabs",mixins:[Ja,zx,xi],provide:function(){return{bvTabs:this}},props:Xx,data:function(){return{currentTab:nn(this[Vx],-1),tabs:[],registeredTabs:[]}},computed:{fade:function(){return!this.noFade},localNavClass:function(){var t=[];return this.card&&this.vertical&&t.push("card-header","h-100","border-bottom-0","rounded-0"),[].concat(t,[this.navClass])}},watch:(Dx={},Fx(Dx,Vx,(function(t,e){if(t!==e){t=nn(t,-1),e=nn(e,0);var n=this.tabs[t];n&&!n.disabled?this.activateTab(n):t<e?this.previousTab():this.nextTab()}})),Fx(Dx,"currentTab",(function(t){var e=-1;this.tabs.forEach((function(n,i){i!==t||n.disabled?n.localActive=!1:(n.localActive=!0,e=i)})),this.$emit(Wx,e)})),Fx(Dx,"tabs",(function(t,e){var n=this;sr(t.map((function(t){return t._uid})),e.map((function(t){return t._uid})))||this.$nextTick((function(){n.$emit("changed",t.slice(),e.slice())}))})),Fx(Dx,"registeredTabs",(function(){this.updateTabs()})),Dx),created:function(){this.$_observer=null},mounted:function(){this.setObserver(!0)},beforeDestroy:function(){this.setObserver(!1),this.tabs=[]},methods:{registerTab:function(t){Je(this.registeredTabs,t)||this.registeredTabs.push(t)},unregisterTab:function(t){this.registeredTabs=this.registeredTabs.slice().filter((function(e){return e!==t}))},setObserver:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e){var n=function(){t.$nextTick((function(){bn((function(){t.updateTabs()}))}))};this.$_observer=vl(this.$refs.content,n,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["id"]})}},getTabs:function(){var t=this.registeredTabs.filter((function(t){return 0===t.$children.filter((function(t){return t._isTab})).length})),e=[];if(u&&t.length>0){var n=t.map((function(t){return"#".concat(t.safeId())})).join(", ");e=Pn(n,this.$el).map((function(t){return t.id})).filter(Kt)}return T_(t,(function(t,n){return e.indexOf(t.safeId())-e.indexOf(n.safeId())}))},updateTabs:function(){var t=this.getTabs(),e=t.indexOf(t.slice().reverse().find((function(t){return t.localActive&&!t.disabled})));if(e<0){var n=this.currentTab;n>=t.length?e=t.indexOf(t.slice().reverse().find(Gx)):t[n]&&!t[n].disabled&&(e=n)}e<0&&(e=t.indexOf(t.find(Gx))),t.forEach((function(t,n){t.localActive=n===e})),this.tabs=t,this.currentTab=e},getButtonForTab:function(t){return(this.$refs.buttons||[]).find((function(e){return e.tab===t}))},updateButton:function(t){var e=this.getButtonForTab(t);e&&e.$forceUpdate&&e.$forceUpdate()},activateTab:function(t){var e=this.currentTab,n=this.tabs,i=!1;if(t){var o=n.indexOf(t);if(o!==e&&o>-1&&!t.disabled){var r=new kc("activate-tab",{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(r.type,o,e,r),r.defaultPrevented||(this.currentTab=o,i=!0)}}return i||this[Vx]===e||this.$emit(Wx,e),i},deactivateTab:function(t){return!!t&&this.activateTab(this.tabs.filter((function(e){return e!==t})).find(Gx))},focusButton:function(t){var e=this;this.$nextTick((function(){Xn(e.getButtonForTab(t))}))},emitTabClick:function(t,e){Tt(e)&&t&&t.$emit&&!t.disabled&&t.$emit("click",e)},clickTab:function(t,e){this.activateTab(t),this.emitTabClick(t,e)},firstTab:function(t){var e=this.tabs.find(Gx);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))},previousTab:function(t){var e=to(this.currentTab,0),n=this.tabs.slice(0,e).reverse().find(Gx);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},nextTab:function(t){var e=to(this.currentTab,-1),n=this.tabs.slice(e+1).find(Gx);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},lastTab:function(t){var e=this.tabs.slice().reverse().find(Gx);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))}},render:function(t){var e=this,n=this.align,i=this.card,o=this.end,r=this.fill,a=this.firstTab,s=this.justified,l=this.lastTab,c=this.nextTab,u=this.noKeyNav,d=this.noNavStyle,p=this.pills,h=this.previousTab,f=this.small,m=this.tabs,v=this.vertical,g=m.find((function(t){return t.localActive&&!t.disabled})),b=m.find((function(t){return!t.disabled})),y=m.map((function(n,i){var o,r=n.safeId,s=null;return u||(s=-1,(n===g||!g&&n===b)&&(s=null)),t(qx,{props:{controls:r?r():null,id:n.controlledBy||(r?r("_BV_tab_button_"):null),noKeyNav:u,posInSet:i+1,setSize:m.length,tab:n,tabIndex:s},on:(o={},Fx(o,"click",(function(t){e.clickTab(n,t)})),Fx(o,"first",a),Fx(o,"prev",h),Fx(o,"next",c),Fx(o,"last",l),o),key:n._uid||i,ref:"buttons",refInFor:!0})})),w=t(ng,{class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:r,justified:s,align:n,tabs:!d&&!p,pills:!d&&p,vertical:v,small:f,cardHeader:i&&!v},ref:"nav"},[this.normalizeSlot("tabs-start")||t(),y,this.normalizeSlot("tabs-end")||t()]);w=t("div",{class:[{"card-header":i&&!v&&!o,"card-footer":i&&!v&&o,"col-auto":v},this.navWrapperClass],key:"bv-tabs-nav"},[w]);var _=this.normalizeSlot()||[],x=t();0===_.length&&(x=t("div",{class:["tab-pane","active",{"card-body":i}],key:"bv-empty-tab"},this.normalizeSlot("empty")));var C=t("div",{staticClass:"tab-content",class:[{col:v},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")},key:"bv-content",ref:"content"},[_,x]);return t(this.tag,{staticClass:"tabs",class:{row:v,"no-gutters":v&&i},attrs:{id:this.safeId()}},[o?C:t(),w,o?t():C])}});function Jx(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Zx(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Jx(Object(n),!0).forEach((function(e){Qx(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Jx(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Qx(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tC,eC=mi(Ht(Zx(Zx({},Ka),{},(Qx(Rx={},"active",di(Me,!1)),Qx(Rx,"buttonId",di(Le)),Qx(Rx,"disabled",di(Me,!1)),Qx(Rx,"lazy",di(Me,!1)),Qx(Rx,"noBody",di(Me,!1)),Qx(Rx,"tag",di(Le,"div")),Qx(Rx,"title",di(Le)),Qx(Rx,"titleItemClass",di(Re)),Qx(Rx,"titleLinkAttributes",di($e)),Qx(Rx,"titleLinkClass",di(Re)),Rx))),"BTab"),nC=he({components:{BTabs:Kx,BTab:o.a.extend({name:"BTab",mixins:[Ja,xi],inject:{bvTabs:{default:function(){return{}}}},props:eC,data:function(){return{localActive:this.active&&!this.disabled}},computed:{_isTab:function(){return!0},tabClasses:function(){var t=this.localActive;return[{active:t,disabled:this.disabled,"card-body":this.bvTabs.card&&!this.noBody},t?this.bvTabs.activeTabClass:null]},controlledBy:function(){return this.buttonId||this.safeId("__BV_tab_button__")},computedNoFade:function(){return!this.bvTabs.fade},computedLazy:function(){return this.bvTabs.lazy||this.lazy}},watch:(Nx={},Qx(Nx,"active",(function(t,e){t!==e&&(t?this.activate():this.deactivate()||this.$emit("update:active",this.localActive))})),Qx(Nx,"disabled",(function(t,e){if(t!==e){var n=this.bvTabs.firstTab;t&&this.localActive&&n&&(this.localActive=!1,n())}})),Qx(Nx,"localActive",(function(t){this.$emit("update:active",t)})),Nx),mounted:function(){this.registerTab()},updated:function(){var t=this.bvTabs.updateButton;t&&this.hasNormalizedSlot("title")&&t(this)},beforeDestroy:function(){this.unregisterTab()},methods:{registerTab:function(){var t=this.bvTabs.registerTab;t&&t(this)},unregisterTab:function(){var t=this.bvTabs.unregisterTab;t&&t(this)},activate:function(){var t=this.bvTabs.activateTab;return!(!t||this.disabled)&&t(this)},deactivate:function(){var t=this.bvTabs.deactivateTab;return!(!t||!this.localActive)&&t(this)}},render:function(t){var e=this.localActive,n=t(this.tag,{staticClass:"tab-pane",class:this.tabClasses,directives:[{name:"show",value:e}],attrs:{role:"tabpanel",id:this.safeId(),"aria-hidden":e?"false":"true","aria-labelledby":this.controlledBy||null},ref:"panel"},[e||!this.computedLazy?this.normalizeSlot():t()]);return t(Ni,{props:{mode:"out-in",noFade:this.computedNoFade}},[n])}})}}),iC=he({components:{BTime:Kf}}),oC=n("K4j9"),rC=o.a.extend({mixins:[xi],data:function(){return{name:"b-toaster"}},methods:{onAfterEnter:function(t){var e=this;bn((function(){$n(t,"".concat(e.name,"-enter-to"))}))}},render:function(t){return t("transition-group",{props:{tag:"div",name:this.name},on:{afterEnter:this.onAfterEnter}},this.normalizeSlot())}}),aC=mi({ariaAtomic:di(Le),ariaLive:di(Le),name:di(Le,void 0,!0),role:di(Le)},"BToaster"),sC=o.a.extend({name:"BToaster",mixins:[hr],props:aC,data:function(){return{doRender:!1,dead:!1,staticName:this.name}},beforeMount:function(){var t=this,e=this.name;this.staticName=e,oC.Wormhole.hasTarget(e)?(te('A "<portal-target>" with name "'.concat(e,'" already exists in the document.'),"BToaster"),this.dead=!0):(this.doRender=!0,this.$once("hook:beforeDestroy",(function(){t.emitOnRoot(ji("BToaster","destroyed"),e)})))},destroyed:function(){var t=this.$el;t&&t.parentNode&&t.parentNode.removeChild(t)},render:function(t){var e=t("div",{class:["d-none",{"b-dead-toaster":this.dead}]});if(this.doRender){var n=t(oC.PortalTarget,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:rC}});e=t("div",{staticClass:"b-toaster",class:[this.staticName],attrs:{id:this.staticName,role:this.role||null,"aria-live":this.ariaLive,"aria-atomic":this.ariaAtomic}},[n])}return e}});function lC(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function cC(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?lC(Object(n),!0).forEach((function(e){uC(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lC(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function uC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var dC=yi("visible",{type:Me,defaultValue:!1,event:"change"}),pC=dC.mixin,hC=dC.props,fC=dC.prop,mC=dC.event,vC=Ut(Cr,["href","to"]),gC=mi(Ht(cC(cC(cC(cC({},Ka),hC),vC),{},{appendToast:di(Me,!1),autoHideDelay:di(Ge,5e3),bodyClass:di(Re),headerClass:di(Re),isStatus:di(Me,!1),noAutoHide:di(Me,!1),noCloseButton:di(Me,!1),noFade:di(Me,!1),noHoverPause:di(Me,!1),solid:di(Me,!1),static:di(Me,!1),title:di(Le),toastClass:di(Re),toaster:di(Le,"b-toaster-top-right"),variant:di(Le)})),"BToast"),bC=o.a.extend({name:"BToast",mixins:[pr,Ja,pC,hr,xi,rv],inheritAttrs:!1,props:gC,data:function(){return{isMounted:!1,doRender:!1,localShow:!1,isTransitioning:!1,isHiding:!1,order:0,dismissStarted:0,resumeDismiss:0}},computed:{toastClasses:function(){var t=this.appendToast,e=this.variant;return uC({"b-toast-solid":this.solid,"b-toast-append":t,"b-toast-prepend":!t},"b-toast-".concat(e),e)},slotScope:function(){return{hide:this.hide}},computedDuration:function(){return to(nn(this.autoHideDelay,0),1e3)},computedToaster:function(){return String(this.toaster)},transitionHandlers:function(){return{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,afterLeave:this.onAfterLeave}},computedAttrs:function(){return cC(cC({},this.bvAttrs),{},{id:this.safeId(),tabindex:"0"})}},watch:(tC={},uC(tC,fC,(function(t){this[t?"show":"hide"]()})),uC(tC,"localShow",(function(t){t!==this[fC]&&this.$emit(mC,t)})),uC(tC,"toaster",(function(){this.$nextTick(this.ensureToaster)})),uC(tC,"static",(function(t){t&&this.localShow&&this.ensureToaster()})),tC),created:function(){this.$_dismissTimer=null},mounted:function(){var t=this;this.isMounted=!0,this.$nextTick((function(){t[fC]&&bn((function(){t.show()}))})),this.listenOnRoot(Mi("BToast","show"),(function(e){e===t.safeId()&&t.show()})),this.listenOnRoot(Mi("BToast","hide"),(function(e){e&&e!==t.safeId()||t.hide()})),this.listenOnRoot(ji("BToaster","destroyed"),(function(e){e===t.computedToaster&&t.hide()}))},beforeDestroy:function(){this.clearDismissTimer()},methods:{show:function(){var t=this;if(!this.localShow){this.ensureToaster();var e=this.buildEvent("show");this.emitEvent(e),this.dismissStarted=this.resumeDismiss=0,this.order=Date.now()*(this.appendToast?1:-1),this.isHiding=!1,this.doRender=!0,this.$nextTick((function(){bn((function(){t.localShow=!0}))}))}},hide:function(){var t=this;if(this.localShow){var e=this.buildEvent("hide");this.emitEvent(e),this.setHoverHandler(!1),this.dismissStarted=this.resumeDismiss=0,this.clearDismissTimer(),this.isHiding=!0,bn((function(){t.localShow=!1}))}},buildEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new kc(t,cC(cC({cancelable:!1,target:this.$el||null,relatedTarget:null},e),{},{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(t){var e=t.type;this.emitOnRoot(ji("BToast",e),t),this.$emit(e,t)},ensureToaster:function(){if(!this.static){var t=this.computedToaster;if(!oC.Wormhole.hasTarget(t)){var e=document.createElement("div");document.body.appendChild(e),new sC({parent:this.$root,propsData:{name:t}}).$mount(e)}}},startDismissTimer:function(){this.clearDismissTimer(),this.noAutoHide||(this.$_dismissTimer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer:function(){clearTimeout(this.$_dismissTimer),this.$_dismissTimer=null},setHoverHandler:function(t){var e=this.$refs["b-toast"];Si(t,e,"mouseenter",this.onPause,Te),Si(t,e,"mouseleave",this.onUnPause,Te)},onPause:function(){if(!this.noAutoHide&&!this.noHoverPause&&this.$_dismissTimer&&!this.resumeDismiss){var t=Date.now()-this.dismissStarted;t>0&&(this.clearDismissTimer(),this.resumeDismiss=to(this.computedDuration-t,1e3))}},onUnPause:function(){this.noAutoHide||this.noHoverPause||!this.resumeDismiss?this.resumeDismiss=this.dismissStarted=0:this.startDismissTimer()},onLinkClick:function(){var t=this;this.$nextTick((function(){bn((function(){t.hide()}))}))},onBeforeEnter:function(){this.isTransitioning=!0},onAfterEnter:function(){this.isTransitioning=!1;var t=this.buildEvent("shown");this.emitEvent(t),this.startDismissTimer(),this.setHoverHandler(!0)},onBeforeLeave:function(){this.isTransitioning=!0},onAfterLeave:function(){this.isTransitioning=!1,this.order=0,this.resumeDismiss=this.dismissStarted=0;var t=this.buildEvent("hidden");this.emitEvent(t),this.doRender=!1},makeToast:function(t){var e=this,n=this.title,i=this.slotScope,o=go(this),r=[],a=this.normalizeSlot("toast-title",i);a?r.push(a):n&&r.push(t("strong",{staticClass:"mr-2"},n)),this.noCloseButton||r.push(t(Ai,{staticClass:"ml-auto mb-1",on:{click:function(){e.hide()}}}));var s=t();r.length>0&&(s=t("header",{staticClass:"toast-header",class:this.headerClass},r));var l=t(o?kr:"div",{staticClass:"toast-body",class:this.bodyClass,props:o?hi(vC,this):{},on:o?{click:this.onLinkClick}:{}},this.normalizeSlot("default",i));return t("div",{staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs,key:"toast-".concat(this._uid),ref:"toast"},[s,l])}},render:function(t){if(!this.doRender||!this.isMounted)return t();var e=this.order,n=this.static,i=this.isHiding,o=this.isStatus,r="b-toast-".concat(this._uid),a=t("div",{staticClass:"b-toast",class:this.toastClasses,attrs:cC(cC({},n?{}:this.scopedStyleAttrs),{},{id:this.safeId("_toast_outer"),role:i?null:o?"status":"alert","aria-live":i?null:o?"polite":"assertive","aria-atomic":i?null:"true"}),key:r,ref:"b-toast"},[t(Ni,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(t):t()])]);return t(oC.Portal,{props:{name:r,to:this.computedToaster,order:e,slim:!0,disabled:n}},[a])}});function yC(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function wC(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function _C(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wC(Object(n),!0).forEach((function(e){xC(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wC(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function xC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function CC(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var kC=["id"].concat(function(t){return function(t){if(Array.isArray(t))return CC(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return CC(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return CC(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Ft(zt(gC,["static","visible"])))),OC={toastContent:"default",title:"toast-title"},SC=function(t){return kC.reduce((function(e,n){return vt(t[n])||(e[n]=t[n]),e}),{})},PC=he({components:{BToast:bC,BToaster:sC},plugins:{BVToastPlugin:he({plugins:{plugin:function(t){var e=t.extend({name:"BVToastPop",extends:bC,destroyed:function(){var t=this.$el;t&&t.parentNode&&t.parentNode.removeChild(t)},mounted:function(){var t=this,e=function(){t.localShow=!1,t.doRender=!1,t.$nextTick((function(){t.$nextTick((function(){bn((function(){t.$destroy()}))}))}))};this.$parent.$once("hook:destroyed",e),this.$once("hidden",e),this.listenOnRoot(ji("BToaster","destroyed"),(function(n){n===t.toaster&&e()}))}}),n=function(t,n){if(!ee("$bvToast")){var i=new e({parent:n,propsData:_C(_C(_C({},SC(ti("BToast"))),zt(t,Ft(OC))),{},{static:!1,visible:!0})});Ft(OC).forEach((function(e){var o=t[e];vt(o)||("title"===e&&_t(o)&&(o=[n.$createElement("strong",{class:"mr-2"},o)]),i.$slots[OC[e]]=Ze(o))}));var o=document.createElement("div");document.body.appendChild(o),i.$mount(o)}},i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Dt(this,{_vm:e,_root:e.$root}),It(this,{_vm:{enumerable:!0,configurable:!1,writable:!1},_root:{enumerable:!0,configurable:!1,writable:!1}})}var e,i,o;return e=t,(i=[{key:"toast",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t&&!ee("$bvToast")&&n(_C(_C({},SC(e)),{},{toastContent:t}),this._vm)}},{key:"show",value:function(t){t&&this._root.$emit(Mi("BToast","show"),t)}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._root.$emit(Mi("BToast","hide"),t)}}])&&yC(e.prototype,i),o&&yC(e,o),t}();t.mixin({beforeCreate:function(){this._bv__toast=new i(this)}}),Rt(t.prototype,"$bvToast")||Lt(t.prototype,"$bvToast",{get:function(){return this&&this._bv__toast||te('"'.concat("$bvToast",'" must be accessed from a Vue instance "this" context.'),"BToast"),this._bv__toast}})}}})}});function TC(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function jC(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?TC(Object(n),!0).forEach((function(e){MC(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):TC(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function MC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var EC="__BV_Tooltip__",AC={focus:!0,hover:!0,click:!0,blur:!0,manual:!0},DC=/^html$/i,$C=/^noninteractive$/i,IC=/^nofade$/i,LC=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i,BC=/^(window|viewport|scrollParent)$/i,FC=/^d\d+$/i,RC=/^ds\d+$/i,NC=/^dh\d+$/i,UC=/^o-?\d+$/i,zC=/^v-.+$/i,HC=/\s+/,VC=function(t,e,n){if(u){var i=function(t,e){var n={title:void 0,trigger:"",placement:"top",fallbackPlacement:"flip",container:!1,animation:!0,offset:0,id:null,html:!1,interactive:!0,disabled:!1,delay:ti("BTooltip","delay",50),boundary:String(ti("BTooltip","boundary","scrollParent")),boundaryPadding:nn(ti("BTooltip","boundaryPadding",5),0),variant:ti("BTooltip","variant"),customClass:ti("BTooltip","customClass")};if(_t(t.value)||xt(t.value)||yt(t.value)?n.title=t.value:St(t.value)&&(n=jC(jC({},n),t.value)),vt(n.title)){var i=e.data||{};n.title=i.attrs&&!bt(i.attrs.title)?i.attrs.title:void 0}St(n.delay)||(n.delay={show:nn(n.delay,0),hide:nn(n.delay,0)}),t.arg&&(n.container="#".concat(t.arg)),Ft(t.modifiers).forEach((function(t){if(DC.test(t))n.html=!0;else if($C.test(t))n.interactive=!1;else if(IC.test(t))n.animation=!1;else if(LC.test(t))n.placement=t;else if(BC.test(t))t="scrollparent"===t?"scrollParent":t,n.boundary=t;else if(FC.test(t)){var e=nn(t.slice(1),0);n.delay.show=e,n.delay.hide=e}else RC.test(t)?n.delay.show=nn(t.slice(2),0):NC.test(t)?n.delay.hide=nn(t.slice(2),0):UC.test(t)?n.offset=nn(t.slice(1),0):zC.test(t)&&(n.variant=t.slice(2)||null)}));var o={};return Ze(n.trigger||"").filter(Kt).join(" ").trim().toLowerCase().split(HC).forEach((function(t){AC[t]&&(o[t]=!0)})),Ft(t.modifiers).forEach((function(t){t=t.toLowerCase(),AC[t]&&(o[t]=!0)})),n.trigger=Ft(o).join(" "),"blur"===n.trigger&&(n.trigger="focus"),n.trigger||(n.trigger="hover focus"),n}(e,n);if(!t[EC]){var o=n.context;t[EC]=new Nb({parent:o,_scopeId:ov(o,void 0)}),t[EC].__bv_prev_data__={},t[EC].$on("show",(function(){yt(i.title)&&t[EC].updateData({title:i.title(t)})}))}var r={title:i.title,triggers:i.trigger,placement:i.placement,fallbackPlacement:i.fallbackPlacement,variant:i.variant,customClass:i.customClass,container:i.container,boundary:i.boundary,delay:i.delay,offset:i.offset,noFade:!i.animation,id:i.id,interactive:i.interactive,disabled:i.disabled,html:i.html},a=t[EC].__bv_prev_data__;if(t[EC].__bv_prev_data__=r,!sr(r,a)){var s={target:t};Ft(r).forEach((function(e){r[e]!==a[e]&&(s[e]="title"===e&&yt(r[e])?r[e](t):r[e])})),t[EC].updateData(s)}}},WC=he({directives:{VBTooltip:{bind:function(t,e,n){VC(t,e,n)},componentUpdated:function(t,e,n){n.context.$nextTick((function(){VC(t,e,n)}))},unbind:function(t){!function(t){t[EC]&&(t[EC].$destroy(),t[EC]=null),delete t[EC]}(t)}}}}),GC=he({plugins:{AlertPlugin:Zi,AspectPlugin:uo,AvatarPlugin:Yr,BadgePlugin:ea,BreadcrumbPlugin:ma,ButtonPlugin:va,ButtonGroupPlugin:xa,ButtonToolbarPlugin:Sa,CalendarPlugin:ls,CardPlugin:dl,CarouselPlugin:Ll,CollapsePlugin:wc,DropdownPlugin:_u,EmbedPlugin:ku,FormPlugin:zu,FormCheckboxPlugin:Bd,FormDatepickerPlugin:sp,FormFilePlugin:xp,FormGroupPlugin:Rp,FormInputPlugin:rh,FormRadioPlugin:lh,FormRatingPlugin:xh,FormSelectPlugin:Gh,FormSpinbuttonPlugin:rf,FormTagsPlugin:Tf,FormTextareaPlugin:If,FormTimepickerPlugin:cm,ImagePlugin:um,InputGroupPlugin:Sm,JumbotronPlugin:Em,LayoutPlugin:Rm,LinkPlugin:Nm,ListGroupPlugin:Xm,MediaPlugin:ev,ModalPlugin:Qv,NavPlugin:xg,NavbarPlugin:Rg,OverlayPlugin:Xg,PaginationPlugin:mb,PaginationNavPlugin:_b,PopoverPlugin:my,ProgressPlugin:ky,SidebarPlugin:Hy,SkeletonPlugin:ww,SpinnerPlugin:_w,TablePlugin:Ix,TabsPlugin:nC,TimePlugin:iC,ToastPlugin:PC,TooltipPlugin:he({components:{BTooltip:Vb},plugins:{VBTooltipPlugin:WC}})}}),qC=he({directives:{VBHover:Ud}}),YC=he({directives:{VBModal:zv}});function XC(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function KC(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?XC(Object(n),!0).forEach((function(e){JC(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):XC(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function JC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ZC(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var QC=".nav-link",tk=".list-group-item",ek=".dropdown-item",nk=ji("BVScrollspy","activate"),ik={element:"body",offset:10,method:"auto",throttle:75},ok={element:"(string|element|component)",offset:"number",method:"string",throttle:"number"},rk=["webkitTransitionEnd","transitionend","otransitionend","oTransitionEnd"],ak=function(t){return function(t){return Object.prototype.toString.call(t)}(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()},sk=function(){function t(e,n,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$el=e,this.$scroller=null,this.$selector=[QC,tk,ek].join(","),this.$offsets=[],this.$targets=[],this.$activeTarget=null,this.$scrollHeight=0,this.$resizeTimeout=null,this.$scrollerObserver=null,this.$targetsObserver=null,this.$root=i||null,this.$config=null,this.updateConfig(n)}var e,n,i;return e=t,i=[{key:"Name",get:function(){return"v-b-scrollspy"}},{key:"Default",get:function(){return ik}},{key:"DefaultType",get:function(){return ok}}],(n=[{key:"updateConfig",value:function(t,e){this.$scroller&&(this.unlisten(),this.$scroller=null);var n=KC(KC({},this.constructor.Default),t);if(e&&(this.$root=e),function(t,e,n){for(var i in n)if(Rt(n,i)){var o=n[i],r=e[i],a=r&&wn(r)?"element":ak(r);a=r&&r._isVue?"component":a,new RegExp(o).test(a)||te("".concat(t,': Option "').concat(i,'" provided type "').concat(a,'" but expected type "').concat(o,'"'))}}(this.constructor.Name,n,this.constructor.DefaultType),this.$config=n,this.$root){var i=this;this.$root.$nextTick((function(){i.listen()}))}else this.listen()}},{key:"dispose",value:function(){this.unlisten(),clearTimeout(this.$resizeTimeout),this.$resizeTimeout=null,this.$el=null,this.$config=null,this.$scroller=null,this.$selector=null,this.$offsets=null,this.$targets=null,this.$activeTarget=null,this.$scrollHeight=null}},{key:"listen",value:function(){var t=this,e=this.getScroller();e&&"BODY"!==e.tagName&&ki(e,"scroll",this,Te),ki(window,"scroll",this,Te),ki(window,"resize",this,Te),ki(window,"orientationchange",this,Te),rk.forEach((function(e){ki(window,e,t,Te)})),this.setObservers(!0),this.handleEvent("refresh")}},{key:"unlisten",value:function(){var t=this,e=this.getScroller();this.setObservers(!1),e&&"BODY"!==e.tagName&&Oi(e,"scroll",this,Te),Oi(window,"scroll",this,Te),Oi(window,"resize",this,Te),Oi(window,"orientationchange",this,Te),rk.forEach((function(e){Oi(window,e,t,Te)}))}},{key:"setObservers",value:function(t){var e=this;this.$scrollerObserver&&this.$scrollerObserver.disconnect(),this.$targetsObserver&&this.$targetsObserver.disconnect(),this.$scrollerObserver=null,this.$targetsObserver=null,t&&(this.$targetsObserver=vl(this.$el,(function(){e.handleEvent("mutation")}),{subtree:!0,childList:!0,attributes:!0,attributeFilter:["href"]}),this.$scrollerObserver=vl(this.getScroller(),(function(){e.handleEvent("mutation")}),{subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["id","style","class"]}))}},{key:"handleEvent",value:function(t){var e=_t(t)?t:t.type,n=this;"scroll"===e?(this.$scrollerObserver||this.listen(),this.process()):/(resize|orientationchange|mutation|refresh)/.test(e)&&(n.$resizeTimeout||(n.$resizeTimeout=setTimeout((function(){n.refresh(),n.process(),n.$resizeTimeout=null}),n.$config.throttle)))}},{key:"refresh",value:function(){var t=this,e=this.getScroller();if(e){var n=e!==e.window?"position":"offset",i="auto"===this.$config.method?n:this.$config.method,o="position"===i?qn:Gn,r="position"===i?this.getScrollTop():0;return this.$offsets=[],this.$targets=[],this.$scrollHeight=this.getScrollHeight(),Pn(this.$selector,this.$el).map((function(t){return Fn(t,"href")})).filter((function(t){return t&&V.test(t||"")})).map((function(t){var n=t.replace(V,"$1").trim();if(!n)return null;var i=Tn(n,e);return i&&kn(i)?{offset:nn(o(i).top,0)+r,target:n}:null})).filter(Kt).sort((function(t,e){return t.offset-e.offset})).reduce((function(e,n){return e[n.target]||(t.$offsets.push(n.offset),t.$targets.push(n.target),e[n.target]=!0),e}),{}),this}}},{key:"process",value:function(){var t=this.getScrollTop()+this.$config.offset,e=this.getScrollHeight(),n=this.$config.offset+e-this.getOffsetHeight();if(this.$scrollHeight!==e&&this.refresh(),t>=n){var i=this.$targets[this.$targets.length-1];this.$activeTarget!==i&&this.activate(i)}else{if(this.$activeTarget&&t<this.$offsets[0]&&this.$offsets[0]>0)return this.$activeTarget=null,void this.clear();for(var o=this.$offsets.length;o--;)this.$activeTarget!==this.$targets[o]&&t>=this.$offsets[o]&&(vt(this.$offsets[o+1])||t<this.$offsets[o+1])&&this.activate(this.$targets[o])}}},{key:"getScroller",value:function(){if(this.$scroller)return this.$scroller;var t=this.$config.element;return t?(wn(t.$el)?t=t.$el:_t(t)&&(t=Tn(t)),t?(this.$scroller="BODY"===t.tagName?window:t,this.$scroller):null):null}},{key:"getScrollTop",value:function(){var t=this.getScroller();return t===window?t.pageYOffset:t.scrollTop}},{key:"getScrollHeight",value:function(){return this.getScroller().scrollHeight||to(document.body.scrollHeight,document.documentElement.scrollHeight)}},{key:"getOffsetHeight",value:function(){var t=this.getScroller();return t===window?window.innerHeight:Hn(t).height}},{key:"activate",value:function(t){var e=this;this.$activeTarget=t,this.clear();var n=Pn(this.$selector.split(",").map((function(e){return"".concat(e,'[href$="').concat(t,'"]')})).join(","),this.$el);n.forEach((function(t){if(In(t,"dropdown-item")){var n=Mn(".dropdown, .dropup",t);n&&e.setActiveState(Tn(".dropdown-toggle",n),!0),e.setActiveState(t,!0)}else{e.setActiveState(t,!0),jn(t.parentElement,".nav-item")&&e.setActiveState(t.parentElement,!0);for(var i=t;i;){var o=(i=Mn(".nav, .list-group",i))?i.previousElementSibling:null;o&&jn(o,"".concat(QC,", ").concat(tk))&&e.setActiveState(o,!0),o&&jn(o,".nav-item")&&(e.setActiveState(Tn(QC,o),!0),e.setActiveState(o,!0))}}})),n&&n.length>0&&this.$root&&this.$root.$emit(nk,t,n)}},{key:"clear",value:function(){var t=this;Pn("".concat(this.$selector,", ").concat(".nav-item"),this.$el).filter((function(t){return In(t,"active")})).forEach((function(e){return t.setActiveState(e,!1)}))}},{key:"setActiveState",value:function(t,e){t&&(e?Dn(t,"active"):$n(t,"active"))}}])&&ZC(e.prototype,n),i&&ZC(e,i),t}(),lk="__BV_ScrollSpy__",ck=/^\d+$/,uk=/^(auto|position|offset)$/,dk=function(t,e,n){if(u){var i=function(t){var e={};return t.arg&&(e.element="#".concat(t.arg)),Ft(t.modifiers).forEach((function(t){ck.test(t)?e.offset=nn(t,0):uk.test(t)&&(e.method=t)})),_t(t.value)?e.element=t.value:xt(t.value)?e.offset=ro(t.value):Ot(t.value)&&Ft(t.value).filter((function(t){return!!sk.DefaultType[t]})).forEach((function(n){e[n]=t.value[n]})),e}(e);t[lk]?t[lk].updateConfig(i,n.context.$root):t[lk]=new sk(t,i,n.context.$root)}},pk={install:pe({plugins:{componentsPlugin:GC,directivesPlugin:he({plugins:{VBHoverPlugin:qC,VBModalPlugin:YC,VBPopoverPlugin:fy,VBScrollspyPlugin:he({directives:{VBScrollspy:{bind:function(t,e,n){dk(t,e,n)},inserted:function(t,e,n){dk(t,e,n)},update:function(t,e,n){e.value!==e.oldValue&&dk(t,e,n)},componentUpdated:function(t,e,n){e.value!==e.oldValue&&dk(t,e,n)},unbind:function(t){!function(t){t[lk]&&(t[lk].dispose(),t[lk]=null,delete t[lk])}(t)}}}}),VBTogglePlugin:yc,VBTooltipPlugin:WC,VBVisiblePlugin:he({directives:{VBVisible:Ks}})}})}}),NAME:"BootstrapVue"};e.a=pk},XJg5:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.post-comment-drawer-feed {\n margin-bottom: 1rem;\n}\n.post-comment-drawer-feed .sort-menu .dropdown {\n border-radius: 18px;\n}\n.post-comment-drawer-feed .sort-menu .dropdown-menu {\n padding: 0;\n}\n.post-comment-drawer-feed .sort-menu .dropdown-item:active {\n background-color: inherit;\n}\n.post-comment-drawer-feed .sort-menu .title {\n color: #64748b;\n}\n.post-comment-drawer-feed .sort-menu .description {\n margin-bottom: 0;\n color: #94a3b8;\n font-size: 12px;\n}\n.post-comment-drawer-feed .sort-menu .active .title {\n font-weight: 600;\n color: #212529;\n}\n.post-comment-drawer-feed .sort-menu .active .description {\n color: #334155;\n}\n.post-comment-drawer-feed-loader {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 200px;\n}\n.post-comment-drawer .media-body-comment {\n position: relative;\n min-width: 240px;\n}\n.post-comment-drawer .media-body-wrapper .media-body-comment {\n padding: 0.7rem;\n}\n.post-comment-drawer .media-body-wrapper .media-body-likes-count {\n z-index: 3;\n position: absolute;\n right: -5px;\n bottom: -10px;\n background-color: #fff;\n padding: 1px 8px;\n font-weight: 600;\n font-size: 12px;\n border-radius: 15px;\n text-decoration: none;\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n.post-comment-drawer .media-body-wrapper .media-body-likes-count i {\n margin-right: 3px;\n}\n.post-comment-drawer .media-body-wrapper .media-body-likes-count .count {\n color: #334155;\n}\n.post-comment-drawer .media-body-show-replies {\n margin-top: -5px;\n margin-bottom: 5px;\n font-size: 13px;\n}\n.post-comment-drawer .media-body-show-replies a {\n display: flex;\n align-items: center;\n text-decoration: none;\n}\n.post-comment-drawer .media-body-show-replies-icon {\n display: inline-block;\n font-style: normal;\n font-variant: normal;\n text-rendering: auto;\n line-height: 1;\n padding-left: 0.5rem;\n margin-right: 0.25rem;\n transform: rotate(90deg);\n font-family: "Font Awesome 5 Free";\n font-weight: 400;\n text-decoration: none;\n}\n.post-comment-drawer .media-body-show-replies-icon:before {\n content: "\\F148";\n}\n.post-comment-drawer .media-body-show-replies-label {\n padding-top: 9px;\n}\n.post-comment-drawer-loadmore {\n font-size: 0.7875rem;\n}\n.post-comment-drawer .reply-form-input {\n flex: 1;\n position: relative;\n}\n.post-comment-drawer .reply-form-input-actions {\n position: absolute;\n right: 10px;\n top: 50%;\n transform: translateY(-50%);\n}\n.post-comment-drawer .reply-form-input-actions.open {\n top: 85%;\n transform: translateY(-85%);\n}\n.post-comment-drawer .child-reply-form {\n position: relative;\n}\n.post-comment-drawer .bh-comment {\n position: relative;\n width: 100%;\n height: auto;\n max-width: 160px !important;\n max-height: 260px !important;\n}\n.post-comment-drawer .bh-comment .img-fluid,\n.post-comment-drawer .bh-comment canvas {\n border-radius: 8px !important;\n}\n.post-comment-drawer .bh-comment span {\n width: 100%;\n height: auto;\n max-width: 160px !important;\n max-height: 260px !important;\n}\n.post-comment-drawer .bh-comment img {\n width: 100%;\n height: auto;\n max-width: 160px !important;\n max-height: 260px !important;\n -o-object-fit: cover;\n object-fit: cover;\n border-radius: 8px;\n}\n.post-comment-drawer .bh-comment .sensitive-warning {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n text-align: center;\n color: #fff;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: pointer;\n background: rgba(0, 0, 0, 0.4);\n padding: 5px;\n border-radius: 8px;\n}\n.post-comment-drawer .v-tribute {\n width: 100%;\n}',""])},XegA:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-collections-component .form-check[data-v-7c090755] {\n margin-left: 1rem;\n}\n.account-collections-component .form-check .media-body[data-v-7c090755] {\n margin-left: 1rem;\n}\n.account-collections-component .list-btn[data-v-7c090755] {\n position: relative;\n display: flex;\n padding: 0.75rem 1.25rem;\n background-color: white;\n border: 1px solid rgba(0, 0, 0, 0.125);\n border-left: 0;\n border-right: 0;\n justify-content: space-between;\n align-items: center;\n}\n.account-collections-component .list-btn[data-v-7c090755]:not(:first-child) {\n border-top: 0;\n}\n.account-collections-component .list-btn .lead[data-v-7c090755] {\n font-size: 1rem;\n}\n.account-collections-component .list-btn.active[data-v-7c090755] {\n background-color: #F3F4F6;\n}\n.account-collections-component .list-btn.active .lead[data-v-7c090755] {\n font-weight: 500;\n}",""])},YBdB:function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var i,o,r,a,s,l=1,c={},u=!1,d=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?i=function(t){e.nextTick((function(){f(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((r=new MessageChannel).port1.onmessage=function(t){f(t.data)},i=function(t){r.port2.postMessage(t)}):d&&"onreadystatechange"in d.createElement("script")?(o=d.documentElement,i=function(t){var e=d.createElement("script");e.onreadystatechange=function(){f(t),e.onreadystatechange=null,o.removeChild(e),e=null},o.appendChild(e)}):i=function(t){setTimeout(f,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&f(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),i=function(e){t.postMessage(a+e,"*")}),p.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var o={callback:t,args:e};return c[l]=o,i(l),l++},p.clearImmediate=h}function h(t){delete c[t]}function f(t){if(u)setTimeout(f,0,t);else{var e=c[t];if(e){u=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{h(t),u=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n("yLpj"),n("8oxB"))},YQfW:function(t,e,n){var i=n("3VoG");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},YlT8:function(t,e,n){var i=n("NmtT");t.exports=function(t,e){return i(Date.now(),t,e)}},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Z8eW:function(t,e,n){"use strict";n("4Gle")},Zbyu:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".profile-followers-component .list-group-item {\n border: none;\n}\n.profile-followers-component .list-group-item:not(:last-child) {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n}",""])},Zz9T:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".group-list-card .member-label[data-v-06c2e2d8] {\n padding: 2px 5px;\n font-size: 9px;\n color: #4b77be;\n background: rgba(137, 196, 244, 0.2);\n border: 1px solid rgba(137, 196, 244, 0.3);\n font-weight: 500;\n text-transform: capitalize;\n border-radius: 3px;\n}\n.group-list-card .remote-label[data-v-06c2e2d8] {\n padding: 2px 5px;\n font-size: 9px;\n color: #B45309;\n background: #FEF3C7;\n border: 1px solid #FCD34D;\n font-weight: 500;\n text-transform: capitalize;\n border-radius: 3px;\n}\n.group-list-card .group-header-img[data-v-06c2e2d8] {\n width: 60px;\n height: 60px;\n -o-object-fit: cover;\n object-fit: cover;\n padding: 0px;\n}\n.group-list-card .group-header-img.compact[data-v-06c2e2d8] {\n width: 42.5px;\n height: 42.5px;\n}",""])},a6ch:function(t,e,n){"use strict";n("bJ93")},aEEs:function(t){t.exports=JSON.parse('{"common":{"comment":"Comment","commented":"Commented","comments":"Comments","like":"Like","liked":"Liked","likes":"Likes","share":"Share","shared":"Shared","shares":"Shares","unshare":"Unshare","bookmark":"Bookmark","cancel":"Cancel","copyLink":"Copy Link","delete":"Delete","error":"Error","errorMsg":"Something went wrong. Please try again later.","oops":"Oops!","other":"Other","readMore":"Read more","success":"Success","proceed":"Proceed","next":"Next","close":"Close","clickHere":"click here","sensitive":"Sensitive","sensitiveContent":"Sensitive Content","sensitiveContentWarning":"This post may contain sensitive content"},"site":{"terms":"Terms of Use","privacy":"Privacy Policy"},"navmenu":{"search":"Search","admin":"Admin Dashboard","homeFeed":"Home Feed","localFeed":"Local Feed","globalFeed":"Global Feed","discover":"Discover","directMessages":"Direct Messages","notifications":"Notifications","groups":"Groups","stories":"Stories","profile":"Profile","drive":"Drive","settings":"Settings","compose":"Create New","logout":"Logout","about":"About","help":"Help","language":"Language","privacy":"Privacy","terms":"Terms","backToPreviousDesign":"Go back to previous design"},"directMessages":{"inbox":"Inbox","sent":"Sent","requests":"Requests"},"notifications":{"liked":"liked your","commented":"commented on your","reacted":"reacted to your","shared":"shared your","tagged":"tagged you in a","updatedA":"updated a","sentA":"sent a","followed":"followed","mentioned":"mentioned","you":"you","yourApplication":"Your application to join","applicationApproved":"was approved!","applicationRejected":"was rejected. You can re-apply to join in 6 months.","dm":"dm","groupPost":"group post","modlog":"modlog","post":"post","story":"story","noneFound":"No notifications found"},"post":{"shareToFollowers":"Share to followers","shareToOther":"Share to other","noLikes":"No likes yet","uploading":"Uploading"},"profile":{"posts":"Posts","followers":"Followers","following":"Following","admin":"Admin","collections":"Collections","follow":"Follow","unfollow":"Unfollow","editProfile":"Edit Profile","followRequested":"Follow Requested","joined":"Joined","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"View Post","viewProfile":"View Profile","moderationTools":"Moderation Tools","report":"Report","archive":"Archive","unarchive":"Unarchive","embed":"Embed","selectOneOption":"Select one of the following options","unlistFromTimelines":"Unlist from Timelines","addCW":"Add Content Warning","removeCW":"Remove Content Warning","markAsSpammer":"Mark as Spammer","markAsSpammerText":"Unlist + CW existing and future posts","spam":"Spam","sensitive":"Sensitive Content","abusive":"Abusive or Harmful","underageAccount":"Underage Account","copyrightInfringement":"Copyright Infringement","impersonation":"Impersonation","scamOrFraud":"Scam or Fraud","confirmReport":"Confirm Report","confirmReportText":"Are you sure you want to report this post?","reportSent":"Report Sent!","reportSentText":"We have successfully received your report.","reportSentError":"There was an issue reporting this post.","modAddCWConfirm":"Are you sure you want to add a content warning to this post?","modCWSuccess":"Successfully added content warning","modRemoveCWConfirm":"Are you sure you want to remove the content warning on this post?","modRemoveCWSuccess":"Successfully removed content warning","modUnlistConfirm":"Are you sure you want to unlist this post?","modUnlistSuccess":"Successfully unlisted post","modMarkAsSpammerConfirm":"Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.","modMarkAsSpammerSuccess":"Successfully marked account as spammer","toFollowers":"to Followers","showCaption":"Show Caption","showLikes":"Show Likes","compactMode":"Compact Mode","embedConfirmText":"By using this embed, you agree to our","deletePostConfirm":"Are you sure you want to delete this post?","archivePostConfirm":"Are you sure you want to archive this post?","unarchivePostConfirm":"Are you sure you want to unarchive this post?"},"story":{"add":"Add Story"},"timeline":{"peopleYouMayKnow":"People you may know","onboarding":{"welcome":"Welcome","thisIsYourHomeFeed":"This is your home feed, a chronological feed of posts from accounts you follow.","letUsHelpYouFind":"Let us help you find some interesting people to follow","refreshFeed":"Refresh my feed"}},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"},"report":{"report":"Report","selectReason":"Select a reason","reported":"Reported","sendingReport":"Sending report","thanksMsg":"Thanks for the report, people like you help keep our community safe!","contactAdminMsg":"If you\'d like to contact an administrator about this post or report"}}')},"aET+":function(t,e,n){var i,o,r={},a=(i=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=i.apply(this,arguments)),o}),s=function(t,e){return e?e.querySelector(t):document.querySelector(t)},l=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var i=s.call(this,t,n);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}}(),c=null,u=0,d=[],p=n("9tPo");function h(t,e){for(var n=0;n<t.length;n++){var i=t[n],o=r[i.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](i.parts[a]);for(;a<i.parts.length;a++)o.parts.push(y(i.parts[a],e))}else{var s=[];for(a=0;a<i.parts.length;a++)s.push(y(i.parts[a],e));r[i.id]={id:i.id,refs:1,parts:s}}}}function f(t,e){for(var n=[],i={},o=0;o<t.length;o++){var r=t[o],a=e.base?r[0]+e.base:r[0],s={css:r[1],media:r[2],sourceMap:r[3]};i[a]?i[a].parts.push(s):n.push(i[a]={id:a,parts:[s]})}return n}function m(t,e){var n=l(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var i=d[d.length-1];if("top"===t.insertAt)i?i.nextSibling?n.insertBefore(e,i.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),d.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=l(t.insertAt.before,n);n.insertBefore(e,o)}}function v(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=d.indexOf(t);e>=0&&d.splice(e,1)}function g(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var i=function(){0;return n.nc}();i&&(t.attrs.nonce=i)}return b(e,t.attrs),m(t,e),e}function b(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function y(t,e){var n,i,o,r;if(e.transform&&t.css){if(!(r="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=r}if(e.singleton){var a=u++;n=c||(c=g(e)),i=x.bind(null,n,a,!1),o=x.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 void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",b(e,t.attrs),m(t,e),e}(e),i=k.bind(null,n,e),o=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=g(e),i=C.bind(null,n),o=function(){v(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 o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=f(t,e);return h(n,e),function(t){for(var i=[],o=0;o<n.length;o++){var a=n[o];(s=r[a.id]).refs--,i.push(s)}t&&h(f(t,e),e);for(o=0;o<i.length;o++){var s;if(0===(s=i[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete r[s.id]}}}};var w,_=(w=[],function(t,e){return w[t]=e,w.filter(Boolean).join("\n")});function x(t,e,n,i){var o=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=_(e,o);else{var r=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(r,a[e]):t.appendChild(r)}}function C(t,e){var n=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function k(t,e,n){var i=n.css,o=n.sourceMap,r=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||r)&&(i=p(i)),o&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([i],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},aEiZ:function(t,e,n){var i=n("ohvK");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},aImd:function(t,e,n){var i=n("TuLp");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},aXAF:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.notifications-component-feed {\n max-height: 300px;\n overflow-y: auto;\n -ms-overflow-style: none;\n scrollbar-width: none;\n overflow-y: scroll;\n}\n.notifications-component-feed::-webkit-scrollbar {\n display: none;\n}\n.notifications-component .card {\n width: 100%;\n position: relative;\n}\n.notifications-component .card-body {\n width: 100%;\n}\n.notifications-component .card-body:after {\n content: "";\n position: absolute;\n background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.7), #fff);\n bottom: 0;\n width: calc(100% - 30px);\n height: 100px;\n z-index: 3;\n}',""])},azIu:function(t,e,n){"use strict";n("Uuqv")},bB9S:function(t,e,n){"use strict";n("cUVo")},bJ93:function(t,e,n){var i=n("hgvk");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},bmA5:function(t,e,n){"use strict";n("VBPq")},cGjF:function(t,e,n){var i=n("7AN4");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},cUVo:function(t,e,n){var i=n("is8k");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},cdph:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.sidebar-component .sidebar-sticky {\n background-color: #fff;\n border-radius: 15px;\n}\n.sidebar-component.sticky-top {\n top: 90px;\n}\n.sidebar-component .nav {\n overflow: auto;\n}\n.sidebar-component .nav-item .nav-link {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;\n font-weight: 500;\n color: #9ca3af;\n padding-left: 14px;\n margin-bottom: 5px;\n}\n.sidebar-component .nav-item .nav-link:hover {\n background-color: #f9fafb;\n}\n.sidebar-component .nav-item .nav-link .icon {\n display: inline-block;\n width: 40px;\n text-align: center;\n}\n.sidebar-component .nav-item .router-link-exact-active {\n color: #3B82F6;\n font-weight: 700;\n padding-left: 14px;\n}\n.sidebar-component .nav-item .router-link-exact-active:not(.text-center) {\n padding-left: 10px;\n border-left: 4px solid #3B82F6;\n}\n.sidebar-component .nav-item .router-link-exact-active .icon {\n color: #3B82F6 !important;\n}\n.sidebar-component .nav-item:first-child .nav-link .small {\n font-weight: 700;\n}\n.sidebar-component .nav-item:first-child .nav-link:first-child {\n border-top-left-radius: 15px;\n}\n.sidebar-component .nav-item:first-child .nav-link:last-child {\n border-top-right-radius: 15px;\n}\n.sidebar-component .nav-item:is(:last-child) .nav-link {\n margin-bottom: 0;\n border-bottom-left-radius: 15px;\n border-bottom-right-radius: 15px;\n}\n.sidebar-component .sidebar-heading {\n font-size: 0.75rem;\n text-transform: uppercase;\n}\n.sidebar-component .user-card {\n align-items: center;\n}\n.sidebar-component .user-card .avatar {\n width: 75px;\n height: 75px;\n border-radius: 15px;\n margin-right: 0.8rem;\n border: 1px solid #E5E7EB;\n}\n.sidebar-component .user-card .avatar-update-btn {\n position: absolute;\n right: 12px;\n bottom: 0;\n width: 20px;\n height: 20px;\n background: rgba(255, 255, 255, 0.9);\n border: 1px solid #dee2e6 !important;\n padding: 0;\n border-radius: 50rem;\n}\n.sidebar-component .user-card .avatar-update-btn-icon {\n font-family: "Font Awesome 5 Free";\n font-weight: 400;\n -webkit-font-smoothing: antialiased;\n display: inline-block;\n font-style: normal;\n font-variant: normal;\n text-rendering: auto;\n line-height: 1;\n}\n.sidebar-component .user-card .avatar-update-btn-icon:before {\n content: "\\F013";\n}\n.sidebar-component .user-card .username {\n font-weight: 600;\n font-size: 13px;\n margin-bottom: 0;\n}\n.sidebar-component .user-card .display-name {\n color: #212529;\n line-height: 0.8;\n font-size: 14px;\n font-weight: 800 !important;\n -webkit-user-select: all;\n -moz-user-select: all;\n -ms-user-select: all;\n user-select: all;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;\n margin-bottom: 0;\n}\n.sidebar-component .user-card .stats {\n margin-top: 0;\n margin-bottom: 0;\n font-size: 12px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.sidebar-component .user-card .stats .stats-following {\n margin-right: 0.8rem;\n}\n.sidebar-component .user-card .stats .following-count,\n.sidebar-component .user-card .stats .followers-count {\n font-weight: 800;\n}\n.sidebar-component .btn-primary {\n background-color: #3B82F6;\n}\n.sidebar-component .btn-primary.router-link-exact-active {\n opacity: 0.5;\n pointer-events: none;\n cursor: unset;\n}\n.sidebar-component .sidebar-sitelinks {\n margin-top: 1rem;\n display: flex;\n justify-content: space-between;\n padding: 0 2rem;\n}\n.sidebar-component .sidebar-sitelinks a {\n font-size: 12px;\n color: #B8C2CC;\n}\n.sidebar-component .sidebar-sitelinks .active {\n color: #212529;\n font-weight: 600;\n}\n.sidebar-component .sidebar-attribution {\n margin-top: 0.5rem;\n font-size: 12px;\n color: #B8C2CC !important;\n padding-left: 2rem;\n}\n.sidebar-component .sidebar-attribution a {\n color: #B8C2CC !important;\n}',""])},"ch/V":function(t,e,n){"use strict";n("Uq1p")},"d+I4":function(t,e,n){"use strict";n.r(e);var i=n("NFb6"),o=n.n(i),r={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){o()({el:t.target})},width:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.width)return this.status.media_attachments[0].meta.original.width},height:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.height)return this.status.media_attachments[0].meta.original.height}}},a=(n("ch/V"),n("KHd+")),s=Object(a.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return 1==t.status.sensitive?n("div",{staticClass:"content-label-wrapper"},[n("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),n("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),n("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),n("p",{staticClass:"mb-0"},[n("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),n("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):n("div",[n("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[n("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?n("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[n("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?n("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[n("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),n("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),n("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}],!1,null,"77d48172",null);e.default=s.exports},dKhC:function(t,e,n){"use strict";n("sw6c")},dRId:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.compose-desktop .tab-flex[data-v-5779f6cf] {\n display: flex;\n justify-content: center;\n align-items: center;\n min-height: 600px;\n}\n.compose-desktop .tab[data-v-5779f6cf] {\n min-height: 600px;\n}\n.compose-desktop .crop-dimension-btn[data-v-5779f6cf] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n text-decoration: none;\n padding-left: 0;\n margin-bottom: 10px;\n}\n.compose-desktop .crop-dimension-btn-label[data-v-5779f6cf] {\n display: flex;\n align-items: center;\n color: #212529;\n}\n.compose-desktop .crop-dimension-btn-label-icon[data-v-5779f6cf] {\n width: 40px;\n margin-right: 10px;\n text-align: center;\n}\n.compose-desktop .crop-dimension-btn-label-name[data-v-5779f6cf] {\n font-size: 0.99rem;\n font-weight: 300;\n}\n.compose-desktop .crop-dimension-btn.active .crop-dimension-btn-indicator i[data-v-5779f6cf] {\n color: #2c78bf !important;\n}\n.compose-desktop .crop-dimension-btn.active .crop-dimension-btn-indicator .fa-circle[data-v-5779f6cf]:before {\n content: "\\F192";\n}\n.compose-desktop .crop-dimension-btn[disabled=disabled] .crop-dimension-btn-label[data-v-5779f6cf] {\n color: #B8C2CC !important;\n}\n.compose-desktop .crop-dimension-btn[disabled=disabled] .crop-dimension-btn-indicator[data-v-5779f6cf] {\n color: #B8C2CC !important;\n}\n.compose-desktop .hide-scroll[data-v-5779f6cf] {\n -ms-overflow-style: none;\n scrollbar-width: none;\n overflow-y: scroll;\n}\n.compose-desktop .hide-scroll[data-v-5779f6cf]::-webkit-scrollbar {\n display: none;\n}\n.compose-desktop .no-focus[data-v-5779f6cf] {\n border-color: none;\n outline: 0;\n box-shadow: none;\n}\n.compose-desktop .list-btn[data-v-5779f6cf] {\n position: relative;\n display: flex;\n padding: 0.75rem 1.25rem;\n background-color: white;\n border: 1px solid rgba(0, 0, 0, 0.125);\n border-left: 0;\n border-right: 0;\n justify-content: space-between;\n align-items: center;\n}\n.compose-desktop .list-btn[data-v-5779f6cf]:not(:first-child) {\n border-top: 0;\n}\n.compose-desktop .list-btn .lead[data-v-5779f6cf] {\n font-size: 1rem;\n}\n.compose-desktop .list-btn.active[data-v-5779f6cf] {\n background-color: #F3F4F6;\n}\n.compose-desktop .list-btn.active .lead[data-v-5779f6cf] {\n font-weight: 500;\n}\n.compose-desktop .settings-tab[data-v-5779f6cf] {\n display: flex;\n flex-direction: column;\n padding-left: 0;\n margin-bottom: 0;\n border-radius: 0;\n margin-top: -17px;\n margin-left: -1rem;\n flex-grow: 1;\n max-height: 600px;\n overflow-y: auto;\n}\n.compose-desktop .media-square[data-v-5779f6cf] {\n margin: auto 0.5rem;\n width: 70px;\n height: 70px;\n -o-object-fit: cover;\n object-fit: cover;\n border-radius: 0.25rem;\n border: 1px solid #dee2e6;\n cursor: pointer;\n}\n.compose-desktop .media-square.active[data-v-5779f6cf] {\n border: 3px solid #3B82F6;\n padding: 2px;\n}\n.compose-desktop .media-square.activeold[data-v-5779f6cf] {\n border: 3px dashed #BFDBFE;\n padding: 2px;\n}\n.compose-desktop .media-add-square[data-v-5779f6cf] {\n display: flex;\n width: 30px;\n height: 70px;\n justify-content: center;\n align-items: center;\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n right: 0;\n text-decoration: none;\n}\n.compose-desktop .media-remove-square[data-v-5779f6cf] {\n display: flex;\n width: 30px;\n height: 70px;\n justify-content: center;\n align-items: center;\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n left: 0;\n text-decoration: none;\n}\n.compose-desktop .media-remove-square .fa-minus-circle[data-v-5779f6cf] {\n color: #B8C2CC !important;\n}\n.compose-desktop .media-thumbs[data-v-5779f6cf] {\n display: flex;\n justify-content: center;\n margin-top: 1rem;\n max-width: 500px;\n overflow-y: auto;\n width: 100%;\n height: auto;\n position: relative;\n -ms-overflow-style: none;\n scrollbar-width: none;\n}\n.compose-desktop .media-thumbs[data-v-5779f6cf]::-webkit-scrollbar {\n display: none;\n}\n.compose-desktop .edit-nav-tab[data-v-5779f6cf] {\n color: #B8C2CC;\n font-weight: 400;\n border-bottom: 1px solid #dee2e6 !important;\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n cursor: pointer;\n}\n.compose-desktop .edit-nav-tab.active[data-v-5779f6cf] {\n color: #212529;\n font-weight: 700;\n border-bottom: 1px solid #000 !important;\n}',""])},dS8w:function(t,e,n){var i=n("IFrh");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},dfRi:function(t,e,n){var i=n("7n9v");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},djwI:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-appearance-component .form-check[data-v-6b7eb468] {\n margin-left: 1rem;\n}\n.account-appearance-component .form-check .media-body[data-v-6b7eb468] {\n margin-left: 1rem;\n}",""])},dteg:function(t,e,n){"use strict";n("Gabo")},eRdD:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-devices-component .form-check[data-v-761c3ad4] {\n margin-left: 1rem;\n}\n.account-devices-component .form-check .media-body[data-v-761c3ad4] {\n margin-left: 1rem;\n}",""])},eSBa:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-follows-component .form-check[data-v-5460c3a2] {\n margin-left: 1rem;\n}\n.account-follows-component .form-check .media-body[data-v-5460c3a2] {\n margin-left: 1rem;\n}\n.account-follows-component .nav-link[data-v-5460c3a2] {\n color: #B8C2CC;\n font-size: 12px;\n font-weight: 600;\n text-transform: uppercase;\n}\n.account-follows-component .nav-link.active[data-v-5460c3a2] {\n color: #000;\n}",""])},exej:function(t,e,n){"use strict";n.r(e);var i={props:["status"]},o=n("KHd+"),r=Object(o.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return 1==t.status.sensitive?n("div",[n("details",{staticClass:"details-animated"},[n("summary",[n("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),n("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),n("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(e,i){return n("b-carousel-slide",{key:e.id+"-media"},["Video"==e.type?n("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%",poster:e.preview_url},slot:"img"},[n("source",{attrs:{src:e.url,type:e.mime}})]):"Image"==e.type?n("div",{attrs:{slot:"img",title:e.description},slot:"img"},[n("img",{class:e.filter_class+" d-block img-fluid w-100",attrs:{src:e.url,alt:e.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):n("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):n("div",{staticClass:"w-100 h-100 p-0"},[n("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(e,i){return n("slide",{key:"px-carousel-"+e.id+"-"+i,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["Video"==e.type?n("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:e.description,width:"100%",height:"100%",poster:e.preview_url}},[n("source",{attrs:{src:e.url,type:e.mime}})]):"Image"==e.type?n("div",{attrs:{title:e.description}},[n("img",{class:e.filter_class+" img-fluid w-100",attrs:{src:e.url,alt:e.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):n("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)}),[],!1,null,null,null);e.default=r.exports},"fQ/w":function(t,e,n){"use strict";function i(t,e){for(var n in e)t[n]=e[n];return t}n.r(e);var o=/[!'()*]/g,r=function(t){return"%"+t.charCodeAt(0).toString(16)},a=/%2C/g,s=function(t){return encodeURIComponent(t).replace(o,r).replace(a,",")};function l(t){try{return decodeURIComponent(t)}catch(t){0}return t}var c=function(t){return null==t||"object"==typeof t?t:String(t)};function u(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),i=l(n.shift()),o=n.length>0?l(n.join("=")):null;void 0===e[i]?e[i]=o:Array.isArray(e[i])?e[i].push(o):e[i]=[e[i],o]})),e):e}function d(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return s(e);if(Array.isArray(n)){var i=[];return n.forEach((function(t){void 0!==t&&(null===t?i.push(s(e)):i.push(s(e)+"="+s(t)))})),i.join("&")}return s(e)+"="+s(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var p=/\/?$/;function h(t,e,n,i){var o=i&&i.options.stringifyQuery,r=e.query||{};try{r=f(r)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:r,params:e.params||{},fullPath:g(e,o),matched:t?v(t):[]};return n&&(a.redirectedFrom=g(n,o)),Object.freeze(a)}function f(t){if(Array.isArray(t))return t.map(f);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=f(t[n]);return e}return t}var m=h(null,{path:"/"});function v(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function g(t,e){var n=t.path,i=t.query;void 0===i&&(i={});var o=t.hash;return void 0===o&&(o=""),(n||"/")+(e||d)(i)+o}function b(t,e,n){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(p,"")===e.path.replace(p,"")&&(n||t.hash===e.hash&&y(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&y(t.query,e.query)&&y(t.params,e.params))))}function y(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),i=Object.keys(e).sort();return n.length===i.length&&n.every((function(n,o){var r=t[n];if(i[o]!==n)return!1;var a=e[n];return null==r||null==a?r===a:"object"==typeof r&&"object"==typeof a?y(r,a):String(r)===String(a)}))}function w(t){for(var e=0;e<t.matched.length;e++){var n=t.matched[e];for(var i in n.instances){var o=n.instances[i],r=n.enteredCbs[i];if(o&&r){delete n.enteredCbs[i];for(var a=0;a<r.length;a++)o._isBeingDestroyed||r[a](o)}}}}var _={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,o=e.children,r=e.parent,a=e.data;a.routerView=!0;for(var s=r.$createElement,l=n.name,c=r.$route,u=r._routerViewCache||(r._routerViewCache={}),d=0,p=!1;r&&r._routerRoot!==r;){var h=r.$vnode?r.$vnode.data:{};h.routerView&&d++,h.keepAlive&&r._directInactive&&r._inactive&&(p=!0),r=r.$parent}if(a.routerViewDepth=d,p){var f=u[l],m=f&&f.component;return m?(f.configProps&&x(m,a,f.route,f.configProps),s(m,a,o)):s()}var v=c.matched[d],g=v&&v.components[l];if(!v||!g)return u[l]=null,s();u[l]={component:g},a.registerRouteInstance=function(t,e){var n=v.instances[l];(e&&n!==t||!e&&n===t)&&(v.instances[l]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){v.instances[l]=e.componentInstance},a.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==v.instances[l]&&(v.instances[l]=t.componentInstance),w(c)};var b=v.props&&v.props[l];return b&&(i(u[l],{route:c,configProps:b}),x(g,a,c,b)),s(g,a,o)}};function x(t,e,n,o){var r=e.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(n,o);if(r){r=e.props=i({},r);var a=e.attrs=e.attrs||{};for(var s in r)t.props&&s in t.props||(a[s]=r[s],delete r[s])}}function C(t,e,n){var i=t.charAt(0);if("/"===i)return t;if("?"===i||"#"===i)return e+t;var o=e.split("/");n&&o[o.length-1]||o.pop();for(var r=t.replace(/^\//,"").split("/"),a=0;a<r.length;a++){var s=r[a];".."===s?o.pop():"."!==s&&o.push(s)}return""!==o[0]&&o.unshift(""),o.join("/")}function k(t){return t.replace(/\/+/g,"/")}var O=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},S=U,P=A,T=function(t,e){return I(A(t,e),e)},j=I,M=N,E=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function A(t,e){for(var n,i=[],o=0,r=0,a="",s=e&&e.delimiter||"/";null!=(n=E.exec(t));){var l=n[0],c=n[1],u=n.index;if(a+=t.slice(r,u),r=u+l.length,c)a+=c[1];else{var d=t[r],p=n[2],h=n[3],f=n[4],m=n[5],v=n[6],g=n[7];a&&(i.push(a),a="");var b=null!=p&&null!=d&&d!==p,y="+"===v||"*"===v,w="?"===v||"*"===v,_=n[2]||s,x=f||m;i.push({name:h||o++,prefix:p||"",delimiter:_,optional:w,repeat:y,partial:b,asterisk:!!g,pattern:x?B(x):g?".*":"[^"+L(_)+"]+?"})}}return r<t.length&&(a+=t.substr(r)),a&&i.push(a),i}function D(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function I(t,e){for(var n=new Array(t.length),i=0;i<t.length;i++)"object"==typeof t[i]&&(n[i]=new RegExp("^(?:"+t[i].pattern+")$",R(e)));return function(e,i){for(var o="",r=e||{},a=(i||{}).pretty?D:encodeURIComponent,s=0;s<t.length;s++){var l=t[s];if("string"!=typeof l){var c,u=r[l.name];if(null==u){if(l.optional){l.partial&&(o+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(O(u)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(u)+"`");if(0===u.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<u.length;d++){if(c=a(u[d]),!n[s].test(c))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(c)+"`");o+=(0===d?l.prefix:l.delimiter)+c}}else{if(c=l.asterisk?encodeURI(u).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):a(u),!n[s].test(c))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+c+'"');o+=l.prefix+c}}else o+=l}return o}}function L(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function B(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function F(t,e){return t.keys=e,t}function R(t){return t&&t.sensitive?"":"i"}function N(t,e,n){O(e)||(n=e||n,e=[]);for(var i=(n=n||{}).strict,o=!1!==n.end,r="",a=0;a<t.length;a++){var s=t[a];if("string"==typeof s)r+=L(s);else{var l=L(s.prefix),c="(?:"+s.pattern+")";e.push(s),s.repeat&&(c+="(?:"+l+c+")*"),r+=c=s.optional?s.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")"}}var u=L(n.delimiter||"/"),d=r.slice(-u.length)===u;return i||(r=(d?r.slice(0,-u.length):r)+"(?:"+u+"(?=$))?"),r+=o?"$":i&&d?"":"(?="+u+"|$)",F(new RegExp("^"+r,R(n)),e)}function U(t,e,n){return O(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)e.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return F(t,e)}(t,e):O(t)?function(t,e,n){for(var i=[],o=0;o<t.length;o++)i.push(U(t[o],e,n).source);return F(new RegExp("(?:"+i.join("|")+")",R(n)),e)}(t,e,n):function(t,e,n){return N(A(t,n),e,n)}(t,e,n)}S.parse=P,S.compile=T,S.tokensToFunction=j,S.tokensToRegExp=M;var z=Object.create(null);function H(t,e,n){e=e||{};try{var i=z[t]||(z[t]=S.compile(t));return"string"==typeof e.pathMatch&&(e[0]=e.pathMatch),i(e,{pretty:!0})}catch(t){return""}finally{delete e[0]}}function V(t,e,n,o){var r="string"==typeof t?{path:t}:t;if(r._normalized)return r;if(r.name){var a=(r=i({},t)).params;return a&&"object"==typeof a&&(r.params=i({},a)),r}if(!r.path&&r.params&&e){(r=i({},r))._normalized=!0;var s=i(i({},e.params),r.params);if(e.name)r.name=e.name,r.params=s;else if(e.matched.length){var l=e.matched[e.matched.length-1].path;r.path=H(l,s,e.path)}else 0;return r}var d=function(t){var e="",n="",i=t.indexOf("#");i>=0&&(e=t.slice(i),t=t.slice(0,i));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}(r.path||""),p=e&&e.path||"/",h=d.path?C(d.path,p,n||r.append):p,f=function(t,e,n){void 0===e&&(e={});var i,o=n||u;try{i=o(t||"")}catch(t){i={}}for(var r in e){var a=e[r];i[r]=Array.isArray(a)?a.map(c):c(a)}return i}(d.query,r.query,o&&o.options.parseQuery),m=r.hash||d.hash;return m&&"#"!==m.charAt(0)&&(m="#"+m),{_normalized:!0,path:h,query:f,hash:m}}var W,G=function(){},q={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,o=this.$route,r=n.resolve(this.to,o,this.append),a=r.location,s=r.route,l=r.href,c={},u=n.options.linkActiveClass,d=n.options.linkExactActiveClass,f=null==u?"router-link-active":u,m=null==d?"router-link-exact-active":d,v=null==this.activeClass?f:this.activeClass,g=null==this.exactActiveClass?m:this.exactActiveClass,y=s.redirectedFrom?h(null,V(s.redirectedFrom),null,n):s;c[g]=b(o,y,this.exactPath),c[v]=this.exact||this.exactPath?c[g]:function(t,e){return 0===t.path.replace(p,"/").indexOf(e.path.replace(p,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(o,y);var w=c[g]?this.ariaCurrentValue:null,_=function(t){Y(t)&&(e.replace?n.replace(a,G):n.push(a,G))},x={click:Y};Array.isArray(this.event)?this.event.forEach((function(t){x[t]=_})):x[this.event]=_;var C={class:c},k=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:s,navigate:_,isActive:c[v],isExactActive:c[g]});if(k){if(1===k.length)return k[0];if(k.length>1||!k.length)return 0===k.length?t():t("span",{},k)}if("a"===this.tag)C.on=x,C.attrs={href:l,"aria-current":w};else{var O=function t(e){var n;if(e)for(var i=0;i<e.length;i++){if("a"===(n=e[i]).tag)return n;if(n.children&&(n=t(n.children)))return n}}(this.$slots.default);if(O){O.isStatic=!1;var S=O.data=i({},O.data);for(var P in S.on=S.on||{},S.on){var T=S.on[P];P in x&&(S.on[P]=Array.isArray(T)?T:[T])}for(var j in x)j in S.on?S.on[j].push(x[j]):S.on[j]=_;var M=O.data.attrs=i({},O.data.attrs);M.href=l,M["aria-current"]=w}else C.on=x}return t(this.tag,C,this.$slots.default)}};function Y(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}var X="undefined"!=typeof window;function K(t,e,n,i,o){var r=e||[],a=n||Object.create(null),s=i||Object.create(null);t.forEach((function(t){!function t(e,n,i,o,r,a){var s=o.path,l=o.name;0;var c=o.pathToRegexpOptions||{},u=function(t,e,n){n||(t=t.replace(/\/$/,""));if("/"===t[0])return t;if(null==e)return t;return k(e.path+"/"+t)}(s,r,c.strict);"boolean"==typeof o.caseSensitive&&(c.sensitive=o.caseSensitive);var d={path:u,regex:J(u,c),components:o.components||{default:o.component},alias:o.alias?"string"==typeof o.alias?[o.alias]:o.alias:[],instances:{},enteredCbs:{},name:l,parent:r,matchAs:a,redirect:o.redirect,beforeEnter:o.beforeEnter,meta:o.meta||{},props:null==o.props?{}:o.components?o.props:{default:o.props}};o.children&&o.children.forEach((function(o){var r=a?k(a+"/"+o.path):void 0;t(e,n,i,o,d,r)}));n[d.path]||(e.push(d.path),n[d.path]=d);if(void 0!==o.alias)for(var p=Array.isArray(o.alias)?o.alias:[o.alias],h=0;h<p.length;++h){0;var f={path:p[h],children:o.children};t(e,n,i,f,r,d.path||"/")}l&&(i[l]||(i[l]=d))}(r,a,s,t,o)}));for(var l=0,c=r.length;l<c;l++)"*"===r[l]&&(r.push(r.splice(l,1)[0]),c--,l--);return{pathList:r,pathMap:a,nameMap:s}}function J(t,e){return S(t,[],e)}function Z(t,e){var n=K(t),i=n.pathList,o=n.pathMap,r=n.nameMap;function a(t,n,a){var s=V(t,n,!1,e),c=s.name;if(c){var u=r[c];if(!u)return l(null,s);var d=u.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var p in n.params)!(p in s.params)&&d.indexOf(p)>-1&&(s.params[p]=n.params[p]);return s.path=H(u.path,s.params),l(u,s,a)}if(s.path){s.params={};for(var h=0;h<i.length;h++){var f=i[h],m=o[f];if(Q(m.regex,s.path,s.params))return l(m,s,a)}}return l(null,s)}function s(t,n){var i=t.redirect,o="function"==typeof i?i(h(t,n,null,e)):i;if("string"==typeof o&&(o={path:o}),!o||"object"!=typeof o)return l(null,n);var s=o,c=s.name,u=s.path,d=n.query,p=n.hash,f=n.params;if(d=s.hasOwnProperty("query")?s.query:d,p=s.hasOwnProperty("hash")?s.hash:p,f=s.hasOwnProperty("params")?s.params:f,c){r[c];return a({_normalized:!0,name:c,query:d,hash:p,params:f},void 0,n)}if(u){var m=function(t,e){return C(t,e.parent?e.parent.path:"/",!0)}(u,t);return a({_normalized:!0,path:H(m,f),query:d,hash:p},void 0,n)}return l(null,n)}function l(t,n,i){return t&&t.redirect?s(t,i||n):t&&t.matchAs?function(t,e,n){var i=a({_normalized:!0,path:H(n,e.params)});if(i){var o=i.matched,r=o[o.length-1];return e.params=i.params,l(r,e)}return l(null,e)}(0,n,t.matchAs):h(t,n,i,e)}return{match:a,addRoute:function(t,e){var n="object"!=typeof t?r[t]:void 0;K([e||t],i,o,r,n),n&&n.alias.length&&K(n.alias.map((function(t){return{path:t,children:[e]}})),i,o,r,n)},getRoutes:function(){return i.map((function(t){return o[t]}))},addRoutes:function(t){K(t,i,o,r)}}}function Q(t,e,n){var i=e.match(t);if(!i)return!1;if(!n)return!0;for(var o=1,r=i.length;o<r;++o){var a=t.keys[o-1];a&&(n[a.name||"pathMatch"]="string"==typeof i[o]?l(i[o]):i[o])}return!0}var tt=X&&window.performance&&window.performance.now?window.performance:Date;function et(){return tt.now().toFixed(3)}var nt=et();function it(){return nt}function ot(t){return nt=t}var rt=Object.create(null);function at(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=i({},window.history.state);return n.key=it(),window.history.replaceState(n,"",e),window.addEventListener("popstate",ct),function(){window.removeEventListener("popstate",ct)}}function st(t,e,n,i){if(t.app){var o=t.options.scrollBehavior;o&&t.app.$nextTick((function(){var r=function(){var t=it();if(t)return rt[t]}(),a=o.call(t,e,n,i?r:null);a&&("function"==typeof a.then?a.then((function(t){ft(t,r)})).catch((function(t){0})):ft(a,r))}))}}function lt(){var t=it();t&&(rt[t]={x:window.pageXOffset,y:window.pageYOffset})}function ct(t){lt(),t.state&&t.state.key&&ot(t.state.key)}function ut(t){return pt(t.x)||pt(t.y)}function dt(t){return{x:pt(t.x)?t.x:window.pageXOffset,y:pt(t.y)?t.y:window.pageYOffset}}function pt(t){return"number"==typeof t}var ht=/^#\d/;function ft(t,e){var n,i="object"==typeof t;if(i&&"string"==typeof t.selector){var o=ht.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(o){var r=t.offset&&"object"==typeof t.offset?t.offset:{};e=function(t,e){var n=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{x:i.left-n.left-e.x,y:i.top-n.top-e.y}}(o,r={x:pt((n=r).x)?n.x:0,y:pt(n.y)?n.y:0})}else ut(t)&&(e=dt(t))}else i&&ut(t)&&(e=dt(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var mt,vt=X&&((-1===(mt=window.navigator.userAgent).indexOf("Android 2.")&&-1===mt.indexOf("Android 4.0")||-1===mt.indexOf("Mobile Safari")||-1!==mt.indexOf("Chrome")||-1!==mt.indexOf("Windows Phone"))&&window.history&&"function"==typeof window.history.pushState);function gt(t,e){lt();var n=window.history;try{if(e){var o=i({},n.state);o.key=it(),n.replaceState(o,"",t)}else n.pushState({key:ot(et())},"",t)}catch(n){window.location[e?"replace":"assign"](t)}}function bt(t){gt(t,!0)}function yt(t,e,n){var i=function(o){o>=t.length?n():t[o]?e(t[o],(function(){i(o+1)})):i(o+1)};i(0)}var wt={redirected:2,aborted:4,cancelled:8,duplicated:16};function _t(t,e){return Ct(t,e,wt.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return kt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function xt(t,e){return Ct(t,e,wt.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Ct(t,e,n,i){var o=new Error(i);return o._isRouter=!0,o.from=t,o.to=e,o.type=n,o}var kt=["params","query","hash"];function Ot(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function St(t,e){return Ot(t)&&t._isRouter&&(null==e||t.type===e)}function Pt(t){return function(e,n,i){var o=!1,r=0,a=null;Tt(t,(function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){o=!0,r++;var l,c=Et((function(e){var o;((o=e).__esModule||Mt&&"Module"===o[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:W.extend(e),n.components[s]=e,--r<=0&&i()})),u=Et((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Ot(t)?t:new Error(e),i(a))}));try{l=t(c,u)}catch(t){u(t)}if(l)if("function"==typeof l.then)l.then(c,u);else{var d=l.component;d&&"function"==typeof d.then&&d.then(c,u)}}})),o||i()}}function Tt(t,e){return jt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function jt(t){return Array.prototype.concat.apply([],t)}var Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Et(t){var e=!1;return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];if(!e)return e=!0,t.apply(this,n)}}var At=function(t,e){this.router=t,this.base=function(t){if(!t)if(X){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Dt(t,e,n,i){var o=Tt(t,(function(t,i,o,r){var a=function(t,e){"function"!=typeof t&&(t=W.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map((function(t){return n(t,i,o,r)})):n(a,i,o,r)}));return jt(i?o.reverse():o)}function $t(t,e){if(e)return function(){return t.apply(e,arguments)}}At.prototype.listen=function(t){this.cb=t},At.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},At.prototype.onError=function(t){this.errorCbs.push(t)},At.prototype.transitionTo=function(t,e,n){var i,o=this;try{i=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach((function(e){e(t)})),t}var r=this.current;this.confirmTransition(i,(function(){o.updateRoute(i),e&&e(i),o.ensureURL(),o.router.afterHooks.forEach((function(t){t&&t(i,r)})),o.ready||(o.ready=!0,o.readyCbs.forEach((function(t){t(i)})))}),(function(t){n&&n(t),t&&!o.ready&&(St(t,wt.redirected)&&r===m||(o.ready=!0,o.readyErrorCbs.forEach((function(e){e(t)}))))}))},At.prototype.confirmTransition=function(t,e,n){var i=this,o=this.current;this.pending=t;var r=function(t){!St(t)&&Ot(t)&&(i.errorCbs.length?i.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},a=t.matched.length-1,s=o.matched.length-1;if(b(t,o)&&a===s&&t.matched[a]===o.matched[s])return this.ensureURL(),t.hash&&st(this.router,o,t,!1),r(function(t,e){var n=Ct(t,e,wt.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}(o,t));var l=function(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n<i&&t[n]===e[n];n++);return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}(this.current.matched,t.matched),c=l.updated,u=l.deactivated,d=l.activated,p=[].concat(function(t){return Dt(t,"beforeRouteLeave",$t,!0)}(u),this.router.beforeHooks,function(t){return Dt(t,"beforeRouteUpdate",$t)}(c),d.map((function(t){return t.beforeEnter})),Pt(d)),h=function(e,n){if(i.pending!==t)return r(xt(o,t));try{e(t,o,(function(e){!1===e?(i.ensureURL(!0),r(function(t,e){return Ct(t,e,wt.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}(o,t))):Ot(e)?(i.ensureURL(!0),r(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(r(_t(o,t)),"object"==typeof e&&e.replace?i.replace(e):i.push(e)):n(e)}))}catch(t){r(t)}};yt(p,h,(function(){yt(function(t){return Dt(t,"beforeRouteEnter",(function(t,e,n,i){return function(t,e,n){return function(i,o,r){return t(i,o,(function(t){"function"==typeof t&&(e.enteredCbs[n]||(e.enteredCbs[n]=[]),e.enteredCbs[n].push(t)),r(t)}))}}(t,n,i)}))}(d).concat(i.router.resolveHooks),h,(function(){if(i.pending!==t)return r(xt(o,t));i.pending=null,e(t),i.router.app&&i.router.app.$nextTick((function(){w(t)}))}))}))},At.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},At.prototype.setupListeners=function(){},At.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=m,this.pending=null};var It=function(t){function e(e,n){t.call(this,e,n),this._startLocation=Lt(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,i=vt&&n;i&&this.listeners.push(at());var o=function(){var n=t.current,o=Lt(t.base);t.current===m&&o===t._startLocation||t.transitionTo(o,(function(t){i&&st(e,t,n,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var i=this,o=this.current;this.transitionTo(t,(function(t){gt(k(i.base+t.fullPath)),st(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,o=this.current;this.transitionTo(t,(function(t){bt(k(i.base+t.fullPath)),st(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(Lt(this.base)!==this.current.fullPath){var e=k(this.base+this.current.fullPath);t?gt(e):bt(e)}},e.prototype.getCurrentLocation=function(){return Lt(this.base)},e}(At);function Lt(t){var e=window.location.pathname,n=e.toLowerCase(),i=t.toLowerCase();return!t||n!==i&&0!==n.indexOf(k(i+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Bt=function(t){function e(e,n,i){t.call(this,e,n),i&&function(t){var e=Lt(t);if(!/^\/#/.test(e))return window.location.replace(k(t+"/#"+e)),!0}(this.base)||Ft()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=vt&&e;n&&this.listeners.push(at());var i=function(){var e=t.current;Ft()&&t.transitionTo(Rt(),(function(i){n&&st(t.router,i,e,!0),vt||zt(i.fullPath)}))},o=vt?"popstate":"hashchange";window.addEventListener(o,i),this.listeners.push((function(){window.removeEventListener(o,i)}))}},e.prototype.push=function(t,e,n){var i=this,o=this.current;this.transitionTo(t,(function(t){Ut(t.fullPath),st(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,o=this.current;this.transitionTo(t,(function(t){zt(t.fullPath),st(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Rt()!==e&&(t?Ut(e):zt(e))},e.prototype.getCurrentLocation=function(){return Rt()},e}(At);function Ft(){var t=Rt();return"/"===t.charAt(0)||(zt("/"+t),!1)}function Rt(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function Nt(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function Ut(t){vt?gt(Nt(t)):window.location.hash=t}function zt(t){vt?bt(Nt(t)):window.location.replace(Nt(t))}var Ht=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){var t=e.current;e.index=n,e.updateRoute(i),e.router.afterHooks.forEach((function(e){e&&e(i,t)}))}),(function(t){St(t,wt.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(At),Vt=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Z(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!vt&&!1!==t.fallback,this.fallback&&(e="hash"),X||(e="abstract"),this.mode=e,e){case"history":this.history=new It(this,t.base);break;case"hash":this.history=new Bt(this,t.base,this.fallback);break;case"abstract":this.history=new Ht(this,t.base);break;default:0}},Wt={currentRoute:{configurable:!0}};function Gt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Vt.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Wt.currentRoute.get=function(){return this.history&&this.history.current},Vt.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof It||n instanceof Bt){var i=function(t){n.setupListeners(),function(t){var i=n.current,o=e.options.scrollBehavior;vt&&o&&"fullPath"in t&&st(e,t,i,!1)}(t)};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},Vt.prototype.beforeEach=function(t){return Gt(this.beforeHooks,t)},Vt.prototype.beforeResolve=function(t){return Gt(this.resolveHooks,t)},Vt.prototype.afterEach=function(t){return Gt(this.afterHooks,t)},Vt.prototype.onReady=function(t,e){this.history.onReady(t,e)},Vt.prototype.onError=function(t){this.history.onError(t)},Vt.prototype.push=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){i.history.push(t,e,n)}));this.history.push(t,e,n)},Vt.prototype.replace=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){i.history.replace(t,e,n)}));this.history.replace(t,e,n)},Vt.prototype.go=function(t){this.history.go(t)},Vt.prototype.back=function(){this.go(-1)},Vt.prototype.forward=function(){this.go(1)},Vt.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},Vt.prototype.resolve=function(t,e,n){var i=V(t,e=e||this.history.current,n,this),o=this.match(i,e),r=o.redirectedFrom||o.fullPath;return{location:i,route:o,href:function(t,e,n){var i="hash"===n?"#"+e:e;return t?k(t+"/"+i):i}(this.history.base,r,this.mode),normalizedTo:i,resolved:o}},Vt.prototype.getRoutes=function(){return this.matcher.getRoutes()},Vt.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Vt.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Vt.prototype,Wt),Vt.install=function t(e){if(!t.installed||W!==e){t.installed=!0,W=e;var n=function(t){return void 0!==t},i=function(t,e){var i=t.$options._parentVnode;n(i)&&n(i=i.data)&&n(i=i.registerRouteInstance)&&i(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,i(this,this)},destroyed:function(){i(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",_),e.component("RouterLink",q);var o=e.config.optionMergeStrategies;o.beforeRouteEnter=o.beforeRouteLeave=o.beforeRouteUpdate=o.created}},Vt.version="3.5.3",Vt.isNavigationFailure=St,Vt.NavigationFailureType=wt,Vt.START_LOCATION=m,X&&window.Vue&&window.Vue.use(Vt);var qt=Vt,Yt=n("L2JU"),Xt=n("Mb3Q"),Kt=n("X1uE"),Jt=n("4Wae"),Zt=n.n(Jt),Qt=n("kGIl"),te=n.n(Qt),ee=n("hoI+"),ne=n("CmN8"),ie=n.n(ne),oe=n("1PLf"),re=n.n(oe),ae=n("la7V"),se=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function le(t,e){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}var ce=Array.isArray;function ue(t){return null!==t&&"object"==typeof t}function de(t){return"string"==typeof t}var pe=Object.prototype.toString;function he(t){return"[object Object]"===pe.call(t)}function fe(t){return null==t}function me(t){return"function"==typeof t}function ve(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=null,i=null;return 1===t.length?ue(t[0])||ce(t[0])?i=t[0]:"string"==typeof t[0]&&(n=t[0]):2===t.length&&("string"==typeof t[0]&&(n=t[0]),(ue(t[1])||ce(t[1]))&&(i=t[1])),{locale:n,params:i}}function ge(t){return JSON.parse(JSON.stringify(t))}function be(t,e){return!!~t.indexOf(e)}var ye=Object.prototype.hasOwnProperty;function we(t,e){return ye.call(t,e)}function _e(t){for(var e=arguments,n=Object(t),i=1;i<arguments.length;i++){var o=e[i];if(null!=o){var r=void 0;for(r in o)we(o,r)&&(ue(o[r])?n[r]=_e(n[r],o[r]):n[r]=o[r])}}return n}function xe(t,e){if(t===e)return!0;var n=ue(t),i=ue(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var o=ce(t),r=ce(e);if(o&&r)return t.length===e.length&&t.every((function(t,n){return xe(t,e[n])}));if(o||r)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return xe(t[n],e[n])}))}catch(t){return!1}}function Ce(t){return null!=t&&Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=t[e].replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"))})),t}var ke={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,i=e.parent,o=e.props,r=e.slots,a=i.$i18n;if(a){var s=o.path,l=o.locale,c=o.places,u=r(),d=a.i(s,l,function(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}(u)||c?function(t,e){var n=e?function(t){0;return Array.isArray(t)?t.reduce(Se,{}):Object.assign({},t)}(e):{};if(!t)return n;var i=(t=t.filter((function(t){return t.tag||""!==t.text.trim()}))).every(Pe);0;return t.reduce(i?Oe:Se,n)}(u.default,c):u),p=o.tag&&!0!==o.tag||!1===o.tag?o.tag:"span";return p?t(p,n,d):d}}};function Oe(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function Se(t,e,n){return t[n]=e,t}function Pe(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var Te,je={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,i=e.parent,o=e.data,r=i.$i18n;if(!r)return null;var a=null,s=null;de(n.format)?a=n.format:ue(n.format)&&(n.format.key&&(a=n.format.key),s=Object.keys(n.format).reduce((function(t,e){var i;return be(se,e)?Object.assign({},t,((i={})[e]=n.format[e],i)):t}),null));var l=n.locale||r.locale,c=r._ntp(n.value,l,a,s),u=c.map((function(t,e){var n,i=o.scopedSlots&&o.scopedSlots[t.type];return i?i(((n={})[t.type]=t.value,n.index=e,n.parts=c,n)):t.value})),d=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return d?t(d,{attrs:o.attrs,class:o.class,staticClass:o.staticClass},u):u}};function Me(t,e,n){De(t,n)&&$e(t,e,n)}function Ee(t,e,n,i){if(De(t,n)){var o=n.context.$i18n;(function(t,e){var n=e.context;return t._locale===n.$i18n.locale})(t,n)&&xe(e.value,e.oldValue)&&xe(t._localeMessage,o.getLocaleMessage(o.locale))||$e(t,e,n)}}function Ae(t,e,n,i){if(n.context){var o=n.context.$i18n||{};e.modifiers.preserve||o.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t._vt,t._locale=void 0,delete t._locale,t._localeMessage=void 0,delete t._localeMessage}else le("Vue instance does not exists in VNode context")}function De(t,e){var n=e.context;return n?!!n.$i18n||(le("VueI18n instance does not exists in Vue instance"),!1):(le("Vue instance does not exists in VNode context"),!1)}function $e(t,e,n){var i,o,r=function(t){var e,n,i,o;de(t)?e=t:he(t)&&(e=t.path,n=t.locale,i=t.args,o=t.choice);return{path:e,locale:n,args:i,choice:o}}(e.value),a=r.path,s=r.locale,l=r.args,c=r.choice;if(a||s||l)if(a){var u=n.context;t._vt=t.textContent=null!=c?(i=u.$i18n).tc.apply(i,[a,c].concat(Ie(s,l))):(o=u.$i18n).t.apply(o,[a].concat(Ie(s,l))),t._locale=u.$i18n.locale,t._localeMessage=u.$i18n.getLocaleMessage(u.$i18n.locale)}else le("`path` is required in v-t directive");else le("value type not supported")}function Ie(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||he(e))&&n.push(e),n}function Le(t,e){void 0===e&&(e={bridge:!1}),Le.installed=!0;(Te=t).version&&Number(Te.version.split(".")[0]);(function(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[t,i.locale,i._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];var o=this.$i18n;return o._tc.apply(o,[t,o.locale,o._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}})(Te),Te.mixin(function(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n)if(t.i18n instanceof Ze){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{};(t.__i18nBridge||t.__i18n).forEach((function(t){e=_e(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(t){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(he(t.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Ze?this.$root.$i18n:null;if(n&&(t.i18n.root=this.$root,t.i18n.formatter=n.formatter,t.i18n.fallbackLocale=n.fallbackLocale,t.i18n.formatFallbackMessages=n.formatFallbackMessages,t.i18n.silentTranslationWarn=n.silentTranslationWarn,t.i18n.silentFallbackWarn=n.silentFallbackWarn,t.i18n.pluralizationRules=n.pluralizationRules,t.i18n.preserveDirectiveContent=n.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var i=t.i18n&&t.i18n.messages?t.i18n.messages:{};(t.__i18nBridge||t.__i18n).forEach((function(t){i=_e(i,JSON.parse(t))})),t.i18n.messages=i}catch(t){0}var o=t.i18n.sharedMessages;o&&he(o)&&(t.i18n.messages=_e(t.i18n.messages,o)),this._i18n=new Ze(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Ze?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Ze&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof Ze||he(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Ze||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Ze)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}}(e.bridge)),Te.directive("t",{bind:Me,update:Ee,unbind:Ae}),Te.component(ke.name,ke),Te.component(je.name,je),Te.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var Be=function(){this._caches=Object.create(null)};Be.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=function(t){var e=[],n=0,i="";for(;n<t.length;){var o=t[n++];if("{"===o){i&&e.push({type:"text",value:i}),i="";var r="";for(o=t[n++];void 0!==o&&"}"!==o;)r+=o,o=t[n++];var a="}"===o,s=Fe.test(r)?"list":a&&Re.test(r)?"named":"unknown";e.push({value:r,type:s})}else"%"===o?"{"!==t[n]&&(i+=o):i+=o}return i&&e.push({type:"text",value:i}),e}(t),this._caches[t]=n),function(t,e){var n=[],i=0,o=Array.isArray(e)?"list":ue(e)?"named":"unknown";if("unknown"===o)return n;for(;i<t.length;){var r=t[i];switch(r.type){case"text":n.push(r.value);break;case"list":n.push(e[parseInt(r.value,10)]);break;case"named":"named"===o&&n.push(e[r.value]);break;case"unknown":0}i++}return n}(n,e)};var Fe=/^(?:\d)+/,Re=/^(?:\w)+/;var Ne=[];Ne[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},Ne[1]={ws:[1],".":[2],"[":[4],eof:[7]},Ne[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},Ne[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},Ne[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},Ne[5]={"'":[4,0],eof:8,else:[5,0]},Ne[6]={'"':[4,0],eof:8,else:[6,0]};var Ue=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ze(t){if(null==t)return"eof";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function He(t){var e,n,i,o=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(i=o,Ue.test(i)?(n=(e=o).charCodeAt(0))!==e.charCodeAt(e.length-1)||34!==n&&39!==n?e:e.slice(1,-1):"*"+o)}var Ve=function(){this._cache=Object.create(null)};Ve.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=function(t){var e,n,i,o,r,a,s,l=[],c=-1,u=0,d=0,p=[];function h(){var e=t[c+1];if(5===u&&"'"===e||6===u&&'"'===e)return c++,i="\\"+e,p[0](),!0}for(p[1]=function(){void 0!==n&&(l.push(n),n=void 0)},p[0]=function(){void 0===n?n=i:n+=i},p[2]=function(){p[0](),d++},p[3]=function(){if(d>0)d--,u=4,p[0]();else{if(d=0,void 0===n)return!1;if(!1===(n=He(n)))return!1;p[1]()}};null!==u;)if(c++,"\\"!==(e=t[c])||!h()){if(o=ze(e),8===(r=(s=Ne[u])[o]||s.else||8))return;if(u=r[0],(a=p[r[1]])&&(i=void 0===(i=r[2])?e:i,!1===a()))return;if(7===u)return l}}(t))&&(this._cache[t]=e),e||[]},Ve.prototype.getPathValue=function(t,e){if(!ue(t))return null;var n=this.parsePath(e);if(0===n.length)return null;for(var i=n.length,o=t,r=0;r<i;){var a=o[n[r]];if(null==a)return null;o=a,r++}return o};var We,Ge=/<\/?[\w\s="/.':;#-\/]+>/,qe=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|./]+|\([\w\-_|./]+\)))/g,Ye=/^@(?:\.([a-z]+))?:/,Xe=/[()]/g,Ke={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Je=new Be,Ze=function(t){var e=this;void 0===t&&(t={}),!Te&&"undefined"!=typeof window&&window.Vue&&Le(window.Vue);var n=t.locale||"en-US",i=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),o=t.messages||{},r=t.dateTimeFormats||t.datetimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Je,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new Ve,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,n){var i=Object.getPrototypeOf(e);if(i&&i.getChoiceIndex)return i.getChoiceIndex.call(e,t,n);var o,r;return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):(o=t,r=n,o=Math.abs(o),2===r?o?o>1?1:0:1:o?Math.min(o,2):0)},this._exist=function(t,n){return!(!t||!n)&&(!fe(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,o[t])})),this._initVM({locale:n,fallbackLocale:i,messages:o,dateTimeFormats:r,numberFormats:a})},Qe={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};Ze.prototype._checkLocaleMessage=function(t,e,n){var i=function(t,e,n,o){if(he(n))Object.keys(n).forEach((function(r){var a=n[r];he(a)?(o.push(r),o.push("."),i(t,e,a,o),o.pop(),o.pop()):(o.push(r),i(t,e,a,o),o.pop())}));else if(ce(n))n.forEach((function(n,r){he(n)?(o.push("["+r+"]"),o.push("."),i(t,e,n,o),o.pop(),o.pop()):(o.push("["+r+"]"),i(t,e,n,o),o.pop())}));else if(de(n)){if(Ge.test(n)){var r="Detected HTML in message '"+n+"' of keypath '"+o.join("")+"' at '"+e+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?le(r):"error"===t&&function(t,e){"undefined"!=typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}(r)}}};i(e,t,n,[])},Ze.prototype._initVM=function(t){var e=Te.config.silent;Te.config.silent=!0,this._vm=new Te({data:t,__VUE18N__INSTANCE__:!0}),Te.config.silent=e},Ze.prototype.destroyVM=function(){this._vm.$destroy()},Ze.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},Ze.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.delete(e));}(this._dataListeners,t)},Ze.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){for(var e,n,i=(e=t._dataListeners,n=[],e.forEach((function(t){return n.push(t)})),n),o=i.length;o--;)Te.nextTick((function(){i[o]&&i[o].$forceUpdate()}))}),{deep:!0})},Ze.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,n=this._vm;return this.vm.$watch("locale",(function(i){n.$set(n,"locale",i),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=i),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var i=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){i.$set(i,"locale",t),i.$forceUpdate()}),{immediate:!0})},Ze.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Qe.vm.get=function(){return this._vm},Qe.messages.get=function(){return ge(this._getMessages())},Qe.dateTimeFormats.get=function(){return ge(this._getDateTimeFormats())},Qe.numberFormats.get=function(){return ge(this._getNumberFormats())},Qe.availableLocales.get=function(){return Object.keys(this.messages).sort()},Qe.locale.get=function(){return this._vm.locale},Qe.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Qe.fallbackLocale.get=function(){return this._vm.fallbackLocale},Qe.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Qe.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Qe.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Qe.missing.get=function(){return this._missing},Qe.missing.set=function(t){this._missing=t},Qe.formatter.get=function(){return this._formatter},Qe.formatter.set=function(t){this._formatter=t},Qe.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Qe.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Qe.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Qe.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Qe.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Qe.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Qe.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Qe.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var i=this._getMessages();Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])}))}},Qe.postTranslation.get=function(){return this._postTranslation},Qe.postTranslation.set=function(t){this._postTranslation=t},Qe.sync.get=function(){return this._sync},Qe.sync.set=function(t){this._sync=t},Ze.prototype._getMessages=function(){return this._vm.messages},Ze.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Ze.prototype._getNumberFormats=function(){return this._vm.numberFormats},Ze.prototype._warnDefault=function(t,e,n,i,o,r){if(!fe(n))return n;if(this._missing){var a=this._missing.apply(null,[t,e,i,o]);if(de(a))return a}else 0;if(this._formatFallbackMessages){var s=ve.apply(void 0,o);return this._render(e,r,s.params,e)}return e},Ze.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:fe(t))&&!fe(this._root)&&this._fallbackRoot},Ze.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Ze.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Ze.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Ze.prototype._interpolate=function(t,e,n,i,o,r,a){if(!e)return null;var s,l=this._path.getPathValue(e,n);if(ce(l)||he(l))return l;if(fe(l)){if(!he(e))return null;if(!de(s=e[n])&&!me(s))return null}else{if(!de(l)&&!me(l))return null;s=l}return de(s)&&(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(t,e,s,i,"raw",r,a)),this._render(s,o,r,n)},Ze.prototype._link=function(t,e,n,i,o,r,a){var s=n,l=s.match(qe);for(var c in l)if(l.hasOwnProperty(c)){var u=l[c],d=u.match(Ye),p=d[0],h=d[1],f=u.replace(p,"").replace(Xe,"");if(be(a,f))return s;a.push(f);var m=this._interpolate(t,e,f,i,"raw"===o?"string":o,"raw"===o?void 0:r,a);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var v=this._root.$i18n;m=v._translate(v._getMessages(),v.locale,v.fallbackLocale,f,i,o,r)}m=this._warnDefault(t,f,m,i,ce(r)?r:[r],o),this._modifiers.hasOwnProperty(h)?m=this._modifiers[h](m):Ke.hasOwnProperty(h)&&(m=Ke[h](m)),a.pop(),s=m?s.replace(u,m):s}return s},Ze.prototype._createMessageContext=function(t,e,n,i){var o=this,r=ce(t)?t:[],a=ue(t)?t:{},s=this._getMessages(),l=this.locale;return{list:function(t){return r[t]},named:function(t){return a[t]},values:t,formatter:e,path:n,messages:s,locale:l,linked:function(t){return o._interpolate(l,s[l]||{},t,null,i,void 0,[t])}}},Ze.prototype._render=function(t,e,n,i){if(me(t))return t(this._createMessageContext(n,this._formatter||Je,i,e));var o=this._formatter.interpolate(t,n,i);return o||(o=Je.interpolate(t,n,i)),"string"!==e||de(o)?o:o.join("")},Ze.prototype._appendItemToChain=function(t,e,n){var i=!1;return be(t,e)||(i=!0,e&&(i="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(i=n[e]))),i},Ze.prototype._appendLocaleToChain=function(t,e,n){var i,o=e.split("-");do{var r=o.join("-");i=this._appendItemToChain(t,r,n),o.splice(-1,1)}while(o.length&&!0===i);return i},Ze.prototype._appendBlockToChain=function(t,e,n){for(var i=!0,o=0;o<e.length&&"boolean"==typeof i;o++){var r=e[o];de(r)&&(i=this._appendLocaleToChain(t,r,n))}return i},Ze.prototype._getLocaleChain=function(t,e){if(""===t)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[t];if(!n){e||(e=this.fallbackLocale),n=[];for(var i,o=[t];ce(o);)o=this._appendBlockToChain(n,o,e);(o=de(i=ce(e)?e:ue(e)?e.default?e.default:null:e)?[i]:i)&&this._appendBlockToChain(n,o,null),this._localeChainCache[t]=n}return n},Ze.prototype._translate=function(t,e,n,i,o,r,a){for(var s,l=this._getLocaleChain(e,n),c=0;c<l.length;c++){var u=l[c];if(!fe(s=this._interpolate(u,t[u],i,o,r,a,[i])))return s}return null},Ze.prototype._t=function(t,e,n,i){for(var o,r=[],a=arguments.length-4;a-- >0;)r[a]=arguments[a+4];if(!t)return"";var s=ve.apply(void 0,r);this._escapeParameterHtml&&(s.params=Ce(s.params));var l=s.locale||e,c=this._translate(n,l,this.fallbackLocale,t,i,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[t].concat(r))}return c=this._warnDefault(l,t,c,i,r,"string"),this._postTranslation&&null!=c&&(c=this._postTranslation(c,t)),c},Ze.prototype.t=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Ze.prototype._i=function(t,e,n,i,o){var r=this._translate(n,e,this.fallbackLocale,t,i,"raw",o);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,o)}return this._warnDefault(e,t,r,i,[o],"raw")},Ze.prototype.i=function(t,e,n){return t?(de(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Ze.prototype._tc=function(t,e,n,i,o){for(var r,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];if(!t)return"";void 0===o&&(o=1);var l={count:o,n:o},c=ve.apply(void 0,a);return c.params=Object.assign(l,c.params),a=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((r=this)._t.apply(r,[t,e,n,i].concat(a)),o)},Ze.prototype.fetchChoice=function(t,e){if(!t||!de(t))return null;var n=t.split("|");return n[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},Ze.prototype.tc=function(t,e){for(var n,i=[],o=arguments.length-2;o-- >0;)i[o]=arguments[o+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(i))},Ze.prototype._te=function(t,e,n){for(var i=[],o=arguments.length-3;o-- >0;)i[o]=arguments[o+3];var r=ve.apply(void 0,i).locale||e;return this._exist(n[r],t)},Ze.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Ze.prototype.getLocaleMessage=function(t){return ge(this._vm.messages[t]||{})},Ze.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Ze.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,_e(void 0!==this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},Ze.prototype.getDateTimeFormat=function(t){return ge(this._vm.dateTimeFormats[t]||{})},Ze.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Ze.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,_e(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Ze.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},Ze.prototype._localizeDateTime=function(t,e,n,i,o){for(var r=e,a=i[r],s=this._getLocaleChain(e,n),l=0;l<s.length;l++){var c=s[l];if(r=c,!fe(a=i[c])&&!fe(a[o]))break}if(fe(a)||fe(a[o]))return null;var u=a[o],d=r+"__"+o,p=this._dateTimeFormatters[d];return p||(p=this._dateTimeFormatters[d]=new Intl.DateTimeFormat(r,u)),p.format(t)},Ze.prototype._d=function(t,e,n){if(!n)return new Intl.DateTimeFormat(e).format(t);var i=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,n,e)}return i||""},Ze.prototype.d=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var i=this.locale,o=null;return 1===e.length?de(e[0])?o=e[0]:ue(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(o=e[0].key)):2===e.length&&(de(e[0])&&(o=e[0]),de(e[1])&&(i=e[1])),this._d(t,i,o)},Ze.prototype.getNumberFormat=function(t){return ge(this._vm.numberFormats[t]||{})},Ze.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Ze.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,_e(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Ze.prototype._clearNumberFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},Ze.prototype._getNumberFormatter=function(t,e,n,i,o,r){for(var a=e,s=i[a],l=this._getLocaleChain(e,n),c=0;c<l.length;c++){var u=l[c];if(a=u,!fe(s=i[u])&&!fe(s[o]))break}if(fe(s)||fe(s[o]))return null;var d,p=s[o];if(r)d=new Intl.NumberFormat(a,Object.assign({},p,r));else{var h=a+"__"+o;(d=this._numberFormatters[h])||(d=this._numberFormatters[h]=new Intl.NumberFormat(a,p))}return d},Ze.prototype._n=function(t,e,n,i){if(!Ze.availabilities.numberFormat)return"";if(!n)return(i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e)).format(t);var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),r=o&&o.format(t);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:n,locale:e},i))}return r||""},Ze.prototype.n=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var i=this.locale,o=null,r=null;return 1===e.length?de(e[0])?o=e[0]:ue(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(o=e[0].key),r=Object.keys(e[0]).reduce((function(t,n){var i;return be(se,n)?Object.assign({},t,((i={})[n]=e[0][n],i)):t}),null)):2===e.length&&(de(e[0])&&(o=e[0]),de(e[1])&&(i=e[1])),this._n(t,i,o,r)},Ze.prototype._ntp=function(t,e,n,i){if(!Ze.availabilities.numberFormat)return[];if(!n)return(i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e)).formatToParts(t);var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),r=o&&o.formatToParts(t);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,i)}return r||[]},Object.defineProperties(Ze.prototype,Qe),Object.defineProperty(Ze,"availabilities",{get:function(){if(!We){var t="undefined"!=typeof Intl;We={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return We}}),Ze.install=Le,Ze.version="8.27.0";var tn=Ze,en=(n("pjB5"),n("GUC0"),{data:function(){return{user:window._sharedData.user}}}),nn=(n("azIu"),n("KHd+")),on=Object(nn.a)(en,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-drawer-component"},[n("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),n("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[n("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid #F1F5F8"}},[n("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[n("p",[n("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),n("p",{staticClass:"nav-link-label"},[n("span",[t._v("Home")])])])],1),t._v(" "),n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[n("p",[n("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),n("p",{staticClass:"nav-link-label"},[n("span",[t._v("Local")])])])],1),t._v(" "),n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[n("p",[n("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),n("p",{staticClass:"nav-link-label"},[n("span",[t._v("New")])])])],1),t._v(" "),n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[n("p",[n("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),n("p",{staticClass:"nav-link-label"},[n("span",[t._v("Alerts")])])])],1),t._v(" "),n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[n("p",[n("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),n("p",{staticClass:"nav-link-label"},[n("span",[t._v("Profile")])])])],1)])])])])}),[],!1,null,null,null).exports,rn={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}},an=(n("+mfz"),Object(nn.a)(rn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?n("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),n("p",{staticClass:"text-center mt-4"},[n("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?n("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?n("div",{staticClass:"step-segment"},[n("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):n("div",{staticClass:"step-segment"},[n("b-spinner")],1)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"align-self-start"},[e("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[this._v("\n\t\t\t\tWant to use the old version? "),e("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[this._v("Click here")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-left"},[e("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"w-100"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[this._v("Caption")]),this._v(" "),e("textarea",{staticClass:"form-control"})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[e("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}],!1,null,null,null).exports),sn={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,n){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();if(t.dataTransfer.items){for(var e=0;e<t.dataTransfer.items.length;e++)if("file"===t.dataTransfer.items[e].kind){var n=t.dataTransfer.items[e].getAsFile();if(!n)return;this.avatarUpdateFile=n,this.avatarUpdatePreview=URL.createObjectURL(n),this.avatarUpdateIndex=1}}else for(e=0;e<t.dataTransfer.files.length;e++){if(!t.dataTransfer.files[e].hasOwnProperty("name"))return;this.avatarUpdateFile=t.dataTransfer.files[e],this.avatarUpdatePreview=URL.createObjectURL(t.dataTransfer.files[e]),this.avatarUpdateIndex=1}},confirmUpload:function(){var t=this;if(window.confirm("Are you sure you want to change your avatar photo?")){var e=new FormData;e.append("_method","PATCH"),e.append("avatar",this.avatarUpdateFile),axios.post("/api/v1/accounts/update_credentials",e).then((function(e){window._sharedData.user.avatar=e.data.avatar,t.avatarUpdateClose()})).catch((function(t){t.response.data&&t.response.data.errors&&t.response.data.errors.avatar&&t.response.data.errors.avatar.length&&swal("Oops!",t.response.data.errors.avatar[0],"error")}))}}}},ln=Object(nn.a)(sn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[n("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),n("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?n("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[n("p",{staticClass:"text-center primary"},[n("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),n("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),n("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),n("strong",[t._v("png")]),t._v(" or "),n("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?n("div",{staticClass:"w-100 p-5"},[n("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[n("div",{staticClass:"text-center mb-4"},[n("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),n("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),n("div",{staticClass:"text-center mb-4"},[n("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),n("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"d-flex justify-content-between"},[n("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),n("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])}),[],!1,null,null,null).exports;function cn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var dn={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:an,UpdateAvatar:ln},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?cn(Object(n),!0).forEach((function(e){un(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(Yt.b)(["getCustomEmoji"])),data:function(){return{loaded:!1}},mounted:function(){},methods:{getDisplayName:function(){var t=this,e=this.user,n=e.display_name;if(!n)return e.username;if(n.includes(":")){return n.replaceAll(/(<a?)?:\w+:(\d{18}>)?/g,(function(e){var n=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==n}));return i.length?'<img draggable="false" class="emojione custom-emoji" alt="'.concat(i[0].shortcode,'" title="').concat(i[0].shortcode,'" src="').concat(i[0].url,'" data-original="').concat(i[0].url,'" data-static="').concat(i[0].static_url,'" width="16" height="16" onerror="this.onerror=null;this.src=\'/storage/emoji/missing.png\';" />'):e}))}return n},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:n,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()}}},pn=(n("Po//"),Object(nn.a)(dn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[n("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[n("div",{staticClass:"card-body p-2"},[n("div",{staticClass:"media user-card user-select-none"},[n("div",{staticStyle:{position:"relative"}},[n("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),n("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[n("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),n("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),n("p",{staticClass:"stats"},[n("span",{staticClass:"stats-following"},[n("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t")]),t._v(" "),n("span",{staticClass:"stats-followers"},[n("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t")])])])])])]),t._v(" "),n("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[n("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[n("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t")]),t._v(" "),t._m(0),t._v(" "),t._m(1)],1),t._v(" "),n("div",{staticClass:"sidebar-sticky shadow-sm"},[n("ul",{staticClass:"nav flex-column"},[n("li",{staticClass:"nav-item"},[n("div",{staticClass:"d-flex justify-content-between align-items-center"},[n("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web"}},[n("div",{staticClass:"icon text-lighter"},[n("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),n("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),n("router-link",{staticClass:"nav-link text-center",attrs:{to:{name:"timeline",params:{scope:"local"}}}},[n("div",{staticClass:"icon text-lighter"},[n("i",{staticClass:"fas fa-stream fa-lg"})]),t._v(" "),n("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]),t._v(" "),n("router-link",{staticClass:"nav-link text-center",attrs:{to:{name:"timeline",params:{scope:"global"}}}},[n("div",{staticClass:"icon text-lighter"},[n("i",{staticClass:"far fa-globe fa-lg"})]),t._v(" "),n("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])])],1),t._v(" "),n("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[n("span",{staticClass:"icon text-lighter"},[n("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t")])],1),t._v(" "),n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[n("span",[n("span",{staticClass:"icon text-lighter"},[n("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t")])])],1),t._v(" "),n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[n("span",[n("span",{staticClass:"icon text-lighter"},[n("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t")])])],1),t._v(" "),n("li",{staticClass:"nav-item"},[n("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),n("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[n("span",{staticClass:"icon text-lighter"},[n("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t")])],1),t._v(" "),t.user.is_admin?n("li",{staticClass:"nav-item"},[n("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),n("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(2),t._v("\n\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t")])]):t._e(),t._v(" "),n("li",{staticClass:"nav-item"},[n("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),n("a",{staticClass:"nav-link",attrs:{href:"/"}},[t._m(3),t._v("\n\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t")])])])]),t._v(" "),n("div",{staticClass:"sidebar-sitelinks"},[n("a",{attrs:{href:"/site/about"}},[t._v(t._s(t.$t("navmenu.about")))]),t._v(" "),n("router-link",{attrs:{to:"/i/web/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),n("router-link",{attrs:{to:"/i/web/language"}},[t._v(t._s(t.$t("navmenu.language")))]),t._v(" "),n("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),n("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))])],1),t._v(" "),t._m(4),t._v(" "),n("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[e("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[this._v("Create Collection")]),this._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[this._v("Create Story")]),this._v(" "),e("div",{staticClass:"dropdown-divider"}),this._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[this._v("Account Settings")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-tools"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"fas fa-chevron-left"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"sidebar-attribution"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"https://pixelfed.org"}},[this._v("Powered by Pixelfed")])])}],!1,null,null,null).exports),hn={props:{small:{type:Boolean,default:!1}}},fn=Object(nn.a)(hn,(function(){var t=this.$createElement,e=this._self._c||t;return this.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[this._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[this._m(1)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"ph-col-12 mb-0"},[e("div",{staticClass:"ph-row align-items-center mt-0"},[e("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),e("div",{staticClass:"ph-col-6"})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"ph-col-12"},[e("div",{staticClass:"ph-row align-items-center mt-0"},[e("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),e("div",{staticClass:"ph-col-6 big"})])])}],!1,null,null,null).exports,mn=n("XuX8"),vn=n.n(mn),gn=function(t){vn.a.config.silent||console.warn(t)},bn={name:"intersect",abstract:!0,props:{threshold:{type:Array,required:!1,default:function(){return[0,.2]}},root:{type:"undefined"!=typeof HTMLElement?HTMLElement:Object,required:!1,default:function(){return null}},rootMargin:{type:String,required:!1,default:function(){return"0px 0px 0px 0px"}}},mounted:function(){var t=this;this.observer=new IntersectionObserver((function(e){e[0].isIntersecting?t.$emit("enter",[e[0]]):t.$emit("leave",[e[0]]),t.$emit("change",[e[0]])}),{threshold:this.threshold,root:this.root,rootMargin:this.rootMargin}),this.$nextTick((function(){if(t.$slots.default&&t.$slots.default.length>1)gn("[VueIntersect] You may only wrap one element in a <intersect> component.");else if(!t.$slots.default||t.$slots.default.length<1)return void gn("[VueIntersect] You must have one child inside a <intersect> component.");t.observer.observe(t.$slots.default[0].elm)}))},destroyed:function(){this.$emit("destroyed"),this.observer.disconnect()},render:function(){return this.$slots.default?this.$slots.default[0]:null}};function yn(t){return function(t){if(Array.isArray(t))return wn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return wn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wn(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var _n={props:{profile:{type:Object}},components:{intersect:bn,placeholder:fn},data:function(){return{feed:{},maxId:void 0,isIntersecting:!1,canLoadMore:!0,isRefreshing:!1,hasLoaded:!1}},mounted:function(){this.init()},methods:{init:function(){var t=this;axios.get("/api/pixelfed/v1/notifications",{params:{limit:9}}).then((function(e){var n=e.data.filter((function(t){return!("share"==t.type&&!t.status)&&(!("comment"==t.type&&!t.status)&&(!("mention"==t.type&&!t.status)&&(!("favourite"==t.type&&!t.status)&&!("follow"==t.type&&!t.account))))})),i=n.map((function(t){return t.id}));t.maxId=Math.min.apply(Math,yn(i)),t.feed=n,9!=n.length&&(t.canLoadMore=!1),t.hasLoaded=!0,setTimeout((function(){t.isRefreshing=!1}),15e3)}))},refreshNotifications:function(){event.currentTarget.blur(),this.isRefreshing=!0,this.init()},enterIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v1/notifications",{params:{limit:9,max_id:this.maxId}}).then((function(e){var n,i=e.data.filter((function(t){return!("share"==t.type&&!t.status)&&(!("comment"==t.type&&!t.status)&&(!("mention"==t.type&&!t.status)&&(!("favourite"==t.type&&!t.status)&&!("follow"==t.type&&!t.account))))})),o=i.map((function(t){return t.id}));t.maxId=Math.min.apply(Math,yn(o)),(n=t.feed).push.apply(n,yn(i)),e.data.length||(t.canLoadMore=!1),t.isIntersecting=!1})))},truncate:function(t){return t.length<=15?t:t.slice(0,15)+"..."},timeAgo:function(t){return window.App.util.format.timeAgo(t)},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},redirect:function(t){window.location.href=t},notificationPreview:function(t){return t.status&&t.status.hasOwnProperty("media_attachments")&&t.status.media_attachments.length?t.status.media_attachments[0].preview_url:"/storage/no-preview.png"},getProfileUrl:function(t){return"/i/web/profile/"+t.id},getPostUrl:function(t){if(t)return"/i/web/post/"+t.id},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})}}},xn=(n("+uhv"),{components:{notifications:Object(nn.a)(_n,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"notifications-component"},[n("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px !important"}},[n("div",{staticClass:"card-body"},[n("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[n("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.hasLoaded&&t.feed.length?n("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[n("i",{staticClass:"fal fa-redo"})]):t._e()]),t._v(" "),n("div",{staticClass:"notifications-component-feed"},[t._l(t.feed,(function(e,i){return n("div",{staticClass:"mb-2"},[n("div",{staticClass:"media align-items-center"},[n("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:e.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),n("div",{staticClass:"media-body font-weight-light small"},["favourite"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t"),e.status&&e.status.hasOwnProperty("media_attachments")?n("span",[n("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status),id:"fvn-"+e.id},on:{click:function(n){return n.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t"),n("b-popover",{attrs:{target:"fvn-"+e.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[n("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(e),width:"100px",height:"100px"}})])],1):n("span",[n("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(n){return n.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])])]):"comment"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),n("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(n){return n.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t")])]):"group:comment"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),n("a",{staticClass:"font-weight-bold",attrs:{href:e.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t")])]):"story:react"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" reacted to your "),n("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t")])]):"story:comment"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),n("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t")])]):"mention"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" "),n("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(e.status)},on:{click:function(n){return n.preventDefault(),t.goToPost(e.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t")])]):"follow"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t")])]):"share"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" shared your "),n("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(n){return n.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t")])]):"modlog"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(t.truncate(e.account.username)))]),t._v(" updated a "),n("a",{staticClass:"font-weight-bold",attrs:{href:e.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t")])]):"tagged"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" tagged you in a "),n("a",{staticClass:"font-weight-bold",attrs:{href:e.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t")])]):"direct"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" sent a "),n("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t")])]):"group.join.approved"==e.type?n("div",[n("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\tYour application to join the "),n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==e.type?n("div",[n("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\tYour application to join "),n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t")])]):"group:invite"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" invited you to join "),n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url+"/invite/claim",title:e.group.name}},[t._v(t._s(e.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t")])]):n("div",[n("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t")])])]),t._v(" "),n("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:e.created_at}},[t._v(t._s(t.timeAgo(e.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?n("div",[n("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):n("div",[t.hasLoaded&&t.canLoadMore?n("div",[n("intersect",{on:{enter:t.enterIntersect}},[n("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}})],1),t._v(" "),n("placeholder",{attrs:{small:""}}),t._v(" "),n("placeholder",{attrs:{small:""}}),t._v(" "),n("placeholder",{attrs:{small:""}})],1):n("div",{staticClass:"d-block",staticStyle:{height:"50px"}})])],2)])])])}),[],!1,null,null,null).exports},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}),Cn=(n("CCqj"),Object(nn.a)(xn,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("p",{},[e("router-link",{staticClass:"btn btn-primary primary btn-sm rounded-pill font-weight-bold btn-block",attrs:{to:"/i/web/whats-new"}},[e("i",{staticClass:"fal fa-exclamation-circle mr-1"}),this._v(" New in Metro UI 2")])],1),this._v(" "),e("notifications",{attrs:{profile:this.profile}})],1)}),[],!1,null,"6a850a08",null).exports),kn=Object(nn.a)({},(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[n("div",{staticClass:"ph-col-12"},[n("div",{staticClass:"ph-row align-items-center"},[n("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),n("div",{staticClass:"ph-col-6 big"})]),t._v(" "),n("div",{staticClass:"empty"}),t._v(" "),n("div",{staticClass:"empty"}),t._v(" "),n("div",{staticClass:"ph-picture"}),t._v(" "),n("div",{staticClass:"ph-row"},[n("div",{staticClass:"ph-col-12 empty"}),t._v(" "),n("div",{staticClass:"ph-col-12 big"}),t._v(" "),n("div",{staticClass:"ph-col-12 empty"}),t._v(" "),n("div",{staticClass:"ph-col-12"})])])])}],!1,null,null,null).exports,On={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,n=document.createElement("div");n.innerHTML=e,n.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),n.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var n=e.innerText;if("@"==n.substr(0,1)&&(n=n.substr(1)),0==t.status.account.local&&!n.includes("@")){var i=document.createElement("a");i.href=t.status.account.url,n=n+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+n)})),this.content=n.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var n='<img draggable="false" class="emojione custom-emoji" alt="'.concat(e.shortcode,'" title="').concat(e.shortcode,'" src="').concat(e.url,'" data-original="').concat(e.url,'" data-static="').concat(e.static_url,'" width="18" height="18" onerror="this.onerror=null;this.src=\'/storage/emoji/missing.png\';" />');t.content=t.content.replace(":".concat(e.shortcode,":"),n)}))}}},Sn=Object(nn.a)(On,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:this._s(this.content)}})])}),[],!1,null,null,null).exports,Pn=n("JMt0");function Tn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function jn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Mn={props:{profile:{type:Object}},components:{ReadMore:Sn},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Tn(Object(n),!0).forEach((function(e){jn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Tn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(Yt.b)(["getCustomEmoji"])),methods:{getDisplayName:function(){var t=this,e=this.profile,n=e.display_name;if(!n)return e.username;if(n.includes(":")){return n.replaceAll(/(<a?)?:\w+:(\d{18}>)?/g,(function(e){var n=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==n}));return i.length?'<img draggable="false" class="emojione custom-emoji" alt="'.concat(i[0].shortcode,'" title="').concat(i[0].shortcode,'" src="').concat(i[0].url,'" data-original="').concat(i[0].url,'" data-static="').concat(i[0].static_url,'" width="16" height="16" onerror="this.onerror=null;this.src=\'/storage/emoji/missing.png\';" />'):e}))}return n},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,n=document.createElement("div");n.innerHTML=e,n.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),n.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var n=e.innerText;if("@"==n.substr(0,1)&&(n=n.substr(1)),0==t.profile.local&&!n.includes("@")){var i=document.createElement("a");i.href=t.profile.url,n=n+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+n)})),this.bio=n.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}},En=(n("Pk8W"),Object(nn.a)(Mn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-hover-card"},[n("div",{staticClass:"profile-hover-card-inner"},[n("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[n("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[n("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?n("div",[n("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?n("div",[t.relationship.following?n("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?n("span",[n("b-spinner",{attrs:{small:""}})],1):n("span",[t._v("Following")])]):n("div",[t.relationship.requested?n("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):n("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?n("span",[n("b-spinner",{attrs:{small:""}})],1):n("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),n("p",{staticClass:"display-name"},[n("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),n("div",{staticClass:"username"},[n("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?n("p",{staticClass:"username-follows-you"},[n("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns.length?n("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),n("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),n("p",{staticClass:"stats"},[n("span",{staticClass:"stats-following"},[n("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),n("span",{staticClass:"stats-followers"},[n("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])}),[],!1,null,null,null).exports),An={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:Sn},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(n){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],n=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?n-1:n+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}},Dn=Object(nn.a)(An,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"comment-replies-component"},[t.loading?n("div",{staticClass:"mt-n2"},[t._m(0)]):t._l(t.feed,(function(e,i){return n("div",{key:"cd:"+e.id+":"+i,staticClass:"media media-status align-items-top mb-3"},[n("a",{attrs:{href:"#l"}},[n("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),n("div",{staticClass:"media-body"},[n("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?n("div",[n("p",{staticClass:"media-body-comment-username"},[n("a",{attrs:{href:e.account.url},on:{click:function(n){return n.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?n("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[n("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(1,!0)],1):n("div",{staticClass:"bh-comment"},[n("div",{on:{click:function(n){return t.lightbox(e)}}},[n("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?n("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[n("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),n("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):n("div",{staticClass:"media-body-comment"},[n("p",{staticClass:"media-body-comment-username"},[n("a",{attrs:{href:e.account.url},on:{click:function(n){return n.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?n("span",[n("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),n("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):n("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?n("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[n("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),n("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),n("p",{staticClass:"media-body-reactions"},[n("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t")]),t._v(" "),n("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(n("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(n){return n.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?n("span",[n("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),n("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\tDelete\n\t\t\t\t\t")])]):n("span",[n("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),n("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\tReport\n\t\t\t\t\t")])])])])])}))],2)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[e("div",{staticClass:"ph-col-12 mb-0"},[e("div",{staticClass:"ph-row align-items-center mt-0"},[e("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),e("div",{staticClass:"ph-col-6"})])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),this._v(" "),e("p",{staticClass:"mb-0 small"},[this._v("Click to view")])])}],!1,null,null,null).exports,$n={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}},In=Object(nn.a)($n,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[n("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])}),[],!1,null,null,null).exports,Ln={props:{status:{type:Object}},components:{VueTribute:Pn.a,ReadMore:Sn,ProfileHoverCard:En,CommentReplyForm:In,CommentReplies:Dn},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(n){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],n=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?n-1:n+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(n){e.feed[t].replies=n.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(n){e.$store.commit("updateRelationship",[n.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(n){e.$store.commit("updateRelationship",[n.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++}}},Bn=(n("PjaB"),Object(nn.a)(Ln,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"post-comment-drawer"},[n("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),n("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?n("div",{staticClass:"mb-2 sort-menu"},[n("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),n("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),n("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[n("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),n("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),n("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[n("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),n("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),n("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[n("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),n("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?n("div",{staticClass:"post-comment-drawer-feed-loader"},[n("b-spinner")],1):n("div",t._l(t.feed,(function(e,i){return n("div",{key:"cd:"+e.id+":"+i,staticClass:"media media-status align-items-top mb-3"},[n("a",{attrs:{href:"#l"}},[n("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),n("div",{staticClass:"media-body"},[n("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?n("div",[n("p",{staticClass:"media-body-comment-username"},[n("a",{attrs:{href:e.account.url},on:{click:function(n){return n.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?n("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[n("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(0,!0)],1):n("div",{staticClass:"bh-comment"},[n("div",{on:{click:function(n){return t.lightbox(e)}}},[n("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?n("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[n("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),n("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):n("div",{staticClass:"media-body-comment"},[n("p",{staticClass:"media-body-comment-username"},[n("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(n){return n.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[n("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),e.sensitive?n("span",[n("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):n("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?n("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[n("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),n("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),n("p",{staticClass:"media-body-reactions"},[n("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t")]),t._v(" "),n("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),n("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t")]),t._v(" "),n("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(n("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(n){return n.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+i),t._v(" "),t.profile&&e.account.id===t.profile.id?n("span",[n("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),n("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t")])]):n("span",[n("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),n("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t")])])]),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===i?n("div",{staticClass:"media-body-show-replies"},[n("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[n("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),n("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):n("div",{staticClass:"media-body-show-replies"},[n("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[n("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),n("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?n("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[i].replies}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?n("div",[n("div",{staticClass:"media-body-show-replies mt-n3"},[n("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(n){return n.preventDefault(),t.goToPost(e)}}},[n("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),n("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?n("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)]),t._v(" "),!t.feedLoading&&t.canLoadMore?n("div",{staticClass:"post-comment-drawer-loadmore"},[n("p",[n("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?n("div",{staticClass:"post-comment-drawer-loadmore"},[n("p",{staticClass:"text-center mb-4"},[n("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[n("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),n("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[n("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[n("vue-tribute",{attrs:{options:t.tributeSettings}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important","padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[n("vue-tribute",{attrs:{options:t.tributeSettings}},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),n("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[n("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[n("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),n("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[n("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),n("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[n("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?n("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[n("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?n("div",{staticClass:"text-right mt-2"},[n("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),n("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0"}},[t.lightboxStatus?n("div",{on:{click:t.hideLightbox}},[n("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),this._v(" "),e("p",{staticClass:"mb-0 small"},[this._v("Click to view")])])}],!1,null,null,null).exports),Fn=n("NFb6"),Rn=n.n(Fn),Nn={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":Bn,"read-more":Sn,"profile-hover-card":En},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{toggleLightbox:function(t){Rn()({el:t.target})},timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},count:function(t){return App.util.format.count(t)},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock";default:return"far fa-globe"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.url},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.status.account.id),params:{id:this.status.account.id,cachedProfile:this.status.account,cachedUser:this.profile}})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},videoAltText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}},Un=(n("VgfT"),Object(nn.a)(Nn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"timeline-status-component"},[n("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[n("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[n("div",{staticClass:"media align-items-center"},[n("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[n("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"font-weight-bold username"},[n("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),n("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[n("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),n("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[n("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v(t._s(t.timeago(t.status.created_at)))]),t._v(" "),n("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),n("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[n("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?n("span",[n("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?n("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):n("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?n("span",[n("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),n("span",{staticClass:"location"},[n("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?n("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:"<i class='far fa-ellipsis-v fa-lg px-3'></i>"}},[n("b-dropdown-item",[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),n("b-dropdown-item",[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?n("b-dropdown-item",[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():n("b-dropdown-divider"),t._v(" "),t.owner?t._e():n("b-dropdown-item",[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),n("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?n("b-dropdown-item",[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),n("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?n("b-dropdown-item",[n("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),n("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?n("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?n("b-dropdown-item",[n("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t\t\t")])]):t._e()],1):n("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[n("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)]),t._v(" "),t.fixedHeight?n("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?n("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?n("div",{staticClass:"content-label-wrapper"},[n("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),n("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"mb-0"},[n("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),n("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):n("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[n("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),n("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?n("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[n("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?n("div",{staticClass:"content-label-wrapper"},[n("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),n("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"mb-0"},[n("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):n("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[n("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?n("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[n("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{togglecw:function(e){return t.toggleContentWarning()}}})],1):"text"===t.status.pf_type?n("div"):n("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[n("div",[t._m(2),t._v(" "),n("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):n("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?n("div",{staticClass:"w-100"},[n("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?n("div",{staticClass:"w-100"},[n("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?n("div",{staticClass:"w-100"},[n("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?n("div",{staticClass:"w-100"},[n("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?n("div",{staticClass:"w-100"},[n("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?n("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[n("p",[n("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e(),t._v(" "),t.newReactions?n("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[t.status.favourites_count&&t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url?n("div",{staticClass:"mb-0"},[t.hideCounts?t._e():n("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\t\t\tLiked by "),n("a",{staticClass:"primary font-weight-bold",attrs:{href:"/i/web/username/"+t.status.liked_by.username}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?n("span",[t._v("\n\t\t\t\t\t\tand "),n("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()])]):t._e(),t._v(" "),n("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[n("div",[n("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?n("span",{staticClass:"primary"},[n("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):n("span",[n("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.status.favourites_count&&!t.hideCounts?n("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.favourites_count))+"\n\t\t\t\t\t\t\t"),n("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.favourites_count?t.$t("common.like"):t.$t("common.likes")))])]):n("span",[n("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),n("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[n("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.status.reply_count&&!t.hideCounts?n("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.reply_count))+"\n\t\t\t\t\t\t\t"),n("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.reply_count?t.$t("common.comment"):t.$t("common.comments")))])]):n("span",[n("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),n("div",[n("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?n("span",[n("b-spinner",{attrs:{variant:"warning",small:""}})],1):n("span",[1==t.status.reblogged?n("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):n("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?n("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t\t\t")]):t._e()])]),t._v(" "),n("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?n("span",[n("b-spinner",{attrs:{variant:"warning",small:""}})],1):n("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?n("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):n("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?n("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[n("i",{staticClass:"far fa-user-crown"})]):t._e()])])]):t._e(),t._v(" "),t.newReactions||!t.status.favourites_count&&!t.status.reply_count||t.hideCounts?t._e():n("div",{staticClass:"card-footer d-flex justify-content-between border-bottom py-1",staticStyle:{"z-index":"3"}},[n("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count))+" "+t._s(t.$t("common.likes")))]),t._v(" "),n("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm"},[t._v(t._s(t.count(t.status.reblogs_count))+" "+t._s(t.$t("common.shares")))]),t._v(" "),n("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showComments()}}},[t._v(t._s(t.count(t.status.reply_count))+" "+t._s(t.$t("common.comments")))])]),t._v(" "),t.newReactions?t._e():n("div",{staticClass:"card-footer border-0 d-flex justify-content-between py-1",class:{"rounded-bottom":!t.showCommentDrawer},staticStyle:{background:"#F9FAFB","z-index":"3"}},[n("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?n("span",{staticClass:"primary"},[n("i",{staticClass:"fas fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.liked"))+"\n\t\t\t\t")]):n("span",[n("i",{staticClass:"far fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.like"))+"\n\t\t\t\t")])]),t._v(" "),n("div",[n("b-dropdown",{attrs:{"no-caret":"",dropup:"",variant:"link","toggle-class":"font-weight-bold text-lighter btn-sm py-0"},on:{show:t.toggleMenu,hide:t.closeMenu},scopedSlots:t._u([{key:"button-content",fn:function(){return[t.status.reblogged?n("span",{staticClass:"primary"},[n("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.shared"))+"\n\t\t\t\t\t\t")]):n("span",[n("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.share"))+"\n\t\t\t\t\t\t")])]},proxy:!0}],null,!1,4274722688)},[t._v(" "),t.menuLoading?n("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"100px"}},[n("b-spinner",{attrs:{variant:"muted"}})],1):n("div",[t.status.reblogged?n("b-dropdown-item",{on:{click:function(e){return t.unshareStatus()}}},[t._v(t._s(t.$t("common.unshare")))]):n("b-dropdown-item",{on:{click:function(e){return t.shareStatus()}}},[t._v(t._s(t.$t("post.shareToFollowers")))]),t._v(" "),n("b-dropdown-item",{on:{click:function(e){return t.shareToOther()}}},[t._v(t._s(t.$t("post.shareToOther")))]),t._v(" "),n("b-dropdown-divider"),t._v(" "),n("b-dropdown-item",{on:{click:function(e){return t.copyLink()}}},[t._v(t._s(t.$t("common.copyLink")))])],1)])],1),t._v(" "),n("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return t.showComments()}}},[n("i",{staticClass:"far fa-comment mr-1"}),t._v(" "+t._s(t.$t("common.comment"))+"\n\t\t\t")])]),t._v(" "),t.showCommentDrawer?n("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[n("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}],!1,null,null,null).exports),zn={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var n=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,n)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var n=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,n)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var n=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,n)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var n=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+n,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var n=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+n,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,n=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(i){i?axios.post("/i/report/",{report:t,type:"post",id:n}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;switch(this.confirmModalType){case"post.delete":axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}))}this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,n){var i=this,o=(t.account.username,t.id,""),r=this;switch(e){case"addcw":o=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(n){n&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(i.$t("common.success"),i.$t("menu.modCWSuccess"),"success"),i.$emit("moderate","addcw"),r.closeModals(),r.ctxModMenuClose()})).catch((function(t){r.closeModals(),r.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"remcw":o=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(n){n&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(i.$t("common.success"),i.$t("menu.modRemoveCWSuccess"),"success"),i.$emit("moderate","remcw"),r.closeModals(),r.ctxModMenuClose()})).catch((function(t){r.closeModals(),r.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"unlist":o=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(n){n&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){i.$emit("moderate","unlist"),swal(i.$t("common.success"),i.$t("menu.modUnlistSuccess"),"success"),r.closeModals(),r.ctxModMenuClose()})).catch((function(t){r.closeModals(),r.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"spammer":o=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(n){n&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){i.$emit("moderate","spammer"),swal(i.$t("common.success"),i.$t("menu.modMarkAsSpammerSuccess"),"success"),r.closeModals(),r.ctxModMenuClose()})).catch((function(t){r.closeModals(),r.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var n=this;0!=$("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(n.$t("common.error"),n.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals()})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(n){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}},Hn=Object(nn.a)(zn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal-stack"},[n("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[n("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?n("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?n("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?n("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?n("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t")]):t._e(),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),n("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[n("div",{staticClass:"list-group text-center"},[n("p",{staticClass:"py-2 px-3 mb-0"}),n("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]),t._v(" "),n("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t")]),t._v(" "),n("p"),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t")]),t._v(" "),t.status.sensitive?n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t")]):n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t")]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),n("br"),t._v(" "),n("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),n("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[n("div",{staticClass:"list-group text-center"},[n("p",{staticClass:"py-2 px-3 mb-0"}),n("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),n("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),n("p"),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),n("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?n("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),n("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[n("div",[n("div",{staticClass:"form-group"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[n("div",{staticClass:"form-check mr-3"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var n=t.ctxEmbedShowCaption,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.ctxEmbedShowCaption=n.concat([null])):r>-1&&(t.ctxEmbedShowCaption=n.slice(0,r).concat(n.slice(r+1)))}else t.ctxEmbedShowCaption=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t")])]),t._v(" "),n("div",{staticClass:"form-check mr-3"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var n=t.ctxEmbedShowLikes,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.ctxEmbedShowLikes=n.concat([null])):r>-1&&(t.ctxEmbedShowLikes=n.slice(0,r).concat(n.slice(r+1)))}else t.ctxEmbedShowLikes=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t")])]),t._v(" "),n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var n=t.ctxEmbedCompactMode,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.ctxEmbedCompactMode=n.concat([null])):r>-1&&(t.ctxEmbedCompactMode=n.slice(0,r).concat(n.slice(r+1)))}else t.ctxEmbedCompactMode=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t")])])]),t._v(" "),n("hr"),t._v(" "),n("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),n("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),n("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),n("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[n("p",{staticClass:"py-2 px-3 mb-0"}),n("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),n("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),n("p"),t._v(" "),n("div",{staticClass:"list-group text-center"},[n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),n("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[n("p",{staticClass:"py-2 px-3 mb-0"}),n("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),n("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),n("p"),t._v(" "),n("div",{staticClass:"list-group text-center"},[n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),n("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),n("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[n("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[n("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),n("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[n("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),n("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)}),[],!1,null,null,null).exports,Vn=Object(nn.a)({},(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),this._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),this._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}],!1,null,null,null).exports,Wn={props:{status:{type:Object},profile:{type:Object}},components:{intersect:bn,"like-placeholder":Vn},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var n=this.likes[t];axios.post("/api/v1/accounts/"+n.id+"/follow").then((function(n){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var n=this.likes[t];axios.post("/api/v1/accounts/"+n.id+"/unfollow").then((function(n){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}},Gn=Object(nn.a)(Wn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?n("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[n("like-placeholder"),t._v(" "),n("like-placeholder"),t._v(" "),n("like-placeholder"),t._v(" "),n("like-placeholder"),t._v(" "),n("like-placeholder"),t._v(" "),n("like-placeholder"),t._v(" "),n("like-placeholder")],1):n("div",[t.likes.length?n("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,i){return n("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[n("div",{staticClass:"media align-items-center"},[n("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"mb-0 text-truncate"},[n("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(n){return n.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),n("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),n("div",[e.follows?n("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?n("span",[n("b-spinner",{attrs:{small:""}})],1):n("span",[t._v("Following")])]):e.follows?t._e():n("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?n("span",[n("b-spinner",{attrs:{small:""}})],1):n("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?n("div",[n("intersect",{on:{enter:t.enterIntersect}},[n("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),n("like-placeholder"),t._v(" "),n("like-placeholder")],1):t._e()],2):n("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[n("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)}),[],!1,null,null,null).exports,qn={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}},Yn=Object(nn.a)(qn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?n("div",[n("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),n("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?n("div",{staticClass:"card shadow-none rounded-lg border my-4"},[n("div",{staticClass:"card-body"},[n("div",{staticClass:"media"},[n("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?n("div",[t.status.content_text.length<=140?n("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):n("p",{staticClass:"mb-0"},[t.showFull?n("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),n("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):n("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),n("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?n("div",[n("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[n("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?n("p",{staticClass:"mt-3 mb-0"},[t.showFull?n("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),n("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):n("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),n("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),n("p",{staticClass:"text-right mb-0 mb-md-n3"},[n("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),n("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?n("div",[n("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),n("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"mt-4"},[n("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?n("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),n("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),n("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),n("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),n("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),n("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?n("div",[n("div",{staticClass:"my-4 text-center"},[n("b-spinner"),t._v(" "),n("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?n("div",[n("div",{staticClass:"my-4"},[n("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),n("p",{staticClass:"text-center py-2"},[n("span",{staticClass:"fa-stack fa-4x text-success"},[n("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),n("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),n("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),n("hr"),t._v(" "),n("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),n("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),n("p",{staticClass:"text-center mb-0 mb-md-n3"},[n("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?n("div",[n("div",{staticClass:"my-4"},[n("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),n("p",{staticClass:"text-center py-2"},[n("span",{staticClass:"fa-stack fa-3x text-danger"},[n("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),n("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),n("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),n("hr"),t._v(" "),n("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),n("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),n("p",{staticClass:"text-center mb-0 mb-md-n3"},[n("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])}),[],!1,null,null,null).exports,Xn=Object(nn.a)({},(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("p",{staticClass:"display-4 text-center"},[this._v("✨")]),this._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[this._v("You have reached the end of this feed")])])}],!1,null,null,null).exports,Kn={props:{profile:{type:Object}},components:{"profile-card":En},data:function(){return{popularAccounts:[],newlyFollowed:0}},mounted:function(){this.fetchPopularAccounts()},methods:{fetchPopularAccounts:function(){var t=this;axios.get("/api/pixelfed/discover/accounts/popular").then((function(e){t.popularAccounts=e.data}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/follow").then((function(t){e.newlyFollowed++,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count+1})}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/unfollow").then((function(t){e.newlyFollowed--,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count-1})}))}}},Jn=(n("dKhC"),Object(nn.a)(Kn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"timeline-onboarding"},[n("div",{staticClass:"card card-body shadow-sm mb-3 p-5",staticStyle:{"border-radius":"15px"}},[n("h1",{staticClass:"text-center mb-4"},[t._v("✨ "+t._s(t.$t("timeline.onboarding.welcome")))]),t._v(" "),n("p",{staticClass:"text-center mb-3",staticStyle:{"font-size":"22px"}},[t._v("\n\t\t\t"+t._s(t.$t("timeline.onboarding.thisIsYourHomeFeed"))+"\n\t\t")]),t._v(" "),n("p",{staticClass:"text-center lead"},[t._v(t._s(t.$t("timeline.onboarding.letUsHelpYouFind")))]),t._v(" "),t.newlyFollowed?n("p",{staticClass:"text-center mb-0"},[n("a",{staticClass:"btn btn-primary btn-lg primary font-weight-bold rounded-pill px-4",attrs:{href:"/i/web",onclick:"location.reload()"}},[t._v("\n\t\t\t\t"+t._s(t.$t("timeline.onboarding.refreshFeed"))+"\n\t\t\t")])]):t._e()]),t._v(" "),n("div",{staticClass:"row"},t._l(t.popularAccounts,(function(e,i){return n("div",{staticClass:"col-12 col-md-6 mb-3"},[n("div",{staticClass:"card shadow-sm border-0 rounded-px"},[n("div",{staticClass:"card-body p-2"},[n("profile-card",{key:"pfc"+i,staticClass:"w-100",attrs:{profile:e},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)])])})),0)])}),[],!1,null,null,null).exports);function Zn(t){return function(t){if(Array.isArray(t))return Qn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Qn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qn(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var ti={props:{scope:{type:String,default:"home"},profile:{type:Object}},components:{intersect:bn,"status-placeholder":kn,status:Un,"context-menu":Hn,"likes-modal":Gn,"report-modal":Yn,"empty-timeline":Xn,"timeline-onboarding":Jn},data:function(){return{isLoaded:!1,feed:[],ids:[],max_id:0,canLoadMore:!0,isFetchingMore:!1,endFeedReached:!1,postIndex:0,showMenu:!1,showLikesModal:!1,likesModalPost:{},showReportModal:!1,reportedStatus:{},reportedStatusId:0}},mounted:function(){this.fetchTimeline()},methods:{getScope:function(){switch(this.scope){case"local":return"public";case"global":return"network";default:return"home"}},fetchTimeline:function(){var t=this,e="/api/pixelfed/v1/timelines/".concat(this.getScope());axios.get(e,{params:{max_id:this.max_id,limit:6}}).then((function(e){var n=e.data.map((function(e){return e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]),e.id}));t.ids=n,t.max_id=Math.min.apply(Math,Zn(n)),t.feed=e.data,t.isLoaded=!0,0==e.data.length&&(t.canLoadMore=!1)}))},enterIntersect:function(){var t=this;if(!this.isFetchingMore){this.isFetchingMore=!0;var e="/api/pixelfed/v1/timelines/".concat(this.getScope());axios.get(e,{params:{max_id:this.max_id,limit:6}}).then((function(e){e.data.length||(t.endFeedReached=!0,t.canLoadMore=!1,t.isFetchingMore=!1),setTimeout((function(){e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.max_id>e.id&&(t.max_id=e.id),t.ids.push(e.id),t.feed.push(e),e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]))})),t.isFetchingMore=!1}),100)}))}},likeStatus:function(t){var e=this,n=this.feed[t],i=(n.favourited,n.favourites_count);this.feed[t].favourites_count=i+1,this.feed[t].favourited=!n.favourited,axios.post("/api/v1/statuses/"+n.id+"/favourite").then((function(t){})).catch((function(n){e.feed[t].favourites_count=i,e.feed[t].favourited=!1;var o=document.createElement("p");o.classList.add("text-left"),o.classList.add("mb-0"),o.innerHTML='<span class="lead">We limit certain interactions to keep our community healthy and it appears that you have reached that limit. <span class="font-weight-bold">Please try again later.</span></span>';var r=document.createElement("div");r.appendChild(o),429===n.response.status&&swal({title:"Too many requests",content:r,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,n=this.feed[t],i=(n.favourited,n.favourites_count);this.feed[t].favourites_count=i-1,this.feed[t].favourited=!n.favourited,axios.post("/api/v1/statuses/"+n.id+"/unfavourite").then((function(t){})).catch((function(n){e.feed[t].favourites_count=i,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},handleModTools:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.openModMenu()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var n=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=n}))}},deletePost:function(){this.feed.splice(this.postIndex,1)},counterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,n=this.feed[t],i=(n.reblogged,n.reblogs_count);this.feed[t].reblogs_count=i+1,this.feed[t].reblogged=!n.reblogged,axios.post("/api/v1/statuses/"+n.id+"/reblog").then((function(t){})).catch((function(n){e.feed[t].reblogs_count=i,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,n=this.feed[t],i=(n.reblogged,n.reblogs_count);this.feed[t].reblogs_count=i-1,this.feed[t].reblogged=!n.reblogged,axios.post("/api/v1/statuses/"+n.id+"/unreblog").then((function(t){})).catch((function(n){e.feed[t].reblogs_count=i,e.feed[t].reblogged=!1}))},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},handleBookmark:function(t){var e=this,n=this.feed[t];axios.post("/i/bookmark",{item:n.id}).then((function(i){e.feed[t].bookmarked=!n.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(n){e.$store.commit("updateRelationship",[n.data]),e.updateProfile({following_count:e.profile.following_count+1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1})).catch((function(n){swal("Oops!","An error occured when attempting to follow this account.","error"),e.feed[t].relationship.following=!1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(n){e.$store.commit("updateRelationship",[n.data]),e.updateProfile({following_count:e.profile.following_count-1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1})).catch((function(n){swal("Oops!","An error occured when attempting to unfollow this account.","error"),e.feed[t].relationship.following=!0}))},updateProfile:function(t){this.$emit("update-profile",t)}}},ei=Object(nn.a)(ti,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"timeline-section-component"},[t.isLoaded?n("div",[t._l(t.feed,(function(e,i){return n("status",{key:"pf_feed:"+e.id+i,attrs:{status:e,profile:t.profile},on:{like:function(e){return t.likeStatus(i)},unlike:function(e){return t.unlikeStatus(i)},share:function(e){return t.shareStatus(i)},unshare:function(e){return t.unshareStatus(i)},menu:function(e){return t.openContextMenu(i)},"counter-change":function(e){return t.counterChange(i,e)},"likes-modal":function(e){return t.openLikesModal(i)},follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport,bookmark:function(e){return t.handleBookmark(i)},"mod-tools":function(e){return t.handleModTools(i)}}})})),t._v(" "),t.canLoadMore?n("div",[n("intersect",{on:{enter:t.enterIntersect}},[n("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e(),t._v(" "),t.endFeedReached?n("div",{staticStyle:{"margin-bottom":"50vh"}},[t._m(0)]):t._e(),t._v(" "),"home"!=t.scope||t.feed.length?t._e():n("timeline-onboarding",{attrs:{profile:t.profile},on:{"update-profile":t.updateProfile}}),t._v(" "),"home"===t.scope||t.feed.length?t._e():n("empty-timeline")],2):n("div",[n("status-placeholder"),t._v(" "),n("status-placeholder"),t._v(" "),n("status-placeholder"),t._v(" "),n("status-placeholder")],1),t._v(" "),t.showMenu?n("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?n("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),n("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("p",{staticClass:"display-4 text-center"},[this._v("✨")]),this._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[this._v("You have reached the end of this feed")])])}],!1,null,null,null).exports,ni={props:{profile:{type:Object}},data:function(){return{canShow:!1,stories:[]}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var t=this;axios.get("/api/web/stories/v1/recent").then((function(e){e.data&&e.data.length&&(t.stories=e.data,t.canShow=!0)}))}}},ii=(n("vkaS"),Object(nn.a)(ni,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"story-carousel-component"},[t.canShow?n("div",{staticClass:"d-flex pb-2",staticStyle:{"overflow-y":"auto","z-index":"3"}},[n("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 text-dark text-decoration-none",attrs:{href:"/i/stories/new"}},[n("div",{staticClass:"story-wrapper text-white shadow-sm d-flex flex-column align-items-center justify-content-between mb-3",staticStyle:{width:"100%",height:"200px","border-radius":"15px"}},[n("p",{staticClass:"mb-0"}),t._v(" "),t._m(0),t._v(" "),n("p",{staticClass:"font-weight-bold"},[t._v(t._s(t.$t("story.add")))])])]),t._v(" "),t._l(t.stories,(function(e,i){return n("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 story",attrs:{href:e.url}},[e.latest&&"photo"==e.latest.type?n("div",{staticClass:"shadow-sm story-wrapper",style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url("+e.latest.preview_url+")",backgroundSize:"cover",backgroundPosition:"center"}},[n("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[n("p",{staticClass:"mt-3 mb-0"},[n("img",{staticClass:"avatar",attrs:{src:e.avatar,width:"30",height:"30",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),n("p",{staticClass:"mb-0"}),t._v(" "),n("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t")])])]):n("div",{staticClass:"shadow-sm story-wrapper"},[n("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[n("p",{staticClass:"mt-3 mb-0"},[n("img",{staticClass:"avatar",attrs:{src:e.avatar,width:"30",height:"30"}})]),t._v(" "),n("p",{staticClass:"mb-0"}),t._v(" "),n("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t")])])])])}))],2):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fal fa-plus-circle fa-2x"})])}],!1,null,null,null).exports),oi={props:{scope:{type:String,default:"home"}},components:{drawer:on,sidebar:pn,timeline:ei,rightbar:Cn,"story-carousel":ii},data:function(){return{isLoaded:!1,profile:void 0,recommended:[],trending:[]}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.profile=window._sharedData.user,this.isLoaded=!0},updateProfile:function(t){this.profile=Object.assign(this.profile,t)}}},ri=(n("fy4t"),Object(nn.a)(oi,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"web-wrapper"},[t.isLoaded?n("div",{staticClass:"container-fluid mt-3"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4 col-lg-3"},[n("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),n("div",{staticClass:"col-md-8 col-lg-6 px-0"},[n("story-carousel",{attrs:{profile:t.profile}}),t._v(" "),n("timeline",{key:t.scope,attrs:{profile:t.profile,scope:t.scope},on:{"update-profile":t.updateProfile}})],1),t._v(" "),n("div",{staticClass:"d-none d-lg-block col-lg-3"},[n("rightbar",{staticClass:"sticky-top sidebar"})],1)]),t._v(" "),n("drawer")],1):n("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[n("b-spinner")],1)])}),[],!1,null,"5ae68d74",null).exports),ai=n("lcPr"),si=n.n(ai),li=(n("YQfW"),n("lb/t"));n("i3gq");function ci(t){return function(t){if(Array.isArray(t))return ui(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return ui(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ui(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ui(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var di={components:{VueCropper:si.a,Autocomplete:li.a,VueTribute:Pn.a},data:function(){return{config:App.config,tab:"home",tabs:["home","crop","edit","caption","alt-text","settings"],profile:[],media:[],mediaIndex:0,maxFileSize:15e3,ids:[],activeCrop:!1,cropRatios:[0,1,.8,16/9],cropRatio:0,crops:[],filters:App.util.filters,activeFilter:null,composeText:null,composeScope:"public",composeDisabledComments:!1,tributeSettings:{collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}}]},availableLicenses:[{id:1,name:"All Rights Reserved",title:""},{id:5,name:"Public Domain Work",title:""},{id:6,name:"Public Domain Dedication (CC0)",title:"CC0"},{id:11,name:"Attribution",title:"CC BY"},{id:12,name:"Attribution-ShareAlike",title:"CC BY-SA"},{id:13,name:"Attribution-NonCommercial",title:"CC BY-NC"},{id:14,name:"Attribution-NonCommercial-ShareAlike",title:"CC BY-NC-SA"},{id:15,name:"Attribution-NoDerivs",title:"CC BY-ND"},{id:16,name:"Attribution-NonCommercial-NoDerivs",title:"CC BY-NC-ND"}],licenseIndex:0,sensitive:!1,altTextModel:null,uploading:!1,uploadProgress:100,editTab:"filters",editTabs:["filters","edit"],settingsTitle:"Advanced Settings",settingsTab:"home",settingTabs:["home","audience","license","media","schedule","collection","group"],schedule:{enabled:!1,date:void 0,time:"00:00:00",tz:void 0,minDate:void 0,maxDate:void 0},collections:[],collectionsSelected:[],collectionsLoaded:!1,collectionsPage:1,collectionsCanLoadMore:!1,edit:{brightness:100,contrast:100,saturation:100},previewCssFilters:"",isPosting:!1}},mounted:function(){var t=this;this.maxFileSize=filesize(1024*this.config.uploader.max_photo_size,{round:!1}),this.setScheduleDateLimits(),axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data}))},methods:{resetData:function(){this.tab="home",this.profile=[],this.media=[],this.mediaIndex=0,this.ids=[],this.activeCrop=!1,this.crops=[],this.activeFilter=null,this.composeText=null,this.composeScope="public",this.composeDisabledComments=!1,this.licenseIndex=0,this.sensitive=!1,this.altTextModel=null,this.uploading=!1,this.uploadProgress=100,this.editTab="filters",this.settingsTitle="Advanced Settings",this.settingsTab="home",this.collections=[],this.collectionsSelected=[],this.collectionsLoaded=!1,this.collectionsPage=1,this.collectionsCanLoadMore=!1,this.previewCssFilters="",this.isPosting=!1},selectMedia:function(){event.currentTarget.blur(),this.$refs.dz.click()},previewFilters:function(){var t=this.edit;this.previewCssFilters={filter:"brightness(".concat(t.brightness,"%) contrast(").concat(t.contrast,"%) saturate(").concat(t.saturation,"%)")}},uploadMedia:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,n){if(0==t.config.uploader.media_types.split(",").includes(e.type))return t.uploading=!1,void swal("Invalid File Type","You can only upload the following mime types: "+t.config.uploader.media_types,"error");var i=new FormData;i.append("file",e);var o={onUploadProgress:function(e){var n=Math.round(100*e.loaded/e.total);t.uploadProgress=n}};axios.post("/api/compose/v0/media/upload",i,o).then((function(e){var n=e.data;n.edit={brightness:100,contrast:100,saturation:100},t.uploadProgress=100,t.ids.push(e.data.id),t.crops.push({}),t.media.push(n),t.uploading=!1,t.$nextTick((function(){t.compareEdits(n.edit,t.edit)||(t.media[t.mediaIndex].edit=t.edit,t.edit=n.edit),t.tab="crop",t.mediaIndex=t.media.length-1})),setTimeout((function(){document.querySelector(".media-thumbs").scrollLeft+=999999}),300)})).catch((function(n){switch(n.response.status){case 451:t.uploading=!1,e.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error"),t.page=2;break;case 429:t.uploading=!1,e.value=null,swal("Limit Reached","You can upload up to 250 photos or videos per day and you've reached that limit. Please try again later.","error"),t.page=2;break;default:t.uploading=!1,e.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error"),t.page=2}})),e.value=null,t.uploadProgress=0}))},cropMedia:function(){this.tab="edit"},selectFilter:function(t){event.currentTarget.blur(),this.activeFilter=t},applyEdit:function(){this.tab="caption"},timeago:function(t){return window.App.util.format.timeAgo(t)},goBack:function(){switch(event.currentTarget.blur(),this.tab){case"crop":this.tab="home";break;case"edit":this.tab="crop";break;case"caption":this.tab="edit";break;case"alt-text":this.tab="caption",this.settingsTab="home";break;case"settings":if(this.tab="home"==this.settingsTab?"caption":"settings","schedule"==this.settingsTab)return void this.validateSchedule();"home"==this.settingsTab?this.settingsTitle="Advanced Settings":(this.settingsTitle="Advanced Settings",this.settingsTab="home");break;default:this.tab="home",this.settingsTab="home"}},toggleCropRatio:function(t){event.currentTarget.blur(),this.cropRatio=t,this.$refs.croppa.setAspectRatio(this.cropRatios[t])},sharePost:function(){var t=this;this.isPosting=!0;var e={media:this.media,caption:this.composeText,visibility:this.composeScope,cw:this.sensitive,comments_disabled:this.composeDisabledComments,tagged:[]};axios.post("/api/compose/v0/publish",e).then((function(e){t.resetData(),e.data&&e.data.length?location.href="/i/web/post/"+e.data.split("/").at(-1):location.href="/i/web"}))},toggleSensitive:function(){event.currentTarget.blur(),this.sensitive=!this.sensitive},editAltText:function(){this.tab="alt-text"},advancedSettings:function(){this.tab="settings"},selectMediaIndex:function(t){this.compareEdits(this.media[this.mediaIndex].edit,this.edit)||(this.media[this.mediaIndex].edit=this.edit),this.activeCrop&&(this.$refs.croppa.setData(this.crops[t]),this.$refs.croppa.replace(this.media[t].url),this.$refs.croppa.reset()),this.edit=this.media[t].edit,this.mediaIndex=t},compareEdits:function(t,e){return t.brightness===e.brightness&&t.contrast===e.contrast&&t.saturation===e.saturation},onCropEnd:function(){this.crops[this.mediaIndex]=this.$refs.croppa.getData()},editAudience:function(){this.tab="settings",this.settingsTitle="Edit Audience",this.settingsTab="audience"},editLicense:function(){this.tab="settings",this.settingsTitle="Edit License",this.settingsTab="license"},setScope:function(t){this.composeScope=t,this.tab="settings",this.settingsTitle="Advanced Settings",this.settingsTab="home"},setLicense:function(t){this.licenseIndex=t,this.tab="settings",this.settingsTitle="Advanced Settings",this.settingsTab="home"},toggleDisableComments:function(){event.currentTarget.blur(),this.composeDisabledComments=!this.composeDisabledComments},toggleSchedule:function(){event.currentTarget.blur(),this.schedule.enabled=!this.schedule.enabled},editMedia:function(){this.tab="settings",this.settingsTitle="Media Settings",this.settingsTab="media"},editSchedule:function(){this.tab="settings",this.settingsTitle="Schedule Post",this.settingsTab="schedule"},editCollection:function(){this.tab="settings",this.settingsTitle="Share to Collection",this.settingsTab="collection",this.collectionsLoaded||this.fetchCollections()},editGroup:function(){this.tab="settings",this.settingsTitle="Share to Group",this.settingsTab="group"},setScheduleDateLimits:function(){var t=new Date,e=new Date(t.getFullYear(),t.getMonth(),t.getDate());this.schedule.tz=Intl.DateTimeFormat().resolvedOptions().timeZone,this.schedule.date="".concat(t.getFullYear(),"-").concat(t.getMonth()+1,"-").concat(t.getDate());var n=new Date(e);n.setMonth(n.getMonth()+2),this.schedule.minDate=e,this.schedule.maxDate=n},validateSchedule:function(){if(this.schedule.enabled){var t=new Date,e="".concat(t.getFullYear(),"-").concat(t.getMonth()+1,"-").concat(t.getDate());if(this.schedule.date==e){var n=t.getHours();if(this.schedule.time.split(":")[0]<=n)return void swal("Invalid Date/Time","Please adjust your scheduled date and time, it must be in the future.","error")}}this.settingsTitle="Advanced Settings",this.settingsTab="home"},getScheduleDate:function(){var t="".concat(this.schedule.date," ").concat(this.schedule.time);return"in "+window.App.util.format.timeAhead(t,!1)},fetchCollections:function(){var t=this;axios.get("/api/local/profile/collections/".concat(this.profile.id)).then((function(e){t.collections=e.data,t.collectionsLoaded=!0,t.collectionsCanLoadMore=9==e.data.length,t.collectionsPage++}))},collectionsLoadMore:function(){var t=this;axios.get("/api/local/profile/collections/".concat(this.profile.id),{params:{page:this.collectionsPage}}).then((function(e){var n;(n=t.collections).push.apply(n,ci(e.data)),t.collectionsCanLoadMore=9==e.data.length,t.collectionsPage++}))},addToCollections:function(t){if(this.collectionsSelected.includes(t))this.collectionsSelected=this.collectionsSelected.filter((function(e){return e!=t}));else{if(5==this.collectionsSelected.length)return void swal("Oops!","You can only share to 5 collections.","info");this.collectionsSelected.push(t)}},editTaggingPeople:function(){this.tab="settings",this.settingsTitle="Tag People",this.settingsTab="tag"},toggleEditTab:function(t){this.editTab=t},dropHandler:function(t){t.preventDefault(),this.uploading=!0;var e=this;t.dataTransfer.files&&t.dataTransfer.files.length&&Array.prototype.forEach.call(t.dataTransfer.files,(function(t,n){if(e.media.length>=e.config.uploader.album_limit)return swal("Oops!","Posts can have up to "+e.config.uploader.album_limit+" photos or videos, you cannot add any more.","error"),void(e.uploading=!1);if(0==e.config.uploader.media_types.split(",").includes(t.type))return swal("Invalid File Type","You can only upload the following mime types: "+e.config.uploader.media_types,"error"),void(e.uploading=!1);var i=new FormData;i.append("file",t);var o={onUploadProgress:function(t){var n=Math.round(100*t.loaded/t.total);e.uploadProgress=n}};axios.post("/api/compose/v0/media/upload",i,o).then((function(t){var n=t.data;n.edit={brightness:100,contrast:100,saturation:100},e.uploadProgress=100,e.ids.push(t.data.id),e.crops.push({}),e.media.push(n),2!=e.media.map((function(t){return t.mime})).filter((function(t,e,n){return n.indexOf(t)===e})).length?(e.uploading=!1,e.$nextTick((function(){e.compareEdits(n.edit,e.edit)||(e.media[e.mediaIndex].edit=e.edit,e.edit=n.edit),e.tab="crop",e.mediaIndex=e.media.length-1})),setTimeout((function(){document.querySelector(".media-thumbs").scrollLeft+=999999}),300)):swal("Oops!","Your post must contain a single photo or video or multiple photos","error")})).catch((function(n){switch(n.response.status){case 451:e.uploading=!1,t.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error"),e.page=2;break;case 429:e.uploading=!1,t.value=null,swal("Limit Reached","You can upload up to 250 photos or videos per day and you've reached that limit. Please try again later.","error"),e.page=2;break;default:e.uploading=!1,t.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error"),e.page=2}})),t.value=null,e.uploadProgress=0}))},dragOverHandler:function(t){t.preventDefault()}},watch:{edit:{handler:function(t,e){this.previewFilters()},deep:!0}}},pi=(n("CCYc"),{components:{drawer:on,sidebar:pn,"compose-desktop":Object(nn.a)(di,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"compose-desktop"},[n("input",{ref:"dz",staticClass:"w-100 h-100 d-none file-input",attrs:{type:"file",name:"media",accept:t.config.uploader.media_types},on:{change:t.uploadMedia}}),t._v(" "),n("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),n("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),n("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"},on:{drop:function(e){return t.dropHandler(e)},dragover:function(e){return t.dragOverHandler(e)}}},[n("div",{staticClass:"card-header",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},["home"==t.tab?n("div",{staticClass:"d-flex justify-content-between align-items-center"},[t._m(0),t._v(" "),n("span",{staticClass:"lead font-weight-bold"},[t._v("Compose")]),t._v(" "),t._m(1)]):t._e(),t._v(" "),"crop"==t.tab?n("div",{staticClass:"d-flex justify-content-between align-items-center"},[n("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[n("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),n("span",{staticClass:"lead font-weight-bold"},[t._v("Crop")]),t._v(" "),t._m(2)]):t._e(),t._v(" "),"edit"==t.tab?n("div",{staticClass:"d-flex justify-content-between align-items-center"},[n("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[n("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),n("span",{staticClass:"lead font-weight-bold"},[t._v("Edit")]),t._v(" "),t._m(3)]):t._e(),t._v(" "),"caption"==t.tab?n("div",{staticClass:"d-flex justify-content-between align-items-center"},[n("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[n("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),n("span",{staticClass:"lead font-weight-bold"},[t._v("Compose")]),t._v(" "),t._m(4)]):t._e(),t._v(" "),"alt-text"==t.tab?n("div",{staticClass:"d-flex justify-content-between align-items-center"},[n("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[n("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),n("span",{staticClass:"lead font-weight-bold"},[t._v("Alt Text")]),t._v(" "),t._m(5)]):t._e(),t._v(" "),"settings"==t.tab?n("div",{staticClass:"d-flex justify-content-between align-items-center"},[n("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[n("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),n("span",{staticClass:"lead font-weight-bold"},[t._v(t._s(t.settingsTitle))]),t._v(" "),t._m(6)]):t._e()]),t._v(" "),t.uploading?n("div",{staticClass:"card-body p-0 d-flex justify-content-center align-items-center",staticStyle:{height:"600px"}},[n("div",{staticClass:"text-center"},[n("b-spinner"),t._v(" "),n("p",[t._v(t._s(t.$t("post.uploading"))+"...")])],1)]):n("div",{staticClass:"card-body p-0"},["home"==t.tab?n("div",[n("div",{staticClass:"tab-flex"},[n("div",{staticClass:"d-flex justify-content-between align-items-center"},[t._m(7),t._v(" "),n("span",{staticClass:"font-weight-bold mx-4"},[t._v("or")]),t._v(" "),n("button",{staticClass:"btn btn-light shadow text-center mx-4 p-3",staticStyle:{"border-radius":"18px"},on:{click:t.selectMedia}},[n("i",{staticClass:"fal fa-upload fa-3x my-3 text-lighter"}),t._v(" "),n("p",{staticClass:"font-weight-bold text-dark mb-0"},[t._v("Browse from my device")])])])]),t._v(" "),n("div",{staticClass:"text-center"},[n("p",{staticClass:"text-muted"},[t._v("Photos and videos can be up to "),n("strong",[t._v(t._s(t.maxFileSize))]),t._v(" in size, and must be one of the following formats:\n\t\t\t\t\t\t"),t._l(t.config.uploader.media_types.split(","),(function(e){return n("span",{staticClass:"mr-1"},[n("kbd",[t._v(t._s(e.split("/")[1]))])])}))],2)])]):t._e(),t._v(" "),"crop"==t.tab?n("div",{staticClass:"tab row"},[n("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[n("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[t.activeCrop?n("vue-cropper",{ref:"croppa",staticClass:"p-0 img-fluid",attrs:{aspectRatio:t.cropRatios[t.cropRatio],viewMode:3,dragMode:"move",autoCropArea:1,guides:!1,highlight:!1,cropBoxMovable:!1,cropBoxResizable:!1,toggleDragModeOnDblclick:!1,src:t.media[t.mediaIndex].url,data:t.crops[t.mediaIndex]},on:{crop:t.onCropEnd,zoom:t.onCropEnd}}):n("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"media-thumbs"},[n("button",{staticClass:"btn btn-link media-remove-square",on:{click:t.selectMedia}},[n("i",{staticClass:"fal fa-minus-circle fa-lg text-dark"})]),t._v(" "),t._l(t.media,(function(e,i){return n("img",{staticClass:"media-square",class:{active:t.mediaIndex===i},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(i)}}})})),t._v(" "),n("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[n("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),n("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[n("div",[n("h5",{staticClass:"font-weight-bold mb-3"},[t._v("Select a Crop")]),t._v(" "),t._m(8),t._v(" "),n("button",{staticClass:"btn crop-dimension-btn",class:{active:1==t.cropRatio},attrs:{disabled:""},on:{click:function(e){return t.toggleCropRatio(1)}}},[t._m(9),t._v(" "),t._m(10)]),t._v(" "),n("button",{staticClass:"btn crop-dimension-btn",class:{active:2==t.cropRatio},attrs:{disabled:""},on:{click:function(e){return t.toggleCropRatio(2)}}},[t._m(11),t._v(" "),t._m(12)]),t._v(" "),n("button",{staticClass:"btn crop-dimension-btn",class:{active:3==t.cropRatio},attrs:{disabled:""},on:{click:function(e){return t.toggleCropRatio(3)}}},[t._m(13),t._v(" "),t._m(14)])]),t._v(" "),n("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[n("button",{staticClass:"btn btn-primary font-weight-bold btn-block py-1",on:{click:t.cropMedia}},[t._v("Next")])])])]):t._e(),t._v(" "),"edit"==t.tab?n("div",{staticClass:"tab row"},[n("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[n("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[n("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"media-thumbs"},[n("button",{staticClass:"btn btn-link media-remove-square",on:{click:t.selectMedia}},[n("i",{staticClass:"fal fa-minus-circle fa-lg text-dark"})]),t._v(" "),t._l(t.media,(function(e,i){return n("img",{staticClass:"media-square",class:{active:t.mediaIndex===i},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(i)}}})})),t._v(" "),n("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[n("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),n("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[n("nav",{staticClass:"nav nav-fill text-uppercase",staticStyle:{"margin-left":"-16px"}},[n("div",{staticClass:"nav-link edit-nav-tab",class:{active:"filters"==t.editTab},on:{click:function(e){return t.toggleEditTab("filters")}}},[t._v("\n\t\t\t\t\t\t\tFilters\n\t\t\t\t\t\t")]),t._v(" "),n("div",{staticClass:"nav-link edit-nav-tab",class:{active:"edit"==t.editTab},on:{click:function(e){return t.toggleEditTab("edit")}}},[t._v("\n\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t")])]),t._v(" "),"filters"==t.editTab?n("div",{staticClass:"row pr-3 hide-scroll mt-2",staticStyle:{height:"450px","overflow-y":"auto"}},[n("div",{staticClass:"col-4 mb-3",on:{click:function(e){return t.selectFilter(null)}}},[n("p",{staticClass:"font-weight-bold text-center small mb-1",class:[null==t.activeFilter?"text-dark":"text-lighter"]},[t._v("Original")]),t._v(" "),n("span",{staticClass:"border rounded d-block overflow-hidden",class:[null==t.activeFilter?"shadow-lg":""]},[t._m(15)])]),t._v(" "),t._l(t.filters,(function(e,i){return n("div",{staticClass:"col-4 mb-3",on:{click:function(e){return t.selectFilter(i)}}},[n("p",{staticClass:"font-weight-bold text-center small mb-1",class:[t.activeFilter==i?"text-dark":"text-lighter"]},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e[0])+"\n\t\t\t\t\t\t\t")]),t._v(" "),n("span",{staticClass:"border rounded d-block overflow-hidden",class:[t.activeFilter==i?"shadow-lg":""]},[n("span",{staticClass:"d-block",class:e[1]},[n("img",{staticStyle:{width:"100%",height:"auto"},attrs:{src:"https://pixelfed.test/storage/m/_v2/321493203255693312/f98697a52-a34568/N3fVbXluhhaO/qmqOrgXvjyWVa7GyTHYP6Vs9ZNskrQ4YNbdks2DZ.jpg"}})])])])}))],2):t._e(),t._v(" "),"edit"==t.editTab?n("div",{staticClass:"settings-tab hide-scroll mt-0"},[n("button",{staticClass:"list-btn border-top-0 pb-1",attrs:{type:"button"}},[n("div",{staticClass:"text-left mr-3",staticStyle:{"flex-grow":"1"}},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tBrightness\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("b-form-input",{attrs:{type:"range",min:"0",max:"200"},model:{value:t.edit.brightness,callback:function(e){t.$set(t.edit,"brightness",e)},expression:"edit.brightness"}})],1),t._v(" "),n("p",{staticClass:"font-weight-light mb-0",staticStyle:{width:"50px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.edit.brightness-100)+"\n\t\t\t\t\t\t\t")])]),t._v(" "),n("button",{staticClass:"list-btn border-top-0 pb-1",attrs:{type:"button"}},[n("div",{staticClass:"text-left mr-3",staticStyle:{"flex-grow":"1"}},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tContrast\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("b-form-input",{attrs:{type:"range",min:"0",max:"200"},model:{value:t.edit.contrast,callback:function(e){t.$set(t.edit,"contrast",e)},expression:"edit.contrast"}})],1),t._v(" "),n("p",{staticClass:"font-weight-light mb-0",staticStyle:{width:"50px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.edit.contrast-100)+"\n\t\t\t\t\t\t\t")])]),t._v(" "),n("button",{staticClass:"list-btn border-top-0 pb-1",attrs:{type:"button"}},[n("div",{staticClass:"text-left mr-3",staticStyle:{"flex-grow":"1"}},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tSaturation\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("b-form-input",{attrs:{type:"range",min:"0",max:"200"},model:{value:t.edit.saturation,callback:function(e){t.$set(t.edit,"saturation",e)},expression:"edit.saturation"}})],1),t._v(" "),n("p",{staticClass:"font-weight-light mb-0",staticStyle:{width:"50px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.edit.saturation-100)+"\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),n("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[n("button",{staticClass:"btn btn-primary font-weight-bold btn-block py-1",on:{click:t.applyEdit}},[t._v("Next")])])])]):t._e(),t._v(" "),"caption"==t.tab?n("div",{staticClass:"tab row"},[n("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[n("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[n("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"media-thumbs"},[t._l(t.media,(function(e,i){return n("img",{staticClass:"media-square",class:{active:t.mediaIndex===i},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(i)}}})})),t._v(" "),n("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[n("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),n("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[n("div",{staticClass:"pr-3"},[n("div",{staticClass:"media align-items-center mb-3"},[n("img",{staticClass:"rounded-circle mr-3",attrs:{src:t.profile.avatar,width:"30",height:"30"}}),t._v(" "),n("div",{staticClass:"media-body lead font-weight-bold"},[t._v(t._s(t.profile.username))])]),t._v(" "),n("div",{staticClass:"form-group mb-3"},[n("div",{staticClass:"border rounded"},[n("vue-tribute",{attrs:{options:t.tributeSettings}},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 no-focus",staticStyle:{resize:"none","border-radius":"8px"},attrs:{rows:"3",placeholder:"Add an optional caption...",maxlength:"1000"},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"text-lighter p-2 d-flex align-items-end justify-content-between"},[n("div",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.composeText?t.composeText.length:0)),n("span",{staticStyle:{margin:"auto 2px"}},[t._v("/")]),t._v("1000\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),t._m(16)])],1)]),t._v(" "),t._m(17)]),t._v(" "),n("div",{staticClass:"list-group ml-n3 rounded-0 flex-grow-1"},[n("div",{staticClass:"list-btn"},[n("div",{staticClass:"lead mb-0"},[t._v("Sensitive")]),t._v(" "),n("button",{staticClass:"btn btn-link p-0",on:{click:t.toggleSensitive}},[n("i",{staticClass:"fal no-focus fa-2x",class:[t.sensitive?"fa-toggle-on text-danger":"fa-toggle-off text-lighter"]})])]),t._v(" "),n("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editAltText}},[n("div",{staticClass:"lead mb-0"},[t._v("Accessibility")]),t._v(" "),n("div",{staticClass:"text-lighter"},[n("i",{staticClass:"fal fa-lg",class:[t.media.filter((function(t){return t&&t.description&&t.description.length})).length?"fa-check-circle text-success":"fa-chevron-right"]})])]),t._v(" "),n("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.advancedSettings}},[n("div",{staticClass:"lead mb-0"},[t._v("Advanced Settings")]),t._v(" "),t._m(18)]),t._v(" "),t.collections.length&&t.collectionsSelected.length?n("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editCollection}},[n("div",{staticClass:"lead mb-0"},[t._v("Sharing to "+t._s(t.collectionsSelected.length)+" collections")]),t._v(" "),t._m(19)]):t._e()]),t._v(" "),n("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[n("button",{staticClass:"btn btn-primary font-weight-bold btn-block py-1",attrs:{disabled:t.isPosting},on:{click:t.sharePost}},[t.isPosting?n("b-spinner",{attrs:{small:""}}):n("span",[t._v(t._s(t.$t("common.share")))])],1)])])]):t._e(),t._v(" "),"alt-text"==t.tab?n("div",{staticClass:"tab row"},[n("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[n("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[n("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"media-thumbs"},[t._l(t.media,(function(e,i){return n("img",{staticClass:"media-square",class:{active:t.mediaIndex===i},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(i)}}})})),t._v(" "),n("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[n("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),n("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[n("div",{staticClass:"pr-3"},[n("p",{staticClass:"lead mt-3 pb-3"},[t._v("Describe your media for alt text that is used by people with limited vision")]),t._v(" "),n("div",{staticClass:"form-group mb-3"},[n("div",{staticClass:"border rounded"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.media[t.mediaIndex].description,expression:"media[mediaIndex].description"}],staticClass:"form-control border-0 no-focus",staticStyle:{resize:"none","border-radius":"8px"},attrs:{rows:"3",placeholder:"Add alt text here...",maxlength:"1000"},domProps:{value:t.media[t.mediaIndex].description},on:{input:function(e){e.target.composing||t.$set(t.media[t.mediaIndex],"description",e.target.value)}}}),t._v(" "),n("div",{staticClass:"text-lighter p-2 d-flex align-items-end justify-content-between"},[n("div",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.media[t.mediaIndex].description?t.media[t.mediaIndex].description.length:0)),n("span",{staticStyle:{margin:"auto 2px"}},[t._v("/")]),t._v("1000\n\t\t\t\t\t\t\t\t\t")])])])])]),t._v(" "),n("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[n("button",{staticClass:"btn btn-light font-weight-bold btn-block py-1",on:{click:function(e){return t.goBack()}}},[t._v("Back")])])])]):t._e(),t._v(" "),"settings"==t.tab?n("div",{staticClass:"tab row"},[n("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[n("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[n("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"media-thumbs"},t._l(t.media,(function(e,i){return n("img",{staticClass:"media-square",class:{active:t.mediaIndex===i},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(i)}}})})),0)])],1)]),t._v(" "),n("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},["home"==t.settingsTab?n("div",{staticClass:"settings-tab"},[n("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editAudience}},[n("div",{staticClass:"lead mb-0"},[t._v("Audience")]),t._v(" "),n("div",{staticClass:"text-lighter"},[n("span",{staticClass:"btn btn-light btn-sm font-weight-bold mr-2 my-0 text-capitalize"},[t._v(t._s(t.composeScope))]),t._v(" "),n("i",{staticClass:"fal fa-chevron-right fa-lg"})])]),t._v(" "),n("div",{staticClass:"list-btn"},[n("div",{staticClass:"lead mb-0"},[t._v("Disable Comments")]),t._v(" "),n("button",{staticClass:"btn btn-link p-0",on:{click:t.toggleDisableComments}},[n("i",{staticClass:"fal no-focus fa-2x",class:[t.composeDisabledComments?"fa-toggle-on text-danger":"fa-toggle-off text-lighter"]})])]),t._v(" "),n("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editLicense}},[n("div",{staticClass:"lead mb-0"},[t._v("License")]),t._v(" "),n("div",{staticClass:"text-lighter"},[n("span",{staticClass:"btn btn-light btn-sm font-weight-bold mr-2 my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.licenseIndex>=2?t.availableLicenses[t.licenseIndex].title:t.availableLicenses[t.licenseIndex].name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("i",{staticClass:"fal fa-chevron-right fa-lg"})])]),t._v(" "),n("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editMedia}},[n("div",{staticClass:"lead mb-0"},[t._v("Media")]),t._v(" "),t._m(20)]),t._v(" "),n("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editSchedule}},[n("div",{staticClass:"lead mb-0"},[t._v("Schedule")]),t._v(" "),n("div",{staticClass:"text-lighter"},[t.schedule.enabled?n("span",{staticClass:"btn btn-light btn-sm font-weight-bold mr-2 my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.getScheduleDate())+"\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),n("i",{staticClass:"fal fa-chevron-right fa-lg"})])]),t._v(" "),n("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editCollection}},[n("div",{staticClass:"lead mb-0"},[t._v("Share to Collection")]),t._v(" "),t._m(21)])]):t._e(),t._v(" "),"audience"==t.settingsTab?n("div",{staticClass:"settings-tab"},[n("button",{staticClass:"list-btn",class:{active:"public"==t.composeScope},attrs:{type:"button"},on:{click:function(e){return t.setScope("public")}}},[n("div",{staticClass:"lead mb-0"},[t._v("Public")]),t._v(" "),t._m(22)]),t._v(" "),n("button",{staticClass:"list-btn",class:{active:"unlisted"==t.composeScope},attrs:{type:"button"},on:{click:function(e){return t.setScope("unlisted")}}},[n("div",{staticClass:"lead mb-0"},[t._v("Unlisted")]),t._v(" "),t._m(23)]),t._v(" "),n("button",{staticClass:"list-btn",class:{active:"followers"==t.composeScope},attrs:{type:"button"},on:{click:function(e){return t.setScope("followers")}}},[n("div",{staticClass:"lead mb-0"},[t._v("Followers Only")]),t._v(" "),t._m(24)])]):t._e(),t._v(" "),"license"==t.settingsTab?n("div",{staticClass:"settings-tab"},t._l(t.availableLicenses,(function(e,i){return n("button",{staticClass:"list-btn",class:{active:t.licenseIndex==i},attrs:{type:"button"},on:{click:function(e){return t.setLicense(i)}}},[n("div",{staticClass:"lead mb-0"},[t._v(t._s(e.name))]),t._v(" "),t._m(25,!0)])})),0):t._e(),t._v(" "),"media"==t.settingsTab?n("div",{staticClass:"settings-tab"},[t._m(26),t._v(" "),t._m(27)]):t._e(),t._v(" "),"schedule"==t.settingsTab?n("div",{staticClass:"settings-tab"},[n("div",{staticClass:"list-btn"},[n("div",{staticClass:"lead mb-0"},[t._v("Schedule Post")]),t._v(" "),n("button",{staticClass:"btn btn-link p-0",on:{click:t.toggleSchedule}},[n("i",{staticClass:"fal no-focus fa-2x",class:[t.schedule.enabled?"fa-toggle-on text-danger":"fa-toggle-off text-lighter"]})])]),t._v(" "),n("div",{staticClass:"list-btn"},[t._m(28),t._v(" "),n("b-form-datepicker",{attrs:{min:t.schedule.minDate,max:t.schedule.maxDate,"date-format-options":{year:"numeric",month:"long",day:"2-digit"}},model:{value:t.schedule.date,callback:function(e){t.$set(t.schedule,"date",e)},expression:"schedule.date"}})],1),t._v(" "),n("div",{staticClass:"list-btn"},[t._m(29),t._v(" "),n("b-form-timepicker",{attrs:{locale:"en"},model:{value:t.schedule.time,callback:function(e){t.$set(t.schedule,"time",e)},expression:"schedule.time"}})],1),t._v(" "),n("div",{staticClass:"list-btn border-bottom-0"},[n("div",[n("p",{staticClass:"small text-muted mb-0"},[t._v("You can set a date up to 2 months away.")]),t._v(" "),n("p",{staticClass:"small text-muted"},[t._v("Date & time relative to "),n("strong",[t._v(t._s(t.schedule.tz))]),t._v(" timezone.")])])])]):t._e(),t._v(" "),"collection"==t.settingsTab?n("div",[t.collectionsLoaded?n("div",{staticClass:"settings-tab"},[t.collectionsSelected.length?n("div",{staticClass:"list-btn justify-content-center py-2 bg-light",staticStyle:{position:"sticky",top:"0","z-index":"1"}},[n("div",{staticClass:"text-center"},[n("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.collectionsSelected.length)+" "+t._s(1==t.collectionsSelected.length?"collection":"collections")+" selected\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),5==t.collectionsSelected.length?n("p",{staticClass:"mb-0 small text-muted"},[t._v("5 collections max can be shared to")]):t._e()])]):t._e(),t._v(" "),t._l(t.collections,(function(e,i){return n("button",{staticClass:"list-btn",class:{"border-bottom-0":t.collections.length>=8&&i==t.collections.length-1&&!t.collectionsCanLoadMore},attrs:{type:"button",disabled:5==t.collectionsSelected.length&&-1==t.collectionsSelected.indexOf(e.id)},on:{click:function(n){return t.addToCollections(e.id)}}},[n("div",{staticClass:"media"},[n("img",{staticClass:"rounded-lg border mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:e.thumb,width:"65",height:"65"}}),t._v(" "),n("div",{staticClass:"media-body text-left"},[n("p",{staticClass:"lead mb-0"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"small text-muted mb-1"},[t._v(t._s(e.description||"No description available"))]),t._v(" "),n("p",{staticClass:"small text-lighter mb-0 font-weight-bold"},[n("span",[t._v(t._s(e.post_count)+" posts")]),t._v(" "),n("span",[t._v("·")]),t._v(" "),n("span",[t._v("Created "+t._s(t.timeago(e.published_at))+" ago")])])])]),t._v(" "),n("div",{staticClass:"text-lighter"},[-1==t.collectionsSelected.indexOf(e.id)?n("i",{staticClass:"fal fa-circle fa-lg"}):n("i",{staticClass:"far fa-dot-circle fa-lg text-success"})])])})),t._v(" "),t.collectionsCanLoadMore?n("button",{staticClass:"list-btn border-bottom-0 justify-content-center py-4",attrs:{type:"button"},on:{click:t.collectionsLoadMore}},[n("i",{staticClass:"fal fa-plus-circle fa-2x"})]):t._e()],2):n("div",[n("b-spinner")],1)]):t._e(),t._v(" "),"group"==t.settingsTab?n("div",{staticClass:"settings-tab"},[n("div",{staticClass:"list-btn"},[t._v("\n\t\t\t\t\t\t\tGroups here\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),"tag"==t.settingsTab?n("div",{staticClass:"settings-tab"},[n("div",{staticClass:"list-btn"},[t._v("\n\t\t\t\t\t\t\tTag ppl\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),n("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[n("button",{staticClass:"btn btn-light font-weight-bold btn-block py-1",on:{click:function(e){return t.goBack()}}},[t._v("Back")])])])]):t._e()])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card card-body shadow-none text-center mx-4",staticStyle:{"border-radius":"18px"}},[e("i",{staticClass:"fal fa-image fa-3x my-3 text-lighter"}),this._v(" "),e("p",{staticClass:"font-weight-bold text-dark mb-0"},[this._v("Drag photos or videos here")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn crop-dimension-btn active"},[e("div",{staticClass:"crop-dimension-btn-label"},[e("span",{staticClass:"crop-dimension-btn-label-icon"},[e("i",{staticClass:"fal fa-image fa-2x"})]),this._v(" "),e("span",{staticClass:"crop-dimension-btn-label-name"},[this._v("Original")])]),this._v(" "),e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"crop-dimension-btn-label"},[e("span",{staticClass:"crop-dimension-btn-label-icon"},[e("i",{staticClass:"fal fa-square fa-2x"})]),this._v(" "),e("span",{staticClass:"crop-dimension-btn-label-name"},[this._v("Square (1:1)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"crop-dimension-btn-label"},[e("span",{staticClass:"crop-dimension-btn-label-icon"},[e("i",{staticClass:"fal fa-rectangle-portrait fa-2x"})]),this._v(" "),e("span",{staticClass:"crop-dimension-btn-label-name"},[this._v("Portrait (4:5)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"crop-dimension-btn-label"},[e("span",{staticClass:"crop-dimension-btn-label-icon"},[e("i",{staticClass:"fal fa-rectangle-landscape fa-2x"})]),this._v(" "),e("span",{staticClass:"crop-dimension-btn-label-name"},[this._v("Landscape (16:9)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("img",{staticStyle:{width:"100%",height:"auto"},attrs:{src:"https://pixelfed.test/storage/m/_v2/321493203255693312/f98697a52-a34568/N3fVbXluhhaO/qmqOrgXvjyWVa7GyTHYP6Vs9ZNskrQ4YNbdks2DZ.jpg"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("span",[e("i",{staticClass:"fal fa-at",staticStyle:{"font-size":"20px"}})]),this._v(" "),e("span",{staticClass:"ml-2"},[e("i",{staticClass:"fal fa-hashtag",staticStyle:{"font-size":"20px"}})]),this._v(" "),e("span",{staticClass:"ml-2"},[e("i",{staticClass:"fal fa-smile",staticStyle:{"font-size":"20px"}})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group",staticStyle:{position:"relative"}},[e("input",{staticClass:"form-control",staticStyle:{"padding-left":"35px",height:"45px","font-size":"15px","border-radius":"8px"},attrs:{type:"text",placeholder:"Add Location",disabled:""}}),this._v(" "),e("span",{staticStyle:{left:"13px",top:"50%",transform:"translateY(-50%)",position:"absolute"}},[e("i",{staticClass:"fal fa-map-marker-alt text-lighter"})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"list-btn"},[e("div",{staticClass:"text-left"},[e("div",{staticClass:"lead mb-0"},[this._v("Disable media optimization")]),this._v(" "),e("p",{staticClass:"small mb-0 text-muted"},[this._v("Prevents image optimization that may degrade quality. Only available for single photo posts.")])]),this._v(" "),e("button",{staticClass:"btn btn-link p-0",attrs:{disabled:""}},[e("i",{staticClass:"fal fa-toggle-off text-lighter no-focus fa-2x"})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"list-btn"},[e("div",{staticClass:"text-left"},[e("div",{staticClass:"lead mb-0"},[this._v("Strip EXIF")]),this._v(" "),e("p",{staticClass:"small mb-0 text-muted"},[this._v("Strips all EXIF data that may leak location information.")])]),this._v(" "),e("button",{staticClass:"btn btn-link p-0",attrs:{disabled:""}},[e("i",{staticClass:"fal fa-toggle-on text-danger no-focus fa-2x"})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-left"},[e("div",{staticClass:"lead mb-0 mr-4"},[this._v("Date")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-left"},[e("div",{staticClass:"lead mb-0 mr-4"},[this._v("Time")])])}],!1,null,"5779f6cf",null).exports,"compose-modal":n("zlB4").default},data:function(){return{isLoaded:!1,profile:void 0,showNew:!1}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0;var t=new URLSearchParams(window.location.search);t.has("fl")&&"v5"==t.get("fl")&&(this.showNew=!0)}}),hi=Object(nn.a)(pi,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"web-wrapper"},[this.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-3 d-md-block"},[e("sidebar",{attrs:{user:this.profile}})],1),this._v(" "),e("div",{staticClass:"col-md-8"},[this.showNew?e("div",[e("compose-desktop")],1):e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6 offset-md-1"},[e("compose-modal")],1)])])]),this._v(" "),e("drawer")],1):this._e()])}),[],!1,null,null,null).exports,fi={props:{post:{type:Object},profile:{type:Object},user:{type:Object},media:{type:Array},showArrows:{type:Boolean,default:!0}},data:function(){return{loading:!1,shortcuts:void 0,sensitive:!1,mediaIndex:0}},mounted:function(){this.initShortcuts()},beforeDestroy:function(){document.removeEventListener("keyup",this.shortcuts)},methods:{navPrev:function(){var t=this;if(0==this.mediaIndex)return this.loading=!0,void axios.get("/api/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:1,max_id:this.post.id}}).then((function(e){if(!e.data.length)return t.mediaIndex=t.media.length-1,void(t.loading=!1);t.$emit("navigate",e.data[0]),t.mediaIndex=0;var n=window.location.origin+"/@".concat(t.post.account.username,"/post/").concat(t.post.id);history.pushState(null,null,n)})).catch((function(e){t.mediaIndex=t.media.length-1,t.loading=!1}));this.mediaIndex--},navNext:function(){var t=this;if(this.mediaIndex==this.media.length-1)return this.loading=!0,void axios.get("/api/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:1,min_id:this.post.id}}).then((function(e){if(!e.data.length)return t.mediaIndex=0,void(t.loading=!1);t.$emit("navigate",e.data[0]),t.mediaIndex=0;var n=window.location.origin+"/@".concat(t.post.account.username,"/post/").concat(t.post.id);history.pushState(null,null,n)})).catch((function(e){t.mediaIndex=0,t.loading=!1}));this.mediaIndex++},initShortcuts:function(){var t=this;this.shortcuts=document.addEventListener("keyup",(function(e){"ArrowLeft"===e.key&&t.navPrev(),"ArrowRight"===e.key&&t.navNext()}))}}},mi=(n("bB9S"),Object(nn.a)(fi,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"feed-media-container bg-black"},[n("div",{staticClass:"text-muted",staticStyle:{"max-height":"400px"}},[n("div",["photo"===t.post.pf_type?n("div",[1==t.post.sensitive?n("div",{staticClass:"content-label-wrapper"},[n("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),n("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.post.spoiler_text?t.post.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"mb-0"},[n("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),n("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash}})],1):n("div",{staticClass:"content-label-wrapper"},[n("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash,src:t.post.media_attachments[0].url}}),t._v(" "),!t.post.sensitive&&t.sensitive?n("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.post.sensitive=!0}}},[n("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):t._e()])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}],!1,null,null,null).exports),vi={props:{cachedStatus:{type:Object},cachedProfile:{type:Object}},components:{drawer:on,sidebar:pn,status:Un,"context-menu":Hn,"media-container":mi,"likes-modal":Gn,rightbar:Cn,"report-modal":Yn},data:function(){return{isLoaded:!1,user:void 0,profile:void 0,post:void 0,relationship:{},media:void 0,mediaIndex:0,showLikesModal:!1,isReply:!1,reply:{}}},beforeMount:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.cachedStatus&&this.cachedProfile?(this.post=this.cachedStatus,this.media=this.post.media_attachments,this.profile=this.post.account,this.user=this.cachedProfile,this.post.in_reply_to_id?this.fetchReply():(this.isReply=!1,this.fetchRelationship())):this.fetchSelf()},fetchSelf:function(){this.user=window._sharedData.user,this.fetchPost()},fetchPost:function(){var t=this;axios.get("/api/pixelfed/v1/statuses/"+this.$route.params.id).then((function(e){e.data&&e.data.hasOwnProperty("id")||t.$router.push("/i/web/404"),t.post=e.data,t.media=t.post.media_attachments,t.profile=t.post.account,t.post.in_reply_to_id?t.fetchReply():t.fetchRelationship()})).catch((function(e){switch(e.response.status){case 403:case 404:t.$router.push("/i/web/404")}}))},fetchReply:function(){var t=this;axios.get("/api/pixelfed/v1/statuses/"+this.post.in_reply_to_id).then((function(e){t.reply=e.data,t.isReply=!0,t.fetchRelationship()})).catch((function(e){t.fetchRelationship()}))},fetchRelationship:function(){var t=this;if(this.profile.id==this.user.id)return this.relationship={},void this.fetchState();axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.fetchState()}))},fetchState:function(){var t=this;axios.get("/api/v2/statuses/"+this.post.id+"/state").then((function(e){t.post.favourited=e.data.liked,t.post.reblogged=e.data.shared,t.post.bookmarked=e.data.bookmarked,!t.post.favourites_count&&t.post.favourited&&(t.post.favourites_count=1),t.isLoaded=!0})).catch((function(e){t.isLoaded=!1}))},goBack:function(){this.$router.push("/i/web")},likeStatus:function(){var t=this,e=this.post.favourites_count;this.post.favourites_count=e+1,this.post.favourited=!this.post.favourited,axios.post("/api/v1/statuses/"+this.post.id+"/favourite").then((function(t){})).catch((function(n){t.post.favourites_count=e,t.post.favourited=!1}))},unlikeStatus:function(){var t=this,e=this.post.favourites_count;this.post.favourites_count=e-1,this.post.favourited=!this.post.favourited,axios.post("/api/v1/statuses/"+this.post.id+"/unfavourite").then((function(t){})).catch((function(n){t.post.favourites_count=e,t.post.favourited=!1}))},shareStatus:function(){var t=this,e=this.post.reblogs_count;this.post.reblogs_count=e+1,this.post.reblogged=!this.post.reblogged,axios.post("/api/v1/statuses/"+this.post.id+"/reblog").then((function(t){})).catch((function(n){t.post.reblogs_count=e,t.post.reblogged=!1}))},unshareStatus:function(){var t=this,e=this.post.reblogs_count;this.post.reblogs_count=e-1,this.post.reblogged=!this.post.reblogged,axios.post("/api/v1/statuses/"+this.post.id+"/unreblog").then((function(t){})).catch((function(n){t.post.reblogs_count=e,t.post.reblogged=!1}))},openContextMenu:function(){var t=this;this.$nextTick((function(){t.$refs.contextMenu.open()}))},openLikesModal:function(){var t=this;this.showLikesModal=!0,this.$nextTick((function(){t.$refs.likesModal.open()}))},deletePost:function(){this.$router.push("/i/web")},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.user}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.user}})},handleBookmark:function(){var t=this;axios.post("/i/bookmark",{item:this.post.id}).then((function(e){t.post.bookmarked=!t.post.bookmarked})).catch((function(e){t.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},handleReport:function(){var t=this;this.$nextTick((function(){t.$refs.reportModal.open()}))}}},gi=Object(nn.a)(vi,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"post-timeline-component web-wrapper"},[t.isLoaded?n("div",{staticClass:"container-fluid mt-3"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4 col-lg-3 d-md-block"},[n("sidebar",{attrs:{user:t.user}})],1),t._v(" "),n("div",{staticClass:"col-md-8 col-lg-6"},[t.isReply?n("div",{staticClass:"p-3 rounded-top mb-n3",staticStyle:{"background-color":"rgb(249, 250, 251)"}},[n("p",[n("i",{staticClass:"fal fa-reply mr-1"}),t._v(" In reply to\n\t\t\t\t\t\t"),t._v(" "),n("a",{staticClass:"font-weight-bold primary",attrs:{href:"/i/web/profile/"+t.reply.account.id},on:{click:function(e){return e.preventDefault(),t.goToProfile(t.reply.account)}}},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.reply.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),n("button",{staticClass:"btn btn-primary font-weight-bold btn-sm px-3 float-right rounded-pill",on:{click:function(e){return e.preventDefault(),t.goToPost(t.reply)}}},[t._v("\n\t\t\t\t\t\t\tView Post\n\t\t\t\t\t\t")])])]):t._e(),t._v(" "),n("status",{key:t.post.id,attrs:{status:t.post,profile:t.user},on:{menu:function(e){return t.openContextMenu()},like:function(e){return t.likeStatus()},unlike:function(e){return t.unlikeStatus()},"likes-modal":function(e){return t.openLikesModal()},bookmark:function(e){return t.handleBookmark()},share:function(e){return t.shareStatus()},unshare:function(e){return t.unshareStatus()}}})],1),t._v(" "),n("div",{staticClass:"d-none d-lg-block col-lg-3"},[n("rightbar")],1)])]):t._e(),t._v(" "),t.isLoaded?n("context-menu",{ref:"contextMenu",attrs:{status:t.post,profile:t.user},on:{"report-modal":function(e){return t.handleReport()}}}):t._e(),t._v(" "),t.showLikesModal?n("likes-modal",{ref:"likesModal",attrs:{status:t.post,profile:t.user}}):t._e(),t._v(" "),t.post?n("report-modal",{ref:"reportModal",attrs:{status:t.post}}):t._e(),t._v(" "),n("drawer")],1)}),[],!1,null,null,null).exports,bi=n("UchI"),yi={props:{hash:{type:String,required:!0},width:{type:[Number,String],default:32},height:{type:[Number,String],default:32},punch:{type:Number,default:1}},mounted:function(){this.draw()},updated:function(){console.log("updated")},beforeDestroy:function(){console.log("beforeDestroy")},methods:{parseNumber:function(t){return"number"==typeof t?t:parseInt(t,10)},draw:function(){var t=this.parseNumber(this.width),e=this.parseNumber(this.height),n=this.parseNumber(this.punch),i=Object(bi.a)(this.hash,t,e,n),o=this.$refs.canvas.getContext("2d"),r=o.createImageData(t,e);r.data.set(i),o.putImageData(r,0,0)}}},wi=Object(nn.a)(yi,(function(){var t=this.$createElement;return(this._self._c||t)("canvas",{ref:"canvas",attrs:{width:this.parseNumber(this.width),height:this.parseNumber(this.height)}})}),[],!1,null,null,null).exports;function _i(t){return function(t){if(Array.isArray(t))return xi(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return xi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xi(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xi(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var Ci={props:{profile:{type:Object},relationship:{type:Object}},components:{intersect:bn,"status-card":Un,"bh-canvas":wi,"status-placeholder":kn,"context-menu":Hn,"likes-modal":Gn,"report-modal":Yn},data:function(){return{isLoaded:!1,user:{},isOwner:!1,layoutIndex:0,tabIndex:0,ids:[],feed:[],feedLoaded:!1,collections:[],collectionsLoaded:!1,canLoadMore:!1,max_id:1,isIntersecting:!1,postIndex:0,showMenu:!1,showLikesModal:!1,likesModalPost:{},showReportModal:!1,reportedStatus:{},reportedStatusId:0,favourites:[],favouritesLoaded:!1,favouritesPage:1,canLoadMoreFavourites:!1,bookmarks:[],bookmarksLoaded:!1,bookmarksPage:1,canLoadMoreBookmarks:!1}},mounted:function(){this.init()},methods:{init:function(){if(this.user=window._sharedData.user,"grid"!=this.$store.state.profileLayout){var t="masonry"===this.$store.state.profileLayout?1:2;this.toggleLayout(t)}this.user&&(this.isOwner=this.user.id==this.profile.id),this.profile.locked?this.privateProfileCheck():this.fetchFeed()},privateProfileCheck:function(){this.relationship.following?this.fetchFeed():this.tabIndex="private"},fetchFeed:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:9,only_media:!0,min_id:1}}).then((function(e){t.tabIndex=1;var n=e.data.filter((function(t){return t.media_attachments.length>0})),i=n.map((function(t){return t.id}));t.ids=i,t.max_id=Math.min.apply(Math,_i(i)),n.forEach((function(e){t.feed.push(e)})),t.canLoadMore=9===t.feed.length,t.feedLoaded=!0}))},enterIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:9,only_media:!0,max_id:this.max_id}}).then((function(e){e.data&&e.data.length||(t.canLoadMore=!1);e.data.filter((function(t){return t.media_attachments.length>0})).filter((function(e){return-1==t.ids.indexOf(e.id)})).forEach((function(e){e.id<t.max_id&&(t.max_id=e.id),t.ids.push(e.id),t.feed.push(e)}));t.isIntersecting=!1,t.canLoadMore=9===e.data.length})).catch((function(e){t.canLoadMore=!1})))},toggleLayout:function(t){event&&event.hasOwnProperty("currentTarget")&&event.currentTarget.blur(),this.layoutIndex=t},toggleTab:function(t){switch(event.currentTarget.blur(),t){case 1:this.tabIndex=1;break;case 2:this.fetchCollections();break;case 3:this.fetchFavourites();break;case"bookmarks":this.fetchBookmarks()}},fetchCollections:function(){var t=this;this.collectionsLoaded&&(this.tabIndex=2),axios.get("/api/local/profile/collections/"+this.profile.id).then((function(e){t.collections=e.data,t.collectionsLoaded=!0,t.tabIndex=2}))},fetchFavourites:function(){var t=this;this.tabIndex=0,axios.get("/api/pixelfed/v1/favourites").then((function(e){t.tabIndex=3,t.favourites=e.data,t.favouritesPage++,t.favouritesLoaded=!0,0!=e.data.length&&(t.canLoadMoreFavourites=!0)}))},enterFavouritesIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v1/favourites",{params:{page:this.favouritesPage}}).then((function(e){var n;(n=t.favourites).push.apply(n,_i(e.data)),t.favouritesPage++,t.canLoadMoreFavourites=0!=e.data.length,t.isIntersecting=!1})).catch((function(e){t.canLoadMoreFavourites=!1})))},fetchBookmarks:function(){var t=this;this.tabIndex=0,axios.get("/api/local/bookmarks").then((function(e){t.tabIndex="bookmarks",t.bookmarks=e.data,t.bookmarksPage++,t.bookmarksLoaded=!0,0!=e.data.length&&(t.canLoadMoreBookmarks=!0)}))},formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return"/i/web/post/"+t.id},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].url},timeago:function(t){return App.util.format.timeAgo(t)},likeStatus:function(t){var e=this,n=this.feed[t],i=(n.favourited,n.favourites_count);this.feed[t].favourites_count=i+1,this.feed[t].favourited=!n.favourited,axios.post("/api/v1/statuses/"+n.id+"/favourite").then((function(t){})).catch((function(n){e.feed[t].favourites_count=i,e.feed[t].favourited=!1}))},unlikeStatus:function(t){var e=this,n=this.feed[t],i=(n.favourited,n.favourites_count);this.feed[t].favourites_count=i-1,this.feed[t].favourited=!n.favourited,axios.post("/api/v1/statuses/"+n.id+"/unfavourite").then((function(t){})).catch((function(n){e.feed[t].favourites_count=i,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var n=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=n}))}},counterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,n=this.feed[t],i=(n.reblogged,n.reblogs_count);this.feed[t].reblogs_count=i+1,this.feed[t].reblogged=!n.reblogged,axios.post("/api/v1/statuses/"+n.id+"/reblog").then((function(t){})).catch((function(n){e.feed[t].reblogs_count=i,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,n=this.feed[t],i=(n.reblogged,n.reblogs_count);this.feed[t].reblogs_count=i-1,this.feed[t].reblogged=!n.reblogged,axios.post("/api/v1/statuses/"+n.id+"/unreblog").then((function(t){})).catch((function(n){e.feed[t].reblogs_count=i,e.feed[t].reblogged=!1}))},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},deletePost:function(){this.feed.splice(this.postIndex,1)}}},ki=(n("2DDd"),Object(nn.a)(Ci,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-feed-component"},[n("div",{staticClass:"profile-feed-component-nav d-flex justify-content-center justify-content-md-between align-items-center mb-4"},[n("div",{staticClass:"d-none d-md-block"},[n("div",{staticClass:"btn-group",staticStyle:{height:"45px"}},[n("button",{staticClass:"btn btn-link",class:[1===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab(1)}}},[t._v("\n\t\t\t\t\tPosts\n\t\t\t\t")]),t._v(" "),t.isOwner?n("button",{staticClass:"btn btn-link",class:["bookmarks"===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab("bookmarks")}}},[t._v("\n\t\t\t\t\tBookmarks\n\t\t\t\t")]):t._e(),t._v(" "),n("button",{staticClass:"btn btn-link",class:[2===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab(2)}}},[t._v("\n\t\t\t\t\tCollections\n\t\t\t\t")]),t._v(" "),t.isOwner?n("button",{staticClass:"btn btn-link",class:[3===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab(3)}}},[t._v("\n\t\t\t\t\tLikes\n\t\t\t\t")]):t._e()])]),t._v(" "),1===t.tabIndex?n("div",{staticClass:"btn-group"},[n("button",{staticClass:"btn btn-link",class:[0===t.layoutIndex?"primary":"text-lighter"],on:{click:function(e){return t.toggleLayout(0)}}},[n("i",{staticClass:"far fa-th fa-lg"})]),t._v(" "),n("button",{staticClass:"btn btn-link",class:[1===t.layoutIndex?"primary":"text-lighter"],on:{click:function(e){return t.toggleLayout(1)}}},[n("i",{staticClass:"fas fa-stream fa-rotate-90 fa-lg"})]),t._v(" "),n("button",{staticClass:"btn btn-link",class:[2===t.layoutIndex?"primary":"text-lighter"],on:{click:function(e){return t.toggleLayout(2)}}},[n("i",{staticClass:"far fa-bars fa-lg"})])]):n("div",{staticClass:"d-none d-md-block",staticStyle:{width:"160px"}})]),t._v(" "),0==t.tabIndex?n("div",{staticClass:"d-flex justify-content-center mt-5"},[n("b-spinner")],1):1==t.tabIndex?n("div",{staticClass:"px-0 mx-0"},[0===t.layoutIndex?n("div",{staticClass:"row"},[t._l(t.feed,(function(e,i){return n("div",{key:"tlob:"+i+e.id,staticClass:"col-4 p-1"},[n("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[n("div",{staticClass:"square"},[e.sensitive?n("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),n("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1):n("div",{staticClass:"square-content"},[n("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash,src:e.media_attachments[0].url}})],1),t._v(" "),n("div",{staticClass:"info-overlay-text"},[n("div",{staticClass:"text-white m-auto"},[n("p",{staticClass:"info-overlay-text-field font-weight-bold"},[n("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),n("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.favourites_count)))])]),t._v(" "),n("p",{staticClass:"info-overlay-text-field font-weight-bold"},[n("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),n("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reply_count)))])]),t._v(" "),n("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[n("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),n("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reblogs_count)))])])])])])])])})),t._v(" "),t.canLoadMore?n("div",{staticClass:"col-4 ph-wrapper"},[n("intersect",{on:{enter:t.enterIntersect}},[n("div",{staticClass:"ph-item"},[n("div",{staticClass:"ph-picture big"})])])],1):t._e()],2):1===t.layoutIndex?n("div",{staticClass:"row"},[n("masonry",{attrs:{cols:{default:3,800:2},gutter:{default:"5px"}}},[t._l(t.feed,(function(e,i){return n("div",{key:"tlog:"+i+e.id,staticClass:"p-1"},[n("a",{class:[e.sensitive?"card info-overlay card-md-border-0":e.media_attachments[0].filter_class+" card info-overlay card-md-border-0"],attrs:{href:t.statusUrl(e)}},[n("img",{staticClass:"img-fluid w-100 rounded-lg",attrs:{src:t.previewUrl(e),onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0'"}}),t._v(" "),n("span",{staticClass:"badge badge-light",staticStyle:{position:"absolute",bottom:"2px",right:"2px",opacity:"0.4"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t")])])])})),t._v(" "),t.canLoadMore?n("div",{staticClass:"p-1 ph-wrapper"},[n("intersect",{on:{enter:t.enterIntersect}},[n("div",{staticClass:"ph-item"},[n("div",{staticClass:"ph-picture big"})])])],1):t._e()],2)],1):2===t.layoutIndex?n("div",{staticClass:"row justify-content-center"},[n("div",{staticClass:"col-12 col-md-10"},t._l(t.feed,(function(e,i){return n("status-card",{key:"prs"+e.id+":"+i,attrs:{profile:t.user,status:e},on:{like:function(e){return t.likeStatus(i)},unlike:function(e){return t.unlikeStatus(i)},share:function(e){return t.shareStatus(i)},unshare:function(e){return t.unshareStatus(i)},menu:function(e){return t.openContextMenu(i)},"counter-change":function(e){return t.counterChange(i,e)},"likes-modal":function(e){return t.openLikesModal(i)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMore?n("div",{staticClass:"col-12 col-md-10"},[n("intersect",{on:{enter:t.enterIntersect}},[n("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]):t._e(),t._v(" "),t.feedLoaded&&!t.feed.length?n("div",[n("div",{staticClass:"row justify-content-center"},[n("div",{staticClass:"col-12 col-md-8 text-center"},[n("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),n("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("profile.emptyPosts")))])])])]):t._e()]):2==t.tabIndex?n("div",{staticClass:"row justify-content-center"},[n("div",{staticClass:"col-12 col-md-8"},[n("div",{staticClass:"list-group"},t._l(t.collections,(function(e,i){return n("a",{staticClass:"list-group-item text-decoration-none text-dark",attrs:{href:e.url}},[n("div",{staticClass:"media"},[n("img",{staticClass:"rounded-lg border mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:e.thumb,width:"65",height:"65"}}),t._v(" "),n("div",{staticClass:"media-body text-left"},[n("p",{staticClass:"lead mb-0"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"small text-muted mb-1"},[t._v(t._s(e.description||"No description available"))]),t._v(" "),n("p",{staticClass:"small text-lighter mb-0 font-weight-bold"},[n("span",[t._v(t._s(e.post_count)+" posts")]),t._v(" "),n("span",[t._v("·")]),t._v(" "),n("span",[t._v("Created "+t._s(t.timeago(e.published_at))+" ago")])])])])])})),0)]),t._v(" "),t.collectionsLoaded&&!t.collections.length?n("div",{staticClass:"col-12 col-md-8 text-center"},[n("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),n("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("profile.emptyCollections")))])]):t._e()]):3==t.tabIndex?n("div",{staticClass:"px-0 mx-0"},[n("div",{staticClass:"row justify-content-center"},[n("div",{staticClass:"col-12 col-md-10"},t._l(t.favourites,(function(e,i){return n("status-card",{key:"prs"+e.id+":"+i,attrs:{profile:t.user,status:e},on:{like:function(e){return t.likeStatus(i)},unlike:function(e){return t.unlikeStatus(i)},share:function(e){return t.shareStatus(i)},unshare:function(e){return t.unshareStatus(i)},"counter-change":function(e){return t.counterChange(i,e)},"likes-modal":function(e){return t.openLikesModal(i)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMoreFavourites?n("div",{staticClass:"col-12 col-md-10"},[n("intersect",{on:{enter:t.enterFavouritesIntersect}},[n("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]),t._v(" "),t.favourites&&t.favourites.length?t._e():n("div",{staticClass:"row justify-content-center"},[t._m(1)])]):"bookmarks"==t.tabIndex?n("div",{staticClass:"px-0 mx-0"},[n("div",{staticClass:"row justify-content-center"},[n("div",{staticClass:"col-12 col-md-10"},t._l(t.bookmarks,(function(e,i){return n("status-card",{key:"prs"+e.id+":"+i,attrs:{profile:t.user,"new-reactions":!0,status:e},on:{like:function(e){return t.likeStatus(i)},unlike:function(e){return t.unlikeStatus(i)},share:function(e){return t.shareStatus(i)},unshare:function(e){return t.unshareStatus(i)},menu:function(e){return t.openContextMenu(i)},"counter-change":function(e){return t.counterChange(i,e)},"likes-modal":function(e){return t.openLikesModal(i)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1)]),t._v(" "),t.bookmarks&&t.bookmarks.length?t._e():n("div",{staticClass:"row justify-content-center"},[t._m(2)])]):t._e(),t._v(" "),t.showMenu?n("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.user},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?n("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.user}}):t._e(),t._v(" "),n("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-12 col-md-8 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),this._v(" "),e("p",{staticClass:"lead text-muted font-weight-bold"},[this._v("We can't seem to find any posts you have liked")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-12 col-md-8 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),this._v(" "),e("p",{staticClass:"lead text-muted font-weight-bold"},[this._v("We can't seem to find any posts you have bookmarked")])])}],!1,null,null,null).exports);function Oi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Si(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={props:{profile:{type:Object},relationship:{type:Object,default:function(){return{following:!1,followed_by:!1}}},user:{type:Object}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Oi(Object(n),!0).forEach((function(e){Si(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Oi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(Yt.b)(["getCustomEmoji"])),methods:{getDisplayName:function(){var t=this,e=this.profile,n=e.display_name;if(!n)return e.username;if(n.includes(":")){return n.replaceAll(/(<a?)?:\w+:(\d{18}>)?/g,(function(e){var n=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==n}));return i.length?'<img draggable="false" class="emojione custom-emoji" alt="'.concat(i[0].shortcode,'" title="').concat(i[0].shortcode,'" src="').concat(i[0].url,'" data-original="').concat(i[0].url,'" data-static="').concat(i[0].static_url,'" width="16" height="16" onerror="this.onerror=null;this.src=\'/storage/emoji/missing.png\';" />'):e}))}return n},formatCount:function(t){return App.util.format.count(t)},goBack:function(){this.$emit("back")},showFullBio:function(){this.$refs.fullBio.show()},toggleTab:function(t){event.currentTarget.blur(),this.$emit("toggletab",t)},getJoinedDate:function(){var t=new Date(this.profile.created_at),e=new Intl.DateTimeFormat("en-US",{month:"long"}).format(t),n=t.getFullYear();return"".concat(e," ").concat(n)},follow:function(){event.currentTarget.blur(),this.$emit("follow")},unfollow:function(){event.currentTarget.blur(),this.$emit("unfollow")},getBio:function(){if(this.profile&&this.profile.note_text&&this.profile.note_text.length)return window.pftxt.autoLink(this.profile.note_text,{usernameUrlBase:"/i/web/profile/@",hashtagUrlBase:"/i/web/hashtag/"})},getAvatar:function(){return this.profile.id==this.user.id?window._sharedData.user.avatar:this.profile.avatar},copyTextToClipboard:function(t){App.util.clipboard(t)},goToOldProfile:function(){this.profile.local?location.href=this.profile.url:location.href="/i/web/profile/_/"+this.profile.id},handleMute:function(){var t=this,e=this.relationship.muting?"unmuted":"muted",n=1==this.relationship.muting?"/i/unmute":"/i/mute";axios.post(n,{type:"user",item:this.profile.id}).then((function(n){t.relationship.muting=!t.relationship.muting,swal("Success","You have successfully "+e+" "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},handleBlock:function(){var t=this,e=this.relationship.blocking?"unblock":"block",n=1==this.relationship.blocking?"/i/unblock":"/i/block";axios.post(n,{type:"user",item:this.profile.id}).then((function(n){t.relationship.blocking=!t.relationship.blocking,swal("Success","You have successfully "+e+" "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}}},Ti=(n("ujIz"),Object(nn.a)(Pi,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-sidebar-component"},[n("div",[n("div",{staticClass:"d-block d-md-none"},[n("div",{staticClass:"media user-card user-select-none"},[n("div",{staticStyle:{position:"relative"}},[n("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.profile.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),n("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?n("span",[t._v("@"+t._s(t.profile.acct))]):n("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?n("span",[n("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),n("div",{staticClass:"stats"},[n("div",{staticClass:"stats-posts",on:{click:function(e){return t.toggleTab("index")}}},[n("div",{staticClass:"posts-count"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),n("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.posts"))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),n("div",{staticClass:"stats-followers",on:{click:function(e){return t.toggleTab("followers")}}},[n("div",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),n("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.followers"))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),n("div",{staticClass:"stats-following",on:{click:function(e){return t.toggleTab("following")}}},[n("div",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),n("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.following"))+"\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),n("div",{staticClass:"d-none d-md-flex justify-content-between align-items-center"},[n("button",{staticClass:"btn btn-link",on:{click:function(e){return t.goBack()}}},[n("i",{staticClass:"far fa-chevron-left fa-lg text-lighter"})]),t._v(" "),n("div",[n("img",{staticClass:"avatar img-fluid shadow border",attrs:{src:t.getAvatar(),onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),t.profile.is_admin?n("p",{staticClass:"text-right",staticStyle:{"margin-top":"-30px"}},[n("span",{staticClass:"admin-label"},[t._v("Admin")])]):t._e()]),t._v(" "),n("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[n("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),n("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.goToOldProfile()}}},[t._v("View in old UI")]),t._v(" "),n("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.copyTextToClipboard(t.profile.url)}}},[t._v("Copy Link")]),t._v(" "),t.profile.local?n("b-dropdown-item",{attrs:{href:"/users/"+t.profile.username+".atom","link-class":"font-weight-bold"}},[t._v("Atom feed")]):t._e(),t._v(" "),t.profile.id==t.user.id?n("div",[n("b-dropdown-divider"),t._v(" "),n("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[n("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t")])],1):n("div",[t.profile.local?t._e():n("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")])],1),t._v(" "),t.profile.id!==t.user.id?n("div",[n("b-dropdown-divider"),t._v(" "),n("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleMute()}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t")]),t._v(" "),n("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleBlock()}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t")]),t._v(" "),n("b-dropdown-item",{attrs:{href:"/i/report?type=user&id="+t.profile.id,"link-class":"text-danger font-weight-bold"}},[t._v("Report")])],1):t._e()],1)],1),t._v(" "),n("div",{staticClass:"d-none d-md-block text-center"},[n("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),n("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?n("span",[t._v("@"+t._s(t.profile.acct))]):n("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?n("span",[n("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),t.user.id!=t.profile.id&&(t.relationship.followed_by||t.relationship.muting||t.relationship.blocking)?n("p",{staticClass:"mt-n3 text-center"},[t.relationship.followed_by?n("span",{staticClass:"badge badge-primary p-1"},[t._v("Follows you")]):t._e(),t._v(" "),t.relationship.muting?n("span",{staticClass:"badge badge-dark p-1 ml-1"},[t._v("Muted")]):t._e(),t._v(" "),t.relationship.blocking?n("span",{staticClass:"badge badge-danger p-1 ml-1"},[t._v("Blocked")]):t._e()]):t._e()]),t._v(" "),n("div",{staticClass:"d-none d-md-block stats py-2"},[n("div",{staticClass:"d-flex justify-content-between"},[n("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("index")}}},[n("strong",{attrs:{title:t.profile.statuses_count}},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),n("span",[t._v(t._s(t.$t("profile.posts")))])]),t._v(" "),n("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("followers")}}},[n("strong",{attrs:{title:t.profile.followers_count}},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),n("span",[t._v(t._s(t.$t("profile.followers")))])]),t._v(" "),n("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("following")}}},[n("strong",{attrs:{title:t.profile.following_count}},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),n("span",[t._v(t._s(t.$t("profile.following")))])])])]),t._v(" "),n("div",{staticClass:"d-flex align-items-center mb-3 mb-md-0"},[t.user.id===t.profile.id?n("div",{staticStyle:{"flex-grow":"1"}},[n("a",{staticClass:"btn btn-light font-weight-bold btn-block follow-btn",attrs:{href:"/settings/home"}},[t._v(t._s(t.$t("profile.editProfile")))])]):n("div",{staticStyle:{"flex-grow":"1"}},[t.relationship.following||t.relationship.requested?t.relationship.requested?n("div",[n("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.followRequested"))+"\n\t\t\t\t\t")])]):t.relationship.following&&!t.relationship.requested?n("button",{staticClass:"btn btn-primary font-weight-bold btn-block unfollow-btn",on:{click:t.unfollow}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t")]):t._e():n("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",on:{click:t.follow}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t")])]),t._v(" "),n("div",{staticClass:"d-block d-md-none ml-3"},[n("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[n("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),n("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.goToOldProfile()}}},[t._v("View in old UI")]),t._v(" "),n("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.copyTextToClipboard(t.profile.url)}}},[t._v("Copy Link")]),t._v(" "),t.profile.local?n("b-dropdown-item",{attrs:{href:"/users/"+t.profile.username+".atom","link-class":"font-weight-bold"}},[t._v("Atom feed")]):t._e(),t._v(" "),t.profile.id==t.user.id?n("div",[n("b-dropdown-divider"),t._v(" "),n("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[n("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t\t")])],1):n("div",[t.profile.local?t._e():n("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")])],1),t._v(" "),t.profile.id!==t.user.id?n("div",[n("b-dropdown-divider"),t._v(" "),n("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleMute()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t\t")]),t._v(" "),n("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleBlock()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t\t")]),t._v(" "),n("b-dropdown-item",{attrs:{href:"/i/report?type=user&id="+t.profile.id,"link-class":"text-danger font-weight-bold"}},[t._v("Report")])],1):t._e()],1)],1)]),t._v(" "),t.profile.note?n("div",{staticClass:"bio-wrapper card shadow-none"},[n("div",{staticClass:"card-body"},[n("div",{staticClass:"bio-body"},[n("div",{domProps:{innerHTML:t._s(t.getBio())}})])])]):t._e(),t._v(" "),n("div",{staticClass:"d-none d-md-block card card-body shadow-none py-2"},[t.profile.website?n("p",{staticClass:"small"},[t._m(0),t._v(" "),n("span",[n("a",{staticClass:"font-weight-bold",attrs:{href:t.profile.website}},[t._v(t._s(t.profile.website))])])]):t._e(),t._v(" "),n("p",{staticClass:"mb-0 small"},[t._m(1),t._v(" "),n("span",[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.joined"))+" "+t._s(t.getJoinedDate())+"\n\t\t\t\t")])])]),t._v(" "),n("div",{staticClass:"d-none d-md-flex sidebar-sitelinks"},[n("a",{attrs:{href:"/site/about"}},[t._v(t._s(t.$t("navmenu.about")))]),t._v(" "),n("router-link",{attrs:{to:"/i/web/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),n("router-link",{attrs:{to:"/i/web/language"}},[t._v(t._s(t.$t("navmenu.language")))]),t._v(" "),n("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),n("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))])],1),t._v(" "),t._m(2)]),t._v(" "),n("b-modal",{ref:"fullBio",attrs:{centered:"","hide-footer":"","ok-only":"","ok-title":"Close","ok-variant":"light",scrollable:!0,"body-class":"p-md-5",title:"Bio"}},[n("div",{domProps:{innerHTML:t._s(t.profile.note)}})])],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-lighter mr-2"},[e("i",{staticClass:"far fa-link"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-lighter mr-2"},[e("i",{staticClass:"far fa-clock"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"d-none d-md-block sidebar-attribution"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"https://pixelfed.org"}},[this._v("Powered by Pixelfed")])])}],!1,null,null,null).exports);function ji(t){return function(t){if(Array.isArray(t))return Mi(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Mi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mi(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mi(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Ei(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Ai(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Di={props:{profile:{type:Object}},components:{ProfileHoverCard:En,Intersect:bn,Placeholder:Vn},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ei(Object(n),!0).forEach((function(e){Ai(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ei(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(Yt.b)(["getCustomEmoji"])),data:function(){return{isLoaded:!1,feed:[],page:1,canLoadMore:!0,isFetchingMore:!1}},mounted:function(){this.fetchFollowers()},methods:{fetchFollowers:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/followers",{params:{page:this.page}}).then((function(e){var n;if(!e.data.length)return t.canLoadMore=!1,void(t.isLoaded=!0);(n=t.feed).push.apply(n,ji(e.data)),t.page++,t.isLoaded=!0,t.isFetchingMore=!1}))},enterIntersect:function(){this.isFetchingMore||(this.isFetchingMore=!0,this.fetchFollowers())},getUsername:function(t){var e=this,n=t.display_name;if(!n)return t.username;if(n.includes(":")){return n.replaceAll(/(<a?)?:\w+:(\d{18}>)?/g,(function(t){var n=t.slice(1,t.length-1),i=e.getCustomEmoji.filter((function(t){return t.shortcode==n}));return i.length?'<img draggable="false" class="emojione custom-emoji" alt="'.concat(i[0].shortcode,'" title="').concat(i[0].shortcode,'" src="').concat(i[0].url,'" data-original="').concat(i[0].url,'" data-static="').concat(i[0].static_url,'" width="16" height="16" onerror="this.onerror=null;this.src=\'/storage/emoji/missing.png\';" />'):t}))}return n},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})}}},$i=(n("pfjr"),Object(nn.a)(Di,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-followers-component"},[n("div",{staticClass:"row justify-content-center"},[n("div",{staticClass:"col-12 col-md-7"},[n("div",{staticClass:"header h1 font-weight-bold mb-3"},[t._v("\n\t\t\t\t"+t._s(t.$t("profile.followers"))+"\n\t\t\t")]),t._v(" "),t.isLoaded?n("div",{staticClass:"list-group"},[t._l(t.feed,(function(e,i){return n("div",{staticClass:"list-group-item"},[n("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+e.id,href:e.url},on:{click:function(n){return n.preventDefault(),t.goToProfile(e)}}},[n("div",{staticClass:"media"},[n("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"mb-0 text-truncate"},[n("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(e))}})]),t._v(" "),n("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])])])]),t._v(" "),n("b-popover",{attrs:{target:"apop_"+e.id,triggers:"hover",placement:"left","custom-class":"shadow border-0 rounded-px"}},[n("profile-hover-card",{attrs:{profile:e}})],1)],1)})),t._v(" "),t.canLoadMore?n("div",[n("intersect",{on:{enter:t.enterIntersect}},[n("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():n("div",[t._m(0)])],2):n("div",{staticClass:"list-group"},[n("placeholder")],1)])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"list-group-item text-center"},[e("p",{staticClass:"mb-0 font-weight-bold"},[this._v("No followers yet!")])])}],!1,null,null,null).exports);function Ii(t){return function(t){if(Array.isArray(t))return Li(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Li(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Li(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Li(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Bi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Fi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ri={props:{profile:{type:Object}},components:{ProfileHoverCard:En,Intersect:bn,Placeholder:Vn},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bi(Object(n),!0).forEach((function(e){Fi(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(Yt.b)(["getCustomEmoji"])),data:function(){return{isLoaded:!1,feed:[],page:1,canLoadMore:!0,isFetchingMore:!1}},mounted:function(){this.fetchFollowers()},methods:{fetchFollowers:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/following",{params:{page:this.page}}).then((function(e){var n;if(!e.data.length)return t.canLoadMore=!1,void(t.isLoaded=!0);(n=t.feed).push.apply(n,Ii(e.data)),t.page++,t.isLoaded=!0,t.isFetchingMore=!1}))},enterIntersect:function(){this.isFetchingMore||(this.isFetchingMore=!0,this.fetchFollowers())},getUsername:function(t){var e=this,n=t.display_name;if(!n)return t.username;if(n.includes(":")){return n.replaceAll(/(<a?)?:\w+:(\d{18}>)?/g,(function(t){var n=t.slice(1,t.length-1),i=e.getCustomEmoji.filter((function(t){return t.shortcode==n}));return i.length?'<img draggable="false" class="emojione custom-emoji" alt="'.concat(i[0].shortcode,'" title="').concat(i[0].shortcode,'" src="').concat(i[0].url,'" data-original="').concat(i[0].url,'" data-static="').concat(i[0].static_url,'" width="16" height="16" onerror="this.onerror=null;this.src=\'/storage/emoji/missing.png\';" />'):t}))}return n},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})}}},Ni=(n("V4y4"),Object(nn.a)(Ri,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-following-component"},[n("div",{staticClass:"row justify-content-center"},[n("div",{staticClass:"col-12 col-md-7"},[n("div",{staticClass:"header h1 font-weight-bold mb-3"},[t._v("\n\t\t\t\t"+t._s(t.$t("profile.following"))+"\n\t\t\t")]),t._v(" "),t.isLoaded?n("div",{staticClass:"list-group"},[t._l(t.feed,(function(e,i){return n("div",{staticClass:"list-group-item"},[n("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+e.id,href:e.url},on:{click:function(n){return n.preventDefault(),t.goToProfile(e)}}},[n("div",{staticClass:"media"},[n("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"mb-0 text-truncate"},[n("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(e))}})]),t._v(" "),n("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])])])]),t._v(" "),n("b-popover",{attrs:{target:"apop_"+e.id,triggers:"hover",placement:"left","custom-class":"shadow border-0 rounded-px"}},[n("profile-hover-card",{attrs:{profile:e}})],1)],1)})),t._v(" "),t.canLoadMore?n("div",[n("intersect",{on:{enter:t.enterIntersect}},[n("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():n("div",[t._m(0)])],2):n("div",{staticClass:"list-group"},[n("placeholder")],1)])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"list-group-item text-center"},[e("p",{staticClass:"mb-0 font-weight-bold"},[this._v("Not following anyone yet!")])])}],!1,null,null,null).exports),Ui={props:{id:{type:String},profileId:{type:String},username:{type:String},cachedProfile:{type:Object},cachedUser:{type:Object}},components:{drawer:on,"profile-feed":ki,"profile-sidebar":Ti,"profile-followers":$i,"profile-following":Ni},data:function(){return{isLoaded:!1,curUser:void 0,tab:"index",profile:void 0,relationship:void 0}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.tab="index",this.isLoaded=!1,this.relationship=void 0,this.owner=!1,this.cachedProfile&&this.cachedUser?(this.curUser=this.cachedUser,this.profile=this.cachedProfile,this.fetchRelationship()):(this.curUser=window._sharedData.user,this.fetchProfile())},getTabComponentName:function(){switch(this.tab){case"index":return"profile-feed";default:return"profile-".concat(this.tab)}},fetchProfile:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/pixelfed/v1/accounts/"+e).then((function(e){t.profile=e.data,e.data.id==t.curUser.id?(t.owner=!0,t.fetchRelationship()):(t.owner=!1,t.fetchRelationship())}))},fetchRelationship:function(){var t=this;if(this.owner)return this.relationship={},void(this.isLoaded=!0);axios.get("/api/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.isLoaded=!0}))},toggleTab:function(t){this.tab=t},goBack:function(){this.$router.push("/i/web")},unfollow:function(){var t=this;axios.post("/api/v1/accounts/"+this.profile.id+"/unfollow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.relationship.following=!1})).catch((function(e){swal("Oops!","An error occured when attempting to unfollow this account.","error"),t.relationship.following=!0}))},follow:function(){var t=this;axios.post("/api/v1/accounts/"+this.profile.id+"/follow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.relationship.following=!0})).catch((function(e){swal("Oops!","An error occured when attempting to follow this account.","error"),t.relationship.following=!1}))}}},zi=(n("vWIM"),Object(nn.a)(Ui,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-timeline-component"},[t.isLoaded?n("div",{staticClass:"container-fluid mt-3"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-3 d-md-block px-md-3 px-xl-5"},[n("profile-sidebar",{attrs:{profile:t.profile,relationship:t.relationship,user:t.curUser},on:{back:t.goBack,toggletab:t.toggleTab,follow:t.follow,unfollow:t.unfollow}})],1),t._v(" "),n("div",{staticClass:"col-md-8 px-md-5"},[n(t.getTabComponentName(),{key:t.getTabComponentName()+t.profile.id,tag:"component",attrs:{profile:t.profile,relationship:t.relationship}})],1)]),t._v(" "),n("drawer")],1):t._e()])}),[],!1,null,"c95215d8",null).exports),Hi={props:{profile:{type:Object}},data:function(){return{loading:!0,trending:[],range:"daily"}},mounted:function(){this.loadTrending()},methods:{fetchData:function(){var t=this;axios.get("/api/pixelfed/v2/discover/posts").then((function(e){t.posts=e.data.posts.filter((function(t){return null!=t})),t.recommendedLoading=!1}))},loadTrending:function(){var t=this;this.loading=!0,axios.get("/api/pixelfed/v2/discover/posts/trending",{params:{range:this.range}}).then((function(e){var n=e.data.filter((function(t){return null!==t}));t.trending=n.filter((function(t){return 0==t.sensitive})),"daily"==t.range&&0==n.length&&(t.range="yearly",t.loadTrending()),t.loading=!1}))},formatCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},rangeToggle:function(t){event.currentTarget.blur(),this.range=t,this.loadTrending()}}},Vi=(n("+VHp"),{components:{drawer:on,sidebar:pn,rightbar:Cn,discover:Object(nn.a)(Hi,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"discover-feed-component"},[n("section",{staticClass:"mt-3 mb-5 section-explore"},[n("div",{staticClass:"profile-timeline"},[n("div",{staticClass:"row p-0 mt-5"},[n("div",{staticClass:"col-12 mb-4 d-flex justify-content-between align-items-center"},[n("p",{staticClass:"d-block d-md-none h1 font-weight-bold mb-0"},[t._v("Trending")]),t._v(" "),n("p",{staticClass:"d-none d-md-block display-4 font-weight-bold mb-0"},[t._v("Trending")]),t._v(" "),n("div",[n("div",{staticClass:"btn-group trending-range"},[n("button",{class:"daily"==t.range?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.rangeToggle("daily")}}},[t._v("Today")]),t._v(" "),n("button",{class:"monthly"==t.range?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.rangeToggle("monthly")}}},[t._v("This month")]),t._v(" "),n("button",{class:"yearly"==t.range?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.rangeToggle("yearly")}}},[t._v("This year")])])])])]),t._v(" "),t.loading?n("div",{staticClass:"row p-0 px-lg-3"},[n("div",{staticClass:"col-12 d-flex align-items-center justify-content-center",staticStyle:{"min-height":"40vh"}},[n("b-spinner",{attrs:{size:"lg"}})],1)]):n("div",{staticClass:"row p-0 px-lg-3"},t._l(t.trending,(function(e,i){return t.trending.length?n("div",{staticClass:"col-6 col-lg-4 col-xl-3 p-1"},[n("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:e.url},on:{click:function(n){return n.preventDefault(),t.goToPost(e)}}},[n("div",{staticClass:"square square-next"},[e.sensitive?n("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),n("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1):n("div",{staticClass:"square-content"},[n("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash,src:e.media_attachments[0].preview_url}})],1),t._v(" "),n("div",{staticClass:"info-overlay-text"},[n("div",{staticClass:"text-white m-auto"},[n("p",{staticClass:"info-overlay-text-field font-weight-bold"},[n("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),n("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.favourites_count)))])]),t._v(" "),n("p",{staticClass:"info-overlay-text-field font-weight-bold"},[n("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),n("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reply_count)))])]),t._v(" "),n("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[n("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),n("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reblogs_count)))])])])])])])]):n("div",{staticClass:"col-12 d-flex align-items-center justify-content-center bg-light border",staticStyle:{"min-height":"40vh"}},[n("div",{staticClass:"h2"},[t._v("No posts found :(")])])})),0)])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])}],!1,null,null,null).exports},data:function(){return{isLoaded:!1,profile:void 0,popularAccounts:[],followingIndex:void 0}},updated:function(){},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0,this.fetchPopularAccounts()},methods:{fetchPopularAccounts:function(){var t=this;axios.get("/api/pixelfed/discover/accounts/popular").then((function(e){t.popularAccounts=e.data}))},followProfile:function(t){var e=this;event.currentTarget.blur(),this.followingIndex=t;var n=this.popularAccounts[t].id;axios.post("/api/v1/accounts/"+n+"/follow").then((function(n){e.followingIndex=void 0,e.popularAccounts.splice(t,1)})).catch((function(t){e.followingIndex=void 0,swal("Oops!","An error occured when attempting to follow this account.","error")}))},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})}}}),Wi=(n("L4Pp"),Object(nn.a)(Vi,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"web-wrapper"},[this.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:this.profile}})],1),this._v(" "),e("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[e("discover",{attrs:{profile:this.profile}})],1)]),this._v(" "),e("drawer")],1):this._e()])}),[],!1,null,"2d57d208",null).exports),Gi={components:{sidebar:pn,discover:n("RlRG").default},data:function(){return{isLoaded:!1,profile:void 0,trending:void 0,trendingSorts:["popular","new","random"],trendingSort:"popular"}},updated:function(){},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0,this.fetchTrending()},methods:{fetchTrending:function(){var t=this;axios.get("/api/v1/videos/trending",{params:{limit:6,sort:this.trendingSort}}).then((function(e){t.trending=e.data}))},toggleTrendingSort:function(t){t!==this.trendingSort&&(this.trendingSort=t,this.fetchTrending())}}},qi=(Object(nn.a)(Gi,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"web-wrapper"},[t.isLoaded?n("div",{staticClass:"container-fluid mt-3"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-3 d-md-block"},[n("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),n("div",{staticClass:"col-md-9 mt-3"},[n("h1",{staticClass:"display-4 font-weight-bold mb-4"},[t._v("Videos")]),t._v(" "),n("hr"),t._v(" "),n("p",{staticClass:"h3 font-weight-bold py-3 text-center"},t._l(t.trendingSorts,(function(e,i){return n("a",{staticClass:"text-capitalize",class:[t.trendingSort==e?"primary":"text-dark",i>0?"pl-5":""],attrs:{href:"#"},on:{click:function(n){return n.preventDefault(),t.toggleTrendingSort(e)}}},[t._v("\n\t\t\t\t\t\t"+t._s(e)+"\n\t\t\t\t\t")])})),0),t._v(" "),n("div",{staticClass:"row mt-3"},t._l(t.trending,(function(e,i){return n("div",{staticClass:"col-6 col-md-4 mb-3"},[n("div",{staticClass:"bg-white shadow-sm",staticStyle:{"border-radius":"15px"}},[n("div",{staticStyle:{position:"relative"}},[t._m(0,!0),t._v(" "),t._m(1,!0),t._v(" "),n("img",{staticClass:"shadow-sm",staticStyle:{"object-fit":"cover","border-radius":"10px"},attrs:{src:e.media_attachments[0].preview_url,width:"100%",height:"140"}})]),t._v(" "),n("p",{staticClass:"px-2 pt-2 mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\tUntitled video\n\t\t\t\t\t\t\t")]),t._v(" "),n("div",{staticClass:"px-2 pb-2 d-flex justify-content-between align-items-center"},[n("p",{staticClass:"font-weight-bold primary mb-0",staticStyle:{"font-size":"12px"}},[t._v("@"+t._s(e.account.acct))]),t._v(" "),t._m(2,!0)])])])})),0)])])]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{position:"absolute",bottom:"6px",right:"6px","z-index":"3"}},[e("span",{staticClass:"font-weight-bold px-2 py-1",staticStyle:{"background-color":"rgba(255,255,255,0.2)","font-size":"10px",color:"rgba(255,255,255,0.9)","border-radius":"5px"}},[this._v("1:00")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"d-flex justify-content-center align-items-center shadow",staticStyle:{"border-radius":"10px",position:"absolute","background-color":"rgba(0,0,0,0.5)",width:"100%",height:"100%"}},[e("i",{staticClass:"far fa-play text-white fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"font-weight-bold small text-lighter mb-0 mr-2"},[e("i",{staticClass:"far fa-eye"}),this._v(" 0\n\t\t\t\t\t\t\t\t")])}],!1,null,null,null).exports,{props:{n:{type:Object}},data:function(){return{profile:window._sharedData.user}},methods:{truncate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30;return t.length<=e?t:t.slice(0,e)+"..."},timeAgo:function(t){var e=Date.parse(t),n=Math.floor((new Date-e)/1e3),i=Math.floor(n/31536e3);return i>=1?i+"y":(i=Math.floor(n/604800))>=1?i+"w":(i=Math.floor(n/86400))>=1?i+"d":(i=Math.floor(n/3600))>=1?i+"h":(i=Math.floor(n/60))>=1?i+"m":Math.floor(n)+"s"},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},followProfile:function(t){var e=this,n=t.account.id;axios.post("/i/follow",{item:n}).then((function(t){e.notifications.map((function(t){t.account.id===n&&(t.relationship.following=!0)}))})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},viewContext:function(t){switch(t.type){case"follow":return this.getProfileUrl(t.account);case"mention":return t.status.url;case"like":case"favourite":case"comment":return this.getPostUrl(t.status);case"tagged":return t.tagged.post_url;case"direct":return"/account/direct/t/"+t.account.id}return"/"},getProfileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},getPostUrl:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})}}});function Yi(t){return function(t){if(Array.isArray(t))return Xi(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Xi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xi(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xi(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var Ki={components:{drawer:on,sidebar:pn,intersect:bn,notification:Object(nn.a)(qi,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"media mb-2 align-items-center px-3 shadow-sm py-2 bg-white",staticStyle:{"border-radius":"15px"}},[n("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[n("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:t.n.account.avatar,alt:"",width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}})]),t._v(" "),n("div",{staticClass:"media-body font-weight-light"},["favourite"==t.n.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.liked"))+" "),n("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[t._v("post")]),t._v(".\n\t\t\t")])]):"comment"==t.n.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.commented"))+" "),n("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[t._v("post")]),t._v(".\n\t\t\t")])]):"group:comment"==t.n.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.commented"))+" "),n("a",{staticClass:"font-weight-bold",attrs:{href:t.n.group_post_url}},[t._v(t._s(t.$("notifications.groupPost")))]),t._v(".\n\t\t\t")])]):"story:react"==t.n.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.reacted"))+" "),n("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+t.n.account.id}},[t._v("story")]),t._v(".\n\t\t\t")])]):"story:comment"==t.n.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.commented"))+" "),n("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+t.n.account.id}},[t._v(t._s(t.$t("notifications.story")))]),t._v(".\n\t\t\t")])]):"mention"==t.n.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "),n("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(t.n.status)}},[t._v(t._s(t.$t("notifications.mentioned")))]),t._v(" "+t._s(t.$t("notifications.you"))+".\n\t\t\t")])]):"follow"==t.n.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.followed"))+" "+t._s(t.$t("notifications.you"))+".\n\t\t\t")])]):"share"==t.n.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.shared"))+" "),n("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[t._v(t._s(t.$t("notifications.post")))]),t._v(".\n\t\t\t")])]):"modlog"==t.n.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v(t._s(t.truncate(t.n.account.username)))]),t._v(" "+t._s(t.$t("notifications.updatedA"))+" "),n("a",{staticClass:"font-weight-bold",attrs:{href:t.n.modlog.url}},[t._v(t._s(t.$t("notifications.modlog")))]),t._v(".\n\t\t\t")])]):"tagged"==t.n.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.tagged"))+" "),n("a",{staticClass:"font-weight-bold",attrs:{href:t.n.tagged.post_url}},[t._v(t._s(t.$t("notifications.post")))]),t._v(".\n\t\t\t")])]):"direct"==t.n.type||"direct"==t.n.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.sentA"))+" "),n("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+t.n.account.id}},[t._v(t._s(t.$t("notifications.dm")))]),t._v(".\n\t\t\t")])]):"group.join.approved"==t.n.type?n("div",[n("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t"+t._s(t.$t("notifications.yourApplication"))+" "),n("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.n.group.url,title:t.n.group.name}},[t._v(t._s(t.truncate(t.n.group.name)))]),t._v(" "+t._s(t.$t("notifications.applicationApproved"))+"\n\t\t\t")])]):"group.join.rejected"==t.n.type?n("div",[n("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t"+t._s(t.$t("notifications.yourApplication"))+" "),n("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.n.group.url,title:t.n.group.name}},[t._v(t._s(t.truncate(t.n.group.name)))]),t._v(" "+t._s(t.$t("notifications.applicationRejected"))+"\n\t\t\t")])]):t._e(),t._v(" "),n("div",{staticClass:"align-items-center"},[n("span",{staticClass:"small text-muted",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:t.n.created_at}},[t._v(t._s(t.timeAgo(t.n.created_at)))])])]),t._v(" "),n("div",[t.n.status&&t.n.status&&t.n.status.media_attachments&&t.n.status.media_attachments.length?n("div",[n("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[n("img",{attrs:{src:t.n.status.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):t.n.status&&t.n.status.parent&&t.n.status.parent.media_attachments&&t.n.status.parent.media_attachments.length?n("div",[n("a",{attrs:{href:t.n.status.parent.url}},[n("img",{attrs:{src:t.n.status.parent.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):t._e()])])}),[],!1,null,null,null).exports,placeholder:fn},data:function(){return{isLoaded:!1,profile:void 0,notifications:void 0,notificationsLoaded:!1,max_id:void 0,canLoadMore:!0,isIntersecting:!1}},updated:function(){},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0,this.fetchNotifications()},methods:{fetchNotifications:function(){var t=this;axios.get("/api/pixelfed/v1/notifications?pg=true").then((function(e){var n=e.data.filter((function(t){return!("share"==t.type&&!t.status)&&(!("comment"==t.type&&!t.status)&&(!("mention"==t.type&&!t.status)&&(!("favourite"==t.type&&!t.status)&&!("follow"==t.type&&!t.account))))})),i=e.data.map((function(t){return t.id}));t.max_id=Math.min.apply(Math,Yi(i)),t.notifications=n,t.notificationsLoaded=!0}))},enterIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v1/notifications",{params:{max_id:this.max_id}}).then((function(e){var n;e.data.length||(t.canLoadMore=!1);var i=e.data.map((function(t){return t.id}));t.max_id=Math.min.apply(Math,Yi(i)),(n=t.notifications).push.apply(n,Yi(e.data)),t.isIntersecting=!1})))}}},Ji=Object(nn.a)(Ki,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"web-wrapper"},[t.isLoaded?n("div",{staticClass:"container-fluid mt-3"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-3 d-md-block"},[n("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),n("div",{staticClass:"col-md-5 offset-md-1"},[t.notificationsLoaded?n("div",[t._l(t.notifications,(function(t,e){return n("notification",{key:"notification:"+e+":"+t.id,attrs:{n:t}})})),t._v(" "),t.canLoadMore?n("div",[n("intersect",{on:{enter:t.enterIntersect}},[n("placeholder")],1)],1):t._e()],2):n("div",[n("placeholder"),t._v(" "),n("placeholder")],1)])]),t._v(" "),n("drawer")],1):t._e()])}),[],!1,null,null,null).exports,Zi={components:{drawer:on,sidebar:pn,intersect:bn,"dm-placeholder":Object(nn.a)({},(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[e("div",{staticClass:"ph-col-12"},[e("div",{staticClass:"ph-row align-items-center mt-0"},[e("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),e("div",{staticClass:"ph-col-6 big"})])])])}],!1,null,null,null).exports},data:function(){return{isLoaded:!1,profile:void 0,canLoadMore:!0,threadsLoaded:!1,threads:[],tabIndex:0,tabs:["inbox","sent","requests"],page:1,ids:[],isIntersecting:!1}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0,this.fetchThreads()},methods:{fetchThreads:function(){var t=this;axios.get("/api/v1/conversations",{params:{scope:this.tabs[this.tabIndex]}}).then((function(e){var n=e.data.map((function(t){return t.accounts[0].id}));t.ids=n,t.threads=e.data,t.threadsLoaded=!0,t.page++}))},timeago:function(t){return App.util.format.timeAgo(t)},enterIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/v1/conversations",{params:{scope:this.tabs[this.tabIndex],page:this.page}}).then((function(e){if(e.data.forEach((function(e){-1==t.ids.indexOf(e.accounts[0].id)&&(t.ids.push(e.accounts[0].id),t.threads.push(e))})),!e.data.length||e.data.length<5)return t.canLoadMore=!1,void(t.isIntersecting=!1);t.page++,t.isIntersecting=!1})))},toggleTab:function(t){event.currentTarget.blur(),this.threadsLoaded=!1,this.page=1,this.tabIndex=t,this.fetchThreads()}}},Qi=Object(nn.a)(Zi,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dm-page-component"},[t.isLoaded?n("div",{staticClass:"container-fluid mt-3"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-3 d-md-block"},[n("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),n("div",{staticClass:"col-md-5 offset-md-1"},[t.threadsLoaded?n("div",[t._l(t.threads,(function(e,i){return n("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[n("div",{staticClass:"card-body py-2"},[n("div",{staticClass:"media align-items-center"},[n("img",{staticClass:"shadow-sm mr-3",staticStyle:{"border-radius":"15px"},attrs:{src:e.accounts[0].avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"font-weight-bold mb-n1"},[t._v("@"+t._s(e.accounts[0].acct))]),t._v(" "),n("p",{staticClass:"small text-muted mb-0"},[t._v(t._s(t.timeago(e.last_status.created_at))+" ago")])]),t._v(" "),n("a",{staticClass:"btn btn-link stretched-link",attrs:{href:"/account/direct/t/"+e.accounts[0].id}},[n("i",{staticClass:"fal fa-chevron-right fa-2x text-dark"})])])])])})),t._v(" "),t.canLoadMore?n("div",[n("intersect",{on:{enter:t.enterIntersect}},[n("dm-placeholder")],1)],1):t._e()],2):n("div",[n("dm-placeholder")],1)]),t._v(" "),n("div",{staticClass:"col-md-3 d-md-block"},t._l(t.tabs,(function(e,i){return n("button",{staticClass:"btn shadow-sm font-weight-bold btn-block text-capitalize",class:[i===t.tabIndex?"btn-primary":"btn-light"],on:{click:function(e){return t.toggleTab(i)}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("directMessages."+e))+"\n\t\t\t\t")])})),0)]),t._v(" "),n("drawer")],1):n("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[n("b-spinner")],1)])}),[],!1,null,null,null).exports,to={props:{config:{type:Object},profile:{type:Object}},data:function(){return{avatarUrl:void 0,avatarChanged:!1,canDeleteAvatar:!1,displayName:void 0,website:void 0,bio:void 0,locked:void 0,changed:!1}},watch:{displayName:function(t){this.hasChanged(),this.displayName=t},website:function(t){this.hasChanged(),this.website=t},bio:function(t){this.hasChanged(),this.bio=t},locked:function(t){this.hasChanged(),this.locked=t}},mounted:function(){this.init()},methods:{init:function(){this.avatarChanged=!1,this.avatarUrl=this.profile.avatar,this.displayName=this.profile.display_name,this.website=this.profile.website,this.bio=this.profile.bio,this.locked=this.profile.locked,this.canDeleteAvatar=!this.profile.avatar.includes("default.png")&&!this.profile.avatar.includes("default.jpg")},hasChanged:function(){var t=!1;this.avatarChanged&&(t=!0),this.displayName!=this.profile.display_name&&(t=!0),this.website!=this.profile.website&&(t=!0),this.bio!=this.profile.bio&&(t=!0),this.locked!=this.profile.locked&&(t=!0),this.$emit("changed",t)},uploadAvatar:function(){event.currentTarget.blur(),this.$refs.avatarInput.click()},cancelAvatarChange:function(){event.currentTarget.blur(),this.$refs.avatarInput.value="",this.avatarChanged=!1,this.avatarUrl=this.profile.avatar,this.hasChanged()},deleteAvatar:function(){var t=this;event.currentTarget.blur(),window.confirm("Are you sure you want to delete your avatar?")&&axios.post("/settings/avatar",{_method:"DELETE"}).then((function(e){t.canDeleteAvatar=!1,t.avatarUrl="/storage/avatars/default.jpg";var n=t.profile;n.avatar=t.avatarUrl,t.$emit("sync-profile",n),t.$refs.avatarInput.value="",t.avatarChanged=!1,t.hasChanged(),t.$bvToast.toast("Succesfully deleted your avatar!",{title:"Success",variant:"success",autoHideDelay:5e3})}))},avatarListener:function(){this.avatarUrl=URL.createObjectURL(event.target.files[0]),this.avatarChanged=!0,this.hasChanged()},rounded:function(t){return t<.1?"1":Math.round(t)},fsize:function(t){return filesize(1024*t,{round:0})},save:function(){var t=this,e=new FormData;this.avatarChanged&&e.append("avatar",this.$refs.avatarInput.files[0]),e.append("_method","PATCH"),e.append("display_name",this.displayName),e.append("locked",this.locked),e.append("website",this.website),e.append("note",this.bio),axios.post("/api/v1/accounts/update_credentials",e).then((function(e){var n=t.profile;n.avatar=e.data.avatar,n.display_name=e.data.display_name,n.locked=e.data.locked,n.website=e.data.website,n.bio=e.data.bio,t.$emit("sync-profile",n),t.$emit("changed",!1),t.avatarChanged=!1,t.init(),t.$bvToast.toast("Succesfully updated your profile!",{title:"Success",variant:"success",autoHideDelay:5e3})})).catch((function(t){422==t.response.status?swal("Error","The following error occured when attempting to save your changes: "+t.response.data.error,"error"):swal("Oops!","Something went wrong","error")}))}}},eo=(n("D6j1"),Object(nn.a)(to,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-profile-component"},[n("input",{ref:"avatarInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.avatarListener}}),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-sm-3 col-form-label font-weight-bold",class:{changed:t.avatarChanged},attrs:{for:"name"}},[t._v("Avatar")]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("img",{staticClass:"rounded-circle mb-2",attrs:{src:t.avatarUrl,width:"90",height:"90",loading:"lazy"}}),t._v(" "),n("p",{staticClass:"mb-0 small"},[t.avatarChanged?t._e():n("button",{staticClass:"font-weight-bold btn btn-light btn-sm",on:{click:t.uploadAvatar}},[t._v("\n\t\t\t\t\t"+t._s(t.canDeleteAvatar?"Change avatar":"Add avatar")+"\n\t\t\t\t")]),t._v(" "),t.avatarChanged?n("button",{staticClass:"font-weight-bold btn btn-light text-lighter btn-sm",staticStyle:{"margin-left":"14px"},on:{click:t.cancelAvatarChange}},[t._v("Cancel")]):t._e(),t._v(" "),!t.avatarChanged&&t.canDeleteAvatar?n("button",{staticClass:"font-weight-bold btn btn-light text-lighter btn-sm",on:{click:t.deleteAvatar}},[t._v("Delete")]):t._e()])])]),t._v(" "),n("hr"),t._v(" "),n("div",[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-sm-3 col-form-label font-weight-bold",class:{changed:t.profile.display_name!=t.displayName},attrs:{for:"name"}},[t._v("Display Name")]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.displayName,expression:"displayName"}],staticClass:"form-control",attrs:{type:"text",id:"name",name:"name",placeholder:"Your Name"},domProps:{value:t.displayName},on:{input:function(e){e.target.composing||(t.displayName=e.target.value)}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-sm-3 col-form-label font-weight-bold",class:{changed:t.profile.website!=t.website},attrs:{for:"website"}},[t._v("Website")]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.website,expression:"website"}],staticClass:"form-control",attrs:{type:"text",id:"website",name:"website",placeholder:"Website"},domProps:{value:t.website},on:{input:function(e){e.target.composing||(t.website=e.target.value)}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-sm-3 col-form-label font-weight-bold",class:{changed:t.profile.bio!=t.bio},attrs:{for:"bio"}},[t._v("Bio")]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.bio,expression:"bio"}],staticClass:"form-control",attrs:{id:"bio",name:"bio",placeholder:"Add a bio here",rows:"2",maxlength:t.config.max_bio_length},domProps:{value:t.bio},on:{input:function(e){e.target.composing||(t.bio=e.target.value)}}}),t._v(" "),t.bio!=t.profile.bio?n("p",{staticClass:"form-text"},[n("span",{staticClass:"bio-counter float-right small text-muted"},[t._v(t._s(t.bio&&t.bio.length?t.bio.length:0)+"/"+t._s(t.config.max_bio_length))])]):t._e(),t._v(" "),n("p",{staticClass:"small text-muted font-weight-bold mb-0"},[t._v("\n\t\t\t\t\tHashtags, links and usernames will be converted to links if applicable\n\t\t\t\t")])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-sm-3"},[n("label",{staticClass:"form-check-label font-weight-bold col-form-label",class:{changed:t.profile.locked!=t.locked}},[t._v("Private Account")])]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.locked,expression:"locked"}],staticClass:"form-check-input ml-0",staticStyle:{height:"auto",position:"relative"},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.locked)?t._i(t.locked,null)>-1:t.locked},on:{change:function(e){var n=t.locked,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.locked=n.concat([null])):r>-1&&(t.locked=n.slice(0,r).concat(n.slice(r+1)))}else t.locked=o}}}),t._v(" "),t._m(0)])]),t._v(" "),t.config.storage.quota.enabled?n("hr"):t._e(),t._v(" "),t.config.storage.quota.enabled?n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-sm-3 col-form-label font-weight-bold"},[t._v("Storage Used")]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("div",{staticClass:"progress mt-2"},[n("div",{staticClass:"progress-bar",style:{width:t.profile.storage.used_percent+"%"},attrs:{role:"progressbar","aria-valuenow":t.profile.storage.used_percent,"aria-valuemin":"0","aria-valuemax":"100"}})]),t._v(" "),n("div",{staticClass:"help-textd"},[n("span",{staticClass:"small"},[n("strong",[t._v(t._s(t.rounded(t.profile.storage.used_percent))+"%")]),t._v(" "),n("span",[t._v("·")]),t._v(" "),n("a",{directives:[{name:"b-modal",rawName:"v-b-modal.storage-help",modifiers:{"storage-help":!0}}],staticClass:"font-weight-bold",attrs:{href:"javascript:void(0);"}},[t._v("What is this?")]),t._v(" "),n("span",[t._v("·")]),t._v(" "),n("a",{directives:[{name:"b-modal",rawName:"v-b-modal.storage-increase",modifiers:{"storage-increase":!0}}],staticClass:"font-weight-bold",attrs:{href:"javascript:void(0);"}},[t._v("Increase storage")])]),t._v(" "),n("span",{staticClass:"small float-right font-weight-bold"},[n("span",[t._v(t._s(t.fsize(t.profile.storage.used))+" / ")]),t._v(t._s(t.fsize(t.config.storage.quota.max_account_size))+"\n\t\t\t\t\t")])])])]):t._e()]),t._v(" "),n("b-modal",{attrs:{id:"storage-help",title:"Account Storage Quota",centered:"","hide-footer":""}},[n("p",{staticClass:"lead mb-0"},[t._v("We limit accounts to "),n("strong",[t._v("5GB")]),t._v(" of storage space. Once you reach that limit you will not be able to upload any more media unless you increase your limit or delete old posts.")])]),t._v(" "),n("b-modal",{attrs:{id:"storage-increase",title:"Increase Storage Quota",centered:"","hide-footer":""}},[n("p",{staticClass:"lead mb-0"},[t._v("Please contact the "),n("a",{attrs:{href:"/site/contact"}},[t._v("administrators")]),t._v(" to request an increase.")])])],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-muted small help-text mb-0"},[this._v("When your account is private, only people you approve can see your photos "),e("br"),this._v("and videos on pixelfed. Your existing followers won't be affected.")])}],!1,null,"53dd5681",null).exports),no={props:{config:{type:Object},profile:{type:Object}},data:function(){return{language:void 0,pronouns:void 0,email:{disabled:!0,actual:void 0,masked:void 0},changed:!1}},watch:{language:function(t){this.hasChanged(),this.language=t},pronouns:function(t){this.hasChanged(),this.pronouns=t}},mounted:function(){this.init()},methods:{init:function(){this.language=this.profile.language,this.pronouns=this.profile.pronouns,this.email.masked=this.profile.email.masked},hasChanged:function(){var t=!1;this.language!=this.profile.language&&(t=!0),this.pronouns!=this.profile.pronouns&&(t=!0),this.$emit("changed",t)},save:function(){var t=this;axios.post("/api/v1/accounts/update_credentials",{_method:"PATCH","source[language]":this.language}).then((function(e){var n=t.profile;n.language=e.data.language,t.$emit("sync-profile",n),t.$emit("changed",!1),t.init(),t.$bvToast.toast("Succesfully updated your profile!",{title:"Success",variant:"success",autoHideDelay:5e3})})).catch((function(t){422==t.response.status?swal("Error","The following error occured when attempting to save your changes: "+t.response.data.error,"error"):swal("Oops!","Something went wrong","error")}))},timeago:function(t){return App.util.format.timeAgo(t)}}},io=Object(nn.a)(no,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-profile-component"},[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-sm-3 col-form-label font-weight-bold",attrs:{for:"email"}},[t._v("Email")]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.email.masked,expression:"email.masked"}],staticClass:"form-control",attrs:{type:"email",placeholder:"Email Address",disabled:t.email.disabled},domProps:{value:t.email.masked},on:{input:function(e){e.target.composing||t.$set(t.email,"masked",e.target.value)}}}),t._v(" "),n("div",{staticClass:"d-flex justify-content-between"},[t.profile.email_verified_at?n("p",{staticClass:"help-text small text-muted font-weight-bold mb-0"},[n("span",{staticClass:"text-success mr-1"},[t._v("Verified")]),t._v(" "+t._s(t.timeago(t.profile.email_verified_at))+" ago\n\t\t\t\t\t")]):n("p",{staticClass:"help-text small text-muted font-weight-bold mb-0"},[n("span",{staticClass:"text-danger mr-1"},[t._v("Unverified")]),t._v(" "),t.config.enforce_email_verification?n("span",[t._v("\n\t\t\t\t\t\t\tYou need to "),n("a",{attrs:{href:"/i/verify-email"}},[t._v("verify your email")]),t._v(".\n\t\t\t\t\t\t")]):n("span",[t._v("You should "),n("a",{attrs:{href:"/i/verify-email"}},[t._v("verify your email")]),t._v(" to maintain access to this account in the event you need to reset your password")])]),t._v(" "),t._m(0)])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-sm-3 col-form-label font-weight-bold",attrs:{for:"language"}},[t._v("Language")]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.language,expression:"language"}],staticClass:"form-control",attrs:{name:"language"},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.language=e.target.multiple?n:n[0]}}},t._l(t.config.languages,(function(e,i){return n("option",{domProps:{value:e.value}},[t._v(t._s(e.name))])})),0)])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"help-text small font-weight-bold mb-0"},[e("a",{attrs:{href:"/settings/email"}},[this._v("Change email address")])])}],!1,null,null,null).exports,oo={props:{config:{type:Object},profile:{type:Object}},data:function(){return{reduceMotion:void 0,highContrast:void 0,videoAutoplay:void 0,changed:!1}},watch:{reduceMotion:function(t){this.hasChanged(),this.reduceMotion=t},highContrast:function(t){this.hasChanged(),this.highContrast=t},videoAutoplay:function(t){this.hasChanged(),this.videoAutoplay=t}},mounted:function(){this.init()},methods:{init:function(){this.reduceMotion=this.profile.settings.reduce_motion,this.highContrast=this.profile.settings.high_contrast_mode,this.videoAutoplay=this.profile.settings.video_autoplay},hasChanged:function(){var t=!1;this.reduceMotion!=this.profile.settings.reduce_motion&&(t=!0),this.highContrast!=this.profile.settings.high_contrast_mode&&(t=!0),this.videoAutoplay!=this.profile.settings.video_autoplay&&(t=!0),this.$emit("changed",t)},save:function(){var t=this;axios.post("/api/v1/accounts/update_credentials",{_method:"PATCH",reduce_motion:this.reduceMotion,high_contrast_mode:this.highContrast,video_autoplay:this.videoAutoplay}).then((function(e){var n=t.profile;n.settings.reduce_motion=t.reduceMotion,n.settings.high_contrast_mode=t.highContrast,n.settings.video_autoplay=t.videoAutoplay,t.$emit("sync-profile",n),t.$emit("changed",!1),t.init(),t.$bvToast.toast("Succesfully updated your profile!",{title:"Success",variant:"success",autoHideDelay:5e3})})).catch((function(t){422==t.response.status?swal("Error","The following error occured when attempting to save your changes: "+t.response.data.error,"error"):swal("Oops!","Something went wrong","error")}))}}},ro=(n("WqKl"),Object(nn.a)(oo,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-accessibility-component"},[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.reduceMotion,expression:"reduceMotion"}],staticClass:"form-check-input",attrs:{type:"checkbox",name:"reduce_motion",id:"reduce_motion"},domProps:{checked:Array.isArray(t.reduceMotion)?t._i(t.reduceMotion,null)>-1:t.reduceMotion},on:{change:function(e){var n=t.reduceMotion,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.reduceMotion=n.concat([null])):r>-1&&(t.reduceMotion=n.slice(0,r).concat(n.slice(r+1)))}else t.reduceMotion=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"reduce_motion"}},[t._v("Reduce Motion")]),t._v(" "),n("p",{staticClass:"text-muted small help-text"},[t._v("Prevent animation effects.")])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.highContrast,expression:"highContrast"}],staticClass:"form-check-input",attrs:{type:"checkbox",name:"high_contrast_mode",id:"high_contrast_mode"},domProps:{checked:Array.isArray(t.highContrast)?t._i(t.highContrast,null)>-1:t.highContrast},on:{change:function(e){var n=t.highContrast,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.highContrast=n.concat([null])):r>-1&&(t.highContrast=n.slice(0,r).concat(n.slice(r+1)))}else t.highContrast=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"high_contrast_mode"}},[t._v("\n\t\t\tHigh Contrast Mode\n\t\t")]),t._v(" "),n("p",{staticClass:"text-muted small help-text"},[t._v("High contrast mode for the visually impaired.")])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.videoAutoplay,expression:"videoAutoplay"}],staticClass:"form-check-input",attrs:{type:"checkbox",name:"video_autoplay",id:"video_autoplay"},domProps:{checked:Array.isArray(t.videoAutoplay)?t._i(t.videoAutoplay,null)>-1:t.videoAutoplay},on:{change:function(e){var n=t.videoAutoplay,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.videoAutoplay=n.concat([null])):r>-1&&(t.videoAutoplay=n.slice(0,r).concat(n.slice(r+1)))}else t.videoAutoplay=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"video_autoplay"}},[t._v("\n\t\t\tDisable video autoplay\n\t\t")]),t._v(" "),n("p",{staticClass:"text-muted small help-text"},[t._v("Prevent videos from autoplaying.")])])])}),[],!1,null,"6fc7ca94",null).exports),ao={props:{config:{type:Object},profile:{type:Object}},data:function(){return{theme:"light",textSize:1,profileLayout:"grid",postLayout:"social",reduceMotion:void 0,changed:!1}},watch:{theme:function(t){this.hasChanged(),this.reduceMotion=t}},mounted:function(){this.init()},methods:{init:function(){this.theme=this.profile.dark_mode?"dark":"light"},hasChanged:function(){var t=!1;this.theme!=this.profile.dark_mode&&(t=!0),this.$emit("changed",t)},timeago:function(t){return App.util.format.timeAgo(t)},toggleTextSize:function(t){event.currentTarget.blur(),this.textSize=t},toggleTheme:function(t){event.currentTarget.blur(),this.theme=t},toggleProfileLayout:function(t){event.currentTarget.blur(),this.profileLayout=t},togglePostLayout:function(t){event.currentTarget.blur(),this.postLayout=t},save:function(){axios.post("/settings/labs",{dark_mode:"dark"==this.theme?"on":null}).then((function(t){location.reload()})).catch((function(t){422==t.response.status?swal("Error","The following error occured when attempting to save your changes: "+t.response.data.error,"error"):swal("Oops!","Something went wrong","error")}))}}},so=(n("MaCO"),Object(nn.a)(ao,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-appearance-component"},[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-sm-3 col-form-label font-weight-bold"},[t._v("Theme")]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("div",{staticClass:"d-flex"},[n("button",{staticClass:"card card-body shadow-none border mx-2 p-3 align-items-center text-muted",class:{"border-primary":"light"==t.theme,"text-lighter":"light"!=t.theme},on:{click:function(e){return t.toggleTheme("light")}}},[n("img",{staticClass:"mb-3 border rounded-lg",staticStyle:{width:"100%",height:"auto","max-height":"60px","object-fit":"cover"},attrs:{src:"/img/settings/light.png"}}),t._v(" "),n("p",{staticClass:"mb-0 font-weight-bold text-center"},[t._v("Light Mode")])]),t._v(" "),n("button",{staticClass:"card card-body shadow-none border mx-2 p-3 align-items-center text-muted",class:{"border-primary":"dark"==t.theme,"text-lighter":"dark"!=t.theme},on:{click:function(e){return t.toggleTheme("dark")}}},[n("img",{staticClass:"mb-3 border rounded-lg",staticStyle:{width:"100%",height:"auto","max-height":"60px","object-fit":"cover"},attrs:{src:"/img/settings/dark.png"}}),t._v(" "),n("p",{staticClass:"mb-0 font-weight-bold text-center"},[t._v("Dark Mode")])])]),t._v(" "),n("p",{staticClass:"help-text small text-muted ml-2 mt-2 font-weight-bold"},[t._v("Dark Mode is not optimized for all features and pages, you may experience issues.")])])])])}),[],!1,null,"6b7eb468",null).exports),lo={props:{config:{type:Object},profile:{type:Object}},data:function(){return{apps:[],appsLoaded:!1,devices:[],devicesLoaded:!1,reduceMotion:void 0,changed:!1}},watch:{reduceMotion:function(t){this.hasChanged(),this.reduceMotion=t}},mounted:function(){this.init()},methods:{init:function(){this.reduceMotion=this.profile.settings.reduce_motion,this.fetchAuthorizedApps(),this.fetchDevices()},hasChanged:function(){var t=!1;this.reduceMotion!=this.profile.settings.reduce_motion&&(t=!0),this.$emit("changed",t)},timeago:function(t){return App.util.format.timeAgo(t)},timeahead:function(t){return App.util.format.timeAhead(t)},fetchAuthorizedApps:function(){var t=this;axios.get("/oauth/tokens").then((function(e){t.apps=e.data,t.appsLoaded=!0}))},fetchDevices:function(){var t=this;axios.get("/i/settings/devices.json").then((function(e){t.devices=e.data,t.devicesLoaded=!0}))}}},co=(n("S3ZO"),Object(nn.a)(lo,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-devices-component"},[n("h5",{staticClass:"font-weight-bold mb-3"},[t._v("Apps")]),t._v(" "),n("div",{staticClass:"list-group"},[t.appsLoaded?n("div",{staticClass:"list-group-inner border rounded",staticStyle:{"max-height":"200px","overflow-y":"auto"}},[t._l(t.apps,(function(e,i){return n("div",{staticClass:"list-group-item border border-left-0 border-right-0 border-bottom-0",class:{"border-top-0":0==i}},[n("div",{staticClass:"media"},[t._m(0,!0),t._v(" "),n("div",{staticClass:"media-body d-flex justify-content-between"},[n("div",{staticClass:"small"},[t._m(1,!0),t._v(" "),n("p",{staticClass:"mb-0"},[n("span",[t._v(t._s(e.client.name))])])]),t._v(" "),n("div",{staticClass:"small"},[t._m(2,!0),t._v(" "),n("p",{staticClass:"mb-0"},[n("span",[t._v(t._s(e.scopes.join(", ")))])])]),t._v(" "),n("div",{staticClass:"small"},[t._m(3,!0),t._v(" "),n("p",{staticClass:"mb-0"},[n("span",[t._v(t._s(t.timeahead(e.expires_at)))])])]),t._v(" "),n("div"),t._v(" "),t._m(4,!0)])])])})),t._v(" "),t.apps.length?t._e():n("div",{staticClass:"list-group-item border-0"},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No apps found")])])],2):n("div",{staticClass:"list-group-item d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[n("b-spinner")],1)]),t._v(" "),n("h5",{staticClass:"font-weight-bold mt-5 mb-3"},[t._v("Devices")]),t._v(" "),n("div",{staticClass:"list-group"},[t.devicesLoaded?n("div",{staticClass:"list-group-inner border rounded",staticStyle:{"max-height":"200px","overflow-y":"auto"}},[t._l(t.devices,(function(e,i){return n("div",{staticClass:"list-group-item border border-left-0 border-right-0 border-bottom-0",class:{"border-top-0":0==i}},[n("div",{staticClass:"media"},[t._m(5,!0),t._v(" "),n("div",{staticClass:"media-body d-flex justify-content-between"},[n("div",{staticClass:"small"},[n("p",{staticClass:"mb-0"},[n("strong",[t._v("Platform")]),t._v(" "),n("span",[t._v(t._s(e.platform))])]),t._v(" "),n("p",{staticClass:"mb-0"},[n("strong",[t._v("Device")]),t._v(" "),n("span",[t._v(t._s(e.device))])])]),t._v(" "),n("div",{staticClass:"small"},[n("p",{staticClass:"mb-0"},[n("strong",[t._v("Browser")]),t._v(" "),n("span",[t._v(t._s(e.browser))])]),t._v(" "),n("p",{staticClass:"mb-0"},[n("strong",[t._v("IP")]),t._v(" "),n("span",[t._v(t._s(e.ip))])])]),t._v(" "),n("div",{staticClass:"small"},[n("p",{staticClass:"mb-0"},[n("strong",[t._v("Last login")]),t._v(" "),n("span",[t._v(t._s(t.timeago(e.last_login_at))+" ago")])]),t._v(" "),n("p",{staticClass:"mb-0"},[n("span",{staticClass:"small text-lighter"},[t._v(t._s(e.last_login_at))])])]),t._v(" "),n("div"),t._v(" "),t._m(6,!0)])])])})),t._v(" "),t.devices.length?t._e():n("div",{staticClass:"list-group-item border-0"},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No devices found")])])],2):n("div",{staticClass:"list-group-item d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[n("b-spinner")],1)])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"mr-5"},[e("i",{staticClass:"fal fa-mobile fa-2x text-lighter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("strong",[this._v("App Name")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("strong",[this._v("Scopes Granted")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("strong",[this._v("Expires")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn btn-light font-weight-bold py-1"},[e("i",{staticClass:"far fa-ellipsis-h fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"mr-5"},[e("i",{staticClass:"fal fa-mobile fa-2x text-lighter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn btn-light font-weight-bold py-1"},[e("i",{staticClass:"far fa-ellipsis-h fa-lg"})])}],!1,null,"761c3ad4",null).exports),uo={props:{config:{type:Object},profile:{type:Object}},data:function(){return{reduceMotion:void 0,changed:!1}},watch:{reduceMotion:function(t){this.hasChanged(),this.reduceMotion=t}},mounted:function(){this.init()},methods:{init:function(){this.reduceMotion=this.profile.settings.reduce_motion},hasChanged:function(){var t=!1;this.reduceMotion!=this.profile.settings.reduce_motion&&(t=!0),this.$emit("changed",t)},timeago:function(t){return App.util.format.timeAgo(t)}}},po=(n("Z8eW"),Object(nn.a)(uo,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-notification-component"},[n("div",{staticClass:"form-check"},[n("input",{staticClass:"form-check-input",attrs:{type:"checkbox",disabled:""}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:""}},[t._v("Weekly Summary")]),t._v(" "),n("p",{staticClass:"text-muted small help-text"},[t._v("Stay up to date with a tailored summary delivered to your inbox weekly.")])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-check"},[n("input",{staticClass:"form-check-input",attrs:{type:"checkbox",disabled:""}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:""}},[t._v("New Followers")]),t._v(" "),n("p",{staticClass:"text-muted small help-text"},[t._v("Get email notifications when people follow you.")])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-check"},[n("input",{staticClass:"form-check-input",attrs:{type:"checkbox",disabled:""}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:""}},[t._v("Mentions/Tags")]),t._v(" "),n("p",{staticClass:"text-muted small help-text"},[t._v("Get email notifications when people mention or tag you in posts.")])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-check"},[n("input",{staticClass:"form-check-input",attrs:{type:"checkbox",disabled:""}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:""}},[t._v("Comments")]),t._v(" "),n("p",{staticClass:"text-muted small help-text"},[t._v("Get email notifications when people comment on your posts.")])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-check"},[n("input",{staticClass:"form-check-input",attrs:{type:"checkbox",disabled:""}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:""}},[t._v("Likes/Shares")]),t._v(" "),n("p",{staticClass:"text-muted small help-text"},[t._v("Get email notifications when people like or share your posts.")])])])}],!1,null,"4a911aa9",null).exports),ho={props:{config:{type:Object},profile:{type:Object}},data:function(){return{tabIndex:0,tabs:["general","compose","privacy","safety","advanced"],scope:"public",license:0,mediaDescriptions:void 0,syncLicenses:!1,crawlable:void 0,publicDm:void 0,followerCount:void 0,followingCount:void 0,embedable:void 0,otherFields:[],changed:!1}},watch:{scope:function(t){this.hasChanged(),this.scope=t},license:function(t){this.hasChanged(),this.license=t},mediaDescriptions:function(t){this.hasChanged(),this.mediaDescriptions=t},crawlable:function(t){this.hasChanged(),this.crawlable=t},publicDm:function(t){this.hasChanged(),this.publicDm=t},followerCount:function(t){this.hasChanged(),this.followerCount=t},followingCount:function(t){this.hasChanged(),this.followingCount=t},embedable:function(t){this.hasChanged(),this.embedable=t}},mounted:function(){this.init()},methods:{init:function(){var t=new URLSearchParams(window.location.search);if(t.has("tab")){var e=t.get("tab");this.tabs.includes(e)?(this.tabIndex=this.tabs.indexOf(e),"General"===e&&history.pushState(null,null,"/i/settings/preferences")):history.pushState(null,null,"/i/settings/preferences")}this.scope=this.profile.settings.compose_settings.default_scope,this.license=this.profile.settings.compose_settings.default_license,this.mediaDescriptions=this.profile.settings.compose_settings.media_descriptions,this.reduceMotion=this.profile.settings.reduce_motion,this.crawlable=this.profile.settings.crawlable,this.publicDm=this.profile.settings.public_dm,this.followerCount=this.profile.settings.show_profile_follower_count,this.followingCount=this.profile.settings.show_profile_following_count,this.embedable=this.profile.settings.other.disable_embeds,this.setOtherFields()},hasChanged:function(){var t=!1;this.scope!=this.profile.settings.compose_settings.default_scope&&(t=!0),this.license!=this.profile.settings.compose_settings.default_license&&(t=!0),this.mediaDescriptions!=this.profile.settings.compose_settings.media_descriptions&&(t=!0),this.crawlable!=this.profile.settings.crawlable&&(t=!0),this.publicDm!=this.profile.settings.public_dm&&(t=!0),this.followerCount!=this.profile.settings.show_profile_follower_count&&(t=!0),this.followingCount!=this.profile.settings.show_profile_following_count&&(t=!0),this.embedable!=this.profile.settings.other.disable_embeds&&(t=!0),this.$emit("changed",t)},timeago:function(t){return App.util.format.timeAgo(t)},setOtherFields:function(){this.otherFields=[{title:"Disable Content Warnings",help:"Always show content, even if it has a content warning. Not safe for work.",default:!1},{title:"Hide Like Counts",help:"Hide all like counts shown to me, does not affect other users from seeing like counts on your posts",default:!1},{title:"Hide Collections",help:"Hide collections tab from my profile. Will prevent you from creating new collections until disabled.",default:!1},{title:"Hide Stories",help:"Hide story carousel from timelines on web ui",default:!1},{title:"Advanced Atom feed",help:"Enable a richer experience for atom readers",default:!1},{title:"Disable embeds",help:"Disable profile & post embeds. This will break existing embeds.",default:!1}]},save:function(){var t=this;axios.post("/api/v1/accounts/update_credentials",{_method:"PATCH","source[privacy]":this.scope,license:this.license,sync_licenses:this.syncLicenses,media_descriptions:this.mediaDescriptions,crawlable:this.crawlable,public_dm:this.publicDm,show_profile_follower_count:this.followerCount,show_profile_following_count:this.followingCount,disable_embeds:this.embedable}).then((function(e){var n=t.profile;n.settings.compose_settings.default_scope=t.scope,n.settings.compose_settings.default_license=t.license,n.settings.compose_settings.media_descriptions=t.mediaDescriptions,n.settings.crawlable=t.crawlable,n.settings.public_dm=t.publicDm,n.settings.show_profile_follower_count=t.followerCount,n.settings.show_profile_following_count=t.followingCount,n.settings.other.disable_embeds=t.embedable,t.$emit("sync-profile",n),t.$emit("changed",!1),t.init(),t.$bvToast.toast("Succesfully updated your profile!",{title:"Success",variant:"success",autoHideDelay:5e3})})).catch((function(t){422==t.response.status?swal("Error","The following error occured when attempting to save your changes: "+t.response.data.error,"error"):swal("Oops!","Something went wrong","error")}))},toggleTab:function(t){this.tabIndex=t;var e=0==t?"/i/settings/preferences":"/i/settings/preferences?tab="+this.tabs[t];history.pushState(null,null,e)}}},fo=(n("a6ch"),Object(nn.a)(ho,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-preferences-component"},[n("div",[n("ul",{staticClass:"nav nav-tabs mb-3"},t._l(t.tabs,(function(e,i){return n("li",{staticClass:"nav-item"},[n("a",{staticClass:"nav-link text-uppercase",class:{active:i==t.tabIndex,"font-weight-bold":i==t.tabIndex},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(i)}}},[t._v("\n\t\t\t\t\t"+t._s(e)+"\n\t\t\t\t")])])})),0)]),t._v(" "),0===t.tabIndex?n("div",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.followerCount,expression:"followerCount"}],staticClass:"form-check-input",attrs:{type:"checkbox",name:"spcfr",id:"spcfr"},domProps:{checked:Array.isArray(t.followerCount)?t._i(t.followerCount,null)>-1:t.followerCount},on:{change:function(e){var n=t.followerCount,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.followerCount=n.concat([null])):r>-1&&(t.followerCount=n.slice(0,r).concat(n.slice(r+1)))}else t.followerCount=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-bold",class:{changed:t.followerCount!=t.profile.settings.show_profile_follower_count},attrs:{for:"spcfr"}},[t._v("\n\t\t\t\tShow Follower Count\n\t\t\t")]),t._v(" "),n("p",{staticClass:"text-muted small help-text"},[t._v("Display follower count on profile")])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.followingCount,expression:"followingCount"}],staticClass:"form-check-input",attrs:{type:"checkbox",name:"spcfg",id:"spcfg"},domProps:{checked:Array.isArray(t.followingCount)?t._i(t.followingCount,null)>-1:t.followingCount},on:{change:function(e){var n=t.followingCount,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.followingCount=n.concat([null])):r>-1&&(t.followingCount=n.slice(0,r).concat(n.slice(r+1)))}else t.followingCount=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-bold",class:{changed:t.followingCount!=t.profile.settings.show_profile_following_count},attrs:{for:"spcfg"}},[t._v("\n\t\t\t\tShow Following Count\n\t\t\t")]),t._v(" "),n("p",{staticClass:"text-muted small help-text"},[t._v("Display following count on profile")])])]):t._e(),t._v(" "),1===t.tabIndex?n("div",[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 form-check-label font-weight-bold",class:{changed:t.scope!=t.profile.settings.compose_settings.default_scope},attrs:{for:""}},[t._v("Default Scope")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.scope,expression:"scope"}],staticClass:"form-control",attrs:{name:"default",disabled:t.profile.locked},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.scope=e.target.multiple?n:n[0]}}},[n("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),n("option",{attrs:{value:"unlisted"}},[t._v("Unlisted")]),t._v(" "),n("option",{attrs:{value:"private"}},[t._v("Followers Only")])]),t._v(" "),t.profile.locked?n("p",{staticClass:"text-muted small help-text mb-0"},[t._v("Private account posts are follower-only")]):n("p",{staticClass:"text-muted small help-text mb-0"},[t._v("Set a default visibility scope for your new posts.")])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 form-check-label font-weight-bold",class:{changed:t.license!=t.profile.settings.compose_settings.default_license},attrs:{for:""}},[t._v("Default License")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.license,expression:"license"}],staticClass:"form-control",attrs:{name:"default"},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.license=e.target.multiple?n:n[0]}}},t._l(t.config.licenses,(function(e,i){return n("option",{domProps:{value:e.id}},[t._v("\n\t\t\t\t\t\t"+t._s(e.id>10?e.name:e.title)+"\n\t\t\t\t\t")])})),0),t._v(" "),n("p",{staticClass:"text-muted small help-text mb-0"},[t._v("Set a default license for new posts.")])])]),t._v(" "),n("hr"),t._v(" "),t.license!=t.profile.settings.compose_settings.default_license&&t.profile.license_syncs_24h<2?n("div",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.syncLicenses,expression:"syncLicenses"}],staticClass:"form-check-input",attrs:{type:"checkbox",name:"sync"},domProps:{checked:Array.isArray(t.syncLicenses)?t._i(t.syncLicenses,null)>-1:t.syncLicenses},on:{change:function(e){var n=t.syncLicenses,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.syncLicenses=n.concat([null])):r>-1&&(t.syncLicenses=n.slice(0,r).concat(n.slice(r+1)))}else t.syncLicenses=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:""}},[t._v("Sync Licenses")]),t._v(" "),t._m(0)]),t._v(" "),n("hr")]):t._e(),t._v(" "),n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.mediaDescriptions,expression:"mediaDescriptions"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.mediaDescriptions)?t._i(t.mediaDescriptions,null)>-1:t.mediaDescriptions},on:{change:function(e){var n=t.mediaDescriptions,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.mediaDescriptions=n.concat([null])):r>-1&&(t.mediaDescriptions=n.slice(0,r).concat(n.slice(r+1)))}else t.mediaDescriptions=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-bold",class:{changed:t.mediaDescriptions!=t.profile.settings.compose_settings.media_descriptions}},[t._v("Require Media Descriptions")]),t._v(" "),t._m(1)]),t._v(" "),n("hr")]):t._e(),t._v(" "),2===t.tabIndex?n("div",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.crawlable,expression:"crawlable"}],staticClass:"form-check-input",attrs:{type:"checkbox",name:"crawlable",id:"crawlable"},domProps:{checked:Array.isArray(t.crawlable)?t._i(t.crawlable,null)>-1:t.crawlable},on:{change:function(e){var n=t.crawlable,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.crawlable=n.concat([null])):r>-1&&(t.crawlable=n.slice(0,r).concat(n.slice(r+1)))}else t.crawlable=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-bold",class:{changed:t.crawlable!=t.profile.settings.crawlable},attrs:{for:"crawlable"}},[t._v("\n\t\t\t\tOpt-out of search engine indexing\n\t\t\t")]),t._v(" "),n("p",{staticClass:"text-muted small help-text"},[t._v("When your account is visible to search engines, your information can be crawled and stored by search engines.")])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.embedable,expression:"embedable"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.profile.locked},domProps:{checked:Array.isArray(t.embedable)?t._i(t.embedable,null)>-1:t.embedable},on:{change:function(e){var n=t.embedable,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.embedable=n.concat([null])):r>-1&&(t.embedable=n.slice(0,r).concat(n.slice(r+1)))}else t.embedable=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-bold",class:{changed:t.embedable!=t.profile.settings.other.disable_embeds}},[t._v("Disable embeds")]),t._v(" "),n("p",{staticClass:"text-muted small help-text"},[t._v("Disable profile & post embeds")])])]):t._e(),t._v(" "),3===t.tabIndex?n("div",[t._m(2),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.publicDm,expression:"publicDm"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"public_dm",name:"public_dm"},domProps:{checked:Array.isArray(t.publicDm)?t._i(t.publicDm,null)>-1:t.publicDm},on:{change:function(e){var n=t.publicDm,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.publicDm=n.concat([null])):r>-1&&(t.publicDm=n.slice(0,r).concat(n.slice(r+1)))}else t.publicDm=o}}}),t._v(" "),n("label",{staticClass:"form-check-label font-weight-bold",class:{changed:t.publicDm!=t.profile.settings.public_dm},attrs:{for:"public_dm"}},[t._v("\n\t\t\t\tReceive Direct Messages from anyone\n\t\t\t")]),t._v(" "),n("p",{staticClass:"text-muted small help-text"},[t._v("If selected, you will be able to receive messages and notifications from any user even if you do not follow them.")])]),t._v(" "),n("hr"),t._v(" "),t._m(3)]):t._e(),t._v(" "),4===t.tabIndex?n("div",[t._m(4),t._v(" "),n("hr"),t._v(" "),t._m(5),t._v(" "),n("hr"),t._v(" "),t._m(6),t._v(" "),n("hr"),t._v(" "),t._m(7),t._v(" "),n("hr"),t._v(" "),t._m(8),t._v(" "),n("hr"),t._v(" "),t._m(9)]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-muted small help-text"},[this._v("Update existing posts with your new default license. You can sync twice every 24 hours."),e("br"),this._v("License changes may not be reflected on remote servers.")])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-muted small help-text"},[this._v("\n\t\t\t\tBriefly describe your media to improve accessibility for vision impaired people. "),e("br"),this._v(" "),e("span",{staticClass:"font-weight-bold"},[this._v("Not available for mobile or 3rd party apps at this time.")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox"}}),this._v(" "),e("label",{staticClass:"form-check-label font-weight-bold"},[this._v("Quiet Mode")]),this._v(" "),e("p",{staticClass:"text-muted small help-text"},[this._v("Limit interactions and notifications to close friends")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox"}}),this._v(" "),e("label",{staticClass:"form-check-label font-weight-bold"},[this._v("Limit Mention Notifications")]),this._v(" "),e("p",{staticClass:"text-muted small help-text"},[this._v("Only close friends and accounts you follow will generate notifications when they mention or tag you")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox"}}),this._v(" "),e("label",{staticClass:"form-check-label font-weight-bold"},[this._v("Advanced Atom feed")]),this._v(" "),e("p",{staticClass:"text-muted small help-text"},[this._v("Enable a richer experience for atom readers")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox"}}),this._v(" "),e("label",{staticClass:"form-check-label font-weight-bold"},[this._v("Disable Content Warnings")]),this._v(" "),e("p",{staticClass:"text-muted small help-text"},[this._v("Always show content, even if it has a content warning")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox"}}),this._v(" "),e("label",{staticClass:"form-check-label font-weight-bold"},[this._v("Hide Like Counts")]),this._v(" "),e("p",{staticClass:"text-muted small help-text"},[this._v("Hide all like counts shown to me, does not affect other users from seeing like counts on your posts")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox"}}),this._v(" "),e("label",{staticClass:"form-check-label font-weight-bold"},[this._v("Hide Collections")]),this._v(" "),e("p",{staticClass:"text-muted small help-text"},[this._v("Hide collections tab from my profile")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox"}}),this._v(" "),e("label",{staticClass:"form-check-label font-weight-bold"},[this._v("Hide Groups")]),this._v(" "),e("p",{staticClass:"text-muted small help-text"},[this._v("Hide group content and notifications")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox"}}),this._v(" "),e("label",{staticClass:"form-check-label font-weight-bold"},[this._v("Hide Stories")]),this._v(" "),e("p",{staticClass:"text-muted small help-text"},[this._v("Hide story notifications and carousel from timelines")])])}],!1,null,"f2cce966",null).exports),mo={props:{config:{type:Object},profile:{type:Object}},data:function(){return{showPasswordChange:!1,currentPassword:void 0,changed:!1}},watch:{reduceMotion:function(t){this.hasChanged(),this.reduceMotion=t}},mounted:function(){this.init()},methods:{init:function(){this.reduceMotion=this.profile.settings.reduce_motion},hasChanged:function(){var t=!1;this.reduceMotion!=this.profile.settings.reduce_motion&&(t=!0),this.$emit("changed",t)},timeago:function(t){return App.util.format.timeAgo(t)}}},vo=(n("TEt6"),Object(nn.a)(mo,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-security-component"},[t._m(0),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-sm-3 col-form-label font-weight-bold"},[t._v("2 Factor Auth")]),t._v(" "),n("div",{staticClass:"col-sm-9"},[t.profile.security.two_factor.enabled?n("div",[t._m(1),t._v(" "),t._m(2)]):n("div",[t._m(3),t._v(" "),t._m(4),t._v(" "),t._m(5)])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-3 col-form-label font-weight-bold"},[this._v("Password")]),this._v(" "),e("div",{staticClass:"col-sm-9"},[e("a",{staticClass:"btn btn-light font-weight-bold",attrs:{href:"/settings/password"}},[this._v("Change my password")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticStyle:{"padding-top":"5px"}},[e("span",{staticClass:"font-weight-bold text-success"},[this._v("Enabled")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("a",{staticClass:"btn btn-light font-weight-bold border btn-sm",attrs:{href:"/settings/security/2fa/edit"}},[this._v("Edit/Remove")]),this._v(" "),e("a",{staticClass:"btn btn-light font-weight-bold border btn-sm ml-2",attrs:{href:"/settings/security/2fa/recovery-codes"}},[this._v("Recovery Codes")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticStyle:{"padding-top":"5px"}},[e("span",{staticClass:"font-weight-bold text-danger"},[this._v("Not enabled")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("a",{staticClass:"btn btn-light font-weight-bold border",attrs:{href:"/settings/security/2fa/setup"}},[this._v("Setup 2FA")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"alert alert-info"},[e("div",{staticClass:"media align-items-center"},[e("i",{staticClass:"far fa-info-circle fa-2x mr-3"}),this._v(" "),e("div",{staticClass:"media-body"},[this._v("\n\t\t\t\t\t\t\tYou should enable two factor authentication to provide an additional layer of security for your account. "),e("a",{attrs:{href:"#"}},[this._v("Learn more")])])])])}],!1,null,"fac93e58",null).exports),go={props:{config:{type:Object},profile:{type:Object}},data:function(){return{changed:!1}},mounted:function(){this.init()},methods:{init:function(){},hasChanged:function(){var t=!1;this.reduceMotion!=this.profile.settings.reduce_motion&&(t=!0),this.$emit("changed",t)},timeago:function(t){return App.util.format.timeAgo(t)}}},bo=(n("9Bud"),Object(nn.a)(go,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"account-import-component"},[e("p",{staticClass:"lead"},[this._v("This feature has not been enabled")])])}],!1,null,"b4f0f8f6",null).exports),yo={props:{config:{type:Object},profile:{type:Object}},data:function(){return{partials:[],changed:!1}},mounted:function(){this.init()},methods:{init:function(){this.setPartials()},hasChanged:function(){var t=!1;this.reduceMotion!=this.profile.settings.reduce_motion&&(t=!0),this.$emit("changed",t)},timeago:function(t){return App.util.format.timeAgo(t)},setPartials:function(){this.partials=[{name:"Account",path:"/settings/data-export/account"},{name:"Avatars",path:"/settings/data-export/media-v1"},{name:"Bookmarks",path:"/settings/data-export/media-v1"},{name:"Collections",path:"/settings/data-export/media-v1"},{name:"Direct Messages",path:"/settings/data-export/media-v1"},{name:"Followers",path:"/settings/data-export/followers"},{name:"Following",path:"/settings/data-export/following"},{name:"Hashtags",path:"/settings/data-export/media-v1"},{name:"Media",path:"/settings/data-export/media-v1"},{name:"Mute/Block List",path:"/settings/data-export/mute-block-list"},{name:"Statuses",path:"/settings/data-export/statuses"},{name:"Stories",path:"/settings/data-export/media-v1"}]},download:function(t){event.currentTarget.blur();this.partials[t].path;axios.post("/i/settings/export/get-key",{type:this.partials[t].name}).then((function(t){window.location.href=t.data.url}))}}},wo=(n("9TCv"),Object(nn.a)(yo,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-export-component"},[t._m(0),t._v(" "),n("div",{staticClass:"list-group"},[n("div",{staticClass:"list-group-inner border rounded",staticStyle:{"max-height":"300px","overflow-y":"auto"}},t._l(t.partials,(function(e,i){return n("div",{staticClass:"list-group-item border border-left-0 border-right-0 border-bottom-0 d-flex align-items-center justify-content-between",class:{"border-top-0":0==i}},[n("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t")]),t._v(" "),n("button",{staticClass:"btn btn-light btn-sm font-weight-bold",on:{click:function(e){return t.download(i)}}},[t._v("Download")])])})),0)])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"alert alert-info"},[e("div",{staticClass:"media align-items-center"},[e("i",{staticClass:"far fa-info-circle fa-lg mr-3"}),this._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0"},[this._v("We generate data exports once per hour, and may not contain the latest information")])])])])}],!1,null,"09975844",null).exports),_o=n("/jad"),xo={props:{config:{type:Object},profile:{type:Object}},components:{StatusCard:_o.a},data:function(){return{archives:[],archivesLoaded:!1,tabs:["All","Recently Unarchived"],tabIndex:0,recentUnarchived:[],page:1,changed:!1}},mounted:function(){this.init()},methods:{init:function(){this.fetchArchives()},toggleTab:function(t){this.tabIndex=t},timeago:function(t){return App.util.format.timeAgo(t)},fetchArchives:function(){var t=this;axios.get("/api/pixelfed/v2/statuses/archives",{params:{page:this.page}}).then((function(e){var n=e.data.map((function(t){return t.open=!1,t}));t.archives=n,t.page++,t.archivesLoaded=!0}))},goToLink:function(t){location.href=t},mediaUrl:function(t){return t.media_attachments[0].hasOwnProperty("preview_url")&&t.media_attachments[0].preview_url?t.media_attachments[0].preview_url:t.media_attachments[0].url},unarchive:function(t){var e=this;if(event.currentTarget.blur(),window.confirm("Are you sure you want to unarchive this post?")){var n=this.archives[t].id;axios.post("/api/pixelfed/v2/status/"+n+"/unarchive").then((function(n){var i=e.archives[t];e.archives.splice(t,1),e.recentUnarchived.push(i)}))}},archive:function(t){var e=this;event.currentTarget.blur();var n=this.recentUnarchived[t].id;axios.post("/api/pixelfed/v2/status/"+n+"/archive").then((function(n){var i=e.recentUnarchived[t];e.recentUnarchived.splice(t,1),e.archives.unshift(i),e.tabIndex=0}))}}},Co=(n("VEhT"),Object(nn.a)(xo,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-archive-component"},[n("div",[n("ul",{staticClass:"nav nav-tabs"},t._l(t.tabs,(function(e,i){return n("li",{staticClass:"nav-item"},[n("a",{staticClass:"nav-link",class:{active:i==t.tabIndex,"font-weight-bold":i==t.tabIndex},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(i)}}},[t._v("\n\t\t\t\t\t"+t._s(e)+" "),1==i&&t.recentUnarchived&&t.recentUnarchived.length?n("span",{staticClass:"badge badge-danger rounded-pill ml-2"},[t._v(t._s(t.recentUnarchived.length)+" ")]):t._e()])])})),0)]),t._v(" "),0==t.tabIndex?n("div",{staticClass:"list-group",staticStyle:{"margin-top":"-1px"}},[t.archivesLoaded?n("div",[t._l(t.archives,(function(e,i){return n("div",{staticClass:"list-group-item"},[n("div",{staticClass:"media align-items-center"},[n("div",[e.media_attachments&&e.media_attachments.length?n("img",{staticClass:"mr-3 rounded",staticStyle:{"object-fit":"cover"},attrs:{src:t.mediaUrl(e),width:"50",height:"50"}}):n("div",{staticClass:"media-image-placeholder"},[n("i",{staticClass:"far fa-folder text-lighter"})])]),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t\tArchived post\n\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"small text-muted mb-0"},[t._v("\n\t\t\t\t\t\t\tCreated: "+t._s(t.timeago(e.created_at))+" ago\n\t\t\t\t\t\t")]),t._v(" "),e.open&&e.content_text?n("p",{staticClass:"small mt-2 mr-2"},[n("strong",[t._v("Caption:")]),t._v(" "+t._s(e.content_text))]):t._e()]),t._v(" "),n("div",[n("button",{staticClass:"btn btn-light font-weight-bold mr-2",staticStyle:{opacity:"0.8"},on:{click:function(e){return t.unarchive(i)}}},[t._v("\n\t\t\t\t\t\t\tUnarchive\n\t\t\t\t\t\t")]),t._v(" "),n("button",{staticClass:"btn btn-light font-weight-bold",attrs:{disabled:!e.content_text},on:{click:function(t){e.open=!e.open}}},[n("i",{staticClass:"far",class:[e.open?"fa-eye-slash":"fa-eye"]})])])])])})),t._v(" "),t.archives.length?t._e():n("div",{staticClass:"list-group-item"},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No archived posts found")])])],2):n("div",{staticClass:"d-flex justify-content-center align-items-center border",staticStyle:{height:"200px"}},[n("b-spinner")],1)]):t._e(),t._v(" "),1==t.tabIndex?n("div",{staticClass:"list-group",staticStyle:{"margin-top":"-1px"}},[t.archivesLoaded?n("div",[t._l(t.recentUnarchived,(function(e,i){return n("div",{staticClass:"list-group-item"},[n("div",{staticClass:"media align-items-center"},[n("div",[e.media_attachments&&e.media_attachments.length?n("img",{staticClass:"mr-3 rounded",staticStyle:{"object-fit":"cover"},attrs:{src:t.mediaUrl(e),width:"50",height:"50"}}):n("div",{staticClass:"media-image-placeholder"},[n("i",{staticClass:"far fa-folder text-lighter"})])]),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t\tRecently unarchived\n\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"small text-muted mb-0"},[t._v("\n\t\t\t\t\t\t\tCreated: "+t._s(t.timeago(e.created_at))+" ago\n\t\t\t\t\t\t")]),t._v(" "),e.open&&e.content_text?n("p",{staticClass:"small mt-2 mr-2"},[n("strong",[t._v("Caption:")]),t._v(" "+t._s(e.content_text))]):t._e()]),t._v(" "),n("div",[n("button",{staticClass:"btn btn-light font-weight-bold mr-2",staticStyle:{opacity:"0.8"},on:{click:function(e){return t.archive(i)}}},[t._v("\n\t\t\t\t\t\t\tArchive\n\t\t\t\t\t\t")]),t._v(" "),n("button",{staticClass:"btn btn-light font-weight-bold",on:{click:function(n){return t.goToLink(e.url)}}},[n("i",{staticClass:"far fa-arrow-right"})])])])])})),t._v(" "),t.recentUnarchived.length?t._e():n("div",{staticClass:"list-group-item"},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No recently unarchived posts found")])])],2):n("div",{staticClass:"d-flex justify-content-center align-items-center border",staticStyle:{height:"200px"}},[n("b-spinner")],1)]):t._e()])}),[],!1,null,"3527e0f6",null).exports),ko={props:{config:{type:Object},profile:{type:Object}},data:function(){return{tabIndex:0,tabs:["Blocked","Muted"],blocked:[],blockedPage:1,blockedCanLoadMore:!1,blockedLoaded:!1,muted:[],mutedPage:1,mutedCanLoadMore:!1,mutedLoaded:!1,changed:!1}},mounted:function(){this.init()},methods:{init:function(){this.fetchBlocks(),this.fetchMuted()},timeago:function(t){return App.util.format.timeAgo(t)},toggleTab:function(t){switch(t){case 0:this.blockedLoaded||this.fetchBlocks();break;case 1:this.mutedLoaded||this.fetchMuted()}this.tabIndex=t},fetchBlocks:function(){var t=this;axios.get("/api/v1/blocks",{params:{page:this.blockedPage,limit:10}}).then((function(e){t.blockedLoaded=!0,t.blocked=e.data,t.blockedPage++,t.blockedCanLoadMore=10===e.data.length}))},fetchMuted:function(){var t=this;axios.get("/api/v1/mutes",{params:{page:this.mutedPage,limit:10}}).then((function(e){t.mutedLoaded=!0,t.muted=e.data,t.mutedPage++,t.mutedCanLoadMore=10===e.data.length}))},unblock:function(t){event.currentTarget.blur(),window.confirm("Are you sure you want to unmute "+t.acct+"?")&&(this.blocked=this.blocked.filter((function(e){return e.id!==t.id})))},unmute:function(t){event.currentTarget.blur(),window.confirm("Are you sure you want to unmute "+t.acct+"?")&&(this.muted=this.muted.filter((function(e){return e.id!==t.id})))}}},Oo=(n("dteg"),Object(nn.a)(ko,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-blocked-component"},[n("div",[n("ul",{staticClass:"nav nav-tabs"},t._l(t.tabs,(function(e,i){return n("li",{staticClass:"nav-item"},[n("a",{staticClass:"nav-link",class:{active:i==t.tabIndex,"font-weight-bold":i==t.tabIndex},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(i)}}},[t._v("\n\t\t\t\t\t"+t._s(e)+"\n\t\t\t\t")])])})),0)]),t._v(" "),0===t.tabIndex?n("div",[t.blockedLoaded?n("div",{staticClass:"list-group rounded-0",staticStyle:{"margin-top":"-1px"}},[t._l(t.blocked,(function(e,i){return n("div",{staticClass:"list-group-item"},[n("div",{staticClass:"media align-items-center"},[n("img",{staticClass:"rounded-circle mr-2",attrs:{src:e.avatar,width:"40",height:"40"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(e.display_name))]),t._v(" "),n("p",{staticClass:"text-muted mb-0 small"},[t._v("@"+t._s(e.acct))])]),t._v(" "),n("div",[n("button",{staticClass:"btn btn-light mr-1",on:{click:function(n){return t.unblock(e)}}},[n("i",{staticClass:"far fa-trash text-danger"})]),t._v(" "),n("button",{staticClass:"btn btn-light",on:{click:function(n){return t.goToLink(e.url)}}},[n("i",{staticClass:"far fa-chevron-right"})])])])])})),t._v(" "),t.blocked&&t.blocked.length?t._e():n("div",{staticClass:"list-group-item"},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No blocked accounts found")])])],2):n("div",{staticClass:"d-flex justify-content-center align-items-center border",staticStyle:{height:"200px"}},[n("b-spinner")],1)]):t._e(),t._v(" "),1===t.tabIndex?n("div",[t.mutedLoaded?n("div",{staticClass:"list-group rounded-0",staticStyle:{"margin-top":"-1px"}},[t._l(t.muted,(function(e,i){return n("div",{staticClass:"list-group-item"},[n("div",{staticClass:"media align-items-center"},[n("img",{staticClass:"rounded-circle mr-2",attrs:{src:e.avatar,width:"40",height:"40"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(e.display_name))]),t._v(" "),n("p",{staticClass:"text-muted mb-0 small"},[t._v("@"+t._s(e.acct))])]),t._v(" "),n("div",[n("button",{staticClass:"btn btn-light mr-1",on:{click:function(n){return t.unmute(e)}}},[n("i",{staticClass:"far fa-trash text-danger"})]),t._v(" "),n("button",{staticClass:"btn btn-light",on:{click:function(n){return t.goToLink(e.url)}}},[n("i",{staticClass:"far fa-chevron-right"})])])])])})),t._v(" "),t.muted&&t.muted.length?t._e():n("div",{staticClass:"list-group-item"},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No muted accounts found")])])],2):n("div",{staticClass:"d-flex justify-content-center align-items-center border",staticStyle:{height:"200px"}},[n("b-spinner")],1)]):t._e()])}),[],!1,null,"6117ef26",null).exports);function So(t){return function(t){if(Array.isArray(t))return Po(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Po(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Po(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Po(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var To={props:{config:{type:Object},profile:{type:Object}},data:function(){return{bookmarks:[],bookmarksLoaded:!1,page:1,canLoadMore:!1}},mounted:function(){this.init()},methods:{init:function(){this.fetchBookmarks()},timeago:function(t){return App.util.format.timeAgo(t)},fetchBookmarks:function(){var t=this;axios.get("/api/local/bookmarks",{params:{page:this.page}}).then((function(e){var n;t.bookmarks||t.bookmarks.length?(n=t.bookmarks).push.apply(n,So(e.data)):t.bookmarks=e.data;t.page++,t.canLoadMore=10===e.data.length,t.bookmarksLoaded=!0}))},mediaUrl:function(t){if(!t.media_attachments)return"/storage/no-preview.png";var e=t.media_attachments[0];return e.hasOwnProperty("preview_url")&&e.preview_url?e.preview_url:e.url},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},goToLink:function(t){location.href=t}}},jo=(n("96jg"),Object(nn.a)(To,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-bookmarks-component"},[n("div",{staticClass:"list-group"},[t.bookmarksLoaded?n("div",[t._l(t.bookmarks,(function(e,i){return n("div",{staticClass:"list-group-item",attrs:{type:"button"}},[n("div",{staticClass:"media align-items-center"},["photo"===e.pf_type?n("img",{staticClass:"rounded border mr-3",attrs:{src:t.mediaUrl(e),width:"50",height:"50"}}):n("div",{staticClass:"media-image-placeholder"},[n("i",{staticClass:"far fa-bookmark"})]),t._v(" "),n("div",{staticClass:"media-body mr-2"},[n("p",{staticClass:"small font-weight-bold mb-0 text-break"},[n("a",{attrs:{href:e.account.url}},[t._v("@"+t._s(e.account.acct))])]),t._v(" "),n("p",{staticClass:"small text-muted mb-0"},[t._v("Saved "),n("strong",[t._v(t._s(t.timeago(e.bookmarked_at))+" ago")])])]),t._v(" "),n("button",{staticClass:"btn btn-light font-weight-bold",on:{click:function(n){t.goToLink(t.statusUrl(e))}}},[n("i",{staticClass:"far fa-chevron-right"})])])])})),t._v(" "),t.bookmarks.length?t._e():n("div",{staticClass:"list-group-item"},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No bookmarked posts found")])])],2):n("div",{staticClass:"d-flex justify-content-center align-items-center border",staticStyle:{height:"200px"}},[n("b-spinner")],1)]),t._v(" "),t.canLoadMore?n("button",{staticClass:"btn btn-light font-weight-bold btn-block mt-3",on:{click:function(e){return t.fetchBookmarks()}}},[t._v("\n\t\tLoad more\n\t")]):t._e()])}),[],!1,null,"25a4c79a",null).exports);function Mo(t){return function(t){if(Array.isArray(t))return Eo(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Eo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Eo(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Eo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var Ao={props:{config:{type:Object},profile:{type:Object}},data:function(){return{collections:[],collectionsLoaded:!1,page:1,canLoadMore:!1,changed:!1}},mounted:function(){this.init()},methods:{init:function(){this.fetchCollections()},hasChanged:function(){this.$emit("changed",!1)},timeago:function(t){return App.util.format.timeAgo(t)},fetchCollections:function(){var t=this;axios.get("/api/local/profile/collections/"+this.profile.id,{params:{page:this.page}}).then((function(e){var n;t.collections||t.collections.length?(n=t.collections).push.apply(n,Mo(e.data)):t.collections=e.data;t.page++,t.collectionsLoaded=!0,t.canLoadMore=9==e.data.length}))},goToLink:function(t){location.href=t}}},Do=(n("HSnI"),Object(nn.a)(Ao,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-collections-component"},[n("div",{staticClass:"list-group"},[t.collectionsLoaded?n("div",[t._l(t.collections,(function(e,i){return n("div",{staticClass:"list-group-item",attrs:{type:"button"}},[n("div",{staticClass:"media align-items-center"},[n("img",{staticClass:"rounded-lg border mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:e.thumb,width:"65",height:"65",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),n("div",{staticClass:"media-body text-left"},[n("p",{staticClass:"lead mb-0"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"small text-muted mb-1"},[t._v(t._s(e.description||"No description available"))]),t._v(" "),n("p",{staticClass:"small text-lighter mb-0 font-weight-bold"},[n("span",[t._v(t._s(e.post_count)+" posts")]),t._v(" "),n("span",[t._v("·")]),t._v(" "),n("span",[t._v("Created "+t._s(t.timeago(e.published_at))+" ago")])])]),t._v(" "),n("button",{staticClass:"btn btn-light",on:{click:function(n){return t.goToLink(e.url)}}},[n("i",{staticClass:"far fa-chevron-right"})])])])})),t._v(" "),t.collections.length?t._e():n("div",{staticClass:"list-group-item"},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No collections found")])])],2):n("div",{staticClass:"d-flex justify-content-center align-items-center border",staticStyle:{height:"200px"}},[n("b-spinner")],1)]),t._v(" "),t.canLoadMore?n("button",{staticClass:"btn btn-light font-weight-bold btn-block mt-3",on:{click:function(e){return t.fetchCollections()}}},[t._v("Load more")]):t._e()])}),[],!1,null,"7c090755",null).exports);function $o(t){return function(t){if(Array.isArray(t))return Io(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Io(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Io(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Io(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var Lo={props:{config:{type:Object},profile:{type:Object}},data:function(){return{tabs:["Followers","Following","Hashtags"],tabIndex:0,followersLoaded:!1,followingLoaded:!1,hashtagsLoaded:!1,followers:[],followersPage:1,followersCanLoadMore:!1,following:[],followingPage:1,followingCanLoadMore:!1,hashtags:[],hashtagsPage:1,changed:!1}},watch:{reduceMotion:function(t){this.hasChanged(),this.reduceMotion=t}},mounted:function(){this.init()},methods:{init:function(){this.fetchFollowers()},hasChanged:function(){var t=!1;this.reduceMotion!=this.profile.settings.reduce_motion&&(t=!0),this.$emit("changed",t)},timeago:function(t){return App.util.format.timeAgo(t)},toggleTab:function(t){switch(t){case 1:this.followingLoaded||this.fetchFollowing();break;case 2:this.hashtagsLoaded||this.fetchHashtags()}this.tabIndex=t},goToLink:function(t){event.currentTarget.blur(),location.href=t},fetchFollowers:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/followers",{params:{page:this.followersPage}}).then((function(e){var n;t.followers||t.followers.length?(n=t.followers).push.apply(n,$o(e.data)):t.followers=e.data;t.followersPage++,t.followersCanLoadMore=10==e.data.length,t.followersLoaded=!0}))},fetchFollowing:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/following",{params:{page:this.followingPage}}).then((function(e){var n;t.following||t.following.length?(n=t.following).push.apply(n,$o(e.data)):t.following=e.data;t.followingPage++,t.followingCanLoadMore=10==e.data.length,t.followingLoaded=!0}))},fetchHashtags:function(){var t=this;axios.get("/api/local/discover/tag/list").then((function(e){t.hashtags=e.data,t.hashtagsPage++,t.hashtagsCanLoadMore=10==e.data.length,t.hashtagsLoaded=!0}))},hashtagUnsubscribe:function(t){var e=this;event.currentTarget.blur(),axios.post("/api/local/discover/tag/subscribe",{name:this.hashtags[t]}).then((function(n){e.hashtags.splice(t,1)}))}}},Bo=(n("k3j7"),Object(nn.a)(Lo,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-follows-component"},[n("div",[n("ul",{staticClass:"nav nav-tabs"},t._l(t.tabs,(function(e,i){return n("li",{staticClass:"nav-item"},[n("a",{staticClass:"nav-link",class:{active:i==t.tabIndex,"font-weight-bold":i==t.tabIndex},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(i)}}},[t._v("\n\t\t\t\t\t"+t._s(e)+"\n\t\t\t\t")])])})),0)]),t._v(" "),0===t.tabIndex?n("div",[n("div",{staticClass:"list-group rounded-0",staticStyle:{"margin-top":"-1px"}},[t.followersLoaded?n("div",[t._l(t.followers,(function(e,i){return n("div",{staticClass:"list-group-item"},[n("div",{staticClass:"media align-items-center"},[n("img",{staticClass:"rounded-circle mr-2",attrs:{src:e.avatar,width:"40",height:"40"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(e.display_name))]),t._v(" "),n("p",{staticClass:"text-muted mb-0 small"},[t._v("@"+t._s(e.acct))])]),t._v(" "),n("div",[n("button",{staticClass:"btn btn-light",on:{click:function(n){return t.goToLink(e.url)}}},[n("i",{staticClass:"far fa-chevron-right"})])])])])})),t._v(" "),t.followersCanLoadMore?n("button",{staticClass:"btn btn-light btn-block font-weight-bold mt-2",on:{click:t.fetchFollowers}},[t._v("\n\t\t\t\t\tLoad more\n\t\t\t\t")]):t._e(),t._v(" "),t.followers.length?t._e():n("div",{staticClass:"list-group-item"},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("You don't have any followers yet")])])],2):n("div",{staticClass:"d-flex justify-content-center align-items-center border",staticStyle:{height:"200px"}},[n("b-spinner")],1)])]):t._e(),t._v(" "),1===t.tabIndex?n("div",[t.followingLoaded?n("div",[n("div",{staticClass:"list-group rounded-0",staticStyle:{"margin-top":"-1px"}},t._l(t.following,(function(e,i){return n("div",{staticClass:"list-group-item"},[n("div",{staticClass:"media align-items-center"},[n("img",{staticClass:"rounded-circle mr-2",attrs:{src:e.avatar,width:"40",height:"40"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(e.display_name))]),t._v(" "),n("p",{staticClass:"text-muted mb-0 small"},[t._v("@"+t._s(e.acct))])]),t._v(" "),n("div",[n("button",{staticClass:"btn btn-light",on:{click:function(n){return t.goToLink(e.url)}}},[n("i",{staticClass:"far fa-chevron-right"})])])])])})),0),t._v(" "),t.followingCanLoadMore?n("button",{staticClass:"btn btn-light btn-block font-weight-bold mt-2",on:{click:t.fetchFollowing}},[t._v("\n\t\t\t\tLoad more\n\t\t\t")]):t._e(),t._v(" "),t.following.length?t._e():n("div",{staticClass:"list-group-item"},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("You are not following any accounts yet")])])]):n("div",{staticClass:"d-flex justify-content-center align-items-center border",staticStyle:{height:"200px"}},[n("b-spinner")],1)]):t._e(),t._v(" "),2===t.tabIndex?n("div",[t.hashtagsLoaded?n("div",[n("div",{staticClass:"list-group rounded-0",staticStyle:{"margin-top":"-1px"}},t._l(t.hashtags,(function(e,i){return n("div",{staticClass:"list-group-item"},[n("div",{staticClass:"media align-items-center"},[t._m(0,!0),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(e))])]),t._v(" "),n("div",[n("button",{staticClass:"btn btn-light mr-2",on:{click:function(e){return t.hashtagUnsubscribe(i)}}},[n("i",{staticClass:"far fa-trash text-lighter"})]),t._v(" "),n("button",{staticClass:"btn btn-light",on:{click:function(n){return t.goToLink("/discover/tags/"+e)}}},[n("i",{staticClass:"far fa-chevron-right"})])])])])})),0),t._v(" "),t.hashtagsCanLoadMore?n("button",{staticClass:"btn btn-light btn-block font-weight-bold mt-2",on:{click:t.fetchHashtags}},[t._v("\n\t\t\t\tLoad more\n\t\t\t")]):t._e(),t._v(" "),t.hashtags.length?t._e():n("div",{staticClass:"list-group-item"},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("You are not following any hashtags yet")])])]):n("div",{staticClass:"d-flex justify-content-center align-items-center border",staticStyle:{height:"200px"}},[n("b-spinner")],1)]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"d-flex justify-content-center align-items-center mr-2 bg-light rounded-circle",staticStyle:{width:"40px",height:"40px"}},[e("i",{staticClass:"fas fa-hashtag text-lighter"})])}],!1,null,"5460c3a2",null).exports),Fo={props:{group:{type:Object},compact:{type:Boolean,default:!1},showStats:{type:Boolean,default:!1},truncateTitleLength:{type:Number,default:19},truncateDescriptionLength:{type:Number,default:22}},data:function(){return{titleLength:40,descriptionLength:60}},mounted:function(){this.compact&&(this.titleLength=19,this.descriptionLength=22),19!=this.truncateTitleLength&&(this.titleLength=this.truncateTitleLength),22!=this.truncateDescriptionLength&&(this.descriptionLength=this.truncateDescriptionLength)},methods:{prettyCount:function(t){return App.util.format.count(t)},truncate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:140;return t.length<=e?t:t.substr(0,e)+" ..."}}},Ro=(n("I+B4"),Object(nn.a)(Fo,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"group-list-card"},[n("div",{staticClass:"media"},[n("div",{staticClass:"media align-items-center"},[t.group.metadata&&t.group.metadata.hasOwnProperty("header")?n("img",{staticClass:"mr-3 border rounded group-header-img",class:{compact:t.compact},attrs:{src:t.group.metadata.header.url}}):n("div",{staticClass:"mr-3 border rounded group-header-img",class:{compact:t.compact}},[t._m(0)]),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"font-weight-bold mb-0 text-dark",staticStyle:{"font-size":"16px"}},[t._v("\n\t\t\t\t\t"+t._s(t.truncate(t.group.name||"Untitled Group",t.titleLength))+"\n\t\t\t\t")]),t._v(" "),n("p",{staticClass:"text-muted mb-1",staticStyle:{"font-size":"12px"}},[t._v("\n\t\t\t\t\t"+t._s(t.truncate(t.group.short_description,t.descriptionLength))+"\n\t\t\t\t")]),t._v(" "),t.showStats?n("p",{staticClass:"mb-0 small text-lighter"},[n("span",[n("i",{staticClass:"far fa-users"}),t._v(" "),n("span",{staticClass:"small font-weight-bold"},[t._v(t._s(t.prettyCount(t.group.member_count)))])]),t._v(" "),t.group.local?t._e():n("span",{staticClass:"remote-label ml-3"},[n("i",{staticClass:"fal fa-globe"}),t._v(" Remote\n\t\t\t\t\t")]),t._v(" "),t.group.hasOwnProperty("admin")&&t.group.admin.hasOwnProperty("username")?n("span",{staticClass:"ml-3"},[n("i",{staticClass:"fal fa-user-crown"}),t._v(" "),n("span",{staticClass:"small font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.group.admin.username)+"\n\t\t\t\t\t\t")])]):t._e()]):t._e()])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bg-primary d-flex align-items-center justify-content-center rounded",staticStyle:{width:"100%",height:"100%"}},[e("i",{staticClass:"fal fa-users text-white fa-lg"})])}],!1,null,"06c2e2d8",null).exports);function No(t){return function(t){if(Array.isArray(t))return Uo(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Uo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Uo(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Uo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var zo={props:{config:{type:Object},profile:{type:Object}},components:{"group-list-card":Ro},data:function(){return{isLoaded:!1,groups:[],canLoadMore:!1,loadingMore:!1,page:1,changed:!1,tabs:["All","Created","Joined"],tabIndex:0,myGroups:[],myGroupsLoaded:!1,myGroupsPage:1,myGroupsCanLoadMore:!1,myGroupsJoined:[],myGroupsJoinedLoaded:!1,myGroupsJoinedPage:1,myGroupsJoinedCanLoadMore:!1}},mounted:function(){this.init()},methods:{init:function(){this.fetchGroups()},hasChanged:function(){var t=!1;this.reduceMotion!=this.profile.settings.reduce_motion&&(t=!0),this.$emit("changed",t)},timeago:function(t){return App.util.format.timeAgo(t)},toggleTab:function(t){switch(t){case 1:this.myGroupsLoaded||this.fetchMyGroups();break;case 2:this.myGroupsJoinedLoaded||this.fetchMyJoinedGroups()}this.tabIndex=t},fetchGroups:function(){var t=this;axios.get("/api/v0/groups/self/list").then((function(e){var n=e.data.filter((function(t){return t.hasOwnProperty("id")&&t.hasOwnProperty("url")}));t.groups=n,t.canLoadMore=4==e.data.length,t.page++,t.isLoaded=!0}))},loadMore:function(){var t=this;this.loadingMore=!0,axios.get("/api/v0/groups/self/list",{params:{page:this.page}}).then((function(e){var n,i=e.data.filter((function(t){return t.hasOwnProperty("id")&&t.hasOwnProperty("url")}));(n=t.groups).push.apply(n,No(i)),t.canLoadMore=4==e.data.length,t.page++,t.loadingMore=!1}))},fetchMyGroups:function(){var t=this;axios.get("/api/v0/groups/self/list",{params:{self:!0,page:this.myGroupsPage}}).then((function(e){var n,i=e.data.filter((function(t){return t.hasOwnProperty("id")&&t.hasOwnProperty("url")}));t.myGroups||t.myGroupsLength?(n=t.myGroups).push.apply(n,No(i)):t.myGroups=i;t.myGroupsCanLoadMore=4==e.data.length,t.myGroupsPage++,t.myGroupsLoaded=!0}))},fetchMyJoinedGroups:function(){var t=this;axios.get("/api/v0/groups/self/list",{params:{member:!0,page:this.myGroupsPage}}).then((function(e){var n,i=e.data.filter((function(t){return t.hasOwnProperty("id")&&t.hasOwnProperty("url")}));t.myGroupsJoined||t.myGroupsJoinedLength?(n=t.myGroupsJoined).push.apply(n,No(i)):t.myGroupsJoined=i;t.myGroupsJoinedCanLoadMore=4==e.data.length,t.myGroupsJoinedPage++,t.myGroupsJoinedLoaded=!0}))}}},Ho=(n("0SFe"),Object(nn.a)(zo,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-groups-component"},[t.isLoaded?n("div",[n("div",[n("ul",{staticClass:"nav nav-tabs"},t._l(t.tabs,(function(e,i){return n("li",{staticClass:"nav-item"},[n("a",{staticClass:"nav-link",class:{active:i==t.tabIndex,"font-weight-bold":i==t.tabIndex},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(i)}}},[t._v("\n\t\t\t\t\t\t"+t._s(e)+"\n\t\t\t\t\t")])])})),0)]),t._v(" "),0===t.tabIndex?n("div",[n("div",{staticClass:"list-group rounded-0",staticStyle:{"margin-top":"-1px"}},[t.isLoaded?n("div",[t._l(t.groups,(function(t,e){return n("a",{key:"rec:"+t.id+":"+e,staticClass:"list-group-item text-decoration-none",attrs:{href:t.url}},[n("group-list-card",{attrs:{group:t,truncateDescriptionLength:140,showStats:!0}})],1)})),t._v(" "),t.groups.length?t._e():n("div",{staticClass:"list-group-item"},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("You have not created or joined any groups")])])],2):n("div",{staticClass:"d-flex justify-content-center align-items-center border",staticStyle:{height:"200px"}},[n("b-spinner")],1)]),t._v(" "),t.canLoadMore?n("p",[n("button",{staticClass:"btn btn-light btn-block font-weight-bold mt-3",attrs:{disabled:t.loadingMore},on:{click:function(e){return e.preventDefault(),t.loadMore.apply(null,arguments)}}},[t._v("\n\t\t\t\t\tLoad more\n\t\t\t\t")])]):t._e()]):t._e(),t._v(" "),1===t.tabIndex?n("div",[n("div",{staticClass:"list-group rounded-0",staticStyle:{"margin-top":"-1px"}},[t.myGroupsLoaded?n("div",[t._l(t.myGroups,(function(t,e){return n("a",{key:"rec:"+t.id+":"+e,staticClass:"list-group-item text-decoration-none",attrs:{href:t.url}},[n("group-list-card",{attrs:{group:t,truncateDescriptionLength:140,showStats:!0}})],1)})),t._v(" "),t.myGroups.length?t._e():n("div",{staticClass:"list-group-item"},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("You have not created any groups")])])],2):n("div",{staticClass:"d-flex justify-content-center align-items-center border",staticStyle:{height:"200px"}},[n("b-spinner")],1)]),t._v(" "),t.myGroupsCanLoadMore?n("p",[n("button",{staticClass:"btn btn-light btn-block font-weight-bold mt-3",attrs:{disabled:t.myGroupsLoadingMore},on:{click:function(e){return e.preventDefault(),t.fetchMyGroups.apply(null,arguments)}}},[t._v("\n\t\t\t\t\tLoad more\n\t\t\t\t")])]):t._e()]):t._e(),t._v(" "),2===t.tabIndex?n("div",[n("div",{staticClass:"list-group rounded-0",staticStyle:{"margin-top":"-1px"}},[t.myGroupsJoinedLoaded?n("div",[t._l(t.myGroupsJoined,(function(t,e){return n("a",{key:"rec:"+t.id+":"+e,staticClass:"list-group-item text-decoration-none",attrs:{href:t.url}},[n("group-list-card",{attrs:{group:t,truncateDescriptionLength:140,showStats:!0}})],1)})),t._v(" "),t.myGroupsJoined.length?t._e():n("div",{staticClass:"list-group-item"},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("You have not joined any groups")])])],2):n("div",{staticClass:"d-flex justify-content-center align-items-center border",staticStyle:{height:"200px"}},[n("b-spinner")],1)]),t._v(" "),t.myGroupsCanLoadMore?n("p",[n("button",{staticClass:"btn btn-light btn-block font-weight-bold mt-3",attrs:{disabled:t.myGroupsJoinedLoadingMore},on:{click:function(e){return e.preventDefault(),t.fetchMyGroupsJoined.apply(null,arguments)}}},[t._v("\n\t\t\t\t\tLoad more\n\t\t\t\t")])]):t._e()]):t._e()]):n("div",{staticClass:"d-flex justify-content-center"},[n("b-spinner")],1)])}),[],!1,null,"1f784a2c",null).exports);function Vo(t){return function(t){if(Array.isArray(t))return Wo(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Wo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wo(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var Go={props:{config:{type:Object},profile:{type:Object}},data:function(){return{maxId:void 0,likes:[],likesLoaded:!1,canLoadMore:!1,changed:!1}},mounted:function(){this.init()},methods:{init:function(){this.fetchLikes()},timeago:function(t){return App.util.format.timeAgo(t)},fetchLikes:function(){var t=this;axios.get("/api/v1/favourites",{params:{max_id:this.maxId,limit:10}}).then((function(e){var n;(e.data.length&&e.data[0].hasOwnProperty("id")&&e.data[0].hasOwnProperty("like_id")||(t.canLoadMore=!1,t.likesLoaded=!0),t.maxId=e.data[e.data.length-1].like_id,t.likes||t.likes.length)?(n=t.likes).push.apply(n,Vo(e.data)):t.likes=e.data;t.canLoadMore=e.data.length>1,t.likesLoaded=!0}))},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},goToLink:function(t){location.href=t},mediaUrl:function(t){return t.media_attachments[0].hasOwnProperty("preview_url")&&t.media_attachments[0].preview_url?t.media_attachments[0].preview_url:t.media_attachments[0].url}}},qo=(n("xg7T"),Object(nn.a)(Go,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-likes-component"},[n("div",{staticClass:"list-group"},[t.likesLoaded?n("div",[t._l(t.likes,(function(e,i){return n("div",{staticClass:"list-group-item"},[n("div",{staticClass:"media align-items-center"},[n("div",[e.media_attachments&&e.media_attachments.length?n("div",{staticClass:"square mr-3",staticStyle:{width:"60px"}},[n("div",{staticClass:"square-content",staticStyle:{"border-radius":"15px !important"}},[n("blur-hash-image",{attrs:{width:"50",height:"50",punch:1,hash:e.media_attachments[0].blurhash,src:t.mediaUrl(e)}})],1)]):n("div",{staticClass:"media-image-placeholder"},[n("i",{staticClass:"far fa-thumbs-up text-lighter"})])]),t._v(" "),n("div",{staticClass:"media-body mr-3"},[n("p",{staticClass:"mb-0 font-weight-bold text-break"},[t._v("\n\t\t\t\t\t\t\tLiked a post by "),n("a",{attrs:{href:e.account.url}},[t._v("@"+t._s(e.account.acct))])]),t._v(" "),e.hasOwnProperty("liked_at")?n("p",{staticClass:"small text-muted mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(e.liked_at))+" ago\n\t\t\t\t\t\t")]):t._e()]),t._v(" "),n("a",{staticClass:"btn btn-light",attrs:{href:t.statusUrl(e)},on:{click:function(n){n.preventDefault(),t.goToLink(t.statusUrl(e))}}},[n("i",{staticClass:"far fa-chevron-right"})])])])})),t._v(" "),t.likes.length?t._e():n("div",{staticClass:"list-group-item"},[n("p",{staticClass:"mb-0 font-weight-bold"},[t._v("You have not liked any posts yet")])])],2):n("div",{staticClass:"d-flex justify-content-center align-items-center border",staticStyle:{height:"200px"}},[n("b-spinner")],1)]),t._v(" "),t.canLoadMore?n("div",{staticClass:"mt-3"},[n("button",{staticClass:"btn btn-light btn-block font-weight-bold",on:{click:function(e){return t.fetchLikes()}}},[t._v("Load more")])]):t._e()])}),[],!1,null,null,null).exports),Yo={props:{bootTab:{type:String}},components:{"profile-tab":eo,"account-tab":io,"accessibility-tab":ro,"appearance-tab":so,"devices-tab":co,"notifications-tab":po,"preferences-tab":fo,"security-tab":vo,"import-tab":bo,"export-tab":wo,"archive-tab":Co,"blocked-tab":Oo,"bookmarks-tab":jo,"collections-tab":Do,"follows-tab":Bo,"groups-tab":Ho,"likes-tab":qo,autocomplete:li.a},data:function(){return{initialLoad:!1,config:{},profile:{},tabChanges:0,tabIndex:0,tabs:[],changed:!1,menuMode:!1,searchResults:[],mobileSearchOpen:!1}},created:function(){window.addEventListener("resize",this.handleOnResize)},destroyed:function(){window.removeEventListener("resize",this.handleOnResize)},mounted:function(){this.init()},methods:{handleOnResize:function(){var t=[".navbar","footer",".mobile-footer",".mobile-footer-spacer"];window.innerWidth<768?(this.menuMode=!0,t.forEach((function(t){$(t).addClass("d-none")}))):(this.menuMode=!1,t.forEach((function(t){$(t).removeClass("d-none")})))},init:function(){this.setTabs(),this.handleOnResize()},setCurrentTab:function(){var t=this.$route.params.pathMatch;if(t){var e=this.tabs.map((function(t){return t.slug})).indexOf(t),n=e>0?e:0;this.toggleTab(n),this.menuMode=!1,setTimeout((function(){document.getElementById("stab_"+n).scrollIntoView({behavior:"smooth",block:"end",inline:"end"})}),300)}this.initialLoad=!0},goHome:function(){location.href="/i/web"},fetchConfig:function(){var t=this;axios.get("/i/settings/config.json").then((function(e){t.config=e.data,t.fetchAccount()}))},fetchAccount:function(){var t=this;axios.get("/i/settings/account.json").then((function(e){t.profile=e.data,t.setCurrentTab()}))},setTabs:function(){this.tabs=[{title:"Profile",slug:"profile",icon:"far fa-user"},{title:"Account",slug:"account",icon:"far fa-house-user"},{title:"Accessibility",slug:"accessibility",icon:"far fa-universal-access"},{title:"Appearance",slug:"appearance",icon:"far fa-paint-brush"},{title:"Apps & Devices",slug:"apps-and-devices",icon:"far fa-mobile"},{title:"Notifications",slug:"notifications",icon:"far fa-bell"},{title:"Preferences",slug:"preferences",icon:"far fa-tasks"},{title:"Security",slug:"security",icon:"far fa-lock"},{title:"Developers",slug:"developers",icon:"far fa-code"},{title:"Import",slug:"import",icon:"far fa-cloud-upload"},{title:"Export",slug:"export",icon:"far fa-download"},{title:"Archives",slug:"archives",icon:"far fa-chevron-double-right"},{title:"Blocked Accounts",slug:"blocked-accounts",icon:"far fa-chevron-double-right"},{title:"Bookmarks",slug:"bookmarks",icon:"far fa-chevron-double-right"},{title:"Collections",slug:"collections",icon:"far fa-chevron-double-right"},{title:"Follows",slug:"follows",icon:"far fa-chevron-double-right"},{title:"Groups",slug:"groups",icon:"far fa-chevron-double-right"},{title:"Likes",slug:"likes",icon:"far fa-chevron-double-right"},{title:"Reports",slug:"reports",icon:"far fa-chevron-double-right"},{title:"Scheduled Posts",slug:"scheduled-posts",icon:"far fa-chevron-double-right"},{title:"Warnings",slug:"warnings",icon:"far fa-chevron-double-right"}],this.fetchConfig()},toggleTab:function(t){if(event&&event.hasOwnProperty("currentTarget")&&event.currentTarget.blur(),this.menuMode=!1,this.mobileSearchOpen=!1,this.changed&&this.tabIndex!=t){if(!window.confirm("Are you sure you want to proceed without saving your changes?"))return;this.changed=!1,this.clearChanges()}if(this.tabIndex=t,0==t)history.pushState(null,null,"/i/web/settings");else{var e=this.tabs[t].slug,n=0==this.tabChanges?"/i/web/settings/"+e+window.location.search:"/i/web/settings/"+e;history.pushState(null,null,n)}this.tabChanges++},handleChange:function(t){this.changed=t},syncProfile:function(t){this.profile=t},goBack:function(){this.menuMode=!0,this.tabIndex=0,history.pushState(null,null,"/i/web/settings")},clearChanges:function(){switch(event.currentTarget.blur(),this.tabIndex){case 0:this.$refs.profileTab.init();break;case 1:this.$refs.accountTab.init()}this.changed=!1},saveChanges:function(){switch(event.currentTarget.blur(),this.tabIndex){case 0:this.$refs.profileTab.save();break;case 1:this.$refs.accountTab.save();break;case 2:this.$refs.accessibilityTab.save();break;case 3:this.$refs.appearanceTab.save();break;case 6:this.$refs.preferencesTab.save()}},autocompleteSearch:function(t){return!t||t.length<2?[]:axios.get("/i/settings-search",{params:{q:t}}).then((function(t){return t.data}))},getSearchResultValue:function(t){return t},onSearchSubmit:function(t){if(t.length<1)return[];this.$refs.autocomplete.value="",this.toggleTab(t.tabIndex)},toggleMobileSearch:function(){event.currentTarget.blur(),this.mobileSearchOpen=!this.mobileSearchOpen}}},Xo=(n("IV43"),{components:{"account-settings":Object(nn.a)(Yo,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"account-settings-component"},[t.initialLoad?n("div",{staticClass:"container p-0"},[n("div",{staticClass:"card shadow-none border"},[n("div",{staticClass:"card-body"},[n("div",{staticClass:"row m-0"},[n("div",{staticClass:"col-12 col-md-3 settings-menu-col",class:{showMobile:t.menuMode}},[t.menuMode?n("div",{staticClass:"mobile-menu"},[t.mobileSearchOpen?n("div",{staticClass:"d-flex justify-content-between align-items-center"},[t.mobileSearchOpen?n("autocomplete",{ref:"autocomplete",staticClass:"searchbox",staticStyle:{width:"300px"},attrs:{search:t.autocompleteSearch,placeholder:"Search","aria-label":"Search","get-result-value":t.getSearchResultValue,debounceTime:700},on:{submit:t.onSearchSubmit},scopedSlots:t._u([{key:"result",fn:function(e){var i=e.result,o=e.props;return[n("li",t._b({staticClass:"autocomplete-result"},"li",o,!1),[n("div",{staticClass:"media align-items-center my-0"},[n("div",{staticClass:"media-icon"},[n("i",{staticClass:"fa-lg text-lighter",class:i.icon})]),t._v(" "),n("div",{staticClass:"media-body"},[n("div",{staticClass:"text-break"},[n("p",{staticClass:"result-name mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(i.title)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"result-name mb-0 text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(i.subtitle)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t")])])])])])]}}],null,!1,921300218)}):t._e(),t._v(" "),n("button",{staticClass:"btn btn-link text-muted",on:{click:t.toggleMobileSearch}},[n("i",{staticClass:"far fa-times-circle fa-lg"})])],1):n("div",{staticClass:"d-flex align-items-center justify-content-between"},[n("button",{staticClass:"btn btn-light",on:{click:function(e){return t.goHome()}}},[n("i",{staticClass:"far fa-home"})]),t._v(" "),n("p",{staticClass:"lead title text-center mb-0"},[t._v("Settings")]),t._v(" "),n("button",{staticClass:"btn btn-light",on:{click:t.toggleMobileSearch}},[n("i",{staticClass:"far fa-search"})])]),t._v(" "),n("hr",{staticClass:"mb-2"})]):t._e(),t._v(" "),n("ul",{staticClass:"nav flex-column"},t._l(t.tabs,(function(e,i){return n("li",{staticClass:"nav-item",attrs:{id:"stab_"+i}},[n("button",{staticClass:"nav-link btn btn-link d-flex justify-content-between align-items-center",class:{active:t.tabIndex===i},on:{click:function(e){return t.toggleTab(i)}}},[n("div",[n("span",{staticClass:"nav-link-icon"},[n("i",{class:e.icon})]),t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),n("i",{staticClass:"fal fa-chevron-right text-lighter"})]),t._v(" "),t.menuMode&&i!=t.tabs.length-1||7==i||10==i?n("hr"):t._e()])})),0)]),t._v(" "),n("div",{staticClass:"col-12 col-md-9 settings-body-col",class:{inMenuMode:t.menuMode}},[n("div",{staticClass:"title-menu"},[n("div",{staticClass:"d-flex align-items-center justify-content-between"},[n("div",{staticClass:"d-block d-md-none"},[n("button",{staticClass:"btn btn-light font-weight-bold",on:{click:function(e){return t.goBack()}}},[n("i",{staticClass:"far fa-chevron-left"})])]),t._v(" "),n("div",{staticClass:"font-weight-bold mb-0"},[n("span",{staticClass:"d-none d-md-inline lead font-weight-bold"},[t._v("Settings")]),t._v(" "),n("span",{staticClass:"d-none d-md-inline font-weight-light lead"},[t._v("/")]),t._v(" "),n("span",{staticClass:"lead"},[n("span",[t._v(t._s(t.tabs[t.tabIndex].title))])])]),t._v(" "),n("div",{directives:[{name:"b-modal",rawName:"v-b-modal.help-modal",modifiers:{"help-modal":!0}}],staticClass:"d-block d-md-none"},[t._m(0)]),t._v(" "),n("autocomplete",{ref:"autocomplete",staticClass:"searchbox",staticStyle:{width:"300px"},attrs:{search:t.autocompleteSearch,placeholder:"Search","aria-label":"Search","get-result-value":t.getSearchResultValue,debounceTime:700},on:{submit:t.onSearchSubmit},scopedSlots:t._u([{key:"result",fn:function(e){var i=e.result,o=e.props;return[n("li",t._b({staticClass:"autocomplete-result"},"li",o,!1),[n("div",{staticClass:"media align-items-center my-0"},[n("div",{staticClass:"media-icon"},[n("i",{staticClass:"fa-lg text-lighter",class:i.icon})]),t._v(" "),n("div",{staticClass:"media-body"},[n("div",{staticClass:"text-break"},[n("p",{staticClass:"result-name mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(i.title)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"result-name mb-0 text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(i.subtitle)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t")])])])])])]}}],null,!1,921300218)})],1),t._v(" "),n("hr")]),t._v(" "),0===t.tabIndex?n("profile-tab",{ref:"profileTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange,"sync-profile":t.syncProfile}}):1===t.tabIndex?n("account-tab",{ref:"accountTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange,"sync-profile":t.syncProfile}}):2===t.tabIndex?n("accessibility-tab",{ref:"accessibilityTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange,"sync-profile":t.syncProfile}}):3===t.tabIndex?n("appearance-tab",{ref:"appearanceTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange,"sync-profile":t.syncProfile}}):4===t.tabIndex?n("devices-tab",{ref:"devicesTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange,"sync-profile":t.syncProfile}}):5===t.tabIndex?n("notifications-tab",{ref:"notificationsTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange,"sync-profile":t.syncProfile}}):6===t.tabIndex?n("preferences-tab",{ref:"preferencesTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange,"sync-profile":t.syncProfile}}):7===t.tabIndex?n("security-tab",{ref:"securityTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange,"sync-profile":t.syncProfile}}):9===t.tabIndex?n("import-tab",{ref:"importTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange,"sync-profile":t.syncProfile}}):10===t.tabIndex?n("export-tab",{ref:"exportTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange,"sync-profile":t.syncProfile}}):11===t.tabIndex?n("archive-tab",{ref:"archiveTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange}}):12===t.tabIndex?n("blocked-tab",{ref:"blockedTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange}}):13===t.tabIndex?n("bookmarks-tab",{ref:"bookmarksTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange}}):14===t.tabIndex?n("collections-tab",{ref:"collectionsTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange}}):15===t.tabIndex?n("follows-tab",{ref:"followsTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange}}):16===t.tabIndex?n("groups-tab",{ref:"groupsTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange}}):17===t.tabIndex?n("likes-tab",{ref:"likesTab",attrs:{config:t.config,profile:t.profile},on:{changed:t.handleChange}}):n("div",[n("p",{staticClass:"lead"},[t._v("Page not yet available")])])],1)])]),t._v(" "),t.changed?n("div",{staticClass:"card-footer d-flex justify-content-end fixed-bottom-mobile"},[n("button",{staticClass:"btn btn-light font-weight-bold mr-2",on:{click:t.clearChanges}},[t._v("Clear Changes")]),t._v(" "),n("button",{staticClass:"btn btn-primary font-weight-bold",on:{click:t.saveChanges}},[t._v("Save Changes")])]):t._e()])]):n("div",{staticClass:"d-flex justify-content-center"},[n("b-spinner")],1),t._v(" "),n("b-modal",{attrs:{id:"help-modal",title:"Help","hide-footer":"",centered:""}},[n("p",{staticClass:"lead"},[t._v("For help understanding your settings and how to change them, visit the "),n("a",{attrs:{href:"/site/help"}},[t._v("Help Center")]),t._v(".")]),t._v(" "),n("p",[n("a",{staticClass:"btn btn-light border btn-block font-weight-bold",attrs:{href:"/site/contact"}},[n("i",{staticClass:"far fa-comments-alt mr-2"}),t._v("\n\t\t\t\tContact a human\n\t\t\t")])])])],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn btn-light font-weight-bold"},[e("i",{staticClass:"far fa-info-circle"})])}],!1,null,null,null).exports,sidebar:pn},data:function(){return{isLoaded:!1,profile:void 0,user:void 0}},mounted:function(){this.profile=window._sharedData.user,this.user=window._sharedData.user,this.isLoaded=!0}}),Ko=(n("i190"),Object(nn.a)(Xo,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"web-wrapper settings-component"},[this.isLoaded?e("div",{staticClass:"container-fluid mt-md-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-3 d-md-block"},[e("sidebar",{attrs:{user:this.profile}})],1),this._v(" "),e("div",{staticClass:"col-md-9 p-0 px-md-2"},[e("account-settings")],1)])]):this._e()])}),[],!1,null,null,null).exports),Jo={components:{drawer:on}},Zo=Object(nn.a)(Jo,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"container d-flex justify-content-center"},[this._m(0),this._v(" "),e("drawer")],1)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"error-page py-5 my-5",staticStyle:{"max-width":"450px"}},[n("h3",{staticClass:"font-weight-bold"},[t._v("404 Page Not Found")]),t._v(" "),n("p",{staticClass:"lead"},[t._v("The page you are trying to view is not available")]),t._v(" "),n("div",{staticClass:"text-muted"},[n("p",{staticClass:"mb-1"},[t._v("This can happen for a few reasons:")]),t._v(" "),n("ul",[n("li",[t._v("The url is invalid or has a typo")]),t._v(" "),n("li",[t._v("The page has been flagged for review by our automated abuse detection systems")]),t._v(" "),n("li",[t._v("The content may have been deleted")]),t._v(" "),n("li",[t._v("You do not have permission to view this content")])])])])}],!1,null,null,null).exports,Qo={data:function(){return{posts:[],profile:[]}},mounted:function(){this.init()},methods:{init:function(){var t=this;axios.get("/i/hc/category",{params:{id:1}}).then((function(e){t.profile=e.data})),axios.get("/i/hc/category",{params:{id:2}}).then((function(e){t.posts=e.data}))}}},tr=(n("QviT"),Object(nn.a)(Qo,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"help-center-component"},[n("div",{staticClass:"jumbotron"},[n("div",{staticClass:"container d-flex justify-content-center"},[n("div",{staticClass:"col-12 col-md-8"},[n("p",[n("router-link",{staticClass:"text-muted",attrs:{to:"/i/web"}},[n("i",{staticClass:"far fa-long-arrow-left"}),t._v(" "),n("span",{staticClass:"ml-2"},[t._v("Back to home")])])],1),t._v(" "),n("p",{staticClass:"h1 font-weight-bold text-narrow"},[t._v("Hi, how can we help you?")])])])]),t._v(" "),n("div",{staticClass:"d-none container mt-3"},[n("div",{staticClass:"row justify-content-center"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-10 px-md-0"},[n("div",{staticClass:"my-3"},[n("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("How can I get the app?")]),t._v(" "),n("router-link",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3",attrs:{to:"/i/web/kb/124"}},[t._v("How many hashtags can I use?")]),t._v(" "),n("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("What formats can I upload?")]),t._v(" "),n("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("Can I upload gifs?")]),t._v(" "),n("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("Is my location removed?")]),t._v(" "),n("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("How many photos can I add per post?")]),t._v(" "),n("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("What is Federation?")]),t._v(" "),n("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("How do I block someone?")]),t._v(" "),n("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("How do I report something?")])],1)])])]),t._v(" "),t._m(1),t._v(" "),n("div",{staticClass:"container mt-3 mb-5"},[n("div",{staticClass:"row justify-content-center"},[t._m(2),t._v(" "),t._m(3),t._v(" "),n("div",{staticClass:"col-md-10"},[n("div",{staticClass:"mt-2 row justify-content-center"},[n("div",{staticClass:"col-md-9"},[n("div",{staticClass:"card shadow-sm mb-4"},[t._m(4),t._v(" "),n("div",{staticClass:"card-body"},[n("div",t._l(t.profile,(function(e,i){return n("p",{staticClass:"font-weight-bold mb-1 text-truncate"},[n("i",{staticClass:"far fa-info-circle mr-2 text-lighter"}),t._v(" "),n("router-link",{staticClass:"text-dark",attrs:{to:"/i/web/kb/"+i}},[t._v(t._s(e.title))])],1)})),0)])]),t._v(" "),n("div",{staticClass:"card shadow-sm"},[t._m(5),t._v(" "),n("div",{staticClass:"card-body"},[n("div",t._l(t.posts,(function(e,i){return n("p",{staticClass:"font-weight-bold mb-1 text-truncate"},[n("i",{staticClass:"far fa-info-circle mr-2 text-lighter"}),t._v(" "),n("router-link",{staticClass:"text-dark",attrs:{to:"/i/web/kb/"+i}},[t._v(t._s(e.title))])],1)})),0)])])])])])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-10"},[e("h3",{staticClass:"text-narrow mb-3"},[this._v("Popular Questions")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"d-none container mt-3 mb-5"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-md-10"},[e("hr")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-10 mb-5 text-center"},[e("p",{staticClass:"lead mb-4"},[this._v("Welcome to the new Help Center!")]),this._v(" "),e("p",[e("span",{staticClass:"alert alert-warning"},[this._v("We are in the process of migrating articles from "),e("a",{attrs:{href:"/site/help"}},[this._v("old help center")]),this._v(".")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-10"},[e("h3",{staticClass:"font-weight-light mb-3 text-center"},[this._v("Categories")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card-header"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[this._v("Profile")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card-header"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[this._v("Posts")])])}],!1,null,"21378c28",null).exports),er={data:function(){return{isLoaded:!1,article:void 0,related:[]}},mounted:function(){this.init()},methods:{init:function(){this.fetchArticle()},fetchArticle:function(){var t=this;axios.get("/i/hc/get",{params:{id:this.$route.params.id}}).then((function(e){t.isLoaded=!0,t.article=e.data})).catch((function(e){t.$router.push("/i/web/404")}))}}},nr=(n("rge7"),Object(nn.a)(er,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"knowledgebase-component"},[t.isLoaded?n("div",[n("div",{staticClass:"jumbotron"},[n("div",{staticClass:"container"},[n("div",{staticClass:"row justify-content-center"},[n("div",{staticClass:"col-12 col-md-8"},[n("p",[n("router-link",{staticClass:"text-muted",attrs:{to:"/i/web/help"}},[n("i",{staticClass:"far fa-long-arrow-left"}),t._v(" "),n("span",{staticClass:"ml-2"},[t._v("Help Center")])])],1),t._v(" "),n("p",{staticClass:"h1 font-weight-bold text-narrow"},[t._v(t._s(t.article.title))])])])])]),t._v(" "),n("div",{staticClass:"container mt-5"},[n("div",{staticClass:"row justify-content-center"},[n("div",{staticClass:"col-12 col-md-8"},t._l(t.article.body,(function(e,i){return n("div",["string"==typeof e?n("div",{staticClass:"lead mb-3",domProps:{innerHTML:t._s(e)}}):t._e(),t._v(" "),"object"==typeof e&&Array.isArray(e)?n("div",{staticClass:"mb-5"},t._l(e,(function(e,i){return n("div",{staticClass:"media align-items-center mb-3"},[n("div",{staticClass:"lead rounded-circle d-flex justify-content-center align-items-center font-weight-bold mr-3",staticStyle:{width:"50px",height:"50px",background:"#F3F4F6"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(i+1)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"lead mb-0",domProps:{innerHTML:t._s(e)}})])])})),0):t._e()])})),0)])])]):n("div",{staticClass:"d-flex justify-content-center mt-5"},[n("b-spinner")],1)])}),[],!1,null,null,null).exports),ir={components:{sidebar:pn},data:function(){return{isLoaded:!1,profile:void 0}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.profile=window._sharedData.user,this.isLoaded=!0}}};Object(nn.a)(ir,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"drive-component"},[this.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-3 d-md-block"},[e("sidebar",{attrs:{user:this.profile}})],1),this._v(" "),e("div",{staticClass:"col-md-6"}),this._v(" "),e("div",{staticClass:"col-md-3"})])]):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[e("b-spinner")],1)])}),[],!1,null,null,null).exports;function or(t){return function(t){if(Array.isArray(t))return rr(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return rr(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rr(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rr(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var ar={props:{id:{type:String}},components:{drawer:on,intersect:bn,sidebar:pn,rightbar:Cn},data:function(){return{isLoaded:!1,profile:void 0,canLoadMore:!0,isIntersecting:!1,feedLoaded:!1,feed:[],page:1,follows:!1,isFollowing:!1}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.profile=window._sharedData.user,this.isLoaded=!0,this.fetchFeed()},fetchFeed:function(){var t=this;axios.get("/api/v2/discover/tag",{params:{hashtag:this.id,limit:9,page:this.page}}).then((function(e){if(t.feedLoaded=!0,0==e.data.tags.length&&(t.canLoadMore=!1),t.isLoaded=!0,!e.data.tags||!e.data.tags.length)return t.canLoadMore=!1,void(t.isIntersecting=!1);var n;t.feed.tags&&t.feed.tags.length?(n=t.feed.tags).push.apply(n,or(e.data.tags)):t.feed=e.data;t.page++,t.isIntersecting=!1,t.follows=!!e.data.hasOwnProperty("follows")&&e.data.follows,0==e.data.tags.length&&(t.canLoadMore=!1)})).catch((function(e){t.canLoadMore=!1,t.isLoaded=!0,t.feedLoaded=!0}))},statusUrl:function(t){return"/i/web/post/"+t.id},formatCount:function(t){return App.util.format.count(t)},enterIntersect:function(){this.isIntersecting||(this.isIntersecting=!0,this.fetchFeed())},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},followHashtag:function(){var t=this;this.isFollowing=!0,axios.post("/api/local/discover/tag/subscribe",{name:this.id}).then((function(e){t.follows=!0,t.isFollowing=!1}))},unfollowHashtag:function(){var t=this;this.isFollowing=!0,axios.post("/api/local/discover/tag/subscribe",{name:this.id}).then((function(e){t.follows=!1,t.isFollowing=!1}))}}},sr=(n("q7N/"),Object(nn.a)(ar,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"hashtag-component"},[t.isLoaded&&t.feedLoaded?n("div",{staticClass:"container-fluid mt-3"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-3 d-md-block"},[n("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),n("div",{staticClass:"col-md-9"},[n("div",{staticClass:"card border-0 shadow-sm mb-3",staticStyle:{"border-radius":"18px"}},[n("div",{staticClass:"card-body"},[n("div",{staticClass:"media align-items-center py-3"},[n("div",{staticClass:"media-body"},[n("p",{staticClass:"h3 text-break mb-0"},[n("span",{staticClass:"text-lighter"},[t._v("#")]),t._v(t._s(t.id)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),t.follows?n("button",{staticClass:"btn btn-light hashtag-follow border rounded-pill font-weight-bold py-1 px-4",attrs:{disabled:t.isFollowing},on:{click:function(e){return t.unfollowHashtag()}}},[t.isFollowing?n("b-spinner",{attrs:{small:""}}):n("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t\t\t\t")])],1):n("button",{staticClass:"btn btn-primary hashtag-follow font-weight-bold rounded-pill py-1 px-4",attrs:{disabled:t.isFollowing},on:{click:function(e){return t.followHashtag()}}},[t.isFollowing?n("b-spinner",{attrs:{small:""}}):n("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t\t\t\t\t")])],1)])])]),t._v(" "),n("div",{staticClass:"row mx-0 hashtag-feed"},[t._l(t.feed.tags,(function(e,i){return n("div",{key:"tlob:"+i,staticClass:"col-6 col-md-4 col-lg-3 p-1"},[n("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e.status)},on:{click:function(n){return n.preventDefault(),t.goToPost(e.status)}}},[n("div",{staticClass:"square"},[e.status.sensitive?n("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),n("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.status.media_attachments[0].blurhash}})],1):n("div",{staticClass:"square-content"},[n("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.status.media_attachments[0].blurhash,src:e.status.media_attachments[0].url}})],1),t._v(" "),"photo:album"==e.status.pf_type?n("span",{staticClass:"float-right mr-3 post-icon"},[n("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.status.pf_type?n("span",{staticClass:"float-right mr-3 post-icon"},[n("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.status.pf_type?n("span",{staticClass:"float-right mr-3 post-icon"},[n("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),n("div",{staticClass:"info-overlay-text"},[n("h5",{staticClass:"text-white m-auto font-weight-bold"},[n("span",[n("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),n("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.status.reply_count)))])])])])])])])})),t._v(" "),t._l(Array(12).keys(),(function(e,i){return t.canLoadMore?n("div",{staticClass:"col-6 col-md-4 col-lg-3 ph-wrapper"},[0===i?n("intersect",{on:{enter:t.enterIntersect}},[n("div",{staticClass:"ph-item"},[n("div",{staticClass:"ph-picture big"})])]):n("div",{staticClass:"ph-item"},[n("div",{staticClass:"ph-picture big"})])],1):t._e()}))],2),t._v(" "),t.feed.hasOwnProperty("tags")&&t.feed.tags.length?t._e():n("div",{staticClass:"row mx-0 hashtag-feed justify-content-center"},[n("div",{staticClass:"col-12 col-md-8 text-center"},[n("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),n("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("hashtags.emptyFeed")))])])])])]),t._v(" "),n("drawer")],1):n("div",{staticClass:"container-fluid mt-3"},[n("b-spinner")],1)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])}],!1,null,null,null).exports),lr={components:{sidebar:pn},data:function(){return{isLoaded:!1,profile:void 0,instance:void 0,nodeinfo:void 0,config:window.App.config}},mounted:function(){this.fetchUserData()},methods:{fetchUserData:function(){this.profile=window._sharedData.user,this.fetchInstance()},fetchInstance:function(){var t=this;axios.get("/api/v1/instance").then((function(e){t.instance=e.data,t.fetchNodeinfo()}))},fetchNodeinfo:function(){var t=this;axios.get("/api/nodeinfo/2.0.json").then((function(e){t.nodeinfo=e.data,t.isLoaded=!0}))}}},cr=Object(nn.a)(lr,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"web-wrapper"},[t.isLoaded?n("div",{staticClass:"container-fluid mt-3"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-3 d-md-block"},[n("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),t._m(0),t._v(" "),n("div",{staticClass:"col-md-3"},[n("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px !important"}},[n("div",{staticClass:"card-body"},[n("div",{staticClass:"d-flex justify-content-between mb-3"},[n("span",{staticClass:"text-muted font-weight-bold"},[t._v("Stats")]),t._v(" "),n("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"text-lighter",attrs:{title:"Statistics data is generated once every 24 hours"}},[n("i",{staticClass:"fal fa-info-circle"})])]),t._v(" "),n("div",{staticClass:"d-flex justify-content-between align-items-center mb-1"},[n("p",{staticClass:"text-lighter mb-0"},[t._v("Total Posts:")]),t._v(" "),n("p",{staticClass:"lead mb-0"},[t._v(t._s(t.nodeinfo.usage.localPosts))])]),t._v(" "),n("div",{staticClass:"d-flex justify-content-between align-items-center"},[n("p",{staticClass:"text-lighter mb-0"},[t._v("Total Users:")]),t._v(" "),n("p",{staticClass:"lead mb-0"},[t._v(t._s(t.nodeinfo.usage.users.total))])])])]),t._v(" "),t.instance&&t.instance.rules&&t.instance.rules.length?n("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px !important"}},[n("div",{staticClass:"card-body"},[n("div",{staticClass:"d-flex justify-content-between mb-3"},[n("span",{staticClass:"text-muted font-weight-bold"},[t._v("Rules")]),t._v(" "),n("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"text-lighter",attrs:{title:"These rules are subject to change"}},[n("i",{staticClass:"fal fa-info-circle"})])]),t._v(" "),n("ol",{staticStyle:{"padding-left":"20px"}},t._l(t.instance.rules,(function(e){return n("li",{staticClass:"font-weight-bold mt-3"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.text)+"\n\t\t\t\t\t\t\t")])})),0),t._v(" "),n("p",{staticClass:"small mb-0 text-center font-weight-bold text-lighter"},[t._v("Refer to the "),n("router-link",{staticClass:"text-muted",attrs:{to:"/i/web/terms"}},[t._v("Terms of Service")]),t._v(" for more information")],1)])]):t._e()])])]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-6"},[e("div",{staticClass:"jumbotron shadow-sm bg-white"},[e("div",{staticClass:"text-center"},[e("h1",{staticClass:"font-weight-bold"},[this._v("Photo Sharing. For Everyone")]),this._v(" "),e("p",{staticClass:"lead mb-0"},[this._v("Pixelfed is an image sharing platform, an ethical alternative to centralized platforms.")])])]),this._v(" "),e("div",{staticClass:"card shadow-sm mb-3"},[e("div",{staticClass:"card-body"},[this._v("\n\t\t\t\t\t\tAdminstrators can edit this text in the admin dashboard.\n\t\t\t\t\t")])])])}],!1,null,null,null).exports,ur={components:{sidebar:pn},data:function(){return{isLoaded:!1,profile:void 0}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0}},dr=Object(nn.a)(ur,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"web-wrapper"},[this.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-3 d-md-block"},[e("sidebar",{attrs:{user:this.profile}})],1),this._v(" "),this._m(0)])]):this._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-6"},[e("div",{staticClass:"jumbotron shadow-sm bg-white"},[e("div",{staticClass:"text-center"},[e("h1",{staticClass:"font-weight-bold mb-0"},[this._v("Contact")])])]),this._v(" "),e("div",{staticClass:"card shadow-sm mb-3"},[e("div",{staticClass:"card-body"},[this._v("\n\t\t\t\t\t\tAdministrators have not configured the contact form.\n\t\t\t\t\t")])])])}],!1,null,null,null).exports,pr={components:{drawer:on,sidebar:pn},data:function(){return{isLoaded:!1,profile:void 0,locale:"en",langs:["en","ar","ca","de","el","es","fr","he","id","it","nl","pt","ru"]}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0,this.locale=this.$i18n.locale},watch:{locale:function(t){this.loadLang(t)}},methods:{fullName:function(t){return new Intl.DisplayNames([t],{type:"language"}).of(t)},loadLang:function(t){var e=this;axios.post("/api/pixelfed/web/change-language.json",{v:.1,l:t}).then((function(n){e.$i18n.locale=t}))}}},hr=Object(nn.a)(pr,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"web-wrapper"},[t.isLoaded?n("div",{staticClass:"container-fluid mt-3"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-3 d-md-block"},[n("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),n("div",{staticClass:"col-md-6"},[t._m(0),t._v(" "),n("div",{staticClass:"card shadow-sm mb-3"},[n("div",{staticClass:"card-body"},[n("div",{staticClass:"locale-changer form-group"},[n("label",[t._v("Language")]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.locale,expression:"locale"}],staticClass:"form-control",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.locale=e.target.multiple?n:n[0]}}},t._l(t.langs,(function(e,i){return n("option",{key:"Lang"+i,domProps:{value:e}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.fullName(e))+"\n\t\t\t\t\t\t\t\t")])})),0)])])])])])]):t._e(),t._v(" "),n("drawer")],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"jumbotron shadow-sm bg-white"},[e("div",{staticClass:"text-center"},[e("h1",{staticClass:"font-weight-bold mb-0"},[this._v("Language")])])])}],!1,null,null,null).exports,fr={components:{sidebar:pn},data:function(){return{isLoaded:!1,profile:void 0,page:void 0}},mounted:function(){this.fetchPage()},methods:{fetchPage:function(){var t=this;axios.get("/i/doc/privacy.json").then((function(e){t.page=e.data,t.fetchUserData()}))},fetchUserData:function(){this.profile=window._sharedData.user,this.isLoaded=!0}}},mr=Object(nn.a)(fr,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"web-wrapper"},[t.isLoaded?n("div",{staticClass:"container-fluid mt-3"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-3 d-md-block"},[n("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),n("div",{staticClass:"col-md-6"},[t._m(0),t._v(" "),n("div",{staticClass:"card shadow-sm"},[n("div",{staticClass:"card-body doc-body"},[n("div",{domProps:{innerHTML:t._s(t.page.body)}})])])])])]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"jumbotron shadow-sm bg-white"},[e("div",{staticClass:"text-center"},[e("h1",{staticClass:"font-weight-bold mb-0"},[this._v("Privacy Policy")])])])}],!1,null,null,null).exports,vr={components:{sidebar:pn},data:function(){return{isLoaded:!1,profile:void 0,page:void 0}},mounted:function(){this.fetchPage()},methods:{fetchPage:function(){var t=this;axios.get("/i/doc/terms.json").then((function(e){t.page=e.data,t.fetchUserData()}))},fetchUserData:function(){this.profile=window._sharedData.user,this.isLoaded=!0}}},gr=Object(nn.a)(vr,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"web-wrapper"},[t.isLoaded?n("div",{staticClass:"container-fluid mt-3"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-3 d-md-block"},[n("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),n("div",{staticClass:"col-md-6"},[t._m(0),t._v(" "),n("div",{staticClass:"card shadow-sm"},[n("div",{staticClass:"card-body doc-body"},[n("div",{domProps:{innerHTML:t._s(t.page.body)}})])])])])]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"jumbotron shadow-sm bg-white"},[e("div",{staticClass:"text-center"},[e("h1",{staticClass:"font-weight-bold mb-0"},[this._v("Terms of Use")])])])}],!1,null,null,null).exports,br={components:{drawer:on,sidebar:pn},data:function(){return{isLoaded:!1,profile:void 0,instance:void 0,nodeinfo:void 0,config:window.App.config}},mounted:function(){this.profile=window._sharedData.user}},yr=Object(nn.a)(br,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"web-wrapper"},[e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-3 d-md-block"},[e("sidebar",{attrs:{user:this.profile}})],1),this._v(" "),this._m(0),this._v(" "),this._m(1)])]),this._v(" "),e("drawer")],1)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"col-md-6"},[n("div",{staticClass:"jumbotron shadow-sm bg-white"},[n("div",{staticClass:"text-center"},[n("h1",{staticClass:"font-weight-bold"},[t._v("What's New")]),t._v(" "),n("p",{staticClass:"lead mb-0"},[t._v("A log of changes in our new UI (Metro 2.0)")])])]),t._v(" "),n("div",{staticClass:"mt-4 pb-3"},[n("p",{staticClass:"lead"},[t._v("Feb 15, 2022")]),t._v(" "),n("ul",[n("li",{staticClass:"font-weight-bold"},[t._v("Mobile app drawer menu")]),t._v(" "),n("li",{staticClass:"font-weight-bold"},[t._v("Add Preferred Profile Layout UI setting")]),t._v(" "),n("li",[t._v("Add search bar to mobile breakpoints and adjust avatar size when necessary")]),t._v(" "),n("li",[t._v("Improved profile layout on mobile breakpoints")])])]),t._v(" "),n("div",{staticClass:"mt-4 pb-3"},[n("p",{staticClass:"lead"},[t._v("Feb 12, 2022")]),t._v(" "),n("ul",[n("li",{staticClass:"font-weight-bold"},[t._v("Threaded Comments Beta")]),t._v(" "),n("li",[t._v("Changed default media preview setting to non-fixed height media")]),t._v(" "),n("li",[t._v("Improved Compose Location search, will display popular locations first")]),t._v(" "),n("li",[t._v('Added "Comment" button to comment reply form and changed textarea/multiline icon toggle')]),t._v(" "),n("li",[t._v("Fixed incorrect avatar in profile post comment drawers")]),t._v(" "),n("li",[t._v("Hashtags will now include remote/federated posts on hashtag feeds")])])]),t._v(" "),n("div",{staticClass:"mt-4 pb-3"},[n("p",{staticClass:"lead"},[t._v("Feb 6, 2022")]),t._v(" "),n("ul",[n("li",[t._v("Moved media license to post header")])])]),t._v(" "),n("div",{staticClass:"mt-4 pb-3"},[n("p",{staticClass:"lead"},[t._v("Feb 5, 2022")]),t._v(" "),n("ul",[n("li",{staticClass:"font-weight-bold"},[t._v("Improved Media Previews - disable to restore original preview aspect ratios")]),t._v(" "),n("li",{staticClass:"font-weight-bold"},[t._v("Comments + Hovercards - comment usernames now support hovercards")]),t._v(" "),n("li",{staticClass:"font-weight-bold"},[t._v("Quick Avatar Updates - click the "),n("i",{staticClass:"far fa-cog"}),t._v(" button on your avatar. Supports drag-n-drop and updates without page refresh in most places.")]),t._v(" "),n("li",{staticClass:"font-weight-bold"},[t._v("Follows You badge on hovercards when applicable")]),t._v(" "),n("li",[t._v("Add Hide Counts & Stats setting")]),t._v(" "),n("li",[t._v("Fix nsfw videos not displaying sensitive warning")]),t._v(" "),n("li",[t._v("Added mod tools button to posts for admin accounts")])])]),t._v(" "),n("div",{staticClass:"mt-4 pb-3"},[n("p",{staticClass:"lead"},[t._v("Jan 31, 2022")]),t._v(" "),n("ul",[n("li",[t._v("Fixed comment deletion")])])]),t._v(" "),n("div",{staticClass:"mt-4 pb-3"},[n("p",{staticClass:"lead"},[t._v("Jan 27, 2022")]),t._v(" "),n("ul",[n("li",{staticClass:"font-weight-bold"},[t._v("New Reaction bar on posts - to disable toggle this option in UI Settings menu")]),t._v(" "),n("li",{staticClass:"font-weight-bold"},[t._v("Fresher Comments - fixed bug that prevented new comments from appearing and added a Refresh button to do it manually in the event it's needed")]),t._v(" "),n("li",[t._v("Added Comment Autoloading setting, enabled by default, it loads the first 3 comments")]),t._v(" "),n("li",[t._v("Added Likes feed to your own profile to view posts you liked")]),t._v(" "),n("li",[t._v("Fixed custom emoji rendering on sidebar, profiles and hover cards")]),t._v(" "),n("li",[t._v("Fixed duplicate notifications on feeds")])])]),t._v(" "),n("div",{staticClass:"mt-4 pb-3"},[n("p",{staticClass:"lead"},[t._v("Jan 24, 2022")]),t._v(" "),n("ul",[n("li",[t._v("New onboarding home feed with 6 popular accounts to help newcomers find accounts to follow")])])]),t._v(" "),n("div",{staticClass:"mt-4 pb-3"},[n("p",{staticClass:"lead"},[t._v("Jan 22, 2022")]),t._v(" "),n("ul",[n("li",[t._v("Added pronouns to hovercards")]),t._v(" "),n("li",[t._v("Fixed custom emoji rendering on home timeline")])])]),t._v(" "),n("div",{staticClass:"mt-4 pb-3"},[n("p",{staticClass:"lead"},[t._v("Jan 18, 2022")]),t._v(" "),n("ul",[n("li",{staticClass:"font-weight-bold"},[t._v("Added Hovercards to usernames on timelines")])])]),t._v(" "),n("div",{staticClass:"mt-4 pb-3"},[n("p",{staticClass:"lead"},[t._v("Jan 9, 2022")]),t._v(" "),n("ul",[n("li",{staticClass:"font-weight-bold"},[t._v("Improved search bar, now resolves (and imports) remote accounts and posts, including webfinger addresses")]),t._v(" "),n("li",[t._v("Added full account usernames to notifications on hover")]),t._v(" "),n("li",[t._v("Discover page will default to the Yearly tab if Daily tab is empty")]),t._v(" "),n("li",[t._v("Hashtag feed improvements (fix pagination placeholders, use 4x4 grid on larger screens)")])])]),t._v(" "),n("div",{staticClass:"pb-3"},[n("p",{staticClass:"lead"},[t._v("Jan 8, 2022")]),t._v(" "),n("ul",[n("li",{staticClass:"font-weight-bold"},[t._v("New report modal for posts & comments")]),t._v(" "),n("li",[t._v("Fixed profile "),n("i",{staticClass:"far fa-bars px-1"}),t._v(" feed status interactions")]),t._v(" "),n("li",[t._v("Improved profile mobile layout")])])]),t._v(" "),n("div",{staticClass:"pb-3"},[n("p",{staticClass:"lead"},[t._v("Older")]),t._v(" "),n("p",[t._v("To view the full list of changes, view the project changelog "),n("a",{attrs:{href:"https://raw.githubusercontent.com/pixelfed/pixelfed/dev/CHANGELOG.md"}},[t._v("here")]),t._v(".")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-3"},[e("div",{staticClass:"alert alert-primary"},[e("p",{staticClass:"mb-0 small"},[this._v("We know some of our UI changes are controversial. We value your feedback and are working hard to incorporate it. Your patience is greatly appreciated!")])])])}],!1,null,null,null).exports;function wr(t){return(wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n("8FsP"),window.Vue=n("XuX8"),window.pftxt=n("OtPv"),window.filesize=n("SdWe"),window._=n("LvDl"),window.Popper=n("8L3F").default,window.pixelfed=window.pixelfed||{},window.$=window.jQuery=n("EVdn"),n("SYky"),window.axios=n("vDqi"),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",n("KGuw"),window.blurhash=n("tz93"),$('[data-toggle="tooltip"]').tooltip();var _r=document.head.querySelector('meta[name="csrf-token"]');_r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=_r.content:console.error("CSRF token not found."),Vue.use(qt),Vue.use(Yt.a),Vue.use(re.a),Vue.use(ie.a),Vue.use(Kt.a),Vue.use(Zt.a),Vue.use(te.a),Vue.use(ae.a),Vue.use(tn),Vue.use(ee.a,{name:"Timeago",locale:"en"}),Vue.component("navbar",n("HPPE").default),Vue.component("notification-card",n("x6yo").default),Vue.component("photo-presenter",n("d+I4").default),Vue.component("video-presenter",n("2Jpm").default),Vue.component("photo-album-presenter",n("Mrqh").default),Vue.component("video-album-presenter",n("9wGH").default),Vue.component("mixed-album-presenter",n("exej").default),Vue.component("post-menu",n("yric").default),Vue.component("announcements-card",n("hoKv").default),Vue.component("story-component",n("oDnJ").default);var xr=new qt({mode:"history",linkActiveClass:"active",routes:[{path:"/i/web/timeline/:scope",name:"timeline",component:ri,props:!0},{path:"/i/web/post/:id",name:"post",component:gi,props:!0},{path:"/i/web/profile/:id",name:"profile",component:zi,props:!0},{path:"/i/web/discover",component:Wi},{path:"/i/web/settings/*",component:Ko,props:!0},{path:"/i/web/settings",component:Ko},{path:"/i/web/compose",component:hi},{path:"/i/web/notifications",component:Ji},{path:"/i/web/direct",component:Qi},{path:"/i/web/kb/:id",name:"kb",component:nr,props:!0},{path:"/i/web/hashtag/:id",name:"hashtag",component:sr,props:!0},{path:"/i/web/help",component:tr},{path:"/i/web/about",component:cr},{path:"/i/web/contact",component:dr},{path:"/i/web/language",component:hr},{path:"/i/web/privacy",component:mr},{path:"/i/web/terms",component:gr},{path:"/i/web/whats-new",component:yr},{path:"/i/web",component:ri,props:!0},{path:"/i/web/*",component:Zo,props:!0}],scrollBehavior:function(t,e,n){return t.hash?{selector:"[id='".concat(t.hash.slice(1),"']")}:{x:0,y:0}}});function Cr(t,e){var n="pf_m2s."+t,i=window.localStorage;if(i.getItem(n)){var o=i.getItem(n);return"pl"===t?o:["true",!0].includes(o)}return e}var kr=new Yt.a.Store({state:{version:1,hideCounts:Cr("hc",!1),autoloadComments:Cr("ac",!0),newReactions:Cr("nr",!0),fixedHeight:Cr("fh",!1),profileLayout:Cr("pl","grid"),relationships:{},emoji:[]},getters:{getVersion:function(t){return t.version},getHideCounts:function(t){return t.hideCounts},getAutoloadComments:function(t){return t.autoloadComments},getNewReactions:function(t){return t.newReactions},getFixedHeight:function(t){return t.fixedHeight},getProfileLayout:function(t){return t.profileLayout},getRelationship:function(t){return function(e){return t.relationships[e]}},getCustomEmoji:function(t){return t.emoji}},mutations:{setVersion:function(t,e){t.version=e},setHideCounts:function(t,e){localStorage.setItem("pf_m2s.hc",e),t.hideCounts=e},setAutoloadComments:function(t,e){localStorage.setItem("pf_m2s.ac",e),t.autoloadComments=e},setNewReactions:function(t,e){localStorage.setItem("pf_m2s.nr",e),t.newReactions=e},setFixedHeight:function(t,e){localStorage.setItem("pf_m2s.fh",e),t.fixedHeight=e},setProfileLayout:function(t,e){localStorage.setItem("pf_m2s.pl",e),t.profileLayout=e},updateRelationship:function(t,e){e.forEach((function(e){Vue.set(t.relationships,e.id,e)}))},updateCustomEmoji:function(t,e){t.emoji=e}}}),Or={en:n("aEEs"),ar:n("9hc6"),ca:n("R6kn"),de:n("7XJY"),el:n("jLy2"),es:n("LFid"),fr:n("2w22"),he:n("EE95"),id:n("xiyC"),it:n("CTQT"),nl:n("kqAL"),pt:n("lrxJ"),ru:n("D9/W")},Sr=new tn({locale:document.querySelector("html").getAttribute("lang"),fallbackLocale:"en",messages:Or});Object(Xt.sync)(kr,xr);new Vue({el:"#content",i18n:Sr,router:xr,store:kr});axios.get("/api/v1/custom_emojis").then((function(t){t&&t.data&&t.data.length&&kr.commit("updateCustomEmoji",t.data)})),pixelfed.readmore=function(){$(".read-more").each((function(t,e){var n=$(this),i=n.attr("data-readmore");"undefined"!==wr(i)&&!1!==i||n.readmore({collapsedHeight:45,heightMargin:48,moreLink:'<a href="#" class="d-block small font-weight-bold text-dark text-center">Show more</a>',lessLink:'<a href="#" class="d-block small font-weight-bold text-dark text-center">Show less</a>'})}))};try{document.createEvent("TouchEvent"),$("body").addClass("touch")}catch(t){}window.App=window.App||{},window.App.util={compose:{post:function(){var t=window.location.pathname;["/","/timeline/public"].includes(t)?$("#composeModal").modal("show"):window.location.href="/?a=co"},circle:function(){console.log("Unsupported method.")},collection:function(){console.log("Unsupported method.")},loop:function(){console.log("Unsupported method.")},story:function(){console.log("Unsupported method.")}},time:function(){return new Date},version:1,format:{count:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return t<1?0:new Intl.NumberFormat(e,{notation:n,compactDisplay:"short"}).format(t)},timeAgo:function(t){var e=Date.parse(t),n=Math.floor((new Date-e)/1e3),i=Math.floor(n/63072e3);return i<0?"0s":i>=1?i+"y":(i=Math.floor(n/604800))>=1?i+"w":(i=Math.floor(n/86400))>=1?i+"d":(i=Math.floor(n/3600))>=1?i+"h":(i=Math.floor(n/60))>=1?i+"m":Math.floor(n)+"s"},timeAhead:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Date.parse(t),i=n-Date.parse(new Date),o=Math.floor(i/1e3),r=Math.floor(o/63072e3);return r>=1?r+(e?"y":" years"):(r=Math.floor(o/604800))>=1?r+(e?"w":" weeks"):(r=Math.floor(o/86400))>=1?r+(e?"d":" days"):(r=Math.floor(o/3600))>=1?r+(e?"h":" hours"):(r=Math.floor(o/60))>=1?r+(e?"m":" minutes"):Math.floor(o)+(e?"s":" seconds")},rewriteLinks:function(t){var e=t.innerText;return t.href.startsWith(window.location.origin)?t.href:e=1==e.startsWith("#")?"/discover/tags/"+e.substr(1)+"?src=rph":1==e.startsWith("@")?"/"+t.innerText+"?src=rpp":"/i/redirect?url="+encodeURIComponent(e)}},filters:[["1977","filter-1977"],["Aden","filter-aden"],["Amaro","filter-amaro"],["Ashby","filter-ashby"],["Brannan","filter-brannan"],["Brooklyn","filter-brooklyn"],["Charmes","filter-charmes"],["Clarendon","filter-clarendon"],["Crema","filter-crema"],["Dogpatch","filter-dogpatch"],["Earlybird","filter-earlybird"],["Gingham","filter-gingham"],["Ginza","filter-ginza"],["Hefe","filter-hefe"],["Helena","filter-helena"],["Hudson","filter-hudson"],["Inkwell","filter-inkwell"],["Kelvin","filter-kelvin"],["Kuno","filter-juno"],["Lark","filter-lark"],["Lo-Fi","filter-lofi"],["Ludwig","filter-ludwig"],["Maven","filter-maven"],["Mayfair","filter-mayfair"],["Moon","filter-moon"],["Nashville","filter-nashville"],["Perpetua","filter-perpetua"],["Poprocket","filter-poprocket"],["Reyes","filter-reyes"],["Rise","filter-rise"],["Sierra","filter-sierra"],["Skyline","filter-skyline"],["Slumber","filter-slumber"],["Stinson","filter-stinson"],["Sutro","filter-sutro"],["Toaster","filter-toaster"],["Valencia","filter-valencia"],["Vesper","filter-vesper"],["Walden","filter-walden"],["Willow","filter-willow"],["X-Pro II","filter-xpro-ii"]],filterCss:{"filter-1977":"sepia(.5) hue-rotate(-30deg) saturate(1.4)","filter-aden":"sepia(.2) brightness(1.15) saturate(1.4)","filter-amaro":"sepia(.35) contrast(1.1) brightness(1.2) saturate(1.3)","filter-ashby":"sepia(.5) contrast(1.2) saturate(1.8)","filter-brannan":"sepia(.4) contrast(1.25) brightness(1.1) saturate(.9) hue-rotate(-2deg)","filter-brooklyn":"sepia(.25) contrast(1.25) brightness(1.25) hue-rotate(5deg)","filter-charmes":"sepia(.25) contrast(1.25) brightness(1.25) saturate(1.35) hue-rotate(-5deg)","filter-clarendon":"sepia(.15) contrast(1.25) brightness(1.25) hue-rotate(5deg)","filter-crema":"sepia(.5) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-2deg)","filter-dogpatch":"sepia(.35) saturate(1.1) contrast(1.5)","filter-earlybird":"sepia(.25) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-5deg)","filter-gingham":"contrast(1.1) brightness(1.1)","filter-ginza":"sepia(.25) contrast(1.15) brightness(1.2) saturate(1.35) hue-rotate(-5deg)","filter-hefe":"sepia(.4) contrast(1.5) brightness(1.2) saturate(1.4) hue-rotate(-10deg)","filter-helena":"sepia(.5) contrast(1.05) brightness(1.05) saturate(1.35)","filter-hudson":"sepia(.25) contrast(1.2) brightness(1.2) saturate(1.05) hue-rotate(-15deg)","filter-inkwell":"brightness(1.25) contrast(.85) grayscale(1)","filter-kelvin":"sepia(.15) contrast(1.5) brightness(1.1) hue-rotate(-10deg)","filter-juno":"sepia(.35) contrast(1.15) brightness(1.15) saturate(1.8)","filter-lark":"sepia(.25) contrast(1.2) brightness(1.3) saturate(1.25)","filter-lofi":"saturate(1.1) contrast(1.5)","filter-ludwig":"sepia(.25) contrast(1.05) brightness(1.05) saturate(2)","filter-maven":"sepia(.35) contrast(1.05) brightness(1.05) saturate(1.75)","filter-mayfair":"contrast(1.1) brightness(1.15) saturate(1.1)","filter-moon":"brightness(1.4) contrast(.95) saturate(0) sepia(.35)","filter-nashville":"sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)","filter-perpetua":"contrast(1.1) brightness(1.25) saturate(1.1)","filter-poprocket":"sepia(.15) brightness(1.2)","filter-reyes":"sepia(.75) contrast(.75) brightness(1.25) saturate(1.4)","filter-rise":"sepia(.25) contrast(1.25) brightness(1.2) saturate(.9)","filter-sierra":"sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)","filter-skyline":"sepia(.15) contrast(1.25) brightness(1.25) saturate(1.2)","filter-slumber":"sepia(.35) contrast(1.25) saturate(1.25)","filter-stinson":"sepia(.35) contrast(1.25) brightness(1.1) saturate(1.25)","filter-sutro":"sepia(.4) contrast(1.2) brightness(.9) saturate(1.4) hue-rotate(-10deg)","filter-toaster":"sepia(.25) contrast(1.5) brightness(.95) hue-rotate(-15deg)","filter-valencia":"sepia(.25) contrast(1.1) brightness(1.1)","filter-vesper":"sepia(.35) contrast(1.15) brightness(1.2) saturate(1.3)","filter-walden":"sepia(.35) contrast(.8) brightness(1.25) saturate(1.4)","filter-willow":"brightness(1.2) contrast(.85) saturate(.05) sepia(.2)","filter-xpro-ii":"sepia(.45) contrast(1.25) brightness(1.75) saturate(1.3) hue-rotate(-5deg)"},emoji:["😂","💯","❤️","🙌","👏","👌","😍","😯","😢","😅","😁","🙂","😎","😀","🤣","😃","😄","😆","😉","😊","😋","😘","😗","😙","😚","🤗","🤩","🤔","🤨","😐","😑","😶","🙄","😏","😣","😥","😮","🤐","😪","😫","😴","😌","😛","😜","😝","🤤","😒","😓","😔","😕","🙃","🤑","😲","🙁","😖","😞","😟","😤","😭","😦","😧","😨","😩","🤯","😬","😰","😱","😳","🤪","😵","😡","😠","🤬","😷","🤒","🤕","🤢","🤮","🤧","😇","🤠","🤡","🤥","🤫","🤭","🧐","🤓","😈","👿","👹","👺","💀","👻","👽","🤖","💩","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🤲","👐","🤝","👍","👎","👊","✊","🤛","🤜","🤞","✌️","🤟","🤘","👈","👉","👆","👇","☝️","✋","🤚","🖐","🖖","👋","🤙","💪","🖕","✍️","🙏","💍","💄","💋","👄","👅","👂","👃","👣","👁","👀","🧠","🗣","👤","👥"],embed:{post:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"full",o=t+"/embed?";return o+=e?"caption=true&":"caption=false&",o+=n?"likes=true&":"likes=false&",'<iframe src="'+(o+="compact"==i?"layout=compact":"layout=full")+'" class="pixelfed__embed" style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe><script async defer src="'+window.location.origin+'/embed.js"><\/script>'},profile:function(t){return'<iframe src="'+(t+"/embed")+'" class="pixelfed__embed" style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe><script async defer src="'+window.location.origin+'/embed.js"><\/script>'}},clipboard:function(t){return navigator.clipboard.writeText(t)},navatar:function(){$("#navbarDropdown .far").addClass("d-none"),$("#navbarDropdown img").attr("src",window._sharedData.curUser.avatar).removeClass("d-none").addClass("rounded-circle border shadow").attr("width",34).attr("height",34)}};console.log("%cStop!","color:red; font-size:60px; font-weight: bold; -webkit-text-stroke: 1px black;"),console.log('%cThis is a browser feature intended for developers. If someone told you to copy and paste something here to enable a Pixelfed feature or "hack" someone\'s account, it is a scam and will give them access to your Pixelfed account.',"font-size: 18px;")},fjH8:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return r}));const i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],o=t=>{let e=0;for(let n=0;n<t.length;n++){const o=t[n];e=83*e+i.indexOf(o)}return e},r=(t,e)=>{var n="";for(let o=1;o<=e;o++){let r=Math.floor(t)/Math.pow(83,e-o)%83;n+=i[Math.floor(r)]}return n}},fy4t:function(t,e,n){"use strict";n("8fqW")},gLZq:function(t,e,n){var i=n("S3hQ");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},guyj:function(t,e,n){var i=n("vpVj");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},hgvk:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-preferences-component .form-check[data-v-f2cce966] {\n margin-left: 1rem;\n}\n.account-preferences-component .form-check .media-body[data-v-f2cce966] {\n margin-left: 1rem;\n}\n.account-preferences-component .col-form-label.changed[data-v-f2cce966],\n.account-preferences-component .form-check-label.changed[data-v-f2cce966] {\n color: #EF4444;\n}\n.account-preferences-component .nav-link[data-v-f2cce966] {\n color: #B8C2CC;\n font-size: 12px;\n font-weight: 600;\n}\n.account-preferences-component .nav-link.active[data-v-f2cce966] {\n color: #000;\n}",""])},"hoI+":function(t,e,n){"use strict";var i=n("YlT8"),o=n.n(i),r=function(t,e,n){var i=n.includeSeconds,r=n.addSuffix;return void 0===r&&(r=!0),o()(t,{locale:e,includeSeconds:i,addSuffix:r})};e.a=function(t,e){if(!t.prototype.$timeago){0;var n={locale:e.locale};t.prototype.$timeago=t.observable?t.observable(n):new t({data:n});var i=function(t){void 0===t&&(t={});var e=t.locales||{};return{name:t.name||"Timeago",props:{datetime:{required:!0},title:{type:[String,Boolean]},locale:{type:String},autoUpdate:{type:[Number,Boolean]},converter:{type:Function},converterOptions:{type:Object}},data:function(){return{timeago:this.getTimeago()}},computed:{localeName:function(){return this.locale||this.$timeago.locale}},mounted:function(){this.startUpdater()},beforeDestroy:function(){this.stopUpdater()},render:function(t){return t("time",{attrs:{datetime:new Date(this.datetime).toISOString(),title:"string"==typeof this.title?this.title:!1===this.title?null:this.timeago}},[this.timeago])},methods:{getTimeago:function(n){return(this.converter||t.converter||r)(n||this.datetime,e[this.locale||this.$timeago.locale],this.converterOptions||{})},convert:function(t){this.timeago=this.getTimeago(t)},startUpdater:function(){var t=this;if(this.autoUpdate){var e=!0===this.autoUpdate?60:this.autoUpdate;this.updater=setInterval((function(){t.convert()}),1e3*e)}},stopUpdater:function(){this.updater&&(clearInterval(this.updater),this.updater=null)}},watch:{autoUpdate:function(t){this.stopUpdater(),t&&this.startUpdater()},datetime:function(){this.convert()},localeName:function(){this.convert()},converter:function(){this.convert()},converterOptions:{handler:function(){this.convert()},deep:!0}}}}(e);t.component(i.name,i)}}},hoKv:function(t,e,n){"use strict";n.r(e);var i={data:function(){return{announcements:[],announcement:{},cursor:0,showNext:!0,showPrev:!1}},mounted:function(){this.fetchAnnouncements()},updated:function(){$('[data-toggle="tooltip"]').tooltip()},methods:{fetchAnnouncements:function(){var t=this,e=JSON.parse(window.localStorage.getItem("metro-tips-closed"));axios.get("/api/pixelfed/v1/newsroom/timeline").then((function(n){t.announcements=n.data.filter((function(t){return!e||-1==e.indexOf(t.id)})),t.announcement=t.announcements[0],1==t.announcements.length&&(t.showNext=!1)}))},loadNext:function(){this.showNext&&(this.cursor+=1,this.announcement=this.announcements[this.cursor],this.cursor+1==this.announcements.length&&(this.showNext=!1),this.cursor>=1&&(this.showPrev=!0))},loadPrev:function(){this.showPrev&&(this.cursor-=1,this.announcement=this.announcements[this.cursor],0==this.cursor&&(this.showPrev=!1),this.cursor<this.announcements.length&&(this.showNext=!0))},closeNewsroomPost:function(t,e){var n="metro-tips-closed",i=[],o=window.localStorage.getItem(n);o&&(i=JSON.parse(o)),i.push(t),window.localStorage.setItem(n,JSON.stringify(i)),this.newsroomPosts=this.newsroomPosts.filter((function(e){return e.id!==t})),0==this.newsroomPosts.length?this.showTips=!1:this.newsroomPost=[this.newsroomPosts[0]]},close:function(){window.localStorage.setItem("metro-tips",!1),this.$emit("show-tips",!1)},markAsRead:function(){var t=this;axios.post("/api/pixelfed/v1/newsroom/markasread",{id:this.announcement.id}).then((function(e){var n=t.cursor;t.announcements.splice(n,1),t.announcement=t.announcements[0],t.cursor=0,t.showPrev=!1,t.showNext=t.announcements.length>1})).catch((function(t){swal("Oops, Something went wrong","There was a problem with your request, please try again later.","error")}))}}},o=(n("t+jv"),n("KHd+")),r=Object(o.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("transition",{attrs:{name:"fade"}},[t.announcements.length?n("div",{staticClass:"card border shadow-none mb-3"},[n("div",{staticClass:"card-header text-muted bg-white"},[n("i",{staticClass:"fas fa-bullhorn mr-2"}),t._v(" "),n("span",{staticClass:"text-weight-light"},[t._v("ANNOUNCEMENTS")]),t._v(" "),n("span",{staticClass:"float-right cursor-pointer",attrs:{title:"Close"},on:{click:t.close}},[n("i",{staticClass:"fas fa-times text-lighter"})])]),t._v(" "),n("div",{staticClass:"card-body"},[n("div",{staticClass:"card-title mb-0"},[n("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.announcement.title))])]),t._v(" "),n("p",{staticClass:"card-text"},[n("span",{staticStyle:{"font-size":"13px"}},[t._v(t._s(t.announcement.summary))])]),t._v(" "),n("p",{staticClass:"d-flex align-items-center justify-content-between mb-0"},[t.announcement.url?n("a",{staticClass:"small font-weight-bold mb-0",attrs:{href:t.announcement.url}},[t._v("Read more")]):n("span"),t._v(" "),n("span",[n("span",{class:[t.showPrev?"btn btn-outline-secondary btn-sm py-0":"btn btn-outline-secondary btn-sm py-0 disabled"],attrs:{disabled:0==t.showPrev},on:{click:function(e){return t.loadPrev()}}},[n("i",{staticClass:"fas fa-chevron-left fa-sm"})]),t._v(" "),n("span",{staticClass:"btn btn-outline-success btn-sm py-0 mx-1",attrs:{title:"Mark as Read","data-toggle":"tooltip","data-placement":"bottom"},on:{click:function(e){return t.markAsRead()}}},[n("i",{staticClass:"fas fa-check fa-sm"})]),t._v(" "),n("span",{class:[t.showNext?"btn btn-outline-secondary btn-sm py-0":"btn btn-outline-secondary btn-sm py-0 disabled"],attrs:{disabled:0==t.showNext},on:{click:function(e){return t.loadNext()}}},[n("i",{staticClass:"fas fa-chevron-right fa-sm"})])])])])]):t._e()])],1)}),[],!1,null,"267be4b0",null);e.default=r.exports},hvct:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".card[data-v-c1448eda] {\n height: 122px;\n}\n.ring[data-v-c1448eda] {\n display: block;\n width: 66px;\n height: 66px;\n border-radius: 50%;\n padding: 3px;\n background: radial-gradient(ellipse at 70% 70%, #ee583f 8%, #d92d77 42%, #bd3381 58%);\n}\n.ring.remote[data-v-c1448eda] {\n background: radial-gradient(ellipse at 70% 70%, #f64f59 8%, #c471ed 42%, #12c2e9 58%);\n}\n.ring.not-seen[data-v-c1448eda] {\n opacity: 0.55;\n background: #ccc;\n}\n.ring img[data-v-c1448eda] {\n background: #fff;\n padding: 3px;\n}\n.ring.new[data-v-c1448eda] {\n background: none;\n width: 70px;\n height: 70px;\n border: dashed 4px #d92d77;\n}\n.ring.new img[data-v-c1448eda] {\n width: 56px;\n height: 56px;\n}\n.scrolly[data-v-c1448eda] {\n -ms-overflow-style: none;\n scrollbar-width: none;\n overflow-y: scroll;\n}\n.scrolly[data-v-c1448eda]::-webkit-scrollbar {\n display: none;\n}",""])},i190:function(t,e,n){"use strict";n("okNv")},i3gq:function(t,e,n){var i=n("0ox+");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},iKvg:function(t,e,n){var i=n("x784");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},iTP3:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-import-component .form-check[data-v-b4f0f8f6] {\n margin-left: 1rem;\n}\n.account-import-component .form-check .media-body[data-v-b4f0f8f6] {\n margin-left: 1rem;\n}",""])},iavZ:function(t,e,n){var i=n("LpiV");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},is8k:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".feed-media-container .blurhash-wrapper img {\n border-radius: 15px;\n max-height: 400px;\n -o-object-fit: contain;\n object-fit: contain;\n background-color: #000;\n}\n.feed-media-container .blurhash-wrapper canvas {\n border-radius: 15px;\n max-height: 400px;\n}\n.feed-media-container .content-label-wrapper {\n position: relative;\n}\n.feed-media-container .content-label {\n margin: 0;\n position: absolute;\n top: 0;\n left: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 400px;\n z-index: 2;\n border-radius: 15px;\n background: rgba(0, 0, 0, 0.2);\n}",""])},j9ok:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-blocked-component .form-check[data-v-6117ef26] {\n margin-left: 1rem;\n}\n.account-blocked-component .form-check .media-body[data-v-6117ef26] {\n margin-left: 1rem;\n}\n.account-blocked-component .nav-link[data-v-6117ef26] {\n color: #B8C2CC;\n font-size: 12px;\n font-weight: 600;\n text-transform: uppercase;\n}\n.account-blocked-component .nav-link.active[data-v-6117ef26] {\n color: #000;\n}",""])},jLy2:function(t){t.exports=JSON.parse('{"common":{"comment":"Σχόλιο","commented":"Σχολιασμένο","comments":"Σχόλια","like":"Μου αρέσει","liked":"Μου άρεσε","likes":"Αρέσει","share":"Κοινοποίηση","shared":"Κοινοποιήθηκε","shares":"Κοινοποιήσεις","unshare":"Αναίρεση κοινοποίησης","cancel":"Ακύρωση","copyLink":"Αντιγραφή Συνδέσμου","delete":"Διαγραφή","error":"Σφάλμα","errorMsg":"Κάτι πήγε στραβά. Παρακαλώ δοκιμάστε αργότερα.","oops":"Ουπς!","other":"Άλλο","readMore":"Διαβάστε περισσότερα","success":"Επιτυχής","sensitive":"Ευαίσθητο","sensitiveContent":"Ευαίσθητο περιεχόμενο","sensitiveContentWarning":"Αυτή η δημοσίευση μπορεί να περιέχει ευαίσθητο περιεχόμενο"},"site":{"terms":"Όροι Χρήσης","privacy":"Πολιτική Απορρήτου"},"navmenu":{"search":"Αναζήτηση","admin":"Πίνακας εργαλείων διαχειριστή","homeFeed":"Αρχική ροή","localFeed":"Τοπική Ροή","globalFeed":"Ομοσπονδιακή Ροή","discover":"Ανακαλύψτε","directMessages":"Προσωπικά Μηνύματα","notifications":"Ειδοποιήσεις","groups":"Ομάδες","stories":"Ιστορίες","profile":"Προφίλ","drive":"Χώρος αποθήκευσης","settings":"Ρυθμίσεις","compose":"Δημιουργία νέου","logout":"Αποσύνδεση","about":"Σχετικά με","help":"Βοήθεια","language":"Γλώσσα","privacy":"Ιδιωτικότητα","terms":"Όροι","backToPreviousDesign":"Go back to previous design"},"directMessages":{"inbox":"Εισερχόμενα","sent":"Απεσταλμένο","requests":"Αιτήματα"},"notifications":{"liked":"επισήμανε ότι του αρέσει το","commented":"σχολίασε στο","reacted":"αντέδρασε στο {item} σας","shared":"κοινοποίησε το {item} σας","tagged":"σας πρόσθεσε με ετικέτα σε μια δημοσίευση","updatedA":"ενημέρωσε ένα","sentA":"έστειλε ένα","followed":"followed","mentioned":"αναφέρθηκε","you":"εσύ","yourApplication":"Η αίτησή σας για συμμετοχή","applicationApproved":"εγκρίθηκε!","applicationRejected":"απορρίφθηκε. Μπορείτε να κάνετε εκ νέου αίτηση για να συμμετάσχετε σε 6 μήνες.","dm":"πμ","groupPost":"ομαδική δημοσίευση","modlog":"modlog","post":"δημοσίευση","story":"ιστορία"},"post":{"shareToFollowers":"Μοιραστείτε με τους ακόλουθους","shareToOther":"Share to other","noLikes":"Δεν υπάρχουν likes ακόμα","uploading":"Μεταφόρτωση"},"profile":{"posts":"Δημοσιεύσεις","followers":"Ακόλουθοι","following":"Ακολουθεί","admin":"Διαχειριστής","collections":"Συλλογές","follow":"Ακολούθησε","unfollow":"Διακοπή παρακολούθησης","editProfile":"Επεξεργασία Προφίλ","followRequested":"Ακολουθήστε Το Αίτημα","joined":"Joined","emptyCollections":"Δεν μπορούμε να βρούμε συλλογές","emptyPosts":"Δεν μπορούμε να βρούμε δημοσιεύσεις"},"menu":{"viewPost":"Προβολη Δημοσίευσης","viewProfile":"Προβολή Προφίλ","moderationTools":"Εργαλεία Συντονισμού","report":"Αναφορά","archive":"Αρχειοθέτηση","unarchive":"Αναίρεση αρχειοθέτησης","embed":"Ενσωμάτωση","selectOneOption":"Επιλέξτε μία από τις ακόλουθες επιλογές","unlistFromTimelines":"Unlist from Timelines","addCW":"Προσθήκη Προειδοποίησης Περιεχομένου","removeCW":"Αφαίρεση Προειδοποίησης Περιεχομένου","markAsSpammer":"Σήμανση ως Spammer","markAsSpammerText":"Unlist + CW existing and future posts","spam":"Ανεπιθύμητα","sensitive":"Ευαίσθητο περιεχόμενο","abusive":"Καταχρηστικό ή επιβλαβές","underageAccount":"Λογαριασμός ανηλίκου","copyrightInfringement":"Παραβίαση πνευματικών δικαιωμάτων","impersonation":"Impersonation","scamOrFraud":"Ανεπιθύμητο ή απάτη","confirmReport":"Επιβεβαίωση Αναφοράς","confirmReportText":"Είστε βέβαιοι ότι θέλετε να αναφέρετε αυτή την ανάρτηση;","reportSent":"Η Αναφορά Στάλθηκε!","reportSentText":"Έχουμε λάβει με επιτυχία την αναφορά σας.","reportSentError":"Παρουσιάστηκε ένα πρόβλημα κατά την αναφορά της ανάρτησης.","modAddCWConfirm":"Είστε βέβαιοι ότι θέλετε να προσθέσετε μια προειδοποίηση περιεχομένου σε αυτή την ανάρτηση;","modCWSuccess":"Επιτυχής προσθήκη προειδοποίησης περιεχομένου","modRemoveCWConfirm":"Είστε βέβαιοι ότι θέλετε να αφαιρέσετε την προειδοποίηση περιεχομένου σε αυτή την ανάρτηση;","modRemoveCWSuccess":"Επιτυχής αφαίρεση προειδοποίησης περιεχομένου","modUnlistConfirm":"Are you sure you want to unlist this post?","modUnlistSuccess":"Successfully unlisted post","modMarkAsSpammerConfirm":"Είστε βέβαιοι ότι θέλετε να επισημάνετε αυτόν τον χρήστη ως spammer? Όλες οι υπάρχουσες και μελλοντικές δημοσιεύσεις δεν θα καταχωρούνται στα χρονοδιαγράμματα και θα εφαρμόζεται προειδοποίηση περιεχομένου.","modMarkAsSpammerSuccess":"Επιτυχής σήμανση λογαριασμού ως spammer","toFollowers":"στους Ακόλουθους","showCaption":"Show Caption","showLikes":"Εμφάνιση \\"μου αρέσει\\"","compactMode":"Συμπαγής Λειτουργία","embedConfirmText":"Χρησιμοποιώντας αυτό το ενσωματωμένο, συμφωνείτε με την","deletePostConfirm":"Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτήν την ανάρτηση;","archivePostConfirm":"Είστε βέβαιοι ότι θέλετε να αρχειοθετήσετε αυτή την ανάρτηση;","unarchivePostConfirm":"Είστε βέβαιοι ότι θέλετε να αφαιρέσετε αυτήν την ανάρτηση απο την αρχειοθήκη;"},"story":{"add":"Προσθήκη Ιστορίας"},"timeline":{"peopleYouMayKnow":"Άτομα που μπορεί να ξέρετε"},"hashtags":{"emptyFeed":"Δεν μπορούμε να βρούμε δημοσιεύσεις για αυτό το hashtag"}}')},k3j7:function(t,e,n){"use strict";n("ActF")},k40M:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return o}));var i=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=void 0!==t&&t&&t.env||{};return e?i[e]||n:i},o=function(){return i("BOOTSTRAP_VUE_NO_WARN")||"production"===i("NODE_ENV")}}).call(this,n("8oxB"))},kGIl:function(t,e,n){"undefined"!=typeof self&&self,t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){},function(t,e,n){"use strict";n.r(e);var i="undefined"!=typeof window?window.HTMLElement:Object,o={mounted:function(){this.enforceFocus&&document.addEventListener("focusin",this.focusIn)},methods:{focusIn:function(t){if(this.isActive&&t.target!==this.$el&&!this.$el.contains(t.target)){var e=this.container?this.container:this.isFullPage?null:this.$el.parentElement;(this.isFullPage||e&&e.contains(t.target))&&(t.preventDefault(),this.$el.focus())}}},beforeDestroy:function(){document.removeEventListener("focusin",this.focusIn)}};function r(t,e,n,i,o,r,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}var a=r({name:"spinner",props:{color:{type:String,default:"#000"},height:{type:Number,default:64},width:{type:Number,default:64}}},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,stroke:this.color}},[e("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[e("g",{attrs:{transform:"translate(1 1)","stroke-width":"2"}},[e("circle",{attrs:{"stroke-opacity":".25",cx:"18",cy:"18",r:"18"}}),e("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.8s",repeatCount:"indefinite"}})],1)])])])}),[],!1,null,null,null).exports,s=r({name:"dots",props:{color:{type:String,default:"#000"},height:{type:Number,default:240},width:{type:Number,default:60}}},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:this.color,width:this.width,height:this.height}},[e("circle",{attrs:{cx:"15",cy:"15",r:"15"}},[e("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"60",cy:"15",r:"9","fill-opacity":"0.3"}},[e("animate",{attrs:{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"105",cy:"15",r:"15"}},[e("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})])])}),[],!1,null,null,null).exports,l=r({name:"bars",props:{color:{type:String,default:"#000"},height:{type:Number,default:40},width:{type:Number,default:40}}},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",height:this.height,width:this.width,fill:this.color}},[e("rect",{attrs:{x:"0",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}})]),e("rect",{attrs:{x:"10",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}})]),e("rect",{attrs:{x:"20",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}})])])}),[],!1,null,null,null).exports,c=r({name:"vue-loading",mixins:[o],props:{active:Boolean,programmatic:Boolean,container:[Object,Function,i],isFullPage:{type:Boolean,default:!0},enforceFocus:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!1},transition:{type:String,default:"fade"},canCancel:Boolean,onCancel:{type:Function,default:function(){}},color:String,backgroundColor:String,blur:{type:String,default:"2px"},opacity:Number,width:Number,height:Number,zIndex:Number,loader:{type:String,default:"spinner"}},data:function(){return{isActive:this.active}},components:{Spinner:a,Dots:s,Bars:l},beforeMount:function(){this.programmatic&&(this.container?(this.isFullPage=!1,this.container.appendChild(this.$el)):document.body.appendChild(this.$el))},mounted:function(){this.programmatic&&(this.isActive=!0),document.addEventListener("keyup",this.keyPress)},methods:{cancel:function(){this.canCancel&&this.isActive&&(this.hide(),this.onCancel.apply(null,arguments))},hide:function(){var t=this;this.$emit("hide"),this.$emit("update:active",!1),this.programmatic&&(this.isActive=!1,setTimeout((function(){var e;t.$destroy(),void 0!==(e=t.$el).remove?e.remove():e.parentNode.removeChild(e)}),150))},disableScroll:function(){this.isFullPage&&this.lockScroll&&document.body.classList.add("vld-shown")},enableScroll:function(){this.isFullPage&&this.lockScroll&&document.body.classList.remove("vld-shown")},keyPress:function(t){27===t.keyCode&&this.cancel()}},watch:{active:function(t){this.isActive=t},isActive:function(t){t?this.disableScroll():this.enableScroll()}},computed:{bgStyle:function(){return{background:this.backgroundColor,opacity:this.opacity,backdropFilter:"blur(".concat(this.blur,")")}}},beforeDestroy:function(){document.removeEventListener("keyup",this.keyPress)}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.transition}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"vld-overlay is-active",class:{"is-full-page":t.isFullPage},style:{zIndex:t.zIndex},attrs:{tabindex:"0","aria-busy":t.isActive,"aria-label":"Loading"}},[n("div",{staticClass:"vld-background",style:t.bgStyle,on:{click:function(e){return e.preventDefault(),t.cancel(e)}}}),n("div",{staticClass:"vld-icon"},[t._t("before"),t._t("default",[n(t.loader,{tag:"component",attrs:{color:t.color,width:t.width,height:t.height}})]),t._t("after")],2)])])}),[],!1,null,null,null).exports,u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{show:function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r={programmatic:!0},a=Object.assign({},e,i,r),s=new(t.extend(c))({el:document.createElement("div"),propsData:a}),l=Object.assign({},n,o);return Object.keys(l).map((function(t){s.$slots[t]=l[t]})),s}}};n(0),c.install=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=u(t,e,n);t.$loading=i,t.prototype.$loading=i},e.default=c}]).default},kOWh: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 o=n.concat(e).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+o.join("|")+"|.)","g")}},kqAL:function(t){t.exports=JSON.parse('{"common":{"comment":"Reactie","commented":"Heeft gereageerd","comments":"Reacties","like":"Leuk","liked":"Leuk gevonden","likes":"Leuk gevonden","share":"Delen","shared":"Gedeeld","shares":"Gedeeld door","unshare":"Niet meer delen","cancel":"Annuleren","copyLink":"Link kopiëren","delete":"Verwijderen","error":"Fout","errorMsg":"Er is iets misgegaan. Probeer het later opnieuw.","oops":"Oeps!","other":"Anders","readMore":"Lees meer","success":"Geslaagd","sensitive":"Gevoelig","sensitiveContent":"Gevoelige inhoud","sensitiveContentWarning":"Deze post kan gevoelige inhoud bevatten"},"site":{"terms":"Gebruiksvoorwaarden","privacy":"Privacy beleid"},"navmenu":{"search":"Zoeken","admin":"Beheerdersdashboard","homeFeed":"Thuis Feed","localFeed":"Lokale Feed","globalFeed":"Globale feed","discover":"Ontdekken","directMessages":"Directe berichten","notifications":"Notificaties","groups":"Groepen","stories":"Verhalen","profile":"Profiel","drive":"Drive","settings":"Instellingen","compose":"Nieuwe aanmaken","logout":"Logout","about":"Over","help":"Hulp","language":"Taal","privacy":"Privacy","terms":"Voorwaarden","backToPreviousDesign":"Ga terug naar het vorige ontwerp"},"directMessages":{"inbox":"Inbox","sent":"Verzonden","requests":"Verzoeken"},"notifications":{"liked":"vond leuk je","commented":"reageerde op je","reacted":"heeft gereageerd op je","shared":"deelde je","tagged":"heeft je gatagged in","updatedA":"heeft bijgewerkt een","sentA":"stuurde een","followed":"volgde","mentioned":"noemde","you":"jou","yourApplication":"Uw aanvraag om toe te treden","applicationApproved":"werd goedgekeurd!","applicationRejected":"werd afgekeurd. Je kunt over 6 maanden opnieuw aanmelden.","dm":"dm","groupPost":"groepspost","modlog":"modlogboek","post":"post","story":"verhaal"},"post":{"shareToFollowers":"Deel met volgers","shareToOther":"Deel met anderen","noLikes":"Nog geen leuks","uploading":"Uploaden"},"profile":{"posts":"Posts","followers":"Volgers","following":"Aan het volgen","admin":"Beheerder","collections":"Collecties","follow":"Volgen","unfollow":"Ontvolgen","editProfile":"Profiel bewerken","followRequested":"Volgen verzocht","joined":"Lid geworden","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"Post bekijken","viewProfile":"Profiel bekijken","moderationTools":"Moderatiegereedschappen","report":"Rapporteren","archive":"Archief","unarchive":"Dearchiveren","embed":"Insluiten","selectOneOption":"Selecteer een van de volgende opties","unlistFromTimelines":"Uit tijdlijnen halen","addCW":"Inhoudswaarschuwing toevoegen","removeCW":"Inhoudswaarschuwing verwijderen","markAsSpammer":"Markeren als spammer","markAsSpammerText":"Uit lijst halen + inhoudswaarschuwing bestaande en toekomstige posts","spam":"Spam","sensitive":"Gevoelige inhoud","abusive":"Beledigend of Schadelijk","underageAccount":"Minderjarig account","copyrightInfringement":"Auteursrechtenschending","impersonation":"Impersonatie","scamOrFraud":"Oplichting of fraude","confirmReport":"Bevestig Rapport","confirmReportText":"Weet je zeker dat je deze post wilt rapporteren?","reportSent":"Rapport verzonden!","reportSentText":"We hebben uw rapport met succes ontvangen.","reportSentError":"Er is een probleem opgetreden bij het rapporteren van deze post.","modAddCWConfirm":"Weet u zeker dat u een waarschuwing voor inhoud wilt toevoegen aan deze post?","modCWSuccess":"Inhoudswaarschuwing succesvol toegevoegd","modRemoveCWConfirm":"Weet u zeker dat u de waarschuwing voor inhoud wilt verwijderen van deze post?","modRemoveCWSuccess":"Succesvol de inhoudswaarschuwing verwijderd","modUnlistConfirm":"Weet je zeker dat je deze post uit de lijst wilt halen?","modUnlistSuccess":"Post met succes uit de lijst gehaald","modMarkAsSpammerConfirm":"Weet u zeker dat u deze gebruiker wilt markeren als spammer? Alle bestaande en toekomstige posts worden niet vermeld op tijdlijnen en een waarschuwing over de inhoud zal worden toegepast.","modMarkAsSpammerSuccess":"Account succesvol gemarkeerd als spammer","toFollowers":"naar volgers","showCaption":"Onderschrift tonen","showLikes":"Leuks tonen","compactMode":"Compacte modus","embedConfirmText":"Door deze embed te gebruiken, gaat u akkoord met onze","deletePostConfirm":"Weet je zeker dat je deze post wil verwijderen?","archivePostConfirm":"Weet je zeker dat je deze post wilt archiveren?","unarchivePostConfirm":"Weet je zeker dat je deze post wilt dearchiveren?"},"story":{"add":"Verhaal toevoegen"},"timeline":{"peopleYouMayKnow":"Mensen die u misschien kent"},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"}}')},kyJc:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.card-img-top[data-v-77d48172] {\n border-top-left-radius: 0 !important;\n border-top-right-radius: 0 !important;\n}\n.content-label-wrapper[data-v-77d48172] {\n\tposition: relative;\n}\n.content-label[data-v-77d48172] {\n\tmargin: 0;\n\tposition: absolute;\n\ttop:50%;\n\tleft:50%;\n\ttransform: translate(-50%, -50%);\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\tjustify-content: center;\n\twidth: 100%;\n\theight: 100%;\n\tz-index: 2;\n\tbackground: rgba(0, 0, 0, 0.2)\n}\n",""])},la7V:function(t,e,n){"use strict";var i={tag:{type:[String],default:"div"},cols:{type:[Object,Number,String],default:2},gutter:{type:[Object,Number,String],default:0},css:{type:[Boolean],default:!0},columnTag:{type:[String],default:"div"},columnClass:{type:[String,Array,Object],default:function(){return[]}},columnAttr:{type:[Object],default:function(){return{}}}},o=function(t,e){if(parseInt(t)>-1)return t;if("object"!=typeof t)return 0;var n=1/0,i=t.default||0;for(var o in t){var r=parseInt(o),a=t[r],s=parseInt(a);if(!isNaN(r)&&!isNaN(s))e<=r&&r<n&&(n=r,i=a)}return i},r={props:i,data:function(){return{displayColumns:2,displayGutter:0}},mounted:function(){var t=this;this.$nextTick((function(){t.reCalculate()})),window&&window.addEventListener("resize",this.reCalculate)},updated:function(){var t=this;this.$nextTick((function(){t.reCalculate()}))},beforeDestroy:function(){window&&window.removeEventListener("resize",this.reCalculate)},methods:{reCalculate:function(){var t=this.windowWidth;this.windowWidth=(window?window.innerWidth:null)||1/0,t!==this.windowWidth&&(this._reCalculateColumnCount(this.windowWidth),this._reCalculateGutterSize(this.windowWidth))},_reCalculateGutterSize:function(t){this.displayGutter=o(this.gutter,t)},_reCalculateColumnCount:function(t){var e=o(this.cols,t);e=Math.max(1,Number(e)||0),this.displayColumns=e},_getChildItemsInColumnsArray:function(){var t=[],e=this.$slots.default||[];1===e.length&&e[0].componentOptions&&"transition-group"==e[0].componentOptions.tag&&(e=e[0].componentOptions.children);for(var n=0,i=0;n<e.length;n++,i++)if(e[n].tag){var o=i%this.displayColumns;t[o]||(t[o]=[]),t[o].push(e[n])}else i--;return t}},render:function(t){var e=this,n=this._getChildItemsInColumnsArray(),i=parseInt(this.displayGutter)===1*this.displayGutter?this.displayGutter+"px":this.displayGutter,o={boxSizing:"border-box",backgroundClip:"padding-box",width:100/this.displayColumns+"%",border:"0 solid transparent",borderLeftWidth:i},r=n.map((function(i,r){return t(e.columnTag,{key:r+"-"+n.length,style:e.css?o:null,class:e.columnClass,attrs:e.columnAttr},i)})),a={display:["-webkit-box","-ms-flexbox","flex"],marginLeft:"-"+i};return t(this.tag,this.css?{style:a}:null,r)}},a=function(){};a.install=function(t,e){a.installed||(e&&e.name?t.component(e.name,r):t.component("masonry",r))},"undefined"!=typeof window&&window.Vue&&window.Vue.use(a),e.a=a},"lb/t":function(t,e,n){"use strict";(function(t){function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var a=function(t,e){return t.matches?t.matches(e):t.msMatchesSelector?t.msMatchesSelector(e):t.webkitMatchesSelector?t.webkitMatchesSelector(e):null},s=function(t,e){return t.closest?t.closest(e):function(t,e){for(var n=t;n&&1===n.nodeType;){if(a(n,e))return n;n=n.parentNode}return null}(t,e)},l=function(t){return Boolean(t&&"function"==typeof t.then)},c=function t(){var e=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=o.search,a=o.autoSelect,c=void 0!==a&&a,u=o.setValue,d=void 0===u?function(){}:u,p=o.setAttribute,h=void 0===p?function(){}:p,f=o.onUpdate,m=void 0===f?function(){}:f,v=o.onSubmit,g=void 0===v?function(){}:v,b=o.onShow,y=void 0===b?function(){}:b,w=o.onHide,_=void 0===w?function(){}:w,x=o.onLoading,C=void 0===x?function(){}:x,k=o.onLoaded,O=void 0===k?function(){}:k;n(this,t),i(this,"value",""),i(this,"searchCounter",0),i(this,"results",[]),i(this,"selectedIndex",-1),i(this,"handleInput",(function(t){var n=t.target.value;e.updateResults(n),e.value=n})),i(this,"handleKeyDown",(function(t){var n=t.key;switch(n){case"Up":case"Down":case"ArrowUp":case"ArrowDown":var i="ArrowUp"===n||"Up"===n?e.selectedIndex-1:e.selectedIndex+1;t.preventDefault(),e.handleArrows(i);break;case"Tab":e.selectResult();break;case"Enter":var o=e.results[e.selectedIndex];e.selectResult(),e.onSubmit(o);break;case"Esc":case"Escape":e.hideResults(),e.setValue();break;default:return}})),i(this,"handleFocus",(function(t){var n=t.target.value;e.updateResults(n),e.value=n})),i(this,"handleBlur",(function(){e.hideResults()})),i(this,"handleResultMouseDown",(function(t){t.preventDefault()})),i(this,"handleResultClick",(function(t){var n=t.target,i=s(n,"[data-result-index]");if(i){e.selectedIndex=parseInt(i.dataset.resultIndex,10);var o=e.results[e.selectedIndex];e.selectResult(),e.onSubmit(o)}})),i(this,"handleArrows",(function(t){var n=e.results.length;e.selectedIndex=(t%n+n)%n,e.onUpdate(e.results,e.selectedIndex)})),i(this,"selectResult",(function(){var t=e.results[e.selectedIndex];t&&e.setValue(t),e.hideResults()})),i(this,"updateResults",(function(t){var n=++e.searchCounter;e.onLoading(),e.search(t).then((function(t){n===e.searchCounter&&(e.results=t,e.onLoaded(),0!==e.results.length?(e.selectedIndex=e.autoSelect?0:-1,e.onUpdate(e.results,e.selectedIndex),e.showResults()):e.hideResults())}))})),i(this,"showResults",(function(){e.setAttribute("aria-expanded",!0),e.onShow()})),i(this,"hideResults",(function(){e.selectedIndex=-1,e.results=[],e.setAttribute("aria-expanded",!1),e.setAttribute("aria-activedescendant",""),e.onUpdate(e.results,e.selectedIndex),e.onHide()})),i(this,"checkSelectedResultVisible",(function(t){var n=t.querySelector('[data-result-index="'.concat(e.selectedIndex,'"]'));if(n){var i=t.getBoundingClientRect(),o=n.getBoundingClientRect();o.top<i.top?t.scrollTop-=i.top-o.top:o.bottom>i.bottom&&(t.scrollTop+=o.bottom-i.bottom)}})),this.search=l(r)?r:function(t){return Promise.resolve(r(t))},this.autoSelect=c,this.setValue=d,this.setAttribute=h,this.onUpdate=m,this.onSubmit=g,this.onShow=y,this.onHide=_,this.onLoading=C,this.onLoaded=O},u=0,d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"".concat(t).concat(++u)};const p=function(t,e,n,i,o,r,a,s,l,c){"boolean"!=typeof a&&(l=s,s=a,a=!1);const u="function"==typeof n?n.options:n;let d;if(t&&t.render&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0,o&&(u.functional=!0)),i&&(u._scopeId=i),r?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(r)},u._ssrRegister=d):e&&(d=a?function(t){e.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),d)if(u.functional){const t=u.render;u.render=function(e,n){return d.call(n),t(e,n)}}else{const t=u.beforeCreate;u.beforeCreate=t?[].concat(t,d):[d]}return n}({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"root"},[t._t("default",[n("div",t._b({},"div",t.rootProps,!1),[n("input",t._g(t._b({ref:"input",on:{input:t.handleInput,keydown:t.core.handleKeyDown,focus:t.core.handleFocus,blur:t.core.handleBlur}},"input",t.inputProps,!1),t.$listeners)),t._v(" "),n("ul",t._g(t._b({ref:"resultList"},"ul",t.resultListProps,!1),t.resultListListeners),[t._l(t.results,(function(e,i){return[t._t("result",[n("li",t._b({key:t.resultProps[i].id},"li",t.resultProps[i],!1),[t._v("\n "+t._s(t.getResultValue(e))+"\n ")])],{result:e,props:t.resultProps[i]})]}))],2)])],{rootProps:t.rootProps,inputProps:t.inputProps,inputListeners:t.inputListeners,resultListProps:t.resultListProps,resultListListeners:t.resultListListeners,results:t.results,resultProps:t.resultProps})],2)},staticRenderFns:[]},void 0,{name:"Autocomplete",inheritAttrs:!1,props:{search:{type:Function,required:!0},baseClass:{type:String,default:"autocomplete"},autoSelect:{type:Boolean,default:!1},getResultValue:{type:Function,default:function(t){return t}},defaultValue:{type:String,default:""},debounceTime:{type:Number,default:0}},data:function(){var t,e,n,i,o=new c({search:this.search,autoSelect:this.autoSelect,setValue:this.setValue,onUpdate:this.handleUpdate,onSubmit:this.handleSubmit,onShow:this.handleShow,onHide:this.handleHide,onLoading:this.handleLoading,onLoaded:this.handleLoaded});return this.debounceTime>0&&(o.handleInput=(t=o.handleInput,e=this.debounceTime,function(){var o=this,r=arguments,a=function(){i=null,n||t.apply(o,r)},s=n&&!i;clearTimeout(i),i=setTimeout(a,e),s&&t.apply(o,r)})),{core:o,value:this.defaultValue,resultListId:d("".concat(this.baseClass,"-result-list-")),results:[],selectedIndex:-1,expanded:!1,loading:!1,position:"below",resetPosition:!0}},computed:{rootProps:function(){return{class:this.baseClass,style:{position:"relative"},"data-expanded":this.expanded,"data-loading":this.loading,"data-position":this.position}},inputProps:function(){return r({class:"".concat(this.baseClass,"-input"),value:this.value,role:"combobox",autocomplete:"off",autocapitalize:"off",autocorrect:"off",spellcheck:"false","aria-autocomplete":"list","aria-haspopup":"listbox","aria-owns":this.resultListId,"aria-expanded":this.expanded?"true":"false","aria-activedescendant":this.selectedIndex>-1?this.resultProps[this.selectedIndex].id:""},this.$attrs)},inputListeners:function(){return{input:this.handleInput,keydown:this.core.handleKeyDown,focus:this.core.handleFocus,blur:this.core.handleBlur}},resultListProps:function(){var t="below"===this.position?"top":"bottom";return{id:this.resultListId,class:"".concat(this.baseClass,"-result-list"),role:"listbox",style:i({position:"absolute",zIndex:1,width:"100%",visibility:this.expanded?"visible":"hidden",pointerEvents:this.expanded?"auto":"none"},t,"100%")}},resultListListeners:function(){return{mousedown:this.core.handleResultMouseDown,click:this.core.handleResultClick}},resultProps:function(){var t=this;return this.results.map((function(e,n){return r({id:"".concat(t.baseClass,"-result-").concat(n),class:"".concat(t.baseClass,"-result"),"data-result-index":n,role:"option"},t.selectedIndex===n?{"aria-selected":"true"}:{})}))}},mounted:function(){document.body.addEventListener("click",this.handleDocumentClick)},beforeDestroy:function(){document.body.removeEventListener("click",this.handleDocumentClick)},updated:function(){var t,e,n,i;this.$refs.input&&this.$refs.resultList&&(this.resetPosition&&this.results.length>0&&(this.resetPosition=!1,this.position=(t=this.$refs.input,e=this.$refs.resultList,n=t.getBoundingClientRect(),i=e.getBoundingClientRect(),n.bottom+i.height>window.innerHeight&&window.innerHeight-n.bottom<n.top&&window.pageYOffset+n.top-i.height>0?"above":"below")),this.core.checkSelectedResultVisible(this.$refs.resultList))},methods:{setValue:function(t){this.value=t?this.getResultValue(t):""},handleUpdate:function(t,e){this.results=t,this.selectedIndex=e,this.$emit("update",t,e)},handleShow:function(){this.expanded=!0},handleHide:function(){this.expanded=!1,this.resetPosition=!0},handleLoading:function(){this.loading=!0},handleLoaded:function(){this.loading=!1},handleInput:function(t){this.value=t.target.value,this.core.handleInput(t)},handleSubmit:function(t){this.$emit("submit",t)},handleDocumentClick:function(t){this.$refs.root.contains(t.target)||this.core.hideResults()}}},void 0,!1,void 0,!1,void 0,void 0,void 0);function h(t){h.installed||(h.installed=!0,t.component("Autocomplete",p))}var f,m={install:h};"undefined"!=typeof window?f=window.Vue:void 0!==t&&(f=t.Vue),f&&f.use(m),p.install=h,e.a=p}).call(this,n("yLpj"))},lcPr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,o=n("urRO"),r=(i=o)&&i.__esModule?i:{default:i};var a="undefined"==typeof window?[String,Array]:[String,Array,Element,NodeList];e.default={render:function(t){var e=this.crossorigin||void 0;return t("div",{style:this.containerStyle},[t("img",{ref:"img",attrs:{src:this.src,alt:this.alt||"image",style:"max-width: 100%",crossorigin:e},on:this.$listeners,style:this.imgStyle})])},props:{containerStyle:Object,src:{type:String,default:""},alt:String,imgStyle:Object,viewMode:Number,dragMode:String,initialAspectRatio:Number,aspectRatio:Number,data:Object,preview:a,responsive:{type:Boolean,default:!0},restore:{type:Boolean,default:!0},checkCrossOrigin:{type:Boolean,default:!0},checkOrientation:{type:Boolean,default:!0},crossorigin:{type:String},modal:{type:Boolean,default:!0},guides:{type:Boolean,default:!0},center:{type:Boolean,default:!0},highlight:{type:Boolean,default:!0},background:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!0},autoCropArea:Number,movable:{type:Boolean,default:!0},rotatable:{type:Boolean,default:!0},scalable:{type:Boolean,default:!0},zoomable:{type:Boolean,default:!0},zoomOnTouch:{type:Boolean,default:!0},zoomOnWheel:{type:Boolean,default:!0},wheelZoomRatio:Number,cropBoxMovable:{type:Boolean,default:!0},cropBoxResizable:{type:Boolean,default:!0},toggleDragModeOnDblclick:{type:Boolean,default:!0},minCanvasWidth:Number,minCanvasHeight:Number,minCropBoxWidth:Number,minCropBoxHeight:Number,minContainerWidth:Number,minContainerHeight:Number,ready:Function,cropstart:Function,cropmove:Function,cropend:Function,crop:Function,zoom:Function},mounted:function(){var t=this.$options.props,e=(t.containerStyle,t.src,t.alt,t.imgStyle,function(t,e){var n={};for(var i in t)e.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}(t,["containerStyle","src","alt","imgStyle"])),n={};for(var i in e)void 0!==this[i]&&(n[i]=this[i]);this.cropper=new r.default(this.$refs.img,n)},methods:{reset:function(){return this.cropper.reset()},clear:function(){return this.cropper.clear()},initCrop:function(){return this.cropper.crop()},replace:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.cropper.replace(t,e)},enable:function(){return this.cropper.enable()},disable:function(){return this.cropper.disable()},destroy:function(){return this.cropper.destroy()},move:function(t,e){return this.cropper.move(t,e)},moveTo:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return this.cropper.moveTo(t,e)},relativeZoom:function(t,e){return this.cropper.zoom(t,e)},zoomTo:function(t,e){return this.cropper.zoomTo(t,e)},rotate:function(t){return this.cropper.rotate(t)},rotateTo:function(t){return this.cropper.rotateTo(t)},scaleX:function(t){return this.cropper.scaleX(t)},scaleY:function(t){return this.cropper.scaleY(t)},scale:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return this.cropper.scale(t,e)},getData:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.cropper.getData(t)},setData:function(t){return this.cropper.setData(t)},getContainerData:function(){return this.cropper.getContainerData()},getImageData:function(){return this.cropper.getImageData()},getCanvasData:function(){return this.cropper.getCanvasData()},setCanvasData:function(t){return this.cropper.setCanvasData(t)},getCropBoxData:function(){return this.cropper.getCropBoxData()},setCropBoxData:function(t){return this.cropper.setCropBoxData(t)},getCroppedCanvas:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.cropper.getCroppedCanvas(t)},setAspectRatio:function(t){return this.cropper.setAspectRatio(t)},setDragMode:function(t){return this.cropper.setDragMode(t)}}}},lkZn:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.timeline-status-component {\n margin-bottom: 1rem;\n}\n.timeline-status-component .btn:focus {\n box-shadow: none !important;\n}\n.timeline-status-component .primary {\n color: #3B82F6;\n}\n.timeline-status-component .avatar {\n border-radius: 15px;\n}\n.timeline-status-component .username {\n margin-bottom: -6px;\n word-break: break-word;\n}\n@media (min-width: 768px) {\n.timeline-status-component .username {\n font-size: 18px;\n}\n}\n.timeline-status-component .VueCarousel-wrapper {\n border-radius: 15px;\n}\n.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img {\n -o-object-fit: contain;\n object-fit: contain;\n}\n.timeline-status-component .status-text {\n z-index: 3;\n}\n.timeline-status-component .status-text.py-0 {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;\n}\n.timeline-status-component .reaction-liked-by {\n font-size: 11px;\n font-weight: 600;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;\n}\n.timeline-status-component .timestamp,\n.timeline-status-component .visibility,\n.timeline-status-component .location {\n color: #94a3b8;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;\n}\n.timeline-status-component .invisible {\n display: none;\n}\n.timeline-status-component .blurhash-wrapper img {\n border-radius: 0;\n -o-object-fit: cover;\n object-fit: cover;\n}\n.timeline-status-component .blurhash-wrapper canvas {\n border-radius: 0;\n}\n.timeline-status-component .content-label-wrapper {\n position: relative;\n width: 100%;\n height: 400px;\n background-color: #000;\n border-radius: 15px;\n overflow: hidden;\n}\n.timeline-status-component .content-label-wrapper img, .timeline-status-component .content-label-wrapper canvas {\n max-height: 400px;\n cursor: pointer;\n}\n.timeline-status-component .content-label {\n margin: 0;\n position: absolute;\n top: 0;\n left: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n z-index: 2;\n border-radius: 15px;\n background: rgba(0, 0, 0, 0.2);\n}\n.timeline-status-component .rounded-bottom {\n border-bottom-left-radius: 15px !important;\n border-bottom-right-radius: 15px !important;\n}\n.timeline-status-component .card-footer .media {\n position: relative;\n}\n.timeline-status-component .card-footer .media .comment-border-link {\n display: block;\n position: absolute;\n top: 40px;\n left: 11px;\n width: 10px;\n height: calc(100% - 100px);\n border-left: 4px solid transparent;\n border-right: 4px solid transparent;\n background-color: #E5E7EB;\n background-clip: padding-box;\n}\n.timeline-status-component .card-footer .media .comment-border-link:hover {\n background-color: #BFDBFE;\n}\n.timeline-status-component .card-footer .media .child-reply-form {\n position: relative;\n}\n.timeline-status-component .card-footer .media .comment-border-arrow {\n display: block;\n position: absolute;\n top: -6px;\n left: -33px;\n width: 10px;\n height: 29px;\n border-left: 4px solid transparent;\n border-right: 4px solid transparent;\n background-color: #E5E7EB;\n background-clip: padding-box;\n border-bottom: 2px solid transparent;\n}\n.timeline-status-component .card-footer .media .comment-border-arrow:after {\n content: "";\n display: block;\n position: absolute;\n top: 25px;\n left: 2px;\n width: 15px;\n height: 2px;\n background-color: #E5E7EB;\n}\n.timeline-status-component .card-footer .media-status {\n margin-bottom: 1.3rem;\n}\n.timeline-status-component .card-footer .media-avatar {\n margin-right: 12px;\n border-radius: 8px;\n}\n.timeline-status-component .card-footer .media-body-comment {\n width: -webkit-fit-content;\n width: -moz-fit-content;\n width: fit-content;\n padding: 0.4rem 0.7rem;\n background-color: #eff2f5;\n border-radius: 0.9rem;\n}\n.timeline-status-component .card-footer .media-body-comment-username {\n margin-bottom: 0.25rem !important;\n font-size: 14px;\n font-weight: 700 !important;\n color: #000;\n}\n.timeline-status-component .card-footer .media-body-comment-username a {\n color: #000;\n text-decoration: none;\n}\n.timeline-status-component .card-footer .media-body-comment-content {\n margin-bottom: 0;\n font-size: 16px;\n}\n.timeline-status-component .card-footer .media-body-reactions {\n margin-top: 0.4rem !important;\n margin-bottom: 0 !important;\n color: #B8C2CC !important;\n font-size: 12px;\n}\n.timeline-status-component .fixedHeight {\n max-height: 400px;\n}\n.timeline-status-component .fixedHeight .VueCarousel-slide img {\n max-height: 400px;\n}\n.timeline-status-component .fixedHeight .blurhash-wrapper img {\n height: 400px;\n max-height: 400px;\n background-color: transparent;\n -o-object-fit: contain;\n object-fit: contain;\n}\n.timeline-status-component .fixedHeight .blurhash-wrapper canvas {\n max-height: 400px;\n}\n.timeline-status-component .fixedHeight .content-label {\n height: 400px;\n}',""])},lreO:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".hashtag-component .hashtag-feed .card,\n.hashtag-component .hashtag-feed .info-overlay-text,\n.hashtag-component .hashtag-feed .info-overlay-text-label,\n.hashtag-component .hashtag-feed img,\n.hashtag-component .hashtag-feed canvas {\n border-radius: 18px !important;\n}\n.hashtag-component .hashtag-follow {\n width: 200px;\n}\n.hashtag-component .ph-wrapper {\n padding: 0.25rem;\n}\n.hashtag-component .ph-wrapper .ph-item {\n margin: 0;\n padding: 0;\n border: none;\n background-color: transparent;\n}\n.hashtag-component .ph-wrapper .ph-item .ph-picture {\n height: auto;\n padding-bottom: 100%;\n border-radius: 18px;\n}\n.hashtag-component .ph-wrapper .ph-item > * {\n margin-bottom: 0;\n}",""])},lrxJ:function(t){t.exports=JSON.parse('{"common":{"comment":"Comentar","commented":"Comentado","comments":"Comentários","like":"Curtir","liked":"Curtiu","likes":"Curtidas","share":"Compartilhar","shared":"Compartilhado","shares":"Compartilhamentos","unshare":"Desfazer compartilhamento","cancel":"Cancelar","copyLink":"Copiar link","delete":"Apagar","error":"Erro","errorMsg":"Algo deu errado. Por favor, tente novamente mais tarde.","oops":"Opa!","other":"Outro","readMore":"Leia mais","success":"Sucesso","sensitive":"Sensível","sensitiveContent":"Conteúdo sensível","sensitiveContentWarning":"Esta publicação pode conter conteúdo inapropriado"},"site":{"terms":"Termos de Uso","privacy":"Política de Privacidade"},"navmenu":{"search":"Pesquisar","admin":"Painel do Administrador","homeFeed":"Página inicial","localFeed":"Feed local","globalFeed":"Feed global","discover":"Explorar","directMessages":"Mensagens privadas","notifications":"Notificações","groups":"Grupos","stories":"Histórias","profile":"Perfil","drive":"Mídias","settings":"Configurações","compose":"Criar novo","logout":"Sair","about":"Sobre","help":"Ajuda","language":"Idioma","privacy":"Privacidade","terms":"Termos","backToPreviousDesign":"Voltar ao design anterior"},"directMessages":{"inbox":"Caixa de entrada","sent":"Enviadas","requests":"Solicitações"},"notifications":{"liked":"curtiu seu","commented":"comentou em seu","reacted":"reagiu ao seu","shared":"compartilhou seu","tagged":"marcou você em um","updatedA":"atualizou um(a)","sentA":"enviou um","followed":"seguiu","mentioned":"mencionado","you":"você","yourApplication":"Sua inscrição para participar","applicationApproved":"foi aprovado!","applicationRejected":"foi rejeitado. Você pode se inscrever novamente para participar em 6 meses.","dm":"mensagem direta","groupPost":"postagem do grupo","modlog":"histórico de moderação","post":"publicação","story":"história"},"post":{"shareToFollowers":"Compartilhar com os seguidores","shareToOther":"Compartilhar com outros","noLikes":"Ainda sem curtidas","uploading":"Enviando"},"profile":{"posts":"Publicações","followers":"Seguidores","following":"Seguindo","admin":"Administrador","collections":"Coleções","follow":"Seguir","unfollow":"Deixar de seguir","editProfile":"Editar Perfil","followRequested":"Solicitação de seguir enviada","joined":"Entrou","emptyCollections":"Não conseguimos encontrar nenhuma coleção","emptyPosts":"Não encontramos nenhuma publicação"},"menu":{"viewPost":"Ver publicação","viewProfile":"Ver Perfil","moderationTools":"Ferramentas de moderação","report":"Denunciar","archive":"Arquivo","unarchive":"Desarquivar","embed":"Incorporar","selectOneOption":"Selecione uma das opções a seguir","unlistFromTimelines":"Retirar das linhas do tempo","addCW":"Adicionar aviso de conteúdo","removeCW":"Remover aviso de conteúdo","markAsSpammer":"Marcar como Spammer","markAsSpammerText":"Retirar das linhas do tempo + adicionar aviso de conteúdo às publicações antigas e futuras","spam":"Lixo Eletrônico","sensitive":"Conteúdo sensível","abusive":"Abusivo ou Prejudicial","underageAccount":"Conta de menor de idade","copyrightInfringement":"Violação de direitos autorais","impersonation":"Roubo de identidade","scamOrFraud":"Golpe ou Fraude","confirmReport":"Confirmar denúncia","confirmReportText":"Você realmente quer denunciar esta publicação?","reportSent":"Denúncia enviada!","reportSentText":"Nós recebemos sua denúncia com sucesso.","reportSentError":"Houve um problema ao denunciar esta publicação.","modAddCWConfirm":"Você realmente quer adicionar um aviso de conteúdo a esta publicação?","modCWSuccess":"Aviso de conteúdo sensível adicionado com sucesso","modRemoveCWConfirm":"Você realmente quer remover o aviso de conteúdo desta publicação?","modRemoveCWSuccess":"Aviso de conteúdo sensível removido com sucesso","modUnlistConfirm":"Você realmente quer definir esta publicação como não listada?","modUnlistSuccess":"A publicação foi definida como não listada com sucesso","modMarkAsSpammerConfirm":"Você realmente quer denunciar este usuário por spam? Todas as suas publicações anteriores e futuras serão marcadas com um aviso de conteúdo e removidas das linhas do tempo.","modMarkAsSpammerSuccess":"Perfil denunciado com sucesso","toFollowers":"para seguidores","showCaption":"Mostrar legenda","showLikes":"Mostrar curtidas","compactMode":"Modo compacto","embedConfirmText":"Ao usar de forma “embed”, você concorda com nossas","deletePostConfirm":"Você tem certeza que deseja excluir esta publicação?","archivePostConfirm":"Tem certeza que deseja arquivar esta publicação?","unarchivePostConfirm":"Tem certeza que deseja desarquivar esta publicação?"},"story":{"add":"Adicionar Story"},"timeline":{"peopleYouMayKnow":"Pessoas que você talvez conheça"},"hashtags":{"emptyFeed":"Não encontramos nenhuma publicação com esta hashtag"}}')},m7Qj:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.profile-sidebar-component {\n margin-bottom: 1rem;\n}\n.profile-sidebar-component .avatar {\n width: 140px;\n margin-bottom: 1rem;\n border-radius: 15px;\n}\n.profile-sidebar-component .display-name {\n font-size: 20px;\n margin-bottom: 0;\n word-break: break-word;\n font-size: 15px;\n font-weight: 800 !important;\n -webkit-user-select: all;\n -moz-user-select: all;\n -ms-user-select: all;\n user-select: all;\n line-height: 0.8;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;\n}\n.profile-sidebar-component .username {\n color: #3B82F6;\n font-size: 14px;\n font-weight: 600;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;\n}\n.profile-sidebar-component .username.remote {\n font-size: 11px;\n}\n.profile-sidebar-component .stats {\n margin-bottom: 1rem;\n}\n.profile-sidebar-component .stats .stat-item {\n max-width: 33%;\n flex: 0 0 33%;\n text-align: center;\n margin: 0;\n padding: 0;\n text-decoration: none;\n}\n.profile-sidebar-component .stats .stat-item strong {\n display: block;\n color: #000;\n font-size: 18px;\n line-height: 0.9;\n}\n.profile-sidebar-component .stats .stat-item span {\n display: block;\n font-size: 12px;\n color: #B8C2CC;\n}\n@media (min-width: 768px) {\n.profile-sidebar-component .follow-btn {\n margin-bottom: 2rem;\n}\n}\n.profile-sidebar-component .follow-btn.btn-primary {\n background-color: #3B82F6;\n}\n.profile-sidebar-component .follow-btn.btn-light {\n border-color: #E5E7EB;\n}\n.profile-sidebar-component .unfollow-btn {\n background-color: rgba(59, 130, 246, 0.7);\n}\n@media (min-width: 768px) {\n.profile-sidebar-component .unfollow-btn {\n margin-bottom: 2rem;\n}\n}\n.profile-sidebar-component .bio-wrapper {\n margin-bottom: 1rem;\n}\n.profile-sidebar-component .bio-wrapper .bio-body {\n display: block;\n position: relative;\n font-size: 12px !important;\n white-space: pre-wrap;\n}\n.profile-sidebar-component .bio-wrapper .bio-body .username {\n font-size: 12px !important;\n}\n.profile-sidebar-component .bio-wrapper .bio-body.long {\n max-height: 80px;\n overflow: hidden;\n}\n.profile-sidebar-component .bio-wrapper .bio-body.long:after {\n content: "";\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n background: linear-gradient(180deg, transparent 0, rgba(255, 255, 255, 0.9) 60%, #fff 90%);\n z-index: 2;\n}\n.profile-sidebar-component .bio-wrapper .bio-body p {\n margin-bottom: 0 !important;\n}\n.profile-sidebar-component .bio-wrapper .bio-more {\n position: relative;\n z-index: 3;\n}\n.profile-sidebar-component .admin-label {\n padding: 1px 5px;\n font-size: 12px;\n color: #B91C1C;\n background: #FEE2E2;\n border: 1px solid #FCA5A5;\n font-weight: 600;\n text-transform: capitalize;\n display: inline-block;\n border-radius: 8px;\n}\n.profile-sidebar-component .sidebar-sitelinks {\n margin-top: 1rem;\n justify-content: space-between;\n padding: 0;\n}\n.profile-sidebar-component .sidebar-sitelinks a {\n font-size: 12px;\n color: #B8C2CC;\n}\n.profile-sidebar-component .sidebar-sitelinks .active {\n color: #212529;\n font-weight: 600;\n}\n.profile-sidebar-component .sidebar-attribution {\n margin-top: 0.5rem;\n font-size: 12px;\n color: #B8C2CC !important;\n}\n.profile-sidebar-component .sidebar-attribution a {\n color: #B8C2CC !important;\n}\n.profile-sidebar-component .user-card {\n align-items: center;\n}\n.profile-sidebar-component .user-card .avatar {\n width: 80px;\n height: 80px;\n border-radius: 15px;\n margin-right: 0.8rem;\n border: 1px solid #E5E7EB;\n}\n@media (min-width: 390px) {\n.profile-sidebar-component .user-card .avatar {\n width: 100px;\n height: 100px;\n}\n}\n.profile-sidebar-component .user-card .avatar-update-btn {\n position: absolute;\n right: 12px;\n bottom: 0;\n width: 20px;\n height: 20px;\n background: rgba(255, 255, 255, 0.9);\n border: 1px solid #dee2e6 !important;\n padding: 0;\n border-radius: 50rem;\n}\n.profile-sidebar-component .user-card .avatar-update-btn-icon {\n font-family: "Font Awesome 5 Free";\n font-weight: 400;\n -webkit-font-smoothing: antialiased;\n display: inline-block;\n font-style: normal;\n font-variant: normal;\n text-rendering: auto;\n line-height: 1;\n}\n.profile-sidebar-component .user-card .avatar-update-btn-icon:before {\n content: "\\F013";\n}\n.profile-sidebar-component .user-card .username {\n font-weight: 600;\n font-size: 13px;\n margin: 4px 0;\n word-break: break-word;\n line-height: 12px;\n -webkit-user-select: all;\n -moz-user-select: all;\n -ms-user-select: all;\n user-select: all;\n}\n@media (min-width: 390px) {\n.profile-sidebar-component .user-card .username {\n margin: 8px 0;\n font-size: 16px;\n}\n}\n.profile-sidebar-component .user-card .display-name {\n color: #212529;\n line-height: 0.8;\n font-size: 20px;\n font-weight: 800 !important;\n word-break: break-word;\n -webkit-user-select: all;\n -moz-user-select: all;\n -ms-user-select: all;\n user-select: all;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;\n margin-bottom: 0;\n}\n@media (min-width: 390px) {\n.profile-sidebar-component .user-card .display-name {\n font-size: 24px;\n}\n}\n.profile-sidebar-component .user-card .stats {\n display: flex;\n justify-content: space-between;\n flex-direction: row;\n margin-top: 0;\n margin-bottom: 0;\n font-size: 16px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.profile-sidebar-component .user-card .stats .posts-count,\n.profile-sidebar-component .user-card .stats .following-count,\n.profile-sidebar-component .user-card .stats .followers-count {\n display: flex;\n font-weight: 800;\n}\n.profile-sidebar-component .user-card .stats .stats-label {\n color: #94a3b8;\n font-size: 11px;\n margin-top: -5px;\n}',""])},"mXj/":function(t,e,n){var i=n("m7Qj");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},mZhp:function(t,e,n){var i=n("8wdl");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},mj7I:function(t,e,n){var i=n("CVxE");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},"na7+":function(t,e,n){var i=n("OCAn");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},ngXG:function(t,e,n){"use strict";var i=n("1gDp"),o={props:{reactions:{type:Object},status:{type:Object},profile:{type:Object},showBorder:{type:Boolean,default:!0},showBorderTop:{type:Boolean,default:!1},fetchState:{type:Boolean,default:!1}},components:{"context-menu":i.a},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var t=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,e.data.voted&&(t.selectedIndex=e.data.own_votes[0],t.tab="voted"),t.status.poll.expired=new Date(t.status.poll.expires_at)<new Date,t.status.poll.expired&&(t.tab=t.status.poll.voted?"voted":"results")})):(this.status.poll.voted&&(this.tab="voted"),this.status.poll.expired=new Date(this.status.poll.expires_at)<new Date,this.status.poll.expired&&(this.tab=this.status.poll.voted?"voted":"results"),this.status.poll.own_votes.length&&(this.selectedIndex=this.status.poll.own_votes[0])),this.authenticated=$("body").hasClass("loggedIn")},methods:{selectOption:function(t){event.currentTarget.blur(),this.selectedIndex=t},submitVote:function(){var t=this;axios.post("/api/v1/polls/"+this.status.poll.id+"/votes",{choices:[this.selectedIndex]}).then((function(e){console.log(e.data),t.status.poll=e.data})),this.tab="voted"},viewResultsTab:function(){this.tab="results"},viewPollTab:function(){this.tab=null!=this.selectedIndex?"voted":"vote"},formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},shortTimestampAhead:function(t){return window.App.util.format.timeAhead(t)},refreshResults:function(){var t=this;this.activeRefreshTimeout=!0,this.refreshingResults=!0,axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,t.status.poll.voted&&(t.selectedIndex=t.status.poll.own_votes[0],t.tab="voted",t.setActiveRefreshTimeout(),t.refreshingResults=!1)})).catch((function(e){swal("Oops!","An error occured while fetching the latest poll results. Please try again later.","error"),t.setActiveRefreshTimeout(),t.refreshingResults=!1}))},setActiveRefreshTimeout:function(){var t=this;this.refreshTimeout=setTimeout((function(){t.activeRefreshTimeout=!1}),3e4)},statusDeleted:function(t){this.$emit("status-delete",t)},ctxMenu:function(){this.$refs.contextMenu.open()},likeStatus:function(){this.$emit("likeStatus",this.status)},calculatePercentage:function(t){var e=this.status;return 0==e.poll.votes_count?0:Math.round(t.votes_count/e.poll.votes_count*100)}}},r=n("KHd+"),a=Object(r.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[n("div",{staticClass:"card-body"},[n("div",{staticClass:"media"},[n("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("div",{staticClass:"pl-2 d-flex align-items-top"},[n("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),n("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),n("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),n("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),t._m(0),t._v(" "),n("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),n("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?n("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):n("span",[t._v("\n\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),n("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[n("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[n("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),n("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),n("div",{staticClass:"pl-2"},[n("div",{staticClass:"poll py-3"},[n("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),n("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),n("div",{staticClass:"mb-2"},["vote"===t.tab?n("div",[t._l(t.status.poll.options,(function(e,i){return n("p",[n("button",{staticClass:"btn btn-block lead rounded-pill",class:[i==t.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!t.authenticated},on:{click:function(e){return t.selectOption(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?n("p",{staticClass:"text-right"},[n("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(e){return t.submitVote()}}},[t._v("Vote")])]):t._e()],2):"voted"===t.tab?n("div",t._l(t.status.poll.options,(function(e,i){return n("div",{staticClass:"mb-3"},[n("button",{staticClass:"btn btn-block lead rounded-pill",class:[i==t.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),n("div",{staticClass:"font-weight-bold"},[n("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(e))+"%")]),t._v(" "),n("span",{staticClass:"small text-lighter"},[t._v("("+t._s(e.votes_count)+" "+t._s(1==e.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?n("div",t._l(t.status.poll.options,(function(e,i){return n("div",{staticClass:"mb-3"},[n("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),n("div",{staticClass:"font-weight-bold"},[n("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(e))+"%")]),t._v(" "),n("span",{staticClass:"small text-lighter"},[t._v("("+t._s(e.votes_count)+" "+t._s(1==e.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),n("div",[n("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[n("span",[t._v(t._s(t.status.poll.votes_count)+" votes")]),t._v(" "),"results"!=t.tab&&t.authenticated&&!t.activeRefreshTimeout&1!=t.status.poll.expired&&t.status.poll.voted?n("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshResults()}}},[t._v("Refresh Results")]):t._e(),t._v(" "),"results"!=t.tab&&t.authenticated&&t.refreshingResults?n("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),n("div",[n("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?n("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):n("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),n("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[e("i",{staticClass:"fas fa-poll-h"}),this._v(" Poll "),e("sup",{staticClass:"text-lighter"},[this._v("BETA")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"btn btn-primary px-2 py-1"},[e("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[this._v("Loading...")])])}],!1,null,null,null);e.a=a.exports},nonB:function(t,e,n){var i=n("83i4");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},oDnJ:function(t,e,n){"use strict";n.r(e);var i={props:["list","scope"],data:function(){return{loading:!0,show:!0,stories:{}}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var t=this;axios.get("/api/web/stories/v1/recent").then((function(e){e.data;e.data.length?(t.stories=e.data,t.loading=!1):t.show=!1})).catch((function(e){t.loading=!1,t.$bvToast.toast("Cannot load stories. Please try again later.",{title:"Error",variant:"danger",autoHideDelay:5e3}),t.show=!1}))},showStory:function(t){var e;switch(this.scope){case"home":e="/?t=1";break;case"local":e="/?t=2";break;case"network":e="/?t=3"}window.location.href=this.stories[t].url+e},systemStory:function(){window.location.href="/i/_platform/stories/whats-new"}}},o=(n("bmA5"),n("KHd+")),r=Object(o.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.show?n("div",{staticClass:"card card-body p-0 border mt-md-4 mb-md-3 shadow-none"},[t.loading?n("div",{staticClass:"w-100 h-100 d-flex align-items-center justify-content-center"},[t._m(0)]):n("div",{staticClass:"d-flex align-items-center justify-content-start scrolly"},t._l(t.stories,(function(e,i){return n("div",{staticClass:"px-3 pt-3 text-center cursor-pointer",class:{seen:e.seen},on:{click:function(e){return t.showStory(i)}}},[n("span",{staticClass:"mb-1 ring",class:[e.seen?"not-seen":"",e.local?"":"remote"]},[n("img",{staticClass:"rounded-circle border",attrs:{src:e.avatar,width:"60",height:"60",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),t._v(" "),n("p",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"small font-weight-bold text-truncate",class:{"text-lighter":e.seen},staticStyle:{"max-width":"69px"},attrs:{placement:"bottom",title:e.username}},[t._v("\n\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t")])])})),0)]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"spinner-border spinner-border-sm text-lighter",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[this._v("Loading...")])])}],!1,null,"c1448eda",null);e.default=r.exports},oaGm:function(t,e,n){var i=n("djwI");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},ohvK:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.profile-hover-card {\n display: block;\n width: 300px;\n overflow: hidden;\n padding: 0.5rem;\n border: none;\n}\n.profile-hover-card .avatar {\n border-radius: 15px;\n box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;\n margin-bottom: 0.5rem;\n}\n.profile-hover-card .display-name {\n max-width: 240px;\n word-break: break-word;\n font-weight: 800;\n margin-top: 5px;\n margin-bottom: 2px;\n line-height: 0.8;\n font-size: 16px;\n font-weight: 800 !important;\n -webkit-user-select: all;\n -moz-user-select: all;\n -ms-user-select: all;\n user-select: all;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;\n}\n.profile-hover-card .display-name a {\n color: #212529;\n text-decoration: none;\n}\n.profile-hover-card .username {\n max-width: 240px;\n word-break: break-word;\n font-size: 12px;\n margin-top: 0;\n margin-bottom: 0.6rem;\n -webkit-user-select: all;\n -moz-user-select: all;\n -ms-user-select: all;\n user-select: all;\n font-weight: 700;\n overflow: hidden;\n}\n.profile-hover-card .username-link {\n color: #94a3b8;\n text-decoration: none;\n margin-right: 4px;\n}\n.profile-hover-card .username-follows-you {\n margin: 4px 0;\n}\n.profile-hover-card .username-follows-you span {\n color: #536471;\n background-color: #eff3f4;\n font-size: 12px;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;\n font-weight: 500;\n padding: 2px 4px;\n line-height: 16px;\n border-radius: 6px;\n}\n.profile-hover-card .pronouns {\n font-size: 11px;\n color: #9CA3AF;\n margin-top: -0.8rem;\n margin-bottom: 0.6rem;\n font-weight: 600;\n}\n.profile-hover-card .bio {\n max-width: 240px;\n max-height: 60px;\n word-break: break-word;\n margin-bottom: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n line-height: 1.2;\n font-size: 12px;\n}\n.profile-hover-card .bio .invisible {\n display: none;\n}\n.profile-hover-card .stats {\n margin-top: 0.5rem;\n margin-bottom: 0;\n font-size: 14px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.profile-hover-card .stats .stats-following {\n margin-right: 0.8rem;\n}\n.profile-hover-card .stats .following-count,\n.profile-hover-card .stats .followers-count {\n font-weight: 800;\n}\n.profile-hover-card .btn.rounded-pill {\n min-width: 80px;\n}',""])},okNv:function(t,e,n){var i=n("tyZa");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},"pN/7":function(t,e,n){var i=n("DqmW");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},pfjr:function(t,e,n){"use strict";n("8eHY")},pjB5:function(t,e,n){var i=n("CiH3");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},pm6S:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.card-img-top[data-v-1b12221c] {\n border-top-left-radius: 0 !important;\n border-top-right-radius: 0 !important;\n}\n.content-label-wrapper[data-v-1b12221c] {\n\tposition: relative;\n}\n.content-label[data-v-1b12221c] {\n\tmargin: 0;\n\tposition: absolute;\n\ttop:50%;\n\tleft:50%;\n\ttransform: translate(-50%, -50%);\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\tjustify-content: center;\n\twidth: 100%;\n\theight: 100%;\n\tz-index: 2;\n\tbackground: rgba(0, 0, 0, 0.2)\n}\n",""])},pzWd:function(t,e){t.exports=function(t){return t instanceof Date}},"q7N/":function(t,e,n){"use strict";n("tfPv")},"qd+X":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".help-center-component .text-narrow[data-v-21378c28] {\n font-weight: 900 !important;\n letter-spacing: -0.034em;\n}\n.help-center-component .btn-light[data-v-21378c28] {\n border-radius: 15px;\n}",""])},"r6/h":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".profile-feed-component {\n margin-top: 0;\n}\n.profile-feed-component .ph-wrapper {\n padding: 0.25rem;\n}\n.profile-feed-component .ph-wrapper .ph-item {\n margin: 0;\n padding: 0;\n border: none;\n background-color: transparent;\n}\n.profile-feed-component .ph-wrapper .ph-item .ph-picture {\n height: auto;\n padding-bottom: 100%;\n border-radius: 5px;\n}\n.profile-feed-component .ph-wrapper .ph-item > * {\n margin-bottom: 0;\n}\n.profile-feed-component .info-overlay-text-field {\n font-size: 13.5px;\n margin-bottom: 2px;\n}\n@media (min-width: 768px) {\n.profile-feed-component .info-overlay-text-field {\n font-size: 20px;\n margin-bottom: 15px;\n}\n}",""])},rge7:function(t,e,n){"use strict";n("mj7I")},shsI:function(t,e,n){var i=n("eRdD");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},sr38:function(t,e,n){var i=n("Efyt");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},sunR:function(t,e,n){var i=n("yNUO");t.exports=function(t,e){var n=i(t),o=i(e);return 12*(n.getFullYear()-o.getFullYear())+(n.getMonth()-o.getMonth())}},sw6c:function(t,e,n){var i=n("Rs6V");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},"t+jv":function(t,e,n){"use strict";n("N0po")},tfPv:function(t,e,n){var i=n("lreO");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},tyZa:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".settings-component .account-settings-component {\n margin: 0;\n}\n.settings-component .account-settings-component .container {\n margin: 0;\n}\n@media (min-width: 768px) {\n.settings-component .account-settings-component .container .card {\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08) !important;\n border-radius: 18px;\n border: none !important;\n}\n}",""])},tz93:function(t,e,n){"use strict";n.r(e),n.d(e,"decode",(function(){return i.a})),n.d(e,"isBlurhashValid",(function(){return i.b})),n.d(e,"encode",(function(){return l})),n.d(e,"ValidationError",(function(){return a.a}));var i=n("UchI"),o=n("fjH8"),r=n("AjvE"),a=n("JdCH");const s=(t,e,n,i)=>{let o=0,a=0,s=0;const l=4*e;for(let c=0;c<e;c++)for(let e=0;e<n;e++){const n=i(c,e);o+=n*Object(r.b)(t[4*c+0+e*l]),a+=n*Object(r.b)(t[4*c+1+e*l]),s+=n*Object(r.b)(t[4*c+2+e*l])}let c=1/(e*n);return[o*c,a*c,s*c]};var l=(t,e,n,i,l)=>{if(i<1||i>9||l<1||l>9)throw new a.a("BlurHash must have between 1 and 9 components");if(e*n*4!==t.length)throw new a.a("Width and height must match the pixels array");let c=[];for(let o=0;o<l;o++)for(let r=0;r<i;r++){const i=0==r&&0==o?1:2,a=s(t,e,n,(t,a)=>i*Math.cos(Math.PI*r*t/e)*Math.cos(Math.PI*o*a/n));c.push(a)}const u=c[0],d=c.slice(1);let p,h="",f=i-1+9*(l-1);if(h+=Object(o.b)(f,1),d.length>0){let t=Math.max(...d.map(t=>Math.max(...t))),e=Math.floor(Math.max(0,Math.min(82,Math.floor(166*t-.5))));p=(e+1)/166,h+=Object(o.b)(e,1)}else p=1,h+=Object(o.b)(0,1);var m;return h+=Object(o.b)((m=u,(Object(r.a)(m[0])<<16)+(Object(r.a)(m[1])<<8)+Object(r.a)(m[2])),4),d.forEach(t=>{h+=Object(o.b)(((t,e)=>19*Math.floor(Math.max(0,Math.min(18,Math.floor(9*Object(r.c)(t[0]/e,.5)+9.5))))*19+19*Math.floor(Math.max(0,Math.min(18,Math.floor(9*Object(r.c)(t[1]/e,.5)+9.5))))+Math.floor(Math.max(0,Math.min(18,Math.floor(9*Object(r.c)(t[2]/e,.5)+9.5)))))(t,p),2)}),h}},uZ6O:function(t,e,n){var i=n("8+kw");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},ujIz:function(t,e,n){"use strict";n("mXj/")},urRO:function(t,e,n){t.exports=function(){"use strict";function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function e(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var l="undefined"!=typeof window&&void 0!==window.document,c=l?window:{},u=!(!l||!c.document.documentElement)&&"ontouchstart"in c.document.documentElement,d=!!l&&"PointerEvent"in c,p="".concat("cropper","-crop"),h="".concat("cropper","-disabled"),f="".concat("cropper","-hidden"),m="".concat("cropper","-hide"),v="".concat("cropper","-invisible"),g="".concat("cropper","-modal"),b="".concat("cropper","-move"),y="".concat("cropper","Action"),w="".concat("cropper","Preview"),_=u?"touchstart":"mousedown",x=u?"touchmove":"mousemove",C=u?"touchend touchcancel":"mouseup",k=d?"pointerdown":_,O=d?"pointermove":x,S=d?"pointerup pointercancel":C,P=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,T=/^data:/,j=/^data:image\/jpeg;base64,/,M=/^img|canvas$/i,E={viewMode:0,dragMode:"crop",initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:200,minContainerHeight:100,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},A=Number.isNaN||c.isNaN;function D(t){return"number"==typeof t&&!A(t)}var $=function(t){return t>0&&t<1/0};function I(t){return void 0===t}function L(t){return"object"===n(t)&&null!==t}var B=Object.prototype.hasOwnProperty;function F(t){if(!L(t))return!1;try{var e=t.constructor,n=e.prototype;return e&&n&&B.call(n,"isPrototypeOf")}catch(t){return!1}}function R(t){return"function"==typeof t}var N=Array.prototype.slice;function U(t){return Array.from?Array.from(t):N.call(t)}function z(t,e){return t&&R(e)&&(Array.isArray(t)||D(t.length)?U(t).forEach((function(n,i){e.call(t,n,i,t)})):L(t)&&Object.keys(t).forEach((function(n){e.call(t,t[n],n,t)}))),t}var H=Object.assign||function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return L(t)&&n.length>0&&n.forEach((function(e){L(e)&&Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t},V=/\.\d*(?:0|9){12}\d*$/;function W(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return V.test(t)?Math.round(t*e)/e:t}var G=/^width|height|left|top|marginLeft|marginTop$/;function q(t,e){var n=t.style;z(e,(function(t,e){G.test(e)&&D(t)&&(t="".concat(t,"px")),n[e]=t}))}function Y(t,e){if(e)if(D(t.length))z(t,(function(t){Y(t,e)}));else if(t.classList)t.classList.add(e);else{var n=t.className.trim();n?n.indexOf(e)<0&&(t.className="".concat(n," ").concat(e)):t.className=e}}function X(t,e){e&&(D(t.length)?z(t,(function(t){X(t,e)})):t.classList?t.classList.remove(e):t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,"")))}function K(t,e,n){e&&(D(t.length)?z(t,(function(t){K(t,e,n)})):n?Y(t,e):X(t,e))}var J=/([a-z\d])([A-Z])/g;function Z(t){return t.replace(J,"$1-$2").toLowerCase()}function Q(t,e){return L(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-".concat(Z(e)))}function tt(t,e,n){L(n)?t[e]=n:t.dataset?t.dataset[e]=n:t.setAttribute("data-".concat(Z(e)),n)}var et=/\s\s*/,nt=function(){var t=!1;if(l){var e=!1,n=function(){},i=Object.defineProperty({},"once",{get:function(){return t=!0,e},set:function(t){e=t}});c.addEventListener("test",n,i),c.removeEventListener("test",n,i)}return t}();function it(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n;e.trim().split(et).forEach((function(e){if(!nt){var r=t.listeners;r&&r[e]&&r[e][n]&&(o=r[e][n],delete r[e][n],0===Object.keys(r[e]).length&&delete r[e],0===Object.keys(r).length&&delete t.listeners)}t.removeEventListener(e,o,i)}))}function ot(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n;e.trim().split(et).forEach((function(e){if(i.once&&!nt){var r=t.listeners,a=void 0===r?{}:r;o=function(){delete a[e][n],t.removeEventListener(e,o,i);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];n.apply(t,s)},a[e]||(a[e]={}),a[e][n]&&t.removeEventListener(e,a[e][n],i),a[e][n]=o,t.listeners=a}t.addEventListener(e,o,i)}))}function rt(t,e,n){var i;return R(Event)&&R(CustomEvent)?i=new CustomEvent(e,{detail:n,bubbles:!0,cancelable:!0}):(i=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,n),t.dispatchEvent(i)}function at(t){var e=t.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}var st=c.location,lt=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function ct(t){var e=t.match(lt);return null!==e&&(e[1]!==st.protocol||e[2]!==st.hostname||e[3]!==st.port)}function ut(t){var e="timestamp=".concat((new Date).getTime());return t+(-1===t.indexOf("?")?"?":"&")+e}function dt(t){var e=t.rotate,n=t.scaleX,i=t.scaleY,o=t.translateX,r=t.translateY,a=[];D(o)&&0!==o&&a.push("translateX(".concat(o,"px)")),D(r)&&0!==r&&a.push("translateY(".concat(r,"px)")),D(e)&&0!==e&&a.push("rotate(".concat(e,"deg)")),D(n)&&1!==n&&a.push("scaleX(".concat(n,")")),D(i)&&1!==i&&a.push("scaleY(".concat(i,")"));var s=a.length?a.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}function pt(t,n){var i=t.pageX,o=t.pageY,r={endX:i,endY:o};return n?r:e({startX:i,startY:o},r)}function ht(t){var e=t.aspectRatio,n=t.height,i=t.width,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"contain",r=$(i),a=$(n);if(r&&a){var s=n*e;"contain"===o&&s>i||"cover"===o&&s<i?n=i/e:i=n*e}else r?n=i/e:a&&(i=n*e);return{width:i,height:n}}function ft(t,e,n,i){var o=e.aspectRatio,r=e.naturalWidth,s=e.naturalHeight,l=e.rotate,c=void 0===l?0:l,u=e.scaleX,d=void 0===u?1:u,p=e.scaleY,h=void 0===p?1:p,f=n.aspectRatio,m=n.naturalWidth,v=n.naturalHeight,g=i.fillColor,b=void 0===g?"transparent":g,y=i.imageSmoothingEnabled,w=void 0===y||y,_=i.imageSmoothingQuality,x=void 0===_?"low":_,C=i.maxWidth,k=void 0===C?1/0:C,O=i.maxHeight,S=void 0===O?1/0:O,P=i.minWidth,T=void 0===P?0:P,j=i.minHeight,M=void 0===j?0:j,E=document.createElement("canvas"),A=E.getContext("2d"),D=ht({aspectRatio:f,width:k,height:S}),$=ht({aspectRatio:f,width:T,height:M},"cover"),I=Math.min(D.width,Math.max($.width,m)),L=Math.min(D.height,Math.max($.height,v)),B=ht({aspectRatio:o,width:k,height:S}),F=ht({aspectRatio:o,width:T,height:M},"cover"),R=Math.min(B.width,Math.max(F.width,r)),N=Math.min(B.height,Math.max(F.height,s)),U=[-R/2,-N/2,R,N];return E.width=W(I),E.height=W(L),A.fillStyle=b,A.fillRect(0,0,I,L),A.save(),A.translate(I/2,L/2),A.rotate(c*Math.PI/180),A.scale(d,h),A.imageSmoothingEnabled=w,A.imageSmoothingQuality=x,A.drawImage.apply(A,[t].concat(a(U.map((function(t){return Math.floor(W(t))}))))),A.restore(),E}var mt=String.fromCharCode,vt=/^data:.*,/;function gt(t){var e,n=new DataView(t);try{var i,o,r;if(255===n.getUint8(0)&&216===n.getUint8(1))for(var a=n.byteLength,s=2;s+1<a;){if(255===n.getUint8(s)&&225===n.getUint8(s+1)){o=s;break}s+=1}if(o){var l=o+10;if("Exif"===function(t,e,n){var i="";n+=e;for(var o=e;o<n;o+=1)i+=mt(t.getUint8(o));return i}(n,o+4,4)){var c=n.getUint16(l);if(((i=18761===c)||19789===c)&&42===n.getUint16(l+2,i)){var u=n.getUint32(l+4,i);u>=8&&(r=l+u)}}}if(r){var d,p,h=n.getUint16(r,i);for(p=0;p<h;p+=1)if(d=r+12*p+2,274===n.getUint16(d,i)){d+=8,e=n.getUint16(d,i),n.setUint16(d,1,i);break}}}catch(t){e=1}return e}var bt={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var t=this.element,e=this.options,n=this.container,i=this.cropper,o=Number(e.minContainerWidth),r=Number(e.minContainerHeight);Y(i,f),X(t,f);var a={width:Math.max(n.offsetWidth,o>=0?o:200),height:Math.max(n.offsetHeight,r>=0?r:100)};this.containerData=a,q(i,{width:a.width,height:a.height}),Y(t,f),X(i,f)},initCanvas:function(){var t=this.containerData,e=this.imageData,n=this.options.viewMode,i=Math.abs(e.rotate)%180==90,o=i?e.naturalHeight:e.naturalWidth,r=i?e.naturalWidth:e.naturalHeight,a=o/r,s=t.width,l=t.height;t.height*a>t.width?3===n?s=t.height*a:l=t.width/a:3===n?l=t.width/a:s=t.height*a;var c={aspectRatio:a,naturalWidth:o,naturalHeight:r,width:s,height:l};this.canvasData=c,this.limited=1===n||2===n,this.limitCanvas(!0,!0),c.width=Math.min(Math.max(c.width,c.minWidth),c.maxWidth),c.height=Math.min(Math.max(c.height,c.minHeight),c.maxHeight),c.left=(t.width-c.width)/2,c.top=(t.height-c.height)/2,c.oldLeft=c.left,c.oldTop=c.top,this.initialCanvasData=H({},c)},limitCanvas:function(t,e){var n=this.options,i=this.containerData,o=this.canvasData,r=this.cropBoxData,a=n.viewMode,s=o.aspectRatio,l=this.cropped&&r;if(t){var c=Number(n.minCanvasWidth)||0,u=Number(n.minCanvasHeight)||0;a>1?(c=Math.max(c,i.width),u=Math.max(u,i.height),3===a&&(u*s>c?c=u*s:u=c/s)):a>0&&(c?c=Math.max(c,l?r.width:0):u?u=Math.max(u,l?r.height:0):l&&(c=r.width,(u=r.height)*s>c?c=u*s:u=c/s));var d=ht({aspectRatio:s,width:c,height:u});c=d.width,u=d.height,o.minWidth=c,o.minHeight=u,o.maxWidth=1/0,o.maxHeight=1/0}if(e)if(a>(l?0:1)){var p=i.width-o.width,h=i.height-o.height;o.minLeft=Math.min(0,p),o.minTop=Math.min(0,h),o.maxLeft=Math.max(0,p),o.maxTop=Math.max(0,h),l&&this.limited&&(o.minLeft=Math.min(r.left,r.left+(r.width-o.width)),o.minTop=Math.min(r.top,r.top+(r.height-o.height)),o.maxLeft=r.left,o.maxTop=r.top,2===a&&(o.width>=i.width&&(o.minLeft=Math.min(0,p),o.maxLeft=Math.max(0,p)),o.height>=i.height&&(o.minTop=Math.min(0,h),o.maxTop=Math.max(0,h))))}else o.minLeft=-o.width,o.minTop=-o.height,o.maxLeft=i.width,o.maxTop=i.height},renderCanvas:function(t,e){var n=this.canvasData,i=this.imageData;if(e){var o=function(t){var e=t.width,n=t.height,i=t.degree;if(90==(i=Math.abs(i)%180))return{width:n,height:e};var o=i%90*Math.PI/180,r=Math.sin(o),a=Math.cos(o),s=e*a+n*r,l=e*r+n*a;return i>90?{width:l,height:s}:{width:s,height:l}}({width:i.naturalWidth*Math.abs(i.scaleX||1),height:i.naturalHeight*Math.abs(i.scaleY||1),degree:i.rotate||0}),r=o.width,a=o.height,s=n.width*(r/n.naturalWidth),l=n.height*(a/n.naturalHeight);n.left-=(s-n.width)/2,n.top-=(l-n.height)/2,n.width=s,n.height=l,n.aspectRatio=r/a,n.naturalWidth=r,n.naturalHeight=a,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCanvas(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,q(this.canvas,H({width:n.width,height:n.height},dt({translateX:n.left,translateY:n.top}))),this.renderImage(t),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(t){var e=this.canvasData,n=this.imageData,i=n.naturalWidth*(e.width/e.naturalWidth),o=n.naturalHeight*(e.height/e.naturalHeight);H(n,{width:i,height:o,left:(e.width-i)/2,top:(e.height-o)/2}),q(this.image,H({width:n.width,height:n.height},dt(H({translateX:n.left,translateY:n.top},n)))),t&&this.output()},initCropBox:function(){var t=this.options,e=this.canvasData,n=t.aspectRatio||t.initialAspectRatio,i=Number(t.autoCropArea)||.8,o={width:e.width,height:e.height};n&&(e.height*n>e.width?o.height=o.width/n:o.width=o.height*n),this.cropBoxData=o,this.limitCropBox(!0,!0),o.width=Math.min(Math.max(o.width,o.minWidth),o.maxWidth),o.height=Math.min(Math.max(o.height,o.minHeight),o.maxHeight),o.width=Math.max(o.minWidth,o.width*i),o.height=Math.max(o.minHeight,o.height*i),o.left=e.left+(e.width-o.width)/2,o.top=e.top+(e.height-o.height)/2,o.oldLeft=o.left,o.oldTop=o.top,this.initialCropBoxData=H({},o)},limitCropBox:function(t,e){var n=this.options,i=this.containerData,o=this.canvasData,r=this.cropBoxData,a=this.limited,s=n.aspectRatio;if(t){var l=Number(n.minCropBoxWidth)||0,c=Number(n.minCropBoxHeight)||0,u=a?Math.min(i.width,o.width,o.width+o.left,i.width-o.left):i.width,d=a?Math.min(i.height,o.height,o.height+o.top,i.height-o.top):i.height;l=Math.min(l,i.width),c=Math.min(c,i.height),s&&(l&&c?c*s>l?c=l/s:l=c*s:l?c=l/s:c&&(l=c*s),d*s>u?d=u/s:u=d*s),r.minWidth=Math.min(l,u),r.minHeight=Math.min(c,d),r.maxWidth=u,r.maxHeight=d}e&&(a?(r.minLeft=Math.max(0,o.left),r.minTop=Math.max(0,o.top),r.maxLeft=Math.min(i.width,o.left+o.width)-r.width,r.maxTop=Math.min(i.height,o.top+o.height)-r.height):(r.minLeft=0,r.minTop=0,r.maxLeft=i.width-r.width,r.maxTop=i.height-r.height))},renderCropBox:function(){var t=this.options,e=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCropBox(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,t.movable&&t.cropBoxMovable&&tt(this.face,y,n.width>=e.width&&n.height>=e.height?"move":"all"),q(this.cropBox,H({width:n.width,height:n.height},dt({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),rt(this.element,"crop",this.getData())}},yt={initPreview:function(){var t=this.element,e=this.crossOrigin,n=this.options.preview,i=e?this.crossOriginUrl:this.url,o=t.alt||"The image to preview",r=document.createElement("img");if(e&&(r.crossOrigin=e),r.src=i,r.alt=o,this.viewBox.appendChild(r),this.viewBoxImage=r,n){var a=n;"string"==typeof n?a=t.ownerDocument.querySelectorAll(n):n.querySelector&&(a=[n]),this.previews=a,z(a,(function(t){var n=document.createElement("img");tt(t,w,{width:t.offsetWidth,height:t.offsetHeight,html:t.innerHTML}),e&&(n.crossOrigin=e),n.src=i,n.alt=o,n.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',t.innerHTML="",t.appendChild(n)}))}},resetPreview:function(){z(this.previews,(function(t){var e=Q(t,w);q(t,{width:e.width,height:e.height}),t.innerHTML=e.html,function(t,e){if(L(t[e]))try{delete t[e]}catch(n){t[e]=void 0}else if(t.dataset)try{delete t.dataset[e]}catch(n){t.dataset[e]=void 0}else t.removeAttribute("data-".concat(Z(e)))}(t,w)}))},preview:function(){var t=this.imageData,e=this.canvasData,n=this.cropBoxData,i=n.width,o=n.height,r=t.width,a=t.height,s=n.left-e.left-t.left,l=n.top-e.top-t.top;this.cropped&&!this.disabled&&(q(this.viewBoxImage,H({width:r,height:a},dt(H({translateX:-s,translateY:-l},t)))),z(this.previews,(function(e){var n=Q(e,w),c=n.width,u=n.height,d=c,p=u,h=1;i&&(p=o*(h=c/i)),o&&p>u&&(d=i*(h=u/o),p=u),q(e,{width:d,height:p}),q(e.getElementsByTagName("img")[0],H({width:r*h,height:a*h},dt(H({translateX:-s*h,translateY:-l*h},t))))})))}},wt={bind:function(){var t=this.element,e=this.options,n=this.cropper;R(e.cropstart)&&ot(t,"cropstart",e.cropstart),R(e.cropmove)&&ot(t,"cropmove",e.cropmove),R(e.cropend)&&ot(t,"cropend",e.cropend),R(e.crop)&&ot(t,"crop",e.crop),R(e.zoom)&&ot(t,"zoom",e.zoom),ot(n,k,this.onCropStart=this.cropStart.bind(this)),e.zoomable&&e.zoomOnWheel&&ot(n,"wheel",this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&ot(n,"dblclick",this.onDblclick=this.dblclick.bind(this)),ot(t.ownerDocument,O,this.onCropMove=this.cropMove.bind(this)),ot(t.ownerDocument,S,this.onCropEnd=this.cropEnd.bind(this)),e.responsive&&ot(window,"resize",this.onResize=this.resize.bind(this))},unbind:function(){var t=this.element,e=this.options,n=this.cropper;R(e.cropstart)&&it(t,"cropstart",e.cropstart),R(e.cropmove)&&it(t,"cropmove",e.cropmove),R(e.cropend)&&it(t,"cropend",e.cropend),R(e.crop)&&it(t,"crop",e.crop),R(e.zoom)&&it(t,"zoom",e.zoom),it(n,k,this.onCropStart),e.zoomable&&e.zoomOnWheel&&it(n,"wheel",this.onWheel,{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&it(n,"dblclick",this.onDblclick),it(t.ownerDocument,O,this.onCropMove),it(t.ownerDocument,S,this.onCropEnd),e.responsive&&it(window,"resize",this.onResize)}},_t={resize:function(){if(!this.disabled){var t,e,n=this.options,i=this.container,o=this.containerData,r=i.offsetWidth/o.width,a=i.offsetHeight/o.height,s=Math.abs(r-1)>Math.abs(a-1)?r:a;1!==s&&(n.restore&&(t=this.getCanvasData(),e=this.getCropBoxData()),this.render(),n.restore&&(this.setCanvasData(z(t,(function(e,n){t[n]=e*s}))),this.setCropBoxData(z(e,(function(t,n){e[n]=t*s})))))}},dblclick:function(){var t,e;this.disabled||"none"===this.options.dragMode||this.setDragMode((t=this.dragBox,e=p,(t.classList?t.classList.contains(e):t.className.indexOf(e)>-1)?"move":"crop"))},wheel:function(t){var e=this,n=Number(this.options.wheelZoomRatio)||.1,i=1;this.disabled||(t.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout((function(){e.wheeling=!1}),50),t.deltaY?i=t.deltaY>0?1:-1:t.wheelDelta?i=-t.wheelDelta/120:t.detail&&(i=t.detail>0?1:-1),this.zoom(-i*n,t)))},cropStart:function(t){var e=t.buttons,n=t.button;if(!(this.disabled||("mousedown"===t.type||"pointerdown"===t.type&&"mouse"===t.pointerType)&&(D(e)&&1!==e||D(n)&&0!==n||t.ctrlKey))){var i,o=this.options,r=this.pointers;t.changedTouches?z(t.changedTouches,(function(t){r[t.identifier]=pt(t)})):r[t.pointerId||0]=pt(t),i=Object.keys(r).length>1&&o.zoomable&&o.zoomOnTouch?"zoom":Q(t.target,y),P.test(i)&&!1!==rt(this.element,"cropstart",{originalEvent:t,action:i})&&(t.preventDefault(),this.action=i,this.cropping=!1,"crop"===i&&(this.cropping=!0,Y(this.dragBox,g)))}},cropMove:function(t){var e=this.action;if(!this.disabled&&e){var n=this.pointers;t.preventDefault(),!1!==rt(this.element,"cropmove",{originalEvent:t,action:e})&&(t.changedTouches?z(t.changedTouches,(function(t){H(n[t.identifier]||{},pt(t,!0))})):H(n[t.pointerId||0]||{},pt(t,!0)),this.change(t))}},cropEnd:function(t){if(!this.disabled){var e=this.action,n=this.pointers;t.changedTouches?z(t.changedTouches,(function(t){delete n[t.identifier]})):delete n[t.pointerId||0],e&&(t.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,K(this.dragBox,g,this.cropped&&this.options.modal)),rt(this.element,"cropend",{originalEvent:t,action:e}))}}},xt={change:function(t){var n,i=this.options,o=this.canvasData,r=this.containerData,a=this.cropBoxData,s=this.pointers,l=this.action,c=i.aspectRatio,u=a.left,d=a.top,p=a.width,h=a.height,m=u+p,v=d+h,g=0,b=0,y=r.width,w=r.height,_=!0;!c&&t.shiftKey&&(c=p&&h?p/h:1),this.limited&&(g=a.minLeft,b=a.minTop,y=g+Math.min(r.width,o.width,o.left+o.width),w=b+Math.min(r.height,o.height,o.top+o.height));var x=s[Object.keys(s)[0]],C={x:x.endX-x.startX,y:x.endY-x.startY},k=function(t){switch(t){case"e":m+C.x>y&&(C.x=y-m);break;case"w":u+C.x<g&&(C.x=g-u);break;case"n":d+C.y<b&&(C.y=b-d);break;case"s":v+C.y>w&&(C.y=w-v)}};switch(l){case"all":u+=C.x,d+=C.y;break;case"e":if(C.x>=0&&(m>=y||c&&(d<=b||v>=w))){_=!1;break}k("e"),(p+=C.x)<0&&(l="w",u-=p=-p),c&&(h=p/c,d+=(a.height-h)/2);break;case"n":if(C.y<=0&&(d<=b||c&&(u<=g||m>=y))){_=!1;break}k("n"),h-=C.y,d+=C.y,h<0&&(l="s",d-=h=-h),c&&(p=h*c,u+=(a.width-p)/2);break;case"w":if(C.x<=0&&(u<=g||c&&(d<=b||v>=w))){_=!1;break}k("w"),p-=C.x,u+=C.x,p<0&&(l="e",u-=p=-p),c&&(h=p/c,d+=(a.height-h)/2);break;case"s":if(C.y>=0&&(v>=w||c&&(u<=g||m>=y))){_=!1;break}k("s"),(h+=C.y)<0&&(l="n",d-=h=-h),c&&(p=h*c,u+=(a.width-p)/2);break;case"ne":if(c){if(C.y<=0&&(d<=b||m>=y)){_=!1;break}k("n"),h-=C.y,d+=C.y,p=h*c}else k("n"),k("e"),C.x>=0?m<y?p+=C.x:C.y<=0&&d<=b&&(_=!1):p+=C.x,C.y<=0?d>b&&(h-=C.y,d+=C.y):(h-=C.y,d+=C.y);p<0&&h<0?(l="sw",d-=h=-h,u-=p=-p):p<0?(l="nw",u-=p=-p):h<0&&(l="se",d-=h=-h);break;case"nw":if(c){if(C.y<=0&&(d<=b||u<=g)){_=!1;break}k("n"),h-=C.y,d+=C.y,p=h*c,u+=a.width-p}else k("n"),k("w"),C.x<=0?u>g?(p-=C.x,u+=C.x):C.y<=0&&d<=b&&(_=!1):(p-=C.x,u+=C.x),C.y<=0?d>b&&(h-=C.y,d+=C.y):(h-=C.y,d+=C.y);p<0&&h<0?(l="se",d-=h=-h,u-=p=-p):p<0?(l="ne",u-=p=-p):h<0&&(l="sw",d-=h=-h);break;case"sw":if(c){if(C.x<=0&&(u<=g||v>=w)){_=!1;break}k("w"),p-=C.x,u+=C.x,h=p/c}else k("s"),k("w"),C.x<=0?u>g?(p-=C.x,u+=C.x):C.y>=0&&v>=w&&(_=!1):(p-=C.x,u+=C.x),C.y>=0?v<w&&(h+=C.y):h+=C.y;p<0&&h<0?(l="ne",d-=h=-h,u-=p=-p):p<0?(l="se",u-=p=-p):h<0&&(l="nw",d-=h=-h);break;case"se":if(c){if(C.x>=0&&(m>=y||v>=w)){_=!1;break}k("e"),h=(p+=C.x)/c}else k("s"),k("e"),C.x>=0?m<y?p+=C.x:C.y>=0&&v>=w&&(_=!1):p+=C.x,C.y>=0?v<w&&(h+=C.y):h+=C.y;p<0&&h<0?(l="nw",d-=h=-h,u-=p=-p):p<0?(l="sw",u-=p=-p):h<0&&(l="ne",d-=h=-h);break;case"move":this.move(C.x,C.y),_=!1;break;case"zoom":this.zoom(function(t){var n=e({},t),i=0;return z(t,(function(t,e){delete n[e],z(n,(function(e){var n=Math.abs(t.startX-e.startX),o=Math.abs(t.startY-e.startY),r=Math.abs(t.endX-e.endX),a=Math.abs(t.endY-e.endY),s=Math.sqrt(n*n+o*o),l=(Math.sqrt(r*r+a*a)-s)/s;Math.abs(l)>Math.abs(i)&&(i=l)}))})),i}(s),t),_=!1;break;case"crop":if(!C.x||!C.y){_=!1;break}n=at(this.cropper),u=x.startX-n.left,d=x.startY-n.top,p=a.minWidth,h=a.minHeight,C.x>0?l=C.y>0?"se":"ne":C.x<0&&(u-=p,l=C.y>0?"sw":"nw"),C.y<0&&(d-=h),this.cropped||(X(this.cropBox,f),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))}_&&(a.width=p,a.height=h,a.left=u,a.top=d,this.action=l,this.renderCropBox()),z(s,(function(t){t.startX=t.endX,t.startY=t.endY}))}},Ct={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&Y(this.dragBox,g),X(this.cropBox,f),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=H({},this.initialImageData),this.canvasData=H({},this.initialCanvasData),this.cropBoxData=H({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(H(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),X(this.dragBox,g),Y(this.cropBox,f)),this},replace:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&t&&(this.isImg&&(this.element.src=t),e?(this.url=t,this.image.src=t,this.ready&&(this.viewBoxImage.src=t,z(this.previews,(function(e){e.getElementsByTagName("img")[0].src=t})))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(t))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,X(this.cropper,h)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,Y(this.cropper,h)),this},destroy:function(){var t=this.element;return t.cropper?(t.cropper=void 0,this.isImg&&this.replaced&&(t.src=this.originalUrl),this.uncreate(),this):this},move:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.canvasData,i=n.left,o=n.top;return this.moveTo(I(t)?t:i+Number(t),I(e)?e:o+Number(e))},moveTo:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.canvasData,i=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.movable&&(D(t)&&(n.left=t,i=!0),D(e)&&(n.top=e,i=!0),i&&this.renderCanvas(!0)),this},zoom:function(t,e){var n=this.canvasData;return t=(t=Number(t))<0?1/(1-t):1+t,this.zoomTo(n.width*t/n.naturalWidth,null,e)},zoomTo:function(t,e,n){var i=this.options,o=this.canvasData,r=o.width,a=o.height,s=o.naturalWidth,l=o.naturalHeight;if((t=Number(t))>=0&&this.ready&&!this.disabled&&i.zoomable){var c=s*t,u=l*t;if(!1===rt(this.element,"zoom",{ratio:t,oldRatio:r/s,originalEvent:n}))return this;if(n){var d=this.pointers,p=at(this.cropper),h=d&&Object.keys(d).length?function(t){var e=0,n=0,i=0;return z(t,(function(t){var o=t.startX,r=t.startY;e+=o,n+=r,i+=1})),{pageX:e/=i,pageY:n/=i}}(d):{pageX:n.pageX,pageY:n.pageY};o.left-=(c-r)*((h.pageX-p.left-o.left)/r),o.top-=(u-a)*((h.pageY-p.top-o.top)/a)}else F(e)&&D(e.x)&&D(e.y)?(o.left-=(c-r)*((e.x-o.left)/r),o.top-=(u-a)*((e.y-o.top)/a)):(o.left-=(c-r)/2,o.top-=(u-a)/2);o.width=c,o.height=u,this.renderCanvas(!0)}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){return D(t=Number(t))&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX:function(t){var e=this.imageData.scaleY;return this.scale(t,D(e)?e:1)},scaleY:function(t){var e=this.imageData.scaleX;return this.scale(D(e)?e:1,t)},scale:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.imageData,i=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.scalable&&(D(t)&&(n.scaleX=t,i=!0),D(e)&&(n.scaleY=e,i=!0),i&&this.renderCanvas(!0,!0)),this},getData:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.options,i=this.imageData,o=this.canvasData,r=this.cropBoxData;if(this.ready&&this.cropped){t={x:r.left-o.left,y:r.top-o.top,width:r.width,height:r.height};var a=i.width/i.naturalWidth;if(z(t,(function(e,n){t[n]=e/a})),e){var s=Math.round(t.y+t.height),l=Math.round(t.x+t.width);t.x=Math.round(t.x),t.y=Math.round(t.y),t.width=l-t.x,t.height=s-t.y}}else t={x:0,y:0,width:0,height:0};return n.rotatable&&(t.rotate=i.rotate||0),n.scalable&&(t.scaleX=i.scaleX||1,t.scaleY=i.scaleY||1),t},setData:function(t){var e=this.options,n=this.imageData,i=this.canvasData,o={};if(this.ready&&!this.disabled&&F(t)){var r=!1;e.rotatable&&D(t.rotate)&&t.rotate!==n.rotate&&(n.rotate=t.rotate,r=!0),e.scalable&&(D(t.scaleX)&&t.scaleX!==n.scaleX&&(n.scaleX=t.scaleX,r=!0),D(t.scaleY)&&t.scaleY!==n.scaleY&&(n.scaleY=t.scaleY,r=!0)),r&&this.renderCanvas(!0,!0);var a=n.width/n.naturalWidth;D(t.x)&&(o.left=t.x*a+i.left),D(t.y)&&(o.top=t.y*a+i.top),D(t.width)&&(o.width=t.width*a),D(t.height)&&(o.height=t.height*a),this.setCropBoxData(o)}return this},getContainerData:function(){return this.ready?H({},this.containerData):{}},getImageData:function(){return this.sized?H({},this.imageData):{}},getCanvasData:function(){var t=this.canvasData,e={};return this.ready&&z(["left","top","width","height","naturalWidth","naturalHeight"],(function(n){e[n]=t[n]})),e},setCanvasData:function(t){var e=this.canvasData,n=e.aspectRatio;return this.ready&&!this.disabled&&F(t)&&(D(t.left)&&(e.left=t.left),D(t.top)&&(e.top=t.top),D(t.width)?(e.width=t.width,e.height=t.width/n):D(t.height)&&(e.height=t.height,e.width=t.height*n),this.renderCanvas(!0)),this},getCropBoxData:function(){var t,e=this.cropBoxData;return this.ready&&this.cropped&&(t={left:e.left,top:e.top,width:e.width,height:e.height}),t||{}},setCropBoxData:function(t){var e,n,i=this.cropBoxData,o=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&F(t)&&(D(t.left)&&(i.left=t.left),D(t.top)&&(i.top=t.top),D(t.width)&&t.width!==i.width&&(e=!0,i.width=t.width),D(t.height)&&t.height!==i.height&&(n=!0,i.height=t.height),o&&(e?i.height=i.width/o:n&&(i.width=i.height*o)),this.renderCropBox()),this},getCroppedCanvas:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var e=this.canvasData,n=ft(this.image,this.imageData,e,t);if(!this.cropped)return n;var i=this.getData(),o=i.x,r=i.y,s=i.width,l=i.height,c=n.width/Math.floor(e.naturalWidth);1!==c&&(o*=c,r*=c,s*=c,l*=c);var u=s/l,d=ht({aspectRatio:u,width:t.maxWidth||1/0,height:t.maxHeight||1/0}),p=ht({aspectRatio:u,width:t.minWidth||0,height:t.minHeight||0},"cover"),h=ht({aspectRatio:u,width:t.width||(1!==c?n.width:s),height:t.height||(1!==c?n.height:l)}),f=h.width,m=h.height;f=Math.min(d.width,Math.max(p.width,f)),m=Math.min(d.height,Math.max(p.height,m));var v=document.createElement("canvas"),g=v.getContext("2d");v.width=W(f),v.height=W(m),g.fillStyle=t.fillColor||"transparent",g.fillRect(0,0,f,m);var b=t.imageSmoothingEnabled,y=void 0===b||b,w=t.imageSmoothingQuality;g.imageSmoothingEnabled=y,w&&(g.imageSmoothingQuality=w);var _,x,C,k,O,S,P=n.width,T=n.height,j=o,M=r;j<=-s||j>P?(j=0,_=0,C=0,O=0):j<=0?(C=-j,j=0,O=_=Math.min(P,s+j)):j<=P&&(C=0,O=_=Math.min(s,P-j)),_<=0||M<=-l||M>T?(M=0,x=0,k=0,S=0):M<=0?(k=-M,M=0,S=x=Math.min(T,l+M)):M<=T&&(k=0,S=x=Math.min(l,T-M));var E=[j,M,_,x];if(O>0&&S>0){var A=f/s;E.push(C*A,k*A,O*A,S*A)}return g.drawImage.apply(g,[n].concat(a(E.map((function(t){return Math.floor(W(t))}))))),v},setAspectRatio:function(t){var e=this.options;return this.disabled||I(t)||(e.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(t){var e=this.options,n=this.dragBox,i=this.face;if(this.ready&&!this.disabled){var o="crop"===t,r=e.movable&&"move"===t;t=o||r?t:"none",e.dragMode=t,tt(n,y,t),K(n,p,o),K(n,b,r),e.cropBoxMovable||(tt(i,y,t),K(i,p,o),K(i,b,r))}return this}},kt=c.Cropper,Ot=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i(this,t),!e||!M.test(e.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=e,this.options=H({},E,F(n)&&n),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}var e,n,r;return e=t,r=[{key:"noConflict",value:function(){return window.Cropper=kt,t}},{key:"setDefaults",value:function(t){H(E,F(t)&&t)}}],(n=[{key:"init",value:function(){var t,e=this.element,n=e.tagName.toLowerCase();if(!e.cropper){if(e.cropper=this,"img"===n){if(this.isImg=!0,t=e.getAttribute("src")||"",this.originalUrl=t,!t)return;t=e.src}else"canvas"===n&&window.HTMLCanvasElement&&(t=e.toDataURL());this.load(t)}}},{key:"load",value:function(t){var e=this;if(t){this.url=t,this.imageData={};var n=this.element,i=this.options;if(i.rotatable||i.scalable||(i.checkOrientation=!1),i.checkOrientation&&window.ArrayBuffer)if(T.test(t))j.test(t)?this.read((o=t.replace(vt,""),r=atob(o),a=new ArrayBuffer(r.length),z(s=new Uint8Array(a),(function(t,e){s[e]=r.charCodeAt(e)})),a)):this.clone();else{var o,r,a,s,l=new XMLHttpRequest,c=this.clone.bind(this);this.reloading=!0,this.xhr=l,l.onabort=c,l.onerror=c,l.ontimeout=c,l.onprogress=function(){"image/jpeg"!==l.getResponseHeader("content-type")&&l.abort()},l.onload=function(){e.read(l.response)},l.onloadend=function(){e.reloading=!1,e.xhr=null},i.checkCrossOrigin&&ct(t)&&n.crossOrigin&&(t=ut(t)),l.open("GET",t,!0),l.responseType="arraybuffer",l.withCredentials="use-credentials"===n.crossOrigin,l.send()}else this.clone()}}},{key:"read",value:function(t){var e=this.options,n=this.imageData,i=gt(t),o=0,r=1,a=1;if(i>1){this.url=function(t,e){for(var n=[],i=new Uint8Array(t);i.length>0;)n.push(mt.apply(null,U(i.subarray(0,8192)))),i=i.subarray(8192);return"data:".concat(e,";base64,").concat(btoa(n.join("")))}(t,"image/jpeg");var s=function(t){var e=0,n=1,i=1;switch(t){case 2:n=-1;break;case 3:e=-180;break;case 4:i=-1;break;case 5:e=90,i=-1;break;case 6:e=90;break;case 7:e=90,n=-1;break;case 8:e=-90}return{rotate:e,scaleX:n,scaleY:i}}(i);o=s.rotate,r=s.scaleX,a=s.scaleY}e.rotatable&&(n.rotate=o),e.scalable&&(n.scaleX=r,n.scaleY=a),this.clone()}},{key:"clone",value:function(){var t=this.element,e=this.url,n=t.crossOrigin,i=e;this.options.checkCrossOrigin&&ct(e)&&(n||(n="anonymous"),i=ut(e)),this.crossOrigin=n,this.crossOriginUrl=i;var o=document.createElement("img");n&&(o.crossOrigin=n),o.src=i||e,o.alt=t.alt||"The image to crop",this.image=o,o.onload=this.start.bind(this),o.onerror=this.stop.bind(this),Y(o,m),t.parentNode.insertBefore(o,t.nextSibling)}},{key:"start",value:function(){var t=this,e=this.image;e.onload=null,e.onerror=null,this.sizing=!0;var n=c.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(c.navigator.userAgent),i=function(e,n){H(t.imageData,{naturalWidth:e,naturalHeight:n,aspectRatio:e/n}),t.initialImageData=H({},t.imageData),t.sizing=!1,t.sized=!0,t.build()};if(!e.naturalWidth||n){var o=document.createElement("img"),r=document.body||document.documentElement;this.sizingImage=o,o.onload=function(){i(o.width,o.height),n||r.removeChild(o)},o.src=e.src,n||(o.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",r.appendChild(o))}else i(e.naturalWidth,e.naturalHeight)}},{key:"stop",value:function(){var t=this.image;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var t=this.element,e=this.options,n=this.image,i=t.parentNode,o=document.createElement("div");o.innerHTML='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>';var r=o.querySelector(".".concat("cropper","-container")),a=r.querySelector(".".concat("cropper","-canvas")),s=r.querySelector(".".concat("cropper","-drag-box")),l=r.querySelector(".".concat("cropper","-crop-box")),c=l.querySelector(".".concat("cropper","-face"));this.container=i,this.cropper=r,this.canvas=a,this.dragBox=s,this.cropBox=l,this.viewBox=r.querySelector(".".concat("cropper","-view-box")),this.face=c,a.appendChild(n),Y(t,f),i.insertBefore(r,t.nextSibling),this.isImg||X(n,m),this.initPreview(),this.bind(),e.initialAspectRatio=Math.max(0,e.initialAspectRatio)||NaN,e.aspectRatio=Math.max(0,e.aspectRatio)||NaN,e.viewMode=Math.max(0,Math.min(3,Math.round(e.viewMode)))||0,Y(l,f),e.guides||Y(l.getElementsByClassName("".concat("cropper","-dashed")),f),e.center||Y(l.getElementsByClassName("".concat("cropper","-center")),f),e.background&&Y(r,"".concat("cropper","-bg")),e.highlight||Y(c,v),e.cropBoxMovable&&(Y(c,b),tt(c,y,"all")),e.cropBoxResizable||(Y(l.getElementsByClassName("".concat("cropper","-line")),f),Y(l.getElementsByClassName("".concat("cropper","-point")),f)),this.render(),this.ready=!0,this.setDragMode(e.dragMode),e.autoCrop&&this.crop(),this.setData(e.data),R(e.ready)&&ot(t,"ready",e.ready,{once:!0}),rt(t,"ready")}}},{key:"unbuild",value:function(){this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),X(this.element,f))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}])&&o(e.prototype,n),r&&o(e,r),t}();return H(Ot.prototype,bt,yt,wt,_t,xt,Ct),Ot}()},vWIM:function(t,e,n){"use strict";n("sr38")},vkaS:function(t,e,n){"use strict";n("iavZ")},vncG:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-profile-component .form-check[data-v-53dd5681] {\n margin-left: 1rem;\n}\n.account-profile-component .form-check .media-body[data-v-53dd5681] {\n margin-left: 1rem;\n}\n.account-profile-component .col-form-label.changed[data-v-53dd5681] {\n color: #EF4444;\n}",""])},vpVj:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".primary[data-v-6a850a08] {\n color: #3B82F6;\n}\n.avatar[data-v-6a850a08] {\n border-radius: 15px;\n}\n.username[data-v-6a850a08] {\n font-size: 15px;\n margin-bottom: -6px;\n}\n.display-name[data-v-6a850a08] {\n font-size: 12px;\n}\n.follow[data-v-6a850a08] {\n background-color: #3B82F6;\n border-radius: 18px;\n font-weight: 600;\n padding: 5px 15px;\n}\n.btn-white[data-v-6a850a08] {\n background-color: #fff;\n border: 1px solid #F3F4F6;\n}",""])},"wq/R":function(t,e,n){var i=n("Zz9T");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,o);i.locals&&(t.exports=i.locals)},x6yo:function(t,e,n){"use strict";n.r(e);function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var r,a,s,l={data:function(){return{loading:!0,notifications:{},notificationCursor:2,notificationMaxId:0,profile:{locked:!1},followRequests:null,showRefresh:!1,attemptedRefresh:!1}},mounted:function(){var t=this;this.fetchNotifications(),setTimeout((function(){t.profile=window._sharedData.curUser,t.fetchFollowRequests()}),1500)},updated:function(){},methods:(r={fetchNotifications:function(){var t=this;axios.get("/api/pixelfed/v1/notifications?pg=true").then((function(e){var n=e.data.filter((function(t){return!("share"==t.type&&!t.status||"comment"==t.type&&!t.status||"mention"==t.type&&!t.status||"favourite"==t.type&&!t.status||"follow"==t.type&&!t.account)})),o=n.map((function(t){return t.id}));t.notificationMaxId=Math.min.apply(Math,i(o)),t.notifications=n,t.loading=!1,0!=n.length||t.attemptedRefresh||(t.showRefresh=!0)}))},infiniteNotifications:function(t){var e=this;this.notificationCursor>5?t.complete():axios.get("/api/pixelfed/v1/notifications",{params:{max_id:this.notificationMaxId}}).then((function(n){if(n.data.length){var o,r=n.data.filter((function(t){return!("share"==t.type&&!t.status||"comment"==t.type&&!t.status||"mention"==t.type&&!t.status||"favourite"==t.type&&!t.status||"follow"==t.type&&!t.account||_.find(e.notifications,{id:t.id}))})),a=r.map((function(t){return t.id}));e.notificationMaxId=Math.min.apply(Math,i(a)),(o=e.notifications).push.apply(o,i(r)),e.notificationCursor++,t.loaded()}else t.complete()}))},truncate:function(t){return t.length<=15?t:t.slice(0,15)+"..."},timeAgo:function(t){return window.App.util.format.timeAgo(t)},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},notificationPoll:function(){var t=this.notifications.length>5?15e3:12e4,e=this;setInterval((function(){axios.get("/api/pixelfed/v1/notifications").then((function(t){var n=t.data.filter((function(t){return!("share"==t.type||e.notificationMaxId>=t.id)}));if(n.length){var o,r=n.map((function(t){return t.id}));e.notificationMaxId=Math.max.apply(Math,i(r)),(o=e.notifications).unshift.apply(o,i(n));var a=new Audio("/static/beep.mp3");a.volume=.7,a.play(),$(".notification-card .far.fa-bell").addClass("fas text-danger").removeClass("far text-muted")}}))}),t)},refreshNotifications:function(){var t=this;axios.get("/api/pixelfed/v1/notifications").then((function(e){var n=e.data.filter((function(e){return!("share"==e.type||t.notificationMaxId>=e.id)}));if(n.length>0){var i=n.map((function(t){return t.id})),o=Math.max(i);if(o<=t.notificationMaxId)return;t.notificationMaxId=o,t.notifications=n;var r=new Audio("/static/beep.mp3");r.volume=.7,r.play()}}))},fetchFollowRequests:function(){var t=this;1==window._sharedData.curUser.locked&&axios.get("/account/follow-requests.json").then((function(e){t.followRequests=e.data}))},redirect:function(t){window.location.href=t},notificationPreview:function(t){return t.status&&t.status.hasOwnProperty("media_attachments")&&t.status.media_attachments.length?t.status.media_attachments[0].preview_url:"/storage/no-preview.png"},getProfileUrl:function(t){return 1==t.local?t.url:"/i/web/profile/_/"+t.id},getPostUrl:function(t){if(t)return t.hasOwnProperty("local")&&1!=t.local?"/i/web/post/_/"+t.account.id+"/"+t.id:t.url}},a="refreshNotifications",s=function(){this.loading=!0,this.attemptedRefresh=!0,this.fetchNotifications()},a in r?Object.defineProperty(r,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):r[a]=s,r)},c=n("KHd+"),u=Object(c.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"card notification-card shadow-none border"},[t.loading?n("div",{staticClass:"card-body loader text-center",staticStyle:{height:"240px"}},[n("div",{staticClass:"spinner-border",attrs:{role:"status"}},[n("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):t._e(),t._v(" "),!t.loading&&t.notifications.length>0?n("div",{staticClass:"card-body px-0 py-0 contents",staticStyle:{height:"240px","overflow-y":"scroll"}},[t.profile.locked?n("div",{staticClass:"media align-items-center mt-n2 px-3 py-2 border-bottom border-lighter bg-light cursor-pointer",on:{click:function(e){return t.redirect("/account/follow-requests")}}},[n("div",{staticClass:"media-body font-weight-light pt-2 small d-flex align-items-center justify-content-between"},[n("p",{staticClass:"mb-0 text-lighter"},[n("i",{staticClass:"fas fa-cog text-light"})]),t._v(" "),n("p",{staticClass:"text-center pt-1 mb-1 text-dark font-weight-bold"},[n("strong",[t._v(t._s(t.followRequests&&t.followRequests.hasOwnProperty("count")?t.followRequests.count:0))]),t._v(" Follow Requests")]),t._v(" "),n("p",{staticClass:"mb-0 text-lighter"},[n("i",{staticClass:"fas fa-chevron-right"})])])]):t._e(),t._v(" "),t._l(t.notifications,(function(e,i){return t.notifications.length>0?n("div",{staticClass:"media align-items-center px-3 py-2 border-bottom border-light"},[n("img",{staticClass:"mr-2 rounded-circle",staticStyle:{border:"1px solid #ccc"},attrs:{src:e.account.avatar,alt:"",width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),n("div",{staticClass:"media-body font-weight-light small"},["favourite"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t"),e.status&&e.status.hasOwnProperty("media_attachments")?n("span",[n("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status),id:"fvn-"+e.id}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t"),n("b-popover",{attrs:{target:"fvn-"+e.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[n("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(e),width:"100px",height:"100px"}})])],1):n("span",[n("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t")])])]):"comment"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),n("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"group:comment"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),n("a",{staticClass:"font-weight-bold",attrs:{href:e.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"story:react"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" reacted to your "),n("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t")])]):"story:comment"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),n("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t")])]):"mention"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" "),n("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(e.status)}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t")])]):"follow"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t")])]):"share"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" shared your "),n("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"modlog"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(t.truncate(e.account.username)))]),t._v(" updated a "),n("a",{staticClass:"font-weight-bold",attrs:{href:e.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t")])]):"tagged"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" tagged you in a "),n("a",{staticClass:"font-weight-bold",attrs:{href:e.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"direct"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" sent a "),n("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t")])]):"group.join.approved"==e.type?n("div",[n("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\tYour application to join the "),n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t")])]):"group.join.rejected"==e.type?n("div",[n("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\tYour application to join "),n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t")])]):"group:invite"==e.type?n("div",[n("p",{staticClass:"my-0"},[n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" invited you to join "),n("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url+"/invite/claim",title:e.group.name}},[t._v(t._s(e.group.name))]),t._v(".\n\t\t\t\t\t\t\t")])]):n("div",[n("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t")])])]),t._v(" "),n("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:e.created_at}},[t._v(t._s(t.timeAgo(e.created_at)))])]):t._e()})),t._v(" "),t.notifications.length?n("div",[n("infinite-loading",{on:{infinite:t.infiniteNotifications}},[n("div",{staticClass:"font-weight-bold",attrs:{slot:"no-results"},slot:"no-results"}),t._v(" "),n("div",{staticClass:"font-weight-bold",attrs:{slot:"no-more"},slot:"no-more"})])],1):t._e(),t._v(" "),0==t.notifications.length?n("div",{staticClass:"text-lighter text-center py-3"},[n("p",{staticClass:"mb-0"},[n("i",{staticClass:"fas fa-inbox fa-3x"})]),t._v(" "),n("p",{staticClass:"mb-0 small font-weight-bold"},[t._v("0 Notifications!")])]):t._e()],2):t._e(),t._v(" "),t.loading||t.notifications.length?t._e():n("div",{staticClass:"card-body px-0 py-0",staticStyle:{height:"240px"}},[n("div",{staticClass:"text-lighter text-center py-3"},[n("p",{staticClass:"mb-0"},[n("i",{staticClass:"fas fa-inbox fa-3x"})]),t._v(" "),n("p",{staticClass:"mb-0 small font-weight-bold"},[t._v("No notifications yet")]),t._v(" "),t.showRefresh&&!t.attemptedRefresh?n("p",{staticClass:"mt-2 small font-weight-bold text-primary cursor-pointer",on:{click:t.refreshNotifications}},[n("i",{staticClass:"fas fa-redo"}),t._v(" Refresh")]):t._e()])])])])],1)}),[],!1,null,"46d0adc6",null);e.default=u.exports},x784:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.text-lighter[data-v-1002e7e2] {\n\tcolor:#B8C2CC !important;\n}\n.modal-body[data-v-1002e7e2] {\n\tpadding: 0;\n}\n",""])},xg7T:function(t,e,n){"use strict";n("cGjF")},xiyC:function(t){t.exports=JSON.parse('{"common":{"comment":"Komentar","commented":"Dikomentari","comments":"Komentar","like":"Menyukai","liked":"Disukai","likes":"Suka","share":"Bagikan","shared":"Dibagikan","shares":"Dibagikan","unshare":"Batalkan berbagi","cancel":"Batal","copyLink":"Salin tautan","delete":"Hapus","error":"Kesalahan","errorMsg":"Telah terjadi kesalahan. Silakan coba lagi nanti.","oops":"Oops!","other":"Lainnya","readMore":"Baca selengkapnya","success":"Berhasil","sensitive":"Sensitif","sensitiveContent":"Konten Sensitif","sensitiveContentWarning":"Postingan ini mengandung konten sensitif"},"site":{"terms":"Ketentuan Penggunaan","privacy":"Kebijakan Privasi"},"navmenu":{"search":"Cari","admin":"Dasbor Admin","homeFeed":"Beranda","localFeed":"Umpan lokal","globalFeed":"Umpan global","discover":"Jelajahi","directMessages":"Pesan Langsung","notifications":"Notifikasi","groups":"Grup","stories":"Cerita","profile":"Profil","drive":"Perangkat Keras","settings":"Pengaturan","compose":"Membuat baru","logout":"Keluar","about":"Tentang","help":"Bantuan","language":"Bahasa","privacy":"Privasi","terms":"Ketentuan","backToPreviousDesign":"Kembali ke desain sebelumnya"},"directMessages":{"inbox":"Kotak Masuk","sent":"Terkirim","requests":"Permintaan"},"notifications":{"liked":"menyukai","commented":"mengomentari","reacted":"bereaksi terhadap","shared":"membagikan","tagged":"menandai Anda pada sebuah","updatedA":"mengupdate sebuah","sentA":"mengirim sebuah","followed":"diikuti","mentioned":"disebut","you":"anda","yourApplication":"Aplikasi anda untuk mengikuti","applicationApproved":"telah disetujui!","applicationRejected":"telah ditolak. Anda dapat kembali mengajukan untuk bergabung dalam 6 bulan.","dm":"dm","groupPost":"postingan grup","modlog":"modlog","post":"postingan","story":"cerita"},"post":{"shareToFollowers":"Membagikan kepada pengikut","shareToOther":"Membagikan ke orang lain","noLikes":"Belum ada yang menyukai","uploading":"Mengunggah"},"profile":{"posts":"Postingan","followers":"Pengikut","following":"Mengikuti","admin":"Pengelola","collections":"Koleksi","follow":"Ikuti","unfollow":"Berhenti Ikuti","editProfile":"Ubah Profil","followRequested":"Meminta Permintaan Mengikuti","joined":"Bergabung","emptyCollections":"Sepertinya kami tidak dapat menemukan koleksi apapun","emptyPosts":"Sepertinya kami tidak dapat menemukan postingan apapun"},"menu":{"viewPost":"Lihat Postingan","viewProfile":"Lihat Profil","moderationTools":"Alat Moderasi","report":"Laporkan","archive":"Arsipkan","unarchive":"Keluarkan dari arsip","embed":"Penyemat","selectOneOption":"Pilih salah satu dari opsi berikut","unlistFromTimelines":"Keluarkan dari Timeline","addCW":"Tambahkan peringatan konten","removeCW":"Hapus Peringatan Konten","markAsSpammer":"Tandai sebagai pelaku spam","markAsSpammerText":"Hapus dari daftar dan tambahkan peringatan konten pada konten yang telah ada dan akan datang","spam":"Spam","sensitive":"Konten Sensitif","abusive":"Kasar atau Berbahaya","underageAccount":"Akun di bawah umur","copyrightInfringement":"Pelanggaran Hak Cipta","impersonation":"Peniruan","scamOrFraud":"Penipuan","confirmReport":"Konfirmasi Laporan","confirmReportText":"Apakah Anda yakin ingin melaporkan postingan ini?","reportSent":"Laporan Terkirim!","reportSentText":"Kita telah berhasil menerima laporan Anda.","reportSentError":"Ada masalah saat melaporkan postingan ini.","modAddCWConfirm":"Apakah Anda yakin ingin menambahkan peringatan konten pada postingan ini?","modCWSuccess":"Berhasil menambahkan peringatan konten","modRemoveCWConfirm":"Apakah Anda yakin ingin menghapus peringatan konten pada postingan ini?","modRemoveCWSuccess":"Berhasil menghapus peringatan konten","modUnlistConfirm":"Apakah Anda yakin ingin mengeluarkan postingan ini dari daftar?","modUnlistSuccess":"Berhasil mengeluarkan postingan dari daftar","modMarkAsSpammerConfirm":"Apakah Anda ingin menandai pengguna ini sebagai pelaku spam? Semua postingan yang ada dan akan datang akan dihapus dari timeline dan peringatan konten akan diterapkan.","modMarkAsSpammerSuccess":"Berhasil menandai akun sebagai pelaku spam","toFollowers":"kepada Pengikut","showCaption":"Tampilkan Keterangan","showLikes":"Tampilkan suka","compactMode":"Mode Praktis","embedConfirmText":"Dengan menggunakan penyemat ini, Anda setuju dengan","deletePostConfirm":"Apakah Anda yakin ingin menghapus postingan ini?","archivePostConfirm":"Apakah Anda yakin ingin mengarsip postingan ini?","unarchivePostConfirm":"Apakah Anda yakin ingin tidak mengarsipkan postingan ini?"},"story":{"add":"Tambah Cerita"},"timeline":{"peopleYouMayKnow":"Orang yang mungkin Anda kenal"},"hashtags":{"emptyFeed":"Sepertinya kami tidak dapat menemukan postingan untuk tagar ini"}}')},xs1Q:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".account-notification-component .form-check[data-v-4a911aa9] {\n margin-left: 1rem;\n}\n.account-notification-component .form-check .media-body[data-v-4a911aa9] {\n margin-left: 1rem;\n}",""])},yHON:function(t,e,n){var i=n("yNUO");t.exports=function(t,e){var n=i(t).getTime(),o=i(e).getTime();return n>o?-1:n<o?1:0}},yLpj:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},yNUO:function(t,e,n){var i=n("VGX7"),o=n("pzWd"),r=/[T ]/,a=/:/,s=/^(\d{2})$/,l=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],c=/^(\d{4})/,u=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],d=/^-(\d{2})$/,p=/^-?(\d{3})$/,h=/^-?(\d{2})-?(\d{2})$/,f=/^-?W(\d{2})$/,m=/^-?W(\d{2})-?(\d{1})$/,v=/^(\d{2}([.,]\d*)?)$/,g=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,b=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,y=/([Z+-].*)$/,w=/^(Z)$/,_=/^([+-])(\d{2})$/,x=/^([+-])(\d{2}):?(\d{2})$/;function C(t,e,n){e=e||0,n=n||0;var i=new Date(0);i.setUTCFullYear(t,0,4);var o=7*e+n+1-(i.getUTCDay()||7);return i.setUTCDate(i.getUTCDate()+o),i}t.exports=function(t,e){if(o(t))return new Date(t.getTime());if("string"!=typeof t)return new Date(t);var n=(e||{}).additionalDigits;n=null==n?2:Number(n);var k=function(t){var e,n={},i=t.split(r);a.test(i[0])?(n.date=null,e=i[0]):(n.date=i[0],e=i[1]);if(e){var o=y.exec(e);o?(n.time=e.replace(o[1],""),n.timezone=o[1]):n.time=e}return n}(t),O=function(t,e){var n,i=l[e],o=u[e];if(n=c.exec(t)||o.exec(t)){var r=n[1];return{year:parseInt(r,10),restDateString:t.slice(r.length)}}if(n=s.exec(t)||i.exec(t)){var a=n[1];return{year:100*parseInt(a,10),restDateString:t.slice(a.length)}}return{year:null}}(k.date,n),S=O.year,P=function(t,e){if(null===e)return null;var n,i,o,r;if(0===t.length)return(i=new Date(0)).setUTCFullYear(e),i;if(n=d.exec(t))return i=new Date(0),o=parseInt(n[1],10)-1,i.setUTCFullYear(e,o),i;if(n=p.exec(t)){i=new Date(0);var a=parseInt(n[1],10);return i.setUTCFullYear(e,0,a),i}if(n=h.exec(t)){i=new Date(0),o=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return i.setUTCFullYear(e,o,s),i}if(n=f.exec(t))return r=parseInt(n[1],10)-1,C(e,r);if(n=m.exec(t)){r=parseInt(n[1],10)-1;var l=parseInt(n[2],10)-1;return C(e,r,l)}return null}(O.restDateString,S);if(P){var T,j=P.getTime(),M=0;if(k.time&&(M=function(t){var e,n,i;if(e=v.exec(t))return(n=parseFloat(e[1].replace(",",".")))%24*36e5;if(e=g.exec(t))return n=parseInt(e[1],10),i=parseFloat(e[2].replace(",",".")),n%24*36e5+6e4*i;if(e=b.exec(t)){n=parseInt(e[1],10),i=parseInt(e[2],10);var o=parseFloat(e[3].replace(",","."));return n%24*36e5+6e4*i+1e3*o}return null}(k.time)),k.timezone)T=6e4*function(t){var e,n;if(e=w.exec(t))return 0;if(e=_.exec(t))return n=60*parseInt(e[2],10),"+"===e[1]?-n:n;if(e=x.exec(t))return n=60*parseInt(e[2],10)+parseInt(e[3],10),"+"===e[1]?-n:n;return 0}(k.timezone);else{var E=j+M,A=new Date(E);T=i(A);var D=new Date(E);D.setDate(A.getDate()+1);var $=i(D)-i(A);$>0&&(T+=$)}return new Date(j+M+T)}return new Date(t)}},yric:function(t,e,n){"use strict";n.r(e);var i={props:["feed","status","profile","size","modal"],data:function(){return{activeSession:!1}},mounted:function(){var t=document.querySelector("body");this.activeSession=!!t.classList.contains("loggedIn")},methods:{reportUrl:function(t){return"/i/report?type="+(t.in_reply_to?"comment":"post")+"&id="+t.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},editUrl:function(t){return t.url+"/edit"},redirect:function(t){window.location.href=t},replyUrl:function(t){return"/p/"+this.profile.username+"/"+(t.account.id==this.profile.id?t.id:t.in_reply_to_id)},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},statusOwner:function(t){return parseInt(t.account.id)==parseInt(this.profile.id)},deletePost:function(){this.$emit("deletePost"),$("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(t){t.sensitive=!0,$("#mt_pid_"+t.id).modal("hide")},moderatePost:function(t,e,n){var i=t.account.username;switch(e){case"autocw":var o="Are you sure you want to enforce CW for "+i+" ?";swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0});break;case"suspend":o="Are you sure you want to suspend the account of "+i+" ?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0})}},muteProfile:function(t){0!=$("body").hasClass("loggedIn")&&axios.post("/i/mute",{type:"user",item:t.account.id}).then((function(e){swal("Success","You have successfully muted "+t.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},blockProfile:function(t){0!=$("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:t.account.id}).then((function(e){swal("Success","You have successfully blocked "+t.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},closeModal:function(){$("#mt_pid_"+this.status.id).modal("hide")}}},o=(n("zzgW"),n("KHd+")),r=Object(o.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",["true"!=t.modal?n("div",{staticClass:"dropdown"},[n("button",{staticClass:"btn btn-link text-dark no-caret dropdown-toggle py-0",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"Post options"}},[n("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),n("div",{staticClass:"dropdown-menu dropdown-menu-right"},[n("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",attrs:{href:t.status.url}},[t._v("Go to post")]),t._v(" "),1==t.activeSession&&0==t.statusOwner(t.status)?n("span",[n("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.reportUrl(t.status)}},[t._v("Report")])]):t._e(),t._v(" "),1==t.activeSession&&1==t.statusOwner(t.status)?n("span",[n("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.muteProfile(t.status)}}},[t._v("Mute Profile")]),t._v(" "),n("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.blockProfile(t.status)}}},[t._v("Block Profile")])]):t._e(),t._v(" "),1==t.activeSession&&1==t.profile.is_admin?n("span",[n("div",{staticClass:"dropdown-divider"}),t._v(" "),n("a",{staticClass:"dropdown-item font-weight-bold text-danger text-decoration-none",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]),t._v(" "),n("div",{staticClass:"dropdown-divider"}),t._v(" "),n("h6",{staticClass:"dropdown-header"},[t._v("Mod Tools")]),t._v(" "),n("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"autocw")}}},[n("p",{staticClass:"mb-0"},[t._v("Enforce CW")]),t._v(" "),t._m(0)]),t._v(" "),n("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"noautolink")}}},[n("p",{staticClass:"mb-0"},[t._v("No Autolinking")]),t._v(" "),t._m(1)]),t._v(" "),n("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"unlisted")}}},[n("p",{staticClass:"mb-0"},[t._v("Unlisted Posts")]),t._v(" "),t._m(2)]),t._v(" "),n("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"disable")}}},[n("p",{staticClass:"mb-0"},[t._v("Disable Account")]),t._v(" "),t._m(3)]),t._v(" "),n("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"suspend")}}},[n("p",{staticClass:"mb-0"},[t._v("Suspend Account")]),t._v(" "),t._m(4)])]):t._e()])]):t._e(),t._v(" "),"true"==t.modal?n("div",[n("span",{attrs:{"data-toggle":"modal","data-target":"#mt_pid_"+t.status.id}},[n("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),n("div",{staticClass:"modal",attrs:{tabindex:"-1",role:"dialog",id:"mt_pid_"+t.status.id}},[n("div",{staticClass:"modal-dialog modal-sm modal-dialog-centered",attrs:{role:"document"}},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-body text-center"},[n("div",{staticClass:"list-group"},[n("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:t.statusUrl(t.status)}},[t._v("Go to post")]),t._v(" "),n("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hidePost(t.status)}}},[t._v("Hide")]),t._v(" "),1!=t.activeSession||t.statusOwner(t.status)?t._e():n("a",{staticClass:"list-group-item text-danger font-weight-bold text-decoration-none",attrs:{href:t.reportUrl(t.status)}},[t._v("Report")]),t._v(" "),1==t.activeSession&&1==t.statusOwner(t.status)||1==t.profile.is_admin?n("div",{staticClass:"list-group-item text-danger font-weight-bold cursor-pointer",on:{click:function(e){return e.preventDefault(),t.deletePost.apply(null,arguments)}}},[t._v("Delete")]):t._e(),t._v(" "),n("a",{staticClass:"list-group-item text-lighter text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[t._v("Close")])])])])])])]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0 small text-muted"},[this._v("Adds a CW to every post "),e("br"),this._v(" made by this account.")])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0 small text-muted"},[this._v("Do not transform mentions, "),e("br"),this._v(" hashtags or urls into HTML.")])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0 small text-muted"},[this._v("Removes account from "),e("br"),this._v(" public/network timelines.")])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0 small text-muted"},[this._v("Temporarily disable account "),e("br"),this._v(" until next time user log in.")])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0 small text-muted"},[this._v("This prevents any new interactions, "),e("br"),this._v(" without deleting existing data.")])}],!1,null,"1002e7e2",null);e.default=r.exports},zlB4:function(t,e,n){"use strict";n.r(e);var i=n("lcPr"),o=n.n(i),r=(n("YQfW"),n("lb/t")),a=(n("i3gq"),n("JMt0")),s={components:{VueCropper:o.a,Autocomplete:r.a,VueTribute:a.a},data:function(){return{config:window.App.config,pageLoading:!1,profile:window._sharedData.curUser,composeText:"",composeTextLength:0,nsfw:!1,filters:[],currentFilter:!1,ids:[],media:[],carouselCursor:0,uploading:!1,uploadProgress:100,mode:"photo",modes:["photo","video","plain"],page:1,composeState:"publish",visibility:"public",visibilityTag:"Public",place:!1,commentsDisabled:!1,optimizeMedia:!0,mediaCropped:!1,pageTitle:"",cropper:{aspectRatio:1,viewMode:1,zoomable:!0,zoom:0},namedPages:["cropPhoto","tagPeople","addLocation","advancedSettings","visibility","altText","addToCollection","schedulePost","mediaMetadata","addToStory","editMedia","cameraRoll","tagPeopleHelp","textOptions","licensePicker"],cameraRollMedia:[],taggedUsernames:[],taggedPeopleSearch:null,textMode:!1,tributeSettings:{collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}}]},availableLicenses:[{id:1,name:"All Rights Reserved",title:""},{id:5,name:"Public Domain Work",title:""},{id:6,name:"Public Domain Dedication (CC0)",title:"CC0"},{id:11,name:"Attribution",title:"CC BY"},{id:12,name:"Attribution-ShareAlike",title:"CC BY-SA"},{id:13,name:"Attribution-NonCommercial",title:"CC BY-NC"},{id:14,name:"Attribution-NonCommercial-ShareAlike",title:"CC BY-NC-SA"},{id:15,name:"Attribution-NoDerivs",title:"CC BY-ND"},{id:16,name:"Attribution-NonCommercial-NoDerivs",title:"CC BY-NC-ND"}],licenseIndex:0,video:{title:"",description:""},composeSettings:{default_license:null,media_descriptions:!1},licenseId:1,licenseTitle:null,maxAltTextLength:140,pollOptionModel:null,pollOptions:[],pollExpiry:1440,postingPoll:!1}},beforeMount:function(){var t=this;this.filters=window.App.util.filters,axios.get("/api/compose/v0/settings").then((function(e){t.composeSettings=e.data,t.licenseId=t.composeSettings.default_license,t.maxAltTextLength=e.data.max_altext_length,t.licenseId>10&&(t.licenseTitle=t.availableLicenses.filter((function(e){return e.id==t.licenseId})).map((function(t){return t.title}))[0]),t.fetchProfile()}))},mounted:function(){this.mediaWatcher()},methods:{fetchProfile:function(){var t=this,e={public:"Public",private:"Followers Only",unlisted:"Unlisted"};if(window._sharedData.curUser.id){if(this.profile=window._sharedData.curUser,this.composeSettings&&this.composeSettings.hasOwnProperty("default_scope")&&this.composeSettings.default_scope){var n=this.composeSettings.default_scope;this.visibility=n,this.visibilityTag=e[n]}1==this.profile.locked&&(this.visibility="private",this.visibilityTag="Followers Only")}else axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(n){if(window._sharedData.currentUser=n.data,t.profile=n.data,t.composeSettings&&t.composeSettings.hasOwnProperty("default_scope")&&t.composeSettings.default_scope){var i=t.composeSettings.default_scope;t.visibility=i,t.visibilityTag=e[i]}1==t.profile.locked&&(t.visibility="private",t.visibilityTag="Followers Only")})).catch((function(t){}))},addMedia:function(t){var e=$(t.target);e.attr("disabled",""),$('.file-input[name="media"]').trigger("click"),e.blur(),e.removeAttr("disabled")},addText:function(t){this.pageTitle="New Text Post",this.page="addText",this.textMode=!0,this.mode="text"},mediaWatcher:function(){var t=this;$(document).on("change","#pf-dz",(function(e){t.mediaUpload()}))},mediaUpload:function(){var t=this;t.uploading=!0;var e=document.querySelector("#pf-dz");e.files.length||(t.uploading=!1),Array.prototype.forEach.call(e.files,(function(e,n){if(t.media&&t.media.length+n>=t.config.uploader.album_limit)return swal("Error","You can only upload "+t.config.uploader.album_limit+" photos per album","error"),t.uploading=!1,void(t.page=2);var i=e.type,o=t.config.uploader.media_types.split(",");if(-1==$.inArray(i,o))return swal("Invalid File Type","The file you are trying to add is not a valid mime type. Please upload a "+t.config.uploader.media_types+" only.","error"),t.uploading=!1,void(t.page=2);var r=new FormData;r.append("file",e);var a={onUploadProgress:function(e){var n=Math.round(100*e.loaded/e.total);t.uploadProgress=n}};axios.post("/api/compose/v0/media/upload",r,a).then((function(e){t.uploadProgress=100,t.ids.push(e.data.id),t.media.push(e.data),t.uploading=!1,setTimeout((function(){t.page=3}),300)})).catch((function(n){switch(n.response.status){case 451:t.uploading=!1,e.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error"),t.page=2;break;case 429:t.uploading=!1,e.value=null,swal("Limit Reached","You can upload up to 250 photos or videos per day and you've reached that limit. Please try again later.","error"),t.page=2;break;default:t.uploading=!1,e.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error"),t.page=2}})),e.value=null,t.uploadProgress=0}))},toggleFilter:function(t,e){this.media[this.carouselCursor].filter_class=e,this.currentFilter=e},deleteMedia:function(){var t=this;if(0!=window.confirm("Are you sure you want to delete this media?")){var e=this.media[this.carouselCursor].id;axios.delete("/api/compose/v0/media/delete",{params:{id:e}}).then((function(e){t.ids.splice(t.carouselCursor,1),t.media.splice(t.carouselCursor,1),0==t.media.length?(t.ids=[],t.media=[],t.carouselCursor=0):t.carouselCursor=0})).catch((function(t){swal("Whoops!","An error occured when attempting to delete this, please try again","error")}))}},compose:function(){var t=this.composeState;if(100==this.uploadProgress&&0!=this.ids.length)if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(t){case"publish":if(!0===this.composeSettings.media_descriptions)if(this.media.filter((function(t){return!t.hasOwnProperty("alt")||t.alt.length<2})).length)return void swal("Missing media descriptions","You have enabled mandatory media descriptions. Please add media descriptions under Advanced settings to proceed. For more information, please see the media settings page.","warning");if(0==this.media.length)return void swal("Whoops!","You need to add media before you can save this!","warning");"Add optional caption..."==this.composeText&&(this.composeText="");var e={media:this.media,caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames,optimize_media:this.optimizeMedia,license:this.licenseId,video:this.video};return void axios.post("/api/compose/v0/publish",e).then((function(t){var e=t.data;"/i/web/compose"===location.pathname?location.href="/i/web/post/"+e.split("/").at(-1):location.href=e})).catch((function(t){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void $("#composeModal").modal("hide")}},composeTextPost:function(){var t=this.composeState;if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(t){case"publish":var e={caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames};return void axios.post("/api/compose/v0/publish/text",e).then((function(t){var e=t.data;window.location.href=e})).catch((function(t){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void $("#composeModal").modal("hide")}},closeModal:function(){$("#composeModal").modal("hide")},goBack:function(){switch(this.pageTitle="",this.mode){case"photo":switch(this.page){case"addText":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;case"video-2":this.page=1;break;default:-1!=this.namedPages.indexOf(this.page)?this.page=3:this.page--}break;case"video":switch(this.page){case"licensePicker":case"video-2":default:this.page="video-2"}break;default:switch(this.page){case"addText":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;case"video-2":this.page=1;break;default:-1!=this.namedPages.indexOf(this.page)?this.page="text"==this.mode?"addText":3:"text"==this.mode||this.page--}}},nextPage:function(){switch(this.pageTitle="",this.page){case 1:this.page=2;break;case"cropPhoto":this.pageLoading=!0;var t=this;this.$refs.cropper.getCroppedCanvas({maxWidth:4096,maxHeight:4096,fillColor:"#fff",imageSmoothingEnabled:!1,imageSmoothingQuality:"high"}).toBlob((function(e){t.mediaCropped=!0;var n=new FormData;n.append("file",e),n.append("id",t.ids[t.carouselCursor]);axios.post("/api/compose/v0/media/update",n).then((function(e){t.media[t.carouselCursor].url=e.data.url,t.pageLoading=!1,t.page=2})).catch((function(t){}))}));break;case 2:this.currentFilter?window.confirm("Are you sure you want to apply this filter?")&&(this.applyFilterToMedia(),this.page++):this.page++;break;case 3:this.page++}},rotate:function(){this.$refs.cropper.rotate(90)},changeAspect:function(t){this.cropper.aspectRatio=t,this.$refs.cropper.setAspectRatio(t)},showTagCard:function(){this.pageTitle="Tag People",this.page="tagPeople"},showTagHelpCard:function(){this.pageTitle="About Tag People",this.page="tagPeopleHelp"},showLocationCard:function(){this.pageTitle="Add Location",this.page="addLocation"},showAdvancedSettingsCard:function(){this.pageTitle="Advanced Settings",this.page="advancedSettings"},locationSearch:function(t){if(t.length<1)return[];return axios.get("/api/compose/v0/search/location",{params:{q:t}}).then((function(t){return t.data}))},getResultValue:function(t){return t.name+", "+t.country},onSubmitLocation:function(t){switch(this.place=t,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showVisibilityCard:function(){this.pageTitle="Post Visibility",this.page="visibility"},showAddToStoryCard:function(){this.pageTitle="Add to Story",this.page="addToStory"},showCropPhotoCard:function(){this.pageTitle="Edit Photo",this.page="cropPhoto"},toggleVisibility:function(t){switch(this.visibility=t,this.visibilityTag={public:"Public",private:"Followers Only",unlisted:"Unlisted"}[t],this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showMediaDescriptionsCard:function(){this.pageTitle="Media Descriptions",this.page="altText"},showAddToCollectionsCard:function(){this.pageTitle="Add to Collection",this.page="addToCollection"},showSchedulePostCard:function(){this.pageTitle="Schedule Post",this.page="schedulePost"},showEditMediaCard:function(){this.pageTitle="Edit Media",this.page="editMedia"},fetchCameraRollDrafts:function(){var t=this;axios.get("/api/pixelfed/local/drafts").then((function(e){t.cameraRollMedia=e.data}))},applyFilterToMedia:function(){var t=navigator.userAgent.toLowerCase();if(-1!=t.indexOf("firefox")||-1!=t.indexOf("chrome"))for(var e=this.media,n=null,i=document.getElementById("pr_canvas"),o=i.getContext("2d"),r=document.getElementById("pr_img"),a=null,s=e.length-1;s>=0;s--)(n=e[s]).filter_class&&(r.src=n.url,r.addEventListener("load",(function(t){i.width=r.width,i.height=r.height,o.filter=App.util.filterCss[n.filter_class],o.drawImage(r,0,0,r.width,r.height),o.save(),i.toBlob((function(t){(a=new FormData).append("file",t),a.append("id",n.id),axios.post("/api/compose/v0/media/update",a).then((function(t){})).catch((function(t){}))}))}),n.mime,.9),o.clearRect(0,0,r.width,r.height));else swal("Oops!","Your browser does not support the filter feature.","error")},tagSearch:function(t){if(t.length<1)return[];var e=this;return axios.get("/api/compose/v0/search/tag",{params:{q:t}}).then((function(t){if(t.data.length)return t.data.filter((function(t){return 0==e.taggedUsernames.filter((function(e){return e.id==t.id})).length}))}))},getTagResultValue:function(t){return"@"+t.name},onTagSubmitLocation:function(t){this.taggedUsernames.filter((function(e){return e.id==t.id})).length||(this.taggedUsernames.push(t),this.$refs.autocomplete.value="")},untagUsername:function(t){this.taggedUsernames.splice(t,1)},showTextOptions:function(){this.page="textOptions",this.pageTitle="Text Post Options"},showLicenseCard:function(){this.pageTitle="Select a License",this.page="licensePicker"},toggleLicense:function(t){var e=this;switch(this.licenseId=t.id,this.licenseId>10?this.licenseTitle=this.availableLicenses.filter((function(t){return t.id==e.licenseId})).map((function(t){return t.title}))[0]:this.licenseTitle=null,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},newPoll:function(){this.page="poll"},savePollOption:function(){-1==this.pollOptions.indexOf(this.pollOptionModel)?(this.pollOptions.push(this.pollOptionModel),this.pollOptionModel=null):this.pollOptionModel=null},deletePollOption:function(t){this.pollOptions.splice(t,1)},postNewPoll:function(){var t=this;this.postingPoll=!0,axios.post("/api/compose/v0/poll",{caption:this.composeText,cw:!1,visibility:this.visibility,comments_disabled:!1,expiry:this.pollExpiry,pollOptions:this.pollOptions}).then((function(e){if(!e.data.hasOwnProperty("url"))return swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error"),void(t.postingPoll=!1);window.location.href=e.data.url})).catch((function(e){if(console.log(e.response.data.error),e.response.data.hasOwnProperty("error")&&"Duplicate detected."==e.response.data.error)return t.postingPoll=!1,void swal("Oops!","The poll you are trying to create is similar to an existing poll you created. Please make the poll question (caption) unique.","error");t.postingPoll=!1,swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error")}))},filesize:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){return filesize(1024*t,{round:0})}))}},l=(n("TpkP"),n("KHd+")),c=Object(l.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("input",{staticClass:"w-100 h-100 d-none file-input",attrs:{type:"file",id:"pf-dz",name:"media",accept:t.config.uploader.media_types}}),t._v(" "),n("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),n("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),n("div",{staticClass:"timeline"},[t.uploading?n("div",[n("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100 bg-light py-3",staticStyle:{"border-bottom":"1px solid #f1f1f1"}},[n("div",{staticClass:"p-5 mt-2"},[n("b-progress",{attrs:{value:t.uploadProgress,max:100,striped:"",animated:!0}}),t._v(" "),n("p",{staticClass:"text-center mb-0 font-weight-bold"},[t._v("Uploading ... ("+t._s(t.uploadProgress)+"%)")])],1)])]):"cameraRoll"==t.page?n("div",[n("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[t._m(0),t._v(" "),n("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[t.cameraRollMedia.length>0?n("div",{staticClass:"row p-0 m-0"},t._l(t.cameraRollMedia,(function(t,e){return n("div",{class:[0==e?"col-12 p-0":"col-3 p-0"]},[n("div",{staticClass:"card info-overlay p-0 rounded-0 shadow-none border"},[n("div",{staticClass:"square"},[n("img",{staticClass:"square-content",attrs:{src:t.preview_url}})])])])})),0):n("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[n("span",{staticClass:"w-100 h-100"},[n("button",{staticClass:"btn btn-primary",attrs:{type:"button"}},[t._v("Upload")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(e){return t.fetchCameraRollDrafts()}}},[t._v("Load Camera Roll")])])])])])]):"poll"==t.page?n("div",[n("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[n("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[t._m(1),t._v(" "),n("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tNew Poll\n\t\t\t\t\t")]),t._v(" "),t.postingPoll?n("span",[t._m(2)]):!t.postingPoll&&t.pollOptions.length>1&&t.composeText.length?n("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:t.postNewPoll}},[n("span",[t._v("Create Poll")])]):n("span",{staticClass:"font-weight-bold text-lighter"},[t._v("\n\t\t\t\t\t\tCreate Poll\n\t\t\t\t\t")])]),t._v(" "),n("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[n("div",{staticClass:"border-bottom mt-2"},[n("div",{staticClass:"media px-3"},[n("img",{staticClass:"rounded-circle",attrs:{src:t.profile.avatar,width:"42px",height:"42px"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),n("vue-tribute",{attrs:{options:t.tributeSettings}},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a poll question..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),n("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),n("div",{staticClass:"p-3"},[n("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\tPoll Options\n\t\t\t\t\t\t")]),t._v(" "),t.pollOptions.length<4?n("div",{staticClass:"form-group mb-4"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptionModel,expression:"pollOptionModel"}],staticClass:"form-control rounded-pill",attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptionModel},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.savePollOption.apply(null,arguments)},input:function(e){e.target.composing||(t.pollOptionModel=e.target.value)}}})]):t._e(),t._v(" "),t._l(t.pollOptions,(function(e,i){return n("div",{staticClass:"form-group mb-4 d-flex align-items-center",staticStyle:{"max-width":"400px",position:"relative"}},[n("span",{staticClass:"font-weight-bold mr-2",staticStyle:{position:"absolute",left:"10px"}},[t._v(t._s(i+1)+".")]),t._v(" "),t.pollOptions[i].length<50?n("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[i],expression:"pollOptions[index]"}],staticClass:"form-control rounded-pill",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptions[i]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,i,e.target.value)}}}):n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[i],expression:"pollOptions[index]"}],staticClass:"form-control",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{placeholder:"Add a poll option, press enter to save",rows:"3"},domProps:{value:t.pollOptions[i]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,i,e.target.value)}}}),t._v(" "),n("button",{staticClass:"btn btn-danger btn-sm rounded-pill font-weight-bold",staticStyle:{position:"absolute",right:"5px"},on:{click:function(e){return t.deletePollOption(i)}}},[n("i",{staticClass:"fas fa-trash"}),t._v(" Delete\n\t\t\t\t\t\t\t")])])})),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"d-flex justify-content-between"},[n("div",[n("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Expiry\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("div",{staticClass:"form-group"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.pollExpiry,expression:"pollExpiry"}],staticClass:"form-control rounded-pill",staticStyle:{width:"200px"},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.pollExpiry=e.target.multiple?n:n[0]}}},[n("option",{attrs:{value:"60"}},[t._v("1 hour")]),t._v(" "),n("option",{attrs:{value:"360"}},[t._v("6 hours")]),t._v(" "),n("option",{attrs:{value:"1440",selected:""}},[t._v("24 hours")]),t._v(" "),n("option",{attrs:{value:"10080"}},[t._v("7 days")])])])]),t._v(" "),n("div",[n("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Visibility\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("div",{staticClass:"form-group"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.visibility,expression:"visibility"}],staticClass:"form-control rounded-pill",staticStyle:{"max-width":"200px"},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.visibility=e.target.multiple?n:n[0]}}},[n("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),n("option",{attrs:{value:"private"}},[t._v("Followers Only")])])])])])],2)])])]):n("div",[n("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100",staticStyle:{display:"flex"}},[n("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[n("div",[1==t.page?n("a",{staticClass:"font-weight-bold text-decoration-none text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[n("i",{staticClass:"fas fa-times fa-lg"}),t._v(" "),n("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):2==t.page?n("span",[t.config.uploader.album_limit>t.media.length?n("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold",attrs:{id:"cm-add-media-btn"},on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[n("i",{staticClass:"fas fa-plus"})]):n("button",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold",attrs:{disabled:""}},[n("i",{staticClass:"fas fa-plus"})]),t._v(" "),n("b-tooltip",{attrs:{target:"cm-add-media-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\t\tUpload another photo or video\n\t\t\t\t\t\t\t")])],1):3==t.page?n("span",[n("a",{staticClass:"text-lighter text-decoration-none mr-3 d-flex align-items-center",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[n("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg mr-2"}),t._v(" "),n("span",{staticClass:"btn btn-outline-secondary btn-sm px-2 py-0 disabled",attrs:{disabled:""}},[t._v(t._s(t.media.length))])]),t._v(" "),n("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):n("span",[n("a",{staticClass:"text-lighter text-decoration-none mr-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[n("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg"})])]),t._v(" "),n("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]),t._v(" "),2==t.page?n("div",[1==t.media.length?n("a",{staticClass:"text-center text-dark",attrs:{href:"#",title:"Crop & Resize",id:"cm-crop-btn"},on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[n("i",{staticClass:"fas fa-crop-alt fa-lg"})]):t._e(),t._v(" "),n("b-tooltip",{attrs:{target:"cm-crop-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\tCrop & Resize\n\t\t\t\t\t\t")])],1):t._e(),t._v(" "),n("div",[t.pageLoading?n("span",[t._m(3)]):n("span",[!t.pageLoading&&t.page>1&&t.page<=2||1==t.page&&0!=t.ids.length||"cropPhoto"==t.page?n("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.nextPage.apply(null,arguments)}}},[t._v("Next")]):t._e(),t._v(" "),t.pageLoading||3!=t.page?t._e():n("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"addText"!=t.page?t._e():n("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.composeTextPost()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"video-2"!=t.page?t._e():n("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")])])])]),t._v(" "),n("div",{staticClass:"card-body p-0 border-top"},["licensePicker"==t.page?n("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[n("div",{staticClass:"list-group list-group-flush"},t._l(t.availableLicenses,(function(e,i){return n("div",{staticClass:"list-group-item cursor-pointer",class:{"text-primary":t.licenseId===e.id,"font-weight-bold":t.licenseId===e.id},on:{click:function(n){return t.toggleLicense(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t")])})),0)]):t._e(),t._v(" "),"textOptions"==t.page?n("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}}):t._e(),t._v(" "),"addText"==t.page?n("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[n("div",{staticClass:"mt-2"},[n("div",{staticClass:"media px-3"},[n("div",{staticClass:"media-body"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Body")]),t._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",staticStyle:{"font-size":"18px",resize:"none"},attrs:{rows:"7",placeholder:"What's happening?"},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),n("div",{staticClass:"border-bottom"}),t._v(" "),n("p",{staticClass:"help-text small text-right text-muted mb-0 font-weight-bold"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))]),t._v(" "),n("p",{staticClass:"mb-0 mt-2"},[n("a",{staticClass:"btn btn-primary rounded-pill mr-2",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTextOptions()}}},[n("i",{staticClass:"fas fa-palette px-3 text-white"})]),t._v(" "),n("a",{staticClass:"btn rounded-pill mx-3 d-inline-flex align-items-center",class:[t.nsfw?"btn-danger":"btn-outline-lighter"],staticStyle:{height:"37px"},attrs:{href:"#",title:"Mark as sensitive/not safe for work"},on:{click:function(e){e.preventDefault(),t.nsfw=!t.nsfw}}},[n("i",{staticClass:"far fa-flag px-3"}),t._v(" "),n("span",{staticClass:"text-muted small font-weight-bold"})]),t._v(" "),n("a",{staticClass:"btn btn-outline-lighter rounded-pill d-inline-flex align-items-center",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[n("i",{staticClass:"fas fa-eye mr-2"}),t._v(" "),n("span",{staticClass:"text-muted small font-weight-bold"},[t._v(t._s(t.visibilityTag))])])])])])])])]):t._e(),t._v(" "),1==t.page?n("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center",staticStyle:{"min-height":"400px"}},[n("div",{staticClass:"text-center"},[0==t.media.length?n("div",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark"},[n("div",{staticClass:"card-body py-2",on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[n("div",{staticClass:"media"},[t._m(4),t._v(" "),n("div",{staticClass:"media-body text-left"},[t._m(5),t._v(" "),n("p",{staticClass:"mb-0 text-muted"},[t._v("Share up to "+t._s(t.config.uploader.album_limit)+" photos or videos")]),t._v(" "),n("p",{staticClass:"mb-0 text-muted small"},[n("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.config.uploader.media_types.split(",").map((function(t){return t.split("/")[1]})).join(", ")))]),t._v(" allowed up to "),n("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.filesize(t.config.uploader.max_photo_size)))])])])])])]):t._e(),t._v(" "),t._e(),t._v(" "),1==t.config.features.stories?n("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/stories/new"}},[t._m(7)]):t._e(),t._v(" "),t._e(),t._v(" "),t._m(9),t._v(" "),t._m(10)])]):t._e(),t._v(" "),"cropPhoto"==t.page?n("div",{staticClass:"w-100 h-100"},[t.ids.length>0?n("div",[n("vue-cropper",{ref:"cropper",attrs:{relativeZoom:t.cropper.zoom,aspectRatio:t.cropper.aspectRatio,viewMode:t.cropper.viewMode,zoomable:t.cropper.zoomable,rotatable:!0,src:t.media[t.carouselCursor].url}})],1):t._e()]):t._e(),t._v(" "),2==t.page?n("div",{staticClass:"w-100 h-100"},[1==t.media.length?n("div",[n("div",{staticStyle:{display:"flex","min-height":"420px","align-items":"center"},attrs:{slot:"img"},slot:"img"},[n("img",{class:"d-block img-fluid w-100 "+[t.media[t.carouselCursor].filter_class?t.media[t.carouselCursor].filter_class:""],attrs:{src:t.media[t.carouselCursor].url,alt:t.media[t.carouselCursor].description,title:t.media[t.carouselCursor].description}})]),t._v(" "),n("hr"),t._v(" "),t.ids.length>0&&"Image"==t.media[t.carouselCursor].type?n("div",{staticClass:"align-items-center px-2 pt-2"},[n("ul",{staticClass:"nav media-drawer-filters text-center"},[n("li",{staticClass:"nav-item"},[n("div",{staticClass:"p-1 pt-3"},[n("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),n("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,i){return n("li",{staticClass:"nav-item"},[n("div",{staticClass:"p-1 pt-3"},[n("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(n){return n.preventDefault(),t.toggleFilter(n,e[1])}}})]),t._v(" "),n("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(n){return n.preventDefault(),t.toggleFilter(n,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):t.media.length>1?n("div",{staticClass:"d-flex-inline px-2 pt-2"},[n("ul",{staticClass:"nav media-drawer-filters text-center"},[n("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")]),t._v(" "),t._l(t.media,(function(e,i){return n("li",{staticClass:"nav-item mx-md-4"},[n("div",{staticClass:"nav-link",staticStyle:{display:"block",width:"300px",height:"300px"},on:{click:function(e){t.carouselCursor=i}}},[n("span",{class:[e.filter_class?e.filter_class:""]},[n("span",{class:"rounded border "+[i==t.carouselCursor?" border-primary shadow":""],style:"display:block;padding:5px;width:100%;height:100%;background-image: url("+e.url+");background-size:cover;border-width:3px !important;"})])]),t._v(" "),i==t.carouselCursor?n("div",{staticClass:"text-center mb-0 small text-lighter font-weight-bold pt-2"},[n("span",{staticClass:"cursor-pointer",on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[t._v("Crop")]),t._v(" "),n("span",{staticClass:"cursor-pointer px-3",on:{click:function(e){return e.preventDefault(),t.showEditMediaCard()}}},[t._v("Edit")]),t._v(" "),n("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.deleteMedia()}}},[t._v("Delete")])]):t._e()])})),t._v(" "),n("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")])],2),t._v(" "),n("hr"),t._v(" "),t.ids.length>0&&"Image"==t.media[t.carouselCursor].type?n("div",{staticClass:"align-items-center px-2 pt-2"},[n("ul",{staticClass:"nav media-drawer-filters text-center"},[n("li",{staticClass:"nav-item"},[n("div",{staticClass:"p-1 pt-3"},[n("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),n("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,i){return n("li",{staticClass:"nav-item"},[n("div",{staticClass:"p-1 pt-3"},[n("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(n){return n.preventDefault(),t.toggleFilter(n,e[1])}}})]),t._v(" "),n("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(n){return n.preventDefault(),t.toggleFilter(n,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):n("div",[n("p",{staticClass:"mb-0 p-5 text-center font-weight-bold"},[t._v("An error occured, please refresh the page.")])])]):t._e(),t._v(" "),3==t.page?n("div",{staticClass:"w-100 h-100"},[n("div",{staticClass:"border-bottom mt-2"},[n("div",{staticClass:"media px-3"},[n("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"42px",height:"42px"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),n("vue-tribute",{attrs:{options:t.tributeSettings}},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a caption..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),n("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),n("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(11),t._v(" "),n("div",[n("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var n=t.nsfw,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.nsfw=n.concat([null])):r>-1&&(t.nsfw=n.slice(0,r).concat(n.slice(r+1)))}else t.nsfw=o}}}),t._v(" "),n("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),n("div",{staticClass:"border-bottom"},[n("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showTagCard()}}},[t._v("Tag people")])]),t._v(" "),n("div",{staticClass:"border-bottom"},[n("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[t._m(12),t._v(" "),n("span",{staticClass:"float-right"},[t.licenseTitle?n("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[t._v(t._s(t.licenseTitle))]):t._e(),t._v(" "),n("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[n("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),n("div",{staticClass:"border-bottom"},[t.place?n("p",{staticClass:"px-4 mb-0 py-2"},[n("span",{staticClass:"text-lighter"},[t._v("Location:")]),t._v(" "+t._s(t.place.name)+", "+t._s(t.place.country)+"\n\t\t\t\t\t\t\t\t"),n("span",{staticClass:"float-right"},[n("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-2",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLocationCard()}}},[t._v("Edit")]),t._v(" "),n("a",{staticClass:"btn btn-outline-secondary btn-sm small",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.place=!1}}},[t._v("Remove")])])]):n("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLocationCard()}}},[t._v("Add location")])]),t._v(" "),n("div",{staticClass:"border-bottom"},[n("p",{staticClass:"px-4 mb-0 py-2"},[n("span",[t._v("Audience")]),t._v(" "),n("span",{staticClass:"float-right"},[n("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),n("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[n("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),n("div",{staticStyle:{"min-height":"200px"}},[n("p",{staticClass:"px-4 mb-0 py-2 small font-weight-bold text-muted cursor-pointer",on:{click:function(e){return t.showAdvancedSettingsCard()}}},[t._v("Advanced settings")])])]):t._e(),t._v(" "),"tagPeople"==t.page?n("div",{staticClass:"w-100 h-100 p-3"},[n("autocomplete",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],ref:"autocomplete",attrs:{search:t.tagSearch,placeholder:"@pixelfed","aria-label":"Search usernames","get-result-value":t.getTagResultValue},on:{submit:t.onTagSubmitLocation}}),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],staticClass:"font-weight-bold text-muted small"},[t._v("You can tag "+t._s(10-t.taggedUsernames.length)+" more "+t._s(9==t.taggedUsernames.length?"person":"people")+"!")]),t._v(" "),n("p",{staticClass:"font-weight-bold text-center mt-3"},[t._v("Tagged People")]),t._v(" "),n("div",{staticClass:"list-group"},[t._l(t.taggedUsernames,(function(e,i){return n("div",{staticClass:"list-group-item d-flex justify-content-between"},[n("div",{staticClass:"media"},[n("img",{staticClass:"mr-2 rounded-circle border",attrs:{src:e.avatar,width:"24px",height:"24px"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.name))])])]),t._v(" "),n("div",{staticClass:"custom-control custom-switch"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.privacy,expression:"tag.privacy"}],staticClass:"custom-control-input disabled",attrs:{type:"checkbox",id:"cci-tagged-privacy-switch"+i,disabled:""},domProps:{checked:Array.isArray(e.privacy)?t._i(e.privacy,null)>-1:e.privacy},on:{change:function(n){var i=e.privacy,o=n.target,r=!!o.checked;if(Array.isArray(i)){var a=t._i(i,null);o.checked?a<0&&t.$set(e,"privacy",i.concat([null])):a>-1&&t.$set(e,"privacy",i.slice(0,a).concat(i.slice(a+1)))}else t.$set(e,"privacy",r)}}}),t._v(" "),n("label",{staticClass:"custom-control-label font-weight-bold text-lighter",attrs:{for:"cci-tagged-privacy-switch"+i}},[t._v(t._s(e.privacy?"Public":"Private"))]),t._v(" "),n("a",{staticClass:"ml-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.untagUsername(i)}}},[n("i",{staticClass:"fas fa-times text-muted"})])])])})),t._v(" "),0==t.taggedUsernames.length?n("div",{staticClass:"list-group-item p-3"},[n("p",{staticClass:"text-center mb-0 font-weight-bold text-lighter"},[t._v("Search usernames to tag.")])]):t._e()],2),t._v(" "),n("p",{staticClass:"font-weight-bold text-center small text-muted pt-3 mb-0"},[t._v("When you tag someone, they are sent a notification."),n("br"),t._v("For more information on tagging, "),n("a",{staticClass:"text-primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTagHelpCard()}}},[t._v("click here")]),t._v(".")])],1):t._e(),t._v(" "),"tagPeopleHelp"==t.page?n("div",{staticClass:"w-100 h-100 p-3"},[n("p",{staticClass:"mb-0 text-center py-3 px-2 lead"},[t._v("Tagging someone is like mentioning them, with the option to make it private between you.")]),t._v(" "),n("p",{staticClass:"mb-3 py-3 px-2 font-weight-lighter"},[t._v("\n\t\t\t\t\t\t\tYou can choose to tag someone in public or private mode. Public mode will allow others to see who you tagged in the post and private mode tagged users will not be shown to others.\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),"addLocation"==t.page?n("div",{staticClass:"w-100 h-100 p-3"},[n("p",{staticClass:"mb-0"},[t._v("Add Location")]),t._v(" "),n("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}})],1):t._e(),t._v(" "),"advancedSettings"==t.page?n("div",{staticClass:"w-100 h-100"},[n("div",{staticClass:"list-group list-group-flush"},[n("div",{staticClass:"list-group-item d-flex justify-content-between"},[t._m(13),t._v(" "),n("div",[n("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.commentsDisabled,expression:"commentsDisabled"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asdisablecomments"},domProps:{checked:Array.isArray(t.commentsDisabled)?t._i(t.commentsDisabled,null)>-1:t.commentsDisabled},on:{change:function(e){var n=t.commentsDisabled,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.commentsDisabled=n.concat([null])):r>-1&&(t.commentsDisabled=n.slice(0,r).concat(n.slice(r+1)))}else t.commentsDisabled=o}}}),t._v(" "),n("label",{staticClass:"custom-control-label",attrs:{for:"asdisablecomments"}})])])]),t._v(" "),n("a",{staticClass:"list-group-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showMediaDescriptionsCard()}}},[t._m(14)])])]):t._e(),t._v(" "),"visibility"==t.page?n("div",{staticClass:"w-100 h-100"},[n("div",{staticClass:"list-group list-group-flush"},[t.profile.locked?t._e():n("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"public"==t.visibility},on:{click:function(e){return t.toggleVisibility("public")}}},[t._v("\n\t\t\t\t\t\t\t\tPublic\n\t\t\t\t\t\t\t")]),t._v(" "),t.profile.locked?t._e():n("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"unlisted"==t.visibility},on:{click:function(e){return t.toggleVisibility("unlisted")}}},[t._v("\n\t\t\t\t\t\t\t\tUnlisted\n\t\t\t\t\t\t\t")]),t._v(" "),n("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"private"==t.visibility},on:{click:function(e){return t.toggleVisibility("private")}}},[t._v("\n\t\t\t\t\t\t\t\tFollowers Only\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),"altText"==t.page?n("div",{staticClass:"w-100 h-100 p-3"},[t._l(t.media,(function(e,i){return n("div",[n("div",{staticClass:"media"},[n("img",{staticClass:"mr-3",attrs:{src:e.preview_url,width:"50px",height:"50px"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.alt,expression:"m.alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:t.maxAltTextLength,rows:"4"},domProps:{value:e.alt},on:{input:function(n){n.target.composing||t.$set(e,"alt",n.target.value)}}}),t._v(" "),n("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(e.alt?e.alt.length:0)+"/"+t._s(t.maxAltTextLength))])])]),t._v(" "),n("hr")])})),t._v(" "),n("p",{staticClass:"d-flex justify-content-between mb-0"},[n("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),n("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])],2):t._e(),t._v(" "),"addToCollection"==t.page?n("div",{staticClass:"w-100 h-100 p-3"},[n("div",{staticClass:"list-group mb-3"},[n("div",{staticClass:"list-group-item cursor-pointer compose-action border",on:{click:function(e){return t.goBack()}}},[t._m(15)])]),t._v(" "),n("p",{staticClass:"d-flex justify-content-between mb-0"},[n("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),n("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"schedulePost"==t.page?n("div",{staticClass:"w-100 h-100 p-3"},[n("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"mediaMetadata"==t.page?n("div",{staticClass:"w-100 h-100 p-3"},[n("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"addToStory"==t.page?n("div",{staticClass:"w-100 h-100 p-3"},[n("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"editMedia"==t.page?n("div",{staticClass:"w-100 h-100 p-3"},[n("div",{staticClass:"media"},[n("img",{staticClass:"mr-3",attrs:{src:t.media[t.carouselCursor].preview_url,width:"50px",height:"50px"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"font-weight-bold text-muted small"},[t._v("Media Description")]),t._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.media[t.carouselCursor].alt,expression:"media[carouselCursor].alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:"140"},domProps:{value:t.media[t.carouselCursor].alt},on:{input:function(e){e.target.composing||t.$set(t.media[t.carouselCursor],"alt",e.target.value)}}}),t._v(" "),n("p",{staticClass:"help-text small text-muted mb-0 d-flex justify-content-between"},[n("span",[t._v("Describe your photo for people with visual impairments.")]),t._v(" "),n("span",[t._v(t._s(t.media[t.carouselCursor].alt?t.media[t.carouselCursor].alt.length:0)+"/140")])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"font-weight-bold text-muted small"},[t._v("License")]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.licenseId,expression:"licenseId"}],staticClass:"form-control",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.licenseId=e.target.multiple?n:n[0]}}},t._l(t.availableLicenses,(function(e,i){return n("option",{domProps:{value:e.id,selected:e.id==t.licenseId}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t\t\t")])})),0)])])]),t._v(" "),n("hr"),t._v(" "),n("p",{staticClass:"d-flex justify-content-between mb-0"},[n("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),n("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"video-2"==t.page?n("div",{staticClass:"w-100 h-100"},[t.video.title.length?n("div",{staticClass:"border-bottom"},[n("div",{staticClass:"media p-3"},[n("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"100px",height:"70px"}}),t._v(" "),n("div",{staticClass:"media-body"},[n("p",{staticClass:"font-weight-bold mb-1"},[t._v(t._s(t.video.title?t.video.title.slice(0,70):"Untitled"))]),t._v(" "),n("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(t.video.description?t.video.description.slice(0,90):"No description"))])])])]):t._e(),t._v(" "),n("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(16),t._v(" "),n("div",[n("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var n=t.nsfw,i=e.target,o=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.nsfw=n.concat([null])):r>-1&&(t.nsfw=n.slice(0,r).concat(n.slice(r+1)))}else t.nsfw=o}}}),t._v(" "),n("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),n("div",{staticClass:"border-bottom"},[n("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[t._v("Add license")])]),t._v(" "),n("div",{staticClass:"border-bottom"},[n("p",{staticClass:"px-4 mb-0 py-2"},[n("span",[t._v("Audience")]),t._v(" "),n("span",{staticClass:"float-right"},[n("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),n("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[n("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),n("div",{staticClass:"p-3"},[n("div",{staticClass:"form-group"},[n("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Title")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.video.title,expression:"video.title"}],staticClass:"form-control",attrs:{placeholder:"Add a good title"},domProps:{value:t.video.title},on:{input:function(e){e.target.composing||t.$set(t.video,"title",e.target.value)}}}),t._v(" "),n("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.title.length)+"/70")])]),t._v(" "),n("div",{staticClass:"form-group mb-0"},[n("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Description")]),t._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.video.description,expression:"video.description"}],staticClass:"form-control",attrs:{placeholder:"Add an optional description",maxlength:"5000",rows:"5"},domProps:{value:t.video.description},on:{input:function(e){e.target.composing||t.$set(t.video,"description",e.target.value)}}}),t._v(" "),n("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.description.length)+"/5000")])])])]):t._e()]),t._v(" "),"cropPhoto"==t.page?n("div",{staticClass:"card-footer bg-white d-flex justify-content-between"},[n("div",[n("button",{staticClass:"btn btn-outline-secondary",attrs:{type:"button"},on:{click:t.rotate}},[n("i",{staticClass:"fas fa-redo"})])]),t._v(" "),n("div",[n("div",{staticClass:"d-inline-block button-group"},[n("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==16/9?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(16/9)}}},[t._v("16:9")]),t._v(" "),n("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==4/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(4/3)}}},[t._v("4:3")]),t._v(" "),n("button",{class:"btn font-weight-bold "+[1.5==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1.5)}}},[t._v("3:2")]),t._v(" "),n("button",{class:"btn font-weight-bold "+[1==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1)}}},[t._v("1:1")]),t._v(" "),n("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==2/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(2/3)}}},[t._v("2:3")])])])]):t._e()])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[e("span",{staticClass:"pr-3"},[e("i",{staticClass:"fas fa-cog fa-lg text-muted"})]),this._v(" "),e("span",{staticClass:"font-weight-bold"},[this._v("\n\t\t\t\t\t\tCamera Roll\n\t\t\t\t\t")]),this._v(" "),e("span",{staticClass:"text-primary font-weight-bold"},[this._v("Upload")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"pr-3"},[e("i",{staticClass:"fas fa-info-circle fa-lg text-primary"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%","background-color":"#008DF5"}},[e("i",{staticClass:"fal fa-bolt text-white fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[this._v("New Post")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"media"},[e("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[e("i",{staticClass:"far fa-edit text-primary fa-lg"})]),this._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[this._v("New Text Post")]),this._v(" "),e("sup",{staticClass:"float-right mt-2"},[e("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[this._v("BETA")])])]),this._v(" "),e("p",{staticClass:"mb-0 text-muted"},[this._v("Share a text only post")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card-body py-2"},[e("div",{staticClass:"media"},[e("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[e("i",{staticClass:"fas fa-history text-primary fa-lg"})]),this._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[this._v("New Story")]),this._v(" "),e("sup",{staticClass:"float-right mt-2"},[e("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[this._v("BETA")])])]),this._v(" "),e("p",{staticClass:"mb-0 text-muted"},[this._v("Add to your story")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card-body py-2"},[e("div",{staticClass:"media"},[e("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[e("i",{staticClass:"fas fa-poll-h text-primary fa-lg"})]),this._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[this._v("New Poll")]),this._v(" "),e("sup",{staticClass:"float-right mt-2"},[e("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[this._v("BETA")])])]),this._v(" "),e("p",{staticClass:"mb-0 text-muted"},[this._v("Create a poll")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/collections/create"}},[e("div",{staticClass:"card-body py-2"},[e("div",{staticClass:"media"},[e("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[e("i",{staticClass:"fal fa-images text-primary fa-lg"})]),this._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[this._v("New Collection")]),this._v(" "),e("sup",{staticClass:"float-right mt-2"},[e("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[this._v("BETA")])])]),this._v(" "),e("p",{staticClass:"mb-0 text-muted"},[this._v("New collection of posts")])])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"py-3"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[this._v("Help")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticClass:"text-dark "},[this._v("Contains NSFW Media")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[this._v("Add license "),e("span",{staticClass:"ml-2 badge badge-primary"},[this._v("NEW")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticClass:"text-dark "},[this._v("Turn off commenting")]),this._v(" "),e("p",{staticClass:"text-muted small mb-0"},[this._v("Disables comments for this post, you can change this later.")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("div",{staticClass:"text-dark"},[this._v("Media Descriptions")]),this._v(" "),e("p",{staticClass:"text-muted small mb-0"},[this._v("Describe your photos for people with visual impairments.")])]),this._v(" "),e("div",[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3",attrs:{src:"",alt:"",width:"50px",height:"50px"}}),this._v(" "),e("div",{staticClass:"media-body"},[e("h5",{staticClass:"mt-0"},[this._v("collection title")]),this._v(" "),e("p",{staticClass:"mb-0 text-muted small"},[this._v("3 Photos - Created 2h ago")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticClass:"text-dark "},[this._v("Contains NSFW Media")])])}],!1,null,"3e419437",null);e.default=c.exports},zzgW:function(t,e,n){"use strict";n("iKvg")}},[[21,0,1]]]); |