PageSourceSearch

https://unotalone.su/dist/client/6091883.modern.js

js unotalone.su collected 2026-10-04 13:29:45 UTC 7,225 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{213:function(t,e,n){t.exports={}},274:function(t,e,n){"use strict";n(213)},345:function(t,e,n){"use strict";n.r(e);n(5);var o=n(3),r=n(17);function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach(function(e){Object(o.a)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var f={props:{videos:{type:Array,require:!0,default:()=>[]}},filters:{filterDate(t){var e=["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"],n=new Date(t).getDate(),o=new Date(t).getMonth(),r=new Date(t).getFullYear(),l=new Date(t).getHours()>=10?new Date(t).getHours():"0"+new Date(t).getHours(),c=new Date(t).getMinutes()>=10?new Date(t).getMinutes():"0"+new Date(t).getMinutes();return t>Date.now()?"до ".concat(n," ").concat(e[o]," ").concat(l,":").concat(c):"".concat(n," ").concat(e[o]," ").concat(r," ").concat(l,":").concat(c)}},components:{Favs:()=>n.e(12).then(n.bind(null,357))},watch:{videos(){}},computed:c(c({},Object(r.b)(["isDesktop"])),{},{eagerCount(){return this.isDesktop?6:3},isHome(){return"/"===this.$route.path},posterSizes:()=>"(min-width: 2000px) 15vw, (min-width: 1600px) 17vw, (min-width: 500px) 20vw, 45vw"}),data:()=>({mouseX:0,mouseY:0,loading:!1,filmInfo:null,filmsInfo:{}}),mounted(){window.removeEventListener("scroll",this.ctxMenus),window.removeEventListener("click",this.ctxMenus),window.removeEventListener("mousemove",this.mouseCoord),window.addEventListener("scroll",this.ctxMenus),window.addEventListener("click",this.ctxMenus),window.addEventListener("mousemove",this.mouseCoord)},methods:{filmShare(t){if(!this.isDesktop&&navigator.share)navigator.share({title:"".concat(t.title_ru),text:"".concat(t.title_ru," / ").concat(t.title_en),url:"https://kioff.ru/catalog/".concat(this.postUrl(t.kinopoisk_id,t.title))}).then(()=>console.log("Successfully share")).catch(t=>console.log("Error sharing",t));else{console.log("Share not supported on this browser, do it the old way.");var input=document.querySelector('[data-share-id="'.concat(t.kinopoisk_id,'"]'));input&&(input.select(),document.execCommand("copy"),this.$store.commit("setError",{status:"ok",msg:"Ссылка скопирована"}),setTimeout(()=>this.$store.commit("clearError"),2e3))}},ctxMenus(){this.filmInfo=null},mouseCoord(t){this.mouseX=t.clientX,this.mouseY=t.clientY},contextMenu(t){if(!this.filmInfo||this.filmInfo.sh_id!==t&&this.filmInfo.kinopoisk_id!==t)if(this.filmInfo=null,this.filmsInfo[t])this.filmInfo=this.filmsInfo[t];else{if(this.loading)return;this.loading=!0,this.$axios.get("/api/film-info",{params:{id:t}}).then(e=>{var{data:data}=e;this.loading=!1,data.error||(this.filmInfo=data,this.filmsInfo[t]=this.filmInfo)}).catch(()=>{this.loading=!1})}}}},m=(n(274),n(8)),component=Object(m.a)(f,function(){var t=this,e=t._self._c;return e("div",{staticClass:"videos"},[t._l(t.videos,function(n,i){return e("nuxt-link",{key:"".concat(t.$route.name,"-").concat(n.kinopoisk_id,"-").concat(i),staticClass:"item",attrs:{to:t.localePath("/catalog/".concat(n.pretty?n.pretty:t.postUrl(n.kinopoisk_id,n.title_ru))),"data-video-id":n.kinopoisk_id},on:{contextmenu:function(e){return e.preventDefault(),t.contextMenu(n.kinopoisk_id)}}},[e("div",{staticClass:"poster"},[e("div",{staticClass:"hover"},[e("Favs",{attrs:{payload:{film:{title:n.title_ru,title_en:n.title_en,poster:t.filmPoster(n),id:n.kinopoisk_id},button:!1}}}),t._v(" "),e("img",{staticClass:"play",attrs:{src:"/static_files/icons/play-button.svg?1",alt:"Play video"}})],1),t._v(" "),i<t.eagerCount?e("img",{staticClass:"kp",attrs:{src:t.filmPoster(n,180),srcset:t.filmPosterSrcset(n),sizes:t.posterSizes,alt:n.title_ru,fetchpriority:0===i&&t.isHome?"high":void 0,width:"2",height:"3",loading:"eager",decoding:"async"}}):e("img",{staticClass:"kp lazyload",attrs:{"data-src":t.filmPoster(n,180),"data-srcset":t.filmPosterSrcset(n),sizes:t.posterSizes,alt:n.title_ru,src:"/static_files/no-poster.png",width:"2",height:"3",loading:"lazy",decoding:"async"}})]),t._v(" "),e("strong",[t._v(t._s(n.title_ru))]),t._v(" "),n.material_data&&n.material_data.genres&&n.material_data.genres.length?e("span",[t._v("\n      "+t._s(n.material_data.genres.slice(0,3).join(", "))+"\n    ")]):n.expires?e("span",[t._v("\n      "+t._s(t._f("filterDate")(n.expires))+"\n    ")]):t._e()])}),t._v(" "),e("transition",{attrs:{name:"fadeInFast"}},[t.filmInfo?e("div",{staticClass:"ctx-menu"},[e("div",{staticClass:"film-info"},[e("div",{staticClass:"header"},[e("div",{staticClass:"poster"},[e("img",{attrs:{src:t.filmPoster(t.filmInfo),alt:"".concat(t.filmInfo.title_ru).concat(t.filmInfo.title_en?" / ".concat(t.filmInfo.title_en):"")}})]),t._v(" "),e("div",[e("h4",[e("nuxt-link",{attrs:{to:"/catalog/".concat(t.postUrl(t.filmInfo.kinopoisk_id,t.filmInfo.title_ru))}},[t.filmInfo.title_ru?[t._v(t._s(t.filmInfo.title_ru))]:t._e(),t._v(" "),t.filmInfo.title_ru&&t.filmInfo.title_en?[t._v("/")]:t._e(),t._v(" "),t.filmInfo.title_en?[t._v(t._s(t.filmInfo.title_en))]:t._e()],2)],1),t._v(" "),t.filmInfo.material_data.genres&&t.filmInfo.material_data.genres.length?e("div",{staticClass:"meta"},[t.filmInfo.material_data.year?e("nuxt-link",{attrs:{to:"/catalog?page=1&year=".concat(t.filmInfo.material_data.year)}},[t._v("\n                "+t._s(t.filmInfo.material_data.year)+"\n              ")]):t._e(),t._v(" "),t._l(t.filmInfo.material_data.countries,function(n){return e("nuxt-link",{key:"film-country-".concat(n),attrs:{to:"/catalog?page=1&country=".concat(n)}},[t._v("\n                "+t._s(n)+"\n              ")])}),t._v(" "),t._l(t.filmInfo.material_data.genres,function(g){return e("nuxt-link",{key:"film-genre-".concat(g),attrs:{to:"/catalog?page=1&genre=".concat(g)}},[t._v("\n                "+t._s(g)+"\n              ")])})],2):t._e()])]),t._v(" "),t.filmInfo.material_data.description?e("div",{staticClass:"desc"},[t._v("\n          "+t._s(t.filmInfo.material_data.description)+"\n        ")]):t._e()]),t._v(" "),e("ul",[e("li",[e("Favs",{attrs:{payload:{film:{title:t.filmInfo.title_ru,title_en:t.filmInfo.title_en,poster:t.filmPoster(t.filmInfo),kinopoisk_id:t.filmInfo.kinopoisk_id,id:t.filmInfo.kinopoisk_id},button:!0}}})],1),t._v(" "),e("li",{staticClass:"film-share",on:{click:function(e){return t.filmShare(t.filmInfo)}}},[e("input",{attrs:{"data-share-id":t.filmInfo.kinopoisk_id,type:"text",readonly:""},domProps:{value:"https://unotalone.su/catalog/".concat(t.postUrl(t.filmInfo.kinopoisk_id,t.filmInfo.title_ru))}}),t._v(" "),e("img",{attrs:{src:"/static_files/icons/reply.svg",alt:"Reply"}}),t._v("\n          Поделиться с другом\n        ")])])]):t._e()])],2)},[],!1,null,null,null);e.default=component.exports}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.