PageSourceSearch

https://ajaratv.ge/_nuxt/FwSHWhyE.js

js ajaratv.ge collected 2026-10-02 16:43:37 UTC 3,288 bytes, 1 lines download raw bytes

1import{_ as j}from"./B0pKVF7s.js";import{c as m,o as i,a as e,t as B,k as C,d as V,u as S,A as L,B as $,i as p,r as q,n as M,D as g,b as _,j as o,E as N,F as A,l as F,s as H}from"#entry";import{_ as R}from"./DFXymEch.js";import{u as T}from"./DSZQsdm2.js";import"./-uaJM5cS.js";import"./C4M62OXn.js";import"./ekLugMAn.js";import"./Na3wRgYA.js";const U={class:"rounded-md border border-adjara-divider p-5 mb-5"},D={class:"bg-adjara-blue text-white rounded-t-md -mx-5 -mt-5 px-5 py-3 font-adjara-mt text-sm lg:text-lg"},E=["innerHTML"],P={class:"flex justify-end mt-6"},I=["href"],z={__name:"competition",props:{title:{type:String,default:""},content:{type:String,default:""},file:{type:String,default:""}},setup(s){return(l,r)=>(i(),m("div",U,[e("div",D,B(s.title),1),e("div",{class:"space-y-3 text-xs lg:text-sm text-[#1B1B1B] mt-4 font-adjara-nu leading-relaxed",innerHTML:s.content},null,8,E),e("div",P,[s.file?(i(),m("a",{key:0,href:s.file,target:"_blank",class:"flex items-center gap-2 rounded-md bg-adjara-main text-white px-4 py-2 font-adjara-nu text-sm"},[...r[0]||(r[0]=[V(" გადმოწერა ",-1),e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[e("path",{d:"M14 10V12.6667C14 13.0203 13.8595 13.3594 13.6095 13.6095C13.3594 13.8595 13.0203 14 12.6667 14H3.33333C2.97971 14 2.64057 13.8595 2.39052 13.6095C2.14048 13.3594 2 13.0203 2 12.6667V10",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round"}),e("path",{d:"M4.66797 6.66699L8.0013 10.0003L11.3346 6.66699",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round"}),e("path",{d:"M8 10V2",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],8,I)):C("",!0)])]))}},G={class:"w-full lg:max-w-[650px] mx-auto px-4 lg:px-0"},J={class:"block lg:flex justify-between mt-8 lg:mt-15 mb-8"},ae={__name:"competition",async setup(s){let l,r;S({title:"კონკურსები | AdjaraTV"});const u=L(),x=$(),h=p(()=>Number(u.query.page??1)),f=p(()=>u.query.filter??null),t=q(f.value),v=p(()=>{const a=new URLSearchParams;return t.value&&a.append("filter",t.value),a.append("page",h.value),`/v1/competition?${a.toString()}`}),{data:d,pending:K,refresh:w}=([l,r]=M(()=>T(()=>v.value)),l=await l,r(),l);return g(t,a=>{x.push({query:{...u.query,filter:a||void 0,page:1}})}),g(()=>u.query,()=>{t.value=f.value,w()},{deep:!0}),(a,c)=>{const y=j,k=z,b=R;return i(),m("div",G,[e("div",J,[c[1]||(c[1]=e("div",{class:"flex items-center gap-3 mb-5 lg:mb-0"},[e("span",{class:"w-[6px] h-4 lg:h-8 bg-adjara-yellow"}),e("h2",{class:"text-xl lg:text-2xl font-adjara-mt pt-1 text-[#1B1B1B]"},"კონკურსი")],-1)),_(y,{modelValue:o(t),"onUpdate:modelValue":c[0]||(c[0]=n=>N(t)?t.value=n:null),class:"w-40 cursor-pointer",items:[{label:"ყველა",value:null},...o(d)?.filters],placeholder:"კატეგორია",onChange:a.handleChangeFilter},null,8,["modelValue","items","onChange"])]),e("div",null,[(i(!0),m(A,null,F(o(d)?.data,n=>(i(),H(k,{key:n.id,title:n.title,content:n.content,file:n.file?.original_url??n.file_url},null,8,["title","content","file"]))),128))]),_(b,{"current-page":o(d)?.meta?.current_page,"last-page":o(d)?.meta?.last_page},null,8,["current-page","last-page"])])}}};export{ae 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.