diff --git a/public/js/components.js b/public/js/components.js index 16b937f8..0ab7e10f 100644 --- a/public/js/components.js +++ b/public/js/components.js @@ -1 +1 @@ -!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}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 r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));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=2)}({"+Lui":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("JOL4");function r(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));(0,i.assign)(this,t.defaults(),n,{type:e}),(0,i.defineProperties)(this,{type:(0,i.readonlyDescriptor)(),cancelable:(0,i.readonlyDescriptor)(),nativeEvent:(0,i.readonlyDescriptor)(),target:(0,i.readonlyDescriptor)(),relatedTarget:(0,i.readonlyDescriptor)(),vueTarget:(0,i.readonlyDescriptor)()});var r=!1;this.preventDefault=function(){this.cancelable&&(r=!0)},(0,i.defineProperty)(this,"defaultPrevented",{enumerable:!0,get:function(){return r}})}var e,n,o;return e=t,o=[{key:"defaults",value:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null}}}],(n=null)&&r(e.prototype,n),o&&r(e,o),t}();e.default=o},"+NCJ":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("iTQh"),r=n("Co2t"),o={BPaginationNav:i.default},a={install:function(t){(0,r.registerComponents)(t,o)}};e.default=a},"/Mx0":function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t){return t}},"/eCm":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r=n("nj7W"),o=n("Z4AP"),a=n("33Rj"),s=n("vhGO");function l(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e',"No Results Found",""].join("\n"),suggestion:function(t){var e=!1;switch(t.type){case"hashtag":e='

'+t.value+'

'+t.count+" posts

";break;case"profile":e='

'+t.name+'

'+t.value+"

";break;case"status":e='

'+t.name+'

'+t.value+"

";break;default:e=!1}if(!1!==e)return e}}})})},"/zX4":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("6uA0"),r=n("Rhxi"),o=n("Xwe6"),a=n("bhsD"),s=n("QftK"),l=n("N3zd"),u=n("uy80"),c=n("vhGO");function d(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;return"".concat(e).concat((0,o.default)(t))}),w=b.reduce(function(t,e){return t[y(e,"labelCols")]={type:[Number,String,Boolean],default:!e&&null},t},(0,c.create)(null)),_=b.reduce(function(t,e){return t[y(e,"labelAlign")]={type:String,default:null},t},(0,c.create)(null));function k(t,e){var n=e.$slots["invalid-feedback"]||e.invalidFeedback,i=t(!1);return n&&(i=t("b-form-invalid-feedback",{props:{id:e.invalidFeedbackId,state:e.computedState,tooltip:e.tooltip},attrs:{tabindex:n?"-1":null,role:"alert","aria-live":"assertive","aria-atomic":"true"}},[n])),i}function C(t,e){var n=e.$slots["valid-feedback"]||e.validFeedback,i=t(!1);return n&&(i=t("b-form-valid-feedback",{props:{id:e.validFeedbackId,state:e.computedState,tooltip:e.tooltip},attrs:{tabindex:"-1",role:"alert","aria-live":"assertive","aria-atomic":"true"}},[n])),i}function x(t,e){var n=e.$slots.description||e.description,i=t(!1);return n&&(i=t("b-form-text",{attrs:{id:e.descriptionId,tabindex:"-1"}},[n])),i}var T={name:"BFormGroup",components:{BFormRow:d.default,BCol:f.default,BFormInvalidFeedback:h.default,BFormValidFeedback:m.default,BFormText:p.default},mixins:[i.default,r.default],props:v({label:{type:String,default:null},labelFor:{type:String,default:null},labelSize:{type:String,default:null},labelSrOnly:{type:Boolean,default:!1},labelClass:{type:[String,Array,Object],default:null},description:{type:String,default:null},invalidFeedback:{type:String,default:null},validFeedback:{type:String,default:null},tooltip:{type:Boolean,default:!1},validated:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},w,_,{horizontal:{type:Boolean,default:!1},breakpoint:{type:String,default:null}}),computed:{labelColProps:function(){var t=this,e={};if(this.horizontal){(0,s.default)("b-form-group: Props 'horizontal' and 'breakpoint' are deprecated. Use 'label-cols(-{breakpoint})' props instead.");var n=this.breakpoint||"sm",i=parseInt(this.labelCols,10)||3;return e[n]=i>0?i:3,e}return b.forEach(function(n){var i=t[y(n,"labelCols")];("boolean"!=typeof(i=""===i||(i||!1))&&(i=(i=parseInt(i,10)||0)>0&&i),i)&&(e[n||("boolean"==typeof i?"col":"cols")]=i)}),e},labelAlignClasses:function(){var t=this,e=[];return b.forEach(function(n){var i=t[y(n,"labelAlign")]||null;if(i){var r=n?"text-".concat(n,"-").concat(i):"text-".concat(i);e.push(r)}}),e},isHorizontal:function(){return(0,c.keys)(this.labelColProps).length>0},labelId:function(){return this.$slots.label||this.label?this.safeId("_BV_label_"):null},descriptionId:function(){return this.$slots.description||this.description?this.safeId("_BV_description_"):null},hasInvalidFeedback:function(){var t=this.$slots;return!1===this.computedState&&(t["invalid-feedback"]||this.invalidFeedback)},invalidFeedbackId:function(){return this.hasInvalidFeedback?this.safeId("_BV_feedback_invalid_"):null},hasValidFeedback:function(){return!0===this.computedState&&(this.$slots["valid-feedback"]||this.validFeedback)},validFeedbackId:function(){return this.hasValidFeedback?this.safeId("_BV_feedback_valid_"):null},describedByIds:function(){return[this.descriptionId,this.invalidFeedbackId,this.validFeedbackId].filter(function(t){return t}).join(" ")||null}},watch:{describedByIds:function(t,e){t!==e&&this.setInputDescribedBy(t,e)}},mounted:function(){var t=this;this.$nextTick(function(){t.setInputDescribedBy(t.describedByIds)})},methods:{legendClick:function(t){if(!this.labelFor){var e=t.target?t.target.tagName:"";if(!/^(input|select|textarea|label|button|a)$/i.test(e)){var n=(0,l.selectAll)("input:not(:disabled),textarea:not(:disabled),select:not(:disabled)",this.$refs.content).filter(l.isVisible);n&&1===n.length&&n[0].focus&&n[0].focus()}}},setInputDescribedBy:function(t,e){if(this.labelFor&&"undefined"!=typeof document){var n=(0,l.select)("#".concat(this.labelFor),this.$refs.content);if(n){var i="aria-describedby",r=((0,l.getAttr)(n,i)||"").split(/\s+/);e=(e||"").split(/\s+/),(r=r.filter(function(t){return!(0,u.arrayIncludes)(e,t)}).concat(t||"").join(" ").trim())?(0,l.setAttr)(n,i,r):(0,l.removeAttr)(n,i)}}}},render:function(t){var e=!this.labelFor,n=this.isHorizontal,i=function(t,e){var n=e.$slots.label||e.label,i=e.labelFor,r=!i,o=e.isHorizontal,a=r?"legend":"label";if(n||o){if(e.labelSrOnly){var s=t(!1);return n&&(s=t(a,{class:"sr-only",attrs:{id:e.labelId,for:i||null}},[n])),t(o?"b-col":"div",{props:o?e.labelColProps:{}},[s])}return t(o?"b-col":a,{on:r?{click:e.legendClick}:{},props:o?v({tag:a},e.labelColProps):{},attrs:{id:e.labelId,for:i||null,tabindex:r?"-1":null},class:[o||r?"col-form-label":"",!o&&r?"pt-0":"",o||r?"":"d-block",e.labelSize?"col-form-label-".concat(e.labelSize):"",e.labelAlignClasses,e.labelClass]},[n])}return t(!1)}(t,this),r=t(n?"b-col":"div",{ref:"content",attrs:{tabindex:e?"-1":null,role:e?"group":null,"aria-labelledby":e?this.labelId:null,"aria-describedby":e?this.ariaDescribedBy:null}},[this.$slots.default||t(!1),k(t,this),C(t,this),x(t,this)]);return t(e?"fieldset":n?"b-form-row":"div",{staticClass:"form-group",class:[this.validated?"was-validated":null,this.stateClass],attrs:{id:this.safeId(),disabled:e?this.disabled:null,role:e?null:"group","aria-invalid":!1===this.computedState?"true":null,"aria-labelledby":this.labelId||null,"aria-describedby":this.describedByIds||null}},n&&e?[t("b-form-row",{},[i,r])]:[i,r])}};e.default=T},"0ked":function(t,e,n){"use strict";var i=n("RcfF");n.n(i).a},"1Fl4":function(t,e){$(document).ready(function(){pixelfed.create={},pixelfed.filters={},pixelfed.create.hasGeneratedSelect=!1,pixelfed.create.selectedFilter=!1,pixelfed.create.currentFilterName=!1,pixelfed.create.currentFilterClass=!1,pixelfed.filters.list=[["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"]],$(document).on("change","#fileInput",function(){!function(t){if(t.files&&t.files[0]){var e=new FileReader;e.onload=function(t){$(".filterPreview").attr("src",t.target.result)},e.readAsDataURL(t.files[0])}}(this),$("#statusForm .form-filters.d-none").removeClass("d-none"),$("#statusForm .form-preview.d-none").removeClass("d-none"),$("#statusForm #collapsePreview").collapse("show"),pixelfed.create.hasGeneratedSelect||function(){for(var t=pixelfed.filters.list,e=0,n=t.length;e'+r+"";$("#filterSelectDropdown").append(o)}pixelfed.create.hasGeneratedSelect=!0}()}),$(document).on("change","#filterSelectDropdown",function(){var t=$(this),e=t.val(),n=pixelfed.create.currentFilterClass;return"none"==e?($("input[name=filter_class]").val(""),$("input[name=filter_name]").val(""),$(".filterContainer").removeClass(n),pixelfed.create.currentFilterClass=!1,pixelfed.create.currentFilterName="None",void $(".form-group.form-preview .form-text").text("Current Filter: No filter selected")):($(".filterContainer").removeClass(n).addClass(e),pixelfed.create.currentFilterClass=e,pixelfed.create.currentFilterName=t.find(":selected").text(),$(".form-group.form-preview .form-text").text("Current Filter: "+pixelfed.create.currentFilterName),$("input[name=filter_class]").val(pixelfed.create.currentFilterClass),void $("input[name=filter_name]").val(pixelfed.create.currentFilterName))}),$(document).on("keyup keydown","#statusForm textarea[name=caption]",function(){var t=$(this),e=t.val().length,n=t.data("limit");if(e>n){var i=n-e;$("#statusForm .caption-counter").text(i).addClass("text-danger")}else $("#statusForm .caption-counter").text(e).removeClass("text-danger")}),$(document).on("focus","#statusForm textarea[name=caption]",function(){$(this).attr("rows","3")})})},"1Kka":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("pZYj"),r=n("Co2t"),o={bToggle:i.default},a={install:function(t){(0,r.registerDirectives)(t,o)}};e.default=a},"1XqM":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("v5yc"),r=n("k+DF"),o=n("FhHd");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}function s(t,e){for(var n=0;n=n){var i=this.$targets[this.$targets.length-1];this.$activeTarget!==i&&this.activate(i)}else{if(this.$activeTarget&&t0)return this.$activeTarget=null,void this.clear();for(var r=this.$offsets.length;r--;){this.$activeTarget!==this.$targets[r]&&t>=this.$offsets[r]&&(void 0===this.$offsets[r+1]||t0&&this.$root&&this.$root.$emit("bv::scrollspy::activate",t,n)}},{key:"clear",value:function(){var t=this;(0,o.selectAll)("".concat(this.$selector,", ").concat(f.NAV_ITEMS),this.$el).filter(function(t){return(0,o.hasClass)(t,d)}).forEach(function(e){return t.setActiveState(e,!1)})}},{key:"setActiveState",value:function(t,e){t&&(e?(0,o.addClass)(t,d):(0,o.removeClass)(t,d))}}])&&s(e.prototype,n),b&&s(e,b),t}();e.default=b},"1nAq":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("V2Tl"),r=n("Co2t"),o={bPopover:i.default},a={install:function(t){(0,r.registerDirectives)(t,o)}};e.default=a},"1x2j":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("O6/D"),r=n("e2OV"),o=n("el6I"),a=n("Co2t"),s={BMedia:i.default,BMediaAside:r.default,BMediaBody:o.default},l={install:function(t){(0,a.registerComponents)(t,s)}};e.default=l},2:function(t,e,n){t.exports=n("9rzN")},"22PT":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;e.default=function(t){return Array.apply(null,{length:t})}},"2Jpm":function(t,e,n){"use strict";n.r(e);var i={props:["status"]},r=n("KHd+"),o=Object(r.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("div",{staticClass:"embed-responsive embed-responsive-16by9"},[n("video",{staticClass:"video",attrs:{preload:"none",controls:"",loop:""}},[n("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])])]):n("div",{staticClass:"embed-responsive embed-responsive-16by9"},[n("video",{staticClass:"video",attrs:{preload:"none",controls:"",loop:""}},[n("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},[],!1,null,null,null);e.default=o.exports},"2qjF":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("Fq4B"),r=n("FhHd");function o(t){return(o="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,e){for(var n=0;n

'}),p="fade",h="show",m=".popover-header",v=".popover-body",g=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,l(e).apply(this,arguments))}var n,c,g;return 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&&u(t,e)}(e,i.default),n=e,g=[{key:"Default",get:function(){return f}},{key:"NAME",get:function(){return"popover"}}],(c=[{key:"isWithContent",value:function(t){if(!(t=t||this.$tip))return!1;var e=Boolean(((0,r.select)(m,t)||{}).innerHTML),n=Boolean(((0,r.select)(v,t)||{}).innerHTML);return e||n}},{key:"addAttachmentClass",value:function(t){(0,r.addClass)(this.getTipElement(),"".concat("bs-popover","-").concat(t))}},{key:"setContent",value:function(t){this.setElementContent((0,r.select)(m,t),this.getTitle()),this.setElementContent((0,r.select)(v,t),this.getContent()),(0,r.removeClass)(t,p),(0,r.removeClass)(t,h)}},{key:"cleanTipClass",value:function(){var t=this.getTipElement(),e=t.className.match(d);null!==e&&e.length>0&&e.forEach(function(e){(0,r.removeClass)(t,e)})}},{key:"getTitle",value:function(){var t=this.$config.title||"";return"function"==typeof t&&(t=t(this.$element)),"object"===o(t)&&t.nodeType&&!t.innerHTML.trim()&&(t=""),"string"==typeof t&&(t=t.trim()),t||(t=(t=(0,r.getAttr)(this.$element,"title")||(0,r.getAttr)(this.$element,"data-original-title")||"").trim()),t}},{key:"getContent",value:function(){var t=this.$config.content||"";return"function"==typeof t&&(t=t(this.$element)),"object"===o(t)&&t.nodeType&&!t.innerHTML.trim()&&(t=""),"string"==typeof t&&(t=t.trim()),t}}])&&a(n.prototype,c),g&&a(n,g),e}();e.default=g},"33Rj":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={tag:{type:String,default:"div"}};e.props=r;var o={name:"BInputGroupText",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data,o=e.children;return t(n.tag,(0,i.mergeData)(r,{staticClass:"input-group-text"}),o)}};e.default=o},"4QkM":function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){return t+(0,i.default)(e)};var i=n("VUAv")},"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)}},"4U64":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("vhGO"),r=n("6uA0"),o=n("wZDz"),a={name:"BDropdown",components:{BButton:n("tmQd").default},mixins:[r.default,o.default],props:{toggleText:{type:String,default:"Toggle Dropdown"},size:{type:String,default:null},variant:{type:String,default:null},menuClass:{type:[String,Array],default:null},toggleTag:{type:String,default:"button"},toggleClass:{type:[String,Array],default:null},noCaret:{type:Boolean,default:!1},split:{type:Boolean,default:!1},splitHref:{type:String},splitTo:{type:[String,Object]},splitVariant:{type:String,default:null},role:{type:String,default:"menu"},boundary:{type:[String,Object],default:"scrollParent"}},computed:{dropdownClasses:function(){var t="scrollParent"!==this.boundary||!this.boundary,e="";return this.dropup?e="dropup":this.dropright?e="dropright":this.dropleft&&(e="dropleft"),["btn-group","b-dropdown","dropdown",e,{show:this.visible,"position-static":t}]},menuClasses:function(){return["dropdown-menu",{"dropdown-menu-right":this.right,show:this.visible},this.menuClass]},toggleClasses:function(){return["dropdown-toggle",{"dropdown-toggle-split":this.split,"dropdown-toggle-no-caret":this.noCaret&&!this.split},this.toggleClass]}},render:function(t){var e=t(!1);if(this.split){var n={disabled:this.disabled,variant:this.splitVariant||this.variant,size:this.size};this.splitTo&&(n.to=this.splitTo),this.splitHref&&(n.href=this.splitHref),e=t("b-button",{ref:"button",props:n,attrs:{id:this.safeId("_BV_button_")},on:{click:this.click}},[this.$slots["button-content"]||this.$slots.text||this.html||(0,i.stripTags)(this.text)])}var r=t("b-button",{ref:"toggle",class:this.toggleClasses,props:{variant:this.variant,size:this.size,disabled:this.disabled,tag:this.toggleTag},attrs:{id:this.safeId("_BV_toggle_"),"aria-haspopup":"true","aria-expanded":this.visible?"true":"false"},on:{click:this.toggle,keydown:this.toggle}},[this.split?t("span",{class:["sr-only"]},[this.toggleText]):this.$slots["button-content"]||this.$slots.text||this.html||(0,i.stripTags)(this.text)]),o=t("div",{ref:"menu",class:this.menuClasses,attrs:{role:this.role,tabindex:"-1","aria-labelledby":this.safeId(this.split?"_BV_button_":"_BV_toggle_")},on:{mouseover:this.onMouseOver,keydown:this.onKeydown}},[this.$slots.default]);return t("div",{attrs:{id:this.safeId()},class:this.dropdownClasses},[e,r,o])}};e.default=a},"4Wae":function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.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 r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));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)("09280948",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)("65938a1f",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]||"",r=t[3];if(!r)return i;if(e&&"function"==typeof btoa){var o=(n=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[i].concat(a).concat([o]).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={},r=0;rn.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;r',"\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
\n ...\n \x3c!-- set force-use-infinite-wrapper --\x3e\n \n
\nor\n
\n ...\n \x3c!-- set force-use-infinite-wrapper as css selector of the real scroll wrapper --\x3e\n \n
\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"},u={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:o,ERRORS:a,STATUS:s},c=n(4),d=n.n(c),f={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 p(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),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__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}var h=p({name:"Spinner",computed:{spinnerView:function(){return f[(this.$attrs.spinner||"").toUpperCase()]||this.spinnerInConfig},spinnerInConfig:function(){return u.slots.spinner&&"string"==typeof u.slots.spinner?{render:function(){return this._v(u.slots.spinner)}}:"object"===d()(u.slots.spinner)?u.slots.spinner:f[u.props.spinner.toUpperCase()]||f.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);h.options.__file="Spinner.vue";var m=h.exports;function v(t){"production"!==u.mode&&console.warn("[Vue-infinite-loading warn]: ".concat(t))}var g={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()},u.system.throttleLimit)))},reset:function(){this.timers.forEach(function(t){clearTimeout(t)}),this.timers.length=0,this.caches=[]}},b={isChecked:!1,timer:null,times:0,track:function(){var t=this;this.times+=1,clearTimeout(this.timer),this.timer=setTimeout(function(){t.isChecked=!0},u.system.loopCheckTimeout),this.times>u.system.loopCheckMaxCalls&&(function(t){console.error("[Vue-infinite-loading error]: ".concat(t))}(a.INFINITE_LOOP),this.isChecked=!0)}},y={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 w(t){return t.offsetWidth+t.offsetHeight>0}var _=p({name:"InfiniteLoading",data:function(){return{scrollParent:null,scrollHandler:null,isFirstLoad:!0,status:s.READY,slots:u.slots}},components:{Spinner:m},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(u.slots).forEach(function(n){var i=function(t){return t.replace(/[A-Z]/g,function(t){return"-".concat(t.toLowerCase())})}(n);(!t.$slots[i]&&!u.slots[n].render||t.$slots[i]&&!t.$slots[i][0].tag)&&(e[n]=l)}),e}},props:{distance:{type:Number,default:u.props.distance},spinner:String,direction:{type:String,default:"bottom"},forceUseInfiniteWrapper:{type:[Boolean,String],default:u.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(t){this.status===s.READY&&(t&&t.constructor===Event&&w(this.$el)?g.throttle(this.attemptLoad):this.attemptLoad())}.bind(this),setTimeout(this.scrollHandler,1),this.scrollParent.addEventListener("scroll",this.scrollHandler,r),this.$on("$InfiniteLoading:loaded",function(e){t.isFirstLoad=!1,"top"===t.direction&&t.$nextTick(function(){y.restore(t.scrollParent)}),t.status===s.LOADING&&t.$nextTick(t.attemptLoad.bind(null,!0)),e&&e.target===t||v(o.STATE_CHANGER)}),this.$on("$InfiniteLoading:complete",function(e){t.status=s.COMPLETE,t.$nextTick(function(){t.$forceUpdate()}),t.scrollParent.removeEventListener("scroll",t.scrollHandler,r),e&&e.target===t||v(o.STATE_CHANGER)}),this.$on("$InfiniteLoading:reset",function(e){t.status=s.READY,t.isFirstLoad=!0,y.remove(t.scrollParent),t.scrollParent.addEventListener("scroll",t.scrollHandler,r),setTimeout(function(){g.reset(),t.scrollHandler()},1),e&&e.target===t||v(o.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,g.reset()}},this.onInfinite&&v(o.INFINITE_EVENT)},deactivated:function(){this.status===s.LOADING&&(this.status=s.READY),this.scrollParent.removeEventListener("scroll",this.scrollHandler,r)},activated:function(){this.scrollParent.addEventListener("scroll",this.scrollHandler,r)},methods:{attemptLoad:function(t){var e=this;this.status!==s.COMPLETE&&w(this.$el)&&this.getCurrentDistance()<=this.distance?(this.status=s.LOADING,"top"===this.direction&&this.$nextTick(function(){y.save(e.scrollParent)}),"function"==typeof this.onInfinite?this.onInfinite.call(null,this.stateChanger):this.$emit("infinite",this.stateChanger),!t||this.forceUseInfiniteWrapper||b.isChecked||b.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=e.querySelector(this.forceUseInfiniteWrapper)),t||("BODY"===e.tagName?t=window:!this.forceUseInfiniteWrapper&&["scroll","auto"].indexOf(getComputedStyle(e).overflowY)>-1?t=e:(e.hasAttribute("infinite-wrapper")||e.hasAttribute("data-infinite-wrapper"))&&(t=e)),t||this.getScrollParent(e.parentNode)}},destroyed:function(){!this.status!==s.COMPLETE&&(g.reset(),y.remove(this.scrollParent),this.scrollParent.removeEventListener("scroll",this.scrollHandler,r))}},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)},"358985eb",null);_.options.__file="InfiniteLoading.vue";var k=_.exports;function C(t){u.mode=t.config.productionTip?"development":"production"}Object.defineProperty(k,"install",{configurable:!1,enumerable:!1,value:function(t,e){Object.assign(u.props,e&&e.props),Object.assign(u.slots,e&&e.slots),Object.assign(u.system,e&&e.system),t.component("infinite-loading",k),C(t)}}),"undefined"!=typeof window&&window.Vue&&(window.Vue.component("infinite-loading",k),C(window.Vue)),e.default=k}])},"4ah+":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49");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}var o={tag:{type:String,default:"nav"},type:{type:String,default:"light"},variant:{type:String},toggleable:{type:[Boolean,String],default:!1},fixed:{type:String},sticky:{type:Boolean,default:!1},print:{type:Boolean,default:!1}};e.props=o;var a={name:"BNavbar",functional:!0,props:o,render:function(t,e){var n,o=e.props,a=e.data,s=e.children,l="";return o.toggleable&&"string"==typeof o.toggleable&&"xs"!==o.toggleable?l="navbar-expand-".concat(o.toggleable):!1===o.toggleable&&(l="navbar-expand"),t(o.tag,(0,i.mergeData)(a,{staticClass:"navbar",class:(n={"d-print":o.print,"sticky-top":o.sticky},r(n,"navbar-".concat(o.type),Boolean(o.type)),r(n,"bg-".concat(o.variant),Boolean(o.variant)),r(n,"fixed-".concat(o.fixed),Boolean(o.fixed)),r(n,"".concat(l),Boolean(l)),n),attrs:{role:"nav"===o.tag?null:"navigation"}}),s)}};e.default=a},"4zuO":function(t,e){$(document).ready(function(){$(".status-card > .card-footer").each(function(){$(this).addClass("d-none")}),$(document).on("click",".status-comment-focus",function(t){$(this).parents().eq(2).find(".card-footer").removeClass("d-none"),$(this).parents().eq(2).find('input[name="comment"]').focus()}),$(document).on("submit",".comment-form",function(t,e){t.preventDefault();var n=$(this),i=n.data("id"),r=n.find('input[name="comment"]'),o={item:i,comment:r.val()};r.prop("disabled",!0),axios.post("/i/comment",o).then(function(t){var e=t.data.username,i=(t.data.url,t.data.profile),o=t.data.comment;if(1==$(".status-container").length)var a=n.parents().eq(3).find(".comments");else a=n.parents().eq(1).find(".comments");var s='

'+e+''+o+"

";a.prepend(s),r.val(""),r.blur(),r.prop("disabled",!1)}).catch(function(t){})})})},"54Wo":function(t,e,n){var i=n("yNUO");t.exports=function(t,e){var n=i(t),r=i(e);return n.getTime()-r.getTime()}},"5JIG":function(t,e){window.ls={},window.ls.get=function(t){return JSON.parse(localStorage.getItem(t))},window.ls.set=function(t,e){try{return localStorage.setItem(t,JSON.stringify(e)),!0}catch(t){return!1}},window.ls.del=function(t){try{return localStorage.removeItem(t),!0}catch(t){return!1}},window.ls.clear=function(){try{return localStorage.clear(),!0}catch(t){return!1}}},"5MXG":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("7bze"),r=n("FhHd"),o={passive:!0,capture:!1},a={name:"BCollapse",mixins:[i.default],model:{prop:"visible",event:"input"},props:{id:{type:String,required:!0},isNav:{type:Boolean,default:!1},accordion:{type:String,default:null},visible:{type:Boolean,default:!1},tag:{type:String,default:"div"}},data:function(){return{show:this.visible,transitioning:!1}},computed:{classObject:function(){return{"navbar-collapse":this.isNav,collapse:!this.transitioning,show:this.show&&!this.transitioning}}},watch:{visible:function(t){t!==this.show&&(this.show=t)},show:function(t,e){t!==e&&this.emitState()}},created:function(){this.listenOnRoot("bv::toggle::collapse",this.handleToggleEvt),this.listenOnRoot("bv::collapse::accordion",this.handleAccordionEvt)},mounted:function(){this.isNav&&"undefined"!=typeof document&&((0,r.eventOn)(window,"resize",this.handleResize,o),(0,r.eventOn)(window,"orientationchange",this.handleResize,o),this.handleResize()),this.emitState()},updated:function(){this.$root.$emit("bv::collapse::state",this.id,this.show)},beforeDestroy:function(){this.isNav&&"undefined"!=typeof document&&((0,r.eventOff)(window,"resize",this.handleResize,o),(0,r.eventOff)(window,"orientationchange",this.handleResize,o))},methods:{toggle:function(){this.show=!this.show},onEnter:function(t){t.style.height=0,(0,r.reflow)(t),t.style.height=t.scrollHeight+"px",this.transitioning=!0,this.$emit("show")},onAfterEnter:function(t){t.style.height=null,this.transitioning=!1,this.$emit("shown")},onLeave:function(t){t.style.height="auto",t.style.display="block",t.style.height=(0,r.getBCR)(t).height+"px",(0,r.reflow)(t),this.transitioning=!0,t.style.height=0,this.$emit("hide")},onAfterLeave:function(t){t.style.height=null,this.transitioning=!1,this.$emit("hidden")},emitState:function(){this.$emit("input",this.show),this.$root.$emit("bv::collapse::state",this.id,this.show),this.accordion&&this.show&&this.$root.$emit("bv::collapse::accordion",this.id,this.accordion)},clickHandler:function(t){var e=t.target;this.isNav&&e&&"block"===(0,r.getCS)(this.$el).display&&((0,r.matches)(e,".nav-link,.dropdown-item")||(0,r.closest)(".nav-link,.dropdown-item",e))&&(this.show=!1)},handleToggleEvt:function(t){t===this.id&&this.toggle()},handleAccordionEvt:function(t,e){this.accordion&&e===this.accordion&&(t===this.id?this.show||this.toggle():this.show&&this.toggle())},handleResize:function(){this.show="block"===(0,r.getCS)(this.$el).display}},render:function(t){var e=t(this.tag,{class:this.classObject,directives:[{name:"show",value:this.show}],attrs:{id:this.id||null},on:{click:this.clickHandler}},[this.$slots.default]);return t("transition",{props:{enterClass:"",enterActiveClass:"collapsing",enterToClass:"",leaveClass:"",leaveActiveClass:"collapsing",leaveToClass:""},on:{enter:this.onEnter,afterEnter:this.onAfterEnter,leave:this.onLeave,afterLeave:this.onAfterLeave}},[e])}};e.default=a},"5ZkO":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={tag:{type:String,default:"span"}};e.props=r;var o={name:"BNavText",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data,o=e.children;return t(n.tag,(0,i.mergeData)(r,{staticClass:"navbar-text"}),o)}};e.default=o},"5sk5":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={tag:{type:String,default:"div"},deck:{type:Boolean,default:!1},columns:{type:Boolean,default:!1}};e.props=r;var o={name:"BCardGroup",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data,o=e.children,a="card-group";return n.deck?a="card-deck":n.columns&&(a="card-columns"),t(n.tag,(0,i.mergeData)(r,{class:a}),o)}};e.default=o},"69G/":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={id:{type:String,default:null},tag:{type:String,default:"div"},tooltip:{type:Boolean,default:!1},forceShow:{type:Boolean,default:!1},state:{type:[Boolean,String],default:null}};e.props=r;var o={name:"BFormInvalidFeedback",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data,o=e.children,a=!0===n.forceShow||!1===n.state||"invalid"===n.state;return t(n.tag,(0,i.mergeData)(r,{class:{"invalid-feedback":!n.tooltip,"invalid-tooltip":n.tooltip,"d-block":a},attrs:{id:n.id}}),o)}};e.default=o},"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"],r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=["AM","PM"],s=["am","pm"],l=["a.m.","p.m."],u={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 r[t.getDay()]},dddd:function(t){return o[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){u[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:u,formattingTokensRegExp:i(u)}}},"6Tqn":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("Fq4B"),r=n("k+DF"),o={name:"BTooltip",mixins:[n("xUKg").default],props:{title:{type:String,default:""},triggers:{type:[String,Array],default:"hover focus"},placement:{type:String,default:"top"}},data:function(){return{}},methods:{createToolpop:function(){var t=this.getTarget();return t?this._toolpop=new i.default(t,this.getConfig(),this.$root):(this._toolpop=null,(0,r.default)("b-tooltip: 'target' element not found!")),this._toolpop}},render:function(t){return t("div",{class:["d-none"],style:{display:"none"},attrs:{"aria-hidden":!0}},[t("div",{ref:"title"},this.$slots.default)])}};e.default=o},"6uA0":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i={props:{id:{type:String,default:null}},data:function(){return{localId_:null}},computed:{safeId:function(){var t=this.id||this.localId_;return function(e){return t?(e=String(e||"").replace(/\s+/g,"_"))?t+"_"+e:t:null}}},mounted:function(){var t=this;this.$nextTick(function(){t.localId_="__BVID__".concat(t._uid)})}};e.default=i},"7+OJ":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("vbH8"),r=n("Eau4"),o=n("Co2t"),a={BFormCheckbox:i.default,BCheckbox:i.default,BCheck:i.default,BFormCheckboxGroup:r.default,BCheckboxGroup:r.default,BCheckGroup:r.default},s={install:function(t){(0,o.registerComponents)(t,a)}};e.default=s},"7bze":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("uy80"),r="__BV_root_listeners__",o={beforeDestroy:function(){if(this[r]&&(0,i.isArray)(this[r]))for(;this[r].length>0;){var t=this[r].shift(),e=t.event,n=t.callback;this.$root.$off(e,n)}},methods:{listenOnRoot:function(t,e){return this[r]&&(0,i.isArray)(this[r])||(this[r]=[]),this[r].push({event:t,callback:e}),this.$root.$on(t,e),this},emitOnRoot:function(t){for(var e,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r=0){r=1;break}var a=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},r))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function l(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function u(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=l(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/(auto|scroll|overlay)/.test(n+r+i)?t:c(u(t))}var d=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function p(t){return 11===t?d:10===t?f:d||f}function h(t){if(!t)return document.documentElement;for(var e=p(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===l(n,"position")?h(n):n:t?t.ownerDocument.documentElement:document.documentElement}function m(t){return null!==t.parentNode?m(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,r=n?e:t,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var a,s,l=o.commonAncestorContainer;if(t!==l&&e!==l||i.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&h(a.firstElementChild)!==a?h(l):l;var u=m(t);return u.host?v(u.host,e):v(t,m(e).host)}function g(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[e]}return t[e]}function b(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function y(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],p(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function w(t){var e=t.body,n=t.documentElement,i=p(10)&&getComputedStyle(n);return{height:y("Height",e,n,i),width:y("Width",e,n,i)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},k=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],i=p(10),r="HTML"===e.nodeName,o=S(t),a=S(e),s=c(t),u=l(e),d=parseFloat(u.borderTopWidth,10),f=parseFloat(u.borderLeftWidth,10);n&&r&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=T({top:o.top-a.top-d,left:o.left-a.left-f,width:o.width,height:o.height});if(h.marginTop=0,h.marginLeft=0,!i&&r){var m=parseFloat(u.marginTop,10),v=parseFloat(u.marginLeft,10);h.top-=d-m,h.bottom-=d-m,h.left-=f-v,h.right-=f-v,h.marginTop=m,h.marginLeft=v}return(i&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(h=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=g(e,"top"),r=g(e,"left"),o=n?-1:1;return t.top+=i*o,t.bottom+=i*o,t.left+=r*o,t.right+=r*o,t}(h,e)),h}function $(t){if(!t||!t.parentElement||p())return document.documentElement;for(var e=t.parentElement;e&&"none"===l(e,"transform");)e=e.parentElement;return e||document.documentElement}function E(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=r?$(t):v(t,e);if("viewport"===i)o=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=O(t,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:g(n),s=e?0:g(n,"left");return T({top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:r,height:o})}(a,r);else{var s=void 0;"scrollParent"===i?"BODY"===(s=c(u(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===i?t.ownerDocument.documentElement:i;var d=O(s,a,r);if("HTML"!==s.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===l(e,"position"))return!0;var i=u(e);return!!i&&t(i)}(a))o=d;else{var f=w(t.ownerDocument),p=f.height,h=f.width;o.top+=d.top-d.marginTop,o.bottom=p+d.top,o.left+=d.left-d.marginLeft,o.right=h+d.left}}var m="number"==typeof(n=n||0);return o.left+=m?n:n.left||0,o.top+=m?n:n.top||0,o.right-=m?n:n.right||0,o.bottom-=m?n:n.bottom||0,o}function A(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=E(n,i,o,r),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map(function(t){return x({key:t},s[t],{area:(e=s[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function B(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return O(n,i?$(e):v(e,n),i)}function P(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function M(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function I(t,e,n){n=n.split("-")[0];var i=P(t),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return r[a]=e[a]+e[l]/2-i[l]/2,r[s]=n===s?e[s]-i[u]:e[M(s)],r}function N(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function j(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=N(t,function(t){return t[e]===n});return t.indexOf(i)}(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&s(n)&&(e.offsets.popper=T(e.offsets.popper),e.offsets.reference=T(e.offsets.reference),e=n(e,t))}),e}function L(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function D(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i1&&void 0!==arguments[1]&&arguments[1],n=q.indexOf(t),i=q.slice(n+1).concat(q.slice(0,n));return e?i.reverse():i}var Y={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function X(t,e,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(N(a,function(t){return-1!==t.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(u=u.map(function(t,i){var r=(1===i?!o:o)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],a=r[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return T(s)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,r,e,n)})})).forEach(function(t,e){t.forEach(function(n,i){V(n)&&(r[e]+=n*("-"===t[i-1]?-1:1))})}),r}var J={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var r=t.offsets,o=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",c={start:C({},l,o[l]),end:C({},l,o[l]+o[u]-a[u])};t.offsets.popper=x({},a,c[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,r=t.offsets,o=r.popper,a=r.reference,s=i.split("-")[0],l=void 0;return l=V(+n)?[+n,0]:X(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||h(t.instance.popper);t.instance.reference===n&&(n=h(n));var i=D("transform"),r=t.instance.popper.style,o=r.top,a=r.left,s=r[i];r.top="",r.left="",r[i]="";var l=E(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);r.top=o,r.left=a,r[i]=s,e.boundaries=l;var u=e.priority,c=t.offsets.popper,d={primary:function(t){var n=c[t];return c[t]l[t]&&!e.escapeWithReference&&(i=Math.min(c[n],l[t]-("right"===t?c.width:c.height))),C({},n,i)}};return u.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=x({},c,d[e](t))}),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,r=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]o(i[s])&&(t.offsets.popper[l]=o(i[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!W(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],o=t.offsets,a=o.popper,s=o.reference,u=-1!==["left","right"].indexOf(r),c=u?"height":"width",d=u?"Top":"Left",f=d.toLowerCase(),p=u?"left":"top",h=u?"bottom":"right",m=P(i)[c];s[h]-ma[h]&&(t.offsets.popper[f]+=s[f]+m-a[h]),t.offsets.popper=T(t.offsets.popper);var v=s[f]+s[c]/2-m/2,g=l(t.instance.popper),b=parseFloat(g["margin"+d],10),y=parseFloat(g["border"+d+"Width"],10),w=v-t.offsets.popper[f]-b-y;return w=Math.max(Math.min(a[c]-m,w),0),t.arrowElement=i,t.offsets.arrow=(C(n={},f,Math.round(w)),C(n,p,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(L(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=E(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],r=M(i),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case Y.FLIP:a=[i,r];break;case Y.CLOCKWISE:a=K(i);break;case Y.COUNTERCLOCKWISE:a=K(i,!0);break;default:a=e.behavior}return a.forEach(function(s,l){if(i!==s||a.length===l+1)return t;i=t.placement.split("-")[0],r=M(i);var u=t.offsets.popper,c=t.offsets.reference,d=Math.floor,f="left"===i&&d(u.right)>d(c.left)||"right"===i&&d(u.left)d(c.top)||"bottom"===i&&d(u.top)d(n.right),m=d(u.top)d(n.bottom),g="left"===i&&p||"right"===i&&h||"top"===i&&m||"bottom"===i&&v,b=-1!==["top","bottom"].indexOf(i),y=!!e.flipVariations&&(b&&"start"===o&&p||b&&"end"===o&&h||!b&&"start"===o&&m||!b&&"end"===o&&v);(f||g||y)&&(t.flipped=!0,(f||g)&&(i=a[l+1]),y&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=i+(o?"-"+o:""),t.offsets.popper=x({},t.offsets.popper,I(t.instance.popper,t.offsets.reference,t.placement)),t=j(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,r=i.popper,o=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=o[n]-(s?r[a?"width":"height"]:0),t.placement=M(e),t.offsets.popper=T(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(!W(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=N(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=a(this.update.bind(this)),this.options=x({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(x({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){i.options.modifiers[e]=x({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return x({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&s(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return k(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=B(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=A(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=I(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=j(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,L(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[D("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=R(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return H.call(this)}}]),t}();Q.Utils=("undefined"!=typeof window?window:t).PopperUtils,Q.placements=G,Q.Defaults=J,e.default=Q}.call(this,n("yLpj"))},"8oxB":function(t,e){var n,i,r=t.exports={};function o(){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===o||!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:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var l,u=[],c=!1,d=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&p())}function p(){if(!c){var t=s(f);c=!0;for(var e=u.length;e;){for(l=u,u=[];++d1)for(var n=1;nRead more',lessLink:'Hide'})})};try{document.createEvent("TouchEvent"),$("body").addClass("touch")}catch(t){}window.filesize=n("SdWe"),window.Plyr=n("T7iU"),n("5JIG"),n("4zuO"),n("/izM"),n("Pva4"),n("1Fl4"),window.pixelfed.n={},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("passport-clients",n("MrZN").default),Vue.component("passport-authorized-clients",n("Dpv2").default),Vue.component("passport-personal-access-tokens",n("yx5A").default),$(document).ready(function(){$(function(){$('[data-toggle="tooltip"]').tooltip()})});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;")},"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 r,o=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?t:(r=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:i+o.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")})}},"9wGH":function(t,e,n){"use strict";n.r(e);var i={props:["status"]},r=n("KHd+"),o=Object(r.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:"",loop:"",alt:t.description,width:"100%",height:"100%"},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:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[n("source",{attrs:{src:t.url,type:t.mime}})])])}),1)],1)},[],!1,null,null,null);e.default=o.exports},AIiG:function(t,e,n){"use strict";var i=n("kPV1");n.n(i).a},AJaK:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("TkDH"),r=(0,i.propsFactory)();e.props=r;var o={name:"BDropdownItem",inject:{dropdown:{from:"dropdown",default:null}},props:r,methods:{closeDropdown:function(){this.dropdown&&this.dropdown.hide(!0)},onClick:function(t){this.$emit("click",t),this.closeDropdown()}},render:function(t){return t(i.default,{props:this.$props,staticClass:"dropdown-item",attrs:{role:"menuitem"},on:{click:this.onClick}},this.$slots.default)}};e.default=o},"AN/+":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("Co2t"),r=n("/eCm"),o=n("nSXF"),a=n("nj7W"),s=n("Z4AP"),l=n("33Rj"),u={BInputGroup:r.default,BInputGroupAddon:o.default,BInputGroupPrepend:a.default,BInputGroupAppend:s.default,BInputGroupText:l.default},c={install:function(t){(0,i.registerComponents)(t,u)}};e.default=c},B25o:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("nG+9"),r=n("Co2t"),o={BSpinner:i.default},a={install:function(t){(0,r.registerComponents)(t,o)}};e.default=a},B7Xd:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("6uA0"),r=n("Xwe6"),o=n("QftK"),a=n("N3zd"),s=n("uy80"),l=n("ls0u"),u={name:"BFormFile",mixins:[i.default,r.default,o.default,a.default],props:{value:{default:null},accept:{type:String,default:""},capture:{type:Boolean,default:!1},placeholder:{type:String,default:"No file chosen"},browseText:{type:String,default:null},dropPlaceholder:{type:String,default:null},multiple:{type:Boolean,default:!1},directory:{type:Boolean,default:!1},noTraverse:{type:Boolean,default:!1},noDrop:{type:Boolean,default:!1}},data:function(){return{selectedFile:null,dragging:!1,hasFocus:!1}},computed:{selectLabel:function(){return this.dragging&&this.dropPlaceholder?this.dropPlaceholder:this.selectedFile&&0!==this.selectedFile.length?this.multiple?1===this.selectedFile.length?this.selectedFile[0].name:this.selectedFile.map(function(t){return t.name}).join(", "):this.selectedFile.name:this.placeholder}},watch:{selectedFile:function(t,e){(0,l.default)(t,e)||(!t&&this.multiple?this.$emit("input",[]):this.$emit("input",t))},value:function(t){(!t||(0,s.isArray)(t)&&0===t.length)&&this.reset()}},methods:{focusHandler:function(t){this.plain||"focusout"===t.type?this.hasFocus=!1:this.hasFocus=!0},reset:function(){try{this.$refs.input.value=""}catch(t){}this.$refs.input.type="",this.$refs.input.type="file",this.selectedFile=this.multiple?[]:null},onFileChange:function(t){var e=this;this.$emit("change",t);var n=t.dataTransfer&&t.dataTransfer.items;if(!n||this.noTraverse)this.setFiles(t.target.files||t.dataTransfer.files);else{for(var i=[],r=0;r0&&this.onFileChange(t))},traverseFileTree:function(t,e){var n=this;return new Promise(function(i){e=e||"",t.isFile?t.file(function(t){t.$path=e,i(t)}):t.isDirectory&&t.createReader().readEntries(function(r){for(var o=[],a=0;a0&&(0,u.keys)(this.fields).forEach(function(n){var i=k(n,t.fields[n]);i&&e.push(i)}),0===e.length&&this.localItems.length>0){var n=this.localItems[0];(0,u.keys)(n).forEach(function(t){b[t]||e.push({key:t,label:(0,i.default)(t)})})}var r={};return e.filter(function(t){return!r[t.key]&&(r[t.key]=!0,t.label="string"==typeof t.label?t.label:(0,i.default)(t.key),!0)})},filteredCheck:function(){return{filteredItems:this.filteredItems,localItems:this.localItems,localFilter:this.localFilter}},localFilter:function(){return"function"==typeof this.filter?"":"function"==typeof this.filterFunction||"string"==typeof this.filter||this.filter instanceof RegExp?this.filter:""},localFilterFn:function(){var t=this.filter,e=this.filterFunction;return"function"==typeof e?e:"function"==typeof t?t:null},filteredItems:function(){var t=this.localItems||[],e=this.localFilter,n=this.filterFnFactory(this.localFilterFn,e)||this.defaultFilterFnFactory(e);return this.localFiltering&&n&&t.length>0&&(t=t.filter(n)),t},sortedItems:function(){var t=this.filteredItems||[],e=this.localSortBy,n=this.localSortDesc,i=this.sortCompare,o=this.localSorting;return e&&o?(0,a.default)(t,function(t,o){var a=null;return"function"==typeof i&&(a=i(t,o,e,n)),null!=a&&!1!==a||(a=function(t,e,n){return t=(0,r.default)(t,n,""),e=(0,r.default)(e,n,""),t instanceof Date&&e instanceof Date||"number"==typeof t&&"number"==typeof e?(te&&1)||0:w(t).localeCompare(w(e),void 0,{numeric:!0})}(t,o,e)),(a||0)*(n?-1:1)}):t},paginatedItems:function(){var t=this.sortedItems||[],e=Math.max(parseInt(this.currentPage,10)||1,1),n=Math.max(parseInt(this.perPage,10)||0,0);return this.localPaging&&n&&(t=t.slice((e-1)*n,e*n)),t},computedItems:function(){return this.paginatedItems||[]}},watch:{items:function(t){this.hasProvider||t instanceof Function?this.$nextTick(this._providerUpdate):(0,c.isArray)(t)?this.localItems=t.slice():this.localItems=[]},sortDesc:function(t,e){t!==this.localSortDesc&&(this.localSortDesc=t||!1)},sortBy:function(t,e){t!==this.localSortBy&&(this.localSortBy=t||null)},selectMode:function(t,e){e!==t&&this.clearSelected()},localSortDesc:function(t,e){t!==e&&(this.clearSelected(),this.$emit("update:sortDesc",t))},localSortBy:function(t,e){t!==e&&(this.clearSelected(),this.$emit("update:sortBy",t))},localBusy:function(t,e){t!==e&&this.$emit("update:busy",t)},computedItems:function(t,e){this.lastRowClicked=-1,this.$emit("input",t);var n=!1;if(this.selectable&&this.selectedRows.length>0){n=(0,c.isArray)(t)&&(0,c.isArray)(e)&&t.length===e.length;for(var i=0;n&&i=0&&t.shiftKey){for(var o=Math.min(this.lastRowClicked,n);o<=Math.max(this.lastRowClicked,n);o++)this.selectedRows[o]=!0;r=!0}else t.ctrlKey||t.metaKey||(this.selectedRows=[],r=!0),this.lastRowClicked=r?n:-1}this.$set(this.selectedRows,n,r);var a=[];this.selectedRows.forEach(function(t,e){t&&a.push(i.computedItems[e])}),this.$emit("row-selected",a)}this.$emit("row-clicked",e,n,t)}},middleMouseRowClicked:function(t,e,n){this.stopIfBusy(t)||this.$emit("row-middle-clicked",e,n,t)},rowDblClicked:function(t,e,n){this.stopIfBusy(t)||x(t)||this.$emit("row-dblclicked",e,n,t)},rowHovered:function(t,e,n){this.stopIfBusy(t)||this.$emit("row-hovered",e,n,t)},rowUnhovered:function(t,e,n){this.stopIfBusy(t)||this.$emit("row-unhovered",e,n,t)},rowContextmenu:function(t,e,n){this.stopIfBusy(t)||this.$emit("row-contextmenu",e,n,t)},headClicked:function(t,e){var n=this;if(!this.stopIfBusy(t)&&!x(t)){t.stopPropagation(),t.preventDefault();var i=!1,r=function(){var t=e.sortDirection||n.sortDirection;"asc"===t?n.localSortDesc=!1:"desc"===t&&(n.localSortDesc=!0)};e.sortable?(e.key===this.localSortBy?this.localSortDesc=!this.localSortDesc:(this.localSortBy=e.key,r()),i=!0):this.localSortBy&&!this.noSortReset&&(this.localSortBy=null,r(),i=!0),this.$emit("head-clicked",e.key,e,t),i&&this.$emit("sort-changed",this.context)}},stopIfBusy:function(t){return!!this.computedBusy&&(t.preventDefault(),t.stopPropagation(),!0)},refresh:function(){this.$off("refreshed",this.refresh),this.computedBusy?this.localBusy&&this.hasProvider&&this.$on("refreshed",this.refresh):(this.clearSelected(),this.hasProvider?this.$nextTick(this._providerUpdate):this.localItems=(0,c.isArray)(this.items)?this.items.slice():[])},_providerSetLocal:function(t){this.localItems=(0,c.isArray)(t)?t.slice():[],this.localBusy=!1,this.$emit("refreshed"),this.id&&this.emitOnRoot("bv::table::refreshed",this.id)},_providerUpdate:function(){this.hasProvider&&(this.computedBusy?this.$nextTick(this.refresh):(this.localBusy=!0,this.$nextTick(function(){var t=this;try{var e=this.items(this.context,this._providerSetLocal);e&&e.then&&"function"==typeof e.then?e.then(function(e){t._providerSetLocal(e)}):(0,c.isArray)(e)?this._providerSetLocal(e):2!==this.items.length&&((0,l.default)("b-table provider function didn't request calback and did not return a promise or data"),this.localBusy=!1)}catch(t){(0,l.default)("b-table provider function error [".concat(t.name,"] ").concat(t.message)),this.localBusy=!1,this.$off("refreshed",this.refresh)}})))}},render:function(t){var e=this,n=this.$slots,o=this.$scopedSlots,a=this.computedFields,l=this.computedItems,u=this.striped,c=this.$listeners["row-clicked"]||this.selectable,f=t(!1),p=null;if(this.caption||this.captionHtml||n["table-caption"]){var h={key:"caption",id:p=this.isStacked?this.safeId("_caption_"):null,class:this.captionClasses};n["table-caption"]||(h.domProps=(0,d.htmlOrText)(this.captionHtml,this.caption)),f=t("caption",h,n["table-caption"])}var g=n["table-colgroup"]?t("colgroup",{key:"colgroup"},n["table-colgroup"]):t(!1),b=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return a.map(function(r,a){var l="";r.label.trim()||r.headerTitle||(l=(0,i.default)(r.key)),l=[l,r.sortable?e.localSortDesc&&e.localSortBy===r.key?e.labelSortAsc:e.labelSortDesc:null].filter(function(t){return t}).join(": ")||null;var u=r.sortable&&e.localSortBy===r.key?e.localSortDesc?"descending":"ascending":r.sortable?"none":null,c={key:r.key,class:e.fieldClasses(r),style:r.thStyle||{},attrs:{tabindex:r.sortable?"0":null,abbr:r.headerAbbr||null,title:r.headerTitle||null,scope:n?null:"col","aria-colindex":String(a+1),"aria-label":l,"aria-sort":u},on:{click:function(t){e.headClicked(t,r)},keydown:function(t){var n=t.keyCode;n!==s.default.ENTER&&n!==s.default.SPACE||e.headClicked(t,r)}}},f=n&&o["FOOT_".concat(r.key)]?o["FOOT_".concat(r.key)]:o["HEAD_".concat(r.key)];return f?f=[f({label:r.label,column:r.key,field:r})]:c.domProps=(0,d.htmlOrText)(r.labelHtml,r.label),t("th",c,f)})},y=t(!1);!0!==this.isStacked&&(y=t("thead",{key:"thead",class:this.headClasses},[t("tr",{class:this.theadTrClass},b(!1))]));var k=t(!1);this.footClone&&!0!==this.isStacked&&(k=t("tfoot",{key:"tfoot",class:this.footClasses},[t("tr",{class:this.tfootTrClass},b(!0))]));var C=[];if(o["top-row"]&&!0!==this.isStacked?C.push(t("tr",{key:"top-row",staticClass:"b-table-top-row",class:["function"==typeof this.tbodyTrClass?this.tbodyTrClass(null,"row-top"):this.tbodyTrClass]},[o["top-row"]({columns:a.length,fields:a})])):C.push(t(!1)),n["table-busy"]&&this.computedBusy){var x={role:this.isStacked?"row":null},T={colspan:String(a.length),role:this.isStacked?"cell":null};C.push(t("tr",{key:"table-busy-slot",staticClass:"b-table-busy-slot",class:["function"==typeof this.tbodyTrClass?this.tbodyTrClass(null,"table-busy"):this.tbodyTrClass],attrs:x},[t("td",{attrs:T},[n["table-busy"]])]))}else l.forEach(function(n,i){var l=o["row-details"],d=Boolean(n._showDetails&&l),f=e.selectedRows[i],p=d?e.safeId("_details_".concat(i,"_")):null,h=function(){l&&e.$set(n,"_showDetails",!n._showDetails)},m=a.map(function(a,s){var l,u=e.getFormattedValue(n,a),c={key:"row-".concat(i,"-cell-").concat(s,"-").concat(a.key),class:e.tdClasses(a,n),attrs:e.tdAttrs(a,n,s),domProps:{}};return o[a.key]?(l=[o[a.key]({item:n,index:i,field:a,unformatted:(0,r.default)(n,a.key,""),value:u,toggleDetails:h,detailsShowing:Boolean(n._showDetails),rowSelected:Boolean(f)})],e.isStacked&&(l=[t("div",{},[l])])):l=e.isStacked?[t("div",u)]:u,t(a.isRowHeader?"th":"td",c,l)}),g=null;e.currentPage&&e.perPage&&e.perPage>0&&(g=String((e.currentPage-1)*e.perPage+i+1));var b=e.primaryKey&&void 0!==n[e.primaryKey]?w(n[e.primaryKey]):"".concat(i,"__").concat(_(n));if(C.push(t("tr",{key:"__b-table-row-".concat(b,"__"),class:[e.rowClasses(n),v({"b-table-has-details":d,"b-row-selected":f},"".concat(e.dark?"bg":"table","-").concat(e.selectedVariant),f&&e.selectedVariant)],attrs:{tabindex:c?"0":null,"aria-describedby":p,"aria-owns":p,"aria-rowindex":g,"aria-selected":e.selectable?f?"true":"false":null,role:e.isStacked?"row":null},on:{auxclick:function(t){2===t.which&&e.middleMouseRowClicked(t,n,i)},click:function(t){e.rowClicked(t,n,i)},keydown:function(t){var r=t.keyCode;r!==s.default.ENTER&&r!==s.default.SPACE||t.target&&"TR"===t.target.tagName&&t.target===document.activeElement&&e.rowClicked(t,n,i)},contextmenu:function(t){e.rowContextmenu(t,n,i)},dblclick:function(t){e.rowDblClicked(t,n,i)},mouseenter:function(t){e.rowHovered(t,n,i)},mouseleave:function(t){e.rowUnhovered(t,n,i)}}},m)),d){var y={colspan:String(a.length)},k={id:p};e.isStacked&&(y.role="cell",k.role="row");var x=t("td",{attrs:y},[l({item:n,index:i,fields:a,toggleDetails:h})]);u&&C.push(t("tr",{key:"__b-table-details-".concat(i,"-stripe__"),staticClass:"d-none",attrs:{"aria-hidden":"true"}})),C.push(t("tr",{key:"__b-table-details-".concat(i,"__"),staticClass:"b-table-details",class:["function"==typeof e.tbodyTrClass?e.tbodyTrClass(n,"row-details"):e.tbodyTrClass],attrs:k},[x]))}else l&&(C.push(t(!1)),u&&C.push(t(!1)))});if(!this.showEmpty||l&&0!==l.length||n["table-busy"]&&this.computedBusy)C.push(t(!1));else{var S=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o[t]||n[t];return"function"==typeof i?i(e):i}(this.isFiltered?"emptyfiltered":"empty",{emptyFilteredHtml:this.emptyFilteredHtml,emptyFilteredText:this.emptyFilteredText,emptyHtml:this.emptyHtml,emptyText:this.emptyText,fields:a,items:l});S||(S=t("div",{class:["text-center","my-2"],domProps:this.isFiltered?(0,d.htmlOrText)(this.emptyFilteredHtml,this.emptyFilteredText):(0,d.htmlOrText)(this.emptyHtml,this.emptyText)})),S=t("td",{attrs:{colspan:String(a.length),role:this.isStacked?"cell":null}},[t("div",{attrs:{role:"alert","aria-live":"polite"}},[S])]),C.push(t("tr",{key:"__b-table-empty-row__",staticClass:"b-table-empty-row",class:["function"==typeof this.tbodyTrClass?this.tbodyTrClass(null,"row-empty"):this.tbodyTrClass],attrs:this.isStacked?{role:"row"}:{}},[S]))}o["bottom-row"]&&!0!==this.isStacked?C.push(t("tr",{key:"__b-table-bottom-row__",staticClass:"b-table-bottom-row",class:["function"==typeof this.tbodyTrClass?this.tbodyTrClass(null,"row-bottom"):this.tbodyTrClass]},[o["bottom-row"]({columns:a.length,fields:a})])):C.push(t(!1));var O=this.tbodyTransitionProps||this.tbodyTransitionHandlers,$={},E={};O&&(E=this.tbodyTransitionHandlers||{},$=m({},this.tbodyTransitionProps||{},{tag:"tbody"}));var A=t(O?"transition-group":"tbody",{props:$,on:E,class:this.bodyClasses,attrs:this.isStacked?{role:"rowgroup"}:{}},C),B=t("table",{key:"b-table",staticClass:"table b-table",class:this.tableClasses,attrs:m({"aria-rowcount":this.filteredItems.length>l.length?String(this.filteredItems.length):null},this.$attrs,{id:this.safeId(),role:this.isStacked?"table":null,"aria-multiselectable":this.selectable?"single"===this.selectMode?"false":"true":null,"aria-busy":this.computedBusy?"true":"false","aria-colcount":String(a.length),"aria-describedby":[(this.$attrs||{})["aria-describedby"],p].filter(function(t){return t}).join(" ")||null})},[f,g,y,k,A]);return this.isResponsive?t("div",{key:"b-table-responsive",class:this.responsiveClass},[B]):B}};e.default=T},BXvd:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("Wl7S"),r=n("WsjD"),o=n("Co2t"),a={BListGroup:i.default,BListGroupItem:r.default},s={install:function(t){(0,o.registerComponents)(t,a)}};e.default=s},BZbT:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={id:{type:String,default:null},inline:{type:Boolean,default:!1},novalidate:{type:Boolean,default:!1},validated:{type:Boolean,default:!1}};e.props=r;var o={name:"BForm",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data,o=e.children;return t("form",(0,i.mergeData)(r,{class:{"form-inline":n.inline,"was-validated":n.validated},attrs:{id:n.id,novalidate:n.novalidate}}),o)}};e.default=o},BuT0:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;e.default={SPACE:32,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,PAGEUP:33,PAGEDOWN:34,HOME:36,END:35,TAB:9,SHIFT:16,CTRL:17,BACKSPACE:8,ALT:18,PAUSE:19,BREAK:19,INSERT:45,INS:45,DELETE:46}},CGZs:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("tmQd"),r=n("YAsO"),o=n("Co2t"),a={BButton:i.default,BBtn:i.default,BButtonClose:r.default,BBtnClose:r.default},s={install:function(t){(0,o.registerComponents)(t,a)}};e.default=s},CQNj:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49");var r={id:{type:String,default:null},tag:{type:String,default:"small"},textVariant:{type:String,default:"muted"},inline:{type:Boolean,default:!1}};e.props=r;var o={name:"BFormText",functional:!0,props:r,render:function(t,e){var n,r,o,a=e.props,s=e.data,l=e.children;return t(a.tag,(0,i.mergeData)(s,{class:(n={"form-text":!a.inline},r="text-".concat(a.textVariant),o=Boolean(a.textVariant),r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n),attrs:{id:a.id}}),l)}};e.default=o},Co2t:function(t,e,n){"use strict";function i(t,e,n){t._bootstrap_vue_components_=t._bootstrap_vue_components_||{};var i=t._bootstrap_vue_components_[e];return!i&&n&&e&&(t._bootstrap_vue_components_[e]=!0,t.component(e,n)),i}function r(t,e,n){t._bootstrap_vue_directives_=t._bootstrap_vue_directives_||{};var i=t._bootstrap_vue_directives_[e];return!i&&n&&e&&(t._bootstrap_vue_directives_[e]=!0,t.directive(e,n)),i}e.__esModule=!0,e.registerComponent=i,e.registerComponents=function(t,e){for(var n in e)i(t,n,e[n])},e.registerDirective=r,e.registerDirectives=function(t,e){for(var n in e)r(t,n,e[n])},e.vueUse=function(t){"undefined"!=typeof window&&window.Vue&&window.Vue.use(t)}},DEDl:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("6uA0"),r=n("Xwe6"),o=n("bhsD"),a=n("QftK"),s=n("wBzU"),l=n("EPw4"),u=n("uWUd"),c=n("FhHd");function d(t){for(var e=1;er?1:0}},Dpv2:function(t,e,n){"use strict";n.r(e);var i={data:function(){return{tokens:[]}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens()},getTokens:function(){var t=this;axios.get("/oauth/tokens").then(function(e){t.tokens=e.data})},revoke:function(t){var e=this;axios.delete("/oauth/tokens/"+t.id).then(function(t){e.getTokens()})}}},r=(n("hk+O"),n("KHd+")),o=Object(r.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.tokens.length>0?n("div",[n("div",{staticClass:"card card-default mb-4"},[n("div",{staticClass:"card-header font-weight-bold bg-white"},[t._v("Authorized Applications")]),t._v(" "),n("div",{staticClass:"card-body"},[n("table",{staticClass:"table table-borderless mb-0"},[t._m(0),t._v(" "),n("tbody",t._l(t.tokens,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.client.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[e.scopes.length>0?n("span",[t._v("\n "+t._s(e.scopes.join(", "))+"\n ")]):t._e()]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){return t.revoke(e)}}},[t._v("\n Revoke\n ")])])])}),0)])])])]):t._e()])},[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Name")]),this._v(" "),e("th",[this._v("Scopes")]),this._v(" "),e("th")])])}],!1,null,"1b737fda",null);e.default=o.exports},EBjv:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("QLus"),r=n("ohI8"),o=n("Co2t"),a={BTabs:i.default,BTab:r.default},s={install:function(t){(0,o.registerComponents)(t,a)}};e.default=s},EPw4:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;e.default={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)}}}},EYbI:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("FhHd"),r={data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(t,e){t!==e&&((0,i.eventOff)(this.focusInElement,"focusin",this._focusInHandler,!1),t&&(0,i.eventOn)(this.focusInElement,"focusin",this._focusInHandler,!1))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&(0,i.eventOn)(this.focusInElement,"focusin",this._focusInHandler,!1)},beforeDestroy:function(){(0,i.eventOff)(this.focusInElement,"focusin",this._focusInHandler,!1)},methods:{_focusInHandler:function(t){this.focusInHandler&&this.focusInHandler(t)}}};e.default=r},Eau4:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("6uA0"),r=n("Xwe6"),o=n("Rhxi"),a=n("XAKr"),s=n("bhsD"),l=n("QftK"),u={name:"BFormCheckboxGroup",components:{BFormCheckbox:n("vbH8").default},mixins:[i.default,r.default,a.default,o.default,s.default,l.default],provide:function(){return{bvCheckGroup:this}},props:{switches:{type:Boolean,default:!1},checked:{type:[String,Number,Object,Array,Boolean],default:null}},data:function(){return{localChecked:this.checked||[]}},computed:{is_RadioGroup:function(){return!1}}};e.default=u},ErYl:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){return(0,i.default)(e.replace(t,""))};var i=n("KDkB")},EtPW:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r=n("nJdW"),o=n("TkDH"),a=n("vhGO");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 l=function(t){for(var e=1;e0&&t.getBoundingClientRect().width>0};e.isDisabled=function(t){return!u(t)||t.disabled||t.classList.contains("disabled")||Boolean(t.getAttribute("disabled"))};e.reflow=function(t){return u(t)&&t.offsetHeight};var c=function(t,e){return u(e)||(e=document),(0,i.from)(e.querySelectorAll(t))};e.selectAll=c;e.select=function(t,e){return u(e)||(e=document),e.querySelector(t)||null};var d=function(t,e){if(!u(t))return!1;var n=Element.prototype;return(n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(t){for(var e=c(t,this.document||this.ownerDocument),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1}).call(t,e)};e.matches=d;e.closest=function(t,e){if(!u(e))return null;var n=(Element.prototype.closest||function(t){var e=this;if(!document.documentElement.contains(e))return null;do{if(d(e,t))return e;e=e.parentElement}while(null!==e);return null}).call(e,t);return n===e?null:n};e.contains=function(t,e){return!(!t||"function"!=typeof t.contains)&&t.contains(e)};e.getById=function(t){return document.getElementById(/^#/.test(t)?t.slice(1):t)||null};e.addClass=function(t,e){e&&u(t)&&t.classList.add(e)};e.removeClass=function(t,e){e&&u(t)&&t.classList.remove(e)};e.hasClass=function(t,e){return!(!e||!u(t))&&t.classList.contains(e)};e.setAttr=function(t,e,n){e&&u(t)&&t.setAttribute(e,n)};e.removeAttr=function(t,e){e&&u(t)&&t.removeAttribute(e)};e.getAttr=function(t,e){return e&&u(t)?t.getAttribute(e):null};e.hasAttr=function(t,e){return e&&u(t)?t.hasAttribute(e):null};var f=function(t){return u(t)?t.getBoundingClientRect():null};e.getBCR=f;var p=function(t){return u(t)?window.getComputedStyle(t):{}};e.getCS=p;var h=function(t){if(u(t)){if(!t.getClientRects().length)return{top:0,left:0};var e=f(t),n=t.ownerDocument.defaultView;return{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}}};e.offset=h;e.position=function(t){if(u(t)){var e,n,i={top:0,left:0};if("fixed"===p(t).position)e=f(t);else{e=h(t);var r=t.ownerDocument;for(n=t.offsetParent||r.documentElement;n&&(n===r.body||n===r.documentElement)&&"static"===p(n).position;)n=n.parentNode;n&&n!==t&&n.nodeType===Node.ELEMENT_NODE&&((i=h(n)).top+=parseFloat(p(n).borderTopWidth),i.left+=parseFloat(p(n).borderLeftWidth))}return{top:e.top-i.top-parseFloat(p(t).marginTop),left:e.left-i.left-parseFloat(p(t).marginLeft)}}}},FmUb:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={tag:{type:String,default:"div"}};e.props=r;var o={name:"BFormRow",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data,o=e.children;return t(n.tag,(0,i.mergeData)(r,{staticClass:"form-row"}),o)}};e.default=o},Fq4B:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("8L3F"),r=n("+Lui"),o=n("uy80"),a=n("FhHd");function s(t){return(s="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 l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t,e){for(var n=0;n
',trigger:"hover focus",title:"",delay:0,html:!1,placement:"top",offset:0,arrowPadding:6,container:!1,fallbackPlacement:"flip",callbacks:{},boundary:"scrollParent"},w={WebkitTransition:["webkitTransitionEnd"],MozTransition:["transitionend"],OTransition:["otransitionend","oTransitionEnd"],transition:["transitionend"]},_=1;var k=function(){function t(e,n,i){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$isEnabled=!0,this.$fadeTimeout=null,this.$hoverTimeout=null,this.$visibleInterval=null,this.$hoverState="",this.$activeTrigger={},this.$popper=null,this.$element=e,this.$tip=null,this.$id=(r=this.constructor.NAME,"__BV_".concat(r,"_").concat(_++,"__")),this.$root=i||null,this.$routeWatcher=null,this.$forceHide=this.forceHide.bind(this),this.$doHide=this.doHide.bind(this),this.$doShow=this.doShow.bind(this),this.$doDisable=this.doDisable.bind(this),this.$doEnable=this.doEnable.bind(this),this.updateConfig(n)}var e,n,k;return e=t,k=[{key:"getAttachment",value:function(t){return d[t.toUpperCase()]}},{key:"Default",get:function(){return y}},{key:"NAME",get:function(){return"tooltip"}}],(n=[{key:"updateConfig",value:function(t){var e=function(t){for(var e=1;e0&&e.forEach(function(e){(0,a.removeClass)(t,e)})}},{key:"handlePopperPlacementChange",value:function(t){this.cleanTipClass(),this.addAttachmentClass(this.constructor.getAttachment(t.placement))}},{key:"fixTransition",value:function(t){var e=this.$config.animation||!1;null===(0,a.getAttr)(t,"x-placement")&&((0,a.removeClass)(t,m),this.$config.animation=!1,this.hide(),this.show(),this.$config.animation=e)}}])&&u(e.prototype,n),k&&u(e,k),t}();e.default=k},"G+60":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("THR5"),r=n("Co2t"),o={BJumbotron:i.default},a={install:function(t){(0,r.registerComponents)(t,o)}};e.default=a},GUC0:function(t,e,n){(function(e,n){t.exports=function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.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=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 r=n(26);e.overlayMarkup=r.default,i(n(27)),i(n(28)),i(n(29));var o=n(0),a=o.default.MODAL_TITLE,s=o.default.MODAL_TEXT,l=o.default.ICON,u=o.default.FOOTER;e.iconMarkup='\n
',e.titleMarkup='\n
\n',e.textMarkup='\n
',e.footerMarkup='\n
\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 r={visible:!0,text:null,value:null,className:"",closeModal:!0},o=Object.assign({},r,{visible:!1,text:"Cancel",value:null}),a=Object.assign({},r,{text:"OK",value:!0});e.defaultButtonList={cancel:o,confirm:a};var s=function(t){switch(t){case e.CONFIRM_KEY:return a;case e.CANCEL_KEY:return o;default:var n=t.charAt(0).toUpperCase()+t.slice(1);return Object.assign({},r,{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})},u=function(t){var n={};switch(t.length){case 1:n[e.CANCEL_KEY]=Object.assign({},o,{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=u(t):i.isPlainObject(t)?n=function(t){for(var e={},n=0,i=Object.keys(t);n=0&&g.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",u(e,t.attrs),o(t,e),e}function l(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",u(e,t.attrs),o(t,e),e}function u(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function c(t,e){var n,i,r,o;if(e.transform&&t.css){if(!(o=e.transform(t.css)))return function(){};t.css=o}if(e.singleton){var u=v++;n=m||(m=s(e)),i=d.bind(null,n,u,!1),r=d.bind(null,n,u,!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=function(t,e,n){var i=n.css,r=n.sourceMap,o=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||o)&&(i=b(i)),r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([i],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,e),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),i=function(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))}}.bind(null,n),r=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 r()}}function d(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=y(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}var f={},p=function(t){var e;return function(){return void 0===e&&(e=function(){return window&&document&&document.all&&!window.atob}.apply(this,arguments)),e}}(),h=function(t){var e={};return function(t){return void 0===e[t]&&(e[t]=function(t){return document.querySelector(t)}.call(this,t)),e[t]}}(),m=null,v=0,g=[],b=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=p()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=r(t,e);return i(n,e),function(t){for(var o=[],a=0;athis.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 r=0|e,o=Math.max(r>=0?r:i-Math.abs(r),0);o=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},r(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 r(t){if(l)setTimeout(r,0,t);else{var e=s[t];if(e){l=!0;try{!function(t){var e=t.callback,i=t.args;switch(i.length){case 0:e();break;case 1:e(i[0]);break;case 2:e(i[0],i[1]);break;case 3:e(i[0],i[1],i[2]);break;default:e.apply(n,i)}}(e)}finally{i(t),l=!1}}}}if(!t.setImmediate){var o,a=1,s={},l=!1,u=t.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(t);c=c&&c.setTimeout?c:t,"[object process]"==={}.toString.call(t.process)?o=function(t){e.nextTick(function(){r(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)&&r(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),o=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){r(t.data)},o=function(e){t.port2.postMessage(e)}}():u&&"onreadystatechange"in u.createElement("script")?function(){var t=u.documentElement;o=function(e){var n=u.createElement("script");n.onreadystatechange=function(){r(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():o=function(t){setTimeout(r,0,t)},c.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n1)for(var n=1;n',e.default=e.modalMarkup},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.OVERLAY,o='
\n
';e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.ICON;e.errorIconMarkup=function(){var t=r+"--error",e=t+"__line";return'\n
\n \n \n
\n '},e.warningIconMarkup=function(){var t=r+"--warning";return'\n \n \n \n '},e.successIconMarkup=function(){var t=r+"--success";return'\n \n \n\n
\n
\n '}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.CONTENT;e.contentMarkup='\n
\n\n
\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.BUTTON_CONTAINER,o=i.default.BUTTON,a=i.default.BUTTON_LOADER;e.buttonMarkup='\n
\n\n \n\n
\n
\n
\n
\n
\n\n
\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(4),r=n(2),o=n(0),a=o.default.ICON,s=o.default.ICON_CUSTOM,l=["error","warning","success","info"],u={error:r.errorIconMarkup(),warning:r.warningIconMarkup(),success:r.successIconMarkup()};e.default=function(t){if(t){var e=i.injectElIntoModal(r.iconMarkup);l.includes(t)?function(t,e){var n=a+"--"+t;e.classList.add(n);var i=u[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),r=n(4),o=function(t){navigator.userAgent.includes("AppleWebKit")&&(t.style.display="none",t.offsetHeight,t.style.display="")};e.initTitle=function(t){if(t){var e=r.injectElIntoModal(i.titleMarkup);e.textContent=t,o(e)}},e.initText=function(t){if(t){var e=document.createDocumentFragment();t.split("\n").forEach(function(t,n,i){e.appendChild(document.createTextNode(t)),n0}).forEach(function(t){m.classList.add(t)}),n&&t===l.CONFIRM_KEY&&m.classList.add(s),m.textContent=r;var g={};return g[t]=o,d.setActionValue(g),d.setActionOptionsFor(t,{closeModal:p}),m.addEventListener("click",function(){return c.onAction(t)}),h};e.default=function(t,e){var n=r.injectElIntoModal(u.footerMarkup);for(var i in t){var o=t[i],a=f(i,o,e);o.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),r=n(4),o=n(2),a=n(5),s=n(6),l=n(0),u=l.default.CONTENT,c=function(t){t.addEventListener("input",function(t){var e=t.target,n=e.value;a.setActionValue(n)}),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=r.injectElIntoModal(o.contentMarkup),n=t.element,i=t.attributes;"string"==typeof n?function(t,e,n){var i=document.createElement(e),r=u+"__"+e;for(var o in i.classList.add(r),n){var a=n[o];i[o]=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),r=n(2);e.default=function(){var t=i.stringToNode(r.overlayMarkup);document.body.appendChild(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(5),r=n(6),o=n(1),a=n(3),s=n(0),l=s.default.MODAL,u=s.default.BUTTON,c=s.default.OVERLAY,d=function(t){if(i.default.isOpen)switch(t.key){case"Escape":return r.onAction(a.CANCEL_KEY)}},f=function(t){if(i.default.isOpen)switch(t.key){case"Tab":return function(t){t.preventDefault(),h()}(t)}},p=function(t){if(i.default.isOpen)return"Tab"===t.key&&t.shiftKey?function(t){t.preventDefault(),m()}(t):void 0},h=function(){var t=o.getNode(u);t&&(t.tabIndex=0,t.focus())},m=function(){var t=o.getNode(l),e=t.querySelectorAll("."+u),n=e.length-1,i=e[n];i&&i.focus()},v=function(){var t=o.getNode(l),e=t.querySelectorAll("."+u);e.length&&(function(t){t[t.length-1].addEventListener("keydown",f)}(e),function(t){t[0].addEventListener("keydown",p)}(e))},g=function(t){if(o.getNode(c)===t.target)return r.onAction(a.CANCEL_KEY)};e.default=function(t){t.closeOnEsc?document.addEventListener("keyup",d):document.removeEventListener("keyup",d),t.dangerMode?h():m(),v(),function(t){var e=o.getNode(c);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 r.onAction(a.CANCEL_KEY)},t))}(t.timer)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),r=n(3),o=n(37),a=n(38),s={title:null,text:null,icon:null,buttons:r.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 u=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},c=function(t){return i.ordinalSuffixOf(t+1)},d=function(t,e){i.throwErr(c(e)+" argument ('"+t+"') is invalid")},f=function(t,e){var n=t+1,r=e[n];i.isPlainObject(r)||void 0===r||i.throwErr("Expected "+c(n)+" argument ('"+r+"') to be a plain object")},p=function(t,e,n,r){var o=typeof e,a="string"===o,s=e instanceof Element;if(a){if(0===n)return{text:e};if(1===n)return{text:e,title:r[0]};if(2===n)return f(n,r),{icon:e};d(e,n)}else{if(s&&0===n)return f(n,r),{content:e};if(i.isPlainObject(e))return function(t,e){var n=t+1,r=e[n];void 0!==r&&i.throwErr("Unexpected "+c(n)+" argument ("+r+")")}(n,r),e;d(e,n)}};e.getOpts=function(){for(var t=[],e=0;e=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return o(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||c(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function h(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function w(t,e){return y.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var k=/-(\w)/g,C=_(function(t){return t.replace(k,function(t,e){return e?e.toUpperCase():""})}),x=_(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),T=/\B([A-Z])/g,S=_(function(t){return t.replace(T,"-$1").toLowerCase()}),O=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function $(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function E(t,e){for(var n in e)t[n]=e[n];return t}function A(t){for(var e={},n=0;n0,J=K&&K.indexOf("edge/")>0,Q=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===q),Z=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),K&&K.match(/firefox\/(\d+)/)),tt={}.watch,et=!1;if(W)try{var nt={};Object.defineProperty(nt,"passive",{get:function(){et=!0}}),window.addEventListener("test-passive",null,nt)}catch(i){}var it=function(){return void 0===V&&(V=!W&&!G&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),V},rt=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ot(t){return"function"==typeof t&&/native code/.test(t.toString())}var at,st="undefined"!=typeof Symbol&&ot(Symbol)&&"undefined"!=typeof Reflect&&ot(Reflect.ownKeys);at="undefined"!=typeof Set&&ot(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var lt=B,ut=0,ct=function(){this.id=ut++,this.subs=[]};ct.prototype.addSub=function(t){this.subs.push(t)},ct.prototype.removeSub=function(t){b(this.subs,t)},ct.prototype.depend=function(){ct.target&&ct.target.addDep(this)},ct.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(o&&!w(r,"default"))a=!1;else if(""===a||a===S(t)){var l=Rt(String,r.type);(l<0||s0&&(ue((l=t(l,(n||"")+"_"+i))[0])&&ue(c)&&(d[u]=gt(c.text+l[0].text),l.shift()),d.push.apply(d,l)):s(l)?ue(c)?d[u]=gt(c.text+l):""!==l&&d.push(gt(l)):ue(l)&&ue(c)?d[u]=gt(c.text+l.text):(a(e._isVList)&&o(l.tag)&&r(l.key)&&o(n)&&(l.key="__vlist"+n+"_"+i+"__"),d.push(l)));return d}(t):void 0}function ue(t){return o(t)&&o(t.text)&&!1===t.isComment}function ce(t,e){if(t){for(var n=Object.create(null),i=st?Reflect.ownKeys(t):Object.keys(t),r=0;rdocument.createEvent("Event").timeStamp&&(un=function(){return performance.now()});var dn=0,fn=function(t,e,n,i,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++dn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new at,this.newDepIds=new at,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!U.test(t)){var e=t.split(".");return function(t){for(var n=0;nsn&&en[n].id>t.id;)n--;en.splice(n+1,0,t)}else en.push(t);on||(on=!0,te(cn))}}(this)},fn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Ht(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},fn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},fn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},fn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var pn={enumerable:!0,configurable:!0,get:B,set:B};function hn(t,e,n){pn.get=function(){return this[e][n]},pn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,pn)}var mn={lazy:!0};function vn(t,e,n){var i=!it();"function"==typeof n?(pn.get=i?gn(e):bn(n),pn.set=B):(pn.get=n.get?i&&!1!==n.cache?gn(e):bn(n.get):B,pn.set=n.set||B),Object.defineProperty(t,e,pn)}function gn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ct.target&&e.depend(),e.value}}function bn(t){return function(){return t.call(this,this)}}function yn(t,e,n,i){return c(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,i)}var wn=0;function _n(t){var e=t.options;if(t.super){var n=_n(t.super);if(n!==t.superOptions){t.superOptions=n;var i=function(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}(t);i&&E(t.extendOptions,i),(e=t.options=Nt(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function kn(t){this._init(t)}function Cn(t){return t&&(t.Ctor.options.name||t.tag)}function xn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===u.call(n)&&t.test(e));var n}function Tn(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=Cn(a.componentOptions);s&&!e(s)&&Sn(n,o,i,r)}}}function Sn(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,b(n,e)}kn.prototype._init=function(t){var e=this;e._uid=wn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Nt(_n(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Ye(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=de(e._renderChildren,r),t.$scopedSlots=i,t._c=function(e,n,i,r){return Re(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return Re(t,e,n,i,r,!0)};var o=n&&n.data;St(t,"$attrs",o&&o.attrs||i,null,!0),St(t,"$listeners",e._parentListeners||i,null,!0)}(e),tn(e,"beforeCreate"),function(t){var e=ce(t.$options.inject,t);e&&(Ct(!1),Object.keys(e).forEach(function(n){St(t,n,e[n])}),Ct(!0))}(e),function(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[];t.$parent&&Ct(!1);var o=function(o){r.push(o);var a=Lt(o,e,n,t);St(i,o,a),o in t||hn(t,"_props",o)};for(var a in e)o(a);Ct(!0)}(t,e.props),e.methods&&function(t,e){for(var n in t.$options.props,e)t[n]="function"!=typeof e[n]?B:O(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;c(e=t._data="function"==typeof e?function(t,e){ft();try{return t.call(e,e)}catch(t){return Ht(t,e,"data()"),{}}finally{pt()}}(e,t):e||{})||(e={});for(var n,i=Object.keys(e),r=t.$options.props,o=(t.$options.methods,i.length);o--;){var a=i[o];r&&w(r,a)||36!==(n=(a+"").charCodeAt(0))&&95!==n&&hn(t,"_data",a)}Tt(e,!0)}(t):Tt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=it();for(var r in e){var o=e[r],a="function"==typeof o?o:o.get;i||(n[r]=new fn(t,a||B,B,mn)),r in t||vn(t,r,o)}}(t,e.computed),e.watch&&e.watch!==tt&&function(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r1?$(e):e;for(var n=$(arguments,1),i='event handler for "'+t+'"',r=0,o=e.length;rparseInt(this.max)&&Sn(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return R}};Object.defineProperty(t,"config",e),t.util={warn:lt,extend:E,mergeOptions:Nt,defineReactive:St},t.set=Ot,t.delete=$t,t.nextTick=te,t.observable=function(t){return Tt(t),t},t.options=Object.create(null),D.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,E(t.options.components,$n),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=$(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Nt(this.options,t),this}}(t),function(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name,a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Nt(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)hn(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)vn(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,D.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=E({},a.options),r[i]=a,a}}(t),function(t){D.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(kn),Object.defineProperty(kn.prototype,"$isServer",{get:it}),Object.defineProperty(kn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(kn,"FunctionalRenderContext",{value:Be}),kn.version="2.6.7";var En=m("style,class"),An=m("input,textarea,option,select,progress"),Bn=function(t,e,n){return"value"===n&&An(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Pn=m("contenteditable,draggable,spellcheck"),Mn=m("events,caret,typing,plaintext-only"),In=function(t,e){return Fn(e)||"false"===e?"false":"contenteditable"===t&&Mn(e)?e:"true"},Nn=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),jn="http://www.w3.org/1999/xlink",Ln=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Dn=function(t){return Ln(t)?t.slice(6,t.length):""},Fn=function(t){return null==t||!1===t};function Rn(t,e){return{staticClass:Hn(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Hn(t,e){return t?e?t+" "+e:t:e||""}function Vn(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,r=t.length;i-1?pi(t,e,n):Nn(e)?Fn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Pn(e)?t.setAttribute(e,In(e,n)):Ln(e)?Fn(n)?t.removeAttributeNS(jn,Dn(e)):t.setAttributeNS(jn,e,n):pi(t,e,n)}function pi(t,e,n){if(Fn(n))t.removeAttribute(e);else{if(Y&&!X&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var hi={create:di,update:di};function mi(t,e){var n=e.elm,i=e.data,a=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=function(t){for(var e=t.data,n=t,i=t;o(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=Rn(i.data,e));for(;o(n=n.parent);)n&&n.data&&(e=Rn(e,n.data));return function(t,e){return o(t)||o(e)?Hn(t,Vn(e)):""}(e.staticClass,e.class)}(e),l=n._transitionClasses;o(l)&&(s=Hn(s,Vn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var vi,gi,bi,yi,wi,_i,ki={create:mi,update:mi},Ci=/[\w).+\-_$\]]/;function xi(t){var e,n,i,r,o,a=!1,s=!1,l=!1,u=!1,c=0,d=0,f=0,p=0;for(i=0;i=0&&" "===(m=t.charAt(h));h--);m&&Ci.test(m)||(u=!0)}}else void 0===r?(p=i+1,r=t.slice(0,i).trim()):v();function v(){(o||(o=[])).push(t.slice(p,i).trim()),p=i+1}if(void 0===r?r=t.slice(0,i).trim():0!==p&&v(),o)for(i=0;i-1?{exp:t.slice(0,yi),key:'"'+t.slice(yi+1)+'"'}:{exp:t,key:null};for(gi=t,yi=wi=_i=0;!Hi();)Vi(bi=Ri())?zi(bi):91===bi&&Ui(bi);return{exp:t.slice(0,wi),key:t.slice(wi+1,_i)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Ri(){return gi.charCodeAt(++yi)}function Hi(){return yi>=vi}function Vi(t){return 34===t||39===t}function Ui(t){var e=1;for(wi=yi;!Hi();)if(Vi(t=Ri()))zi(t);else if(91===t&&e++,93===t&&e--,0===e){_i=yi;break}}function zi(t){for(var e=t;!Hi()&&(t=Ri())!==e;);}var Wi,Gi="__r",qi="__c";function Ki(t,e,n){var i=Wi;return function r(){null!==e.apply(null,arguments)&&Ji(t,r,n,i)}}var Yi=Gt&&!(Z&&Number(Z[1])<=53);function Xi(t,e,n,i){if(Yi){var r=ln,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||0===t.timeStamp||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Wi.addEventListener(t,e,et?{capture:n,passive:i}:n)}function Ji(t,e,n,i){(i||Wi).removeEventListener(t,e._wrapper||e,n)}function Qi(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Wi=e.elm,function(t){if(o(t[Gi])){var e=Y?"change":"input";t[e]=[].concat(t[Gi],t[e]||[]),delete t[Gi]}o(t[qi])&&(t.change=[].concat(t[qi],t.change||[]),delete t[qi])}(n),oe(n,i,Xi,Ji,Ki,e.context),Wi=void 0}}var Zi,tr={create:Qi,update:Qi};function er(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in o(l.__ob__)&&(l=e.data.domProps=E({},l)),s)r(l[n])&&(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var u=r(i)?"":String(i);nr(a,u)&&(a.value=u)}else if("innerHTML"===n&&Wn(a.tagName)&&r(a.innerHTML)){(Zi=Zi||document.createElement("div")).innerHTML=""+i+"";for(var c=Zi.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;c.firstChild;)a.appendChild(c.firstChild)}else if(i!==s[n])try{a[n]=i}catch(t){}}}}function nr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(o(i)){if(i.number)return h(n)!==h(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var ir={create:er,update:er},rr=_(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e});function or(t){var e=ar(t.style);return t.staticStyle?E(t.staticStyle,e):e}function ar(t){return Array.isArray(t)?A(t):"string"==typeof t?rr(t):t}var sr,lr=/^--/,ur=/\s*!important$/,cr=function(t,e,n){if(lr.test(e))t.style.setProperty(e,n);else if(ur.test(n))t.style.setProperty(S(e),n.replace(ur,""),"important");else{var i=fr(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split(mr).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function gr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(mr).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function br(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&E(e,yr(t.name||"v")),E(e,t),e}return"string"==typeof t?yr(t):void 0}}var yr=_(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),wr=W&&!X,_r="transition",kr="animation",Cr="transition",xr="transitionend",Tr="animation",Sr="animationend";wr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Cr="WebkitTransition",xr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Tr="WebkitAnimation",Sr="webkitAnimationEnd"));var Or=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function $r(t){Or(function(){Or(t)})}function Er(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),vr(t,e))}function Ar(t,e){t._transitionClasses&&b(t._transitionClasses,e),gr(t,e)}function Br(t,e,n){var i=Mr(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===_r?xr:Sr,l=0,u=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++l>=a&&u()};setTimeout(function(){l0&&(n=_r,c=a,d=o.length):e===kr?u>0&&(n=kr,c=u,d=l.length):d=(n=(c=Math.max(a,u))>0?a>u?_r:kr:null)?n===_r?o.length:l.length:0,{type:n,timeout:c,propCount:d,hasTransform:n===_r&&Pr.test(i[Cr+"Property"])}}function Ir(t,e){for(;t.length1}function Rr(t,e){!0!==e.data.show&&jr(e)}var Hr=function(t){var e,n,i={},l=t.modules,u=t.nodeOps;for(e=0;eh?y(t,r(n[g+1])?null:n[g+1].elm,n,p,g,i):p>g&&_(0,e,f,h)}(f,m,g,n,c):o(g)?(o(t.text)&&u.setTextContent(f,""),y(f,null,g,0,g.length-1,n)):o(m)?_(0,m,0,m.length-1):o(t.text)&&u.setTextContent(f,""):t.text!==e.text&&u.setTextContent(f,e.text),o(h)&&o(p=h.hook)&&o(p=p.postpatch)&&p(t,e)}}}function T(t,e,n){if(a(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,a.selected!==o&&(a.selected=o);else if(I(Gr(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function Wr(t,e){return e.every(function(e){return!I(e,t)})}function Gr(t){return"_value"in t?t._value:t.value}function qr(t){t.target.composing=!0}function Kr(t){t.target.composing&&(t.target.composing=!1,Yr(t.target,"input"))}function Yr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Xr(t){return!t.componentInstance||t.data&&t.data.transition?t:Xr(t.componentInstance._vnode)}var Jr={model:Vr,show:{bind:function(t,e,n){var i=e.value,r=(n=Xr(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,jr(n,function(){t.style.display=o})):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=Xr(n)).data&&n.data.transition?(n.data.show=!0,i?jr(n,function(){t.style.display=t.__vOriginalDisplay}):Lr(n,function(){t.style.display="none"})):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}}},Qr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Zr(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Zr(We(e.children)):t}function to(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[C(o)]=r[o];return e}function eo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var no=function(t){return t.tag||ze(t)},io=function(t){return"show"===t.name},ro={name:"transition",props:Qr,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(no)).length){var i=this.mode,r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=Zr(r);if(!o)return r;if(this._leaving)return eo(t,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=to(this),u=this._vnode,c=Zr(u);if(o.data.directives&&o.data.directives.some(io)&&(o.data.show=!0),c&&c.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,c)&&!ze(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var d=c.data.transition=E({},l);if("out-in"===i)return this._leaving=!0,ae(d,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),eo(t,r);if("in-out"===i){if(ze(o))return u;var f,p=function(){f()};ae(l,"afterEnter",p),ae(l,"enterCancelled",p),ae(d,"delayLeave",function(t){f=t})}}return r}}},oo=E({tag:String,moveClass:String},Qr);function ao(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function so(t){t.data.newPos=t.elm.getBoundingClientRect()}function lo(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete oo.mode;var uo={Transition:ro,TransitionGroup:{props:oo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Je(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=to(this),s=0;s-1?Kn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Kn[t]=/HTMLUnknownElement/.test(e.toString())},E(kn.options.directives,Jr),E(kn.options.components,uo),kn.prototype.__patch__=W?Hr:B,kn.prototype.$mount=function(t,e){return function(t,e,n){var i;return t.$el=e,t.$options.render||(t.$options.render=vt),tn(t,"beforeMount"),i=function(){t._update(t._render(),n)},new fn(t,i,B,{before:function(){t._isMounted&&!t._isDestroyed&&tn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,tn(t,"mounted")),t}(this,t=t&&W?Xn(t):void 0,e)},W&&setTimeout(function(){R.devtools&&rt&&rt.emit("init",kn)},0);var co,fo=/\{\{((?:.|\r?\n)+?)\}\}/g,po=/[-.*+?^${}()|[\]\/\\]/g,ho=_(function(t){var e=t[0].replace(po,"\\$&"),n=t[1].replace(po,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}),mo={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=Ni(t,"class");n&&(t.staticClass=JSON.stringify(n));var i=Ii(t,"class",!1);i&&(t.classBinding=i)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}},vo={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=Ni(t,"style");n&&(t.staticStyle=JSON.stringify(rr(n)));var i=Ii(t,"style",!1);i&&(t.styleBinding=i)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},go=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),bo=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),yo=m("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),wo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_o=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ko="[a-zA-Z_][\\-\\.0-9_a-zA-Za-zA-Z·À-ÖØ-öø-ͽͿ-῿‌-‍‿-⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�]*",Co="((?:"+ko+"\\:)?"+ko+")",xo=new RegExp("^<"+Co),To=/^\s*(\/?)>/,So=new RegExp("^<\\/"+Co+"[^>]*>"),Oo=/^]+>/i,$o=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Mo=/&(?:lt|gt|quot|amp|#39);/g,Io=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,No=m("pre,textarea",!0),jo=function(t,e){return t&&No(t)&&"\n"===e[0]};function Lo(t,e){var n=e?Io:Mo;return t.replace(n,function(t){return Po[t]})}var Do,Fo,Ro,Ho,Vo,Uo,zo,Wo,Go=/^@|^v-on:/,qo=/^v-|^@|^:/,Ko=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Yo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Xo=/^\(|\)$/g,Jo=/^\[.*\]$/,Qo=/:(.*)$/,Zo=/^:|^\.|^v-bind:/,ta=/\.[^.]+/g,ea=/^v-slot(:|$)|^#/,na=/[\r\n]/,ia=/\s+/g,ra=_(function(t){return(co=co||document.createElement("div")).innerHTML=t,co.textContent}),oa="_empty_";function aa(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:fa(e),rawAttrsMap:{},parent:n,children:[]}}function sa(t,e){var n,i;(i=Ii(n=t,"key"))&&(n.key=i),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=Ii(t,"ref");e&&(t.ref=e,t.refInFor=function(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=Ni(t,"scope"),t.slotScope=e||Ni(t,"slot-scope")):(e=Ni(t,"slot-scope"))&&(t.slotScope=e);var n=Ii(t,"slot");if(n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||Ei(t,"slot",n,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot"))),"template"===t.tag){var i=ji(t,ea);if(i){var r=ca(i),o=r.name,a=r.dynamic;t.slotTarget=o,t.slotTargetDynamic=a,t.slotScope=i.value||oa}}else{var s=ji(t,ea);if(s){var l=t.scopedSlots||(t.scopedSlots={}),u=ca(s),c=u.name,d=u.dynamic,f=l[c]=aa("template",[],t);f.slotTarget=c,f.slotTargetDynamic=d,f.children=t.children.filter(function(t){if(!t.slotScope)return t.parent=f,!0}),f.slotScope=s.value||oa,t.children=[],t.plain=!1}}}(t),function(t){"slot"===t.tag&&(t.slotName=Ii(t,"name"))}(t),function(t){var e;(e=Ii(t,"is"))&&(t.component=e),null!=Ni(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var r=0;r-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),Mi(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Fi(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Fi(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Fi(e,"$$c")+"}",null,!0)}(t,i,r);else if("input"===o&&"radio"===a)!function(t,e,n){var i=n&&n.number,r=Ii(t,"value")||"null";$i(t,"checked","_q("+e+","+(r=i?"_n("+r+")":r)+")"),Mi(t,"change",Fi(e,r),null,!0)}(t,i,r);else if("input"===o||"textarea"===o)!function(t,e,n){var i=t.attrsMap.type,r=n||{},o=r.lazy,a=r.number,s=r.trim,l=!o&&"range"!==i,u=o?"change":"range"===i?Gi:"input",c="$event.target.value";s&&(c="$event.target.value.trim()"),a&&(c="_n("+c+")");var d=Fi(e,c);l&&(d="if($event.target.composing)return;"+d),$i(t,"value","("+e+")"),Mi(t,u,d,null,!0),(s||a)&&Mi(t,"blur","$forceUpdate()")}(t,i,r);else if(!R.isReservedTag(o))return Di(t,i,r),!1;return!0},text:function(t,e){e.value&&$i(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&$i(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:go,mustUseProp:Bn,canBeLeftOpenTag:bo,isReservedTag:Gn,getTagNamespace:qn,staticKeys:ba.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")},wa=_(function(t){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))});var _a=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,ka=/\([^)]*?\);*$/,Ca=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,xa={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ta={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Sa=function(t){return"if("+t+")return null;"},Oa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Sa("$event.target !== $event.currentTarget"),ctrl:Sa("!$event.ctrlKey"),shift:Sa("!$event.shiftKey"),alt:Sa("!$event.altKey"),meta:Sa("!$event.metaKey"),left:Sa("'button' in $event && $event.button !== 0"),middle:Sa("'button' in $event && $event.button !== 1"),right:Sa("'button' in $event && $event.button !== 2")};function $a(t,e){var n=e?"nativeOn:":"on:",i="",r="";for(var o in t){var a=Ea(t[o]);t[o]&&t[o].dynamic?r+=o+","+a+",":i+='"'+o+'":'+a+","}return i="{"+i.slice(0,-1)+"}",r?n+"_d("+i+",["+r.slice(0,-1)+"])":n+i}function Ea(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return Ea(t)}).join(",")+"]";var e=Ca.test(t.value),n=_a.test(t.value),i=Ca.test(t.value.replace(ka,""));if(t.modifiers){var r="",o="",a=[];for(var s in t.modifiers)if(Oa[s])o+=Oa[s],xa[s]&&a.push(s);else if("exact"===s){var l=t.modifiers;o+=Sa(["ctrl","shift","alt","meta"].filter(function(t){return!l[t]}).map(function(t){return"$event."+t+"Key"}).join("||"))}else a.push(s);return a.length&&(r+="if(!$event.type.indexOf('key')&&"+a.map(Aa).join("&&")+")return null;"),o&&(r+=o),"function($event){"+r+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":i?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(i?"return "+t.value:t.value)+"}"}function Aa(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=xa[t],i=Ta[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}var Ba={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:B},Pa=function(t){this.options=t,this.warn=t.warn||Si,this.transforms=Oi(t.modules,"transformCode"),this.dataGenFns=Oi(t.modules,"genData"),this.directives=E(E({},Ba),t.directives);var e=t.isReservedTag||P;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ma(t,e){var n=new Pa(e);return{render:"with(this){return "+(t?Ia(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ia(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Na(t,e);if(t.once&&!t.onceProcessed)return ja(t,e);if(t.for&&!t.forProcessed)return Da(t,e);if(t.if&&!t.ifProcessed)return La(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',i=Va(t,e),r="_t("+n+(i?","+i:""),o=t.attrs||t.dynamicAttrs?Wa((t.attrs||[]).concat(t.dynamicAttrs||[]).map(function(t){return{name:C(t.name),value:t.value,dynamic:t.dynamic}})):null,a=t.attrsMap["v-bind"];return!o&&!a||i||(r+=",null"),o&&(r+=","+o),a&&(r+=(o?"":",null")+","+a),r+")"}(t,e);var n;if(t.component)n=function(t,e,n){var i=e.inlineTemplate?null:Va(e,n,!0);return"_c("+t+","+Fa(e,n)+(i?","+i:"")+")"}(t.component,t,e);else{var i;(!t.plain||t.pre&&e.maybeComponent(t))&&(i=Fa(t,e));var r=t.inlineTemplate?null:Va(t,e,!0);n="_c('"+t.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var o=0;o>>0}(a):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=function(t,e){var n=t.children[0];if(n&&1===n.type){var i=Ma(n,e.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+Wa(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Ra(t){return 1===t.type&&("slot"===t.tag||t.children.some(Ra))}function Ha(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return La(t,e,Ha,"null");if(t.for&&!t.forProcessed)return Da(t,e,Ha);var i=t.slotScope===oa?"":String(t.slotScope),r="function("+i+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Va(t,e)||"undefined")+":undefined":Va(t,e)||"undefined":Ia(t,e))+"}",o=i?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+r+o+"}"}function Va(t,e,n,i,r){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return""+(i||Ia)(a,e)+s}var l=n?function(t,e){for(var n=0,i=0;i]*>)","i")),f=t.replace(d,function(t,n,i){return u=i.length,Ao(c)||"noscript"===c||(n=n.replace(//g,"$1").replace(//g,"$1")),jo(c,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-f.length,t=f,S(c,l-u,l)}else{var p=t.indexOf("<");if(0===p){if($o.test(t)){var h=t.indexOf("--\x3e");if(h>=0){e.shouldKeepComment&&e.comment(t.substring(4,h),l,l+h+3),C(h+3);continue}}if(Eo.test(t)){var m=t.indexOf("]>");if(m>=0){C(m+2);continue}}var v=t.match(Oo);if(v){C(v[0].length);continue}var g=t.match(So);if(g){var b=l;C(g[0].length),S(g[1],b,l);continue}var y=x();if(y){T(y),jo(y.tagName,t)&&C(1);continue}}var w=void 0,_=void 0,k=void 0;if(p>=0){for(_=t.slice(p);!(So.test(_)||xo.test(_)||$o.test(_)||Eo.test(_)||(k=_.indexOf("<",1))<0);)p+=k,_=t.slice(p);w=t.substring(0,p)}p<0&&(w=t),w&&C(w.length),e.chars&&w&&e.chars(w,l-w.length,l)}if(t===n){e.chars&&e.chars(t);break}}function C(e){l+=e,t=t.substring(e)}function x(){var e=t.match(xo);if(e){var n,i,r={tagName:e[1],attrs:[],start:l};for(C(e[0].length);!(n=t.match(To))&&(i=t.match(_o)||t.match(wo));)i.start=l,C(i[0].length),i.end=l,r.attrs.push(i);if(n)return r.unarySlash=n[1],C(n[0].length),r.end=l,r}}function T(t){var n=t.tagName,l=t.unarySlash;o&&("p"===i&&yo(n)&&S(i),s(n)&&i===n&&S(n));for(var u=a(n)||!!l,c=t.attrs.length,d=new Array(c),f=0;f=0&&r[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=r.length-1;u>=a;u--)e.end&&e.end(r[u].tag,n,o);r.length=a,i=a&&r[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}S()}(t,{warn:Do,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,o,a,c){var d=i&&i.ns||Wo(t);Y&&"svg"===d&&(o=function(t){for(var e=[],n=0;nl&&(s.push(o=t.slice(l,r)),a.push(JSON.stringify(o)));var u=xi(i[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),l=r+i[0].length}return l':'
',Xa.innerHTML.indexOf(" ")>0}var ts=!!W&&Za(!1),es=!!W&&Za(!0),ns=_(function(t){var e=Xn(t);return e&&e.innerHTML}),is=kn.prototype.$mount;kn.prototype.$mount=function(t,e){if((t=t&&Xn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=ns(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(i){var r=Qa(i,{outputSourceRange:!1,shouldDecodeNewlines:ts,shouldDecodeNewlinesForHref:es,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return is.call(this,t,e)},kn.compile=Qa,t.exports=kn}).call(this,n("yLpj"),n("URgk").setImmediate)},IR27:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r=n("nJdW"),o=n("TkDH");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 s=(0,o.propsFactory)();delete s.href.default,delete s.to.default;var l=function(t){for(var e=1;e=n&&s.bottom>=i&&s.left<=a&&s.top<=o&&(this.isShown=!0,this.setListeners(!1))}},onScroll:function(){this.isShown?this.setListeners(!1):(clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(this.checkView,parseInt(this.throttle,10)||100))}},render:function(t){return t("b-img",{props:{src:this.computedSrc,alt:this.alt,blank:this.computedBlank,blankColor:this.blankColor,width:this.computedWidth,height:this.computedHeight,fluid:this.fluid,fluidGrow:this.fluidGrow,block:this.block,thumbnail:this.thumbnail,rounded:this.rounded,left:this.left,right:this.right,center:this.center}})}};e.default=a},LDig:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("6uA0"),r=n("Xwe6"),o=n("QftK"),a=n("bhsD"),s=n("T+Gv"),l=n("ls0u"),u={name:"BFormRadio",mixins:[i.default,s.default,r.default,a.default,o.default],inject:{bvGroup:{from:"bvRadioGroup",default:function(){return this}}},props:{checked:{type:[String,Object,Number,Boolean],default:null}},computed:{is_Checked:function(){return(0,l.default)(this.value,this.computedLocalChecked)},is_Radio:function(){return!0},is_Check:function(){return!1}},watch:{computedLocalChecked:function(t,e){this.$emit("input",this.computedLocalChecked)}},methods:{handleChange:function(t){var e=t.target.checked,n=this.value;this.computedLocalChecked=n,this.$emit("change",e?n:null),this.is_Group&&this.bvGroup.$emit("change",e?n:null)}}};e.default=u},LY3G:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){for(var n=0;n0?"in "+r:r+" ago":r}}}},LghJ:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49");var r={vertical:{type:Boolean,default:!1},size:{type:String,default:null},tag:{type:String,default:"div"},ariaRole:{type:String,default:"group"}};e.props=r;var o={name:"BButtonGroup",functional:!0,props:r,render:function(t,e){var n,r,o,a=e.props,s=e.data,l=e.children;return t(a.tag,(0,i.mergeData)(s,{class:(n={"btn-group":!a.vertical,"btn-group-vertical":a.vertical},r="btn-group-".concat(a.size),o=Boolean(a.size),r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n),attrs:{role:a.ariaRole}}),l)}};e.default=o},LlA7:function(t,e,n){"use strict";e.__esModule=!0,e.default=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]})}},Lu7p:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("kbax"),r=n("Co2t"),o={bTooltip:i.default},a={install:function(t){(0,r.registerDirectives)(t,o)}};e.default=a},MJjK:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t){return t.replace(/_/g," ").replace(/([a-z])([A-Z])/g,function(t,e,n){return e+" "+n}).replace(/(\s|^)(\w)/g,function(t,e,n){return e+n.toUpperCase()})}},MRBb:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("LDig"),r=n("Z5uW"),o=n("Co2t"),a={BFormRadio:i.default,BRadio:i.default,BFormRadioGroup:r.default,BRadioGroup:r.default},s={install:function(t){(0,o.registerComponents)(t,a)}};e.default=s},MrZN:function(t,e,n){"use strict";n.r(e);function i(t){return(i="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 r={data:function(){return{clients:[],createForm:{errors:[],name:"",redirect:""},editForm:{errors:[],name:"",redirect:""}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getClients(),$("#modal-create-client").on("shown.bs.modal",function(){$("#create-client-name").focus()}),$("#modal-edit-client").on("shown.bs.modal",function(){$("#edit-client-name").focus()})},getClients:function(){var t=this;axios.get("/oauth/clients").then(function(e){t.clients=e.data})},showCreateClientForm:function(){$("#modal-create-client").modal("show")},store:function(){this.persistClient("post","/oauth/clients",this.createForm,"#modal-create-client")},edit:function(t){this.editForm.id=t.id,this.editForm.name=t.name,this.editForm.redirect=t.redirect,$("#modal-edit-client").modal("show")},update:function(){this.persistClient("put","/oauth/clients/"+this.editForm.id,this.editForm,"#modal-edit-client")},persistClient:function(t,e,n,r){var o=this;n.errors=[],axios[t](e,n).then(function(t){o.getClients(),n.name="",n.redirect="",n.errors=[],$(r).modal("hide")}).catch(function(t){"object"===i(t.response.data)?n.errors=_.flatten(_.toArray(t.response.data.errors)):n.errors=["Something went wrong. Please try again."]})},destroy:function(t){var e=this;axios.delete("/oauth/clients/"+t.id).then(function(t){e.getClients()})}}},o=(n("AIiG"),n("KHd+")),a=Object(o.a)(r,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"card card-default mb-4"},[n("div",{staticClass:"card-header font-weight-bold bg-white"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("span",[t._v("\n OAuth Clients\n ")]),t._v(" "),n("a",{staticClass:"action-link",attrs:{tabindex:"-1"},on:{click:t.showCreateClientForm}},[t._v("\n Create New Client\n ")])])]),t._v(" "),n("div",{staticClass:"card-body"},[0===t.clients.length?n("p",{staticClass:"mb-0 font-weight-bold text-center lead p-5"},[t._v("\n You have not created any OAuth clients.\n ")]):t._e(),t._v(" "),t.clients.length>0?n("table",{staticClass:"table table-borderless mb-0"},[t._m(0),t._v(" "),n("tbody",t._l(t.clients,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.id)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("code",[t._v(t._s(e.secret))])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"btn btn-outline-secondary btn-sm py-1",attrs:{tabindex:"-1"},on:{click:function(n){return t.edit(e)}}},[t._v("\n Edit\n ")])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"btn btn-outline-danger btn-sm py-1",attrs:{href:""},on:{click:function(n){return t.destroy(e)}}},[t._v("\n Delete\n ")])])])}),0)]):t._e()])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.createForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.createForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}),0)]):t._e(),t._v(" "),n("form",{attrs:{role:"form"}},[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.name,expression:"createForm.name"}],staticClass:"form-control",attrs:{id:"create-client-name",type:"text",autocomplete:"off"},domProps:{value:t.createForm.name},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.store(e)},input:function(e){e.target.composing||t.$set(t.createForm,"name",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),t._m(3),t._v(" "),t._m(4),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.redirect,expression:"createForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect"},domProps:{value:t.createForm.redirect},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.store(e)},input:function(e){e.target.composing||t.$set(t.createForm,"redirect",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Your application's authorization callback URL.\n ")])])]),t._v(" "),t._m(5)])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary font-weight-bold",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-edit-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(6),t._v(" "),n("div",{staticClass:"modal-body"},[t.editForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(7),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.editForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}),0)]):t._e(),t._v(" "),n("form",{attrs:{role:"form"}},[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.name,expression:"editForm.name"}],staticClass:"form-control",attrs:{id:"edit-client-name",type:"text"},domProps:{value:t.editForm.name},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.update(e)},input:function(e){e.target.composing||t.$set(t.editForm,"name",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.redirect,expression:"editForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect"},domProps:{value:t.editForm.redirect},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.update(e)},input:function(e){e.target.composing||t.$set(t.editForm,"redirect",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.update}},[t._v("\n Save Changes\n ")])])])])])])},[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Client ID")]),this._v(" "),e("th",[this._v("Name")]),this._v(" "),e("th",[this._v("Secret")]),this._v(" "),e("th"),this._v(" "),e("th")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h4",{staticClass:"modal-title"},[this._v("\n Create Client\n ")]),this._v(" "),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group row"},[e("label",{staticClass:"col-md-3 col-form-label"},[this._v("Description")]),this._v(" "),e("div",{staticClass:"col-md-9"},[e("textarea",{staticClass:"form-control",attrs:{rows:"3"}}),this._v(" "),e("span",{staticClass:"form-text text-muted"},[this._v("\n A brief description of your app\n ")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group row"},[e("label",{staticClass:"col-md-3 col-form-label"},[this._v("Website")]),this._v(" "),e("div",{staticClass:"col-md-9"},[e("input",{staticClass:"form-control",attrs:{type:"text",autocomplete:"off"}}),this._v(" "),e("span",{staticClass:"form-text text-muted"},[this._v("\n Your website url\n ")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Scopes")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("div",{staticClass:"custom-control custom-switch"},[n("input",{staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch1"}}),t._v(" "),n("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch1"}},[t._v("Read")])]),t._v(" "),n("div",{staticClass:"custom-control custom-switch"},[n("input",{staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch2"}}),t._v(" "),n("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch2"}},[t._v("Write")])]),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Your application's scopes.\n ")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h4",{staticClass:"modal-title"},[this._v("\n Edit Client\n ")]),this._v(" "),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])}],!1,null,"d71fe564",null);e.default=a.exports},Mrqh:function(t,e,n){"use strict";n.r(e);var i={props:["status"],data:function(){return{cursor:0}}},r=n("KHd+"),o=Object(r.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"},attrs:{id:t.status.id+"-carousel",controls:"",background:"#ffffff",interval:0},model:{value:t.cursor,callback:function(e){t.cursor=e},expression:"cursor"}},[t._l(t.status.media_attachments,function(e,i){return n("b-carousel-slide",{key:e.id},[n("div",{class:e.filter_class+" d-block mx-auto text-center",staticStyle:{"max-height":"600px"},attrs:{slot:"img"},on:{click:function(n){return t.$emit("lightbox",e)}},slot:"img"},[n("img",{staticClass:"img-fluid",staticStyle:{"max-height":"600px"},attrs:{src:e.url,alt:e.description,title:e.description}})])])}),t._v(" "),n("span",{staticClass:"badge badge-dark box-shadow",staticStyle:{position:"absolute",top:"10px",right:"10px"}},[t._v("\n\t\t\t\t"+t._s(t.cursor+1)+" / "+t._s(t.status.media_attachments.length)+"\n\t\t\t")])],2)],1)]):n("div",[n("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{id:t.status.id+"-carousel",controls:"",background:"#ffffff",interval:0},model:{value:t.cursor,callback:function(e){t.cursor=e},expression:"cursor"}},[t._l(t.status.media_attachments,function(e,i){return n("b-carousel-slide",{key:e.id},[n("div",{class:e.filter_class+" d-block mx-auto text-center",staticStyle:{"max-height":"600px"},attrs:{slot:"img"},on:{click:function(n){return t.$emit("lightbox",e)}},slot:"img"},[n("img",{staticClass:"img-fluid",staticStyle:{"max-height":"600px"},attrs:{src:e.url,alt:e.description,title:e.description}})])])}),t._v(" "),n("span",{staticClass:"badge badge-dark box-shadow",staticStyle:{position:"absolute",top:"10px",right:"10px"}},[t._v("\n\t\t\t"+t._s(t.cursor+1)+" / "+t._s(t.status.media_attachments.length)+"\n\t\t")])],2)],1)},[],!1,null,null,null);e.default=o.exports},MuxR:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("zDe6"),r=n("Co2t"),o={BEmbed:i.default},a={install:function(t){(0,r.registerComponents)(t,o)}};e.default=a},N3zd:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i={props:{plain:{type:Boolean,default:!1}},computed:{custom:function(){return!this.plain}}};e.default=i},NmtT:function(t,e,n){var i=n("yHON"),r=n("yNUO"),o=n("4Toj"),a=n("F809"),s=n("Us+F"),l=1440,u=2520,c=43200,d=86400;t.exports=function(t,e,n){var f=n||{},p=i(t,e),h=f.locale,m=s.distanceInWords.localize;h&&h.distanceInWords&&h.distanceInWords.localize&&(m=h.distanceInWords.localize);var v,g,b={addSuffix:Boolean(f.addSuffix),comparison:p};p>0?(v=r(t),g=r(e)):(v=r(e),g=r(t));var y,w=o(g,v),_=g.getTimezoneOffset()-v.getTimezoneOffset(),k=Math.round(w/60)-_;if(k<2)return f.includeSeconds?w<5?m("lessThanXSeconds",5,b):w<10?m("lessThanXSeconds",10,b):w<20?m("lessThanXSeconds",20,b):w<40?m("halfAMinute",null,b):m(w<60?"lessThanXMinutes":"xMinutes",1,b):0===k?m("lessThanXMinutes",1,b):m("xMinutes",k,b);if(k<45)return m("xMinutes",k,b);if(k<90)return m("aboutXHours",1,b);if(k=k()},modalListener:function(t){this.noStacking&&t.vueTarget!==this&&this.hide()},focusFirst:function(){if("undefined"!=typeof document){var t=this.$refs.modal,e=document.activeElement;e&&(0,f.contains)(t,e)||t&&this.$nextTick(function(){t.scrollTop=0,t.focus()})}},returnFocusTo:function(){var t=this.returnFocus||this.return_focus||null;"string"==typeof t&&(t=(0,f.select)(t)),t&&(t=t.$el||t,(0,f.isVisible)(t)&&t.focus())},getScrollbarWidth:function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t),this.scrollbarWidth=(0,f.getBCR)(t).width-t.clientWidth,document.body.removeChild(t)},setModalOpenClass:function(t){t?(0,f.addClass)(document.body,"modal-open"):(0,f.removeClass)(document.body,"modal-open")},adjustDialog:function(){if(this.is_visible){var t=this.$refs.modal,e=t.scrollHeight>document.documentElement.clientHeight;!this.isBodyOverflowing&&e?t.style.paddingLeft="".concat(this.scrollbarWidth,"px"):t.style.paddingLeft="",this.isBodyOverflowing&&!e?t.style.paddingRight="".concat(this.scrollbarWidth,"px"):t.style.paddingRight=""}},resetDialogAdjustments:function(){var t=this.$refs.modal;t&&(t.style.paddingLeft="",t.style.paddingRight="")},checkScrollbar:function(){var t=(0,f.getBCR)(document.body),e=t.left,n=t.right,i=t.height;this.isBodyOverflowing=e+nwindow.innerHeight},setScrollbar:function(){if(this.isBodyOverflowing){var t=document.body,e=this.scrollbarWidth;t._paddingChangedForModal=[],t._marginChangedForModal=[],(0,f.selectAll)(h).forEach(function(n){var i=n.style.paddingRight,r=(0,f.getCS)(n).paddingRight||0;(0,f.setAttr)(n,"data-padding-right",i),n.style.paddingRight="".concat(parseFloat(r)+e,"px"),t._paddingChangedForModal.push(n)}),(0,f.selectAll)(m).forEach(function(n){var i=n.style.marginRight,r=(0,f.getCS)(n).marginRight||0;(0,f.setAttr)(n,"data-margin-right",i),n.style.marginRight="".concat(parseFloat(r)-e,"px"),t._marginChangedForModal.push(n)}),(0,f.selectAll)(v).forEach(function(n){var i=n.style.marginRight,r=(0,f.getCS)(n).marginRight||0;(0,f.setAttr)(n,"data-margin-right",i),n.style.marginRight="".concat(parseFloat(r)+e,"px"),t._marginChangedForModal.push(n)});var n=t.style.paddingRight,i=(0,f.getCS)(t).paddingRight;(0,f.setAttr)(t,"data-padding-right",n),t.style.paddingRight="".concat(parseFloat(i)+e,"px")}},resetScrollbar:function(){var t=document.body;t._paddingChangedForModal&&t._paddingChangedForModal.forEach(function(t){(0,f.hasAttr)(t,"data-padding-right")&&(t.style.paddingRight=(0,f.getAttr)(t,"data-padding-right")||"",(0,f.removeAttr)(t,"data-padding-right"))}),t._marginChangedForModal&&t._marginChangedForModal.forEach(function(t){(0,f.hasAttr)(t,"data-margin-right")&&(t.style.marginRight=(0,f.getAttr)(t,"data-margin-right")||"",(0,f.removeAttr)(t,"data-margin-right"))}),t._paddingChangedForModal=null,t._marginChangedForModal=null,(0,f.hasAttr)(t,"data-padding-right")&&(t.style.paddingRight=(0,f.getAttr)(t,"data-padding-right")||"",(0,f.removeAttr)(t,"data-padding-right"))}},render:function(t){var e=this,n=this.$slots,i=t(!1);if(!this.hideHeader){var r=n["modal-header"];if(!r){var o=t(!1);this.hideHeaderClose||(o=t("b-button-close",{props:{disabled:this.is_transitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerTextVariant},on:{click:function(t){e.hide("headerclose")}}},[n["modal-header-close"]])),r=[t(this.titleTag,{class:["modal-title"]},[n["modal-title"]||this.titleHtml||(0,d.stripTags)(this.title)]),o]}i=t("header",{ref:"header",staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.safeId("__BV_modal_header_")}},[r])}var a=t("div",{ref:"body",staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.safeId("__BV_modal_body_")}},[n.default]),s=t(!1);if(!this.hideFooter){var l=n["modal-footer"];if(!l){var u=t(!1);this.okOnly||(u=t("b-button",{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.is_transitioning},on:{click:function(t){e.hide("cancel")}}},[n["modal-cancel"]||this.cancelTitleHtml||(0,d.stripTags)(this.cancelTitle)])),l=[u,t("b-button",{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.is_transitioning},on:{click:function(t){e.hide("ok")}}},[n["modal-ok"]||this.okTitleHtml||(0,d.stripTags)(this.okTitle)])]}s=t("footer",{ref:"footer",staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.safeId("__BV_modal_footer_")}},[l])}var c=t("div",{ref:"content",class:this.contentClasses,attrs:{role:"document",id:this.safeId("__BV_modal_content_"),"aria-labelledby":this.hideHeader?null:this.safeId("__BV_modal_header_"),"aria-describedby":this.safeId("__BV_modal_body_")}},[i,a,s]),f=t("div",{staticClass:"modal-dialog",class:this.dialogClasses},[c]),p=t("div",{ref:"modal",staticClass:"modal",class:this.modalClasses,directives:[{name:"show",rawName:"v-show",value:this.is_visible,expression:"is_visible"}],attrs:{id:this.safeId(),role:"dialog",tabindex:"-1","aria-hidden":this.is_visible?null:"true","aria-modal":this.is_visible?"true":null},on:{keydown:this.onEsc,click:this.onClickOut}},[f]);p=t("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{"before-enter":this.onBeforeEnter,enter:this.onEnter,"after-enter":this.onAfterEnter,"before-leave":this.onBeforeLeave,leave:this.onLeave,"after-leave":this.onAfterLeave}},[p]);var h=t(!1);this.hideBackdrop||!this.is_visible&&!this.is_transitioning||(h=t("div",{staticClass:"modal-backdrop",class:this.backdropClasses,attrs:{id:this.safeId("__BV_modal_backdrop_")}}));var m=t(!1);this.is_visible&&this.isTop&&!this.noEnforceFocus&&(m=t("div",{attrs:{tabindex:"0"}}));var v=t(!1);return this.is_hidden||(v=t("div",{key:"modal-outer",style:this.modalOuterStyle,attrs:{id:this.safeId("__BV_modal_outer_")}},[p,m,h])),t("div",{},[v])}};e.default=C},OzS9:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("TkDH"),r=n("Co2t"),o={BLink:i.default},a={install:function(t){(0,r.registerComponents)(t,o)}};e.default=a},Pva4:function(t,e){$(document).ready(function(){$(document).on("submit",".bookmark-form",function(t){t.preventDefault();var e=$(this).data("id");axios.post("/i/bookmark",{item:e})})})},QDSu:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={tag:{type:String,default:"div"}};e.props=r;var o={name:"BDropdownDivider",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data;return t(n.tag,(0,i.mergeData)(r,{staticClass:"dropdown-divider",attrs:{role:"separator"}}))}};e.default=o},QLus:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("TkDH"),r=n("BuT0"),o=n("v5yc"),a=n("6uA0");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 l={name:"BTabButtonHelper",props:{tab:{default:null,required:!0},id:{type:String,default:null},controls:{type:String,default:null},tabIndex:{type:Number,default:null},posInSet:{type:Number,default:null},setSize:{type:Number,default:null},noKeyNav:{type:Boolean,default:!1}},methods:{focus:function(){this.$refs&&this.$refs.link&&this.$refs.link.focus&&this.$refs.link.focus()},handleEvt:function(t){function e(){t.preventDefault(),t.stopPropagation()}if(!this.tab.disabled){var n=t.type,i=t.keyCode,o=t.shiftKey;"click"===n?(e(),this.$emit("click",t)):"keydown"!==n||this.noKeyNav||i!==r.default.SPACE?"keydown"!==n||this.noKeyNav||(i===r.default.UP||i===r.default.LEFT||i===r.default.HOME?(e(),o||i===r.default.HOME?this.$emit("first",t):this.$emit("prev",t)):i!==r.default.DOWN&&i!==r.default.RIGHT&&i!==r.default.END||(e(),o||i===r.default.END?this.$emit("last",t):this.$emit("next",t))):(e(),this.$emit("click",t))}}},render:function(t){var e=t(i.default,{ref:"link",staticClass:"nav-link",class:[{active:this.tab.localActive&&!this.tab.disabled,disabled:this.tab.disabled},this.tab.titleLinkClass],props:{href:this.tab.href,disabled:this.tab.disabled},attrs:{role:"tab",id:this.id,tabindex:this.tabIndex,"aria-selected":this.tab.localActive&&!this.tab.disabled?"true":"false","aria-setsize":this.setSize,"aria-posinset":this.posInSet,"aria-controls":this.controls},on:{click:this.handleEvt,keydown:this.handleEvt}},[this.tab.$slots.title||this.tab.title]);return t("li",{staticClass:"nav-item",class:[this.tab.titleItemClass],attrs:{role:"presentation"}},[e])}};function u(t){return!t.disabled}var c={name:"BTabs",mixins:[a.default],provide:function(){return{bTabs:this}},props:{tag:{type:String,default:"div"},card:{type:Boolean,default:!1},small:{type:Boolean,default:!1},pills:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},bottom:{type:Boolean,default:!1},end:{type:Boolean,default:!1},noFade:{type:Boolean,default:!1},noNavStyle:{type:Boolean,default:!1},noKeyNav:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},contentClass:{type:[String,Array,Object],default:null},navClass:{type:[String,Array,Object],default:null},navWrapperClass:{type:[String,Array,Object],default:null},value:{type:Number,default:null}},data:function(){return{currentTab:parseInt(this.value,10)||-1,tabs:[]}},computed:{fade:function(){return!this.noFade},navStyle:function(){return this.pills?"pills":"tabs"}},watch:{currentTab:function(t,e){var n=-1;this.tabs.forEach(function(e,i){t!==i||e.disabled?e.localActive=!1:(e.localActive=!0,n=i)}),this.$emit("input",n)},value:function(t,e){if(t!==e){t=parseInt(t,10),e=parseInt(e,10)||0;var n=this.tabs;n[t]&&!n[t].disabled?this.currentTab=t:t=t.length?e=t.indexOf(t.slice().reverse().find(u)):t[n]&&!t[n].disabled&&(e=n)}e<0&&(e=t.indexOf(t.find(u))),t.forEach(function(t,n){t.localActive=n===e&&!t.disabled}),this.tabs=t,this.currentTab=e},getButtonForTab:function(t){return(this.$refs.buttons||[]).find(function(e){return e.tab===t})},updateButton:function(t){var e=this.getButtonForTab(t);e&&e.$forceUpdate&&e.$forceUpdate()},activateTab:function(t){var e=!1;if(t){var n=this.tabs.indexOf(t);!t.disabled&&n>-1&&(e=!0,this.currentTab=n)}return this.$emit("input",this.currentTab),e},deactivateTab:function(t){return!!t&&this.activateTab(this.tabs.filter(function(e){return e!==t}).find(u))},focusButton:function(t){var e=this;this.$nextTick(function(){var n=e.getButtonForTab(t);n&&n.focus&&n.focus()})},emitTabClick:function(t,e){e&&e instanceof Event&&t&&t.$emit&&!t.disabled&&t.$emit("click",e)},clickTab:function(t,e){this.activateTab(t),this.emitTabClick(t,e)},firstTab:function(t){var e=this.tabs.find(u);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))},previousTab:function(t){var e=Math.max(this.currentTab,0),n=this.tabs.slice(0,e).reverse().find(u);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},nextTab:function(t){var e=Math.max(this.currentTab,-1),n=this.tabs.slice(e+1).find(u);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},lastTab:function(t){var e=this.tabs.slice().reverse().find(u);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))}},render:function(t){var e,n,i=this,r=this.tabs,o=r.find(function(t){return t.localActive&&!t.disabled}),a=r.find(function(t){return!t.disabled}),u=r.map(function(e,n){var s=e.controlledBy||i.safeId("_BV_tab_".concat(n+1,"_")),u=null;return i.noKeyNav||(u=-1,(o===e||!o&&a===e)&&(u=null)),t(l,{key:e._uid||s||n,ref:"buttons",refInFor:!0,props:{tab:e,id:s,controls:i.safeId("_BV_tab_container_"),tabIndex:u,setSize:r.length,posInSet:n+1,noKeyNav:i.noKeyNav},on:{click:function(t){i.clickTab(e,t)},first:i.firstTab,prev:i.previousTab,next:i.nextTab,last:i.lastTab}})}),c=t("ul",{class:["nav",(e={},s(e,"nav-".concat(this.navStyle),!this.noNavStyle),s(e,"card-header-".concat(this.navStyle),this.card&&!this.vertical),s(e,"card-header",this.card&&this.vertical),s(e,"h-100",this.card&&this.vertical),s(e,"flex-column",this.vertical),s(e,"border-bottom-0",this.vertical),s(e,"rounded-0",this.vertical),s(e,"small",this.small),e),this.navClass],attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")}},[u,this.$slots.tabs]);c=t("div",{class:[{"card-header":this.card&&!this.vertical&&!(this.end||this.bottom),"card-footer":this.card&&!this.vertical&&(this.end||this.bottom),"col-auto":this.vertical},this.navWrapperClass]},[c]),n=r&&r.length?t(!1):t("div",{key:"empty-tab",class:["tab-pane","active",{"card-body":this.card}]},this.$slots.empty);var d=t("div",{ref:"tabsContainer",staticClass:"tab-content",class:[{col:this.vertical},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")}},[this.$slots.default,n]);return t(this.tag,{staticClass:"tabs",class:{row:this.vertical,"no-gutters":this.vertical&&this.card},attrs:{id:this.safeId()}},[this.end||this.bottom?d:t(!1),[c],this.end||this.bottom?t(!1):d])}};e.default=c},Qc1p:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i={name:"BNavbarToggle",mixins:[n("7bze").default],props:{label:{type:String,default:"Toggle navigation"},target:{type:String,required:!0}},data:function(){return{toggleState:!1}},created:function(){this.listenOnRoot("bv::collapse::state",this.handleStateEvt)},methods:{onClick:function(t){this.$emit("click",t),t.defaultPrevented||this.$root.$emit("bv::toggle::collapse",this.target)},handleStateEvt:function(t,e){t===this.target&&(this.toggleState=e)}},render:function(t){return t("button",{class:["navbar-toggler"],attrs:{type:"button","aria-label":this.label,"aria-controls":this.target,"aria-expanded":this.toggleState?"true":"false"},on:{click:this.onClick}},[this.$slots.default||t("span",{class:["navbar-toggler-icon"]})])}};e.default=i},QftK:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i={props:{state:{type:[String,Boolean],default:null}},computed:{computedState:function(){var t=this.state;return""===t?null:!0===t||"valid"===t||!1!==t&&"invalid"!==t&&null},stateClass:function(){var t=this.computedState;return!0===t?"is-valid":!1===t?"is-invalid":null}}};e.default=i},QhaI:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("6uA0"),r=n("Xwe6"),o=n("bhsD"),a=n("QftK"),s=n("wBzU"),l=n("EPw4"),u=n("uWUd"),c=n("uy80"),d=n("FhHd");function f(t){for(var e=1;e0);e.hasTouchSupport=o;var a=i&&Boolean(window.PointerEvent||window.MSPointerEvent);e.hasPointerEvent=a},RcfF:function(t,e,n){var i=n("aC08");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},RfBy:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i={props:{tag:{type:String,default:"div"},bgVariant:{type:String,default:null},borderVariant:{type:String,default:null},textVariant:{type:String,default:null}}};e.default=i},Rhxi:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("uy80"),r=n("JOL4"),o=n("vhGO");function a(t){return t&&"[object Object]"==={}.toString.call(t)}var s={props:{options:{type:[Array,Object],default:function(){return[]}},valueField:{type:String,default:"value"},textField:{type:String,default:"text"},htmlField:{type:String,default:"html"},disabledField:{type:String,default:"disabled"}},computed:{formOptions:function(){var t=this.options,e=this.valueField,n=this.textField,s=this.htmlField,l=this.disabledField;return(0,i.isArray)(t)?t.map(function(t){return a(t)?{value:t[e],text:(0,o.stripTags)(String(t[n])),html:t[s],disabled:t[l]||!1}:{value:t,text:(0,o.stripTags)(String(t)),disabled:!1}}):(0,r.keys)(t).map(function(i){var r=t[i]||{};if(a(r)){var u=r[e],c=r[n];return{value:void 0===u?i:u,text:void 0===c?i:(0,o.stripTags)(String(c)),html:r[s],disabled:r[l]||!1}}return{value:i,text:(0,o.stripTags)(String(r)),disabled:!1}})}}};e.default=s},SF1H:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("6uA0"),r=n("wZDz"),o=n("vhGO"),a={name:"BNavItemDropdown",mixins:[i.default,r.default],props:{noCaret:{type:Boolean,default:!1},extraToggleClasses:{type:String,default:""},extraMenuClasses:{type:String,default:""},role:{type:String,default:"menu"}},computed:{isNav:function(){return!0},dropdownClasses:function(){return["nav-item","b-nav-dropdown","dropdown",this.dropup?"dropup":"",this.visible?"show":""]},toggleClasses:function(){return["nav-link",this.noCaret?"":"dropdown-toggle",this.disabled?"disabled":"",this.extraToggleClasses?this.extraToggleClasses:""]},menuClasses:function(){return["dropdown-menu",this.right?"dropdown-menu-right":"dropdown-menu-left",this.visible?"show":"",this.extraMenuClasses?this.extraMenuClasses:""]}},render:function(t){var e=t("a",{class:this.toggleClasses,ref:"toggle",attrs:{href:"#",id:this.safeId("_BV_button_"),disabled:this.disabled,"aria-haspopup":"true","aria-expanded":this.visible?"true":"false"},on:{click:this.toggle,keydown:this.toggle}},[this.$slots["button-content"]||this.$slots.text||t("span",{domProps:(0,o.htmlOrText)(this.html,this.text)})]),n=t("div",{class:this.menuClasses,ref:"menu",attrs:{tabindex:"-1","aria-labelledby":this.safeId("_BV_button_")},on:{mouseover:this.onMouseOver,keydown:this.onKeydown}},[this.$slots.default]);return t("li",{attrs:{id:this.safeId()},class:this.dropdownClasses},[e,n])}};e.default=a},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"]}},r={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]};function o(t){var e,o,a,s,l,u,c,d,f,p,h,m,v,g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},b=[],y=0,w=void 0,_=void 0;if(isNaN(t))throw new Error("Invalid arguments");return o=!0===g.bits,f=!0===g.unix,e=g.base||2,d=void 0!==g.round?g.round:f?1:2,p=void 0!==g.separator&&g.separator||"",h=void 0!==g.spacer?g.spacer:f?"":" ",v=g.symbols||g.suffixes||{},m=2===e&&g.standard||"jedec",c=g.output||"string",s=!0===g.fullform,l=g.fullforms instanceof Array?g.fullforms:[],w=void 0!==g.exponent?g.exponent:-1,a=e>2?1e3:1024,(u=(_=Number(t))<0)&&(_=-_),(-1===w||isNaN(w))&&(w=Math.floor(Math.log(_)/Math.log(a)))<0&&(w=0),w>8&&(w=8),0===_?(b[0]=0,b[1]=f?"":i[m][o?"bits":"bytes"][w]):(y=_/(2===e?Math.pow(2,10*w):Math.pow(1e3,w)),o&&(y*=8)>=a&&w<8&&(y/=a,w++),b[0]=Number(y.toFixed(w>0?d:0)),b[1]=10===e&&1===w?o?"kb":"kB":i[m][o?"bits":"bytes"][w],f&&(b[1]="jedec"===m?b[1].charAt(0):w>0?b[1].replace(/B$/,""):b[1],n.test(b[1])&&(b[0]=Math.floor(b[0]),b[1]=""))),u&&(b[0]=-b[0]),b[1]=v[b[1]]||b[1],"array"===c?b:"exponent"===c?w:"object"===c?{value:b[0],suffix:b[1],symbol:b[1]}:(s&&(b[1]=l[w]?l[w]:r[m][w]+(o?"bit":"byte")+(1===b[0]?"":"s")),p.length>0&&(b[0]=b[0].toString().replace(".",p)),b.join(h))}o.partial=function(t){return function(e){return o(e,t)}},t.exports=o}("undefined"!=typeof window&&window)}).call(this,n("yLpj"))},"T+Gv":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i={model:{prop:"checked",event:"input"},props:{value:{},checked:{},inline:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},button:{type:Boolean,default:!1},buttonVariant:{type:String,default:null}},data:function(){return{localChecked:this.bvGroup.checked,hasFocus:!1,buttons:!1}},computed:{computedLocalChecked:{get:function(){return this.bvGroup.localChecked},set:function(t){this.bvGroup.localChecked=t}},is_Group:function(){return this.bvGroup!==this},is_BtnMode:function(){return this.is_Group?this.bvGroup.buttons:this.button},is_Plain:function(){return!this.is_BtnMode&&this.bvGroup.plain},is_Custom:function(){return!this.is_BtnMode&&!this.bvGroup.plain},is_Switch:function(){return!(this.is_BtnMode||this.is_Radio||this.is_Plain)&&(this.is_Group?this.bvGroup.switches:this.switch)},is_Inline:function(){return this.bvGroup.inline},is_Disabled:function(){return this.bvGroup.disabled||this.disabled},is_Required:function(){return Boolean(this.get_Name&&this.bvGroup.required)},get_Name:function(){return this.bvGroup.groupName||this.name||null},get_Form:function(){return this.bvGroup.form||null},get_Size:function(){return this.bvGroup.size||""},get_State:function(){return"boolean"==typeof this.computedState?this.computedState:"boolean"==typeof this.bvGroup.computedState?this.bvGroup.computedState:null},get_ButtonVariant:function(){return this.buttonVariant||this.bvGroup.buttonVariant||"secondary"},buttonClasses:function(){return["btn","btn-".concat(this.get_ButtonVariant),this.get_Size?"btn-".concat(this.get_Size):"",this.is_Disabled?"disabled":"",this.is_Checked?"active":"",this.hasFocus?"focus":""]}},watch:{checked:function(t,e){this.computedLocalChecked=t}},methods:{handleFocus:function(t){t.target&&("focus"===t.type?this.hasFocus=!0:"blur"===t.type&&(this.hasFocus=!1))}},render:function(t){var e=this.$slots.default,n={change:this.handleChange};this.is_BtnMode&&(n.focus=n.blur=this.handleFocus);var i=t("input",{ref:"input",key:"input",on:n,class:{"form-check-input":this.is_Plain,"custom-control-input":this.is_Custom,"is-valid":!0===this.get_State&&!this.is_BtnMode,"is-invalid":!1===this.get_State&&!this.is_BtnMode},directives:[{name:"model",rawName:"v-model",value:this.computedLocalChecked,expression:"computedLocalChecked"}],attrs:{id:this.safeId(),type:this.is_Radio?"radio":"checkbox",name:this.get_Name,form:this.get_Form,disabled:this.is_Disabled,required:this.is_Required,autocomplete:"off","aria-required":this.is_Required||null},domProps:{value:this.value,checked:this.is_Checked}});if(this.is_BtnMode){var r=t("label",{class:this.buttonClasses},[i,e]);return this.is_Group||(r=t("div",{class:["btn-group-toggle","d-inline-block"]},[r])),r}var o,a,s,l=t("label",{class:{"form-check-label":this.is_Plain,"custom-control-label":this.is_Custom},attrs:{for:this.safeId()}},e);return t("div",{class:(o={"form-check":this.is_Plain,"form-check-inline":this.is_Plain&&this.is_Inline,"custom-control":this.is_Custom,"custom-control-inline":this.is_Custom&&this.is_Inline,"custom-checkbox":this.is_Custom&&this.is_Check&&!this.is_Switch,"custom-switch":this.is_Switch,"custom-radio":this.is_Custom&&this.is_Radio},a="form-control-".concat(this.get_Size),s=Boolean(this.get_Size&&!this.is_BtnMode),a in o?Object.defineProperty(o,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):o[a]=s,o)},[i,l])}};e.default=i},T7iU:function(t,e,n){(function(e){"object"==typeof navigator&&(t.exports=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;nnull!=t?t.constructor:null,l=(t,e)=>Boolean(t&&e&&t instanceof e),u=t=>null==t,c=t=>s(t)===Object,d=t=>s(t)===String,f=t=>Array.isArray(t),p=t=>l(t,NodeList);var h={nullOrUndefined:u,object:c,number:t=>s(t)===Number&&!Number.isNaN(t),string:d,boolean:t=>s(t)===Boolean,function:t=>s(t)===Function,array:f,nodeList:p,element:t=>l(t,Element),event:t=>l(t,Event),empty:t=>u(t)||(d(t)||f(t)||p(t))&&!t.length||c(t)&&!Object.keys(t).length};class m{constructor(t,e){h.element(t)?this.element=t:h.string(t)&&(this.element=document.querySelector(t)),h.element(this.element)&&h.empty(this.element.rangeTouch)&&(this.config=Object.assign({},a,e),this.init())}static get enabled(){return"ontouchstart"in document.documentElement}static setup(t,e={}){let n=null;if(h.empty(t)||h.string(t)?n=Array.from(document.querySelectorAll(h.string(t)?t:'input[type="range"]')):h.element(t)?n=[t]:h.nodeList(t)?n=Array.from(t):h.array(t)&&(n=t.filter(h.element)),h.empty(n))return null;const i=Object.assign({},a,e);return h.string(t)&&i.watch&&new MutationObserver(e=>{Array.from(e).forEach(e=>{Array.from(e.addedNodes).forEach(e=>{h.element(e)&&function(t,e){return function(){return Array.from(document.querySelectorAll(e)).includes(this)}.call(t,e)}(e,t)&&new m(e,i)})})}).observe(document.body,{childList:!0,subtree:!0}),n.map(t=>new m(t,e))}init(){m.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}destroy(){m.enabled&&(this.listeners(!1),this.element.rangeTouch=null)}listeners(t){const e=t?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach(t=>{this.element[e](t,t=>this.set(t),!1)})}get(t){if(!m.enabled||!h.event(t))return null;const e=t.target,n=t.changedTouches[0],i=parseFloat(e.getAttribute("min"))||0,r=parseFloat(e.getAttribute("max"))||100,o=parseFloat(e.getAttribute("step"))||1,a=r-i;let s;const l=e.getBoundingClientRect(),u=100/l.width*(this.config.thumbWidth/2)/100;return(s=100/l.width*(n.clientX-l.left))<0?s=0:s>100&&(s=100),s<50?s-=(100-2*s)*u:s>50&&(s+=2*(s-50)*u),i+function(t,e){if(e<1){const n=function(t){const e=`${t}`.match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0}(e);return parseFloat(t.toFixed(n))}return Math.round(t/e)*e}(a*(s/100),o)}set(t){m.enabled&&h.event(t)&&!t.target.disabled&&(t.preventDefault(),t.target.value=this.get(t),function(t,e){if(!t||!e)return;const n=new Event(e);t.dispatchEvent(n)}(t.target,"touchend"===t.type?"change":"input"))}}var v=function(t){return null!=t?t.constructor:null},g=function(t,e){return Boolean(t&&e&&t instanceof e)},b=function(t){return null==t},y=function(t){return v(t)===Object},w=function(t){return v(t)===String},_=function(t){return Array.isArray(t)},k=function(t){return g(t,NodeList)},C=function(t){return b(t)||(w(t)||_(t)||k(t))&&!t.length||y(t)&&!Object.keys(t).length},x={nullOrUndefined:b,object:y,number:function(t){return v(t)===Number&&!Number.isNaN(t)},string:w,boolean:function(t){return v(t)===Boolean},function:function(t){return v(t)===Function},array:_,weakMap:function(t){return g(t,WeakMap)},nodeList:k,element:function(t){return g(t,Element)},textNode:function(t){return v(t)===Text},event:function(t){return g(t,Event)},keyboardEvent:function(t){return g(t,KeyboardEvent)},cue:function(t){return g(t,window.TextTrackCue)||g(t,window.VTTCue)},track:function(t){return g(t,TextTrack)||!b(t)&&w(t.kind)},promise:function(t){return g(t,Promise)},url:function(t){if(g(t,window.URL))return!0;if(!w(t))return!1;var e=t;t.startsWith("http://")&&t.startsWith("https://")||(e="http://".concat(t));try{return!C(new URL(e).hostname)}catch(t){return!1}},empty:C},T=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0,null}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function S(t,e,n){var i=this,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(t&&"addEventListener"in t&&!x.empty(e)&&x.function(n)){var s=e.split(" "),l=a;T&&(l={passive:o,capture:a}),s.forEach(function(e){i&&i.eventListeners&&r&&i.eventListeners.push({element:t,type:e,callback:n,options:l}),t[r?"addEventListener":"removeEventListener"](e,n,l)})}}function O(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];S.call(this,t,e,n,!0,i,r)}function $(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];S.call(this,t,e,n,!1,i,r)}function E(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];S.call(this,t,n,function a(){$(t,n,a,r,o);for(var s=arguments.length,l=new Array(s),u=0;u1&&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]:{};if(x.element(t)&&!x.empty(e)){var r=new CustomEvent(e,{bubbles:n,detail:Object.assign({},i,{plyr:this})});t.dispatchEvent(r)}}function B(t,e){var n=t.length?t:[t];Array.from(n).reverse().forEach(function(t,n){var i=n>0?e.cloneNode(!0):e,r=t.parentNode,o=t.nextSibling;i.appendChild(t),o?r.insertBefore(i,o):r.appendChild(i)})}function P(t,e){x.element(t)&&!x.empty(e)&&Object.entries(e).filter(function(t){var e=o(t,2)[1];return!x.nullOrUndefined(e)}).forEach(function(e){var n=o(e,2),i=n[0],r=n[1];return t.setAttribute(i,r)})}function M(t,e,n){var i=document.createElement(t);return x.object(e)&&P(i,e),x.string(n)&&(i.innerText=n),i}function I(t,e,n,i){x.element(e)&&e.appendChild(M(t,n,i))}function N(t){x.nodeList(t)||x.array(t)?Array.from(t).forEach(N):x.element(t)&&x.element(t.parentNode)&&t.parentNode.removeChild(t)}function j(t){if(x.element(t))for(var e=t.childNodes.length;e>0;)t.removeChild(t.lastChild),e-=1}function L(t,e){return x.element(e)&&x.element(e.parentNode)&&x.element(t)?(e.parentNode.replaceChild(t,e),t):null}function D(t,e){if(!x.string(t)||x.empty(t))return{};var n={},i=e;return t.split(",").forEach(function(t){var e=t.trim(),r=e.replace(".",""),o=e.replace(/[[\]]/g,"").split("="),a=o[0],s=o.length>1?o[1].replace(/["']/g,""):"";switch(e.charAt(0)){case".":x.object(i)&&x.string(i.class)&&(i.class+=" ".concat(r)),n.class=r;break;case"#":n.id=e.replace("#","");break;case"[":n[a]=s}}),n}function F(t,e){if(x.element(t)){var n=e;x.boolean(n)||(n=!t.hidden),n?t.setAttribute("hidden",""):t.removeAttribute("hidden")}}function R(t,e,n){if(x.nodeList(t))return Array.from(t).map(function(t){return R(t,e,n)});if(x.element(t)){var i="toggle";return void 0!==n&&(i=n?"add":"remove"),t.classList[i](e),t.classList.contains(e)}return!1}function H(t,e){return x.element(t)&&t.classList.contains(e)}function V(t,e){return function(){return Array.from(document.querySelectorAll(e)).includes(this)}.call(t,e)}function U(t){return this.elements.container.querySelectorAll(t)}function z(t){return this.elements.container.querySelector(t)}function W(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];x.element(t)&&(t.focus({preventScroll:!0}),e&&R(t,this.config.classNames.tabFocus))}var G,q,K,Y=(G=document.createElement("span"),q={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},K=Object.keys(q).find(function(t){return void 0!==G.style[t]}),!!x.string(K)&&q[K]);function X(t){setTimeout(function(){try{F(t,!0),t.offsetHeight,F(t,!1)}catch(t){}},0)}var J,Q={isIE:!!document.documentMode,isEdge:window.navigator.userAgent.includes("Edge"),isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:/(iPad|iPhone|iPod)/gi.test(navigator.platform)},Z={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},tt={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check:function(t,e,n){var i=Q.isIPhone&&n&&tt.playsinline,r=tt[t]||"html5"!==e;return{api:r,ui:r&&tt.rangeInput&&("video"!==t||!Q.isIPhone||i)}},pip:!(Q.isIPhone||!x.function(M("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||M("video").disablePictureInPicture)),airplay:x.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime:function(t){if(x.empty(t))return!1;var e=o(t.split("/"),1)[0],n=t;if(!this.isHTML5||e!==this.type)return!1;Object.keys(Z).includes(n)&&(n+='; codecs="'.concat(Z[t],'"'));try{return Boolean(n&&this.media.canPlayType(n).replace(/no/,""))}catch(t){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(J=document.createElement("input"),J.type="range","range"===J.type),touch:"ontouchstart"in document.documentElement,transitions:!1!==Y,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},et={getSources:function(){var t=this;return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter(function(e){var n=e.getAttribute("type");return!!x.empty(n)||tt.mime.call(t,n)}):[]},getQualityOptions:function(){return et.getSources.call(this).map(function(t){return Number(t.getAttribute("size"))}).filter(Boolean)},extend:function(){if(this.isHTML5){var t=this;Object.defineProperty(t.media,"quality",{get:function(){var e=et.getSources.call(t).find(function(e){return e.getAttribute("src")===t.source});return e&&Number(e.getAttribute("size"))},set:function(e){var n=et.getSources.call(t).find(function(t){return Number(t.getAttribute("size"))===e});if(n){var i=t.media,r=i.currentTime,o=i.paused,a=i.preload,s=i.readyState;t.media.src=n.getAttribute("src"),("none"!==a||s)&&(t.once("loadedmetadata",function(){t.currentTime=r,o||t.play()}),t.media.load()),A.call(t,t.media,"qualitychange",!1,{quality:e})}}})}},cancelRequests:function(){this.isHTML5&&(N(et.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function nt(t){return x.array(t)?t.filter(function(e,n){return t.indexOf(e)===n}):t}function it(t,e){return e.split(".").reduce(function(t,e){return t&&t[e]},t)}function rt(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,n=new Array(e>1?e-1:0),i=1;i1?e-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t.replace(new RegExp(e.toString().replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1"),"g"),n.toString())}function st(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString().replace(/\w\S*/g,function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()})}function lt(t){var e=document.createElement("div");return e.appendChild(t),e.innerHTML}var ut={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},ct=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(x.empty(t)||x.empty(e))return"";var n=it(e.i18n,t);if(x.empty(n))return Object.keys(ut).includes(t)?ut[t]:"";var i={"{seektime}":e.seekTime,"{title}":e.title};return Object.entries(i).forEach(function(t){var e=o(t,2),i=e[0],r=e[1];n=at(n,i,r)}),n},dt=function(){function e(n){t(this,e),this.enabled=n.config.storage.enabled,this.key=n.config.storage.key}return i(e,[{key:"get",value:function(t){if(!e.supported||!this.enabled)return null;var n=window.localStorage.getItem(this.key);if(x.empty(n))return null;var i=JSON.parse(n);return x.string(t)&&t.length?i[t]:i}},{key:"set",value:function(t){if(e.supported&&this.enabled&&x.object(t)){var n=this.get();x.empty(n)&&(n={}),rt(n,t),window.localStorage.setItem(this.key,JSON.stringify(n))}}}],[{key:"supported",get:function(){try{return"localStorage"in window&&(window.localStorage.setItem("___test","___test"),window.localStorage.removeItem("___test"),!0)}catch(t){return!1}}}]),e}();function ft(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return new Promise(function(n,i){try{var r=new XMLHttpRequest;if(!("withCredentials"in r))return;r.addEventListener("load",function(){if("text"===e)try{n(JSON.parse(r.responseText))}catch(t){n(r.responseText)}else n(r.response)}),r.addEventListener("error",function(){throw new Error(r.status)}),r.open("GET",t,!0),r.responseType=e,r.send()}catch(t){i(t)}})}function pt(t,e){if(x.string(t)){var n=x.string(e),i=function(){return null!==document.getElementById(e)},r=function(t,e){t.innerHTML=e,n&&i()||document.body.insertAdjacentElement("afterbegin",t)};if(!n||!i()){var o=dt.supported,a=document.createElement("div");if(a.setAttribute("hidden",""),n&&a.setAttribute("id",e),o){var s=window.localStorage.getItem("".concat("cache","-").concat(e));if(null!==s){var l=JSON.parse(s);r(a,l.content)}}ft(t).then(function(t){x.empty(t)||(o&&window.localStorage.setItem("".concat("cache","-").concat(e),JSON.stringify({content:t})),r(a,t))}).catch(function(){})}}}var ht=function(t){return Math.trunc(t/60/60%60,10)},mt=function(t){return Math.trunc(t/60%60,10)},vt=function(t){return Math.trunc(t%60,10)};function gt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!x.number(t))return gt(null,e,n);var i=function(t){return"0".concat(t).slice(-2)},r=ht(t),o=mt(t),a=vt(t);return r=e||r>0?"".concat(r,":"):"","".concat(n&&t>0?"-":"").concat(r).concat(i(o),":").concat(i(a))}var bt={getIconUrl:function(){var t=new URL(this.config.iconUrl,window.location).host!==window.location.host||Q.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:t}},findElements:function(){try{return this.elements.controls=z.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:U.call(this,this.config.selectors.buttons.play),pause:z.call(this,this.config.selectors.buttons.pause),restart:z.call(this,this.config.selectors.buttons.restart),rewind:z.call(this,this.config.selectors.buttons.rewind),fastForward:z.call(this,this.config.selectors.buttons.fastForward),mute:z.call(this,this.config.selectors.buttons.mute),pip:z.call(this,this.config.selectors.buttons.pip),airplay:z.call(this,this.config.selectors.buttons.airplay),settings:z.call(this,this.config.selectors.buttons.settings),captions:z.call(this,this.config.selectors.buttons.captions),fullscreen:z.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=z.call(this,this.config.selectors.progress),this.elements.inputs={seek:z.call(this,this.config.selectors.inputs.seek),volume:z.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:z.call(this,this.config.selectors.display.buffer),currentTime:z.call(this,this.config.selectors.display.currentTime),duration:z.call(this,this.config.selectors.display.duration)},x.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip))),!0}catch(t){return this.debug.warn("It looks like there is a problem with your custom controls HTML",t),this.toggleNativeControls(!0),!1}},createIcon:function(t,e){var n=bt.getIconUrl.call(this),i="".concat(n.cors?"":n.url,"#").concat(this.config.iconPrefix),r=document.createElementNS("http://www.w3.org/2000/svg","svg");P(r,rt(e,{role:"presentation",focusable:"false"}));var o=document.createElementNS("http://www.w3.org/2000/svg","use"),a="".concat(i,"-").concat(t);return"href"in o&&o.setAttributeNS("http://www.w3.org/1999/xlink","href",a),o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a),r.appendChild(o),r},createLabel:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ct(t,this.config);return M("span",Object.assign({},e,{class:[e.class,this.config.classNames.hidden].filter(Boolean).join(" ")}),n)},createBadge:function(t){if(x.empty(t))return null;var e=M("span",{class:this.config.classNames.menu.value});return e.appendChild(M("span",{class:this.config.classNames.menu.badge},t)),e},createButton:function(t,e){var n=Object.assign({},e),i=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return(t=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return t=at(t,"-"," "),t=at(t,"_"," "),at(t=st(t)," ","")}(t)).charAt(0).toLowerCase()+t.slice(1)}(t),r={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach(function(t){Object.keys(n).includes(t)&&(r[t]=n[t],delete n[t])}),"button"!==r.element||Object.keys(n).includes("type")||(n.type="button"),Object.keys(n).includes("class")?n.class.includes(this.config.classNames.control)||(n.class+=" ".concat(this.config.classNames.control)):n.class=this.config.classNames.control,t){case"play":r.toggle=!0,r.label="play",r.labelPressed="pause",r.icon="play",r.iconPressed="pause";break;case"mute":r.toggle=!0,r.label="mute",r.labelPressed="unmute",r.icon="volume",r.iconPressed="muted";break;case"captions":r.toggle=!0,r.label="enableCaptions",r.labelPressed="disableCaptions",r.icon="captions-off",r.iconPressed="captions-on";break;case"fullscreen":r.toggle=!0,r.label="enterFullscreen",r.labelPressed="exitFullscreen",r.icon="enter-fullscreen",r.iconPressed="exit-fullscreen";break;case"play-large":n.class+=" ".concat(this.config.classNames.control,"--overlaid"),i="play",r.label="play",r.icon="play";break;default:x.empty(r.label)&&(r.label=i),x.empty(r.icon)&&(r.icon=t)}var o=M(r.element);return r.toggle?(o.appendChild(bt.createIcon.call(this,r.iconPressed,{class:"icon--pressed"})),o.appendChild(bt.createIcon.call(this,r.icon,{class:"icon--not-pressed"})),o.appendChild(bt.createLabel.call(this,r.labelPressed,{class:"label--pressed"})),o.appendChild(bt.createLabel.call(this,r.label,{class:"label--not-pressed"}))):(o.appendChild(bt.createIcon.call(this,r.icon)),o.appendChild(bt.createLabel.call(this,r.label))),rt(n,D(this.config.selectors.buttons[i],n)),P(o,n),"play"===i?(x.array(this.elements.buttons[i])||(this.elements.buttons[i]=[]),this.elements.buttons[i].push(o)):this.elements.buttons[i]=o,o},createRange:function(t,e){var n=M("input",rt(D(this.config.selectors.inputs[t]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":ct(t,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},e));return this.elements.inputs[t]=n,bt.updateRangeFill.call(this,n),m.setup(n),n},createProgress:function(t,e){var n=M("progress",rt(D(this.config.selectors.display[t]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},e));if("volume"!==t){n.appendChild(M("span",null,"0"));var i={played:"played",buffer:"buffered"}[t],r=i?ct(i,this.config):"";n.innerText="% ".concat(r.toLowerCase())}return this.elements.display[t]=n,n},createTime:function(t){var e=D(this.config.selectors.display[t]),n=M("div",rt(e,{class:"".concat(this.config.classNames.display.time," ").concat(e.class?e.class:"").trim(),"aria-label":ct(t,this.config)}),"00:00");return this.elements.display[t]=n,n},bindMenuItemShortcuts:function(t,e){var n=this;O(t,"keydown keyup",function(i){if([32,38,39,40].includes(i.which)&&(i.preventDefault(),i.stopPropagation(),"keydown"!==i.type)){var r,o=V(t,'[role="menuitemradio"]');!o&&[32,39].includes(i.which)?bt.showMenuPanel.call(n,e,!0):32!==i.which&&(40===i.which||o&&39===i.which?(r=t.nextElementSibling,x.element(r)||(r=t.parentNode.firstElementChild)):(r=t.previousElementSibling,x.element(r)||(r=t.parentNode.lastElementChild)),W.call(n,r,!0))}},!1),O(t,"keyup",function(t){13===t.which&&bt.focusFirstMenuItem.call(n,null,!0)})},createMenuItem:function(t){var e=this,n=t.value,i=t.list,r=t.type,o=t.title,a=t.badge,s=void 0===a?null:a,l=t.checked,u=void 0!==l&&l,c=D(this.config.selectors.inputs[r]),d=M("button",rt(c,{type:"button",role:"menuitemradio",class:"".concat(this.config.classNames.control," ").concat(c.class?c.class:"").trim(),"aria-checked":u,value:n})),f=M("span");f.innerHTML=o,x.element(s)&&f.appendChild(s),d.appendChild(f),Object.defineProperty(d,"checked",{enumerable:!0,get:function(){return"true"===d.getAttribute("aria-checked")},set:function(t){t&&Array.from(d.parentNode.children).filter(function(t){return V(t,'[role="menuitemradio"]')}).forEach(function(t){return t.setAttribute("aria-checked","false")}),d.setAttribute("aria-checked",t?"true":"false")}}),this.listeners.bind(d,"click keyup",function(t){if(!x.keyboardEvent(t)||32===t.which){switch(t.preventDefault(),t.stopPropagation(),d.checked=!0,r){case"language":e.currentTrack=Number(n);break;case"quality":e.quality=n;break;case"speed":e.speed=parseFloat(n)}bt.showMenuPanel.call(e,"home",x.keyboardEvent(t))}},r,!1),bt.bindMenuItemShortcuts.call(this,d,r),i.appendChild(d)},formatTime:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return x.number(t)?gt(t,ht(this.duration)>0,e):t},updateTimeDisplay: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];x.element(t)&&x.number(e)&&(t.innerText=bt.formatTime(e,n))},updateVolume:function(){this.supported.ui&&(x.element(this.elements.inputs.volume)&&bt.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),x.element(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;x.element(t)&&(t.value=e,bt.updateRangeFill.call(this,t))},updateProgress:function(t){var e=this;if(this.supported.ui&&x.event(t)){var n,i,r=0;if(t)switch(t.type){case"timeupdate":case"seeking":case"seeked":n=this.currentTime,i=this.duration,r=0===n||0===i||Number.isNaN(n)||Number.isNaN(i)?0:(n/i*100).toFixed(2),"timeupdate"===t.type&&bt.setRange.call(this,this.elements.inputs.seek,r);break;case"playing":case"progress":!function(t,n){var i=x.number(n)?n:0,r=x.element(t)?t:e.elements.display.buffer;if(x.element(r)){r.value=i;var o=r.getElementsByTagName("span")[0];x.element(o)&&(o.childNodes[0].nodeValue=i)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(t){var e=x.event(t)?t.target:t;if(x.element(e)&&"range"===e.getAttribute("type")){if(V(e,this.config.selectors.inputs.seek)){e.setAttribute("aria-valuenow",this.currentTime);var n=bt.formatTime(this.currentTime),i=bt.formatTime(this.duration),r=ct("seekLabel",this.config);e.setAttribute("aria-valuetext",r.replace("{currentTime}",n).replace("{duration}",i))}else if(V(e,this.config.selectors.inputs.volume)){var o=100*e.value;e.setAttribute("aria-valuenow",o),e.setAttribute("aria-valuetext","".concat(o.toFixed(1),"%"))}else e.setAttribute("aria-valuenow",e.value);Q.isWebkit&&e.style.setProperty("--value","".concat(e.value/e.max*100,"%"))}},updateSeekTooltip:function(t){var e=this;if(this.config.tooltips.seek&&x.element(this.elements.inputs.seek)&&x.element(this.elements.display.seekTooltip)&&0!==this.duration){var n=0,i=this.elements.progress.getBoundingClientRect(),r="".concat(this.config.classNames.tooltip,"--visible"),o=function(t){R(e.elements.display.seekTooltip,r,t)};if(this.touch)o(!1);else{if(x.event(t))n=100/i.width*(t.pageX-i.left);else{if(!H(this.elements.display.seekTooltip,r))return;n=parseFloat(this.elements.display.seekTooltip.style.left,10)}n<0?n=0:n>100&&(n=100),bt.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*n),this.elements.display.seekTooltip.style.left="".concat(n,"%"),x.event(t)&&["mouseenter","mouseleave"].includes(t.type)&&o("mouseenter"===t.type)}}},timeUpdate:function(t){var e=!x.element(this.elements.display.duration)&&this.config.invertTime;bt.updateTimeDisplay.call(this,this.elements.display.currentTime,e?this.duration-this.currentTime:this.currentTime,e),t&&"timeupdate"===t.type&&this.media.seeking||bt.updateProgress.call(this,t)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return F(this.elements.display.currentTime,!0),void F(this.elements.progress,!0);x.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var t=x.element(this.elements.display.duration);!t&&this.config.displayDuration&&this.paused&&bt.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),t&&bt.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),bt.updateSeekTooltip.call(this)}},toggleMenuButton:function(t,e){F(this.elements.settings.buttons[t],!e)},updateSetting:function(t,e,n){var i=this.elements.settings.panels[t],r=null,o=e;if("captions"===t)r=this.currentTrack;else{if(r=x.empty(n)?this[t]:n,x.empty(r)&&(r=this.config[t].default),!x.empty(this.options[t])&&!this.options[t].includes(r))return void this.debug.warn("Unsupported value of '".concat(r,"' for ").concat(t));if(!this.config[t].options.includes(r))return void this.debug.warn("Disabled value of '".concat(r,"' for ").concat(t))}if(x.element(o)||(o=i&&i.querySelector('[role="menu"]')),x.element(o)){this.elements.settings.buttons[t].querySelector(".".concat(this.config.classNames.menu.value)).innerHTML=bt.getLabel.call(this,t,r);var a=o&&o.querySelector('[value="'.concat(r,'"]'));x.element(a)&&(a.checked=!0)}},getLabel:function(t,e){switch(t){case"speed":return 1===e?ct("normal",this.config):"".concat(e,"×");case"quality":if(x.number(e)){var n=ct("qualityLabel.".concat(e),this.config);return n.length?n:"".concat(e,"p")}return st(e);case"captions":return _t.getLabel.call(this);default:return null}},setQualityMenu:function(t){var e=this;if(x.element(this.elements.settings.panels.quality)){var n=this.elements.settings.panels.quality.querySelector('[role="menu"]');x.array(t)&&(this.options.quality=nt(t).filter(function(t){return e.config.quality.options.includes(t)}));var i=!x.empty(this.options.quality)&&this.options.quality.length>1;if(bt.toggleMenuButton.call(this,"quality",i),j(n),bt.checkMenu.call(this),i){var r=function(t){var n=ct("qualityBadge.".concat(t),e.config);return n.length?bt.createBadge.call(e,n):null};this.options.quality.sort(function(t,n){var i=e.config.quality.options;return i.indexOf(t)>i.indexOf(n)?1:-1}).forEach(function(t){bt.createMenuItem.call(e,{value:t,list:n,type:"quality",title:bt.getLabel.call(e,"quality",t),badge:r(t)})}),bt.updateSetting.call(this,"quality",n)}}},setCaptionsMenu:function(){var t=this;if(x.element(this.elements.settings.panels.captions)){var e=this.elements.settings.panels.captions.querySelector('[role="menu"]'),n=_t.getTracks.call(this),i=Boolean(n.length);if(bt.toggleMenuButton.call(this,"captions",i),j(e),bt.checkMenu.call(this),i){var r=n.map(function(n,i){return{value:i,checked:t.captions.toggled&&t.currentTrack===i,title:_t.getLabel.call(t,n),badge:n.language&&bt.createBadge.call(t,n.language.toUpperCase()),list:e,type:"language"}});r.unshift({value:-1,checked:!this.captions.toggled,title:ct("disabled",this.config),list:e,type:"language"}),r.forEach(bt.createMenuItem.bind(this)),bt.updateSetting.call(this,"captions",e)}}},setSpeedMenu:function(t){var e=this;if(x.element(this.elements.settings.panels.speed)){var n=this.elements.settings.panels.speed.querySelector('[role="menu"]');x.array(t)?this.options.speed=t:(this.isHTML5||this.isVimeo)&&(this.options.speed=[.5,.75,1,1.25,1.5,1.75,2]),this.options.speed=this.options.speed.filter(function(t){return e.config.speed.options.includes(t)});var i=!x.empty(this.options.speed)&&this.options.speed.length>1;bt.toggleMenuButton.call(this,"speed",i),j(n),bt.checkMenu.call(this),i&&(this.options.speed.forEach(function(t){bt.createMenuItem.call(e,{value:t,list:n,type:"speed",title:bt.getLabel.call(e,"speed",t)})}),bt.updateSetting.call(this,"speed",n))}},checkMenu:function(){var t=this.elements.settings.buttons,e=!x.empty(t)&&Object.values(t).some(function(t){return!t.hidden});F(this.elements.settings.menu,!e)},focusFirstMenuItem:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.elements.settings.popup.hidden){var n=t;x.element(n)||(n=Object.values(this.elements.settings.panels).find(function(t){return!t.hidden}));var i=n.querySelector('[role^="menuitem"]');W.call(this,i,e)}},toggleMenu:function(t){var e=this.elements.settings.popup,n=this.elements.buttons.settings;if(x.element(e)&&x.element(n)){var i=e.hidden,r=i;if(x.boolean(t))r=t;else if(x.keyboardEvent(t)&&27===t.which)r=!1;else if(x.event(t)){var o=e.contains(t.target);if(o||!o&&t.target!==n&&r)return}n.setAttribute("aria-expanded",r),F(e,!r),R(this.elements.container,this.config.classNames.menu.open,r),r&&x.keyboardEvent(t)?bt.focusFirstMenuItem.call(this,null,!0):r||i||W.call(this,n,x.keyboardEvent(t))}},getMenuSize:function(t){var e=t.cloneNode(!0);e.style.position="absolute",e.style.opacity=0,e.removeAttribute("hidden"),t.parentNode.appendChild(e);var n=e.scrollWidth,i=e.scrollHeight;return N(e),{width:n,height:i}},showMenuPanel:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=document.getElementById("plyr-settings-".concat(this.id,"-").concat(e));if(x.element(i)){var r=i.parentNode,o=Array.from(r.children).find(function(t){return!t.hidden});if(tt.transitions&&!tt.reducedMotion){r.style.width="".concat(o.scrollWidth,"px"),r.style.height="".concat(o.scrollHeight,"px");var a=bt.getMenuSize.call(this,i);O.call(this,r,Y,function e(n){n.target===r&&["width","height"].includes(n.propertyName)&&(r.style.width="",r.style.height="",$.call(t,r,Y,e))}),r.style.width="".concat(a.width,"px"),r.style.height="".concat(a.height,"px")}F(o,!0),F(i,!1),bt.focusFirstMenuItem.call(this,i,n)}},setDownloadLink:function(){var t=this.elements.buttons.download;x.element(t)&&t.setAttribute("href",this.download)},create:function(t){var e=this,n=M("div",D(this.config.selectors.controls.wrapper));if(this.config.controls.includes("restart")&&n.appendChild(bt.createButton.call(this,"restart")),this.config.controls.includes("rewind")&&n.appendChild(bt.createButton.call(this,"rewind")),this.config.controls.includes("play")&&n.appendChild(bt.createButton.call(this,"play")),this.config.controls.includes("fast-forward")&&n.appendChild(bt.createButton.call(this,"fast-forward")),this.config.controls.includes("progress")){var i=M("div",D(this.config.selectors.progress));if(i.appendChild(bt.createRange.call(this,"seek",{id:"plyr-seek-".concat(t.id)})),i.appendChild(bt.createProgress.call(this,"buffer")),this.config.tooltips.seek){var r=M("span",{class:this.config.classNames.tooltip},"00:00");i.appendChild(r),this.elements.display.seekTooltip=r}this.elements.progress=i,n.appendChild(this.elements.progress)}if(this.config.controls.includes("current-time")&&n.appendChild(bt.createTime.call(this,"currentTime")),this.config.controls.includes("duration")&&n.appendChild(bt.createTime.call(this,"duration")),this.config.controls.includes("mute")||this.config.controls.includes("volume")){var o=M("div",{class:"plyr__volume"});if(this.config.controls.includes("mute")&&o.appendChild(bt.createButton.call(this,"mute")),this.config.controls.includes("volume")){var a={max:1,step:.05,value:this.config.volume};o.appendChild(bt.createRange.call(this,"volume",rt(a,{id:"plyr-volume-".concat(t.id)}))),this.elements.volume=o}n.appendChild(o)}if(this.config.controls.includes("captions")&&n.appendChild(bt.createButton.call(this,"captions")),this.config.controls.includes("settings")&&!x.empty(this.config.settings)){var s=M("div",{class:"plyr__menu",hidden:""});s.appendChild(bt.createButton.call(this,"settings",{"aria-haspopup":!0,"aria-controls":"plyr-settings-".concat(t.id),"aria-expanded":!1}));var l=M("div",{class:"plyr__menu__container",id:"plyr-settings-".concat(t.id),hidden:""}),u=M("div"),c=M("div",{id:"plyr-settings-".concat(t.id,"-home")}),d=M("div",{role:"menu"});c.appendChild(d),u.appendChild(c),this.elements.settings.panels.home=c,this.config.settings.forEach(function(n){var i=M("button",rt(D(e.config.selectors.buttons.settings),{type:"button",class:"".concat(e.config.classNames.control," ").concat(e.config.classNames.control,"--forward"),role:"menuitem","aria-haspopup":!0,hidden:""}));bt.bindMenuItemShortcuts.call(e,i,n),O(i,"click",function(){bt.showMenuPanel.call(e,n,!1)});var r=M("span",null,ct(n,e.config)),o=M("span",{class:e.config.classNames.menu.value});o.innerHTML=t[n],r.appendChild(o),i.appendChild(r),d.appendChild(i);var a=M("div",{id:"plyr-settings-".concat(t.id,"-").concat(n),hidden:""}),s=M("button",{type:"button",class:"".concat(e.config.classNames.control," ").concat(e.config.classNames.control,"--back")});s.appendChild(M("span",{"aria-hidden":!0},ct(n,e.config))),s.appendChild(M("span",{class:e.config.classNames.hidden},ct("menuBack",e.config))),O(a,"keydown",function(t){37===t.which&&(t.preventDefault(),t.stopPropagation(),bt.showMenuPanel.call(e,"home",!0))},!1),O(s,"click",function(){bt.showMenuPanel.call(e,"home",!1)}),a.appendChild(s),a.appendChild(M("div",{role:"menu"})),u.appendChild(a),e.elements.settings.buttons[n]=i,e.elements.settings.panels[n]=a}),l.appendChild(u),s.appendChild(l),n.appendChild(s),this.elements.settings.popup=l,this.elements.settings.menu=s}if(this.config.controls.includes("pip")&&tt.pip&&n.appendChild(bt.createButton.call(this,"pip")),this.config.controls.includes("airplay")&&tt.airplay&&n.appendChild(bt.createButton.call(this,"airplay")),this.config.controls.includes("download")){var f={element:"a",href:this.download,target:"_blank"},p=this.config.urls.download;!x.url(p)&&this.isEmbed&&rt(f,{icon:"logo-".concat(this.provider),label:this.provider}),n.appendChild(bt.createButton.call(this,"download",f))}return this.config.controls.includes("fullscreen")&&n.appendChild(bt.createButton.call(this,"fullscreen")),this.config.controls.includes("play-large")&&this.elements.container.appendChild(bt.createButton.call(this,"play-large")),this.elements.controls=n,this.isHTML5&&bt.setQualityMenu.call(this,et.getQualityOptions.call(this)),bt.setSpeedMenu.call(this),n},inject:function(){var t=this;if(this.config.loadSprite){var e=bt.getIconUrl.call(this);e.cors&&pt(e.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());var n=null;this.elements.controls=null;var i={id:this.id,seektime:this.config.seekTime,title:this.config.title},r=!0;x.function(this.config.controls)&&(this.config.controls=this.config.controls.call(this,i)),this.config.controls||(this.config.controls=[]),x.element(this.config.controls)||x.string(this.config.controls)?n=this.config.controls:(n=bt.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:_t.getLabel.call(this)}),r=!1);var a,s=function(t){var e=t;return Object.entries(i).forEach(function(t){var n=o(t,2),i=n[0],r=n[1];e=at(e,"{".concat(i,"}"),r)}),e};if(r&&(x.string(this.config.controls)?n=s(n):x.element(n)&&(n.innerHTML=s(n.innerHTML))),x.string(this.config.selectors.controls.container)&&(a=document.querySelector(this.config.selectors.controls.container)),x.element(a)||(a=this.elements.container),a[x.element(n)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",n),x.element(this.elements.controls)||bt.findElements.call(this),!x.empty(this.elements.buttons)){var l=function(e){var n=t.config.classNames.controlPressed;Object.defineProperty(e,"pressed",{enumerable:!0,get:function(){return H(e,n)},set:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];R(e,n,t)}})};Object.values(this.elements.buttons).filter(Boolean).forEach(function(t){x.array(t)||x.nodeList(t)?Array.from(t).filter(Boolean).forEach(l):l(t)})}if(Q.isEdge&&X(a),this.config.tooltips.controls){var u=this.config,c=u.classNames,d=u.selectors,f="".concat(d.controls.wrapper," ").concat(d.labels," .").concat(c.hidden),p=U.call(this,f);Array.from(p).forEach(function(e){R(e,t.config.classNames.hidden,!1),R(e,t.config.classNames.tooltip,!0)})}}};function yt(t){var e=t;if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]){var n=document.createElement("a");n.href=e,e=n.href}try{return new URL(e)}catch(t){return null}}function wt(t){var e=new URLSearchParams;return x.object(t)&&Object.entries(t).forEach(function(t){var n=o(t,2),i=n[0],r=n[1];e.set(i,r)}),e}var _t={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!tt.textTracks)x.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&bt.setCaptionsMenu.call(this);else{var t,e;if(x.element(this.elements.captions)||(this.elements.captions=M("div",D(this.config.selectors.captions)),t=this.elements.captions,e=this.elements.wrapper,x.element(t)&&x.element(e)&&e.parentNode.insertBefore(t,e.nextSibling)),Q.isIE&&window.URL){var n=this.media.querySelectorAll("track");Array.from(n).forEach(function(t){var e=t.getAttribute("src"),n=yt(e);null!==n&&n.hostname!==window.location.href.hostname&&["http:","https:"].includes(n.protocol)&&ft(e,"blob").then(function(e){t.setAttribute("src",window.URL.createObjectURL(e))}).catch(function(){N(t)})})}var i=nt((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map(function(t){return t.split("-")[0]})),r=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===r&&(r=o(i,1)[0]);var a=this.storage.get("captions");if(x.boolean(a)||(a=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:a,language:r,languages:i}),this.isHTML5){var s=this.config.captions.update?"addtrack removetrack":"removetrack";O.call(this,this.media.textTracks,s,_t.update.bind(this))}setTimeout(_t.update.bind(this),0)}},update:function(){var t=this,e=_t.getTracks.call(this,!0),n=this.captions,i=n.active,r=n.language,o=n.meta,a=n.currentTrackNode,s=Boolean(e.find(function(t){return t.language===r}));this.isHTML5&&this.isVideo&&e.filter(function(t){return!o.get(t)}).forEach(function(e){t.debug.log("Track added",e),o.set(e,{default:"showing"===e.mode}),e.mode="hidden",O.call(t,e,"cuechange",function(){return _t.updateCues.call(t)})}),(s&&this.language!==r||!e.includes(a))&&(_t.setLanguage.call(this,r),_t.toggle.call(this,i&&s)),R(this.elements.container,this.config.classNames.captions.enabled,!x.empty(e)),(this.config.controls||[]).includes("settings")&&this.config.settings.includes("captions")&&bt.setCaptionsMenu.call(this)},toggle:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var n=this.captions.toggled,i=this.config.classNames.captions.active,r=x.nullOrUndefined(t)?!n:t;if(r!==n){if(e||(this.captions.active=r,this.storage.set({captions:r})),!this.language&&r&&!e){var o=_t.getTracks.call(this),a=_t.findTrack.call(this,[this.captions.language].concat(function(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e1&&void 0!==arguments[1])||arguments[1],n=_t.getTracks.call(this);if(-1!==t)if(x.number(t))if(t in n){if(this.captions.currentTrack!==t){this.captions.currentTrack=t;var i=n[t],r=(i||{}).language;this.captions.currentTrackNode=i,bt.updateSetting.call(this,"captions"),e||(this.captions.language=r,this.storage.set({language:r})),this.isVimeo&&this.embed.enableTextTrack(r),A.call(this,this.media,"languagechange")}_t.toggle.call(this,!0,e),this.isHTML5&&this.isVideo&&_t.updateCues.call(this)}else this.debug.warn("Track not found",t);else this.debug.warn("Invalid caption argument",t);else _t.toggle.call(this,!1,e)},setLanguage:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(x.string(t)){var n=t.toLowerCase();this.captions.language=n;var i=_t.getTracks.call(this),r=_t.findTrack.call(this,[n]);_t.set.call(this,i.indexOf(r),e)}else this.debug.warn("Invalid language argument",t)},getTracks:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Array.from((this.media||{}).textTracks||[]).filter(function(n){return!t.isHTML5||e||t.captions.meta.has(n)}).filter(function(t){return["captions","subtitles"].includes(t.kind)})},findTrack:function(t){var e,n=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=_t.getTracks.call(this),o=function(t){return Number((n.captions.meta.get(t)||{}).default)},a=Array.from(r).sort(function(t,e){return o(e)-o(t)});return t.every(function(t){return!(e=a.find(function(e){return e.language===t}))}),e||(i?a[0]:void 0)},getCurrentTrack:function(){return _t.getTracks.call(this)[this.currentTrack]},getLabel:function(t){var e=t;return!x.track(e)&&tt.textTracks&&this.captions.toggled&&(e=_t.getCurrentTrack.call(this)),x.track(e)?x.empty(e.label)?x.empty(e.language)?ct("enabled",this.config):t.language.toUpperCase():e.label:ct("disabled",this.config)},updateCues:function(t){if(this.supported.ui)if(x.element(this.elements.captions))if(x.nullOrUndefined(t)||Array.isArray(t)){var e=t;if(!e){var n=_t.getCurrentTrack.call(this);e=Array.from((n||{}).activeCues||[]).map(function(t){return t.getCueAsHTML()}).map(lt)}var i=e.map(function(t){return t.trim()}).join("\n");if(i!==this.elements.captions.innerHTML){j(this.elements.captions);var r=M("span",D(this.config.selectors.caption));r.innerHTML=i,this.elements.captions.appendChild(r),A.call(this,this.media,"cuechange")}}else this.debug.warn("updateCues: Invalid input",t);else this.debug.warn("No captions element to render to")}},kt={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:"16:9",clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.5.0/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240]},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/v2/video/{0}.json"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://www.googleapis.com/youtube/v3/videos?id={0}&key={1}&fields=items(snippet(title))&part=snippet"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption",menu:{quality:".js-plyr__menu__list--quality"}},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus",previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id"}},keys:{google:null},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1},youtube:{noCookie:!1,rel:0,showinfo:0,iv_load_policy:3,modestbranding:1}},Ct="picture-in-picture",xt={html5:"html5",youtube:"youtube",vimeo:"vimeo"},Tt={audio:"audio",video:"video"},St=function(){},Ot=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t(this,e),this.enabled=window.console&&n,this.enabled&&this.log("Debugging enabled")}return i(e,[{key:"log",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):St}},{key:"warn",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):St}},{key:"error",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):St}}]),e}();function $t(){if(this.enabled){var t=this.player.elements.buttons.fullscreen;x.element(t)&&(t.pressed=this.active),A.call(this.player,this.target,this.active?"enterfullscreen":"exitfullscreen",!0),Q.isIos||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(x.element(t)){var n=U.call(this,"button:not(:disabled), input:not(:disabled), [tabindex]"),i=n[0],r=n[n.length-1];S.call(this,this.elements.container,"keydown",function(t){if("Tab"===t.key&&9===t.keyCode){var e=document.activeElement;e!==r||t.shiftKey?e===i&&t.shiftKey&&(r.focus(),t.preventDefault()):(i.focus(),t.preventDefault())}},e,!1)}}.call(this.player,this.target,this.active)}}function Et(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e?this.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=e?"hidden":"",R(this.target,this.player.config.classNames.fullscreen.fallback,e),Q.isIos){var n=document.head.querySelector('meta[name="viewport"]'),i="viewport-fit=cover";n||(n=document.createElement("meta")).setAttribute("name","viewport");var r=x.string(n.content)&&n.content.includes(i);e?(this.cleanupViewport=!r,r||(n.content+=",".concat(i))):this.cleanupViewport&&(n.content=n.content.split(",").filter(function(t){return t.trim()!==i}).join(",")),setTimeout(function(){return X(t.target)},100)}$t.call(this)}var At=function(){function e(n){var i=this;t(this,e),this.player=n,this.prefix=e.prefix,this.property=e.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===n.config.fullscreen.fallback,O.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":"".concat(this.prefix,"fullscreenchange"),function(){$t.call(i)}),O.call(this.player,this.player.elements.container,"dblclick",function(t){x.element(i.player.elements.controls)&&i.player.elements.controls.contains(t.target)||i.toggle()}),this.update()}return i(e,[{key:"update",value:function(){var t;this.enabled?(t=this.forceFallback?"Fallback (forced)":e.native?"Native":"Fallback",this.player.debug.log("".concat(t," fullscreen enabled"))):this.player.debug.log("Fullscreen not supported and fallback disabled"),R(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.enabled)}},{key:"enter",value:function(){this.enabled&&(Q.isIos&&this.player.config.fullscreen.iosNative?this.target.webkitEnterFullscreen():!e.native||this.forceFallback?Et.call(this,!0):this.prefix?x.empty(this.prefix)||this.target["".concat(this.prefix,"Request").concat(this.property)]():this.target.requestFullscreen())}},{key:"exit",value:function(){if(this.enabled)if(Q.isIos&&this.player.config.fullscreen.iosNative)this.target.webkitExitFullscreen(),this.player.play();else if(!e.native||this.forceFallback)Et.call(this,!1);else if(this.prefix){if(!x.empty(this.prefix)){var t="moz"===this.prefix?"Cancel":"Exit";document["".concat(this.prefix).concat(t).concat(this.property)]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)}},{key:"toggle",value:function(){this.active?this.exit():this.enter()}},{key:"usingNative",get:function(){return e.native&&!this.forceFallback}},{key:"enabled",get:function(){return(e.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:"active",get:function(){return!!this.enabled&&(!e.native||this.forceFallback?H(this.target,this.player.config.classNames.fullscreen.fallback):(this.prefix?document["".concat(this.prefix).concat(this.property,"Element")]:document.fullscreenElement)===this.target)}},{key:"target",get:function(){return Q.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.container}}],[{key:"native",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:"prefix",get:function(){if(x.function(document.exitFullscreen))return"";var t="";return["webkit","moz","ms"].some(function(e){return!(!x.function(document["".concat(e,"ExitFullscreen")])&&!x.function(document["".concat(e,"CancelFullScreen")])||(t=e,0))}),t}},{key:"property",get:function(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}}]),e}();function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise(function(n,i){var r=new Image,o=function(){delete r.onload,delete r.onerror,(r.naturalWidth>=e?n:i)(r)};Object.assign(r,{onload:o,onerror:o,src:t})})}var Pt={addStyleHook:function(){R(this.elements.container,this.config.selectors.container.replace(".",""),!0),R(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build:function(){var t=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn("Basic support only for ".concat(this.provider," ").concat(this.type)),void Pt.toggleNativeControls.call(this,!0);x.element(this.elements.controls)||(bt.inject.call(this),this.listeners.controls()),Pt.toggleNativeControls.call(this),this.isHTML5&&_t.setup.call(this),this.volume=null,this.muted=null,this.speed=null,this.loop=null,this.quality=null,bt.updateVolume.call(this),bt.timeUpdate.call(this),Pt.checkPlaying.call(this),R(this.elements.container,this.config.classNames.pip.supported,tt.pip&&this.isHTML5&&this.isVideo),R(this.elements.container,this.config.classNames.airplay.supported,tt.airplay&&this.isHTML5),R(this.elements.container,this.config.classNames.isIos,Q.isIos),R(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout(function(){A.call(t,t.media,"ready")},0),Pt.setTitle.call(this),this.poster&&Pt.setPoster.call(this,this.poster,!1).catch(function(){}),this.config.duration&&bt.durationUpdate.call(this)},setTitle:function(){var t=ct("play",this.config);if(x.string(this.config.title)&&!x.empty(this.config.title)&&(t+=", ".concat(this.config.title)),Array.from(this.elements.buttons.play||[]).forEach(function(e){e.setAttribute("aria-label",t)}),this.isEmbed){var e=z.call(this,"iframe");if(!x.element(e))return;var n=x.empty(this.config.title)?"video":this.config.title,i=ct("frameTitle",this.config);e.setAttribute("title",i.replace("{title}",n))}},togglePoster:function(t){R(this.elements.container,this.config.classNames.posterEnabled,t)},setPoster:function(t){var e=this;return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]||!this.poster?(this.media.setAttribute("poster",t),function(){var t=this;return new Promise(function(e){return t.ready?setTimeout(e,0):O.call(t,t.elements.container,"ready",e)}).then(function(){})}.call(this).then(function(){return Bt(t)}).catch(function(n){throw t===e.poster&&Pt.togglePoster.call(e,!1),n}).then(function(){if(t!==e.poster)throw new Error("setPoster cancelled by later call to setPoster")}).then(function(){return Object.assign(e.elements.poster.style,{backgroundImage:"url('".concat(t,"')"),backgroundSize:""}),Pt.togglePoster.call(e,!0),t})):Promise.reject(new Error("Poster already set"))},checkPlaying:function(t){var e=this;R(this.elements.container,this.config.classNames.playing,this.playing),R(this.elements.container,this.config.classNames.paused,this.paused),R(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach(function(t){t.pressed=e.playing}),x.event(t)&&"timeupdate"===t.type||Pt.toggleControls.call(this)},checkLoading:function(t){var e=this;this.loading=["stalled","waiting"].includes(t.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout(function(){R(e.elements.container,e.config.classNames.loading,e.loading),Pt.toggleControls.call(e)},this.loading?250:0)},toggleControls:function(t){var e=this.elements.controls;if(e&&this.config.hideControls){var n=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(t||this.loading||this.paused||e.pressed||e.hover||n))}}};function Mt(t){var e=t;x.string(e)||x.nullOrUndefined(this.embed)||(e=this.embed.ratio),x.string(e)||(e=this.config.ratio);var n=o(e.split(":").map(Number),2),i=100/n[0]*n[1];if(this.elements.wrapper.style.paddingBottom="".concat(i,"%"),this.isVimeo&&this.supported.ui){var r=(240-i)/4.8;this.media.style.transform="translateY(-".concat(r,"%)")}return{padding:i,ratio:e}}var It=function(){function e(n){t(this,e),this.player=n,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}return i(e,[{key:"handleKey",value:function(t){var e=this.player,n=e.elements,i=t.keyCode?t.keyCode:t.which,r="keydown"===t.type,o=r&&i===this.lastKey;if(!(t.altKey||t.ctrlKey||t.metaKey||t.shiftKey)&&x.number(i))if(r){var a=document.activeElement;if(x.element(a)){var s=e.config.selectors.editable;if(a!==n.inputs.seek&&V(a,s))return;if(32===t.which&&V(a,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(i)&&(t.preventDefault(),t.stopPropagation()),i){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:o||(e.currentTime=e.duration/10*(i-48));break;case 32:case 75:o||e.togglePlay();break;case 38:e.increaseVolume(.1);break;case 40:e.decreaseVolume(.1);break;case 77:o||(e.muted=!e.muted);break;case 39:e.forward();break;case 37:e.rewind();break;case 70:e.fullscreen.toggle();break;case 67:o||e.toggleCaptions();break;case 76:e.loop=!e.loop}27===i&&!e.fullscreen.usingNative&&e.fullscreen.active&&e.fullscreen.toggle(),this.lastKey=i}else this.lastKey=null}},{key:"toggleMenu",value:function(t){bt.toggleMenu.call(this.player,t)}},{key:"firstTouch",value:function(){var t=this.player,e=t.elements;t.touch=!0,R(e.container,t.config.classNames.isTouch,!0)}},{key:"setTabFocus",value:function(t){var e=this.player,n=e.elements;if(clearTimeout(this.focusTimer),"keydown"!==t.type||9===t.which){"keydown"===t.type&&(this.lastKeyDown=t.timeStamp);var i,r=t.timeStamp-this.lastKeyDown<=20;("focus"!==t.type||r)&&(i=e.config.classNames.tabFocus,R(U.call(e,".".concat(i)),i,!1),this.focusTimer=setTimeout(function(){var t=document.activeElement;n.container.contains(t)&&R(document.activeElement,e.config.classNames.tabFocus,!0)},10))}}},{key:"global",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.player;e.config.keyboard.global&&S.call(e,window,"keydown keyup",this.handleKey,t,!1),S.call(e,document.body,"click",this.toggleMenu,t),E.call(e,document.body,"touchstart",this.firstTouch),S.call(e,document.body,"keydown focus blur",this.setTabFocus,t,!1,!0)}},{key:"container",value:function(){var t=this.player,e=t.config,n=t.elements,i=t.timers;!e.keyboard.global&&e.keyboard.focused&&O.call(t,n.container,"keydown keyup",this.handleKey,!1),O.call(t,n.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",function(e){var r=n.controls;r&&"enterfullscreen"===e.type&&(r.pressed=!1,r.hover=!1);var o=0;["touchstart","touchmove","mousemove"].includes(e.type)&&(Pt.toggleControls.call(t,!0),o=t.touch?3e3:2e3),clearTimeout(i.controls),i.controls=setTimeout(function(){return Pt.toggleControls.call(t,!1)},o)});var r=function(e){if(!e)return Mt.call(t);var i=n.container.getBoundingClientRect(),r=i.width,o=i.height;return Mt.call(t,"".concat(r,":").concat(o))},a=function(){window.clearTimeout(i.resized),i.resized=window.setTimeout(r,50)};O.call(t,n.container,"enterfullscreen exitfullscreen",function(e){var i=t.fullscreen,s=i.target,l=i.usingNative;if(t.isEmbed&&s===n.container){var u="enterfullscreen"===e.type,c=r(u);c.padding,function(e,n,i){if(t.isVimeo){var r=t.elements.wrapper.firstChild,a=o(e.split(":").map(Number),2)[1],s=o(t.embed.ratio.split(":").map(Number),2),l=s[0],u=s[1];r.style.maxWidth=i?"".concat(a/u*l,"px"):null,r.style.margin=i?"0 auto":null}}(c.ratio,0,u),l||(u?O.call(t,window,"resize",a):$.call(t,window,"resize",a))}})}},{key:"media",value:function(){var t=this,e=this.player,n=e.elements;if(O.call(e,e.media,"timeupdate seeking seeked",function(t){return bt.timeUpdate.call(e,t)}),O.call(e,e.media,"durationchange loadeddata loadedmetadata",function(t){return bt.durationUpdate.call(e,t)}),O.call(e,e.media,"canplay loadeddata",function(){F(n.volume,!e.hasAudio),F(n.buttons.mute,!e.hasAudio)}),O.call(e,e.media,"ended",function(){e.isHTML5&&e.isVideo&&e.config.resetOnEnd&&e.restart()}),O.call(e,e.media,"progress playing seeking seeked",function(t){return bt.updateProgress.call(e,t)}),O.call(e,e.media,"volumechange",function(t){return bt.updateVolume.call(e,t)}),O.call(e,e.media,"playing play pause ended emptied timeupdate",function(t){return Pt.checkPlaying.call(e,t)}),O.call(e,e.media,"waiting canplay seeked playing",function(t){return Pt.checkLoading.call(e,t)}),e.supported.ui&&e.config.clickToPlay&&!e.isAudio){var i=z.call(e,".".concat(e.config.classNames.video));if(!x.element(i))return;O.call(e,n.container,"click",function(r){([n.container,i].includes(r.target)||i.contains(r.target))&&(e.touch&&e.config.hideControls||(e.ended?(t.proxy(r,e.restart,"restart"),t.proxy(r,e.play,"play")):t.proxy(r,e.togglePlay,"play")))})}e.supported.ui&&e.config.disableContextMenu&&O.call(e,n.wrapper,"contextmenu",function(t){t.preventDefault()},!1),O.call(e,e.media,"volumechange",function(){e.storage.set({volume:e.volume,muted:e.muted})}),O.call(e,e.media,"ratechange",function(){bt.updateSetting.call(e,"speed"),e.storage.set({speed:e.speed})}),O.call(e,e.media,"qualitychange",function(t){bt.updateSetting.call(e,"quality",null,t.detail.quality)}),O.call(e,e.media,"ready qualitychange",function(){bt.setDownloadLink.call(e)});var r=e.config.events.concat(["keyup","keydown"]).join(" ");O.call(e,e.media,r,function(t){var i=t.detail,r=void 0===i?{}:i;"error"===t.type&&(r=e.media.error),A.call(e,n.container,t.type,!0,r)})}},{key:"proxy",value:function(t,e,n){var i=this.player,r=i.config.listeners[n],o=!0;x.function(r)&&(o=r.call(i,t)),o&&x.function(e)&&e.call(i,t)}},{key:"bind",value:function(t,e,n,i){var r=this,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=this.player,s=a.config.listeners[i],l=x.function(s);O.call(a,t,e,function(t){return r.proxy(t,n,i)},o&&!l)}},{key:"controls",value:function(){var t=this,e=this.player,n=e.elements,i=Q.isIE?"change":"input";if(n.buttons.play&&Array.from(n.buttons.play).forEach(function(n){t.bind(n,"click",e.togglePlay,"play")}),this.bind(n.buttons.restart,"click",e.restart,"restart"),this.bind(n.buttons.rewind,"click",e.rewind,"rewind"),this.bind(n.buttons.fastForward,"click",e.forward,"fastForward"),this.bind(n.buttons.mute,"click",function(){e.muted=!e.muted},"mute"),this.bind(n.buttons.captions,"click",function(){return e.toggleCaptions()}),this.bind(n.buttons.download,"click",function(){A.call(e,e.media,"download")},"download"),this.bind(n.buttons.fullscreen,"click",function(){e.fullscreen.toggle()},"fullscreen"),this.bind(n.buttons.pip,"click",function(){e.pip="toggle"},"pip"),this.bind(n.buttons.airplay,"click",e.airplay,"airplay"),this.bind(n.buttons.settings,"click",function(t){t.stopPropagation(),bt.toggleMenu.call(e,t)}),this.bind(n.buttons.settings,"keyup",function(t){var n=t.which;[13,32].includes(n)&&(13!==n?(t.preventDefault(),t.stopPropagation(),bt.toggleMenu.call(e,t)):bt.focusFirstMenuItem.call(e,null,!0))},null,!1),this.bind(n.settings.menu,"keydown",function(t){27===t.which&&bt.toggleMenu.call(e,t)}),this.bind(n.inputs.seek,"mousedown mousemove",function(t){var e=n.progress.getBoundingClientRect(),i=100/e.width*(t.pageX-e.left);t.currentTarget.setAttribute("seek-value",i)}),this.bind(n.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",function(t){var n=t.currentTarget,i=t.keyCode?t.keyCode:t.which;if(!x.keyboardEvent(t)||39===i||37===i){e.lastSeekTime=Date.now();var r=n.hasAttribute("play-on-seeked"),o=["mouseup","touchend","keyup"].includes(t.type);r&&o?(n.removeAttribute("play-on-seeked"),e.play()):!o&&e.playing&&(n.setAttribute("play-on-seeked",""),e.pause())}}),Q.isIos){var r=U.call(e,'input[type="range"]');Array.from(r).forEach(function(e){return t.bind(e,i,function(t){return X(t.target)})})}this.bind(n.inputs.seek,i,function(t){var n=t.currentTarget,i=n.getAttribute("seek-value");x.empty(i)&&(i=n.value),n.removeAttribute("seek-value"),e.currentTime=i/n.max*e.duration},"seek"),this.bind(n.progress,"mouseenter mouseleave mousemove",function(t){return bt.updateSeekTooltip.call(e,t)}),this.bind(n.progress,"mousemove touchmove",function(t){var n=e.previewThumbnails;n&&n.loaded&&n.startMove(t)}),this.bind(n.progress,"mouseleave click",function(){var t=e.previewThumbnails;t&&t.loaded&&t.endMove(!1,!0)}),this.bind(n.progress,"mousedown touchstart",function(t){var n=e.previewThumbnails;n&&n.loaded&&n.startScrubbing(t)}),this.bind(n.progress,"mouseup touchend",function(t){var n=e.previewThumbnails;n&&n.loaded&&n.endScrubbing(t)}),Q.isWebkit&&Array.from(U.call(e,'input[type="range"]')).forEach(function(n){t.bind(n,"input",function(t){return bt.updateRangeFill.call(e,t.target)})}),e.config.toggleInvert&&!x.element(n.display.duration)&&this.bind(n.display.currentTime,"click",function(){0!==e.currentTime&&(e.config.invertTime=!e.config.invertTime,bt.timeUpdate.call(e))}),this.bind(n.inputs.volume,i,function(t){e.volume=t.target.value},"volume"),this.bind(n.controls,"mouseenter mouseleave",function(t){n.controls.hover=!e.touch&&"mouseenter"===t.type}),this.bind(n.controls,"mousedown mouseup touchstart touchend touchcancel",function(t){n.controls.pressed=["mousedown","touchstart"].includes(t.type)}),this.bind(n.controls,"focusin",function(){var n=e.config,i=e.elements,r=e.timers;R(i.controls,n.classNames.noTransition,!0),Pt.toggleControls.call(e,!0),setTimeout(function(){R(i.controls,n.classNames.noTransition,!1)},0);var o=t.touch?3e3:4e3;clearTimeout(r.controls),r.controls=setTimeout(function(){return Pt.toggleControls.call(e,!1)},o)}),this.bind(n.inputs.volume,"wheel",function(t){var n=t.webkitDirectionInvertedFromDevice,i=o([t.deltaX,-t.deltaY].map(function(t){return n?-t:t}),2),r=i[0],a=i[1],s=Math.sign(Math.abs(r)>Math.abs(a)?r:a);e.increaseVolume(s/50);var l=e.media.volume;(1===s&&l<1||-1===s&&l>0)&&t.preventDefault()},"volume",!1)}}]),e}();"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var Nt,jt=(function(t,e){t.exports=function(){var t=function(){},e={},n={},i={};function r(t,e){if(t){var r=i[t];if(n[t]=e,r)for(;r.length;)r[0](t,e),r.splice(0,1)}}function o(e,n){e.call&&(e={success:e}),n.length?(e.error||t)(n):(e.success||t)(e)}function a(e,n,i,r){var o,s,l=document,u=i.async,c=(i.numRetries||0)+1,d=i.before||t,f=e.replace(/^(css|img)!/,"");r=r||0,/(^css!|\.css$)/.test(e)?(o=!0,(s=l.createElement("link")).rel="stylesheet",s.href=f):/(^img!|\.(png|gif|jpg|svg)$)/.test(e)?(s=l.createElement("img")).src=f:((s=l.createElement("script")).src=e,s.async=void 0===u||u),s.onload=s.onerror=s.onbeforeload=function(t){var l=t.type[0];if(o&&"hideFocus"in s)try{s.sheet.cssText.length||(l="e")}catch(t){18!=t.code&&(l="e")}if("e"==l&&(r+=1)0&&void 0!==arguments[0]&&arguments[0]))return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval(function(){var e=gt(Math.max(t.manager.getRemainingTime(),0)),n="".concat(ct("advertisement",t.player.config)," - ").concat(e);t.elements.container.setAttribute("data-badge-text",n)},100)}},{key:"onAdsManagerLoaded",value:function(t){var e=this;if(this.enabled){var n=new google.ima.AdsRenderingSettings;n.restoreCustomPlaybackStateOnAdBreakComplete=!0,n.enablePreloading=!0,this.manager=t.getAdsManager(this.player,n),this.cuePoints=this.manager.getCuePoints(),this.manager.setVolume(this.player.volume),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,function(t){return e.onAdError(t)}),Object.keys(google.ima.AdEvent.Type).forEach(function(t){e.manager.addEventListener(google.ima.AdEvent.Type[t],function(t){return e.onAdEvent(t)})}),this.trigger("loaded")}}},{key:"addCuePoints",value:function(){var t=this;x.empty(this.cuePoints)||this.cuePoints.forEach(function(e){if(0!==e&&-1!==e&&e1?n-1:0),r=1;r ?)([0-9]{2}):([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);a&&(e.startTime=60*Number(a[1])*60+60*Number(a[2])+Number(a[3])+Number("0.".concat(a[4])),e.endTime=60*Number(a[6])*60+60*Number(a[7])+Number(a[8])+Number("0.".concat(a[9])))}}),e.text&&a.push(e)}),a),height:null,urlPrefix:""};s.frames[0].text.startsWith("/")||(s.urlPrefix=t.substring(0,t.lastIndexOf("/")+1));var l=new Image;l.onload=function(){s.height=l.naturalHeight,s.width=l.naturalWidth,e.thumbnails.push(s),n()},l.src=s.urlPrefix+s.frames[0].text})})}},{key:"startMove",value:function(t){if(this.loaded&&x.event(t)&&["touchmove","mousemove"].includes(t.type)&&this.player.media.duration){if("touchmove"===t.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var e=this.player.elements.progress.getBoundingClientRect(),n=100/e.width*(t.pageX-e.left);this.seekTime=this.player.media.duration*(n/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=t.pageX,this.elements.thumb.time.innerText=gt(this.seekTime)}this.showImageAtCurrentTime()}}},{key:"endMove",value:function(){this.toggleThumbContainer(!1,!0)}},{key:"startScrubbing",value:function(t){!1!==t.button&&0!==t.button||(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))}},{key:"endScrubbing",value:function(){var t=this;this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):E.call(this.player,this.player.media,"timeupdate",function(){t.mouseDown||t.toggleScrubbingContainer(!1)})}},{key:"listeners",value:function(){var t=this;this.player.on("play",function(){t.toggleThumbContainer(!1,!0)}),this.player.on("seeked",function(){t.toggleThumbContainer(!1)}),this.player.on("timeupdate",function(){t.lastTime=t.player.media.currentTime})}},{key:"render",value:function(){this.elements.thumb.container=M("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=M("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);var t=M("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=M("span",{},"00:00"),t.appendChild(this.elements.thumb.time),this.elements.thumb.container.appendChild(t),this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=M("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)}},{key:"showImageAtCurrentTime",value:function(){var t=this;this.mouseDown?this.setScrubbingContainerSize():(this.toggleThumbContainer(!0),this.setThumbContainerSizeAndPos());var e=this.thumbnails[0].frames.findIndex(function(e){return t.seekTime>=e.startTime&&t.seekTime<=e.endTime}),n=e>=0,i=0;this.toggleThumbContainer(n),n&&(this.thumbnails.forEach(function(n,r){t.loadedImages.includes(n.frames[e].text)&&(i=r)}),e!==this.showingThumb&&(this.showingThumb=e,this.loadImage(i)))}},{key:"loadImage",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=this.showingThumb,i=this.thumbnails[e],r=i.urlPrefix,o=i.frames[n],a=i.frames[n].text,s=r+a;if(this.currentImageElement&&this.currentImageElement.dataset.filename===a)this.showImage(this.currentImageElement,o,e,n,a,!1),this.currentImageElement.dataset.index=n,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);var l=new Image;l.src=s,l.dataset.index=n,l.dataset.filename=a,this.showingThumbFilename=a,this.player.debug.log("Loading image: ".concat(s)),l.onload=function(){return t.showImage(l,o,e,n,a,!0)},this.loadingImage=l,this.removeOldImages(l)}}},{key:"showImage",value:function(t,e,n,i,r){var o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];this.player.debug.log("Showing thumb: ".concat(r,". num: ").concat(i,". qual: ").concat(n,". newimg: ").concat(o)),this.setImageSizeAndOffset(t,e),o&&(this.currentImageContainer.appendChild(t),this.currentImageElement=t,this.loadedImages.includes(r)||this.loadedImages.push(r)),this.preloadNearby(i,!0).then(this.preloadNearby(i,!1)).then(this.getHigherQuality(n,t,e,r))}},{key:"removeOldImages",value:function(t){var e=this;Array.from(this.currentImageContainer.children).forEach(function(n){if("img"===n.tagName.toLowerCase()){var i=e.usingSprites?500:1e3;if(n.dataset.index!==t.dataset.index&&!n.dataset.deleting){n.dataset.deleting=!0;var r=e.currentImageContainer;setTimeout(function(){r.removeChild(n),e.player.debug.log("Removing thumb: ".concat(n.dataset.filename))},i)}}})}},{key:"preloadNearby",value:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new Promise(function(i){setTimeout(function(){var r=e.thumbnails[0].frames[t].text;if(e.showingThumbFilename===r){var o;o=n?e.thumbnails[0].frames.slice(t):e.thumbnails[0].frames.slice(0,t).reverse();var a=!1;o.forEach(function(t){var n=t.text;if(n!==r&&!e.loadedImages.includes(n)){a=!0,e.player.debug.log("Preloading thumb filename: ".concat(n));var o=e.thumbnails[0].urlPrefix+n,s=new Image;s.src=o,s.onload=function(){e.player.debug.log("Preloaded thumb filename: ".concat(n)),e.loadedImages.includes(n)||e.loadedImages.push(n),i()}}}),a||i()}},300)})}},{key:"getHigherQuality",value:function(t,e,n,i){var r=this;if(t0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(n,t),!t&&e&&(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"toggleScrubbingContainer",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(e,t),t||(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"determineContainerAutoSizing",value:function(){this.elements.thumb.imageContainer.clientHeight>20&&(this.sizeSpecifiedInCSS=!0)}},{key:"setThumbContainerSizeAndPos",value:function(){if(!this.sizeSpecifiedInCSS){var t=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);this.elements.thumb.imageContainer.style.height="".concat(this.thumbContainerHeight,"px"),this.elements.thumb.imageContainer.style.width="".concat(t,"px")}this.setThumbContainerPos()}},{key:"setThumbContainerPos",value:function(){var t=this.player.elements.progress.getBoundingClientRect(),e=this.player.elements.container.getBoundingClientRect(),n=this.elements.thumb.container,i=e.left-t.left+10,r=e.right-t.left-n.clientWidth-10,o=this.mousePosX-t.left-n.clientWidth/2;or&&(o=r),n.style.left="".concat(o,"px")}},{key:"setScrubbingContainerSize",value:function(){this.elements.scrubbing.container.style.width="".concat(this.player.media.clientWidth,"px"),this.elements.scrubbing.container.style.height="".concat(this.player.media.clientWidth/this.thumbAspectRatio,"px")}},{key:"setImageSizeAndOffset",value:function(t,e){if(this.usingSprites){var n=this.thumbContainerHeight/e.h;t.style.height="".concat(Math.floor(t.naturalHeight*n),"px"),t.style.width="".concat(Math.floor(t.naturalWidth*n),"px"),t.style.left="-".concat(e.x*n,"px"),t.style.top="-".concat(e.y*n,"px")}}},{key:"enabled",get:function(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}},{key:"currentImageContainer",get:function(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}},{key:"usingSprites",get:function(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}},{key:"thumbAspectRatio",get:function(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}},{key:"thumbContainerHeight",get:function(){return this.mouseDown?Math.floor(this.player.media.clientWidth/this.thumbAspectRatio):Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}},{key:"currentImageElement",get:function(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement},set:function(t){this.mouseDown?this.currentScrubbingImageElement=t:this.currentThumbnailImageElement=t}}]),e}(),Gt={insertElements:function(t,e){var n=this;x.string(e)?I(t,this.media,{src:e}):x.array(e)&&e.forEach(function(e){I(t,n.media,e)})},change:function(t){var e=this;it(t,"sources.length")?(et.cancelRequests.call(this),this.destroy.call(this,function(){e.options.quality=[],N(e.media),e.media=null,x.element(e.elements.container)&&e.elements.container.removeAttribute("class");var n=t.sources,i=t.type,r=o(n,1)[0],a=r.provider,s=void 0===a?xt.html5:a,l=r.src,u="html5"===s?i:"div",c="html5"===s?{}:{src:l};Object.assign(e,{provider:s,type:i,supported:tt.check(i,s,e.config.playsinline),media:M(u,c)}),e.elements.container.appendChild(e.media),x.boolean(t.autoplay)&&(e.config.autoplay=t.autoplay),e.isHTML5&&(e.config.crossorigin&&e.media.setAttribute("crossorigin",""),e.config.autoplay&&e.media.setAttribute("autoplay",""),x.empty(t.poster)||(e.poster=t.poster),e.config.loop.active&&e.media.setAttribute("loop",""),e.config.muted&&e.media.setAttribute("muted",""),e.config.playsinline&&e.media.setAttribute("playsinline","")),Pt.addStyleHook.call(e),e.isHTML5&&Gt.insertElements.call(e,"source",n),e.config.title=t.title,Ut.setup.call(e),e.isHTML5&&Object.keys(t).includes("tracks")&&Gt.insertElements.call(e,"track",t.tracks),(e.isHTML5||e.isEmbed&&!e.supported.ui)&&Pt.build.call(e),e.isHTML5&&e.media.load(),e.previewThumbnails&&e.previewThumbnails.load(),e.fullscreen.update()},!0)):this.debug.warn("Invalid source format")}},qt=function(){function e(n,i){var r=this;if(t(this,e),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=tt.touch,this.media=n,x.string(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||x.nodeList(this.media)||x.array(this.media))&&(this.media=this.media[0]),this.config=rt({},kt,e.defaults,i||{},function(){try{return JSON.parse(r.media.getAttribute("data-plyr-config"))}catch(t){return{}}}()),this.elements={container:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new Ot(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",tt),!x.nullOrUndefined(this.media)&&x.element(this.media))if(this.media.plyr)this.debug.warn("Target already setup");else if(this.config.enabled)if(tt.check().api){var o=this.media.cloneNode(!0);o.autoplay=!1,this.elements.original=o;var a=this.media.tagName.toLowerCase(),s=null,l=null;switch(a){case"div":if(s=this.media.querySelector("iframe"),x.element(s)){if(l=yt(s.getAttribute("src")),this.provider=function(t){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(t)?xt.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(t)?xt.vimeo:null}(l.toString()),this.elements.container=this.media,this.media=s,this.elements.container.className="",l.search.length){var u=["1","true"];u.includes(l.searchParams.get("autoplay"))&&(this.config.autoplay=!0),u.includes(l.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=u.includes(l.searchParams.get("playsinline")),this.config.youtube.hl=l.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(x.empty(this.provider)||!Object.keys(xt).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=Tt.video;break;case"video":case"audio":this.type=a,this.provider=xt.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=tt.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new It(this),this.storage=new dt(this),this.media.plyr=this,x.element(this.elements.container)||(this.elements.container=M("div",{tabindex:0}),B(this.media,this.elements.container)),Pt.addStyleHook.call(this),Ut.setup.call(this),this.config.debug&&O.call(this,this.elements.container,this.config.events.join(" "),function(t){r.debug.log("event: ".concat(t.type))}),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&Pt.build.call(this),this.listeners.container(),this.listeners.global(),this.fullscreen=new At(this),this.config.ads.enabled&&(this.ads=new zt(this)),this.config.autoplay&&this.play(),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new Wt(this))):this.debug.error("Setup failed: no support")}else this.debug.error("Setup failed: no support");else this.debug.error("Setup failed: disabled by config");else this.debug.error("Setup failed: no suitable element passed")}return i(e,[{key:"play",value:function(){var t=this;return x.function(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then(function(){return t.ads.play()}).catch(function(){return t.media.play()}),this.media.play()):null}},{key:"pause",value:function(){this.playing&&x.function(this.media.pause)&&this.media.pause()}},{key:"togglePlay",value:function(t){(x.boolean(t)?t:!this.playing)?this.play():this.pause()}},{key:"stop",value:function(){this.isHTML5?(this.pause(),this.restart()):x.function(this.media.stop)&&this.media.stop()}},{key:"restart",value:function(){this.currentTime=0}},{key:"rewind",value:function(t){this.currentTime=this.currentTime-(x.number(t)?t:this.config.seekTime)}},{key:"forward",value:function(t){this.currentTime=this.currentTime+(x.number(t)?t:this.config.seekTime)}},{key:"increaseVolume",value:function(t){var e=this.media.muted?0:this.volume;this.volume=e+(x.number(t)?t:0)}},{key:"decreaseVolume",value:function(t){this.increaseVolume(-t)}},{key:"toggleCaptions",value:function(t){_t.toggle.call(this,t,!1)}},{key:"airplay",value:function(){tt.airplay&&this.media.webkitShowPlaybackTargetPicker()}},{key:"toggleControls",value:function(t){if(this.supported.ui&&!this.isAudio){var e=H(this.elements.container,this.config.classNames.hideControls),n=void 0===t?void 0:!t,i=R(this.elements.container,this.config.classNames.hideControls,n);if(i&&this.config.controls.includes("settings")&&!x.empty(this.config.settings)&&bt.toggleMenu.call(this,!1),i!==e){var r=i?"controlshidden":"controlsshown";A.call(this,this.media,r)}return!i}return!1}},{key:"on",value:function(t,e){O.call(this,this.elements.container,t,e)}},{key:"once",value:function(t,e){E.call(this,this.elements.container,t,e)}},{key:"off",value:function(t,e){$(this.elements.container,t,e)}},{key:"destroy",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.ready){var i=function(){document.body.style.overflow="",e.embed=null,n?(Object.keys(e.elements).length&&(N(e.elements.buttons.play),N(e.elements.captions),N(e.elements.controls),N(e.elements.wrapper),e.elements.buttons.play=null,e.elements.captions=null,e.elements.controls=null,e.elements.wrapper=null),x.function(t)&&t()):(function(){this&&this.eventListeners&&(this.eventListeners.forEach(function(t){var e=t.element,n=t.type,i=t.callback,r=t.options;e.removeEventListener(n,i,r)}),this.eventListeners=[])}.call(e),L(e.elements.original,e.elements.container),A.call(e,e.elements.original,"destroyed",!0),x.function(t)&&t.call(e.elements.original),e.ready=!1,setTimeout(function(){e.elements=null,e.media=null},200))};this.stop(),this.isHTML5?(clearTimeout(this.timers.loading),Pt.toggleNativeControls.call(this,!0),i()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&x.function(this.embed.destroy)&&this.embed.destroy(),i()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(i),setTimeout(i,200))}}},{key:"supports",value:function(t){return tt.mime.call(this,t)}},{key:"isHTML5",get:function(){return Boolean(this.provider===xt.html5)}},{key:"isEmbed",get:function(){return Boolean(this.isYouTube||this.isVimeo)}},{key:"isYouTube",get:function(){return Boolean(this.provider===xt.youtube)}},{key:"isVimeo",get:function(){return Boolean(this.provider===xt.vimeo)}},{key:"isVideo",get:function(){return Boolean(this.type===Tt.video)}},{key:"isAudio",get:function(){return Boolean(this.type===Tt.audio)}},{key:"playing",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:"paused",get:function(){return Boolean(this.media.paused)}},{key:"stopped",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:"ended",get:function(){return Boolean(this.media.ended)}},{key:"currentTime",set:function(t){if(this.duration){var e=x.number(t)&&t>0;this.media.currentTime=e?Math.min(t,this.duration):0,this.debug.log("Seeking to ".concat(this.currentTime," seconds"))}},get:function(){return Number(this.media.currentTime)}},{key:"buffered",get:function(){var t=this.media.buffered;return x.number(t)?t:t&&t.length&&this.duration>0?t.end(0)/this.duration:0}},{key:"seeking",get:function(){return Boolean(this.media.seeking)}},{key:"duration",get:function(){var t=parseFloat(this.config.duration),e=(this.media||{}).duration,n=x.number(e)&&e!==1/0?e:0;return t||n}},{key:"volume",set:function(t){var e=t;x.string(e)&&(e=Number(e)),x.number(e)||(e=this.storage.get("volume")),x.number(e)||(e=this.config.volume),e>1&&(e=1),e<0&&(e=0),this.config.volume=e,this.media.volume=e,!x.empty(t)&&this.muted&&e>0&&(this.muted=!1)},get:function(){return Number(this.media.volume)}},{key:"muted",set:function(t){var e=t;x.boolean(e)||(e=this.storage.get("muted")),x.boolean(e)||(e=this.config.muted),this.config.muted=e,this.media.muted=e},get:function(){return Boolean(this.media.muted)}},{key:"hasAudio",get:function(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}},{key:"speed",set:function(t){var e=null;x.number(t)&&(e=t),x.number(e)||(e=this.storage.get("speed")),x.number(e)||(e=this.config.speed.selected),e<.1&&(e=.1),e>2&&(e=2),this.config.speed.options.includes(e)?(this.config.speed.selected=e,this.media.playbackRate=e):this.debug.warn("Unsupported speed (".concat(e,")"))},get:function(){return Number(this.media.playbackRate)}},{key:"quality",set:function(t){var e=this.config.quality,n=this.options.quality;if(n.length){var i=[!x.empty(t)&&Number(t),this.storage.get("quality"),e.selected,e.default].find(x.number),r=!0;if(!n.includes(i)){var o=function(t,e){return x.array(t)&&t.length?t.reduce(function(t,n){return Math.abs(n-e)1&&void 0!==arguments[1]?arguments[1]:{},i=null;return x.string(t)?i=Array.from(document.querySelectorAll(t)):x.nodeList(t)?i=Array.from(t):x.array(t)&&(i=t.filter(x.element)),x.empty(i)?null:i.map(function(t){return new e(t,n)})}}]),e}();return qt.defaults=(Ht=kt,JSON.parse(JSON.stringify(Ht))),qt}())}).call(this,n("yLpj"))},THR5:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r=n("vhGO"),o=n("FSAk");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 s={fluid:{type:Boolean,default:!1},containerFluid:{type:Boolean,default:!1},header:{type:String,default:null},headerHtml:{type:String,default:null},headerTag:{type:String,default:"h1"},headerLevel:{type:[Number,String],default:"3"},lead:{type:String,default:null},leadHtml:{type:String,default:null},leadTag:{type:String,default:"p"},tag:{type:String,default:"div"},bgVariant:{type:String,default:null},borderVariant:{type:String,default:null},textVariant:{type:String,default:null}};e.props=s;var l={name:"BJumbotron",functional:!0,props:s,render:function(t,e){var n,s=e.props,l=e.data,u=[],c=(0,e.slots)();return(s.header||c.header||s.headerHtml)&&u.push(t(s.headerTag,{class:a({},"display-".concat(s.headerLevel),Boolean(s.headerLevel))},c.header||s.headerHtml||(0,r.stripTags)(s.header))),(s.lead||c.lead||s.leadHtml)&&u.push(t(s.leadTag,{staticClass:"lead"},c.lead||s.leadHtml||(0,r.stripTags)(s.lead))),c.default&&u.push(c.default),s.fluid&&(u=[t(o.default,{props:{fluid:s.containerFluid}},u)]),t(s.tag,(0,i.mergeData)(l,{staticClass:"jumbotron",class:(n={"jumbotron-fluid":s.fluid},a(n,"text-".concat(s.textVariant),Boolean(s.textVariant)),a(n,"bg-".concat(s.bgVariant),Boolean(s.bgVariant)),a(n,"border-".concat(s.borderVariant),Boolean(s.borderVariant)),a(n,"border",Boolean(s.borderVariant)),n)}),u)}};e.default=l},THbz:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49");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}var o='';var a={src:{type:String,default:null},alt:{type:String,default:null},width:{type:[Number,String],default:null},height:{type:[Number,String],default:null},block:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},fluidGrow:{type:Boolean,default:!1},rounded:{type:[Boolean,String],default:!1},thumbnail:{type:Boolean,default:!1},left:{type:Boolean,default:!1},right:{type:Boolean,default:!1},center:{type:Boolean,default:!1},blank:{type:Boolean,default:!1},blankColor:{type:String,default:"transparent"}};e.props=a;var s={name:"BImg",functional:!0,props:a,render:function(t,e){var n,a=e.props,s=e.data,l=a.src,u=parseInt(a.width,10)?parseInt(a.width,10):null,c=parseInt(a.height,10)?parseInt(a.height,10):null,d=null,f=a.block;return a.blank&&(!c&&Boolean(u)?c=u:!u&&Boolean(c)&&(u=c),u||c||(u=1,c=1),l=function(t,e,n){var i=encodeURIComponent(o.replace("%{w}",String(t)).replace("%{h}",String(e)).replace("%{f}",n));return"data:image/svg+xml;charset=UTF-8,".concat(i)}(u,c,a.blankColor||"transparent")),a.left?d="float-left":a.right?d="float-right":a.center&&(d="mx-auto",f=!0),t("img",(0,i.mergeData)(s,{attrs:{src:l,alt:a.alt,width:u?String(u):null,height:c?String(c):null},class:(n={"img-thumbnail":a.thumbnail,"img-fluid":a.fluid||a.fluidGrow,"w-100":a.fluidGrow,rounded:""===a.rounded||!0===a.rounded},r(n,"rounded-".concat(a.rounded),"string"==typeof a.rounded&&""!==a.rounded),r(n,d,Boolean(d)),r(n,"d-block",f),n)}))}};e.default=s},TQCW:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={tag:{type:String,default:"ul"},fill:{type:Boolean,default:!1},justified:{type:Boolean,default:!1}};e.props=r;var o={name:"BNavbarNav",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data,o=e.children;return t(n.tag,(0,i.mergeData)(r,{staticClass:"navbar-nav",class:{"nav-fill":n.fill,"nav-justified":n.justified}}),o)}};e.default=o},TkDH:function(t,e,n){"use strict";e.__esModule=!0,e.propsFactory=u,e.pickLinkProps=function(t){var e=u();return t=(0,r.concat)(t),(0,i.keys)(e).reduce(function(n,i){return(0,r.arrayIncludes)(t,i)&&(n[i]=e[i]),n},{})},e.omitLinkProps=function(t){var e=u();return t=(0,r.concat)(t),(0,i.keys)(c).reduce(function(n,i){return(0,r.arrayIncludes)(t,i)||(n[i]=e[i]),n},{})},e.default=e.computed=e.props=void 0;var i=n("JOL4"),r=n("uy80"),o=n("tC49");function a(t){for(var e=1;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"))},UnlZ:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("tC49"),r=n("EtPW"),o={name:"BBreadcrumbItem",functional:!0,props:r.props,render:function(t,e){var n=e.props,o=e.data,a=e.children;return t("li",(0,i.mergeData)(o,{staticClass:"breadcrumb-item",class:{active:n.active},attrs:{role:"presentation"}}),[t(r.default,{props:n},a)])}};e.default=o},"Us+F":function(t,e,n){var i=n("LZbM"),r=n("6DAA");t.exports={distanceInWords:i(),format:r()}},V2Tl:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("8L3F"),r=n("2qjF"),o=n("JOL4"),a=n("k+DF");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}function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u="undefined"!=typeof window&&"undefined"!=typeof document,c="__BV_PopOver__",d={focus:!0,hover:!0,click:!0,blur:!0};function f(t){var e={};"string"==typeof t.value?e.content=t.value:"function"==typeof t.value?e.content=t.value:"object"===l(t.value)&&(e=function(t){for(var e=1;e=0&&c.splice(e,1)}function v(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 g(e,t.attrs),h(t,e),e}function g(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function b(t,e){var n,i,r,o;if(e.transform&&t.css){if(!(o="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=o}if(e.singleton){var a=u++;n=l||(l=v(e)),i=_.bind(null,n,a,!1),r=_.bind(null,n,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),h(t,e),e}(e),i=function(t,e,n){var i=n.css,r=n.sourceMap,o=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||o)&&(i=d(i));r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([i],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,e),r=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(e),i=function(t,e){var n=e.css,i=e.media;i&&t.setAttribute("media",i);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){m(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=p(t,e);return f(n,e),function(t){for(var i=[],r=0;r
"].join("\n"),suggestion:function(t){var e=!1;switch(t.type){case"hashtag":e='

'+t.value+'

'+t.count+" posts

";break;case"profile":e='

'+t.name+'

'+t.value+"

";break;case"status":e='

'+t.name+'

'+t.value+"

";break;default:e=!1}if(!1!==e)return e}}})})},"/zX4":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("6uA0"),r=n("Rhxi"),o=n("Xwe6"),a=n("bhsD"),s=n("QftK"),l=n("N3zd"),u=n("uy80"),c=n("vhGO");function d(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;return"".concat(e).concat((0,o.default)(t))}),w=b.reduce(function(t,e){return t[y(e,"labelCols")]={type:[Number,String,Boolean],default:!e&&null},t},(0,c.create)(null)),_=b.reduce(function(t,e){return t[y(e,"labelAlign")]={type:String,default:null},t},(0,c.create)(null));function k(t,e){var n=e.$slots["invalid-feedback"]||e.invalidFeedback,i=t(!1);return n&&(i=t("b-form-invalid-feedback",{props:{id:e.invalidFeedbackId,state:e.computedState,tooltip:e.tooltip},attrs:{tabindex:n?"-1":null,role:"alert","aria-live":"assertive","aria-atomic":"true"}},[n])),i}function C(t,e){var n=e.$slots["valid-feedback"]||e.validFeedback,i=t(!1);return n&&(i=t("b-form-valid-feedback",{props:{id:e.validFeedbackId,state:e.computedState,tooltip:e.tooltip},attrs:{tabindex:"-1",role:"alert","aria-live":"assertive","aria-atomic":"true"}},[n])),i}function x(t,e){var n=e.$slots.description||e.description,i=t(!1);return n&&(i=t("b-form-text",{attrs:{id:e.descriptionId,tabindex:"-1"}},[n])),i}var T={name:"BFormGroup",components:{BFormRow:d.default,BCol:f.default,BFormInvalidFeedback:h.default,BFormValidFeedback:m.default,BFormText:p.default},mixins:[i.default,r.default],props:v({label:{type:String,default:null},labelFor:{type:String,default:null},labelSize:{type:String,default:null},labelSrOnly:{type:Boolean,default:!1},labelClass:{type:[String,Array,Object],default:null},description:{type:String,default:null},invalidFeedback:{type:String,default:null},validFeedback:{type:String,default:null},tooltip:{type:Boolean,default:!1},validated:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},w,_,{horizontal:{type:Boolean,default:!1},breakpoint:{type:String,default:null}}),computed:{labelColProps:function(){var t=this,e={};if(this.horizontal){(0,s.default)("b-form-group: Props 'horizontal' and 'breakpoint' are deprecated. Use 'label-cols(-{breakpoint})' props instead.");var n=this.breakpoint||"sm",i=parseInt(this.labelCols,10)||3;return e[n]=i>0?i:3,e}return b.forEach(function(n){var i=t[y(n,"labelCols")];("boolean"!=typeof(i=""===i||(i||!1))&&(i=(i=parseInt(i,10)||0)>0&&i),i)&&(e[n||("boolean"==typeof i?"col":"cols")]=i)}),e},labelAlignClasses:function(){var t=this,e=[];return b.forEach(function(n){var i=t[y(n,"labelAlign")]||null;if(i){var r=n?"text-".concat(n,"-").concat(i):"text-".concat(i);e.push(r)}}),e},isHorizontal:function(){return(0,c.keys)(this.labelColProps).length>0},labelId:function(){return this.$slots.label||this.label?this.safeId("_BV_label_"):null},descriptionId:function(){return this.$slots.description||this.description?this.safeId("_BV_description_"):null},hasInvalidFeedback:function(){var t=this.$slots;return!1===this.computedState&&(t["invalid-feedback"]||this.invalidFeedback)},invalidFeedbackId:function(){return this.hasInvalidFeedback?this.safeId("_BV_feedback_invalid_"):null},hasValidFeedback:function(){return!0===this.computedState&&(this.$slots["valid-feedback"]||this.validFeedback)},validFeedbackId:function(){return this.hasValidFeedback?this.safeId("_BV_feedback_valid_"):null},describedByIds:function(){return[this.descriptionId,this.invalidFeedbackId,this.validFeedbackId].filter(function(t){return t}).join(" ")||null}},watch:{describedByIds:function(t,e){t!==e&&this.setInputDescribedBy(t,e)}},mounted:function(){var t=this;this.$nextTick(function(){t.setInputDescribedBy(t.describedByIds)})},methods:{legendClick:function(t){if(!this.labelFor){var e=t.target?t.target.tagName:"";if(!/^(input|select|textarea|label|button|a)$/i.test(e)){var n=(0,l.selectAll)("input:not(:disabled),textarea:not(:disabled),select:not(:disabled)",this.$refs.content).filter(l.isVisible);n&&1===n.length&&n[0].focus&&n[0].focus()}}},setInputDescribedBy:function(t,e){if(this.labelFor&&"undefined"!=typeof document){var n=(0,l.select)("#".concat(this.labelFor),this.$refs.content);if(n){var i="aria-describedby",r=((0,l.getAttr)(n,i)||"").split(/\s+/);e=(e||"").split(/\s+/),(r=r.filter(function(t){return!(0,u.arrayIncludes)(e,t)}).concat(t||"").join(" ").trim())?(0,l.setAttr)(n,i,r):(0,l.removeAttr)(n,i)}}}},render:function(t){var e=!this.labelFor,n=this.isHorizontal,i=function(t,e){var n=e.$slots.label||e.label,i=e.labelFor,r=!i,o=e.isHorizontal,a=r?"legend":"label";if(n||o){if(e.labelSrOnly){var s=t(!1);return n&&(s=t(a,{class:"sr-only",attrs:{id:e.labelId,for:i||null}},[n])),t(o?"b-col":"div",{props:o?e.labelColProps:{}},[s])}return t(o?"b-col":a,{on:r?{click:e.legendClick}:{},props:o?v({tag:a},e.labelColProps):{},attrs:{id:e.labelId,for:i||null,tabindex:r?"-1":null},class:[o||r?"col-form-label":"",!o&&r?"pt-0":"",o||r?"":"d-block",e.labelSize?"col-form-label-".concat(e.labelSize):"",e.labelAlignClasses,e.labelClass]},[n])}return t(!1)}(t,this),r=t(n?"b-col":"div",{ref:"content",attrs:{tabindex:e?"-1":null,role:e?"group":null,"aria-labelledby":e?this.labelId:null,"aria-describedby":e?this.ariaDescribedBy:null}},[this.$slots.default||t(!1),k(t,this),C(t,this),x(t,this)]);return t(e?"fieldset":n?"b-form-row":"div",{staticClass:"form-group",class:[this.validated?"was-validated":null,this.stateClass],attrs:{id:this.safeId(),disabled:e?this.disabled:null,role:e?null:"group","aria-invalid":!1===this.computedState?"true":null,"aria-labelledby":this.labelId||null,"aria-describedby":this.describedByIds||null}},n&&e?[t("b-form-row",{},[i,r])]:[i,r])}};e.default=T},"0ked":function(t,e,n){"use strict";var i=n("RcfF");n.n(i).a},"1Fl4":function(t,e){$(document).ready(function(){pixelfed.create={},pixelfed.filters={},pixelfed.create.hasGeneratedSelect=!1,pixelfed.create.selectedFilter=!1,pixelfed.create.currentFilterName=!1,pixelfed.create.currentFilterClass=!1,pixelfed.filters.list=[["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"]],$(document).on("change","#fileInput",function(){!function(t){if(t.files&&t.files[0]){var e=new FileReader;e.onload=function(t){$(".filterPreview").attr("src",t.target.result)},e.readAsDataURL(t.files[0])}}(this),$("#statusForm .form-filters.d-none").removeClass("d-none"),$("#statusForm .form-preview.d-none").removeClass("d-none"),$("#statusForm #collapsePreview").collapse("show"),pixelfed.create.hasGeneratedSelect||function(){for(var t=pixelfed.filters.list,e=0,n=t.length;e'+r+"";$("#filterSelectDropdown").append(o)}pixelfed.create.hasGeneratedSelect=!0}()}),$(document).on("change","#filterSelectDropdown",function(){var t=$(this),e=t.val(),n=pixelfed.create.currentFilterClass;return"none"==e?($("input[name=filter_class]").val(""),$("input[name=filter_name]").val(""),$(".filterContainer").removeClass(n),pixelfed.create.currentFilterClass=!1,pixelfed.create.currentFilterName="None",void $(".form-group.form-preview .form-text").text("Current Filter: No filter selected")):($(".filterContainer").removeClass(n).addClass(e),pixelfed.create.currentFilterClass=e,pixelfed.create.currentFilterName=t.find(":selected").text(),$(".form-group.form-preview .form-text").text("Current Filter: "+pixelfed.create.currentFilterName),$("input[name=filter_class]").val(pixelfed.create.currentFilterClass),void $("input[name=filter_name]").val(pixelfed.create.currentFilterName))}),$(document).on("keyup keydown","#statusForm textarea[name=caption]",function(){var t=$(this),e=t.val().length,n=t.data("limit");if(e>n){var i=n-e;$("#statusForm .caption-counter").text(i).addClass("text-danger")}else $("#statusForm .caption-counter").text(e).removeClass("text-danger")}),$(document).on("focus","#statusForm textarea[name=caption]",function(){$(this).attr("rows","3")})})},"1Kka":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("pZYj"),r=n("Co2t"),o={bToggle:i.default},a={install:function(t){(0,r.registerDirectives)(t,o)}};e.default=a},"1XqM":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("v5yc"),r=n("k+DF"),o=n("FhHd");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}function s(t,e){for(var n=0;n=n){var i=this.$targets[this.$targets.length-1];this.$activeTarget!==i&&this.activate(i)}else{if(this.$activeTarget&&t0)return this.$activeTarget=null,void this.clear();for(var r=this.$offsets.length;r--;){this.$activeTarget!==this.$targets[r]&&t>=this.$offsets[r]&&(void 0===this.$offsets[r+1]||t0&&this.$root&&this.$root.$emit("bv::scrollspy::activate",t,n)}},{key:"clear",value:function(){var t=this;(0,o.selectAll)("".concat(this.$selector,", ").concat(f.NAV_ITEMS),this.$el).filter(function(t){return(0,o.hasClass)(t,d)}).forEach(function(e){return t.setActiveState(e,!1)})}},{key:"setActiveState",value:function(t,e){t&&(e?(0,o.addClass)(t,d):(0,o.removeClass)(t,d))}}])&&s(e.prototype,n),b&&s(e,b),t}();e.default=b},"1nAq":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("V2Tl"),r=n("Co2t"),o={bPopover:i.default},a={install:function(t){(0,r.registerDirectives)(t,o)}};e.default=a},"1x2j":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("O6/D"),r=n("e2OV"),o=n("el6I"),a=n("Co2t"),s={BMedia:i.default,BMediaAside:r.default,BMediaBody:o.default},l={install:function(t){(0,a.registerComponents)(t,s)}};e.default=l},2:function(t,e,n){t.exports=n("9rzN")},"22PT":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;e.default=function(t){return Array.apply(null,{length:t})}},"2Jpm":function(t,e,n){"use strict";n.r(e);var i={props:["status"]},r=n("KHd+"),o=Object(r.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("div",{staticClass:"embed-responsive embed-responsive-16by9"},[n("video",{staticClass:"video",attrs:{preload:"none",controls:"",loop:""}},[n("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])])]):n("div",{staticClass:"embed-responsive embed-responsive-16by9"},[n("video",{staticClass:"video",attrs:{preload:"none",controls:"",loop:""}},[n("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},[],!1,null,null,null);e.default=o.exports},"2qjF":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("Fq4B"),r=n("FhHd");function o(t){return(o="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,e){for(var n=0;n

'}),p="fade",h="show",m=".popover-header",v=".popover-body",g=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,l(e).apply(this,arguments))}var n,c,g;return 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&&u(t,e)}(e,i.default),n=e,g=[{key:"Default",get:function(){return f}},{key:"NAME",get:function(){return"popover"}}],(c=[{key:"isWithContent",value:function(t){if(!(t=t||this.$tip))return!1;var e=Boolean(((0,r.select)(m,t)||{}).innerHTML),n=Boolean(((0,r.select)(v,t)||{}).innerHTML);return e||n}},{key:"addAttachmentClass",value:function(t){(0,r.addClass)(this.getTipElement(),"".concat("bs-popover","-").concat(t))}},{key:"setContent",value:function(t){this.setElementContent((0,r.select)(m,t),this.getTitle()),this.setElementContent((0,r.select)(v,t),this.getContent()),(0,r.removeClass)(t,p),(0,r.removeClass)(t,h)}},{key:"cleanTipClass",value:function(){var t=this.getTipElement(),e=t.className.match(d);null!==e&&e.length>0&&e.forEach(function(e){(0,r.removeClass)(t,e)})}},{key:"getTitle",value:function(){var t=this.$config.title||"";return"function"==typeof t&&(t=t(this.$element)),"object"===o(t)&&t.nodeType&&!t.innerHTML.trim()&&(t=""),"string"==typeof t&&(t=t.trim()),t||(t=(t=(0,r.getAttr)(this.$element,"title")||(0,r.getAttr)(this.$element,"data-original-title")||"").trim()),t}},{key:"getContent",value:function(){var t=this.$config.content||"";return"function"==typeof t&&(t=t(this.$element)),"object"===o(t)&&t.nodeType&&!t.innerHTML.trim()&&(t=""),"string"==typeof t&&(t=t.trim()),t}}])&&a(n.prototype,c),g&&a(n,g),e}();e.default=g},"33Rj":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={tag:{type:String,default:"div"}};e.props=r;var o={name:"BInputGroupText",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data,o=e.children;return t(n.tag,(0,i.mergeData)(r,{staticClass:"input-group-text"}),o)}};e.default=o},"4QkM":function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){return t+(0,i.default)(e)};var i=n("VUAv")},"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)}},"4U64":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("vhGO"),r=n("6uA0"),o=n("wZDz"),a={name:"BDropdown",components:{BButton:n("tmQd").default},mixins:[r.default,o.default],props:{toggleText:{type:String,default:"Toggle Dropdown"},size:{type:String,default:null},variant:{type:String,default:null},menuClass:{type:[String,Array],default:null},toggleTag:{type:String,default:"button"},toggleClass:{type:[String,Array],default:null},noCaret:{type:Boolean,default:!1},split:{type:Boolean,default:!1},splitHref:{type:String},splitTo:{type:[String,Object]},splitVariant:{type:String,default:null},role:{type:String,default:"menu"},boundary:{type:[String,Object],default:"scrollParent"}},computed:{dropdownClasses:function(){var t="scrollParent"!==this.boundary||!this.boundary,e="";return this.dropup?e="dropup":this.dropright?e="dropright":this.dropleft&&(e="dropleft"),["btn-group","b-dropdown","dropdown",e,{show:this.visible,"position-static":t}]},menuClasses:function(){return["dropdown-menu",{"dropdown-menu-right":this.right,show:this.visible},this.menuClass]},toggleClasses:function(){return["dropdown-toggle",{"dropdown-toggle-split":this.split,"dropdown-toggle-no-caret":this.noCaret&&!this.split},this.toggleClass]}},render:function(t){var e=t(!1);if(this.split){var n={disabled:this.disabled,variant:this.splitVariant||this.variant,size:this.size};this.splitTo&&(n.to=this.splitTo),this.splitHref&&(n.href=this.splitHref),e=t("b-button",{ref:"button",props:n,attrs:{id:this.safeId("_BV_button_")},on:{click:this.click}},[this.$slots["button-content"]||this.$slots.text||this.html||(0,i.stripTags)(this.text)])}var r=t("b-button",{ref:"toggle",class:this.toggleClasses,props:{variant:this.variant,size:this.size,disabled:this.disabled,tag:this.toggleTag},attrs:{id:this.safeId("_BV_toggle_"),"aria-haspopup":"true","aria-expanded":this.visible?"true":"false"},on:{click:this.toggle,keydown:this.toggle}},[this.split?t("span",{class:["sr-only"]},[this.toggleText]):this.$slots["button-content"]||this.$slots.text||this.html||(0,i.stripTags)(this.text)]),o=t("div",{ref:"menu",class:this.menuClasses,attrs:{role:this.role,tabindex:"-1","aria-labelledby":this.safeId(this.split?"_BV_button_":"_BV_toggle_")},on:{mouseover:this.onMouseOver,keydown:this.onKeydown}},[this.$slots.default]);return t("div",{attrs:{id:this.safeId()},class:this.dropdownClasses},[e,r,o])}};e.default=a},"4Wae":function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.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 r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));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)("09280948",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)("65938a1f",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]||"",r=t[3];if(!r)return i;if(e&&"function"==typeof btoa){var o=(n=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[i].concat(a).concat([o]).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={},r=0;rn.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;r',"\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
\n ...\n \x3c!-- set force-use-infinite-wrapper --\x3e\n \n
\nor\n
\n ...\n \x3c!-- set force-use-infinite-wrapper as css selector of the real scroll wrapper --\x3e\n \n
\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"},u={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:o,ERRORS:a,STATUS:s},c=n(4),d=n.n(c),f={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 p(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),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__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}var h=p({name:"Spinner",computed:{spinnerView:function(){return f[(this.$attrs.spinner||"").toUpperCase()]||this.spinnerInConfig},spinnerInConfig:function(){return u.slots.spinner&&"string"==typeof u.slots.spinner?{render:function(){return this._v(u.slots.spinner)}}:"object"===d()(u.slots.spinner)?u.slots.spinner:f[u.props.spinner.toUpperCase()]||f.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);h.options.__file="Spinner.vue";var m=h.exports;function v(t){"production"!==u.mode&&console.warn("[Vue-infinite-loading warn]: ".concat(t))}var g={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()},u.system.throttleLimit)))},reset:function(){this.timers.forEach(function(t){clearTimeout(t)}),this.timers.length=0,this.caches=[]}},b={isChecked:!1,timer:null,times:0,track:function(){var t=this;this.times+=1,clearTimeout(this.timer),this.timer=setTimeout(function(){t.isChecked=!0},u.system.loopCheckTimeout),this.times>u.system.loopCheckMaxCalls&&(function(t){console.error("[Vue-infinite-loading error]: ".concat(t))}(a.INFINITE_LOOP),this.isChecked=!0)}},y={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 w(t){return t.offsetWidth+t.offsetHeight>0}var _=p({name:"InfiniteLoading",data:function(){return{scrollParent:null,scrollHandler:null,isFirstLoad:!0,status:s.READY,slots:u.slots}},components:{Spinner:m},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(u.slots).forEach(function(n){var i=function(t){return t.replace(/[A-Z]/g,function(t){return"-".concat(t.toLowerCase())})}(n);(!t.$slots[i]&&!u.slots[n].render||t.$slots[i]&&!t.$slots[i][0].tag)&&(e[n]=l)}),e}},props:{distance:{type:Number,default:u.props.distance},spinner:String,direction:{type:String,default:"bottom"},forceUseInfiniteWrapper:{type:[Boolean,String],default:u.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(t){this.status===s.READY&&(t&&t.constructor===Event&&w(this.$el)?g.throttle(this.attemptLoad):this.attemptLoad())}.bind(this),setTimeout(this.scrollHandler,1),this.scrollParent.addEventListener("scroll",this.scrollHandler,r),this.$on("$InfiniteLoading:loaded",function(e){t.isFirstLoad=!1,"top"===t.direction&&t.$nextTick(function(){y.restore(t.scrollParent)}),t.status===s.LOADING&&t.$nextTick(t.attemptLoad.bind(null,!0)),e&&e.target===t||v(o.STATE_CHANGER)}),this.$on("$InfiniteLoading:complete",function(e){t.status=s.COMPLETE,t.$nextTick(function(){t.$forceUpdate()}),t.scrollParent.removeEventListener("scroll",t.scrollHandler,r),e&&e.target===t||v(o.STATE_CHANGER)}),this.$on("$InfiniteLoading:reset",function(e){t.status=s.READY,t.isFirstLoad=!0,y.remove(t.scrollParent),t.scrollParent.addEventListener("scroll",t.scrollHandler,r),setTimeout(function(){g.reset(),t.scrollHandler()},1),e&&e.target===t||v(o.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,g.reset()}},this.onInfinite&&v(o.INFINITE_EVENT)},deactivated:function(){this.status===s.LOADING&&(this.status=s.READY),this.scrollParent.removeEventListener("scroll",this.scrollHandler,r)},activated:function(){this.scrollParent.addEventListener("scroll",this.scrollHandler,r)},methods:{attemptLoad:function(t){var e=this;this.status!==s.COMPLETE&&w(this.$el)&&this.getCurrentDistance()<=this.distance?(this.status=s.LOADING,"top"===this.direction&&this.$nextTick(function(){y.save(e.scrollParent)}),"function"==typeof this.onInfinite?this.onInfinite.call(null,this.stateChanger):this.$emit("infinite",this.stateChanger),!t||this.forceUseInfiniteWrapper||b.isChecked||b.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=e.querySelector(this.forceUseInfiniteWrapper)),t||("BODY"===e.tagName?t=window:!this.forceUseInfiniteWrapper&&["scroll","auto"].indexOf(getComputedStyle(e).overflowY)>-1?t=e:(e.hasAttribute("infinite-wrapper")||e.hasAttribute("data-infinite-wrapper"))&&(t=e)),t||this.getScrollParent(e.parentNode)}},destroyed:function(){!this.status!==s.COMPLETE&&(g.reset(),y.remove(this.scrollParent),this.scrollParent.removeEventListener("scroll",this.scrollHandler,r))}},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)},"358985eb",null);_.options.__file="InfiniteLoading.vue";var k=_.exports;function C(t){u.mode=t.config.productionTip?"development":"production"}Object.defineProperty(k,"install",{configurable:!1,enumerable:!1,value:function(t,e){Object.assign(u.props,e&&e.props),Object.assign(u.slots,e&&e.slots),Object.assign(u.system,e&&e.system),t.component("infinite-loading",k),C(t)}}),"undefined"!=typeof window&&window.Vue&&(window.Vue.component("infinite-loading",k),C(window.Vue)),e.default=k}])},"4ah+":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49");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}var o={tag:{type:String,default:"nav"},type:{type:String,default:"light"},variant:{type:String},toggleable:{type:[Boolean,String],default:!1},fixed:{type:String},sticky:{type:Boolean,default:!1},print:{type:Boolean,default:!1}};e.props=o;var a={name:"BNavbar",functional:!0,props:o,render:function(t,e){var n,o=e.props,a=e.data,s=e.children,l="";return o.toggleable&&"string"==typeof o.toggleable&&"xs"!==o.toggleable?l="navbar-expand-".concat(o.toggleable):!1===o.toggleable&&(l="navbar-expand"),t(o.tag,(0,i.mergeData)(a,{staticClass:"navbar",class:(n={"d-print":o.print,"sticky-top":o.sticky},r(n,"navbar-".concat(o.type),Boolean(o.type)),r(n,"bg-".concat(o.variant),Boolean(o.variant)),r(n,"fixed-".concat(o.fixed),Boolean(o.fixed)),r(n,"".concat(l),Boolean(l)),n),attrs:{role:"nav"===o.tag?null:"navigation"}}),s)}};e.default=a},"4zuO":function(t,e){$(document).ready(function(){$(".status-card > .card-footer").each(function(){$(this).addClass("d-none")}),$(document).on("click",".status-comment-focus",function(t){$(this).parents().eq(2).find(".card-footer").removeClass("d-none"),$(this).parents().eq(2).find('input[name="comment"]').focus()}),$(document).on("submit",".comment-form",function(t,e){t.preventDefault();var n=$(this),i=n.data("id"),r=n.find('input[name="comment"]'),o={item:i,comment:r.val()};r.prop("disabled",!0),axios.post("/i/comment",o).then(function(t){var e=t.data.username,i=(t.data.url,t.data.profile),o=t.data.comment;if(1==$(".status-container").length)var a=n.parents().eq(3).find(".comments");else a=n.parents().eq(1).find(".comments");var s='

'+e+''+o+"

";a.prepend(s),r.val(""),r.blur(),r.prop("disabled",!1)}).catch(function(t){})})})},"54Wo":function(t,e,n){var i=n("yNUO");t.exports=function(t,e){var n=i(t),r=i(e);return n.getTime()-r.getTime()}},"5JIG":function(t,e){window.ls={},window.ls.get=function(t){return JSON.parse(localStorage.getItem(t))},window.ls.set=function(t,e){try{return localStorage.setItem(t,JSON.stringify(e)),!0}catch(t){return!1}},window.ls.del=function(t){try{return localStorage.removeItem(t),!0}catch(t){return!1}},window.ls.clear=function(){try{return localStorage.clear(),!0}catch(t){return!1}}},"5MXG":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("7bze"),r=n("FhHd"),o={passive:!0,capture:!1},a={name:"BCollapse",mixins:[i.default],model:{prop:"visible",event:"input"},props:{id:{type:String,required:!0},isNav:{type:Boolean,default:!1},accordion:{type:String,default:null},visible:{type:Boolean,default:!1},tag:{type:String,default:"div"}},data:function(){return{show:this.visible,transitioning:!1}},computed:{classObject:function(){return{"navbar-collapse":this.isNav,collapse:!this.transitioning,show:this.show&&!this.transitioning}}},watch:{visible:function(t){t!==this.show&&(this.show=t)},show:function(t,e){t!==e&&this.emitState()}},created:function(){this.listenOnRoot("bv::toggle::collapse",this.handleToggleEvt),this.listenOnRoot("bv::collapse::accordion",this.handleAccordionEvt)},mounted:function(){this.isNav&&"undefined"!=typeof document&&((0,r.eventOn)(window,"resize",this.handleResize,o),(0,r.eventOn)(window,"orientationchange",this.handleResize,o),this.handleResize()),this.emitState()},updated:function(){this.$root.$emit("bv::collapse::state",this.id,this.show)},beforeDestroy:function(){this.isNav&&"undefined"!=typeof document&&((0,r.eventOff)(window,"resize",this.handleResize,o),(0,r.eventOff)(window,"orientationchange",this.handleResize,o))},methods:{toggle:function(){this.show=!this.show},onEnter:function(t){t.style.height=0,(0,r.reflow)(t),t.style.height=t.scrollHeight+"px",this.transitioning=!0,this.$emit("show")},onAfterEnter:function(t){t.style.height=null,this.transitioning=!1,this.$emit("shown")},onLeave:function(t){t.style.height="auto",t.style.display="block",t.style.height=(0,r.getBCR)(t).height+"px",(0,r.reflow)(t),this.transitioning=!0,t.style.height=0,this.$emit("hide")},onAfterLeave:function(t){t.style.height=null,this.transitioning=!1,this.$emit("hidden")},emitState:function(){this.$emit("input",this.show),this.$root.$emit("bv::collapse::state",this.id,this.show),this.accordion&&this.show&&this.$root.$emit("bv::collapse::accordion",this.id,this.accordion)},clickHandler:function(t){var e=t.target;this.isNav&&e&&"block"===(0,r.getCS)(this.$el).display&&((0,r.matches)(e,".nav-link,.dropdown-item")||(0,r.closest)(".nav-link,.dropdown-item",e))&&(this.show=!1)},handleToggleEvt:function(t){t===this.id&&this.toggle()},handleAccordionEvt:function(t,e){this.accordion&&e===this.accordion&&(t===this.id?this.show||this.toggle():this.show&&this.toggle())},handleResize:function(){this.show="block"===(0,r.getCS)(this.$el).display}},render:function(t){var e=t(this.tag,{class:this.classObject,directives:[{name:"show",value:this.show}],attrs:{id:this.id||null},on:{click:this.clickHandler}},[this.$slots.default]);return t("transition",{props:{enterClass:"",enterActiveClass:"collapsing",enterToClass:"",leaveClass:"",leaveActiveClass:"collapsing",leaveToClass:""},on:{enter:this.onEnter,afterEnter:this.onAfterEnter,leave:this.onLeave,afterLeave:this.onAfterLeave}},[e])}};e.default=a},"5ZkO":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={tag:{type:String,default:"span"}};e.props=r;var o={name:"BNavText",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data,o=e.children;return t(n.tag,(0,i.mergeData)(r,{staticClass:"navbar-text"}),o)}};e.default=o},"5sk5":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={tag:{type:String,default:"div"},deck:{type:Boolean,default:!1},columns:{type:Boolean,default:!1}};e.props=r;var o={name:"BCardGroup",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data,o=e.children,a="card-group";return n.deck?a="card-deck":n.columns&&(a="card-columns"),t(n.tag,(0,i.mergeData)(r,{class:a}),o)}};e.default=o},"69G/":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={id:{type:String,default:null},tag:{type:String,default:"div"},tooltip:{type:Boolean,default:!1},forceShow:{type:Boolean,default:!1},state:{type:[Boolean,String],default:null}};e.props=r;var o={name:"BFormInvalidFeedback",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data,o=e.children,a=!0===n.forceShow||!1===n.state||"invalid"===n.state;return t(n.tag,(0,i.mergeData)(r,{class:{"invalid-feedback":!n.tooltip,"invalid-tooltip":n.tooltip,"d-block":a},attrs:{id:n.id}}),o)}};e.default=o},"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"],r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=["AM","PM"],s=["am","pm"],l=["a.m.","p.m."],u={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 r[t.getDay()]},dddd:function(t){return o[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){u[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:u,formattingTokensRegExp:i(u)}}},"6Tqn":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("Fq4B"),r=n("k+DF"),o={name:"BTooltip",mixins:[n("xUKg").default],props:{title:{type:String,default:""},triggers:{type:[String,Array],default:"hover focus"},placement:{type:String,default:"top"}},data:function(){return{}},methods:{createToolpop:function(){var t=this.getTarget();return t?this._toolpop=new i.default(t,this.getConfig(),this.$root):(this._toolpop=null,(0,r.default)("b-tooltip: 'target' element not found!")),this._toolpop}},render:function(t){return t("div",{class:["d-none"],style:{display:"none"},attrs:{"aria-hidden":!0}},[t("div",{ref:"title"},this.$slots.default)])}};e.default=o},"6uA0":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i={props:{id:{type:String,default:null}},data:function(){return{localId_:null}},computed:{safeId:function(){var t=this.id||this.localId_;return function(e){return t?(e=String(e||"").replace(/\s+/g,"_"))?t+"_"+e:t:null}}},mounted:function(){var t=this;this.$nextTick(function(){t.localId_="__BVID__".concat(t._uid)})}};e.default=i},"7+OJ":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("vbH8"),r=n("Eau4"),o=n("Co2t"),a={BFormCheckbox:i.default,BCheckbox:i.default,BCheck:i.default,BFormCheckboxGroup:r.default,BCheckboxGroup:r.default,BCheckGroup:r.default},s={install:function(t){(0,o.registerComponents)(t,a)}};e.default=s},"7bze":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("uy80"),r="__BV_root_listeners__",o={beforeDestroy:function(){if(this[r]&&(0,i.isArray)(this[r]))for(;this[r].length>0;){var t=this[r].shift(),e=t.event,n=t.callback;this.$root.$off(e,n)}},methods:{listenOnRoot:function(t,e){return this[r]&&(0,i.isArray)(this[r])||(this[r]=[]),this[r].push({event:t,callback:e}),this.$root.$on(t,e),this},emitOnRoot:function(t){for(var e,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r=0){r=1;break}var a=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},r))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function l(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function u(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=l(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/(auto|scroll|overlay)/.test(n+r+i)?t:c(u(t))}var d=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function p(t){return 11===t?d:10===t?f:d||f}function h(t){if(!t)return document.documentElement;for(var e=p(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===l(n,"position")?h(n):n:t?t.ownerDocument.documentElement:document.documentElement}function m(t){return null!==t.parentNode?m(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,r=n?e:t,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var a,s,l=o.commonAncestorContainer;if(t!==l&&e!==l||i.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&h(a.firstElementChild)!==a?h(l):l;var u=m(t);return u.host?v(u.host,e):v(t,m(e).host)}function g(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[e]}return t[e]}function b(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function y(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],p(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function w(t){var e=t.body,n=t.documentElement,i=p(10)&&getComputedStyle(n);return{height:y("Height",e,n,i),width:y("Width",e,n,i)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},k=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],i=p(10),r="HTML"===e.nodeName,o=S(t),a=S(e),s=c(t),u=l(e),d=parseFloat(u.borderTopWidth,10),f=parseFloat(u.borderLeftWidth,10);n&&r&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=T({top:o.top-a.top-d,left:o.left-a.left-f,width:o.width,height:o.height});if(h.marginTop=0,h.marginLeft=0,!i&&r){var m=parseFloat(u.marginTop,10),v=parseFloat(u.marginLeft,10);h.top-=d-m,h.bottom-=d-m,h.left-=f-v,h.right-=f-v,h.marginTop=m,h.marginLeft=v}return(i&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(h=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=g(e,"top"),r=g(e,"left"),o=n?-1:1;return t.top+=i*o,t.bottom+=i*o,t.left+=r*o,t.right+=r*o,t}(h,e)),h}function $(t){if(!t||!t.parentElement||p())return document.documentElement;for(var e=t.parentElement;e&&"none"===l(e,"transform");)e=e.parentElement;return e||document.documentElement}function E(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=r?$(t):v(t,e);if("viewport"===i)o=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=O(t,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:g(n),s=e?0:g(n,"left");return T({top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:r,height:o})}(a,r);else{var s=void 0;"scrollParent"===i?"BODY"===(s=c(u(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===i?t.ownerDocument.documentElement:i;var d=O(s,a,r);if("HTML"!==s.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===l(e,"position"))return!0;var i=u(e);return!!i&&t(i)}(a))o=d;else{var f=w(t.ownerDocument),p=f.height,h=f.width;o.top+=d.top-d.marginTop,o.bottom=p+d.top,o.left+=d.left-d.marginLeft,o.right=h+d.left}}var m="number"==typeof(n=n||0);return o.left+=m?n:n.left||0,o.top+=m?n:n.top||0,o.right-=m?n:n.right||0,o.bottom-=m?n:n.bottom||0,o}function A(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=E(n,i,o,r),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map(function(t){return x({key:t},s[t],{area:(e=s[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function B(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return O(n,i?$(e):v(e,n),i)}function P(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function M(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function I(t,e,n){n=n.split("-")[0];var i=P(t),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return r[a]=e[a]+e[l]/2-i[l]/2,r[s]=n===s?e[s]-i[u]:e[M(s)],r}function N(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function j(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=N(t,function(t){return t[e]===n});return t.indexOf(i)}(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&s(n)&&(e.offsets.popper=T(e.offsets.popper),e.offsets.reference=T(e.offsets.reference),e=n(e,t))}),e}function L(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function D(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i1&&void 0!==arguments[1]&&arguments[1],n=q.indexOf(t),i=q.slice(n+1).concat(q.slice(0,n));return e?i.reverse():i}var Y={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function X(t,e,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(N(a,function(t){return-1!==t.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(u=u.map(function(t,i){var r=(1===i?!o:o)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],a=r[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return T(s)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,r,e,n)})})).forEach(function(t,e){t.forEach(function(n,i){V(n)&&(r[e]+=n*("-"===t[i-1]?-1:1))})}),r}var J={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var r=t.offsets,o=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",c={start:C({},l,o[l]),end:C({},l,o[l]+o[u]-a[u])};t.offsets.popper=x({},a,c[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,r=t.offsets,o=r.popper,a=r.reference,s=i.split("-")[0],l=void 0;return l=V(+n)?[+n,0]:X(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||h(t.instance.popper);t.instance.reference===n&&(n=h(n));var i=D("transform"),r=t.instance.popper.style,o=r.top,a=r.left,s=r[i];r.top="",r.left="",r[i]="";var l=E(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);r.top=o,r.left=a,r[i]=s,e.boundaries=l;var u=e.priority,c=t.offsets.popper,d={primary:function(t){var n=c[t];return c[t]l[t]&&!e.escapeWithReference&&(i=Math.min(c[n],l[t]-("right"===t?c.width:c.height))),C({},n,i)}};return u.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=x({},c,d[e](t))}),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,r=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]o(i[s])&&(t.offsets.popper[l]=o(i[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!W(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],o=t.offsets,a=o.popper,s=o.reference,u=-1!==["left","right"].indexOf(r),c=u?"height":"width",d=u?"Top":"Left",f=d.toLowerCase(),p=u?"left":"top",h=u?"bottom":"right",m=P(i)[c];s[h]-ma[h]&&(t.offsets.popper[f]+=s[f]+m-a[h]),t.offsets.popper=T(t.offsets.popper);var v=s[f]+s[c]/2-m/2,g=l(t.instance.popper),b=parseFloat(g["margin"+d],10),y=parseFloat(g["border"+d+"Width"],10),w=v-t.offsets.popper[f]-b-y;return w=Math.max(Math.min(a[c]-m,w),0),t.arrowElement=i,t.offsets.arrow=(C(n={},f,Math.round(w)),C(n,p,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(L(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=E(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],r=M(i),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case Y.FLIP:a=[i,r];break;case Y.CLOCKWISE:a=K(i);break;case Y.COUNTERCLOCKWISE:a=K(i,!0);break;default:a=e.behavior}return a.forEach(function(s,l){if(i!==s||a.length===l+1)return t;i=t.placement.split("-")[0],r=M(i);var u=t.offsets.popper,c=t.offsets.reference,d=Math.floor,f="left"===i&&d(u.right)>d(c.left)||"right"===i&&d(u.left)d(c.top)||"bottom"===i&&d(u.top)d(n.right),m=d(u.top)d(n.bottom),g="left"===i&&p||"right"===i&&h||"top"===i&&m||"bottom"===i&&v,b=-1!==["top","bottom"].indexOf(i),y=!!e.flipVariations&&(b&&"start"===o&&p||b&&"end"===o&&h||!b&&"start"===o&&m||!b&&"end"===o&&v);(f||g||y)&&(t.flipped=!0,(f||g)&&(i=a[l+1]),y&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=i+(o?"-"+o:""),t.offsets.popper=x({},t.offsets.popper,I(t.instance.popper,t.offsets.reference,t.placement)),t=j(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,r=i.popper,o=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=o[n]-(s?r[a?"width":"height"]:0),t.placement=M(e),t.offsets.popper=T(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(!W(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=N(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=a(this.update.bind(this)),this.options=x({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(x({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){i.options.modifiers[e]=x({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return x({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&s(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return k(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=B(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=A(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=I(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=j(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,L(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[D("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=R(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return H.call(this)}}]),t}();Q.Utils=("undefined"!=typeof window?window:t).PopperUtils,Q.placements=G,Q.Defaults=J,e.default=Q}.call(this,n("yLpj"))},"8oxB":function(t,e){var n,i,r=t.exports={};function o(){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===o||!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:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var l,u=[],c=!1,d=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&p())}function p(){if(!c){var t=s(f);c=!0;for(var e=u.length;e;){for(l=u,u=[];++d1)for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},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()}},mounted:function(){this.startUpdater()},beforeDestroy:function(){this.stopUpdater()},render:function(t){return t("time",{attrs:{datetime:new Date(this.datetime),title:"string"==typeof this.title?this.title:!1===this.title?null:this.timeago}},[this.timeago])},methods:{getTimeago:function(n){return(this.converter||t.converter||d)(n||this.datetime,e[this.locale||t.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()},locale:function(){this.convert()},converter:function(){this.convert()},converterOptions:{handler:function(){this.convert()},deep:!0}}}}(e);t.component(n.name,n)};n("GUC0");function p(t){return(p="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)}window.Vue=n("XuX8"),Vue.use(r.a),Vue.use(a.a),Vue.use(l.a),Vue.use(f),pixelfed.readmore=function(){$(".read-more").each(function(t,e){var n=$(this),i=n.attr("data-readmore");"undefined"!==p(i)&&!1!==i||n.readmore({collapsedHeight:44,heightMargin:20,moreLink:'Read more',lessLink:'Hide'})})};try{document.createEvent("TouchEvent"),$("body").addClass("touch")}catch(t){}window.filesize=n("SdWe"),window.Plyr=n("T7iU"),n("5JIG"),n("4zuO"),n("/izM"),n("Pva4"),n("1Fl4"),window.pixelfed.n={},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("passport-clients",n("MrZN").default),Vue.component("passport-authorized-clients",n("Dpv2").default),Vue.component("passport-personal-access-tokens",n("yx5A").default),$(document).ready(function(){$(function(){$('[data-toggle="tooltip"]').tooltip()})});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;")},"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 r,o=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?t:(r=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:i+o.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")})}},"9wGH":function(t,e,n){"use strict";n.r(e);var i={props:["status"]},r=n("KHd+"),o=Object(r.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:"",loop:"",alt:t.description,width:"100%",height:"100%"},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:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[n("source",{attrs:{src:t.url,type:t.mime}})])])}),1)],1)},[],!1,null,null,null);e.default=o.exports},AIiG:function(t,e,n){"use strict";var i=n("kPV1");n.n(i).a},AJaK:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("TkDH"),r=(0,i.propsFactory)();e.props=r;var o={name:"BDropdownItem",inject:{dropdown:{from:"dropdown",default:null}},props:r,methods:{closeDropdown:function(){this.dropdown&&this.dropdown.hide(!0)},onClick:function(t){this.$emit("click",t),this.closeDropdown()}},render:function(t){return t(i.default,{props:this.$props,staticClass:"dropdown-item",attrs:{role:"menuitem"},on:{click:this.onClick}},this.$slots.default)}};e.default=o},"AN/+":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("Co2t"),r=n("/eCm"),o=n("nSXF"),a=n("nj7W"),s=n("Z4AP"),l=n("33Rj"),u={BInputGroup:r.default,BInputGroupAddon:o.default,BInputGroupPrepend:a.default,BInputGroupAppend:s.default,BInputGroupText:l.default},c={install:function(t){(0,i.registerComponents)(t,u)}};e.default=c},B25o:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("nG+9"),r=n("Co2t"),o={BSpinner:i.default},a={install:function(t){(0,r.registerComponents)(t,o)}};e.default=a},B7Xd:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("6uA0"),r=n("Xwe6"),o=n("QftK"),a=n("N3zd"),s=n("uy80"),l=n("ls0u"),u={name:"BFormFile",mixins:[i.default,r.default,o.default,a.default],props:{value:{default:null},accept:{type:String,default:""},capture:{type:Boolean,default:!1},placeholder:{type:String,default:"No file chosen"},browseText:{type:String,default:null},dropPlaceholder:{type:String,default:null},multiple:{type:Boolean,default:!1},directory:{type:Boolean,default:!1},noTraverse:{type:Boolean,default:!1},noDrop:{type:Boolean,default:!1}},data:function(){return{selectedFile:null,dragging:!1,hasFocus:!1}},computed:{selectLabel:function(){return this.dragging&&this.dropPlaceholder?this.dropPlaceholder:this.selectedFile&&0!==this.selectedFile.length?this.multiple?1===this.selectedFile.length?this.selectedFile[0].name:this.selectedFile.map(function(t){return t.name}).join(", "):this.selectedFile.name:this.placeholder}},watch:{selectedFile:function(t,e){(0,l.default)(t,e)||(!t&&this.multiple?this.$emit("input",[]):this.$emit("input",t))},value:function(t){(!t||(0,s.isArray)(t)&&0===t.length)&&this.reset()}},methods:{focusHandler:function(t){this.plain||"focusout"===t.type?this.hasFocus=!1:this.hasFocus=!0},reset:function(){try{this.$refs.input.value=""}catch(t){}this.$refs.input.type="",this.$refs.input.type="file",this.selectedFile=this.multiple?[]:null},onFileChange:function(t){var e=this;this.$emit("change",t);var n=t.dataTransfer&&t.dataTransfer.items;if(!n||this.noTraverse)this.setFiles(t.target.files||t.dataTransfer.files);else{for(var i=[],r=0;r0&&this.onFileChange(t))},traverseFileTree:function(t,e){var n=this;return new Promise(function(i){e=e||"",t.isFile?t.file(function(t){t.$path=e,i(t)}):t.isDirectory&&t.createReader().readEntries(function(r){for(var o=[],a=0;a0&&(0,u.keys)(this.fields).forEach(function(n){var i=k(n,t.fields[n]);i&&e.push(i)}),0===e.length&&this.localItems.length>0){var n=this.localItems[0];(0,u.keys)(n).forEach(function(t){b[t]||e.push({key:t,label:(0,i.default)(t)})})}var r={};return e.filter(function(t){return!r[t.key]&&(r[t.key]=!0,t.label="string"==typeof t.label?t.label:(0,i.default)(t.key),!0)})},filteredCheck:function(){return{filteredItems:this.filteredItems,localItems:this.localItems,localFilter:this.localFilter}},localFilter:function(){return"function"==typeof this.filter?"":"function"==typeof this.filterFunction||"string"==typeof this.filter||this.filter instanceof RegExp?this.filter:""},localFilterFn:function(){var t=this.filter,e=this.filterFunction;return"function"==typeof e?e:"function"==typeof t?t:null},filteredItems:function(){var t=this.localItems||[],e=this.localFilter,n=this.filterFnFactory(this.localFilterFn,e)||this.defaultFilterFnFactory(e);return this.localFiltering&&n&&t.length>0&&(t=t.filter(n)),t},sortedItems:function(){var t=this.filteredItems||[],e=this.localSortBy,n=this.localSortDesc,i=this.sortCompare,o=this.localSorting;return e&&o?(0,a.default)(t,function(t,o){var a=null;return"function"==typeof i&&(a=i(t,o,e,n)),null!=a&&!1!==a||(a=function(t,e,n){return t=(0,r.default)(t,n,""),e=(0,r.default)(e,n,""),t instanceof Date&&e instanceof Date||"number"==typeof t&&"number"==typeof e?(te&&1)||0:w(t).localeCompare(w(e),void 0,{numeric:!0})}(t,o,e)),(a||0)*(n?-1:1)}):t},paginatedItems:function(){var t=this.sortedItems||[],e=Math.max(parseInt(this.currentPage,10)||1,1),n=Math.max(parseInt(this.perPage,10)||0,0);return this.localPaging&&n&&(t=t.slice((e-1)*n,e*n)),t},computedItems:function(){return this.paginatedItems||[]}},watch:{items:function(t){this.hasProvider||t instanceof Function?this.$nextTick(this._providerUpdate):(0,c.isArray)(t)?this.localItems=t.slice():this.localItems=[]},sortDesc:function(t,e){t!==this.localSortDesc&&(this.localSortDesc=t||!1)},sortBy:function(t,e){t!==this.localSortBy&&(this.localSortBy=t||null)},selectMode:function(t,e){e!==t&&this.clearSelected()},localSortDesc:function(t,e){t!==e&&(this.clearSelected(),this.$emit("update:sortDesc",t))},localSortBy:function(t,e){t!==e&&(this.clearSelected(),this.$emit("update:sortBy",t))},localBusy:function(t,e){t!==e&&this.$emit("update:busy",t)},computedItems:function(t,e){this.lastRowClicked=-1,this.$emit("input",t);var n=!1;if(this.selectable&&this.selectedRows.length>0){n=(0,c.isArray)(t)&&(0,c.isArray)(e)&&t.length===e.length;for(var i=0;n&&i=0&&t.shiftKey){for(var o=Math.min(this.lastRowClicked,n);o<=Math.max(this.lastRowClicked,n);o++)this.selectedRows[o]=!0;r=!0}else t.ctrlKey||t.metaKey||(this.selectedRows=[],r=!0),this.lastRowClicked=r?n:-1}this.$set(this.selectedRows,n,r);var a=[];this.selectedRows.forEach(function(t,e){t&&a.push(i.computedItems[e])}),this.$emit("row-selected",a)}this.$emit("row-clicked",e,n,t)}},middleMouseRowClicked:function(t,e,n){this.stopIfBusy(t)||this.$emit("row-middle-clicked",e,n,t)},rowDblClicked:function(t,e,n){this.stopIfBusy(t)||x(t)||this.$emit("row-dblclicked",e,n,t)},rowHovered:function(t,e,n){this.stopIfBusy(t)||this.$emit("row-hovered",e,n,t)},rowUnhovered:function(t,e,n){this.stopIfBusy(t)||this.$emit("row-unhovered",e,n,t)},rowContextmenu:function(t,e,n){this.stopIfBusy(t)||this.$emit("row-contextmenu",e,n,t)},headClicked:function(t,e){var n=this;if(!this.stopIfBusy(t)&&!x(t)){t.stopPropagation(),t.preventDefault();var i=!1,r=function(){var t=e.sortDirection||n.sortDirection;"asc"===t?n.localSortDesc=!1:"desc"===t&&(n.localSortDesc=!0)};e.sortable?(e.key===this.localSortBy?this.localSortDesc=!this.localSortDesc:(this.localSortBy=e.key,r()),i=!0):this.localSortBy&&!this.noSortReset&&(this.localSortBy=null,r(),i=!0),this.$emit("head-clicked",e.key,e,t),i&&this.$emit("sort-changed",this.context)}},stopIfBusy:function(t){return!!this.computedBusy&&(t.preventDefault(),t.stopPropagation(),!0)},refresh:function(){this.$off("refreshed",this.refresh),this.computedBusy?this.localBusy&&this.hasProvider&&this.$on("refreshed",this.refresh):(this.clearSelected(),this.hasProvider?this.$nextTick(this._providerUpdate):this.localItems=(0,c.isArray)(this.items)?this.items.slice():[])},_providerSetLocal:function(t){this.localItems=(0,c.isArray)(t)?t.slice():[],this.localBusy=!1,this.$emit("refreshed"),this.id&&this.emitOnRoot("bv::table::refreshed",this.id)},_providerUpdate:function(){this.hasProvider&&(this.computedBusy?this.$nextTick(this.refresh):(this.localBusy=!0,this.$nextTick(function(){var t=this;try{var e=this.items(this.context,this._providerSetLocal);e&&e.then&&"function"==typeof e.then?e.then(function(e){t._providerSetLocal(e)}):(0,c.isArray)(e)?this._providerSetLocal(e):2!==this.items.length&&((0,l.default)("b-table provider function didn't request calback and did not return a promise or data"),this.localBusy=!1)}catch(t){(0,l.default)("b-table provider function error [".concat(t.name,"] ").concat(t.message)),this.localBusy=!1,this.$off("refreshed",this.refresh)}})))}},render:function(t){var e=this,n=this.$slots,o=this.$scopedSlots,a=this.computedFields,l=this.computedItems,u=this.striped,c=this.$listeners["row-clicked"]||this.selectable,f=t(!1),p=null;if(this.caption||this.captionHtml||n["table-caption"]){var h={key:"caption",id:p=this.isStacked?this.safeId("_caption_"):null,class:this.captionClasses};n["table-caption"]||(h.domProps=(0,d.htmlOrText)(this.captionHtml,this.caption)),f=t("caption",h,n["table-caption"])}var g=n["table-colgroup"]?t("colgroup",{key:"colgroup"},n["table-colgroup"]):t(!1),b=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return a.map(function(r,a){var l="";r.label.trim()||r.headerTitle||(l=(0,i.default)(r.key)),l=[l,r.sortable?e.localSortDesc&&e.localSortBy===r.key?e.labelSortAsc:e.labelSortDesc:null].filter(function(t){return t}).join(": ")||null;var u=r.sortable&&e.localSortBy===r.key?e.localSortDesc?"descending":"ascending":r.sortable?"none":null,c={key:r.key,class:e.fieldClasses(r),style:r.thStyle||{},attrs:{tabindex:r.sortable?"0":null,abbr:r.headerAbbr||null,title:r.headerTitle||null,scope:n?null:"col","aria-colindex":String(a+1),"aria-label":l,"aria-sort":u},on:{click:function(t){e.headClicked(t,r)},keydown:function(t){var n=t.keyCode;n!==s.default.ENTER&&n!==s.default.SPACE||e.headClicked(t,r)}}},f=n&&o["FOOT_".concat(r.key)]?o["FOOT_".concat(r.key)]:o["HEAD_".concat(r.key)];return f?f=[f({label:r.label,column:r.key,field:r})]:c.domProps=(0,d.htmlOrText)(r.labelHtml,r.label),t("th",c,f)})},y=t(!1);!0!==this.isStacked&&(y=t("thead",{key:"thead",class:this.headClasses},[t("tr",{class:this.theadTrClass},b(!1))]));var k=t(!1);this.footClone&&!0!==this.isStacked&&(k=t("tfoot",{key:"tfoot",class:this.footClasses},[t("tr",{class:this.tfootTrClass},b(!0))]));var C=[];if(o["top-row"]&&!0!==this.isStacked?C.push(t("tr",{key:"top-row",staticClass:"b-table-top-row",class:["function"==typeof this.tbodyTrClass?this.tbodyTrClass(null,"row-top"):this.tbodyTrClass]},[o["top-row"]({columns:a.length,fields:a})])):C.push(t(!1)),n["table-busy"]&&this.computedBusy){var x={role:this.isStacked?"row":null},T={colspan:String(a.length),role:this.isStacked?"cell":null};C.push(t("tr",{key:"table-busy-slot",staticClass:"b-table-busy-slot",class:["function"==typeof this.tbodyTrClass?this.tbodyTrClass(null,"table-busy"):this.tbodyTrClass],attrs:x},[t("td",{attrs:T},[n["table-busy"]])]))}else l.forEach(function(n,i){var l=o["row-details"],d=Boolean(n._showDetails&&l),f=e.selectedRows[i],p=d?e.safeId("_details_".concat(i,"_")):null,h=function(){l&&e.$set(n,"_showDetails",!n._showDetails)},m=a.map(function(a,s){var l,u=e.getFormattedValue(n,a),c={key:"row-".concat(i,"-cell-").concat(s,"-").concat(a.key),class:e.tdClasses(a,n),attrs:e.tdAttrs(a,n,s),domProps:{}};return o[a.key]?(l=[o[a.key]({item:n,index:i,field:a,unformatted:(0,r.default)(n,a.key,""),value:u,toggleDetails:h,detailsShowing:Boolean(n._showDetails),rowSelected:Boolean(f)})],e.isStacked&&(l=[t("div",{},[l])])):l=e.isStacked?[t("div",u)]:u,t(a.isRowHeader?"th":"td",c,l)}),g=null;e.currentPage&&e.perPage&&e.perPage>0&&(g=String((e.currentPage-1)*e.perPage+i+1));var b=e.primaryKey&&void 0!==n[e.primaryKey]?w(n[e.primaryKey]):"".concat(i,"__").concat(_(n));if(C.push(t("tr",{key:"__b-table-row-".concat(b,"__"),class:[e.rowClasses(n),v({"b-table-has-details":d,"b-row-selected":f},"".concat(e.dark?"bg":"table","-").concat(e.selectedVariant),f&&e.selectedVariant)],attrs:{tabindex:c?"0":null,"aria-describedby":p,"aria-owns":p,"aria-rowindex":g,"aria-selected":e.selectable?f?"true":"false":null,role:e.isStacked?"row":null},on:{auxclick:function(t){2===t.which&&e.middleMouseRowClicked(t,n,i)},click:function(t){e.rowClicked(t,n,i)},keydown:function(t){var r=t.keyCode;r!==s.default.ENTER&&r!==s.default.SPACE||t.target&&"TR"===t.target.tagName&&t.target===document.activeElement&&e.rowClicked(t,n,i)},contextmenu:function(t){e.rowContextmenu(t,n,i)},dblclick:function(t){e.rowDblClicked(t,n,i)},mouseenter:function(t){e.rowHovered(t,n,i)},mouseleave:function(t){e.rowUnhovered(t,n,i)}}},m)),d){var y={colspan:String(a.length)},k={id:p};e.isStacked&&(y.role="cell",k.role="row");var x=t("td",{attrs:y},[l({item:n,index:i,fields:a,toggleDetails:h})]);u&&C.push(t("tr",{key:"__b-table-details-".concat(i,"-stripe__"),staticClass:"d-none",attrs:{"aria-hidden":"true"}})),C.push(t("tr",{key:"__b-table-details-".concat(i,"__"),staticClass:"b-table-details",class:["function"==typeof e.tbodyTrClass?e.tbodyTrClass(n,"row-details"):e.tbodyTrClass],attrs:k},[x]))}else l&&(C.push(t(!1)),u&&C.push(t(!1)))});if(!this.showEmpty||l&&0!==l.length||n["table-busy"]&&this.computedBusy)C.push(t(!1));else{var S=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o[t]||n[t];return"function"==typeof i?i(e):i}(this.isFiltered?"emptyfiltered":"empty",{emptyFilteredHtml:this.emptyFilteredHtml,emptyFilteredText:this.emptyFilteredText,emptyHtml:this.emptyHtml,emptyText:this.emptyText,fields:a,items:l});S||(S=t("div",{class:["text-center","my-2"],domProps:this.isFiltered?(0,d.htmlOrText)(this.emptyFilteredHtml,this.emptyFilteredText):(0,d.htmlOrText)(this.emptyHtml,this.emptyText)})),S=t("td",{attrs:{colspan:String(a.length),role:this.isStacked?"cell":null}},[t("div",{attrs:{role:"alert","aria-live":"polite"}},[S])]),C.push(t("tr",{key:"__b-table-empty-row__",staticClass:"b-table-empty-row",class:["function"==typeof this.tbodyTrClass?this.tbodyTrClass(null,"row-empty"):this.tbodyTrClass],attrs:this.isStacked?{role:"row"}:{}},[S]))}o["bottom-row"]&&!0!==this.isStacked?C.push(t("tr",{key:"__b-table-bottom-row__",staticClass:"b-table-bottom-row",class:["function"==typeof this.tbodyTrClass?this.tbodyTrClass(null,"row-bottom"):this.tbodyTrClass]},[o["bottom-row"]({columns:a.length,fields:a})])):C.push(t(!1));var O=this.tbodyTransitionProps||this.tbodyTransitionHandlers,$={},E={};O&&(E=this.tbodyTransitionHandlers||{},$=m({},this.tbodyTransitionProps||{},{tag:"tbody"}));var A=t(O?"transition-group":"tbody",{props:$,on:E,class:this.bodyClasses,attrs:this.isStacked?{role:"rowgroup"}:{}},C),B=t("table",{key:"b-table",staticClass:"table b-table",class:this.tableClasses,attrs:m({"aria-rowcount":this.filteredItems.length>l.length?String(this.filteredItems.length):null},this.$attrs,{id:this.safeId(),role:this.isStacked?"table":null,"aria-multiselectable":this.selectable?"single"===this.selectMode?"false":"true":null,"aria-busy":this.computedBusy?"true":"false","aria-colcount":String(a.length),"aria-describedby":[(this.$attrs||{})["aria-describedby"],p].filter(function(t){return t}).join(" ")||null})},[f,g,y,k,A]);return this.isResponsive?t("div",{key:"b-table-responsive",class:this.responsiveClass},[B]):B}};e.default=T},BXvd:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("Wl7S"),r=n("WsjD"),o=n("Co2t"),a={BListGroup:i.default,BListGroupItem:r.default},s={install:function(t){(0,o.registerComponents)(t,a)}};e.default=s},BZbT:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={id:{type:String,default:null},inline:{type:Boolean,default:!1},novalidate:{type:Boolean,default:!1},validated:{type:Boolean,default:!1}};e.props=r;var o={name:"BForm",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data,o=e.children;return t("form",(0,i.mergeData)(r,{class:{"form-inline":n.inline,"was-validated":n.validated},attrs:{id:n.id,novalidate:n.novalidate}}),o)}};e.default=o},BuT0:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;e.default={SPACE:32,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,PAGEUP:33,PAGEDOWN:34,HOME:36,END:35,TAB:9,SHIFT:16,CTRL:17,BACKSPACE:8,ALT:18,PAUSE:19,BREAK:19,INSERT:45,INS:45,DELETE:46}},CGZs:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("tmQd"),r=n("YAsO"),o=n("Co2t"),a={BButton:i.default,BBtn:i.default,BButtonClose:r.default,BBtnClose:r.default},s={install:function(t){(0,o.registerComponents)(t,a)}};e.default=s},CQNj:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49");var r={id:{type:String,default:null},tag:{type:String,default:"small"},textVariant:{type:String,default:"muted"},inline:{type:Boolean,default:!1}};e.props=r;var o={name:"BFormText",functional:!0,props:r,render:function(t,e){var n,r,o,a=e.props,s=e.data,l=e.children;return t(a.tag,(0,i.mergeData)(s,{class:(n={"form-text":!a.inline},r="text-".concat(a.textVariant),o=Boolean(a.textVariant),r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n),attrs:{id:a.id}}),l)}};e.default=o},Co2t:function(t,e,n){"use strict";function i(t,e,n){t._bootstrap_vue_components_=t._bootstrap_vue_components_||{};var i=t._bootstrap_vue_components_[e];return!i&&n&&e&&(t._bootstrap_vue_components_[e]=!0,t.component(e,n)),i}function r(t,e,n){t._bootstrap_vue_directives_=t._bootstrap_vue_directives_||{};var i=t._bootstrap_vue_directives_[e];return!i&&n&&e&&(t._bootstrap_vue_directives_[e]=!0,t.directive(e,n)),i}e.__esModule=!0,e.registerComponent=i,e.registerComponents=function(t,e){for(var n in e)i(t,n,e[n])},e.registerDirective=r,e.registerDirectives=function(t,e){for(var n in e)r(t,n,e[n])},e.vueUse=function(t){"undefined"!=typeof window&&window.Vue&&window.Vue.use(t)}},DEDl:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("6uA0"),r=n("Xwe6"),o=n("bhsD"),a=n("QftK"),s=n("wBzU"),l=n("EPw4"),u=n("uWUd"),c=n("FhHd");function d(t){for(var e=1;er?1:0}},Dpv2:function(t,e,n){"use strict";n.r(e);var i={data:function(){return{tokens:[]}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens()},getTokens:function(){var t=this;axios.get("/oauth/tokens").then(function(e){t.tokens=e.data})},revoke:function(t){var e=this;axios.delete("/oauth/tokens/"+t.id).then(function(t){e.getTokens()})}}},r=(n("hk+O"),n("KHd+")),o=Object(r.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.tokens.length>0?n("div",[n("div",{staticClass:"card card-default mb-4"},[n("div",{staticClass:"card-header font-weight-bold bg-white"},[t._v("Authorized Applications")]),t._v(" "),n("div",{staticClass:"card-body"},[n("table",{staticClass:"table table-borderless mb-0"},[t._m(0),t._v(" "),n("tbody",t._l(t.tokens,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.client.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[e.scopes.length>0?n("span",[t._v("\n "+t._s(e.scopes.join(", "))+"\n ")]):t._e()]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){return t.revoke(e)}}},[t._v("\n Revoke\n ")])])])}),0)])])])]):t._e()])},[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Name")]),this._v(" "),e("th",[this._v("Scopes")]),this._v(" "),e("th")])])}],!1,null,"1b737fda",null);e.default=o.exports},EBjv:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("QLus"),r=n("ohI8"),o=n("Co2t"),a={BTabs:i.default,BTab:r.default},s={install:function(t){(0,o.registerComponents)(t,a)}};e.default=s},EPw4:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;e.default={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)}}}},EYbI:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("FhHd"),r={data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(t,e){t!==e&&((0,i.eventOff)(this.focusInElement,"focusin",this._focusInHandler,!1),t&&(0,i.eventOn)(this.focusInElement,"focusin",this._focusInHandler,!1))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&(0,i.eventOn)(this.focusInElement,"focusin",this._focusInHandler,!1)},beforeDestroy:function(){(0,i.eventOff)(this.focusInElement,"focusin",this._focusInHandler,!1)},methods:{_focusInHandler:function(t){this.focusInHandler&&this.focusInHandler(t)}}};e.default=r},Eau4:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("6uA0"),r=n("Xwe6"),o=n("Rhxi"),a=n("XAKr"),s=n("bhsD"),l=n("QftK"),u={name:"BFormCheckboxGroup",components:{BFormCheckbox:n("vbH8").default},mixins:[i.default,r.default,a.default,o.default,s.default,l.default],provide:function(){return{bvCheckGroup:this}},props:{switches:{type:Boolean,default:!1},checked:{type:[String,Number,Object,Array,Boolean],default:null}},data:function(){return{localChecked:this.checked||[]}},computed:{is_RadioGroup:function(){return!1}}};e.default=u},ErYl:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){return(0,i.default)(e.replace(t,""))};var i=n("KDkB")},EtPW:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r=n("nJdW"),o=n("TkDH"),a=n("vhGO");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 l=function(t){for(var e=1;e0&&t.getBoundingClientRect().width>0};e.isDisabled=function(t){return!u(t)||t.disabled||t.classList.contains("disabled")||Boolean(t.getAttribute("disabled"))};e.reflow=function(t){return u(t)&&t.offsetHeight};var c=function(t,e){return u(e)||(e=document),(0,i.from)(e.querySelectorAll(t))};e.selectAll=c;e.select=function(t,e){return u(e)||(e=document),e.querySelector(t)||null};var d=function(t,e){if(!u(t))return!1;var n=Element.prototype;return(n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(t){for(var e=c(t,this.document||this.ownerDocument),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1}).call(t,e)};e.matches=d;e.closest=function(t,e){if(!u(e))return null;var n=(Element.prototype.closest||function(t){var e=this;if(!document.documentElement.contains(e))return null;do{if(d(e,t))return e;e=e.parentElement}while(null!==e);return null}).call(e,t);return n===e?null:n};e.contains=function(t,e){return!(!t||"function"!=typeof t.contains)&&t.contains(e)};e.getById=function(t){return document.getElementById(/^#/.test(t)?t.slice(1):t)||null};e.addClass=function(t,e){e&&u(t)&&t.classList.add(e)};e.removeClass=function(t,e){e&&u(t)&&t.classList.remove(e)};e.hasClass=function(t,e){return!(!e||!u(t))&&t.classList.contains(e)};e.setAttr=function(t,e,n){e&&u(t)&&t.setAttribute(e,n)};e.removeAttr=function(t,e){e&&u(t)&&t.removeAttribute(e)};e.getAttr=function(t,e){return e&&u(t)?t.getAttribute(e):null};e.hasAttr=function(t,e){return e&&u(t)?t.hasAttribute(e):null};var f=function(t){return u(t)?t.getBoundingClientRect():null};e.getBCR=f;var p=function(t){return u(t)?window.getComputedStyle(t):{}};e.getCS=p;var h=function(t){if(u(t)){if(!t.getClientRects().length)return{top:0,left:0};var e=f(t),n=t.ownerDocument.defaultView;return{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}}};e.offset=h;e.position=function(t){if(u(t)){var e,n,i={top:0,left:0};if("fixed"===p(t).position)e=f(t);else{e=h(t);var r=t.ownerDocument;for(n=t.offsetParent||r.documentElement;n&&(n===r.body||n===r.documentElement)&&"static"===p(n).position;)n=n.parentNode;n&&n!==t&&n.nodeType===Node.ELEMENT_NODE&&((i=h(n)).top+=parseFloat(p(n).borderTopWidth),i.left+=parseFloat(p(n).borderLeftWidth))}return{top:e.top-i.top-parseFloat(p(t).marginTop),left:e.left-i.left-parseFloat(p(t).marginLeft)}}}},FmUb:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={tag:{type:String,default:"div"}};e.props=r;var o={name:"BFormRow",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data,o=e.children;return t(n.tag,(0,i.mergeData)(r,{staticClass:"form-row"}),o)}};e.default=o},Fq4B:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("8L3F"),r=n("+Lui"),o=n("uy80"),a=n("FhHd");function s(t){return(s="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 l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t,e){for(var n=0;n
',trigger:"hover focus",title:"",delay:0,html:!1,placement:"top",offset:0,arrowPadding:6,container:!1,fallbackPlacement:"flip",callbacks:{},boundary:"scrollParent"},w={WebkitTransition:["webkitTransitionEnd"],MozTransition:["transitionend"],OTransition:["otransitionend","oTransitionEnd"],transition:["transitionend"]},_=1;var k=function(){function t(e,n,i){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$isEnabled=!0,this.$fadeTimeout=null,this.$hoverTimeout=null,this.$visibleInterval=null,this.$hoverState="",this.$activeTrigger={},this.$popper=null,this.$element=e,this.$tip=null,this.$id=(r=this.constructor.NAME,"__BV_".concat(r,"_").concat(_++,"__")),this.$root=i||null,this.$routeWatcher=null,this.$forceHide=this.forceHide.bind(this),this.$doHide=this.doHide.bind(this),this.$doShow=this.doShow.bind(this),this.$doDisable=this.doDisable.bind(this),this.$doEnable=this.doEnable.bind(this),this.updateConfig(n)}var e,n,k;return e=t,k=[{key:"getAttachment",value:function(t){return d[t.toUpperCase()]}},{key:"Default",get:function(){return y}},{key:"NAME",get:function(){return"tooltip"}}],(n=[{key:"updateConfig",value:function(t){var e=function(t){for(var e=1;e0&&e.forEach(function(e){(0,a.removeClass)(t,e)})}},{key:"handlePopperPlacementChange",value:function(t){this.cleanTipClass(),this.addAttachmentClass(this.constructor.getAttachment(t.placement))}},{key:"fixTransition",value:function(t){var e=this.$config.animation||!1;null===(0,a.getAttr)(t,"x-placement")&&((0,a.removeClass)(t,m),this.$config.animation=!1,this.hide(),this.show(),this.$config.animation=e)}}])&&u(e.prototype,n),k&&u(e,k),t}();e.default=k},"G+60":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("THR5"),r=n("Co2t"),o={BJumbotron:i.default},a={install:function(t){(0,r.registerComponents)(t,o)}};e.default=a},GUC0:function(t,e,n){(function(e,n){t.exports=function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.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=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 r=n(26);e.overlayMarkup=r.default,i(n(27)),i(n(28)),i(n(29));var o=n(0),a=o.default.MODAL_TITLE,s=o.default.MODAL_TEXT,l=o.default.ICON,u=o.default.FOOTER;e.iconMarkup='\n
',e.titleMarkup='\n
\n',e.textMarkup='\n
',e.footerMarkup='\n
\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 r={visible:!0,text:null,value:null,className:"",closeModal:!0},o=Object.assign({},r,{visible:!1,text:"Cancel",value:null}),a=Object.assign({},r,{text:"OK",value:!0});e.defaultButtonList={cancel:o,confirm:a};var s=function(t){switch(t){case e.CONFIRM_KEY:return a;case e.CANCEL_KEY:return o;default:var n=t.charAt(0).toUpperCase()+t.slice(1);return Object.assign({},r,{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})},u=function(t){var n={};switch(t.length){case 1:n[e.CANCEL_KEY]=Object.assign({},o,{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=u(t):i.isPlainObject(t)?n=function(t){for(var e={},n=0,i=Object.keys(t);n=0&&g.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",u(e,t.attrs),o(t,e),e}function l(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",u(e,t.attrs),o(t,e),e}function u(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function c(t,e){var n,i,r,o;if(e.transform&&t.css){if(!(o=e.transform(t.css)))return function(){};t.css=o}if(e.singleton){var u=v++;n=m||(m=s(e)),i=d.bind(null,n,u,!1),r=d.bind(null,n,u,!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=function(t,e,n){var i=n.css,r=n.sourceMap,o=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||o)&&(i=b(i)),r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([i],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,e),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),i=function(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))}}.bind(null,n),r=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 r()}}function d(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=y(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}var f={},p=function(t){var e;return function(){return void 0===e&&(e=function(){return window&&document&&document.all&&!window.atob}.apply(this,arguments)),e}}(),h=function(t){var e={};return function(t){return void 0===e[t]&&(e[t]=function(t){return document.querySelector(t)}.call(this,t)),e[t]}}(),m=null,v=0,g=[],b=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=p()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=r(t,e);return i(n,e),function(t){for(var o=[],a=0;athis.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 r=0|e,o=Math.max(r>=0?r:i-Math.abs(r),0);o=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},r(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 r(t){if(l)setTimeout(r,0,t);else{var e=s[t];if(e){l=!0;try{!function(t){var e=t.callback,i=t.args;switch(i.length){case 0:e();break;case 1:e(i[0]);break;case 2:e(i[0],i[1]);break;case 3:e(i[0],i[1],i[2]);break;default:e.apply(n,i)}}(e)}finally{i(t),l=!1}}}}if(!t.setImmediate){var o,a=1,s={},l=!1,u=t.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(t);c=c&&c.setTimeout?c:t,"[object process]"==={}.toString.call(t.process)?o=function(t){e.nextTick(function(){r(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)&&r(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),o=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){r(t.data)},o=function(e){t.port2.postMessage(e)}}():u&&"onreadystatechange"in u.createElement("script")?function(){var t=u.documentElement;o=function(e){var n=u.createElement("script");n.onreadystatechange=function(){r(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():o=function(t){setTimeout(r,0,t)},c.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n1)for(var n=1;n',e.default=e.modalMarkup},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.OVERLAY,o='
\n
';e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.ICON;e.errorIconMarkup=function(){var t=r+"--error",e=t+"__line";return'\n
\n \n \n
\n '},e.warningIconMarkup=function(){var t=r+"--warning";return'\n \n \n \n '},e.successIconMarkup=function(){var t=r+"--success";return'\n \n \n\n
\n
\n '}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.CONTENT;e.contentMarkup='\n
\n\n
\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.BUTTON_CONTAINER,o=i.default.BUTTON,a=i.default.BUTTON_LOADER;e.buttonMarkup='\n
\n\n \n\n
\n
\n
\n
\n
\n\n
\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(4),r=n(2),o=n(0),a=o.default.ICON,s=o.default.ICON_CUSTOM,l=["error","warning","success","info"],u={error:r.errorIconMarkup(),warning:r.warningIconMarkup(),success:r.successIconMarkup()};e.default=function(t){if(t){var e=i.injectElIntoModal(r.iconMarkup);l.includes(t)?function(t,e){var n=a+"--"+t;e.classList.add(n);var i=u[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),r=n(4),o=function(t){navigator.userAgent.includes("AppleWebKit")&&(t.style.display="none",t.offsetHeight,t.style.display="")};e.initTitle=function(t){if(t){var e=r.injectElIntoModal(i.titleMarkup);e.textContent=t,o(e)}},e.initText=function(t){if(t){var e=document.createDocumentFragment();t.split("\n").forEach(function(t,n,i){e.appendChild(document.createTextNode(t)),n0}).forEach(function(t){m.classList.add(t)}),n&&t===l.CONFIRM_KEY&&m.classList.add(s),m.textContent=r;var g={};return g[t]=o,d.setActionValue(g),d.setActionOptionsFor(t,{closeModal:p}),m.addEventListener("click",function(){return c.onAction(t)}),h};e.default=function(t,e){var n=r.injectElIntoModal(u.footerMarkup);for(var i in t){var o=t[i],a=f(i,o,e);o.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),r=n(4),o=n(2),a=n(5),s=n(6),l=n(0),u=l.default.CONTENT,c=function(t){t.addEventListener("input",function(t){var e=t.target,n=e.value;a.setActionValue(n)}),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=r.injectElIntoModal(o.contentMarkup),n=t.element,i=t.attributes;"string"==typeof n?function(t,e,n){var i=document.createElement(e),r=u+"__"+e;for(var o in i.classList.add(r),n){var a=n[o];i[o]=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),r=n(2);e.default=function(){var t=i.stringToNode(r.overlayMarkup);document.body.appendChild(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(5),r=n(6),o=n(1),a=n(3),s=n(0),l=s.default.MODAL,u=s.default.BUTTON,c=s.default.OVERLAY,d=function(t){if(i.default.isOpen)switch(t.key){case"Escape":return r.onAction(a.CANCEL_KEY)}},f=function(t){if(i.default.isOpen)switch(t.key){case"Tab":return function(t){t.preventDefault(),h()}(t)}},p=function(t){if(i.default.isOpen)return"Tab"===t.key&&t.shiftKey?function(t){t.preventDefault(),m()}(t):void 0},h=function(){var t=o.getNode(u);t&&(t.tabIndex=0,t.focus())},m=function(){var t=o.getNode(l),e=t.querySelectorAll("."+u),n=e.length-1,i=e[n];i&&i.focus()},v=function(){var t=o.getNode(l),e=t.querySelectorAll("."+u);e.length&&(function(t){t[t.length-1].addEventListener("keydown",f)}(e),function(t){t[0].addEventListener("keydown",p)}(e))},g=function(t){if(o.getNode(c)===t.target)return r.onAction(a.CANCEL_KEY)};e.default=function(t){t.closeOnEsc?document.addEventListener("keyup",d):document.removeEventListener("keyup",d),t.dangerMode?h():m(),v(),function(t){var e=o.getNode(c);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 r.onAction(a.CANCEL_KEY)},t))}(t.timer)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),r=n(3),o=n(37),a=n(38),s={title:null,text:null,icon:null,buttons:r.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 u=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},c=function(t){return i.ordinalSuffixOf(t+1)},d=function(t,e){i.throwErr(c(e)+" argument ('"+t+"') is invalid")},f=function(t,e){var n=t+1,r=e[n];i.isPlainObject(r)||void 0===r||i.throwErr("Expected "+c(n)+" argument ('"+r+"') to be a plain object")},p=function(t,e,n,r){var o=typeof e,a="string"===o,s=e instanceof Element;if(a){if(0===n)return{text:e};if(1===n)return{text:e,title:r[0]};if(2===n)return f(n,r),{icon:e};d(e,n)}else{if(s&&0===n)return f(n,r),{content:e};if(i.isPlainObject(e))return function(t,e){var n=t+1,r=e[n];void 0!==r&&i.throwErr("Unexpected "+c(n)+" argument ("+r+")")}(n,r),e;d(e,n)}};e.getOpts=function(){for(var t=[],e=0;e=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return o(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||c(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function h(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function w(t,e){return y.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var k=/-(\w)/g,C=_(function(t){return t.replace(k,function(t,e){return e?e.toUpperCase():""})}),x=_(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),T=/\B([A-Z])/g,S=_(function(t){return t.replace(T,"-$1").toLowerCase()}),O=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function $(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function E(t,e){for(var n in e)t[n]=e[n];return t}function A(t){for(var e={},n=0;n0,J=K&&K.indexOf("edge/")>0,Q=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===q),Z=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),K&&K.match(/firefox\/(\d+)/)),tt={}.watch,et=!1;if(W)try{var nt={};Object.defineProperty(nt,"passive",{get:function(){et=!0}}),window.addEventListener("test-passive",null,nt)}catch(i){}var it=function(){return void 0===V&&(V=!W&&!G&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),V},rt=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ot(t){return"function"==typeof t&&/native code/.test(t.toString())}var at,st="undefined"!=typeof Symbol&&ot(Symbol)&&"undefined"!=typeof Reflect&&ot(Reflect.ownKeys);at="undefined"!=typeof Set&&ot(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var lt=B,ut=0,ct=function(){this.id=ut++,this.subs=[]};ct.prototype.addSub=function(t){this.subs.push(t)},ct.prototype.removeSub=function(t){b(this.subs,t)},ct.prototype.depend=function(){ct.target&&ct.target.addDep(this)},ct.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(o&&!w(r,"default"))a=!1;else if(""===a||a===S(t)){var l=Rt(String,r.type);(l<0||s0&&(ue((l=t(l,(n||"")+"_"+i))[0])&&ue(c)&&(d[u]=gt(c.text+l[0].text),l.shift()),d.push.apply(d,l)):s(l)?ue(c)?d[u]=gt(c.text+l):""!==l&&d.push(gt(l)):ue(l)&&ue(c)?d[u]=gt(c.text+l.text):(a(e._isVList)&&o(l.tag)&&r(l.key)&&o(n)&&(l.key="__vlist"+n+"_"+i+"__"),d.push(l)));return d}(t):void 0}function ue(t){return o(t)&&o(t.text)&&!1===t.isComment}function ce(t,e){if(t){for(var n=Object.create(null),i=st?Reflect.ownKeys(t):Object.keys(t),r=0;rdocument.createEvent("Event").timeStamp&&(un=function(){return performance.now()});var dn=0,fn=function(t,e,n,i,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++dn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new at,this.newDepIds=new at,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!U.test(t)){var e=t.split(".");return function(t){for(var n=0;nsn&&en[n].id>t.id;)n--;en.splice(n+1,0,t)}else en.push(t);on||(on=!0,te(cn))}}(this)},fn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Ht(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},fn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},fn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},fn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var pn={enumerable:!0,configurable:!0,get:B,set:B};function hn(t,e,n){pn.get=function(){return this[e][n]},pn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,pn)}var mn={lazy:!0};function vn(t,e,n){var i=!it();"function"==typeof n?(pn.get=i?gn(e):bn(n),pn.set=B):(pn.get=n.get?i&&!1!==n.cache?gn(e):bn(n.get):B,pn.set=n.set||B),Object.defineProperty(t,e,pn)}function gn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ct.target&&e.depend(),e.value}}function bn(t){return function(){return t.call(this,this)}}function yn(t,e,n,i){return c(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,i)}var wn=0;function _n(t){var e=t.options;if(t.super){var n=_n(t.super);if(n!==t.superOptions){t.superOptions=n;var i=function(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}(t);i&&E(t.extendOptions,i),(e=t.options=Nt(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function kn(t){this._init(t)}function Cn(t){return t&&(t.Ctor.options.name||t.tag)}function xn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===u.call(n)&&t.test(e));var n}function Tn(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=Cn(a.componentOptions);s&&!e(s)&&Sn(n,o,i,r)}}}function Sn(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,b(n,e)}kn.prototype._init=function(t){var e=this;e._uid=wn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Nt(_n(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Ye(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=de(e._renderChildren,r),t.$scopedSlots=i,t._c=function(e,n,i,r){return Re(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return Re(t,e,n,i,r,!0)};var o=n&&n.data;St(t,"$attrs",o&&o.attrs||i,null,!0),St(t,"$listeners",e._parentListeners||i,null,!0)}(e),tn(e,"beforeCreate"),function(t){var e=ce(t.$options.inject,t);e&&(Ct(!1),Object.keys(e).forEach(function(n){St(t,n,e[n])}),Ct(!0))}(e),function(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[];t.$parent&&Ct(!1);var o=function(o){r.push(o);var a=Lt(o,e,n,t);St(i,o,a),o in t||hn(t,"_props",o)};for(var a in e)o(a);Ct(!0)}(t,e.props),e.methods&&function(t,e){for(var n in t.$options.props,e)t[n]="function"!=typeof e[n]?B:O(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;c(e=t._data="function"==typeof e?function(t,e){ft();try{return t.call(e,e)}catch(t){return Ht(t,e,"data()"),{}}finally{pt()}}(e,t):e||{})||(e={});for(var n,i=Object.keys(e),r=t.$options.props,o=(t.$options.methods,i.length);o--;){var a=i[o];r&&w(r,a)||36!==(n=(a+"").charCodeAt(0))&&95!==n&&hn(t,"_data",a)}Tt(e,!0)}(t):Tt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=it();for(var r in e){var o=e[r],a="function"==typeof o?o:o.get;i||(n[r]=new fn(t,a||B,B,mn)),r in t||vn(t,r,o)}}(t,e.computed),e.watch&&e.watch!==tt&&function(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r1?$(e):e;for(var n=$(arguments,1),i='event handler for "'+t+'"',r=0,o=e.length;rparseInt(this.max)&&Sn(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return R}};Object.defineProperty(t,"config",e),t.util={warn:lt,extend:E,mergeOptions:Nt,defineReactive:St},t.set=Ot,t.delete=$t,t.nextTick=te,t.observable=function(t){return Tt(t),t},t.options=Object.create(null),D.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,E(t.options.components,$n),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=$(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Nt(this.options,t),this}}(t),function(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name,a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Nt(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)hn(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)vn(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,D.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=E({},a.options),r[i]=a,a}}(t),function(t){D.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(kn),Object.defineProperty(kn.prototype,"$isServer",{get:it}),Object.defineProperty(kn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(kn,"FunctionalRenderContext",{value:Be}),kn.version="2.6.7";var En=m("style,class"),An=m("input,textarea,option,select,progress"),Bn=function(t,e,n){return"value"===n&&An(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Pn=m("contenteditable,draggable,spellcheck"),Mn=m("events,caret,typing,plaintext-only"),In=function(t,e){return Fn(e)||"false"===e?"false":"contenteditable"===t&&Mn(e)?e:"true"},Nn=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),jn="http://www.w3.org/1999/xlink",Ln=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Dn=function(t){return Ln(t)?t.slice(6,t.length):""},Fn=function(t){return null==t||!1===t};function Rn(t,e){return{staticClass:Hn(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Hn(t,e){return t?e?t+" "+e:t:e||""}function Vn(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,r=t.length;i-1?pi(t,e,n):Nn(e)?Fn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Pn(e)?t.setAttribute(e,In(e,n)):Ln(e)?Fn(n)?t.removeAttributeNS(jn,Dn(e)):t.setAttributeNS(jn,e,n):pi(t,e,n)}function pi(t,e,n){if(Fn(n))t.removeAttribute(e);else{if(Y&&!X&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var hi={create:di,update:di};function mi(t,e){var n=e.elm,i=e.data,a=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=function(t){for(var e=t.data,n=t,i=t;o(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=Rn(i.data,e));for(;o(n=n.parent);)n&&n.data&&(e=Rn(e,n.data));return function(t,e){return o(t)||o(e)?Hn(t,Vn(e)):""}(e.staticClass,e.class)}(e),l=n._transitionClasses;o(l)&&(s=Hn(s,Vn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var vi,gi,bi,yi,wi,_i,ki={create:mi,update:mi},Ci=/[\w).+\-_$\]]/;function xi(t){var e,n,i,r,o,a=!1,s=!1,l=!1,u=!1,c=0,d=0,f=0,p=0;for(i=0;i=0&&" "===(m=t.charAt(h));h--);m&&Ci.test(m)||(u=!0)}}else void 0===r?(p=i+1,r=t.slice(0,i).trim()):v();function v(){(o||(o=[])).push(t.slice(p,i).trim()),p=i+1}if(void 0===r?r=t.slice(0,i).trim():0!==p&&v(),o)for(i=0;i-1?{exp:t.slice(0,yi),key:'"'+t.slice(yi+1)+'"'}:{exp:t,key:null};for(gi=t,yi=wi=_i=0;!Hi();)Vi(bi=Ri())?zi(bi):91===bi&&Ui(bi);return{exp:t.slice(0,wi),key:t.slice(wi+1,_i)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Ri(){return gi.charCodeAt(++yi)}function Hi(){return yi>=vi}function Vi(t){return 34===t||39===t}function Ui(t){var e=1;for(wi=yi;!Hi();)if(Vi(t=Ri()))zi(t);else if(91===t&&e++,93===t&&e--,0===e){_i=yi;break}}function zi(t){for(var e=t;!Hi()&&(t=Ri())!==e;);}var Wi,Gi="__r",qi="__c";function Ki(t,e,n){var i=Wi;return function r(){null!==e.apply(null,arguments)&&Ji(t,r,n,i)}}var Yi=Gt&&!(Z&&Number(Z[1])<=53);function Xi(t,e,n,i){if(Yi){var r=ln,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||0===t.timeStamp||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Wi.addEventListener(t,e,et?{capture:n,passive:i}:n)}function Ji(t,e,n,i){(i||Wi).removeEventListener(t,e._wrapper||e,n)}function Qi(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Wi=e.elm,function(t){if(o(t[Gi])){var e=Y?"change":"input";t[e]=[].concat(t[Gi],t[e]||[]),delete t[Gi]}o(t[qi])&&(t.change=[].concat(t[qi],t.change||[]),delete t[qi])}(n),oe(n,i,Xi,Ji,Ki,e.context),Wi=void 0}}var Zi,tr={create:Qi,update:Qi};function er(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in o(l.__ob__)&&(l=e.data.domProps=E({},l)),s)r(l[n])&&(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var u=r(i)?"":String(i);nr(a,u)&&(a.value=u)}else if("innerHTML"===n&&Wn(a.tagName)&&r(a.innerHTML)){(Zi=Zi||document.createElement("div")).innerHTML=""+i+"";for(var c=Zi.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;c.firstChild;)a.appendChild(c.firstChild)}else if(i!==s[n])try{a[n]=i}catch(t){}}}}function nr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(o(i)){if(i.number)return h(n)!==h(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var ir={create:er,update:er},rr=_(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e});function or(t){var e=ar(t.style);return t.staticStyle?E(t.staticStyle,e):e}function ar(t){return Array.isArray(t)?A(t):"string"==typeof t?rr(t):t}var sr,lr=/^--/,ur=/\s*!important$/,cr=function(t,e,n){if(lr.test(e))t.style.setProperty(e,n);else if(ur.test(n))t.style.setProperty(S(e),n.replace(ur,""),"important");else{var i=fr(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split(mr).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function gr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(mr).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function br(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&E(e,yr(t.name||"v")),E(e,t),e}return"string"==typeof t?yr(t):void 0}}var yr=_(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),wr=W&&!X,_r="transition",kr="animation",Cr="transition",xr="transitionend",Tr="animation",Sr="animationend";wr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Cr="WebkitTransition",xr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Tr="WebkitAnimation",Sr="webkitAnimationEnd"));var Or=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function $r(t){Or(function(){Or(t)})}function Er(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),vr(t,e))}function Ar(t,e){t._transitionClasses&&b(t._transitionClasses,e),gr(t,e)}function Br(t,e,n){var i=Mr(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===_r?xr:Sr,l=0,u=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++l>=a&&u()};setTimeout(function(){l0&&(n=_r,c=a,d=o.length):e===kr?u>0&&(n=kr,c=u,d=l.length):d=(n=(c=Math.max(a,u))>0?a>u?_r:kr:null)?n===_r?o.length:l.length:0,{type:n,timeout:c,propCount:d,hasTransform:n===_r&&Pr.test(i[Cr+"Property"])}}function Ir(t,e){for(;t.length1}function Rr(t,e){!0!==e.data.show&&jr(e)}var Hr=function(t){var e,n,i={},l=t.modules,u=t.nodeOps;for(e=0;eh?y(t,r(n[g+1])?null:n[g+1].elm,n,p,g,i):p>g&&_(0,e,f,h)}(f,m,g,n,c):o(g)?(o(t.text)&&u.setTextContent(f,""),y(f,null,g,0,g.length-1,n)):o(m)?_(0,m,0,m.length-1):o(t.text)&&u.setTextContent(f,""):t.text!==e.text&&u.setTextContent(f,e.text),o(h)&&o(p=h.hook)&&o(p=p.postpatch)&&p(t,e)}}}function T(t,e,n){if(a(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,a.selected!==o&&(a.selected=o);else if(I(Gr(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function Wr(t,e){return e.every(function(e){return!I(e,t)})}function Gr(t){return"_value"in t?t._value:t.value}function qr(t){t.target.composing=!0}function Kr(t){t.target.composing&&(t.target.composing=!1,Yr(t.target,"input"))}function Yr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Xr(t){return!t.componentInstance||t.data&&t.data.transition?t:Xr(t.componentInstance._vnode)}var Jr={model:Vr,show:{bind:function(t,e,n){var i=e.value,r=(n=Xr(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,jr(n,function(){t.style.display=o})):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=Xr(n)).data&&n.data.transition?(n.data.show=!0,i?jr(n,function(){t.style.display=t.__vOriginalDisplay}):Lr(n,function(){t.style.display="none"})):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}}},Qr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Zr(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Zr(We(e.children)):t}function to(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[C(o)]=r[o];return e}function eo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var no=function(t){return t.tag||ze(t)},io=function(t){return"show"===t.name},ro={name:"transition",props:Qr,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(no)).length){var i=this.mode,r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=Zr(r);if(!o)return r;if(this._leaving)return eo(t,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=to(this),u=this._vnode,c=Zr(u);if(o.data.directives&&o.data.directives.some(io)&&(o.data.show=!0),c&&c.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,c)&&!ze(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var d=c.data.transition=E({},l);if("out-in"===i)return this._leaving=!0,ae(d,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),eo(t,r);if("in-out"===i){if(ze(o))return u;var f,p=function(){f()};ae(l,"afterEnter",p),ae(l,"enterCancelled",p),ae(d,"delayLeave",function(t){f=t})}}return r}}},oo=E({tag:String,moveClass:String},Qr);function ao(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function so(t){t.data.newPos=t.elm.getBoundingClientRect()}function lo(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete oo.mode;var uo={Transition:ro,TransitionGroup:{props:oo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Je(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=to(this),s=0;s-1?Kn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Kn[t]=/HTMLUnknownElement/.test(e.toString())},E(kn.options.directives,Jr),E(kn.options.components,uo),kn.prototype.__patch__=W?Hr:B,kn.prototype.$mount=function(t,e){return function(t,e,n){var i;return t.$el=e,t.$options.render||(t.$options.render=vt),tn(t,"beforeMount"),i=function(){t._update(t._render(),n)},new fn(t,i,B,{before:function(){t._isMounted&&!t._isDestroyed&&tn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,tn(t,"mounted")),t}(this,t=t&&W?Xn(t):void 0,e)},W&&setTimeout(function(){R.devtools&&rt&&rt.emit("init",kn)},0);var co,fo=/\{\{((?:.|\r?\n)+?)\}\}/g,po=/[-.*+?^${}()|[\]\/\\]/g,ho=_(function(t){var e=t[0].replace(po,"\\$&"),n=t[1].replace(po,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}),mo={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=Ni(t,"class");n&&(t.staticClass=JSON.stringify(n));var i=Ii(t,"class",!1);i&&(t.classBinding=i)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}},vo={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=Ni(t,"style");n&&(t.staticStyle=JSON.stringify(rr(n)));var i=Ii(t,"style",!1);i&&(t.styleBinding=i)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},go=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),bo=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),yo=m("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),wo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_o=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ko="[a-zA-Z_][\\-\\.0-9_a-zA-Za-zA-Z·À-ÖØ-öø-ͽͿ-῿‌-‍‿-⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�]*",Co="((?:"+ko+"\\:)?"+ko+")",xo=new RegExp("^<"+Co),To=/^\s*(\/?)>/,So=new RegExp("^<\\/"+Co+"[^>]*>"),Oo=/^]+>/i,$o=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Mo=/&(?:lt|gt|quot|amp|#39);/g,Io=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,No=m("pre,textarea",!0),jo=function(t,e){return t&&No(t)&&"\n"===e[0]};function Lo(t,e){var n=e?Io:Mo;return t.replace(n,function(t){return Po[t]})}var Do,Fo,Ro,Ho,Vo,Uo,zo,Wo,Go=/^@|^v-on:/,qo=/^v-|^@|^:/,Ko=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Yo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Xo=/^\(|\)$/g,Jo=/^\[.*\]$/,Qo=/:(.*)$/,Zo=/^:|^\.|^v-bind:/,ta=/\.[^.]+/g,ea=/^v-slot(:|$)|^#/,na=/[\r\n]/,ia=/\s+/g,ra=_(function(t){return(co=co||document.createElement("div")).innerHTML=t,co.textContent}),oa="_empty_";function aa(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:fa(e),rawAttrsMap:{},parent:n,children:[]}}function sa(t,e){var n,i;(i=Ii(n=t,"key"))&&(n.key=i),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=Ii(t,"ref");e&&(t.ref=e,t.refInFor=function(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=Ni(t,"scope"),t.slotScope=e||Ni(t,"slot-scope")):(e=Ni(t,"slot-scope"))&&(t.slotScope=e);var n=Ii(t,"slot");if(n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||Ei(t,"slot",n,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot"))),"template"===t.tag){var i=ji(t,ea);if(i){var r=ca(i),o=r.name,a=r.dynamic;t.slotTarget=o,t.slotTargetDynamic=a,t.slotScope=i.value||oa}}else{var s=ji(t,ea);if(s){var l=t.scopedSlots||(t.scopedSlots={}),u=ca(s),c=u.name,d=u.dynamic,f=l[c]=aa("template",[],t);f.slotTarget=c,f.slotTargetDynamic=d,f.children=t.children.filter(function(t){if(!t.slotScope)return t.parent=f,!0}),f.slotScope=s.value||oa,t.children=[],t.plain=!1}}}(t),function(t){"slot"===t.tag&&(t.slotName=Ii(t,"name"))}(t),function(t){var e;(e=Ii(t,"is"))&&(t.component=e),null!=Ni(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var r=0;r-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),Mi(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Fi(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Fi(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Fi(e,"$$c")+"}",null,!0)}(t,i,r);else if("input"===o&&"radio"===a)!function(t,e,n){var i=n&&n.number,r=Ii(t,"value")||"null";$i(t,"checked","_q("+e+","+(r=i?"_n("+r+")":r)+")"),Mi(t,"change",Fi(e,r),null,!0)}(t,i,r);else if("input"===o||"textarea"===o)!function(t,e,n){var i=t.attrsMap.type,r=n||{},o=r.lazy,a=r.number,s=r.trim,l=!o&&"range"!==i,u=o?"change":"range"===i?Gi:"input",c="$event.target.value";s&&(c="$event.target.value.trim()"),a&&(c="_n("+c+")");var d=Fi(e,c);l&&(d="if($event.target.composing)return;"+d),$i(t,"value","("+e+")"),Mi(t,u,d,null,!0),(s||a)&&Mi(t,"blur","$forceUpdate()")}(t,i,r);else if(!R.isReservedTag(o))return Di(t,i,r),!1;return!0},text:function(t,e){e.value&&$i(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&$i(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:go,mustUseProp:Bn,canBeLeftOpenTag:bo,isReservedTag:Gn,getTagNamespace:qn,staticKeys:ba.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")},wa=_(function(t){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))});var _a=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,ka=/\([^)]*?\);*$/,Ca=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,xa={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ta={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Sa=function(t){return"if("+t+")return null;"},Oa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Sa("$event.target !== $event.currentTarget"),ctrl:Sa("!$event.ctrlKey"),shift:Sa("!$event.shiftKey"),alt:Sa("!$event.altKey"),meta:Sa("!$event.metaKey"),left:Sa("'button' in $event && $event.button !== 0"),middle:Sa("'button' in $event && $event.button !== 1"),right:Sa("'button' in $event && $event.button !== 2")};function $a(t,e){var n=e?"nativeOn:":"on:",i="",r="";for(var o in t){var a=Ea(t[o]);t[o]&&t[o].dynamic?r+=o+","+a+",":i+='"'+o+'":'+a+","}return i="{"+i.slice(0,-1)+"}",r?n+"_d("+i+",["+r.slice(0,-1)+"])":n+i}function Ea(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return Ea(t)}).join(",")+"]";var e=Ca.test(t.value),n=_a.test(t.value),i=Ca.test(t.value.replace(ka,""));if(t.modifiers){var r="",o="",a=[];for(var s in t.modifiers)if(Oa[s])o+=Oa[s],xa[s]&&a.push(s);else if("exact"===s){var l=t.modifiers;o+=Sa(["ctrl","shift","alt","meta"].filter(function(t){return!l[t]}).map(function(t){return"$event."+t+"Key"}).join("||"))}else a.push(s);return a.length&&(r+="if(!$event.type.indexOf('key')&&"+a.map(Aa).join("&&")+")return null;"),o&&(r+=o),"function($event){"+r+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":i?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(i?"return "+t.value:t.value)+"}"}function Aa(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=xa[t],i=Ta[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}var Ba={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:B},Pa=function(t){this.options=t,this.warn=t.warn||Si,this.transforms=Oi(t.modules,"transformCode"),this.dataGenFns=Oi(t.modules,"genData"),this.directives=E(E({},Ba),t.directives);var e=t.isReservedTag||P;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ma(t,e){var n=new Pa(e);return{render:"with(this){return "+(t?Ia(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ia(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Na(t,e);if(t.once&&!t.onceProcessed)return ja(t,e);if(t.for&&!t.forProcessed)return Da(t,e);if(t.if&&!t.ifProcessed)return La(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',i=Va(t,e),r="_t("+n+(i?","+i:""),o=t.attrs||t.dynamicAttrs?Wa((t.attrs||[]).concat(t.dynamicAttrs||[]).map(function(t){return{name:C(t.name),value:t.value,dynamic:t.dynamic}})):null,a=t.attrsMap["v-bind"];return!o&&!a||i||(r+=",null"),o&&(r+=","+o),a&&(r+=(o?"":",null")+","+a),r+")"}(t,e);var n;if(t.component)n=function(t,e,n){var i=e.inlineTemplate?null:Va(e,n,!0);return"_c("+t+","+Fa(e,n)+(i?","+i:"")+")"}(t.component,t,e);else{var i;(!t.plain||t.pre&&e.maybeComponent(t))&&(i=Fa(t,e));var r=t.inlineTemplate?null:Va(t,e,!0);n="_c('"+t.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var o=0;o>>0}(a):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=function(t,e){var n=t.children[0];if(n&&1===n.type){var i=Ma(n,e.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+Wa(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Ra(t){return 1===t.type&&("slot"===t.tag||t.children.some(Ra))}function Ha(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return La(t,e,Ha,"null");if(t.for&&!t.forProcessed)return Da(t,e,Ha);var i=t.slotScope===oa?"":String(t.slotScope),r="function("+i+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Va(t,e)||"undefined")+":undefined":Va(t,e)||"undefined":Ia(t,e))+"}",o=i?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+r+o+"}"}function Va(t,e,n,i,r){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return""+(i||Ia)(a,e)+s}var l=n?function(t,e){for(var n=0,i=0;i]*>)","i")),f=t.replace(d,function(t,n,i){return u=i.length,Ao(c)||"noscript"===c||(n=n.replace(//g,"$1").replace(//g,"$1")),jo(c,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-f.length,t=f,S(c,l-u,l)}else{var p=t.indexOf("<");if(0===p){if($o.test(t)){var h=t.indexOf("--\x3e");if(h>=0){e.shouldKeepComment&&e.comment(t.substring(4,h),l,l+h+3),C(h+3);continue}}if(Eo.test(t)){var m=t.indexOf("]>");if(m>=0){C(m+2);continue}}var v=t.match(Oo);if(v){C(v[0].length);continue}var g=t.match(So);if(g){var b=l;C(g[0].length),S(g[1],b,l);continue}var y=x();if(y){T(y),jo(y.tagName,t)&&C(1);continue}}var w=void 0,_=void 0,k=void 0;if(p>=0){for(_=t.slice(p);!(So.test(_)||xo.test(_)||$o.test(_)||Eo.test(_)||(k=_.indexOf("<",1))<0);)p+=k,_=t.slice(p);w=t.substring(0,p)}p<0&&(w=t),w&&C(w.length),e.chars&&w&&e.chars(w,l-w.length,l)}if(t===n){e.chars&&e.chars(t);break}}function C(e){l+=e,t=t.substring(e)}function x(){var e=t.match(xo);if(e){var n,i,r={tagName:e[1],attrs:[],start:l};for(C(e[0].length);!(n=t.match(To))&&(i=t.match(_o)||t.match(wo));)i.start=l,C(i[0].length),i.end=l,r.attrs.push(i);if(n)return r.unarySlash=n[1],C(n[0].length),r.end=l,r}}function T(t){var n=t.tagName,l=t.unarySlash;o&&("p"===i&&yo(n)&&S(i),s(n)&&i===n&&S(n));for(var u=a(n)||!!l,c=t.attrs.length,d=new Array(c),f=0;f=0&&r[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=r.length-1;u>=a;u--)e.end&&e.end(r[u].tag,n,o);r.length=a,i=a&&r[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}S()}(t,{warn:Do,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,o,a,c){var d=i&&i.ns||Wo(t);Y&&"svg"===d&&(o=function(t){for(var e=[],n=0;nl&&(s.push(o=t.slice(l,r)),a.push(JSON.stringify(o)));var u=xi(i[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),l=r+i[0].length}return l':'
',Xa.innerHTML.indexOf(" ")>0}var ts=!!W&&Za(!1),es=!!W&&Za(!0),ns=_(function(t){var e=Xn(t);return e&&e.innerHTML}),is=kn.prototype.$mount;kn.prototype.$mount=function(t,e){if((t=t&&Xn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=ns(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(i){var r=Qa(i,{outputSourceRange:!1,shouldDecodeNewlines:ts,shouldDecodeNewlinesForHref:es,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return is.call(this,t,e)},kn.compile=Qa,t.exports=kn}).call(this,n("yLpj"),n("URgk").setImmediate)},IR27:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r=n("nJdW"),o=n("TkDH");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 s=(0,o.propsFactory)();delete s.href.default,delete s.to.default;var l=function(t){for(var e=1;e=n&&s.bottom>=i&&s.left<=a&&s.top<=o&&(this.isShown=!0,this.setListeners(!1))}},onScroll:function(){this.isShown?this.setListeners(!1):(clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(this.checkView,parseInt(this.throttle,10)||100))}},render:function(t){return t("b-img",{props:{src:this.computedSrc,alt:this.alt,blank:this.computedBlank,blankColor:this.blankColor,width:this.computedWidth,height:this.computedHeight,fluid:this.fluid,fluidGrow:this.fluidGrow,block:this.block,thumbnail:this.thumbnail,rounded:this.rounded,left:this.left,right:this.right,center:this.center}})}};e.default=a},LDig:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("6uA0"),r=n("Xwe6"),o=n("QftK"),a=n("bhsD"),s=n("T+Gv"),l=n("ls0u"),u={name:"BFormRadio",mixins:[i.default,s.default,r.default,a.default,o.default],inject:{bvGroup:{from:"bvRadioGroup",default:function(){return this}}},props:{checked:{type:[String,Object,Number,Boolean],default:null}},computed:{is_Checked:function(){return(0,l.default)(this.value,this.computedLocalChecked)},is_Radio:function(){return!0},is_Check:function(){return!1}},watch:{computedLocalChecked:function(t,e){this.$emit("input",this.computedLocalChecked)}},methods:{handleChange:function(t){var e=t.target.checked,n=this.value;this.computedLocalChecked=n,this.$emit("change",e?n:null),this.is_Group&&this.bvGroup.$emit("change",e?n:null)}}};e.default=u},LY3G:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){for(var n=0;n0?"in "+r:r+" ago":r}}}},LghJ:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49");var r={vertical:{type:Boolean,default:!1},size:{type:String,default:null},tag:{type:String,default:"div"},ariaRole:{type:String,default:"group"}};e.props=r;var o={name:"BButtonGroup",functional:!0,props:r,render:function(t,e){var n,r,o,a=e.props,s=e.data,l=e.children;return t(a.tag,(0,i.mergeData)(s,{class:(n={"btn-group":!a.vertical,"btn-group-vertical":a.vertical},r="btn-group-".concat(a.size),o=Boolean(a.size),r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n),attrs:{role:a.ariaRole}}),l)}};e.default=o},LlA7:function(t,e,n){"use strict";e.__esModule=!0,e.default=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]})}},Lu7p:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("kbax"),r=n("Co2t"),o={bTooltip:i.default},a={install:function(t){(0,r.registerDirectives)(t,o)}};e.default=a},MJjK:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t){return t.replace(/_/g," ").replace(/([a-z])([A-Z])/g,function(t,e,n){return e+" "+n}).replace(/(\s|^)(\w)/g,function(t,e,n){return e+n.toUpperCase()})}},MRBb:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("LDig"),r=n("Z5uW"),o=n("Co2t"),a={BFormRadio:i.default,BRadio:i.default,BFormRadioGroup:r.default,BRadioGroup:r.default},s={install:function(t){(0,o.registerComponents)(t,a)}};e.default=s},MrZN:function(t,e,n){"use strict";n.r(e);function i(t){return(i="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 r={data:function(){return{clients:[],createForm:{errors:[],name:"",redirect:""},editForm:{errors:[],name:"",redirect:""}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getClients(),$("#modal-create-client").on("shown.bs.modal",function(){$("#create-client-name").focus()}),$("#modal-edit-client").on("shown.bs.modal",function(){$("#edit-client-name").focus()})},getClients:function(){var t=this;axios.get("/oauth/clients").then(function(e){t.clients=e.data})},showCreateClientForm:function(){$("#modal-create-client").modal("show")},store:function(){this.persistClient("post","/oauth/clients",this.createForm,"#modal-create-client")},edit:function(t){this.editForm.id=t.id,this.editForm.name=t.name,this.editForm.redirect=t.redirect,$("#modal-edit-client").modal("show")},update:function(){this.persistClient("put","/oauth/clients/"+this.editForm.id,this.editForm,"#modal-edit-client")},persistClient:function(t,e,n,r){var o=this;n.errors=[],axios[t](e,n).then(function(t){o.getClients(),n.name="",n.redirect="",n.errors=[],$(r).modal("hide")}).catch(function(t){"object"===i(t.response.data)?n.errors=_.flatten(_.toArray(t.response.data.errors)):n.errors=["Something went wrong. Please try again."]})},destroy:function(t){var e=this;axios.delete("/oauth/clients/"+t.id).then(function(t){e.getClients()})}}},o=(n("AIiG"),n("KHd+")),a=Object(o.a)(r,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"card card-default mb-4"},[n("div",{staticClass:"card-header font-weight-bold bg-white"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("span",[t._v("\n OAuth Clients\n ")]),t._v(" "),n("a",{staticClass:"action-link",attrs:{tabindex:"-1"},on:{click:t.showCreateClientForm}},[t._v("\n Create New Client\n ")])])]),t._v(" "),n("div",{staticClass:"card-body"},[0===t.clients.length?n("p",{staticClass:"mb-0 font-weight-bold text-center lead p-5"},[t._v("\n You have not created any OAuth clients.\n ")]):t._e(),t._v(" "),t.clients.length>0?n("table",{staticClass:"table table-borderless mb-0"},[t._m(0),t._v(" "),n("tbody",t._l(t.clients,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.id)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("code",[t._v(t._s(e.secret))])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"btn btn-outline-secondary btn-sm py-1",attrs:{tabindex:"-1"},on:{click:function(n){return t.edit(e)}}},[t._v("\n Edit\n ")])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"btn btn-outline-danger btn-sm py-1",attrs:{href:""},on:{click:function(n){return t.destroy(e)}}},[t._v("\n Delete\n ")])])])}),0)]):t._e()])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.createForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.createForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}),0)]):t._e(),t._v(" "),n("form",{attrs:{role:"form"}},[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.name,expression:"createForm.name"}],staticClass:"form-control",attrs:{id:"create-client-name",type:"text",autocomplete:"off"},domProps:{value:t.createForm.name},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.store(e)},input:function(e){e.target.composing||t.$set(t.createForm,"name",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),t._m(3),t._v(" "),t._m(4),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.redirect,expression:"createForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect"},domProps:{value:t.createForm.redirect},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.store(e)},input:function(e){e.target.composing||t.$set(t.createForm,"redirect",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Your application's authorization callback URL.\n ")])])]),t._v(" "),t._m(5)])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary font-weight-bold",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-edit-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(6),t._v(" "),n("div",{staticClass:"modal-body"},[t.editForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(7),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.editForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}),0)]):t._e(),t._v(" "),n("form",{attrs:{role:"form"}},[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.name,expression:"editForm.name"}],staticClass:"form-control",attrs:{id:"edit-client-name",type:"text"},domProps:{value:t.editForm.name},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.update(e)},input:function(e){e.target.composing||t.$set(t.editForm,"name",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.redirect,expression:"editForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect"},domProps:{value:t.editForm.redirect},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.update(e)},input:function(e){e.target.composing||t.$set(t.editForm,"redirect",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.update}},[t._v("\n Save Changes\n ")])])])])])])},[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Client ID")]),this._v(" "),e("th",[this._v("Name")]),this._v(" "),e("th",[this._v("Secret")]),this._v(" "),e("th"),this._v(" "),e("th")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h4",{staticClass:"modal-title"},[this._v("\n Create Client\n ")]),this._v(" "),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group row"},[e("label",{staticClass:"col-md-3 col-form-label"},[this._v("Description")]),this._v(" "),e("div",{staticClass:"col-md-9"},[e("textarea",{staticClass:"form-control",attrs:{rows:"3"}}),this._v(" "),e("span",{staticClass:"form-text text-muted"},[this._v("\n A brief description of your app\n ")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group row"},[e("label",{staticClass:"col-md-3 col-form-label"},[this._v("Website")]),this._v(" "),e("div",{staticClass:"col-md-9"},[e("input",{staticClass:"form-control",attrs:{type:"text",autocomplete:"off"}}),this._v(" "),e("span",{staticClass:"form-text text-muted"},[this._v("\n Your website url\n ")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Scopes")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("div",{staticClass:"custom-control custom-switch"},[n("input",{staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch1"}}),t._v(" "),n("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch1"}},[t._v("Read")])]),t._v(" "),n("div",{staticClass:"custom-control custom-switch"},[n("input",{staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch2"}}),t._v(" "),n("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch2"}},[t._v("Write")])]),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Your application's scopes.\n ")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h4",{staticClass:"modal-title"},[this._v("\n Edit Client\n ")]),this._v(" "),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])}],!1,null,"d71fe564",null);e.default=a.exports},Mrqh:function(t,e,n){"use strict";n.r(e);var i={props:["status"],data:function(){return{cursor:0}}},r=n("KHd+"),o=Object(r.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"},attrs:{id:t.status.id+"-carousel",controls:"",background:"#ffffff",interval:0},model:{value:t.cursor,callback:function(e){t.cursor=e},expression:"cursor"}},[t._l(t.status.media_attachments,function(e,i){return n("b-carousel-slide",{key:e.id},[n("div",{class:e.filter_class+" d-block mx-auto text-center",staticStyle:{"max-height":"600px"},attrs:{slot:"img"},on:{click:function(n){return t.$emit("lightbox",e)}},slot:"img"},[n("img",{staticClass:"img-fluid",staticStyle:{"max-height":"600px"},attrs:{src:e.url,alt:e.description,title:e.description}})])])}),t._v(" "),n("span",{staticClass:"badge badge-dark box-shadow",staticStyle:{position:"absolute",top:"10px",right:"10px"}},[t._v("\n\t\t\t\t"+t._s(t.cursor+1)+" / "+t._s(t.status.media_attachments.length)+"\n\t\t\t")])],2)],1)]):n("div",[n("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{id:t.status.id+"-carousel",controls:"",background:"#ffffff",interval:0},model:{value:t.cursor,callback:function(e){t.cursor=e},expression:"cursor"}},[t._l(t.status.media_attachments,function(e,i){return n("b-carousel-slide",{key:e.id,attrs:{alt:e.description,title:e.description}},[n("div",{class:e.filter_class+" d-block mx-auto text-center",staticStyle:{"max-height":"600px"},attrs:{slot:"img"},on:{click:function(n){return t.$emit("lightbox",e)}},slot:"img"},[n("img",{staticClass:"img-fluid",staticStyle:{"max-height":"600px"},attrs:{src:e.url}})])])}),t._v(" "),n("span",{staticClass:"badge badge-dark box-shadow",staticStyle:{position:"absolute",top:"10px",right:"10px"}},[t._v("\n\t\t\t"+t._s(t.cursor+1)+" / "+t._s(t.status.media_attachments.length)+"\n\t\t")])],2)],1)},[],!1,null,null,null);e.default=o.exports},MuxR:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("zDe6"),r=n("Co2t"),o={BEmbed:i.default},a={install:function(t){(0,r.registerComponents)(t,o)}};e.default=a},N3zd:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i={props:{plain:{type:Boolean,default:!1}},computed:{custom:function(){return!this.plain}}};e.default=i},NmtT:function(t,e,n){var i=n("yHON"),r=n("yNUO"),o=n("4Toj"),a=n("F809"),s=n("Us+F"),l=1440,u=2520,c=43200,d=86400;t.exports=function(t,e,n){var f=n||{},p=i(t,e),h=f.locale,m=s.distanceInWords.localize;h&&h.distanceInWords&&h.distanceInWords.localize&&(m=h.distanceInWords.localize);var v,g,b={addSuffix:Boolean(f.addSuffix),comparison:p};p>0?(v=r(t),g=r(e)):(v=r(e),g=r(t));var y,w=o(g,v),_=g.getTimezoneOffset()-v.getTimezoneOffset(),k=Math.round(w/60)-_;if(k<2)return f.includeSeconds?w<5?m("lessThanXSeconds",5,b):w<10?m("lessThanXSeconds",10,b):w<20?m("lessThanXSeconds",20,b):w<40?m("halfAMinute",null,b):m(w<60?"lessThanXMinutes":"xMinutes",1,b):0===k?m("lessThanXMinutes",1,b):m("xMinutes",k,b);if(k<45)return m("xMinutes",k,b);if(k<90)return m("aboutXHours",1,b);if(k=k()},modalListener:function(t){this.noStacking&&t.vueTarget!==this&&this.hide()},focusFirst:function(){if("undefined"!=typeof document){var t=this.$refs.modal,e=document.activeElement;e&&(0,f.contains)(t,e)||t&&this.$nextTick(function(){t.scrollTop=0,t.focus()})}},returnFocusTo:function(){var t=this.returnFocus||this.return_focus||null;"string"==typeof t&&(t=(0,f.select)(t)),t&&(t=t.$el||t,(0,f.isVisible)(t)&&t.focus())},getScrollbarWidth:function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t),this.scrollbarWidth=(0,f.getBCR)(t).width-t.clientWidth,document.body.removeChild(t)},setModalOpenClass:function(t){t?(0,f.addClass)(document.body,"modal-open"):(0,f.removeClass)(document.body,"modal-open")},adjustDialog:function(){if(this.is_visible){var t=this.$refs.modal,e=t.scrollHeight>document.documentElement.clientHeight;!this.isBodyOverflowing&&e?t.style.paddingLeft="".concat(this.scrollbarWidth,"px"):t.style.paddingLeft="",this.isBodyOverflowing&&!e?t.style.paddingRight="".concat(this.scrollbarWidth,"px"):t.style.paddingRight=""}},resetDialogAdjustments:function(){var t=this.$refs.modal;t&&(t.style.paddingLeft="",t.style.paddingRight="")},checkScrollbar:function(){var t=(0,f.getBCR)(document.body),e=t.left,n=t.right,i=t.height;this.isBodyOverflowing=e+nwindow.innerHeight},setScrollbar:function(){if(this.isBodyOverflowing){var t=document.body,e=this.scrollbarWidth;t._paddingChangedForModal=[],t._marginChangedForModal=[],(0,f.selectAll)(h).forEach(function(n){var i=n.style.paddingRight,r=(0,f.getCS)(n).paddingRight||0;(0,f.setAttr)(n,"data-padding-right",i),n.style.paddingRight="".concat(parseFloat(r)+e,"px"),t._paddingChangedForModal.push(n)}),(0,f.selectAll)(m).forEach(function(n){var i=n.style.marginRight,r=(0,f.getCS)(n).marginRight||0;(0,f.setAttr)(n,"data-margin-right",i),n.style.marginRight="".concat(parseFloat(r)-e,"px"),t._marginChangedForModal.push(n)}),(0,f.selectAll)(v).forEach(function(n){var i=n.style.marginRight,r=(0,f.getCS)(n).marginRight||0;(0,f.setAttr)(n,"data-margin-right",i),n.style.marginRight="".concat(parseFloat(r)+e,"px"),t._marginChangedForModal.push(n)});var n=t.style.paddingRight,i=(0,f.getCS)(t).paddingRight;(0,f.setAttr)(t,"data-padding-right",n),t.style.paddingRight="".concat(parseFloat(i)+e,"px")}},resetScrollbar:function(){var t=document.body;t._paddingChangedForModal&&t._paddingChangedForModal.forEach(function(t){(0,f.hasAttr)(t,"data-padding-right")&&(t.style.paddingRight=(0,f.getAttr)(t,"data-padding-right")||"",(0,f.removeAttr)(t,"data-padding-right"))}),t._marginChangedForModal&&t._marginChangedForModal.forEach(function(t){(0,f.hasAttr)(t,"data-margin-right")&&(t.style.marginRight=(0,f.getAttr)(t,"data-margin-right")||"",(0,f.removeAttr)(t,"data-margin-right"))}),t._paddingChangedForModal=null,t._marginChangedForModal=null,(0,f.hasAttr)(t,"data-padding-right")&&(t.style.paddingRight=(0,f.getAttr)(t,"data-padding-right")||"",(0,f.removeAttr)(t,"data-padding-right"))}},render:function(t){var e=this,n=this.$slots,i=t(!1);if(!this.hideHeader){var r=n["modal-header"];if(!r){var o=t(!1);this.hideHeaderClose||(o=t("b-button-close",{props:{disabled:this.is_transitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerTextVariant},on:{click:function(t){e.hide("headerclose")}}},[n["modal-header-close"]])),r=[t(this.titleTag,{class:["modal-title"]},[n["modal-title"]||this.titleHtml||(0,d.stripTags)(this.title)]),o]}i=t("header",{ref:"header",staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.safeId("__BV_modal_header_")}},[r])}var a=t("div",{ref:"body",staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.safeId("__BV_modal_body_")}},[n.default]),s=t(!1);if(!this.hideFooter){var l=n["modal-footer"];if(!l){var u=t(!1);this.okOnly||(u=t("b-button",{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.is_transitioning},on:{click:function(t){e.hide("cancel")}}},[n["modal-cancel"]||this.cancelTitleHtml||(0,d.stripTags)(this.cancelTitle)])),l=[u,t("b-button",{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.is_transitioning},on:{click:function(t){e.hide("ok")}}},[n["modal-ok"]||this.okTitleHtml||(0,d.stripTags)(this.okTitle)])]}s=t("footer",{ref:"footer",staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.safeId("__BV_modal_footer_")}},[l])}var c=t("div",{ref:"content",class:this.contentClasses,attrs:{role:"document",id:this.safeId("__BV_modal_content_"),"aria-labelledby":this.hideHeader?null:this.safeId("__BV_modal_header_"),"aria-describedby":this.safeId("__BV_modal_body_")}},[i,a,s]),f=t("div",{staticClass:"modal-dialog",class:this.dialogClasses},[c]),p=t("div",{ref:"modal",staticClass:"modal",class:this.modalClasses,directives:[{name:"show",rawName:"v-show",value:this.is_visible,expression:"is_visible"}],attrs:{id:this.safeId(),role:"dialog",tabindex:"-1","aria-hidden":this.is_visible?null:"true","aria-modal":this.is_visible?"true":null},on:{keydown:this.onEsc,click:this.onClickOut}},[f]);p=t("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{"before-enter":this.onBeforeEnter,enter:this.onEnter,"after-enter":this.onAfterEnter,"before-leave":this.onBeforeLeave,leave:this.onLeave,"after-leave":this.onAfterLeave}},[p]);var h=t(!1);this.hideBackdrop||!this.is_visible&&!this.is_transitioning||(h=t("div",{staticClass:"modal-backdrop",class:this.backdropClasses,attrs:{id:this.safeId("__BV_modal_backdrop_")}}));var m=t(!1);this.is_visible&&this.isTop&&!this.noEnforceFocus&&(m=t("div",{attrs:{tabindex:"0"}}));var v=t(!1);return this.is_hidden||(v=t("div",{key:"modal-outer",style:this.modalOuterStyle,attrs:{id:this.safeId("__BV_modal_outer_")}},[p,m,h])),t("div",{},[v])}};e.default=C},OzS9:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("TkDH"),r=n("Co2t"),o={BLink:i.default},a={install:function(t){(0,r.registerComponents)(t,o)}};e.default=a},Pva4:function(t,e){$(document).ready(function(){$(document).on("submit",".bookmark-form",function(t){t.preventDefault();var e=$(this).data("id");axios.post("/i/bookmark",{item:e})})})},QDSu:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={tag:{type:String,default:"div"}};e.props=r;var o={name:"BDropdownDivider",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data;return t(n.tag,(0,i.mergeData)(r,{staticClass:"dropdown-divider",attrs:{role:"separator"}}))}};e.default=o},QLus:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("TkDH"),r=n("BuT0"),o=n("v5yc"),a=n("6uA0");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 l={name:"BTabButtonHelper",props:{tab:{default:null,required:!0},id:{type:String,default:null},controls:{type:String,default:null},tabIndex:{type:Number,default:null},posInSet:{type:Number,default:null},setSize:{type:Number,default:null},noKeyNav:{type:Boolean,default:!1}},methods:{focus:function(){this.$refs&&this.$refs.link&&this.$refs.link.focus&&this.$refs.link.focus()},handleEvt:function(t){function e(){t.preventDefault(),t.stopPropagation()}if(!this.tab.disabled){var n=t.type,i=t.keyCode,o=t.shiftKey;"click"===n?(e(),this.$emit("click",t)):"keydown"!==n||this.noKeyNav||i!==r.default.SPACE?"keydown"!==n||this.noKeyNav||(i===r.default.UP||i===r.default.LEFT||i===r.default.HOME?(e(),o||i===r.default.HOME?this.$emit("first",t):this.$emit("prev",t)):i!==r.default.DOWN&&i!==r.default.RIGHT&&i!==r.default.END||(e(),o||i===r.default.END?this.$emit("last",t):this.$emit("next",t))):(e(),this.$emit("click",t))}}},render:function(t){var e=t(i.default,{ref:"link",staticClass:"nav-link",class:[{active:this.tab.localActive&&!this.tab.disabled,disabled:this.tab.disabled},this.tab.titleLinkClass],props:{href:this.tab.href,disabled:this.tab.disabled},attrs:{role:"tab",id:this.id,tabindex:this.tabIndex,"aria-selected":this.tab.localActive&&!this.tab.disabled?"true":"false","aria-setsize":this.setSize,"aria-posinset":this.posInSet,"aria-controls":this.controls},on:{click:this.handleEvt,keydown:this.handleEvt}},[this.tab.$slots.title||this.tab.title]);return t("li",{staticClass:"nav-item",class:[this.tab.titleItemClass],attrs:{role:"presentation"}},[e])}};function u(t){return!t.disabled}var c={name:"BTabs",mixins:[a.default],provide:function(){return{bTabs:this}},props:{tag:{type:String,default:"div"},card:{type:Boolean,default:!1},small:{type:Boolean,default:!1},pills:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},bottom:{type:Boolean,default:!1},end:{type:Boolean,default:!1},noFade:{type:Boolean,default:!1},noNavStyle:{type:Boolean,default:!1},noKeyNav:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},contentClass:{type:[String,Array,Object],default:null},navClass:{type:[String,Array,Object],default:null},navWrapperClass:{type:[String,Array,Object],default:null},value:{type:Number,default:null}},data:function(){return{currentTab:parseInt(this.value,10)||-1,tabs:[]}},computed:{fade:function(){return!this.noFade},navStyle:function(){return this.pills?"pills":"tabs"}},watch:{currentTab:function(t,e){var n=-1;this.tabs.forEach(function(e,i){t!==i||e.disabled?e.localActive=!1:(e.localActive=!0,n=i)}),this.$emit("input",n)},value:function(t,e){if(t!==e){t=parseInt(t,10),e=parseInt(e,10)||0;var n=this.tabs;n[t]&&!n[t].disabled?this.currentTab=t:t=t.length?e=t.indexOf(t.slice().reverse().find(u)):t[n]&&!t[n].disabled&&(e=n)}e<0&&(e=t.indexOf(t.find(u))),t.forEach(function(t,n){t.localActive=n===e&&!t.disabled}),this.tabs=t,this.currentTab=e},getButtonForTab:function(t){return(this.$refs.buttons||[]).find(function(e){return e.tab===t})},updateButton:function(t){var e=this.getButtonForTab(t);e&&e.$forceUpdate&&e.$forceUpdate()},activateTab:function(t){var e=!1;if(t){var n=this.tabs.indexOf(t);!t.disabled&&n>-1&&(e=!0,this.currentTab=n)}return this.$emit("input",this.currentTab),e},deactivateTab:function(t){return!!t&&this.activateTab(this.tabs.filter(function(e){return e!==t}).find(u))},focusButton:function(t){var e=this;this.$nextTick(function(){var n=e.getButtonForTab(t);n&&n.focus&&n.focus()})},emitTabClick:function(t,e){e&&e instanceof Event&&t&&t.$emit&&!t.disabled&&t.$emit("click",e)},clickTab:function(t,e){this.activateTab(t),this.emitTabClick(t,e)},firstTab:function(t){var e=this.tabs.find(u);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))},previousTab:function(t){var e=Math.max(this.currentTab,0),n=this.tabs.slice(0,e).reverse().find(u);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},nextTab:function(t){var e=Math.max(this.currentTab,-1),n=this.tabs.slice(e+1).find(u);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},lastTab:function(t){var e=this.tabs.slice().reverse().find(u);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))}},render:function(t){var e,n,i=this,r=this.tabs,o=r.find(function(t){return t.localActive&&!t.disabled}),a=r.find(function(t){return!t.disabled}),u=r.map(function(e,n){var s=e.controlledBy||i.safeId("_BV_tab_".concat(n+1,"_")),u=null;return i.noKeyNav||(u=-1,(o===e||!o&&a===e)&&(u=null)),t(l,{key:e._uid||s||n,ref:"buttons",refInFor:!0,props:{tab:e,id:s,controls:i.safeId("_BV_tab_container_"),tabIndex:u,setSize:r.length,posInSet:n+1,noKeyNav:i.noKeyNav},on:{click:function(t){i.clickTab(e,t)},first:i.firstTab,prev:i.previousTab,next:i.nextTab,last:i.lastTab}})}),c=t("ul",{class:["nav",(e={},s(e,"nav-".concat(this.navStyle),!this.noNavStyle),s(e,"card-header-".concat(this.navStyle),this.card&&!this.vertical),s(e,"card-header",this.card&&this.vertical),s(e,"h-100",this.card&&this.vertical),s(e,"flex-column",this.vertical),s(e,"border-bottom-0",this.vertical),s(e,"rounded-0",this.vertical),s(e,"small",this.small),e),this.navClass],attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")}},[u,this.$slots.tabs]);c=t("div",{class:[{"card-header":this.card&&!this.vertical&&!(this.end||this.bottom),"card-footer":this.card&&!this.vertical&&(this.end||this.bottom),"col-auto":this.vertical},this.navWrapperClass]},[c]),n=r&&r.length?t(!1):t("div",{key:"empty-tab",class:["tab-pane","active",{"card-body":this.card}]},this.$slots.empty);var d=t("div",{ref:"tabsContainer",staticClass:"tab-content",class:[{col:this.vertical},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")}},[this.$slots.default,n]);return t(this.tag,{staticClass:"tabs",class:{row:this.vertical,"no-gutters":this.vertical&&this.card},attrs:{id:this.safeId()}},[this.end||this.bottom?d:t(!1),[c],this.end||this.bottom?t(!1):d])}};e.default=c},Qc1p:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i={name:"BNavbarToggle",mixins:[n("7bze").default],props:{label:{type:String,default:"Toggle navigation"},target:{type:String,required:!0}},data:function(){return{toggleState:!1}},created:function(){this.listenOnRoot("bv::collapse::state",this.handleStateEvt)},methods:{onClick:function(t){this.$emit("click",t),t.defaultPrevented||this.$root.$emit("bv::toggle::collapse",this.target)},handleStateEvt:function(t,e){t===this.target&&(this.toggleState=e)}},render:function(t){return t("button",{class:["navbar-toggler"],attrs:{type:"button","aria-label":this.label,"aria-controls":this.target,"aria-expanded":this.toggleState?"true":"false"},on:{click:this.onClick}},[this.$slots.default||t("span",{class:["navbar-toggler-icon"]})])}};e.default=i},QftK:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i={props:{state:{type:[String,Boolean],default:null}},computed:{computedState:function(){var t=this.state;return""===t?null:!0===t||"valid"===t||!1!==t&&"invalid"!==t&&null},stateClass:function(){var t=this.computedState;return!0===t?"is-valid":!1===t?"is-invalid":null}}};e.default=i},QhaI:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("6uA0"),r=n("Xwe6"),o=n("bhsD"),a=n("QftK"),s=n("wBzU"),l=n("EPw4"),u=n("uWUd"),c=n("uy80"),d=n("FhHd");function f(t){for(var e=1;e0);e.hasTouchSupport=o;var a=i&&Boolean(window.PointerEvent||window.MSPointerEvent);e.hasPointerEvent=a},RcfF:function(t,e,n){var i=n("aC08");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},RfBy:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i={props:{tag:{type:String,default:"div"},bgVariant:{type:String,default:null},borderVariant:{type:String,default:null},textVariant:{type:String,default:null}}};e.default=i},Rhxi:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("uy80"),r=n("JOL4"),o=n("vhGO");function a(t){return t&&"[object Object]"==={}.toString.call(t)}var s={props:{options:{type:[Array,Object],default:function(){return[]}},valueField:{type:String,default:"value"},textField:{type:String,default:"text"},htmlField:{type:String,default:"html"},disabledField:{type:String,default:"disabled"}},computed:{formOptions:function(){var t=this.options,e=this.valueField,n=this.textField,s=this.htmlField,l=this.disabledField;return(0,i.isArray)(t)?t.map(function(t){return a(t)?{value:t[e],text:(0,o.stripTags)(String(t[n])),html:t[s],disabled:t[l]||!1}:{value:t,text:(0,o.stripTags)(String(t)),disabled:!1}}):(0,r.keys)(t).map(function(i){var r=t[i]||{};if(a(r)){var u=r[e],c=r[n];return{value:void 0===u?i:u,text:void 0===c?i:(0,o.stripTags)(String(c)),html:r[s],disabled:r[l]||!1}}return{value:i,text:(0,o.stripTags)(String(r)),disabled:!1}})}}};e.default=s},SF1H:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("6uA0"),r=n("wZDz"),o=n("vhGO"),a={name:"BNavItemDropdown",mixins:[i.default,r.default],props:{noCaret:{type:Boolean,default:!1},extraToggleClasses:{type:String,default:""},extraMenuClasses:{type:String,default:""},role:{type:String,default:"menu"}},computed:{isNav:function(){return!0},dropdownClasses:function(){return["nav-item","b-nav-dropdown","dropdown",this.dropup?"dropup":"",this.visible?"show":""]},toggleClasses:function(){return["nav-link",this.noCaret?"":"dropdown-toggle",this.disabled?"disabled":"",this.extraToggleClasses?this.extraToggleClasses:""]},menuClasses:function(){return["dropdown-menu",this.right?"dropdown-menu-right":"dropdown-menu-left",this.visible?"show":"",this.extraMenuClasses?this.extraMenuClasses:""]}},render:function(t){var e=t("a",{class:this.toggleClasses,ref:"toggle",attrs:{href:"#",id:this.safeId("_BV_button_"),disabled:this.disabled,"aria-haspopup":"true","aria-expanded":this.visible?"true":"false"},on:{click:this.toggle,keydown:this.toggle}},[this.$slots["button-content"]||this.$slots.text||t("span",{domProps:(0,o.htmlOrText)(this.html,this.text)})]),n=t("div",{class:this.menuClasses,ref:"menu",attrs:{tabindex:"-1","aria-labelledby":this.safeId("_BV_button_")},on:{mouseover:this.onMouseOver,keydown:this.onKeydown}},[this.$slots.default]);return t("li",{attrs:{id:this.safeId()},class:this.dropdownClasses},[e,n])}};e.default=a},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"]}},r={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]};function o(t){var e,o,a,s,l,u,c,d,f,p,h,m,v,g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},b=[],y=0,w=void 0,_=void 0;if(isNaN(t))throw new Error("Invalid arguments");return o=!0===g.bits,f=!0===g.unix,e=g.base||2,d=void 0!==g.round?g.round:f?1:2,p=void 0!==g.separator&&g.separator||"",h=void 0!==g.spacer?g.spacer:f?"":" ",v=g.symbols||g.suffixes||{},m=2===e&&g.standard||"jedec",c=g.output||"string",s=!0===g.fullform,l=g.fullforms instanceof Array?g.fullforms:[],w=void 0!==g.exponent?g.exponent:-1,a=e>2?1e3:1024,(u=(_=Number(t))<0)&&(_=-_),(-1===w||isNaN(w))&&(w=Math.floor(Math.log(_)/Math.log(a)))<0&&(w=0),w>8&&(w=8),0===_?(b[0]=0,b[1]=f?"":i[m][o?"bits":"bytes"][w]):(y=_/(2===e?Math.pow(2,10*w):Math.pow(1e3,w)),o&&(y*=8)>=a&&w<8&&(y/=a,w++),b[0]=Number(y.toFixed(w>0?d:0)),b[1]=10===e&&1===w?o?"kb":"kB":i[m][o?"bits":"bytes"][w],f&&(b[1]="jedec"===m?b[1].charAt(0):w>0?b[1].replace(/B$/,""):b[1],n.test(b[1])&&(b[0]=Math.floor(b[0]),b[1]=""))),u&&(b[0]=-b[0]),b[1]=v[b[1]]||b[1],"array"===c?b:"exponent"===c?w:"object"===c?{value:b[0],suffix:b[1],symbol:b[1]}:(s&&(b[1]=l[w]?l[w]:r[m][w]+(o?"bit":"byte")+(1===b[0]?"":"s")),p.length>0&&(b[0]=b[0].toString().replace(".",p)),b.join(h))}o.partial=function(t){return function(e){return o(e,t)}},t.exports=o}("undefined"!=typeof window&&window)}).call(this,n("yLpj"))},"T+Gv":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i={model:{prop:"checked",event:"input"},props:{value:{},checked:{},inline:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},button:{type:Boolean,default:!1},buttonVariant:{type:String,default:null}},data:function(){return{localChecked:this.bvGroup.checked,hasFocus:!1,buttons:!1}},computed:{computedLocalChecked:{get:function(){return this.bvGroup.localChecked},set:function(t){this.bvGroup.localChecked=t}},is_Group:function(){return this.bvGroup!==this},is_BtnMode:function(){return this.is_Group?this.bvGroup.buttons:this.button},is_Plain:function(){return!this.is_BtnMode&&this.bvGroup.plain},is_Custom:function(){return!this.is_BtnMode&&!this.bvGroup.plain},is_Switch:function(){return!(this.is_BtnMode||this.is_Radio||this.is_Plain)&&(this.is_Group?this.bvGroup.switches:this.switch)},is_Inline:function(){return this.bvGroup.inline},is_Disabled:function(){return this.bvGroup.disabled||this.disabled},is_Required:function(){return Boolean(this.get_Name&&this.bvGroup.required)},get_Name:function(){return this.bvGroup.groupName||this.name||null},get_Form:function(){return this.bvGroup.form||null},get_Size:function(){return this.bvGroup.size||""},get_State:function(){return"boolean"==typeof this.computedState?this.computedState:"boolean"==typeof this.bvGroup.computedState?this.bvGroup.computedState:null},get_ButtonVariant:function(){return this.buttonVariant||this.bvGroup.buttonVariant||"secondary"},buttonClasses:function(){return["btn","btn-".concat(this.get_ButtonVariant),this.get_Size?"btn-".concat(this.get_Size):"",this.is_Disabled?"disabled":"",this.is_Checked?"active":"",this.hasFocus?"focus":""]}},watch:{checked:function(t,e){this.computedLocalChecked=t}},methods:{handleFocus:function(t){t.target&&("focus"===t.type?this.hasFocus=!0:"blur"===t.type&&(this.hasFocus=!1))}},render:function(t){var e=this.$slots.default,n={change:this.handleChange};this.is_BtnMode&&(n.focus=n.blur=this.handleFocus);var i=t("input",{ref:"input",key:"input",on:n,class:{"form-check-input":this.is_Plain,"custom-control-input":this.is_Custom,"is-valid":!0===this.get_State&&!this.is_BtnMode,"is-invalid":!1===this.get_State&&!this.is_BtnMode},directives:[{name:"model",rawName:"v-model",value:this.computedLocalChecked,expression:"computedLocalChecked"}],attrs:{id:this.safeId(),type:this.is_Radio?"radio":"checkbox",name:this.get_Name,form:this.get_Form,disabled:this.is_Disabled,required:this.is_Required,autocomplete:"off","aria-required":this.is_Required||null},domProps:{value:this.value,checked:this.is_Checked}});if(this.is_BtnMode){var r=t("label",{class:this.buttonClasses},[i,e]);return this.is_Group||(r=t("div",{class:["btn-group-toggle","d-inline-block"]},[r])),r}var o,a,s,l=t("label",{class:{"form-check-label":this.is_Plain,"custom-control-label":this.is_Custom},attrs:{for:this.safeId()}},e);return t("div",{class:(o={"form-check":this.is_Plain,"form-check-inline":this.is_Plain&&this.is_Inline,"custom-control":this.is_Custom,"custom-control-inline":this.is_Custom&&this.is_Inline,"custom-checkbox":this.is_Custom&&this.is_Check&&!this.is_Switch,"custom-switch":this.is_Switch,"custom-radio":this.is_Custom&&this.is_Radio},a="form-control-".concat(this.get_Size),s=Boolean(this.get_Size&&!this.is_BtnMode),a in o?Object.defineProperty(o,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):o[a]=s,o)},[i,l])}};e.default=i},T7iU:function(t,e,n){(function(e){"object"==typeof navigator&&(t.exports=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;nnull!=t?t.constructor:null,l=(t,e)=>Boolean(t&&e&&t instanceof e),u=t=>null==t,c=t=>s(t)===Object,d=t=>s(t)===String,f=t=>Array.isArray(t),p=t=>l(t,NodeList);var h={nullOrUndefined:u,object:c,number:t=>s(t)===Number&&!Number.isNaN(t),string:d,boolean:t=>s(t)===Boolean,function:t=>s(t)===Function,array:f,nodeList:p,element:t=>l(t,Element),event:t=>l(t,Event),empty:t=>u(t)||(d(t)||f(t)||p(t))&&!t.length||c(t)&&!Object.keys(t).length};class m{constructor(t,e){h.element(t)?this.element=t:h.string(t)&&(this.element=document.querySelector(t)),h.element(this.element)&&h.empty(this.element.rangeTouch)&&(this.config=Object.assign({},a,e),this.init())}static get enabled(){return"ontouchstart"in document.documentElement}static setup(t,e={}){let n=null;if(h.empty(t)||h.string(t)?n=Array.from(document.querySelectorAll(h.string(t)?t:'input[type="range"]')):h.element(t)?n=[t]:h.nodeList(t)?n=Array.from(t):h.array(t)&&(n=t.filter(h.element)),h.empty(n))return null;const i=Object.assign({},a,e);return h.string(t)&&i.watch&&new MutationObserver(e=>{Array.from(e).forEach(e=>{Array.from(e.addedNodes).forEach(e=>{h.element(e)&&function(t,e){return function(){return Array.from(document.querySelectorAll(e)).includes(this)}.call(t,e)}(e,t)&&new m(e,i)})})}).observe(document.body,{childList:!0,subtree:!0}),n.map(t=>new m(t,e))}init(){m.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}destroy(){m.enabled&&(this.listeners(!1),this.element.rangeTouch=null)}listeners(t){const e=t?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach(t=>{this.element[e](t,t=>this.set(t),!1)})}get(t){if(!m.enabled||!h.event(t))return null;const e=t.target,n=t.changedTouches[0],i=parseFloat(e.getAttribute("min"))||0,r=parseFloat(e.getAttribute("max"))||100,o=parseFloat(e.getAttribute("step"))||1,a=r-i;let s;const l=e.getBoundingClientRect(),u=100/l.width*(this.config.thumbWidth/2)/100;return(s=100/l.width*(n.clientX-l.left))<0?s=0:s>100&&(s=100),s<50?s-=(100-2*s)*u:s>50&&(s+=2*(s-50)*u),i+function(t,e){if(e<1){const n=function(t){const e=`${t}`.match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0}(e);return parseFloat(t.toFixed(n))}return Math.round(t/e)*e}(a*(s/100),o)}set(t){m.enabled&&h.event(t)&&!t.target.disabled&&(t.preventDefault(),t.target.value=this.get(t),function(t,e){if(!t||!e)return;const n=new Event(e);t.dispatchEvent(n)}(t.target,"touchend"===t.type?"change":"input"))}}var v=function(t){return null!=t?t.constructor:null},g=function(t,e){return Boolean(t&&e&&t instanceof e)},b=function(t){return null==t},y=function(t){return v(t)===Object},w=function(t){return v(t)===String},_=function(t){return Array.isArray(t)},k=function(t){return g(t,NodeList)},C=function(t){return b(t)||(w(t)||_(t)||k(t))&&!t.length||y(t)&&!Object.keys(t).length},x={nullOrUndefined:b,object:y,number:function(t){return v(t)===Number&&!Number.isNaN(t)},string:w,boolean:function(t){return v(t)===Boolean},function:function(t){return v(t)===Function},array:_,weakMap:function(t){return g(t,WeakMap)},nodeList:k,element:function(t){return g(t,Element)},textNode:function(t){return v(t)===Text},event:function(t){return g(t,Event)},keyboardEvent:function(t){return g(t,KeyboardEvent)},cue:function(t){return g(t,window.TextTrackCue)||g(t,window.VTTCue)},track:function(t){return g(t,TextTrack)||!b(t)&&w(t.kind)},promise:function(t){return g(t,Promise)},url:function(t){if(g(t,window.URL))return!0;if(!w(t))return!1;var e=t;t.startsWith("http://")&&t.startsWith("https://")||(e="http://".concat(t));try{return!C(new URL(e).hostname)}catch(t){return!1}},empty:C},T=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0,null}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function S(t,e,n){var i=this,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(t&&"addEventListener"in t&&!x.empty(e)&&x.function(n)){var s=e.split(" "),l=a;T&&(l={passive:o,capture:a}),s.forEach(function(e){i&&i.eventListeners&&r&&i.eventListeners.push({element:t,type:e,callback:n,options:l}),t[r?"addEventListener":"removeEventListener"](e,n,l)})}}function O(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];S.call(this,t,e,n,!0,i,r)}function $(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];S.call(this,t,e,n,!1,i,r)}function E(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];S.call(this,t,n,function a(){$(t,n,a,r,o);for(var s=arguments.length,l=new Array(s),u=0;u1&&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]:{};if(x.element(t)&&!x.empty(e)){var r=new CustomEvent(e,{bubbles:n,detail:Object.assign({},i,{plyr:this})});t.dispatchEvent(r)}}function B(t,e){var n=t.length?t:[t];Array.from(n).reverse().forEach(function(t,n){var i=n>0?e.cloneNode(!0):e,r=t.parentNode,o=t.nextSibling;i.appendChild(t),o?r.insertBefore(i,o):r.appendChild(i)})}function P(t,e){x.element(t)&&!x.empty(e)&&Object.entries(e).filter(function(t){var e=o(t,2)[1];return!x.nullOrUndefined(e)}).forEach(function(e){var n=o(e,2),i=n[0],r=n[1];return t.setAttribute(i,r)})}function M(t,e,n){var i=document.createElement(t);return x.object(e)&&P(i,e),x.string(n)&&(i.innerText=n),i}function I(t,e,n,i){x.element(e)&&e.appendChild(M(t,n,i))}function N(t){x.nodeList(t)||x.array(t)?Array.from(t).forEach(N):x.element(t)&&x.element(t.parentNode)&&t.parentNode.removeChild(t)}function j(t){if(x.element(t))for(var e=t.childNodes.length;e>0;)t.removeChild(t.lastChild),e-=1}function L(t,e){return x.element(e)&&x.element(e.parentNode)&&x.element(t)?(e.parentNode.replaceChild(t,e),t):null}function D(t,e){if(!x.string(t)||x.empty(t))return{};var n={},i=e;return t.split(",").forEach(function(t){var e=t.trim(),r=e.replace(".",""),o=e.replace(/[[\]]/g,"").split("="),a=o[0],s=o.length>1?o[1].replace(/["']/g,""):"";switch(e.charAt(0)){case".":x.object(i)&&x.string(i.class)&&(i.class+=" ".concat(r)),n.class=r;break;case"#":n.id=e.replace("#","");break;case"[":n[a]=s}}),n}function F(t,e){if(x.element(t)){var n=e;x.boolean(n)||(n=!t.hidden),n?t.setAttribute("hidden",""):t.removeAttribute("hidden")}}function R(t,e,n){if(x.nodeList(t))return Array.from(t).map(function(t){return R(t,e,n)});if(x.element(t)){var i="toggle";return void 0!==n&&(i=n?"add":"remove"),t.classList[i](e),t.classList.contains(e)}return!1}function H(t,e){return x.element(t)&&t.classList.contains(e)}function V(t,e){return function(){return Array.from(document.querySelectorAll(e)).includes(this)}.call(t,e)}function U(t){return this.elements.container.querySelectorAll(t)}function z(t){return this.elements.container.querySelector(t)}function W(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];x.element(t)&&(t.focus({preventScroll:!0}),e&&R(t,this.config.classNames.tabFocus))}var G,q,K,Y=(G=document.createElement("span"),q={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},K=Object.keys(q).find(function(t){return void 0!==G.style[t]}),!!x.string(K)&&q[K]);function X(t){setTimeout(function(){try{F(t,!0),t.offsetHeight,F(t,!1)}catch(t){}},0)}var J,Q={isIE:!!document.documentMode,isEdge:window.navigator.userAgent.includes("Edge"),isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:/(iPad|iPhone|iPod)/gi.test(navigator.platform)},Z={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},tt={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check:function(t,e,n){var i=Q.isIPhone&&n&&tt.playsinline,r=tt[t]||"html5"!==e;return{api:r,ui:r&&tt.rangeInput&&("video"!==t||!Q.isIPhone||i)}},pip:!(Q.isIPhone||!x.function(M("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||M("video").disablePictureInPicture)),airplay:x.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime:function(t){if(x.empty(t))return!1;var e=o(t.split("/"),1)[0],n=t;if(!this.isHTML5||e!==this.type)return!1;Object.keys(Z).includes(n)&&(n+='; codecs="'.concat(Z[t],'"'));try{return Boolean(n&&this.media.canPlayType(n).replace(/no/,""))}catch(t){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(J=document.createElement("input"),J.type="range","range"===J.type),touch:"ontouchstart"in document.documentElement,transitions:!1!==Y,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},et={getSources:function(){var t=this;return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter(function(e){var n=e.getAttribute("type");return!!x.empty(n)||tt.mime.call(t,n)}):[]},getQualityOptions:function(){return et.getSources.call(this).map(function(t){return Number(t.getAttribute("size"))}).filter(Boolean)},extend:function(){if(this.isHTML5){var t=this;Object.defineProperty(t.media,"quality",{get:function(){var e=et.getSources.call(t).find(function(e){return e.getAttribute("src")===t.source});return e&&Number(e.getAttribute("size"))},set:function(e){var n=et.getSources.call(t).find(function(t){return Number(t.getAttribute("size"))===e});if(n){var i=t.media,r=i.currentTime,o=i.paused,a=i.preload,s=i.readyState;t.media.src=n.getAttribute("src"),("none"!==a||s)&&(t.once("loadedmetadata",function(){t.currentTime=r,o||t.play()}),t.media.load()),A.call(t,t.media,"qualitychange",!1,{quality:e})}}})}},cancelRequests:function(){this.isHTML5&&(N(et.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function nt(t){return x.array(t)?t.filter(function(e,n){return t.indexOf(e)===n}):t}function it(t,e){return e.split(".").reduce(function(t,e){return t&&t[e]},t)}function rt(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,n=new Array(e>1?e-1:0),i=1;i1?e-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t.replace(new RegExp(e.toString().replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1"),"g"),n.toString())}function st(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString().replace(/\w\S*/g,function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()})}function lt(t){var e=document.createElement("div");return e.appendChild(t),e.innerHTML}var ut={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},ct=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(x.empty(t)||x.empty(e))return"";var n=it(e.i18n,t);if(x.empty(n))return Object.keys(ut).includes(t)?ut[t]:"";var i={"{seektime}":e.seekTime,"{title}":e.title};return Object.entries(i).forEach(function(t){var e=o(t,2),i=e[0],r=e[1];n=at(n,i,r)}),n},dt=function(){function e(n){t(this,e),this.enabled=n.config.storage.enabled,this.key=n.config.storage.key}return i(e,[{key:"get",value:function(t){if(!e.supported||!this.enabled)return null;var n=window.localStorage.getItem(this.key);if(x.empty(n))return null;var i=JSON.parse(n);return x.string(t)&&t.length?i[t]:i}},{key:"set",value:function(t){if(e.supported&&this.enabled&&x.object(t)){var n=this.get();x.empty(n)&&(n={}),rt(n,t),window.localStorage.setItem(this.key,JSON.stringify(n))}}}],[{key:"supported",get:function(){try{return"localStorage"in window&&(window.localStorage.setItem("___test","___test"),window.localStorage.removeItem("___test"),!0)}catch(t){return!1}}}]),e}();function ft(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return new Promise(function(n,i){try{var r=new XMLHttpRequest;if(!("withCredentials"in r))return;r.addEventListener("load",function(){if("text"===e)try{n(JSON.parse(r.responseText))}catch(t){n(r.responseText)}else n(r.response)}),r.addEventListener("error",function(){throw new Error(r.status)}),r.open("GET",t,!0),r.responseType=e,r.send()}catch(t){i(t)}})}function pt(t,e){if(x.string(t)){var n=x.string(e),i=function(){return null!==document.getElementById(e)},r=function(t,e){t.innerHTML=e,n&&i()||document.body.insertAdjacentElement("afterbegin",t)};if(!n||!i()){var o=dt.supported,a=document.createElement("div");if(a.setAttribute("hidden",""),n&&a.setAttribute("id",e),o){var s=window.localStorage.getItem("".concat("cache","-").concat(e));if(null!==s){var l=JSON.parse(s);r(a,l.content)}}ft(t).then(function(t){x.empty(t)||(o&&window.localStorage.setItem("".concat("cache","-").concat(e),JSON.stringify({content:t})),r(a,t))}).catch(function(){})}}}var ht=function(t){return Math.trunc(t/60/60%60,10)},mt=function(t){return Math.trunc(t/60%60,10)},vt=function(t){return Math.trunc(t%60,10)};function gt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!x.number(t))return gt(null,e,n);var i=function(t){return"0".concat(t).slice(-2)},r=ht(t),o=mt(t),a=vt(t);return r=e||r>0?"".concat(r,":"):"","".concat(n&&t>0?"-":"").concat(r).concat(i(o),":").concat(i(a))}var bt={getIconUrl:function(){var t=new URL(this.config.iconUrl,window.location).host!==window.location.host||Q.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:t}},findElements:function(){try{return this.elements.controls=z.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:U.call(this,this.config.selectors.buttons.play),pause:z.call(this,this.config.selectors.buttons.pause),restart:z.call(this,this.config.selectors.buttons.restart),rewind:z.call(this,this.config.selectors.buttons.rewind),fastForward:z.call(this,this.config.selectors.buttons.fastForward),mute:z.call(this,this.config.selectors.buttons.mute),pip:z.call(this,this.config.selectors.buttons.pip),airplay:z.call(this,this.config.selectors.buttons.airplay),settings:z.call(this,this.config.selectors.buttons.settings),captions:z.call(this,this.config.selectors.buttons.captions),fullscreen:z.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=z.call(this,this.config.selectors.progress),this.elements.inputs={seek:z.call(this,this.config.selectors.inputs.seek),volume:z.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:z.call(this,this.config.selectors.display.buffer),currentTime:z.call(this,this.config.selectors.display.currentTime),duration:z.call(this,this.config.selectors.display.duration)},x.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip))),!0}catch(t){return this.debug.warn("It looks like there is a problem with your custom controls HTML",t),this.toggleNativeControls(!0),!1}},createIcon:function(t,e){var n=bt.getIconUrl.call(this),i="".concat(n.cors?"":n.url,"#").concat(this.config.iconPrefix),r=document.createElementNS("http://www.w3.org/2000/svg","svg");P(r,rt(e,{role:"presentation",focusable:"false"}));var o=document.createElementNS("http://www.w3.org/2000/svg","use"),a="".concat(i,"-").concat(t);return"href"in o&&o.setAttributeNS("http://www.w3.org/1999/xlink","href",a),o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a),r.appendChild(o),r},createLabel:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ct(t,this.config);return M("span",Object.assign({},e,{class:[e.class,this.config.classNames.hidden].filter(Boolean).join(" ")}),n)},createBadge:function(t){if(x.empty(t))return null;var e=M("span",{class:this.config.classNames.menu.value});return e.appendChild(M("span",{class:this.config.classNames.menu.badge},t)),e},createButton:function(t,e){var n=Object.assign({},e),i=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return(t=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return t=at(t,"-"," "),t=at(t,"_"," "),at(t=st(t)," ","")}(t)).charAt(0).toLowerCase()+t.slice(1)}(t),r={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach(function(t){Object.keys(n).includes(t)&&(r[t]=n[t],delete n[t])}),"button"!==r.element||Object.keys(n).includes("type")||(n.type="button"),Object.keys(n).includes("class")?n.class.includes(this.config.classNames.control)||(n.class+=" ".concat(this.config.classNames.control)):n.class=this.config.classNames.control,t){case"play":r.toggle=!0,r.label="play",r.labelPressed="pause",r.icon="play",r.iconPressed="pause";break;case"mute":r.toggle=!0,r.label="mute",r.labelPressed="unmute",r.icon="volume",r.iconPressed="muted";break;case"captions":r.toggle=!0,r.label="enableCaptions",r.labelPressed="disableCaptions",r.icon="captions-off",r.iconPressed="captions-on";break;case"fullscreen":r.toggle=!0,r.label="enterFullscreen",r.labelPressed="exitFullscreen",r.icon="enter-fullscreen",r.iconPressed="exit-fullscreen";break;case"play-large":n.class+=" ".concat(this.config.classNames.control,"--overlaid"),i="play",r.label="play",r.icon="play";break;default:x.empty(r.label)&&(r.label=i),x.empty(r.icon)&&(r.icon=t)}var o=M(r.element);return r.toggle?(o.appendChild(bt.createIcon.call(this,r.iconPressed,{class:"icon--pressed"})),o.appendChild(bt.createIcon.call(this,r.icon,{class:"icon--not-pressed"})),o.appendChild(bt.createLabel.call(this,r.labelPressed,{class:"label--pressed"})),o.appendChild(bt.createLabel.call(this,r.label,{class:"label--not-pressed"}))):(o.appendChild(bt.createIcon.call(this,r.icon)),o.appendChild(bt.createLabel.call(this,r.label))),rt(n,D(this.config.selectors.buttons[i],n)),P(o,n),"play"===i?(x.array(this.elements.buttons[i])||(this.elements.buttons[i]=[]),this.elements.buttons[i].push(o)):this.elements.buttons[i]=o,o},createRange:function(t,e){var n=M("input",rt(D(this.config.selectors.inputs[t]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":ct(t,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},e));return this.elements.inputs[t]=n,bt.updateRangeFill.call(this,n),m.setup(n),n},createProgress:function(t,e){var n=M("progress",rt(D(this.config.selectors.display[t]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},e));if("volume"!==t){n.appendChild(M("span",null,"0"));var i={played:"played",buffer:"buffered"}[t],r=i?ct(i,this.config):"";n.innerText="% ".concat(r.toLowerCase())}return this.elements.display[t]=n,n},createTime:function(t){var e=D(this.config.selectors.display[t]),n=M("div",rt(e,{class:"".concat(this.config.classNames.display.time," ").concat(e.class?e.class:"").trim(),"aria-label":ct(t,this.config)}),"00:00");return this.elements.display[t]=n,n},bindMenuItemShortcuts:function(t,e){var n=this;O(t,"keydown keyup",function(i){if([32,38,39,40].includes(i.which)&&(i.preventDefault(),i.stopPropagation(),"keydown"!==i.type)){var r,o=V(t,'[role="menuitemradio"]');!o&&[32,39].includes(i.which)?bt.showMenuPanel.call(n,e,!0):32!==i.which&&(40===i.which||o&&39===i.which?(r=t.nextElementSibling,x.element(r)||(r=t.parentNode.firstElementChild)):(r=t.previousElementSibling,x.element(r)||(r=t.parentNode.lastElementChild)),W.call(n,r,!0))}},!1),O(t,"keyup",function(t){13===t.which&&bt.focusFirstMenuItem.call(n,null,!0)})},createMenuItem:function(t){var e=this,n=t.value,i=t.list,r=t.type,o=t.title,a=t.badge,s=void 0===a?null:a,l=t.checked,u=void 0!==l&&l,c=D(this.config.selectors.inputs[r]),d=M("button",rt(c,{type:"button",role:"menuitemradio",class:"".concat(this.config.classNames.control," ").concat(c.class?c.class:"").trim(),"aria-checked":u,value:n})),f=M("span");f.innerHTML=o,x.element(s)&&f.appendChild(s),d.appendChild(f),Object.defineProperty(d,"checked",{enumerable:!0,get:function(){return"true"===d.getAttribute("aria-checked")},set:function(t){t&&Array.from(d.parentNode.children).filter(function(t){return V(t,'[role="menuitemradio"]')}).forEach(function(t){return t.setAttribute("aria-checked","false")}),d.setAttribute("aria-checked",t?"true":"false")}}),this.listeners.bind(d,"click keyup",function(t){if(!x.keyboardEvent(t)||32===t.which){switch(t.preventDefault(),t.stopPropagation(),d.checked=!0,r){case"language":e.currentTrack=Number(n);break;case"quality":e.quality=n;break;case"speed":e.speed=parseFloat(n)}bt.showMenuPanel.call(e,"home",x.keyboardEvent(t))}},r,!1),bt.bindMenuItemShortcuts.call(this,d,r),i.appendChild(d)},formatTime:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return x.number(t)?gt(t,ht(this.duration)>0,e):t},updateTimeDisplay: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];x.element(t)&&x.number(e)&&(t.innerText=bt.formatTime(e,n))},updateVolume:function(){this.supported.ui&&(x.element(this.elements.inputs.volume)&&bt.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),x.element(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;x.element(t)&&(t.value=e,bt.updateRangeFill.call(this,t))},updateProgress:function(t){var e=this;if(this.supported.ui&&x.event(t)){var n,i,r=0;if(t)switch(t.type){case"timeupdate":case"seeking":case"seeked":n=this.currentTime,i=this.duration,r=0===n||0===i||Number.isNaN(n)||Number.isNaN(i)?0:(n/i*100).toFixed(2),"timeupdate"===t.type&&bt.setRange.call(this,this.elements.inputs.seek,r);break;case"playing":case"progress":!function(t,n){var i=x.number(n)?n:0,r=x.element(t)?t:e.elements.display.buffer;if(x.element(r)){r.value=i;var o=r.getElementsByTagName("span")[0];x.element(o)&&(o.childNodes[0].nodeValue=i)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(t){var e=x.event(t)?t.target:t;if(x.element(e)&&"range"===e.getAttribute("type")){if(V(e,this.config.selectors.inputs.seek)){e.setAttribute("aria-valuenow",this.currentTime);var n=bt.formatTime(this.currentTime),i=bt.formatTime(this.duration),r=ct("seekLabel",this.config);e.setAttribute("aria-valuetext",r.replace("{currentTime}",n).replace("{duration}",i))}else if(V(e,this.config.selectors.inputs.volume)){var o=100*e.value;e.setAttribute("aria-valuenow",o),e.setAttribute("aria-valuetext","".concat(o.toFixed(1),"%"))}else e.setAttribute("aria-valuenow",e.value);Q.isWebkit&&e.style.setProperty("--value","".concat(e.value/e.max*100,"%"))}},updateSeekTooltip:function(t){var e=this;if(this.config.tooltips.seek&&x.element(this.elements.inputs.seek)&&x.element(this.elements.display.seekTooltip)&&0!==this.duration){var n=0,i=this.elements.progress.getBoundingClientRect(),r="".concat(this.config.classNames.tooltip,"--visible"),o=function(t){R(e.elements.display.seekTooltip,r,t)};if(this.touch)o(!1);else{if(x.event(t))n=100/i.width*(t.pageX-i.left);else{if(!H(this.elements.display.seekTooltip,r))return;n=parseFloat(this.elements.display.seekTooltip.style.left,10)}n<0?n=0:n>100&&(n=100),bt.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*n),this.elements.display.seekTooltip.style.left="".concat(n,"%"),x.event(t)&&["mouseenter","mouseleave"].includes(t.type)&&o("mouseenter"===t.type)}}},timeUpdate:function(t){var e=!x.element(this.elements.display.duration)&&this.config.invertTime;bt.updateTimeDisplay.call(this,this.elements.display.currentTime,e?this.duration-this.currentTime:this.currentTime,e),t&&"timeupdate"===t.type&&this.media.seeking||bt.updateProgress.call(this,t)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return F(this.elements.display.currentTime,!0),void F(this.elements.progress,!0);x.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var t=x.element(this.elements.display.duration);!t&&this.config.displayDuration&&this.paused&&bt.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),t&&bt.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),bt.updateSeekTooltip.call(this)}},toggleMenuButton:function(t,e){F(this.elements.settings.buttons[t],!e)},updateSetting:function(t,e,n){var i=this.elements.settings.panels[t],r=null,o=e;if("captions"===t)r=this.currentTrack;else{if(r=x.empty(n)?this[t]:n,x.empty(r)&&(r=this.config[t].default),!x.empty(this.options[t])&&!this.options[t].includes(r))return void this.debug.warn("Unsupported value of '".concat(r,"' for ").concat(t));if(!this.config[t].options.includes(r))return void this.debug.warn("Disabled value of '".concat(r,"' for ").concat(t))}if(x.element(o)||(o=i&&i.querySelector('[role="menu"]')),x.element(o)){this.elements.settings.buttons[t].querySelector(".".concat(this.config.classNames.menu.value)).innerHTML=bt.getLabel.call(this,t,r);var a=o&&o.querySelector('[value="'.concat(r,'"]'));x.element(a)&&(a.checked=!0)}},getLabel:function(t,e){switch(t){case"speed":return 1===e?ct("normal",this.config):"".concat(e,"×");case"quality":if(x.number(e)){var n=ct("qualityLabel.".concat(e),this.config);return n.length?n:"".concat(e,"p")}return st(e);case"captions":return _t.getLabel.call(this);default:return null}},setQualityMenu:function(t){var e=this;if(x.element(this.elements.settings.panels.quality)){var n=this.elements.settings.panels.quality.querySelector('[role="menu"]');x.array(t)&&(this.options.quality=nt(t).filter(function(t){return e.config.quality.options.includes(t)}));var i=!x.empty(this.options.quality)&&this.options.quality.length>1;if(bt.toggleMenuButton.call(this,"quality",i),j(n),bt.checkMenu.call(this),i){var r=function(t){var n=ct("qualityBadge.".concat(t),e.config);return n.length?bt.createBadge.call(e,n):null};this.options.quality.sort(function(t,n){var i=e.config.quality.options;return i.indexOf(t)>i.indexOf(n)?1:-1}).forEach(function(t){bt.createMenuItem.call(e,{value:t,list:n,type:"quality",title:bt.getLabel.call(e,"quality",t),badge:r(t)})}),bt.updateSetting.call(this,"quality",n)}}},setCaptionsMenu:function(){var t=this;if(x.element(this.elements.settings.panels.captions)){var e=this.elements.settings.panels.captions.querySelector('[role="menu"]'),n=_t.getTracks.call(this),i=Boolean(n.length);if(bt.toggleMenuButton.call(this,"captions",i),j(e),bt.checkMenu.call(this),i){var r=n.map(function(n,i){return{value:i,checked:t.captions.toggled&&t.currentTrack===i,title:_t.getLabel.call(t,n),badge:n.language&&bt.createBadge.call(t,n.language.toUpperCase()),list:e,type:"language"}});r.unshift({value:-1,checked:!this.captions.toggled,title:ct("disabled",this.config),list:e,type:"language"}),r.forEach(bt.createMenuItem.bind(this)),bt.updateSetting.call(this,"captions",e)}}},setSpeedMenu:function(t){var e=this;if(x.element(this.elements.settings.panels.speed)){var n=this.elements.settings.panels.speed.querySelector('[role="menu"]');x.array(t)?this.options.speed=t:(this.isHTML5||this.isVimeo)&&(this.options.speed=[.5,.75,1,1.25,1.5,1.75,2]),this.options.speed=this.options.speed.filter(function(t){return e.config.speed.options.includes(t)});var i=!x.empty(this.options.speed)&&this.options.speed.length>1;bt.toggleMenuButton.call(this,"speed",i),j(n),bt.checkMenu.call(this),i&&(this.options.speed.forEach(function(t){bt.createMenuItem.call(e,{value:t,list:n,type:"speed",title:bt.getLabel.call(e,"speed",t)})}),bt.updateSetting.call(this,"speed",n))}},checkMenu:function(){var t=this.elements.settings.buttons,e=!x.empty(t)&&Object.values(t).some(function(t){return!t.hidden});F(this.elements.settings.menu,!e)},focusFirstMenuItem:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.elements.settings.popup.hidden){var n=t;x.element(n)||(n=Object.values(this.elements.settings.panels).find(function(t){return!t.hidden}));var i=n.querySelector('[role^="menuitem"]');W.call(this,i,e)}},toggleMenu:function(t){var e=this.elements.settings.popup,n=this.elements.buttons.settings;if(x.element(e)&&x.element(n)){var i=e.hidden,r=i;if(x.boolean(t))r=t;else if(x.keyboardEvent(t)&&27===t.which)r=!1;else if(x.event(t)){var o=e.contains(t.target);if(o||!o&&t.target!==n&&r)return}n.setAttribute("aria-expanded",r),F(e,!r),R(this.elements.container,this.config.classNames.menu.open,r),r&&x.keyboardEvent(t)?bt.focusFirstMenuItem.call(this,null,!0):r||i||W.call(this,n,x.keyboardEvent(t))}},getMenuSize:function(t){var e=t.cloneNode(!0);e.style.position="absolute",e.style.opacity=0,e.removeAttribute("hidden"),t.parentNode.appendChild(e);var n=e.scrollWidth,i=e.scrollHeight;return N(e),{width:n,height:i}},showMenuPanel:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=document.getElementById("plyr-settings-".concat(this.id,"-").concat(e));if(x.element(i)){var r=i.parentNode,o=Array.from(r.children).find(function(t){return!t.hidden});if(tt.transitions&&!tt.reducedMotion){r.style.width="".concat(o.scrollWidth,"px"),r.style.height="".concat(o.scrollHeight,"px");var a=bt.getMenuSize.call(this,i);O.call(this,r,Y,function e(n){n.target===r&&["width","height"].includes(n.propertyName)&&(r.style.width="",r.style.height="",$.call(t,r,Y,e))}),r.style.width="".concat(a.width,"px"),r.style.height="".concat(a.height,"px")}F(o,!0),F(i,!1),bt.focusFirstMenuItem.call(this,i,n)}},setDownloadLink:function(){var t=this.elements.buttons.download;x.element(t)&&t.setAttribute("href",this.download)},create:function(t){var e=this,n=M("div",D(this.config.selectors.controls.wrapper));if(this.config.controls.includes("restart")&&n.appendChild(bt.createButton.call(this,"restart")),this.config.controls.includes("rewind")&&n.appendChild(bt.createButton.call(this,"rewind")),this.config.controls.includes("play")&&n.appendChild(bt.createButton.call(this,"play")),this.config.controls.includes("fast-forward")&&n.appendChild(bt.createButton.call(this,"fast-forward")),this.config.controls.includes("progress")){var i=M("div",D(this.config.selectors.progress));if(i.appendChild(bt.createRange.call(this,"seek",{id:"plyr-seek-".concat(t.id)})),i.appendChild(bt.createProgress.call(this,"buffer")),this.config.tooltips.seek){var r=M("span",{class:this.config.classNames.tooltip},"00:00");i.appendChild(r),this.elements.display.seekTooltip=r}this.elements.progress=i,n.appendChild(this.elements.progress)}if(this.config.controls.includes("current-time")&&n.appendChild(bt.createTime.call(this,"currentTime")),this.config.controls.includes("duration")&&n.appendChild(bt.createTime.call(this,"duration")),this.config.controls.includes("mute")||this.config.controls.includes("volume")){var o=M("div",{class:"plyr__volume"});if(this.config.controls.includes("mute")&&o.appendChild(bt.createButton.call(this,"mute")),this.config.controls.includes("volume")){var a={max:1,step:.05,value:this.config.volume};o.appendChild(bt.createRange.call(this,"volume",rt(a,{id:"plyr-volume-".concat(t.id)}))),this.elements.volume=o}n.appendChild(o)}if(this.config.controls.includes("captions")&&n.appendChild(bt.createButton.call(this,"captions")),this.config.controls.includes("settings")&&!x.empty(this.config.settings)){var s=M("div",{class:"plyr__menu",hidden:""});s.appendChild(bt.createButton.call(this,"settings",{"aria-haspopup":!0,"aria-controls":"plyr-settings-".concat(t.id),"aria-expanded":!1}));var l=M("div",{class:"plyr__menu__container",id:"plyr-settings-".concat(t.id),hidden:""}),u=M("div"),c=M("div",{id:"plyr-settings-".concat(t.id,"-home")}),d=M("div",{role:"menu"});c.appendChild(d),u.appendChild(c),this.elements.settings.panels.home=c,this.config.settings.forEach(function(n){var i=M("button",rt(D(e.config.selectors.buttons.settings),{type:"button",class:"".concat(e.config.classNames.control," ").concat(e.config.classNames.control,"--forward"),role:"menuitem","aria-haspopup":!0,hidden:""}));bt.bindMenuItemShortcuts.call(e,i,n),O(i,"click",function(){bt.showMenuPanel.call(e,n,!1)});var r=M("span",null,ct(n,e.config)),o=M("span",{class:e.config.classNames.menu.value});o.innerHTML=t[n],r.appendChild(o),i.appendChild(r),d.appendChild(i);var a=M("div",{id:"plyr-settings-".concat(t.id,"-").concat(n),hidden:""}),s=M("button",{type:"button",class:"".concat(e.config.classNames.control," ").concat(e.config.classNames.control,"--back")});s.appendChild(M("span",{"aria-hidden":!0},ct(n,e.config))),s.appendChild(M("span",{class:e.config.classNames.hidden},ct("menuBack",e.config))),O(a,"keydown",function(t){37===t.which&&(t.preventDefault(),t.stopPropagation(),bt.showMenuPanel.call(e,"home",!0))},!1),O(s,"click",function(){bt.showMenuPanel.call(e,"home",!1)}),a.appendChild(s),a.appendChild(M("div",{role:"menu"})),u.appendChild(a),e.elements.settings.buttons[n]=i,e.elements.settings.panels[n]=a}),l.appendChild(u),s.appendChild(l),n.appendChild(s),this.elements.settings.popup=l,this.elements.settings.menu=s}if(this.config.controls.includes("pip")&&tt.pip&&n.appendChild(bt.createButton.call(this,"pip")),this.config.controls.includes("airplay")&&tt.airplay&&n.appendChild(bt.createButton.call(this,"airplay")),this.config.controls.includes("download")){var f={element:"a",href:this.download,target:"_blank"},p=this.config.urls.download;!x.url(p)&&this.isEmbed&&rt(f,{icon:"logo-".concat(this.provider),label:this.provider}),n.appendChild(bt.createButton.call(this,"download",f))}return this.config.controls.includes("fullscreen")&&n.appendChild(bt.createButton.call(this,"fullscreen")),this.config.controls.includes("play-large")&&this.elements.container.appendChild(bt.createButton.call(this,"play-large")),this.elements.controls=n,this.isHTML5&&bt.setQualityMenu.call(this,et.getQualityOptions.call(this)),bt.setSpeedMenu.call(this),n},inject:function(){var t=this;if(this.config.loadSprite){var e=bt.getIconUrl.call(this);e.cors&&pt(e.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());var n=null;this.elements.controls=null;var i={id:this.id,seektime:this.config.seekTime,title:this.config.title},r=!0;x.function(this.config.controls)&&(this.config.controls=this.config.controls.call(this,i)),this.config.controls||(this.config.controls=[]),x.element(this.config.controls)||x.string(this.config.controls)?n=this.config.controls:(n=bt.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:_t.getLabel.call(this)}),r=!1);var a,s=function(t){var e=t;return Object.entries(i).forEach(function(t){var n=o(t,2),i=n[0],r=n[1];e=at(e,"{".concat(i,"}"),r)}),e};if(r&&(x.string(this.config.controls)?n=s(n):x.element(n)&&(n.innerHTML=s(n.innerHTML))),x.string(this.config.selectors.controls.container)&&(a=document.querySelector(this.config.selectors.controls.container)),x.element(a)||(a=this.elements.container),a[x.element(n)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",n),x.element(this.elements.controls)||bt.findElements.call(this),!x.empty(this.elements.buttons)){var l=function(e){var n=t.config.classNames.controlPressed;Object.defineProperty(e,"pressed",{enumerable:!0,get:function(){return H(e,n)},set:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];R(e,n,t)}})};Object.values(this.elements.buttons).filter(Boolean).forEach(function(t){x.array(t)||x.nodeList(t)?Array.from(t).filter(Boolean).forEach(l):l(t)})}if(Q.isEdge&&X(a),this.config.tooltips.controls){var u=this.config,c=u.classNames,d=u.selectors,f="".concat(d.controls.wrapper," ").concat(d.labels," .").concat(c.hidden),p=U.call(this,f);Array.from(p).forEach(function(e){R(e,t.config.classNames.hidden,!1),R(e,t.config.classNames.tooltip,!0)})}}};function yt(t){var e=t;if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]){var n=document.createElement("a");n.href=e,e=n.href}try{return new URL(e)}catch(t){return null}}function wt(t){var e=new URLSearchParams;return x.object(t)&&Object.entries(t).forEach(function(t){var n=o(t,2),i=n[0],r=n[1];e.set(i,r)}),e}var _t={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!tt.textTracks)x.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&bt.setCaptionsMenu.call(this);else{var t,e;if(x.element(this.elements.captions)||(this.elements.captions=M("div",D(this.config.selectors.captions)),t=this.elements.captions,e=this.elements.wrapper,x.element(t)&&x.element(e)&&e.parentNode.insertBefore(t,e.nextSibling)),Q.isIE&&window.URL){var n=this.media.querySelectorAll("track");Array.from(n).forEach(function(t){var e=t.getAttribute("src"),n=yt(e);null!==n&&n.hostname!==window.location.href.hostname&&["http:","https:"].includes(n.protocol)&&ft(e,"blob").then(function(e){t.setAttribute("src",window.URL.createObjectURL(e))}).catch(function(){N(t)})})}var i=nt((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map(function(t){return t.split("-")[0]})),r=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===r&&(r=o(i,1)[0]);var a=this.storage.get("captions");if(x.boolean(a)||(a=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:a,language:r,languages:i}),this.isHTML5){var s=this.config.captions.update?"addtrack removetrack":"removetrack";O.call(this,this.media.textTracks,s,_t.update.bind(this))}setTimeout(_t.update.bind(this),0)}},update:function(){var t=this,e=_t.getTracks.call(this,!0),n=this.captions,i=n.active,r=n.language,o=n.meta,a=n.currentTrackNode,s=Boolean(e.find(function(t){return t.language===r}));this.isHTML5&&this.isVideo&&e.filter(function(t){return!o.get(t)}).forEach(function(e){t.debug.log("Track added",e),o.set(e,{default:"showing"===e.mode}),e.mode="hidden",O.call(t,e,"cuechange",function(){return _t.updateCues.call(t)})}),(s&&this.language!==r||!e.includes(a))&&(_t.setLanguage.call(this,r),_t.toggle.call(this,i&&s)),R(this.elements.container,this.config.classNames.captions.enabled,!x.empty(e)),(this.config.controls||[]).includes("settings")&&this.config.settings.includes("captions")&&bt.setCaptionsMenu.call(this)},toggle:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var n=this.captions.toggled,i=this.config.classNames.captions.active,r=x.nullOrUndefined(t)?!n:t;if(r!==n){if(e||(this.captions.active=r,this.storage.set({captions:r})),!this.language&&r&&!e){var o=_t.getTracks.call(this),a=_t.findTrack.call(this,[this.captions.language].concat(function(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e1&&void 0!==arguments[1])||arguments[1],n=_t.getTracks.call(this);if(-1!==t)if(x.number(t))if(t in n){if(this.captions.currentTrack!==t){this.captions.currentTrack=t;var i=n[t],r=(i||{}).language;this.captions.currentTrackNode=i,bt.updateSetting.call(this,"captions"),e||(this.captions.language=r,this.storage.set({language:r})),this.isVimeo&&this.embed.enableTextTrack(r),A.call(this,this.media,"languagechange")}_t.toggle.call(this,!0,e),this.isHTML5&&this.isVideo&&_t.updateCues.call(this)}else this.debug.warn("Track not found",t);else this.debug.warn("Invalid caption argument",t);else _t.toggle.call(this,!1,e)},setLanguage:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(x.string(t)){var n=t.toLowerCase();this.captions.language=n;var i=_t.getTracks.call(this),r=_t.findTrack.call(this,[n]);_t.set.call(this,i.indexOf(r),e)}else this.debug.warn("Invalid language argument",t)},getTracks:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Array.from((this.media||{}).textTracks||[]).filter(function(n){return!t.isHTML5||e||t.captions.meta.has(n)}).filter(function(t){return["captions","subtitles"].includes(t.kind)})},findTrack:function(t){var e,n=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=_t.getTracks.call(this),o=function(t){return Number((n.captions.meta.get(t)||{}).default)},a=Array.from(r).sort(function(t,e){return o(e)-o(t)});return t.every(function(t){return!(e=a.find(function(e){return e.language===t}))}),e||(i?a[0]:void 0)},getCurrentTrack:function(){return _t.getTracks.call(this)[this.currentTrack]},getLabel:function(t){var e=t;return!x.track(e)&&tt.textTracks&&this.captions.toggled&&(e=_t.getCurrentTrack.call(this)),x.track(e)?x.empty(e.label)?x.empty(e.language)?ct("enabled",this.config):t.language.toUpperCase():e.label:ct("disabled",this.config)},updateCues:function(t){if(this.supported.ui)if(x.element(this.elements.captions))if(x.nullOrUndefined(t)||Array.isArray(t)){var e=t;if(!e){var n=_t.getCurrentTrack.call(this);e=Array.from((n||{}).activeCues||[]).map(function(t){return t.getCueAsHTML()}).map(lt)}var i=e.map(function(t){return t.trim()}).join("\n");if(i!==this.elements.captions.innerHTML){j(this.elements.captions);var r=M("span",D(this.config.selectors.caption));r.innerHTML=i,this.elements.captions.appendChild(r),A.call(this,this.media,"cuechange")}}else this.debug.warn("updateCues: Invalid input",t);else this.debug.warn("No captions element to render to")}},kt={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:"16:9",clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.5.0/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240]},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/v2/video/{0}.json"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://www.googleapis.com/youtube/v3/videos?id={0}&key={1}&fields=items(snippet(title))&part=snippet"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption",menu:{quality:".js-plyr__menu__list--quality"}},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus",previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id"}},keys:{google:null},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1},youtube:{noCookie:!1,rel:0,showinfo:0,iv_load_policy:3,modestbranding:1}},Ct="picture-in-picture",xt={html5:"html5",youtube:"youtube",vimeo:"vimeo"},Tt={audio:"audio",video:"video"},St=function(){},Ot=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t(this,e),this.enabled=window.console&&n,this.enabled&&this.log("Debugging enabled")}return i(e,[{key:"log",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):St}},{key:"warn",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):St}},{key:"error",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):St}}]),e}();function $t(){if(this.enabled){var t=this.player.elements.buttons.fullscreen;x.element(t)&&(t.pressed=this.active),A.call(this.player,this.target,this.active?"enterfullscreen":"exitfullscreen",!0),Q.isIos||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(x.element(t)){var n=U.call(this,"button:not(:disabled), input:not(:disabled), [tabindex]"),i=n[0],r=n[n.length-1];S.call(this,this.elements.container,"keydown",function(t){if("Tab"===t.key&&9===t.keyCode){var e=document.activeElement;e!==r||t.shiftKey?e===i&&t.shiftKey&&(r.focus(),t.preventDefault()):(i.focus(),t.preventDefault())}},e,!1)}}.call(this.player,this.target,this.active)}}function Et(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e?this.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=e?"hidden":"",R(this.target,this.player.config.classNames.fullscreen.fallback,e),Q.isIos){var n=document.head.querySelector('meta[name="viewport"]'),i="viewport-fit=cover";n||(n=document.createElement("meta")).setAttribute("name","viewport");var r=x.string(n.content)&&n.content.includes(i);e?(this.cleanupViewport=!r,r||(n.content+=",".concat(i))):this.cleanupViewport&&(n.content=n.content.split(",").filter(function(t){return t.trim()!==i}).join(",")),setTimeout(function(){return X(t.target)},100)}$t.call(this)}var At=function(){function e(n){var i=this;t(this,e),this.player=n,this.prefix=e.prefix,this.property=e.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===n.config.fullscreen.fallback,O.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":"".concat(this.prefix,"fullscreenchange"),function(){$t.call(i)}),O.call(this.player,this.player.elements.container,"dblclick",function(t){x.element(i.player.elements.controls)&&i.player.elements.controls.contains(t.target)||i.toggle()}),this.update()}return i(e,[{key:"update",value:function(){var t;this.enabled?(t=this.forceFallback?"Fallback (forced)":e.native?"Native":"Fallback",this.player.debug.log("".concat(t," fullscreen enabled"))):this.player.debug.log("Fullscreen not supported and fallback disabled"),R(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.enabled)}},{key:"enter",value:function(){this.enabled&&(Q.isIos&&this.player.config.fullscreen.iosNative?this.target.webkitEnterFullscreen():!e.native||this.forceFallback?Et.call(this,!0):this.prefix?x.empty(this.prefix)||this.target["".concat(this.prefix,"Request").concat(this.property)]():this.target.requestFullscreen())}},{key:"exit",value:function(){if(this.enabled)if(Q.isIos&&this.player.config.fullscreen.iosNative)this.target.webkitExitFullscreen(),this.player.play();else if(!e.native||this.forceFallback)Et.call(this,!1);else if(this.prefix){if(!x.empty(this.prefix)){var t="moz"===this.prefix?"Cancel":"Exit";document["".concat(this.prefix).concat(t).concat(this.property)]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)}},{key:"toggle",value:function(){this.active?this.exit():this.enter()}},{key:"usingNative",get:function(){return e.native&&!this.forceFallback}},{key:"enabled",get:function(){return(e.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:"active",get:function(){return!!this.enabled&&(!e.native||this.forceFallback?H(this.target,this.player.config.classNames.fullscreen.fallback):(this.prefix?document["".concat(this.prefix).concat(this.property,"Element")]:document.fullscreenElement)===this.target)}},{key:"target",get:function(){return Q.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.container}}],[{key:"native",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:"prefix",get:function(){if(x.function(document.exitFullscreen))return"";var t="";return["webkit","moz","ms"].some(function(e){return!(!x.function(document["".concat(e,"ExitFullscreen")])&&!x.function(document["".concat(e,"CancelFullScreen")])||(t=e,0))}),t}},{key:"property",get:function(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}}]),e}();function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise(function(n,i){var r=new Image,o=function(){delete r.onload,delete r.onerror,(r.naturalWidth>=e?n:i)(r)};Object.assign(r,{onload:o,onerror:o,src:t})})}var Pt={addStyleHook:function(){R(this.elements.container,this.config.selectors.container.replace(".",""),!0),R(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build:function(){var t=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn("Basic support only for ".concat(this.provider," ").concat(this.type)),void Pt.toggleNativeControls.call(this,!0);x.element(this.elements.controls)||(bt.inject.call(this),this.listeners.controls()),Pt.toggleNativeControls.call(this),this.isHTML5&&_t.setup.call(this),this.volume=null,this.muted=null,this.speed=null,this.loop=null,this.quality=null,bt.updateVolume.call(this),bt.timeUpdate.call(this),Pt.checkPlaying.call(this),R(this.elements.container,this.config.classNames.pip.supported,tt.pip&&this.isHTML5&&this.isVideo),R(this.elements.container,this.config.classNames.airplay.supported,tt.airplay&&this.isHTML5),R(this.elements.container,this.config.classNames.isIos,Q.isIos),R(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout(function(){A.call(t,t.media,"ready")},0),Pt.setTitle.call(this),this.poster&&Pt.setPoster.call(this,this.poster,!1).catch(function(){}),this.config.duration&&bt.durationUpdate.call(this)},setTitle:function(){var t=ct("play",this.config);if(x.string(this.config.title)&&!x.empty(this.config.title)&&(t+=", ".concat(this.config.title)),Array.from(this.elements.buttons.play||[]).forEach(function(e){e.setAttribute("aria-label",t)}),this.isEmbed){var e=z.call(this,"iframe");if(!x.element(e))return;var n=x.empty(this.config.title)?"video":this.config.title,i=ct("frameTitle",this.config);e.setAttribute("title",i.replace("{title}",n))}},togglePoster:function(t){R(this.elements.container,this.config.classNames.posterEnabled,t)},setPoster:function(t){var e=this;return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]||!this.poster?(this.media.setAttribute("poster",t),function(){var t=this;return new Promise(function(e){return t.ready?setTimeout(e,0):O.call(t,t.elements.container,"ready",e)}).then(function(){})}.call(this).then(function(){return Bt(t)}).catch(function(n){throw t===e.poster&&Pt.togglePoster.call(e,!1),n}).then(function(){if(t!==e.poster)throw new Error("setPoster cancelled by later call to setPoster")}).then(function(){return Object.assign(e.elements.poster.style,{backgroundImage:"url('".concat(t,"')"),backgroundSize:""}),Pt.togglePoster.call(e,!0),t})):Promise.reject(new Error("Poster already set"))},checkPlaying:function(t){var e=this;R(this.elements.container,this.config.classNames.playing,this.playing),R(this.elements.container,this.config.classNames.paused,this.paused),R(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach(function(t){t.pressed=e.playing}),x.event(t)&&"timeupdate"===t.type||Pt.toggleControls.call(this)},checkLoading:function(t){var e=this;this.loading=["stalled","waiting"].includes(t.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout(function(){R(e.elements.container,e.config.classNames.loading,e.loading),Pt.toggleControls.call(e)},this.loading?250:0)},toggleControls:function(t){var e=this.elements.controls;if(e&&this.config.hideControls){var n=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(t||this.loading||this.paused||e.pressed||e.hover||n))}}};function Mt(t){var e=t;x.string(e)||x.nullOrUndefined(this.embed)||(e=this.embed.ratio),x.string(e)||(e=this.config.ratio);var n=o(e.split(":").map(Number),2),i=100/n[0]*n[1];if(this.elements.wrapper.style.paddingBottom="".concat(i,"%"),this.isVimeo&&this.supported.ui){var r=(240-i)/4.8;this.media.style.transform="translateY(-".concat(r,"%)")}return{padding:i,ratio:e}}var It=function(){function e(n){t(this,e),this.player=n,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}return i(e,[{key:"handleKey",value:function(t){var e=this.player,n=e.elements,i=t.keyCode?t.keyCode:t.which,r="keydown"===t.type,o=r&&i===this.lastKey;if(!(t.altKey||t.ctrlKey||t.metaKey||t.shiftKey)&&x.number(i))if(r){var a=document.activeElement;if(x.element(a)){var s=e.config.selectors.editable;if(a!==n.inputs.seek&&V(a,s))return;if(32===t.which&&V(a,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(i)&&(t.preventDefault(),t.stopPropagation()),i){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:o||(e.currentTime=e.duration/10*(i-48));break;case 32:case 75:o||e.togglePlay();break;case 38:e.increaseVolume(.1);break;case 40:e.decreaseVolume(.1);break;case 77:o||(e.muted=!e.muted);break;case 39:e.forward();break;case 37:e.rewind();break;case 70:e.fullscreen.toggle();break;case 67:o||e.toggleCaptions();break;case 76:e.loop=!e.loop}27===i&&!e.fullscreen.usingNative&&e.fullscreen.active&&e.fullscreen.toggle(),this.lastKey=i}else this.lastKey=null}},{key:"toggleMenu",value:function(t){bt.toggleMenu.call(this.player,t)}},{key:"firstTouch",value:function(){var t=this.player,e=t.elements;t.touch=!0,R(e.container,t.config.classNames.isTouch,!0)}},{key:"setTabFocus",value:function(t){var e=this.player,n=e.elements;if(clearTimeout(this.focusTimer),"keydown"!==t.type||9===t.which){"keydown"===t.type&&(this.lastKeyDown=t.timeStamp);var i,r=t.timeStamp-this.lastKeyDown<=20;("focus"!==t.type||r)&&(i=e.config.classNames.tabFocus,R(U.call(e,".".concat(i)),i,!1),this.focusTimer=setTimeout(function(){var t=document.activeElement;n.container.contains(t)&&R(document.activeElement,e.config.classNames.tabFocus,!0)},10))}}},{key:"global",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.player;e.config.keyboard.global&&S.call(e,window,"keydown keyup",this.handleKey,t,!1),S.call(e,document.body,"click",this.toggleMenu,t),E.call(e,document.body,"touchstart",this.firstTouch),S.call(e,document.body,"keydown focus blur",this.setTabFocus,t,!1,!0)}},{key:"container",value:function(){var t=this.player,e=t.config,n=t.elements,i=t.timers;!e.keyboard.global&&e.keyboard.focused&&O.call(t,n.container,"keydown keyup",this.handleKey,!1),O.call(t,n.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",function(e){var r=n.controls;r&&"enterfullscreen"===e.type&&(r.pressed=!1,r.hover=!1);var o=0;["touchstart","touchmove","mousemove"].includes(e.type)&&(Pt.toggleControls.call(t,!0),o=t.touch?3e3:2e3),clearTimeout(i.controls),i.controls=setTimeout(function(){return Pt.toggleControls.call(t,!1)},o)});var r=function(e){if(!e)return Mt.call(t);var i=n.container.getBoundingClientRect(),r=i.width,o=i.height;return Mt.call(t,"".concat(r,":").concat(o))},a=function(){window.clearTimeout(i.resized),i.resized=window.setTimeout(r,50)};O.call(t,n.container,"enterfullscreen exitfullscreen",function(e){var i=t.fullscreen,s=i.target,l=i.usingNative;if(t.isEmbed&&s===n.container){var u="enterfullscreen"===e.type,c=r(u);c.padding,function(e,n,i){if(t.isVimeo){var r=t.elements.wrapper.firstChild,a=o(e.split(":").map(Number),2)[1],s=o(t.embed.ratio.split(":").map(Number),2),l=s[0],u=s[1];r.style.maxWidth=i?"".concat(a/u*l,"px"):null,r.style.margin=i?"0 auto":null}}(c.ratio,0,u),l||(u?O.call(t,window,"resize",a):$.call(t,window,"resize",a))}})}},{key:"media",value:function(){var t=this,e=this.player,n=e.elements;if(O.call(e,e.media,"timeupdate seeking seeked",function(t){return bt.timeUpdate.call(e,t)}),O.call(e,e.media,"durationchange loadeddata loadedmetadata",function(t){return bt.durationUpdate.call(e,t)}),O.call(e,e.media,"canplay loadeddata",function(){F(n.volume,!e.hasAudio),F(n.buttons.mute,!e.hasAudio)}),O.call(e,e.media,"ended",function(){e.isHTML5&&e.isVideo&&e.config.resetOnEnd&&e.restart()}),O.call(e,e.media,"progress playing seeking seeked",function(t){return bt.updateProgress.call(e,t)}),O.call(e,e.media,"volumechange",function(t){return bt.updateVolume.call(e,t)}),O.call(e,e.media,"playing play pause ended emptied timeupdate",function(t){return Pt.checkPlaying.call(e,t)}),O.call(e,e.media,"waiting canplay seeked playing",function(t){return Pt.checkLoading.call(e,t)}),e.supported.ui&&e.config.clickToPlay&&!e.isAudio){var i=z.call(e,".".concat(e.config.classNames.video));if(!x.element(i))return;O.call(e,n.container,"click",function(r){([n.container,i].includes(r.target)||i.contains(r.target))&&(e.touch&&e.config.hideControls||(e.ended?(t.proxy(r,e.restart,"restart"),t.proxy(r,e.play,"play")):t.proxy(r,e.togglePlay,"play")))})}e.supported.ui&&e.config.disableContextMenu&&O.call(e,n.wrapper,"contextmenu",function(t){t.preventDefault()},!1),O.call(e,e.media,"volumechange",function(){e.storage.set({volume:e.volume,muted:e.muted})}),O.call(e,e.media,"ratechange",function(){bt.updateSetting.call(e,"speed"),e.storage.set({speed:e.speed})}),O.call(e,e.media,"qualitychange",function(t){bt.updateSetting.call(e,"quality",null,t.detail.quality)}),O.call(e,e.media,"ready qualitychange",function(){bt.setDownloadLink.call(e)});var r=e.config.events.concat(["keyup","keydown"]).join(" ");O.call(e,e.media,r,function(t){var i=t.detail,r=void 0===i?{}:i;"error"===t.type&&(r=e.media.error),A.call(e,n.container,t.type,!0,r)})}},{key:"proxy",value:function(t,e,n){var i=this.player,r=i.config.listeners[n],o=!0;x.function(r)&&(o=r.call(i,t)),o&&x.function(e)&&e.call(i,t)}},{key:"bind",value:function(t,e,n,i){var r=this,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=this.player,s=a.config.listeners[i],l=x.function(s);O.call(a,t,e,function(t){return r.proxy(t,n,i)},o&&!l)}},{key:"controls",value:function(){var t=this,e=this.player,n=e.elements,i=Q.isIE?"change":"input";if(n.buttons.play&&Array.from(n.buttons.play).forEach(function(n){t.bind(n,"click",e.togglePlay,"play")}),this.bind(n.buttons.restart,"click",e.restart,"restart"),this.bind(n.buttons.rewind,"click",e.rewind,"rewind"),this.bind(n.buttons.fastForward,"click",e.forward,"fastForward"),this.bind(n.buttons.mute,"click",function(){e.muted=!e.muted},"mute"),this.bind(n.buttons.captions,"click",function(){return e.toggleCaptions()}),this.bind(n.buttons.download,"click",function(){A.call(e,e.media,"download")},"download"),this.bind(n.buttons.fullscreen,"click",function(){e.fullscreen.toggle()},"fullscreen"),this.bind(n.buttons.pip,"click",function(){e.pip="toggle"},"pip"),this.bind(n.buttons.airplay,"click",e.airplay,"airplay"),this.bind(n.buttons.settings,"click",function(t){t.stopPropagation(),bt.toggleMenu.call(e,t)}),this.bind(n.buttons.settings,"keyup",function(t){var n=t.which;[13,32].includes(n)&&(13!==n?(t.preventDefault(),t.stopPropagation(),bt.toggleMenu.call(e,t)):bt.focusFirstMenuItem.call(e,null,!0))},null,!1),this.bind(n.settings.menu,"keydown",function(t){27===t.which&&bt.toggleMenu.call(e,t)}),this.bind(n.inputs.seek,"mousedown mousemove",function(t){var e=n.progress.getBoundingClientRect(),i=100/e.width*(t.pageX-e.left);t.currentTarget.setAttribute("seek-value",i)}),this.bind(n.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",function(t){var n=t.currentTarget,i=t.keyCode?t.keyCode:t.which;if(!x.keyboardEvent(t)||39===i||37===i){e.lastSeekTime=Date.now();var r=n.hasAttribute("play-on-seeked"),o=["mouseup","touchend","keyup"].includes(t.type);r&&o?(n.removeAttribute("play-on-seeked"),e.play()):!o&&e.playing&&(n.setAttribute("play-on-seeked",""),e.pause())}}),Q.isIos){var r=U.call(e,'input[type="range"]');Array.from(r).forEach(function(e){return t.bind(e,i,function(t){return X(t.target)})})}this.bind(n.inputs.seek,i,function(t){var n=t.currentTarget,i=n.getAttribute("seek-value");x.empty(i)&&(i=n.value),n.removeAttribute("seek-value"),e.currentTime=i/n.max*e.duration},"seek"),this.bind(n.progress,"mouseenter mouseleave mousemove",function(t){return bt.updateSeekTooltip.call(e,t)}),this.bind(n.progress,"mousemove touchmove",function(t){var n=e.previewThumbnails;n&&n.loaded&&n.startMove(t)}),this.bind(n.progress,"mouseleave click",function(){var t=e.previewThumbnails;t&&t.loaded&&t.endMove(!1,!0)}),this.bind(n.progress,"mousedown touchstart",function(t){var n=e.previewThumbnails;n&&n.loaded&&n.startScrubbing(t)}),this.bind(n.progress,"mouseup touchend",function(t){var n=e.previewThumbnails;n&&n.loaded&&n.endScrubbing(t)}),Q.isWebkit&&Array.from(U.call(e,'input[type="range"]')).forEach(function(n){t.bind(n,"input",function(t){return bt.updateRangeFill.call(e,t.target)})}),e.config.toggleInvert&&!x.element(n.display.duration)&&this.bind(n.display.currentTime,"click",function(){0!==e.currentTime&&(e.config.invertTime=!e.config.invertTime,bt.timeUpdate.call(e))}),this.bind(n.inputs.volume,i,function(t){e.volume=t.target.value},"volume"),this.bind(n.controls,"mouseenter mouseleave",function(t){n.controls.hover=!e.touch&&"mouseenter"===t.type}),this.bind(n.controls,"mousedown mouseup touchstart touchend touchcancel",function(t){n.controls.pressed=["mousedown","touchstart"].includes(t.type)}),this.bind(n.controls,"focusin",function(){var n=e.config,i=e.elements,r=e.timers;R(i.controls,n.classNames.noTransition,!0),Pt.toggleControls.call(e,!0),setTimeout(function(){R(i.controls,n.classNames.noTransition,!1)},0);var o=t.touch?3e3:4e3;clearTimeout(r.controls),r.controls=setTimeout(function(){return Pt.toggleControls.call(e,!1)},o)}),this.bind(n.inputs.volume,"wheel",function(t){var n=t.webkitDirectionInvertedFromDevice,i=o([t.deltaX,-t.deltaY].map(function(t){return n?-t:t}),2),r=i[0],a=i[1],s=Math.sign(Math.abs(r)>Math.abs(a)?r:a);e.increaseVolume(s/50);var l=e.media.volume;(1===s&&l<1||-1===s&&l>0)&&t.preventDefault()},"volume",!1)}}]),e}();"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var Nt,jt=(function(t,e){t.exports=function(){var t=function(){},e={},n={},i={};function r(t,e){if(t){var r=i[t];if(n[t]=e,r)for(;r.length;)r[0](t,e),r.splice(0,1)}}function o(e,n){e.call&&(e={success:e}),n.length?(e.error||t)(n):(e.success||t)(e)}function a(e,n,i,r){var o,s,l=document,u=i.async,c=(i.numRetries||0)+1,d=i.before||t,f=e.replace(/^(css|img)!/,"");r=r||0,/(^css!|\.css$)/.test(e)?(o=!0,(s=l.createElement("link")).rel="stylesheet",s.href=f):/(^img!|\.(png|gif|jpg|svg)$)/.test(e)?(s=l.createElement("img")).src=f:((s=l.createElement("script")).src=e,s.async=void 0===u||u),s.onload=s.onerror=s.onbeforeload=function(t){var l=t.type[0];if(o&&"hideFocus"in s)try{s.sheet.cssText.length||(l="e")}catch(t){18!=t.code&&(l="e")}if("e"==l&&(r+=1)0&&void 0!==arguments[0]&&arguments[0]))return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval(function(){var e=gt(Math.max(t.manager.getRemainingTime(),0)),n="".concat(ct("advertisement",t.player.config)," - ").concat(e);t.elements.container.setAttribute("data-badge-text",n)},100)}},{key:"onAdsManagerLoaded",value:function(t){var e=this;if(this.enabled){var n=new google.ima.AdsRenderingSettings;n.restoreCustomPlaybackStateOnAdBreakComplete=!0,n.enablePreloading=!0,this.manager=t.getAdsManager(this.player,n),this.cuePoints=this.manager.getCuePoints(),this.manager.setVolume(this.player.volume),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,function(t){return e.onAdError(t)}),Object.keys(google.ima.AdEvent.Type).forEach(function(t){e.manager.addEventListener(google.ima.AdEvent.Type[t],function(t){return e.onAdEvent(t)})}),this.trigger("loaded")}}},{key:"addCuePoints",value:function(){var t=this;x.empty(this.cuePoints)||this.cuePoints.forEach(function(e){if(0!==e&&-1!==e&&e1?n-1:0),r=1;r ?)([0-9]{2}):([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);a&&(e.startTime=60*Number(a[1])*60+60*Number(a[2])+Number(a[3])+Number("0.".concat(a[4])),e.endTime=60*Number(a[6])*60+60*Number(a[7])+Number(a[8])+Number("0.".concat(a[9])))}}),e.text&&a.push(e)}),a),height:null,urlPrefix:""};s.frames[0].text.startsWith("/")||(s.urlPrefix=t.substring(0,t.lastIndexOf("/")+1));var l=new Image;l.onload=function(){s.height=l.naturalHeight,s.width=l.naturalWidth,e.thumbnails.push(s),n()},l.src=s.urlPrefix+s.frames[0].text})})}},{key:"startMove",value:function(t){if(this.loaded&&x.event(t)&&["touchmove","mousemove"].includes(t.type)&&this.player.media.duration){if("touchmove"===t.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var e=this.player.elements.progress.getBoundingClientRect(),n=100/e.width*(t.pageX-e.left);this.seekTime=this.player.media.duration*(n/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=t.pageX,this.elements.thumb.time.innerText=gt(this.seekTime)}this.showImageAtCurrentTime()}}},{key:"endMove",value:function(){this.toggleThumbContainer(!1,!0)}},{key:"startScrubbing",value:function(t){!1!==t.button&&0!==t.button||(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))}},{key:"endScrubbing",value:function(){var t=this;this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):E.call(this.player,this.player.media,"timeupdate",function(){t.mouseDown||t.toggleScrubbingContainer(!1)})}},{key:"listeners",value:function(){var t=this;this.player.on("play",function(){t.toggleThumbContainer(!1,!0)}),this.player.on("seeked",function(){t.toggleThumbContainer(!1)}),this.player.on("timeupdate",function(){t.lastTime=t.player.media.currentTime})}},{key:"render",value:function(){this.elements.thumb.container=M("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=M("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);var t=M("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=M("span",{},"00:00"),t.appendChild(this.elements.thumb.time),this.elements.thumb.container.appendChild(t),this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=M("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)}},{key:"showImageAtCurrentTime",value:function(){var t=this;this.mouseDown?this.setScrubbingContainerSize():(this.toggleThumbContainer(!0),this.setThumbContainerSizeAndPos());var e=this.thumbnails[0].frames.findIndex(function(e){return t.seekTime>=e.startTime&&t.seekTime<=e.endTime}),n=e>=0,i=0;this.toggleThumbContainer(n),n&&(this.thumbnails.forEach(function(n,r){t.loadedImages.includes(n.frames[e].text)&&(i=r)}),e!==this.showingThumb&&(this.showingThumb=e,this.loadImage(i)))}},{key:"loadImage",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=this.showingThumb,i=this.thumbnails[e],r=i.urlPrefix,o=i.frames[n],a=i.frames[n].text,s=r+a;if(this.currentImageElement&&this.currentImageElement.dataset.filename===a)this.showImage(this.currentImageElement,o,e,n,a,!1),this.currentImageElement.dataset.index=n,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);var l=new Image;l.src=s,l.dataset.index=n,l.dataset.filename=a,this.showingThumbFilename=a,this.player.debug.log("Loading image: ".concat(s)),l.onload=function(){return t.showImage(l,o,e,n,a,!0)},this.loadingImage=l,this.removeOldImages(l)}}},{key:"showImage",value:function(t,e,n,i,r){var o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];this.player.debug.log("Showing thumb: ".concat(r,". num: ").concat(i,". qual: ").concat(n,". newimg: ").concat(o)),this.setImageSizeAndOffset(t,e),o&&(this.currentImageContainer.appendChild(t),this.currentImageElement=t,this.loadedImages.includes(r)||this.loadedImages.push(r)),this.preloadNearby(i,!0).then(this.preloadNearby(i,!1)).then(this.getHigherQuality(n,t,e,r))}},{key:"removeOldImages",value:function(t){var e=this;Array.from(this.currentImageContainer.children).forEach(function(n){if("img"===n.tagName.toLowerCase()){var i=e.usingSprites?500:1e3;if(n.dataset.index!==t.dataset.index&&!n.dataset.deleting){n.dataset.deleting=!0;var r=e.currentImageContainer;setTimeout(function(){r.removeChild(n),e.player.debug.log("Removing thumb: ".concat(n.dataset.filename))},i)}}})}},{key:"preloadNearby",value:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new Promise(function(i){setTimeout(function(){var r=e.thumbnails[0].frames[t].text;if(e.showingThumbFilename===r){var o;o=n?e.thumbnails[0].frames.slice(t):e.thumbnails[0].frames.slice(0,t).reverse();var a=!1;o.forEach(function(t){var n=t.text;if(n!==r&&!e.loadedImages.includes(n)){a=!0,e.player.debug.log("Preloading thumb filename: ".concat(n));var o=e.thumbnails[0].urlPrefix+n,s=new Image;s.src=o,s.onload=function(){e.player.debug.log("Preloaded thumb filename: ".concat(n)),e.loadedImages.includes(n)||e.loadedImages.push(n),i()}}}),a||i()}},300)})}},{key:"getHigherQuality",value:function(t,e,n,i){var r=this;if(t0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(n,t),!t&&e&&(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"toggleScrubbingContainer",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(e,t),t||(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"determineContainerAutoSizing",value:function(){this.elements.thumb.imageContainer.clientHeight>20&&(this.sizeSpecifiedInCSS=!0)}},{key:"setThumbContainerSizeAndPos",value:function(){if(!this.sizeSpecifiedInCSS){var t=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);this.elements.thumb.imageContainer.style.height="".concat(this.thumbContainerHeight,"px"),this.elements.thumb.imageContainer.style.width="".concat(t,"px")}this.setThumbContainerPos()}},{key:"setThumbContainerPos",value:function(){var t=this.player.elements.progress.getBoundingClientRect(),e=this.player.elements.container.getBoundingClientRect(),n=this.elements.thumb.container,i=e.left-t.left+10,r=e.right-t.left-n.clientWidth-10,o=this.mousePosX-t.left-n.clientWidth/2;or&&(o=r),n.style.left="".concat(o,"px")}},{key:"setScrubbingContainerSize",value:function(){this.elements.scrubbing.container.style.width="".concat(this.player.media.clientWidth,"px"),this.elements.scrubbing.container.style.height="".concat(this.player.media.clientWidth/this.thumbAspectRatio,"px")}},{key:"setImageSizeAndOffset",value:function(t,e){if(this.usingSprites){var n=this.thumbContainerHeight/e.h;t.style.height="".concat(Math.floor(t.naturalHeight*n),"px"),t.style.width="".concat(Math.floor(t.naturalWidth*n),"px"),t.style.left="-".concat(e.x*n,"px"),t.style.top="-".concat(e.y*n,"px")}}},{key:"enabled",get:function(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}},{key:"currentImageContainer",get:function(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}},{key:"usingSprites",get:function(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}},{key:"thumbAspectRatio",get:function(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}},{key:"thumbContainerHeight",get:function(){return this.mouseDown?Math.floor(this.player.media.clientWidth/this.thumbAspectRatio):Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}},{key:"currentImageElement",get:function(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement},set:function(t){this.mouseDown?this.currentScrubbingImageElement=t:this.currentThumbnailImageElement=t}}]),e}(),Gt={insertElements:function(t,e){var n=this;x.string(e)?I(t,this.media,{src:e}):x.array(e)&&e.forEach(function(e){I(t,n.media,e)})},change:function(t){var e=this;it(t,"sources.length")?(et.cancelRequests.call(this),this.destroy.call(this,function(){e.options.quality=[],N(e.media),e.media=null,x.element(e.elements.container)&&e.elements.container.removeAttribute("class");var n=t.sources,i=t.type,r=o(n,1)[0],a=r.provider,s=void 0===a?xt.html5:a,l=r.src,u="html5"===s?i:"div",c="html5"===s?{}:{src:l};Object.assign(e,{provider:s,type:i,supported:tt.check(i,s,e.config.playsinline),media:M(u,c)}),e.elements.container.appendChild(e.media),x.boolean(t.autoplay)&&(e.config.autoplay=t.autoplay),e.isHTML5&&(e.config.crossorigin&&e.media.setAttribute("crossorigin",""),e.config.autoplay&&e.media.setAttribute("autoplay",""),x.empty(t.poster)||(e.poster=t.poster),e.config.loop.active&&e.media.setAttribute("loop",""),e.config.muted&&e.media.setAttribute("muted",""),e.config.playsinline&&e.media.setAttribute("playsinline","")),Pt.addStyleHook.call(e),e.isHTML5&&Gt.insertElements.call(e,"source",n),e.config.title=t.title,Ut.setup.call(e),e.isHTML5&&Object.keys(t).includes("tracks")&&Gt.insertElements.call(e,"track",t.tracks),(e.isHTML5||e.isEmbed&&!e.supported.ui)&&Pt.build.call(e),e.isHTML5&&e.media.load(),e.previewThumbnails&&e.previewThumbnails.load(),e.fullscreen.update()},!0)):this.debug.warn("Invalid source format")}},qt=function(){function e(n,i){var r=this;if(t(this,e),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=tt.touch,this.media=n,x.string(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||x.nodeList(this.media)||x.array(this.media))&&(this.media=this.media[0]),this.config=rt({},kt,e.defaults,i||{},function(){try{return JSON.parse(r.media.getAttribute("data-plyr-config"))}catch(t){return{}}}()),this.elements={container:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new Ot(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",tt),!x.nullOrUndefined(this.media)&&x.element(this.media))if(this.media.plyr)this.debug.warn("Target already setup");else if(this.config.enabled)if(tt.check().api){var o=this.media.cloneNode(!0);o.autoplay=!1,this.elements.original=o;var a=this.media.tagName.toLowerCase(),s=null,l=null;switch(a){case"div":if(s=this.media.querySelector("iframe"),x.element(s)){if(l=yt(s.getAttribute("src")),this.provider=function(t){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(t)?xt.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(t)?xt.vimeo:null}(l.toString()),this.elements.container=this.media,this.media=s,this.elements.container.className="",l.search.length){var u=["1","true"];u.includes(l.searchParams.get("autoplay"))&&(this.config.autoplay=!0),u.includes(l.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=u.includes(l.searchParams.get("playsinline")),this.config.youtube.hl=l.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(x.empty(this.provider)||!Object.keys(xt).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=Tt.video;break;case"video":case"audio":this.type=a,this.provider=xt.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=tt.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new It(this),this.storage=new dt(this),this.media.plyr=this,x.element(this.elements.container)||(this.elements.container=M("div",{tabindex:0}),B(this.media,this.elements.container)),Pt.addStyleHook.call(this),Ut.setup.call(this),this.config.debug&&O.call(this,this.elements.container,this.config.events.join(" "),function(t){r.debug.log("event: ".concat(t.type))}),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&Pt.build.call(this),this.listeners.container(),this.listeners.global(),this.fullscreen=new At(this),this.config.ads.enabled&&(this.ads=new zt(this)),this.config.autoplay&&this.play(),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new Wt(this))):this.debug.error("Setup failed: no support")}else this.debug.error("Setup failed: no support");else this.debug.error("Setup failed: disabled by config");else this.debug.error("Setup failed: no suitable element passed")}return i(e,[{key:"play",value:function(){var t=this;return x.function(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then(function(){return t.ads.play()}).catch(function(){return t.media.play()}),this.media.play()):null}},{key:"pause",value:function(){this.playing&&x.function(this.media.pause)&&this.media.pause()}},{key:"togglePlay",value:function(t){(x.boolean(t)?t:!this.playing)?this.play():this.pause()}},{key:"stop",value:function(){this.isHTML5?(this.pause(),this.restart()):x.function(this.media.stop)&&this.media.stop()}},{key:"restart",value:function(){this.currentTime=0}},{key:"rewind",value:function(t){this.currentTime=this.currentTime-(x.number(t)?t:this.config.seekTime)}},{key:"forward",value:function(t){this.currentTime=this.currentTime+(x.number(t)?t:this.config.seekTime)}},{key:"increaseVolume",value:function(t){var e=this.media.muted?0:this.volume;this.volume=e+(x.number(t)?t:0)}},{key:"decreaseVolume",value:function(t){this.increaseVolume(-t)}},{key:"toggleCaptions",value:function(t){_t.toggle.call(this,t,!1)}},{key:"airplay",value:function(){tt.airplay&&this.media.webkitShowPlaybackTargetPicker()}},{key:"toggleControls",value:function(t){if(this.supported.ui&&!this.isAudio){var e=H(this.elements.container,this.config.classNames.hideControls),n=void 0===t?void 0:!t,i=R(this.elements.container,this.config.classNames.hideControls,n);if(i&&this.config.controls.includes("settings")&&!x.empty(this.config.settings)&&bt.toggleMenu.call(this,!1),i!==e){var r=i?"controlshidden":"controlsshown";A.call(this,this.media,r)}return!i}return!1}},{key:"on",value:function(t,e){O.call(this,this.elements.container,t,e)}},{key:"once",value:function(t,e){E.call(this,this.elements.container,t,e)}},{key:"off",value:function(t,e){$(this.elements.container,t,e)}},{key:"destroy",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.ready){var i=function(){document.body.style.overflow="",e.embed=null,n?(Object.keys(e.elements).length&&(N(e.elements.buttons.play),N(e.elements.captions),N(e.elements.controls),N(e.elements.wrapper),e.elements.buttons.play=null,e.elements.captions=null,e.elements.controls=null,e.elements.wrapper=null),x.function(t)&&t()):(function(){this&&this.eventListeners&&(this.eventListeners.forEach(function(t){var e=t.element,n=t.type,i=t.callback,r=t.options;e.removeEventListener(n,i,r)}),this.eventListeners=[])}.call(e),L(e.elements.original,e.elements.container),A.call(e,e.elements.original,"destroyed",!0),x.function(t)&&t.call(e.elements.original),e.ready=!1,setTimeout(function(){e.elements=null,e.media=null},200))};this.stop(),this.isHTML5?(clearTimeout(this.timers.loading),Pt.toggleNativeControls.call(this,!0),i()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&x.function(this.embed.destroy)&&this.embed.destroy(),i()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(i),setTimeout(i,200))}}},{key:"supports",value:function(t){return tt.mime.call(this,t)}},{key:"isHTML5",get:function(){return Boolean(this.provider===xt.html5)}},{key:"isEmbed",get:function(){return Boolean(this.isYouTube||this.isVimeo)}},{key:"isYouTube",get:function(){return Boolean(this.provider===xt.youtube)}},{key:"isVimeo",get:function(){return Boolean(this.provider===xt.vimeo)}},{key:"isVideo",get:function(){return Boolean(this.type===Tt.video)}},{key:"isAudio",get:function(){return Boolean(this.type===Tt.audio)}},{key:"playing",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:"paused",get:function(){return Boolean(this.media.paused)}},{key:"stopped",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:"ended",get:function(){return Boolean(this.media.ended)}},{key:"currentTime",set:function(t){if(this.duration){var e=x.number(t)&&t>0;this.media.currentTime=e?Math.min(t,this.duration):0,this.debug.log("Seeking to ".concat(this.currentTime," seconds"))}},get:function(){return Number(this.media.currentTime)}},{key:"buffered",get:function(){var t=this.media.buffered;return x.number(t)?t:t&&t.length&&this.duration>0?t.end(0)/this.duration:0}},{key:"seeking",get:function(){return Boolean(this.media.seeking)}},{key:"duration",get:function(){var t=parseFloat(this.config.duration),e=(this.media||{}).duration,n=x.number(e)&&e!==1/0?e:0;return t||n}},{key:"volume",set:function(t){var e=t;x.string(e)&&(e=Number(e)),x.number(e)||(e=this.storage.get("volume")),x.number(e)||(e=this.config.volume),e>1&&(e=1),e<0&&(e=0),this.config.volume=e,this.media.volume=e,!x.empty(t)&&this.muted&&e>0&&(this.muted=!1)},get:function(){return Number(this.media.volume)}},{key:"muted",set:function(t){var e=t;x.boolean(e)||(e=this.storage.get("muted")),x.boolean(e)||(e=this.config.muted),this.config.muted=e,this.media.muted=e},get:function(){return Boolean(this.media.muted)}},{key:"hasAudio",get:function(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}},{key:"speed",set:function(t){var e=null;x.number(t)&&(e=t),x.number(e)||(e=this.storage.get("speed")),x.number(e)||(e=this.config.speed.selected),e<.1&&(e=.1),e>2&&(e=2),this.config.speed.options.includes(e)?(this.config.speed.selected=e,this.media.playbackRate=e):this.debug.warn("Unsupported speed (".concat(e,")"))},get:function(){return Number(this.media.playbackRate)}},{key:"quality",set:function(t){var e=this.config.quality,n=this.options.quality;if(n.length){var i=[!x.empty(t)&&Number(t),this.storage.get("quality"),e.selected,e.default].find(x.number),r=!0;if(!n.includes(i)){var o=function(t,e){return x.array(t)&&t.length?t.reduce(function(t,n){return Math.abs(n-e)1&&void 0!==arguments[1]?arguments[1]:{},i=null;return x.string(t)?i=Array.from(document.querySelectorAll(t)):x.nodeList(t)?i=Array.from(t):x.array(t)&&(i=t.filter(x.element)),x.empty(i)?null:i.map(function(t){return new e(t,n)})}}]),e}();return qt.defaults=(Ht=kt,JSON.parse(JSON.stringify(Ht))),qt}())}).call(this,n("yLpj"))},THR5:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r=n("vhGO"),o=n("FSAk");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 s={fluid:{type:Boolean,default:!1},containerFluid:{type:Boolean,default:!1},header:{type:String,default:null},headerHtml:{type:String,default:null},headerTag:{type:String,default:"h1"},headerLevel:{type:[Number,String],default:"3"},lead:{type:String,default:null},leadHtml:{type:String,default:null},leadTag:{type:String,default:"p"},tag:{type:String,default:"div"},bgVariant:{type:String,default:null},borderVariant:{type:String,default:null},textVariant:{type:String,default:null}};e.props=s;var l={name:"BJumbotron",functional:!0,props:s,render:function(t,e){var n,s=e.props,l=e.data,u=[],c=(0,e.slots)();return(s.header||c.header||s.headerHtml)&&u.push(t(s.headerTag,{class:a({},"display-".concat(s.headerLevel),Boolean(s.headerLevel))},c.header||s.headerHtml||(0,r.stripTags)(s.header))),(s.lead||c.lead||s.leadHtml)&&u.push(t(s.leadTag,{staticClass:"lead"},c.lead||s.leadHtml||(0,r.stripTags)(s.lead))),c.default&&u.push(c.default),s.fluid&&(u=[t(o.default,{props:{fluid:s.containerFluid}},u)]),t(s.tag,(0,i.mergeData)(l,{staticClass:"jumbotron",class:(n={"jumbotron-fluid":s.fluid},a(n,"text-".concat(s.textVariant),Boolean(s.textVariant)),a(n,"bg-".concat(s.bgVariant),Boolean(s.bgVariant)),a(n,"border-".concat(s.borderVariant),Boolean(s.borderVariant)),a(n,"border",Boolean(s.borderVariant)),n)}),u)}};e.default=l},THbz:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49");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}var o='';var a={src:{type:String,default:null},alt:{type:String,default:null},width:{type:[Number,String],default:null},height:{type:[Number,String],default:null},block:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},fluidGrow:{type:Boolean,default:!1},rounded:{type:[Boolean,String],default:!1},thumbnail:{type:Boolean,default:!1},left:{type:Boolean,default:!1},right:{type:Boolean,default:!1},center:{type:Boolean,default:!1},blank:{type:Boolean,default:!1},blankColor:{type:String,default:"transparent"}};e.props=a;var s={name:"BImg",functional:!0,props:a,render:function(t,e){var n,a=e.props,s=e.data,l=a.src,u=parseInt(a.width,10)?parseInt(a.width,10):null,c=parseInt(a.height,10)?parseInt(a.height,10):null,d=null,f=a.block;return a.blank&&(!c&&Boolean(u)?c=u:!u&&Boolean(c)&&(u=c),u||c||(u=1,c=1),l=function(t,e,n){var i=encodeURIComponent(o.replace("%{w}",String(t)).replace("%{h}",String(e)).replace("%{f}",n));return"data:image/svg+xml;charset=UTF-8,".concat(i)}(u,c,a.blankColor||"transparent")),a.left?d="float-left":a.right?d="float-right":a.center&&(d="mx-auto",f=!0),t("img",(0,i.mergeData)(s,{attrs:{src:l,alt:a.alt,width:u?String(u):null,height:c?String(c):null},class:(n={"img-thumbnail":a.thumbnail,"img-fluid":a.fluid||a.fluidGrow,"w-100":a.fluidGrow,rounded:""===a.rounded||!0===a.rounded},r(n,"rounded-".concat(a.rounded),"string"==typeof a.rounded&&""!==a.rounded),r(n,d,Boolean(d)),r(n,"d-block",f),n)}))}};e.default=s},TQCW:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var i=n("tC49"),r={tag:{type:String,default:"ul"},fill:{type:Boolean,default:!1},justified:{type:Boolean,default:!1}};e.props=r;var o={name:"BNavbarNav",functional:!0,props:r,render:function(t,e){var n=e.props,r=e.data,o=e.children;return t(n.tag,(0,i.mergeData)(r,{staticClass:"navbar-nav",class:{"nav-fill":n.fill,"nav-justified":n.justified}}),o)}};e.default=o},TkDH:function(t,e,n){"use strict";e.__esModule=!0,e.propsFactory=u,e.pickLinkProps=function(t){var e=u();return t=(0,r.concat)(t),(0,i.keys)(e).reduce(function(n,i){return(0,r.arrayIncludes)(t,i)&&(n[i]=e[i]),n},{})},e.omitLinkProps=function(t){var e=u();return t=(0,r.concat)(t),(0,i.keys)(c).reduce(function(n,i){return(0,r.arrayIncludes)(t,i)||(n[i]=e[i]),n},{})},e.default=e.computed=e.props=void 0;var i=n("JOL4"),r=n("uy80"),o=n("tC49");function a(t){for(var e=1;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"))},UnlZ:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("tC49"),r=n("EtPW"),o={name:"BBreadcrumbItem",functional:!0,props:r.props,render:function(t,e){var n=e.props,o=e.data,a=e.children;return t("li",(0,i.mergeData)(o,{staticClass:"breadcrumb-item",class:{active:n.active},attrs:{role:"presentation"}}),[t(r.default,{props:n},a)])}};e.default=o},"Us+F":function(t,e,n){var i=n("LZbM"),r=n("6DAA");t.exports={distanceInWords:i(),format:r()}},V2Tl:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n("8L3F"),r=n("2qjF"),o=n("JOL4"),a=n("k+DF");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}function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u="undefined"!=typeof window&&"undefined"!=typeof document,c="__BV_PopOver__",d={focus:!0,hover:!0,click:!0,blur:!0};function f(t){var e={};"string"==typeof t.value?e.content=t.value:"function"==typeof t.value?e.content=t.value:"object"===l(t.value)&&(e=function(t){for(var e=1;e=0&&c.splice(e,1)}function v(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 g(e,t.attrs),h(t,e),e}function g(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function b(t,e){var n,i,r,o;if(e.transform&&t.css){if(!(o="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=o}if(e.singleton){var a=u++;n=l||(l=v(e)),i=_.bind(null,n,a,!1),r=_.bind(null,n,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),h(t,e),e}(e),i=function(t,e,n){var i=n.css,r=n.sourceMap,o=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||o)&&(i=d(i));r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([i],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,e),r=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(e),i=function(t,e){var n=e.css,i=e.media;i&&t.setAttribute("media",i);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){m(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=p(t,e);return f(n,e),function(t){for(var i=[],r=0;r
',t.titleMarkup='\n
\n',t.textMarkup='\n
',t.footerMarkup='\n
\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.CONFIRM_KEY="confirm",t.CANCEL_KEY="cancel";var a={visible:!0,text:null,value:null,className:"",closeModal:!0},o=Object.assign({},a,{visible:!1,text:"Cancel",value:null}),i=Object.assign({},a,{text:"OK",value:!0});t.defaultButtonList={cancel:o,confirm:i};var c=function(e){switch(e){case t.CONFIRM_KEY:return i;case t.CANCEL_KEY:return o;default:var n=e.charAt(0).toUpperCase()+e.slice(1);return Object.assign({},a,{text:n,value:e})}},s=function(e,t){var n=c(e);return!0===t?Object.assign({},n,{visible:!0}):"string"==typeof t?Object.assign({},n,{visible:!0,text:t}):r.isPlainObject(t)?Object.assign({visible:!0},n,t):Object.assign({},n,{visible:!1})},l=function(e){var n={};switch(e.length){case 1:n[t.CANCEL_KEY]=Object.assign({},o,{visible:!1});break;case 2:n[t.CANCEL_KEY]=s(t.CANCEL_KEY,e[0]),n[t.CONFIRM_KEY]=s(t.CONFIRM_KEY,e[1]);break;default:r.throwErr("Invalid number of 'buttons' in array ("+e.length+").\n If you want more than 2 buttons, you need to use an object!")}return n};t.getButtonListOpts=function(e){var n=t.defaultButtonList;return"string"==typeof e?n[t.CONFIRM_KEY]=s(t.CONFIRM_KEY,e):Array.isArray(e)?n=l(e):r.isPlainObject(e)?n=function(e){for(var t={},n=0,r=Object.keys(e);n=0&&m.splice(t,1)}function c(e){var t=document.createElement("style");return e.attrs.type="text/css",l(t,e.attrs),o(e,t),t}function s(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",l(t,e.attrs),o(e,t),t}function l(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function d(e,t){var n,r,a,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var l=h++;n=b||(b=c(t)),r=p.bind(null,n,l,!1),a=p.bind(null,n,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=s(t),r=function(e,t,n){var r=n.css,a=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&a;(t.convertToAbsoluteUrls||o)&&(r=x(r)),a&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var i=new Blob([r],{type:"text/css"}),c=e.href;e.href=URL.createObjectURL(i),c&&URL.revokeObjectURL(c)}.bind(null,n,t),a=function(){i(n),n.href&&URL.revokeObjectURL(n.href)}):(n=c(t),r=function(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),a=function(){i(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}function p(e,t,n,r){var a=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}var u={},f=function(e){var t;return function(){return void 0===t&&(t=function(){return window&&document&&document.all&&!window.atob}.apply(this,arguments)),t}}(),v=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=function(e){return document.querySelector(e)}.call(this,e)),t[e]}}(),b=null,h=0,m=[],x=n(15);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=f()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=a(e,t);return r(n,t),function(e){for(var o=[],i=0;ithis.length)&&-1!==this.indexOf(e,t)}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0===r)return!1;for(var a=0|t,o=Math.max(a>=0?a:r-Math.abs(a),0);o=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},a(19),r.setImmediate=t,r.clearImmediate=n},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){delete c[e]}function a(e){if(s)setTimeout(a,0,e);else{var t=c[e];if(t){s=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}(t)}finally{r(e),s=!1}}}}if(!e.setImmediate){var o,i=1,c={},s=!1,l=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?o=function(e){t.nextTick(function(){a(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&a(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),o=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){a(e.data)},o=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;o=function(t){var n=l.createElement("script");n.onreadystatechange=function(){a(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():o=function(e){setTimeout(a,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1)for(var n=1;n',t.default=t.modalMarkup},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),a=r.default.OVERLAY,o='
\n
';t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),a=r.default.ICON;t.errorIconMarkup=function(){var e=a+"--error",t=e+"__line";return'\n
\n \n \n
\n '},t.warningIconMarkup=function(){var e=a+"--warning";return'\n \n \n \n '},t.successIconMarkup=function(){var e=a+"--success";return'\n \n \n\n
\n
\n '}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),a=r.default.CONTENT;t.contentMarkup='\n
\n\n
\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),a=r.default.BUTTON_CONTAINER,o=r.default.BUTTON,i=r.default.BUTTON_LOADER;t.buttonMarkup='\n
\n\n \n\n
\n
\n
\n
\n
\n\n
\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(2),o=n(0),i=o.default.ICON,c=o.default.ICON_CUSTOM,s=["error","warning","success","info"],l={error:a.errorIconMarkup(),warning:a.warningIconMarkup(),success:a.successIconMarkup()};t.default=function(e){if(e){var t=r.injectElIntoModal(a.iconMarkup);s.includes(e)?function(e,t){var n=i+"--"+e;t.classList.add(n);var r=l[e];r&&(t.innerHTML=r)}(e,t):function(e,t){t.classList.add(c);var n=document.createElement("img");n.src=e,t.appendChild(n)}(e,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),a=n(4),o=function(e){navigator.userAgent.includes("AppleWebKit")&&(e.style.display="none",e.offsetHeight,e.style.display="")};t.initTitle=function(e){if(e){var t=a.injectElIntoModal(r.titleMarkup);t.textContent=e,o(t)}},t.initText=function(e){if(e){var t=document.createDocumentFragment();e.split("\n").forEach(function(e,n,r){t.appendChild(document.createTextNode(e)),n0}).forEach(function(e){b.classList.add(e)}),n&&e===s.CONFIRM_KEY&&b.classList.add(c),b.textContent=a;var m={};return m[e]=o,p.setActionValue(m),p.setActionOptionsFor(e,{closeModal:f}),b.addEventListener("click",function(){return d.onAction(e)}),v};t.default=function(e,t){var n=a.injectElIntoModal(l.footerMarkup);for(var r in e){var o=e[r],i=u(r,o,t);o.visible&&n.appendChild(i)}0===n.children.length&&n.remove()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(4),o=n(2),i=n(5),c=n(6),s=n(0),l=s.default.CONTENT,d=function(e){e.addEventListener("input",function(e){var t=e.target,n=t.value;i.setActionValue(n)}),e.addEventListener("keyup",function(e){if("Enter"===e.key)return c.onAction(r.CONFIRM_KEY)}),setTimeout(function(){e.focus(),i.setActionValue("")},0)};t.default=function(e){if(e){var t=a.injectElIntoModal(o.contentMarkup),n=e.element,r=e.attributes;"string"==typeof n?function(e,t,n){var r=document.createElement(t),a=l+"__"+t;for(var o in r.classList.add(a),n){var i=n[o];r[o]=i}"input"===t&&d(r),e.appendChild(r)}(t,n,r):t.appendChild(n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(2);t.default=function(){var e=r.stringToNode(a.overlayMarkup);document.body.appendChild(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),a=n(6),o=n(1),i=n(3),c=n(0),s=c.default.MODAL,l=c.default.BUTTON,d=c.default.OVERLAY,p=function(e){if(r.default.isOpen)switch(e.key){case"Escape":return a.onAction(i.CANCEL_KEY)}},u=function(e){if(r.default.isOpen)switch(e.key){case"Tab":return function(e){e.preventDefault(),v()}(e)}},f=function(e){if(r.default.isOpen)return"Tab"===e.key&&e.shiftKey?function(e){e.preventDefault(),b()}(e):void 0},v=function(){var e=o.getNode(l);e&&(e.tabIndex=0,e.focus())},b=function(){var e=o.getNode(s),t=e.querySelectorAll("."+l),n=t.length-1,r=t[n];r&&r.focus()},h=function(){var e=o.getNode(s),t=e.querySelectorAll("."+l);t.length&&(function(e){e[e.length-1].addEventListener("keydown",u)}(t),function(e){e[0].addEventListener("keydown",f)}(t))},m=function(e){if(o.getNode(d)===e.target)return a.onAction(i.CANCEL_KEY)};t.default=function(e){e.closeOnEsc?document.addEventListener("keyup",p):document.removeEventListener("keyup",p),e.dangerMode?v():b(),h(),function(e){var t=o.getNode(d);t.removeEventListener("click",m),e&&t.addEventListener("click",m)}(e.closeOnClickOutside),function(e){r.default.timer&&clearTimeout(r.default.timer),e&&(r.default.timer=window.setTimeout(function(){return a.onAction(i.CANCEL_KEY)},e))}(e.timer)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(3),o=n(37),i=n(38),c={title:null,text:null,icon:null,buttons:a.defaultButtonList,content:null,className:null,closeOnClickOutside:!0,closeOnEsc:!0,dangerMode:!1,timer:null},s=Object.assign({},c);t.setDefaults=function(e){s=Object.assign({},c,e)};var l=function(e){var t=e&&e.button,n=e&&e.buttons;return void 0!==t&&void 0!==n&&r.throwErr("Cannot set both 'button' and 'buttons' options!"),void 0!==t?{confirm:t}:n},d=function(e){return r.ordinalSuffixOf(e+1)},p=function(e,t){r.throwErr(d(t)+" argument ('"+e+"') is invalid")},u=function(e,t){var n=e+1,a=t[n];r.isPlainObject(a)||void 0===a||r.throwErr("Expected "+d(n)+" argument ('"+a+"') to be a plain object")},f=function(e,t,n,a){var o=typeof t,i="string"===o,c=t instanceof Element;if(i){if(0===n)return{text:t};if(1===n)return{text:t,title:a[0]};if(2===n)return u(n,a),{icon:t};p(t,n)}else{if(c&&0===n)return u(n,a),{content:t};if(r.isPlainObject(t))return function(e,t){var n=e+1,a=t[n];void 0!==a&&r.throwErr("Unexpected "+d(n)+" argument ("+a+")")}(n,a),t;p(t,n)}};t.getOpts=function(){for(var e=[],t=0;t=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||d(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function v(e){var t=parseFloat(e);return isNaN(t)?e:t}function b(e,t){for(var n=Object.create(null),r=e.split(","),a=0;a-1)return e.splice(n,1)}}var g=Object.prototype.hasOwnProperty;function y(e,t){return g.call(e,t)}function w(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,k=w(function(e){return e.replace(_,function(e,t){return t?t.toUpperCase():""})}),C=w(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),O=/\B([A-Z])/g,T=w(function(e){return e.replace(O,"-$1").toLowerCase()}),A=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function $(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function E(e,t){for(var n in t)e[n]=t[n];return e}function S(e){for(var t={},n=0;n0,G=q&&q.indexOf("edge/")>0,Z=(q&&q.indexOf("android"),q&&/iphone|ipad|ipod|ios/.test(q)||"ios"===X),Q=(q&&/chrome\/\d+/.test(q),q&&/phantomjs/.test(q),q&&q.match(/firefox\/(\d+)/)),ee={}.watch,te=!1;if(V)try{var ne={};Object.defineProperty(ne,"passive",{get:function(){te=!0}}),window.addEventListener("test-passive",null,ne)}catch(r){}var re=function(){return void 0===B&&(B=!V&&!Y&&void 0!==t&&t.process&&"server"===t.process.env.VUE_ENV),B},ae=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function oe(e){return"function"==typeof e&&/native code/.test(e.toString())}var ie,ce="undefined"!=typeof Symbol&&oe(Symbol)&&"undefined"!=typeof Reflect&&oe(Reflect.ownKeys);ie="undefined"!=typeof Set&&oe(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var se=j,le=0,de=function(){this.id=le++,this.subs=[]};de.prototype.addSub=function(e){this.subs.push(e)},de.prototype.removeSub=function(e){x(this.subs,e)},de.prototype.depend=function(){de.target&&de.target.addDep(this)},de.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(o&&!y(a,"default"))i=!1;else if(""===i||i===T(e)){var s=Ue(String,a.type);(s<0||c0&&(lt((s=e(s,(n||"")+"_"+r))[0])&<(d)&&(p[l]=me(d.text+s[0].text),s.shift()),p.push.apply(p,s)):c(s)?lt(d)?p[l]=me(d.text+s):""!==s&&p.push(me(s)):lt(s)&<(d)?p[l]=me(d.text+s.text):(i(t._isVList)&&o(s.tag)&&a(s.key)&&o(n)&&(s.key="__vlist"+n+"_"+r+"__"),p.push(s)));return p}(e):void 0}function lt(e){return o(e)&&o(e.text)&&!1===e.isComment}function dt(e,t){if(e){for(var n=Object.create(null),r=ce?Reflect.ownKeys(e):Object.keys(e),a=0;adocument.createEvent("Event").timeStamp&&(ln=function(){return performance.now()});var pn=0,un=function(e,t,n,r,a){this.vm=e,a&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++pn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ie,this.newDepIds=new ie,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!H.test(e)){var t=e.split(".");return function(e){for(var n=0;ncn&&tn[n].id>e.id;)n--;tn.splice(n+1,0,e)}else tn.push(e);an||(an=!0,et(dn))}}(this)},un.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Fe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},un.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},un.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},un.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||x(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var fn={enumerable:!0,configurable:!0,get:j,set:j};function vn(e,t,n){fn.get=function(){return this[t][n]},fn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,fn)}var bn={lazy:!0};function hn(e,t,n){var r=!re();"function"==typeof n?(fn.get=r?mn(t):xn(n),fn.set=j):(fn.get=n.get?r&&!1!==n.cache?mn(t):xn(n.get):j,fn.set=n.set||j),Object.defineProperty(e,t,fn)}function mn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),de.target&&t.depend(),t.value}}function xn(e){return function(){return e.call(this,this)}}function gn(e,t,n,r){return d(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var yn=0;function wn(e){var t=e.options;if(e.super){var n=wn(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var a in n)n[a]!==r[a]&&(t||(t={}),t[a]=n[a]);return t}(e);r&&E(e.extendOptions,r),(t=e.options=Ie(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function _n(e){this._init(e)}function kn(e){return e&&(e.Ctor.options.name||e.tag)}function Cn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===l.call(n)&&e.test(t));var n}function On(e,t){var n=e.cache,r=e.keys,a=e._vnode;for(var o in n){var i=n[o];if(i){var c=kn(i.componentOptions);c&&!t(c)&&Tn(n,o,r,a)}}}function Tn(e,t,n,r){var a=e[t];!a||r&&a.tag===r.tag||a.componentInstance.$destroy(),e[t]=null,x(n,t)}_n.prototype._init=function(e){var t=this;t._uid=yn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var a=r.componentOptions;n.propsData=a.propsData,n._parentListeners=a.listeners,n._renderChildren=a.children,n._componentTag=a.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Ie(wn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Jt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,a=n&&n.context;e.$slots=pt(t._renderChildren,a),e.$scopedSlots=r,e._c=function(t,n,r,a){return Ut(e,t,n,r,a,!1)},e.$createElement=function(t,n,r,a){return Ut(e,t,n,r,a,!0)};var o=n&&n.data;Te(e,"$attrs",o&&o.attrs||r,null,!0),Te(e,"$listeners",t._parentListeners||r,null,!0)}(t),en(t,"beforeCreate"),function(e){var t=dt(e.$options.inject,e);t&&(ke(!1),Object.keys(t).forEach(function(n){Te(e,n,t[n])}),ke(!0))}(t),function(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},a=e.$options._propKeys=[];e.$parent&&ke(!1);var o=function(o){a.push(o);var i=De(o,t,n,e);Te(r,o,i),o in e||vn(e,"_props",o)};for(var i in t)o(i);ke(!0)}(e,t.props),t.methods&&function(e,t){for(var n in e.$options.props,t)e[n]="function"!=typeof t[n]?j:A(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;d(t=e._data="function"==typeof t?function(e,t){ue();try{return e.call(t,t)}catch(e){return Fe(e,t,"data()"),{}}finally{fe()}}(t,e):t||{})||(t={});for(var n,r=Object.keys(t),a=e.$options.props,o=(e.$options.methods,r.length);o--;){var i=r[o];a&&y(a,i)||36!==(n=(i+"").charCodeAt(0))&&95!==n&&vn(e,"_data",i)}Oe(t,!0)}(e):Oe(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=re();for(var a in t){var o=t[a],i="function"==typeof o?o:o.get;r||(n[a]=new un(e,i||j,j,bn)),a in e||hn(e,a,o)}}(e,t.computed),t.watch&&t.watch!==ee&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var a=0;a1?$(t):t;for(var n=$(arguments,1),r='event handler for "'+e+'"',a=0,o=t.length;aparseInt(this.max)&&Tn(i,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return U}};Object.defineProperty(e,"config",t),e.util={warn:se,extend:E,mergeOptions:Ie,defineReactive:Te},e.set=Ae,e.delete=$e,e.nextTick=et,e.observable=function(e){return Oe(e),e},e.options=Object.create(null),R.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,E(e.options.components,$n),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=$(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Ie(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,a=e._Ctor||(e._Ctor={});if(a[r])return a[r];var o=e.name||n.options.name,i=function(e){this._init(e)};return(i.prototype=Object.create(n.prototype)).constructor=i,i.cid=t++,i.options=Ie(n.options,e),i.super=n,i.options.props&&function(e){var t=e.options.props;for(var n in t)vn(e.prototype,"_props",n)}(i),i.options.computed&&function(e){var t=e.options.computed;for(var n in t)hn(e.prototype,n,t[n])}(i),i.extend=n.extend,i.mixin=n.mixin,i.use=n.use,R.forEach(function(e){i[e]=n[e]}),o&&(i.options.components[o]=i),i.superOptions=n.options,i.extendOptions=e,i.sealedOptions=E({},i.options),a[r]=i,i}}(e),function(e){R.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&d(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(_n),Object.defineProperty(_n.prototype,"$isServer",{get:re}),Object.defineProperty(_n.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(_n,"FunctionalRenderContext",{value:jt}),_n.version="2.6.7";var En=b("style,class"),Sn=b("input,textarea,option,select,progress"),jn=function(e,t,n){return"value"===n&&Sn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Mn=b("contenteditable,draggable,spellcheck"),Nn=b("events,caret,typing,plaintext-only"),Ln=function(e,t){return zn(t)||"false"===t?"false":"contenteditable"===e&&Nn(t)?t:"true"},In=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Pn="http://www.w3.org/1999/xlink",Dn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Rn=function(e){return Dn(e)?e.slice(6,e.length):""},zn=function(e){return null==e||!1===e};function Un(e,t){return{staticClass:Fn(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function Fn(e,t){return e?t?e+" "+t:e:t||""}function Bn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,a=e.length;r-1?fr(e,t,n):In(t)?zn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Mn(t)?e.setAttribute(t,Ln(t,n)):Dn(t)?zn(n)?e.removeAttributeNS(Pn,Rn(t)):e.setAttributeNS(Pn,t,n):fr(e,t,n)}function fr(e,t,n){if(zn(n))e.removeAttribute(t);else{if(J&&!W&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var vr={create:pr,update:pr};function br(e,t){var n=t.elm,r=t.data,i=e.data;if(!(a(r.staticClass)&&a(r.class)&&(a(i)||a(i.staticClass)&&a(i.class)))){var c=function(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Un(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=Un(t,n.data));return function(e,t){return o(e)||o(t)?Fn(e,Bn(t)):""}(t.staticClass,t.class)}(t),s=n._transitionClasses;o(s)&&(c=Fn(c,Bn(s))),c!==n._prevClass&&(n.setAttribute("class",c),n._prevClass=c)}}var hr,mr,xr,gr,yr,wr,_r={create:br,update:br},kr=/[\w).+\-_$\]]/;function Cr(e){var t,n,r,a,o,i=!1,c=!1,s=!1,l=!1,d=0,p=0,u=0,f=0;for(r=0;r=0&&" "===(b=e.charAt(v));v--);b&&kr.test(b)||(l=!0)}}else void 0===a?(f=r+1,a=e.slice(0,r).trim()):h();function h(){(o||(o=[])).push(e.slice(f,r).trim()),f=r+1}if(void 0===a?a=e.slice(0,r).trim():0!==f&&h(),o)for(r=0;r-1?{exp:e.slice(0,gr),key:'"'+e.slice(gr+1)+'"'}:{exp:e,key:null};for(mr=e,gr=yr=wr=0;!Fr();)Br(xr=Ur())?Kr(xr):91===xr&&Hr(xr);return{exp:e.slice(0,yr),key:e.slice(yr+1,wr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Ur(){return mr.charCodeAt(++gr)}function Fr(){return gr>=hr}function Br(e){return 34===e||39===e}function Hr(e){var t=1;for(yr=gr;!Fr();)if(Br(e=Ur()))Kr(e);else if(91===e&&t++,93===e&&t--,0===t){wr=gr;break}}function Kr(e){for(var t=e;!Fr()&&(e=Ur())!==t;);}var Vr,Yr="__r",Xr="__c";function qr(e,t,n){var r=Vr;return function a(){null!==t.apply(null,arguments)&&Gr(e,a,n,r)}}var Jr=Ye&&!(Q&&Number(Q[1])<=53);function Wr(e,t,n,r){if(Jr){var a=sn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=a||0===e.timeStamp||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Vr.addEventListener(e,t,te?{capture:n,passive:r}:n)}function Gr(e,t,n,r){(r||Vr).removeEventListener(e,t._wrapper||t,n)}function Zr(e,t){if(!a(e.data.on)||!a(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Vr=t.elm,function(e){if(o(e[Yr])){var t=J?"change":"input";e[t]=[].concat(e[Yr],e[t]||[]),delete e[Yr]}o(e[Xr])&&(e.change=[].concat(e[Xr],e.change||[]),delete e[Xr])}(n),ot(n,r,Wr,Gr,qr,t.context),Vr=void 0}}var Qr,ea={create:Zr,update:Zr};function ta(e,t){if(!a(e.data.domProps)||!a(t.data.domProps)){var n,r,i=t.elm,c=e.data.domProps||{},s=t.data.domProps||{};for(n in o(s.__ob__)&&(s=t.data.domProps=E({},s)),c)a(s[n])&&(i[n]="");for(n in s){if(r=s[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===c[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var l=a(r)?"":String(r);na(i,l)&&(i.value=l)}else if("innerHTML"===n&&Vn(i.tagName)&&a(i.innerHTML)){(Qr=Qr||document.createElement("div")).innerHTML=""+r+"";for(var d=Qr.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;d.firstChild;)i.appendChild(d.firstChild)}else if(r!==c[n])try{i[n]=r}catch(e){}}}}function na(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(o(r)){if(r.number)return v(n)!==v(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var ra={create:ta,update:ta},aa=w(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function oa(e){var t=ia(e.style);return e.staticStyle?E(e.staticStyle,t):t}function ia(e){return Array.isArray(e)?S(e):"string"==typeof e?aa(e):e}var ca,sa=/^--/,la=/\s*!important$/,da=function(e,t,n){if(sa.test(t))e.style.setProperty(t,n);else if(la.test(n))e.style.setProperty(T(t),n.replace(la,""),"important");else{var r=ua(t);if(Array.isArray(n))for(var a=0,o=n.length;a-1?t.split(ba).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function ma(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(ba).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function xa(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&E(t,ga(e.name||"v")),E(t,e),t}return"string"==typeof e?ga(e):void 0}}var ga=w(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),ya=V&&!W,wa="transition",_a="animation",ka="transition",Ca="transitionend",Oa="animation",Ta="animationend";ya&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ka="WebkitTransition",Ca="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oa="WebkitAnimation",Ta="webkitAnimationEnd"));var Aa=V?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function $a(e){Aa(function(){Aa(e)})}function Ea(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),ha(e,t))}function Sa(e,t){e._transitionClasses&&x(e._transitionClasses,t),ma(e,t)}function ja(e,t,n){var r=Na(e,t),a=r.type,o=r.timeout,i=r.propCount;if(!a)return n();var c=a===wa?Ca:Ta,s=0,l=function(){e.removeEventListener(c,d),n()},d=function(t){t.target===e&&++s>=i&&l()};setTimeout(function(){s0&&(n=wa,d=i,p=o.length):t===_a?l>0&&(n=_a,d=l,p=s.length):p=(n=(d=Math.max(i,l))>0?i>l?wa:_a:null)?n===wa?o.length:s.length:0,{type:n,timeout:d,propCount:p,hasTransform:n===wa&&Ma.test(r[ka+"Property"])}}function La(e,t){for(;e.length1}function Ua(e,t){!0!==t.data.show&&Pa(t)}var Fa=function(e){var t,n,r={},s=e.modules,l=e.nodeOps;for(t=0;tv?g(e,a(n[m+1])?null:n[m+1].elm,n,f,m,r):f>m&&w(0,t,u,v)}(u,b,m,n,d):o(m)?(o(e.text)&&l.setTextContent(u,""),g(u,null,m,0,m.length-1,n)):o(b)?w(0,b,0,b.length-1):o(e.text)&&l.setTextContent(u,""):e.text!==t.text&&l.setTextContent(u,t.text),o(v)&&o(f=v.hook)&&o(f=f.postpatch)&&f(e,t)}}}function O(e,t,n){if(i(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,i.selected!==o&&(i.selected=o);else if(L(Ya(i),r))return void(e.selectedIndex!==c&&(e.selectedIndex=c));a||(e.selectedIndex=-1)}}function Va(e,t){return t.every(function(t){return!L(t,e)})}function Ya(e){return"_value"in e?e._value:e.value}function Xa(e){e.target.composing=!0}function qa(e){e.target.composing&&(e.target.composing=!1,Ja(e.target,"input"))}function Ja(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Wa(e){return!e.componentInstance||e.data&&e.data.transition?e:Wa(e.componentInstance._vnode)}var Ga={model:Ba,show:{bind:function(e,t,n){var r=t.value,a=(n=Wa(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&a?(n.data.show=!0,Pa(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Wa(n)).data&&n.data.transition?(n.data.show=!0,r?Pa(n,function(){e.style.display=e.__vOriginalDisplay}):Da(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,a){a||(e.style.display=e.__vOriginalDisplay)}}},Za={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Qa(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Qa(Vt(t.children)):e}function eo(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var a=n._parentListeners;for(var o in a)t[k(o)]=a[o];return t}function to(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var no=function(e){return e.tag||Kt(e)},ro=function(e){return"show"===e.name},ao={name:"transition",props:Za,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(no)).length){var r=this.mode,a=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return a;var o=Qa(a);if(!o)return a;if(this._leaving)return to(e,a);var i="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?i+"comment":i+o.tag:c(o.key)?0===String(o.key).indexOf(i)?o.key:i+o.key:o.key;var s=(o.data||(o.data={})).transition=eo(this),l=this._vnode,d=Qa(l);if(o.data.directives&&o.data.directives.some(ro)&&(o.data.show=!0),d&&d.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,d)&&!Kt(d)&&(!d.componentInstance||!d.componentInstance._vnode.isComment)){var p=d.data.transition=E({},s);if("out-in"===r)return this._leaving=!0,it(p,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),to(e,a);if("in-out"===r){if(Kt(o))return l;var u,f=function(){u()};it(s,"afterEnter",f),it(s,"enterCancelled",f),it(p,"delayLeave",function(e){u=e})}}return a}}},oo=E({tag:String,moveClass:String},Za);function io(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function co(e){e.data.newPos=e.elm.getBoundingClientRect()}function so(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,a=t.top-n.top;if(r||a){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+a+"px)",o.transitionDuration="0s"}}delete oo.mode;var lo={Transition:ao,TransitionGroup:{props:oo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var a=Gt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,a(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,a=this.$slots.default||[],o=this.children=[],i=eo(this),c=0;c-1?qn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:qn[e]=/HTMLUnknownElement/.test(t.toString())},E(_n.options.directives,Ga),E(_n.options.components,lo),_n.prototype.__patch__=V?Fa:j,_n.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=he),en(e,"beforeMount"),r=function(){e._update(e._render(),n)},new un(e,r,j,{before:function(){e._isMounted&&!e._isDestroyed&&en(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,en(e,"mounted")),e}(this,e=e&&V?Wn(e):void 0,t)},V&&setTimeout(function(){U.devtools&&ae&&ae.emit("init",_n)},0);var po,uo=/\{\{((?:.|\r?\n)+?)\}\}/g,fo=/[-.*+?^${}()|[\]\/\\]/g,vo=w(function(e){var t=e[0].replace(fo,"\\$&"),n=e[1].replace(fo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),bo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Ir(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Lr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},ho={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Ir(e,"style");n&&(e.staticStyle=JSON.stringify(aa(n)));var r=Lr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},mo=b("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),xo=b("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),go=b("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),yo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,wo=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_o="[a-zA-Z_][\\-\\.0-9_a-zA-Za-zA-Z·À-ÖØ-öø-ͽͿ-῿‌-‍‿-⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�]*",ko="((?:"+_o+"\\:)?"+_o+")",Co=new RegExp("^<"+ko),Oo=/^\s*(\/?)>/,To=new RegExp("^<\\/"+ko+"[^>]*>"),Ao=/^]+>/i,$o=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},No=/&(?:lt|gt|quot|amp|#39);/g,Lo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Io=b("pre,textarea",!0),Po=function(e,t){return e&&Io(e)&&"\n"===t[0]};function Do(e,t){var n=t?Lo:No;return e.replace(n,function(e){return Mo[e]})}var Ro,zo,Uo,Fo,Bo,Ho,Ko,Vo,Yo=/^@|^v-on:/,Xo=/^v-|^@|^:/,qo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Jo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Wo=/^\(|\)$/g,Go=/^\[.*\]$/,Zo=/:(.*)$/,Qo=/^:|^\.|^v-bind:/,ei=/\.[^.]+/g,ti=/^v-slot(:|$)|^#/,ni=/[\r\n]/,ri=/\s+/g,ai=w(function(e){return(po=po||document.createElement("div")).innerHTML=e,po.textContent}),oi="_empty_";function ii(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:ui(t),rawAttrsMap:{},parent:n,children:[]}}function ci(e,t){var n,r;(r=Lr(n=e,"key"))&&(n.key=r),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=Lr(e,"ref");t&&(e.ref=t,e.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?(t=Ir(e,"scope"),e.slotScope=t||Ir(e,"slot-scope")):(t=Ir(e,"slot-scope"))&&(e.slotScope=t);var n=Lr(e,"slot");if(n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||Er(e,"slot",n,function(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}(e,"slot"))),"template"===e.tag){var r=Pr(e,ti);if(r){var a=di(r),o=a.name,i=a.dynamic;e.slotTarget=o,e.slotTargetDynamic=i,e.slotScope=r.value||oi}}else{var c=Pr(e,ti);if(c){var s=e.scopedSlots||(e.scopedSlots={}),l=di(c),d=l.name,p=l.dynamic,u=s[d]=ii("template",[],e);u.slotTarget=d,u.slotTargetDynamic=p,u.children=e.children.filter(function(e){if(!e.slotScope)return e.parent=u,!0}),u.slotScope=c.value||oi,e.children=[],e.plain=!1}}}(e),function(e){"slot"===e.tag&&(e.slotName=Lr(e,"name"))}(e),function(e){var t;(t=Lr(e,"is"))&&(e.component=t),null!=Ir(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var a=0;a-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Nr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+i+");if(Array.isArray($$a)){var $$v="+(r?"_n("+a+")":a)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+zr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+zr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+zr(t,"$$c")+"}",null,!0)}(e,r,a);else if("input"===o&&"radio"===i)!function(e,t,n){var r=n&&n.number,a=Lr(e,"value")||"null";$r(e,"checked","_q("+t+","+(a=r?"_n("+a+")":a)+")"),Nr(e,"change",zr(t,a),null,!0)}(e,r,a);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,a=n||{},o=a.lazy,i=a.number,c=a.trim,s=!o&&"range"!==r,l=o?"change":"range"===r?Yr:"input",d="$event.target.value";c&&(d="$event.target.value.trim()"),i&&(d="_n("+d+")");var p=zr(t,d);s&&(p="if($event.target.composing)return;"+p),$r(e,"value","("+t+")"),Nr(e,l,p,null,!0),(c||i)&&Nr(e,"blur","$forceUpdate()")}(e,r,a);else if(!U.isReservedTag(o))return Rr(e,r,a),!1;return!0},text:function(e,t){t.value&&$r(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&$r(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:mo,mustUseProp:jn,canBeLeftOpenTag:xo,isReservedTag:Yn,getTagNamespace:Xn,staticKeys:xi.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")},yi=w(function(e){return b("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});var wi=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,_i=/\([^)]*?\);*$/,ki=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ci={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Oi={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Ti=function(e){return"if("+e+")return null;"},Ai={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Ti("$event.target !== $event.currentTarget"),ctrl:Ti("!$event.ctrlKey"),shift:Ti("!$event.shiftKey"),alt:Ti("!$event.altKey"),meta:Ti("!$event.metaKey"),left:Ti("'button' in $event && $event.button !== 0"),middle:Ti("'button' in $event && $event.button !== 1"),right:Ti("'button' in $event && $event.button !== 2")};function $i(e,t){var n=t?"nativeOn:":"on:",r="",a="";for(var o in e){var i=Ei(e[o]);e[o]&&e[o].dynamic?a+=o+","+i+",":r+='"'+o+'":'+i+","}return r="{"+r.slice(0,-1)+"}",a?n+"_d("+r+",["+a.slice(0,-1)+"])":n+r}function Ei(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Ei(e)}).join(",")+"]";var t=ki.test(e.value),n=wi.test(e.value),r=ki.test(e.value.replace(_i,""));if(e.modifiers){var a="",o="",i=[];for(var c in e.modifiers)if(Ai[c])o+=Ai[c],Ci[c]&&i.push(c);else if("exact"===c){var s=e.modifiers;o+=Ti(["ctrl","shift","alt","meta"].filter(function(e){return!s[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else i.push(c);return i.length&&(a+="if(!$event.type.indexOf('key')&&"+i.map(Si).join("&&")+")return null;"),o&&(a+=o),"function($event){"+a+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Si(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ci[e],r=Oi[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var ji={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:j},Mi=function(e){this.options=e,this.warn=e.warn||Tr,this.transforms=Ar(e.modules,"transformCode"),this.dataGenFns=Ar(e.modules,"genData"),this.directives=E(E({},ji),e.directives);var t=e.isReservedTag||M;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ni(e,t){var n=new Mi(t);return{render:"with(this){return "+(e?Li(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Li(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ii(e,t);if(e.once&&!e.onceProcessed)return Pi(e,t);if(e.for&&!e.forProcessed)return Ri(e,t);if(e.if&&!e.ifProcessed)return Di(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Bi(e,t),a="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?Vi((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:k(e.name),value:e.value,dynamic:e.dynamic}})):null,i=e.attrsMap["v-bind"];return!o&&!i||r||(a+=",null"),o&&(a+=","+o),i&&(a+=(o?"":",null")+","+i),a+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Bi(t,n,!0);return"_c("+e+","+zi(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=zi(e,t));var a=e.inlineTemplate?null:Bi(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(a?","+a:"")+")"}for(var o=0;o>>0}(i):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];if(n&&1===n.type){var r=Ni(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Vi(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ui(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ui))}function Fi(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Di(e,t,Fi,"null");if(e.for&&!e.forProcessed)return Ri(e,t,Fi);var r=e.slotScope===oi?"":String(e.slotScope),a="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Bi(e,t)||"undefined")+":undefined":Bi(e,t)||"undefined":Li(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+a+o+"}"}function Bi(e,t,n,r,a){var o=e.children;if(o.length){var i=o[0];if(1===o.length&&i.for&&"template"!==i.tag&&"slot"!==i.tag){var c=n?t.maybeComponent(i)?",1":",0":"";return""+(r||Li)(i,t)+c}var s=n?function(e,t){for(var n=0,r=0;r]*>)","i")),u=e.replace(p,function(e,n,r){return l=r.length,So(d)||"noscript"===d||(n=n.replace(//g,"$1").replace(//g,"$1")),Po(d,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});s+=e.length-u.length,e=u,T(d,s-l,s)}else{var f=e.indexOf("<");if(0===f){if($o.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),s,s+v+3),k(v+3);continue}}if(Eo.test(e)){var b=e.indexOf("]>");if(b>=0){k(b+2);continue}}var h=e.match(Ao);if(h){k(h[0].length);continue}var m=e.match(To);if(m){var x=s;k(m[0].length),T(m[1],x,s);continue}var g=C();if(g){O(g),Po(g.tagName,e)&&k(1);continue}}var y=void 0,w=void 0,_=void 0;if(f>=0){for(w=e.slice(f);!(To.test(w)||Co.test(w)||$o.test(w)||Eo.test(w)||(_=w.indexOf("<",1))<0);)f+=_,w=e.slice(f);y=e.substring(0,f)}f<0&&(y=e),y&&k(y.length),t.chars&&y&&t.chars(y,s-y.length,s)}if(e===n){t.chars&&t.chars(e);break}}function k(t){s+=t,e=e.substring(t)}function C(){var t=e.match(Co);if(t){var n,r,a={tagName:t[1],attrs:[],start:s};for(k(t[0].length);!(n=e.match(Oo))&&(r=e.match(wo)||e.match(yo));)r.start=s,k(r[0].length),r.end=s,a.attrs.push(r);if(n)return a.unarySlash=n[1],k(n[0].length),a.end=s,a}}function O(e){var n=e.tagName,s=e.unarySlash;o&&("p"===r&&go(n)&&T(r),c(n)&&r===n&&T(n));for(var l=i(n)||!!s,d=e.attrs.length,p=new Array(d),u=0;u=0&&a[i].lowerCasedTag!==c;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,o);a.length=i,r=i&&a[i-1].tag}else"br"===c?t.start&&t.start(e,[],!0,n,o):"p"===c&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}T()}(e,{warn:Ro,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,i,d){var p=r&&r.ns||Vo(e);J&&"svg"===p&&(o=function(e){for(var t=[],n=0;ns&&(c.push(o=e.slice(s,a)),i.push(JSON.stringify(o)));var l=Cr(r[1].trim());i.push("_s("+l+")"),c.push({"@binding":l}),s=a+r[0].length}return s':'
',Wi.innerHTML.indexOf(" ")>0}var ec=!!V&&Qi(!1),tc=!!V&&Qi(!0),nc=w(function(e){var t=Wn(e);return t&&t.innerHTML}),rc=_n.prototype.$mount;_n.prototype.$mount=function(e,t){if((e=e&&Wn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=nc(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var a=Zi(r,{outputSourceRange:!1,shouldDecodeNewlines:ec,shouldDecodeNewlinesForHref:tc,delimiters:n.delimiters,comments:n.comments},this),o=a.render,i=a.staticRenderFns;n.render=o,n.staticRenderFns=i}}return rc.call(this,e,t)},_n.compile=Zi,e.exports=_n}).call(this,n("yLpj"),n("URgk").setImmediate)},"KHd+":function(e,t,n){"use strict";function r(e,t,n,r,a,o,i,c){var s,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),i?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=s):a&&(s=c?function(){a.call(this,this.$root.$options.shadowRoot)}:a),s)if(l.functional){l._injectStyles=s;var d=l.render;l.render=function(e,t){return s.call(t),d(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,s):[s]}return{exports:e,options:l}}n.d(t,"a",function(){return r})},URgk:function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,a=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(a.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new o(a.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n("YBdB"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("yLpj"))},XuX8:function(e,t,n){e.exports=n("INkZ")},YBdB:function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,a,o,i,c,s=1,l={},d=!1,p=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(function(){v(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){v(e.data)},r=function(e){o.port2.postMessage(e)}):p&&"onreadystatechange"in p.createElement("script")?(a=p.documentElement,r=function(e){var t=p.createElement("script");t.onreadystatechange=function(){v(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):r=function(e){setTimeout(v,0,e)}:(i="setImmediate$"+Math.random()+"$",c=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&v(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",c,!1):e.attachEvent("onmessage",c),r=function(t){e.postMessage(i+t,"*")}),u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n=0&&d.splice(t,1)}function h(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function(){0;return n.nc}();r&&(e.attrs.nonce=r)}return m(t,e.attrs),v(e,t),t}function m(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function x(e,t){var n,r,a,o;if(t.transform&&e.css){if(!(o="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=o}if(t.singleton){var i=l++;n=s||(s=h(t)),r=w.bind(null,n,i,!1),a=w.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",m(t,e.attrs),v(e,t),t}(t),r=function(e,t,n){var r=n.css,a=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&a;(t.convertToAbsoluteUrls||o)&&(r=p(r));a&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var i=new Blob([r],{type:"text/css"}),c=e.href;e.href=URL.createObjectURL(i),c&&URL.revokeObjectURL(c)}.bind(null,n,t),a=function(){b(n),n.href&&URL.revokeObjectURL(n.href)}):(n=h(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),a=function(){b(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=f(e,t);return u(n,t),function(e){for(var r=[],a=0;a
',event.target.setAttribute("disabled",""),e.password!==e.passwordConfirmation)return a()("Whoops!","The password and password confirmation fields do not match, please confirm your password and try again.","error"),event.target.innerHTML="Register",void event.target.removeAttribute("disabled");axios.post("/register",{name:e.name,username:e.username,password:e.password,email:e.email,password_confirmation:e.passwordConfirmation}).then(function(e){window.location.href="/"}).catch(function(e){event.target.innerHTML="Register",event.target.removeAttribute("disabled"),console.log(e)})}}},i=(n("6b5V"),n("KHd+")),c=Object(i.a)(o,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("section",{staticClass:"container"},[n("div",{staticClass:"row py-5 mb-5"},[n("div",{staticClass:"col-12 col-md-6 d-none d-md-block"},[n("div",{staticClass:"m-4 text-right",staticStyle:{position:"absolute"}},[e.loading?e._e():n("div",{staticClass:"marvel-device note8",staticStyle:{position:"absolute",zoom:"0.66","z-index":"10"}},[n("div",{staticClass:"inner"}),e._v(" "),e._m(0),e._v(" "),n("div",{staticClass:"speaker"}),e._v(" "),n("div",{staticClass:"sensors"}),e._v(" "),n("div",{staticClass:"more-sensors"}),e._v(" "),n("div",{staticClass:"sleep"}),e._v(" "),n("div",{staticClass:"volume"}),e._v(" "),n("div",{staticClass:"camera"}),e._v(" "),e._m(1)]),e._v(" "),n("div",{staticClass:"marvel-device iphone-x",staticStyle:{position:"absolute",zoom:"0.66","z-index":"20",margin:"99px 0 0 151px"}},[e._m(2),e._v(" "),n("div",{staticClass:"top-bar"}),e._v(" "),n("div",{staticClass:"sleep"}),e._v(" "),n("div",{staticClass:"bottom-bar"}),e._v(" "),n("div",{staticClass:"volume"}),e._v(" "),e._m(3),e._v(" "),n("div",{staticClass:"inner-shadow"}),e._v(" "),n("div",{staticClass:"screen"},[n("div",{attrs:{id:"iosDevice"}},[e.loading?e._e():n("img",{staticClass:"img-fluid",attrs:{src:"/img/landing/ios_4.jpg"}}),e._v(" "),e.loading?e._e():n("img",{staticClass:"img-fluid",attrs:{src:"/img/landing/ios_3.jpg"}}),e._v(" "),e.loading?e._e():n("img",{staticClass:"img-fluid",attrs:{src:"/img/landing/ios_2.jpg"}}),e._v(" "),n("img",{staticClass:"img-fluid",attrs:{src:"/img/landing/ios_1.jpg"}})])])])])]),e._v(" "),n("div",{staticClass:"col-12 col-md-5 offset-md-1"},[n("div",[n("div",{staticClass:"card my-4"},[n("div",{staticClass:"card-body px-lg-5"},[e._m(4),e._v(" "),e._m(5),e._v(" "),1==e.loading?n("div",{staticClass:"text-center",staticStyle:{"min-height":"350px"}},[e._m(6)]):e._e(),e._v(" "),0==e.loading?n("div",[1==e.nodeinfo.openRegistrations?n("form",{staticClass:"px-1"},[n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.name,expression:"form.name"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Name",required:"",autofocus:""},domProps:{value:e.form.name},on:{input:function(t){t.target.composing||e.$set(e.form,"name",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.username,expression:"form.username"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Username",required:"",autocomplete:"off"},domProps:{value:e.form.username},on:{input:function(t){t.target.composing||e.$set(e.form,"username",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.email,expression:"form.email"}],staticClass:"form-control",attrs:{type:"text",placeholder:"E-Mail Address",requiredautocomplete:"off"},domProps:{value:e.form.email},on:{input:function(t){t.target.composing||e.$set(e.form,"email",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.password,expression:"form.password"}],staticClass:"form-control",attrs:{type:"password",placeholder:"Password",required:"",autocomplete:"off"},domProps:{value:e.form.password},on:{input:function(t){t.target.composing||e.$set(e.form,"password",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.passwordConfirmation,expression:"form.passwordConfirmation"}],staticClass:"form-control",attrs:{type:"password",placeholder:"Confirm Password",required:"",autocomplete:"off"},domProps:{value:e.form.passwordConfirmation},on:{input:function(t){t.target.composing||e.$set(e.form,"passwordConfirmation",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-primary btn-block py-0 font-weight-bold",attrs:{type:"button"},on:{click:e.register}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\tRegister\n\t\t\t\t\t\t\t\t\t\t\t")])])]),e._v(" "),e._m(7)]):n("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"350px"}},[e._m(8)])]):e._e()])]),e._v(" "),0==e.loading?n("div",{staticClass:"card card-body"},[e._m(9)]):e._e()])])])])])},[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"overflow"},[t("div",{staticClass:"shadow"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"screen"},[t("img",{staticClass:"img-fluid",attrs:{src:"/img/landing/android_1.jpg"}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"notch"},[t("div",{staticClass:"camera"}),this._v(" "),t("div",{staticClass:"speaker"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"overflow"},[t("div",{staticClass:"shadow shadow--tr"}),this._v(" "),t("div",{staticClass:"shadow shadow--tl"}),this._v(" "),t("div",{staticClass:"shadow shadow--br"}),this._v(" "),t("div",{staticClass:"shadow shadow--bl"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"text-center pt-3"},[t("img",{attrs:{src:"/img/pixelfed-icon-color.svg"}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"py-3 text-center"},[t("h3",{staticClass:"font-weight-bold"},[this._v("Pixelfed")]),this._v(" "),t("p",{staticClass:"mb-0 lead"},[this._v("Photo sharing for everyone")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("p",{staticClass:"mb-0 font-weight-bold text-lighter small"},[this._v("By signing up, you agree to our "),t("a",{staticClass:"text-muted",attrs:{href:"/site/terms"}},[this._v("Terms of Use")]),this._v(" and "),t("a",{staticClass:"text-muted",attrs:{href:"/site/privacy"}},[this._v("Privacy Policy")]),this._v(".")])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"text-center"},[t("p",{staticClass:"lead"},[this._v("Registrations are closed.")]),this._v(" "),t("p",{staticClass:"text-lighter small"},[this._v("You can find a list of other instances on "),t("a",{staticClass:"text-muted font-weight-bold",attrs:{href:"https://the-federation.info/pixelfed"}},[this._v("the-federation.info/pixelfed")]),this._v(" or "),t("a",{staticClass:"text-muted font-weight-bold",attrs:{href:"https://fediverse.network/pixelfed"}},[this._v("fediverse.network/pixelfed")])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("p",{staticClass:"text-center mb-0 font-weight-bold"},[this._v("Have an account? "),t("a",{attrs:{href:"/login"}},[this._v("Log in")])])}],!1,null,"3bcbf3c4",null);t.default=c.exports},sOJF:function(e,t,n){window.Vue=n("XuX8"),Vue.component("landing-page",n("jXDq").default),new Vue({el:"#content"})},yLpj:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n}}); \ No newline at end of file +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=7)}({"6b5V":function(e,t,n){"use strict";var r=n("buNe");n.n(r).a},7:function(e,t,n){e.exports=n("sOJF")},"8LzN":function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,"\n.container.slim[data-v-3bcbf3c4] {\n\twidth: auto;\n\tmax-width: 680px;\n\tpadding: 0 15px;\n}\n@-webkit-keyframes iosDeviceCarousel-data-v-3bcbf3c4 {\n0% {\n opacity:1;\n}\n17% {\n opacity:1;\n}\n25% {\n opacity:0;\n}\n92% {\n opacity:0;\n}\n100% {\n opacity:1;\n}\n}\n@keyframes iosDeviceCarousel-data-v-3bcbf3c4 {\n0% {\n opacity:1;\n}\n17% {\n opacity:1;\n}\n25% {\n opacity:0;\n}\n92% {\n opacity:0;\n}\n100% {\n opacity:1;\n}\n}\n#iosDevice[data-v-3bcbf3c4] {\n position:relative;\n margin:0 auto;\n}\n#iosDevice img[data-v-3bcbf3c4] {\n position:absolute;\n left:0;\n}\n#iosDevice img[data-v-3bcbf3c4] {\n -webkit-animation-name: iosDeviceCarousel-data-v-3bcbf3c4;\n -webkit-animation-timing-function: ease-in-out;\n -webkit-animation-iteration-count: infinite;\n -webkit-animation-duration: 16s;\n\n -moz-animation-name: iosDeviceCarousel-data-v-3bcbf3c4;\n -moz-animation-timing-function: ease-in-out;\n -moz-animation-iteration-count: infinite;\n -moz-animation-duration: 16s;\n\n -o-animation-name: iosDeviceCarousel-data-v-3bcbf3c4;\n -o-animation-timing-function: ease-in-out;\n -o-animation-iteration-count: infinite;\n -o-animation-duration: 16s;\n\n animation-name: iosDeviceCarousel-data-v-3bcbf3c4;\n animation-timing-function: ease-in-out;\n animation-iteration-count: infinite;\n animation-duration: 16s;\n}\n#iosDevice img[data-v-3bcbf3c4]:nth-of-type(1) {\n -webkit-animation-delay: 12s;\n animation-delay: 12s;\n}\n#iosDevice img[data-v-3bcbf3c4]:nth-of-type(2) {\n -webkit-animation-delay: 8s;\n animation-delay: 8s;\n}\n#iosDevice img[data-v-3bcbf3c4]:nth-of-type(3) {\n -webkit-animation-delay: 4s;\n animation-delay: 4s;\n}\n#iosDevice img[data-v-3bcbf3c4]:nth-of-type(4) {\n -webkit-animation-delay: 0;\n animation-delay: 0;\n}\n.marvel-device[data-v-3bcbf3c4]{display:inline-block;position:relative;box-sizing:content-box !important}.marvel-device .screen[data-v-3bcbf3c4]{width:100%;position:relative;height:100%;z-index:3;background:white;overflow:hidden;display:block;border-radius:1px;box-shadow:0 0 0 3px #111}.marvel-device .top-bar[data-v-3bcbf3c4],.marvel-device .bottom-bar[data-v-3bcbf3c4]{height:3px;background:black;width:100%;display:block}.marvel-device .middle-bar[data-v-3bcbf3c4]{width:3px;height:4px;top:0px;left:90px;background:black;position:absolute}.marvel-device.iphone8[data-v-3bcbf3c4]{width:375px;height:667px;padding:105px 24px;background:#d9dbdc;border-radius:56px;box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.2)}.marvel-device.iphone8[data-v-3bcbf3c4]:before{width:calc(100% - 12px);height:calc(100% - 12px);position:absolute;top:6px;content:'';left:6px;border-radius:50px;background:#f8f8f8;z-index:1}.marvel-device.iphone8[data-v-3bcbf3c4]:after{width:calc(100% - 16px);height:calc(100% - 16px);position:absolute;top:8px;content:'';left:8px;border-radius:48px;box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.1),inset 0 0 6px 3px #fff;z-index:2}.marvel-device.iphone8 .home[data-v-3bcbf3c4]{border-radius:100%;width:68px;height:68px;position:absolute;left:50%;margin-left:-34px;bottom:22px;z-index:3;background:#303233;background:linear-gradient(135deg, #303233 0%, #b5b7b9 50%, #f0f2f2 69%, #303233 100%)}.marvel-device.iphone8 .home[data-v-3bcbf3c4]:before{background:#f8f8f8;position:absolute;content:'';border-radius:100%;width:calc(100% - 8px);height:calc(100% - 8px);top:4px;left:4px}.marvel-device.iphone8 .top-bar[data-v-3bcbf3c4]{height:14px;background:#bfbfc0;position:absolute;top:68px;left:0}.marvel-device.iphone8 .bottom-bar[data-v-3bcbf3c4]{height:14px;background:#bfbfc0;position:absolute;bottom:68px;left:0}.marvel-device.iphone8 .sleep[data-v-3bcbf3c4]{position:absolute;top:190px;right:-4px;width:4px;height:66px;border-radius:0px 2px 2px 0px;background:#d9dbdc}.marvel-device.iphone8 .volume[data-v-3bcbf3c4]{position:absolute;left:-4px;top:188px;z-index:0;height:66px;width:4px;border-radius:2px 0px 0px 2px;background:#d9dbdc}.marvel-device.iphone8 .volume[data-v-3bcbf3c4]:before{position:absolute;left:2px;top:-78px;height:40px;width:2px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone8 .volume[data-v-3bcbf3c4]:after{position:absolute;left:0px;top:82px;height:66px;width:4px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone8 .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:12px;height:12px;position:absolute;top:24px;left:50%;margin-left:-6px;border-radius:100%;z-index:3}.marvel-device.iphone8 .sensor[data-v-3bcbf3c4]{background:#3c3d3d;width:16px;height:16px;position:absolute;top:49px;left:134px;z-index:3;border-radius:100%}.marvel-device.iphone8 .speaker[data-v-3bcbf3c4]{background:#292728;width:70px;height:6px;position:absolute;top:54px;left:50%;margin-left:-35px;border-radius:6px;z-index:3}.marvel-device.iphone8.gold[data-v-3bcbf3c4]{background:#f9e7d3}.marvel-device.iphone8.gold .top-bar[data-v-3bcbf3c4],.marvel-device.iphone8.gold .bottom-bar[data-v-3bcbf3c4]{background:white}.marvel-device.iphone8.gold .sleep[data-v-3bcbf3c4],.marvel-device.iphone8.gold .volume[data-v-3bcbf3c4]{background:#f9e7d3}.marvel-device.iphone8.gold .home[data-v-3bcbf3c4]{background:#cebba9;background:linear-gradient(135deg, #cebba9 0%, #f9e7d3 50%, #cebba9 100%)}.marvel-device.iphone8.black[data-v-3bcbf3c4]{background:#464646;box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.7)}.marvel-device.iphone8.black[data-v-3bcbf3c4]:before{background:#080808}.marvel-device.iphone8.black[data-v-3bcbf3c4]:after{box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.1),inset 0 0 6px 3px #212121}.marvel-device.iphone8.black .top-bar[data-v-3bcbf3c4],.marvel-device.iphone8.black .bottom-bar[data-v-3bcbf3c4]{background:#212121}.marvel-device.iphone8.black .volume[data-v-3bcbf3c4],.marvel-device.iphone8.black .sleep[data-v-3bcbf3c4]{background:#464646}.marvel-device.iphone8.black .camera[data-v-3bcbf3c4]{background:#080808}.marvel-device.iphone8.black .home[data-v-3bcbf3c4]{background:#080808;background:linear-gradient(135deg, #080808 0%, #464646 50%, #080808 100%)}.marvel-device.iphone8.black .home[data-v-3bcbf3c4]:before{background:#080808}.marvel-device.iphone8.landscape[data-v-3bcbf3c4]{padding:24px 105px;height:375px;width:667px}.marvel-device.iphone8.landscape .sleep[data-v-3bcbf3c4]{top:100%;border-radius:0px 0px 2px 2px;right:190px;height:4px;width:66px}.marvel-device.iphone8.landscape .volume[data-v-3bcbf3c4]{width:66px;height:4px;top:-4px;left:calc(100% - 188px - 66px);border-radius:2px 2px 0px 0px}.marvel-device.iphone8.landscape .volume[data-v-3bcbf3c4]:before{width:40px;height:2px;top:2px;right:-78px;left:auto;border-radius:2px 2px 0px 0px}.marvel-device.iphone8.landscape .volume[data-v-3bcbf3c4]:after{left:-82px;width:66px;height:4px;top:0;border-radius:2px 2px 0px 0px}.marvel-device.iphone8.landscape .top-bar[data-v-3bcbf3c4]{width:14px;height:100%;left:calc(100% - 68px - 14px);top:0}.marvel-device.iphone8.landscape .bottom-bar[data-v-3bcbf3c4]{width:14px;height:100%;left:68px;top:0}.marvel-device.iphone8.landscape .home[data-v-3bcbf3c4]{top:50%;margin-top:-34px;margin-left:0;left:22px}.marvel-device.iphone8.landscape .sensor[data-v-3bcbf3c4]{top:134px;left:calc(100% - 49px - 16px)}.marvel-device.iphone8.landscape .speaker[data-v-3bcbf3c4]{height:70px;width:6px;left:calc(100% - 54px - 6px);top:50%;margin-left:0px;margin-top:-35px}.marvel-device.iphone8.landscape .camera[data-v-3bcbf3c4]{left:calc(100% - 32px);top:50%;margin-left:0px;margin-top:-5px}.marvel-device.iphone8plus[data-v-3bcbf3c4]{width:414px;height:736px;padding:112px 26px;background:#d9dbdc;border-radius:56px;box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.2)}.marvel-device.iphone8plus[data-v-3bcbf3c4]:before{width:calc(100% - 12px);height:calc(100% - 12px);position:absolute;top:6px;content:'';left:6px;border-radius:50px;background:#f8f8f8;z-index:1}.marvel-device.iphone8plus[data-v-3bcbf3c4]:after{width:calc(100% - 16px);height:calc(100% - 16px);position:absolute;top:8px;content:'';left:8px;border-radius:48px;box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.1),inset 0 0 6px 3px #fff;z-index:2}.marvel-device.iphone8plus .home[data-v-3bcbf3c4]{border-radius:100%;width:68px;height:68px;position:absolute;left:50%;margin-left:-34px;bottom:24px;z-index:3;background:#303233;background:linear-gradient(135deg, #303233 0%, #b5b7b9 50%, #f0f2f2 69%, #303233 100%)}.marvel-device.iphone8plus .home[data-v-3bcbf3c4]:before{background:#f8f8f8;position:absolute;content:'';border-radius:100%;width:calc(100% - 8px);height:calc(100% - 8px);top:4px;left:4px}.marvel-device.iphone8plus .top-bar[data-v-3bcbf3c4]{height:14px;background:#bfbfc0;position:absolute;top:68px;left:0}.marvel-device.iphone8plus .bottom-bar[data-v-3bcbf3c4]{height:14px;background:#bfbfc0;position:absolute;bottom:68px;left:0}.marvel-device.iphone8plus .sleep[data-v-3bcbf3c4]{position:absolute;top:190px;right:-4px;width:4px;height:66px;border-radius:0px 2px 2px 0px;background:#d9dbdc}.marvel-device.iphone8plus .volume[data-v-3bcbf3c4]{position:absolute;left:-4px;top:188px;z-index:0;height:66px;width:4px;border-radius:2px 0px 0px 2px;background:#d9dbdc}.marvel-device.iphone8plus .volume[data-v-3bcbf3c4]:before{position:absolute;left:2px;top:-78px;height:40px;width:2px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone8plus .volume[data-v-3bcbf3c4]:after{position:absolute;left:0px;top:82px;height:66px;width:4px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone8plus .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:12px;height:12px;position:absolute;top:29px;left:50%;margin-left:-6px;border-radius:100%;z-index:3}.marvel-device.iphone8plus .sensor[data-v-3bcbf3c4]{background:#3c3d3d;width:16px;height:16px;position:absolute;top:54px;left:154px;z-index:3;border-radius:100%}.marvel-device.iphone8plus .speaker[data-v-3bcbf3c4]{background:#292728;width:70px;height:6px;position:absolute;top:59px;left:50%;margin-left:-35px;border-radius:6px;z-index:3}.marvel-device.iphone8plus.gold[data-v-3bcbf3c4]{background:#f9e7d3}.marvel-device.iphone8plus.gold .top-bar[data-v-3bcbf3c4],.marvel-device.iphone8plus.gold .bottom-bar[data-v-3bcbf3c4]{background:white}.marvel-device.iphone8plus.gold .sleep[data-v-3bcbf3c4],.marvel-device.iphone8plus.gold .volume[data-v-3bcbf3c4]{background:#f9e7d3}.marvel-device.iphone8plus.gold .home[data-v-3bcbf3c4]{background:#cebba9;background:linear-gradient(135deg, #cebba9 0%, #f9e7d3 50%, #cebba9 100%)}.marvel-device.iphone8plus.black[data-v-3bcbf3c4]{background:#464646;box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.7)}.marvel-device.iphone8plus.black[data-v-3bcbf3c4]:before{background:#080808}.marvel-device.iphone8plus.black[data-v-3bcbf3c4]:after{box-shadow:inset 0 0 3px 0 rgba(0,0,0,0.1),inset 0 0 6px 3px #212121}.marvel-device.iphone8plus.black .top-bar[data-v-3bcbf3c4],.marvel-device.iphone8plus.black .bottom-bar[data-v-3bcbf3c4]{background:#212121}.marvel-device.iphone8plus.black .volume[data-v-3bcbf3c4],.marvel-device.iphone8plus.black .sleep[data-v-3bcbf3c4]{background:#464646}.marvel-device.iphone8plus.black .camera[data-v-3bcbf3c4]{background:#080808}.marvel-device.iphone8plus.black .home[data-v-3bcbf3c4]{background:#080808;background:linear-gradient(135deg, #080808 0%, #464646 50%, #080808 100%)}.marvel-device.iphone8plus.black .home[data-v-3bcbf3c4]:before{background:#080808}.marvel-device.iphone8plus.landscape[data-v-3bcbf3c4]{padding:26px 112px;height:414px;width:736px}.marvel-device.iphone8plus.landscape .sleep[data-v-3bcbf3c4]{top:100%;border-radius:0px 0px 2px 2px;right:190px;height:4px;width:66px}.marvel-device.iphone8plus.landscape .volume[data-v-3bcbf3c4]{width:66px;height:4px;top:-4px;left:calc(100% - 188px - 66px);border-radius:2px 2px 0px 0px}.marvel-device.iphone8plus.landscape .volume[data-v-3bcbf3c4]:before{width:40px;height:2px;top:2px;right:-78px;left:auto;border-radius:2px 2px 0px 0px}.marvel-device.iphone8plus.landscape .volume[data-v-3bcbf3c4]:after{left:-82px;width:66px;height:4px;top:0;border-radius:2px 2px 0px 0px}.marvel-device.iphone8plus.landscape .top-bar[data-v-3bcbf3c4]{width:14px;height:100%;left:calc(100% - 68px - 14px);top:0}.marvel-device.iphone8plus.landscape .bottom-bar[data-v-3bcbf3c4]{width:14px;height:100%;left:68px;top:0}.marvel-device.iphone8plus.landscape .home[data-v-3bcbf3c4]{top:50%;margin-top:-34px;margin-left:0;left:24px}.marvel-device.iphone8plus.landscape .sensor[data-v-3bcbf3c4]{top:154px;left:calc(100% - 54px - 16px)}.marvel-device.iphone8plus.landscape .speaker[data-v-3bcbf3c4]{height:70px;width:6px;left:calc(100% - 59px - 6px);top:50%;margin-left:0px;margin-top:-35px}.marvel-device.iphone8plus.landscape .camera[data-v-3bcbf3c4]{left:calc(100% - 29px);top:50%;margin-left:0px;margin-top:-5px}.marvel-device.iphone5s[data-v-3bcbf3c4],.marvel-device.iphone5c[data-v-3bcbf3c4]{padding:105px 22px;background:#2c2b2c;width:320px;height:568px;border-radius:50px}.marvel-device.iphone5s[data-v-3bcbf3c4]:before,.marvel-device.iphone5c[data-v-3bcbf3c4]:before{width:calc(100% - 8px);height:calc(100% - 8px);position:absolute;top:4px;content:'';left:4px;border-radius:46px;background:#1e1e1e;z-index:1}.marvel-device.iphone5s .sleep[data-v-3bcbf3c4],.marvel-device.iphone5c .sleep[data-v-3bcbf3c4]{position:absolute;top:-4px;right:60px;width:60px;height:4px;border-radius:2px 2px 0px 0px;background:#282727}.marvel-device.iphone5s .volume[data-v-3bcbf3c4],.marvel-device.iphone5c .volume[data-v-3bcbf3c4]{position:absolute;left:-4px;top:180px;z-index:0;height:27px;width:4px;border-radius:2px 0px 0px 2px;background:#282727}.marvel-device.iphone5s .volume[data-v-3bcbf3c4]:before,.marvel-device.iphone5c .volume[data-v-3bcbf3c4]:before{position:absolute;left:0px;top:-75px;height:35px;width:4px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone5s .volume[data-v-3bcbf3c4]:after,.marvel-device.iphone5c .volume[data-v-3bcbf3c4]:after{position:absolute;left:0px;bottom:-64px;height:27px;width:4px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone5s .camera[data-v-3bcbf3c4],.marvel-device.iphone5c .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:10px;height:10px;position:absolute;top:32px;left:50%;margin-left:-5px;border-radius:5px;z-index:3}.marvel-device.iphone5s .sensor[data-v-3bcbf3c4],.marvel-device.iphone5c .sensor[data-v-3bcbf3c4]{background:#3c3d3d;width:10px;height:10px;position:absolute;top:60px;left:160px;z-index:3;margin-left:-32px;border-radius:5px}.marvel-device.iphone5s .speaker[data-v-3bcbf3c4],.marvel-device.iphone5c .speaker[data-v-3bcbf3c4]{background:#292728;width:64px;height:10px;position:absolute;top:60px;left:50%;margin-left:-32px;border-radius:5px;z-index:3}.marvel-device.iphone5s.landscape[data-v-3bcbf3c4],.marvel-device.iphone5c.landscape[data-v-3bcbf3c4]{padding:22px 105px;height:320px;width:568px}.marvel-device.iphone5s.landscape .sleep[data-v-3bcbf3c4],.marvel-device.iphone5c.landscape .sleep[data-v-3bcbf3c4]{right:-4px;top:calc(100% - 120px);height:60px;width:4px;border-radius:0px 2px 2px 0px}.marvel-device.iphone5s.landscape .volume[data-v-3bcbf3c4],.marvel-device.iphone5c.landscape .volume[data-v-3bcbf3c4]{width:27px;height:4px;top:-4px;left:calc(100% - 180px);border-radius:2px 2px 0px 0px}.marvel-device.iphone5s.landscape .volume[data-v-3bcbf3c4]:before,.marvel-device.iphone5c.landscape .volume[data-v-3bcbf3c4]:before{width:35px;height:4px;top:0px;right:-75px;left:auto;border-radius:2px 2px 0px 0px}.marvel-device.iphone5s.landscape .volume[data-v-3bcbf3c4]:after,.marvel-device.iphone5c.landscape .volume[data-v-3bcbf3c4]:after{bottom:0px;left:-64px;z-index:999;height:4px;width:27px;border-radius:2px 2px 0px 0px}.marvel-device.iphone5s.landscape .sensor[data-v-3bcbf3c4],.marvel-device.iphone5c.landscape .sensor[data-v-3bcbf3c4]{top:160px;left:calc(100% - 60px);margin-left:0px;margin-top:-32px}.marvel-device.iphone5s.landscape .speaker[data-v-3bcbf3c4],.marvel-device.iphone5c.landscape .speaker[data-v-3bcbf3c4]{height:64px;width:10px;left:calc(100% - 60px);top:50%;margin-left:0px;margin-top:-32px}.marvel-device.iphone5s.landscape .camera[data-v-3bcbf3c4],.marvel-device.iphone5c.landscape .camera[data-v-3bcbf3c4]{left:calc(100% - 32px);top:50%;margin-left:0px;margin-top:-5px}.marvel-device.iphone5s .home[data-v-3bcbf3c4]{border-radius:36px;width:68px;box-shadow:inset 0 0 0 4px #2c2b2c;height:68px;position:absolute;left:50%;margin-left:-34px;bottom:19px;z-index:3}.marvel-device.iphone5s .top-bar[data-v-3bcbf3c4]{top:70px;position:absolute;left:0}.marvel-device.iphone5s .bottom-bar[data-v-3bcbf3c4]{bottom:70px;position:absolute;left:0}.marvel-device.iphone5s.landscape .home[data-v-3bcbf3c4]{left:19px;bottom:50%;margin-bottom:-34px;margin-left:0px}.marvel-device.iphone5s.landscape .top-bar[data-v-3bcbf3c4]{left:70px;top:0px;width:3px;height:100%}.marvel-device.iphone5s.landscape .bottom-bar[data-v-3bcbf3c4]{right:70px;left:auto;bottom:0px;width:3px;height:100%}.marvel-device.iphone5s.silver[data-v-3bcbf3c4]{background:#bcbcbc}.marvel-device.iphone5s.silver[data-v-3bcbf3c4]:before{background:#fcfcfc}.marvel-device.iphone5s.silver .volume[data-v-3bcbf3c4],.marvel-device.iphone5s.silver .sleep[data-v-3bcbf3c4]{background:#d6d6d6}.marvel-device.iphone5s.silver .top-bar[data-v-3bcbf3c4],.marvel-device.iphone5s.silver .bottom-bar[data-v-3bcbf3c4]{background:#eaebec}.marvel-device.iphone5s.silver .home[data-v-3bcbf3c4]{box-shadow:inset 0 0 0 4px #bcbcbc}.marvel-device.iphone5s.gold[data-v-3bcbf3c4]{background:#f9e7d3}.marvel-device.iphone5s.gold[data-v-3bcbf3c4]:before{background:#fcfcfc}.marvel-device.iphone5s.gold .volume[data-v-3bcbf3c4],.marvel-device.iphone5s.gold .sleep[data-v-3bcbf3c4]{background:#f9e7d3}.marvel-device.iphone5s.gold .top-bar[data-v-3bcbf3c4],.marvel-device.iphone5s.gold .bottom-bar[data-v-3bcbf3c4]{background:white}.marvel-device.iphone5s.gold .home[data-v-3bcbf3c4]{box-shadow:inset 0 0 0 4px #f9e7d3}.marvel-device.iphone5c[data-v-3bcbf3c4]{background:white;box-shadow:0 1px 2px 0 rgba(0,0,0,0.2)}.marvel-device.iphone5c .top-bar[data-v-3bcbf3c4],.marvel-device.iphone5c .bottom-bar[data-v-3bcbf3c4]{display:none}.marvel-device.iphone5c .home[data-v-3bcbf3c4]{background:#242324;border-radius:36px;width:68px;height:68px;z-index:3;position:absolute;left:50%;margin-left:-34px;bottom:19px}.marvel-device.iphone5c .home[data-v-3bcbf3c4]:after{width:20px;height:20px;border:1px solid rgba(255,255,255,0.1);border-radius:4px;position:absolute;display:block;content:'';top:50%;left:50%;margin-top:-11px;margin-left:-11px}.marvel-device.iphone5c.landscape .home[data-v-3bcbf3c4]{left:19px;bottom:50%;margin-bottom:-34px;margin-left:0px}.marvel-device.iphone5c .volume[data-v-3bcbf3c4],.marvel-device.iphone5c .sleep[data-v-3bcbf3c4]{background:#dddddd}.marvel-device.iphone5c.red[data-v-3bcbf3c4]{background:#f96b6c}.marvel-device.iphone5c.red .volume[data-v-3bcbf3c4],.marvel-device.iphone5c.red .sleep[data-v-3bcbf3c4]{background:#ed5758}.marvel-device.iphone5c.yellow[data-v-3bcbf3c4]{background:#f2dc60}.marvel-device.iphone5c.yellow .volume[data-v-3bcbf3c4],.marvel-device.iphone5c.yellow .sleep[data-v-3bcbf3c4]{background:#e5ce4c}.marvel-device.iphone5c.green[data-v-3bcbf3c4]{background:#97e563}.marvel-device.iphone5c.green .volume[data-v-3bcbf3c4],.marvel-device.iphone5c.green .sleep[data-v-3bcbf3c4]{background:#85d94d}.marvel-device.iphone5c.blue[data-v-3bcbf3c4]{background:#33a2db}.marvel-device.iphone5c.blue .volume[data-v-3bcbf3c4],.marvel-device.iphone5c.blue .sleep[data-v-3bcbf3c4]{background:#2694cd}.marvel-device.iphone4s[data-v-3bcbf3c4]{padding:129px 27px;width:320px;height:480px;background:#686868;border-radius:54px}.marvel-device.iphone4s[data-v-3bcbf3c4]:before{content:'';width:calc(100% - 8px);height:calc(100% - 8px);position:absolute;top:4px;left:4px;z-index:1;border-radius:50px;background:#1e1e1e}.marvel-device.iphone4s .top-bar[data-v-3bcbf3c4]{top:60px;position:absolute;left:0}.marvel-device.iphone4s .bottom-bar[data-v-3bcbf3c4]{bottom:90px;position:absolute;left:0}.marvel-device.iphone4s .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:10px;height:10px;position:absolute;top:72px;left:134px;z-index:3;margin-left:-5px;border-radius:100%}.marvel-device.iphone4s .speaker[data-v-3bcbf3c4]{background:#292728;width:64px;height:10px;position:absolute;top:72px;left:50%;z-index:3;margin-left:-32px;border-radius:5px}.marvel-device.iphone4s .sensor[data-v-3bcbf3c4]{background:#292728;width:40px;height:10px;position:absolute;top:36px;left:50%;z-index:3;margin-left:-20px;border-radius:5px}.marvel-device.iphone4s .home[data-v-3bcbf3c4]{background:#242324;border-radius:100%;width:72px;height:72px;z-index:3;position:absolute;left:50%;margin-left:-36px;bottom:30px}.marvel-device.iphone4s .home[data-v-3bcbf3c4]:after{width:20px;height:20px;border:1px solid rgba(255,255,255,0.1);border-radius:4px;position:absolute;display:block;content:'';top:50%;left:50%;margin-top:-11px;margin-left:-11px}.marvel-device.iphone4s .sleep[data-v-3bcbf3c4]{position:absolute;top:-4px;right:60px;width:60px;height:4px;border-radius:2px 2px 0px 0px;background:#4D4D4D}.marvel-device.iphone4s .volume[data-v-3bcbf3c4]{position:absolute;left:-4px;top:160px;height:27px;width:4px;border-radius:2px 0px 0px 2px;background:#4D4D4D}.marvel-device.iphone4s .volume[data-v-3bcbf3c4]:before{position:absolute;left:0px;top:-70px;height:35px;width:4px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone4s .volume[data-v-3bcbf3c4]:after{position:absolute;left:0px;bottom:-64px;height:27px;width:4px;border-radius:2px 0px 0px 2px;background:inherit;content:'';display:block}.marvel-device.iphone4s.landscape[data-v-3bcbf3c4]{padding:27px 129px;height:320px;width:480px}.marvel-device.iphone4s.landscape .bottom-bar[data-v-3bcbf3c4]{left:90px;bottom:0px;height:100%;width:3px}.marvel-device.iphone4s.landscape .top-bar[data-v-3bcbf3c4]{left:calc(100% - 60px);top:0px;height:100%;width:3px}.marvel-device.iphone4s.landscape .camera[data-v-3bcbf3c4]{top:134px;left:calc(100% - 72px);margin-left:0}.marvel-device.iphone4s.landscape .speaker[data-v-3bcbf3c4]{top:50%;margin-left:0;margin-top:-32px;left:calc(100% - 72px);width:10px;height:64px}.marvel-device.iphone4s.landscape .sensor[data-v-3bcbf3c4]{height:40px;width:10px;left:calc(100% - 36px);top:50%;margin-left:0;margin-top:-20px}.marvel-device.iphone4s.landscape .home[data-v-3bcbf3c4]{left:30px;bottom:50%;margin-left:0;margin-bottom:-36px}.marvel-device.iphone4s.landscape .sleep[data-v-3bcbf3c4]{height:60px;width:4px;right:-4px;top:calc(100% - 120px);border-radius:0px 2px 2px 0px}.marvel-device.iphone4s.landscape .volume[data-v-3bcbf3c4]{top:-4px;left:calc(100% - 187px);height:4px;width:27px;border-radius:2px 2px 0px 0px}.marvel-device.iphone4s.landscape .volume[data-v-3bcbf3c4]:before{right:-70px;left:auto;top:0px;width:35px;height:4px;border-radius:2px 2px 0px 0px}.marvel-device.iphone4s.landscape .volume[data-v-3bcbf3c4]:after{width:27px;height:4px;bottom:0px;left:-64px;border-radius:2px 2px 0px 0px}.marvel-device.iphone4s.silver[data-v-3bcbf3c4]{background:#bcbcbc}.marvel-device.iphone4s.silver[data-v-3bcbf3c4]:before{background:#fcfcfc}.marvel-device.iphone4s.silver .home[data-v-3bcbf3c4]{background:#fcfcfc;box-shadow:inset 0 0 0 1px #bcbcbc}.marvel-device.iphone4s.silver .home[data-v-3bcbf3c4]:after{border:1px solid rgba(0,0,0,0.2)}.marvel-device.iphone4s.silver .volume[data-v-3bcbf3c4],.marvel-device.iphone4s.silver .sleep[data-v-3bcbf3c4]{background:#d6d6d6}.marvel-device.nexus5[data-v-3bcbf3c4]{padding:50px 15px 50px 15px;width:320px;height:568px;background:#1e1e1e;border-radius:20px}.marvel-device.nexus5[data-v-3bcbf3c4]:before{border-radius:600px / 50px;background:inherit;content:'';top:0;position:absolute;height:103.1%;width:calc(100% - 26px);top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.marvel-device.nexus5 .top-bar[data-v-3bcbf3c4]{width:calc(100% - 8px);height:calc(100% - 6px);position:absolute;top:3px;left:4px;border-radius:20px;background:#181818}.marvel-device.nexus5 .top-bar[data-v-3bcbf3c4]:before{border-radius:600px / 50px;background:inherit;content:'';top:0;position:absolute;height:103.0%;width:calc(100% - 26px);top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.marvel-device.nexus5 .bottom-bar[data-v-3bcbf3c4]{display:none}.marvel-device.nexus5 .sleep[data-v-3bcbf3c4]{width:3px;position:absolute;left:-3px;top:110px;height:100px;background:inherit;border-radius:2px 0px 0px 2px}.marvel-device.nexus5 .volume[data-v-3bcbf3c4]{width:3px;position:absolute;right:-3px;top:70px;height:45px;background:inherit;border-radius:0px 2px 2px 0px}.marvel-device.nexus5 .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:10px;height:10px;position:absolute;top:18px;left:50%;z-index:3;margin-left:-5px;border-radius:100%}.marvel-device.nexus5 .camera[data-v-3bcbf3c4]:before{background:#3c3d3d;width:6px;height:6px;content:'';display:block;position:absolute;top:2px;left:-100px;z-index:3;border-radius:100%}.marvel-device.nexus5.landscape[data-v-3bcbf3c4]{padding:15px 50px 15px 50px;height:320px;width:568px}.marvel-device.nexus5.landscape[data-v-3bcbf3c4]:before{width:103.1%;height:calc(100% - 26px);border-radius:50px / 600px}.marvel-device.nexus5.landscape .top-bar[data-v-3bcbf3c4]{left:3px;top:4px;height:calc(100% - 8px);width:calc(100% - 6px)}.marvel-device.nexus5.landscape .top-bar[data-v-3bcbf3c4]:before{width:103%;height:calc(100% - 26px);border-radius:50px / 600px}.marvel-device.nexus5.landscape .sleep[data-v-3bcbf3c4]{height:3px;width:100px;left:calc(100% - 210px);top:-3px;border-radius:2px 2px 0px 0px}.marvel-device.nexus5.landscape .volume[data-v-3bcbf3c4]{height:3px;width:45px;right:70px;top:100%;border-radius:0px 0px 2px 2px}.marvel-device.nexus5.landscape .camera[data-v-3bcbf3c4]{top:50%;left:calc(100% - 18px);margin-left:0;margin-top:-5px}.marvel-device.nexus5.landscape .camera[data-v-3bcbf3c4]:before{top:-100px;left:2px}.marvel-device.s5[data-v-3bcbf3c4]{padding:60px 18px;border-radius:42px;width:320px;height:568px;background:#bcbcbc}.marvel-device.s5[data-v-3bcbf3c4]:before,.marvel-device.s5[data-v-3bcbf3c4]:after{width:calc(100% - 52px);content:'';display:block;height:26px;background:inherit;position:absolute;border-radius:500px / 40px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.marvel-device.s5[data-v-3bcbf3c4]:before{top:-7px}.marvel-device.s5[data-v-3bcbf3c4]:after{bottom:-7px}.marvel-device.s5 .bottom-bar[data-v-3bcbf3c4]{display:none}.marvel-device.s5 .top-bar[data-v-3bcbf3c4]{border-radius:37px;width:calc(100% - 10px);height:calc(100% - 10px);top:5px;left:5px;background:radial-gradient(rgba(0,0,0,0.02) 20%, transparent 60%) 0 0,radial-gradient(rgba(0,0,0,0.02) 20%, transparent 60%) 3px 3px;background-color:white;background-size:4px 4px;background-position:center;z-index:2;position:absolute}.marvel-device.s5 .top-bar[data-v-3bcbf3c4]:before,.marvel-device.s5 .top-bar[data-v-3bcbf3c4]:after{width:calc(100% - 48px);content:'';display:block;height:26px;background:inherit;position:absolute;border-radius:500px / 40px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.marvel-device.s5 .top-bar[data-v-3bcbf3c4]:before{top:-7px}.marvel-device.s5 .top-bar[data-v-3bcbf3c4]:after{bottom:-7px}.marvel-device.s5 .sleep[data-v-3bcbf3c4]{width:3px;position:absolute;left:-3px;top:100px;height:100px;background:#cecece;border-radius:2px 0px 0px 2px}.marvel-device.s5 .speaker[data-v-3bcbf3c4]{width:68px;height:8px;position:absolute;top:20px;display:block;z-index:3;left:50%;margin-left:-34px;background-color:#bcbcbc;background-position:top left;border-radius:4px}.marvel-device.s5 .sensor[data-v-3bcbf3c4]{display:block;position:absolute;top:20px;right:110px;background:#3c3d3d;border-radius:100%;width:8px;height:8px;z-index:3}.marvel-device.s5 .sensor[data-v-3bcbf3c4]:after{display:block;content:'';position:absolute;top:0px;right:12px;background:#3c3d3d;border-radius:100%;width:8px;height:8px;z-index:3}.marvel-device.s5 .camera[data-v-3bcbf3c4]{display:block;position:absolute;top:24px;right:42px;background:black;border-radius:100%;width:10px;height:10px;z-index:3}.marvel-device.s5 .camera[data-v-3bcbf3c4]:before{width:4px;height:4px;background:#3c3d3d;border-radius:100%;position:absolute;content:'';top:50%;left:50%;margin-top:-2px;margin-left:-2px}.marvel-device.s5 .home[data-v-3bcbf3c4]{position:absolute;z-index:3;bottom:17px;left:50%;width:70px;height:20px;background:white;border-radius:18px;display:block;margin-left:-35px;border:2px solid black}.marvel-device.s5.landscape[data-v-3bcbf3c4]{padding:18px 60px;height:320px;width:568px}.marvel-device.s5.landscape[data-v-3bcbf3c4]:before,.marvel-device.s5.landscape[data-v-3bcbf3c4]:after{height:calc(100% - 52px);width:26px;border-radius:40px / 500px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.marvel-device.s5.landscape[data-v-3bcbf3c4]:before{top:50%;left:-7px}.marvel-device.s5.landscape[data-v-3bcbf3c4]:after{top:50%;left:auto;right:-7px}.marvel-device.s5.landscape .top-bar[data-v-3bcbf3c4]:before,.marvel-device.s5.landscape .top-bar[data-v-3bcbf3c4]:after{width:26px;height:calc(100% - 48px);border-radius:40px / 500px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.marvel-device.s5.landscape .top-bar[data-v-3bcbf3c4]:before{right:-7px;top:50%;left:auto}.marvel-device.s5.landscape .top-bar[data-v-3bcbf3c4]:after{left:-7px;top:50%;right:auto}.marvel-device.s5.landscape .sleep[data-v-3bcbf3c4]{height:3px;width:100px;left:calc(100% - 200px);top:-3px;border-radius:2px 2px 0px 0px}.marvel-device.s5.landscape .speaker[data-v-3bcbf3c4]{height:68px;width:8px;left:calc(100% - 20px);top:50%;margin-left:0;margin-top:-34px}.marvel-device.s5.landscape .sensor[data-v-3bcbf3c4]{right:20px;top:calc(100% - 110px)}.marvel-device.s5.landscape .sensor[data-v-3bcbf3c4]:after{left:-12px;right:0px}.marvel-device.s5.landscape .camera[data-v-3bcbf3c4]{top:calc(100% - 42px);right:24px}.marvel-device.s5.landscape .home[data-v-3bcbf3c4]{width:20px;height:70px;bottom:50%;margin-bottom:-35px;margin-left:0;left:17px}.marvel-device.s5.black[data-v-3bcbf3c4]{background:#1e1e1e}.marvel-device.s5.black .speaker[data-v-3bcbf3c4]{background:black}.marvel-device.s5.black .sleep[data-v-3bcbf3c4]{background:#1e1e1e}.marvel-device.s5.black .top-bar[data-v-3bcbf3c4]{background:radial-gradient(rgba(0,0,0,0.05) 20%, transparent 60%) 0 0,radial-gradient(rgba(0,0,0,0.05) 20%, transparent 60%) 3px 3px;background-color:#2c2b2c;background-size:4px 4px}.marvel-device.s5.black .home[data-v-3bcbf3c4]{background:#2c2b2c}.marvel-device.lumia920[data-v-3bcbf3c4]{padding:80px 35px 125px 35px;background:#ffdd00;width:320px;height:533px;border-radius:40px / 3px}.marvel-device.lumia920 .bottom-bar[data-v-3bcbf3c4]{display:none}.marvel-device.lumia920 .top-bar[data-v-3bcbf3c4]{width:calc(100% - 24px);height:calc(100% - 32px);position:absolute;top:16px;left:12px;border-radius:24px;background:black;z-index:1}.marvel-device.lumia920 .top-bar[data-v-3bcbf3c4]:before{background:#1e1e1e;display:block;content:'';width:calc(100% - 4px);height:calc(100% - 4px);top:2px;left:2px;position:absolute;border-radius:22px}.marvel-device.lumia920 .volume[data-v-3bcbf3c4]{width:3px;position:absolute;top:130px;height:100px;background:#1e1e1e;right:-3px;border-radius:0px 2px 2px 0px}.marvel-device.lumia920 .volume[data-v-3bcbf3c4]:before{width:3px;position:absolute;top:190px;content:'';display:block;height:50px;background:inherit;right:0px;border-radius:0px 2px 2px 0px}.marvel-device.lumia920 .volume[data-v-3bcbf3c4]:after{width:3px;position:absolute;top:460px;content:'';display:block;height:50px;background:inherit;right:0px;border-radius:0px 2px 2px 0px}.marvel-device.lumia920 .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:10px;height:10px;position:absolute;top:34px;right:130px;z-index:5;border-radius:5px}.marvel-device.lumia920 .speaker[data-v-3bcbf3c4]{background:#292728;width:64px;height:10px;position:absolute;top:38px;left:50%;margin-left:-32px;border-radius:5px;z-index:3}.marvel-device.lumia920.landscape[data-v-3bcbf3c4]{padding:35px 80px 35px 125px;height:320px;width:568px;border-radius:2px / 100px}.marvel-device.lumia920.landscape .top-bar[data-v-3bcbf3c4]{height:calc(100% - 24px);width:calc(100% - 32px);left:16px;top:12px}.marvel-device.lumia920.landscape .volume[data-v-3bcbf3c4]{height:3px;right:130px;width:100px;top:100%;border-radius:0px 0px 2px 2px}.marvel-device.lumia920.landscape .volume[data-v-3bcbf3c4]:before{height:3px;right:190px;top:0px;width:50px;border-radius:0px 0px 2px 2px}.marvel-device.lumia920.landscape .volume[data-v-3bcbf3c4]:after{height:3px;right:430px;top:0px;width:50px;border-radius:0px 0px 2px 2px}.marvel-device.lumia920.landscape .camera[data-v-3bcbf3c4]{right:30px;top:calc(100% - 140px)}.marvel-device.lumia920.landscape .speaker[data-v-3bcbf3c4]{width:10px;height:64px;top:50%;margin-left:0;margin-top:-32px;left:calc(100% - 48px)}.marvel-device.lumia920.black[data-v-3bcbf3c4]{background:black}.marvel-device.lumia920.white[data-v-3bcbf3c4]{background:white;box-shadow:0 1px 2px 0 rgba(0,0,0,0.2)}.marvel-device.lumia920.blue[data-v-3bcbf3c4]{background:#00acdd}.marvel-device.lumia920.red[data-v-3bcbf3c4]{background:#CC3E32}.marvel-device.htc-one[data-v-3bcbf3c4]{padding:72px 25px 100px 25px;width:320px;height:568px;background:#bebebe;border-radius:34px}.marvel-device.htc-one[data-v-3bcbf3c4]:before{content:'';display:block;width:calc(100% - 4px);height:calc(100% - 4px);position:absolute;top:2px;left:2px;background:#adadad;border-radius:32px}.marvel-device.htc-one[data-v-3bcbf3c4]:after{content:'';display:block;width:calc(100% - 8px);height:calc(100% - 8px);position:absolute;top:4px;left:4px;background:#eeeeee;border-radius:30px}.marvel-device.htc-one .top-bar[data-v-3bcbf3c4]{width:calc(100% - 4px);height:635px;position:absolute;background:#424242;top:50px;z-index:1;left:2px}.marvel-device.htc-one .top-bar[data-v-3bcbf3c4]:before{content:'';position:absolute;width:calc(100% - 4px);height:100%;position:absolute;background:black;top:0px;z-index:1;left:2px}.marvel-device.htc-one .bottom-bar[data-v-3bcbf3c4]{display:none}.marvel-device.htc-one .speaker[data-v-3bcbf3c4]{height:16px;width:216px;display:block;position:absolute;top:22px;z-index:2;left:50%;margin-left:-108px;background:radial-gradient(#343434 25%, transparent 50%) 0 0,radial-gradient(#343434 25%, transparent 50%) 4px 4px;background-size:4px 4px;background-position:top left}.marvel-device.htc-one .speaker[data-v-3bcbf3c4]:after{content:'';height:16px;width:216px;display:block;position:absolute;top:676px;z-index:2;left:50%;margin-left:-108px;background:inherit}.marvel-device.htc-one .camera[data-v-3bcbf3c4]{display:block;position:absolute;top:18px;right:38px;background:#3c3d3d;border-radius:100%;width:24px;height:24px;z-index:3}.marvel-device.htc-one .camera[data-v-3bcbf3c4]:before{width:8px;height:8px;background:black;border-radius:100%;position:absolute;content:'';top:50%;left:50%;margin-top:-4px;margin-left:-4px}.marvel-device.htc-one .sensor[data-v-3bcbf3c4]{display:block;position:absolute;top:29px;left:60px;background:#3c3d3d;border-radius:100%;width:8px;height:8px;z-index:3}.marvel-device.htc-one .sensor[data-v-3bcbf3c4]:after{display:block;content:'';position:absolute;top:0px;right:12px;background:#3c3d3d;border-radius:100%;width:8px;height:8px;z-index:3}.marvel-device.htc-one.landscape[data-v-3bcbf3c4]{padding:25px 72px 25px 100px;height:320px;width:568px}.marvel-device.htc-one.landscape .top-bar[data-v-3bcbf3c4]{height:calc(100% - 4px);width:635px;left:calc(100% - 685px);top:2px}.marvel-device.htc-one.landscape .speaker[data-v-3bcbf3c4]{width:16px;height:216px;left:calc(100% - 38px);top:50%;margin-left:0px;margin-top:-108px}.marvel-device.htc-one.landscape .speaker[data-v-3bcbf3c4]:after{width:16px;height:216px;left:calc(100% - 692px);top:50%;margin-left:0;margin-top:-108px}.marvel-device.htc-one.landscape .camera[data-v-3bcbf3c4]{right:18px;top:calc(100% - 38px)}.marvel-device.htc-one.landscape .sensor[data-v-3bcbf3c4]{left:calc(100% - 29px);top:60px}.marvel-device.htc-one.landscape .sensor[data-v-3bcbf3c4] :after{right:0;top:-12px}.marvel-device.ipad[data-v-3bcbf3c4]{width:576px;height:768px;padding:90px 25px;background:#242324;border-radius:44px}.marvel-device.ipad[data-v-3bcbf3c4]:before{width:calc(100% - 8px);height:calc(100% - 8px);position:absolute;content:'';display:block;top:4px;left:4px;border-radius:40px;background:#1e1e1e}.marvel-device.ipad .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:10px;height:10px;position:absolute;top:44px;left:50%;margin-left:-5px;border-radius:100%}.marvel-device.ipad .top-bar[data-v-3bcbf3c4],.marvel-device.ipad .bottom-bar[data-v-3bcbf3c4]{display:none}.marvel-device.ipad .home[data-v-3bcbf3c4]{background:#242324;border-radius:36px;width:50px;height:50px;position:absolute;left:50%;margin-left:-25px;bottom:22px}.marvel-device.ipad .home[data-v-3bcbf3c4]:after{width:15px;height:15px;margin-top:-8px;margin-left:-8px;border:1px solid rgba(255,255,255,0.1);border-radius:4px;position:absolute;display:block;content:'';top:50%;left:50%}.marvel-device.ipad.landscape[data-v-3bcbf3c4]{height:576px;width:768px;padding:25px 90px}.marvel-device.ipad.landscape .camera[data-v-3bcbf3c4]{left:calc(100% - 44px);top:50%;margin-left:0;margin-top:-5px}.marvel-device.ipad.landscape .home[data-v-3bcbf3c4]{top:50%;left:22px;margin-left:0;margin-top:-25px}.marvel-device.ipad.silver[data-v-3bcbf3c4]{background:#bcbcbc}.marvel-device.ipad.silver[data-v-3bcbf3c4]:before{background:#fcfcfc}.marvel-device.ipad.silver .home[data-v-3bcbf3c4]{background:#fcfcfc;box-shadow:inset 0 0 0 1px #bcbcbc}.marvel-device.ipad.silver .home[data-v-3bcbf3c4]:after{border:1px solid rgba(0,0,0,0.2)}.marvel-device.macbook[data-v-3bcbf3c4]{width:960px;height:600px;padding:44px 44px 76px;margin:0 auto;background:#bebebe;border-radius:34px}.marvel-device.macbook[data-v-3bcbf3c4]:before{width:calc(100% - 8px);height:calc(100% - 8px);position:absolute;content:'';display:block;top:4px;left:4px;border-radius:30px;background:#1e1e1e}.marvel-device.macbook .top-bar[data-v-3bcbf3c4]{width:calc(100% + 2 * 70px);height:40px;position:absolute;content:'';display:block;top:680px;left:-70px;border-bottom-left-radius:90px 18px;border-bottom-right-radius:90px 18px;background:#bebebe;box-shadow:inset 0px -4px 13px 3px rgba(34,34,34,0.6)}.marvel-device.macbook .top-bar[data-v-3bcbf3c4]:before{width:100%;height:24px;content:'';display:block;top:0;left:0;background:#f0f0f0;border-bottom:2px solid #aaa;border-radius:5px;position:relative}.marvel-device.macbook .top-bar[data-v-3bcbf3c4]:after{width:16%;height:14px;content:'';display:block;top:0;background:#ddd;position:absolute;margin-left:auto;margin-right:auto;left:0;right:0;border-radius:0 0 20px 20px;box-shadow:inset 0px -3px 10px #999}.marvel-device.macbook .bottom-bar[data-v-3bcbf3c4]{background:transparent;width:calc(100% + 2 * 70px);height:26px;position:absolute;content:'';display:block;top:680px;left:-70px}.marvel-device.macbook .bottom-bar[data-v-3bcbf3c4]:before,.marvel-device.macbook .bottom-bar[data-v-3bcbf3c4]:after{height:calc(100% - 2px);width:80px;content:'';display:block;top:0;position:absolute}.marvel-device.macbook .bottom-bar[data-v-3bcbf3c4]:before{left:0;background:#f0f0f0;background:linear-gradient(to right, #747474 0%, #c3c3c3 5%, #ebebeb 14%, #979797 41%, #f0f0f0 80%, #f0f0f0 100%, #f0f0f0 100%)}.marvel-device.macbook .bottom-bar[data-v-3bcbf3c4]:after{right:0;background:#f0f0f0;background:linear-gradient(to right, #f0f0f0 0%, #f0f0f0 0%, #f0f0f0 20%, #979797 59%, #ebebeb 86%, #c3c3c3 95%, #747474 100%)}.marvel-device.macbook .camera[data-v-3bcbf3c4]{background:#3c3d3d;width:10px;height:10px;position:absolute;top:20px;left:50%;margin-left:-5px;border-radius:100%}.marvel-device.macbook .home[data-v-3bcbf3c4]{display:none}.marvel-device.iphone-x[data-v-3bcbf3c4]{width:375px;height:812px;padding:26px;background:#fdfdfd;box-shadow:inset 0 0 11px 0 black;border-radius:66px}.marvel-device.iphone-x .overflow[data-v-3bcbf3c4]{width:100%;height:100%;position:absolute;top:0;left:0;border-radius:66px;overflow:hidden}.marvel-device.iphone-x .shadow[data-v-3bcbf3c4]{border-radius:100%;width:90px;height:90px;position:absolute;background:radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, rgba(255,255,255,0) 60%)}.marvel-device.iphone-x .shadow--tl[data-v-3bcbf3c4]{top:-20px;left:-20px}.marvel-device.iphone-x .shadow--tr[data-v-3bcbf3c4]{top:-20px;right:-20px}.marvel-device.iphone-x .shadow--bl[data-v-3bcbf3c4]{bottom:-20px;left:-20px}.marvel-device.iphone-x .shadow--br[data-v-3bcbf3c4]{bottom:-20px;right:-20px}.marvel-device.iphone-x[data-v-3bcbf3c4]:before{width:calc(100% - 10px);height:calc(100% - 10px);position:absolute;top:5px;content:'';left:5px;border-radius:61px;background:black;z-index:1}.marvel-device.iphone-x .inner-shadow[data-v-3bcbf3c4]{width:calc(100% - 20px);height:calc(100% - 20px);position:absolute;top:10px;overflow:hidden;left:10px;border-radius:56px;box-shadow:inset 0 0 15px 0 rgba(255,255,255,0.66);z-index:1}.marvel-device.iphone-x .inner-shadow[data-v-3bcbf3c4]:before{box-shadow:inset 0 0 20px 0 #FFFFFF;width:100%;height:116%;position:absolute;top:-8%;content:'';left:0;border-radius:200px / 112px;z-index:2}.marvel-device.iphone-x .screen[data-v-3bcbf3c4]{border-radius:40px;box-shadow:none}.marvel-device.iphone-x .top-bar[data-v-3bcbf3c4],.marvel-device.iphone-x .bottom-bar[data-v-3bcbf3c4]{width:100%;position:absolute;height:8px;background:rgba(0,0,0,0.1);left:0}.marvel-device.iphone-x .top-bar[data-v-3bcbf3c4]{top:80px}.marvel-device.iphone-x .bottom-bar[data-v-3bcbf3c4]{bottom:80px}.marvel-device.iphone-x .volume[data-v-3bcbf3c4],.marvel-device.iphone-x .volume[data-v-3bcbf3c4]:before,.marvel-device.iphone-x .volume[data-v-3bcbf3c4]:after,.marvel-device.iphone-x .sleep[data-v-3bcbf3c4]{width:3px;background:#b5b5b5;position:absolute}.marvel-device.iphone-x .volume[data-v-3bcbf3c4]{left:-3px;top:116px;height:32px}.marvel-device.iphone-x .volume[data-v-3bcbf3c4]:before{height:62px;top:62px;content:'';left:0}.marvel-device.iphone-x .volume[data-v-3bcbf3c4]:after{height:62px;top:140px;content:'';left:0}.marvel-device.iphone-x .sleep[data-v-3bcbf3c4]{height:96px;top:200px;right:-3px}.marvel-device.iphone-x .camera[data-v-3bcbf3c4]{width:6px;height:6px;top:9px;border-radius:100%;position:absolute;left:154px;background:#0d4d71}.marvel-device.iphone-x .speaker[data-v-3bcbf3c4]{height:6px;width:60px;left:50%;position:absolute;top:9px;margin-left:-30px;background:#171818;border-radius:6px}.marvel-device.iphone-x .notch[data-v-3bcbf3c4]{position:absolute;width:210px;height:30px;top:26px;left:108px;z-index:4;background:black;border-bottom-left-radius:24px;border-bottom-right-radius:24px}.marvel-device.iphone-x .notch[data-v-3bcbf3c4]:before,.marvel-device.iphone-x .notch[data-v-3bcbf3c4]:after{content:'';height:8px;position:absolute;top:0;width:8px}.marvel-device.iphone-x .notch[data-v-3bcbf3c4]:after{background:radial-gradient(circle at bottom left, transparent 0, transparent 70%, black 70%, black 100%);left:-8px}.marvel-device.iphone-x .notch[data-v-3bcbf3c4]:before{background:radial-gradient(circle at bottom right, transparent 0, transparent 70%, black 70%, black 100%);right:-8px}.marvel-device.iphone-x.landscape[data-v-3bcbf3c4]{height:375px;width:812px}.marvel-device.iphone-x.landscape .top-bar[data-v-3bcbf3c4],.marvel-device.iphone-x.landscape .bottom-bar[data-v-3bcbf3c4]{width:8px;height:100%;top:0}.marvel-device.iphone-x.landscape .top-bar[data-v-3bcbf3c4]{left:80px}.marvel-device.iphone-x.landscape .bottom-bar[data-v-3bcbf3c4]{right:80px;bottom:auto;left:auto}.marvel-device.iphone-x.landscape .volume[data-v-3bcbf3c4],.marvel-device.iphone-x.landscape .volume[data-v-3bcbf3c4]:before,.marvel-device.iphone-x.landscape .volume[data-v-3bcbf3c4]:after,.marvel-device.iphone-x.landscape .sleep[data-v-3bcbf3c4]{height:3px}.marvel-device.iphone-x.landscape .inner-shadow[data-v-3bcbf3c4]:before{height:100%;width:116%;left:-8%;top:0;border-radius:112px / 200px}.marvel-device.iphone-x.landscape .volume[data-v-3bcbf3c4]{bottom:-3px;top:auto;left:116px;width:32px}.marvel-device.iphone-x.landscape .volume[data-v-3bcbf3c4]:before{width:62px;left:62px;top:0}.marvel-device.iphone-x.landscape .volume[data-v-3bcbf3c4]:after{width:62px;left:140px;top:0}.marvel-device.iphone-x.landscape .sleep[data-v-3bcbf3c4]{width:96px;left:200px;top:-3px;right:auto}.marvel-device.iphone-x.landscape .camera[data-v-3bcbf3c4]{left:9px;bottom:154px;top:auto}.marvel-device.iphone-x.landscape .speaker[data-v-3bcbf3c4]{width:6px;height:60px;left:9px;top:50%;margin-top:-30px;margin-left:0}.marvel-device.iphone-x.landscape .notch[data-v-3bcbf3c4]{height:210px;width:30px;left:26px;bottom:108px;top:auto;border-top-right-radius:24px;border-bottom-right-radius:24px;border-bottom-left-radius:0}.marvel-device.iphone-x.landscape .notch[data-v-3bcbf3c4]:before,.marvel-device.iphone-x.landscape .notch[data-v-3bcbf3c4]:after{left:0}.marvel-device.iphone-x.landscape .notch[data-v-3bcbf3c4]:after{background:radial-gradient(circle at bottom right, transparent 0, transparent 70%, black 70%, black 100%);bottom:-8px;top:auto}.marvel-device.iphone-x.landscape .notch[data-v-3bcbf3c4]:before{background:radial-gradient(circle at top right, transparent 0, transparent 70%, black 70%, black 100%);top:-8px}.marvel-device.note8[data-v-3bcbf3c4]{width:400px;height:822px;background:black;border-radius:34px;padding:45px 10px}.marvel-device.note8 .overflow[data-v-3bcbf3c4]{width:100%;height:100%;position:absolute;top:0;left:0;border-radius:34px;overflow:hidden}.marvel-device.note8 .speaker[data-v-3bcbf3c4]{height:8px;width:56px;left:50%;position:absolute;top:25px;margin-left:-28px;background:#171818;z-index:1;border-radius:8px}.marvel-device.note8 .camera[data-v-3bcbf3c4]{height:18px;width:18px;left:86px;position:absolute;top:18px;background:#212b36;z-index:1;border-radius:100%}.marvel-device.note8 .camera[data-v-3bcbf3c4]:before{content:'';height:8px;width:8px;left:-22px;position:absolute;top:5px;background:#212b36;z-index:1;border-radius:100%}.marvel-device.note8 .sensors[data-v-3bcbf3c4]{height:10px;width:10px;left:120px;position:absolute;top:22px;background:#1d233b;z-index:1;border-radius:100%}.marvel-device.note8 .sensors[data-v-3bcbf3c4]:before{content:'';height:10px;width:10px;left:18px;position:absolute;top:0;background:#1d233b;z-index:1;border-radius:100%}.marvel-device.note8 .more-sensors[data-v-3bcbf3c4]{height:16px;width:16px;left:285px;position:absolute;top:18px;background:#33244a;box-shadow:0 0 0 2px rgba(255,255,255,0.1);z-index:1;border-radius:100%}.marvel-device.note8 .more-sensors[data-v-3bcbf3c4]:before{content:'';height:11px;width:11px;left:40px;position:absolute;top:4px;background:#214a61;z-index:1;border-radius:100%}.marvel-device.note8 .sleep[data-v-3bcbf3c4]{width:2px;height:56px;background:black;position:absolute;top:288px;right:-2px}.marvel-device.note8 .volume[data-v-3bcbf3c4]{width:2px;height:120px;background:black;position:absolute;top:168px;left:-2px}.marvel-device.note8 .volume[data-v-3bcbf3c4]:before{content:'';top:168px;width:2px;position:absolute;left:0;background:black;height:56px}.marvel-device.note8 .inner[data-v-3bcbf3c4]{width:100%;height:calc(100% - 8px);position:absolute;top:2px;content:'';left:0px;border-radius:34px;border-top:2px solid #9fa0a2;border-bottom:2px solid #9fa0a2;background:black;z-index:1;box-shadow:inset 0 0 6px 0 rgba(255,255,255,0.5)}.marvel-device.note8 .shadow[data-v-3bcbf3c4]{box-shadow:inset 0 0 60px 0 white,inset 0 0 30px 0 rgba(255,255,255,0.5),0 0 20px 0 white,0 0 20px 0 rgba(255,255,255,0.5);height:101%;position:absolute;top:-0.5%;content:'';width:calc(100% - 20px);left:10px;border-radius:38px;z-index:5;pointer-events:none}.marvel-device.note8 .screen[data-v-3bcbf3c4]{border-radius:14px;box-shadow:none}.marvel-device.note8.landscape[data-v-3bcbf3c4]{height:400px;width:822px;padding:10px 45px}.marvel-device.note8.landscape .speaker[data-v-3bcbf3c4]{height:56px;width:8px;top:50%;margin-top:-28px;margin-left:0;right:25px;left:auto}.marvel-device.note8.landscape .camera[data-v-3bcbf3c4]{top:86px;right:18px;left:auto}.marvel-device.note8.landscape .camera[data-v-3bcbf3c4]:before{top:-22px;left:5px}.marvel-device.note8.landscape .sensors[data-v-3bcbf3c4]{top:120px;right:22px;left:auto}.marvel-device.note8.landscape .sensors[data-v-3bcbf3c4]:before{top:18px;left:0}.marvel-device.note8.landscape .more-sensors[data-v-3bcbf3c4]{top:285px;right:18px;left:auto}.marvel-device.note8.landscape .more-sensors[data-v-3bcbf3c4]:before{top:40px;left:4px}.marvel-device.note8.landscape .sleep[data-v-3bcbf3c4]{bottom:-2px;top:auto;right:288px;width:56px;height:2px}.marvel-device.note8.landscape .volume[data-v-3bcbf3c4]{width:120px;height:2px;top:-2px;right:168px;left:auto}.marvel-device.note8.landscape .volume[data-v-3bcbf3c4]:before{right:168px;left:auto;top:0;width:56px;height:2px}.marvel-device.note8.landscape .inner[data-v-3bcbf3c4]{height:100%;width:calc(100% - 8px);left:2px;top:0;border-top:0;border-bottom:0;border-left:2px solid #9fa0a2;border-right:2px solid #9fa0a2}.marvel-device.note8.landscape .shadow[data-v-3bcbf3c4]{width:101%;height:calc(100% - 20px);left:-0.5%;top:10px}\n",""])},"8oxB":function(e,t){var n,r,a=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,l=[],d=!1,p=-1;function u(){d&&s&&(d=!1,s.length?l=s.concat(l):p=-1,l.length&&f())}function f(){if(!d){var e=c(u);d=!0;for(var t=l.length;t;){for(s=l,l=[];++p1)for(var n=1;n',t.titleMarkup='\n
\n',t.textMarkup='\n
',t.footerMarkup='\n
\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.CONFIRM_KEY="confirm",t.CANCEL_KEY="cancel";var a={visible:!0,text:null,value:null,className:"",closeModal:!0},o=Object.assign({},a,{visible:!1,text:"Cancel",value:null}),i=Object.assign({},a,{text:"OK",value:!0});t.defaultButtonList={cancel:o,confirm:i};var c=function(e){switch(e){case t.CONFIRM_KEY:return i;case t.CANCEL_KEY:return o;default:var n=e.charAt(0).toUpperCase()+e.slice(1);return Object.assign({},a,{text:n,value:e})}},s=function(e,t){var n=c(e);return!0===t?Object.assign({},n,{visible:!0}):"string"==typeof t?Object.assign({},n,{visible:!0,text:t}):r.isPlainObject(t)?Object.assign({visible:!0},n,t):Object.assign({},n,{visible:!1})},l=function(e){var n={};switch(e.length){case 1:n[t.CANCEL_KEY]=Object.assign({},o,{visible:!1});break;case 2:n[t.CANCEL_KEY]=s(t.CANCEL_KEY,e[0]),n[t.CONFIRM_KEY]=s(t.CONFIRM_KEY,e[1]);break;default:r.throwErr("Invalid number of 'buttons' in array ("+e.length+").\n If you want more than 2 buttons, you need to use an object!")}return n};t.getButtonListOpts=function(e){var n=t.defaultButtonList;return"string"==typeof e?n[t.CONFIRM_KEY]=s(t.CONFIRM_KEY,e):Array.isArray(e)?n=l(e):r.isPlainObject(e)?n=function(e){for(var t={},n=0,r=Object.keys(e);n=0&&m.splice(t,1)}function c(e){var t=document.createElement("style");return e.attrs.type="text/css",l(t,e.attrs),o(e,t),t}function s(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",l(t,e.attrs),o(e,t),t}function l(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function d(e,t){var n,r,a,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var l=h++;n=b||(b=c(t)),r=p.bind(null,n,l,!1),a=p.bind(null,n,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=s(t),r=function(e,t,n){var r=n.css,a=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&a;(t.convertToAbsoluteUrls||o)&&(r=x(r)),a&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var i=new Blob([r],{type:"text/css"}),c=e.href;e.href=URL.createObjectURL(i),c&&URL.revokeObjectURL(c)}.bind(null,n,t),a=function(){i(n),n.href&&URL.revokeObjectURL(n.href)}):(n=c(t),r=function(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),a=function(){i(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}function p(e,t,n,r){var a=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}var u={},f=function(e){var t;return function(){return void 0===t&&(t=function(){return window&&document&&document.all&&!window.atob}.apply(this,arguments)),t}}(),v=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=function(e){return document.querySelector(e)}.call(this,e)),t[e]}}(),b=null,h=0,m=[],x=n(15);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=f()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=a(e,t);return r(n,t),function(e){for(var o=[],i=0;ithis.length)&&-1!==this.indexOf(e,t)}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0===r)return!1;for(var a=0|t,o=Math.max(a>=0?a:r-Math.abs(a),0);o=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},a(19),r.setImmediate=t,r.clearImmediate=n},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){delete c[e]}function a(e){if(s)setTimeout(a,0,e);else{var t=c[e];if(t){s=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}(t)}finally{r(e),s=!1}}}}if(!e.setImmediate){var o,i=1,c={},s=!1,l=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?o=function(e){t.nextTick(function(){a(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&a(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),o=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){a(e.data)},o=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;o=function(t){var n=l.createElement("script");n.onreadystatechange=function(){a(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():o=function(e){setTimeout(a,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1)for(var n=1;n',t.default=t.modalMarkup},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),a=r.default.OVERLAY,o='
\n
';t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),a=r.default.ICON;t.errorIconMarkup=function(){var e=a+"--error",t=e+"__line";return'\n
\n \n \n
\n '},t.warningIconMarkup=function(){var e=a+"--warning";return'\n \n \n \n '},t.successIconMarkup=function(){var e=a+"--success";return'\n \n \n\n
\n
\n '}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),a=r.default.CONTENT;t.contentMarkup='\n
\n\n
\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),a=r.default.BUTTON_CONTAINER,o=r.default.BUTTON,i=r.default.BUTTON_LOADER;t.buttonMarkup='\n
\n\n \n\n
\n
\n
\n
\n
\n\n
\n'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(2),o=n(0),i=o.default.ICON,c=o.default.ICON_CUSTOM,s=["error","warning","success","info"],l={error:a.errorIconMarkup(),warning:a.warningIconMarkup(),success:a.successIconMarkup()};t.default=function(e){if(e){var t=r.injectElIntoModal(a.iconMarkup);s.includes(e)?function(e,t){var n=i+"--"+e;t.classList.add(n);var r=l[e];r&&(t.innerHTML=r)}(e,t):function(e,t){t.classList.add(c);var n=document.createElement("img");n.src=e,t.appendChild(n)}(e,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),a=n(4),o=function(e){navigator.userAgent.includes("AppleWebKit")&&(e.style.display="none",e.offsetHeight,e.style.display="")};t.initTitle=function(e){if(e){var t=a.injectElIntoModal(r.titleMarkup);t.textContent=e,o(t)}},t.initText=function(e){if(e){var t=document.createDocumentFragment();e.split("\n").forEach(function(e,n,r){t.appendChild(document.createTextNode(e)),n0}).forEach(function(e){b.classList.add(e)}),n&&e===s.CONFIRM_KEY&&b.classList.add(c),b.textContent=a;var m={};return m[e]=o,p.setActionValue(m),p.setActionOptionsFor(e,{closeModal:f}),b.addEventListener("click",function(){return d.onAction(e)}),v};t.default=function(e,t){var n=a.injectElIntoModal(l.footerMarkup);for(var r in e){var o=e[r],i=u(r,o,t);o.visible&&n.appendChild(i)}0===n.children.length&&n.remove()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(4),o=n(2),i=n(5),c=n(6),s=n(0),l=s.default.CONTENT,d=function(e){e.addEventListener("input",function(e){var t=e.target,n=t.value;i.setActionValue(n)}),e.addEventListener("keyup",function(e){if("Enter"===e.key)return c.onAction(r.CONFIRM_KEY)}),setTimeout(function(){e.focus(),i.setActionValue("")},0)};t.default=function(e){if(e){var t=a.injectElIntoModal(o.contentMarkup),n=e.element,r=e.attributes;"string"==typeof n?function(e,t,n){var r=document.createElement(t),a=l+"__"+t;for(var o in r.classList.add(a),n){var i=n[o];r[o]=i}"input"===t&&d(r),e.appendChild(r)}(t,n,r):t.appendChild(n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(2);t.default=function(){var e=r.stringToNode(a.overlayMarkup);document.body.appendChild(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),a=n(6),o=n(1),i=n(3),c=n(0),s=c.default.MODAL,l=c.default.BUTTON,d=c.default.OVERLAY,p=function(e){if(r.default.isOpen)switch(e.key){case"Escape":return a.onAction(i.CANCEL_KEY)}},u=function(e){if(r.default.isOpen)switch(e.key){case"Tab":return function(e){e.preventDefault(),v()}(e)}},f=function(e){if(r.default.isOpen)return"Tab"===e.key&&e.shiftKey?function(e){e.preventDefault(),b()}(e):void 0},v=function(){var e=o.getNode(l);e&&(e.tabIndex=0,e.focus())},b=function(){var e=o.getNode(s),t=e.querySelectorAll("."+l),n=t.length-1,r=t[n];r&&r.focus()},h=function(){var e=o.getNode(s),t=e.querySelectorAll("."+l);t.length&&(function(e){e[e.length-1].addEventListener("keydown",u)}(t),function(e){e[0].addEventListener("keydown",f)}(t))},m=function(e){if(o.getNode(d)===e.target)return a.onAction(i.CANCEL_KEY)};t.default=function(e){e.closeOnEsc?document.addEventListener("keyup",p):document.removeEventListener("keyup",p),e.dangerMode?v():b(),h(),function(e){var t=o.getNode(d);t.removeEventListener("click",m),e&&t.addEventListener("click",m)}(e.closeOnClickOutside),function(e){r.default.timer&&clearTimeout(r.default.timer),e&&(r.default.timer=window.setTimeout(function(){return a.onAction(i.CANCEL_KEY)},e))}(e.timer)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(3),o=n(37),i=n(38),c={title:null,text:null,icon:null,buttons:a.defaultButtonList,content:null,className:null,closeOnClickOutside:!0,closeOnEsc:!0,dangerMode:!1,timer:null},s=Object.assign({},c);t.setDefaults=function(e){s=Object.assign({},c,e)};var l=function(e){var t=e&&e.button,n=e&&e.buttons;return void 0!==t&&void 0!==n&&r.throwErr("Cannot set both 'button' and 'buttons' options!"),void 0!==t?{confirm:t}:n},d=function(e){return r.ordinalSuffixOf(e+1)},p=function(e,t){r.throwErr(d(t)+" argument ('"+e+"') is invalid")},u=function(e,t){var n=e+1,a=t[n];r.isPlainObject(a)||void 0===a||r.throwErr("Expected "+d(n)+" argument ('"+a+"') to be a plain object")},f=function(e,t,n,a){var o=typeof t,i="string"===o,c=t instanceof Element;if(i){if(0===n)return{text:t};if(1===n)return{text:t,title:a[0]};if(2===n)return u(n,a),{icon:t};p(t,n)}else{if(c&&0===n)return u(n,a),{content:t};if(r.isPlainObject(t))return function(e,t){var n=e+1,a=t[n];void 0!==a&&r.throwErr("Unexpected "+d(n)+" argument ("+a+")")}(n,a),t;p(t,n)}};t.getOpts=function(){for(var e=[],t=0;t=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||d(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function v(e){var t=parseFloat(e);return isNaN(t)?e:t}function b(e,t){for(var n=Object.create(null),r=e.split(","),a=0;a-1)return e.splice(n,1)}}var g=Object.prototype.hasOwnProperty;function y(e,t){return g.call(e,t)}function w(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,k=w(function(e){return e.replace(_,function(e,t){return t?t.toUpperCase():""})}),C=w(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),O=/\B([A-Z])/g,T=w(function(e){return e.replace(O,"-$1").toLowerCase()}),A=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function $(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function E(e,t){for(var n in t)e[n]=t[n];return e}function S(e){for(var t={},n=0;n0,G=q&&q.indexOf("edge/")>0,Z=(q&&q.indexOf("android"),q&&/iphone|ipad|ipod|ios/.test(q)||"ios"===X),Q=(q&&/chrome\/\d+/.test(q),q&&/phantomjs/.test(q),q&&q.match(/firefox\/(\d+)/)),ee={}.watch,te=!1;if(V)try{var ne={};Object.defineProperty(ne,"passive",{get:function(){te=!0}}),window.addEventListener("test-passive",null,ne)}catch(r){}var re=function(){return void 0===B&&(B=!V&&!Y&&void 0!==t&&t.process&&"server"===t.process.env.VUE_ENV),B},ae=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function oe(e){return"function"==typeof e&&/native code/.test(e.toString())}var ie,ce="undefined"!=typeof Symbol&&oe(Symbol)&&"undefined"!=typeof Reflect&&oe(Reflect.ownKeys);ie="undefined"!=typeof Set&&oe(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var se=j,le=0,de=function(){this.id=le++,this.subs=[]};de.prototype.addSub=function(e){this.subs.push(e)},de.prototype.removeSub=function(e){x(this.subs,e)},de.prototype.depend=function(){de.target&&de.target.addDep(this)},de.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(o&&!y(a,"default"))i=!1;else if(""===i||i===T(e)){var s=Ue(String,a.type);(s<0||c0&&(lt((s=e(s,(n||"")+"_"+r))[0])&<(d)&&(p[l]=me(d.text+s[0].text),s.shift()),p.push.apply(p,s)):c(s)?lt(d)?p[l]=me(d.text+s):""!==s&&p.push(me(s)):lt(s)&<(d)?p[l]=me(d.text+s.text):(i(t._isVList)&&o(s.tag)&&a(s.key)&&o(n)&&(s.key="__vlist"+n+"_"+r+"__"),p.push(s)));return p}(e):void 0}function lt(e){return o(e)&&o(e.text)&&!1===e.isComment}function dt(e,t){if(e){for(var n=Object.create(null),r=ce?Reflect.ownKeys(e):Object.keys(e),a=0;adocument.createEvent("Event").timeStamp&&(ln=function(){return performance.now()});var pn=0,un=function(e,t,n,r,a){this.vm=e,a&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++pn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ie,this.newDepIds=new ie,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!H.test(e)){var t=e.split(".");return function(e){for(var n=0;ncn&&tn[n].id>e.id;)n--;tn.splice(n+1,0,e)}else tn.push(e);an||(an=!0,et(dn))}}(this)},un.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Fe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},un.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},un.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},un.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||x(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var fn={enumerable:!0,configurable:!0,get:j,set:j};function vn(e,t,n){fn.get=function(){return this[t][n]},fn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,fn)}var bn={lazy:!0};function hn(e,t,n){var r=!re();"function"==typeof n?(fn.get=r?mn(t):xn(n),fn.set=j):(fn.get=n.get?r&&!1!==n.cache?mn(t):xn(n.get):j,fn.set=n.set||j),Object.defineProperty(e,t,fn)}function mn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),de.target&&t.depend(),t.value}}function xn(e){return function(){return e.call(this,this)}}function gn(e,t,n,r){return d(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var yn=0;function wn(e){var t=e.options;if(e.super){var n=wn(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var a in n)n[a]!==r[a]&&(t||(t={}),t[a]=n[a]);return t}(e);r&&E(e.extendOptions,r),(t=e.options=Ie(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function _n(e){this._init(e)}function kn(e){return e&&(e.Ctor.options.name||e.tag)}function Cn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===l.call(n)&&e.test(t));var n}function On(e,t){var n=e.cache,r=e.keys,a=e._vnode;for(var o in n){var i=n[o];if(i){var c=kn(i.componentOptions);c&&!t(c)&&Tn(n,o,r,a)}}}function Tn(e,t,n,r){var a=e[t];!a||r&&a.tag===r.tag||a.componentInstance.$destroy(),e[t]=null,x(n,t)}_n.prototype._init=function(e){var t=this;t._uid=yn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var a=r.componentOptions;n.propsData=a.propsData,n._parentListeners=a.listeners,n._renderChildren=a.children,n._componentTag=a.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Ie(wn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Jt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,a=n&&n.context;e.$slots=pt(t._renderChildren,a),e.$scopedSlots=r,e._c=function(t,n,r,a){return Ut(e,t,n,r,a,!1)},e.$createElement=function(t,n,r,a){return Ut(e,t,n,r,a,!0)};var o=n&&n.data;Te(e,"$attrs",o&&o.attrs||r,null,!0),Te(e,"$listeners",t._parentListeners||r,null,!0)}(t),en(t,"beforeCreate"),function(e){var t=dt(e.$options.inject,e);t&&(ke(!1),Object.keys(t).forEach(function(n){Te(e,n,t[n])}),ke(!0))}(t),function(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},a=e.$options._propKeys=[];e.$parent&&ke(!1);var o=function(o){a.push(o);var i=De(o,t,n,e);Te(r,o,i),o in e||vn(e,"_props",o)};for(var i in t)o(i);ke(!0)}(e,t.props),t.methods&&function(e,t){for(var n in e.$options.props,t)e[n]="function"!=typeof t[n]?j:A(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;d(t=e._data="function"==typeof t?function(e,t){ue();try{return e.call(t,t)}catch(e){return Fe(e,t,"data()"),{}}finally{fe()}}(t,e):t||{})||(t={});for(var n,r=Object.keys(t),a=e.$options.props,o=(e.$options.methods,r.length);o--;){var i=r[o];a&&y(a,i)||36!==(n=(i+"").charCodeAt(0))&&95!==n&&vn(e,"_data",i)}Oe(t,!0)}(e):Oe(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=re();for(var a in t){var o=t[a],i="function"==typeof o?o:o.get;r||(n[a]=new un(e,i||j,j,bn)),a in e||hn(e,a,o)}}(e,t.computed),t.watch&&t.watch!==ee&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var a=0;a1?$(t):t;for(var n=$(arguments,1),r='event handler for "'+e+'"',a=0,o=t.length;aparseInt(this.max)&&Tn(i,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return U}};Object.defineProperty(e,"config",t),e.util={warn:se,extend:E,mergeOptions:Ie,defineReactive:Te},e.set=Ae,e.delete=$e,e.nextTick=et,e.observable=function(e){return Oe(e),e},e.options=Object.create(null),R.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,E(e.options.components,$n),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=$(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Ie(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,a=e._Ctor||(e._Ctor={});if(a[r])return a[r];var o=e.name||n.options.name,i=function(e){this._init(e)};return(i.prototype=Object.create(n.prototype)).constructor=i,i.cid=t++,i.options=Ie(n.options,e),i.super=n,i.options.props&&function(e){var t=e.options.props;for(var n in t)vn(e.prototype,"_props",n)}(i),i.options.computed&&function(e){var t=e.options.computed;for(var n in t)hn(e.prototype,n,t[n])}(i),i.extend=n.extend,i.mixin=n.mixin,i.use=n.use,R.forEach(function(e){i[e]=n[e]}),o&&(i.options.components[o]=i),i.superOptions=n.options,i.extendOptions=e,i.sealedOptions=E({},i.options),a[r]=i,i}}(e),function(e){R.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&d(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(_n),Object.defineProperty(_n.prototype,"$isServer",{get:re}),Object.defineProperty(_n.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(_n,"FunctionalRenderContext",{value:jt}),_n.version="2.6.7";var En=b("style,class"),Sn=b("input,textarea,option,select,progress"),jn=function(e,t,n){return"value"===n&&Sn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Mn=b("contenteditable,draggable,spellcheck"),Nn=b("events,caret,typing,plaintext-only"),Ln=function(e,t){return zn(t)||"false"===t?"false":"contenteditable"===e&&Nn(t)?t:"true"},In=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Pn="http://www.w3.org/1999/xlink",Dn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Rn=function(e){return Dn(e)?e.slice(6,e.length):""},zn=function(e){return null==e||!1===e};function Un(e,t){return{staticClass:Fn(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function Fn(e,t){return e?t?e+" "+t:e:t||""}function Bn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,a=e.length;r-1?fr(e,t,n):In(t)?zn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Mn(t)?e.setAttribute(t,Ln(t,n)):Dn(t)?zn(n)?e.removeAttributeNS(Pn,Rn(t)):e.setAttributeNS(Pn,t,n):fr(e,t,n)}function fr(e,t,n){if(zn(n))e.removeAttribute(t);else{if(J&&!W&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var vr={create:pr,update:pr};function br(e,t){var n=t.elm,r=t.data,i=e.data;if(!(a(r.staticClass)&&a(r.class)&&(a(i)||a(i.staticClass)&&a(i.class)))){var c=function(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Un(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=Un(t,n.data));return function(e,t){return o(e)||o(t)?Fn(e,Bn(t)):""}(t.staticClass,t.class)}(t),s=n._transitionClasses;o(s)&&(c=Fn(c,Bn(s))),c!==n._prevClass&&(n.setAttribute("class",c),n._prevClass=c)}}var hr,mr,xr,gr,yr,wr,_r={create:br,update:br},kr=/[\w).+\-_$\]]/;function Cr(e){var t,n,r,a,o,i=!1,c=!1,s=!1,l=!1,d=0,p=0,u=0,f=0;for(r=0;r=0&&" "===(b=e.charAt(v));v--);b&&kr.test(b)||(l=!0)}}else void 0===a?(f=r+1,a=e.slice(0,r).trim()):h();function h(){(o||(o=[])).push(e.slice(f,r).trim()),f=r+1}if(void 0===a?a=e.slice(0,r).trim():0!==f&&h(),o)for(r=0;r-1?{exp:e.slice(0,gr),key:'"'+e.slice(gr+1)+'"'}:{exp:e,key:null};for(mr=e,gr=yr=wr=0;!Fr();)Br(xr=Ur())?Kr(xr):91===xr&&Hr(xr);return{exp:e.slice(0,yr),key:e.slice(yr+1,wr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Ur(){return mr.charCodeAt(++gr)}function Fr(){return gr>=hr}function Br(e){return 34===e||39===e}function Hr(e){var t=1;for(yr=gr;!Fr();)if(Br(e=Ur()))Kr(e);else if(91===e&&t++,93===e&&t--,0===t){wr=gr;break}}function Kr(e){for(var t=e;!Fr()&&(e=Ur())!==t;);}var Vr,Yr="__r",Xr="__c";function qr(e,t,n){var r=Vr;return function a(){null!==t.apply(null,arguments)&&Gr(e,a,n,r)}}var Jr=Ye&&!(Q&&Number(Q[1])<=53);function Wr(e,t,n,r){if(Jr){var a=sn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=a||0===e.timeStamp||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Vr.addEventListener(e,t,te?{capture:n,passive:r}:n)}function Gr(e,t,n,r){(r||Vr).removeEventListener(e,t._wrapper||t,n)}function Zr(e,t){if(!a(e.data.on)||!a(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Vr=t.elm,function(e){if(o(e[Yr])){var t=J?"change":"input";e[t]=[].concat(e[Yr],e[t]||[]),delete e[Yr]}o(e[Xr])&&(e.change=[].concat(e[Xr],e.change||[]),delete e[Xr])}(n),ot(n,r,Wr,Gr,qr,t.context),Vr=void 0}}var Qr,ea={create:Zr,update:Zr};function ta(e,t){if(!a(e.data.domProps)||!a(t.data.domProps)){var n,r,i=t.elm,c=e.data.domProps||{},s=t.data.domProps||{};for(n in o(s.__ob__)&&(s=t.data.domProps=E({},s)),c)a(s[n])&&(i[n]="");for(n in s){if(r=s[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===c[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var l=a(r)?"":String(r);na(i,l)&&(i.value=l)}else if("innerHTML"===n&&Vn(i.tagName)&&a(i.innerHTML)){(Qr=Qr||document.createElement("div")).innerHTML=""+r+"";for(var d=Qr.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;d.firstChild;)i.appendChild(d.firstChild)}else if(r!==c[n])try{i[n]=r}catch(e){}}}}function na(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(o(r)){if(r.number)return v(n)!==v(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var ra={create:ta,update:ta},aa=w(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function oa(e){var t=ia(e.style);return e.staticStyle?E(e.staticStyle,t):t}function ia(e){return Array.isArray(e)?S(e):"string"==typeof e?aa(e):e}var ca,sa=/^--/,la=/\s*!important$/,da=function(e,t,n){if(sa.test(t))e.style.setProperty(t,n);else if(la.test(n))e.style.setProperty(T(t),n.replace(la,""),"important");else{var r=ua(t);if(Array.isArray(n))for(var a=0,o=n.length;a-1?t.split(ba).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function ma(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(ba).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function xa(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&E(t,ga(e.name||"v")),E(t,e),t}return"string"==typeof e?ga(e):void 0}}var ga=w(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),ya=V&&!W,wa="transition",_a="animation",ka="transition",Ca="transitionend",Oa="animation",Ta="animationend";ya&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ka="WebkitTransition",Ca="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oa="WebkitAnimation",Ta="webkitAnimationEnd"));var Aa=V?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function $a(e){Aa(function(){Aa(e)})}function Ea(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),ha(e,t))}function Sa(e,t){e._transitionClasses&&x(e._transitionClasses,t),ma(e,t)}function ja(e,t,n){var r=Na(e,t),a=r.type,o=r.timeout,i=r.propCount;if(!a)return n();var c=a===wa?Ca:Ta,s=0,l=function(){e.removeEventListener(c,d),n()},d=function(t){t.target===e&&++s>=i&&l()};setTimeout(function(){s0&&(n=wa,d=i,p=o.length):t===_a?l>0&&(n=_a,d=l,p=s.length):p=(n=(d=Math.max(i,l))>0?i>l?wa:_a:null)?n===wa?o.length:s.length:0,{type:n,timeout:d,propCount:p,hasTransform:n===wa&&Ma.test(r[ka+"Property"])}}function La(e,t){for(;e.length1}function Ua(e,t){!0!==t.data.show&&Pa(t)}var Fa=function(e){var t,n,r={},s=e.modules,l=e.nodeOps;for(t=0;tv?g(e,a(n[m+1])?null:n[m+1].elm,n,f,m,r):f>m&&w(0,t,u,v)}(u,b,m,n,d):o(m)?(o(e.text)&&l.setTextContent(u,""),g(u,null,m,0,m.length-1,n)):o(b)?w(0,b,0,b.length-1):o(e.text)&&l.setTextContent(u,""):e.text!==t.text&&l.setTextContent(u,t.text),o(v)&&o(f=v.hook)&&o(f=f.postpatch)&&f(e,t)}}}function O(e,t,n){if(i(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,i.selected!==o&&(i.selected=o);else if(L(Ya(i),r))return void(e.selectedIndex!==c&&(e.selectedIndex=c));a||(e.selectedIndex=-1)}}function Va(e,t){return t.every(function(t){return!L(t,e)})}function Ya(e){return"_value"in e?e._value:e.value}function Xa(e){e.target.composing=!0}function qa(e){e.target.composing&&(e.target.composing=!1,Ja(e.target,"input"))}function Ja(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Wa(e){return!e.componentInstance||e.data&&e.data.transition?e:Wa(e.componentInstance._vnode)}var Ga={model:Ba,show:{bind:function(e,t,n){var r=t.value,a=(n=Wa(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&a?(n.data.show=!0,Pa(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Wa(n)).data&&n.data.transition?(n.data.show=!0,r?Pa(n,function(){e.style.display=e.__vOriginalDisplay}):Da(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,a){a||(e.style.display=e.__vOriginalDisplay)}}},Za={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Qa(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Qa(Vt(t.children)):e}function eo(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var a=n._parentListeners;for(var o in a)t[k(o)]=a[o];return t}function to(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var no=function(e){return e.tag||Kt(e)},ro=function(e){return"show"===e.name},ao={name:"transition",props:Za,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(no)).length){var r=this.mode,a=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return a;var o=Qa(a);if(!o)return a;if(this._leaving)return to(e,a);var i="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?i+"comment":i+o.tag:c(o.key)?0===String(o.key).indexOf(i)?o.key:i+o.key:o.key;var s=(o.data||(o.data={})).transition=eo(this),l=this._vnode,d=Qa(l);if(o.data.directives&&o.data.directives.some(ro)&&(o.data.show=!0),d&&d.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,d)&&!Kt(d)&&(!d.componentInstance||!d.componentInstance._vnode.isComment)){var p=d.data.transition=E({},s);if("out-in"===r)return this._leaving=!0,it(p,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),to(e,a);if("in-out"===r){if(Kt(o))return l;var u,f=function(){u()};it(s,"afterEnter",f),it(s,"enterCancelled",f),it(p,"delayLeave",function(e){u=e})}}return a}}},oo=E({tag:String,moveClass:String},Za);function io(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function co(e){e.data.newPos=e.elm.getBoundingClientRect()}function so(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,a=t.top-n.top;if(r||a){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+a+"px)",o.transitionDuration="0s"}}delete oo.mode;var lo={Transition:ao,TransitionGroup:{props:oo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var a=Gt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,a(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,a=this.$slots.default||[],o=this.children=[],i=eo(this),c=0;c-1?qn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:qn[e]=/HTMLUnknownElement/.test(t.toString())},E(_n.options.directives,Ga),E(_n.options.components,lo),_n.prototype.__patch__=V?Fa:j,_n.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=he),en(e,"beforeMount"),r=function(){e._update(e._render(),n)},new un(e,r,j,{before:function(){e._isMounted&&!e._isDestroyed&&en(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,en(e,"mounted")),e}(this,e=e&&V?Wn(e):void 0,t)},V&&setTimeout(function(){U.devtools&&ae&&ae.emit("init",_n)},0);var po,uo=/\{\{((?:.|\r?\n)+?)\}\}/g,fo=/[-.*+?^${}()|[\]\/\\]/g,vo=w(function(e){var t=e[0].replace(fo,"\\$&"),n=e[1].replace(fo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),bo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Ir(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Lr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},ho={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Ir(e,"style");n&&(e.staticStyle=JSON.stringify(aa(n)));var r=Lr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},mo=b("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),xo=b("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),go=b("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),yo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,wo=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_o="[a-zA-Z_][\\-\\.0-9_a-zA-Za-zA-Z·À-ÖØ-öø-ͽͿ-῿‌-‍‿-⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�]*",ko="((?:"+_o+"\\:)?"+_o+")",Co=new RegExp("^<"+ko),Oo=/^\s*(\/?)>/,To=new RegExp("^<\\/"+ko+"[^>]*>"),Ao=/^]+>/i,$o=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},No=/&(?:lt|gt|quot|amp|#39);/g,Lo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Io=b("pre,textarea",!0),Po=function(e,t){return e&&Io(e)&&"\n"===t[0]};function Do(e,t){var n=t?Lo:No;return e.replace(n,function(e){return Mo[e]})}var Ro,zo,Uo,Fo,Bo,Ho,Ko,Vo,Yo=/^@|^v-on:/,Xo=/^v-|^@|^:/,qo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Jo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Wo=/^\(|\)$/g,Go=/^\[.*\]$/,Zo=/:(.*)$/,Qo=/^:|^\.|^v-bind:/,ei=/\.[^.]+/g,ti=/^v-slot(:|$)|^#/,ni=/[\r\n]/,ri=/\s+/g,ai=w(function(e){return(po=po||document.createElement("div")).innerHTML=e,po.textContent}),oi="_empty_";function ii(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:ui(t),rawAttrsMap:{},parent:n,children:[]}}function ci(e,t){var n,r;(r=Lr(n=e,"key"))&&(n.key=r),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=Lr(e,"ref");t&&(e.ref=t,e.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?(t=Ir(e,"scope"),e.slotScope=t||Ir(e,"slot-scope")):(t=Ir(e,"slot-scope"))&&(e.slotScope=t);var n=Lr(e,"slot");if(n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||Er(e,"slot",n,function(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}(e,"slot"))),"template"===e.tag){var r=Pr(e,ti);if(r){var a=di(r),o=a.name,i=a.dynamic;e.slotTarget=o,e.slotTargetDynamic=i,e.slotScope=r.value||oi}}else{var c=Pr(e,ti);if(c){var s=e.scopedSlots||(e.scopedSlots={}),l=di(c),d=l.name,p=l.dynamic,u=s[d]=ii("template",[],e);u.slotTarget=d,u.slotTargetDynamic=p,u.children=e.children.filter(function(e){if(!e.slotScope)return e.parent=u,!0}),u.slotScope=c.value||oi,e.children=[],e.plain=!1}}}(e),function(e){"slot"===e.tag&&(e.slotName=Lr(e,"name"))}(e),function(e){var t;(t=Lr(e,"is"))&&(e.component=t),null!=Ir(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var a=0;a-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Nr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+i+");if(Array.isArray($$a)){var $$v="+(r?"_n("+a+")":a)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+zr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+zr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+zr(t,"$$c")+"}",null,!0)}(e,r,a);else if("input"===o&&"radio"===i)!function(e,t,n){var r=n&&n.number,a=Lr(e,"value")||"null";$r(e,"checked","_q("+t+","+(a=r?"_n("+a+")":a)+")"),Nr(e,"change",zr(t,a),null,!0)}(e,r,a);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,a=n||{},o=a.lazy,i=a.number,c=a.trim,s=!o&&"range"!==r,l=o?"change":"range"===r?Yr:"input",d="$event.target.value";c&&(d="$event.target.value.trim()"),i&&(d="_n("+d+")");var p=zr(t,d);s&&(p="if($event.target.composing)return;"+p),$r(e,"value","("+t+")"),Nr(e,l,p,null,!0),(c||i)&&Nr(e,"blur","$forceUpdate()")}(e,r,a);else if(!U.isReservedTag(o))return Rr(e,r,a),!1;return!0},text:function(e,t){t.value&&$r(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&$r(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:mo,mustUseProp:jn,canBeLeftOpenTag:xo,isReservedTag:Yn,getTagNamespace:Xn,staticKeys:xi.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")},yi=w(function(e){return b("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});var wi=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,_i=/\([^)]*?\);*$/,ki=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ci={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Oi={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Ti=function(e){return"if("+e+")return null;"},Ai={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Ti("$event.target !== $event.currentTarget"),ctrl:Ti("!$event.ctrlKey"),shift:Ti("!$event.shiftKey"),alt:Ti("!$event.altKey"),meta:Ti("!$event.metaKey"),left:Ti("'button' in $event && $event.button !== 0"),middle:Ti("'button' in $event && $event.button !== 1"),right:Ti("'button' in $event && $event.button !== 2")};function $i(e,t){var n=t?"nativeOn:":"on:",r="",a="";for(var o in e){var i=Ei(e[o]);e[o]&&e[o].dynamic?a+=o+","+i+",":r+='"'+o+'":'+i+","}return r="{"+r.slice(0,-1)+"}",a?n+"_d("+r+",["+a.slice(0,-1)+"])":n+r}function Ei(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Ei(e)}).join(",")+"]";var t=ki.test(e.value),n=wi.test(e.value),r=ki.test(e.value.replace(_i,""));if(e.modifiers){var a="",o="",i=[];for(var c in e.modifiers)if(Ai[c])o+=Ai[c],Ci[c]&&i.push(c);else if("exact"===c){var s=e.modifiers;o+=Ti(["ctrl","shift","alt","meta"].filter(function(e){return!s[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else i.push(c);return i.length&&(a+="if(!$event.type.indexOf('key')&&"+i.map(Si).join("&&")+")return null;"),o&&(a+=o),"function($event){"+a+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Si(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ci[e],r=Oi[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var ji={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:j},Mi=function(e){this.options=e,this.warn=e.warn||Tr,this.transforms=Ar(e.modules,"transformCode"),this.dataGenFns=Ar(e.modules,"genData"),this.directives=E(E({},ji),e.directives);var t=e.isReservedTag||M;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ni(e,t){var n=new Mi(t);return{render:"with(this){return "+(e?Li(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Li(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ii(e,t);if(e.once&&!e.onceProcessed)return Pi(e,t);if(e.for&&!e.forProcessed)return Ri(e,t);if(e.if&&!e.ifProcessed)return Di(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Bi(e,t),a="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?Vi((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:k(e.name),value:e.value,dynamic:e.dynamic}})):null,i=e.attrsMap["v-bind"];return!o&&!i||r||(a+=",null"),o&&(a+=","+o),i&&(a+=(o?"":",null")+","+i),a+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Bi(t,n,!0);return"_c("+e+","+zi(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=zi(e,t));var a=e.inlineTemplate?null:Bi(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(a?","+a:"")+")"}for(var o=0;o>>0}(i):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];if(n&&1===n.type){var r=Ni(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Vi(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ui(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ui))}function Fi(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Di(e,t,Fi,"null");if(e.for&&!e.forProcessed)return Ri(e,t,Fi);var r=e.slotScope===oi?"":String(e.slotScope),a="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Bi(e,t)||"undefined")+":undefined":Bi(e,t)||"undefined":Li(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+a+o+"}"}function Bi(e,t,n,r,a){var o=e.children;if(o.length){var i=o[0];if(1===o.length&&i.for&&"template"!==i.tag&&"slot"!==i.tag){var c=n?t.maybeComponent(i)?",1":",0":"";return""+(r||Li)(i,t)+c}var s=n?function(e,t){for(var n=0,r=0;r]*>)","i")),u=e.replace(p,function(e,n,r){return l=r.length,So(d)||"noscript"===d||(n=n.replace(//g,"$1").replace(//g,"$1")),Po(d,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});s+=e.length-u.length,e=u,T(d,s-l,s)}else{var f=e.indexOf("<");if(0===f){if($o.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),s,s+v+3),k(v+3);continue}}if(Eo.test(e)){var b=e.indexOf("]>");if(b>=0){k(b+2);continue}}var h=e.match(Ao);if(h){k(h[0].length);continue}var m=e.match(To);if(m){var x=s;k(m[0].length),T(m[1],x,s);continue}var g=C();if(g){O(g),Po(g.tagName,e)&&k(1);continue}}var y=void 0,w=void 0,_=void 0;if(f>=0){for(w=e.slice(f);!(To.test(w)||Co.test(w)||$o.test(w)||Eo.test(w)||(_=w.indexOf("<",1))<0);)f+=_,w=e.slice(f);y=e.substring(0,f)}f<0&&(y=e),y&&k(y.length),t.chars&&y&&t.chars(y,s-y.length,s)}if(e===n){t.chars&&t.chars(e);break}}function k(t){s+=t,e=e.substring(t)}function C(){var t=e.match(Co);if(t){var n,r,a={tagName:t[1],attrs:[],start:s};for(k(t[0].length);!(n=e.match(Oo))&&(r=e.match(wo)||e.match(yo));)r.start=s,k(r[0].length),r.end=s,a.attrs.push(r);if(n)return a.unarySlash=n[1],k(n[0].length),a.end=s,a}}function O(e){var n=e.tagName,s=e.unarySlash;o&&("p"===r&&go(n)&&T(r),c(n)&&r===n&&T(n));for(var l=i(n)||!!s,d=e.attrs.length,p=new Array(d),u=0;u=0&&a[i].lowerCasedTag!==c;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,o);a.length=i,r=i&&a[i-1].tag}else"br"===c?t.start&&t.start(e,[],!0,n,o):"p"===c&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}T()}(e,{warn:Ro,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,i,d){var p=r&&r.ns||Vo(e);J&&"svg"===p&&(o=function(e){for(var t=[],n=0;ns&&(c.push(o=e.slice(s,a)),i.push(JSON.stringify(o)));var l=Cr(r[1].trim());i.push("_s("+l+")"),c.push({"@binding":l}),s=a+r[0].length}return s':'
',Wi.innerHTML.indexOf(" ")>0}var ec=!!V&&Qi(!1),tc=!!V&&Qi(!0),nc=w(function(e){var t=Wn(e);return t&&t.innerHTML}),rc=_n.prototype.$mount;_n.prototype.$mount=function(e,t){if((e=e&&Wn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=nc(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var a=Zi(r,{outputSourceRange:!1,shouldDecodeNewlines:ec,shouldDecodeNewlinesForHref:tc,delimiters:n.delimiters,comments:n.comments},this),o=a.render,i=a.staticRenderFns;n.render=o,n.staticRenderFns=i}}return rc.call(this,e,t)},_n.compile=Zi,e.exports=_n}).call(this,n("yLpj"),n("URgk").setImmediate)},"KHd+":function(e,t,n){"use strict";function r(e,t,n,r,a,o,i,c){var s,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),i?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=s):a&&(s=c?function(){a.call(this,this.$root.$options.shadowRoot)}:a),s)if(l.functional){l._injectStyles=s;var d=l.render;l.render=function(e,t){return s.call(t),d(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,s):[s]}return{exports:e,options:l}}n.d(t,"a",function(){return r})},URgk:function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,a=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(a.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new o(a.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n("YBdB"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("yLpj"))},XuX8:function(e,t,n){e.exports=n("INkZ")},YBdB:function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,a,o,i,c,s=1,l={},d=!1,p=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(function(){v(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){v(e.data)},r=function(e){o.port2.postMessage(e)}):p&&"onreadystatechange"in p.createElement("script")?(a=p.documentElement,r=function(e){var t=p.createElement("script");t.onreadystatechange=function(){v(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):r=function(e){setTimeout(v,0,e)}:(i="setImmediate$"+Math.random()+"$",c=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&v(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",c,!1):e.attachEvent("onmessage",c),r=function(t){e.postMessage(i+t,"*")}),u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n=0&&d.splice(t,1)}function h(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function(){0;return n.nc}();r&&(e.attrs.nonce=r)}return m(t,e.attrs),v(e,t),t}function m(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function x(e,t){var n,r,a,o;if(t.transform&&e.css){if(!(o="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=o}if(t.singleton){var i=l++;n=s||(s=h(t)),r=w.bind(null,n,i,!1),a=w.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",m(t,e.attrs),v(e,t),t}(t),r=function(e,t,n){var r=n.css,a=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&a;(t.convertToAbsoluteUrls||o)&&(r=p(r));a&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var i=new Blob([r],{type:"text/css"}),c=e.href;e.href=URL.createObjectURL(i),c&&URL.revokeObjectURL(c)}.bind(null,n,t),a=function(){b(n),n.href&&URL.revokeObjectURL(n.href)}):(n=h(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),a=function(){b(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=f(e,t);return u(n,t),function(e){for(var r=[],a=0;a
',event.target.setAttribute("disabled",""),e.password!==e.passwordConfirmation)return a()("Whoops!","The password and password confirmation fields do not match, please confirm your password and try again.","error"),event.target.innerHTML="Register",void event.target.removeAttribute("disabled");axios.post("/register",{name:e.name,username:e.username,password:e.password,email:e.email,password_confirmation:e.passwordConfirmation}).then(function(e){window.location.href="/"}).catch(function(e){event.target.innerHTML="Register",event.target.removeAttribute("disabled"),console.log(e)})}}},i=(n("6b5V"),n("KHd+")),c=Object(i.a)(o,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("section",{staticClass:"container"},[n("div",{staticClass:"row py-5 mb-5"},[n("div",{staticClass:"col-12 col-md-6 d-none d-md-block"},[n("div",{staticClass:"m-4 text-right",staticStyle:{position:"absolute"}},[e.loading?e._e():n("div",{staticClass:"marvel-device note8",staticStyle:{position:"absolute",zoom:"0.66","z-index":"10"}},[n("div",{staticClass:"inner"}),e._v(" "),e._m(0),e._v(" "),n("div",{staticClass:"speaker"}),e._v(" "),n("div",{staticClass:"sensors"}),e._v(" "),n("div",{staticClass:"more-sensors"}),e._v(" "),n("div",{staticClass:"sleep"}),e._v(" "),n("div",{staticClass:"volume"}),e._v(" "),n("div",{staticClass:"camera"}),e._v(" "),e._m(1)]),e._v(" "),n("div",{staticClass:"marvel-device iphone-x",staticStyle:{position:"absolute",zoom:"0.66","z-index":"20",margin:"99px 0 0 151px"}},[e._m(2),e._v(" "),n("div",{staticClass:"top-bar"}),e._v(" "),n("div",{staticClass:"sleep"}),e._v(" "),n("div",{staticClass:"bottom-bar"}),e._v(" "),n("div",{staticClass:"volume"}),e._v(" "),e._m(3),e._v(" "),n("div",{staticClass:"inner-shadow"}),e._v(" "),n("div",{staticClass:"screen"},[n("div",{attrs:{id:"iosDevice"}},[e.loading?e._e():n("img",{staticClass:"img-fluid",attrs:{src:"/img/landing/ios_4.jpg"}}),e._v(" "),e.loading?e._e():n("img",{staticClass:"img-fluid",attrs:{src:"/img/landing/ios_3.jpg"}}),e._v(" "),e.loading?e._e():n("img",{staticClass:"img-fluid",attrs:{src:"/img/landing/ios_2.jpg"}}),e._v(" "),n("img",{staticClass:"img-fluid",attrs:{src:"/img/landing/ios_1.jpg"}})])])])])]),e._v(" "),n("div",{staticClass:"col-12 col-md-5 offset-md-1"},[n("div",[n("div",{staticClass:"card my-4"},[n("div",{staticClass:"card-body px-lg-5"},[e._m(4),e._v(" "),e._m(5),e._v(" "),1==e.loading?n("div",{staticClass:"text-center",staticStyle:{"min-height":"350px"}},[e._m(6)]):e._e(),e._v(" "),0==e.loading?n("div",[1==e.nodeinfo.openRegistrations?n("form",{staticClass:"px-1"},[n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.name,expression:"form.name"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Name",required:"",autofocus:""},domProps:{value:e.form.name},on:{input:function(t){t.target.composing||e.$set(e.form,"name",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.username,expression:"form.username"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Username",required:"",autocomplete:"off"},domProps:{value:e.form.username},on:{input:function(t){t.target.composing||e.$set(e.form,"username",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.email,expression:"form.email"}],staticClass:"form-control",attrs:{type:"text",placeholder:"E-Mail Address",requiredautocomplete:"off"},domProps:{value:e.form.email},on:{input:function(t){t.target.composing||e.$set(e.form,"email",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.password,expression:"form.password"}],staticClass:"form-control",attrs:{type:"password",placeholder:"Password",required:"",autocomplete:"off"},domProps:{value:e.form.password},on:{input:function(t){t.target.composing||e.$set(e.form,"password",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.form.passwordConfirmation,expression:"form.passwordConfirmation"}],staticClass:"form-control",attrs:{type:"password",placeholder:"Confirm Password",required:"",autocomplete:"off"},domProps:{value:e.form.passwordConfirmation},on:{input:function(t){t.target.composing||e.$set(e.form,"passwordConfirmation",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-primary btn-block py-0 font-weight-bold",attrs:{type:"button"},on:{click:e.register}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\tRegister\n\t\t\t\t\t\t\t\t\t\t\t")])])]),e._v(" "),e._m(7)]):n("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"350px"}},[e._m(8)])]):e._e()])]),e._v(" "),0==e.loading?n("div",{staticClass:"card card-body"},[e._m(9)]):e._e()])])])])])},[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"overflow"},[t("div",{staticClass:"shadow"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"screen"},[t("img",{staticClass:"img-fluid",attrs:{src:"/img/landing/android_1.jpg"}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"notch"},[t("div",{staticClass:"camera"}),this._v(" "),t("div",{staticClass:"speaker"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"overflow"},[t("div",{staticClass:"shadow shadow--tr"}),this._v(" "),t("div",{staticClass:"shadow shadow--tl"}),this._v(" "),t("div",{staticClass:"shadow shadow--br"}),this._v(" "),t("div",{staticClass:"shadow shadow--bl"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"text-center pt-3"},[t("img",{attrs:{src:"/img/pixelfed-icon-color.svg"}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"py-3 text-center"},[t("h3",{staticClass:"font-weight-bold"},[this._v("Pixelfed")]),this._v(" "),t("p",{staticClass:"mb-0 lead"},[this._v("Photo sharing for everyone")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("p",{staticClass:"mb-0 font-weight-bold text-lighter small"},[this._v("By signing up, you agree to our "),t("a",{staticClass:"text-muted",attrs:{href:"/site/terms"}},[this._v("Terms of Use")]),this._v(" and "),t("a",{staticClass:"text-muted",attrs:{href:"/site/privacy"}},[this._v("Privacy Policy")]),this._v(".")])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"text-center"},[t("p",{staticClass:"lead"},[this._v("Registrations are closed.")]),this._v(" "),t("p",{staticClass:"text-lighter small"},[this._v("You can find a list of other instances on "),t("a",{staticClass:"text-muted font-weight-bold",attrs:{href:"https://the-federation.info/pixelfed"}},[this._v("the-federation.info/pixelfed")]),this._v(" or "),t("a",{staticClass:"text-muted font-weight-bold",attrs:{href:"https://fediverse.network/pixelfed"}},[this._v("fediverse.network/pixelfed")])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("p",{staticClass:"text-center mb-0 font-weight-bold"},[this._v("Have an account? "),t("a",{attrs:{href:"/login"}},[this._v("Log in")])])}],!1,null,"3bcbf3c4",null);t.default=c.exports},sOJF:function(e,t,n){window.Vue=n("XuX8"),Vue.component("landing-page",n("jXDq").default),new Vue({el:"#content"})},yLpj:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n}}); \ No newline at end of file diff --git a/public/js/micro.js b/public/js/micro.js deleted file mode 100644 index f5f8376c..00000000 --- a/public/js/micro.js +++ /dev/null @@ -1 +0,0 @@ -!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=7)}({"+Lui":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("JOL4");function i(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));(0,r.assign)(this,t.defaults(),n,{type:e}),(0,r.defineProperties)(this,{type:(0,r.readonlyDescriptor)(),cancelable:(0,r.readonlyDescriptor)(),nativeEvent:(0,r.readonlyDescriptor)(),target:(0,r.readonlyDescriptor)(),relatedTarget:(0,r.readonlyDescriptor)(),vueTarget:(0,r.readonlyDescriptor)()});var i=!1;this.preventDefault=function(){this.cancelable&&(i=!0)},(0,r.defineProperty)(this,"defaultPrevented",{enumerable:!0,get:function(){return i}})}var e,n,o;return e=t,o=[{key:"defaults",value:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null}}}],(n=null)&&i(e.prototype,n),o&&i(e,o),t}();e.default=o},"+NCJ":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("iTQh"),i=n("Co2t"),o={BPaginationNav:r.default},a={install:function(t){(0,i.registerComponents)(t,o)}};e.default=a},"/Mx0":function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t){return t}},"/eCm":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var r=n("tC49"),i=n("nj7W"),o=n("Z4AP"),a=n("33Rj"),s=n("vhGO");function l(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;return"".concat(e).concat((0,o.default)(t))}),_=y.reduce(function(t,e){return t[b(e,"labelCols")]={type:[Number,String,Boolean],default:!e&&null},t},(0,c.create)(null)),w=y.reduce(function(t,e){return t[b(e,"labelAlign")]={type:String,default:null},t},(0,c.create)(null));function S(t,e){var n=e.$slots["invalid-feedback"]||e.invalidFeedback,r=t(!1);return n&&(r=t("b-form-invalid-feedback",{props:{id:e.invalidFeedbackId,state:e.computedState,tooltip:e.tooltip},attrs:{tabindex:n?"-1":null,role:"alert","aria-live":"assertive","aria-atomic":"true"}},[n])),r}function T(t,e){var n=e.$slots["valid-feedback"]||e.validFeedback,r=t(!1);return n&&(r=t("b-form-valid-feedback",{props:{id:e.validFeedbackId,state:e.computedState,tooltip:e.tooltip},attrs:{tabindex:"-1",role:"alert","aria-live":"assertive","aria-atomic":"true"}},[n])),r}function C(t,e){var n=e.$slots.description||e.description,r=t(!1);return n&&(r=t("b-form-text",{attrs:{id:e.descriptionId,tabindex:"-1"}},[n])),r}var x={name:"BFormGroup",components:{BFormRow:f.default,BCol:d.default,BFormInvalidFeedback:p.default,BFormValidFeedback:v.default,BFormText:h.default},mixins:[r.default,i.default],props:g({label:{type:String,default:null},labelFor:{type:String,default:null},labelSize:{type:String,default:null},labelSrOnly:{type:Boolean,default:!1},labelClass:{type:[String,Array,Object],default:null},description:{type:String,default:null},invalidFeedback:{type:String,default:null},validFeedback:{type:String,default:null},tooltip:{type:Boolean,default:!1},validated:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},_,w,{horizontal:{type:Boolean,default:!1},breakpoint:{type:String,default:null}}),computed:{labelColProps:function(){var t=this,e={};if(this.horizontal){(0,s.default)("b-form-group: Props 'horizontal' and 'breakpoint' are deprecated. Use 'label-cols(-{breakpoint})' props instead.");var n=this.breakpoint||"sm",r=parseInt(this.labelCols,10)||3;return e[n]=r>0?r:3,e}return y.forEach(function(n){var r=t[b(n,"labelCols")];("boolean"!=typeof(r=""===r||(r||!1))&&(r=(r=parseInt(r,10)||0)>0&&r),r)&&(e[n||("boolean"==typeof r?"col":"cols")]=r)}),e},labelAlignClasses:function(){var t=this,e=[];return y.forEach(function(n){var r=t[b(n,"labelAlign")]||null;if(r){var i=n?"text-".concat(n,"-").concat(r):"text-".concat(r);e.push(i)}}),e},isHorizontal:function(){return(0,c.keys)(this.labelColProps).length>0},labelId:function(){return this.$slots.label||this.label?this.safeId("_BV_label_"):null},descriptionId:function(){return this.$slots.description||this.description?this.safeId("_BV_description_"):null},hasInvalidFeedback:function(){var t=this.$slots;return!1===this.computedState&&(t["invalid-feedback"]||this.invalidFeedback)},invalidFeedbackId:function(){return this.hasInvalidFeedback?this.safeId("_BV_feedback_invalid_"):null},hasValidFeedback:function(){return!0===this.computedState&&(this.$slots["valid-feedback"]||this.validFeedback)},validFeedbackId:function(){return this.hasValidFeedback?this.safeId("_BV_feedback_valid_"):null},describedByIds:function(){return[this.descriptionId,this.invalidFeedbackId,this.validFeedbackId].filter(function(t){return t}).join(" ")||null}},watch:{describedByIds:function(t,e){t!==e&&this.setInputDescribedBy(t,e)}},mounted:function(){var t=this;this.$nextTick(function(){t.setInputDescribedBy(t.describedByIds)})},methods:{legendClick:function(t){if(!this.labelFor){var e=t.target?t.target.tagName:"";if(!/^(input|select|textarea|label|button|a)$/i.test(e)){var n=(0,l.selectAll)("input:not(:disabled),textarea:not(:disabled),select:not(:disabled)",this.$refs.content).filter(l.isVisible);n&&1===n.length&&n[0].focus&&n[0].focus()}}},setInputDescribedBy:function(t,e){if(this.labelFor&&"undefined"!=typeof document){var n=(0,l.select)("#".concat(this.labelFor),this.$refs.content);if(n){var r="aria-describedby",i=((0,l.getAttr)(n,r)||"").split(/\s+/);e=(e||"").split(/\s+/),(i=i.filter(function(t){return!(0,u.arrayIncludes)(e,t)}).concat(t||"").join(" ").trim())?(0,l.setAttr)(n,r,i):(0,l.removeAttr)(n,r)}}}},render:function(t){var e=!this.labelFor,n=this.isHorizontal,r=function(t,e){var n=e.$slots.label||e.label,r=e.labelFor,i=!r,o=e.isHorizontal,a=i?"legend":"label";if(n||o){if(e.labelSrOnly){var s=t(!1);return n&&(s=t(a,{class:"sr-only",attrs:{id:e.labelId,for:r||null}},[n])),t(o?"b-col":"div",{props:o?e.labelColProps:{}},[s])}return t(o?"b-col":a,{on:i?{click:e.legendClick}:{},props:o?g({tag:a},e.labelColProps):{},attrs:{id:e.labelId,for:r||null,tabindex:i?"-1":null},class:[o||i?"col-form-label":"",!o&&i?"pt-0":"",o||i?"":"d-block",e.labelSize?"col-form-label-".concat(e.labelSize):"",e.labelAlignClasses,e.labelClass]},[n])}return t(!1)}(t,this),i=t(n?"b-col":"div",{ref:"content",attrs:{tabindex:e?"-1":null,role:e?"group":null,"aria-labelledby":e?this.labelId:null,"aria-describedby":e?this.ariaDescribedBy:null}},[this.$slots.default||t(!1),S(t,this),T(t,this),C(t,this)]);return t(e?"fieldset":n?"b-form-row":"div",{staticClass:"form-group",class:[this.validated?"was-validated":null,this.stateClass],attrs:{id:this.safeId(),disabled:e?this.disabled:null,role:e?null:"group","aria-invalid":!1===this.computedState?"true":null,"aria-labelledby":this.labelId||null,"aria-describedby":this.describedByIds||null}},n&&e?[t("b-form-row",{},[r,i])]:[r,i])}};e.default=x},"1Kka":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("pZYj"),i=n("Co2t"),o={bToggle:r.default},a={install:function(t){(0,i.registerDirectives)(t,o)}};e.default=a},"1XqM":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("v5yc"),i=n("k+DF"),o=n("FhHd");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}function s(t,e){for(var n=0;n=n){var r=this.$targets[this.$targets.length-1];this.$activeTarget!==r&&this.activate(r)}else{if(this.$activeTarget&&t0)return this.$activeTarget=null,void this.clear();for(var i=this.$offsets.length;i--;){this.$activeTarget!==this.$targets[i]&&t>=this.$offsets[i]&&(void 0===this.$offsets[i+1]||t0&&this.$root&&this.$root.$emit("bv::scrollspy::activate",t,n)}},{key:"clear",value:function(){var t=this;(0,o.selectAll)("".concat(this.$selector,", ").concat(d.NAV_ITEMS),this.$el).filter(function(t){return(0,o.hasClass)(t,f)}).forEach(function(e){return t.setActiveState(e,!1)})}},{key:"setActiveState",value:function(t,e){t&&(e?(0,o.addClass)(t,f):(0,o.removeClass)(t,f))}}])&&s(e.prototype,n),y&&s(e,y),t}();e.default=y},"1nAq":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("V2Tl"),i=n("Co2t"),o={bPopover:r.default},a={install:function(t){(0,i.registerDirectives)(t,o)}};e.default=a},"1x2j":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("O6/D"),i=n("e2OV"),o=n("el6I"),a=n("Co2t"),s={BMedia:r.default,BMediaAside:i.default,BMediaBody:o.default},l={install:function(t){(0,a.registerComponents)(t,s)}};e.default=l},"22PT":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;e.default=function(t){return Array.apply(null,{length:t})}},"2EDz":function(t,e,n){"use strict";n.r(e);var r=n("n3sq"),i=n.n(r),o=n("4Wae"),a=n.n(o),s=n("kGIl"),l=n.n(s),u=n("hoI+");function c(t){return(c="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("HijD"),window.Vue=n("XuX8"),Vue.use(i.a),Vue.use(a.a),Vue.use(l.a),Vue.use(u.a),pixelfed.readmore=function(){$(".read-more").each(function(t,e){var n=$(this),r=n.attr("data-readmore");"undefined"!==c(r)&&!1!==r||n.readmore({collapsedHeight:44,heightMargin:20,moreLink:'Read more',lessLink:'Hide'})})};try{document.createEvent("TouchEvent"),$("body").addClass("touch")}catch(t){}Vue.component("micro",n("t3O/").default)},"2SVd":function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},"2qjF":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("Fq4B"),i=n("FhHd");function o(t){return(o="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,e){for(var n=0;n

'}),h="fade",p="show",v=".popover-header",g=".popover-body",m=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,l(e).apply(this,arguments))}var n,c,m;return 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&&u(t,e)}(e,r.default),n=e,m=[{key:"Default",get:function(){return d}},{key:"NAME",get:function(){return"popover"}}],(c=[{key:"isWithContent",value:function(t){if(!(t=t||this.$tip))return!1;var e=Boolean(((0,i.select)(v,t)||{}).innerHTML),n=Boolean(((0,i.select)(g,t)||{}).innerHTML);return e||n}},{key:"addAttachmentClass",value:function(t){(0,i.addClass)(this.getTipElement(),"".concat("bs-popover","-").concat(t))}},{key:"setContent",value:function(t){this.setElementContent((0,i.select)(v,t),this.getTitle()),this.setElementContent((0,i.select)(g,t),this.getContent()),(0,i.removeClass)(t,h),(0,i.removeClass)(t,p)}},{key:"cleanTipClass",value:function(){var t=this.getTipElement(),e=t.className.match(f);null!==e&&e.length>0&&e.forEach(function(e){(0,i.removeClass)(t,e)})}},{key:"getTitle",value:function(){var t=this.$config.title||"";return"function"==typeof t&&(t=t(this.$element)),"object"===o(t)&&t.nodeType&&!t.innerHTML.trim()&&(t=""),"string"==typeof t&&(t=t.trim()),t||(t=(t=(0,i.getAttr)(this.$element,"title")||(0,i.getAttr)(this.$element,"data-original-title")||"").trim()),t}},{key:"getContent",value:function(){var t=this.$config.content||"";return"function"==typeof t&&(t=t(this.$element)),"object"===o(t)&&t.nodeType&&!t.innerHTML.trim()&&(t=""),"string"==typeof t&&(t=t.trim()),t}}])&&a(n.prototype,c),m&&a(n,m),e}();e.default=m},"33Rj":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var r=n("tC49"),i={tag:{type:String,default:"div"}};e.props=i;var o={name:"BInputGroupText",functional:!0,props:i,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t(n.tag,(0,r.mergeData)(i,{staticClass:"input-group-text"}),o)}};e.default=o},"4QkM":function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){return t+(0,r.default)(e)};var r=n("VUAv")},"4Toj":function(t,e,n){var r=n("54Wo");t.exports=function(t,e){var n=r(t,e)/1e3;return n>0?Math.floor(n):Math.ceil(n)}},"4U64":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("vhGO"),i=n("6uA0"),o=n("wZDz"),a={name:"BDropdown",components:{BButton:n("tmQd").default},mixins:[i.default,o.default],props:{toggleText:{type:String,default:"Toggle Dropdown"},size:{type:String,default:null},variant:{type:String,default:null},menuClass:{type:[String,Array],default:null},toggleTag:{type:String,default:"button"},toggleClass:{type:[String,Array],default:null},noCaret:{type:Boolean,default:!1},split:{type:Boolean,default:!1},splitHref:{type:String},splitTo:{type:[String,Object]},splitVariant:{type:String,default:null},role:{type:String,default:"menu"},boundary:{type:[String,Object],default:"scrollParent"}},computed:{dropdownClasses:function(){var t="scrollParent"!==this.boundary||!this.boundary,e="";return this.dropup?e="dropup":this.dropright?e="dropright":this.dropleft&&(e="dropleft"),["btn-group","b-dropdown","dropdown",e,{show:this.visible,"position-static":t}]},menuClasses:function(){return["dropdown-menu",{"dropdown-menu-right":this.right,show:this.visible},this.menuClass]},toggleClasses:function(){return["dropdown-toggle",{"dropdown-toggle-split":this.split,"dropdown-toggle-no-caret":this.noCaret&&!this.split},this.toggleClass]}},render:function(t){var e=t(!1);if(this.split){var n={disabled:this.disabled,variant:this.splitVariant||this.variant,size:this.size};this.splitTo&&(n.to=this.splitTo),this.splitHref&&(n.href=this.splitHref),e=t("b-button",{ref:"button",props:n,attrs:{id:this.safeId("_BV_button_")},on:{click:this.click}},[this.$slots["button-content"]||this.$slots.text||this.html||(0,r.stripTags)(this.text)])}var i=t("b-button",{ref:"toggle",class:this.toggleClasses,props:{variant:this.variant,size:this.size,disabled:this.disabled,tag:this.toggleTag},attrs:{id:this.safeId("_BV_toggle_"),"aria-haspopup":"true","aria-expanded":this.visible?"true":"false"},on:{click:this.toggle,keydown:this.toggle}},[this.split?t("span",{class:["sr-only"]},[this.toggleText]):this.$slots["button-content"]||this.$slots.text||this.html||(0,r.stripTags)(this.text)]),o=t("div",{ref:"menu",class:this.menuClasses,attrs:{role:this.role,tabindex:"-1","aria-labelledby":this.safeId(this.split?"_BV_button_":"_BV_toggle_")},on:{mouseover:this.onMouseOver,keydown:this.onKeydown}},[this.$slots.default]);return t("div",{attrs:{id:this.safeId()},class:this.dropdownClasses},[e,i,o])}};e.default=a},"4Wae":function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=9)}([function(t,e,n){var r=n(6);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n(3).default)("09280948",r,!0,{})},function(t,e,n){var r=n(8);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n(3).default)("65938a1f",r,!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,r=t[1]||"",i=t[3];if(!i)return r;if(e&&"function"==typeof btoa){var o=(n=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"});return[r].concat(a).concat([o]).join("\n")}return[r].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;in.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i',"\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(r.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
\n ...\n \x3c!-- set force-use-infinite-wrapper --\x3e\n \n
\nor\n
\n ...\n \x3c!-- set force-use-infinite-wrapper as css selector of the real scroll wrapper --\x3e\n \n
\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"},u={mode:"development",props:{spinner:"default",distance:100,forceUseInfiniteWrapper:!1},system:r,slots:{noResults:"No results :(",noMore:"No more data :)",error:"Opps, something went wrong :(",errorBtnText:"Retry",spinner:""},WARNINGS:o,ERRORS:a,STATUS:s},c=n(4),f=n.n(c),d={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,r,i,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:t,options:u}}var p=h({name:"Spinner",computed:{spinnerView:function(){return d[(this.$attrs.spinner||"").toUpperCase()]||this.spinnerInConfig},spinnerInConfig:function(){return u.slots.spinner&&"string"==typeof u.slots.spinner?{render:function(){return this._v(u.slots.spinner)}}:"object"===f()(u.slots.spinner)?u.slots.spinner:d[u.props.spinner.toUpperCase()]||d.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);p.options.__file="Spinner.vue";var v=p.exports;function g(t){"production"!==u.mode&&console.warn("[Vue-infinite-loading warn]: ".concat(t))}var m={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()},u.system.throttleLimit)))},reset:function(){this.timers.forEach(function(t){clearTimeout(t)}),this.timers.length=0,this.caches=[]}},y={isChecked:!1,timer:null,times:0,track:function(){var t=this;this.times+=1,clearTimeout(this.timer),this.timer=setTimeout(function(){t.isChecked=!0},u.system.loopCheckTimeout),this.times>u.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 _(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:u.slots}},components:{Spinner:v},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(u.slots).forEach(function(n){var r=function(t){return t.replace(/[A-Z]/g,function(t){return"-".concat(t.toLowerCase())})}(n);(!t.$slots[r]&&!u.slots[n].render||t.$slots[r]&&!t.$slots[r][0].tag)&&(e[n]=l)}),e}},props:{distance:{type:Number,default:u.props.distance},spinner:String,direction:{type:String,default:"bottom"},forceUseInfiniteWrapper:{type:[Boolean,String],default:u.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(t){this.status===s.READY&&(t&&t.constructor===Event&&_(this.$el)?m.throttle(this.attemptLoad):this.attemptLoad())}.bind(this),setTimeout(this.scrollHandler,1),this.scrollParent.addEventListener("scroll",this.scrollHandler,i),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||g(o.STATE_CHANGER)}),this.$on("$InfiniteLoading:complete",function(e){t.status=s.COMPLETE,t.$nextTick(function(){t.$forceUpdate()}),t.scrollParent.removeEventListener("scroll",t.scrollHandler,i),e&&e.target===t||g(o.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,i),setTimeout(function(){m.reset(),t.scrollHandler()},1),e&&e.target===t||g(o.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,m.reset()}},this.onInfinite&&g(o.INFINITE_EVENT)},deactivated:function(){this.status===s.LOADING&&(this.status=s.READY),this.scrollParent.removeEventListener("scroll",this.scrollHandler,i)},activated:function(){this.scrollParent.addEventListener("scroll",this.scrollHandler,i)},methods:{attemptLoad:function(t){var e=this;this.status!==s.COMPLETE&&_(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||y.isChecked||y.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=e.querySelector(this.forceUseInfiniteWrapper)),t||("BODY"===e.tagName?t=window:!this.forceUseInfiniteWrapper&&["scroll","auto"].indexOf(getComputedStyle(e).overflowY)>-1?t=e:(e.hasAttribute("infinite-wrapper")||e.hasAttribute("data-infinite-wrapper"))&&(t=e)),t||this.getScrollParent(e.parentNode)}},destroyed:function(){!this.status!==s.COMPLETE&&(m.reset(),b.remove(this.scrollParent),this.scrollParent.removeEventListener("scroll",this.scrollHandler,i))}},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)},"358985eb",null);w.options.__file="InfiniteLoading.vue";var S=w.exports;function T(t){u.mode=t.config.productionTip?"development":"production"}Object.defineProperty(S,"install",{configurable:!1,enumerable:!1,value:function(t,e){Object.assign(u.props,e&&e.props),Object.assign(u.slots,e&&e.slots),Object.assign(u.system,e&&e.system),t.component("infinite-loading",S),T(t)}}),"undefined"!=typeof window&&window.Vue&&(window.Vue.component("infinite-loading",S),T(window.Vue)),e.default=S}])},"4ah+":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var r=n("tC49");function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o={tag:{type:String,default:"nav"},type:{type:String,default:"light"},variant:{type:String},toggleable:{type:[Boolean,String],default:!1},fixed:{type:String},sticky:{type:Boolean,default:!1},print:{type:Boolean,default:!1}};e.props=o;var a={name:"BNavbar",functional:!0,props:o,render:function(t,e){var n,o=e.props,a=e.data,s=e.children,l="";return o.toggleable&&"string"==typeof o.toggleable&&"xs"!==o.toggleable?l="navbar-expand-".concat(o.toggleable):!1===o.toggleable&&(l="navbar-expand"),t(o.tag,(0,r.mergeData)(a,{staticClass:"navbar",class:(n={"d-print":o.print,"sticky-top":o.sticky},i(n,"navbar-".concat(o.type),Boolean(o.type)),i(n,"bg-".concat(o.variant),Boolean(o.variant)),i(n,"fixed-".concat(o.fixed),Boolean(o.fixed)),i(n,"".concat(l),Boolean(l)),n),attrs:{role:"nav"===o.tag?null:"navigation"}}),s)}};e.default=a},"54Wo":function(t,e,n){var r=n("yNUO");t.exports=function(t,e){var n=r(t),i=r(e);return n.getTime()-i.getTime()}},"5MXG":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("7bze"),i=n("FhHd"),o={passive:!0,capture:!1},a={name:"BCollapse",mixins:[r.default],model:{prop:"visible",event:"input"},props:{id:{type:String,required:!0},isNav:{type:Boolean,default:!1},accordion:{type:String,default:null},visible:{type:Boolean,default:!1},tag:{type:String,default:"div"}},data:function(){return{show:this.visible,transitioning:!1}},computed:{classObject:function(){return{"navbar-collapse":this.isNav,collapse:!this.transitioning,show:this.show&&!this.transitioning}}},watch:{visible:function(t){t!==this.show&&(this.show=t)},show:function(t,e){t!==e&&this.emitState()}},created:function(){this.listenOnRoot("bv::toggle::collapse",this.handleToggleEvt),this.listenOnRoot("bv::collapse::accordion",this.handleAccordionEvt)},mounted:function(){this.isNav&&"undefined"!=typeof document&&((0,i.eventOn)(window,"resize",this.handleResize,o),(0,i.eventOn)(window,"orientationchange",this.handleResize,o),this.handleResize()),this.emitState()},updated:function(){this.$root.$emit("bv::collapse::state",this.id,this.show)},beforeDestroy:function(){this.isNav&&"undefined"!=typeof document&&((0,i.eventOff)(window,"resize",this.handleResize,o),(0,i.eventOff)(window,"orientationchange",this.handleResize,o))},methods:{toggle:function(){this.show=!this.show},onEnter:function(t){t.style.height=0,(0,i.reflow)(t),t.style.height=t.scrollHeight+"px",this.transitioning=!0,this.$emit("show")},onAfterEnter:function(t){t.style.height=null,this.transitioning=!1,this.$emit("shown")},onLeave:function(t){t.style.height="auto",t.style.display="block",t.style.height=(0,i.getBCR)(t).height+"px",(0,i.reflow)(t),this.transitioning=!0,t.style.height=0,this.$emit("hide")},onAfterLeave:function(t){t.style.height=null,this.transitioning=!1,this.$emit("hidden")},emitState:function(){this.$emit("input",this.show),this.$root.$emit("bv::collapse::state",this.id,this.show),this.accordion&&this.show&&this.$root.$emit("bv::collapse::accordion",this.id,this.accordion)},clickHandler:function(t){var e=t.target;this.isNav&&e&&"block"===(0,i.getCS)(this.$el).display&&((0,i.matches)(e,".nav-link,.dropdown-item")||(0,i.closest)(".nav-link,.dropdown-item",e))&&(this.show=!1)},handleToggleEvt:function(t){t===this.id&&this.toggle()},handleAccordionEvt:function(t,e){this.accordion&&e===this.accordion&&(t===this.id?this.show||this.toggle():this.show&&this.toggle())},handleResize:function(){this.show="block"===(0,i.getCS)(this.$el).display}},render:function(t){var e=t(this.tag,{class:this.classObject,directives:[{name:"show",value:this.show}],attrs:{id:this.id||null},on:{click:this.clickHandler}},[this.$slots.default]);return t("transition",{props:{enterClass:"",enterActiveClass:"collapsing",enterToClass:"",leaveClass:"",leaveActiveClass:"collapsing",leaveToClass:""},on:{enter:this.onEnter,afterEnter:this.onAfterEnter,leave:this.onLeave,afterLeave:this.onAfterLeave}},[e])}};e.default=a},"5ZkO":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var r=n("tC49"),i={tag:{type:String,default:"span"}};e.props=i;var o={name:"BNavText",functional:!0,props:i,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t(n.tag,(0,r.mergeData)(i,{staticClass:"navbar-text"}),o)}};e.default=o},"5oMp":function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},"5sk5":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var r=n("tC49"),i={tag:{type:String,default:"div"},deck:{type:Boolean,default:!1},columns:{type:Boolean,default:!1}};e.props=i;var o={name:"BCardGroup",functional:!0,props:i,render:function(t,e){var n=e.props,i=e.data,o=e.children,a="card-group";return n.deck?a="card-deck":n.columns&&(a="card-columns"),t(n.tag,(0,r.mergeData)(i,{class:a}),o)}};e.default=o},"69G/":function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var r=n("tC49"),i={id:{type:String,default:null},tag:{type:String,default:"div"},tooltip:{type:Boolean,default:!1},forceShow:{type:Boolean,default:!1},state:{type:[Boolean,String],default:null}};e.props=i;var o={name:"BFormInvalidFeedback",functional:!0,props:i,render:function(t,e){var n=e.props,i=e.data,o=e.children,a=!0===n.forceShow||!1===n.state||"invalid"===n.state;return t(n.tag,(0,r.mergeData)(i,{class:{"invalid-feedback":!n.tooltip,"invalid-tooltip":n.tooltip,"d-block":a},attrs:{id:n.id}}),o)}};e.default=o},"6DAA":function(t,e,n){var r=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"],i=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=["AM","PM"],s=["am","pm"],l=["a.m.","p.m."],u={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 i[t.getDay()]},dddd:function(t){return o[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){u[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:u,formattingTokensRegExp:r(u)}}},"6Tqn":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("Fq4B"),i=n("k+DF"),o={name:"BTooltip",mixins:[n("xUKg").default],props:{title:{type:String,default:""},triggers:{type:[String,Array],default:"hover focus"},placement:{type:String,default:"top"}},data:function(){return{}},methods:{createToolpop:function(){var t=this.getTarget();return t?this._toolpop=new r.default(t,this.getConfig(),this.$root):(this._toolpop=null,(0,i.default)("b-tooltip: 'target' element not found!")),this._toolpop}},render:function(t){return t("div",{class:["d-none"],style:{display:"none"},attrs:{"aria-hidden":!0}},[t("div",{ref:"title"},this.$slots.default)])}};e.default=o},"6uA0":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r={props:{id:{type:String,default:null}},data:function(){return{localId_:null}},computed:{safeId:function(){var t=this.id||this.localId_;return function(e){return t?(e=String(e||"").replace(/\s+/g,"_"))?t+"_"+e:t:null}}},mounted:function(){var t=this;this.$nextTick(function(){t.localId_="__BVID__".concat(t._uid)})}};e.default=r},7:function(t,e,n){t.exports=n("2EDz")},"7+OJ":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("vbH8"),i=n("Eau4"),o=n("Co2t"),a={BFormCheckbox:r.default,BCheckbox:r.default,BCheck:r.default,BFormCheckboxGroup:i.default,BCheckboxGroup:i.default,BCheckGroup:i.default},s={install:function(t){(0,o.registerComponents)(t,a)}};e.default=s},"7bze":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("uy80"),i="__BV_root_listeners__",o={beforeDestroy:function(){if(this[i]&&(0,r.isArray)(this[i]))for(;this[i].length>0;){var t=this[i].shift(),e=t.event,n=t.callback;this.$root.$off(e,n)}},methods:{listenOnRoot:function(t,e){return this[i]&&(0,r.isArray)(this[i])||(this[i]=[]),this[i].push({event:t,callback:e}),this.$root.$on(t,e),this},emitOnRoot:function(t){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i=0){i=1;break}var a=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},i))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function l(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function u(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=l(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:c(u(t))}var f=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?f:10===t?d:f||d}function p(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===l(n,"position")?p(n):n:t?t.ownerDocument.documentElement:document.documentElement}function v(t){return null!==t.parentNode?v(t.parentNode):t}function g(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a,s,l=o.commonAncestorContainer;if(t!==l&&e!==l||r.contains(i))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&p(a.firstElementChild)!==a?p(l):l;var u=v(t);return u.host?g(u.host,e):g(t,v(e).host)}function m(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var r=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[e]}return t[e]}function y(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function b(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],h(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function _(t){var e=t.body,n=t.documentElement,r=h(10)&&getComputedStyle(n);return{height:b("Height",e,n,r),width:b("Width",e,n,r)}}var w=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},S=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=h(10),i="HTML"===e.nodeName,o=k(t),a=k(e),s=c(t),u=l(e),f=parseFloat(u.borderTopWidth,10),d=parseFloat(u.borderLeftWidth,10);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var p=x({top:o.top-a.top-f,left:o.left-a.left-d,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!r&&i){var v=parseFloat(u.marginTop,10),g=parseFloat(u.marginLeft,10);p.top-=f-v,p.bottom-=f-v,p.left-=d-g,p.right-=d-g,p.marginTop=v,p.marginLeft=g}return(r&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(p=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=m(e,"top"),i=m(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}(p,e)),p}function O(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===l(e,"transform");)e=e.parentElement;return e||document.documentElement}function A(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?O(t):g(t,e);if("viewport"===r)o=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=E(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:m(n),s=e?0:m(n,"left");return x({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o})}(a,i);else{var s=void 0;"scrollParent"===r?"BODY"===(s=c(u(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===r?t.ownerDocument.documentElement:r;var f=E(s,a,i);if("HTML"!==s.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===l(e,"position"))return!0;var r=u(e);return!!r&&t(r)}(a))o=f;else{var d=_(t.ownerDocument),h=d.height,p=d.width;o.top+=f.top-f.marginTop,o.bottom=h+f.top,o.left+=f.left-f.marginLeft,o.right=p+f.left}}var v="number"==typeof(n=n||0);return o.left+=v?n:n.left||0,o.top+=v?n:n.top||0,o.right-=v?n:n.right||0,o.bottom-=v?n:n.bottom||0,o}function D(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=A(n,r,o,i),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map(function(t){return C({key:t},s[t],{area:(e=s[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,f=t.split("-")[1];return c+(f?"-"+f:"")}function I(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return E(n,r?O(e):g(e,n),r)}function $(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function B(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function N(t,e,n){n=n.split("-")[0];var r=$(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return i[a]=e[a]+e[l]/2-r[l]/2,i[s]=n===s?e[s]-r[u]:e[B(s)],i}function P(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function L(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=P(t,function(t){return t[e]===n});return t.indexOf(r)}(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&s(n)&&(e.offsets.popper=x(e.offsets.popper),e.offsets.reference=x(e.offsets.reference),e=n(e,t))}),e}function j(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function M(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=G.indexOf(t),r=G.slice(n+1).concat(G.slice(0,n));return e?r.reverse():r}var X={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Q(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(P(a,function(t){return-1!==t.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(u=u.map(function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return x(s)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,i,e,n)})})).forEach(function(t,e){t.forEach(function(n,r){V(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))})}),i}var Y={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",c={start:T({},l,o[l]),end:T({},l,o[l]+o[u]-a[u])};t.offsets.popper=C({},a,c[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],l=void 0;return l=V(+n)?[+n,0]:Q(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||p(t.instance.popper);t.instance.reference===n&&(n=p(n));var r=M("transform"),i=t.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var l=A(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=a,i[r]=s,e.boundaries=l;var u=e.priority,c=t.offsets.popper,f={primary:function(t){var n=c[t];return c[t]l[t]&&!e.escapeWithReference&&(r=Math.min(c[n],l[t]-("right"===t?c.width:c.height))),T({},n,r)}};return u.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=C({},c,f[e](t))}),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]o(r[s])&&(t.offsets.popper[l]=o(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!z(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,a=o.popper,s=o.reference,u=-1!==["left","right"].indexOf(i),c=u?"height":"width",f=u?"Top":"Left",d=f.toLowerCase(),h=u?"left":"top",p=u?"bottom":"right",v=$(r)[c];s[p]-va[p]&&(t.offsets.popper[d]+=s[d]+v-a[p]),t.offsets.popper=x(t.offsets.popper);var g=s[d]+s[c]/2-v/2,m=l(t.instance.popper),y=parseFloat(m["margin"+f],10),b=parseFloat(m["border"+f+"Width"],10),_=g-t.offsets.popper[d]-y-b;return _=Math.max(Math.min(a[c]-v,_),0),t.arrowElement=r,t.offsets.arrow=(T(n={},d,Math.round(_)),T(n,h,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(j(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=A(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=B(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case X.FLIP:a=[r,i];break;case X.CLOCKWISE:a=K(r);break;case X.COUNTERCLOCKWISE:a=K(r,!0);break;default:a=e.behavior}return a.forEach(function(s,l){if(r!==s||a.length===l+1)return t;r=t.placement.split("-")[0],i=B(r);var u=t.offsets.popper,c=t.offsets.reference,f=Math.floor,d="left"===r&&f(u.right)>f(c.left)||"right"===r&&f(u.left)f(c.top)||"bottom"===r&&f(u.top)f(n.right),v=f(u.top)f(n.bottom),m="left"===r&&h||"right"===r&&p||"top"===r&&v||"bottom"===r&&g,y=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(y&&"start"===o&&h||y&&"end"===o&&p||!y&&"start"===o&&v||!y&&"end"===o&&g);(d||m||b)&&(t.flipped=!0,(d||m)&&(r=a[l+1]),b&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=C({},t.offsets.popper,N(t.instance.popper,t.offsets.reference,t.placement)),t=L(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),t.placement=B(e),t.offsets.popper=x(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!z(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=P(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};w(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=a(this.update.bind(this)),this.options=C({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(C({},t.Defaults.modifiers,i.modifiers)).forEach(function(e){r.options.modifiers[e]=C({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return C({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&s(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return S(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=I(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=D(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=N(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=L(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,j(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[M("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=R(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return H.call(this)}}]),t}();J.Utils=("undefined"!=typeof window?window:t).PopperUtils,J.placements=q,J.Defaults=Y,e.default=J}.call(this,n("yLpj"))},"8oxB":function(t,e){var n,r,i=t.exports={};function o(){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===o||!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:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var l,u=[],c=!1,f=-1;function d(){c&&l&&(c=!1,l.length?u=l.concat(u):f=-1,u.length&&h())}function h(){if(!c){var t=s(d);c=!0;for(var e=u.length;e;){for(l=u,u=[];++f1)for(var n=1;n0&&this.onFileChange(t))},traverseFileTree:function(t,e){var n=this;return new Promise(function(r){e=e||"",t.isFile?t.file(function(t){t.$path=e,r(t)}):t.isDirectory&&t.createReader().readEntries(function(i){for(var o=[],a=0;a0&&(0,u.keys)(this.fields).forEach(function(n){var r=S(n,t.fields[n]);r&&e.push(r)}),0===e.length&&this.localItems.length>0){var n=this.localItems[0];(0,u.keys)(n).forEach(function(t){y[t]||e.push({key:t,label:(0,r.default)(t)})})}var i={};return e.filter(function(t){return!i[t.key]&&(i[t.key]=!0,t.label="string"==typeof t.label?t.label:(0,r.default)(t.key),!0)})},filteredCheck:function(){return{filteredItems:this.filteredItems,localItems:this.localItems,localFilter:this.localFilter}},localFilter:function(){return"function"==typeof this.filter?"":"function"==typeof this.filterFunction||"string"==typeof this.filter||this.filter instanceof RegExp?this.filter:""},localFilterFn:function(){var t=this.filter,e=this.filterFunction;return"function"==typeof e?e:"function"==typeof t?t:null},filteredItems:function(){var t=this.localItems||[],e=this.localFilter,n=this.filterFnFactory(this.localFilterFn,e)||this.defaultFilterFnFactory(e);return this.localFiltering&&n&&t.length>0&&(t=t.filter(n)),t},sortedItems:function(){var t=this.filteredItems||[],e=this.localSortBy,n=this.localSortDesc,r=this.sortCompare,o=this.localSorting;return e&&o?(0,a.default)(t,function(t,o){var a=null;return"function"==typeof r&&(a=r(t,o,e,n)),null!=a&&!1!==a||(a=function(t,e,n){return t=(0,i.default)(t,n,""),e=(0,i.default)(e,n,""),t instanceof Date&&e instanceof Date||"number"==typeof t&&"number"==typeof e?(te&&1)||0:_(t).localeCompare(_(e),void 0,{numeric:!0})}(t,o,e)),(a||0)*(n?-1:1)}):t},paginatedItems:function(){var t=this.sortedItems||[],e=Math.max(parseInt(this.currentPage,10)||1,1),n=Math.max(parseInt(this.perPage,10)||0,0);return this.localPaging&&n&&(t=t.slice((e-1)*n,e*n)),t},computedItems:function(){return this.paginatedItems||[]}},watch:{items:function(t){this.hasProvider||t instanceof Function?this.$nextTick(this._providerUpdate):(0,c.isArray)(t)?this.localItems=t.slice():this.localItems=[]},sortDesc:function(t,e){t!==this.localSortDesc&&(this.localSortDesc=t||!1)},sortBy:function(t,e){t!==this.localSortBy&&(this.localSortBy=t||null)},selectMode:function(t,e){e!==t&&this.clearSelected()},localSortDesc:function(t,e){t!==e&&(this.clearSelected(),this.$emit("update:sortDesc",t))},localSortBy:function(t,e){t!==e&&(this.clearSelected(),this.$emit("update:sortBy",t))},localBusy:function(t,e){t!==e&&this.$emit("update:busy",t)},computedItems:function(t,e){this.lastRowClicked=-1,this.$emit("input",t);var n=!1;if(this.selectable&&this.selectedRows.length>0){n=(0,c.isArray)(t)&&(0,c.isArray)(e)&&t.length===e.length;for(var r=0;n&&r=0&&t.shiftKey){for(var o=Math.min(this.lastRowClicked,n);o<=Math.max(this.lastRowClicked,n);o++)this.selectedRows[o]=!0;i=!0}else t.ctrlKey||t.metaKey||(this.selectedRows=[],i=!0),this.lastRowClicked=i?n:-1}this.$set(this.selectedRows,n,i);var a=[];this.selectedRows.forEach(function(t,e){t&&a.push(r.computedItems[e])}),this.$emit("row-selected",a)}this.$emit("row-clicked",e,n,t)}},middleMouseRowClicked:function(t,e,n){this.stopIfBusy(t)||this.$emit("row-middle-clicked",e,n,t)},rowDblClicked:function(t,e,n){this.stopIfBusy(t)||C(t)||this.$emit("row-dblclicked",e,n,t)},rowHovered:function(t,e,n){this.stopIfBusy(t)||this.$emit("row-hovered",e,n,t)},rowUnhovered:function(t,e,n){this.stopIfBusy(t)||this.$emit("row-unhovered",e,n,t)},rowContextmenu:function(t,e,n){this.stopIfBusy(t)||this.$emit("row-contextmenu",e,n,t)},headClicked:function(t,e){var n=this;if(!this.stopIfBusy(t)&&!C(t)){t.stopPropagation(),t.preventDefault();var r=!1,i=function(){var t=e.sortDirection||n.sortDirection;"asc"===t?n.localSortDesc=!1:"desc"===t&&(n.localSortDesc=!0)};e.sortable?(e.key===this.localSortBy?this.localSortDesc=!this.localSortDesc:(this.localSortBy=e.key,i()),r=!0):this.localSortBy&&!this.noSortReset&&(this.localSortBy=null,i(),r=!0),this.$emit("head-clicked",e.key,e,t),r&&this.$emit("sort-changed",this.context)}},stopIfBusy:function(t){return!!this.computedBusy&&(t.preventDefault(),t.stopPropagation(),!0)},refresh:function(){this.$off("refreshed",this.refresh),this.computedBusy?this.localBusy&&this.hasProvider&&this.$on("refreshed",this.refresh):(this.clearSelected(),this.hasProvider?this.$nextTick(this._providerUpdate):this.localItems=(0,c.isArray)(this.items)?this.items.slice():[])},_providerSetLocal:function(t){this.localItems=(0,c.isArray)(t)?t.slice():[],this.localBusy=!1,this.$emit("refreshed"),this.id&&this.emitOnRoot("bv::table::refreshed",this.id)},_providerUpdate:function(){this.hasProvider&&(this.computedBusy?this.$nextTick(this.refresh):(this.localBusy=!0,this.$nextTick(function(){var t=this;try{var e=this.items(this.context,this._providerSetLocal);e&&e.then&&"function"==typeof e.then?e.then(function(e){t._providerSetLocal(e)}):(0,c.isArray)(e)?this._providerSetLocal(e):2!==this.items.length&&((0,l.default)("b-table provider function didn't request calback and did not return a promise or data"),this.localBusy=!1)}catch(t){(0,l.default)("b-table provider function error [".concat(t.name,"] ").concat(t.message)),this.localBusy=!1,this.$off("refreshed",this.refresh)}})))}},render:function(t){var e=this,n=this.$slots,o=this.$scopedSlots,a=this.computedFields,l=this.computedItems,u=this.striped,c=this.$listeners["row-clicked"]||this.selectable,d=t(!1),h=null;if(this.caption||this.captionHtml||n["table-caption"]){var p={key:"caption",id:h=this.isStacked?this.safeId("_caption_"):null,class:this.captionClasses};n["table-caption"]||(p.domProps=(0,f.htmlOrText)(this.captionHtml,this.caption)),d=t("caption",p,n["table-caption"])}var m=n["table-colgroup"]?t("colgroup",{key:"colgroup"},n["table-colgroup"]):t(!1),y=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return a.map(function(i,a){var l="";i.label.trim()||i.headerTitle||(l=(0,r.default)(i.key)),l=[l,i.sortable?e.localSortDesc&&e.localSortBy===i.key?e.labelSortAsc:e.labelSortDesc:null].filter(function(t){return t}).join(": ")||null;var u=i.sortable&&e.localSortBy===i.key?e.localSortDesc?"descending":"ascending":i.sortable?"none":null,c={key:i.key,class:e.fieldClasses(i),style:i.thStyle||{},attrs:{tabindex:i.sortable?"0":null,abbr:i.headerAbbr||null,title:i.headerTitle||null,scope:n?null:"col","aria-colindex":String(a+1),"aria-label":l,"aria-sort":u},on:{click:function(t){e.headClicked(t,i)},keydown:function(t){var n=t.keyCode;n!==s.default.ENTER&&n!==s.default.SPACE||e.headClicked(t,i)}}},d=n&&o["FOOT_".concat(i.key)]?o["FOOT_".concat(i.key)]:o["HEAD_".concat(i.key)];return d?d=[d({label:i.label,column:i.key,field:i})]:c.domProps=(0,f.htmlOrText)(i.labelHtml,i.label),t("th",c,d)})},b=t(!1);!0!==this.isStacked&&(b=t("thead",{key:"thead",class:this.headClasses},[t("tr",{class:this.theadTrClass},y(!1))]));var S=t(!1);this.footClone&&!0!==this.isStacked&&(S=t("tfoot",{key:"tfoot",class:this.footClasses},[t("tr",{class:this.tfootTrClass},y(!0))]));var T=[];if(o["top-row"]&&!0!==this.isStacked?T.push(t("tr",{key:"top-row",staticClass:"b-table-top-row",class:["function"==typeof this.tbodyTrClass?this.tbodyTrClass(null,"row-top"):this.tbodyTrClass]},[o["top-row"]({columns:a.length,fields:a})])):T.push(t(!1)),n["table-busy"]&&this.computedBusy){var C={role:this.isStacked?"row":null},x={colspan:String(a.length),role:this.isStacked?"cell":null};T.push(t("tr",{key:"table-busy-slot",staticClass:"b-table-busy-slot",class:["function"==typeof this.tbodyTrClass?this.tbodyTrClass(null,"table-busy"):this.tbodyTrClass],attrs:C},[t("td",{attrs:x},[n["table-busy"]])]))}else l.forEach(function(n,r){var l=o["row-details"],f=Boolean(n._showDetails&&l),d=e.selectedRows[r],h=f?e.safeId("_details_".concat(r,"_")):null,p=function(){l&&e.$set(n,"_showDetails",!n._showDetails)},v=a.map(function(a,s){var l,u=e.getFormattedValue(n,a),c={key:"row-".concat(r,"-cell-").concat(s,"-").concat(a.key),class:e.tdClasses(a,n),attrs:e.tdAttrs(a,n,s),domProps:{}};return o[a.key]?(l=[o[a.key]({item:n,index:r,field:a,unformatted:(0,i.default)(n,a.key,""),value:u,toggleDetails:p,detailsShowing:Boolean(n._showDetails),rowSelected:Boolean(d)})],e.isStacked&&(l=[t("div",{},[l])])):l=e.isStacked?[t("div",u)]:u,t(a.isRowHeader?"th":"td",c,l)}),m=null;e.currentPage&&e.perPage&&e.perPage>0&&(m=String((e.currentPage-1)*e.perPage+r+1));var y=e.primaryKey&&void 0!==n[e.primaryKey]?_(n[e.primaryKey]):"".concat(r,"__").concat(w(n));if(T.push(t("tr",{key:"__b-table-row-".concat(y,"__"),class:[e.rowClasses(n),g({"b-table-has-details":f,"b-row-selected":d},"".concat(e.dark?"bg":"table","-").concat(e.selectedVariant),d&&e.selectedVariant)],attrs:{tabindex:c?"0":null,"aria-describedby":h,"aria-owns":h,"aria-rowindex":m,"aria-selected":e.selectable?d?"true":"false":null,role:e.isStacked?"row":null},on:{auxclick:function(t){2===t.which&&e.middleMouseRowClicked(t,n,r)},click:function(t){e.rowClicked(t,n,r)},keydown:function(t){var i=t.keyCode;i!==s.default.ENTER&&i!==s.default.SPACE||t.target&&"TR"===t.target.tagName&&t.target===document.activeElement&&e.rowClicked(t,n,r)},contextmenu:function(t){e.rowContextmenu(t,n,r)},dblclick:function(t){e.rowDblClicked(t,n,r)},mouseenter:function(t){e.rowHovered(t,n,r)},mouseleave:function(t){e.rowUnhovered(t,n,r)}}},v)),f){var b={colspan:String(a.length)},S={id:h};e.isStacked&&(b.role="cell",S.role="row");var C=t("td",{attrs:b},[l({item:n,index:r,fields:a,toggleDetails:p})]);u&&T.push(t("tr",{key:"__b-table-details-".concat(r,"-stripe__"),staticClass:"d-none",attrs:{"aria-hidden":"true"}})),T.push(t("tr",{key:"__b-table-details-".concat(r,"__"),staticClass:"b-table-details",class:["function"==typeof e.tbodyTrClass?e.tbodyTrClass(n,"row-details"):e.tbodyTrClass],attrs:S},[C]))}else l&&(T.push(t(!1)),u&&T.push(t(!1)))});if(!this.showEmpty||l&&0!==l.length||n["table-busy"]&&this.computedBusy)T.push(t(!1));else{var k=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=o[t]||n[t];return"function"==typeof r?r(e):r}(this.isFiltered?"emptyfiltered":"empty",{emptyFilteredHtml:this.emptyFilteredHtml,emptyFilteredText:this.emptyFilteredText,emptyHtml:this.emptyHtml,emptyText:this.emptyText,fields:a,items:l});k||(k=t("div",{class:["text-center","my-2"],domProps:this.isFiltered?(0,f.htmlOrText)(this.emptyFilteredHtml,this.emptyFilteredText):(0,f.htmlOrText)(this.emptyHtml,this.emptyText)})),k=t("td",{attrs:{colspan:String(a.length),role:this.isStacked?"cell":null}},[t("div",{attrs:{role:"alert","aria-live":"polite"}},[k])]),T.push(t("tr",{key:"__b-table-empty-row__",staticClass:"b-table-empty-row",class:["function"==typeof this.tbodyTrClass?this.tbodyTrClass(null,"row-empty"):this.tbodyTrClass],attrs:this.isStacked?{role:"row"}:{}},[k]))}o["bottom-row"]&&!0!==this.isStacked?T.push(t("tr",{key:"__b-table-bottom-row__",staticClass:"b-table-bottom-row",class:["function"==typeof this.tbodyTrClass?this.tbodyTrClass(null,"row-bottom"):this.tbodyTrClass]},[o["bottom-row"]({columns:a.length,fields:a})])):T.push(t(!1));var E=this.tbodyTransitionProps||this.tbodyTransitionHandlers,O={},A={};E&&(A=this.tbodyTransitionHandlers||{},O=v({},this.tbodyTransitionProps||{},{tag:"tbody"}));var D=t(E?"transition-group":"tbody",{props:O,on:A,class:this.bodyClasses,attrs:this.isStacked?{role:"rowgroup"}:{}},T),I=t("table",{key:"b-table",staticClass:"table b-table",class:this.tableClasses,attrs:v({"aria-rowcount":this.filteredItems.length>l.length?String(this.filteredItems.length):null},this.$attrs,{id:this.safeId(),role:this.isStacked?"table":null,"aria-multiselectable":this.selectable?"single"===this.selectMode?"false":"true":null,"aria-busy":this.computedBusy?"true":"false","aria-colcount":String(a.length),"aria-describedby":[(this.$attrs||{})["aria-describedby"],h].filter(function(t){return t}).join(" ")||null})},[d,m,b,S,D]);return this.isResponsive?t("div",{key:"b-table-responsive",class:this.responsiveClass},[I]):I}};e.default=x},BEtg:function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},BXvd:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("Wl7S"),i=n("WsjD"),o=n("Co2t"),a={BListGroup:r.default,BListGroupItem:i.default},s={install:function(t){(0,o.registerComponents)(t,a)}};e.default=s},BZbT:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var r=n("tC49"),i={id:{type:String,default:null},inline:{type:Boolean,default:!1},novalidate:{type:Boolean,default:!1},validated:{type:Boolean,default:!1}};e.props=i;var o={name:"BForm",functional:!0,props:i,render:function(t,e){var n=e.props,i=e.data,o=e.children;return t("form",(0,r.mergeData)(i,{class:{"form-inline":n.inline,"was-validated":n.validated},attrs:{id:n.id,novalidate:n.novalidate}}),o)}};e.default=o},BuT0:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;e.default={SPACE:32,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,PAGEUP:33,PAGEDOWN:34,HOME:36,END:35,TAB:9,SHIFT:16,CTRL:17,BACKSPACE:8,ALT:18,PAUSE:19,BREAK:19,INSERT:45,INS:45,DELETE:46}},ByuA:function(t,e,n){"use strict";var r=n("dn/x");n.n(r).a},CGZs:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("tmQd"),i=n("YAsO"),o=n("Co2t"),a={BButton:r.default,BBtn:r.default,BButtonClose:i.default,BBtnClose:i.default},s={install:function(t){(0,o.registerComponents)(t,a)}};e.default=s},CQNj:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.props=void 0;var r=n("tC49");var i={id:{type:String,default:null},tag:{type:String,default:"small"},textVariant:{type:String,default:"muted"},inline:{type:Boolean,default:!1}};e.props=i;var o={name:"BFormText",functional:!0,props:i,render:function(t,e){var n,i,o,a=e.props,s=e.data,l=e.children;return t(a.tag,(0,r.mergeData)(s,{class:(n={"form-text":!a.inline},i="text-".concat(a.textVariant),o=Boolean(a.textVariant),i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,n),attrs:{id:a.id}}),l)}};e.default=o},CgaS:function(t,e,n){"use strict";var r=n("JEQr"),i=n("xTJ+"),o=n("9rSQ"),a=n("UnBK");function s(t){this.defaults=t,this.interceptors={request:new o,response:new o}}s.prototype.request=function(t){"string"==typeof t&&(t=i.merge({url:arguments[0]},arguments[1])),(t=i.merge(r,{method:"get"},this.defaults,t)).method=t.method.toLowerCase();var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},i.forEach(["delete","get","head","options"],function(t){s.prototype[t]=function(e,n){return this.request(i.merge(n||{},{method:t,url:e}))}}),i.forEach(["post","put","patch"],function(t){s.prototype[t]=function(e,n,r){return this.request(i.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=s},Co2t:function(t,e,n){"use strict";function r(t,e,n){t._bootstrap_vue_components_=t._bootstrap_vue_components_||{};var r=t._bootstrap_vue_components_[e];return!r&&n&&e&&(t._bootstrap_vue_components_[e]=!0,t.component(e,n)),r}function i(t,e,n){t._bootstrap_vue_directives_=t._bootstrap_vue_directives_||{};var r=t._bootstrap_vue_directives_[e];return!r&&n&&e&&(t._bootstrap_vue_directives_[e]=!0,t.directive(e,n)),r}e.__esModule=!0,e.registerComponent=r,e.registerComponents=function(t,e){for(var n in e)r(t,n,e[n])},e.registerDirective=i,e.registerDirectives=function(t,e){for(var n in e)i(t,n,e[n])},e.vueUse=function(t){"undefined"!=typeof window&&window.Vue&&window.Vue.use(t)}},DEDl:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("6uA0"),i=n("Xwe6"),o=n("bhsD"),a=n("QftK"),s=n("wBzU"),l=n("EPw4"),u=n("uWUd"),c=n("FhHd");function f(t){for(var e=1;ei?1:0}},DfZB:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},EBjv:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n("QLus"),i=n("ohI8"),o=n("Co2t"),a={BTabs:r.default,BTab:i.default},s={install:function(t){(0,o.registerComponents)(t,a)}};e.default=s},EPw4:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;e.default={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)}}}},EVdn:function(t,e,n){var r;!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],a=n.document,s=Object.getPrototypeOf,l=o.slice,u=o.concat,c=o.push,f=o.indexOf,d={},h=d.toString,p=d.hasOwnProperty,v=p.toString,g=v.call(Object),m={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},b=function(t){return null!=t&&t===t.window},_={type:!0,src:!0,noModule:!0};function w(t,e,n){var r,i=(e=e||a).createElement("script");if(i.text=t,n)for(r in _)n[r]&&(i[r]=n[r]);e.head.appendChild(i).parentNode.removeChild(i)}function S(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?d[h.call(t)]||"object":typeof t}var T=function(t,e){return new T.fn.init(t,e)},C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function x(t){var e=!!t&&"length"in t&&t.length,n=S(t);return!y(t)&&!b(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}T.fn=T.prototype={jquery:"3.3.1",constructor:T,length:0,toArray:function(){return l.call(this)},get:function(t){return null==t?l.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=T.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return T.each(this,t)},map:function(t){return this.pushStack(T.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),z=new RegExp(F),q=new RegExp("^"+j+"$"),G={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),tt=function(t,e,n){var r="0x"+e-65536;return r!=r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},et=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,nt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){d()},it=yt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{$.apply(A=B.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(t){$={apply:A.length?function(t,e){I.apply(t,B.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function ot(t,e,r,i){var o,s,u,c,f,p,m,y=e&&e.ownerDocument,S=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==S&&9!==S&&11!==S)return r;if(!i&&((e?e.ownerDocument||e:w)!==h&&d(e),e=e||h,v)){if(11!==S&&(f=Y.exec(t)))if(o=f[1]){if(9===S){if(!(u=e.getElementById(o)))return r;if(u.id===o)return r.push(u),r}else if(y&&(u=y.getElementById(o))&&b(e,u)&&u.id===o)return r.push(u),r}else{if(f[2])return $.apply(r,e.getElementsByTagName(t)),r;if((o=f[3])&&n.getElementsByClassName&&e.getElementsByClassName)return $.apply(r,e.getElementsByClassName(o)),r}if(n.qsa&&!k[t+" "]&&(!g||!g.test(t))){if(1!==S)y=e,m=t;else if("object"!==e.nodeName.toLowerCase()){for((c=e.getAttribute("id"))?c=c.replace(et,nt):e.setAttribute("id",c=_),s=(p=a(t)).length;s--;)p[s]="#"+c+" "+mt(p[s]);m=p.join(","),y=J.test(t)&&vt(e.parentNode)||e}if(m)try{return $.apply(r,y.querySelectorAll(m)),r}catch(t){}finally{c===_&&e.removeAttribute("id")}}}return l(t.replace(H,"$1"),e,r,i)}function at(){var t=[];return function e(n,i){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function st(t){return t[_]=!0,t}function lt(t){var e=h.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ut(t,e){for(var n=t.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=e}function ct(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ft(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function dt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function ht(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&it(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function pt(t){return st(function(e){return e=+e,st(function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=ot.support={},o=ot.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},d=ot.setDocument=function(t){var e,i,a=t?t.ownerDocument||t:w;return a!==h&&9===a.nodeType&&a.documentElement?(p=(h=a).documentElement,v=!o(h),w!==h&&(i=h.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",rt,!1):i.attachEvent&&i.attachEvent("onunload",rt)),n.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=lt(function(t){return t.appendChild(h.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(h.getElementsByClassName),n.getById=lt(function(t){return p.appendChild(t).id=_,!h.getElementsByName||!h.getElementsByName(_).length}),n.getById?(r.filter.ID=function(t){var e=t.replace(Z,tt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(Z,tt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&v)return e.getElementsByClassName(t)},m=[],g=[],(n.qsa=Q.test(h.querySelectorAll))&&(lt(function(t){p.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+L+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+L+"*(?:value|"+P+")"),t.querySelectorAll("[id~="+_+"-]").length||g.push("~="),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+_+"+*").length||g.push(".#.+[+~]")}),lt(function(t){t.innerHTML="";var e=h.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+L+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=Q.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&<(function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),m.push("!=",F)}),g=g.length&&new RegExp(g.join("|")),m=m.length&&new RegExp(m.join("|")),e=Q.test(p.compareDocumentPosition),b=e||Q.test(p.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},E=e?function(t,e){if(t===e)return f=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t===h||t.ownerDocument===w&&b(w,t)?-1:e===h||e.ownerDocument===w&&b(w,e)?1:c?N(c,t)-N(c,e):0:4&r?-1:1)}:function(t,e){if(t===e)return f=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!i||!o)return t===h?-1:e===h?1:i?-1:o?1:c?N(c,t)-N(c,e):0;if(i===o)return ct(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ct(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},h):h},ot.matches=function(t,e){return ot(t,null,null,e)},ot.matchesSelector=function(t,e){if((t.ownerDocument||t)!==h&&d(t),e=e.replace(U,"='$1']"),n.matchesSelector&&v&&!k[e+" "]&&(!m||!m.test(e))&&(!g||!g.test(e)))try{var r=y.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){}return ot(e,h,null,[t]).length>0},ot.contains=function(t,e){return(t.ownerDocument||t)!==h&&d(t),b(t,e)},ot.attr=function(t,e){(t.ownerDocument||t)!==h&&d(t);var i=r.attrHandle[e.toLowerCase()],o=i&&O.call(r.attrHandle,e.toLowerCase())?i(t,e,!v):void 0;return void 0!==o?o:n.attributes||!v?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},ot.escape=function(t){return(t+"").replace(et,nt)},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var e,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&t.slice(0),t.sort(E),f){for(;e=t[o++];)e===t[o]&&(i=r.push(o));for(;i--;)t.splice(r[i],1)}return c=null,t},i=ot.getText=function(t){var e,n="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=i(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[r++];)n+=i(e);return n},(r=ot.selectors={cacheLength:50,createPseudo:st,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Z,tt),t[3]=(t[3]||t[4]||t[5]||"").replace(Z,tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&z.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Z,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=C[t+" "];return e||(e=new RegExp("(^|"+L+")"+t+"("+L+"|$)"))&&C(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(r){var i=ot.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(R," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,l){var u,c,f,d,h,p,v=o!==a?"nextSibling":"previousSibling",g=e.parentNode,m=s&&e.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(g){if(o){for(;v;){for(d=e;d=d[v];)if(s?d.nodeName.toLowerCase()===m:1===d.nodeType)return!1;p=v="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&y){for(b=(h=(u=(c=(f=(d=g)[_]||(d[_]={}))[d.uniqueID]||(f[d.uniqueID]={}))[t]||[])[0]===S&&u[1])&&u[2],d=h&&g.childNodes[h];d=++h&&d&&d[v]||(b=h=0)||p.pop();)if(1===d.nodeType&&++b&&d===e){c[t]=[S,h,b];break}}else if(y&&(b=h=(u=(c=(f=(d=e)[_]||(d[_]={}))[d.uniqueID]||(f[d.uniqueID]={}))[t]||[])[0]===S&&u[1]),!1===b)for(;(d=++h&&d&&d[v]||(b=h=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==m:1!==d.nodeType)||!++b||(y&&((c=(f=d[_]||(d[_]={}))[d.uniqueID]||(f[d.uniqueID]={}))[t]=[S,b]),d!==e)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(t,e){var n,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return i[_]?i(e):i.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?st(function(t,n){for(var r,o=i(t,e),a=o.length;a--;)t[r=N(t,o[a])]=!(n[r]=o[a])}):function(t){return i(t,0,n)}):i}},pseudos:{not:st(function(t){var e=[],n=[],r=s(t.replace(H,"$1"));return r[_]?st(function(t,e,n,i){for(var o,a=r(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:st(function(t){return function(e){return ot(t,e).length>0}}),contains:st(function(t){return t=t.replace(Z,tt),function(e){return(e.textContent||e.innerText||i(e)).indexOf(t)>-1}}),lang:st(function(t){return q.test(t||"")||ot.error("unsupported lang: "+t),t=t.replace(Z,tt).toLowerCase(),function(e){var n;do{if(n=v?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:ht(!1),disabled:ht(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return X.test(t.nodeName)},input:function(t){return K.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:pt(function(){return[0]}),last:pt(function(t,e){return[e-1]}),eq:pt(function(t,e,n){return[n<0?n+e:n]}),even:pt(function(t,e){for(var n=0;n=0;)t.push(r);return t}),gt:pt(function(t,e,n){for(var r=n<0?n+e:n;++r1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function _t(t,e,n,r,i){for(var o,a=[],s=0,l=t.length,u=null!=e;s-1&&(o[u]=!(a[u]=f))}}else m=_t(m===a?m.splice(p,m.length):m),i?i(null,a,m,l):$.apply(a,m)})}function St(t){for(var e,n,i,o=t.length,a=r.relative[t[0].type],s=a||r.relative[" "],l=a?1:0,c=yt(function(t){return t===e},s,!0),f=yt(function(t){return N(e,t)>-1},s,!0),d=[function(t,n,r){var i=!a&&(r||n!==u)||((e=n).nodeType?c(t,n,r):f(t,n,r));return e=null,i}];l1&&bt(d),l>1&&mt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(H,"$1"),n,l0,i=t.length>0,o=function(o,a,s,l,c){var f,p,g,m=0,y="0",b=o&&[],_=[],w=u,T=o||i&&r.find.TAG("*",c),C=S+=null==w?1:Math.random()||.1,x=T.length;for(c&&(u=a===h||a||c);y!==x&&null!=(f=T[y]);y++){if(i&&f){for(p=0,a||f.ownerDocument===h||(d(f),s=!v);g=t[p++];)if(g(f,a||h,s)){l.push(f);break}c&&(S=C)}n&&((f=!g&&f)&&m--,o&&b.push(f))}if(m+=y,n&&y!==m){for(p=0;g=e[p++];)g(b,_,a,s);if(o){if(m>0)for(;y--;)b[y]||_[y]||(_[y]=D.call(l));_=_t(_)}$.apply(l,_),c&&!o&&_.length>0&&m+e.length>1&&ot.uniqueSort(l)}return c&&(S=C,u=w),b};return n?st(o):o}(o,i))).selector=t}return s},l=ot.select=function(t,e,n,i){var o,l,u,c,f,d="function"==typeof t&&t,h=!i&&a(t=d.selector||t);if(n=n||[],1===h.length){if((l=h[0]=h[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===e.nodeType&&v&&r.relative[l[1].type]){if(!(e=(r.find.ID(u.matches[0].replace(Z,tt),e)||[])[0]))return n;d&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(o=G.needsContext.test(t)?0:l.length;o--&&(u=l[o],!r.relative[c=u.type]);)if((f=r.find[c])&&(i=f(u.matches[0].replace(Z,tt),J.test(l[0].type)&&vt(e.parentNode)||e))){if(l.splice(o,1),!(t=i.length&&mt(l)))return $.apply(n,i),n;break}}return(d||s(t,h))(i,e,!v,n,!e||J.test(t)&&vt(e.parentNode)||e),n},n.sortStable=_.split("").sort(E).join("")===_,n.detectDuplicates=!!f,d(),n.sortDetached=lt(function(t){return 1&t.compareDocumentPosition(h.createElement("fieldset"))}),lt(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||ut("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&<(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ut("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),lt(function(t){return null==t.getAttribute("disabled")})||ut(P,function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),ot}(n);T.find=k,T.expr=k.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=k.uniqueSort,T.text=k.getText,T.isXMLDoc=k.isXML,T.contains=k.contains,T.escapeSelector=k.escape;var E=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&T(t).is(n))break;r.push(t)}return r},O=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},A=T.expr.match.needsContext;function D(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function $(t,e,n){return y(e)?T.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?T.grep(t,function(t){return t===e!==n}):"string"!=typeof e?T.grep(t,function(t){return f.call(e,t)>-1!==n}):T.filter(e,t,n)}T.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?T.find.matchesSelector(r,t)?[r]:[]:T.find.matches(t,T.grep(e,function(t){return 1===t.nodeType}))},T.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(T(t).filter(function(){for(e=0;e1?T.uniqueSort(n):n},filter:function(t){return this.pushStack($(this,t||[],!1))},not:function(t){return this.pushStack($(this,t||[],!0))},is:function(t){return!!$(this,"string"==typeof t&&A.test(t)?T(t):t||[],!1).length}});var B,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||B,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:N.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof T?e[0]:e,T.merge(this,T.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:a,!0)),I.test(r[1])&&T.isPlainObject(e))for(r in e)y(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=a.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==n.ready?n.ready(t):t(T):T.makeArray(t,this)}).prototype=T.fn,B=T(a);var P=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};function j(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}T.fn.extend({has:function(t){var e=T(t,this),n=e.length;return this.filter(function(){for(var t=0;t-1:1===n.nodeType&&T.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?T.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?f.call(T(t),this[0]):f.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),T.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return E(t,"parentNode")},parentsUntil:function(t,e,n){return E(t,"parentNode",n)},next:function(t){return j(t,"nextSibling")},prev:function(t){return j(t,"previousSibling")},nextAll:function(t){return E(t,"nextSibling")},prevAll:function(t){return E(t,"previousSibling")},nextUntil:function(t,e,n){return E(t,"nextSibling",n)},prevUntil:function(t,e,n){return E(t,"previousSibling",n)},siblings:function(t){return O((t.parentNode||{}).firstChild,t)},children:function(t){return O(t.firstChild)},contents:function(t){return D(t,"iframe")?t.contentDocument:(D(t,"template")&&(t=t.content||t),T.merge([],t.childNodes))}},function(t,e){T.fn[t]=function(n,r){var i=T.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=T.filter(r,i)),this.length>1&&(L[t]||T.uniqueSort(i),P.test(t)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function F(t){return t}function R(t){throw t}function H(t,e,n,r){var i;try{t&&y(i=t.promise)?i.call(t).done(e).fail(n):t&&y(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}T.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return T.each(t.match(M)||[],function(t,n){e[n]=!0}),e}(t):T.extend({},t);var e,n,r,i,o=[],a=[],s=-1,l=function(){for(i=i||t.once,r=e=!0;a.length;s=-1)for(n=a.shift();++s-1;)o.splice(n,1),n<=s&&s--}),this},has:function(t){return t?T.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},T.extend({Deferred:function(t){var e=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return T.Deferred(function(n){T.each(e,function(e,r){var i=y(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&y(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){var o=0;function a(t,e,r,i){return function(){var s=this,l=arguments,u=function(){var n,u;if(!(t=o&&(r!==R&&(s=void 0,l=[n]),e.rejectWith(s,l))}};t?c():(T.Deferred.getStackHook&&(c.stackTrace=T.Deferred.getStackHook()),n.setTimeout(c))}}return T.Deferred(function(n){e[0][3].add(a(0,n,y(i)?i:F,n.notifyWith)),e[1][3].add(a(0,n,y(t)?t:F)),e[2][3].add(a(0,n,y(r)?r:R))}).promise()},promise:function(t){return null!=t?T.extend(t,i):i}},o={};return T.each(e,function(t,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=l.call(arguments),o=T.Deferred(),a=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?l.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(H(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)H(i[n],a(n),o.reject);return o.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&V.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},T.readyException=function(t){n.setTimeout(function(){throw t})};var W=T.Deferred();function U(){a.removeEventListener("DOMContentLoaded",U),n.removeEventListener("load",U),T.ready()}T.fn.ready=function(t){return W.then(t).catch(function(t){T.readyException(t)}),this},T.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==t&&--T.readyWait>0||W.resolveWith(a,[T]))}}),T.ready.then=W.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(T.ready):(a.addEventListener("DOMContentLoaded",U),n.addEventListener("load",U));var z=function(t,e,n,r,i,o,a){var s=0,l=t.length,u=null==n;if("object"===S(n))for(s in i=!0,n)z(t,e,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),u&&(a?(e.call(t,r),e=null):(u=e,e=function(t,e,n){return u.call(T(t),n)})),e))for(;s1,null,!0)},removeData:function(t){return this.each(function(){Z.remove(this,t)})}}),T.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=J.get(t,e),n&&(!r||Array.isArray(n)?r=J.access(t,e,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=T.queue(t,e),r=n.length,i=n.shift(),o=T._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,function(){T.dequeue(t,e)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return J.get(t,n)||J.access(t,n,{empty:T.Callbacks("once memory").add(function(){J.remove(t,[e+"queue",n])})})}}),T.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length\x20\t\r\n\f]+)/i,pt=/^$|^module$|\/(?:java|ecma)script/i,vt={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function gt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&D(t,e)?T.merge([t],n):n}function mt(t,e){for(var n=0,r=t.length;n-1)i&&i.push(o);else if(u=T.contains(o.ownerDocument,o),a=gt(f.appendChild(o),"script"),u&&mt(a),n)for(c=0;o=a[c++];)pt.test(o.type||"")&&n.push(o);return f}yt=a.createDocumentFragment().appendChild(a.createElement("div")),(bt=a.createElement("input")).setAttribute("type","radio"),bt.setAttribute("checked","checked"),bt.setAttribute("name","t"),yt.appendChild(bt),m.checkClone=yt.cloneNode(!0).cloneNode(!0).lastChild.checked,yt.innerHTML="",m.noCloneChecked=!!yt.cloneNode(!0).lastChild.defaultValue;var St=a.documentElement,Tt=/^key/,Ct=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,xt=/^([^.]*)(?:\.(.+)|)/;function kt(){return!0}function Et(){return!1}function Ot(){try{return a.activeElement}catch(t){}}function At(t,e,n,r,i,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(r=r||n,n=void 0),e)At(t,s,n,r,e[s],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Et;else if(!i)return t;return 1===o&&(a=i,(i=function(t){return T().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=T.guid++)),t.each(function(){T.event.add(this,e,i,r,n)})}T.event={global:{},add:function(t,e,n,r,i){var o,a,s,l,u,c,f,d,h,p,v,g=J.get(t);if(g)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&T.find.matchesSelector(St,i),n.guid||(n.guid=T.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(e){return void 0!==T&&T.event.triggered!==e.type?T.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(M)||[""]).length;u--;)h=v=(s=xt.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),h&&(f=T.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=T.event.special[h]||{},c=T.extend({type:h,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=l[h])||((d=l[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,p,a)||t.addEventListener&&t.addEventListener(h,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),T.event.global[h]=!0)},remove:function(t,e,n,r,i){var o,a,s,l,u,c,f,d,h,p,v,g=J.hasData(t)&&J.get(t);if(g&&(l=g.events)){for(u=(e=(e||"").match(M)||[""]).length;u--;)if(h=v=(s=xt.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),h){for(f=T.event.special[h]||{},d=l[h=(r?f.delegateType:f.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!i&&v!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(t,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(t,p,g.handle)||T.removeEvent(t,h,g.handle),delete l[h])}else for(h in l)T.event.remove(t,h+e[u],n,r,!0);T.isEmptyObject(l)&&J.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,a,s=T.event.fix(t),l=new Array(arguments.length),u=(J.get(this,"events")||{})[s.type]||[],c=T.event.special[s.type]||{};for(l[0]=s,e=1;e=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(o=[],a={},n=0;n-1:T.find(i,this,null,[u]).length),a[i]&&o.push(r);o.length&&s.push({elem:u,handlers:o})}return u=this,l\x20\t\r\n\f]*)[^>]*)\/>/gi,It=/\s*$/g;function Nt(t,e){return D(t,"table")&&D(11!==e.nodeType?e:e.firstChild,"tr")&&T(t).children("tbody")[0]||t}function Pt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Lt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function jt(t,e){var n,r,i,o,a,s,l,u;if(1===e.nodeType){if(J.hasData(t)&&(o=J.access(t),a=J.set(e,o),u=o.events))for(i in delete a.handle,a.events={},u)for(n=0,r=u[i].length;n1&&"string"==typeof p&&!m.checkClone&&$t.test(p))return t.each(function(i){var o=t.eq(i);v&&(e[0]=p.call(this,i,o.html())),Mt(o,e,n,r)});if(d&&(o=(i=wt(e,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=T.map(gt(i,"script"),Pt)).length;f")},clone:function(t,e,n){var r,i,o,a,s,l,u,c=t.cloneNode(!0),f=T.contains(t.ownerDocument,t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||T.isXMLDoc(t)))for(a=gt(c),r=0,i=(o=gt(t)).length;r0&&mt(a,!f&>(t,"script")),c},cleanData:function(t){for(var e,n,r,i=T.event.special,o=0;void 0!==(n=t[o]);o++)if(Q(n)){if(e=n[J.expando]){if(e.events)for(r in e.events)i[r]?T.event.remove(n,r):T.removeEvent(n,r,e.handle);n[J.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),T.fn.extend({detach:function(t){return Ft(this,t,!0)},remove:function(t){return Ft(this,t)},text:function(t){return z(this,function(t){return void 0===t?T.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Mt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Nt(this,t).appendChild(t)})},prepend:function(){return Mt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Nt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Mt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Mt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(T.cleanData(gt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return T.clone(this,t,e)})},html:function(t){return z(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!It.test(t)&&!vt[(ht.exec(t)||["",""])[1].toLowerCase()]){t=T.htmlPrefilter(t);try{for(;n=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-s-.5))),l}function te(t,e,n){var r=Ht(t),i=Wt(t,e,r),o="border-box"===T.css(t,"boxSizing",!1,r),a=o;if(Rt.test(i)){if(!n)return i;i="auto"}return a=a&&(m.boxSizingReliable()||i===t.style[e]),("auto"===i||!parseFloat(i)&&"inline"===T.css(t,"display",!1,r))&&(i=t["offset"+e[0].toUpperCase()+e.slice(1)],a=!0),(i=parseFloat(i)||0)+Zt(t,e,n||(o?"border":"content"),a,r,i)+"px"}function ee(t,e,n,r,i){return new ee.prototype.init(t,e,n,r,i)}T.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Wt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,s=X(e),l=qt.test(e),u=t.style;if(l||(e=Yt(s)),a=T.cssHooks[e]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:u[e];"string"===(o=typeof n)&&(i=it.exec(n))&&i[1]&&(n=lt(t,e,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(T.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(l?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,r){var i,o,a,s=X(e);return qt.test(e)||(e=Yt(s)),(a=T.cssHooks[e]||T.cssHooks[s])&&"get"in a&&(i=a.get(t,!0,n)),void 0===i&&(i=Wt(t,e,r)),"normal"===i&&e in Kt&&(i=Kt[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),T.each(["height","width"],function(t,e){T.cssHooks[e]={get:function(t,n,r){if(n)return!zt.test(T.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?te(t,e,r):st(t,Gt,function(){return te(t,e,r)})},set:function(t,n,r){var i,o=Ht(t),a="border-box"===T.css(t,"boxSizing",!1,o),s=r&&Zt(t,e,r,a,o);return a&&m.scrollboxSize()===o.position&&(s-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-Zt(t,e,"border",!1,o)-.5)),s&&(i=it.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=T.css(t,e)),Jt(0,n,s)}}}),T.cssHooks.marginLeft=Ut(m.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Wt(t,"marginLeft"))||t.getBoundingClientRect().left-st(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(t,e){T.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+ot[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(T.cssHooks[t+e].set=Jt)}),T.fn.extend({css:function(t,e){return z(this,function(t,e,n){var r,i,o={},a=0;if(Array.isArray(e)){for(r=Ht(t),i=e.length;a1)}}),T.Tween=ee,ee.prototype={constructor:ee,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||T.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(T.cssNumber[n]?"":"px")},cur:function(){var t=ee.propHooks[this.prop];return t&&t.get?t.get(this):ee.propHooks._default.get(this)},run:function(t){var e,n=ee.propHooks[this.prop];return this.options.duration?this.pos=e=T.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ee.propHooks._default.set(this),this}},ee.prototype.init.prototype=ee.prototype,ee.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=T.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){T.fx.step[t.prop]?T.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[T.cssProps[t.prop]]&&!T.cssHooks[t.prop]?t.elem[t.prop]=t.now:T.style(t.elem,t.prop,t.now+t.unit)}}},ee.propHooks.scrollTop=ee.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},T.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},T.fx=ee.prototype.init,T.fx.step={};var ne,re,ie=/^(?:toggle|show|hide)$/,oe=/queueHooks$/;function ae(){re&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ae):n.setTimeout(ae,T.fx.interval),T.fx.tick())}function se(){return n.setTimeout(function(){ne=void 0}),ne=Date.now()}function le(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=ot[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function ue(t,e,n){for(var r,i=(ce.tweeners[e]||[]).concat(ce.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(t){return this.each(function(){T.removeAttr(this,t)})}}),T.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?T.prop(t,e,n):(1===o&&T.isXMLDoc(t)||(i=T.attrHooks[e.toLowerCase()]||(T.expr.match.bool.test(e)?fe:void 0)),void 0!==n?null===n?void T.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=T.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&D(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(M);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),fe={set:function(t,e,n){return!1===e?T.removeAttr(t,n):t.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),function(t,e){var n=de[e]||T.find.attr;de[e]=function(t,e,r){var i,o,a=e.toLowerCase();return r||(o=de[a],de[a]=i,i=null!=n(t,e,r)?a:null,de[a]=o),i}});var he=/^(?:input|select|textarea|button)$/i,pe=/^(?:a|area)$/i;function ve(t){return(t.match(M)||[]).join(" ")}function ge(t){return t.getAttribute&&t.getAttribute("class")||""}function me(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(M)||[]}T.fn.extend({prop:function(t,e){return z(this,T.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[T.propFix[t]||t]})}}),T.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&T.isXMLDoc(t)||(e=T.propFix[e]||e,i=T.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=T.find.attr(t,"tabindex");return e?parseInt(e,10):he.test(t.nodeName)||pe.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(T.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,l=0;if(y(t))return this.each(function(e){T(this).addClass(t.call(this,e,ge(this)))});if((e=me(t)).length)for(;n=this[l++];)if(i=ge(n),r=1===n.nodeType&&" "+ve(i)+" "){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=ve(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,l=0;if(y(t))return this.each(function(e){T(this).removeClass(t.call(this,e,ge(this)))});if(!arguments.length)return this.attr("class","");if((e=me(t)).length)for(;n=this[l++];)if(i=ge(n),r=1===n.nodeType&&" "+ve(i)+" "){for(a=0;o=e[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=ve(r))&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):y(t)?this.each(function(n){T(this).toggleClass(t.call(this,n,ge(this),e),e)}):this.each(function(){var e,i,o,a;if(r)for(i=0,o=T(this),a=me(t);e=a[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=ge(this))&&J.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":J.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+ve(ge(n))+" ").indexOf(e)>-1)return!0;return!1}});var ye=/\r/g;T.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=y(t),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,T(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=T.map(i,function(t){return null==t?"":t+""})),(e=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))})):i?(e=T.valHooks[i.type]||T.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(ye,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(t){var e=T.find.attr(t,"value");return null!=e?e:ve(T.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],l=a?o+1:i.length;for(r=o<0?l:a?o:0;r-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=T.inArray(T(t).val(),e)>-1}},m.checkOn||(T.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),m.focusin="onfocusin"in n;var be=/^(?:focusinfocus|focusoutblur)$/,_e=function(t){t.stopPropagation()};T.extend(T.event,{trigger:function(t,e,r,i){var o,s,l,u,c,f,d,h,v=[r||a],g=p.call(t,"type")?t.type:t,m=p.call(t,"namespace")?t.namespace.split("."):[];if(s=h=l=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!be.test(g+T.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(t=t[T.expando]?t:new T.Event(g,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:T.makeArray(e,[t]),d=T.event.special[g]||{},i||!d.trigger||!1!==d.trigger.apply(r,e))){if(!i&&!d.noBubble&&!b(r)){for(u=d.delegateType||g,be.test(u+g)||(s=s.parentNode);s;s=s.parentNode)v.push(s),l=s;l===(r.ownerDocument||a)&&v.push(l.defaultView||l.parentWindow||n)}for(o=0;(s=v[o++])&&!t.isPropagationStopped();)h=s,t.type=o>1?u:d.bindType||g,(f=(J.get(s,"events")||{})[t.type]&&J.get(s,"handle"))&&f.apply(s,e),(f=c&&s[c])&&f.apply&&Q(s)&&(t.result=f.apply(s,e),!1===t.result&&t.preventDefault());return t.type=g,i||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),e)||!Q(r)||c&&y(r[g])&&!b(r)&&((l=r[c])&&(r[c]=null),T.event.triggered=g,t.isPropagationStopped()&&h.addEventListener(g,_e),r[g](),t.isPropagationStopped()&&h.removeEventListener(g,_e),T.event.triggered=void 0,l&&(r[c]=l)),t.result}},simulate:function(t,e,n){var r=T.extend(new T.Event,n,{type:t,isSimulated:!0});T.event.trigger(r,null,e)}}),T.fn.extend({trigger:function(t,e){return this.each(function(){T.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return T.event.trigger(t,e,n,!0)}}),m.focusin||T.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){T.event.simulate(e,t.target,T.event.fix(t))};T.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,e);i||r.addEventListener(t,n,!0),J.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,e)-1;i?J.access(r,e,i):(r.removeEventListener(t,n,!0),J.remove(r,e))}}});var we=n.location,Se=Date.now(),Te=/\?/;T.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+t),e};var Ce=/\[\]$/,xe=/\r?\n/g,ke=/^(?:submit|button|image|reset|file)$/i,Ee=/^(?:input|select|textarea|keygen)/i;function Oe(t,e,n,r){var i;if(Array.isArray(e))T.each(e,function(e,i){n||Ce.test(t)?r(t,i):Oe(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==S(e))r(t,e);else for(i in e)Oe(t+"["+i+"]",e[i],n,r)}T.param=function(t,e){var n,r=[],i=function(t,e){var n=y(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(t)||t.jquery&&!T.isPlainObject(t))T.each(t,function(){i(this.name,this.value)});else for(n in t)Oe(n,t[n],e,i);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=T.prop(this,"elements");return t?T.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!T(this).is(":disabled")&&Ee.test(this.nodeName)&&!ke.test(t)&&(this.checked||!dt.test(t))}).map(function(t,e){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,function(t){return{name:e.name,value:t.replace(xe,"\r\n")}}):{name:e.name,value:n.replace(xe,"\r\n")}}).get()}});var Ae=/%20/g,De=/#.*$/,Ie=/([?&])_=[^&]*/,$e=/^(.*?):[ \t]*([^\r\n]*)$/gm,Be=/^(?:GET|HEAD)$/,Ne=/^\/\//,Pe={},Le={},je="*/".concat("*"),Me=a.createElement("a");function Fe(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(M)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function Re(t,e,n,r){var i={},o=t===Le;function a(s){var l;return i[s]=!0,T.each(t[s]||[],function(t,s){var u=s(e,n,r);return"string"!=typeof u||o||i[u]?o?!(l=u):void 0:(e.dataTypes.unshift(u),a(u),!1)}),l}return a(e.dataTypes[0])||!i["*"]&&a("*")}function He(t,e){var n,r,i=T.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&T.extend(!0,t,r),t}Me.href=we.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:we.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(we.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":je,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?He(He(t,T.ajaxSettings),e):He(T.ajaxSettings,t)},ajaxPrefilter:Fe(Pe),ajaxTransport:Fe(Le),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,i,o,s,l,u,c,f,d,h,p=T.ajaxSetup({},e),v=p.context||p,g=p.context&&(v.nodeType||v.jquery)?T(v):T.event,m=T.Deferred(),y=T.Callbacks("once memory"),b=p.statusCode||{},_={},w={},S="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=$e.exec(o);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(t,e){return null==c&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,_[t]=e),this},overrideMimeType:function(t){return null==c&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)C.always(t[C.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||S;return r&&r.abort(e),x(0,e),this}};if(m.promise(C),p.url=((t||p.url||we.href)+"").replace(Ne,we.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(M)||[""],null==p.crossDomain){u=a.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=Me.protocol+"//"+Me.host!=u.protocol+"//"+u.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=T.param(p.data,p.traditional)),Re(Pe,p,e,C),c)return C;for(d in(f=T.event&&p.global)&&0==T.active++&&T.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Be.test(p.type),i=p.url.replace(De,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Ae,"+")):(h=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(Te.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Ie,"$1"),h=(Te.test(i)?"&":"?")+"_="+Se+++h),p.url=i+h),p.ifModified&&(T.lastModified[i]&&C.setRequestHeader("If-Modified-Since",T.lastModified[i]),T.etag[i]&&C.setRequestHeader("If-None-Match",T.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+je+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(v,C,p)||c))return C.abort();if(S="abort",y.add(p.complete),C.done(p.success),C.fail(p.error),r=Re(Le,p,e,C)){if(C.readyState=1,f&&g.trigger("ajaxSend",[C,p]),c)return C;p.async&&p.timeout>0&&(l=n.setTimeout(function(){C.abort("timeout")},p.timeout));try{c=!1,r.send(_,x)}catch(t){if(c)throw t;x(-1,t)}}else x(-1,"No Transport");function x(t,e,a,s){var u,d,h,_,w,S=e;c||(c=!0,l&&n.clearTimeout(l),r=void 0,o=s||"",C.readyState=t>0?4:0,u=t>=200&&t<300||304===t,a&&(_=function(t,e,n){for(var r,i,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||t.converters[i+" "+l[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,C,a)),_=function(t,e,n,r){var i,o,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}(p,_,C,u),u?(p.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(T.lastModified[i]=w),(w=C.getResponseHeader("etag"))&&(T.etag[i]=w)),204===t||"HEAD"===p.type?S="nocontent":304===t?S="notmodified":(S=_.state,d=_.data,u=!(h=_.error))):(h=S,!t&&S||(S="error",t<0&&(t=0))),C.status=t,C.statusText=(e||S)+"",u?m.resolveWith(v,[d,S,C]):m.rejectWith(v,[C,S,h]),C.statusCode(b),b=void 0,f&&g.trigger(u?"ajaxSuccess":"ajaxError",[C,p,u?d:h]),y.fireWith(v,[C,S]),f&&(g.trigger("ajaxComplete",[C,p]),--T.active||T.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,n){return T.get(t,e,n,"json")},getScript:function(t,e){return T.get(t,void 0,e,"script")}}),T.each(["get","post"],function(t,e){T[e]=function(t,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),T.ajax(T.extend({url:t,type:e,dataType:i,data:n,success:r},T.isPlainObject(t)&&t))}}),T._evalUrl=function(t){return T.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},T.fn.extend({wrapAll:function(t){var e;return this[0]&&(y(t)&&(t=t.call(this[0])),e=T(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return y(t)?this.each(function(e){T(this).wrapInner(t.call(this,e))}):this.each(function(){var e=T(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=y(t);return this.each(function(n){T(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(t){return!T.expr.pseudos.visible(t)},T.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Ve={0:200,1223:204},We=T.ajaxSettings.xhr();m.cors=!!We&&"withCredentials"in We,m.ajax=We=!!We,T.ajaxTransport(function(t){var e,r;if(m.cors||We&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);e=function(t){return function(){e&&(e=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Ve[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),r=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){e&&r()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),T.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return T.globalEval(t),t}}}),T.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),T.ajaxTransport("script",function(t){var e,n;if(t.crossDomain)return{send:function(r,i){e=T("