(window.webpackJsonp=window.webpackJsonp||[]).push([[4,35,40],{1069:function(t,e,r){var n=r(1071).has;t.exports=function(t){return n(t),t}},1071:function(t,e,r){var n=r(24),o=Set.prototype;t.exports={Set:Set,add:n(o.add),has:n(o.has),remove:n(o.delete),proto:o}},1072:function(t,e,r){var n=r(24),o=r(601),c=r(1071),l=c.Set,f=c.proto,d=n(f.forEach),w=n(f.keys),h=w(new l).next;t.exports=function(t,e,r){return r?o(w(t),e,h):d(t,e)}},1092:function(t,e,r){var n=r(83),o=r(37),c=r(1172),l=r(59),f=n("Set");t.exports=function(t){return function(t){return l(t)&&"number"==typeof t.size&&o(t.has)&&o(t.keys)}(t)?t:c(t)?new f(t):t}},1093:function(t,e,r){var n=r(79),o=r(54),c=r(47),l=r(104),f=TypeError,d=Math.max,w=function(t,e,r,n){this.set=t,this.size=e,this.has=r,this.keys=n};w.prototype={getIterator:function(){return o(c(this.keys,this.set))},includes:function(t){return c(this.has,this.set,t)}},t.exports=function(t){o(t);var e=+t.size;if(e!=e)throw f("Invalid size");return new w(t,d(l(e),0),n(t.has),n(t.keys))}},1102:function(t,e,r){var n=r(647),o=r(1071);t.exports=n(o.proto,"size","get")||function(t){return t.size}},1128:function(t,e,r){"use strict";(function(t){r(7),r(11),r(9),r(12);var n=r(21),o=r(0),c=r(2),l=(r(62),r(4),r(40),r(63),r(44),r(1167),r(1169),r(1170),r(1171),r(1174),r(1175),r(1176),r(1177),r(1179),r(1181),r(1183),r(1185),r(1186),r(1187),r(1188),r(1189),r(1191),r(43),r(19),r(46),r(6),r(8),r(30),r(36),r(66),r(376),r(14),r(5)),f=r(629),d=r(579),w=r(15);function h(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function v(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?h(Object(source),!0).forEach((function(e){Object(c.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):h(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m="start",x="stop",P=6e4,O="top",y="misc";e.a={name:"GridviewLoader",components:{gridview:f.default,CardSkeleton:d.default},mixins:[w.a],props:{filters:{type:Array,required:!0,default:function(){return[]}},ordering:{type:Array,required:!0,default:function(){return[]}},options:{type:Object,required:!1,default:function(){return{favourites:[],suggestion:!1}}}},data:function(){return{loading:!0,topProfiles:[],miscProfiles:[],miscPagination:{page:1,tilesPerPage:20,hasMorePages:!0},topPagination:{page:1,tilesPerPage:60,hasMorePages:!0},isIntersectHandlerEnabled:!1,isShowMoreButtonLoading:!1,noModelsOnline:!1,favourites:0,intersectBaseOptions:{rootMargin:"200px 0px 0px 0px",threshold:.25},skeletons:30}},computed:v(v({},Object(l.c)({isLoggedIn:"auth/isLoggedIn",memberFavourites:"member/favourites",profile:"performer/profile"})),{},{allFilterSelected:function(){var t;return"all"===(null==(t=this.options)?void 0:t.topFilter)},favouritesFilterSelected:function(){var t;return"favourites"===(null==(t=this.options)?void 0:t.topFilter)},miscOrdering:function(){return[{key:"free"},{key:"lastCamSessionIfOffline"},{key:"language",value:this.$i18n.locale},{key:"rating"}]}}),watch:{filters:{deep:!0,handler:function(){this.options.suggestion||this.reset()}},memberFavourites:{handler:function(t){this.options.suggestion||(t.length>this.favourites&&this.reset(),this.favourites=t.length)},immediate:!0,deep:!0}},beforeDestroy:function(){this.gridRefreshTimer(x)},mounted:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.gridRefreshTimer(),t.enableIntersectHandler(),e.next=4,t.init();case 4:case"end":return e.stop()}}),e)})))()},methods:{init:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.options.suggestion?(t.topPagination.tilesPerPage=10,t.skeletons=10):t.allFilterSelected&&(t.topPagination.tilesPerPage=60),t.favouritesFilterSelected){e.next=4;break}return e.next=4,t.fetchProfiles(O,t.topPagination.page,t.topPagination.page+1);case 4:if(!t.allFilterSelected&&!t.options.suggestion){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,t.fetchProfiles(y,t.miscPagination.page,t.miscPagination.page+1);case 8:case"end":return e.stop()}}),e)})))()},reset:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.favouritesFilterSelected){e.next=3;break}return e.next=3,t.fetchProfiles(O,1,t.topPagination.page+1);case 3:if(!t.allFilterSelected&&!t.options.suggestion){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,t.fetchProfiles(y,1,t.miscPagination.page+1);case 7:case"end":return e.stop()}}),e)})))()},fetchProfiles:function(slot,t,e){var r=this;return Object(o.a)(regeneratorRuntime.mark((function o(){var c,l,f,filter,d,w,h;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(c=[],l="".concat(slot,"Pagination"),f="".concat(slot,"Profiles"),filter=r.filters.find((function(filter){return filter.slot===slot}))){o.next=7;break}return r.$log.warn("Unable to find slot filters",r.filters),o.abrupt("return");case 7:return slot===O?r.options.suggestion&&r.profile.id&&(filter.data.exclude=[r.profile.id]):slot===y&&(r.topProfiles.length&&(filter.data.exclude=r.topProfiles.map((function(t){return t.user}))),r.favouritesFilterSelected&&(d=Array.from(new Set([].concat(Object(n.a)(r.options.favourites),Object(n.a)(r.memberFavourites)))),filter.data.exclude=d.map((function(t){return t.performerId})))),o.next=10,r.wseUserRequest("find",{filter:filter.data,pagination:{page:t,limit:(e-t)*r[l].tilesPerPage},ordering:slot===O?r.ordering:r.miscOrdering});case 10:if(!((c=o.sent).length>0)){o.next=18;break}r[l].hasMorePages=!r.options.suggestion&&c.length>=r[l].tilesPerPage,w=r[l].tilesPerPage*(t-1),h=r[l].tilesPerPage*e,r[f]=[].concat(Object(n.a)(r[f].slice(0,w)),Object(n.a)(c.map((function(p){var t,e,r,n;return{user:p.user,username:p.username,cybertoy:p.cybertoy,rating:null!=(t=p.rating)?t:0,snapshot:p.snapshot,nonude:null!=(e=p.nonude)?e:"",onlineStatus:null!=(r=p.onlineStatus)?r:0,languages:null!=(n=p.languages)?n:[]}}))),Object(n.a)(r[f].slice(h,r[f].length))),o.next=23;break;case 18:if(slot===O&&1===r[l].page&&(r.noModelsOnline=2===Object.keys(filter.data).length),!(r[l].page>1)){o.next=22;break}return r[l].hasMorePages=!1,o.abrupt("return");case 22:r["".concat(slot,"Profiles")]=[];case 23:r.$store.commit("setPageLoader",!1);case 24:case"end":return o.stop()}}),o)})))()},wseUserRequest:function(t,e){var r=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var o,c,l,f,d,w,h,m,x;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.loading=!0,h=null!=(o=e.filter)&&o.onlineStatus?Object(n.a)(e.filter.onlineStatus):[],m=null!=(c=e.filter)&&c.cybertoy?Object(n.a)(e.filter.cybertoy):[],null!=(l=e.filter)&&null!=(f=l.popular)&&f.includes("free")&&h.push("free"),null!=(d=e.filter)&&null!=(w=d.popular)&&w.includes("toy")&&m.push(1,2),t.prev=5,t.next=8,r.$wseHttpApi.getPerformers(v(v({},e),{},{filter:v(v({},e.filter),{},{onlineStatus:h,cybertoy:m,popular:void 0})}));case 8:return x=t.sent,t.abrupt("return",x);case 12:return t.prev=12,t.t0=t.catch(5),r.$log.error("Unable to load ".concat(r.options.suggestion?"suggestions":"homepage"," performers")),t.abrupt("return",null);case 16:return t.prev=16,r.loading=!1,t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[5,12,16,19]])})))()},gridRefreshTimer:function(){var t=this;if((arguments.length>0&&void 0!==arguments[0]?arguments[0]:m)!==m)return clearInterval(this.refreshTimer),void(this.refreshTimer=null);this.refreshTimer=setInterval(Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.reset();case 2:case"end":return e.stop()}}),e)}))),P)},onShowMoreMiscClick:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isLoggedIn){e.next=3;break}return t.$eventBus.$emit("openRegister",{source:"more"}),e.abrupt("return");case 3:return t.$log.info("Misc: Clicked show more. Fetching next page"),e.next=6,t.fetchNextPage(y);case 6:case"end":return e.stop()}}),e)})))()},onShowMoreTopClick:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isLoggedIn){e.next=3;break}return t.$eventBus.$emit("openRegister",{source:"more"}),e.abrupt("return");case 3:return t.$log.info("Top: Clicked show more. Fetching next page"),e.next=6,t.fetchNextPage(O);case 6:case"end":return e.stop()}}),e)})))()},fetchNextPage:function(slot){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(slot){e.next=2;break}return e.abrupt("return");case 2:return r="".concat(slot,"Pagination"),t.isShowMoreButtonLoading=!0,t.isIntersectHandlerEnabled=!1,t[r].page+=1,e.next=8,t.fetchProfiles(slot,t[r].page,t[r].page+1);case 8:t.isShowMoreButtonLoading=!1,t.isIntersectHandlerEnabled=!0;case 10:case"end":return e.stop()}}),e)})))()},onTopIntersect:function(t,e,r){var n=this;return Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n.isIntersectHandlerEnabled&&n.topPagination.hasMorePages){t.next=3;break}return n.$log.info("Top list: Not loading next page - handler enabled (".concat(n.isIntersectHandlerEnabled,") - has more pages (").concat(n.topPagination.hasMorePages,")")),t.abrupt("return");case 3:if(!(n.allFilterSelected&&n.topPagination.page>=4)){t.next=6;break}return n.$log.info("Top list: Not loading next page - all filters - page (".concat(n.topPagination.page,")")),t.abrupt("return");case 6:if(!r){t.next=10;break}return n.$log.info("Top List: Loading next page"),t.next=10,n.fetchNextPage(O);case 10:case"end":return t.stop()}}),t)})))()},onMiscIntersect:function(t,e,r){var n=this;return Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n.isIntersectHandlerEnabled&&n.miscPagination.hasMorePages&&!(n.miscPagination.page>=4)){t.next=3;break}return n.$log.info("Misc list: Not loading next page - ".concat(n.isIntersectHandlerEnabled," - ").concat(n.miscPagination.hasMorePages," - ").concat(n.miscPagination.page)),t.abrupt("return");case 3:if(!r){t.next=7;break}return n.$log.info("Misc List: Loading next page"),t.next=7,n.fetchNextPage(y);case 7:case"end":return t.stop()}}),t)})))()},enableIntersectHandler:function(){var e=this;t((function(){e.isIntersectHandlerEnabled=!0,e.$log.info("Intersection handler enabled")}))}}}}).call(this,r(296).setImmediate)},1129:function(t,e,r){var n=r(1071),o=r(1072),c=n.Set,l=n.add;t.exports=function(t){var e=new c;return o(t,(function(t){l(e,t)})),e}},1167:function(t,e,r){r(1168)},1168:function(t,e,r){"use strict";r(648)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(649))},1169:function(t,e,r){"use strict";var n=r(13),o=r(1069),c=r(1071).add;n({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var t=o(this),e=0,r=arguments.length;e<r;e++)c(t,arguments[e]);return t}})},1170:function(t,e,r){"use strict";var n=r(13),o=r(1069),c=r(1071).remove;n({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=o(this),r=!0,n=0,l=arguments.length;n<l;n++)t=c(e,arguments[n]),r=r&&t;return!!r}})},1171:function(t,e,r){"use strict";var n=r(13),o=r(47),c=r(1092),l=r(1173);n({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(t){return o(l,this,c(t))}})},1172:function(t,e,r){var n=r(172),o=r(53),c=r(91),l=r(42),f=r(173),d=l("iterator"),w=Object;t.exports=function(t){if(c(t))return!1;var e=w(t);return void 0!==e[d]||"@@iterator"in e||o(f,n(e))}},1173:function(t,e,r){"use strict";var n=r(1069),o=r(1071),c=r(1129),l=r(1102),f=r(1093),d=r(1072),w=r(601),h=o.has,v=o.remove;t.exports=function(t){var e=n(this),r=f(t),o=c(e);return l(e)<=r.size?d(e,(function(t){r.includes(t)&&v(o,t)})):w(r.getIterator(),(function(t){h(e,t)&&v(o,t)})),o}},1174:function(t,e,r){"use strict";var n=r(13),o=r(69),c=r(1069),l=r(1072);n({target:"Set",proto:!0,real:!0,forced:!0},{every:function(t){var e=c(this),r=o(t,arguments.length>1?arguments[1]:void 0);return!1!==l(e,(function(t){if(!r(t,t,e))return!1}),!0)}})},1175:function(t,e,r){"use strict";var n=r(13),o=r(69),c=r(1069),l=r(1071),f=r(1072),d=l.Set,w=l.add;n({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(t){var e=c(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=new d;return f(e,(function(t){r(t,t,e)&&w(n,t)})),n}})},1176:function(t,e,r){"use strict";var n=r(13),o=r(69),c=r(1069),l=r(1072);n({target:"Set",proto:!0,real:!0,forced:!0},{find:function(t){var e=c(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=l(e,(function(t){if(r(t,t,e))return{value:t}}),!0);return n&&n.value}})},1177:function(t,e,r){"use strict";var n=r(13),o=r(47),c=r(1092),l=r(1178);n({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(t){return o(l,this,c(t))}})},1178:function(t,e,r){"use strict";var n=r(1069),o=r(1071),c=r(1102),l=r(1093),f=r(1072),d=r(601),w=o.Set,h=o.add,v=o.has;t.exports=function(t){var e=n(this),r=l(t),o=new w;return c(e)>r.size?d(r.getIterator(),(function(t){v(e,t)&&h(o,t)})):f(e,(function(t){r.includes(t)&&h(o,t)})),o}},1179:function(t,e,r){"use strict";var n=r(13),o=r(47),c=r(1092),l=r(1180);n({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(t){return o(l,this,c(t))}})},1180:function(t,e,r){"use strict";var n=r(1069),o=r(1071).has,c=r(1102),l=r(1093),f=r(1072),d=r(601),w=r(379);t.exports=function(t){var e=n(this),r=l(t);if(c(e)<=r.size)return!1!==f(e,(function(t){if(r.includes(t))return!1}),!0);var h=r.getIterator();return!1!==d(h,(function(t){if(o(e,t))return w(h,"normal",!1)}))}},1181:function(t,e,r){"use strict";var n=r(13),o=r(47),c=r(1092),l=r(1182);n({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(t){return o(l,this,c(t))}})},1182:function(t,e,r){"use strict";var n=r(1069),o=r(1102),c=r(1072),l=r(1093);t.exports=function(t){var e=n(this),r=l(t);return!(o(e)>r.size)&&!1!==c(e,(function(t){if(!r.includes(t))return!1}),!0)}},1183:function(t,e,r){"use strict";var n=r(13),o=r(47),c=r(1092),l=r(1184);n({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(t){return o(l,this,c(t))}})},1184:function(t,e,r){"use strict";var n=r(1069),o=r(1071).has,c=r(1102),l=r(1093),f=r(601),d=r(379);t.exports=function(t){var e=n(this),r=l(t);if(c(e)<r.size)return!1;var w=r.getIterator();return!1!==f(w,(function(t){if(!o(e,t))return d(w,"normal",!1)}))}},1185:function(t,e,r){"use strict";var n=r(13),o=r(24),c=r(1069),l=r(1072),f=r(52),d=o([].join),w=o([].push);n({target:"Set",proto:!0,real:!0,forced:!0},{join:function(t){var e=c(this),r=void 0===t?",":f(t),n=[];return l(e,(function(t){w(n,t)})),d(n,r)}})},1186:function(t,e,r){"use strict";var n=r(13),o=r(69),c=r(1069),l=r(1071),f=r(1072),d=l.Set,w=l.add;n({target:"Set",proto:!0,real:!0,forced:!0},{map:function(t){var e=c(this),r=o(t,arguments.length>1?arguments[1]:void 0),n=new d;return f(e,(function(t){w(n,r(t,t,e))})),n}})},1187:function(t,e,r){"use strict";var n=r(13),o=r(79),c=r(1069),l=r(1072),f=TypeError;n({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(t){var e=c(this),r=arguments.length<2,n=r?void 0:arguments[1];if(o(t),l(e,(function(o){r?(r=!1,n=o):n=t(n,o,o,e)})),r)throw f("Reduce of empty set with no initial value");return n}})},1188:function(t,e,r){"use strict";var n=r(13),o=r(69),c=r(1069),l=r(1072);n({target:"Set",proto:!0,real:!0,forced:!0},{some:function(t){var e=c(this),r=o(t,arguments.length>1?arguments[1]:void 0);return!0===l(e,(function(t){if(r(t,t,e))return!0}),!0)}})},1189:function(t,e,r){"use strict";var n=r(13),o=r(47),c=r(1092),l=r(1190);n({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(t){return o(l,this,c(t))}})},1190:function(t,e,r){"use strict";var n=r(1069),o=r(1071),c=r(1129),l=r(1093),f=r(601),d=o.add,w=o.has,h=o.remove;t.exports=function(t){var e=n(this),r=l(t).getIterator(),o=c(e);return f(r,(function(t){w(e,t)?h(o,t):d(o,t)})),o}},1191:function(t,e,r){"use strict";var n=r(13),o=r(47),c=r(1092),l=r(1192);n({target:"Set",proto:!0,real:!0,forced:!0},{union:function(t){return o(l,this,c(t))}})},1192:function(t,e,r){"use strict";var n=r(1069),o=r(1071).add,c=r(1129),l=r(1093),f=r(601);t.exports=function(t){var e=n(this),r=l(t).getIterator(),d=c(e);return f(r,(function(t){o(d,t)})),d}},579:function(t,e,r){"use strict";r.r(e);var n={name:"CardSkeleton"},o=r(3),component=Object(o.a)(n,(function(){this._self._c;return this._m(0)}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-absolute tw-top-0 tw-left-0 tw-h-full tw-w-full tw-overflow-hidden tw-overflow-hidden tw-bg-custom5-s0"},[e("div",{staticClass:"tw tw-absolute tw-top-1.5 tw-right-1.5 tw-h-4 tw-w-6 tw-rounded tw-bg-shades-white-o10"}),t._v(" "),e("div",{staticClass:"tw-absolute tw-bottom-2 tw-right-1.5 tw-h-4 tw-w-4.5 tw-rounded tw-bg-shades-white-o10"}),t._v(" "),e("div",{staticClass:"tw-absolute tw-bottom-2 tw-left-1.5 tw-h-4 tw-w-24 tw-rounded tw-bg-shades-white-o10 tw-skeleton-loader-card"})])}],!1,null,null,null);e.default=component.exports},622:function(t,e,r){"use strict";r.r(e);r(6),r(7),r(8),r(4),r(11),r(9),r(12);var n=r(2);function o(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function c(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?o(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):o(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var l=r(1128).a,f=r(3),component=Object(f.a)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-w-full"},[e("div",{staticClass:"tw-w-full"},[t.topProfiles.length?[e("gridview",{ref:"topRows",attrs:{profiles:t.topProfiles,options:t.options}}),t._v(" "),t.options.suggestion?t._e():[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.loading,expression:"!loading"},{name:"intersect",rawName:"v-intersect",value:{handler:t.onTopIntersect,options:c(c({},t.intersectBaseOptions),{},{root:t.$refs.topRows})},expression:"{\n            handler: onTopIntersect,\n            options: { ...intersectBaseOptions, root: $refs.topRows },\n          }"}],staticClass:"tw-my-8",class:[t.allFilterSelected?"tw-flex tw-items-center tw-justify-center":"tw-h-px tw-flex-1 tw-flex-grow tw-bg-custom2-s10"]},[t.allFilterSelected?[e("div",{staticClass:"tw-h-px tw-flex-1 tw-flex-grow tw-bg-custom2-s10"}),t._v(" "),t.topPagination.page>=4&&t.topPagination.hasMorePages?e("div",{staticClass:"tw-flex tw-justify-center tw-px-8"},[e("UiButton",{staticClass:"tw-text-sm",attrs:{variant:"il-custom5"},on:{click:function(e){return e.preventDefault(),t.onShowMoreTopClick.apply(null,arguments)}}},[t._v("\n                "+t._s(t.$t("show_more"))+"\n              ")])],1):t._e(),t._v(" "),e("div",{staticClass:"tw-h-px tw-flex-1 tw-flex-grow tw-bg-custom2-s10"})]:t._e()],2)]]:t.loading||t.favouritesFilterSelected?t._e():[e("div",{staticClass:"tw-rounded tw-bg-custom2-s10 tw-p-4 tw-text-sm"},[e("div",{staticClass:"tw-flex tw-text-sm tw-font-medium lg:tw-text-base"},[e("UiSvgIcon",{staticClass:"tw-mr-3",attrs:{icon:"exclamation-circle",size:"sm"}}),t._v("\n          "+t._s(t.$t("models.noResult"))+"\n        ")],1),t._v(" "),e("div",{staticClass:"tw-flex tw-flex-wrap tw-pl-9 tw-pt-1 tw-text-sm tw-leading-6 lg:tw-text-base"},[t._v("\n          "+t._s(t.$t(t.noModelsOnline?"models.noModelsOnline":"models.noFilteredResult"))+"\n        ")])])],t._v(" "),t.options.suggestion||t.allFilterSelected?t._e():[t.miscProfiles.length?[e("div",{staticClass:"tw-my-8 tw-flex tw-text-body-text"},[t._v(t._s(t.$t("models.moreOnline")))]),t._v(" "),e("gridview",{ref:"miscRows",attrs:{profiles:t.miscProfiles,options:t.options}})]:t._e(),t._v(" "),e("div",{directives:[{name:"intersect",rawName:"v-intersect",value:{handler:t.onMiscIntersect,options:c(c({},t.intersectBaseOptions),{},{root:t.$refs.miscRows})},expression:"{\n          handler: onMiscIntersect,\n          options: { ...intersectBaseOptions, root: $refs.miscRows },\n        }"}],staticClass:"tw-my-8 tw-flex tw-items-center tw-justify-center"},[e("div",{staticClass:"tw-h-px tw-flex-1 tw-flex-grow tw-bg-custom2-s10"}),t._v(" "),t.miscPagination.page>=4&&t.miscPagination.hasMorePages?e("div",{staticClass:"tw-flex tw-justify-center tw-px-8"},[e("UiButton",{staticClass:"tw-text-sm",attrs:{variant:"il-custom5"},on:{click:function(e){return e.preventDefault(),t.onShowMoreMiscClick.apply(null,arguments)}}},[t._v("\n            "+t._s(t.$t("show_more"))+"\n          ")])],1):t._e(),t._v(" "),e("div",{staticClass:"tw-h-px tw-flex-1 tw-flex-grow tw-bg-custom2-s10"})])]],2),t._v(" "),t.loading?e("div",{staticClass:"tw-w-full"},[e("div",{staticClass:"tw-grid tw-grid-cols-2 tw-gap-4 sm:tw-grid-cols-3 md:tw-grid-cols-4 lg:tw-grid-cols-4 xl:tw-grid-cols-5"},t._l(t.skeletons,(function(p,t){return e("div",{key:"skt"+t,staticClass:"tw-model-card tw-relative"},[e("CardSkeleton")],1)})),0)]):t._e()])}),[],!1,null,null,null);e.default=component.exports},629:function(t,e,r){"use strict";r.r(e);r(6),r(7),r(8),r(4),r(11),r(9),r(12);var n=r(2),o=(r(40),r(15));function c(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function l(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?c(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):c(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var f={name:"Gridview",components:{Thumbnail:r(584).default},mixins:[o.a],props:{profiles:{type:Array,required:!0,default:function(){return[]}},options:{type:Object,required:!1,default:function(){return{}}}},computed:{baseRouteQuery:function(){return this.$routeHlp.route.getBasics()},currentPage:function(){var t=this;return this.profiles.map((function(p){return l(l({},p),{},{rating:p.rating||0,onlineStatus:p.onlineStatus||0,route:t.localeRoute({name:"profile-model",params:{model:p.username},query:t.baseRouteQuery})})}))}}},d=r(3),component=Object(d.a)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-grid tw-grid-cols-2 tw-gap-4 sm:tw-grid-cols-3 xl:tw-grid-cols-5",class:{"md:tw-grid-cols-4 lg:tw-grid-cols-5":t.options.suggestion,"md:tw-grid-cols-4 lg:tw-grid-cols-4":!t.options.suggestion}},t._l(t.currentPage,(function(p,t){return e("Thumbnail",{key:p.username+t,attrs:{model:p,"grid-view":""}})})),1)}),[],!1,null,null,null);e.default=component.exports}}]);