PageSourceSearch

https://unotalone.su/dist/client/4fcf6d6.modern.js

js unotalone.su collected 2026-10-04 13:29:34 UTC 3,073 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{344:function(e,t,r){"use strict";r.r(t);var n=r(2),o=(r(52),{props:{type:{type:String,require:!0,default:"films"}},watch:{searchQuery(e){e.match(/vmeste\/.*/)&&(location.href=e)},changeRoute(){this.searchQuery="",this.searchHints=[]}},computed:{searchPhrase(){var e=[{ru:"Что будем смотреть?",en:"What are we going to watch?"},{ru:"Какое кино ищем?",en:"Which movie are you looking for?"},{ru:"Начните вводить название фильма",en:"Start typing the movie title"},{ru:"Поиск фильма или сериала",en:"Search for a movie or series"},{ru:"Введите название кино",en:"Enter the movie title"},{ru:"Ищете что-то особенное?",en:"Looking for something special?"},{ru:"Поможем найти фильм",en:"Help me find a movie"},{ru:"Введите название или жанр",en:"Enter title or genre"},{ru:"Что на этот раз?",en:"What's it going to be?"},{ru:"Ищем фильм вместе",en:"Let's find a movie together"},{ru:"Время выбрать кино",en:"Time to choose a movie"},{ru:"Введите название сериала",en:"Enter the series title"}];return e[Math.floor(Math.random()*e.length)].ru},changeRoute(){return this.$route.fullPath}},data:()=>({searchQuery:"",searchHints:[],shTimeout:null}),methods:{trottled(){if(this.searchQuery.trim()){var e="";setTimeout(()=>{e===this.searchQuery&&""!==this.searchQuery&&this.searchQuery.length>2&&this.getSearchHints()},200),e=this.searchQuery}},getSearchHints(){var e=this;return Object(n.a)(function*(){var{data:data}=yield e.$axios.get("/api/sh",{params:{value:e.searchQuery}});e.searchHints=data})()}}}),c=r(8),component=Object(c.a)(o,function(){var e=this,t=e._self._c;return t("div",{staticClass:"search-hints",class:e.type},[t("div",{staticClass:"wrap"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.searchQuery,expression:"searchQuery"}],ref:"ssearch",class:{active:e.searchQuery},attrs:{type:"search",name:"ssearch",autocomplete:"off",placeholder:e.searchPhrase},domProps:{value:e.searchQuery},on:{input:[function(t){t.target.composing||(e.searchQuery=t.target.value)},e.trottled],focus:function(t){e.focused=!0},blur:function(t){e.focused=!1}}}),e._v(" "),e.searchQuery.length>2?t("div",{staticClass:"datalist"},[e.searchHints.length?t("ul",e._l(e.searchHints,function(r,i){return t("nuxt-link",{key:"sh-".concat(i),attrs:{to:"".concat("db"===e.type?"/catalog/".concat(e.postUrl(r.id,r.title_ru)):"/vmeste?id=".concat(r.id)),tag:"li"}},[t("div",{staticClass:"poster"},[t("img",{attrs:{src:e.proxyPoster(r.poster),alt:r.title_ru}})]),e._v(" "),t("p",[t("strong",[e._v(e._s(r.title_ru))]),e._v(" "),r.year?t("span",[e._v(e._s(r.year))]):e._e(),e._v(" "),r.genres?t("span",[e._v(" "+e._s(r.genres.slice(0,3).join(", ")))]):e._e()])])}),1):t("div",{staticClass:"no-match"},[t("span",[e._v(e._s(e.$t("notfound")))])])]):e._e()])])},[],!1,null,null,null);t.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.