PageSourceSearch

https://cre.ru/_nuxt/B0bgkvVW.js

js cre.ru collected 2026-09-24 08:34:29 UTC 2,322 bytes, 2 lines download raw bytes

1import{d as g,ad as u,r as w,C as I,E as i,R as a,f as h,S as t,g as v,Z as m,a0 as k,a1 as L,$ as C,o as p,Q as M}from"./Rn1tUdXN.js";const T=["value"],S=["onClick"],B=g({__name:"SpeakersToolbar",props:{searchInput:{required:!0},searchInputModifiers:{},ordering:{required:!0},orderingModifiers:{},selectedLetter:{required:!0},selectedLetterModifiers:{}},emits:["update:searchInput","update:ordering","update:selectedLetter"],setup(s){const f="АБВГДЕЁЖЗИКЛМНОПРСТУФХЦЧШЩЭЮЯ".split(""),r=u(s,"searchInput"),o=u(s,"ordering"),n=u(s,"selectedLetter"),_=w(r.value);let b;function y(e){const c=e.target.value;_.value=c,clearTimeout(b),b=setTimeout(()=>{r.value=c},300)}function z(){o.value=o.value==="name"?"-name":"name"}function $(e){n.value=n.value===e?"":e}return I(r,e=>{_.value=e}),(e,c)=>{const d=C;return p(),i("div",{class:t(e.$style.toolbar)},[a("div",{class:t(e.$style["toolbar__search-icon"])},[h(d,{name:"my-icon:i-search",size:"24"})],2),a("input",{value:v(_),class:t(e.$style.toolbar__input),type:"text",placeholder:"Поиск по спикерам",onInput:y},null,42,T),a("button",{class:t(e.$style.toolbar__sort),onClick:z},[h(d,{name:"my-icon:i-arrow-up-line",size:"24",class:t(o.value!=="name"&&e.$style["toolbar__sort-icon--flipped"])},null,8,["class"]),a("span",null,[a("span",{class:t(e.$style["toolbar__sort-label"])},"По алфавиту: ",2),a("span",{class:t(e.$style["toolbar__sort-value"])},m(o.value==="name"?"А-Я":"Я-А"),3)])],2),a("div",{class:t(e.$style.alphabet)},[(p(!0),i(k,null,L(v(f),l=>(p(),i("button",{key:l,class:t([e.$style.alphabet__letter,n.value===l&&e.$style["alphabet__letter--active"]]),onClick:H=>$(l)},m(l),11,S))),128))],2)],2)}}}),q="_toolbar_1c0zw_1",E="_toolbar__input_1c0zw_18",A="_toolbar__sort_1c0zw_36",N="_alphabet_1c0zw_62",V="_alphabet__letter_1c0zw_73",D={toolbar:q,"toolbar__search-icon":"_toolbar__search-icon_1c0zw_8",toolbar__input:E,toolbar__sort:A,"toolbar__sort-icon--flipped":"_toolbar__sort-icon--flipped_1c0zw_54","toolbar__sort-value":"_toolbar__sort-value_1c0zw_58",alphabet:N,alphabet__letter:V,"alphabet__letter--active":"_alphabet__letter--active_1c0zw_88","toolbar__sort-label":"_toolbar__sort-label_1c0zw_146"},F={$style:D},P=M(B,[["__cssModules",F]]);export{P as default};
2//# sourceMappingURL=B0bgkvVW.js.map

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.