PageSourceSearch

https://www.abrahamicfamilyhouse.ae/assets/EventHighlights-BcgPVduZ.js

js abrahamicfamilyhouse.ae collected 2026-10-02 04:04:55 UTC 3,707 bytes, 1 lines download raw bytes

1import{u as L,a as T,q as r,_ as B,m as H,d as S,p as C,j as I,y as M,f as E,a9 as N,aa as v}from"./index-UeNYquEB.js";import{b as V,u as R}from"./vendor-BLTXJk8c.js";import{C as j}from"./calendar-C6suMhUL.js";import{C as D}from"./clock-icon-DUDfDrIa.js";import{L as $}from"./location-icon-C094seWv.js";import{S as z}from"./ShareButtons-WWMW84b2.js";import"./element-DRPm0a8Z.js";import{_ as A}from"./Highlights-CsVkV1yT.js";import{r as F,C as O,w as q,c as b,H as i,S as p,u as t,L as s,O as J,X as c,U as g,V as n,W as _,ae as U,I as o}from"./vue-Fh2vjS8O.js";import"./close-COGtNcEh.js";const W={key:0},X={class:"m-4 relative"},G={class:"absolute layout-spacing h-full w-full flex items-center z-10 text-white"},K={class:"text-sm font-semibold mb-2 line-clamp-2"},P={key:0,class:"text-3xl lg:text-6xl font-bold"},Q={key:1,class:"text-3xl lg:text-6xl font-bold"},Y={class:"layout-spacing layout-spacing-t"},Z={class:"grid lg:grid-cols-3 lg:gap-28 gap-8"},tt={class:"lg:col-span-2"},et={class:"text-xl font-semibold mb-6"},st=["innerHTML"],at=["innerHTML"],lt={class:"text-xl font-semibold mb-6"},nt={class:"flex flex-wrap gap-2 items-center font-semibold mb-2"},ot={class:"flex gap-2 items-center"},it={class:"flex gap-2 items-center"},rt={class:"flex gap-2 items-center font-semibold"},ct={class:"flex items-center gap-8 mt-12"},yt={__name:"EventHighlights",setup(mt){const{showLoader:x,hideLoader:y}=H(),w=R(),d=V();L();const e=F(null),{t:m}=T(),f=async()=>{x();const{data:u,error:a}=await S(`/events/${C(d.params.id)}/highlights`);if(y(),a.value){const l=M(a.value);E(m("error"),l.message),await w.push({name:"404"})}else{e.value=u.value.data;const l={seo_meta:JSON.stringify({title:e.value.highlights?e.value.highlights.title:e.value?.name,description:e.value?.description,image:e.value?.image_path})};I(l)}};O(async()=>{await f(),window.scrollTo(0,0)}),q(()=>d.params.id,async()=>{await f(),window.scrollTo(0,0)});const h=b(()=>e.value&&e.value.highlights),k=b(()=>(e.value?.highlights?.attachments??[]).map(a=>a.attachable_type?.includes("Document")?a.attachable:a.attachable_type?.includes("B2cMediaLibrary")?a.attachable?.document:null).filter(Boolean));return(u,a)=>t(e)?(o(),i("section",W,[s("div",X,[a[0]||(a[0]=s("div",{class:"absolute top-0 left-0 h-[99%] w-full backdrop-brightness-50 z-[2]"},null,-1)),s("div",G,[s("div",null,[s("p",K,[g(n(t(m)("event"))+" ",1),t(e).tags&&t(e).tags.length>0?(o(),i(_,{key:0},[g(" \\ "+n(t(e).tags.map(l=>t(r)(l,"name")).join(", ")),1)],64)):p("",!0)]),t(h)?(o(),i("h1",P,n(t(r)(t(e).highlights,"title")),1)):(o(),i("h1",Q,n(t(r)(t(e),"name","ara")),1))])]),c(B,{image:t(e).image_path,alt:"Banner Image",class:"w-full h-full object-cover banner-image"},null,8,["image"])]),s("div",Y,[s("div",Z,[s("div",tt,[s("h2",et,n(t(m)("description")),1),t(h)?(o(),i("p",{key:0,class:"backend-html",innerHTML:t(r)(t(e).highlights,"description")},null,8,st)):(o(),i("p",{key:1,innerHTML:t(r)(t(e),"description","ara"),class:"backend-html"},null,8,at))]),s("div",null,[s("h2",lt,n(t(m)("details")),1),(o(!0),i(_,null,U(t(e).event_schedules,l=>(o(),i(_,{key:l.id},[s("div",nt,[s("p",ot,[c(t(j),{class:"min-w-5"}),s("span",null,n(t(N)(l.start_date)),1)]),s("p",it,[c(t(D),{class:"min-w-5"}),s("span",null,n(t(v)(l.start_time))+" - "+n(t(v)(l.end_time)),1)])]),s("p",rt,[c(t($),{class:"min-w-5"}),g(" "+n(l.facility_id?t(r)(l.facility,"name"):l.location),1)])],64))),128)),s("div",ct,[c(z,{link:t(d).path,title:t(r)(t(e),"name","ara"),id:t(e).id,type:"event"},null,8,["link","title","id"])])])]),a[1]||(a[1]=s("br",null,null,-1)),a[2]||(a[2]=s("br",null,null,-1))]),t(h)?(o(),J(A,{key:0,highlights:t(k)},null,8,["highlights"])):p("",!0)])):p("",!0)}};export{yt 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.