PageSourceSearch

https://www.clonline.org/build/assets/Index-eRrGlT54.js

js clonline.org collected 2026-09-24 09:18:45 UTC 12,812 bytes, 1 lines download raw bytes

1import{j as v,K as S,c as n,o as l,d as g,a as e,t as a,D as y,k as C,C as L,H as j,u,v as $,n as h,F as k,r as H,b as V,e as c,q as D,m as T,y as Z,I as P}from"./app-CxbiBv-z.js";import{g as G}from"./getRouteLang-_phzY2jf.js";import{P as N}from"./Pagination-BvC1tz3i.js";import{H as F}from"./HeaderInternal-CT77X_fj.js";import{_ as R}from"./Footer-BlIrqTA8.js";import{_ as O}from"./CircleFlag-DDg_caXe.js";/* empty css            */import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./LogoCl-Cltw9XSO.js";const U={class:"flex items-center self-stretch justify-center px-4 py-10 text-2xl text-white lg:px-16 md: bg-calypso-800 md:px-6"},E={class:"flex flex-col pb-5 w-full max-w-[1130px] max-md:max-w-full"},A={class:"pt-4 font-semibold tracking-wider border-atlantis-400 border-solid border-t-[5px] max-md:max-w-full font-BarlowSemiCondensed uppercase"},I={class:"md:grid md:grid-cols-12 md:gap-2"},q={class:"flex flex-row items-center mt-5 md:col-span-9 lg:col-span-10"},z=L('<div><div class="absolute flex items-center left-4 inset-y-1"><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></div><button type="submit" class="flex items-center justify-center bg-white cursor-pointer hover:bg-regent-gray-100 w-11 h-11"><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.91211 13.825L10.7288 10L6.91211 6.175L8.08711 5L13.0871 10L8.08711 15L6.91211 13.825Z" fill="black"></path></svg></button>',2),K={class:"flex flex-row items-center justify-center gap-3 mt-5 md:col-span-3 lg:col-span-2"},J={class:"inline-flex items-center cursor-pointer"},Q=e("div",{class:"relative w-11 h-6 bg-calypso-900 peer-focus:outline-none peer-focus:ring-4 rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-atlantis-400"},null,-1),W={class:"text-xs ms-3 font-BarlowSemiCondensed"},X={class:"py-2.5 bg-porcelain-100 px-4 md:px-6 font-BarlowSemiCondensed"},Y={class:"lg:container lg:grid lg:grid-cols-12 lg:mx-auto lg:max-w-[1130px] lg:items-center"},ee={class:"lg:col-span-5"},te={class:"text-xl"},oe={class:"lg:col-span-7 mt-2.5 grid grid-cols-4 md:gap-4 gap-4 md:justify-between"},se={class:"text-sm font-semibold uppercase break-words"},ae={class:"text-sm font-semibold uppercase break-words"},ie={class:"text-sm font-semibold uppercase break-words"},le={class:"text-sm font-semibold uppercase break-words"},ne={class:"flex items-center self-stretch justify-center px-4 pt-10 text-2xl text-white lg:px-16 md:px-6 lg:min-h-[312px]"},re={class:"flex flex-col pb-5 w-full max-w-[1130px] max-md:max-w-full"},ce={key:0,class:"lg:mx-auto lg:px-0 md:px-6 lg:max-w-[1130px] lg:container"},de={class:"w-[3.75rem] h-[3.75rem]"},pe=["href"],fe=["src","alt"],ue={class:"flex flex-col self-stretch justify-center flex-1 text-black"},he={key:0,class:"text-xs font-semibold uppercase font-BarlowSemiCondensed"},me=["href"],ge={class:"text-xs font-semibold uppercase font-BarlowSemiCondensed"},xe=["href"],be={class:"text-lg font-StixTwoText"},we=["innerHTML"],_e={class:"self-center"},ve=["href"],ye={key:0,class:"flex items-center my-auto uppercase font-BarlowSemiCondensed"},Ce=e("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M6.91406 13.825L10.7307 10L6.91406 6.175L8.08906 5L13.0891 10L8.08906 15L6.91406 13.825Z",fill:"black"})],-1),ke={key:1},Me=["href"],Be=e("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"}
1,[e("path",{d:"M20 0.5H0V20.5H20V0.5Z",class:"text-black transition-colors ease-in fill-current group-hover:text-atlantis-400"}),e("path",{d:"M13.8444 9.06867L11.488 11.8039L10.1936 13.3064L8.89875 11.8039L6.54639 9.06867H8.63223C8.63223 9.06867 8.64481 8.34822 8.63223 7.69069C8.61965 7.04934 8.44077 6.29564 7.98279 5.73833C7.29605 4.89294 6.55088 4.56395 6.55088 4.56395C6.55088 4.56395 8.34099 4.34373 9.87313 5.33024C11.172 6.17519 11.7549 7.20305 11.7504 8.27361C11.7504 8.61878 11.7545 9.06822 11.7545 9.06822H13.8444V9.06867Z",fill:"white"}),e("path",{d:"M17.1051 13.6621V14.2621C17.1051 14.374 17.0144 14.4644 16.9029 14.4644H13.0166C11.9321 14.4644 10.9015 14.9367 10.1937 15.7583L10.1685 15.73C9.46109 14.9255 8.44177 14.4644 7.37076 14.4644H3.09705C2.98514 14.4644 2.8948 14.3736 2.8948 14.2621V13.6621H2.64087V16.3322H17.3591V13.6621H17.1051Z",fill:"white"})],-1),Se={class:"my-auto uppercase transition ease-in font-BarlowSemiCondensed group-hover:underline"},Le={key:1,class:"flex gap-2.5 px-5 py-3.5 text-xs font-semibold tracking-wide text-white bg-calypso-800 shadow-sm max-md:self-end group"},je={class:"my-auto uppercase transition ease-in select-none font-BarlowSemiCondensed"},$e={class:"flex space-x-2"},He={key:0},Ve=["href"],De={key:1},Te=["href"],Ze={key:2},Pe=["onClick"],Ge={key:1,class:"lg:mx-auto lg:px-0 md:px-6 lg:max-w-[1130px] lg:container min-h-[770px] flex items-center justify-center"},Ne=e("div",{role:"status"},[e("svg",{"aria-hidden":"true",class:"w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),e("span",{class:"sr-only"},"Loading...")],-1),Fe=[Ne],Re={class:"flex justify-center mb-10"},Qe={__name:"Index",props:{results:Object,searchTerm:String,paginationData:Object,exactMatch:Boolean,articlesCount:Object,selectionGroup:String,totalRows:Number,breadcrumbs:Array},setup(o){const m=o,M=G(),d=v(m.exactMatch),r=v(m.selectionGroup),p=S({s:m.searchTerm||"",page:1,results_per_page:10,exactMatch:d.value});function x(s){D.get("",{page:s,exactMatch:d.value,selectionGroup:r.value})}const b=()=>{p.get(route(M+".search.index"),{exactMatch:d.value,selectionGroup:r.value})},B=()=>{d.value=!d.value,b()},f=(s,i)=>{s>0&&s&&r.value!=i&&(r.value=i,x())};function w(s){const i="/download-sdc-mp3/"+s;window.location.href=i}return(s,i)=>(l(),n(k,null,[g(F,{hideBreadcrumbs:!0}),g(O,{breadcrumbs:o.breadcrumbs},null,8,["breadcrumbs"]),e("div",null,[e("section",U,[e("div",E,[e("h1",A,a(s.$t("Search results")),1),e("div",I,[e("div",q,[e("form",{onSubmit:y(b,["prevent"]),class:"relative flex w-full text-sm tracking-wide text-gray-400 h-11"},[C(e("input",{"onUpdate:modelValue":i[0]||(i[0]=t=>u(p).s=t),class:"w-full h-full px-3 pl-10 text-xl leading-tight text-white placeholder-white transition-colors border-2 border-white appearance-none bg-calypso-800 max-md:w-full hover:border-white focus:outline-none focus:ring-white focus:border-white focus:shadow-outline font-BarlowSemiCondensed",type:"text"},null,512),[[j,u(p).s]]),z],32)]),e("div",K,[e("label",J,[C(e("input",{type:"checkbox","onUpdate:modelValue":i[1]||(i[1]=t=>u(p).exactMatch=t),onChange:B,class:"sr-only peer"},null,544),[[$,u(p).exactMatch]]),Q,e("span",W,a(s.$t("Exact phrase")),1)])])])])])]),e("section",X,[e("div",Y,[e("div",ee,[e("h3",te,a(o.totalRows)+" "+a(s.$t("Results")),1)]),e("div",oe,[e("div",{class:h(["flex flex-col col-span-1 border-b-4 border-solid md:w-auto",{"border-regent-gray-500/25":r.value!="actuality","border-atlantis-400":r.value=="actuality","cursor-pointer":o.articlesCount.actuality>0}]),onClick:i[2]||(i[2]=t=>f(o.articlesCount.actuality,"actuality"))},[e("span",se,a(s.$t("Actuality")),1),e("span",null,a(o.articlesCount.actuality),1)],2),e("div",{class:h(["flex flex-col col-span-1 border-b-4 border-solid md:w-auto",{"border-regent-gray-500/25":r.value!="sdc","border-atlantis-400":r.value=="sdc","cursor-pointer":o.articlesCount.school_of_community>0}]),onClick:i[3]||(i[3]=t=>f(o.articlesCount.school_of_community,"sdc"))},[e("span",ae,a(s.$t("School of community")),1),e("span",null,a(o.articlesCount.school_of_community),1)],2),e("div",{class:h(["flex flex-col col-span-1 border-b-4 border-solid md:w-auto",{"border-regent-gray-500/25":r.value!="publications","border-atlantis-400":r.value=="publications","cursor-pointer":o.articlesCount.publications>0}]),onClick:i[4]||(i[4]=t=>f(o.articlesCount.publications,"publications"))},[e("span",ie,a(s.$t("Publications")),1),e("span",null,a(o.articlesCount.publications),1)],2),e("div",{class:h(["flex flex-col col-span-1 border-b-4 border-solid md:w-auto",{"border-regent-gray-500/25":r.value!="other_sections","border-atlantis-400":r.value=="other_sections","cursor-pointer":o.articlesCount.other_sections>0}]),onClick:i[5]||(i[5]=t=>f(o.articlesCount.other_sections,"other_sections"))},[e("span",le,a(s.$t("Other sections")),1),e("span",null,a(o.articlesCount.other_sections),1)],2)])])]),e("section",ne,[e("div",re,[o.results?(l(),n("section",ce,[(l(!0),n(k,null,H(o.results,t=>(l(),n("article",{key:t.id,class:"flex gap-2.5 items-start self-stretch py-2 border-b border-regent-gray-200 border-solid lg:max-w-[1130px] max-md:max-w-full"},[e("div",de,[e("a",{href:t.permalink},[t.image?(l(),n("img",{key:0,src:t.image,alt:t.title,class:"object-cover w-full h-full shadow-publications"},null,8,fe)):c("",!0)],8,pe)]),e("div",ue,[t.category_permalink?(l(),n("a",{key:1,href:t.category_permalink},[e("span",ge,a(t.type_category),1)],8,me)):(l(),n("span",he,a(t.type_category),1)),e("a",{href:t.permalink,class:"hover:underline"}
1,[e("h3",be,a(t.title),1)],8,xe),e("div",{innerHTML:t.subtitle,class:"text-xs tracking-wide font-BarlowSemiCondensed line-clamp-1"},null,8,we)]),e("div",_e,[e("a",{href:t.permalink,class:"flex gap-2 justify-center py-1.5 pr-2 pl-5 text-sm tracking-wide text-center text-gray-800 whitespace-nowrap",tabindex:"0",role:"button"},[t.type_category!=s.$t("Sdc archive file")?(l(),n("span",ye,[T(a(s.$t("Go"))+" ",1),Ce])):t.file_pdf||t.file_epub||t.file_audio?(l(),n("div",ke,[t.file_pdf&&!t.file_epub&&!t.file_audio||t.file_epub&&!t.file_pdf&&!t.file_audio||t.file_audio&&!t.file_epub&&!t.file_pdf?(l(),n("a",Z({key:0,href:t.file_pdf||t.file_epub||t.file_audio,target:"_blank"},P(t.file_audio?{click:_=>{_.preventDefault(),w(t.id)}}:{}),{class:"flex items-center gap-2 my-auto mb-0 text-xs font-semibold tracking-wide text-black group whitespace-nowrap max-md:self-end"}),[Be,e("span",Se,a(s.$t("Download")),1)],16,Me)):(l(),n("div",Le,[e("h1",je,a(s.$t("Select a format")),1),e("nav",null,[e("ul",$e,[t.file_pdf?(l(),n("li",He,[e("a",{href:t.file_pdf,target:"_blank",class:"justify-center p-2.5 whitespace-nowrap border border-java-400 border-solid font-BarlowSemiCondensed"},".PDF",8,Ve)])):c("",!0),t.file_epub?(l(),n("li",De,[e("a",{href:t.file_epub,target:"_blank",class:"justify-center p-2.5 whitespace-nowrap border border-java-400 border-solid font-BarlowSemiCondensed"},"ePUB",8,Te)])):c("",!0),t.file_audio?(l(),n("li",Ze,[e("a",{class:"justify-center p-2.5 whitespace-nowrap border border-java-400 border-solid font-BarlowSemiCondensed hover:cursor-pointer",onClick:y(_=>w(t.id),["prevent"])},".MP3",8,Pe)])):c("",!0)])])]))])):c("",!0)],8,ve)])]))),128))])):(l(),n("section",Ge,Fe))])]),e("div",Re,[o.paginationData.totale_pagine>1?(l(),V(N,{key:0,"total-pages":o.paginationData.totale_pagine,total:o.paginationData.totale_righe,"current-page":o.paginationData.pagina_attuale,"has-more-pages":o.paginationData.totale_pagine>1,onPagechanged:x,"per-page":5},null,8,["total-pages","total","current-page","has-more-pages"])):c("",!0)]),g(R)],64))}};export{Qe 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.