pixelfed/public/js/collections.js
2024-07-10 00:11:42 -06:00

28 lines
No EOL
33 KiB
JavaScript
Vendored
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([["/js/collections"],{"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/CollectionComponent.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/js/components/CollectionComponent.vue?vue&type=script&lang=js ***!
\********************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});s(/*! vue-masonry-css */"./node_modules/vue-masonry-css/dist/vue-masonry.es2015.js");var o=s(/*! vue-intersect */"./node_modules/vue-intersect/dist/index.js"),i=s(/*! jquery */"./node_modules/jquery/dist/jquery.js");function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function l(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return a(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s<e;s++)o[s]=t[s];return o}const r={props:["collection-id","collection-title","collection-description","collection-visibility","profile-id","profile-username"],components:{intersect:o.default},data:function(){return{collection:{},config:window.App.config,loaded:!1,posts:[],ids:[],user:!1,owner:!1,title:this.collectionTitle,description:this.collectionDescription,visibility:this.collectionVisibility,photoId:"",postsList:[],loadingPostList:!1,addingPostToCollection:!1,markedForDeletion:[],canLoadMore:!1,isIntersecting:!1,page:1}},beforeMount:function(){this.fetchCollection()},updated:function(){this.initReadMore()},methods:{enterIntersect:function(){this.isIntersecting||(this.isIntersecting=!0,this.page++,this.fetchItems())},statusUrl:function(t){return"/i/web/post/"+t.id},fetchCollection:function(){var t=this;axios.get("/api/local/collection/"+this.collectionId).then((function(e){t.collection=e.data,t.collection.post_count>9&&(t.canLoadMore=!0),t.fetchCurrentUser()}))},fetchCurrentUser:function(){var t=this;1==document.querySelectorAll("body")[0].classList.contains("loggedIn")?axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.user=e.data,t.owner=t.user.id==t.profileId,window._sharedData.curUser=e.data,window.App.util.navatar(),t.fetchItems()})):this.fetchItems()},fetchItems:function(){var t=this;axios.get("/api/local/collection/items/"+this.collectionId,{params:{page:this.page}}).then((function(e){var s;if(0==e.data.length)return console.log("no items found"),t.loaded=!0,t.isIntersecting=!1,void(t.canLoadMore=!1);var o=e.data.filter((function(e){return-1==t.ids.indexOf(e.id)}));(s=t.posts).push.apply(s,l(o)),t.ids=t.posts.map((function(t){return t.id})),t.loaded=!0,t.isIntersecting=!1,0==o.length&&(t.canLoadMore=!1)}))},previewUrl:function(t){return t&&t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].url},previewBackground:function(t){return"background-image: url("+this.previewUrl(t)+");"},addToCollection:function(){var t=this;this.loadingPostList=!0,0==this.postsList.length?axios.get("/api/v1/accounts/"+this.profileId+"/statuses",{params:{min_id:1,limit:40}}).then((function(e){t.postsList=e.data.filter((function(e){return("public"==e.visibility||"unlisted"==e.visibility)&&0==e.sensitive&&-1==t.ids.indexOf(e.id)})),t.loadingPostList=!1,t.$refs.addPhotoModal.show()})).catch((function(e){t.loadingPostList=!1,swal("An Error Occured","We cannot process your request at this time, please try again later.","error")})):(this.$refs.addPhotoModal.show(),this.loadingPostList=!1)},pushId:function(){var t=this,e=this.config.uploader.max_collection_length,s=this;if(this.posts.length>=e)swal("Error","You can only add "+e+" posts per collection","error");else{var o=this.photoId,i=window.location.origin,n=o.split("/");if(o.slice(0,i.length)!==i&&(swal("Invalid URL","You can only add posts from this instance","error"),this.photoId=""),!o.includes("/i/web/post/")&&!o.includes("/p/"))return swal("Invalid URL","Invalid URL","error"),void(this.photoId="");var a=n[n.length-1].split("?")[0];axios.post("/api/local/collection/item",{collection_id:this.collectionId,post_id:a}).then((function(t){var e;(e=s.ids).push.apply(e,l(a)),s.posts.push(t.data),s.collection.post_count++,s.id=""})).catch((function(e){swal("Invalid URL","The post you entered was invalid","error"),t.photoId=""})),s.$refs.addPhotoModal.hide()}},editCollection:function(){this.$refs.editModal.show()},deleteCollection:function(){0!=this.owner&&(window.confirm("Are you sure you want to delete this collection?")&&axios.delete("/api/local/collection/"+this.collectionId).then((function(t){window.location.href="/"})))},publishCollection:function(){0!==this.posts.length?0!=this.owner&&window.confirm("Are you sure you want to publish this collection?")&&axios.post("/api/local/collection/"+this.collectionId+"/publish",{title:this.title,description:this.description,visibility:this.visibility}).then((function(t){console.log(t.data)})).catch((function(t){swal("Something went wrong","There was a problem with your request, please try again later.","error")})):swal("Error","You cannot publish an empty collection")},updateCollection:function(){var t=this;this.closeModals(),axios.post("/api/local/collection/"+this.collectionId,{title:this.title,description:this.description,visibility:this.visibility}).then((function(e){t.collection=e.data}))},showEditPhotosModal:function(){this.$refs.editModal.hide(),this.$refs.editPhotosModal.show()},markPhotoForDeletion:function(t){-1==this.markedForDeletion.indexOf(t)?this.markedForDeletion.push(t):this.markedForDeletion=this.markedForDeletion.filter((function(e){return e!=t}))},confirmDeletion:function(){var t=this,e=this;window.confirm("Are you sure you want to delete this?")&&(this.markedForDeletion.forEach((function(s){axios.delete("/api/local/collection/item",{params:{collection_id:e.collectionId,post_id:s}}).then((function(o){e.removeItem(s),t.collection.post_count=t.collection.post_count-1,t.closeModals()})).catch((function(t){swal("Oops!","An error occured with your request, please try again later.","error")}))})),this.markedForDeletion=[])},removeItem:function(t){this.posts=this.posts.filter((function(e){return e.id!=t})),this.ids=this.ids.filter((function(e){return e!=t}))},addRecentId:function(t){var e=this;axios.post("/api/local/collection/item",{collection_id:this.collectionId,post_id:t.id}).then((function(s){e.closeModals(),e.posts.push(s.data),e.ids.push(t.id),e.collection.post_count++})).catch((function(t){swal("Oops!","An error occured, please try selecting another post.","error"),e.photoId=""}))},timeago:function(t){return App.util.format.timeAgo(t)},closeModals:function(){this.$refs.editModal.hide(),this.$refs.addPhotoModal.hide(),this.$refs.editPhotosModal.hide()},getPreviewUrl:function(t){if(!t.media_attachments||!t.media_attachments.length)return"/storage/no-preview.png";var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?"image"===e.type?e.url:"/storage/no-preview.png":e.preview_url},initReadMore:function(){i(".read-more").each((function(t,e){var s=i(this),o=s.attr("data-readmore");"undefined"!==n(o)&&!1!==o||s.readmore({collapsedHeight:38,heightMargin:38,moreLink:'<a href="#" class="d-block text-center small font-weight-bold mt-n3 mb-2" style="color: rgba(255, 255, 255, 0.5)">Show more</a>',lessLink:'<a href="#" class="d-block text-center small font-weight-bold mt-n3 mb-2" style="color: rgba(255, 255, 255, 0.5)">Show less</a>'})}))}}}},"./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/js/components/CollectionComponent.vue?vue&type=template&id=74b829d0&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/js/components/CollectionComponent.vue?vue&type=template&id=74b829d0&scoped=true ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100 h-100"},[t.loaded?t._e():e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"80vh"}},[e("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})]),t._v(" "),t.loaded?e("div",{staticClass:"row mt-3"},[e("div",{staticClass:"col-12 p-0 mb-3"},[t.owner&&!t.collection.published_at?e("div",[t._m(0)]):t._e()]),t._v(" "),e("div",{staticClass:"col-12 p-0 mb-3"},[e("div",{staticClass:"d-flex align-items-center justify-content-center overflow-hidden"},[e("div",{staticClass:"dims"}),t._v(" "),e("div",{staticClass:"text-white mx-5",staticStyle:{"z-index":"500",position:"absolute"}},[e("p",{staticClass:"text-center pt-3 text-break",staticStyle:{"font-size":"3rem","line-height":"3rem"}},[t._v(t._s(t.title||"Untitled Collection"))]),t._v(" "),e("div",{staticClass:"text-center mb-3 text-break read-more",staticStyle:{"overflow-y":"hidden"}},[t._v(t._s(t.description))]),t._v(" "),e("p",{staticClass:"text-center"},[t.owner&&"public"!=t.collection.visibility?e("span",["draft"==t.collection.visibility?e("span",{staticClass:"btn btn-outline-light btn-sm text-capitalize py-0",staticStyle:{"font-size":"10px"}},[e("i",{staticClass:"far fa-lock"}),t._v(" Draft\n\t\t\t\t\t\t\t")]):"private"==t.collection.visibility?e("span",{staticClass:"btn btn-outline-light btn-sm text-capitalize py-0",staticStyle:{"font-size":"10px"}},[t._v("\n\t\t\t\t\t\t\t\tFollowers Only\n\t\t\t\t\t\t\t")]):t._e(),t._v(" "),e("span",[t._v("·")])]):t._e(),t._v(" "),e("span",[t._v(t._s(t.collection.post_count)+" photos")]),t._v(" "),e("span",[t._v("·")]),t._v(" "),e("span",[t._v("by "),e("a",{staticClass:"font-weight-bold text-white",attrs:{href:"/"+t.profileUsername}},[t._v(t._s(t.profileUsername))])])]),t._v(" "),1==t.owner?e("p",{staticClass:"pt-3 text-center"},[e("span",[e("button",{staticClass:"btn btn-outline-light btn-sm",attrs:{onclick:"this.blur();"},on:{click:function(e){return e.preventDefault(),t.addToCollection.apply(null,arguments)}}},[0==t.loadingPostList?e("span",[t._v("Add Photo")]):e("span",{staticClass:"px-4"},[t._m(1)])]),t._v("\n\t\t\t\t\t\t\t    \n\t\t\t\t\t\t\t"),e("button",{staticClass:"btn btn-outline-light btn-sm",attrs:{onclick:"this.blur();"},on:{click:function(e){return e.preventDefault(),t.editCollection.apply(null,arguments)}}},[t._v("Edit")]),t._v("\n\t\t\t\t\t\t\t    \n\t\t\t\t\t\t\t"),e("button",{staticClass:"btn btn-outline-light btn-sm",on:{click:function(e){return e.preventDefault(),t.deleteCollection.apply(null,arguments)}}},[t._v("Delete")])])]):t._e()]),t._v(" "),t.posts&&t.posts.length?e("img",{staticStyle:{width:"100%",height:"400px","object-fit":"cover"},attrs:{src:t.previewUrl(t.posts[0]),alt:""}}):e("div",{staticClass:"bg-info",staticStyle:{width:"100%",height:"400px"}})])]),t._v(" "),e("div",{staticClass:"col-12 p-0"},[t.posts&&t.posts.length>0?e("div",{staticClass:"row px-3 px-md-0"},[t._l(t.posts,(function(s,o){return e("div",{staticClass:"col-6 col-md-4 feed"},[s.hasOwnProperty("pf_type")&&"video"==s.pf_type?e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[e("div",{staticClass:"square-content"},[t._m(2,!0),t._v(" "),e("blur-hash-canvas",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1)])]):s.sensitive?e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[e("div",{staticClass:"square-content"},[t._m(3,!0),t._v(" "),e("blur-hash-canvas",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1)])]):e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[e("div",{staticClass:"square-content"},[e("blur-hash-image",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:t.previewUrl(s)}})],1)])])])})),t._v(" "),t.canLoadMore?e("div",{staticClass:"col-12"},[e("intersect",{on:{enter:t.enterIntersect}},[e("div",{staticClass:"card card-body shadow-none border"},[e("div",{staticClass:"d-flex justify-content-center align-items-center flex-column"},[e("b-spinner",{attrs:{variant:"muted"}}),t._v(" "),e("p",{staticClass:"text-lighter small mt-2 mb-0"},[t._v("Loading more...")])],1)])])],1):t._e()],2):t._e()])]):t._e(),t._v(" "),e("b-modal",{ref:"editModal",attrs:{id:"edit-modal","hide-footer":"",centered:"",title:"Edit Collection","body-class":""}},[e("form",[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted",attrs:{for:"title"}},[t._v("Title")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.title,expression:"title"}],staticClass:"form-control",attrs:{type:"text",id:"title",placeholder:"Untitled Collection",maxlength:"50"},domProps:{value:t.title},on:{input:function(e){e.target.composing||(t.title=e.target.value)}}}),t._v(" "),e("div",{staticClass:"text-right small text-muted"},[e("span",[t._v(t._s(t.title?t.title.length:0)+"/50")])])]),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted",attrs:{for:"description"}},[t._v("Description")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.description,expression:"description"}],staticClass:"form-control",attrs:{id:"description",placeholder:"Add a description here ...",rows:"3",maxlength:"500"},domProps:{value:t.description},on:{input:function(e){e.target.composing||(t.description=e.target.value)}}}),t._v(" "),e("div",{staticClass:"text-right small text-muted"},[e("span",[t._v(t._s(t.description?t.description.length:0)+"/500")])])]),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted",attrs:{for:"visibility"}},[t._v("Visibility")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.visibility,expression:"visibility"}],staticClass:"custom-select",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.visibility=e.target.multiple?s:s[0]}}},[e("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),e("option",{attrs:{value:"private"}},[t._v("Followers Only")]),t._v(" "),e("option",{attrs:{value:"draft"}},[t._v("Draft")])])]),t._v(" "),e("div",{staticClass:"d-flex justify-content-between align-items-center pt-3"},[e("a",{staticClass:"text-primary font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showEditPhotosModal.apply(null,arguments)}}},[t._v("\n\t\t\t\t\tEdit Photos\n\t\t\t\t")]),t._v(" "),t.collection.published_at?e("div",[e("button",{staticClass:"btn btn-primary btn-sm py-1 font-weight-bold px-3 float-right",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.updateCollection.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t\tSave\n\t\t\t\t\t")])]):e("div",{staticClass:"float-right"},[t.posts.length>0?e("button",{staticClass:"btn btn-outline-primary btn-sm py-1 font-weight-bold px-3",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.publishCollection.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t\tPublish\n\t\t\t\t\t")]):e("button",{staticClass:"btn btn-outline-primary btn-sm py-1 font-weight-bold px-3 disabled",attrs:{type:"button",disabled:""}},[t._v("\n\t\t\t\t\t\tPublish\n\t\t\t\t ")]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-sm py-1 font-weight-bold px-3",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.updateCollection.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t\tSave\n\t\t\t\t\t")])])])])]),t._v(" "),e("b-modal",{ref:"addPhotoModal",attrs:{id:"add-photo-modal","hide-footer":"",centered:"",title:"Add Photo","body-class":"m-3"}},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted",attrs:{for:"title"}},[t._v("Add Recent Post")]),t._v(" "),t.postsList.length>0?e("div",{staticClass:"row m-1",staticStyle:{"max-height":"360px","overflow-y":"auto"}},[t._l(t.postsList,(function(s,o){return e("div",{key:"postList-"+o,staticClass:"col-4 p-1 cursor-pointer",on:{click:function(e){return t.addRecentId(s)}}},[e("div",{staticClass:"square border"},[e("div",{staticClass:"square-content",style:"background-image: url("+t.getPreviewUrl(s)+");"})])])})),t._v(" "),e("div",{staticClass:"col-12"},[e("hr")])],2):t._e()]),t._v(" "),e("form",[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted",attrs:{for:"title"}},[t._v("Add Post by URL")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.photoId,expression:"photoId"}],staticClass:"form-control",attrs:{type:"text",placeholder:"https://pixelfed.dev/p/admin/1"},domProps:{value:t.photoId},on:{input:function(e){e.target.composing||(t.photoId=e.target.value)}}}),t._v(" "),e("p",{staticClass:"help-text small text-muted"},[t._v("Only local, public posts can be added")])]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-sm py-1 font-weight-bold px-3 float-right",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.pushId.apply(null,arguments)}}},[t.addingPostToCollection?e("span",{staticClass:"px-4"},[e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):e("span",[t._v("\n\t\t\t\t\tAdd Photo\n\t\t\t\t")])])])]),t._v(" "),e("b-modal",{ref:"editPhotosModal",attrs:{id:"edit-photos-modal","hide-footer":"",centered:"",title:"Edit Collection Photos","body-class":"m-3"}},[e("div",{staticClass:"form-group"},[e("p",{staticClass:"font-weight-bold text-dark text-center"},[t._v("Select a Photo to Delete")]),t._v(" "),t.posts.length>0?e("div",{staticClass:"row m-1 scrollbar-hidden",staticStyle:{"max-height":"350px","overflow-y":"auto"}},t._l(t.posts,(function(s,o){return e("div",{key:"plm-"+o,staticClass:"col-4 p-1 cursor-pointer"},[e("div",{class:[-1==t.markedForDeletion.indexOf(s.id)?"square":"square delete-border"],on:{click:function(e){return t.markPhotoForDeletion(s.id)}}},[e("div",{staticClass:"square-content border",style:"background-image: url("+s.media_attachments[0].url+");"})])])})),0):t._e(),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.markedForDeletion.length>0,expression:"markedForDeletion.length > 0"}]},[e("button",{staticClass:"btn btn-primary font-weight-bold py-0 btn-block mb-0 mt-4",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmDeletion.apply(null,arguments)}}},[t._v("Delete "+t._s(t.markedForDeletion.length)+" "+t._s(1==t.markedForDeletion.length?"photo":"photos"))])])])])],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"alert alert-danger d-flex justify-content-center"},[e("div",{staticClass:"media align-items-center"},[e("i",{staticClass:"far fa-exclamation-triangle fa-3x mr-3"}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t\t\tThis collection is unpublished.\n\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v("\n\t\t\t\t\t\t\t\tThis collection is not visible to anyone else until you publish it. "),e("br"),t._v("\n\t\t\t\t\t\t\t\tTo publish, click on the "),e("strong",[t._v("Edit")]),t._v(" button and then click on the "),e("strong",[t._v("Publish")]),t._v(" button.\n\t\t\t\t\t\t\t")])])])])},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._self._c;return t("div",{staticClass:"info-overlay-text-label rounded"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-video fa-2x p-2 d-flex-inline"})])])])},function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label rounded"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])}];o._withStripped=!0},"./resources/assets/js/collections.js":
/*!********************************************!*\
!*** ./resources/assets/js/collections.js ***!
\********************************************/(t,e,s)=>{Vue.component("collection-component",s(/*! ./components/CollectionComponent.vue */"./resources/assets/js/components/CollectionComponent.vue").default)},"./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/js/components/CollectionComponent.vue?vue&type=style&index=0&id=74b829d0&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/js/components/CollectionComponent.vue?vue&type=style&index=0&id=74b829d0&lang=scss&scoped=true ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=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"),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".dims[data-v-74b829d0] {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background: rgba(0, 0, 0, 0.68);\n z-index: 300;\n}\n.scrollbar-hidden[data-v-74b829d0]::-webkit-scrollbar {\n display: none;\n}\n.delete-border[data-v-74b829d0] {\n border: 4px solid #ff0000;\n}\n.delete-border .square-content[data-v-74b829d0] {\n background-color: red;\n background-blend-mode: screen;\n}\n.info-overlay-text-field[data-v-74b829d0] {\n font-size: 13.5px;\n margin-bottom: 2px;\n}\n@media (min-width: 768px) {\n.info-overlay-text-field[data-v-74b829d0] {\n font-size: 20px;\n margin-bottom: 15px;\n}\n}\n.feed .card.info-overlay[data-v-74b829d0] {\n margin-bottom: 2rem;\n}",""]);const n=i},"./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/js/components/CollectionComponent.vue?vue&type=style&index=0&id=74b829d0&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/js/components/CollectionComponent.vue?vue&type=style&index=0&id=74b829d0&lang=scss&scoped=true ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(/*! !../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),i=s.n(o),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!./CollectionComponent.vue?vue&type=style&index=0&id=74b829d0&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/js/components/CollectionComponent.vue?vue&type=style&index=0&id=74b829d0&lang=scss&scoped=true"),l={insert:"head",singleton:!1};i()(n.default,l);const a=n.default.locals||{}},"./resources/assets/js/components/CollectionComponent.vue":
/*!****************************************************************!*\
!*** ./resources/assets/js/components/CollectionComponent.vue ***!
\****************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(/*! ./CollectionComponent.vue?vue&type=template&id=74b829d0&scoped=true */"./resources/assets/js/components/CollectionComponent.vue?vue&type=template&id=74b829d0&scoped=true"),i=s(/*! ./CollectionComponent.vue?vue&type=script&lang=js */"./resources/assets/js/components/CollectionComponent.vue?vue&type=script&lang=js"),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(/*! ./CollectionComponent.vue?vue&type=style&index=0&id=74b829d0&lang=scss&scoped=true */"./resources/assets/js/components/CollectionComponent.vue?vue&type=style&index=0&id=74b829d0&lang=scss&scoped=true");var l=(0,s(/*! !../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */"./node_modules/vue-loader/lib/runtime/componentNormalizer.js").default)(i.default,o.render,o.staticRenderFns,!1,null,"74b829d0",null);l.options.__file="resources/assets/js/components/CollectionComponent.vue";const a=l.exports},"./resources/assets/js/components/CollectionComponent.vue?vue&type=script&lang=js":
/*!****************************************************************************************!*\
!*** ./resources/assets/js/components/CollectionComponent.vue?vue&type=script&lang=js ***!
\****************************************************************************************/(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CollectionComponent.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/js/components/CollectionComponent.vue?vue&type=script&lang=js"),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},"./resources/assets/js/components/CollectionComponent.vue?vue&type=template&id=74b829d0&scoped=true":
/*!**********************************************************************************************************!*\
!*** ./resources/assets/js/components/CollectionComponent.vue?vue&type=template&id=74b829d0&scoped=true ***!
\**********************************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var o=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!./CollectionComponent.vue?vue&type=template&id=74b829d0&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/js/components/CollectionComponent.vue?vue&type=template&id=74b829d0&scoped=true"),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},"./resources/assets/js/components/CollectionComponent.vue?vue&type=style&index=0&id=74b829d0&lang=scss&scoped=true":
/*!*************************************************************************************************************************!*\
!*** ./resources/assets/js/components/CollectionComponent.vue?vue&type=style&index=0&id=74b829d0&lang=scss&scoped=true ***!
\*************************************************************************************************************************/(t,e,s)=>{"use strict";s.r(e);var o=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!./CollectionComponent.vue?vue&type=style&index=0&id=74b829d0&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/js/components/CollectionComponent.vue?vue&type=style&index=0&id=74b829d0&lang=scss&scoped=true"),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)}},t=>{t.O(0,["/js/vendor"],(()=>{return e="./resources/assets/js/collections.js",t(t.s=e);var e}));t.O()}]);