(window.webpackJsonp=window.webpackJsonp||[]).push([[99],{1414:function(t,e,n){"use strict";n(766)},1415:function(t,e,n){var r=n(13)(!1);r.push([t.i,".pagination[data-v-30b50e1f]{display:table;margin:30px auto}.pagination a[data-v-30b50e1f]{width:40px;height:40px;line-height:40px;font-size:18px;text-align:center;float:left;display:block;margin:3px;color:#fff;background:#3da8ff;border-radius:10px;font-weight:400;cursor:pointer}.pagination .pageSelected[data-v-30b50e1f]{background:#7b96ac!important;cursor:default}.content[data-v-30b50e1f]{width:1200px;display:inline-block;margin:0 calc(50% - 600px)}.content .left[data-v-30b50e1f]{width:830px;float:left}.head[data-v-30b50e1f],.head img[data-v-30b50e1f],.news[data-v-30b50e1f]{width:100%}.news_content[data-v-30b50e1f]{width:calc(100% - 40px);padding:20px}.image img[data-v-30b50e1f]{width:100%}.name[data-v-30b50e1f]{font-size:25px;font-weight:700;height:50px;line-height:50px;border-bottom:1px solid #ebebeb}.date[data-v-30b50e1f]{margin-top:5px;font-weight:400}.date[data-v-30b50e1f],.text[data-v-30b50e1f]{font-size:16px}.text[data-v-30b50e1f]{width:100%;display:inline-block;overflow:hidden;font-weight:500}.head img[data-v-30b50e1f]{width:100%!important}.typeName[data-v-30b50e1f]{padding:20px 0 10px;display:inline-block;font-weight:700;font-size:20px;color:#036a7c}.screens[data-v-30b50e1f],.typeName[data-v-30b50e1f],.video[data-v-30b50e1f]{width:100%}.screens .screen[data-v-30b50e1f]{height:200px;display:inline-block}.screens .screen img[data-v-30b50e1f]{width:90%}.downloads[data-v-30b50e1f]{width:100%}.downloads .file[data-v-30b50e1f]{width:calc(100% - 20px);padding:10px;background:#e5f8f8;border:1px solid #bfe0e6;margin-top:10px;border-radius:2px;cursor:pointer;transition:.2s}.downloads .file[data-v-30b50e1f]:hover{transition:.2s;box-shadow:2px 2px 5px rgba(0,0,0,.2)}.downloads .file .version[data-v-30b50e1f]{padding:4px 7px;background-color:#fee140;background-image:linear-gradient(240deg,#fee140,#fa709a);border-radius:5px;vertical-align:middle;color:#fff;margin-right:5px;box-shadow:1px 1px 3px rgba(0,0,0,.1)}.downloads .file .icon[data-v-30b50e1f]{width:30px;height:30px;padding:10px;background:hsla(0,0%,100%,.8);border-radius:50%;vertical-align:middle;display:inline-block;margin-right:10px}.downloads .file .modName[data-v-30b50e1f]{font-size:17px;display:inline-block}",""]),t.exports=r},1594:function(t,e,n){"use strict";n.r(e);var r=n(4),o=(n(27),n(48),n(20),n(72),n(223),n(26)),d=n(384),c={asyncData:function(t){return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,d,c,l,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.route.path.split("/mods/")[1],r=1,e.next=4,t.$axios.$get(o.a+"downloads.mods.categories?type=1");case 4:return d=e.sent,e.next=7,t.$axios.$get(o.a+"downloads.mods.categories?type=2&url=".concat(n));case 7:return c=e.sent,l=t.route.path.split("/page")[0],e.next=11,t.$axios.$get(o.a+"downloads.mods?type=4&page=1&url=".concat(n));case 11:return"null"==(h=h=e.sent).posts&&(console.log("Такой категории не существует"),t.redirect("/404")),e.abrupt("return",{url:n,cats:c,posts:h,pages:h.pages,page:r,categories:d.categories,versions:d.versions,url_start:l});case 14:case"end":return e.stop()}}),e)})))()},head:function(t){var e=t.page,n=t.url_start;return{title:(this.cats.categories[0].isVersion?this.$t("modsPage_category_title")+" "+this.cats.categories[0].name:(this.cats.categories[0].hasOwnProperty("page_name_"+this.$i18n.locale)?this.cats.categories[0]["page_name_"+this.$i18n.locale]:this.cats.categories[0].page_name)+" "+this.$t("modsPage_category_title2"))+" - CubixWorld.net",meta:[{hid:"description",name:"description",content:this.cats.categories[0].isVersion?this.$t("modsPage_category_description")+" "+this.cats.categories[0].name+". "+this.$t("modsPage_category_description2"):this.cats.categories[0].hasOwnProperty("description_"+this.$i18n.locale)?this.cats.categories[0]["description_"+this.$i18n.locale]:this.cats.categories[0].description}].concat(this.$nuxtI18nHead({addSeoAttributes:!0}).meta),link:[{rel:"next",href:"https://download.kalataka.ru"+n+"/page/"+(Number(e)+1)},{rel:"canonical",href:"https://download.kalataka.ru"+n}].concat(this.$nuxtI18nHead({addSeoAttributes:!0}).link),htmlAttrs:this.$nuxtI18nHead({addSeoAttributes:!0}).htmlAttrs}},components:{RightPanel:Object(d.a)((function(){return Promise.all([n.e(0),n.e(2)]).then(n.bind(null,354))})),Post:Object(d.a)((function(){return n.e(7).then(n.bind(null,1606))})),Header:Object(d.a)((function(){return n.e(6).then(n.bind(null,431))})),Pagination:Object(d.a)((function(){return n.e(8).then(n.bind(null,1607))})),Empty:Object(d.a)((function(){return n.e(157).then(n.bind(null,1613))}))},computed:{auth:function(){return this.$store.state.auth},isAuthenticated:function(){return this.$store.getters.authenticated},API:function(){return o.a}},created:function(){0},methods:{millsToDate:function(t){return this.$moment.locale("ru"),this.$moment(t).format("lll")}}},l=(n(1414),n(8)),component=Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"content"},[n("div",{staticClass:"left"},[n("Header",{attrs:{categories:t.categories,versions:t.versions,categoryPage:!0,cats:t.cats.categories[0]}}),t._v(" "),Object.keys(t.posts.posts).length>0?n("div",{staticClass:"posts"},t._l(t.posts.posts,(function(t){return n("Post",{key:t.id,attrs:{post:t}})})),1):n("Empty"),t._v(" "),n("div",{staticClass:"bCenter"},[n("Pagination",{attrs:{pages:Number(t.pages),page:Number(t.page),url_start:t.url_start}})],1)],1),t._v(" "),n("RightPanel")],1)])}),[],!1,null,"30b50e1f",null);e.default=component.exports},384:function(t,e,n){"use strict";var r=new Map;var o="undefined"==typeof window;function d(component,t){return Object.assign({mixins:[{beforeCreate:function(){this.cleanupHandlers=[];var t=function(){var t=function(){},e=new Promise((function(e){t=e}));return{hydrate:t,hydrationPromise:e}}(),e=t.hydrate,n=t.hydrationPromise;this.Nonce=function(t){var component=t.component,e=t.hydrationPromise;return o?component:function(){return e.then((function(){return function(t){return"function"==typeof t}(t=component)?t().then((function(t){return t.default})):t;var t}))}}({component:component,hydrationPromise:n}),this.hydrate=e,this.hydrationPromise=n},beforeDestroy:function(){this.cleanup()},mounted:function(){var t=this;if(this.$el.nodeType!==Node.COMMENT_NODE){if(!this.never){if(this.whenVisible){var e=function(t){if("undefined"==typeof IntersectionObserver)return null;var e=JSON.stringify(t);if(r.has(e))return r.get(e);var n=new IntersectionObserver((function(t){t.forEach((function(t){(t.isIntersecting||t.intersectionRatio>0)&&t.target.hydrate&&t.target.hydrate()}))}),t);return r.set(e,n),n}(!0!==this.whenVisible?this.whenVisible:void 0);if(!e)return void this.hydrate();this.$el.hydrate=this.hydrate;var n=function(){return e.unobserve(t.$el)};return this.cleanupHandlers.push(n),this.hydrationPromise.then(n),void e.observe(this.$el)}if(this.whenIdle){if(!("requestIdleCallback"in window)||!("requestAnimationFrame"in window))return void this.hydrate();var o=requestIdleCallback((function(){requestAnimationFrame(t.hydrate)}),{timeout:this.idleTimeout}),d=function(){return cancelIdleCallback(o)};this.cleanupHandlers.push(d),this.hydrationPromise.then(d)}if(this.interactionEvents&&this.interactionEvents.length){var c={capture:!0,once:!0,passive:!0};this.interactionEvents.forEach((function(e){t.$el.addEventListener(e,t.hydrate,c);t.cleanupHandlers.push((function(){t.$el.removeEventListener(e,t.hydrate,c)}))}))}}}else this.hydrate()},methods:{cleanup:function(){this.cleanupHandlers.forEach((function(t){return t()}))}},render:function(t){return t(this.Nonce,{attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}}]},t)}d({render:function(){return this.$slots.default}},{props:{idleTimeout:{default:2e3,type:Number},never:{type:Boolean},onInteraction:{type:[Array,Boolean,String]},triggerHydration:{default:!1,type:Boolean},whenIdle:{type:Boolean},whenVisible:{type:[Boolean,Object]}},computed:{interactionEvents:function(){return this.onInteraction?!0===this.onInteraction?["focus"]:Array.isArray(this.onInteraction)?this.onInteraction:[this.onInteraction]:[]}},watch:{triggerHydration:{immediate:!0,handler:function(t){t&&this.hydrate()}}}}),e.a=function(component){return function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).observerOptions,n=void 0===e?void 0:e;return d(t,{beforeCreate:function(){this.whenVisible=n||!0}})}(component,{observerOptions:{rootMargin:"0%"}})}},766:function(t,e,n){var content=n(1415);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(14).default)("7381735f",content,!0,{sourceMap:!1})}}]);