1import j from"./PbY4qVdt.js";import{_ as q,a as z}from"./Tx8S8XFm.js";import{_ as G}from"./MAeVG2hT.js";import{_ as J}from"./CkJ4nQNo.js";import{d as K,ac as W,u as X,a as Y,w as Z,B as p,a3 as c,b as ee,c as x,e,f as r,t as w,g as o,p as m,v as te,O as oe,U as y,h as ae,s as se,a7 as ne,o as d,F as le,A as ce,n as re,ad as ie,ae as ue,_ as _e}from"./DFim2bqs.js";import{d as pe}from"./BsTyCWhA.js";import{u as me}from"./Dz4QVpHO.js";import{b as de}from"./6IoykG5s.js";import"./CSYTMyXG.js";const fe={class:"content catalog-page__container"},ge={class:"container"},he={class:"content__wrap without-panel"},ve={class:"content__block"},be={ref:"scroll-point"},xe={class:"content__block-title"},we={class:"text-medium"},ye={class:"content__block-wrap"},Be={class:"auction-companies"},Pe={class:"auction-companies__filters"},Se=["placeholder"],ke=K({__name:"index",async setup($e){let n,f;const B=W(),{t:i,locale:P}=X(),{getAuctionFirms:S,pageMetaTag:k}=Y(),[{data:u},{data:$}]=([n,f]=Z(()=>Promise.all([S(),k("auctions")])),n=await n,f(),n),F=p(()=>u.value.firms),C=p(()=>u.value.countries),g=p(()=>u.value.pagination),s=se(""),h=c("page",1,{transform:Number}),v=c("company",""),M=c("sort",""),T=c("order",""),A=t=>{M.value=t.sort.field,T.value=t.sort.order},V=ie(t=>v.value=t,300),D=()=>{v.value="",s.value=""},R=ne("scroll-point"),I=t=>{h.value=t,ue(R,{behavior:"smooth"})},_=pe($.value),b=[{name:i("breadcrumbs_main-title"),url:"/"},{name:i("breadcrumbs_auctions-title"),url:null}],L=me(_.title,_.description,[de(i,P.value,b)]);return ee(L),(t,l)=>{const N=j,O=z,E=q,H=G,U=J;return d(),x("main",fe,[e("div",ge,[e("div",he,[e("div",ve,[r(N,{data:b}),e("div",be,null,512),e("div",xe,[e("h1",we,w(o(_).H1),1),e("p",null,w(t.$t("auctions-subtitle")),1)]),e("div",ye,[e("div",Be,[e("div",Pe,[e("div",null,[m(e("input",{"onUpdate:modelValue":l[0]||(l[0]=a=>oe(s)?s.value=a:null),class:"filter",placeholder:t.$t("auctions_filter-company_placeholder"),onInput:l[1]||(l[1]=a=>o(V)(a.target.value))},null,40,Se),[[te,o(s)]]),m(e("button",{class:"close-icon",type:"reset",onClick:D},null,512),[[y,o(s).length>0]])]),r(E,{class:"select-style select",placeholder:t.$t("auctions_select-country_placeholder")},{default:ae(()=>[(d(!0),x(le,null,ce(o(C),(a,Q)=>(d(),re(O,{key:Q,value:a,label:a.name,onSelectValue:Fe=>o(B).push({path:t.$localePath({path:`/auctions/${a.slug}`})})},null,8,["value","label","onSelectValue"]))),128))]),_:1},8,["placeholder"])]),r(H,{sortable:!0,firms:o(F),onChangeSorting:A},null,8,["firms"])])]),m(r(U,{"total-pages":o(g).totalPages,"current-page":o(h),onToPage:I},null,8,["total-pages","current-page"]),[[y,o(g).totalPages>1]])])])])])}}}),Ne=_e(ke,[["__scopeId","data-v-c3ed2b6b"]]);export{Ne as default};
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.