PageSourceSearch

https://www.ahrcm-srmo.org/build/assets/List.1ea3ed40.js

js ahrcm-srmo.org collected 2026-10-06 18:25:33 UTC 3,801 bytes, 1 lines download raw bytes

1import{j as h,d as u,y as F,I as m,e as c,a as e,b as i,h as s,c as v,w as L,f,t as p,l as S,C as j,x as H,F as g,i as I,k as w,o as r,H as N,g as T,L as B}from"./app.1c75f29f.js";import{_ as E}from"./HeaderAbsoluteImages.0bc5e367.js";import{H as M,_ as V}from"./Footer.804a5aa7.js";import $ from"./NewsCard.bfd57664.js";import{_ as C}from"./EmptyState.32308625.js";import"./ApplicationMark.85c52153.js";import"./_plugin-vue_export-helper.cdc0426e.js";import"./AuthenticationCardLogo.6f355cfb.js";import"./index.970b99d8.js";const A="/build/assets/news-artwork.5d6331d0.png",D={class:"overflow-hidden"},U={class:"bg-[#FFEFEA] relative pt-32"},z={class:"container text-center px-6 md:px-0"},K=e("div",{class:"h-20"},null,-1),P={class:"grid md:grid-cols-12"},R={class:"md:col-start-2 col-span-11"},W={class:"flex justify-center lg:justify-around relative"},q={class:"text-center ltr:lg:text-left rtl:lg:text-right w-full relative z-20"},G=["innerHTML"],J=["innerHTML"],O={class:"flex justify-center lg:justify-start"},Q=e("div",{class:"h-24"},null,-1),X=e("div",{class:"h-5"},null,-1),Y=e("img",{src:A,alt:"Training tree",class:"hidden lg:block absolute ltr:-right-10 rtl:left-10 bottom-0 w-[683px]"},null,-1),Z={class:"container px-6 md:px-0"},ee=e("div",{class:"h-20"},null,-1),te={class:"md:grid md:grid-cols-12 items-center px-6"},se={class:"col-span-12 md:col-span-6"},ne={class:"text-32 font-bold mb-4"},le={class:"md:col-span-3 md:col-start-10 relative mt-4 mb:mt-0"},oe=e("i",{class:"icon-search text-xl absolute left-2 top-2 text-gray-70"},null,-1),ae=["placeholder"],re={class:"grid grid-cols-1 md:grid-cols-3 gap-5 mt-8"},ie={class:"text-center mt-16"},de=e("div",{class:"h-24"},null,-1),xe={__name:"List",setup(ce){const o=h(()=>w().props.value.news),x=h(()=>w().props.value.isLoggedIn);let a=u({...o.value});const d=u(""),b=u(null);F(d,_.debounce(t=>{m.Inertia.reload({data:{filter:{title:t}},preserveScroll:!0,preserveState:!0})},500));const k=()=>{o.value.links.next!==null&&m.Inertia.get(o.value.links.next,{},{preserveState:!0,preserveScroll:!0,only:["news"],onSuccess:()=>{a.value.data=[...a.value.data,...o.value.data]}})},y=_.debounce(t=>{let n="/news";m.Inertia.get(n,{filter:{title:t.target.value}},{preserveState:!0,preserveScroll:!0,onSuccess:()=>{a.value.data=o.value.data}})},500);return(t,n)=>(r(),c(g,null,[e("section",D,[i(s(N),{title:t.__("header.nav.news")},null,8,["title"]),i(M,{"background-color":"bg-[#FFEFEA]"}),e("section",U,[i(E,{"fill-color-hex":"FFE4DB"}),e("div",z,[K,e("div",P,[e("div",R,[e("div",W,[e("section",q,[e("h1",{class:"text-32 md:text-56 font-bold text-gray-100 fade-up",innerHTML:t.__("news.news.heading_text")},null,8,G),e("p",{class:"mt-6 w-full text-16-regular text-gray-80 fade-up",innerHTML:t.__("news.news.dont_forget_text")},null,8,J),e("div",O,[s(x)?f("",!0):(r(),v(s(B),{key:0,class:"mt-6 btn btn-primary w-48 block text-center",href:t.route("register")},{default:L(()=>[T(p(t.__("joinUsButton.join_us_button.join_us")),1)]),_:1},8,["href"]))]),Q,X]),Y])])])])]),e("div",Z,[ee,e("div",te,[e("div",se,[e("h2",ne,p(t.__("news.news.news")),1)]),e("div",le,[oe,S(e("input",{"onUpdate:modelValue":n[0]||(n[0]=l=>H(d)?d.value=l:null),type:"text",class:"input w-full pl-12",placeholder:t.__("news.news.search_news"),ref_key:"searchInput",ref:b,onKeyup:n[1]||(n[1]=l=>s(y)(l))},null,40,ae),[[j,s(d)]])])]),e("div",re,[s(a).data&&s(a).data.length>0?(r(!0),c(g,{key:0},I(s(a).data,l=>(r(),c("div",{key:l.id},[i($,{news:l},null,8,["news"])]))),128)):(r(),v(C,{key:1,show:!0,message:t.__("news.news.no_news")},null,8,["message"]))]),e("div",ie,[s(o).links.next?(r(),c("button",{key:0,class:"btn btn-primary w-48 block mx-auto",onClick:n[2]||(n[2]=l=>k())},p(t.__("commonWords.view.view_more")),1)):f("",!0)])])]),de,i(V)],64))}};export{xe 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.