mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-19 19:43:16 +00:00
239 lines
No EOL
380 KiB
JavaScript
Vendored
239 lines
No EOL
380 KiB
JavaScript
Vendored
(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([["/js/admin"],{"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminAutospam.vue?vue&type=script&lang=js":
|
||
/*!*****************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminAutospam.vue?vue&type=script&lang=js ***!
|
||
\*****************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! @trevoreyre/autocomplete-vue */"./node_modules/@trevoreyre/autocomplete-vue/dist/autocomplete.esm.js");s(/*! @trevoreyre/autocomplete-vue/dist/style.css */"./node_modules/@trevoreyre/autocomplete-vue/dist/style.css");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},o(t)}function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return e};var t,e={},s=Object.prototype,a=s.hasOwnProperty,i=Object.defineProperty||function(t,e,s){t[e]=s.value},r="function"==typeof Symbol?Symbol:{},l=r.iterator||"@@iterator",c=r.asyncIterator||"@@asyncIterator",d=r.toStringTag||"@@toStringTag";function u(t,e,s){return Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,s){return t[e]=s}}function m(t,e,s,a){var o=e&&e.prototype instanceof b?e:b,n=Object.create(o.prototype),r=new M(a||[]);return i(n,"_invoke",{value:A(t,s,r)}),n}function p(t,e,s){try{return{type:"normal",arg:t.call(e,s)}}catch(t){return{type:"throw",arg:t}}}e.wrap=m;var v="suspendedStart",f="suspendedYield",_="executing",h="completed",g={};function b(){}function y(){}function C(){}var w={};u(w,l,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(L([])));k&&k!==s&&a.call(k,l)&&(w=k);var j=C.prototype=b.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function R(t,e){function s(n,i,r,l){var c=p(t[n],t,i);if("throw"!==c.type){var d=c.arg,u=d.value;return u&&"object"==o(u)&&a.call(u,"__await")?e.resolve(u.__await).then((function(t){s("next",t,r,l)}),(function(t){s("throw",t,r,l)})):e.resolve(u).then((function(t){d.value=t,r(d)}),(function(t){return s("throw",t,r,l)}))}l(c.arg)}var n;i(this,"_invoke",{value:function(t,a){function o(){return new e((function(e,o){s(t,a,e,o)}))}return n=n?n.then(o,o):o()}})}function A(e,s,a){var o=v;return function(n,i){if(o===_)throw Error("Generator is already running");if(o===h){if("throw"===n)throw i;return{value:t,done:!0}}for(a.method=n,a.arg=i;;){var r=a.delegate;if(r){var l=T(r,a);if(l){if(l===g)continue;return l}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(o===v)throw o=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);o=_;var c=p(e,s,a);if("normal"===c.type){if(o=a.done?h:f,c.arg===g)continue;return{value:c.arg,done:a.done}}"throw"===c.type&&(o=h,a.method="throw",a.arg=c.arg)}}}function T(e,s){var a=s.method,o=e.iterator[a];if(o===t)return s.delegate=null,"throw"===a&&e.iterator.return&&(s.method="return",s.arg=t,T(e,s),"throw"===s.method)||"return"!==a&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+a+"' method")),g;var n=p(o,e.iterator,s.arg);if("throw"===n.type)return s.method="throw",s.arg=n.arg,s.delegate=null,g;var i=n.arg;return i?i.done?(s[e.resultName]=i.value,s.next=e.nextLoc,"return"!==s.method&&(s.method="next",s.arg=t),s.delegate=null,g):i:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,g)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function L(e){if(e||""===e){var s=e[l];if(s)return s.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function s(){for(;++n<e.length;)if(a.call(e,n))return s.value=e[n],s.done=!1,s;return s.value=t,s.done=!0,s};return i.next=i}}throw new TypeError(o(e)+" is not iterable")}return y.prototype=C,i(j,"constructor",{value:C,configurable:!0}),i(C,"constructor",{value:y,configurable:!0}),y.displayName=u(C,d,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,C):(t.__proto__=C,u(t,d,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},S(R.prototype),u(R.prototype,c,(function(){return this})),e.AsyncIterator=R,e.async=function(t,s,a,o,n){void 0===n&&(n=Promise);var i=new R(m(t,s,a,o),n);return e.isGeneratorFunction(s)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},S(j),u(j,d,"Generator"),u(j,l,(function(){return this})),u(j,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),s=[];for(var a in e)s.push(a);return s.reverse(),function t(){for(;s.length;){var a=s.pop();if(a in e)return t.value=a,t.done=!1,t}return t.done=!0,t}},e.values=L,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var s in this)"t"===s.charAt(0)&&a.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var s=this;function o(a,o){return r.type="throw",r.arg=e,s.next=a,o&&(s.method="next",s.arg=t),!!o}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],r=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var s=this.tryEntries.length-1;s>=0;--s){var o=this.tryEntries[s];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var n=o;break}}n&&("break"===t||"continue"===t)&&n.tryLoc<=e&&e<=n.finallyLoc&&(n=null);var i=n?n.completion:{};return i.type=t,i.arg=e,n?(this.method="next",this.next=n.finallyLoc,g):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.finallyLoc===t)return this.complete(s.completion,s.afterLoc),P(s),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.tryLoc===t){var a=s.completion;if("throw"===a.type){var o=a.arg;P(s)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,s,a){return this.delegate={iterator:L(e),resultName:s,nextLoc:a},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,s,a,o,n,i){try{var r=t[n](i),l=r.value}catch(t){return void s(t)}r.done?e(l):Promise.resolve(l).then(a,o)}const r={components:{Autocomplete:a.default},data:function(){return{loaded:!1,tabIndex:0,config:{autospam_enabled:null,open:0,closed:0},closedReports:[],closedReportsFetched:!1,closedReportsCursor:null,closedReportsCanLoadMore:!1,showSpamReportModal:!1,showSpamReportModalLoading:!0,viewingSpamReport:void 0,viewingSpamReportLoading:!1,showNonSpamModal:!1,nonSpamAccounts:[],searchLoading:!1,customTokens:[],customTokensFetched:!1,customTokensCanLoadMore:!1,showCreateTokenModal:!1,customTokenForm:{token:void 0,weight:1,category:"spam",note:void 0,active:!0},showEditTokenModal:!1,editCustomToken:{},editCustomTokenForm:{token:void 0,weight:1,category:"spam",note:void 0,active:!0}}},mounted:function(){var t=this;setTimeout((function(){t.loaded=!0,t.fetchConfig()}),1e3)},methods:{toggleTab:function(t){var e=this;this.tabIndex=t,0==t&&setTimeout((function(){e.initChart()}),500),"closed_reports"!==t||this.closedReportsFetched||this.fetchClosedReports(),"manage_tokens"!==t||this.customTokensFetched||this.fetchCustomTokens()},formatCount:function(t){return App.util.format.count(t)},timeAgo:function(t){return t?App.util.format.timeAgo(t):t},fetchConfig:function(){var t=this;axios.post("/i/admin/api/autospam/config").then((function(e){t.config=e.data,t.loaded=!0})).finally((function(){setTimeout((function(){t.initChart()}),100)}))},initChart:function(){new Chart(document.querySelector("#c1-dark"),{type:"line",options:{scales:{yAxes:[{gridLines:{lineWidth:1,color:"#212529",zeroLineColor:"#212529"}}]}},data:{datasets:[{data:this.config.graph}],labels:this.config.graphLabels}})},fetchClosedReports:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/i/admin/api/autospam/reports/closed";axios.post(e).then((function(e){t.closedReports=e.data})).finally((function(){t.closedReportsFetched=!0}))},viewSpamReport:function(t){this.viewingSpamReportLoading=!1,this.viewingSpamReport=t,this.showSpamReportModal=!0,setTimeout((function(){pixelfed.readmore()}),500)},autospamPaginate:function(t){event.currentTarget.blur();var e="next"==t?this.closedReports.links.next:this.closedReports.links.prev;this.fetchClosedReports(e)},autospamTrainSpam:function(){event.currentTarget.blur(),axios.post("/i/admin/api/autospam/train").then((function(t){swal("Training Autospam!","A background job has been dispatched to train Autospam!","success"),setTimeout((function(){window.location.reload()}),1e4)})).catch((function(t){422===t.response.status?swal("Error",t.response.data.error,"error"):swal("Error","Oops, an error occured, please try again later","error")}))},autospamTrainNonSpam:function(){this.showNonSpamModal=!0},composeSearch:function(t){var e=this;return t.length<1?[]:axios.post("/i/admin/api/autospam/search/non-spam",{q:t}).then((function(t){return t.data.filter((function(t){return!e.nonSpamAccounts||!e.nonSpamAccounts.length||e.nonSpamAccounts&&-1==e.nonSpamAccounts.map((function(t){return t.id})).indexOf(t.id)}))}))},getTagResultValue:function(t){return t.username},onSearchResultClick:function(t){-1==this.nonSpamAccounts.map((function(t){return t.id})).indexOf(t.id)&&this.nonSpamAccounts.push(t)},autospamTrainNonSpamRemove:function(t){this.nonSpamAccounts.splice(t,1)},autospamTrainNonSpamSubmit:function(){this.showNonSpamModal=!1,axios.post("/i/admin/api/autospam/train/non-spam",{accounts:this.nonSpamAccounts}).then((function(t){swal("Training Autospam!","A background job has been dispatched to train Autospam!","success"),setTimeout((function(){window.location.reload()}),1e4)})).catch((function(t){422===t.response.status?swal("Error",t.response.data.error,"error"):swal("Error","Oops, an error occured, please try again later","error")}))},fetchCustomTokens:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/i/admin/api/autospam/tokens/custom";axios.post(e).then((function(e){t.customTokens=e.data})).finally((function(){t.customTokensFetched=!0}))},handleSaveToken:function(){var t=this;axios.post("/i/admin/api/autospam/tokens/store",this.customTokenForm).then((function(t){console.log(t.data)})).catch((function(t){swal("Oops! An Error Occured",t.response.data.message,"error")})).finally((function(){t.customTokenForm={token:void 0,weight:1,category:"spam",note:void 0,active:!0},t.fetchCustomTokens()}))},openEditTokenModal:function(t){event.currentTarget.blur(),this.editCustomToken=t,this.editCustomTokenForm=t,this.showEditTokenModal=!0},handleUpdateToken:function(){axios.post("/i/admin/api/autospam/tokens/update",this.editCustomTokenForm).then((function(t){console.log(t.data)}))},autospamTokenPaginate:function(t){event.currentTarget.blur();var e="next"==t?this.customTokens.next_page_url:this.customTokens.prev_page_url;this.fetchCustomTokens(e)},downloadExport:function(){event.currentTarget.blur(),axios.post("/i/admin/api/autospam/tokens/export",{},{responseType:"blob"}).then((function(t){var e=document.createElement("a");e.setAttribute("download","pixelfed-autospam-export.json");var s=URL.createObjectURL(t.data);e.href=s,e.setAttribute("target","_blank"),e.click(),URL.revokeObjectURL(s)})).catch(function(){var t,e=(t=n().mark((function t(e){var s;return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=e.response.data,!("blob"===e.request.responseType&&e.response.data instanceof Blob&&e.response.data.type&&-1!=e.response.data.type.toLowerCase().indexOf("json"))){t.next=8;break}return t.t0=JSON,t.next=5,e.response.data.text();case 5:t.t1=t.sent,s=t.t0.parse.call(t.t0,t.t1),swal("Export Error",s.error,"error");case 8:case 9:case"end":return t.stop()}}),t)})),function(){var e=this,s=arguments;return new Promise((function(a,o){var n=t.apply(e,s);function r(t){i(n,a,o,r,l,"next",t)}function l(t){i(n,a,o,r,l,"throw",t)}r(void 0)}))});return function(t){return e.apply(this,arguments)}}())},enableAdvanced:function(){event.currentTarget.blur(),!this.config.files.spam.exists||!this.config.files.ham.exists||!this.config.files.combined.exists||this.config.files.spam.size<1e3||this.config.files.ham.size<1e3||this.config.files.combined.size<1e3?swal("Training Required",'Before you can enable Advanced Detection, you need to train the models.\n\n Click on the "Train Autospam" tab and train both categories before proceeding',"error"):swal({title:"Confirm",text:"Are you sure you want to enable Advanced Detection?",icon:"warning",dangerMode:!0,buttons:{cancel:"Cancel",confirm:{text:"Enable",value:"enable"}}}).then((function(t){"enable"===t&&axios.post("/i/admin/api/autospam/config/enable").then((function(t){swal("Success! Advanced Detection is now enabled!\n\n This page will reload in a few seconds!",{icon:"success"}),setTimeout((function(){window.location.reload()}),5e3)})).catch((function(t){swal("Oops!","An error occured, please try again later","error")}))}))},disableAdvanced:function(){event.currentTarget.blur(),swal({title:"Confirm",text:"Are you sure you want to disable Advanced Detection?",icon:"warning",dangerMode:!0,buttons:{cancel:"Cancel",confirm:{text:"Disable",value:"disable"}}}).then((function(t){"disable"===t&&axios.post("/i/admin/api/autospam/config/disable").then((function(t){swal("Success! Advanced Detection is now disabled!\n\n This page will reload in a few seconds!",{icon:"success"}),setTimeout((function(){window.location.reload()}),5e3)})).catch((function(t){swal("Oops!","An error occured, please try again later","error")}))}))},handleImport:function(){event.currentTarget.blur(),swal("Error","You do not have enough data to support importing.","error")}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminDirectory.vue?vue&type=script&lang=js":
|
||
/*!******************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminDirectory.vue?vue&type=script&lang=js ***!
|
||
\******************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(/*! jquery */"./node_modules/jquery/dist/jquery.js");const o={data:function(){return{loaded:!1,initialData:{},tabIndex:1,tabs:[{id:1,title:"Overview",icon:"far fa-home"},{id:3,title:"Server Details",icon:"far fa-info-circle"},{id:4,title:"Admin Contact",icon:"far fa-user-crown"},{id:5,title:"Favourite Posts",icon:"far fa-heart"},{id:6,title:"Privacy Pledge",icon:"far fa-eye-slash"},{id:7,title:"Community Guidelines",icon:"far fa-smile-beam"},{id:8,title:"Feature Requirements",icon:"far fa-bolt"},{id:9,title:"User Testimonials",icon:"far fa-comment-smile"}],form:{summary:"",location:0,contact_account:0,contact_email:"",privacy_pledge:void 0,banner_image:void 0,locale:0},requirements:{activitypub_enabled:void 0,open_registration:void 0,oauth_enabled:void 0,curated_onboarding:void 0},feature_config:[],requirements_validator:[],popularPostsLoaded:!1,popularPosts:[],selectedPopularPosts:[],selectedPosts:[],favouritePostByIdInput:"",favouritePostByIdFetching:!1,communityGuidelines:[],isUploadingBanner:!1,state:{is_eligible:!1,submission_exists:!1,awaiting_approval:!1,is_active:!1,submission_timestamp:void 0},isSubmitting:!1,testimonial:{username:void 0,body:void 0},testimonials:[],isEditingTestimonial:!1,editingTestimonial:void 0}},mounted:function(){this.fetchInitialData()},methods:{toggleTab:function(t){this.tabIndex=t},fetchInitialData:function(){var t=this;axios.get("/i/admin/api/directory/initial-data").then((function(e){t.initialData=e.data,e.data.activitypub_enabled&&(t.requirements.activitypub_enabled=e.data.activitypub_enabled),e.data.open_registration&&(t.requirements.open_registration=e.data.open_registration),e.data.curated_onboarding&&(t.requirements.curated_onboarding=e.data.curated_onboarding),e.data.oauth_enabled&&(t.requirements.oauth_enabled=e.data.oauth_enabled),e.data.summary&&(t.form.summary=e.data.summary),e.data.location&&(t.form.location=e.data.location),e.data.favourite_posts&&(t.selectedPosts=e.data.favourite_posts),e.data.admin&&(t.form.contact_account=e.data.admin),e.data.contact_email&&(t.form.contact_email=e.data.contact_email),e.data.community_guidelines&&(t.communityGuidelines=e.data.community_guidelines),e.data.privacy_pledge&&(t.form.privacy_pledge=e.data.privacy_pledge),e.data.feature_config&&(t.feature_config=e.data.feature_config),e.data.requirements_validator&&(t.requirements_validator=e.data.requirements_validator),e.data.banner_image&&(t.form.banner_image=e.data.banner_image),e.data.primary_locale&&(t.form.primary_locale=e.data.primary_locale),e.data.is_eligible&&(t.state.is_eligible=e.data.is_eligible),e.data.testimonials&&(t.testimonials=e.data.testimonials),e.data.submission_state&&(t.state.is_active=e.data.submission_state.active_submission,t.state.submission_exists=e.data.submission_state.pending_submission,t.state.awaiting_approval=e.data.submission_state.pending_submission)})).then((function(){t.loaded=!0}))},initPopularPosts:function(){var t=this;this.popularPostsLoaded||axios.get("/i/admin/api/directory/popular-posts").then((function(e){t.popularPosts=e.data.filter((function(e){return!t.selectedPosts.map((function(t){return t.id})).includes(e.id)}))})).then((function(){t.popularPostsLoaded=!0}))},formatCount:function(t){return window.App.util.format.count(t)},formatDateTime:function(t){var e=new Date(t);return new Intl.DateTimeFormat("en-US",{dateStyle:"medium",timeStyle:"short"}).format(e)},formatDate:function(t){var e=new Date(t);return new Intl.DateTimeFormat("en-US",{month:"short",year:"numeric"}).format(e)},formatTimestamp:function(t){return window.App.util.format.timeAgo(t)},togglePopularPost:function(t,e){if(this.selectedPosts.length)if(this.selectedPosts.map((function(t){return t.id})).includes(t))this.selectedPosts=this.selectedPosts.filter((function(e){return e.id!=t}));else{if(this.selectedPosts.length>=12)return swal("Oops!","You can only select 12 popular posts","error"),void(event.currentTarget.checked=!1);this.selectedPosts.push(e)}else this.selectedPosts.push(e)},toggleSelectedPost:function(t){this.selectedPosts=this.selectedPosts.filter((function(e){return e.id!==t.id}))},handlePostByIdSearch:function(){var t=this;event.currentTarget.blur(),this.selectedPosts.length>=12?swal("Oops","You can only select 12 posts","error"):(this.favouritePostByIdFetching=!0,axios.post("/i/admin/api/directory/add-by-id",{q:this.favouritePostByIdInput}).then((function(e){t.selectedPosts.map((function(t){return t.id})).includes(e.data.id)?swal("Oops!","You already selected this post!","error"):(t.selectedPosts.push(e.data),t.favouritePostByIdInput="",t.popularPosts=t.popularPosts.filter((function(t){return t.id!=e.data.id})))})).then((function(){t.favouritePostByIdFetching=!1,a("#favposts-1-tab").tab("show")})).catch((function(e){swal("Invalid Post","The post id you added is not valid","error"),t.favouritePostByIdFetching=!1})))},save:function(){axios.post("/i/admin/api/directory/save",{location:this.form.location,summary:this.form.summary,admin_uid:this.form.contact_account,contact_email:this.form.contact_email,favourite_posts:this.selectedPosts.map((function(t){return t.id})),privacy_pledge:this.form.privacy_pledge}).then((function(t){swal("Success!","Successfully saved directory settings","success")})).catch((function(t){swal("Oops!",t.response.data.message,"error")}))},uploadBannerImage:function(){var t=this;if(this.isUploadingBanner=!0,window.confirm("Are you sure you want to update your server banner image?")){var e=new FormData;e.append("banner_image",this.$refs.bannerImageRef.files[0]),axios.post("/i/admin/api/directory/save",e,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){t.form.banner_image=e.data.banner_image,t.isUploadingBanner=!1})).catch((function(e){swal("Error",e.response.data.message,"error"),t.isUploadingBanner=!1}))}else this.isUploadingBanner=!1},deleteBannerImage:function(){var t=this;window.confirm("Are you sure you want to delete your server banner image?")&&axios.delete("/i/admin/api/directory/banner-image").then((function(e){t.form.banner_image=e.data})).catch((function(t){console.log(t)}))},handleSubmit:function(){var t=this;window.confirm("Are you sure you want to submit your server?")&&(this.isSubmitting=!0,axios.post("/i/admin/api/directory/submit").then((function(e){setTimeout((function(){t.isSubmitting=!1,t.state.is_active=!0,console.log(e.data)}),3e3)})).catch((function(t){swal("Error",t.response.data.message,"error")})))},deleteTestimonial:function(t){var e=this;window.confirm("Are you sure you want to delete the testimonial by "+t.profile.username+"?")&&axios.post("/i/admin/api/directory/testimonial/delete",{profile_id:t.profile.id}).then((function(s){e.testimonials=e.testimonials.filter((function(e){return e.profile.id!=t.profile.id}))}))},editTestimonial:function(t){this.isEditingTestimonial=!0,this.editingTestimonial=t},saveTestimonial:function(){var t,e=this;null===(t=event.currentTarget)||void 0===t||t.blur(),axios.post("/i/admin/api/directory/testimonial/save",{username:this.testimonial.username,body:this.testimonial.body}).then((function(t){e.testimonials.push(t.data),e.testimonial={username:void 0,body:void 0}})).catch((function(t){var e=t.response.data.hasOwnProperty("error")?t.response.data.error:t.response.data.message;swal("Oops!",e,"error")}))},cancelEditTestimonial:function(){var t;null===(t=event.currentTarget)||void 0===t||t.blur(),this.isEditingTestimonial=!1,this.editingTestimonial={}},saveEditTestimonial:function(){var t,e=this;null===(t=event.currentTarget)||void 0===t||t.blur(),axios.post("/i/admin/api/directory/testimonial/update",{profile_id:this.editingTestimonial.profile.id,body:this.editingTestimonial.body}).then((function(t){e.isEditingTestimonial=!1,e.editingTestimonial={}}))}},watch:{selectedPosts:function(t){var e=t.map((function(t){return t.id}));this.popularPosts=this.popularPosts.filter((function(t){return!e.includes(t.id)}))}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminHashtags.vue?vue&type=script&lang=js":
|
||
/*!*****************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminHashtags.vue?vue&type=script&lang=js ***!
|
||
\*****************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(/*! @trevoreyre/autocomplete-vue */"./node_modules/@trevoreyre/autocomplete-vue/dist/autocomplete.esm.js");s(/*! @trevoreyre/autocomplete-vue/dist/style.css */"./node_modules/@trevoreyre/autocomplete-vue/dist/style.css");const o={components:{Autocomplete:a.default},data:function(){return{loaded:!1,tabIndex:0,stats:{total_unique:0,total_posts:0,added_14_days:0,total_banned:0,total_nsfw:0},hashtags:[],pagination:[],sortCol:void 0,sortDir:void 0,trendingTags:[],bannedTags:[],showEditModal:!1,editingHashtag:void 0,editSaved:!1,editSavedTimeout:void 0,searchLoading:!1}},mounted:function(){var t=this;this.fetchStats(),this.fetchHashtags(),this.$root.$on("bv::modal::hidden",(function(e,s){t.editSaved=!1,clearTimeout(t.editSavedTimeout),t.editingHashtag=void 0}))},watch:{editingHashtag:{deep:!0,immediate:!0,handler:function(t,e){null!=t&&null!=e&&this.storeHashtagEdit(t)}}},methods:{fetchStats:function(){var t=this;axios.get("/i/admin/api/hashtags/stats").then((function(e){t.stats=e.data}))},fetchHashtags:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/i/admin/api/hashtags/query";axios.get(e).then((function(e){t.hashtags=e.data.data,t.pagination={next:e.data.links.next,prev:e.data.links.prev},t.loaded=!0}))},prettyCount:function(t){return t?t.toLocaleString("en-CA",{compactDisplay:"short",notation:"compact"}):t},timeAgo:function(t){return t?App.util.format.timeAgo(t):t},boolIcon:function(t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"text-muted";return t?'<i class="far fa-check-circle fa-lg '.concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text-success",'"></i>'):'<i class="far fa-times-circle fa-lg '.concat(e,'"></i>')},paginate:function(t){event.currentTarget.blur();var e="next"==t?this.pagination.next:this.pagination.prev;this.fetchHashtags(e)},toggleCol:function(t){this.sortCol=t,this.sortDir?this.sortDir="asc"==this.sortDir?"desc":"asc":this.sortDir="desc";var e="/i/admin/api/hashtags/query?sort="+t+"&dir="+this.sortDir;this.fetchHashtags(e)},buildColumn:function(t,e){var s='<i class="far fa-sort"></i>';return e==this.sortCol&&(s="desc"==this.sortDir?'<i class="far fa-sort-up"></i>':'<i class="far fa-sort-down"></i>'),"".concat(t," ").concat(s)},toggleTab:function(t){var e=this;if(this.loaded=!1,this.tabIndex=t,0===t)this.fetchHashtags();else if(1===t)axios.get("/api/v1.1/discover/posts/hashtags").then((function(t){e.trendingTags=t.data,e.loaded=!0}));else if(2===t){this.fetchHashtags("/i/admin/api/hashtags/query?action=banned")}else if(3===t){this.fetchHashtags("/i/admin/api/hashtags/query?action=nsfw")}},openEditHashtagModal:function(t){var e=this;this.editSaved=!1,clearTimeout(this.editSavedTimeout),this.$nextTick((function(){axios.get("/i/admin/api/hashtags/get",{params:{id:t.id}}).then((function(t){e.editingHashtag=t.data.data,e.showEditModal=!0}))}))},storeHashtagEdit:function(t,e){var s=this;this.editSaved=!1,t.is_banned&&(t.can_trend||t.can_search)&&swal("Banned Hashtag Limits","Banned hashtags cannot trend or be searchable, to allow those you need to unban the hashtag","error"),axios.post("/i/admin/api/hashtags/update",t).then((function(e){s.editSaved=!0,1!==s.tabIndex&&(s.hashtags=s.hashtags.map((function(s){return s.id==t.id&&(s=e.data.data),s}))),s.editSavedTimeout=setTimeout((function(){s.editSaved=!1}),5e3)})).catch((function(t){swal("Oops!","An error occured, please try again.","error"),console.log(t)}))},composeSearch:function(t){return t.length<1?[]:axios.get("/i/admin/api/hashtags/query",{params:{q:t,sort:"cached_count",dir:"desc"}}).then((function(t){return t.data.data}))},getTagResultValue:function(t){return t.name},onSearchResultClick:function(t){this.openEditHashtagModal(t)},clearTrendingCache:function(){event.currentTarget.blur(),window.confirm("Are you sure you want to clear the trending hashtags cache?")&&axios.post("/i/admin/api/hashtags/clear-trending-cache").then((function(t){swal("Cache Cleared!","Successfully cleared the trending hashtag cache!","success")}))}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminInstances.vue?vue&type=script&lang=js":
|
||
/*!******************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminInstances.vue?vue&type=script&lang=js ***!
|
||
\******************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>u});var a=s(/*! @trevoreyre/autocomplete-vue */"./node_modules/@trevoreyre/autocomplete-vue/dist/autocomplete.esm.js");s(/*! @trevoreyre/autocomplete-vue/dist/style.css */"./node_modules/@trevoreyre/autocomplete-vue/dist/style.css");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},o(t)}function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return e};var t,e={},s=Object.prototype,a=s.hasOwnProperty,i=Object.defineProperty||function(t,e,s){t[e]=s.value},r="function"==typeof Symbol?Symbol:{},l=r.iterator||"@@iterator",c=r.asyncIterator||"@@asyncIterator",d=r.toStringTag||"@@toStringTag";function u(t,e,s){return Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,s){return t[e]=s}}function m(t,e,s,a){var o=e&&e.prototype instanceof b?e:b,n=Object.create(o.prototype),r=new M(a||[]);return i(n,"_invoke",{value:A(t,s,r)}),n}function p(t,e,s){try{return{type:"normal",arg:t.call(e,s)}}catch(t){return{type:"throw",arg:t}}}e.wrap=m;var v="suspendedStart",f="suspendedYield",_="executing",h="completed",g={};function b(){}function y(){}function C(){}var w={};u(w,l,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(L([])));k&&k!==s&&a.call(k,l)&&(w=k);var j=C.prototype=b.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function R(t,e){function s(n,i,r,l){var c=p(t[n],t,i);if("throw"!==c.type){var d=c.arg,u=d.value;return u&&"object"==o(u)&&a.call(u,"__await")?e.resolve(u.__await).then((function(t){s("next",t,r,l)}),(function(t){s("throw",t,r,l)})):e.resolve(u).then((function(t){d.value=t,r(d)}),(function(t){return s("throw",t,r,l)}))}l(c.arg)}var n;i(this,"_invoke",{value:function(t,a){function o(){return new e((function(e,o){s(t,a,e,o)}))}return n=n?n.then(o,o):o()}})}function A(e,s,a){var o=v;return function(n,i){if(o===_)throw Error("Generator is already running");if(o===h){if("throw"===n)throw i;return{value:t,done:!0}}for(a.method=n,a.arg=i;;){var r=a.delegate;if(r){var l=T(r,a);if(l){if(l===g)continue;return l}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(o===v)throw o=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);o=_;var c=p(e,s,a);if("normal"===c.type){if(o=a.done?h:f,c.arg===g)continue;return{value:c.arg,done:a.done}}"throw"===c.type&&(o=h,a.method="throw",a.arg=c.arg)}}}function T(e,s){var a=s.method,o=e.iterator[a];if(o===t)return s.delegate=null,"throw"===a&&e.iterator.return&&(s.method="return",s.arg=t,T(e,s),"throw"===s.method)||"return"!==a&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+a+"' method")),g;var n=p(o,e.iterator,s.arg);if("throw"===n.type)return s.method="throw",s.arg=n.arg,s.delegate=null,g;var i=n.arg;return i?i.done?(s[e.resultName]=i.value,s.next=e.nextLoc,"return"!==s.method&&(s.method="next",s.arg=t),s.delegate=null,g):i:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,g)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function L(e){if(e||""===e){var s=e[l];if(s)return s.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function s(){for(;++n<e.length;)if(a.call(e,n))return s.value=e[n],s.done=!1,s;return s.value=t,s.done=!0,s};return i.next=i}}throw new TypeError(o(e)+" is not iterable")}return y.prototype=C,i(j,"constructor",{value:C,configurable:!0}),i(C,"constructor",{value:y,configurable:!0}),y.displayName=u(C,d,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,C):(t.__proto__=C,u(t,d,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},S(R.prototype),u(R.prototype,c,(function(){return this})),e.AsyncIterator=R,e.async=function(t,s,a,o,n){void 0===n&&(n=Promise);var i=new R(m(t,s,a,o),n);return e.isGeneratorFunction(s)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},S(j),u(j,d,"Generator"),u(j,l,(function(){return this})),u(j,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),s=[];for(var a in e)s.push(a);return s.reverse(),function t(){for(;s.length;){var a=s.pop();if(a in e)return t.value=a,t.done=!1,t}return t.done=!0,t}},e.values=L,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var s in this)"t"===s.charAt(0)&&a.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var s=this;function o(a,o){return r.type="throw",r.arg=e,s.next=a,o&&(s.method="next",s.arg=t),!!o}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],r=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var s=this.tryEntries.length-1;s>=0;--s){var o=this.tryEntries[s];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var n=o;break}}n&&("break"===t||"continue"===t)&&n.tryLoc<=e&&e<=n.finallyLoc&&(n=null);var i=n?n.completion:{};return i.type=t,i.arg=e,n?(this.method="next",this.next=n.finallyLoc,g):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.finallyLoc===t)return this.complete(s.completion,s.afterLoc),P(s),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.tryLoc===t){var a=s.completion;if("throw"===a.type){var o=a.arg;P(s)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,s,a){return this.delegate={iterator:L(e),resultName:s,nextLoc:a},"next"===this.method&&(this.arg=t),g}},e}function i(t,e,s,a,o,n,i){try{var r=t[n](i),l=r.value}catch(t){return void s(t)}r.done?e(l):Promise.resolve(l).then(a,o)}function r(t){return function(){var e=this,s=arguments;return new Promise((function(a,o){var n=t.apply(e,s);function r(t){i(n,a,o,r,l,"next",t)}function l(t){i(n,a,o,r,l,"throw",t)}r(void 0)}))}}function l(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function c(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?l(Object(s),!0).forEach((function(e){d(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):l(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}function d(t,e,s){var a;return a=function(t,e){if("object"!=o(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==o(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const u={components:{Autocomplete:a.default},data:function(){return{loaded:!1,tabIndex:0,stats:{total_count:0,new_count:0,banned_count:0,nsfw_count:0},instances:[],pagination:[],sortCol:void 0,sortDir:void 0,searchQuery:void 0,filterMap:["all","new","banned","cw","unlisted","popular_users","popular_statuses"],searchLoading:!1,showInstanceModal:!1,instanceModal:{},editingInstanceChanges:!1,canEditInstance:!1,editingInstance:{},editingInstanceIndex:0,instanceModalNotes:!1,showAddModal:!1,refreshedModalStats:!1,addNewInstance:{domain:"",banned:!1,auto_cw:!1,unlisted:!1,notes:void 0},showImportForm:!1,showImportModal:!1,importData:void 0}},mounted:function(){this.fetchStats();var t=new URLSearchParams(window.location.search);if(!t.has("filter")||t.has("q")||t.has("sort"))if(t.has("sort")&&!t.has("q")){var e=new URL(window.location.origin+"/i/admin/api/instances/get");e.searchParams.set("sort",t.get("sort")),t.has("dir")&&e.searchParams.set("dir",t.get("dir")),t.has("filter")&&e.searchParams.set("filter",t.get("filter")),t.has("cursor")&&e.searchParams.set("cursor",t.get("cursor")),this.fetchInstances(e.toString())}else if(t.has("q")){this.tabIndex=-1,this.searchQuery=t.get("q");var s=new URL(window.location.origin+"/i/admin/api/instances/query");s.searchParams.set("q",t.get("q")),t.has("cursor")&&s.searchParams.set("cursor",t.get("cursor")),this.fetchInstances(s.toString())}else this.fetchInstances();else{var a=new URL(window.location.origin+"/i/admin/api/instances/get");t.has("filter")&&(this.tabIndex=this.filterMap.indexOf(t.get("filter")),a.searchParams.set("filter",t.get("filter"))),t.has("cursor")&&a.searchParams.set("cursor",t.get("cursor")),this.fetchInstances(a.toString())}},watch:{editingInstance:{deep:!0,immediate:!0,handler:function(t,e){this.canEditInstance&&(JSON.stringify(e)===JSON.stringify(this.instances.filter((function(e){return e.id===t.id}))[0])&&JSON.stringify(t)===JSON.stringify(this.instanceModal)?this.editingInstanceChanges=!0:this.editingInstanceChanges=!1)}}},methods:{fetchStats:function(){var t=this;axios.get("/i/admin/api/instances/stats").then((function(e){t.stats=e.data}))},fetchInstances:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/i/admin/api/instances/get";axios.get(e).then((function(e){t.instances=e.data.data,t.pagination=c(c({},e.data.links),e.data.meta)})).then((function(){t.$nextTick((function(){t.loaded=!0}))}))},toggleTab:function(t){this.loaded=!1,this.tabIndex=t,this.searchQuery=void 0;var e="/i/admin/api/instances/get?filter="+this.filterMap[t];history.pushState(null,"","/i/admin/instances?filter="+this.filterMap[t]),this.fetchInstances(e)},prettyCount:function(t){return t?t.toLocaleString("en-CA",{compactDisplay:"short",notation:"compact"}):0},formatCount:function(t){return t?t.toLocaleString("en-CA"):0},timeAgo:function(t){return t?App.util.format.timeAgo(t):t},boolIcon:function(t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"text-muted";return t?'<i class="far fa-check-circle fa-lg '.concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text-success",'"></i>'):'<i class="far fa-times-circle fa-lg '.concat(e,'"></i>')},toggleCol:function(t){if(this.filterMap[this.tabIndex]!=t&&!this.searchQuery){this.sortCol=t,this.sortDir?this.sortDir="asc"==this.sortDir?"desc":"asc":this.sortDir="desc";var e=new URL(window.location.origin+"/i/admin/instances");e.searchParams.set("sort",t),e.searchParams.set("dir",this.sortDir),0!=this.tabIndex&&e.searchParams.set("filter",this.filterMap[this.tabIndex]),history.pushState(null,"",e);var s=new URL(window.location.origin+"/i/admin/api/instances/get");s.searchParams.set("sort",t),s.searchParams.set("dir",this.sortDir),0!=this.tabIndex&&s.searchParams.set("filter",this.filterMap[this.tabIndex]),this.fetchInstances(s.toString())}},buildColumn:function(t,e){if(-1!=[1,5,6].indexOf(this.tabIndex)||this.searchQuery&&this.searchQuery.length)return t;if(2===this.tabIndex&&"banned"===e)return t;if(3===this.tabIndex&&"auto_cw"===e)return t;if(4===this.tabIndex&&"unlisted"===e)return t;var s='<i class="far fa-sort"></i>';return e==this.sortCol&&(s="desc"==this.sortDir?'<i class="far fa-sort-up"></i>':'<i class="far fa-sort-down"></i>'),"".concat(t," ").concat(s)},paginate:function(t){event.currentTarget.blur();var e="next"==t?this.pagination.next:this.pagination.prev,s="next"==t?this.pagination.next_cursor:this.pagination.prev_cursor,a=new URL(window.location.origin+"/i/admin/instances");s&&a.searchParams.set("cursor",s),this.searchQuery&&a.searchParams.set("q",this.searchQuery),this.sortCol&&a.searchParams.set("sort",this.sortCol),this.sortDir&&a.searchParams.set("dir",this.sortDir),history.pushState(null,"",a.toString()),this.fetchInstances(e)},composeSearch:function(t){var e=this;return t.length<1?[]:(this.searchQuery=t,history.pushState(null,"","/i/admin/instances?q="+t),axios.get("/i/admin/api/instances/query",{params:{q:t}}).then((function(t){return t&&t.data?(e.tabIndex=-1,e.instances=t.data.data,e.pagination=c(c({},t.data.links),t.data.meta)):e.fetchInstances(),t.data.data})))},getTagResultValue:function(t){return t.name},onSearchResultClick:function(t){this.openInstanceModal(t.id)},openInstanceModal:function(t){var e=this,s=this.instances.filter((function(e){return e.id===t}))[0];this.refreshedModalStats=!1,this.editingInstanceChanges=!1,this.instanceModalNotes=!1,this.canEditInstance=!1,this.instanceModal=s,this.$nextTick((function(){e.editingInstance=s,e.showInstanceModal=!0,e.canEditInstance=!0}))},showModalNotes:function(){this.instanceModalNotes=!0},saveInstanceModalChanges:function(){var t=this;axios.post("/i/admin/api/instances/update",this.editingInstance).then((function(e){t.showInstanceModal=!1,t.$bvToast.toast("Successfully updated ".concat(e.data.data.domain),{title:"Instance Updated",autoHideDelay:5e3,appendToast:!0,variant:"success"})}))},saveNewInstance:function(){var t=this;axios.post("/i/admin/api/instances/create",this.addNewInstance).then((function(e){t.showInstanceModal=!1,t.instances.unshift(e.data.data)})).catch((function(e){swal("Oops!","An error occured, please try again later.","error"),t.addNewInstance={domain:"",banned:!1,auto_cw:!1,unlisted:!1,notes:void 0}}))},refreshModalStats:function(){var t=this;axios.post("/i/admin/api/instances/refresh-stats",{id:this.instanceModal.id}).then((function(e){t.refreshedModalStats=!0,t.instanceModal=e.data.data,t.editingInstance=e.data.data,t.instances=t.instances.map((function(t){return t.id===e.data.data.id?e.data.data:t}))}))},deleteInstanceModal:function(){var t=this;window.confirm("Are you sure you want to delete this instance? This will not delete posts or profiles from this instance.")&&axios.post("/i/admin/api/instances/delete",{id:this.instanceModal.id}).then((function(e){t.showInstanceModal=!1,t.instances=t.instances.filter((function(e){return e.id!=t.instanceModal.id}))})).then((function(){setTimeout((function(){return t.fetchStats()}),1e3)}))},openImportForm:function(){var t=document.createElement("p");t.classList.add("text-left"),t.classList.add("mb-0"),t.innerHTML='<p class="lead mb-0">Import your instance moderation backup.</span></p><br /><p>Import Instructions:</p><ol><li>Press OK</li><li>Press "Choose File" on Import form input</li><li>Select your <kbd>pixelfed-instances-mod.json</kbd> file</li><li>Review instance moderation actions. Tap on an instance to remove it</li><li>Press "Import" button to finish importing</li></ol>';var e=document.createElement("div");e.appendChild(t),swal({title:"Import Backup",content:e,icon:"info"}),this.showImportForm=!0},downloadBackup:function(t){axios.get("/i/admin/api/instances/download-backup",{responseType:"blob"}).then((function(t){var e=document.createElement("a");e.setAttribute("download","pixelfed-instances-mod.json");var s=URL.createObjectURL(t.data);e.href=s,e.setAttribute("target","_blank"),e.click(),swal("Instance Backup Downloading","Your instance moderation backup is downloading. Use this to import auto_cw, banned and unlisted instances to supported Pixelfed instances.","success")}))},onImportUpload:function(t){var e=this;return r(n().mark((function s(){var a;return n().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,e.getParsedImport(t.target.files[0]);case 2:if((a=s.sent).hasOwnProperty("version")&&1===a.version){s.next=8;break}return swal("Invalid Backup","We cannot validate this backup. Please try again later.","error"),e.showImportForm=!1,e.$refs.importInput.reset(),s.abrupt("return");case 8:e.importData=a,e.showImportModal=!0;case 10:case"end":return s.stop()}}),s)})))()},getParsedImport:function(t){var e=this;return r(n().mark((function s(){var a,o;return n().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,e.parseJsonFile(t);case 3:return s.abrupt("return",s.sent);case 6:return s.prev=6,s.t0=s.catch(0),(a=document.createElement("p")).classList.add("text-left"),a.classList.add("mb-0"),a.innerHTML='<p class="lead">An error occured when attempting to parse the import file. <span class="font-weight-bold">Please try again later.</span></p><br /><p class="small text-danger mb-0">Error message:</p><div class="card card-body"><code>'+s.t0.message+"</code></div>",(o=document.createElement("div")).appendChild(a),swal({title:"Import Error",content:o,icon:"error"}),s.abrupt("return");case 16:case"end":return s.stop()}}),s,null,[[0,6]])})))()},promisedParseJSON:function(t){return r(n().mark((function e(){return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,s){try{e(JSON.parse(t))}catch(t){s(t)}})));case 1:case"end":return e.stop()}}),e)})))()},parseJsonFile:function(t){var e=this;return r(n().mark((function s(){return n().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",new Promise((function(s,a){var o=new FileReader;o.onload=function(t){return s(e.promisedParseJSON(t.target.result))},o.onerror=function(t){return a(t)},o.readAsText(t)})));case 1:case"end":return s.stop()}}),s)})))()},filterImportData:function(t,e){switch(t){case"auto_cw":this.importData.auto_cw.splice(e,1);break;case"unlisted":this.importData.unlisted.splice(e,1);break;case"banned":this.importData.banned.splice(e,1)}},completeImport:function(){var t=this;this.showImportForm=!1,axios.post("/i/admin/api/instances/import-data",{banned:this.importData.banned,auto_cw:this.importData.auto_cw,unlisted:this.importData.unlisted}).then((function(t){swal("Import Uploaded","Import successfully uploaded, please allow a few minutes to process.","success")})).then((function(){setTimeout((function(){return t.fetchStats()}),1e3)}))},cancelImport:function(t){if(this.importData.banned.length||this.importData.auto_cw.length||this.importData.unlisted.length){if(!window.confirm("Are you sure you want to cancel importing?"))return void t.preventDefault();this.showImportForm=!1,this.$refs.importInput.value="",this.importData={banned:[],auto_cw:[],unlisted:[]}}},onViewMoreInstance:function(){this.showInstanceModal=!1,window.location.href="/i/admin/instances/show/"+this.instanceModal.id}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminReports.vue?vue&type=script&lang=js":
|
||
/*!****************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminReports.vue?vue&type=script&lang=js ***!
|
||
\****************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! ./partial/AdminRemoteReportModal.vue */"./resources/assets/components/admin/partial/AdminRemoteReportModal.vue"),o=s(/*! jquery */"./node_modules/jquery/dist/jquery.js");const n={components:{"admin-report-modal":a.default},data:function(){return{loaded:!1,stats:{total:0,open:0,closed:0,autospam:0,autospam_open:0,remote_open:0},tabIndex:0,reports:[],pagination:{},showReportModal:!1,viewingReport:void 0,viewingReportLoading:!1,autospam:[],autospamPagination:{},autospamLoaded:!1,showSpamReportModal:!1,viewingSpamReport:void 0,viewingSpamReportLoading:!1,remoteReportsLoaded:!1,showRemoteReportModal:void 0,remoteReportModalModel:{}}},mounted:function(){var t=new URLSearchParams(window.location.search);t.has("tab")&&t.has("id")&&"autospam"===t.get("tab")?(this.fetchStats(null,"/i/admin/api/reports/spam/all"),this.fetchSpamReport(t.get("id"))):t.has("tab")&&t.has("id")&&"report"===t.get("tab")?(this.fetchStats(),this.fetchReport(t.get("id"))):(window.history.pushState(null,null,"/i/admin/reports"),this.fetchStats()),this.$root.$on("bv::modal::hide",(function(t,e){window.history.pushState(null,null,"/i/admin/reports")}))},methods:{toggleTab:function(t){switch(t){case 0:this.fetchStats("/i/admin/api/reports/all");break;case 1:this.fetchStats("/i/admin/api/reports/all?filter=closed");break;case 2:this.fetchStats(null,"/i/admin/api/reports/spam/all");break;case 3:this.fetchRemoteReports()}window.history.pushState(null,null,"/i/admin/reports"),this.tabIndex=t},prettyCount:function(t){return t?t.toLocaleString("en-CA",{compactDisplay:"short",notation:"compact"}):t},timeAgo:function(t){return t?App.util.format.timeAgo(t):t},formatDate:function(t){var e=new Date(t);return new Intl.DateTimeFormat("default",{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"}).format(e)},reportLabel:function(t){switch(t.object_type){case"App\\Profile":return"".concat(t.type," Profile");case"App\\Status":return"".concat(t.type," Post");case"App\\Story":return"".concat(t.type," Story")}},fetchStats:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/i/admin/api/reports/all",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;axios.get("/i/admin/api/reports/stats").then((function(e){t.stats=e.data})).finally((function(){e?t.fetchReports(e):s&&t.fetchAutospam(s),o('[data-toggle="tooltip"]').tooltip()}))},fetchReports:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/i/admin/api/reports/all";axios.get(e).then((function(e){t.reports=e.data.data,t.pagination={next:e.data.links.next,prev:e.data.links.prev}})).finally((function(){t.loaded=!0}))},fetchRemoteReports:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/i/admin/api/reports/remote";axios.get(e).then((function(e){t.reports=e.data.data,t.pagination={next:e.data.links.next,prev:e.data.links.prev}})).finally((function(){t.loaded=!0,t.remoteReportsLoaded=!0}))},remoteReportPaginate:function(t){event.currentTarget.blur();var e="next"==t?this.pagination.next:this.pagination.prev;this.fetchRemoteReports(e)},handleCloseRemoteReportModal:function(){this.showRemoteReportModal=!1},showRemoteReport:function(t){this.remoteReportModalModel=t,this.showRemoteReportModal=!0},refreshRemoteReports:function(){var t=this;this.fetchStats(""),this.$nextTick((function(){t.toggleTab(3)}))},paginate:function(t){event.currentTarget.blur();var e="next"==t?this.pagination.next:this.pagination.prev;this.fetchReports(e)},viewReport:function(t){this.viewingReportLoading=!1,this.viewingReport=t,this.showReportModal=!0,window.history.pushState(null,null,"/i/admin/reports?tab=report&id="+t.id),setTimeout((function(){pixelfed.readmore()}),1e3)},handleAction:function(t,e){var s=this;event.currentTarget.blur(),this.viewingReportLoading=!0,"ignore"===e||window.confirm(this.getActionLabel(t,e))?(this.loaded=!1,axios.post("/i/admin/api/reports/handle",{id:this.viewingReport.id,object_id:this.viewingReport.object_id,object_type:this.viewingReport.object_type,action:e,action_type:t}).catch((function(t){swal("Error",t.response.data.error,"error")})).finally((function(){s.viewingReportLoading=!0,s.viewingReport=!1,s.showReportModal=!1,setTimeout((function(){s.fetchStats()}),1e3)}))):this.viewingReportLoading=!1},getActionLabel:function(t,e){if("profile"===t)switch(e){case"ignore":return"Are you sure you want to ignore this profile report?";case"nsfw":return"Are you sure you want to mark this profile as NSFW?";case"unlist":return"Are you sure you want to mark all posts by this profile as unlisted?";case"private":return"Are you sure you want to mark all posts by this profile as private?";case"delete":return"Are you sure you want to delete this profile?"}else if("post"===t)switch(e){case"ignore":return"Are you sure you want to ignore this post report?";case"nsfw":return"Are you sure you want to mark this post as NSFW?";case"unlist":return"Are you sure you want to mark this post as unlisted?";case"private":return"Are you sure you want to mark this post as private?";case"delete":return"Are you sure you want to delete this post?"}else if("story"===t)switch(e){case"ignore":return"Are you sure you want to ignore this story report?";case"delete":return"Are you sure you want to delete this story?";case"delete-all":return"Are you sure you want to delete all stories by this account?"}},fetchAutospam:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/i/admin/api/reports/spam/all";axios.get(e).then((function(e){t.autospam=e.data.data,t.autospamPagination={next:e.data.links.next,prev:e.data.links.prev}})).finally((function(){t.autospamLoaded=!0,t.loaded=!0}))},autospamPaginate:function(t){event.currentTarget.blur();var e="next"==t?this.autospamPagination.next:this.autospamPagination.prev;this.fetchAutospam(e)},viewSpamReport:function(t){this.viewingSpamReportLoading=!1,this.viewingSpamReport=t,this.showSpamReportModal=!0,window.history.pushState(null,null,"/i/admin/reports?tab=autospam&id="+t.id),setTimeout((function(){pixelfed.readmore()}),1e3)},getSpamActionLabel:function(t){switch(t){case"mark-all-read":return"Are you sure you want to mark all spam reports by this account as read?";case"mark-all-not-spam":return"Are you sure you want to mark all spam reports by this account as not spam?";case"delete-profile":return"Are you sure you want to delete this profile?"}},handleSpamAction:function(t){var e=this;event.currentTarget.blur(),this.viewingSpamReportLoading=!0,"mark-not-spam"===t||"mark-read"===t||window.confirm(this.getSpamActionLabel(t))?(this.loaded=!1,axios.post("/i/admin/api/reports/spam/handle",{id:this.viewingSpamReport.id,action:t}).catch((function(t){swal("Error",t.response.data.error,"error")})).finally((function(){e.viewingSpamReportLoading=!0,e.viewingSpamReport=!1,e.showSpamReportModal=!1,setTimeout((function(){e.fetchStats(null,"/i/admin/api/reports/spam/all")}),500)}))):this.viewingSpamReportLoading=!1},fetchReport:function(t){var e=this;axios.get("/i/admin/api/reports/get/"+t).then((function(t){e.tabIndex=0,e.viewReport(t.data.data)})).catch((function(t){e.fetchStats(),window.history.pushState(null,null,"/i/admin/reports")}))},fetchSpamReport:function(t){var e=this;axios.get("/i/admin/api/reports/spam/get/"+t).then((function(t){e.tabIndex=2,e.viewSpamReport(t.data.data)})).catch((function(t){e.fetchStats(),window.history.pushState(null,null,"/i/admin/reports")}))}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminSettings.vue?vue&type=script&lang=js":
|
||
/*!*****************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminSettings.vue?vue&type=script&lang=js ***!
|
||
\*****************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! ./partial/AdminReadMore.vue */"./resources/assets/components/admin/partial/AdminReadMore.vue"),o=s(/*! ./partial/AdminSettingsTabHeader.vue */"./resources/assets/components/admin/partial/AdminSettingsTabHeader.vue"),n=s(/*! ./partial/AdminSettingsCheckbox.vue */"./resources/assets/components/admin/partial/AdminSettingsCheckbox.vue"),i=s(/*! ./partial/AdminSettingsInput.vue */"./resources/assets/components/admin/partial/AdminSettingsInput.vue");const r={components:{"admin-read-more":a.default,"tab-header":o.default,checkbox:n.default,"form-input":i.default},data:function(){return{loaded:!1,initialData:{},tabIndex:1,tabbies:["landing","branding","media","posts","platform","rules","users","storage"],tabs:[{id:1,title:"Overview",icon:"far fa-home"},{id:"landing",title:"Landing",icon:"far fa-info-circle"},{id:"branding",title:"Branding",icon:"far fa-user-crown"},{id:"media",title:"Media",icon:"far fa-image"},{id:"platform",title:"Platform",icon:"far fa-database"},{id:"posts",title:"Posts",icon:"far fa-heart"},{id:"rules",title:"Rules",icon:"far fa-eye-slash"},{id:"storage",title:"Storage",icon:"far fa-hdd"},{id:"users",title:"Users",icon:"far fa-users"}],isSubmitting:!1,isSubmittingTimeout:!1,isSubmittingTimeoutHandler:void 0,features:[],landing:{current_admin:0},branding:[],media:[],mediaTypes:{jpeg:!1,png:!1,gif:!1,webp:!1,avif:!1,heic:!1,mp4:!1,mov:!1},rules:[],users:[],posts:[],platform:[],storage:[],newRule:void 0,isSubmittingNewRule:!1,isDeletingRule:!1,suggestedRules:[],hasDuplicateRules:!1,showAllRules:!1,showDiskConfig:!1}},computed:{maxMediaSizeToMb:{get:function(){return this.media&&this.media.max_photo_size?(this.media.max_photo_size/1e3).toFixed(2)+" MB":"0.00 MB"}},maxAccountSizeToMb:{get:function(){if(!this.users||!this.users.max_account_size)return"0.00 MB";var t=this.users.max_account_size/1024;return t>1e6?(t/1e6).toFixed(1)+"TB":t>1e3?(t/1024).toFixed(2)+"GB":(this.users.max_account_size/1024).toFixed(2)+" MB"}},rulesComputed:{get:function(){return this.rules&&this.rules.length?this.rules.length>2&&!this.showAllRules?this.rules.slice(0,2):this.rules:[]}},suggestedRulesComputed:{get:function(){var t=this;return this.rules&&this.rules.length?this.suggestedRules.filter((function(e){return!t.rules.includes(e)})):this.suggestedRules}},hasDuplicateRulesComputed:{get:function(){if(!this.rules||!this.rules.length)return!1;var t=this.rules;return t.filter((function(e,s){return t.indexOf(e)!==s})).length}},activeMediaTypes:{get:function(){var t="";return this.mediaTypes.jpeg&&(t+="image/jpeg,"),this.mediaTypes.png&&(t+="image/png,"),this.mediaTypes.gif&&(t+="image/gif,"),this.mediaTypes.webp&&(t+="image/webp,"),this.mediaTypes.mp4&&(t+="video/mp4"),t.endsWith(",")&&(t=t.slice(0,-1)),t}}},mounted:function(){this.fetchInitialData();var t=new URL(window.location.href);if(t.searchParams.has("t")){var e=t.searchParams.get("t");this.tabbies.includes(e)?this.tabIndex=e:window.history.pushState(null,null,"/i/admin/settings")}},methods:{toggleTab:function(t){clearTimeout(this.isSubmittingTimeoutHandler),this.isSubmittingTimeout=!1,this.tabIndex=t,this.showAllRules=!1,this.tabbies.includes(t)?window.history.pushState(null,null,"/i/admin/settings?t="+t):window.history.pushState(null,null,"/i/admin/settings")},fetchInitialData:function(){var t=this;axios.get("/i/admin/api/settings/fetch").then((function(e){t.initialData=e.data,t.features=e.data.features,t.landing=e.data.landing,t.branding=e.data.branding,t.media=e.data.media,t.setMediaTypes(),t.rules=e.data.rules,t.users=e.data.users,t.suggestedRules=e.data.suggested_rules,t.posts=e.data.posts,t.platform=e.data.platform,t.storage=e.data.storage})).then((function(){t.loaded=!0}))},setMediaTypes:function(){var t=this,e=this.media.media_types.split(",");e&&e.length&&e.forEach((function(e){var s=e.split("/")[1];["jpeg","png","gif","webp","mp4"].includes(s)&&(t.mediaTypes[s]=!0)}))},formatCount:function(t){return window.App.util.format.count(t)},formatDateTime:function(t){var e=new Date(t);return new Intl.DateTimeFormat("en-US",{dateStyle:"medium",timeStyle:"short"}).format(e)},formatDate:function(t){var e=new Date(t);return new Intl.DateTimeFormat("en-US",{month:"short",year:"numeric"}).format(e)},formatTimestamp:function(t){return window.App.util.format.timeAgo(t)},handleSave:function(t){switch(this.isSubmitting=!0,t){case"overview":return this.saveHome();case"landing":return this.saveLanding();case"branding":return this.saveBranding();case"posts":return this.savePosts();case"media":return this.saveMedia();case"platform":return this.savePlatform();case"users":return this.saveUsers();case"storage":return this.saveStorage()}},handleAddRule:function(t){var e,s=this;null===(e=t.currentTarget)||void 0===e||e.blur(),this.isSubmittingNewRule=!0,axios.post("/i/admin/api/settings/rules/add",{rule:this.newRule}).then((function(t){s.rules.push(s.newRule),s.newRule=void 0,s.isSubmittingNewRule=!1,s.showAllRules=!0})).catch((function(t){var e;t.response.data&&null!==(e=t.response.data)&&void 0!==e&&e.message&&swal("Error",t.response.data.message,"error"),s.isSubmittingNewRule=!1}))},addSuggestedRule:function(t,e){var s;null===(s=e.currentTarget)||void 0===s||s.blur(),this.newRule=t},importAllDefaultRules:function(t){var e,s=this;null===(e=t.currentTarget)||void 0===e||e.blur(),this.isSubmittingNewRule=!0,this.showAllRules=!0;for(var a=function(){var t=s.suggestedRules[o];setTimeout((function(){axios.post("/i/admin/api/settings/rules/add",{rule:t}).then((function(e){s.rules.push(t)}))}),300*o)},o=this.suggestedRules.length-1;o>=0;o--)a();this.isSubmittingNewRule=!1},handleDeleteRule:function(t,e,s){var a,o=this;null===(a=s.currentTarget)||void 0===a||a.blur(),this.isDeletingRule=!0,axios.post("/i/admin/api/settings/rules/delete",{rule:t}).then((function(t){o.isDeletingRule=!1,o.rules=t.data})).catch((function(t){}))},handleDeleteAllRules:function(t){var e,s=this;null===(e=t.currentTarget)||void 0===e||e.blur(),this.isDeletingRule=!0,swal({title:"Confirm",text:"Are you sure you want to delete all rules?",buttons:!0,dangerMode:!0}).then((function(t){!0===t?axios.post("/i/admin/api/settings/rules/delete/all").then((function(t){s.isDeletingRule=!1,s.rules=[]})).catch((function(t){})):s.isDeletingRule=!1}))},removeAutofollow:function(t,e){var s,a=this;null===(s=e.currentTarget)||void 0===s||s.blur(),axios.post("/i/admin/api/settings/autofollow/delete",{username:t}).then((function(t){a.users.admin_autofollow_accounts=t.data.accounts})).catch((function(t){swal("Oops!","An error occurred, please try again later!","error")}))},addAutofollow:function(t){var e,s=this;null===(e=t.currentTarget)||void 0===e||e.blur(),swal({text:"Enter account username",content:"input",button:{text:"Add Autofollow",closeModal:!1}}).then((function(t){if(!t)throw null;axios.post("/i/admin/api/settings/autofollow/add",{username:t}).then((function(e){e.data.accounts.map((function(t){return t.toLowerCase()})).includes(t.toLowerCase())||swal("Oops!","The account you attempted to add does not exist or cannot be added!","error"),s.users.admin_autofollow_accounts=e.data.accounts,swal.stopLoading(),swal.close()})).catch((function(t){t.response.data&&t.response.data.message?swal("Error",t.response.data.message,"error"):swal("Oops!","The account you attempted to add does not exist or cannot be added!","error"),swal.stopLoading(),swal.close()}))}))},saveHome:function(){var t=this;axios.post("/i/admin/api/settings/update/home",{registration_status:this.features.registration_status,cloud_storage:this.features.cloud_storage,activitypub_enabled:this.features.activitypub_enabled,account_migration:this.features.account_migration,mobile_apis:this.features.mobile_apis,stories:this.features.stories,instagram_import:this.features.instagram_import,autospam_enabled:this.features.autospam_enabled}).then((function(e){t.isSubmitting=!1,t.isSubmittingTimeout=!0,t.isSubmittingTimeoutHandler=setTimeout((function(){t.isSubmittingTimeout=!1}),4e3)}))},saveLanding:function(){var t=this;axios.post("/i/admin/api/settings/update/landing",{current_admin:this.landing.current_admin,show_directory:this.landing.show_directory,show_explore:this.landing.show_explore}).then((function(e){t.isSubmitting=!1,t.isSubmittingTimeout=!0,t.isSubmittingTimeoutHandler=setTimeout((function(){t.isSubmittingTimeout=!1}),4e3)}))},saveBranding:function(){var t=this;axios.post("/i/admin/api/settings/update/branding",{name:this.branding.name,short_description:this.branding.short_description,long_description:this.branding.long_description}).then((function(e){t.isSubmitting=!1,t.isSubmittingTimeout=!0,t.isSubmittingTimeoutHandler=setTimeout((function(){t.isSubmittingTimeout=!1}),4e3)}))},savePosts:function(){var t=this;axios.post("/i/admin/api/settings/update/posts",{max_caption_length:this.posts.max_caption_length,max_altext_length:this.posts.max_altext_length}).then((function(e){t.posts=e.data,t.isSubmitting=!1,t.isSubmittingTimeout=!0,t.isSubmittingTimeoutHandler=setTimeout((function(){t.isSubmittingTimeout=!1}),4e3)})).catch((function(e){t.isSubmitting=!1,e.response.data&&e.response.data.message?swal("Error",e.response.data.message,"error"):swal("Oops!","An error occured","error")}))},saveMedia:function(){var t=this;axios.post("/i/admin/api/settings/update/media",{image_quality:this.media.image_quality,max_album_length:this.media.max_album_length,max_photo_size:this.media.max_photo_size,media_types:this.activeMediaTypes,optimize_image:this.media.optimize_image,optimize_video:this.media.optimize_video}).then((function(e){t.isSubmitting=!1,t.isSubmittingTimeout=!0,t.isSubmittingTimeoutHandler=setTimeout((function(){t.isSubmittingTimeout=!1}),4e3)})).catch((function(e){t.isSubmitting=!1,e.response.data&&e.response.data.message?swal("Error",e.response.data.message,"error"):swal("Oops!","An error occured","error")}))},savePlatform:function(){var t=this;axios.post("/i/admin/api/settings/update/platform",{allow_app_registration:this.platform.allow_app_registration,app_registration_rate_limit_attempts:this.platform.app_registration_rate_limit_attempts,app_registration_rate_limit_decay:this.platform.app_registration_rate_limit_decay,app_registration_confirm_rate_limit_attempts:this.platform.app_registration_confirm_rate_limit_attempts,app_registration_confirm_rate_limit_decay:this.platform.app_registration_confirm_rate_limit_decay,allow_post_embeds:this.platform.allow_post_embeds,allow_profile_embeds:this.platform.allow_profile_embeds,captcha_enabled:this.platform.captcha_enabled,captcha_secret:this.platform.captcha_secret,captcha_sitekey:this.platform.captcha_sitekey,captcha_on_login:this.platform.captcha_on_login,captcha_on_register:this.platform.captcha_on_register,custom_emoji_enabled:this.platform.custom_emoji_enabled}).then((function(e){t.platform=e.data,t.isSubmitting=!1,t.isSubmittingTimeout=!0,t.isSubmittingTimeoutHandler=setTimeout((function(){t.isSubmittingTimeout=!1}),4e3)})).catch((function(e){t.isSubmitting=!1,e.response.data&&e.response.data.message?swal("Error",e.response.data.message,"error"):swal("Oops!","An error occured","error")}))},saveUsers:function(){var t=this;axios.post("/i/admin/api/settings/update/users",{require_email_verification:this.users.require_email_verification,enforce_account_limit:this.users.enforce_account_limit,max_account_size:this.users.max_account_size,admin_autofollow:this.users.admin_autofollow,admin_autofollow_accounts:this.users.admin_autofollow_accounts,max_user_blocks:this.users.max_user_blocks,max_user_mutes:this.users.max_user_mutes,max_domain_blocks:this.users.max_domain_blocks}).then((function(e){t.isSubmitting=!1,t.isSubmittingTimeout=!0,t.isSubmittingTimeoutHandler=setTimeout((function(){t.isSubmittingTimeout=!1}),4e3)})).catch((function(e){e.response.data.message?swal("Error",e.response.data.message,"error"):swal("Error","An unexpected error occurred, please try again!","error"),t.isSubmitting=!1}))},saveStorage:function(){var t=this,e=this.showDiskConfig?{primary_disk:this.storage.primary_disk,update_disk:!0,disk_config:this.storage.disk_config}:{primary_disk:this.storage.primary_disk};axios.post("/i/admin/api/settings/update/storage",e).then((function(e){t.features.cloud_storage="cloud"===e.data.primary_disk,t.isSubmitting=!1,t.isSubmittingTimeout=!0,t.isSubmittingTimeoutHandler=setTimeout((function(){t.isSubmittingTimeout=!1}),4e3)})).catch((function(e){if(e.response.data.error)if(e.response.data.s3_vce){var s=document.createElement("div");s.classList.add("text-left"),s.innerHTML=e.response.data.message;var a=document.createElement("div");a.appendChild(s),swal({title:"Invalid S3 Credentials",content:a,icon:"error"})}else swal("Error",e.response.data.message,"error");t.isSubmitting=!1}))},handleChange:function(t,e,s){switch(e){case"features":this.features[s]=t;break;case"landing":this.landing[s]=t;break;case"platform":this.platform[s]=t;break;case"media":this.media[s]=t;break;case"users":this.users[s]=t;break;case"storage":this.storage[s]=t}console.log(t),console.log(s)},handleSubChange:function(t,e,s,a){switch(e){case"features":this.features[s][a]=t;break;case"landing":this.landing[s][a]=t;break;case"platform":this.platform[s][a]=t;break;case"media":this.media[s][a]=t;break;case"users":this.users[s][a]=t;break;case"storage":this.storage[s][a]=t}console.log(t),console.log(s)}},watch:{}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminModalPost.vue?vue&type=script&lang=js":
|
||
/*!**************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminModalPost.vue?vue&type=script&lang=js ***!
|
||
\**************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! bigpicture */"./node_modules/bigpicture/src/BigPicture.js"),o=s(/*! ./AdminReadMore.vue */"./resources/assets/components/admin/partial/AdminReadMore.vue");const n={props:{status:{type:Object}},data:function(){return{showInReplyTo:!1}},components:{"admin-read-more":o.default},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleVideoLightbox:function(t,e){(0,a.default)({el:event.target,vidSrc:e})},formatDate:function(t){var e=new Date(t);return new Intl.DateTimeFormat("default",{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"}).format(e)}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminReadMore.vue?vue&type=script&lang=js":
|
||
/*!*************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminReadMore.vue?vue&type=script&lang=js ***!
|
||
\*************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{content:{type:String},maxLength:{type:Number,default:140},fontSize:{type:String,default:"13"},step:{type:Boolean,default:!1},stepLimit:{type:Number,default:140},initialLimit:{type:Number,default:10}},computed:{contentText:{get:function(){if(this.step){var t=this.content.length/this.stepLimit;return(1==this.stepIndex||t<this.stepIndex)&&(this.canStepExpand=!0),this.steppedTruncate()}return this.content&&this.content.length>this.maxLength&&(this.canExpand=!0),this.expanded?this.content:this.truncate()}}},data:function(){return{expanded:!1,canExpand:!1,canStepExpand:!1,stepIndex:1}},methods:{expand:function(){this.step?(this.stepIndex++,this.canStepExpand=!0):this.expanded=!0},truncate:function(){if(this.content&&this.content.length)return this.content&&this.content.length<this.maxLength?this.content:this.content.slice(0,this.maxLength)+"..."},steppedTruncate:function(){if(this.content&&this.content.length){var t=this.content.length,e=t/this.stepLimit,s=this.stepLimit*this.stepIndex;return 10!=this.initialLimit&&1===this.stepIndex&&this.canStepExpand?(this.canStepExpand=t>this.stepLimit,this.content.slice(0,this.initialLimit)):this.canStepExpand&&this.stepIndex<e?this.content.slice(0,s):(this.canStepExpand=!1,this.content)}}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminRemoteReportModal.vue?vue&type=script&lang=js":
|
||
/*!**********************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminRemoteReportModal.vue?vue&type=script&lang=js ***!
|
||
\**********************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! ./AdminModalPost.vue */"./resources/assets/components/admin/partial/AdminModalPost.vue"),o=s(/*! ./AdminReadMore.vue */"./resources/assets/components/admin/partial/AdminReadMore.vue");const n={props:{open:{type:Boolean,default:!1},model:{type:Object}},components:{"admin-modal-post":a.default,"admin-read-more":o.default},watch:{open:{handler:function(){this.isOpen=this.open},immediate:!0,deep:!0}},data:function(){return{isLoading:!0,isOpen:!1,actions:["mark-read","cw-posts","unlist-posts","private-posts","delete-posts","mark-all-read-by-domain","mark-all-read-by-username","cw-all-posts","unlist-all-posts","private-all-posts"],actionMap:{"cw-posts":"apply content warnings to all post(s) in this report?","unlist-posts":"unlist all post(s) in this report?","delete-posts":"delete all post(s) in this report?","private-posts":"make all post(s) in this report private/followers-only?","mark-all-read-by-domain":"mark all reports by this instance as closed?","mark-all-read-by-username":"mark all reports against this user as closed?","cw-all-posts":"apply content warnings to all post(s) belonging to this account?","unlist-all-posts":"make all post(s) belonging to this account as unlisted?","private-all-posts":"make all post(s) belonging to this account as private?"}}},mounted:function(){var t=this;setTimeout((function(){t.isLoading=!1}),300)},methods:{prettyCount:function(t){return t?t.toLocaleString("en-CA",{compactDisplay:"short",notation:"compact"}):t},timeAgo:function(t){return t?App.util.format.timeAgo(t):t},formatDate:function(t){var e=new Date(t);return new Intl.DateTimeFormat("default",{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"}).format(e)},handleAction:function(t){var e=this;"mark-read"!==t?swal({title:"Confirm",text:"Are you sure you want to "+this.actionMap[t],icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){!0===s&&axios.post("/i/admin/api/reports/remote/handle",{id:e.model.id,action:t}).finally((function(){e.$emit("refresh"),e.$emit("close")}))})):axios.post("/i/admin/api/reports/remote/handle",{id:this.model.id,action:t}).then((function(t){console.log(t.data)})).finally((function(){e.$emit("refresh"),e.$emit("close")}))}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsCheckbox.vue?vue&type=script&lang=js":
|
||
/*!*********************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsCheckbox.vue?vue&type=script&lang=js ***!
|
||
\*********************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{name:{type:String},value:{type:Boolean},description:{type:String}},computed:{elementId:{get:function(){var t=this.name;return"fec_"+(t=(t=(t=(t=t.toLowerCase()).replace(/[^a-z0-9 -]/g," ")).replace(/\s+/g,"-")).replace(/^-+|-+$/g,""))}}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=script&lang=js":
|
||
/*!******************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=script&lang=js ***!
|
||
\******************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{name:{type:String},value:{type:String},placeholder:{type:String},description:{type:String},isCard:{type:Boolean,default:!0},isInline:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1}},computed:{elementId:{get:function(){var t=this.name;return"fec_"+(t=(t=(t=(t=t.toLowerCase()).replace(/[^a-z0-9 -]/g," ")).replace(/\s+/g,"-")).replace(/^-+|-+$/g,""))}}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsTabHeader.vue?vue&type=script&lang=js":
|
||
/*!**********************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsTabHeader.vue?vue&type=script&lang=js ***!
|
||
\**********************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{title:{type:String},saving:{type:Boolean},saved:{type:Boolean}},computed:{buttonLabel:{get:function(){return this.saved?"Saved":this.saving?"Saving":"Save"}},isSaving:{get:function(){return this.saving}}},methods:{save:function(t){var e;null===(e=t.currentTarget)||void 0===e||e.blur(),this.$emit("save")}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminAutospam.vue?vue&type=template&id=4f92a912":
|
||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminAutospam.vue?vue&type=template&id=4f92a912 ***!
|
||
\****************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"header bg-primary pb-3 mt-n4"},[e("div",{staticClass:"container-fluid"},[e("div",{staticClass:"header-body"},[e("div",{staticClass:"row align-items-center py-4"},[t._m(0),t._v(" "),e("div",{staticClass:"col-xl-4 col-lg-3 col-md-4"},[e("div",{staticClass:"card card-stats mb-lg-0"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col"},[e("h5",{staticClass:"card-title text-uppercase text-muted mb-0"},[t._v("Active Autospam")]),t._v(" "),e("span",{staticClass:"h2 font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.config.open)))])]),t._v(" "),t._m(1)])])])]),t._v(" "),e("div",{staticClass:"col-xl-4 col-lg-3 col-md-4"},[e("div",{staticClass:"card card-stats bg-dark mb-lg-0"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col"},[e("h5",{staticClass:"card-title text-uppercase text-muted mb-0"},[t._v("Closed Autospam")]),t._v(" "),e("span",{staticClass:"h2 font-weight-bold text-muted mb-0"},[t._v(t._s(t.formatCount(t.config.closed)))])]),t._v(" "),t._m(2)])])])])])])])]),t._v(" "),t.loaded?e("div",{staticClass:"m-n2 m-lg-4"},[e("div",{staticClass:"container-fluid mt-4"},[e("div",{staticClass:"row mb-3 justify-content-between"},[e("div",{staticClass:"col-12"},[e("ul",{staticClass:"nav nav-pills"},[e("li",{staticClass:"nav-item"},[e("button",{class:["nav-link",{active:0==t.tabIndex}],on:{click:function(e){return e.preventDefault(),t.toggleTab(0)}}},[t._v("Dashboard")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("button",{class:["nav-link",{active:"about"==t.tabIndex}],on:{click:function(e){return e.preventDefault(),t.toggleTab("about")}}},[t._v("About / How to Use Autospam")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("button",{class:["nav-link",{active:"train"==t.tabIndex}],on:{click:function(e){return e.preventDefault(),t.toggleTab("train")}}},[t._v("Train Autospam")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("button",{class:["nav-link",{active:"closed_reports"==t.tabIndex}],on:{click:function(e){return e.preventDefault(),t.toggleTab("closed_reports")}}},[t._v("Closed Reports")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("button",{class:["nav-link",{active:"manage_tokens"==t.tabIndex}],on:{click:function(e){return e.preventDefault(),t.toggleTab("manage_tokens")}}},[t._v("Manage Tokens")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("button",{class:["nav-link",{active:"import_export"==t.tabIndex}],on:{click:function(e){return e.preventDefault(),t.toggleTab("import_export")}}},[t._v("Import/Export")])])])])]),t._v(" "),0===this.tabIndex?e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-4"},[null===t.config.autospam_enabled?e("div"):t.config.autospam_enabled?e("div",{staticClass:"card bg-dark",staticStyle:{"min-height":"209px"}},[t._m(3)]):e("div",{staticClass:"card bg-dark",staticStyle:{"min-height":"209px"}},[t._m(4)]),t._v(" "),null===t.config.nlp_enabled?e("div"):t.config.nlp_enabled?e("div",{staticClass:"card bg-dark",staticStyle:{"min-height":"209px"}},[e("div",{staticClass:"card-body text-center"},[t._m(5),t._v(" "),e("p",{staticClass:"lead text-light"},[t._v("Advanced (NLP) Detection Active")]),t._v(" "),e("a",{staticClass:"btn btn-outline-danger btn-block font-weight-bold",class:{disabled:1!=t.config.autospam_enabled},attrs:{href:"#",disabled:1!=t.config.autospam_enabled},on:{click:function(e){return e.preventDefault(),t.disableAdvanced.apply(null,arguments)}}},[t._v("Disable Advanced Detection")])])]):e("div",{staticClass:"card bg-dark",staticStyle:{"min-height":"209px"}},[e("div",{staticClass:"card-body text-center"},[t._m(6),t._v(" "),e("p",{staticClass:"lead text-danger font-weight-bold"},[t._v("Advanced (NLP) Detection Inactive")]),t._v(" "),e("a",{staticClass:"btn btn-primary btn-block font-weight-bold",class:{disabled:1!=t.config.autospam_enabled},attrs:{href:"#",disabled:1!=t.config.autospam_enabled},on:{click:function(e){return e.preventDefault(),t.enableAdvanced.apply(null,arguments)}}},[t._v("Enable Advanced Detection")])])])]),t._v(" "),t._m(7)]):"about"===this.tabIndex?e("div",[t._m(8)]):"train"===this.tabIndex?e("div",[t._m(9),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"card bg-dark"},[e("div",{staticClass:"card-header bg-gradient-primary text-white font-weight-bold"},[t._v("Train Spam Posts")]),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"d-flex flex-column align-items-center justify-content-center py-4",staticStyle:{gap:"1rem"}},[t._m(10),t._v(" "),e("p",{staticClass:"lead text-lighter"},[t._v("Use existing posts marked as spam to train Autospam")]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-lg font-weight-bold btn-block",class:{disabled:t.config.files.spam.exists},attrs:{disabled:t.config.files.spam.exists},on:{click:function(e){return e.preventDefault(),t.autospamTrainSpam.apply(null,arguments)}}},[t._v("\n\t \t\t\t\t\t\t"+t._s(t.config.files.spam.exists?"Already trained":"Train Spam")+"\n\t \t\t\t\t\t")])])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"card bg-dark"},[e("div",{staticClass:"card-header bg-gradient-primary text-white font-weight-bold"},[t._v("Train Non-Spam Posts")]),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"d-flex flex-column align-items-center justify-content-center py-4",staticStyle:{gap:"1rem"}},[t._m(11),t._v(" "),e("p",{staticClass:"lead text-lighter"},[t._v("Use posts from trusted users to train non-spam posts")]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-lg font-weight-bold btn-block",class:{disabled:t.config.files.ham.exists},attrs:{disabled:t.config.files.ham.exists},on:{click:function(e){return e.preventDefault(),t.autospamTrainNonSpam.apply(null,arguments)}}},[t._v("\n\t \t\t\t\t\t\t"+t._s(t.config.files.ham.exists?"Already trained":"Train Non-Spam")+"\n\t \t\t\t\t\t")])])])])])])]):"closed_reports"===this.tabIndex?e("div",[t.closedReportsFetched?[e("div",{staticClass:"table-responsive rounded"},[e("table",{staticClass:"table table-dark"},[t._m(12),t._v(" "),e("tbody",t._l(t.closedReports.data,(function(s,a){return e("tr",{key:"closed_reports"+s.id+a},[e("td",{staticClass:"font-weight-bold text-monospace text-muted align-middle"},[t._v("\n\t\t \t"+t._s(s.id)+"\n\t\t ")]),t._v(" "),t._m(13,!0),t._v(" "),e("td",{staticClass:"align-middle"},[s.status&&s.status.account?e("a",{staticClass:"text-white",attrs:{href:"/i/web/profile/".concat(s.status.account.id),target:"_blank"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"0.61rem"}},[e("img",{staticStyle:{"object-fit":"cover","border-radius":"30px"},attrs:{src:s.status.account.avatar,width:"30",height:"30",onerror:"this.src='/storage/avatars/default.png';this.error=null;"}}),t._v(" "),e("div",{staticClass:"d-flex flex-column"},[e("p",{staticClass:"font-weight-bold mb-0",staticStyle:{"font-size":"14px"}},[t._v("@"+t._s(s.status.account.username))]),t._v(" "),e("div",{staticClass:"d-flex small text-muted mb-0",staticStyle:{gap:"0.5rem"}},[e("span",[t._v(t._s(s.status.account.followers_count)+" Followers")]),t._v(" "),e("span",[t._v("·")]),t._v(" "),e("span",[t._v("Joined "+t._s(t.timeAgo(s.status.account.created_at)))])])])])]):t._e()]),t._v(" "),e("td",{staticClass:"font-weight-bold align-middle"},[t._v(t._s(t.timeAgo(s.created_at)))]),t._v(" "),e("td",{staticClass:"align-middle"},[e("a",{staticClass:"btn btn-primary btn-sm",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.viewSpamReport(s)}}},[t._v("View")])])])})),0)])]),t._v(" "),t.closedReportsFetched&&t.closedReports&&t.closedReports.data.length?e("div",{staticClass:"d-flex align-items-center justify-content-center"},[e("button",{staticClass:"btn btn-primary rounded-pill",attrs:{disabled:!t.closedReports.links.prev},on:{click:function(e){return t.autospamPaginate("prev")}}},[t._v("\n\t\t Prev\n\t\t ")]),t._v(" "),e("button",{staticClass:"btn btn-primary rounded-pill",attrs:{disabled:!t.closedReports.links.next},on:{click:function(e){return t.autospamPaginate("next")}}},[t._v("\n\t\t Next\n\t\t ")])]):t._e()]:[e("div",{staticClass:"d-flex justify-content-center align-items-center py-5"},[e("b-spinner")],1)]],2):"manage_tokens"===this.tabIndex?e("div",[e("div",{staticClass:"row align-items-center mb-3"},[t._m(14),t._v(" "),e("div",{staticClass:"col-12 col-md-3"},[e("a",{staticClass:"btn btn-primary btn-lg btn-block",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showCreateTokenModal=!0}}},[e("i",{staticClass:"far fa-plus fa-lg mr-1"}),t._v("\n \t\t\t\tCreate New Token\n \t\t\t")])])]),t._v(" "),t.customTokensFetched?[t.customTokens&&t.customTokens.data&&t.customTokens.data.length?[e("div",{staticClass:"table-responsive rounded"},[e("table",{staticClass:"table table-dark"},[t._m(15),t._v(" "),e("tbody",t._l(t.customTokens.data,(function(s,a){return e("tr",{key:"ct"+s.id+a},[e("td",{staticClass:"font-weight-bold text-monospace text-muted align-middle"},[t._v("\n\t\t\t \t"+t._s(s.id)+"\n\t\t\t ")]),t._v(" "),e("td",{staticClass:"align-middle"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(s.token))])]),t._v(" "),e("td",{staticClass:"align-middle"},[e("p",{staticClass:"text-capitalize mb-0"},[t._v(t._s(s.category))])]),t._v(" "),e("td",{staticClass:"align-middle"},[e("p",{staticClass:"text-capitalize mb-0"},[t._v(t._s(s.weight))])]),t._v(" "),e("td",{staticClass:"font-weight-bold align-middle"},[t._v(t._s(t.timeAgo(s.created_at)))]),t._v(" "),e("td",{staticClass:"font-weight-bold align-middle"},[e("a",{staticClass:"btn btn-primary btn-sm font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditTokenModal(s)}}},[t._v("Edit")])])])})),0)])]),t._v(" "),t.customTokensFetched&&t.customTokens&&t.customTokens.data.length?e("div",{staticClass:"d-flex align-items-center justify-content-center"},[e("button",{staticClass:"btn btn-primary rounded-pill",attrs:{disabled:!t.customTokens.prev_page_url},on:{click:function(e){return t.autospamTokenPaginate("prev")}}},[t._v("\n\t\t\t Prev\n\t\t\t ")]),t._v(" "),e("button",{staticClass:"btn btn-primary rounded-pill",attrs:{disabled:!t.customTokens.next_page_url},on:{click:function(e){return t.autospamTokenPaginate("next")}}},[t._v("\n\t\t\t Next\n\t\t\t ")])]):t._e()]:e("div",[t._m(16)])]:[e("div",{staticClass:"d-flex justify-content-center align-items-center py-5"},[e("b-spinner")],1)]],2):"import_export"===this.tabIndex?e("div",[t._m(17),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"card bg-dark"},[e("div",{staticClass:"card-header font-weight-bold"},[t._v("Import Training Data")]),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"d-flex flex-column align-items-center justify-content-center py-4",staticStyle:{gap:"1rem"}},[t._m(18),t._v(" "),e("p",{staticClass:"lead text-lighter"},[t._v("Make sure the file you are importing is a valid training data export!")]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-lg font-weight-bold btn-block",on:{click:function(e){return e.preventDefault(),t.handleImport.apply(null,arguments)}}},[t._v("Upload Import")])])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"card bg-dark"},[e("div",{staticClass:"card-header font-weight-bold"},[t._v("Export Training Data")]),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"d-flex flex-column align-items-center justify-content-center py-4",staticStyle:{gap:"1rem"}},[t._m(19),t._v(" "),e("p",{staticClass:"lead text-lighter"},[t._v("Only share training data with people you trust. It can be used by spammers to bypass detection!")]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-lg font-weight-bold btn-block",on:{click:function(e){return e.preventDefault(),t.downloadExport.apply(null,arguments)}}},[t._v("Download Export")])])])])])])]):t._e()])]):e("div",{staticClass:"my-5 text-center"},[e("b-spinner")],1),t._v(" "),e("b-modal",{attrs:{title:"Autospam Post","ok-only":!0,"ok-title":"Close","ok-variant":"outline-primary"},model:{value:t.showSpamReportModal,callback:function(e){t.showSpamReportModal=e},expression:"showSpamReportModal"}},[t.viewingSpamReportLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center"},[e("b-spinner")],1):[e("div",{staticClass:"list-group list-group-horizontal mt-3"},[t.viewingSpamReport&&t.viewingSpamReport.status&&t.viewingSpamReport.status.account?e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between flex-column flex-grow-1",staticStyle:{gap:"0.4rem"}},[e("div",{staticClass:"text-muted small font-weight-bold mt-n1"},[t._v("Reported Account")]),t._v(" "),t.viewingSpamReport.status.account&&t.viewingSpamReport.status.account.id?e("a",{staticClass:"text-primary",attrs:{href:"/i/web/profile/".concat(t.viewingSpamReport.status.account.id),target:"_blank"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"0.61rem"}},[e("img",{staticStyle:{"object-fit":"cover","border-radius":"30px"},attrs:{src:t.viewingSpamReport.status.account.avatar,width:"30",height:"30",onerror:"this.src='/storage/avatars/default.png';this.error=null;"}}),t._v(" "),e("div",{staticClass:"d-flex flex-column"},[e("p",{staticClass:"font-weight-bold mb-0 text-break",class:[t.viewingSpamReport.status.account.is_admin?"text-danger":""],staticStyle:{"font-size":"12px","max-width":"140px","line-height":"16px"}},[t._v("@"+t._s(t.viewingSpamReport.status.account.acct))]),t._v(" "),e("div",{staticClass:"d-flex text-muted mb-0",staticStyle:{"font-size":"10px",gap:"0.5rem"}},[e("span",[t._v(t._s(t.viewingSpamReport.status.account.followers_count)+" Followers")]),t._v(" "),e("span",[t._v("·")]),t._v(" "),e("span",[t._v("Joined "+t._s(t.timeAgo(t.viewingSpamReport.status.account.created_at)))])])])])]):t._e()]):t._e()]),t._v(" "),t.viewingSpamReport&&t.viewingSpamReport.status?e("div",{staticClass:"list-group mt-3"},[t.viewingSpamReport&&t.viewingSpamReport.status&&t.viewingSpamReport.status.media_attachments.length?e("div",{staticClass:"list-group-item d-flex flex-column flex-grow-1",staticStyle:{gap:"0.4rem"}},[e("div",{staticClass:"d-flex justify-content-between mt-n1 text-muted small font-weight-bold"},[e("div",[t._v("Reported Post")]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.viewingSpamReport.status.url,target:"_blank"}},[t._v("View")])]),t._v(" "),"image"===t.viewingSpamReport.status.media_attachments[0].type?e("img",{staticClass:"rounded",staticStyle:{"object-fit":"cover"},attrs:{src:t.viewingSpamReport.status.media_attachments[0].url,height:"140",onerror:"this.src='/storage/no-preview.png';this.error=null;"}}):"video"===t.viewingSpamReport.status.media_attachments[0].type?e("video",{attrs:{height:"140",controls:"",src:t.viewingSpamReport.status.media_attachments[0].url,onerror:"this.src='/storage/no-preview.png';this.onerror=null;"}}):t._e()]):t._e(),t._v(" "),t.viewingSpamReport&&t.viewingSpamReport.status&&t.viewingSpamReport.status.content_text&&t.viewingSpamReport.status.content_text.length?e("div",{staticClass:"list-group-item d-flex flex-column flex-grow-1",staticStyle:{gap:"0.4rem"}},[e("div",{staticClass:"d-flex justify-content-between mt-n1 text-muted small font-weight-bold"},[e("div",[t._v("Reported Post Caption")]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.viewingSpamReport.status.url,target:"_blank"}},[t._v("View")])]),t._v(" "),e("p",{staticClass:"mb-0 read-more",staticStyle:{"font-size":"12px","overflow-y":"hidden"}},[t._v(t._s(t.viewingSpamReport.status.content_text))])]):t._e()]):t._e()]],2),t._v(" "),e("b-modal",{attrs:{title:"Train Non-Spam","ok-only":!0,"ok-title":"Close","ok-variant":"outline-primary"},model:{value:t.showNonSpamModal,callback:function(e){t.showNonSpamModal=e},expression:"showNonSpamModal"}},[e("p",{staticClass:"small font-weight-bold"},[t._v("Select trusted accounts to train non-spam posts against!")]),t._v(" "),!t.nonSpamAccounts||t.nonSpamAccounts.length<10?e("autocomplete",{ref:"autocomplete",attrs:{search:t.composeSearch,disabled:t.searchLoading,placeholder:"Search by username","aria-label":"Search by username","get-result-value":t.getTagResultValue},on:{submit:t.onSearchResultClick},scopedSlots:t._u([{key:"result",fn:function(s){var a=s.result,o=s.props;return[e("li",t._b({staticClass:"autocomplete-result d-flex align-items-center",staticStyle:{gap:"0.5rem"}},"li",o,!1),[e("img",{staticClass:"rounded-circle",attrs:{src:a.avatar,width:"32",height:"32",onerror:"this.src='/storage/avatars/default.png';this.error=null;"}}),t._v(" "),e("div",{staticClass:"font-weight-bold"},[t._v("\n "+t._s(a.username)+"\n ")])])]}}],null,!1,565605044)}):t._e(),t._v(" "),e("div",{staticClass:"list-group mt-3"},t._l(t.nonSpamAccounts,(function(s,a){return e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"d-flex align-items-center justify-content-between"},[e("div",{staticClass:"d-flex flex-row align-items-center",staticStyle:{gap:"0.5rem"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.avatar,width:"32",height:"32",onerror:"this.src='/storage/avatars/default.png';this.error=null;"}}),t._v(" "),e("div",{staticClass:"font-weight-bold"},[t._v("\n\t "+t._s(s.username)+"\n\t ")])]),t._v(" "),e("a",{staticClass:"text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.autospamTrainNonSpamRemove(a)}}},[e("i",{staticClass:"fas fa-trash"})])])])})),0),t._v(" "),t.nonSpamAccounts&&t.nonSpamAccounts.length?e("div",{staticClass:"mt-3"},[e("a",{staticClass:"btn btn-primary btn-lg font-weight-bold btn-block",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.autospamTrainNonSpamSubmit.apply(null,arguments)}}},[t._v("Train non-spam posts on trusted accounts")])]):t._e()],1),t._v(" "),e("b-modal",{attrs:{title:"Create New Token","cancel-title":"Close","cancel-variant":"outline-primary","ok-title":"Save","ok-variant":"primary"},on:{ok:t.handleSaveToken},model:{value:t.showCreateTokenModal,callback:function(e){t.showCreateTokenModal=e},expression:"showCreateTokenModal"}},[e("div",{staticClass:"list-group mt-3"},[e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"row align-items-center"},[e("div",{staticClass:"col-4"},[e("p",{staticClass:"mb-0 font-weight-bold small"},[t._v("Token")])]),t._v(" "),e("div",{staticClass:"col-8"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.customTokenForm.token,expression:"customTokenForm.token"}],staticClass:"form-control",domProps:{value:t.customTokenForm.token},on:{input:function(e){e.target.composing||t.$set(t.customTokenForm,"token",e.target.value)}}})])])]),t._v(" "),e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"row align-items-center"},[e("div",{staticClass:"col-4"},[e("p",{staticClass:"mb-0 font-weight-bold small"},[t._v("Weight")])]),t._v(" "),e("div",{staticClass:"col-8"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.customTokenForm.weight,expression:"customTokenForm.weight"}],staticClass:"form-control",attrs:{type:"number",min:"-128",max:"128",step:"1"},domProps:{value:t.customTokenForm.weight},on:{input:function(e){e.target.composing||t.$set(t.customTokenForm,"weight",e.target.value)}}})])])]),t._v(" "),e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"row align-items-center"},[e("div",{staticClass:"col-4"},[e("p",{staticClass:"mb-0 font-weight-bold small"},[t._v("Category")])]),t._v(" "),e("div",{staticClass:"col-8"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.customTokenForm.category,expression:"customTokenForm.category"}],staticClass:"form-control",on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.customTokenForm,"category",e.target.multiple?s:s[0])}}},[e("option",{attrs:{value:"spam"}},[t._v("Is Spam")]),t._v(" "),e("option",{attrs:{value:"ham"}},[t._v("Is NOT Spam")])])])])]),t._v(" "),e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"row align-items-center"},[e("div",{staticClass:"col-4"},[e("p",{staticClass:"mb-0 font-weight-bold small"},[t._v("Note")])]),t._v(" "),e("div",{staticClass:"col-8"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.customTokenForm.note,expression:"customTokenForm.note"}],staticClass:"form-control",domProps:{value:t.customTokenForm.note},on:{input:function(e){e.target.composing||t.$set(t.customTokenForm,"note",e.target.value)}}})])])]),t._v(" "),e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"row align-items-center"},[e("div",{staticClass:"col-4"},[e("p",{staticClass:"mb-0 font-weight-bold small"},[t._v("Active")])]),t._v(" "),e("div",{staticClass:"col-8 text-right"},[e("div",{staticClass:"custom-control custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.customTokenForm.active,expression:"customTokenForm.active"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customCheck1"},domProps:{checked:Array.isArray(t.customTokenForm.active)?t._i(t.customTokenForm.active,null)>-1:t.customTokenForm.active},on:{change:function(e){var s=t.customTokenForm.active,a=e.target,o=!!a.checked;if(Array.isArray(s)){var n=t._i(s,null);a.checked?n<0&&t.$set(t.customTokenForm,"active",s.concat([null])):n>-1&&t.$set(t.customTokenForm,"active",s.slice(0,n).concat(s.slice(n+1)))}else t.$set(t.customTokenForm,"active",o)}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customCheck1"}})])])])])])]),t._v(" "),e("b-modal",{attrs:{title:"Edit Token","cancel-title":"Close","cancel-variant":"outline-primary","ok-title":"Update","ok-variant":"primary"},on:{ok:t.handleUpdateToken},model:{value:t.showEditTokenModal,callback:function(e){t.showEditTokenModal=e},expression:"showEditTokenModal"}},[e("div",{staticClass:"list-group mt-3"},[e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"row align-items-center"},[e("div",{staticClass:"col-4"},[e("p",{staticClass:"mb-0 font-weight-bold small"},[t._v("Token")])]),t._v(" "),e("div",{staticClass:"col-8"},[e("input",{staticClass:"form-control",attrs:{disabled:""},domProps:{value:t.editCustomTokenForm.token}})])])]),t._v(" "),e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"row align-items-center"},[e("div",{staticClass:"col-4"},[e("p",{staticClass:"mb-0 font-weight-bold small"},[t._v("Weight")])]),t._v(" "),e("div",{staticClass:"col-8"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.editCustomTokenForm.weight,expression:"editCustomTokenForm.weight"}],staticClass:"form-control",attrs:{type:"number",min:"-128",max:"128",step:"1"},domProps:{value:t.editCustomTokenForm.weight},on:{input:function(e){e.target.composing||t.$set(t.editCustomTokenForm,"weight",e.target.value)}}})])])]),t._v(" "),e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"row align-items-center"},[e("div",{staticClass:"col-4"},[e("p",{staticClass:"mb-0 font-weight-bold small"},[t._v("Category")])]),t._v(" "),e("div",{staticClass:"col-8"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.editCustomTokenForm.category,expression:"editCustomTokenForm.category"}],staticClass:"form-control",on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.editCustomTokenForm,"category",e.target.multiple?s:s[0])}}},[e("option",{attrs:{value:"spam"}},[t._v("Is Spam")]),t._v(" "),e("option",{attrs:{value:"ham"}},[t._v("Is NOT Spam")])])])])]),t._v(" "),e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"row align-items-center"},[e("div",{staticClass:"col-4"},[e("p",{staticClass:"mb-0 font-weight-bold small"},[t._v("Note")])]),t._v(" "),e("div",{staticClass:"col-8"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.editCustomTokenForm.note,expression:"editCustomTokenForm.note"}],staticClass:"form-control",domProps:{value:t.editCustomTokenForm.note},on:{input:function(e){e.target.composing||t.$set(t.editCustomTokenForm,"note",e.target.value)}}})])])]),t._v(" "),e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"row align-items-center"},[e("div",{staticClass:"col-4"},[e("p",{staticClass:"mb-0 font-weight-bold small"},[t._v("Active")])]),t._v(" "),e("div",{staticClass:"col-8 text-right"},[e("div",{staticClass:"custom-control custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.editCustomTokenForm.active,expression:"editCustomTokenForm.active"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customCheck1"},domProps:{checked:Array.isArray(t.editCustomTokenForm.active)?t._i(t.editCustomTokenForm.active,null)>-1:t.editCustomTokenForm.active},on:{change:function(e){var s=t.editCustomTokenForm.active,a=e.target,o=!!a.checked;if(Array.isArray(s)){var n=t._i(s,null);a.checked?n<0&&t.$set(t.editCustomTokenForm,"active",s.concat([null])):n>-1&&t.$set(t.editCustomTokenForm,"active",s.slice(0,n).concat(s.slice(n+1)))}else t.$set(t.editCustomTokenForm,"active",o)}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customCheck1"}})])])])])])])],1)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-xl-4 col-lg-6 col-md-4"},[e("p",{staticClass:"display-1 text-white d-inline-block mb-0"},[t._v("Autospam")]),t._v(" "),e("p",{staticClass:"text-lighter"},[t._v("The automated spam detection system")])])},function(){var t=this._self._c;return t("div",{staticClass:"col-auto"},[t("div",{staticClass:"icon icon-shape bg-gradient-primary text-white rounded-circle shadow"},[t("i",{staticClass:"far fa-sensor-alert"})])])},function(){var t=this._self._c;return t("div",{staticClass:"col-auto"},[t("div",{staticClass:"icon icon-shape bg-gradient-primary text-white rounded-circle shadow"},[t("i",{staticClass:"far fa-shield-alt"})])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-body text-center"},[e("p",[e("i",{staticClass:"far fa-check-circle fa-5x text-success"})]),t._v(" "),e("p",{staticClass:"lead text-light mb-0"},[t._v("Autospam Service Operational")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-body text-center"},[e("p",[e("i",{staticClass:"far fa-exclamation-circle fa-5x text-danger"})]),t._v(" "),e("p",{staticClass:"lead text-danger font-weight-bold mb-0"},[t._v("Autospam Service Inactive")]),t._v(" "),e("p",{staticClass:"small text-light mb-0"},[t._v("To activate, "),e("a",{attrs:{href:"/i/admin/settings"}},[t._v("click here")]),t._v(" and enable "),e("span",{staticClass:"font-weight-bold"},[t._v("Spam detection")])])])},function(){var t=this._self._c;return t("p",[t("i",{staticClass:"far fa-check-circle fa-5x text-success"})])},function(){var t=this._self._c;return t("p",[t("i",{staticClass:"far fa-exclamation-circle fa-5x text-danger"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-8"},[e("div",{staticClass:"card bg-default"},[e("div",{staticClass:"card-header bg-transparent"},[e("div",{staticClass:"row align-items-center"},[e("div",{staticClass:"col"},[e("h6",{staticClass:"text-light text-uppercase ls-1 mb-1"},[t._v("Stats")]),t._v(" "),e("h5",{staticClass:"h3 text-white mb-0"},[t._v("Autospam Detections")])])])]),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"chart"},[e("canvas",{staticClass:"chart-canvas",attrs:{id:"c1-dark"}})])])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"card card-body"},[e("h1",[t._v("About Autospam")]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v("To detect and mitigate spam, we built Autospam, an internal tool that uses NLP and other behavioural metrics to classify potential spam posts.")]),t._v(" "),e("hr"),t._v(" "),e("h2",[t._v("Standard Detection")]),t._v(" "),e("p",[t._v('Standard or "Classic" detection works by evaluating several "signals" from the post and it\'s associated account.')]),t._v(" "),e("p",[t._v('Some of the following "signals" may trigger a positive detection from public posts:')]),t._v(" "),e("ul",[e("li",[t._v("Account is less than 6 months old")]),t._v(" "),e("li",[t._v("Account has less than 100 followers")]),t._v(" "),e("li",[t._v("Post contains one or more of: "),e("span",{staticClass:"badge badge-primary"},[t._v("https://")]),t._v(" "),e("span",{staticClass:"badge badge-primary"},[t._v("http://")]),t._v(" "),e("span",{staticClass:"badge badge-primary"},[t._v("hxxps://")]),t._v(" "),e("span",{staticClass:"badge badge-primary"},[t._v("hxxp://")]),t._v(" "),e("span",{staticClass:"badge badge-primary"},[t._v("www.")]),t._v(" "),e("span",{staticClass:"badge badge-primary"},[t._v(".com")]),t._v(" "),e("span",{staticClass:"badge badge-primary"},[t._v(".net")]),t._v(" "),e("span",{staticClass:"badge badge-primary"},[t._v(".org")])])]),t._v(" "),e("p",[t._v("If you've marked atleast one positive detection from an account as "),e("span",{staticClass:"font-weight-bold"},[t._v("Not spam")]),t._v(", any future posts they create will skip detection.")]),t._v(" "),e("hr"),t._v(" "),e("h2",[t._v("Advanced Detection")]),t._v(" "),e("p",[t._v("Advanced Detection works by using a statistical method that combines prior knowledge and observed data to estimate an average value. It assigns weights to both the prior knowledge and the observed data, allowing for a more informed and reliable estimation that adapts to new information.")]),t._v(" "),e("p",[t._v("When you train Spam or Not Spam data, the caption is broken up into words (tokens) and are counted (weights) and then stored in the appropriate category (Spam or Not Spam).")]),t._v(" "),e("p",[t._v("The training data is then used to classify spam on future posts (captions) by calculating each token and associated weights and comparing it to known categories (Spam or Not Spam).")])])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"card card-body"},[e("p",{staticClass:"mb-0"},[t._v("\n\t \t\t\t\tIn order for Autospam to be effective, you need to train it by classifying data as spam or not-spam.\n\t \t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("\n\t \t\t\t\tWe recommend atleast 200 classifications for both spam and not-spam, it is important to train Autospam on both so you get more accurate results.\n\t \t\t\t")])])])])},function(){var t=this._self._c;return t("p",{staticClass:"mb-0"},[t("i",{staticClass:"far fa-sensor-alert fa-5x text-danger"})])},function(){var t=this._self._c;return t("p",{staticClass:"mb-0"},[t("i",{staticClass:"far fa-check-circle fa-5x text-success"})])},function(){var t=this,e=t._self._c;return e("thead",{staticClass:"thead-dark"},[e("tr",[e("th",{attrs:{scope:"col"}},[t._v("ID")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Type")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Reported Account")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Created")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("View Report")])])])},function(){var t=this._self._c;return t("td",{staticClass:"align-middle"},[t("p",{staticClass:"text-capitalize font-weight-bold mb-0"},[this._v("Autospam Post")])])},function(){var t=this._self._c;return t("div",{staticClass:"col-12 col-md-9"},[t("div",{staticClass:"card card-body mb-0"},[t("p",{staticClass:"mb-0"},[this._v("\n\t \t\t\t\tTokens are used to split paragraphs and sentences into smaller units that can be more easily assigned meaning.\n\t \t\t\t")])])])},function(){var t=this,e=t._self._c;return e("thead",{staticClass:"thead-dark"},[e("tr",[e("th",{attrs:{scope:"col"}},[t._v("ID")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Token")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Category")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Weight")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Created")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Edit")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card"},[e("div",{staticClass:"card-body text-center py-5"},[e("p",{staticClass:"pt-5"},[e("i",{staticClass:"far fa-inbox fa-4x text-light"})]),t._v(" "),e("p",{staticClass:"lead mb-5"},[t._v("No custom tokens found!")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"card card-body"},[e("p",{staticClass:"mb-0"},[t._v("\n\t \t\t\t\tYou can import and export Spam training data\n\t \t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("\n\t \t\t\t\tWe recommend exercising caution when importing training data from untrusted parties!\n\t \t\t\t")])])])])},function(){var t=this._self._c;return t("p",{staticClass:"mb-0"},[t("i",{staticClass:"far fa-plus-circle fa-5x text-light"})])},function(){var t=this._self._c;return t("p",{staticClass:"mb-0"},[t("i",{staticClass:"far fa-download fa-5x text-light"})])}];a._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminDirectory.vue?vue&type=template&id=aca5347a":
|
||
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminDirectory.vue?vue&type=template&id=aca5347a ***!
|
||
\*****************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return t.loaded?e("div",[e("div",{staticClass:"header bg-primary pb-2 mt-n4"},[e("div",{staticClass:"container-fluid"},[e("div",{staticClass:"header-body"},[e("div",{staticClass:"row align-items-center py-4"},[t._m(0),t._v(" "),e("div",{staticClass:"col-lg-6 col-5"},[e("p",{staticClass:"text-right"},[e("button",{staticClass:"btn btn-outline-white btn-lg px-5 py-2",on:{click:t.save}},[t._v("Save changes")])])])])])])]),t._v(" "),e("div",{staticClass:"container"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-3"},[e("div",{staticClass:"nav-wrapper"},[e("div",{staticClass:"nav flex-column nav-pills",attrs:{id:"tabs-icons-text",role:"tablist","aria-orientation":"vertical"}},t._l(t.tabs,(function(s){return e("div",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link mb-sm-3",class:{active:t.tabIndex===s.id},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(s.id)}}},[e("i",{class:s.icon}),t._v(" "),e("span",{staticClass:"ml-2"},[t._v(t._s(s.title))])])])})),0)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-9"},[e("div",{staticClass:"card shadow mt-3"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"tab-content"},[1===t.tabIndex?e("div",{staticClass:"tab-pane fade show active"},[t.isSubmitting||t.state.awaiting_approval||t.state.is_active?t.isSubmitting||!t.state.awaiting_approval||t.state.is_active?!t.isSubmitting&&t.state.awaiting_approval&&t.state.is_active?e("div",[t._m(3)]):t.isSubmitting||t.state.awaiting_approval||!t.state.is_active?t.isSubmitting?e("div",[e("div",{staticClass:"card card-body shadow-none border d-flex align-items-center justify-content-center py-5"},[e("b-spinner",{attrs:{variant:"primary"}}),t._v(" "),e("p",{staticClass:"lead my-0 text-primary"},[t._v("Sending submission...")])],1)]):e("div",[t._m(6)]):e("div",[e("div",{staticClass:"card card-body shadow-none border d-flex align-items-center justify-content-center py-5"},[e("h2",{staticClass:"font-weight-bold"},[t._v("Active Listing")]),t._v(" "),t._m(4),t._v(" "),t._m(5),t._v(" "),e("button",{staticClass:"btn btn-primary btn-sm mt-3 font-weight-bold px-5 text-uppercase",on:{click:t.handleSubmit}},[t._v("\n Update my listing on pixelfed.org\n ")])])]):e("div",[t._m(2)]):e("div",{staticClass:"d-flex align-items-center justify-content-center"},[e("div",{staticClass:"text-center mb-4"},[t._m(1),t._v(" "),e("p",{staticClass:"display-3 mb-1"},[t._v("Awaiting Submission")]),t._v(" "),t.state.is_eligible||t.state.submission_exists?t.state.is_eligible&&!t.state.submission_exists?e("div",{staticClass:"mb-4"},[e("p",{staticClass:"lead mt-0 text-muted"},[t._v("Your directory listing is ready for submission!")]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-lg font-weight-bold px-5 text-uppercase",on:{click:t.handleSubmit}},[t._v("\n Submit my Server to pixelfed.org\n ")])]):t._e():e("p",{staticClass:"lead mt-0 text-muted"},[t._v("Your directory listing isn't completed yet")])])]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"card text-left"},[e("div",{staticClass:"list-group list-group-flush"},[e("div",{staticClass:"list-group-item"},[!0===t.requirements.curated_onboarding?[e("i",{staticClass:"far fa-exclamation-circle text-success"}),t._v(" "),e("span",{staticClass:"ml-2 font-weight-bold"},[t._v("\n Curated account registration\n ")])]:[e("i",{staticClass:"far",class:[t.requirements.open_registration?"fa-check-circle text-success":"fa-exclamation-circle text-danger"]}),t._v(" "),e("span",{staticClass:"ml-2 font-weight-bold"},[t._v("\n "+t._s(t.requirements.open_registration?"Open":"Closed")+" account registration\n ")])]],2),t._v(" "),e("div",{staticClass:"list-group-item"},[e("i",{staticClass:"far",class:[t.requirements.oauth_enabled?"fa-check-circle text-success":"fa-exclamation-circle text-danger"]}),t._v(" "),e("span",{staticClass:"ml-2 font-weight-bold"},[t._v("\n "+t._s(t.requirements.oauth_enabled?"Enabled":"Disabled")+" mobile apis/oauth\n ")])]),t._v(" "),e("div",{staticClass:"list-group-item"},[e("i",{staticClass:"far",class:[t.requirements.activitypub_enabled?"fa-check-circle text-success":"fa-exclamation-circle text-danger"]}),t._v(" "),e("span",{staticClass:"ml-2 font-weight-bold"},[t._v("\n "+t._s(t.requirements.activitypub_enabled?"Enabled":"Disabled")+" activitypub federation\n ")])]),t._v(" "),e("div",{staticClass:"list-group-item"},[e("i",{staticClass:"far",class:[t.form.summary&&t.form.summary.length&&t.form.location&&t.form.location.length?"fa-check-circle text-success":"fa-exclamation-circle text-danger"]}),t._v(" "),e("span",{staticClass:"ml-2 font-weight-bold"},[t._v("\n "+t._s(t.form.summary&&t.form.summary.length&&t.form.location&&t.form.location.length?"Configured":"Missing")+" server details\n ")])]),t._v(" "),e("div",{staticClass:"list-group-item"},[e("i",{staticClass:"far",class:[t.requirements_validator&&0==t.requirements_validator.length?"fa-check-circle text-success":"fa-exclamation-circle text-danger"]}),t._v(" "),e("span",{staticClass:"ml-2 font-weight-bold"},[t._v("\n "+t._s(t.requirements_validator&&0==t.requirements_validator.length?"Valid":"Invalid")+" feature requirements\n ")])])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"card text-left"},[e("div",{staticClass:"list-group list-group-flush"},[e("div",{staticClass:"list-group-item"},[e("i",{staticClass:"far",class:[t.form.contact_account?"fa-check-circle text-success":"fa-exclamation-circle text-danger"]}),t._v(" "),e("span",{staticClass:"ml-2 font-weight-bold"},[t._v("\n "+t._s(t.form.contact_account?"Configured":"Missing")+" admin account\n ")])]),t._v(" "),e("div",{staticClass:"list-group-item"},[e("i",{staticClass:"far",class:[t.form.contact_email?"fa-check-circle text-success":"fa-exclamation-circle text-danger"]}),t._v(" "),e("span",{staticClass:"ml-2 font-weight-bold"},[t._v("\n "+t._s(t.form.contact_email?"Configured":"Missing")+" contact email\n ")])]),t._v(" "),e("div",{staticClass:"list-group-item"},[e("i",{staticClass:"far",class:[t.selectedPosts&&t.selectedPosts.length?"fa-check-circle text-success":"fa-exclamation-circle text-danger"]}),t._v(" "),e("span",{staticClass:"ml-2 font-weight-bold"},[t._v("\n "+t._s(t.selectedPosts&&t.selectedPosts.length?"Configured":"Missing")+" favourite posts\n ")])]),t._v(" "),e("div",{staticClass:"list-group-item"},[e("i",{staticClass:"far",class:[t.form.privacy_pledge?"fa-check-circle text-success":"fa-exclamation-circle text-danger"]}),t._v(" "),e("span",{staticClass:"ml-2 font-weight-bold"},[t._v("\n "+t._s(t.form.privacy_pledge?"Configured":"Missing")+" privacy pledge\n ")])]),t._v(" "),e("div",{staticClass:"list-group-item"},[e("i",{staticClass:"far",class:[t.communityGuidelines&&t.communityGuidelines.length?"fa-check-circle text-success":"fa-exclamation-circle text-danger"]}),t._v(" "),e("span",{staticClass:"ml-2 font-weight-bold"},[t._v("\n "+t._s(t.communityGuidelines&&t.communityGuidelines.length?"Configured":"Missing")+" community guidelines\n ")])])])])])])]):2===t.tabIndex?e("div",{staticClass:"tab-pane fade show active"},[e("p",{staticClass:"description"},[t._v("Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.")])]):3===t.tabIndex?e("div",{staticClass:"tab-pane fade show active",attrs:{role:"tabpanel"}},[e("h2",{staticClass:"display-4 mb-0"},[t._v("Server Details")]),t._v(" "),e("p",{staticClass:"small text-muted"},[t._v("Edit your server details to better describe it")]),t._v(" "),e("hr",{staticClass:"mt-0"}),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"card shadow-none border card-body"},[e("div",{staticClass:"form-group mb-0"},[e("label",{staticClass:"font-weight-bold",attrs:{for:"form-summary"}},[t._v("Summary")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.form.summary,expression:"form.summary"}],staticClass:"form-control form-control-muted",attrs:{id:"form-summary",rows:"3",placeholder:"A descriptive summary of your instance up to 140 characters long. HTML is not allowed."},domProps:{value:t.form.summary},on:{input:function(e){e.target.composing||t.$set(t.form,"summary",e.target.value)}}}),t._v(" "),e("p",{staticClass:"help-text small text-muted text-right"},[t._v("\n "+t._s(t.form.summary&&t.form.summary.length?t.form.summary.length:0)+"/140\n ")])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"card shadow-none border card-body"},[e("div",{staticClass:"form-group mb-0"},[e("label",{staticClass:"font-weight-bold",attrs:{for:"form-summary"}},[t._v("Location")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.form.location,expression:"form.location"}],staticClass:"form-control form-control-muted",on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.form,"location",e.target.multiple?s:s[0])}}},[e("option",{attrs:{selected:"",disabled:"",value:"0"}},[t._v("Select the country your server is in")]),t._v(" "),t._l(t.initialData.countries,(function(s){return e("option",{domProps:{value:s}},[t._v(t._s(s))])}))],2),t._v(" "),e("p",{staticClass:"form-text small text-muted"},[t._v("Select the country your server is hosted in, even if you are in a different country")])])])])]),t._v(" "),e("div",{staticClass:"list-group mb-4"},[e("div",{staticClass:"list-group-item"},[e("label",{staticClass:"font-weight-bold mb-0"},[t._v("Server Banner")]),t._v(" "),e("p",{staticClass:"small"},[t._v("Add an optional banner image to your directory listing")]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"card mb-0 shadow-none border"},[t.form.banner_image?e("div",[e("a",{attrs:{href:t.form.banner_image,target:"_blank"}},[e("img",{staticClass:"card-img-top",attrs:{src:t.form.banner_image}})])]):e("div",{staticClass:"card-body bg-primary text-white"},[t._m(7),t._v(" "),e("p",{staticClass:"text-center mb-0"},[t._v("No banner image")])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[t.isUploadingBanner?e("div",{staticClass:"text-center"},[e("b-spinner",{attrs:{variant:"primary"}})],1):e("div",{staticClass:"custom-file"},[e("input",{ref:"bannerImageRef",staticClass:"custom-file-input",attrs:{type:"file",id:"banner_image"},on:{change:t.uploadBannerImage}}),t._v(" "),e("label",{staticClass:"custom-file-label",attrs:{for:"banner_image"}},[t._v("Choose file")]),t._v(" "),e("p",{staticClass:"form-text text-muted small mb-0"},[t._v("Must be 1920 by 1080 pixels")]),t._v(" "),t._m(8),t._v(" "),t.form.banner_image&&!t.form.banner_image.endsWith("default.jpg")?e("div",[e("button",{staticClass:"btn btn-danger font-weight-bold btn-block mt-5",on:{click:t.deleteBannerImage}},[t._v("Delete banner image")])]):t._e()])])])])]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"card shadow-none border card-body"},[e("div",{staticClass:"form-group mb-0"},[e("label",{staticClass:"font-weight-bold",attrs:{for:"form-summary"}},[t._v("Primary Language")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.form.primary_locale,expression:"form.primary_locale"}],staticClass:"form-control form-control-muted",attrs:{disabled:""},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.form,"primary_locale",e.target.multiple?s:s[0])}}},t._l(t.initialData.available_languages,(function(s){return e("option",{domProps:{value:s.code}},[t._v(t._s(s.name))])})),0),t._v(" "),t._m(9)])])])])]):4===t.tabIndex?e("div",{staticClass:"tab-pane fade show active",attrs:{role:"tabpanel"}},[e("h2",{staticClass:"display-4 mb-0"},[t._v("Admin Contact")]),t._v(" "),e("p",{staticClass:"small text-muted"},[t._v("Set a designated admin account and public email address")]),t._v(" "),e("hr",{staticClass:"mt-0"}),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6"},[t.initialData.admins.length?e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold",attrs:{for:"form-summary"}},[t._v("Designated Admin")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.form.contact_account,expression:"form.contact_account"}],staticClass:"form-control form-control-muted",on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.form,"contact_account",e.target.multiple?s:s[0])}}},[e("option",{attrs:{disabled:"",value:"0"}},[t._v("Select a designated admin")]),t._v(" "),t._l(t.initialData.admins,(function(s,a){return e("option",{key:"pfc-"+s+a,domProps:{value:s.pid}},[t._v(t._s(s.username))])}))],2)]):e("div",{staticClass:"px-3 pb-2 pt-0 border border-danger rounded"},[e("p",{staticClass:"lead font-weight-bold text-danger"},[t._v("No admin(s) found")]),t._v(" "),t._m(10)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold",attrs:{for:"form-summary"}},[t._v("Public Email")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.contact_email,expression:"form.contact_email"}],staticClass:"form-control form-control-muted",attrs:{placeholder:"info@example.org"},domProps:{value:t.form.contact_email},on:{input:function(e){e.target.composing||t.$set(t.form,"contact_email",e.target.value)}}}),t._v(" "),e("p",{staticClass:"help-text small text-muted"},[t._v("\n Must be a valid email address\n ")])])])])]):5===t.tabIndex?e("div",{staticClass:"tab-pane fade show active",attrs:{role:"tabpanel"}},[e("h2",{staticClass:"display-4 mb-0"},[t._v("Favourite Posts")]),t._v(" "),e("p",{staticClass:"small text-muted"},[t._v("Show off a few favourite posts from your server")]),t._v(" "),e("hr",{staticClass:"mt-0 mb-1"}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.selectedPosts&&12!==t.selectedPosts.length,expression:"selectedPosts && selectedPosts.length !== 12"}],staticClass:"nav-wrapper"},[e("ul",{staticClass:"nav nav-pills nav-fill flex-column flex-md-row",attrs:{role:"tablist"}},[e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link mb-sm-3 mb-md-0 active",attrs:{id:"favposts-1-tab","data-toggle":"tab",href:"#favposts-1",role:"tab","aria-controls":"favposts-1","aria-selected":"true"}},[t._v(t._s(this.selectedPosts.length?this.selectedPosts.length:"")+" Selected Posts")])]),t._v(" "),t.selectedPosts&&t.selectedPosts.length<12?e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link mb-sm-3 mb-md-0",attrs:{id:"favposts-2-tab","data-toggle":"tab",href:"#favposts-2",role:"tab","aria-controls":"favposts-2","aria-selected":"false"}},[t._v("Add by post id")])]):t._e(),t._v(" "),t.selectedPosts&&t.selectedPosts.length<12?e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link mb-sm-3 mb-md-0",attrs:{id:"favposts-3-tab","data-toggle":"tab",href:"#favposts-3",role:"tab","aria-controls":"favposts-3","aria-selected":"false"},on:{click:t.initPopularPosts}},[t._v("Add by popularity")])]):t._e()])]),t._v(" "),e("div",{staticClass:"tab-content mt-3"},[e("div",{staticClass:"tab-pane fade list-fade-bottom show active",attrs:{id:"favposts-1",role:"tabpanel","aria-labelledby":"favposts-1-tab"}},[t.selectedPosts&&t.selectedPosts.length?e("div",{staticStyle:{"max-height":"520px","overflow-y":"auto"}},[t._l(t.selectedPosts,(function(s){return e("div",{key:"sp-"+s.id,staticClass:"list-group-item border-primary form-control-muted"},[e("div",{staticClass:"media align-items-center"},[e("div",{staticClass:"custom-control custom-checkbox mr-2"},[e("input",{staticClass:"custom-control-input",attrs:{type:"checkbox",checked:"",id:"checkbox-sp-".concat(s.id)},on:{change:function(e){return t.toggleSelectedPost(s)}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"checkbox-sp-".concat(s.id)}})]),t._v(" "),e("img",{staticClass:"border rounded-sm mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:s.media_attachments[0].url,width:"100",height:"100",loading:"lazy"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"lead mt-0 mb-0 font-weight-bold"},[t._v("@"+t._s(s.account.username))]),t._v(" "),e("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"14px"}},[e("span",[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(s.favourites_count)))]),t._v(" Likes")]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("·")]),t._v(" "),e("span",[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(s.account.followers_count)))]),t._v(" Followers")]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("·")]),t._v(" "),e("span",[t._v("Created "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatDateTime(s.created_at)))])])])]),t._v(" "),e("a",{staticClass:"btn btn-outline-primary btn-sm rounded-pill",attrs:{href:s.url,target:"_blank"}},[t._v("View")])])])})),t._v(" "),e("div",{staticClass:"mt-5 mb-5 pt-3"})],2):e("div",[t._m(11)])]),t._v(" "),e("div",{staticClass:"tab-pane fade",attrs:{id:"favposts-2",role:"tabpanel","aria-labelledby":"favposts-2-tab"}},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Find and add by post id")]),t._v(" "),e("div",{staticClass:"input-group mb-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.favouritePostByIdInput,expression:"favouritePostByIdInput"}],staticClass:"form-control form-control-muted border",attrs:{type:"number",placeholder:"Post id",min:"1",max:"99999999999999999999",disabled:t.favouritePostByIdFetching},domProps:{value:t.favouritePostByIdInput},on:{input:function(e){e.target.composing||(t.favouritePostByIdInput=e.target.value)}}}),t._v(" "),e("div",{staticClass:"input-group-append"},[t.favouritePostByIdFetching?e("button",{staticClass:"btn btn-outline-primary",attrs:{disabled:""}},[t._m(12)]):e("button",{staticClass:"btn btn-outline-primary",attrs:{type:"button"},on:{click:t.handlePostByIdSearch}},[t._v("\n Search\n ")])])])])]),t._v(" "),t._m(13)])]),t._v(" "),e("div",{staticClass:"tab-pane fade list-fade-bottom mb-0",attrs:{id:"favposts-3",role:"tabpanel","aria-labelledby":"favposts-3-tab"}},[t.popularPostsLoaded?e("div",{staticClass:"list-group",staticStyle:{"max-height":"520px","overflow-y":"auto"}},[t._l(t.popularPosts,(function(s){return e("div",{key:"pp-"+s.id,staticClass:"list-group-item",class:[t.selectedPosts.includes(s)?"border-primary form-control-muted":""]},[e("div",{staticClass:"media align-items-center"},[e("div",{staticClass:"custom-control custom-checkbox mr-2"},[e("input",{staticClass:"custom-control-input",attrs:{type:"checkbox",id:"checkbox-pp-".concat(s.id)},domProps:{checked:t.selectedPosts.includes(s)},on:{change:function(e){return t.togglePopularPost(s.id,s)}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"checkbox-pp-".concat(s.id)}})]),t._v(" "),e("img",{staticClass:"border rounded-sm mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:s.media_attachments[0].url,width:"100",height:"100",loading:"lazy"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"lead mt-0 mb-0 font-weight-bold"},[t._v("@"+t._s(s.account.username))]),t._v(" "),e("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"14px"}},[e("span",[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(s.favourites_count)))]),t._v(" Likes")]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("·")]),t._v(" "),e("span",[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(s.account.followers_count)))]),t._v(" Followers")]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("·")]),t._v(" "),e("span",[t._v("Created "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatDateTime(s.created_at)))])])])]),t._v(" "),e("a",{staticClass:"btn btn-outline-primary btn-sm rounded-pill",attrs:{href:s.url,target:"_blank"}},[t._v("View")])])])})),t._v(" "),e("div",{staticClass:"mt-5 mb-3"})],2):e("div",{staticClass:"text-center py-5"},[t._m(14)])])])]):6===t.tabIndex?e("div",{staticClass:"tab-pane fade show active",attrs:{role:"tabpanel"}},[e("h2",{staticClass:"display-4 mb-0"},[t._v("Privacy Pledge")]),t._v(" "),e("p",{staticClass:"small text-muted"},[t._v("Pledge to keep you and your data private and securely stored")]),t._v(" "),e("hr",{staticClass:"mt-0"}),t._v(" "),e("p",[t._v("To qualify for the Privacy Pledge, you must abide by the following rules:")]),t._v(" "),t._m(15),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("You may use 3rd party services like captchas on specific pages, so long as they are clearly defined in your privacy policy")]),t._v(" "),e("hr"),t._v(" "),e("p"),e("div",{staticClass:"custom-control custom-checkbox mr-2"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.privacy_pledge,expression:"form.privacy_pledge"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"privacy-pledge"},domProps:{checked:Array.isArray(t.form.privacy_pledge)?t._i(t.form.privacy_pledge,null)>-1:t.form.privacy_pledge},on:{change:function(e){var s=t.form.privacy_pledge,a=e.target,o=!!a.checked;if(Array.isArray(s)){var n=t._i(s,null);a.checked?n<0&&t.$set(t.form,"privacy_pledge",s.concat([null])):n>-1&&t.$set(t.form,"privacy_pledge",s.slice(0,n).concat(s.slice(n+1)))}else t.$set(t.form,"privacy_pledge",o)}}}),t._v(" "),e("label",{staticClass:"custom-control-label font-weight-bold",attrs:{for:"privacy-pledge"}},[t._v("I agree to the uphold the Privacy Pledge")])]),t._v(" "),e("p")]):7===t.tabIndex?e("div",{staticClass:"tab-pane fade show active",attrs:{role:"tabpanel"}},[e("h2",{staticClass:"display-4 mb-0"},[t._v("Community Guidelines")]),t._v(" "),e("p",{staticClass:"small text-muted"},[t._v("A few ground rules to keep your community healthy and safe.")]),t._v(" "),e("hr",{staticClass:"mt-0"}),t._v(" "),t.communityGuidelines&&t.communityGuidelines.length?e("ol",{staticClass:"font-weight-bold"},t._l(t.communityGuidelines,(function(s){return e("li",{staticClass:"text-primary"},[e("span",{staticClass:"lead ml-1 text-dark"},[t._v(t._s(s))])])})),0):e("div",{staticClass:"card bg-primary text-white"},[t._m(16)]),t._v(" "),e("hr"),t._v(" "),t._m(17)]):8===t.tabIndex?e("div",{staticClass:"tab-pane fade show active",attrs:{role:"tabpanel"}},[e("h2",{staticClass:"display-4 mb-0"},[t._v("Feature Requirements")]),t._v(" "),e("p",{staticClass:"small text-muted"},[t._v("The minimum requirements for Directory inclusion.")]),t._v(" "),e("hr",{staticClass:"mt-0"}),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"list-group"},[e("div",{staticClass:"list-group-item d-flex align-items-center"},[e("div",[e("i",{staticClass:"far fa-2x mr-4",class:[t.requirements_validator.hasOwnProperty("media_types")?"fa-exclamation-circle text-danger":"fa-check-circle text-success"]})]),t._v(" "),e("div",[e("p",{staticClass:"font-weight-bold text-dark my-0"},[t._v("Media Types")]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v("Allowed MIME types. image/jpeg and image/png by default")]),t._v(" "),t.requirements_validator.hasOwnProperty("media_types")?e("p",{staticClass:"mb-0 text-danger font-weight-bold"},[t._v(t._s(t.requirements_validator.media_types[0]))]):t._e()])]),t._v(" "),t.feature_config.optimize_image?e("div",{staticClass:"list-group-item d-flex align-items-center"},[e("div",[e("i",{staticClass:"far fa-2x mr-4",class:[t.requirements_validator.hasOwnProperty("image_quality")?"fa-exclamation-circle text-danger":"fa-check-circle text-success"]})]),t._v(" "),e("div",[e("p",{staticClass:"font-weight-bold text-dark my-0"},[t._v("Image Quality")]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v("Image optimization is enabled, the image quality must be a value between 1-100.")]),t._v(" "),t.requirements_validator.hasOwnProperty("image_quality")?e("p",{staticClass:"mb-0 text-danger font-weight-bold"},[t._v(t._s(t.requirements_validator.image_quality[0]))]):t._e()])]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item d-flex align-items-center"},[e("div",[e("i",{staticClass:"far fa-2x mr-4",class:[t.requirements_validator.hasOwnProperty("max_photo_size")?"fa-exclamation-circle text-danger":"fa-check-circle text-success"]})]),t._v(" "),e("div",[e("p",{staticClass:"font-weight-bold text-dark my-0"},[t._v("Max Photo Size")]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v("Max photo upload size in kb. Must be between 15-100 MB.")]),t._v(" "),t.requirements_validator.hasOwnProperty("max_photo_size")?e("p",{staticClass:"mb-0 text-danger font-weight-bold"},[t._v(t._s(t.requirements_validator.max_photo_size[0]))]):t._e()])]),t._v(" "),e("div",{staticClass:"list-group-item d-flex align-items-center"},[e("div",[e("i",{staticClass:"far fa-2x mr-4",class:[t.requirements_validator.hasOwnProperty("max_caption_length")?"fa-exclamation-circle text-danger":"fa-check-circle text-success"]})]),t._v(" "),e("div",[e("p",{staticClass:"font-weight-bold text-dark my-0"},[t._v("Max Caption Length")]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v("The max caption length limit. Must be between 500-10000.")]),t._v(" "),t.requirements_validator.hasOwnProperty("max_caption_length")?e("p",{staticClass:"mb-0 text-danger font-weight-bold"},[t._v(t._s(t.requirements_validator.max_caption_length[0]))]):t._e()])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"list-group"},[e("div",{staticClass:"list-group-item d-flex align-items-center"},[e("div",[e("i",{staticClass:"far fa-2x mr-4",class:[t.requirements_validator.hasOwnProperty("max_altext_length")?"fa-exclamation-circle text-danger":"fa-check-circle text-success"]})]),t._v(" "),e("div",[e("p",{staticClass:"font-weight-bold text-dark my-0"},[t._v("Max Alt-text length")]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v("The alt-text length limit. Must be between 1000-5000.")]),t._v(" "),t.requirements_validator.hasOwnProperty("max_altext_length")?e("p",{staticClass:"mb-0 text-danger font-weight-bold"},[t._v(t._s(t.requirements_validator.max_altext_length[0]))]):t._e()])]),t._v(" "),t.feature_config.enforce_account_limit?e("div",{staticClass:"list-group-item d-flex align-items-center"},[e("div",[e("i",{staticClass:"far fa-2x mr-4",class:[t.requirements_validator.hasOwnProperty("max_account_size")?"fa-exclamation-circle text-danger":"fa-check-circle text-success"]})]),t._v(" "),e("div",[e("p",{staticClass:"font-weight-bold text-dark my-0"},[t._v("Max Account Size")]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v("The account storage limit. Must be 1GB at minimum.")]),t._v(" "),t.requirements_validator.hasOwnProperty("max_account_size")?e("p",{staticClass:"mb-0 text-danger font-weight-bold"},[t._v(t._s(t.requirements_validator.max_account_size[0]))]):t._e()])]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item d-flex align-items-center"},[e("div",[e("i",{staticClass:"far fa-2x mr-4",class:[t.requirements_validator.hasOwnProperty("max_album_length")?"fa-exclamation-circle text-danger":"fa-check-circle text-success"]})]),t._v(" "),e("div",[e("p",{staticClass:"font-weight-bold text-dark my-0"},[t._v("Max Album Length")]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v("Max photos per album post. Must be between 4-20.")]),t._v(" "),t.requirements_validator.hasOwnProperty("max_album_length")?e("p",{staticClass:"mb-0 text-danger font-weight-bold"},[t._v(t._s(t.requirements_validator.max_album_length[0]))]):t._e()])]),t._v(" "),e("div",{staticClass:"list-group-item d-flex align-items-center"},[e("div",[e("i",{staticClass:"far fa-2x mr-4",class:[t.requirements_validator.hasOwnProperty("account_deletion")?"fa-exclamation-circle text-danger":"fa-check-circle text-success"]})]),t._v(" "),e("div",[e("p",{staticClass:"font-weight-bold text-dark my-0"},[t._v("Account Deletion")]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v("Allow users to delete their own account.")]),t._v(" "),t.requirements_validator.hasOwnProperty("account_deletion")?e("p",{staticClass:"mb-0 text-danger font-weight-bold"},[t._v(t._s(t.requirements_validator.account_deletion[0]))]):t._e()])])])])])]):9===t.tabIndex?e("div",{staticClass:"tab-pane fade show active",attrs:{role:"tabpanel"}},[e("h2",{staticClass:"display-4 mb-0"},[t._v("User Testimonials")]),t._v(" "),e("p",{staticClass:"small text-muted"},[t._v("Add testimonials from your users.")]),t._v(" "),e("hr",{staticClass:"mt-0"}),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6 list-fade-bottom"},[e("div",{staticClass:"list-group pb-5",staticStyle:{"max-height":"520px","overflow-y":"auto"}},t._l(t.testimonials,(function(s,a){return e("div",{staticClass:"list-group-item",class:[a==t.testimonials.length-1?"mb-5":""]},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded-circle",attrs:{src:s.profile.avatar,width:"40",h:"40"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n "+t._s(s.profile.username)+"\n ")]),t._v(" "),e("p",{staticClass:"small text-muted mt-n1 mb-0"},[t._v("\n Member Since "+t._s(t.formatDate(s.profile.created_at))+"\n ")])])]),t._v(" "),e("div",[e("p",{staticClass:"mb-0 small"},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.editTestimonial(s)}}},[t._v("\n Edit\n ")])]),t._v(" "),e("p",{staticClass:"mb-0 small"},[e("a",{staticClass:"text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteTestimonial(s)}}},[t._v("\n Delete\n ")])])])]),t._v(" "),e("hr",{staticClass:"my-1"}),t._v(" "),e("p",{staticClass:"small font-weight-bold text-muted mb-0 text-center"},[t._v("Testimonial")]),t._v(" "),e("div",{staticClass:"border rounded px-3"},[e("p",{staticClass:"my-2 small",staticStyle:{"white-space":"pre-wrap"},domProps:{innerHTML:t._s(s.body)}})])])})),0)]),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[t.isEditingTestimonial?e("div",{staticClass:"card"},[e("div",{staticClass:"card-header font-weight-bold"},[t._v("\n Edit Testimonial\n ")]),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold",attrs:{for:"form-summary"}},[t._v("Username")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.editingTestimonial.profile.username,expression:"editingTestimonial.profile.username"}],staticClass:"form-control form-control-muted",attrs:{placeholder:"test",disabled:""},domProps:{value:t.editingTestimonial.profile.username},on:{input:function(e){e.target.composing||t.$set(t.editingTestimonial.profile,"username",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold",attrs:{for:"form-summary"}},[t._v("Testimonial")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.editingTestimonial.body,expression:"editingTestimonial.body"}],staticClass:"form-control form-control-muted",attrs:{rows:"5"},domProps:{value:t.editingTestimonial.body},on:{input:function(e){e.target.composing||t.$set(t.editingTestimonial,"body",e.target.value)}}}),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("p",{staticClass:"help-text small text-muted mb-0"},[t._v("\n Text only, up to 500 characters\n ")]),t._v(" "),e("p",{staticClass:"help-text small text-muted mb-0"},[t._v("\n "+t._s(t.editingTestimonial.body?t.editingTestimonial.body.length:0)+"/500\n ")])])])]),t._v(" "),e("div",{staticClass:"card-footer"},[e("button",{staticClass:"btn btn-primary btn-block",attrs:{type:"button"},on:{click:t.saveEditTestimonial}},[t._v("\n Save\n ")]),t._v(" "),e("button",{staticClass:"btn btn-secondary btn-block",attrs:{type:"button"},on:{click:t.cancelEditTestimonial}},[t._v("\n Cancel\n ")])])]):e("div",{staticClass:"card"},[t.testimonials.length<10?[e("div",{staticClass:"card-header font-weight-bold"},[t._v("\n Add New Testimonial\n ")]),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold",attrs:{for:"form-summary"}},[t._v("Username")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.testimonial.username,expression:"testimonial.username"}],staticClass:"form-control form-control-muted",attrs:{placeholder:"test"},domProps:{value:t.testimonial.username},on:{input:function(e){e.target.composing||t.$set(t.testimonial,"username",e.target.value)}}}),t._v(" "),e("p",{staticClass:"help-text small text-muted"},[t._v("\n Must be a valid user account\n ")])]),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold",attrs:{for:"form-summary"}},[t._v("Testimonial")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.testimonial.body,expression:"testimonial.body"}],staticClass:"form-control form-control-muted",attrs:{rows:"5"},domProps:{value:t.testimonial.body},on:{input:function(e){e.target.composing||t.$set(t.testimonial,"body",e.target.value)}}}),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("p",{staticClass:"help-text small text-muted mb-0"},[t._v("\n Text only, up to 500 characters\n ")]),t._v(" "),e("p",{staticClass:"help-text small text-muted mb-0"},[t._v("\n "+t._s(t.testimonial.body?t.testimonial.body.length:0)+"/500\n ")])])])]),t._v(" "),e("div",{staticClass:"card-footer"},[e("button",{staticClass:"btn btn-primary btn-block",attrs:{type:"button"},on:{click:t.saveTestimonial}},[t._v("Save Testimonial")])])]:[t._m(18)]],2)])])]):t._e()])])])])])])]):e("div",[t._m(19)])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-lg-6 col-7"},[e("p",{staticClass:"display-1 text-white d-inline-block mb-0"},[t._v("Directory")]),t._v(" "),e("p",{staticClass:"h3 text-white font-weight-light"},[t._v("Manage your server listing on pixelfed.org")])])},function(){var t=this._self._c;return t("p",[t("i",{staticClass:"far fa-exclamation-triangle fa-5x text-lighter"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-none border d-flex align-items-center justify-content-center py-5"},[e("p",{staticClass:"display-3 mb-1"},[t._v("Awaiting Approval")]),t._v(" "),e("p",{staticClass:"text-primary mb-1"},[t._v("Awaiting submission approval from pixelfed.org, please check back later!")]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("If you are still waiting for approval after 24 hours please contact the Pixelfed team.")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-none border d-flex align-items-center justify-content-center py-5"},[e("p",{staticClass:"display-3 mb-1"},[t._v("Awaiting Update Approval")]),t._v(" "),e("p",{staticClass:"text-primary mb-1"},[t._v("Awaiting updated submission approval from pixelfed.org, please check back later!")]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("If you are still waiting for approval after 24 hours please contact the Pixelfed team.")])])},function(){var t=this._self._c;return t("p",{staticClass:"my-3"},[t("i",{staticClass:"far fa-check-circle fa-4x text-success"})])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mt-2 mb-0"},[t._v("Your server directory listing on "),e("a",{staticClass:"font-weight-bold",attrs:{href:"#"}},[t._v("pixelfed.org")]),t._v(" is active")])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-none border d-flex align-items-center justify-content-center py-5"},[e("p",{staticClass:"display-3 mb-1"},[t._v("Oops! An unexpected error occured")]),t._v(" "),e("p",{staticClass:"text-primary mb-1"},[t._v("Ask the Pixelfed team for assistance.")])])},function(){var t=this._self._c;return t("p",{staticClass:"text-center mb-2"},[t("i",{staticClass:"far fa-exclamation-circle fa-2x"})])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"form-text text-muted small mb-0"},[t._v("Must be a "),e("kbd",[t._v("JPEG")]),t._v(" or "),e("kbd",[t._v("PNG")]),t._v(" image no larger than 5MB.")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"form-text text-muted small mb-0"},[t._v("The primary language of your server, to edit this value you need to set the "),e("kbd",[t._v("APP_LOCALE")]),t._v(" .env value")])},function(){var t=this,e=t._self._c;return e("ul",{staticClass:"text-danger"},[e("li",[t._v("Admins must be active")]),t._v(" "),e("li",[t._v("Admins must have 2FA setup and enabled")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body bg-lighter text-center py-5"},[e("p",{staticClass:"text-light mb-1"},[e("i",{staticClass:"far fa-info-circle fa-3x"})]),t._v(" "),e("p",{staticClass:"h2 mb-0"},[t._v("0 posts selected")]),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v("You can select up to 12 favourite posts by id or popularity")])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"card card-body bg-primary"},[e("div",{staticClass:"d-flex align-items-center text-white"},[e("i",{staticClass:"far fa-info-circle mr-2"}),t._v(" "),e("p",{staticClass:"small mb-0 font-weight-bold"},[t._v("A post id is the numerical id found in post urls")])])])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var t=this,e=t._self._c;return e("ul",{staticClass:"font-weight-bold"},[e("li",[t._v("No analytics or 3rd party trackers*")]),t._v(" "),e("li",[t._v("User data is not sold to any 3rd parties")]),t._v(" "),e("li",[t._v("Data is stored securely in accordance with industry standards")]),t._v(" "),e("li",[t._v("Admin accounts are protected with 2FA")]),t._v(" "),e("li",[t._v("Follow strict support procedures to keep your accounts safe")]),t._v(" "),e("li",[t._v("Give at least 6 months warning in the event we shut down")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-body text-center py-5"},[e("p",{staticClass:"mb-n3"},[e("i",{staticClass:"far fa-exclamation-circle fa-3x"})]),t._v(" "),e("p",{staticClass:"lead mb-0"},[t._v("No Community Guidelines have been set")])])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0"},[t._v("You can manage Community Guidelines on the "),e("a",{attrs:{href:"/i/admin/settings"}},[t._v("Settings page")])])},function(){var t=this._self._c;return t("div",{staticClass:"card-body text-center"},[t("p",{staticClass:"lead"},[this._v("You can't add any more testimonials")])])},function(){var t=this._self._c;return t("div",{staticClass:"container my-5 py-5 text-center"},[t("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])])}];a._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminHashtags.vue?vue&type=template&id=3a5d1241":
|
||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminHashtags.vue?vue&type=template&id=3a5d1241 ***!
|
||
\****************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"header bg-primary pb-3 mt-n4"},[e("div",{staticClass:"container-fluid"},[e("div",{staticClass:"header-body"},[t._m(0),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-xl-2 col-md-6"},[e("div",{staticClass:"mb-3"},[e("h5",{staticClass:"text-light text-uppercase mb-0"},[t._v("Unique Hashtags")]),t._v(" "),e("span",{staticClass:"text-white h2 font-weight-bold mb-0 human-size"},[t._v(t._s(t.prettyCount(t.stats.total_unique)))])])]),t._v(" "),e("div",{staticClass:"col-xl-2 col-md-6"},[e("div",{staticClass:"mb-3"},[e("h5",{staticClass:"text-light text-uppercase mb-0"},[t._v("Total Hashtags")]),t._v(" "),e("span",{staticClass:"text-white h2 font-weight-bold mb-0 human-size"},[t._v(t._s(t.prettyCount(t.stats.total_posts)))])])]),t._v(" "),e("div",{staticClass:"col-xl-2 col-md-6"},[e("div",{staticClass:"mb-3"},[e("h5",{staticClass:"text-light text-uppercase mb-0"},[t._v("New (past 14 days)")]),t._v(" "),e("span",{staticClass:"text-white h2 font-weight-bold mb-0 human-size"},[t._v(t._s(t.prettyCount(t.stats.added_14_days)))])])]),t._v(" "),e("div",{staticClass:"col-xl-2 col-md-6"},[e("div",{staticClass:"mb-3"},[e("h5",{staticClass:"text-light text-uppercase mb-0"},[t._v("Banned Hashtags")]),t._v(" "),e("span",{staticClass:"text-white h2 font-weight-bold mb-0 human-size"},[t._v(t._s(t.prettyCount(t.stats.total_banned)))])])]),t._v(" "),e("div",{staticClass:"col-xl-2 col-md-6"},[e("div",{staticClass:"mb-3"},[e("h5",{staticClass:"text-light text-uppercase mb-0"},[t._v("NSFW Hashtags")]),t._v(" "),e("span",{staticClass:"text-white h2 font-weight-bold mb-0 human-size"},[t._v(t._s(t.prettyCount(t.stats.total_nsfw)))])])]),t._v(" "),e("div",{staticClass:"col-xl-2 col-md-6"},[e("div",{staticClass:"mb-3"},[e("h5",{staticClass:"text-light text-uppercase mb-0"},[t._v("Clear Trending Cache")]),t._v(" "),e("button",{staticClass:"btn btn-outline-white btn-block btn-sm py-0 mt-1",on:{click:t.clearTrendingCache}},[t._v("Clear Cache")])])])])])])]),t._v(" "),t.loaded?e("div",{staticClass:"m-n2 m-lg-4"},[e("div",{staticClass:"container-fluid mt-4"},[e("div",{staticClass:"row mb-3 justify-content-between"},[e("div",{staticClass:"col-12 col-md-8"},[e("ul",{staticClass:"nav nav-pills"},[e("li",{staticClass:"nav-item"},[e("button",{class:["nav-link",{active:0==t.tabIndex}],on:{click:function(e){return t.toggleTab(0)}}},[t._v("All")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("button",{class:["nav-link",{active:1==t.tabIndex}],on:{click:function(e){return t.toggleTab(1)}}},[t._v("Trending")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("button",{class:["nav-link",{active:2==t.tabIndex}],on:{click:function(e){return t.toggleTab(2)}}},[t._v("Banned")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("button",{class:["nav-link",{active:3==t.tabIndex}],on:{click:function(e){return t.toggleTab(3)}}},[t._v("NSFW")])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4"},[e("autocomplete",{ref:"autocomplete",attrs:{search:t.composeSearch,disabled:t.searchLoading,placeholder:"Search hashtags","aria-label":"Search hashtags","get-result-value":t.getTagResultValue},on:{submit:t.onSearchResultClick},scopedSlots:t._u([{key:"result",fn:function(s){var a=s.result,o=s.props;return[e("li",t._b({staticClass:"autocomplete-result d-flex justify-content-between align-items-center"},"li",o,!1),[e("div",{staticClass:"font-weight-bold",class:{"text-danger":a.is_banned}},[t._v("\n #"+t._s(a.name)+"\n ")]),t._v(" "),e("div",{staticClass:"small text-muted"},[t._v("\n "+t._s(t.prettyCount(a.cached_count))+" posts\n ")])])]}}])})],1)]),t._v(" "),[0,2,3].includes(this.tabIndex)?e("div",{staticClass:"table-responsive"},[e("table",{staticClass:"table table-dark"},[e("thead",{staticClass:"thead-dark"},[e("tr",[e("th",{staticClass:"cursor-pointer",attrs:{scope:"col"},domProps:{innerHTML:t._s(t.buildColumn("ID","id"))},on:{click:function(e){return t.toggleCol("id")}}}),t._v(" "),e("th",{staticClass:"cursor-pointer",attrs:{scope:"col"},domProps:{innerHTML:t._s(t.buildColumn("Hashtag","name"))},on:{click:function(e){return t.toggleCol("name")}}}),t._v(" "),e("th",{staticClass:"cursor-pointer",attrs:{scope:"col"},domProps:{innerHTML:t._s(t.buildColumn("Count","cached_count"))},on:{click:function(e){return t.toggleCol("cached_count")}}}),t._v(" "),e("th",{staticClass:"cursor-pointer",attrs:{scope:"col"},domProps:{innerHTML:t._s(t.buildColumn("Can Search","can_search"))},on:{click:function(e){return t.toggleCol("can_search")}}}),t._v(" "),e("th",{staticClass:"cursor-pointer",attrs:{scope:"col"},domProps:{innerHTML:t._s(t.buildColumn("Can Trend","can_trend"))},on:{click:function(e){return t.toggleCol("can_trend")}}}),t._v(" "),e("th",{staticClass:"cursor-pointer",attrs:{scope:"col"},domProps:{innerHTML:t._s(t.buildColumn("NSFW","is_nsfw"))},on:{click:function(e){return t.toggleCol("is_nsfw")}}}),t._v(" "),e("th",{staticClass:"cursor-pointer",attrs:{scope:"col"},domProps:{innerHTML:t._s(t.buildColumn("Banned","is_banned"))},on:{click:function(e){return t.toggleCol("is_banned")}}}),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Created")])])]),t._v(" "),e("tbody",t._l(t.hashtags,(function(s,a){var o;return e("tr",[e("td",{staticClass:"font-weight-bold text-monospace text-muted"},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditHashtagModal(s,a)}}},[t._v("\n "+t._s(s.id)+"\n ")])]),t._v(" "),e("td",{staticClass:"font-weight-bold"},[t._v(t._s(s.name))]),t._v(" "),e("td",{staticClass:"font-weight-bold"},[e("a",{attrs:{href:"/i/web/hashtag/".concat(s.slug)}},[t._v("\n "+t._s(null!==(o=s.cached_count)&&void 0!==o?o:0)+"\n ")])]),t._v(" "),e("td",{staticClass:"font-weight-bold",domProps:{innerHTML:t._s(t.boolIcon(s.can_search,"text-success","text-danger"))}}),t._v(" "),e("td",{staticClass:"font-weight-bold",domProps:{innerHTML:t._s(t.boolIcon(s.can_trend,"text-success","text-danger"))}}),t._v(" "),e("td",{staticClass:"font-weight-bold",domProps:{innerHTML:t._s(t.boolIcon(s.is_nsfw,"text-danger"))}}),t._v(" "),e("td",{staticClass:"font-weight-bold",domProps:{innerHTML:t._s(t.boolIcon(s.is_banned,"text-danger"))}}),t._v(" "),e("td",{staticClass:"font-weight-bold"},[t._v(t._s(t.timeAgo(s.created_at)))])])})),0)])]):t._e(),t._v(" "),[0,2,3].includes(this.tabIndex)?e("div",{staticClass:"d-flex align-items-center justify-content-center"},[e("button",{staticClass:"btn btn-primary rounded-pill",attrs:{disabled:!t.pagination.prev},on:{click:function(e){return t.paginate("prev")}}},[t._v("\n Prev\n ")]),t._v(" "),e("button",{staticClass:"btn btn-primary rounded-pill",attrs:{disabled:!t.pagination.next},on:{click:function(e){return t.paginate("next")}}},[t._v("\n Next\n ")])]):t._e(),t._v(" "),1==this.tabIndex?e("div",{staticClass:"table-responsive"},[e("table",{staticClass:"table table-dark"},[t._m(1),t._v(" "),e("tbody",t._l(t.trendingTags,(function(s,a){var o;return e("tr",[e("td",{staticClass:"font-weight-bold text-monospace text-muted"},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditHashtagModal(s,a)}}},[t._v("\n "+t._s(s.id)+"\n ")])]),t._v(" "),e("td",{staticClass:"font-weight-bold"},[t._v(t._s(s.hashtag))]),t._v(" "),e("td",{staticClass:"font-weight-bold"},[e("a",{attrs:{href:"/i/web/hashtag/".concat(s.hashtag)}},[t._v("\n "+t._s(null!==(o=s.total)&&void 0!==o?o:0)+"\n ")])])])})),0)])]):t._e()])]):e("div",{staticClass:"my-5 text-center"},[e("b-spinner")],1),t._v(" "),e("b-modal",{attrs:{title:"Edit Hashtag","ok-only":!0,lazy:!0,static:!0},model:{value:t.showEditModal,callback:function(e){t.showEditModal=e},expression:"showEditModal"}},[t.editingHashtag&&t.editingHashtag.name?e("div",{staticClass:"list-group"},[e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[e("div",{staticClass:"text-muted small"},[t._v("Name")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[t._v(t._s(t.editingHashtag.name))])]),t._v(" "),e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[e("div",{staticClass:"text-muted small"},[t._v("Total Uses")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[t._v(t._s(t.editingHashtag.cached_count.toLocaleString("en-CA",{compactDisplay:"short"})))])]),t._v(" "),e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[e("div",{staticClass:"text-muted small"},[t._v("Can Trend")]),t._v(" "),e("div",{staticClass:"mr-n2 mb-1"},[e("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:t.editingHashtag.can_trend,callback:function(e){t.$set(t.editingHashtag,"can_trend",e)},expression:"editingHashtag.can_trend"}})],1)]),t._v(" "),e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[e("div",{staticClass:"text-muted small"},[t._v("Can Search")]),t._v(" "),e("div",{staticClass:"mr-n2 mb-1"},[e("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:t.editingHashtag.can_search,callback:function(e){t.$set(t.editingHashtag,"can_search",e)},expression:"editingHashtag.can_search"}})],1)]),t._v(" "),e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[e("div",{staticClass:"text-muted small"},[t._v("Banned")]),t._v(" "),e("div",{staticClass:"mr-n2 mb-1"},[e("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:t.editingHashtag.is_banned,callback:function(e){t.$set(t.editingHashtag,"is_banned",e)},expression:"editingHashtag.is_banned"}})],1)]),t._v(" "),e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[e("div",{staticClass:"text-muted small"},[t._v("NSFW")]),t._v(" "),e("div",{staticClass:"mr-n2 mb-1"},[e("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:t.editingHashtag.is_nsfw,callback:function(e){t.$set(t.editingHashtag,"is_nsfw",e)},expression:"editingHashtag.is_nsfw"}})],1)])]):t._e(),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.editingHashtag&&t.editingHashtag.name&&t.editSaved?e("div",[e("p",{staticClass:"text-primary small font-weight-bold text-center mt-1 mb-0"},[t._v("Hashtag changes successfully saved!")])]):t._e()])],1)],1)},o=[function(){var t=this._self._c;return t("div",{staticClass:"row align-items-center py-4"},[t("div",{staticClass:"col-lg-6 col-7"},[t("p",{staticClass:"display-1 text-white d-inline-block mb-0"},[this._v("Hashtags")])])])},function(){var t=this,e=t._self._c;return e("thead",{staticClass:"thead-dark"},[e("tr",[e("th",{attrs:{scope:"col"}},[t._v("ID")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Hashtag")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Trending Count")])])])}];a._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminInstances.vue?vue&type=template&id=34c8d554&scoped=true":
|
||
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminInstances.vue?vue&type=template&id=34c8d554&scoped=true ***!
|
||
\*****************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t,e,s,a=this,o=a._self._c;return o("div",[o("div",{staticClass:"header bg-primary pb-3 mt-n4"},[o("div",{staticClass:"container-fluid"},[o("div",{staticClass:"header-body"},[a._m(0),a._v(" "),o("div",{staticClass:"row"},[o("div",{staticClass:"col-xl-2 col-md-6"},[o("div",{staticClass:"mb-3"},[o("h5",{staticClass:"text-light text-uppercase mb-0"},[a._v("Total Instances")]),a._v(" "),o("span",{staticClass:"text-white h2 font-weight-bold mb-0 human-size"},[a._v(a._s(a.prettyCount(a.stats.total_count)))])])]),a._v(" "),o("div",{staticClass:"col-xl-2 col-md-6"},[o("div",{staticClass:"mb-3"},[o("h5",{staticClass:"text-light text-uppercase mb-0"},[a._v("New (past 14 days)")]),a._v(" "),o("span",{staticClass:"text-white h2 font-weight-bold mb-0 human-size"},[a._v(a._s(a.prettyCount(a.stats.new_count)))])])]),a._v(" "),o("div",{staticClass:"col-xl-2 col-md-6"},[o("div",{staticClass:"mb-3"},[o("h5",{staticClass:"text-light text-uppercase mb-0"},[a._v("Banned Instances")]),a._v(" "),o("span",{staticClass:"text-white h2 font-weight-bold mb-0 human-size"},[a._v(a._s(a.prettyCount(a.stats.banned_count)))])])]),a._v(" "),o("div",{staticClass:"col-xl-2 col-md-6"},[o("div",{staticClass:"mb-3"},[o("h5",{staticClass:"text-light text-uppercase mb-0"},[a._v("NSFW Instances")]),a._v(" "),o("span",{staticClass:"text-white h2 font-weight-bold mb-0 human-size"},[a._v(a._s(a.prettyCount(a.stats.nsfw_count)))])])]),a._v(" "),o("div",{staticClass:"col-xl-2 col-md-6"},[o("div",{staticClass:"mb-3"},[o("button",{staticClass:"btn btn-outline-white btn-block btn-sm mt-1",on:{click:function(t){t.preventDefault(),a.showAddModal=!0}}},[a._v("Create New Instance")]),a._v(" "),a.showImportForm?o("div",[o("div",{staticClass:"form-group mt-3"},[o("div",{staticClass:"custom-file"},[o("input",{ref:"importInput",staticClass:"custom-file-input",attrs:{type:"file",id:"customFile"},on:{change:a.onImportUpload}}),a._v(" "),o("label",{staticClass:"custom-file-label",attrs:{for:"customFile"}},[a._v("Choose file")])])]),a._v(" "),o("p",{staticClass:"mb-0 mt-n3"},[o("a",{staticClass:"text-white font-weight-bold small",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),a.showImportForm=!1}}},[a._v("Cancel")])])]):o("div",{staticClass:"d-flex mt-1"},[o("button",{staticClass:"btn btn-outline-white btn-sm mt-1",on:{click:a.openImportForm}},[a._v("Import")]),a._v(" "),o("button",{staticClass:"btn btn-outline-white btn-block btn-sm mt-1",on:{click:function(t){return a.downloadBackup()}}},[a._v("Download Backup")])])])])])])])]),a._v(" "),a.loaded?o("div",{staticClass:"m-n2 m-lg-4"},[o("div",{staticClass:"container-fluid mt-4"},[o("div",{staticClass:"row mb-3 justify-content-between"},[o("div",{staticClass:"col-12 col-md-8"},[o("ul",{staticClass:"nav nav-pills"},[o("li",{staticClass:"nav-item"},[o("button",{class:["nav-link",{active:0==a.tabIndex}],on:{click:function(t){return a.toggleTab(0)}}},[a._v("All")])]),a._v(" "),o("li",{staticClass:"nav-item"},[o("button",{class:["nav-link",{active:1==a.tabIndex}],on:{click:function(t){return a.toggleTab(1)}}},[a._v("New")])]),a._v(" "),o("li",{staticClass:"nav-item"},[o("button",{class:["nav-link",{active:2==a.tabIndex}],on:{click:function(t){return a.toggleTab(2)}}},[a._v("Banned")])]),a._v(" "),o("li",{staticClass:"nav-item"},[o("button",{class:["nav-link",{active:3==a.tabIndex}],on:{click:function(t){return a.toggleTab(3)}}},[a._v("NSFW")])]),a._v(" "),o("li",{staticClass:"nav-item"},[o("button",{class:["nav-link",{active:4==a.tabIndex}],on:{click:function(t){return a.toggleTab(4)}}},[a._v("Unlisted")])]),a._v(" "),o("li",{staticClass:"nav-item"},[o("button",{class:["nav-link",{active:5==a.tabIndex}],on:{click:function(t){return a.toggleTab(5)}}},[a._v("Most Users")])]),a._v(" "),o("li",{staticClass:"nav-item"},[o("button",{class:["nav-link",{active:6==a.tabIndex}],on:{click:function(t){return a.toggleTab(6)}}},[a._v("Most Statuses")])])])]),a._v(" "),o("div",{staticClass:"col-12 col-md-4"},[o("autocomplete",{ref:"autocomplete",attrs:{search:a.composeSearch,disabled:a.searchLoading,defaultValue:a.searchQuery,placeholder:"Search instances by domain","aria-label":"Search instances by domain","get-result-value":a.getTagResultValue},on:{submit:a.onSearchResultClick},scopedSlots:a._u([{key:"result",fn:function(t){var e=t.result,s=t.props;return[o("li",a._b({staticClass:"autocomplete-result d-flex justify-content-between align-items-center"},"li",s,!1),[o("div",{staticClass:"font-weight-bold",class:{"text-danger":e.banned}},[a._v("\n\t\t\t\t\t\t\t\t\t"+a._s(e.domain)+"\n\t\t\t\t\t\t\t\t")]),a._v(" "),o("div",{staticClass:"small text-muted"},[a._v("\n\t\t\t\t\t\t\t\t\t"+a._s(a.prettyCount(e.user_count))+" users\n\t\t\t\t\t\t\t\t")])])]}}])})],1)]),a._v(" "),o("div",{staticClass:"table-responsive"},[o("table",{staticClass:"table table-dark"},[o("thead",{staticClass:"thead-dark"},[o("tr",[o("th",{staticClass:"cursor-pointer",attrs:{scope:"col"},domProps:{innerHTML:a._s(a.buildColumn("ID","id"))},on:{click:function(t){return a.toggleCol("id")}}}),a._v(" "),o("th",{staticClass:"cursor-pointer",attrs:{scope:"col"},domProps:{innerHTML:a._s(a.buildColumn("Domain","domain"))},on:{click:function(t){return a.toggleCol("domain")}}}),a._v(" "),o("th",{staticClass:"cursor-pointer",attrs:{scope:"col"},domProps:{innerHTML:a._s(a.buildColumn("Software","software"))},on:{click:function(t){return a.toggleCol("software")}}}),a._v(" "),o("th",{staticClass:"cursor-pointer",attrs:{scope:"col"},domProps:{innerHTML:a._s(a.buildColumn("User Count","user_count"))},on:{click:function(t){return a.toggleCol("user_count")}}}),a._v(" "),o("th",{staticClass:"cursor-pointer",attrs:{scope:"col"},domProps:{innerHTML:a._s(a.buildColumn("Status Count","status_count"))},on:{click:function(t){return a.toggleCol("status_count")}}}),a._v(" "),o("th",{staticClass:"cursor-pointer",attrs:{scope:"col"},domProps:{innerHTML:a._s(a.buildColumn("Banned","banned"))},on:{click:function(t){return a.toggleCol("banned")}}}),a._v(" "),o("th",{staticClass:"cursor-pointer",attrs:{scope:"col"},domProps:{innerHTML:a._s(a.buildColumn("NSFW","auto_cw"))},on:{click:function(t){return a.toggleCol("auto_cw")}}}),a._v(" "),o("th",{staticClass:"cursor-pointer",attrs:{scope:"col"},domProps:{innerHTML:a._s(a.buildColumn("Unlisted","unlisted"))},on:{click:function(t){return a.toggleCol("unlisted")}}}),a._v(" "),o("th",{attrs:{scope:"col"}},[a._v("Created")])])]),a._v(" "),o("tbody",a._l(a.instances,(function(t,e){return o("tr",[o("td",{staticClass:"font-weight-bold text-monospace text-muted"},[o("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),a.openInstanceModal(t.id)}}},[a._v("\n\t\t\t\t\t\t\t\t\t"+a._s(t.id)+"\n\t\t\t\t\t\t\t\t")])]),a._v(" "),o("td",{staticClass:"font-weight-bold"},[a._v(a._s(t.domain))]),a._v(" "),o("td",{staticClass:"font-weight-bold"},[a._v(a._s(t.software))]),a._v(" "),o("td",{staticClass:"font-weight-bold"},[a._v(a._s(a.prettyCount(t.user_count)))]),a._v(" "),o("td",{staticClass:"font-weight-bold"},[a._v(a._s(a.prettyCount(t.status_count)))]),a._v(" "),o("td",{staticClass:"font-weight-bold",domProps:{innerHTML:a._s(a.boolIcon(t.banned,"text-danger"))}}),a._v(" "),o("td",{staticClass:"font-weight-bold",domProps:{innerHTML:a._s(a.boolIcon(t.auto_cw,"text-danger"))}}),a._v(" "),o("td",{staticClass:"font-weight-bold",domProps:{innerHTML:a._s(a.boolIcon(t.unlisted,"text-danger"))}}),a._v(" "),o("td",{staticClass:"font-weight-bold"},[a._v(a._s(a.timeAgo(t.created_at)))])])})),0)])]),a._v(" "),o("div",{staticClass:"d-flex align-items-center justify-content-center"},[o("button",{staticClass:"btn btn-primary rounded-pill",attrs:{disabled:!a.pagination.prev},on:{click:function(t){return a.paginate("prev")}}},[a._v("\n\t\t\t\t\tPrev\n\t\t\t\t")]),a._v(" "),o("button",{staticClass:"btn btn-primary rounded-pill",attrs:{disabled:!a.pagination.next},on:{click:function(t){return a.paginate("next")}}},[a._v("\n\t\t\t\t\tNext\n\t\t\t\t")])])])]):o("div",{staticClass:"my-5 text-center"},[o("b-spinner")],1),a._v(" "),o("b-modal",{attrs:{title:"View Instance","header-class":"d-flex align-items-center justify-content-center mb-0 pb-0","ok-title":"Save","ok-disabled":!a.editingInstanceChanges},on:{ok:a.saveInstanceModalChanges},scopedSlots:a._u([{key:"modal-footer",fn:function(){return[o("div",{staticClass:"w-100 d-flex justify-content-between align-items-center"},[o("div",[o("b-button",{attrs:{variant:"outline-danger",size:"sm"},on:{click:a.deleteInstanceModal}},[a._v("\n\t\t\t\t\tDelete\n\t\t\t\t")]),a._v(" "),a.refreshedModalStats?a._e():o("b-button",{attrs:{variant:"outline-primary",size:"sm"},on:{click:a.refreshModalStats}},[a._v("\n\t\t\t\t\tRefresh Stats\n\t\t\t\t")])],1),a._v(" "),o("div",[o("b-button",{attrs:{variant:"link-dark",size:"sm"},on:{click:a.onViewMoreInstance}},[a._v("\n\t\t\t\tView More\n\t\t\t ")]),a._v(" "),o("b-button",{attrs:{variant:"primary"},on:{click:a.saveInstanceModalChanges}},[a._v("\n\t\t\t\tSave\n\t\t\t ")])],1)])]},proxy:!0}]),model:{value:a.showInstanceModal,callback:function(t){a.showInstanceModal=t},expression:"showInstanceModal"}},[a.editingInstance&&a.canEditInstance?o("div",{staticClass:"list-group"},[o("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[o("div",{staticClass:"text-muted small"},[a._v("Domain")]),a._v(" "),o("div",{staticClass:"font-weight-bold"},[a._v(a._s(a.editingInstance.domain))])]),a._v(" "),o("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[a.editingInstance.software?o("div",[o("div",{staticClass:"text-muted small"},[a._v("Software")]),a._v(" "),o("div",{staticClass:"font-weight-bold"},[a._v(a._s(null!==(t=a.editingInstance.software)&&void 0!==t?t:"Unknown"))])]):a._e(),a._v(" "),o("div",[o("div",{staticClass:"text-muted small"},[a._v("Total Users")]),a._v(" "),o("div",{staticClass:"font-weight-bold"},[a._v(a._s(a.formatCount(null!==(e=a.editingInstance.user_count)&&void 0!==e?e:0)))])]),a._v(" "),o("div",[o("div",{staticClass:"text-muted small"},[a._v("Total Statuses")]),a._v(" "),o("div",{staticClass:"font-weight-bold"},[a._v(a._s(a.formatCount(null!==(s=a.editingInstance.status_count)&&void 0!==s?s:0)))])])]),a._v(" "),o("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[o("div",{staticClass:"text-muted small"},[a._v("Banned")]),a._v(" "),o("div",{staticClass:"mr-n2 mb-1"},[o("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:a.editingInstance.banned,callback:function(t){a.$set(a.editingInstance,"banned",t)},expression:"editingInstance.banned"}})],1)]),a._v(" "),o("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[o("div",{staticClass:"text-muted small"},[a._v("Apply CW to Media")]),a._v(" "),o("div",{staticClass:"mr-n2 mb-1"},[o("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:a.editingInstance.auto_cw,callback:function(t){a.$set(a.editingInstance,"auto_cw",t)},expression:"editingInstance.auto_cw"}})],1)]),a._v(" "),o("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[o("div",{staticClass:"text-muted small"},[a._v("Unlisted")]),a._v(" "),o("div",{staticClass:"mr-n2 mb-1"},[o("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:a.editingInstance.unlisted,callback:function(t){a.$set(a.editingInstance,"unlisted",t)},expression:"editingInstance.unlisted"}})],1)]),a._v(" "),o("div",{staticClass:"list-group-item d-flex justify-content-between",class:[a.instanceModalNotes?"flex-column gap-2":"align-items-center"]},[o("div",{staticClass:"text-muted small"},[a._v("Notes")]),a._v(" "),o("transition",{attrs:{name:"fade"}},[a.instanceModalNotes?o("div",{staticClass:"w-100"},[o("b-form-textarea",{attrs:{rows:"3","max-rows":"5",maxlength:"500"},model:{value:a.editingInstance.notes,callback:function(t){a.$set(a.editingInstance,"notes",t)},expression:"editingInstance.notes"}}),a._v(" "),o("p",{staticClass:"small text-muted"},[a._v(a._s(a.editingInstance.notes?a.editingInstance.notes.length:0)+"/500")])],1):o("div",{staticClass:"mb-1"},[o("a",{staticClass:"font-weight-bold small",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),a.showModalNotes()}}},[a._v(a._s(a.editingInstance.notes?"View":"Add"))])])])],1)]):a._e()]),a._v(" "),o("b-modal",{attrs:{title:"Add Instance","ok-title":"Save","ok-disabled":a.addNewInstance.domain.length<2},on:{ok:a.saveNewInstance},model:{value:a.showAddModal,callback:function(t){a.showAddModal=t},expression:"showAddModal"}},[o("div",{staticClass:"list-group"},[o("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[o("div",{staticClass:"text-muted small"},[a._v("Domain")]),a._v(" "),o("div",[o("b-form-input",{attrs:{placeholder:"Add domain here"},model:{value:a.addNewInstance.domain,callback:function(t){a.$set(a.addNewInstance,"domain",t)},expression:"addNewInstance.domain"}}),a._v(" "),o("p",{staticClass:"small text-light mb-0"},[a._v("Enter a valid domain without https://")])],1)]),a._v(" "),o("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[o("div",{staticClass:"text-muted small"},[a._v("Banned")]),a._v(" "),o("div",{staticClass:"mr-n2 mb-1"},[o("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:a.addNewInstance.banned,callback:function(t){a.$set(a.addNewInstance,"banned",t)},expression:"addNewInstance.banned"}})],1)]),a._v(" "),o("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[o("div",{staticClass:"text-muted small"},[a._v("Apply CW to Media")]),a._v(" "),o("div",{staticClass:"mr-n2 mb-1"},[o("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:a.addNewInstance.auto_cw,callback:function(t){a.$set(a.addNewInstance,"auto_cw",t)},expression:"addNewInstance.auto_cw"}})],1)]),a._v(" "),o("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[o("div",{staticClass:"text-muted small"},[a._v("Unlisted")]),a._v(" "),o("div",{staticClass:"mr-n2 mb-1"},[o("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:a.addNewInstance.unlisted,callback:function(t){a.$set(a.addNewInstance,"unlisted",t)},expression:"addNewInstance.unlisted"}})],1)]),a._v(" "),o("div",{staticClass:"list-group-item d-flex flex-column gap-2 justify-content-between"},[o("div",{staticClass:"text-muted small"},[a._v("Notes")]),a._v(" "),o("div",{staticClass:"w-100"},[o("b-form-textarea",{attrs:{rows:"3","max-rows":"5",maxlength:"500",placeholder:"Add optional notes here"},model:{value:a.addNewInstance.notes,callback:function(t){a.$set(a.addNewInstance,"notes",t)},expression:"addNewInstance.notes"}}),a._v(" "),o("p",{staticClass:"small text-muted"},[a._v(a._s(a.addNewInstance.notes?a.addNewInstance.notes.length:0)+"/500")])],1)])])]),a._v(" "),o("b-modal",{attrs:{title:"Import Instance Backup","ok-title":"Import",scrollable:"","ok-disabled":!a.importData||!a.importData.banned.length&&!a.importData.unlisted.length&&!a.importData.auto_cw.length},on:{ok:a.completeImport,cancel:a.cancelImport},model:{value:a.showImportModal,callback:function(t){a.showImportModal=t},expression:"showImportModal"}},[a.showImportModal&&a.importData?o("div",[a.importData.auto_cw&&a.importData.auto_cw.length?o("div",{staticClass:"mb-5"},[o("p",{staticClass:"font-weight-bold text-center my-0"},[a._v("NSFW Instances ("+a._s(a.importData.auto_cw.length)+")")]),a._v(" "),o("p",{staticClass:"small text-center text-muted mb-1"},[a._v("Tap on an instance to remove it.")]),a._v(" "),o("div",{staticClass:"list-group"},a._l(a.importData.auto_cw,(function(t,e){return o("a",{staticClass:"list-group-item d-flex align-items-center justify-content-between",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),a.filterImportData("auto_cw",e)}}},[a._v("\n\t\t\t\t\t\t"+a._s(t)+"\n\n\t\t\t\t\t\t"),o("span",{staticClass:"badge badge-warning"},[a._v("Auto CW")])])})),0)]):a._e(),a._v(" "),a.importData.unlisted&&a.importData.unlisted.length?o("div",{staticClass:"mb-5"},[o("p",{staticClass:"font-weight-bold text-center my-0"},[a._v("Unlisted Instances ("+a._s(a.importData.unlisted.length)+")")]),a._v(" "),o("p",{staticClass:"small text-center text-muted mb-1"},[a._v("Tap on an instance to remove it.")]),a._v(" "),o("div",{staticClass:"list-group"},a._l(a.importData.unlisted,(function(t,e){return o("a",{staticClass:"list-group-item d-flex align-items-center justify-content-between",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),a.filterImportData("unlisted",e)}}},[a._v("\n\t\t\t\t\t\t"+a._s(t)+"\n\n\t\t\t\t\t\t"),o("span",{staticClass:"badge badge-primary"},[a._v("Unlisted")])])})),0)]):a._e(),a._v(" "),a.importData.banned&&a.importData.banned.length?o("div",{staticClass:"mb-5"},[o("p",{staticClass:"font-weight-bold text-center my-0"},[a._v("Banned Instances ("+a._s(a.importData.banned.length)+")")]),a._v(" "),o("p",{staticClass:"small text-center text-muted mb-1"},[a._v("Review instances, tap on an instance to remove it.")]),a._v(" "),o("div",{staticClass:"list-group"},a._l(a.importData.banned,(function(t,e){return o("a",{staticClass:"list-group-item d-flex align-items-center justify-content-between",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),a.filterImportData("banned",e)}}},[a._v("\n\t\t\t\t\t\t"+a._s(t)+"\n\n\t\t\t\t\t\t"),o("span",{staticClass:"badge badge-danger"},[a._v("Banned")])])})),0)]):a._e(),a._v(" "),a.importData.banned.length||a.importData.unlisted.length||a.importData.auto_cw.length?a._e():o("div",[o("div",{staticClass:"text-center"},[o("p",[o("i",{staticClass:"far fa-check-circle fa-4x text-success"})]),a._v(" "),o("p",{staticClass:"lead"},[a._v("Nothing to import!")])])])]):a._e()])],1)},o=[function(){var t=this._self._c;return t("div",{staticClass:"row align-items-center py-4"},[t("div",{staticClass:"col-lg-6 col-7"},[t("p",{staticClass:"display-1 text-white d-inline-block mb-0"},[this._v("Instances")])])])}];a._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminReports.vue?vue&type=template&id=1aa55795":
|
||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminReports.vue?vue&type=template&id=1aa55795 ***!
|
||
\***************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t,e,s=this,a=s._self._c;return a("div",[a("div",{staticClass:"header bg-primary pb-3 mt-n4"},[a("div",{staticClass:"container-fluid"},[a("div",{staticClass:"header-body"},[s._m(0),s._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-12 col-sm-6 col-lg-3"},[a("div",{staticClass:"mb-3"},[a("h5",{staticClass:"text-light text-uppercase mb-0"},[s._v("Active Reports")]),s._v(" "),a("span",{staticClass:"text-white h2 font-weight-bold mb-0 human-size",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:s.stats.open+" open reports"}},[s._v("\n "+s._s(s.prettyCount(s.stats.open))+"\n ")])])]),s._v(" "),a("div",{staticClass:"col-12 col-sm-6 col-lg-3"},[a("div",{staticClass:"mb-3"},[a("h5",{staticClass:"text-light text-uppercase mb-0"},[s._v("Active Spam Detections")]),s._v(" "),a("span",{staticClass:"text-white h2 font-weight-bold mb-0 human-size",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:s.stats.autospam_open+" open spam detections"}},[s._v(s._s(s.prettyCount(s.stats.autospam_open)))])])]),s._v(" "),a("div",{staticClass:"col-12 col-sm-6 col-lg-3"},[a("div",{staticClass:"mb-3"},[a("h5",{staticClass:"text-light text-uppercase mb-0"},[s._v("Total Reports")]),s._v(" "),a("span",{staticClass:"text-white h2 font-weight-bold mb-0 human-size",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:s.stats.total+" total reports"}},[s._v(s._s(s.prettyCount(s.stats.total))+"\n ")])])]),s._v(" "),a("div",{staticClass:"col-12 col-sm-6 col-lg-3"},[a("div",{staticClass:"mb-3"},[a("h5",{staticClass:"text-light text-uppercase mb-0"},[s._v("Total Spam Detections")]),s._v(" "),a("span",{staticClass:"text-white h2 font-weight-bold mb-0 human-size",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:s.stats.autospam+" total spam detections"}},[s._v("\n "+s._s(s.prettyCount(s.stats.autospam))+"\n ")])])])])])])]),s._v(" "),s.loaded?a("div",{staticClass:"m-n2 m-lg-4"},[a("div",{staticClass:"container-fluid mt-4"},[a("div",{staticClass:"row mb-3 justify-content-between"},[a("div",{staticClass:"col-12"},[a("ul",{staticClass:"nav nav-pills"},[a("li",{staticClass:"nav-item"},[a("a",{class:["nav-link d-flex align-items-center",{active:0==s.tabIndex}],attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.toggleTab(0)}}},[a("span",[s._v("Open Reports")]),s._v(" "),s.stats.open?a("span",{staticClass:"badge badge-sm badge-floating badge-danger border-white ml-2",staticStyle:{"background-color":"red",color:"white","font-size":"11px"}},[s._v("\n "+s._s(s.prettyCount(s.stats.open))+"\n ")]):s._e()])]),s._v(" "),a("li",{staticClass:"nav-item"},[a("a",{class:["nav-link d-flex align-items-center",{active:2==s.tabIndex}],attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.toggleTab(2)}}},[a("span",[s._v("Spam Detections")]),s._v(" "),s.stats.autospam_open?a("span",{staticClass:"badge badge-sm badge-floating badge-danger border-white ml-2",staticStyle:{"background-color":"red",color:"white","font-size":"11px"}},[s._v("\n "+s._s(s.prettyCount(s.stats.autospam_open))+"\n ")]):s._e()])]),s._v(" "),a("li",{staticClass:"nav-item"},[a("a",{class:["nav-link d-flex align-items-center",{active:3==s.tabIndex}],attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.toggleTab(3)}}},[a("span",[s._v("Remote Reports")]),s._v(" "),s.stats.remote_open?a("span",{staticClass:"badge badge-sm badge-floating badge-danger border-white ml-2",staticStyle:{"background-color":"red",color:"white","font-size":"11px"}},[s._v("\n "+s._s(s.prettyCount(s.stats.remote_open))+"\n ")]):s._e()])]),s._v(" "),a("li",{staticClass:"d-none d-md-block nav-item"},[a("a",{class:["nav-link d-flex align-items-center",{active:1==s.tabIndex}],attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.toggleTab(1)}}},[a("span",[s._v("Closed Reports")]),s._v(" "),s.stats.autospam_open?a("span",{staticClass:"badge badge-sm badge-floating badge-secondary border-white ml-2",staticStyle:{"font-size":"11px"}},[s._v("\n "+s._s(s.prettyCount(s.stats.closed))+"\n ")]):s._e()])]),s._v(" "),a("li",{staticClass:"d-none d-md-block nav-item"},[a("a",{staticClass:"nav-link d-flex align-items-center",attrs:{href:"/i/admin/reports/email-verifications"}},[a("span",[s._v("Email Verification Requests")]),s._v(" "),s.stats.email_verification_requests?a("span",{staticClass:"badge badge-sm badge-floating badge-secondary border-white ml-2",staticStyle:{"font-size":"11px"}},[s._v("\n "+s._s(s.prettyCount(s.stats.email_verification_requests))+"\n ")]):s._e()])]),s._v(" "),a("li",{staticClass:"d-none d-md-block nav-item"},[a("a",{staticClass:"nav-link d-flex align-items-center",attrs:{href:"/i/admin/reports/appeals"}},[a("span",[s._v("Appeal Requests")]),s._v(" "),s.stats.appeals?a("span",{staticClass:"badge badge-sm badge-floating badge-secondary border-white ml-2",staticStyle:{"font-size":"11px"}},[s._v("\n "+s._s(s.prettyCount(s.stats.appeals))+"\n ")]):s._e()])])])])]),s._v(" "),[0,1].includes(this.tabIndex)?a("div",{staticClass:"table-responsive rounded"},[s.reports&&s.reports.length?a("table",{staticClass:"table table-dark"},[s._m(1),s._v(" "),a("tbody",s._l(s.reports,(function(t,e){return a("tr",[a("td",{staticClass:"font-weight-bold text-monospace text-muted align-middle"},[a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),s.viewReport(t)}}},[s._v("\n "+s._s(t.id)+"\n ")])]),s._v(" "),a("td",{staticClass:"align-middle"},[a("p",{staticClass:"text-capitalize font-weight-bold mb-0",domProps:{innerHTML:s._s(s.reportLabel(t))}})]),s._v(" "),a("td",{staticClass:"align-middle"},[t.reported&&t.reported.id?a("a",{staticClass:"text-white",attrs:{href:"/i/web/profile/".concat(t.reported.id),target:"_blank"}},[a("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"0.61rem"}},[a("img",{staticStyle:{"object-fit":"cover","border-radius":"30px"},attrs:{src:t.reported.avatar,width:"30",height:"30",onerror:"this.src='/storage/avatars/default.png';this.error=null;"}}),s._v(" "),a("div",{staticClass:"d-flex flex-column"},[a("p",{staticClass:"font-weight-bold mb-0",staticStyle:{"font-size":"14px"}},[s._v("@"+s._s(t.reported.username))]),s._v(" "),a("div",{staticClass:"d-flex small text-muted mb-0",staticStyle:{gap:"0.5rem"}},[a("span",[s._v(s._s(t.reported.followers_count)+" Followers")]),s._v(" "),a("span",[s._v("·")]),s._v(" "),a("span",[s._v("Joined "+s._s(s.timeAgo(t.reported.created_at)))])])])])]):s._e()]),s._v(" "),a("td",{staticClass:"align-middle"},[t&&t.reporter&&t.reporter.id?a("a",{staticClass:"text-white",attrs:{href:"/i/web/profile/".concat(t.reporter.id),target:"_blank"}},[a("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"0.61rem"}},[a("img",{staticStyle:{"object-fit":"cover","border-radius":"30px"},attrs:{src:t.reporter.avatar,width:"30",height:"30",onerror:"this.src='/storage/avatars/default.png';this.error=null;"}}),s._v(" "),a("div",{staticClass:"d-flex flex-column"},[a("p",{staticClass:"font-weight-bold mb-0",staticStyle:{"font-size":"14px"}},[s._v("@"+s._s(t.reporter.username))]),s._v(" "),a("div",{staticClass:"d-flex small text-muted mb-0",staticStyle:{gap:"0.5rem"}},[a("span",[s._v(s._s(t.reporter.followers_count)+" Followers")]),s._v(" "),a("span",[s._v("·")]),s._v(" "),a("span",[s._v("Joined "+s._s(s.timeAgo(t.reporter.created_at)))])])])])]):s._e()]),s._v(" "),a("td",{staticClass:"font-weight-bold align-middle"},[s._v(s._s(s.timeAgo(t.created_at)))]),s._v(" "),a("td",{staticClass:"align-middle"},[a("a",{staticClass:"btn btn-primary btn-sm",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),s.viewReport(t)}}},[s._v("View")])])])})),0)]):a("div",[a("div",{staticClass:"card card-body p-5"},[a("div",{staticClass:"d-flex justify-content-between align-items-center flex-column"},[s._m(2),s._v(" "),a("p",{staticClass:"lead"},[s._v(s._s(0===s.tabIndex?"No Active Reports Found!":"No Closed Reports Found!"))])])])])]):s._e(),s._v(" "),[0,1].includes(this.tabIndex)&&s.reports.length&&(s.pagination.prev||s.pagination.next)?a("div",{staticClass:"d-flex align-items-center justify-content-center"},[a("button",{staticClass:"btn btn-primary rounded-pill",attrs:{disabled:!s.pagination.prev},on:{click:function(t){return s.paginate("prev")}}},[s._v("\n Prev\n ")]),s._v(" "),a("button",{staticClass:"btn btn-primary rounded-pill",attrs:{disabled:!s.pagination.next},on:{click:function(t){return s.paginate("next")}}},[s._v("\n Next\n ")])]):s._e(),s._v(" "),2===this.tabIndex?a("div",{staticClass:"table-responsive rounded"},[s.autospamLoaded?[s.autospam&&s.autospam.length?a("table",{staticClass:"table table-dark"},[s._m(3),s._v(" "),a("tbody",s._l(s.autospam,(function(t,e){return a("tr",[a("td",{staticClass:"font-weight-bold text-monospace text-muted align-middle"},[a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),s.viewSpamReport(t)}}},[s._v("\n "+s._s(t.id)+"\n ")])]),s._v(" "),s._m(4,!0),s._v(" "),a("td",{staticClass:"align-middle"},[t.status&&t.status.account?a("a",{staticClass:"text-white",attrs:{href:"/i/web/profile/".concat(t.status.account.id),target:"_blank"}},[a("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"0.61rem"}},[a("img",{staticStyle:{"object-fit":"cover","border-radius":"30px"},attrs:{src:t.status.account.avatar,width:"30",height:"30",onerror:"this.src='/storage/avatars/default.png';this.error=null;"}}),s._v(" "),a("div",{staticClass:"d-flex flex-column"},[a("p",{staticClass:"font-weight-bold mb-0",staticStyle:{"font-size":"14px"}},[s._v("@"+s._s(t.status.account.username))]),s._v(" "),a("div",{staticClass:"d-flex small text-muted mb-0",staticStyle:{gap:"0.5rem"}},[a("span",[s._v(s._s(t.status.account.followers_count)+" Followers")]),s._v(" "),a("span",[s._v("·")]),s._v(" "),a("span",[s._v("Joined "+s._s(s.timeAgo(t.status.account.created_at)))])])])])]):s._e()]),s._v(" "),a("td",{staticClass:"font-weight-bold align-middle"},[s._v(s._s(s.timeAgo(t.created_at)))]),s._v(" "),a("td",{staticClass:"align-middle"},[a("a",{staticClass:"btn btn-primary btn-sm",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),s.viewSpamReport(t)}}},[s._v("View")])])])})),0)]):a("div",[s._m(5)])]:a("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"300px"}},[a("b-spinner")],1)],2):s._e(),s._v(" "),2===this.tabIndex&&s.autospamLoaded&&s.autospam&&s.autospam.length?a("div",{staticClass:"d-flex align-items-center justify-content-center"},[a("button",{staticClass:"btn btn-primary rounded-pill",attrs:{disabled:!s.autospamPagination.prev},on:{click:function(t){return s.autospamPaginate("prev")}}},[s._v("\n Prev\n ")]),s._v(" "),a("button",{staticClass:"btn btn-primary rounded-pill",attrs:{disabled:!s.autospamPagination.next},on:{click:function(t){return s.autospamPaginate("next")}}},[s._v("\n Next\n ")])]):s._e(),s._v(" "),3===this.tabIndex?a("div",{staticClass:"table-responsive rounded"},[s.reports&&s.reports.length?a("table",{staticClass:"table table-dark"},[s._m(6),s._v(" "),a("tbody",s._l(s.reports,(function(t,e){return a("tr",{key:"remote-reports-".concat(t.id,"-").concat(e)},[a("td",{staticClass:"font-weight-bold text-monospace text-muted align-middle"},[a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),s.showRemoteReport(t)}}},[s._v("\n "+s._s(t.id)+"\n ")])]),s._v(" "),a("td",{staticClass:"align-middle"},[a("p",{staticClass:"font-weight-bold mb-0"},[s._v(s._s(t.instance))])]),s._v(" "),a("td",{staticClass:"align-middle"},[t.reported&&t.reported.id?a("a",{staticClass:"text-white",attrs:{href:"/i/web/profile/".concat(t.reported.id),target:"_blank"}},[a("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"0.61rem"}},[a("img",{staticStyle:{"object-fit":"cover","border-radius":"30px"},attrs:{src:t.reported.avatar,width:"30",height:"30",onerror:"this.src='/storage/avatars/default.png';this.error=null;"}}),s._v(" "),a("div",{staticClass:"d-flex flex-column"},[a("p",{staticClass:"font-weight-bold mb-0",staticStyle:{"font-size":"14px"}},[s._v("@"+s._s(t.reported.username))]),s._v(" "),a("div",{staticClass:"d-flex small text-muted mb-0",staticStyle:{gap:"0.5rem"}},[a("span",[s._v(s._s(t.reported.followers_count)+" Followers")]),s._v(" "),a("span",[s._v("·")]),s._v(" "),a("span",[s._v("Joined "+s._s(s.timeAgo(t.reported.created_at)))])])])])]):s._e()]),s._v(" "),a("td",{staticClass:"align-middle"},[a("p",{staticClass:"small mb-0 text-wrap",staticStyle:{"max-width":"300px","word-break":"break-all"}},[s._v(s._s(t.message&&t.message.length>120?t.message.slice(0,120)+"...":t.message))])]),s._v(" "),a("td",{staticClass:"font-weight-bold align-middle"},[s._v(s._s(s.timeAgo(t.created_at)))]),s._v(" "),s._m(7,!0)])})),0)]):a("div",[a("div",{staticClass:"card card-body p-5"},[a("div",{staticClass:"d-flex justify-content-between align-items-center flex-column"},[s._m(8),s._v(" "),a("p",{staticClass:"lead"},[s._v(s._s(0===s.tabIndex?"No Active Reports Found!":"No Closed Reports Found!"))])])])])]):s._e(),s._v(" "),3===this.tabIndex&&s.remoteReportsLoaded&&s.reports&&s.reports.length?a("div",{staticClass:"d-flex align-items-center justify-content-center"},[a("button",{staticClass:"btn btn-primary rounded-pill",attrs:{disabled:!s.pagination.prev},on:{click:function(t){return s.remoteReportPaginate("prev")}}},[s._v("\n Prev\n ")]),s._v(" "),a("button",{staticClass:"btn btn-primary rounded-pill",attrs:{disabled:!s.pagination.next},on:{click:function(t){return s.remoteReportPaginate("next")}}},[s._v("\n Next\n ")])]):s._e()])]):a("div",{staticClass:"my-5 text-center"},[a("b-spinner")],1),s._v(" "),a("b-modal",{attrs:{title:0===s.tabIndex?"View Report":"Viewing Closed Report","ok-only":!0,"ok-title":"Close","ok-variant":"outline-primary"},model:{value:s.showReportModal,callback:function(t){s.showReportModal=t},expression:"showReportModal"}},[s.viewingReportLoading?a("div",{staticClass:"d-flex align-items-center justify-content-center"},[a("b-spinner")],1):[s.viewingReport?a("div",{staticClass:"list-group"},[a("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[a("div",{staticClass:"text-muted small"},[s._v("Type")]),s._v(" "),a("div",{staticClass:"font-weight-bold text-capitalize",domProps:{innerHTML:s._s(s.reportLabel(s.viewingReport))}})]),s._v(" "),s.viewingReport.admin_seen_at?a("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between"},[a("div",{staticClass:"text-muted small"},[s._v("Report Closed")]),s._v(" "),a("div",{staticClass:"font-weight-bold text-capitalize"},[s._v(s._s(s.formatDate(s.viewingReport.admin_seen_at)))])]):s._e(),s._v(" "),s.viewingReport.reporter_message?a("div",{staticClass:"list-group-item d-flex flex-column",staticStyle:{gap:"10px"}},[a("div",{staticClass:"text-muted small"},[s._v("Message")]),s._v(" "),a("p",{staticClass:"mb-0 read-more",staticStyle:{"font-size":"12px","overflow-y":"hidden"}},[s._v(s._s(s.viewingReport.reporter_message))])]):s._e()]):s._e(),s._v(" "),a("div",{staticClass:"list-group list-group-horizontal mt-3"},[s.viewingReport&&s.viewingReport.reported?a("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between flex-column flex-grow-1",staticStyle:{gap:"0.4rem"}},[a("div",{staticClass:"text-muted small font-weight-bold mt-n1"},[s._v("Reported Account")]),s._v(" "),s.viewingReport.reported&&s.viewingReport.reported.id?a("a",{staticClass:"text-primary",attrs:{href:"/i/web/profile/".concat(s.viewingReport.reported.id),target:"_blank"}},[a("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"0.61rem"}},[a("img",{staticStyle:{"object-fit":"cover","border-radius":"30px"},attrs:{src:s.viewingReport.reported.avatar,width:"30",height:"30",onerror:"this.src='/storage/avatars/default.png';this.error=null;"}}),s._v(" "),a("div",{staticClass:"d-flex flex-column"},[a("p",{staticClass:"font-weight-bold mb-0 text-break",class:[s.viewingReport.reported.is_admin?"text-danger":""],staticStyle:{"font-size":"12px","max-width":"140px","line-height":"16px"}},[s._v("@"+s._s(s.viewingReport.reported.acct))]),s._v(" "),a("div",{staticClass:"d-flex text-muted mb-0",staticStyle:{"font-size":"10px",gap:"0.5rem"}},[a("span",[s._v(s._s(s.viewingReport.reported.followers_count)+" Followers")]),s._v(" "),a("span",[s._v("·")]),s._v(" "),a("span",[s._v("Joined "+s._s(s.timeAgo(s.viewingReport.reported.created_at)))])])])])]):s._e()]):s._e(),s._v(" "),s.viewingReport&&s.viewingReport.reporter?a("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between flex-column flex-grow-1",staticStyle:{gap:"0.4rem"}},[a("div",{staticClass:"text-muted small font-weight-bold mt-n1"},[s._v("Reporter Account")]),s._v(" "),s.viewingReport.reporter&&null!==(t=s.viewingReport.reporter)&&void 0!==t&&t.id?a("a",{staticClass:"text-primary",attrs:{href:"/i/web/profile/".concat(null===(e=s.viewingReport.reporter)||void 0===e?void 0:e.id),target:"_blank"}},[a("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"0.61rem"}},[a("img",{staticStyle:{"object-fit":"cover","border-radius":"30px"},attrs:{src:s.viewingReport.reporter.avatar,width:"30",height:"30",onerror:"this.src='/storage/avatars/default.png';this.error=null;"}}),s._v(" "),a("div",{staticClass:"d-flex flex-column"},[a("p",{staticClass:"font-weight-bold mb-0 text-break",staticStyle:{"font-size":"12px","max-width":"140px","line-height":"16px"}},[s._v("@"+s._s(s.viewingReport.reporter.acct))]),s._v(" "),a("div",{staticClass:"d-flex text-muted mb-0",staticStyle:{"font-size":"10px",gap:"0.5rem"}},[a("span",[s._v(s._s(s.viewingReport.reporter.followers_count)+" Followers")]),s._v(" "),a("span",[s._v("·")]),s._v(" "),a("span",[s._v("Joined "+s._s(s.timeAgo(s.viewingReport.reporter.created_at)))])])])])]):s._e()]):s._e()]),s._v(" "),s.viewingReport&&"App\\Status"===s.viewingReport.object_type&&s.viewingReport.status?a("div",{staticClass:"list-group mt-3"},[s.viewingReport&&s.viewingReport.status&&s.viewingReport.status.media_attachments.length?a("div",{staticClass:"list-group-item d-flex flex-column flex-grow-1",staticStyle:{gap:"0.4rem"}},[a("div",{staticClass:"d-flex justify-content-between mt-n1 text-muted small font-weight-bold"},[a("div",[s._v("Reported Post")]),s._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:s.viewingReport.status.url,target:"_blank"}},[s._v("View")])]),s._v(" "),"image"===s.viewingReport.status.media_attachments[0].type?a("img",{staticClass:"rounded",staticStyle:{"object-fit":"cover"},attrs:{src:s.viewingReport.status.media_attachments[0].url,height:"140",onerror:"this.src='/storage/no-preview.png';this.error=null;"}}):"video"===s.viewingReport.status.media_attachments[0].type?a("video",{attrs:{height:"140",controls:"",src:s.viewingReport.status.media_attachments[0].url,onerror:"this.src='/storage/no-preview.png';this.onerror=null;"}}):s._e()]):s._e(),s._v(" "),s.viewingReport&&s.viewingReport.status?a("div",{staticClass:"list-group-item d-flex flex-column flex-grow-1",staticStyle:{gap:"0.4rem"}},[a("div",{staticClass:"d-flex justify-content-between mt-n1 text-muted small font-weight-bold"},[a("div",[s._v("Reported Post Caption")]),s._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:s.viewingReport.status.url,target:"_blank"}},[s._v("View")])]),s._v(" "),a("p",{staticClass:"mb-0 read-more",staticStyle:{"font-size":"12px","overflow-y":"hidden"}},[s._v(s._s(s.viewingReport.status.content_text))])]):s._e()]):s.viewingReport&&"App\\Story"===s.viewingReport.object_type&&s.viewingReport.story?a("div",{staticClass:"list-group mt-3"},[s.viewingReport&&s.viewingReport.story?a("div",{staticClass:"list-group-item d-flex flex-column flex-grow-1",staticStyle:{gap:"0.4rem"}},[a("div",{staticClass:"d-flex justify-content-between mt-n1 text-muted small font-weight-bold"},[a("div",[s._v("Reported Story")]),s._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:s.viewingReport.story.url,target:"_blank"}},[s._v("View")])]),s._v(" "),"photo"===s.viewingReport.story.type?a("img",{staticClass:"rounded",staticStyle:{"object-fit":"cover"},attrs:{src:s.viewingReport.story.media_src,height:"140",onerror:"this.src='/storage/no-preview.png';this.error=null;"}}):"video"===s.viewingReport.story.type?a("video",{attrs:{height:"140",controls:"",src:s.viewingReport.story.media_src,onerror:"this.src='/storage/no-preview.png';this.onerror=null;"}}):s._e()]):s._e()]):s._e(),s._v(" "),s.viewingReport&&null===s.viewingReport.admin_seen_at?a("div",{staticClass:"mt-4"},[s.viewingReport&&"App\\Profile"===s.viewingReport.object_type?a("div",[a("button",{staticClass:"btn btn-dark btn-block rounded-pill",on:{click:function(t){return s.handleAction("profile","ignore")}}},[s._v("Ignore Report")]),s._v(" "),s.viewingReport.reported&&s.viewingReport.reported.id&&!s.viewingReport.reported.is_admin?a("hr",{staticClass:"mt-3 mb-1"}):s._e(),s._v(" "),s.viewingReport.reported&&s.viewingReport.reported.id&&!s.viewingReport.reported.is_admin?a("div",{staticClass:"d-flex flex-row mt-2",staticStyle:{gap:"0.3rem"}},[a("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",on:{click:function(t){return s.handleAction("profile","nsfw")}}},[s._v("\n Mark all Posts NSFW\n ")]),s._v(" "),a("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",on:{click:function(t){return s.handleAction("profile","unlist")}}},[s._v("\n Unlist all Posts\n ")])]):s._e(),s._v(" "),s.viewingReport.reported&&s.viewingReport.reported.id&&!s.viewingReport.reported.is_admin?a("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-2",on:{click:function(t){return s.handleAction("profile","delete")}}},[s._v("\n Delete Profile\n ")]):s._e()]):s.viewingReport&&"App\\Status"===s.viewingReport.object_type?a("div",[a("button",{staticClass:"btn btn-dark btn-block rounded-pill",on:{click:function(t){return s.handleAction("post","ignore")}}},[s._v("Ignore Report")]),s._v(" "),s.viewingReport&&s.viewingReport.reported&&!s.viewingReport.reported.is_admin?a("hr",{staticClass:"mt-3 mb-1"}):s._e(),s._v(" "),s.viewingReport&&s.viewingReport.reported&&!s.viewingReport.reported.is_admin?a("div",{staticClass:"d-flex flex-row mt-2",staticStyle:{gap:"0.3rem"}},[a("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",on:{click:function(t){return s.handleAction("post","nsfw")}}},[s._v("Mark Post NSFW")]),s._v(" "),"public"===s.viewingReport.status.visibility?a("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",on:{click:function(t){return s.handleAction("post","unlist")}}},[s._v("Unlist Post")]):"unlisted"===s.viewingReport.status.visibility?a("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",on:{click:function(t){return s.handleAction("post","private")}}},[s._v("Make Post Private")]):s._e()]):s._e(),s._v(" "),s.viewingReport&&s.viewingReport.reported&&!s.viewingReport.reported.is_admin?a("div",{staticClass:"d-flex flex-row mt-2",staticStyle:{gap:"0.3rem"}},[a("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",on:{click:function(t){return s.handleAction("profile","nsfw")}}},[s._v("Make all NSFW")]),s._v(" "),a("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",on:{click:function(t){return s.handleAction("profile","unlist")}}},[s._v("Make all Unlisted")]),s._v(" "),a("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",on:{click:function(t){return s.handleAction("profile","private")}}},[s._v("Make all Private")])]):s._e(),s._v(" "),s.viewingReport&&s.viewingReport.reported&&!s.viewingReport.reported.is_admin?a("div",[a("hr",{staticClass:"my-2"}),s._v(" "),a("div",{staticClass:"d-flex flex-row mt-2",staticStyle:{gap:"0.3rem"}},[a("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",on:{click:function(t){return s.handleAction("post","delete")}}},[s._v("Delete Post")]),s._v(" "),a("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",on:{click:function(t){return s.handleAction("profile","delete")}}},[s._v("Delete Account")])])]):s._e()]):s.viewingReport&&"App\\Story"===s.viewingReport.object_type?a("div",[a("button",{staticClass:"btn btn-dark btn-block rounded-pill",on:{click:function(t){return s.handleAction("story","ignore")}}},[s._v("Ignore Report")]),s._v(" "),s.viewingReport&&s.viewingReport.reported&&!s.viewingReport.reported.is_admin?a("hr",{staticClass:"mt-3 mb-1"}):s._e(),s._v(" "),s.viewingReport&&s.viewingReport.reported&&!s.viewingReport.reported.is_admin?a("div",[a("div",{staticClass:"d-flex flex-row mt-2",staticStyle:{gap:"0.3rem"}},[a("button",{staticClass:"btn btn-danger btn-block rounded-pill mt-0",on:{click:function(t){return s.handleAction("story","delete")}}},[s._v("Delete Story")]),s._v(" "),a("button",{staticClass:"btn btn-outline-danger btn-block rounded-pill mt-0",on:{click:function(t){return s.handleAction("story","delete-all")}}},[s._v("Delete All Stories")])])]):s._e(),s._v(" "),s.viewingReport&&s.viewingReport.reported&&!s.viewingReport.reported.is_admin?a("div",[a("hr",{staticClass:"my-2"}),s._v(" "),a("div",{staticClass:"d-flex flex-row mt-2",staticStyle:{gap:"0.3rem"}},[a("button",{staticClass:"btn btn-outline-danger btn-sm btn-block rounded-pill mt-0",on:{click:function(t){return s.handleAction("profile","delete")}}},[s._v("Delete Account")])])]):s._e()]):s._e()]):s._e()]],2),s._v(" "),a("b-modal",{attrs:{title:"Potential Spam Post Detected","ok-only":!0,"ok-title":"Close","ok-variant":"outline-primary"},model:{value:s.showSpamReportModal,callback:function(t){s.showSpamReportModal=t},expression:"showSpamReportModal"}},[s.viewingSpamReportLoading?a("div",{staticClass:"d-flex align-items-center justify-content-center"},[a("b-spinner")],1):[a("div",{staticClass:"list-group list-group-horizontal mt-3"},[s.viewingSpamReport&&s.viewingSpamReport.status&&s.viewingSpamReport.status.account?a("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between flex-column flex-grow-1",staticStyle:{gap:"0.4rem"}},[a("div",{staticClass:"text-muted small font-weight-bold mt-n1"},[s._v("Reported Account")]),s._v(" "),s.viewingSpamReport.status.account&&s.viewingSpamReport.status.account.id?a("a",{staticClass:"text-primary",attrs:{href:"/i/web/profile/".concat(s.viewingSpamReport.status.account.id),target:"_blank"}},[a("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"0.61rem"}},[a("img",{staticStyle:{"object-fit":"cover","border-radius":"30px"},attrs:{src:s.viewingSpamReport.status.account.avatar,width:"30",height:"30",onerror:"this.src='/storage/avatars/default.png';this.error=null;"}}),s._v(" "),a("div",{staticClass:"d-flex flex-column"},[a("p",{staticClass:"font-weight-bold mb-0 text-break",class:[s.viewingSpamReport.status.account.is_admin?"text-danger":""],staticStyle:{"font-size":"12px","max-width":"140px","line-height":"16px"}},[s._v("@"+s._s(s.viewingSpamReport.status.account.acct))]),s._v(" "),a("div",{staticClass:"d-flex text-muted mb-0",staticStyle:{"font-size":"10px",gap:"0.5rem"}},[a("span",[s._v(s._s(s.viewingSpamReport.status.account.followers_count)+" Followers")]),s._v(" "),a("span",[s._v("·")]),s._v(" "),a("span",[s._v("Joined "+s._s(s.timeAgo(s.viewingSpamReport.status.account.created_at)))])])])])]):s._e()]):s._e()]),s._v(" "),s.viewingSpamReport&&s.viewingSpamReport.status?a("div",{staticClass:"list-group mt-3"},[s.viewingSpamReport&&s.viewingSpamReport.status&&s.viewingSpamReport.status.media_attachments.length?a("div",{staticClass:"list-group-item d-flex flex-column flex-grow-1",staticStyle:{gap:"0.4rem"}},[a("div",{staticClass:"d-flex justify-content-between mt-n1 text-muted small font-weight-bold"},[a("div",[s._v("Reported Post")]),s._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:s.viewingSpamReport.status.url,target:"_blank"}},[s._v("View")])]),s._v(" "),"image"===s.viewingSpamReport.status.media_attachments[0].type?a("img",{staticClass:"rounded",staticStyle:{"object-fit":"cover"},attrs:{src:s.viewingSpamReport.status.media_attachments[0].url,height:"140",onerror:"this.src='/storage/no-preview.png';this.error=null;"}}):"video"===s.viewingSpamReport.status.media_attachments[0].type?a("video",{attrs:{height:"140",controls:"",src:s.viewingSpamReport.status.media_attachments[0].url,onerror:"this.src='/storage/no-preview.png';this.onerror=null;"}}):s._e()]):s._e(),s._v(" "),s.viewingSpamReport&&s.viewingSpamReport.status&&s.viewingSpamReport.status.content_text&&s.viewingSpamReport.status.content_text.length?a("div",{staticClass:"list-group-item d-flex flex-column flex-grow-1",staticStyle:{gap:"0.4rem"}},[a("div",{staticClass:"d-flex justify-content-between mt-n1 text-muted small font-weight-bold"},[a("div",[s._v("Reported Post Caption")]),s._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:s.viewingSpamReport.status.url,target:"_blank"}},[s._v("View")])]),s._v(" "),a("p",{staticClass:"mb-0 read-more",staticStyle:{"font-size":"12px","overflow-y":"hidden"}},[s._v(s._s(s.viewingSpamReport.status.content_text))])]):s._e()]):s._e(),s._v(" "),a("div",{staticClass:"mt-4"},[a("div",[a("button",{staticClass:"btn btn-dark btn-block rounded-pill",attrs:{type:"button"},on:{click:function(t){return s.handleSpamAction("mark-read")}}},[s._v("\n Mark as Read\n ")]),s._v(" "),a("button",{staticClass:"btn btn-danger btn-block rounded-pill",attrs:{type:"button"},on:{click:function(t){return s.handleSpamAction("mark-not-spam")}}},[s._v("\n Mark As Not Spam\n ")]),s._v(" "),a("hr",{staticClass:"mt-3 mb-1"}),s._v(" "),a("div",{staticClass:"d-flex flex-row mt-2",staticStyle:{gap:"0.3rem"}},[a("button",{staticClass:"btn btn-dark btn-block btn-sm rounded-pill mt-0",attrs:{type:"button"},on:{click:function(t){return s.handleSpamAction("mark-all-read")}}},[s._v("\n Mark All As Read\n ")]),s._v(" "),a("button",{staticClass:"btn btn-dark btn-block btn-sm rounded-pill mt-0",attrs:{type:"button"},on:{click:function(t){return s.handleSpamAction("mark-all-not-spam")}}},[s._v("\n Mark All As Not Spam\n ")])]),s._v(" "),a("div",[a("hr",{staticClass:"my-2"}),s._v(" "),a("div",{staticClass:"d-flex flex-row mt-2",staticStyle:{gap:"0.3rem"}},[a("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",attrs:{type:"button"},on:{click:function(t){return s.handleSpamAction("delete-profile")}}},[s._v("\n Delete Account\n ")])])])])])]],2),s._v(" "),s.showRemoteReportModal?[a("admin-report-modal",{attrs:{open:s.showRemoteReportModal,model:s.remoteReportModalModel},on:{close:function(t){return s.handleCloseRemoteReportModal()},refresh:function(t){return s.refreshRemoteReports()}}})]:s._e()],2)},o=[function(){var t=this._self._c;return t("div",{staticClass:"row align-items-center py-4"},[t("div",{staticClass:"col-lg-6 col-7"},[t("p",{staticClass:"display-1 text-white d-inline-block mb-0"},[this._v("Moderation")])])])},function(){var t=this,e=t._self._c;return e("thead",{staticClass:"thead-dark"},[e("tr",[e("th",{attrs:{scope:"col"}},[t._v("ID")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Report")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Reported Account")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Reported By")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Created")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("View Report")])])])},function(){var t=this._self._c;return t("p",{staticClass:"mt-3 mb-0"},[t("i",{staticClass:"far fa-check-circle fa-5x text-success"})])},function(){var t=this,e=t._self._c;return e("thead",{staticClass:"thead-dark"},[e("tr",[e("th",{attrs:{scope:"col"}},[t._v("ID")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Report")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Reported Account")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Created")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("View Report")])])])},function(){var t=this._self._c;return t("td",{staticClass:"align-middle"},[t("p",{staticClass:"text-capitalize font-weight-bold mb-0"},[this._v("Spam Post")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body p-5"},[e("div",{staticClass:"d-flex justify-content-between align-items-center flex-column"},[e("p",{staticClass:"mt-3 mb-0"},[e("i",{staticClass:"far fa-check-circle fa-5x text-success"})]),t._v(" "),e("p",{staticClass:"lead"},[t._v("No Spam Reports Found!")])])])},function(){var t=this,e=t._self._c;return e("thead",{staticClass:"thead-dark"},[e("tr",[e("th",{attrs:{scope:"col"}},[t._v("ID")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Instance")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Reported Account")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Comment")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("Created")]),t._v(" "),e("th",{attrs:{scope:"col"}},[t._v("View Report")])])])},function(){var t=this._self._c;return t("td",{staticClass:"align-middle"},[t("a",{staticClass:"btn btn-primary btn-sm",attrs:{href:"#"}},[this._v("View")])])},function(){var t=this._self._c;return t("p",{staticClass:"mt-3 mb-0"},[t("i",{staticClass:"far fa-check-circle fa-5x text-success"})])}];a._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminSettings.vue?vue&type=template&id=0314b23d&scoped=true":
|
||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminSettings.vue?vue&type=template&id=0314b23d&scoped=true ***!
|
||
\****************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t,e=this,s=e._self._c;return e.loaded?s("div",[e._m(0),e._v(" "),s("div",{staticClass:"container"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-3"},[s("div",{staticClass:"nav-wrapper"},[s("div",{staticClass:"nav flex-column nav-pills",attrs:{id:"tabs-icons-text",role:"tablist","aria-orientation":"vertical"}},e._l(e.tabs,(function(t){return s("div",{staticClass:"nav-item"},[s("a",{staticClass:"nav-link mb-sm-3",class:{active:e.tabIndex===t.id},attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),e.toggleTab(t.id)}}},[s("i",{class:t.icon}),e._v(" "),s("span",{staticClass:"ml-2"},[e._v(e._s(t.title))])])])})),0)])]),e._v(" "),s("div",{staticClass:"col-12 col-md-9"},[s("div",{staticClass:"card shadow mt-3"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"tab-content"},[1===e.tabIndex?s("div",{staticClass:"tab-pane fade show active"},[s("tab-header",{attrs:{title:"Settings",saving:e.isSubmitting,saved:e.isSubmittingTimeout},on:{save:function(t){return e.handleSave("overview")}}}),e._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-6"},[s("div",{staticClass:"card shadow-none border card-body",staticStyle:{padding:"1.1rem 1.6rem"}},[s("div",{staticClass:"form-group mb-0"},[s("label",{staticClass:"font-weight-bold",attrs:{for:"form-summary"}},[e._v("Registration Status")]),e._v(" "),s("select",{directives:[{name:"model",rawName:"v-model",value:e.features.registration_status,expression:"features.registration_status"}],staticClass:"form-control form-control-muted",on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));e.$set(e.features,"registration_status",t.target.multiple?s:s[0])}}},[s("option",{attrs:{value:"open"}},[e._v("Open - Anyone can register")]),e._v(" "),s("option",{attrs:{value:"filtered"}},[e._v("Filtered - Anyone can apply (Curated Onboarding)")]),e._v(" "),s("option",{attrs:{value:"closed"}},[e._v("Closed - Nobody can register")])])])]),e._v(" "),s("checkbox",{attrs:{name:"Cloud Storage",value:e.features.cloud_storage,description:"Store photos and videos on S3 compatible object storage providers."},on:{change:function(t){return e.handleChange(t,"features","cloud_storage")}}}),e._v(" "),s("checkbox",{attrs:{name:"ActivityPub",value:e.features.activitypub_enabled,description:"ActivityPub federation, compatible with Pixelfed, Mastodon and other projects."},on:{change:function(t){return e.handleChange(t,"features","activitypub_enabled")}}}),e._v(" "),s("checkbox",{attrs:{name:"Account Migration",value:e.features.account_migration,description:"Allow local accounts to migrate to other local or remote accounts."},on:{change:function(t){return e.handleChange(t,"features","account_migration")}}})],1),e._v(" "),s("div",{staticClass:"col-12 col-md-6"},[s("checkbox",{attrs:{name:"Mobile APIs",value:e.features.mobile_apis,description:"Enable apis required for official mobile app support and 3rd party apps."},on:{change:function(t){return e.handleChange(t,"features","mobile_apis")}}}),e._v(" "),s("checkbox",{attrs:{name:"Stories",value:e.features.stories,description:"Allow users to share federated ephemeral Stories that disappear after 24 hours."},on:{change:function(t){return e.handleChange(t,"features","stories")}}}),e._v(" "),s("checkbox",{attrs:{name:"Instagram Import",value:e.features.instagram_import,description:"Enable users to use the <span class='font-weight-bold'>experimental</span> Instagram Import support."},on:{change:function(t){return e.handleChange(t,"features","instagram_import")}}}),e._v(" "),s("checkbox",{attrs:{name:"Spam detection",value:e.features.autospam_enabled,description:"Detect and remove spam from timelines using the automated Autospam detection."},on:{change:function(t){return e.handleChange(t,"features","autospam_enabled")}}})],1)])],1):"landing"===e.tabIndex?s("div",{staticClass:"tab-pane fade show active",attrs:{role:"tabpanel"}},[s("tab-header",{attrs:{title:"Landing",saving:e.isSubmitting,saved:e.isSubmittingTimeout},on:{save:function(t){return e.handleSave("landing")}}}),e._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-6"},[s("div",{staticClass:"card shadow-none border card-body",staticStyle:{padding:"1.1rem 1.6rem"}},[s("div",{staticClass:"form-group mb-0"},[s("label",{staticClass:"font-weight-bold",attrs:{for:"form-summary"}},[e._v("Admin Account")]),e._v(" "),s("select",{directives:[{name:"model",rawName:"v-model",value:e.landing.current_admin,expression:"landing.current_admin"}],staticClass:"form-control form-control-muted",on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));e.$set(e.landing,"current_admin",t.target.multiple?s:s[0])}}},[s("option",{attrs:{disabled:"",value:"0"}},[e._v("Select a designated admin")]),e._v(" "),e._l(e.landing.admins,(function(t,a){return s("option",{key:"pfc-"+t+a,domProps:{value:t.profile_id}},[e._v(e._s(t.username))])}))],2)])]),e._v(" "),s("checkbox",{attrs:{name:"Show Directory",value:e.landing.show_directory,description:"Show the account directory on the landing page for guest users."},on:{change:function(t){return e.handleChange(t,"landing","show_directory")}}})],1),e._v(" "),s("div",{staticClass:"col-12 col-md-6"},[s("checkbox",{attrs:{name:"Show Explore Feed",value:e.landing.show_explore,description:"Show the explore feed of popular posts on the landing page for guest users."},on:{change:function(t){return e.handleChange(t,"landing","show_explore")}}})],1)])],1):"branding"===e.tabIndex?s("div",{staticClass:"tab-pane fade show active",attrs:{role:"tabpanel"}},[s("tab-header",{attrs:{title:"Branding",saving:e.isSubmitting,saved:e.isSubmittingTimeout},on:{save:function(t){return e.handleSave("branding")}}}),e._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-8"},[s("div",{staticClass:"card shadow-none border card-body",staticStyle:{padding:"1.1rem 1.6rem"}},[s("div",{staticClass:"form-group mb-1"},[s("label",{staticClass:"font-weight-bold",attrs:{for:"form-summary"}},[e._v("Server Name")]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.branding.name,expression:"branding.name"}],staticClass:"form-control form-control-muted",attrs:{placeholder:"Pixelfed"},domProps:{value:e.branding.name},on:{input:function(t){t.target.composing||e.$set(e.branding,"name",t.target.value)}}})]),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n The instance name used in titles, metadata and apis.\n ")])])]),e._v(" "),s("div",{staticClass:"col-12 col-md-8"},[s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-1"},[s("label",{staticClass:"font-weight-bold",attrs:{for:"form-summary"}},[e._v("Short Description")]),e._v(" "),s("textarea",{directives:[{name:"model",rawName:"v-model",value:e.branding.short_description,expression:"branding.short_description"}],staticClass:"form-control form-control-muted",attrs:{placeholder:"Pixelfed",rows:"4"},domProps:{value:e.branding.short_description},on:{input:function(t){t.target.composing||e.$set(e.branding,"short_description",t.target.value)}}})]),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n Short description of instance used on various pages and apis.\n ")])]),e._v(" "),s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-1"},[s("label",{staticClass:"font-weight-bold",attrs:{for:"form-summary"}},[e._v("Long Description")]),e._v(" "),s("textarea",{directives:[{name:"model",rawName:"v-model",value:e.branding.long_description,expression:"branding.long_description"}],staticClass:"form-control form-control-muted",attrs:{placeholder:"Pixelfed",rows:"8"},domProps:{value:e.branding.long_description},on:{input:function(t){t.target.composing||e.$set(e.branding,"long_description",t.target.value)}}})]),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n Longer description of instance used on about page.\n ")])])])])],1):"media"===e.tabIndex?s("div",{staticClass:"tab-pane fade show active",attrs:{role:"tabpanel"}},[s("tab-header",{attrs:{title:"Media",saving:e.isSubmitting,saved:e.isSubmittingTimeout},on:{save:function(t){return e.handleSave("media")}}}),e._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-6"},[s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-1"},[s("label",{staticClass:"font-weight-bold text-muted"},[e._v("Max Media Size")]),e._v(" "),s("div",{staticClass:"input-group mb-0"},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.media.max_photo_size,expression:"media.max_photo_size"}],staticClass:"form-control",attrs:{type:"text",placeholder:"15000","aria-label":"Max media size","aria-describedby":"maxMediaSize"},domProps:{value:e.media.max_photo_size},on:{input:function(t){t.target.composing||e.$set(e.media,"max_photo_size",t.target.value)}}}),e._v(" "),s("div",{staticClass:"input-group-append"},[s("span",{staticClass:"input-group-text",attrs:{id:"maxMediaSize"}},[e._v("= "+e._s(e.maxMediaSizeToMb))])])])]),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n Maximum file upload size in KB\n ")])]),e._v(" "),s("checkbox",{attrs:{name:"Optimize Images",value:e.media.optimize_image,description:"Enable to optimize images and generate thumbnails for local image media uploads."},on:{change:function(t){return e.handleChange(t,"media","optimize_image")}}}),e._v(" "),s("checkbox",{attrs:{name:"Optimize Video",value:e.media.optimize_video,description:"Enable to generate video thumbnails for local video media uploads."},on:{change:function(t){return e.handleChange(t,"media","optimize_video")}}}),e._v(" "),s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-1"},[s("label",{staticClass:"font-weight-bold text-muted"},[e._v("Media Types")]),e._v(" "),s("div",{staticClass:"list-group"},e._l(e.mediaTypes,(function(t,a){return s("div",{staticClass:"list-group-item py-2"},[s("div",{staticClass:"custom-control custom-checkbox"},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.mediaTypes[a],expression:"mediaTypes[key]"}],staticClass:"custom-control-input",attrs:{type:"checkbox",name:a,id:a},domProps:{checked:Array.isArray(e.mediaTypes[a])?e._i(e.mediaTypes[a],null)>-1:e.mediaTypes[a]},on:{change:function(t){var s=e.mediaTypes[a],o=t.target,n=!!o.checked;if(Array.isArray(s)){var i=e._i(s,null);o.checked?i<0&&e.$set(e.mediaTypes,a,s.concat([null])):i>-1&&e.$set(e.mediaTypes,a,s.slice(0,i).concat(s.slice(i+1)))}else e.$set(e.mediaTypes,a,n)}}}),e._v(" "),s("label",{staticClass:"custom-control-label font-weight-bold",attrs:{for:a}},[e._v(e._s(a))])])])})),0)]),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n Supported mime types for media uploads\n ")])])],1),e._v(" "),s("div",{staticClass:"col-12 col-md-6"},[s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-1"},[s("label",{staticClass:"font-weight-bold text-muted"},[e._v("Photo Album Limit")]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.media.max_album_length,expression:"media.max_album_length"}],staticClass:"form-control",attrs:{type:"number",min:"1",max:"20",name:"max_album_length"},domProps:{value:e.media.max_album_length},on:{input:function(t){t.target.composing||e.$set(e.media,"max_album_length",t.target.value)}}})]),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n The maximum number of photos or videos per album\n ")])]),e._v(" "),s("transition",{attrs:{name:"fade"}},[e.media.optimize_image?s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-1"},[s("label",{staticClass:"font-weight-bold text-muted"},[e._v("Image Quality")]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.media.image_quality,expression:"media.image_quality"}],staticClass:"form-control",attrs:{type:"number",min:"20",max:"100",name:"image_quality"},domProps:{value:e.media.image_quality},on:{input:function(t){t.target.composing||e.$set(e.media,"image_quality",t.target.value)}}})]),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n Image optimization quality from 0-100%.\n ")])]):e._e()])],1)])],1):"platform"===e.tabIndex?s("div",{staticClass:"tab-pane fade show active",attrs:{role:"tabpanel"}},[s("tab-header",{attrs:{title:"Platform",saving:e.isSubmitting,saved:e.isSubmittingTimeout},on:{save:function(t){return e.handleSave("platform")}}}),e._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-6"},[s("checkbox",{attrs:{name:"Allow Profile Embeds",value:e.platform.allow_profile_embeds,description:"Allow anyone to embed public profiles on other websites."},on:{change:function(t){return e.handleChange(t,"platform","allow_profile_embeds")}}}),e._v(" "),s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-0"},[s("div",{staticClass:"custom-control custom-checkbox"},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.platform.allow_app_registration,expression:"platform.allow_app_registration"}],staticClass:"custom-control-input",attrs:{type:"checkbox",name:"allow_app_registrations",id:"platform1",disabled:"open"!==e.features.registration_status},domProps:{checked:Array.isArray(e.platform.allow_app_registration)?e._i(e.platform.allow_app_registration,null)>-1:e.platform.allow_app_registration},on:{change:function(t){var s=e.platform.allow_app_registration,a=t.target,o=!!a.checked;if(Array.isArray(s)){var n=e._i(s,null);a.checked?n<0&&e.$set(e.platform,"allow_app_registration",s.concat([null])):n>-1&&e.$set(e.platform,"allow_app_registration",s.slice(0,n).concat(s.slice(n+1)))}else e.$set(e.platform,"allow_app_registration",o)}}}),e._v(" "),s("label",{staticClass:"custom-control-label font-weight-bold",attrs:{for:"platform1"}},[e._v("Allow App Registrations")])]),e._v(" "),"open"!==e.features.registration_status?s("p",{staticClass:"mb-0 small text-muted"},[e._v("Requires open registration to be enabled.")]):s("p",{staticClass:"mb-0 small"},[e._v("Allow users to register via the official Pixelfed mobile application.")])])]),e._v(" "),s("checkbox",{attrs:{name:"Custom Emoji",value:e.platform.custom_emoji_enabled,description:"Enable federated custom emoji that is compatible with Mastodon, Pleroma and others."},on:{change:function(t){return e.handleChange(t,"platform","custom_emoji_enabled")}}}),e._v(" "),"open"===e.features.registration_status&&e.features.allow_app_registration?[s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-1"},[s("label",{staticClass:"font-weight-bold text-muted"},[e._v("app_registration_rate_limit_attempts")]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.platform.app_registration_rate_limit_attempts,expression:"platform.app_registration_rate_limit_attempts"}],staticClass:"form-control",attrs:{type:"number",name:"app_registration_rate_limit_attempts"},domProps:{value:e.platform.app_registration_rate_limit_attempts},on:{input:function(t){t.target.composing||e.$set(e.platform,"app_registration_rate_limit_attempts",t.target.value)}}})]),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n app_registration_rate_limit_attempts.\n ")])]),e._v(" "),s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-1"},[s("label",{staticClass:"font-weight-bold text-muted"},[e._v("app_registration_rate_limit_decay")]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.platform.app_registration_rate_limit_decay,expression:"platform.app_registration_rate_limit_decay"}],staticClass:"form-control",attrs:{type:"number",name:"app_registration_rate_limit_decay"},domProps:{value:e.platform.app_registration_rate_limit_decay},on:{input:function(t){t.target.composing||e.$set(e.platform,"app_registration_rate_limit_decay",t.target.value)}}})]),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n app_registration_rate_limit_decay\n ")])])]:e._e()],2),e._v(" "),s("div",{staticClass:"col-12 col-md-6"},[s("checkbox",{attrs:{name:"Allow Post Embeds",value:e.platform.allow_post_embeds,description:"Allow anyone to embed public posts on other websites."},on:{change:function(t){return e.handleChange(t,"platform","allow_post_embeds")}}}),e._v(" "),s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-1"},[s("div",{staticClass:"custom-control custom-checkbox"},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.platform.captcha_enabled,expression:"platform.captcha_enabled"}],staticClass:"custom-control-input",attrs:{type:"checkbox",name:"hcaps",id:"hcp"},domProps:{checked:Array.isArray(e.platform.captcha_enabled)?e._i(e.platform.captcha_enabled,null)>-1:e.platform.captcha_enabled},on:{change:function(t){var s=e.platform.captcha_enabled,a=t.target,o=!!a.checked;if(Array.isArray(s)){var n=e._i(s,null);a.checked?n<0&&e.$set(e.platform,"captcha_enabled",s.concat([null])):n>-1&&e.$set(e.platform,"captcha_enabled",s.slice(0,n).concat(s.slice(n+1)))}else e.$set(e.platform,"captcha_enabled",o)}}}),e._v(" "),s("label",{staticClass:"custom-control-label font-weight-bold",attrs:{for:"hcp"}},[e._v("Enable hCaptcha")])])]),e._v(" "),e.platform.captcha_enabled?[s("hr",{staticClass:"my-2"}),e._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-6"},[s("div",{staticClass:"form-group my-1"},[s("label",{staticClass:"text-muted small"},[e._v("hCaptcha Secret")]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.platform.captcha_secret,expression:"platform.captcha_secret"}],staticClass:"form-control",attrs:{type:"text",name:"captcha_secret"},domProps:{value:e.platform.captcha_secret},on:{input:function(t){t.target.composing||e.$set(e.platform,"captcha_secret",t.target.value)}}})])]),e._v(" "),s("div",{staticClass:"col-12 col-md-6"},[s("div",{staticClass:"form-group my-1"},[s("label",{staticClass:"text-muted small"},[e._v("hCaptcha Sitekey")]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.platform.captcha_sitekey,expression:"platform.captcha_sitekey"}],staticClass:"form-control",attrs:{type:"text",name:"captcha_sitekey"},domProps:{value:e.platform.captcha_sitekey},on:{input:function(t){t.target.composing||e.$set(e.platform,"captcha_sitekey",t.target.value)}}})])])]),e._v(" "),s("hr",{staticClass:"mt-2 mb-4"}),e._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-lg-6"},[s("div",{staticClass:"custom-control custom-checkbox"},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.platform.captcha_on_login,expression:"platform.captcha_on_login"}],staticClass:"custom-control-input",attrs:{type:"checkbox",name:"captcha_on_login",id:"captcha_on_login"},domProps:{checked:Array.isArray(e.platform.captcha_on_login)?e._i(e.platform.captcha_on_login,null)>-1:e.platform.captcha_on_login},on:{change:function(t){var s=e.platform.captcha_on_login,a=t.target,o=!!a.checked;if(Array.isArray(s)){var n=e._i(s,null);a.checked?n<0&&e.$set(e.platform,"captcha_on_login",s.concat([null])):n>-1&&e.$set(e.platform,"captcha_on_login",s.slice(0,n).concat(s.slice(n+1)))}else e.$set(e.platform,"captcha_on_login",o)}}}),e._v(" "),s("label",{staticClass:"custom-control-label font-weight-bold",attrs:{for:"captcha_on_login"}},[e._v("Login Captcha")])])]),e._v(" "),s("div",{staticClass:"col-12 col-lg-6"},[s("div",{staticClass:"custom-control custom-checkbox"},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.platform.captcha_on_register,expression:"platform.captcha_on_register"}],staticClass:"custom-control-input",attrs:{type:"checkbox",name:"captcha_on_register",id:"captcha_on_register"},domProps:{checked:Array.isArray(e.platform.captcha_on_register)?e._i(e.platform.captcha_on_register,null)>-1:e.platform.captcha_on_register},on:{change:function(t){var s=e.platform.captcha_on_register,a=t.target,o=!!a.checked;if(Array.isArray(s)){var n=e._i(s,null);a.checked?n<0&&e.$set(e.platform,"captcha_on_register",s.concat([null])):n>-1&&e.$set(e.platform,"captcha_on_register",s.slice(0,n).concat(s.slice(n+1)))}else e.$set(e.platform,"captcha_on_register",o)}}}),e._v(" "),s("label",{staticClass:"custom-control-label font-weight-bold",attrs:{for:"captcha_on_register"}},[e._v("Register Captcha")])])])]),e._v(" "),s("hr",{staticClass:"mt-4 mb-2"})]:e._e(),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n Enable hCaptcha on login and register pages\n ")])],2),e._v(" "),"open"===e.features.registration_status&&e.features.allow_app_registration?[s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-1"},[s("label",{staticClass:"font-weight-bold text-muted"},[e._v("app_registration_confirm_rate_limit_attempts")]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.platform.app_registration_confirm_rate_limit_attempts,expression:"platform.app_registration_confirm_rate_limit_attempts"}],staticClass:"form-control",attrs:{type:"number",name:"app_registration_confirm_rate_limit_attempts"},domProps:{value:e.platform.app_registration_confirm_rate_limit_attempts},on:{input:function(t){t.target.composing||e.$set(e.platform,"app_registration_confirm_rate_limit_attempts",t.target.value)}}})]),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n app_registration_confirm_rate_limit_attempts.\n ")])]),e._v(" "),s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-1"},[s("label",{staticClass:"font-weight-bold text-muted"},[e._v("app_registration_confirm_rate_limit_decay")]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.platform.app_registration_confirm_rate_limit_decay,expression:"platform.app_registration_confirm_rate_limit_decay"}],staticClass:"form-control",attrs:{type:"number",name:"app_registration_confirm_rate_limit_decay"},domProps:{value:e.platform.app_registration_confirm_rate_limit_decay},on:{input:function(t){t.target.composing||e.$set(e.platform,"app_registration_confirm_rate_limit_decay",t.target.value)}}})]),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n app_registration_confirm_rate_limit_decay.\n ")])])]:e._e()],2)])],1):"posts"===e.tabIndex?s("div",{staticClass:"tab-pane fade show active",attrs:{role:"tabpanel"}},[s("tab-header",{attrs:{title:"Posts",saving:e.isSubmitting,saved:e.isSubmittingTimeout},on:{save:function(t){return e.handleSave("posts")}}}),e._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-6"},[s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-1"},[s("label",{staticClass:"font-weight-bold text-muted"},[e._v("Max Caption Length")]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.posts.max_caption_length,expression:"posts.max_caption_length"}],staticClass:"form-control",attrs:{type:"number",min:"1",max:"10000",name:"max_caption_limit"},domProps:{value:e.posts.max_caption_length},on:{input:function(t){t.target.composing||e.$set(e.posts,"max_caption_length",t.target.value)}}})]),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n The maximum character count of post captions. We recommend a limit between 500-2000.\n ")])])]),e._v(" "),s("div",{staticClass:"col-12 col-md-6"},[s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-1"},[s("label",{staticClass:"font-weight-bold text-muted"},[e._v("Max Alttext Length")]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.posts.max_altext_length,expression:"posts.max_altext_length"}],staticClass:"form-control",attrs:{type:"number",min:"1",max:"10000",name:"max_altext_length"},domProps:{value:e.posts.max_altext_length},on:{input:function(t){t.target.composing||e.$set(e.posts,"max_altext_length",t.target.value)}}})]),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n The maximum character count of post media alttext captions. We recommend a limit between 2000-10000.\n ")])])])])],1):"rules"===e.tabIndex?s("div",{staticClass:"tab-pane fade show active",attrs:{role:"tabpanel"}},[s("tab-header",{attrs:{title:"Rules",saving:e.isSubmitting,saved:e.isSubmittingTimeout},on:{save:function(t){return e.handleSave("rules")}}}),e._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-3"},[e.hasDuplicateRulesComputed?s("div",{staticClass:"alert alert-danger"},[s("p",{staticClass:"font-weight-bold mb-0"},[e._v("Duplicate rules detected, you should fix this!")])]):e._e(),e._v(" "),s("div",{staticClass:"position-relative"},[s("div",{staticClass:"card shadow-none border"},[s("div",{staticClass:"card-header py-2 bg-primary text-white font-weight-bold text-center"},[e._v("Active Rules")]),e._v(" "),s("div",{staticClass:"list-group list-group-flush"},[e._l(e.rulesComputed,(function(t,a){return s("div",{staticClass:"list-group-item"},[s("div",{staticClass:"d-flex justify-content-between align-items-start"},[s("div",{staticClass:"d-flex gap-1 align-items-start"},[s("div",{staticClass:"rule-badge"},[s("div",{staticClass:"rule-badge-inner"},[e._v(e._s(a+1))])]),e._v(" "),s("admin-read-more",{key:t,staticClass:"text-dark rule-text",attrs:{content:t,maxLength:140,initialLimit:30,fontSize:"13"}})],1),e._v(" "),s("button",{staticClass:"btn btn-link btn-sm",attrs:{disabled:e.isDeletingRule},on:{click:function(s){return s.preventDefault(),e.handleDeleteRule(t,a,s)}}},[s("i",{staticClass:"fas fa-trash-alt text-danger"})])])])})),e._v(" "),e.rules&&e.rules.length?e._e():s("div",{staticClass:"list-group-item"},[s("p",{staticClass:"text-center mb-0"},[e._v("No rules set!")])])],2)]),e._v(" "),!e.showAllRules&&e.rules.length>2?s("div",{staticClass:"d-flex justify-content-center",staticStyle:{position:"absolute",width:"100%","padding-top":"10rem",bottom:"0",background:"linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255, 1))"}},[s("button",{staticClass:"btn btn-dark font-weight-bold rounded-pill btn-block",on:{click:function(t){t.preventDefault(),e.showAllRules=!0}}},[e._v("Show all rules")])]):e._e()])]),e._v(" "),s("div",{staticClass:"col-12 col-md-6"},[s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-1"},[s("label",{staticClass:"font-weight-bold text-muted"},[e._v("Add New Rule")]),e._v(" "),s("textarea",{directives:[{name:"model",rawName:"v-model",value:e.newRule,expression:"newRule"}],staticClass:"form-control",attrs:{type:"text",name:"new_rule",rows:"5",minlength:"5",maxlength:"1000",placeholder:"Add your new rule here...",disabled:e.isSubmittingNewRule||e.isDeletingRule},domProps:{value:e.newRule},on:{input:function(t){t.target.composing||(e.newRule=t.target.value)}}})]),e._v(" "),s("div",{staticClass:"d-flex justify-content-between align-items-center"},[s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n Add a new rule\n ")]),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n "+e._s(e.newRule&&e.newRule.length?e.newRule.length:0)+"/1000\n ")])]),e._v(" "),s("hr",{staticClass:"my-2"}),e._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-primary btn-sm btn-block font-weight-bold rounded-pill",attrs:{disabled:!e.newRule||!e.newRule.length||e.isSubmittingNewRule||e.isDeletingRule},on:{click:function(t){return t.preventDefault(),e.handleAddRule.apply(null,arguments)}}},[e._v("Add Rule")])])]),e._v(" "),e.rules&&e.rules.length?s("button",{staticClass:"btn btn-outline-danger rounded-pill btn-block btn-sm",on:{click:function(t){return t.preventDefault(),e.handleDeleteAllRules.apply(null,arguments)}}},[e._v("Delete all rules")]):e._e()]),e._v(" "),e.suggestedRulesComputed&&e.suggestedRulesComputed.length?s("div",{staticClass:"col-12 col-md-6"},[s("div",{staticClass:"border-bottom pb-2 mb-3 d-flex justify-content-between align-items-center"},[s("p",{staticClass:"font-weight-bold mb-0"},[e._v("Suggested Rules")]),e._v(" "),e.rules.length?e._e():s("a",{staticClass:"font-weight-bold small",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.importAllDefaultRules.apply(null,arguments)}}},[e._v("Import All")])]),e._v(" "),s("div",{staticClass:"list-group"},e._l(e.suggestedRulesComputed,(function(t){return s("a",{staticClass:"list-group-item small",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),e.addSuggestedRule(t,s)}}},[e._v(e._s(t))])})),0)]):e._e()])],1):"storage"===e.tabIndex?s("div",{staticClass:"tab-pane fade show active",attrs:{role:"tabpanel"}},[s("tab-header",{attrs:{title:"Storage",saving:e.isSubmitting,saved:e.isSubmittingTimeout},on:{save:function(t){return e.handleSave("storage")}}}),e._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-6"},[s("div",{staticClass:"card shadow-none border card-body",staticStyle:{padding:"1.1rem 1.6rem"}},[s("div",{staticClass:"form-group mb-0"},[s("label",{staticClass:"font-weight-bold",attrs:{for:"form-summary"}},[e._v("Primary Storage Disk")]),e._v(" "),s("select",{directives:[{name:"model",rawName:"v-model",value:e.storage.primary_disk,expression:"storage.primary_disk"}],staticClass:"form-control form-control-muted",on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));e.$set(e.storage,"primary_disk",t.target.multiple?s:s[0])}}},[s("option",{attrs:{value:"local"}},[e._v("Local")]),e._v(" "),s("option",{attrs:{value:"cloud"}},[e._v("Cloud/S3")])])]),e._v(" "),s("p",{staticClass:"help-text small text-muted mt-2 mb-0"},[e._v("\n The storage disk where avatars and media uploads are stored.\n ")])])]),e._v(" "),s("div",{staticClass:"col-12 col-md-6"},[s("div",{staticClass:"card border"},[e._m(1),e._v(" "),e.showDiskConfig?s("div",{staticClass:"card-body"},[s("div",{staticClass:"form-group mb-4 d-flex align-items-center gap-1"},[s("label",{staticClass:"font-weight-bold mb-0",attrs:{for:"form-summary"}},[e._v("Disk")]),e._v(" "),s("select",{directives:[{name:"model",rawName:"v-model",value:e.storage.disk_config.driver,expression:"storage.disk_config.driver"}],staticClass:"form-control form-control-muted mb-0",on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));e.$set(e.storage.disk_config,"driver",t.target.multiple?s:s[0])}}},[s("option",{attrs:{value:"s3"}},[e._v("S3")]),e._v(" "),s("option",{attrs:{value:"spaces"}},[e._v("DigitalOcean Spaces")])])]),e._v(" "),s("form-input",{attrs:{name:"Key",value:e.storage.disk_config.key,description:"",isCard:!1,isInline:!0},on:{change:function(t){return e.handleSubChange(t,"storage","disk_config","key")}}}),e._v(" "),s("form-input",{attrs:{name:"Secret",value:e.storage.disk_config.secret,description:"",isCard:!1,isInline:!0},on:{change:function(t){return e.handleSubChange(t,"storage","disk_config","secret")}}}),e._v(" "),s("form-input",{attrs:{name:"Region",value:e.storage.disk_config.region,description:"",isCard:!1,isInline:!0},on:{change:function(t){return e.handleSubChange(t,"storage","disk_config","region")}}}),e._v(" "),s("form-input",{attrs:{name:"Bucket",value:e.storage.disk_config.bucket,description:"",isCard:!1,isInline:!0},on:{change:function(t){return e.handleSubChange(t,"storage","disk_config","bucket")}}}),e._v(" "),s("form-input",{attrs:{name:"Endpoint",value:e.storage.disk_config.endpoint,description:"",isCard:!1,isInline:!0},on:{change:function(t){return e.handleSubChange(t,"storage","disk_config","endpoint")}}}),e._v(" "),s("form-input",{attrs:{name:"Visibility",value:e.storage.disk_config.visibility,description:"",isCard:!1,isInline:!0,isDisabled:!0},on:{change:function(t){return e.handleSubChange(t,"storage","disk_config","visibility")}}}),e._v(" "),s("form-input",{attrs:{name:"Url",value:e.storage.disk_config.url,description:"",isCard:!1,isInline:!0},on:{change:function(t){return e.handleSubChange(t,"storage","disk_config","url")}}})],1):s("div",{staticClass:"card-body"},[s("p",{staticClass:"text-center mb-0"},[s("a",{staticClass:"btn btn-primary bg-gradient-primary shadow-lg rounded-pill",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.showDiskConfig=!0}}},[e._v("\n View/Edit\n ")])])])])])])],1):"users"===e.tabIndex?s("div",{staticClass:"tab-pane fade show active",attrs:{role:"tabpanel"}},[s("tab-header",{attrs:{title:"Users",saving:e.isSubmitting,saved:e.isSubmittingTimeout},on:{save:function(t){return e.handleSave("users")}}}),e._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 col-md-6"},[s("checkbox",{attrs:{name:"Require Email Verifications",value:e.users.require_email_verification,description:"Require users to verify their email address is valid before they can use the account."},on:{change:function(t){return e.handleChange(t,"users","require_email_verification")}}}),e._v(" "),s("form-input",{attrs:{name:"Max User Blocks",value:e.users.max_user_blocks.toString(),description:"The max number of account blocks per user."},on:{change:function(t){return e.handleChange(t,"users","max_user_blocks")}}}),e._v(" "),s("form-input",{attrs:{name:"Max User Mutes",value:e.users.max_user_mutes.toString(),description:"The max number of account mutes per user."},on:{change:function(t){return e.handleChange(t,"users","max_user_mutes")}}}),e._v(" "),s("form-input",{attrs:{name:"Max User Domain Blocks",value:e.users.max_domain_blocks.toString(),description:"The max number of domain blocks per user."},on:{change:function(t){return e.handleChange(t,"users","max_domain_blocks")}}})],1),e._v(" "),s("div",{staticClass:"col-12 col-md-6"},[s("div",{staticClass:"card shadow-none border card-body"},[s("div",{staticClass:"form-group mb-0"},[s("div",{staticClass:"custom-control custom-checkbox"},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.users.enforce_account_limit,expression:"users.enforce_account_limit"}],staticClass:"custom-control-input",attrs:{type:"checkbox",name:"enforce_account_limit",id:"users2"},domProps:{checked:Array.isArray(e.users.enforce_account_limit)?e._i(e.users.enforce_account_limit,null)>-1:e.users.enforce_account_limit},on:{change:function(t){var s=e.users.enforce_account_limit,a=t.target,o=!!a.checked;if(Array.isArray(s)){var n=e._i(s,null);a.checked?n<0&&e.$set(e.users,"enforce_account_limit",s.concat([null])):n>-1&&e.$set(e.users,"enforce_account_limit",s.slice(0,n).concat(s.slice(n+1)))}else e.$set(e.users,"enforce_account_limit",o)}}}),e._v(" "),s("label",{staticClass:"custom-control-label font-weight-bold",attrs:{for:"users2"}},[e._v("Enforce Account Limit")])]),e._v(" "),s("p",{staticClass:"mb-0 small"},[e._v("Set a storage limit per user account for all uploaded media (photo + video).")])]),e._v(" "),s("transition",{attrs:{name:"fade"}},[e.users.enforce_account_limit?s("div",[s("hr",{staticClass:"my-2"}),e._v(" "),s("div",{staticClass:"form-group mb-1"},[s("div",{staticClass:"input-group mb-0"},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.users.max_account_size,expression:"users.max_account_size"}],staticClass:"form-control",attrs:{type:"text",placeholder:"15000","aria-label":"Max account size","aria-describedby":"maxMediaSize"},domProps:{value:e.users.max_account_size},on:{input:function(t){t.target.composing||e.$set(e.users,"max_account_size",t.target.value)}}}),e._v(" "),s("div",{staticClass:"input-group-append"},[s("span",{staticClass:"input-group-text"},[e._v("= "+e._s(e.maxAccountSizeToMb))])])])]),e._v(" "),s("p",{staticClass:"help-text small text-muted mb-0"},[e._v("\n Maximum file storage limit per user account.\n ")])]):e._e()])],1),e._v(" "),s("div",{staticClass:"card shadow-none border"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"form-group mb-0"},[s("div",{staticClass:"custom-control custom-checkbox"},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.users.admin_autofollow,expression:"users.admin_autofollow"}],staticClass:"custom-control-input",attrs:{type:"checkbox",name:"admin_autofollow",id:"users4"},domProps:{checked:Array.isArray(e.users.admin_autofollow)?e._i(e.users.admin_autofollow,null)>-1:e.users.admin_autofollow},on:{change:function(t){var s=e.users.admin_autofollow,a=t.target,o=!!a.checked;if(Array.isArray(s)){var n=e._i(s,null);a.checked?n<0&&e.$set(e.users,"admin_autofollow",s.concat([null])):n>-1&&e.$set(e.users,"admin_autofollow",s.slice(0,n).concat(s.slice(n+1)))}else e.$set(e.users,"admin_autofollow",o)}}}),e._v(" "),s("label",{staticClass:"custom-control-label font-weight-bold",attrs:{for:"users4"}},[e._v("Autofollow Accounts")])]),e._v(" "),s("p",{staticClass:"mb-0 small"},[e._v("Force new accounts to follow accounts you specify below")])])]),e._v(" "),s("transition",{attrs:{name:"fade"}},[e.users.admin_autofollow?s("div",{staticClass:"list-group list-group-flush"},[null!==(t=e.users.admin_autofollow_accounts)&&void 0!==t&&t.length?s("div",e._l(e.users.admin_autofollow_accounts,(function(t){return s("div",{staticClass:"list-group-item"},[s("div",{staticClass:"d-flex justify-content-between align-items-center"},[s("p",{staticClass:"font-weight-bold mb-0"},[e._v("@"+e._s(t))]),e._v(" "),s("button",{staticClass:"btn btn-link p-0",on:{click:function(s){return s.preventDefault(),e.removeAutofollow(t,s)}}},[s("i",{staticClass:"fas fa-trash-alt text-danger"})])])])})),0):s("div",{staticClass:"list-group-item"},[s("p",{staticClass:"text-center mb-0"},[e._v("No autofollow accounts active.")])])]):e._e()]),e._v(" "),s("transition",{attrs:{name:"fade"}},[e.users.admin_autofollow&&e.users.admin_autofollow_accounts&&e.users.admin_autofollow_accounts.length<5?s("div",{staticClass:"card-footer"},[s("button",{staticClass:"btn btn-primary btn-block rounded-pill",on:{click:function(t){return t.preventDefault(),e.addAutofollow.apply(null,arguments)}}},[e._v("Add Autofollow Account")])]):e._e()])],1)])])],1):e._e()])])])])])])]):s("div",[e._m(2)])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"header bg-primary pb-2 mt-n4"},[e("div",{staticClass:"container-fluid"},[e("div",{staticClass:"header-body"},[e("div",{staticClass:"row align-items-center py-4"},[e("div",{staticClass:"col-lg-6 col-7"},[e("p",{staticClass:"display-1 text-white d-inline-block mb-0"},[t._v("Settings")]),t._v(" "),e("p",{staticClass:"h3 text-white font-weight-light"},[t._v("Manage your server settings")])])])])])])},function(){var t=this._self._c;return t("div",{staticClass:"card-header bg-gradient-primary"},[t("p",{staticClass:"text-center mb-0 text-white font-weight-bold"},[this._v("Cloud Disk Config")])])},function(){var t=this._self._c;return t("div",{staticClass:"container my-5 py-5 text-center"},[t("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])])}];a._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminModalPost.vue?vue&type=template&id=8f93fade":
|
||
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminModalPost.vue?vue&type=template&id=8f93fade ***!
|
||
\*************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"mb-3"},[t.status.media_attachments&&t.status.media_attachments.length?e("div",{staticClass:"list-group-item",staticStyle:{gap:"1rem",overflow:"hidden"}},[e("div",{staticClass:"text-center text-muted small font-weight-bold mb-3"},[t._v("Reported Post Media")]),t._v(" "),t.status.media_attachments&&t.status.media_attachments.length?e("div",{staticClass:"d-flex flex-grow-1",staticStyle:{gap:"1rem","overflow-x":"auto"}},[t._l(t.status.media_attachments,(function(s){return["image"===s.type?e("img",{staticClass:"rounded",staticStyle:{"object-fit":"cover"},attrs:{src:s.url,width:"70",height:"70",onerror:"this.src='/storage/no-preview.png';this.error=null;"},on:{click:t.toggleLightbox}}):"video"===s.type?e("video",{staticClass:"rounded",attrs:{width:"140",height:"90",playsinline:""},on:{click:function(e){return e.preventDefault(),t.toggleVideoLightbox(e,s.url)}}},[e("source",{attrs:{src:s.url,type:s.mime}})]):t._e()]}))],2):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item d-flex flex-row flex-grow-1",staticStyle:{gap:"1rem"}},[e("div",{staticClass:"flex-grow-1"},[t.status&&t.status.in_reply_to_id&&t.status.parent&&t.status.parent.account?e("div",{staticClass:"mb-3"},[t.showInReplyTo?[e("div",{staticClass:"mt-n1 text-center text-muted small font-weight-bold mb-1"},[t._v("Reply to")]),t._v(" "),e("div",{staticClass:"media",staticStyle:{gap:"1rem"}},[e("img",{staticClass:"rounded-lg",attrs:{src:t.status.parent.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"d-flex flex-column"},[e("p",{staticClass:"font-weight-bold mb-0",staticStyle:{"font-size":"11px"}},[e("a",{attrs:{href:"/i/web/profile/".concat(t.status.parent.account.id),target:"_blank"}},[t._v(t._s(t.status.parent.account.acct))])]),t._v(" "),e("admin-read-more",{attrs:{content:t.status.parent.content_text}}),t._v(" "),e("p",{staticClass:"mb-1"},[e("a",{staticClass:"text-muted",staticStyle:{"font-size":"11px"},attrs:{href:"/i/web/post/".concat(t.status.parent.id),target:"_blank"}},[e("i",{staticClass:"far fa-link mr-1"}),t._v(" "+t._s(t.formatDate(t.status.parent.created_at))+"\n ")])])],1)]),t._v(" "),e("hr",{staticClass:"my-1"})]:e("a",{staticClass:"btn btn-dark font-weight-bold btn-block btn-sm",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showInReplyTo=!0}}},[t._v("Show parent post")])],2):t._e(),t._v(" "),e("div",[e("div",{staticClass:"mt-n1 text-center text-muted small font-weight-bold mb-1"},[t._v("Reported Post")]),t._v(" "),e("div",{staticClass:"media",staticStyle:{gap:"1rem"}},[e("img",{staticClass:"rounded-lg",attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"d-flex flex-column"},[e("p",{staticClass:"font-weight-bold mb-0",staticStyle:{"font-size":"11px"}},[e("a",{attrs:{href:"/i/web/profile/".concat(t.status.account.id),target:"_blank"}},[t._v(t._s(t.status.account.acct))])]),t._v(" "),t.status&&t.status.content_text&&t.status.content_text.length?[e("admin-read-more",{attrs:{content:t.status.content_text}})]:[e("admin-read-more",{staticClass:"font-weight-bold text-muted",attrs:{content:"EMPTY CAPTION"}})],t._v(" "),e("p",{staticClass:"mb-0"},[e("a",{staticClass:"text-muted",staticStyle:{"font-size":"11px"},attrs:{href:"/i/web/post/".concat(t.status.id),target:"_blank"}},[e("i",{staticClass:"far fa-link mr-1"}),t._v(" "+t._s(t.formatDate(t.status.created_at))+"\n ")])])],2)])])])])])},o=[];a._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminReadMore.vue?vue&type=template&id=0b0707d2":
|
||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminReadMore.vue?vue&type=template&id=0b0707d2 ***!
|
||
\************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"mb-0",style:{"font-size":"".concat(t.fontSize,"px")}},[t._v(t._s(t.contentText))]),t._v(" "),e("p",{staticClass:"mb-0"},[t.canStepExpand||t.canExpand&&!t.expanded?e("a",{staticClass:"font-weight-bold small",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.expand()}}},[t._v("Read more")]):t._e()])])},o=[];a._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminRemoteReportModal.vue?vue&type=template&id=84a88f52":
|
||
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminRemoteReportModal.vue?vue&type=template&id=84a88f52 ***!
|
||
\*********************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{title:"Remote Report","ok-only":!0,"ok-title":"Close",lazy:!0,scrollable:!0,"ok-variant":"outline-primary"},on:{hide:function(e){return t.$emit("close")}},model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center"},[e("b-spinner")],1):[e("div",{staticClass:"list-group"},[e("div",{staticClass:"list-group-item d-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-muted small font-weight-bold"},[t._v("Instance")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[t._v(t._s(t.model.instance))])]),t._v(" "),t.model.message&&t.model.message.length?e("div",{staticClass:"list-group-item d-flex justify-content-between align-items-center flex-column gap-1"},[e("div",{staticClass:"text-muted small font-weight-bold mb-2"},[t._v("Message")]),t._v(" "),e("div",{staticClass:"text-wrap w-100",staticStyle:{"word-break":"break-all","font-size":"12.5px"}},[e("admin-read-more",{attrs:{content:t.model.message,"font-size":"11",step:!0,"initial-limit":100,stepLimit:1e3}})],1)]):t._e()]),t._v(" "),e("div",{staticClass:"list-group list-group-horizontal mt-3"},[t.model&&t.model.reported?e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between flex-row flex-grow-1",staticStyle:{gap:"0.4rem"}},[e("div",{staticClass:"text-muted small font-weight-bold"},[t._v("Reported Account")]),t._v(" "),e("div",{staticClass:"d-flex justify-content-end flex-grow-1"},[t.model.reported&&t.model.reported.id?e("a",{staticClass:"text-primary",attrs:{href:"/i/web/profile/".concat(t.model.reported.id),target:"_blank"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"0.61rem"}},[e("img",{staticStyle:{"object-fit":"cover","border-radius":"30px"},attrs:{src:t.model.reported.avatar,width:"30",height:"30",onerror:"this.src='/storage/avatars/default.png';this.error=null;"}}),t._v(" "),e("div",{staticClass:"d-flex flex-column"},[e("p",{staticClass:"font-weight-bold mb-0 text-break",class:[t.model.reported.is_admin?"text-danger":""],staticStyle:{"font-size":"12px","max-width":"140px","line-height":"16px"}},[t._v("@"+t._s(t.model.reported.acct))]),t._v(" "),e("div",{staticClass:"d-flex text-muted mb-0",staticStyle:{"font-size":"10px",gap:"0.5rem"}},[e("span",[t._v(t._s(t.prettyCount(t.model.reported.followers_count))+" Followers")]),t._v(" "),e("span",[t._v("·")]),t._v(" "),e("span",[t._v("Joined "+t._s(t.timeAgo(t.model.reported.created_at)))])])])])]):t._e()])]):e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-center flex-column flex-grow-1"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Reported Account Unavailable")]),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v("The reported account may have been deleted, or is otherwise not currently active. You can safely "),e("strong",[t._v("Close Report")]),t._v(" to mark this report as read.")])])]),t._v(" "),t.model&&t.model.statuses&&t.model.statuses.length?e("div",{staticClass:"list-group mt-3"},t._l(t.model.statuses,(function(t,s){return e("admin-modal-post",{key:"admin-modal-post-remote-post:".concat(t.id,":").concat(s),attrs:{status:t}})})),1):t._e(),t._v(" "),e("div",{staticClass:"mt-4"},[e("div",[e("button",{staticClass:"btn btn-dark btn-block rounded-pill",attrs:{type:"button"},on:{click:function(e){return t.handleAction("mark-read")}}},[t._v("\n Close Report\n ")]),t._v(" "),e("button",{staticClass:"btn btn-outline-dark btn-block text-center rounded-pill",staticStyle:{"word-break":"break-all"},attrs:{type:"button"},on:{click:function(e){return t.handleAction("mark-all-read-by-domain")}}},[e("span",{staticClass:"font-weight-light"},[t._v("Close all reports from")]),t._v(" "),e("strong",[t._v(t._s(t.model.instance))])]),t._v(" "),t.model.reported?e("button",{staticClass:"btn btn-outline-dark btn-block rounded-pill flex-grow-1",attrs:{type:"button"},on:{click:function(e){return t.handleAction("mark-all-read-by-username")}}},[e("span",{staticClass:"font-weight-light"},[t._v("Close all reports against")]),t._v(" "),e("strong",[t._v("@"+t._s(t.model.reported.username))])]):t._e(),t._v(" "),t.model&&t.model.statuses&&t.model.statuses.length&&t.model.reported?[e("hr",{staticClass:"mt-3 mb-1"}),t._v(" "),e("div",{staticClass:"d-flex flex-row mt-2",staticStyle:{gap:"0.3rem"}},[e("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",attrs:{type:"button"},on:{click:function(e){return t.handleAction("cw-posts")}}},[t._v("\n Apply CW to Post(s)\n ")]),t._v(" "),e("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",attrs:{type:"button"},on:{click:function(e){return t.handleAction("unlist-posts")}}},[t._v("\n Unlist Post(s)\n ")])]),t._v(" "),e("div",{staticClass:"d-flex flex-row mt-2"},[e("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",attrs:{type:"button"},on:{click:function(e){return t.handleAction("private-posts")}}},[t._v("\n Make Post(s) Private\n ")]),t._v(" "),e("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",attrs:{type:"button"},on:{click:function(e){return t.handleAction("delete-posts")}}},[t._v("\n Delete Post(s)\n ")])])]:t.model&&t.model.statuses&&!t.model.statuses.length&&t.model.reported?[e("hr",{staticClass:"mt-3 mb-1"}),t._v(" "),e("div",{staticClass:"d-flex flex-row mt-2",staticStyle:{gap:"0.3rem"}},[e("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",attrs:{type:"button"},on:{click:function(e){return t.handleAction("cw-all-posts")}}},[t._v("\n Apply CW to all posts\n ")]),t._v(" "),e("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",attrs:{type:"button"},on:{click:function(e){return t.handleAction("unlist-all-posts")}}},[t._v("\n Unlist all account posts\n ")])]),t._v(" "),e("div",{staticClass:"d-flex flex-row mt-2",staticStyle:{gap:"0.3rem"}},[e("button",{staticClass:"btn btn-outline-danger btn-block btn-sm rounded-pill mt-0",attrs:{type:"button"},on:{click:function(e){return t.handleAction("private-all-posts")}}},[t._v("\n Make all posts private\n ")])])]:t._e()],2)])]],2)},o=[];a._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsCheckbox.vue?vue&type=template&id=30fb24dc":
|
||
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsCheckbox.vue?vue&type=template&id=30fb24dc ***!
|
||
\********************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card shadow-none border card-body"},[e("div",{staticClass:"form-group mb-0"},[e("div",{staticClass:"custom-control custom-checkbox"},[e("input",{staticClass:"custom-control-input",attrs:{type:"checkbox",name:t.elementId,id:t.elementId},domProps:{checked:t.value},on:{change:function(e){return t.$emit("change",!t.value)}}}),t._v(" "),e("label",{staticClass:"custom-control-label font-weight-bold",attrs:{for:t.elementId}},[t._v(t._s(t.name))])]),t._v(" "),e("p",{staticClass:"mt-1 mb-0 small text-muted",domProps:{innerHTML:t._s(t.description)}})])])},o=[];a._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=template&id=e16d1fea&scoped=true":
|
||
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=template&id=e16d1fea&scoped=true ***!
|
||
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{class:[t.isCard?"card shadow-none border card-body":""]},[e("div",{staticClass:"form-group",class:[t.isInline?"d-flex align-items-center gap-1":"mb-1"]},[e("label",{staticClass:"font-weight-bold mb-0",attrs:{for:t.elementId}},[t._v(t._s(t.name))]),t._v(" "),e("input",{staticClass:"form-control form-control-muted mb-0",attrs:{id:t.elementId,placeholder:t.placeholder,disabled:t.isDisabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("change",e.target.value)}}})]),t._v(" "),t.description&&t.description.length?e("p",{staticClass:"help-text small text-muted mb-0",domProps:{innerHTML:t._s(t.description)}}):t._e()])},o=[];a._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsTabHeader.vue?vue&type=template&id=39f16b7a":
|
||
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsTabHeader.vue?vue&type=template&id=39f16b7a ***!
|
||
\*********************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",{staticStyle:{width:"100px"}}),t._v(" "),e("div",[e("h2",{staticClass:"display-4 mb-0",staticStyle:{"font-weight":"800"}},[t._v(t._s(t.title))])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-primary rounded-pill font-weight-bold px-5",attrs:{disabled:t.isSaving||t.saved},on:{click:function(e){return e.preventDefault(),t.save.apply(null,arguments)}}},[!0===t.isSaving?[e("b-spinner",{staticClass:"mx-2",attrs:{small:""}})]:[t._v(t._s(t.buttonLabel))]],2)])]),t._v(" "),e("hr",{staticClass:"mt-3"})])},o=[];a._withStripped=!0},"./resources/assets/js/admin.js":
|
||
/*!**************************************!*\
|
||
!*** ./resources/assets/js/admin.js ***!
|
||
\**************************************/(t,e,s)=>{s(/*! jquery */"./node_modules/jquery/dist/jquery.js");s(/*! ./polyfill */"./resources/assets/js/polyfill.js"),window._=s(/*! lodash */"./node_modules/lodash/lodash.js"),window.Popper=s(/*! popper.js */"./node_modules/popper.js/dist/esm/popper.js").default,window.pixelfed=window.pixelfed||{},window.$=s(/*! jquery */"./node_modules/jquery/dist/jquery.js"),s(/*! bootstrap */"./node_modules/bootstrap/dist/js/bootstrap.js"),window.axios=s(/*! axios */"./node_modules/axios/dist/browser/axios.cjs"),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",s(/*! readmore-js */"./node_modules/readmore-js/readmore.js"),window.filesize=s(/*! filesize */"./node_modules/filesize/lib/filesize.js"),window.Cookies=s(/*! js-cookie */"./node_modules/js-cookie/src/js.cookie.js"),s(/*! jquery.scrollbar */"./node_modules/jquery.scrollbar/index.js"),s(/*! jquery-scroll-lock */"./node_modules/jquery-scroll-lock/jquery-scrollLock.js"),window.Chart=s(/*! chart.js */"./node_modules/chart.js/dist/Chart.js"),s(/*! ./lib/argon.js */"./resources/assets/js/lib/argon.js"),Chart.defaults.global.defaultFontFamily="-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif",Array.from(document.querySelectorAll(".pagination .page-link")).filter((function(t){return"« Previous"===t.textContent||"Next »"===t.textContent})).forEach((function(t){return t.textContent="Next »"===t.textContent?"›":"‹"})),Vue.component("admin-autospam",s(/*! ./../components/admin/AdminAutospam.vue */"./resources/assets/components/admin/AdminAutospam.vue").default),Vue.component("admin-directory",s(/*! ./../components/admin/AdminDirectory.vue */"./resources/assets/components/admin/AdminDirectory.vue").default),Vue.component("admin-reports",s(/*! ./../components/admin/AdminReports.vue */"./resources/assets/components/admin/AdminReports.vue").default),Vue.component("admin-settings",s(/*! ./../components/admin/AdminSettings.vue */"./resources/assets/components/admin/AdminSettings.vue").default),Vue.component("instances-component",s(/*! ./../components/admin/AdminInstances.vue */"./resources/assets/components/admin/AdminInstances.vue").default),Vue.component("hashtag-component",s(/*! ./../components/admin/AdminHashtags.vue */"./resources/assets/components/admin/AdminHashtags.vue").default)},"./resources/assets/js/lib/argon.js":
|
||
/*!******************************************!*\
|
||
!*** ./resources/assets/js/lib/argon.js ***!
|
||
\******************************************/(t,e,s)=>{"use strict";var a=s(/*! jquery */"./node_modules/jquery/dist/jquery.js");
|
||
/*!
|
||
|
||
=========================================================
|
||
* Argon Dashboard - v1.2.0
|
||
=========================================================
|
||
|
||
* Product Page: https://www.creative-tim.com/product/argon-dashboard
|
||
* Copyright 2020 Creative Tim (https://www.creative-tim.com)
|
||
* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard/blob/master/LICENSE.md)
|
||
|
||
* Coded by www.creative-tim.com
|
||
|
||
=========================================================
|
||
|
||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||
|
||
*/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},o(t)}!function(){function t(){a(".sidenav-toggler").addClass("active"),a(".sidenav-toggler").data("action","sidenav-unpin"),a("body").removeClass("g-sidenav-hidden").addClass("g-sidenav-show g-sidenav-pinned"),a("body").append('<div class="backdrop d-xl-none" data-action="sidenav-unpin" data-target='+a("#sidenav-main").data("target")+" />"),Cookies.set("sidenav-state","pinned")}function e(){a(".sidenav-toggler").removeClass("active"),a(".sidenav-toggler").data("action","sidenav-pin"),a("body").removeClass("g-sidenav-pinned").addClass("g-sidenav-hidden"),a("body").find(".backdrop").remove(),Cookies.set("sidenav-state","unpinned")}var s=Cookies.get("sidenav-state")?Cookies.get("sidenav-state"):"pinned";a(window).width()>1200&&("pinned"==s&&t(),"unpinned"==Cookies.get("sidenav-state")&&e(),a(window).resize((function(){a("body").hasClass("g-sidenav-show")&&!a("body").hasClass("g-sidenav-pinned")&&a("body").removeClass("g-sidenav-show").addClass("g-sidenav-hidden")}))),a(window).width()<1200&&(a("body").removeClass("g-sidenav-hide").addClass("g-sidenav-hidden"),a("body").removeClass("g-sidenav-show"),a(window).resize((function(){a("body").hasClass("g-sidenav-show")&&!a("body").hasClass("g-sidenav-pinned")&&a("body").removeClass("g-sidenav-show").addClass("g-sidenav-hidden")}))),a("body").on("click","[data-action]",(function(s){s.preventDefault();var o=a(this),n=o.data("action");o.data("target");switch(n){case"sidenav-pin":t();break;case"sidenav-unpin":e();break;case"search-show":o.data("target"),a("body").removeClass("g-navbar-search-show").addClass("g-navbar-search-showing"),setTimeout((function(){a("body").removeClass("g-navbar-search-showing").addClass("g-navbar-search-show")}),150),setTimeout((function(){a("body").addClass("g-navbar-search-shown")}),300);break;case"search-close":o.data("target"),a("body").removeClass("g-navbar-search-shown"),setTimeout((function(){a("body").removeClass("g-navbar-search-show").addClass("g-navbar-search-hiding")}),150),setTimeout((function(){a("body").removeClass("g-navbar-search-hiding").addClass("g-navbar-search-hidden")}),300),setTimeout((function(){a("body").removeClass("g-navbar-search-hidden")}),500)}})),a(".sidenav").on("mouseenter",(function(){a("body").hasClass("g-sidenav-pinned")||a("body").removeClass("g-sidenav-hide").removeClass("g-sidenav-hidden").addClass("g-sidenav-show")})),a(".sidenav").on("mouseleave",(function(){a("body").hasClass("g-sidenav-pinned")||(a("body").removeClass("g-sidenav-show").addClass("g-sidenav-hide"),setTimeout((function(){a("body").removeClass("g-sidenav-hide").addClass("g-sidenav-hidden")}),300))})),a(window).on("load resize",(function(){a("body").height()<800&&(a("body").css("min-height","100vh"),a("#footer-main").addClass("footer-auto-bottom"))}))}();var n,i,r,l,c,d,u,m,p,v,f,_,h,g=function(){var t,e=a('[data-toggle="chart"]'),s="light",n={base:"Open Sans"},i={gray:{100:"#f6f9fc",200:"#e9ecef",300:"#dee2e6",400:"#ced4da",500:"#adb5bd",600:"#8898aa",700:"#525f7f",800:"#32325d",900:"#212529"},theme:{default:"#172b4d",primary:"#5e72e4",secondary:"#f4f5f7",info:"#11cdef",success:"#2dce89",danger:"#f5365c",warning:"#fb6340"},black:"#12263F",white:"#FFFFFF",transparent:"transparent"};function r(t,e){for(var s in e)"object"!==o(e[s])?t[s]=e[s]:r(t[s],e[s])}function l(t,e){for(var s in e)Array.isArray(e[s])?e[s].forEach((function(e){t[s].push(e)})):l(t[s],e[s])}function c(t,e){for(var s in e)Array.isArray(e[s])?e[s].forEach((function(e){t[s].pop()})):c(t[s],e[s])}function d(t){var e=t.data("add"),s=a(t.data("target")).data("chart");t.is(":checked")?(l(s,e),s.update()):(c(s,e),s.update())}function u(t){var e=t.data("update"),s=a(t.data("target")).data("chart");r(s,e),function(t,e){if(void 0!==t.data("prefix")||void 0!==t.data("prefix")){var s=t.data("prefix")?t.data("prefix"):"",a=t.data("suffix")?t.data("suffix"):"";e.options.scales.yAxes[0].ticks.callback=function(t){if(!(t%10))return s+t+a},e.options.tooltips.callbacks.label=function(t,e){var o=e.datasets[t.datasetIndex].label||"",n=t.yLabel,i="";return e.datasets.length>1&&(i+='<span class="popover-body-label mr-auto">'+o+"</span>"),i+='<span class="popover-body-value">'+s+n+a+"</span>"}}}(t,s),s.update()}return window.Chart&&r(Chart,(t={defaults:{global:{responsive:!0,maintainAspectRatio:!1,defaultColor:i.gray[600],defaultFontColor:i.gray[600],defaultFontFamily:n.base,defaultFontSize:13,layout:{padding:0},legend:{display:!1,position:"bottom",labels:{usePointStyle:!0,padding:16}},elements:{point:{radius:0,backgroundColor:i.theme.primary},line:{tension:.4,borderWidth:4,borderColor:i.theme.primary,backgroundColor:i.transparent,borderCapStyle:"rounded"},rectangle:{backgroundColor:i.theme.warning},arc:{backgroundColor:i.theme.primary,borderColor:i.white,borderWidth:4}},tooltips:{enabled:!0,mode:"index",intersect:!1}},doughnut:{cutoutPercentage:83,legendCallback:function(t){var e=t.data,s="";return e.labels.forEach((function(t,a){var o=e.datasets[0].backgroundColor[a];s+='<span class="chart-legend-item">',s+='<i class="chart-legend-indicator" style="background-color: '+o+'"></i>',s+=t,s+="</span>"})),s}}}},Chart.scaleService.updateScaleDefaults("linear",{gridLines:{borderDash:[2],borderDashOffset:[2],color:i.gray[300],drawBorder:!1,drawTicks:!1,drawOnChartArea:!0,zeroLineWidth:0,zeroLineColor:"rgba(0,0,0,0)",zeroLineBorderDash:[2],zeroLineBorderDashOffset:[2]},ticks:{beginAtZero:!0,padding:10,callback:function(t){if(!(t%10))return t}}}),Chart.scaleService.updateScaleDefaults("category",{gridLines:{drawBorder:!1,drawOnChartArea:!1,drawTicks:!1},ticks:{padding:20},maxBarThickness:10}),t)),e.on({change:function(){var t=a(this);t.is("[data-add]")&&d(t)},click:function(){var t=a(this);t.is("[data-update]")&&u(t)}}),{colors:i,fonts:n,mode:s}}(),b=((r=a(i=".btn-icon-clipboard")).length&&((n=r).tooltip().on("mouseleave",(function(){n.tooltip("hide")})),new ClipboardJS(i).on("success",(function(t){a(t.trigger).attr("title","Copied!").tooltip("_fixTitle").tooltip("show").attr("title","Copy to clipboard").tooltip("_fixTitle"),t.clearSelection()}))),l=a(".navbar-nav, .navbar-nav .nav"),c=a(".navbar .collapse"),d=a(".navbar .dropdown"),c.on({"show.bs.collapse":function(){!function(t){t.closest(l).find(c).not(t).collapse("hide")}(a(this))}}),d.on({"hide.bs.dropdown":function(){!function(t){var e=t.find(".dropdown-menu");e.addClass("close"),setTimeout((function(){e.removeClass("close")}),200)}(a(this))}}),function(){a(".navbar-nav");var t=a(".navbar .navbar-custom-collapse");t.length&&(t.on({"hide.bs.collapse":function(){!function(t){t.addClass("collapsing-out")}(t)}}),t.on({"hidden.bs.collapse":function(){!function(t){t.removeClass("collapsing-out")}(t)}}));var e=0;a(".sidenav-toggler").click((function(){if(1==e)a("body").removeClass("nav-open"),e=0,a(".bodyClick").remove();else{a('<div class="bodyClick"></div>').appendTo("body").click((function(){a("body").removeClass("nav-open"),e=0,a(".bodyClick").remove()})),a("body").addClass("nav-open"),e=1}}))}(),u=a('[data-toggle="popover"]'),m="",u.length&&u.each((function(){!function(t){t.data("color")&&(m="popover-"+t.data("color"));var e={trigger:"focus",template:'<div class="popover '+m+'" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'};t.popover(e)}(a(this))})),function(){var t=a(".scroll-me, [data-scroll-to], .toc-entry a");function e(t){var e=t.attr("href"),s=t.data("scroll-to-offset")?t.data("scroll-to-offset"):0,o={scrollTop:a(e).offset().top-s};a("html, body").stop(!0,!0).animate(o,600),event.preventDefault()}t.length&&t.on("click",(function(t){e(a(this))}))}(),(p=a('[data-toggle="tooltip"]')).length&&p.tooltip(),(v=a(".form-control")).length&&function(t){t.on("focus blur",(function(t){a(this).parents(".form-group").toggleClass("focused","focus"===t.type)})).trigger("blur")}(v),(f=a("#chart-bars")).length&&function(t){var e=new Chart(t,{type:"bar",data:{labels:["Jul","Aug","Sep","Oct","Nov","Dec"],datasets:[{label:"Sales",data:[25,20,30,22,17,29]}]}});t.data("chart",e)}(f),function(){var t=a("#c1-dark");t.length&&function(t){var e=new Chart(t,{type:"line",options:{scales:{yAxes:[{gridLines:{lineWidth:1,color:g.colors.gray[900],zeroLineColor:g.colors.gray[900]},ticks:{callback:function(t){if(!(t%10))return t}}}]},tooltips:{callbacks:{label:function(t,e){var s=e.datasets[t.datasetIndex].label||"",a=t.yLabel,o="";return e.datasets.length>1&&(o+=s),o+(a+" posts")}}}},data:{labels:["7","6","5","4","3","2","1"],datasets:[{label:"",data:a(".posts-this-week").data("update").data.datasets[0].data}]}});t.data("chart",e)}(t)}(),(_=a(".datepicker")).length&&_.each((function(){!function(t){t.datepicker({disableTouchKeyboard:!0,autoclose:!1})}(a(this))})),function(){if(a(".input-slider-container")[0]&&a(".input-slider-container").each((function(){var t=a(this).find(".input-slider"),e=t.attr("id"),s=t.data("range-value-min"),o=t.data("range-value-max"),n=a(this).find(".range-slider-value"),i=n.attr("id"),r=n.data("range-value-low"),l=document.getElementById(e),c=document.getElementById(i);b.create(l,{start:[parseInt(r)],connect:[!0,!1],range:{min:[parseInt(s)],max:[parseInt(o)]}}),l.noUiSlider.on("update",(function(t,e){c.textContent=t[e]}))})),a("#input-slider-range")[0]){var t=document.getElementById("input-slider-range"),e=document.getElementById("input-slider-range-value-low"),s=document.getElementById("input-slider-range-value-high"),o=[e,s];b.create(t,{start:[parseInt(e.getAttribute("data-range-value-low")),parseInt(s.getAttribute("data-range-value-high"))],connect:!0,range:{min:parseInt(t.getAttribute("data-range-value-min")),max:parseInt(t.getAttribute("data-range-value-max"))}}),t.noUiSlider.on("update",(function(t,e){o[e].textContent=t[e]}))}}());(h=a(".scrollbar-inner")).length&&h.scrollbar().scrollLock()},"./resources/assets/js/polyfill.js":
|
||
/*!*****************************************!*\
|
||
!*** ./resources/assets/js/polyfill.js ***!
|
||
\*****************************************/function(){function t(e){return t="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(e)}!function(){var e="object"===("undefined"==typeof window?"undefined":t(window))?window:"object"===("undefined"==typeof self?"undefined":t(self))?self:this,s=e.BlobBuilder||e.WebKitBlobBuilder||e.MSBlobBuilder||e.MozBlobBuilder;e.URL=e.URL||e.webkitURL||function(t,e){return(e=document.createElement("a")).href=t,e};var a=e.Blob,o=URL.createObjectURL,n=URL.revokeObjectURL,i=e.Symbol&&e.Symbol.toStringTag,r=!1,c=!1,d=!!e.ArrayBuffer,u=s&&s.prototype.append&&s.prototype.getBlob;try{r=2===new Blob(["ä"]).size,c=2===new Blob([new Uint8Array([1,2])]).size}catch(t){}function m(t){return t.map((function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var s=new Uint8Array(t.byteLength);s.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=s.buffer}return e}return t}))}function p(t,e){e=e||{};var a=new s;return m(t).forEach((function(t){a.append(t)})),e.type?a.getBlob(e.type):a.getBlob()}function v(t,e){return new a(m(t),e||{})}e.Blob&&(p.prototype=Blob.prototype,v.prototype=Blob.prototype);var f="function"==typeof TextEncoder?TextEncoder.prototype.encode.bind(new TextEncoder):function(t){for(var s=0,a=t.length,o=e.Uint8Array||Array,n=0,i=Math.max(32,a+(a>>1)+7),r=new o(i>>3<<3);s<a;){var l=t.charCodeAt(s++);if(l>=55296&&l<=56319){if(s<a){var c=t.charCodeAt(s);56320==(64512&c)&&(++s,l=((1023&l)<<10)+(1023&c)+65536)}if(l>=55296&&l<=56319)continue}if(n+4>r.length){i+=8,i=(i*=1+s/t.length*2)>>3<<3;var d=new Uint8Array(i);d.set(r),r=d}if(4294967168&l){if(4294965248&l)if(4294901760&l){if(4292870144&l)continue;r[n++]=l>>18&7|240,r[n++]=l>>12&63|128,r[n++]=l>>6&63|128}else r[n++]=l>>12&15|224,r[n++]=l>>6&63|128;else r[n++]=l>>6&31|192;r[n++]=63&l|128}else r[n++]=l}return r.slice(0,n)},_="function"==typeof TextDecoder?TextDecoder.prototype.decode.bind(new TextDecoder):function(t){for(var e=t.length,s=[],a=0;a<e;){var o,n,i,r,l=t[a],c=null,d=l>239?4:l>223?3:l>191?2:1;if(a+d<=e)switch(d){case 1:l<128&&(c=l);break;case 2:128==(192&(o=t[a+1]))&&(r=(31&l)<<6|63&o)>127&&(c=r);break;case 3:o=t[a+1],n=t[a+2],128==(192&o)&&128==(192&n)&&(r=(15&l)<<12|(63&o)<<6|63&n)>2047&&(r<55296||r>57343)&&(c=r);break;case 4:o=t[a+1],n=t[a+2],i=t[a+3],128==(192&o)&&128==(192&n)&&128==(192&i)&&(r=(15&l)<<18|(63&o)<<12|(63&n)<<6|63&i)>65535&&r<1114112&&(c=r)}null===c?(c=65533,d=1):c>65535&&(c-=65536,s.push(c>>>10&1023|55296),c=56320|1023&c),s.push(c),a+=d}var u=s.length,m="";for(a=0;a<u;)m+=String.fromCharCode.apply(String,s.slice(a,a+=4096));return m};function h(){var t=!!e.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,s=e.XMLHttpRequest&&e.XMLHttpRequest.prototype.send;t&&s&&(XMLHttpRequest.prototype.send=function(t){t instanceof Blob?(this.setRequestHeader("Content-Type",t.type),s.call(this,t)):s.call(this,t)});try{new File([],"")}catch(t){try{var a=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name.replace(///g, ":");this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date();this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();e.File=a}catch(t){a=function(t,e,s){var a=new Blob(t,s),o=s&&void 0!==s.lastModified?new Date(s.lastModified):new Date;return a.name=e.replace(/\//g,":"),a.lastModifiedDate=o,a.lastModified=+o,a.toString=function(){return"[object File]"},i&&(a[i]="File"),a};e.File=a}}}r?(h(),e.Blob=c?e.Blob:v):u?(h(),e.Blob=p):function(){function t(t){for(var e=new Array(t.byteLength),s=new Uint8Array(t),a=e.length;a--;)e[a]=s[a];return e}function s(t){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=[],a=0;a<t.length;a+=3){var o=t[a],n=a+1<t.length,i=n?t[a+1]:0,r=a+2<t.length,l=r?t[a+2]:0,c=o>>2,d=(3&o)<<4|i>>4,u=(15&i)<<2|l>>6,m=63&l;r||(m=64,n||(u=64)),s.push(e[c],e[d],e[u],e[m])}return s.join("")}var a=Object.create||function(t){function e(){}return e.prototype=t,new e};if(d)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function c(s,a){a=null==a?{}:a;for(var o=0,n=(s=s||[]).length;o<n;o++){var i=s[o];i instanceof c?s[o]=i._buffer:"string"==typeof i?s[o]=f(i):d&&(ArrayBuffer.prototype.isPrototypeOf(i)||r(i))?s[o]=t(i):d&&(u=i)&&DataView.prototype.isPrototypeOf(u)?s[o]=t(i.buffer):s[o]=f(String(i))}var u;this._buffer=e.Uint8Array?function(t){for(var e=0,s=t.length;s--;)e+=t[s].length;var a=new Uint8Array(e),o=0;for(s=0,l=t.length;s<l;s++){var n=t[s];a.set(n,o),o+=n.byteLength||n.length}return a}(s):[].concat.apply([],s),this.size=this._buffer.length,this.type=a.type||"",/[^\u0020-\u007E]/.test(this.type)?this.type="":this.type=this.type.toLowerCase()}function u(t,e,s){s=s||{};var a=c.call(this,t,s)||this;return a.name=e.replace(/\//g,":"),a.lastModifiedDate=s.lastModified?new Date(s.lastModified):new Date,a.lastModified=+a.lastModifiedDate,a}if(c.prototype.arrayBuffer=function(){return Promise.resolve(this._buffer)},c.prototype.text=function(){return Promise.resolve(_(this._buffer))},c.prototype.slice=function(t,e,s){return new c([this._buffer.slice(t||0,e||this._buffer.length)],{type:s})},c.prototype.toString=function(){return"[object Blob]"},u.prototype=a(c.prototype),u.prototype.constructor=u,Object.setPrototypeOf)Object.setPrototypeOf(u,c);else try{u.__proto__=c}catch(t){}function m(){if(!(this instanceof m))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var t=document.createDocumentFragment();this.addEventListener=t.addEventListener,this.dispatchEvent=function(e){var s=this["on"+e.type];"function"==typeof s&&s(e),t.dispatchEvent(e)},this.removeEventListener=t.removeEventListener}function p(t,e,s){if(!(e instanceof c))throw new TypeError("Failed to execute '"+s+"' on 'FileReader': parameter 1 is not of type 'Blob'.");t.result="",setTimeout((function(){this.readyState=m.LOADING,t.dispatchEvent(new Event("load")),t.dispatchEvent(new Event("loadend"))}))}u.prototype.toString=function(){return"[object File]"},m.EMPTY=0,m.LOADING=1,m.DONE=2,m.prototype.error=null,m.prototype.onabort=null,m.prototype.onerror=null,m.prototype.onload=null,m.prototype.onloadend=null,m.prototype.onloadstart=null,m.prototype.onprogress=null,m.prototype.readAsDataURL=function(t){p(this,t,"readAsDataURL"),this.result="data:"+t.type+";base64,"+s(t._buffer)},m.prototype.readAsText=function(t){p(this,t,"readAsText"),this.result=_(t._buffer)},m.prototype.readAsArrayBuffer=function(t){p(this,t,"readAsText"),this.result=(t._buffer.buffer||t._buffer).slice()},m.prototype.abort=function(){},URL.createObjectURL=function(t){return t instanceof c?"data:"+t.type+";base64,"+s(t._buffer):o.call(URL,t)},URL.revokeObjectURL=function(t){n&&n.call(URL,t)};var v=e.XMLHttpRequest&&e.XMLHttpRequest.prototype.send;v&&(XMLHttpRequest.prototype.send=function(t){t instanceof c?(this.setRequestHeader("Content-Type",t.type),v.call(this,_(t._buffer))):v.call(this,t)}),e.FileReader=m,e.File=u,e.Blob=c}(),i&&(File.prototype[i]="File",Blob.prototype[i]="Blob",FileReader.prototype[i]="FileReader");var g,b=e.Blob.prototype;function y(t){return new Promise((function(e,s){t.onload=t.onerror=function(a){t.onload=t.onerror=null,"load"===a.type?e(t.result||t):s(new Error("Failed to read the blob/file"))}}))}try{new ReadableStream({type:"bytes"}),g=function(){var t=0,e=this;return new ReadableStream({type:"bytes",autoAllocateChunkSize:524288,pull:function(s){var a=s.byobRequest.view;return e.slice(t,t+a.byteLength).arrayBuffer().then((function(o){var n=new Uint8Array(o),i=n.byteLength;t+=i,a.set(n),s.byobRequest.respond(i),t>=e.size&&s.close()}))}})}}catch(t){try{new ReadableStream({}),g=function(t){var e=0;t=this;return new ReadableStream({pull:function(s){return t.slice(e,e+524288).arrayBuffer().then((function(a){e+=a.byteLength;var o=new Uint8Array(a);s.enqueue(o),e==t.size&&s.close()}))}})}}catch(t){try{new Response("").body.getReader().read(),g=function(){return new Response(this).body}}catch(t){g=function(){throw new Error("Include https://github.com/MattiasBuelens/web-streams-polyfill")}}}}b.arrayBuffer||(b.arrayBuffer=function(){var t=new FileReader;return t.readAsArrayBuffer(this),y(t)}),b.text||(b.text=function(){var t=new FileReader;return t.readAsText(this),y(t)}),b.stream||(b.stream=g)}(),
|
||
/*! @source http://purl.eligrey.com/github/canvas-toBlob.js/blob/master/canvas-toBlob.js */
|
||
function(t){"use strict";var e,s=t.Uint8Array,a=t.HTMLCanvasElement,o=a&&a.prototype,n=/\s*;\s*base64\s*(?:;|$)/i,i="toDataURL",r=function(t){for(var a,o,n=t.length,i=new s(n/4*3|0),r=0,l=0,c=[0,0],d=0,u=0;n--;)o=t.charCodeAt(r++),255!==(a=e[o-43])&&undefined!==a&&(c[1]=c[0],c[0]=o,u=u<<6|a,4===++d&&(i[l++]=u>>>16,61!==c[1]&&(i[l++]=u>>>8),61!==c[0]&&(i[l++]=u),d=0));return i};s&&(e=new s([62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51])),!a||o.toBlob&&o.toBlobHD||(o.toBlob||(o.toBlob=function(t,e){if(e||(e="image/png"),this.mozGetAsFile)t(this.mozGetAsFile("canvas",e));else if(this.msToBlob&&/^\s*image\/png\s*(?:$|;)/i.test(e))t(this.msToBlob());else{var a,o=Array.prototype.slice.call(arguments,1),l=this[i].apply(this,o),c=l.indexOf(","),d=l.substring(c+1),u=n.test(l.substring(0,c));Blob.fake?((a=new Blob).encoding=u?"base64":"URI",a.data=d,a.size=d.length):s&&(a=u?new Blob([r(d)],{type:e}):new Blob([decodeURIComponent(d)],{type:e})),t(a)}}),!o.toBlobHD&&o.toDataURLHD?o.toBlobHD=function(){i="toDataURLHD";var t=this.toBlob();return i="toDataURL",t}:o.toBlobHD=o.toBlob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content||this)},"./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminInstances.vue?vue&type=style&index=0&id=34c8d554&lang=scss&scoped=true":
|
||
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminInstances.vue?vue&type=style&index=0&id=34c8d554&lang=scss&scoped=true ***!
|
||
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! ../../../../node_modules/laravel-mix/node_modules/css-loader/dist/runtime/api.js */"./node_modules/laravel-mix/node_modules/css-loader/dist/runtime/api.js"),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".gap-2[data-v-34c8d554] {\n gap: 1rem;\n}",""]);const n=o},"./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminSettings.vue?vue&type=style&index=0&id=0314b23d&lang=scss&scoped=true":
|
||
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminSettings.vue?vue&type=style&index=0&id=0314b23d&lang=scss&scoped=true ***!
|
||
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! ../../../../node_modules/laravel-mix/node_modules/css-loader/dist/runtime/api.js */"./node_modules/laravel-mix/node_modules/css-loader/dist/runtime/api.js"),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".rule-badge[data-v-0314b23d] {\n display: flex;\n width: 34px;\n height: 34px;\n justify-content: center;\n align-items: center;\n background-color: #fff;\n border-radius: 34px;\n border: 2px solid var(--primary);\n}\n.rule-badge-inner[data-v-0314b23d] {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 26px;\n height: 26px;\n border-radius: 26px;\n background-color: var(--primary);\n color: #fff;\n font-weight: bold;\n font-size: 13px;\n}\n.rule-text[data-v-0314b23d] {\n max-width: 90%;\n margin-bottom: 0px;\n font-size: 14px;\n}\n.gap-1[data-v-0314b23d] {\n gap: 1rem;\n}",""]);const n=o},"./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=style&index=0&id=e16d1fea&lang=scss&scoped=true":
|
||
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=style&index=0&id=e16d1fea&lang=scss&scoped=true ***!
|
||
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! ../../../../../node_modules/laravel-mix/node_modules/css-loader/dist/runtime/api.js */"./node_modules/laravel-mix/node_modules/css-loader/dist/runtime/api.js"),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".gap-1[data-v-e16d1fea] {\n gap: 1rem;\n}",""]);const n=o},"./node_modules/moment/locale sync recursive ^\\.\\/.*$":
|
||
/*!***************************************************!*\
|
||
!*** ./node_modules/moment/locale/ sync ^\.\/.*$ ***!
|
||
\***************************************************/(t,e,s)=>{var a={"./af":"./node_modules/moment/locale/af.js","./af.js":"./node_modules/moment/locale/af.js","./ar":"./node_modules/moment/locale/ar.js","./ar-dz":"./node_modules/moment/locale/ar-dz.js","./ar-dz.js":"./node_modules/moment/locale/ar-dz.js","./ar-kw":"./node_modules/moment/locale/ar-kw.js","./ar-kw.js":"./node_modules/moment/locale/ar-kw.js","./ar-ly":"./node_modules/moment/locale/ar-ly.js","./ar-ly.js":"./node_modules/moment/locale/ar-ly.js","./ar-ma":"./node_modules/moment/locale/ar-ma.js","./ar-ma.js":"./node_modules/moment/locale/ar-ma.js","./ar-ps":"./node_modules/moment/locale/ar-ps.js","./ar-ps.js":"./node_modules/moment/locale/ar-ps.js","./ar-sa":"./node_modules/moment/locale/ar-sa.js","./ar-sa.js":"./node_modules/moment/locale/ar-sa.js","./ar-tn":"./node_modules/moment/locale/ar-tn.js","./ar-tn.js":"./node_modules/moment/locale/ar-tn.js","./ar.js":"./node_modules/moment/locale/ar.js","./az":"./node_modules/moment/locale/az.js","./az.js":"./node_modules/moment/locale/az.js","./be":"./node_modules/moment/locale/be.js","./be.js":"./node_modules/moment/locale/be.js","./bg":"./node_modules/moment/locale/bg.js","./bg.js":"./node_modules/moment/locale/bg.js","./bm":"./node_modules/moment/locale/bm.js","./bm.js":"./node_modules/moment/locale/bm.js","./bn":"./node_modules/moment/locale/bn.js","./bn-bd":"./node_modules/moment/locale/bn-bd.js","./bn-bd.js":"./node_modules/moment/locale/bn-bd.js","./bn.js":"./node_modules/moment/locale/bn.js","./bo":"./node_modules/moment/locale/bo.js","./bo.js":"./node_modules/moment/locale/bo.js","./br":"./node_modules/moment/locale/br.js","./br.js":"./node_modules/moment/locale/br.js","./bs":"./node_modules/moment/locale/bs.js","./bs.js":"./node_modules/moment/locale/bs.js","./ca":"./node_modules/moment/locale/ca.js","./ca.js":"./node_modules/moment/locale/ca.js","./cs":"./node_modules/moment/locale/cs.js","./cs.js":"./node_modules/moment/locale/cs.js","./cv":"./node_modules/moment/locale/cv.js","./cv.js":"./node_modules/moment/locale/cv.js","./cy":"./node_modules/moment/locale/cy.js","./cy.js":"./node_modules/moment/locale/cy.js","./da":"./node_modules/moment/locale/da.js","./da.js":"./node_modules/moment/locale/da.js","./de":"./node_modules/moment/locale/de.js","./de-at":"./node_modules/moment/locale/de-at.js","./de-at.js":"./node_modules/moment/locale/de-at.js","./de-ch":"./node_modules/moment/locale/de-ch.js","./de-ch.js":"./node_modules/moment/locale/de-ch.js","./de.js":"./node_modules/moment/locale/de.js","./dv":"./node_modules/moment/locale/dv.js","./dv.js":"./node_modules/moment/locale/dv.js","./el":"./node_modules/moment/locale/el.js","./el.js":"./node_modules/moment/locale/el.js","./en-au":"./node_modules/moment/locale/en-au.js","./en-au.js":"./node_modules/moment/locale/en-au.js","./en-ca":"./node_modules/moment/locale/en-ca.js","./en-ca.js":"./node_modules/moment/locale/en-ca.js","./en-gb":"./node_modules/moment/locale/en-gb.js","./en-gb.js":"./node_modules/moment/locale/en-gb.js","./en-ie":"./node_modules/moment/locale/en-ie.js","./en-ie.js":"./node_modules/moment/locale/en-ie.js","./en-il":"./node_modules/moment/locale/en-il.js","./en-il.js":"./node_modules/moment/locale/en-il.js","./en-in":"./node_modules/moment/locale/en-in.js","./en-in.js":"./node_modules/moment/locale/en-in.js","./en-nz":"./node_modules/moment/locale/en-nz.js","./en-nz.js":"./node_modules/moment/locale/en-nz.js","./en-sg":"./node_modules/moment/locale/en-sg.js","./en-sg.js":"./node_modules/moment/locale/en-sg.js","./eo":"./node_modules/moment/locale/eo.js","./eo.js":"./node_modules/moment/locale/eo.js","./es":"./node_modules/moment/locale/es.js","./es-do":"./node_modules/moment/locale/es-do.js","./es-do.js":"./node_modules/moment/locale/es-do.js","./es-mx":"./node_modules/moment/locale/es-mx.js","./es-mx.js":"./node_modules/moment/locale/es-mx.js","./es-us":"./node_modules/moment/locale/es-us.js","./es-us.js":"./node_modules/moment/locale/es-us.js","./es.js":"./node_modules/moment/locale/es.js","./et":"./node_modules/moment/locale/et.js","./et.js":"./node_modules/moment/locale/et.js","./eu":"./node_modules/moment/locale/eu.js","./eu.js":"./node_modules/moment/locale/eu.js","./fa":"./node_modules/moment/locale/fa.js","./fa.js":"./node_modules/moment/locale/fa.js","./fi":"./node_modules/moment/locale/fi.js","./fi.js":"./node_modules/moment/locale/fi.js","./fil":"./node_modules/moment/locale/fil.js","./fil.js":"./node_modules/moment/locale/fil.js","./fo":"./node_modules/moment/locale/fo.js","./fo.js":"./node_modules/moment/locale/fo.js","./fr":"./node_modules/moment/locale/fr.js","./fr-ca":"./node_modules/moment/locale/fr-ca.js","./fr-ca.js":"./node_modules/moment/locale/fr-ca.js","./fr-ch":"./node_modules/moment/locale/fr-ch.js","./fr-ch.js":"./node_modules/moment/locale/fr-ch.js","./fr.js":"./node_modules/moment/locale/fr.js","./fy":"./node_modules/moment/locale/fy.js","./fy.js":"./node_modules/moment/locale/fy.js","./ga":"./node_modules/moment/locale/ga.js","./ga.js":"./node_modules/moment/locale/ga.js","./gd":"./node_modules/moment/locale/gd.js","./gd.js":"./node_modules/moment/locale/gd.js","./gl":"./node_modules/moment/locale/gl.js","./gl.js":"./node_modules/moment/locale/gl.js","./gom-deva":"./node_modules/moment/locale/gom-deva.js","./gom-deva.js":"./node_modules/moment/locale/gom-deva.js","./gom-latn":"./node_modules/moment/locale/gom-latn.js","./gom-latn.js":"./node_modules/moment/locale/gom-latn.js","./gu":"./node_modules/moment/locale/gu.js","./gu.js":"./node_modules/moment/locale/gu.js","./he":"./node_modules/moment/locale/he.js","./he.js":"./node_modules/moment/locale/he.js","./hi":"./node_modules/moment/locale/hi.js","./hi.js":"./node_modules/moment/locale/hi.js","./hr":"./node_modules/moment/locale/hr.js","./hr.js":"./node_modules/moment/locale/hr.js","./hu":"./node_modules/moment/locale/hu.js","./hu.js":"./node_modules/moment/locale/hu.js","./hy-am":"./node_modules/moment/locale/hy-am.js","./hy-am.js":"./node_modules/moment/locale/hy-am.js","./id":"./node_modules/moment/locale/id.js","./id.js":"./node_modules/moment/locale/id.js","./is":"./node_modules/moment/locale/is.js","./is.js":"./node_modules/moment/locale/is.js","./it":"./node_modules/moment/locale/it.js","./it-ch":"./node_modules/moment/locale/it-ch.js","./it-ch.js":"./node_modules/moment/locale/it-ch.js","./it.js":"./node_modules/moment/locale/it.js","./ja":"./node_modules/moment/locale/ja.js","./ja.js":"./node_modules/moment/locale/ja.js","./jv":"./node_modules/moment/locale/jv.js","./jv.js":"./node_modules/moment/locale/jv.js","./ka":"./node_modules/moment/locale/ka.js","./ka.js":"./node_modules/moment/locale/ka.js","./kk":"./node_modules/moment/locale/kk.js","./kk.js":"./node_modules/moment/locale/kk.js","./km":"./node_modules/moment/locale/km.js","./km.js":"./node_modules/moment/locale/km.js","./kn":"./node_modules/moment/locale/kn.js","./kn.js":"./node_modules/moment/locale/kn.js","./ko":"./node_modules/moment/locale/ko.js","./ko.js":"./node_modules/moment/locale/ko.js","./ku":"./node_modules/moment/locale/ku.js","./ku-kmr":"./node_modules/moment/locale/ku-kmr.js","./ku-kmr.js":"./node_modules/moment/locale/ku-kmr.js","./ku.js":"./node_modules/moment/locale/ku.js","./ky":"./node_modules/moment/locale/ky.js","./ky.js":"./node_modules/moment/locale/ky.js","./lb":"./node_modules/moment/locale/lb.js","./lb.js":"./node_modules/moment/locale/lb.js","./lo":"./node_modules/moment/locale/lo.js","./lo.js":"./node_modules/moment/locale/lo.js","./lt":"./node_modules/moment/locale/lt.js","./lt.js":"./node_modules/moment/locale/lt.js","./lv":"./node_modules/moment/locale/lv.js","./lv.js":"./node_modules/moment/locale/lv.js","./me":"./node_modules/moment/locale/me.js","./me.js":"./node_modules/moment/locale/me.js","./mi":"./node_modules/moment/locale/mi.js","./mi.js":"./node_modules/moment/locale/mi.js","./mk":"./node_modules/moment/locale/mk.js","./mk.js":"./node_modules/moment/locale/mk.js","./ml":"./node_modules/moment/locale/ml.js","./ml.js":"./node_modules/moment/locale/ml.js","./mn":"./node_modules/moment/locale/mn.js","./mn.js":"./node_modules/moment/locale/mn.js","./mr":"./node_modules/moment/locale/mr.js","./mr.js":"./node_modules/moment/locale/mr.js","./ms":"./node_modules/moment/locale/ms.js","./ms-my":"./node_modules/moment/locale/ms-my.js","./ms-my.js":"./node_modules/moment/locale/ms-my.js","./ms.js":"./node_modules/moment/locale/ms.js","./mt":"./node_modules/moment/locale/mt.js","./mt.js":"./node_modules/moment/locale/mt.js","./my":"./node_modules/moment/locale/my.js","./my.js":"./node_modules/moment/locale/my.js","./nb":"./node_modules/moment/locale/nb.js","./nb.js":"./node_modules/moment/locale/nb.js","./ne":"./node_modules/moment/locale/ne.js","./ne.js":"./node_modules/moment/locale/ne.js","./nl":"./node_modules/moment/locale/nl.js","./nl-be":"./node_modules/moment/locale/nl-be.js","./nl-be.js":"./node_modules/moment/locale/nl-be.js","./nl.js":"./node_modules/moment/locale/nl.js","./nn":"./node_modules/moment/locale/nn.js","./nn.js":"./node_modules/moment/locale/nn.js","./oc-lnc":"./node_modules/moment/locale/oc-lnc.js","./oc-lnc.js":"./node_modules/moment/locale/oc-lnc.js","./pa-in":"./node_modules/moment/locale/pa-in.js","./pa-in.js":"./node_modules/moment/locale/pa-in.js","./pl":"./node_modules/moment/locale/pl.js","./pl.js":"./node_modules/moment/locale/pl.js","./pt":"./node_modules/moment/locale/pt.js","./pt-br":"./node_modules/moment/locale/pt-br.js","./pt-br.js":"./node_modules/moment/locale/pt-br.js","./pt.js":"./node_modules/moment/locale/pt.js","./ro":"./node_modules/moment/locale/ro.js","./ro.js":"./node_modules/moment/locale/ro.js","./ru":"./node_modules/moment/locale/ru.js","./ru.js":"./node_modules/moment/locale/ru.js","./sd":"./node_modules/moment/locale/sd.js","./sd.js":"./node_modules/moment/locale/sd.js","./se":"./node_modules/moment/locale/se.js","./se.js":"./node_modules/moment/locale/se.js","./si":"./node_modules/moment/locale/si.js","./si.js":"./node_modules/moment/locale/si.js","./sk":"./node_modules/moment/locale/sk.js","./sk.js":"./node_modules/moment/locale/sk.js","./sl":"./node_modules/moment/locale/sl.js","./sl.js":"./node_modules/moment/locale/sl.js","./sq":"./node_modules/moment/locale/sq.js","./sq.js":"./node_modules/moment/locale/sq.js","./sr":"./node_modules/moment/locale/sr.js","./sr-cyrl":"./node_modules/moment/locale/sr-cyrl.js","./sr-cyrl.js":"./node_modules/moment/locale/sr-cyrl.js","./sr.js":"./node_modules/moment/locale/sr.js","./ss":"./node_modules/moment/locale/ss.js","./ss.js":"./node_modules/moment/locale/ss.js","./sv":"./node_modules/moment/locale/sv.js","./sv.js":"./node_modules/moment/locale/sv.js","./sw":"./node_modules/moment/locale/sw.js","./sw.js":"./node_modules/moment/locale/sw.js","./ta":"./node_modules/moment/locale/ta.js","./ta.js":"./node_modules/moment/locale/ta.js","./te":"./node_modules/moment/locale/te.js","./te.js":"./node_modules/moment/locale/te.js","./tet":"./node_modules/moment/locale/tet.js","./tet.js":"./node_modules/moment/locale/tet.js","./tg":"./node_modules/moment/locale/tg.js","./tg.js":"./node_modules/moment/locale/tg.js","./th":"./node_modules/moment/locale/th.js","./th.js":"./node_modules/moment/locale/th.js","./tk":"./node_modules/moment/locale/tk.js","./tk.js":"./node_modules/moment/locale/tk.js","./tl-ph":"./node_modules/moment/locale/tl-ph.js","./tl-ph.js":"./node_modules/moment/locale/tl-ph.js","./tlh":"./node_modules/moment/locale/tlh.js","./tlh.js":"./node_modules/moment/locale/tlh.js","./tr":"./node_modules/moment/locale/tr.js","./tr.js":"./node_modules/moment/locale/tr.js","./tzl":"./node_modules/moment/locale/tzl.js","./tzl.js":"./node_modules/moment/locale/tzl.js","./tzm":"./node_modules/moment/locale/tzm.js","./tzm-latn":"./node_modules/moment/locale/tzm-latn.js","./tzm-latn.js":"./node_modules/moment/locale/tzm-latn.js","./tzm.js":"./node_modules/moment/locale/tzm.js","./ug-cn":"./node_modules/moment/locale/ug-cn.js","./ug-cn.js":"./node_modules/moment/locale/ug-cn.js","./uk":"./node_modules/moment/locale/uk.js","./uk.js":"./node_modules/moment/locale/uk.js","./ur":"./node_modules/moment/locale/ur.js","./ur.js":"./node_modules/moment/locale/ur.js","./uz":"./node_modules/moment/locale/uz.js","./uz-latn":"./node_modules/moment/locale/uz-latn.js","./uz-latn.js":"./node_modules/moment/locale/uz-latn.js","./uz.js":"./node_modules/moment/locale/uz.js","./vi":"./node_modules/moment/locale/vi.js","./vi.js":"./node_modules/moment/locale/vi.js","./x-pseudo":"./node_modules/moment/locale/x-pseudo.js","./x-pseudo.js":"./node_modules/moment/locale/x-pseudo.js","./yo":"./node_modules/moment/locale/yo.js","./yo.js":"./node_modules/moment/locale/yo.js","./zh-cn":"./node_modules/moment/locale/zh-cn.js","./zh-cn.js":"./node_modules/moment/locale/zh-cn.js","./zh-hk":"./node_modules/moment/locale/zh-hk.js","./zh-hk.js":"./node_modules/moment/locale/zh-hk.js","./zh-mo":"./node_modules/moment/locale/zh-mo.js","./zh-mo.js":"./node_modules/moment/locale/zh-mo.js","./zh-tw":"./node_modules/moment/locale/zh-tw.js","./zh-tw.js":"./node_modules/moment/locale/zh-tw.js"};function o(t){var e=n(t);return s(e)}function n(t){if(!s.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}o.keys=function(){return Object.keys(a)},o.resolve=n,t.exports=o,o.id="./node_modules/moment/locale sync recursive ^\\.\\/.*$"},"./node_modules/style-loader/dist/cjs.js!./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminInstances.vue?vue&type=style&index=0&id=34c8d554&lang=scss&scoped=true":
|
||
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/style-loader/dist/cjs.js!./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminInstances.vue?vue&type=style&index=0&id=34c8d554&lang=scss&scoped=true ***!
|
||
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! !../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),o=s.n(a),n=s(/*! !!../../../../node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminInstances.vue?vue&type=style&index=0&id=34c8d554&lang=scss&scoped=true */"./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminInstances.vue?vue&type=style&index=0&id=34c8d554&lang=scss&scoped=true"),i={insert:"head",singleton:!1};o()(n.default,i);const r=n.default.locals||{}},"./node_modules/style-loader/dist/cjs.js!./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminSettings.vue?vue&type=style&index=0&id=0314b23d&lang=scss&scoped=true":
|
||
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/style-loader/dist/cjs.js!./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminSettings.vue?vue&type=style&index=0&id=0314b23d&lang=scss&scoped=true ***!
|
||
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! !../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),o=s.n(a),n=s(/*! !!../../../../node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminSettings.vue?vue&type=style&index=0&id=0314b23d&lang=scss&scoped=true */"./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminSettings.vue?vue&type=style&index=0&id=0314b23d&lang=scss&scoped=true"),i={insert:"head",singleton:!1};o()(n.default,i);const r=n.default.locals||{}},"./node_modules/style-loader/dist/cjs.js!./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=style&index=0&id=e16d1fea&lang=scss&scoped=true":
|
||
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
!*** ./node_modules/style-loader/dist/cjs.js!./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=style&index=0&id=e16d1fea&lang=scss&scoped=true ***!
|
||
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! !../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),o=s.n(a),n=s(/*! !!../../../../../node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!../../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminSettingsInput.vue?vue&type=style&index=0&id=e16d1fea&lang=scss&scoped=true */"./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=style&index=0&id=e16d1fea&lang=scss&scoped=true"),i={insert:"head",singleton:!1};o()(n.default,i);const r=n.default.locals||{}},"./resources/assets/components/admin/AdminAutospam.vue":
|
||
/*!*************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminAutospam.vue ***!
|
||
\*************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! ./AdminAutospam.vue?vue&type=template&id=4f92a912 */"./resources/assets/components/admin/AdminAutospam.vue?vue&type=template&id=4f92a912"),o=s(/*! ./AdminAutospam.vue?vue&type=script&lang=js */"./resources/assets/components/admin/AdminAutospam.vue?vue&type=script&lang=js"),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);var i=(0,s(/*! !../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js").default)(o.default,a.render,a.staticRenderFns,!1,null,null,null);i.options.__file="resources/assets/components/admin/AdminAutospam.vue";const r=i.exports},"./resources/assets/components/admin/AdminDirectory.vue":
|
||
/*!**************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminDirectory.vue ***!
|
||
\**************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! ./AdminDirectory.vue?vue&type=template&id=aca5347a */"./resources/assets/components/admin/AdminDirectory.vue?vue&type=template&id=aca5347a"),o=s(/*! ./AdminDirectory.vue?vue&type=script&lang=js */"./resources/assets/components/admin/AdminDirectory.vue?vue&type=script&lang=js"),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);var i=(0,s(/*! !../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js").default)(o.default,a.render,a.staticRenderFns,!1,null,null,null);i.options.__file="resources/assets/components/admin/AdminDirectory.vue";const r=i.exports},"./resources/assets/components/admin/AdminHashtags.vue":
|
||
/*!*************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminHashtags.vue ***!
|
||
\*************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! ./AdminHashtags.vue?vue&type=template&id=3a5d1241 */"./resources/assets/components/admin/AdminHashtags.vue?vue&type=template&id=3a5d1241"),o=s(/*! ./AdminHashtags.vue?vue&type=script&lang=js */"./resources/assets/components/admin/AdminHashtags.vue?vue&type=script&lang=js"),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);var i=(0,s(/*! !../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js").default)(o.default,a.render,a.staticRenderFns,!1,null,null,null);i.options.__file="resources/assets/components/admin/AdminHashtags.vue";const r=i.exports},"./resources/assets/components/admin/AdminInstances.vue":
|
||
/*!**************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminInstances.vue ***!
|
||
\**************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! ./AdminInstances.vue?vue&type=template&id=34c8d554&scoped=true */"./resources/assets/components/admin/AdminInstances.vue?vue&type=template&id=34c8d554&scoped=true"),o=s(/*! ./AdminInstances.vue?vue&type=script&lang=js */"./resources/assets/components/admin/AdminInstances.vue?vue&type=script&lang=js"),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);s(/*! ./AdminInstances.vue?vue&type=style&index=0&id=34c8d554&lang=scss&scoped=true */"./resources/assets/components/admin/AdminInstances.vue?vue&type=style&index=0&id=34c8d554&lang=scss&scoped=true");var i=(0,s(/*! !../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js").default)(o.default,a.render,a.staticRenderFns,!1,null,"34c8d554",null);i.options.__file="resources/assets/components/admin/AdminInstances.vue";const r=i.exports},"./resources/assets/components/admin/AdminReports.vue":
|
||
/*!************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminReports.vue ***!
|
||
\************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! ./AdminReports.vue?vue&type=template&id=1aa55795 */"./resources/assets/components/admin/AdminReports.vue?vue&type=template&id=1aa55795"),o=s(/*! ./AdminReports.vue?vue&type=script&lang=js */"./resources/assets/components/admin/AdminReports.vue?vue&type=script&lang=js"),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);var i=(0,s(/*! !../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js").default)(o.default,a.render,a.staticRenderFns,!1,null,null,null);i.options.__file="resources/assets/components/admin/AdminReports.vue";const r=i.exports},"./resources/assets/components/admin/AdminSettings.vue":
|
||
/*!*************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminSettings.vue ***!
|
||
\*************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! ./AdminSettings.vue?vue&type=template&id=0314b23d&scoped=true */"./resources/assets/components/admin/AdminSettings.vue?vue&type=template&id=0314b23d&scoped=true"),o=s(/*! ./AdminSettings.vue?vue&type=script&lang=js */"./resources/assets/components/admin/AdminSettings.vue?vue&type=script&lang=js"),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);s(/*! ./AdminSettings.vue?vue&type=style&index=0&id=0314b23d&lang=scss&scoped=true */"./resources/assets/components/admin/AdminSettings.vue?vue&type=style&index=0&id=0314b23d&lang=scss&scoped=true");var i=(0,s(/*! !../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js").default)(o.default,a.render,a.staticRenderFns,!1,null,"0314b23d",null);i.options.__file="resources/assets/components/admin/AdminSettings.vue";const r=i.exports},"./resources/assets/components/admin/partial/AdminModalPost.vue":
|
||
/*!**********************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminModalPost.vue ***!
|
||
\**********************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! ./AdminModalPost.vue?vue&type=template&id=8f93fade */"./resources/assets/components/admin/partial/AdminModalPost.vue?vue&type=template&id=8f93fade"),o=s(/*! ./AdminModalPost.vue?vue&type=script&lang=js */"./resources/assets/components/admin/partial/AdminModalPost.vue?vue&type=script&lang=js"),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);var i=(0,s(/*! !../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js").default)(o.default,a.render,a.staticRenderFns,!1,null,null,null);i.options.__file="resources/assets/components/admin/partial/AdminModalPost.vue";const r=i.exports},"./resources/assets/components/admin/partial/AdminReadMore.vue":
|
||
/*!*********************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminReadMore.vue ***!
|
||
\*********************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! ./AdminReadMore.vue?vue&type=template&id=0b0707d2 */"./resources/assets/components/admin/partial/AdminReadMore.vue?vue&type=template&id=0b0707d2"),o=s(/*! ./AdminReadMore.vue?vue&type=script&lang=js */"./resources/assets/components/admin/partial/AdminReadMore.vue?vue&type=script&lang=js"),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);var i=(0,s(/*! !../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js").default)(o.default,a.render,a.staticRenderFns,!1,null,null,null);i.options.__file="resources/assets/components/admin/partial/AdminReadMore.vue";const r=i.exports},"./resources/assets/components/admin/partial/AdminRemoteReportModal.vue":
|
||
/*!******************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminRemoteReportModal.vue ***!
|
||
\******************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! ./AdminRemoteReportModal.vue?vue&type=template&id=84a88f52 */"./resources/assets/components/admin/partial/AdminRemoteReportModal.vue?vue&type=template&id=84a88f52"),o=s(/*! ./AdminRemoteReportModal.vue?vue&type=script&lang=js */"./resources/assets/components/admin/partial/AdminRemoteReportModal.vue?vue&type=script&lang=js"),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);var i=(0,s(/*! !../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js").default)(o.default,a.render,a.staticRenderFns,!1,null,null,null);i.options.__file="resources/assets/components/admin/partial/AdminRemoteReportModal.vue";const r=i.exports},"./resources/assets/components/admin/partial/AdminSettingsCheckbox.vue":
|
||
/*!*****************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminSettingsCheckbox.vue ***!
|
||
\*****************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! ./AdminSettingsCheckbox.vue?vue&type=template&id=30fb24dc */"./resources/assets/components/admin/partial/AdminSettingsCheckbox.vue?vue&type=template&id=30fb24dc"),o=s(/*! ./AdminSettingsCheckbox.vue?vue&type=script&lang=js */"./resources/assets/components/admin/partial/AdminSettingsCheckbox.vue?vue&type=script&lang=js"),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);var i=(0,s(/*! !../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js").default)(o.default,a.render,a.staticRenderFns,!1,null,null,null);i.options.__file="resources/assets/components/admin/partial/AdminSettingsCheckbox.vue";const r=i.exports},"./resources/assets/components/admin/partial/AdminSettingsInput.vue":
|
||
/*!**************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminSettingsInput.vue ***!
|
||
\**************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! ./AdminSettingsInput.vue?vue&type=template&id=e16d1fea&scoped=true */"./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=template&id=e16d1fea&scoped=true"),o=s(/*! ./AdminSettingsInput.vue?vue&type=script&lang=js */"./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=script&lang=js"),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);s(/*! ./AdminSettingsInput.vue?vue&type=style&index=0&id=e16d1fea&lang=scss&scoped=true */"./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=style&index=0&id=e16d1fea&lang=scss&scoped=true");var i=(0,s(/*! !../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js").default)(o.default,a.render,a.staticRenderFns,!1,null,"e16d1fea",null);i.options.__file="resources/assets/components/admin/partial/AdminSettingsInput.vue";const r=i.exports},"./resources/assets/components/admin/partial/AdminSettingsTabHeader.vue":
|
||
/*!******************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminSettingsTabHeader.vue ***!
|
||
\******************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(/*! ./AdminSettingsTabHeader.vue?vue&type=template&id=39f16b7a */"./resources/assets/components/admin/partial/AdminSettingsTabHeader.vue?vue&type=template&id=39f16b7a"),o=s(/*! ./AdminSettingsTabHeader.vue?vue&type=script&lang=js */"./resources/assets/components/admin/partial/AdminSettingsTabHeader.vue?vue&type=script&lang=js"),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);var i=(0,s(/*! !../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js").default)(o.default,a.render,a.staticRenderFns,!1,null,null,null);i.options.__file="resources/assets/components/admin/partial/AdminSettingsTabHeader.vue";const r=i.exports},"./resources/assets/components/admin/AdminAutospam.vue?vue&type=script&lang=js":
|
||
/*!*************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminAutospam.vue?vue&type=script&lang=js ***!
|
||
\*************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminAutospam.vue?vue&type=script&lang=js */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminAutospam.vue?vue&type=script&lang=js"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=a.default},"./resources/assets/components/admin/AdminDirectory.vue?vue&type=script&lang=js":
|
||
/*!**************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminDirectory.vue?vue&type=script&lang=js ***!
|
||
\**************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminDirectory.vue?vue&type=script&lang=js */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminDirectory.vue?vue&type=script&lang=js"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=a.default},"./resources/assets/components/admin/AdminHashtags.vue?vue&type=script&lang=js":
|
||
/*!*************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminHashtags.vue?vue&type=script&lang=js ***!
|
||
\*************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminHashtags.vue?vue&type=script&lang=js */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminHashtags.vue?vue&type=script&lang=js"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=a.default},"./resources/assets/components/admin/AdminInstances.vue?vue&type=script&lang=js":
|
||
/*!**************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminInstances.vue?vue&type=script&lang=js ***!
|
||
\**************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminInstances.vue?vue&type=script&lang=js */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminInstances.vue?vue&type=script&lang=js"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=a.default},"./resources/assets/components/admin/AdminReports.vue?vue&type=script&lang=js":
|
||
/*!************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminReports.vue?vue&type=script&lang=js ***!
|
||
\************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminReports.vue?vue&type=script&lang=js */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminReports.vue?vue&type=script&lang=js"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=a.default},"./resources/assets/components/admin/AdminSettings.vue?vue&type=script&lang=js":
|
||
/*!*************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminSettings.vue?vue&type=script&lang=js ***!
|
||
\*************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminSettings.vue?vue&type=script&lang=js */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminSettings.vue?vue&type=script&lang=js"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=a.default},"./resources/assets/components/admin/partial/AdminModalPost.vue?vue&type=script&lang=js":
|
||
/*!**********************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminModalPost.vue?vue&type=script&lang=js ***!
|
||
\**********************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! -!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminModalPost.vue?vue&type=script&lang=js */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminModalPost.vue?vue&type=script&lang=js"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=a.default},"./resources/assets/components/admin/partial/AdminReadMore.vue?vue&type=script&lang=js":
|
||
/*!*********************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminReadMore.vue?vue&type=script&lang=js ***!
|
||
\*********************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! -!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminReadMore.vue?vue&type=script&lang=js */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminReadMore.vue?vue&type=script&lang=js"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=a.default},"./resources/assets/components/admin/partial/AdminRemoteReportModal.vue?vue&type=script&lang=js":
|
||
/*!******************************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminRemoteReportModal.vue?vue&type=script&lang=js ***!
|
||
\******************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! -!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminRemoteReportModal.vue?vue&type=script&lang=js */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminRemoteReportModal.vue?vue&type=script&lang=js"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=a.default},"./resources/assets/components/admin/partial/AdminSettingsCheckbox.vue?vue&type=script&lang=js":
|
||
/*!*****************************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminSettingsCheckbox.vue?vue&type=script&lang=js ***!
|
||
\*****************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! -!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminSettingsCheckbox.vue?vue&type=script&lang=js */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsCheckbox.vue?vue&type=script&lang=js"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=a.default},"./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=script&lang=js":
|
||
/*!**************************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=script&lang=js ***!
|
||
\**************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! -!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminSettingsInput.vue?vue&type=script&lang=js */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=script&lang=js"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=a.default},"./resources/assets/components/admin/partial/AdminSettingsTabHeader.vue?vue&type=script&lang=js":
|
||
/*!******************************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminSettingsTabHeader.vue?vue&type=script&lang=js ***!
|
||
\******************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(/*! -!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminSettingsTabHeader.vue?vue&type=script&lang=js */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsTabHeader.vue?vue&type=script&lang=js"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=a.default},"./resources/assets/components/admin/AdminAutospam.vue?vue&type=template&id=4f92a912":
|
||
/*!*******************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminAutospam.vue?vue&type=template&id=4f92a912 ***!
|
||
\*******************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var a=s(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminAutospam.vue?vue&type=template&id=4f92a912 */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminAutospam.vue?vue&type=template&id=4f92a912"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},"./resources/assets/components/admin/AdminDirectory.vue?vue&type=template&id=aca5347a":
|
||
/*!********************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminDirectory.vue?vue&type=template&id=aca5347a ***!
|
||
\********************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var a=s(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminDirectory.vue?vue&type=template&id=aca5347a */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminDirectory.vue?vue&type=template&id=aca5347a"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},"./resources/assets/components/admin/AdminHashtags.vue?vue&type=template&id=3a5d1241":
|
||
/*!*******************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminHashtags.vue?vue&type=template&id=3a5d1241 ***!
|
||
\*******************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var a=s(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminHashtags.vue?vue&type=template&id=3a5d1241 */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminHashtags.vue?vue&type=template&id=3a5d1241"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},"./resources/assets/components/admin/AdminInstances.vue?vue&type=template&id=34c8d554&scoped=true":
|
||
/*!********************************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminInstances.vue?vue&type=template&id=34c8d554&scoped=true ***!
|
||
\********************************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var a=s(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminInstances.vue?vue&type=template&id=34c8d554&scoped=true */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminInstances.vue?vue&type=template&id=34c8d554&scoped=true"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},"./resources/assets/components/admin/AdminReports.vue?vue&type=template&id=1aa55795":
|
||
/*!******************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminReports.vue?vue&type=template&id=1aa55795 ***!
|
||
\******************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var a=s(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminReports.vue?vue&type=template&id=1aa55795 */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminReports.vue?vue&type=template&id=1aa55795"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},"./resources/assets/components/admin/AdminSettings.vue?vue&type=template&id=0314b23d&scoped=true":
|
||
/*!*******************************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminSettings.vue?vue&type=template&id=0314b23d&scoped=true ***!
|
||
\*******************************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var a=s(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminSettings.vue?vue&type=template&id=0314b23d&scoped=true */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminSettings.vue?vue&type=template&id=0314b23d&scoped=true"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},"./resources/assets/components/admin/partial/AdminModalPost.vue?vue&type=template&id=8f93fade":
|
||
/*!****************************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminModalPost.vue?vue&type=template&id=8f93fade ***!
|
||
\****************************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var a=s(/*! -!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminModalPost.vue?vue&type=template&id=8f93fade */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminModalPost.vue?vue&type=template&id=8f93fade"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},"./resources/assets/components/admin/partial/AdminReadMore.vue?vue&type=template&id=0b0707d2":
|
||
/*!***************************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminReadMore.vue?vue&type=template&id=0b0707d2 ***!
|
||
\***************************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var a=s(/*! -!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminReadMore.vue?vue&type=template&id=0b0707d2 */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminReadMore.vue?vue&type=template&id=0b0707d2"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},"./resources/assets/components/admin/partial/AdminRemoteReportModal.vue?vue&type=template&id=84a88f52":
|
||
/*!************************************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminRemoteReportModal.vue?vue&type=template&id=84a88f52 ***!
|
||
\************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var a=s(/*! -!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminRemoteReportModal.vue?vue&type=template&id=84a88f52 */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminRemoteReportModal.vue?vue&type=template&id=84a88f52"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},"./resources/assets/components/admin/partial/AdminSettingsCheckbox.vue?vue&type=template&id=30fb24dc":
|
||
/*!***********************************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminSettingsCheckbox.vue?vue&type=template&id=30fb24dc ***!
|
||
\***********************************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var a=s(/*! -!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminSettingsCheckbox.vue?vue&type=template&id=30fb24dc */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsCheckbox.vue?vue&type=template&id=30fb24dc"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},"./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=template&id=e16d1fea&scoped=true":
|
||
/*!********************************************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=template&id=e16d1fea&scoped=true ***!
|
||
\********************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var a=s(/*! -!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminSettingsInput.vue?vue&type=template&id=e16d1fea&scoped=true */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=template&id=e16d1fea&scoped=true"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},"./resources/assets/components/admin/partial/AdminSettingsTabHeader.vue?vue&type=template&id=39f16b7a":
|
||
/*!************************************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminSettingsTabHeader.vue?vue&type=template&id=39f16b7a ***!
|
||
\************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var a=s(/*! -!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminSettingsTabHeader.vue?vue&type=template&id=39f16b7a */"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsTabHeader.vue?vue&type=template&id=39f16b7a"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},"./resources/assets/components/admin/AdminInstances.vue?vue&type=style&index=0&id=34c8d554&lang=scss&scoped=true":
|
||
/*!***********************************************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminInstances.vue?vue&type=style&index=0&id=34c8d554&lang=scss&scoped=true ***!
|
||
\***********************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var a=s(/*! -!../../../../node_modules/style-loader/dist/cjs.js!../../../../node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminInstances.vue?vue&type=style&index=0&id=34c8d554&lang=scss&scoped=true */"./node_modules/style-loader/dist/cjs.js!./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminInstances.vue?vue&type=style&index=0&id=34c8d554&lang=scss&scoped=true"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},"./resources/assets/components/admin/AdminSettings.vue?vue&type=style&index=0&id=0314b23d&lang=scss&scoped=true":
|
||
/*!**********************************************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/AdminSettings.vue?vue&type=style&index=0&id=0314b23d&lang=scss&scoped=true ***!
|
||
\**********************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var a=s(/*! -!../../../../node_modules/style-loader/dist/cjs.js!../../../../node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminSettings.vue?vue&type=style&index=0&id=0314b23d&lang=scss&scoped=true */"./node_modules/style-loader/dist/cjs.js!./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/AdminSettings.vue?vue&type=style&index=0&id=0314b23d&lang=scss&scoped=true"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},"./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=style&index=0&id=e16d1fea&lang=scss&scoped=true":
|
||
/*!***********************************************************************************************************************************!*\
|
||
!*** ./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=style&index=0&id=e16d1fea&lang=scss&scoped=true ***!
|
||
\***********************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var a=s(/*! -!../../../../../node_modules/style-loader/dist/cjs.js!../../../../../node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!../../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminSettingsInput.vue?vue&type=style&index=0&id=e16d1fea&lang=scss&scoped=true */"./node_modules/style-loader/dist/cjs.js!./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js??clonedRuleSet-17.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-17.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-17.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/admin/partial/AdminSettingsInput.vue?vue&type=style&index=0&id=e16d1fea&lang=scss&scoped=true"),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)}},t=>{t.O(0,["/js/vendor"],(()=>{return e="./resources/assets/js/admin.js",t(t.s=e);var e}));t.O()}]); |