PageSourceSearch

https://wru.wales/_nuxt/D4vDLNsC.js

js wru.wales collected 2026-10-02 04:44:30 UTC 2,716 bytes, 1 lines download raw bytes

1import{_ as v}from"./BuVJ4Bzo.js";import{_ as M}from"./CxVwoP4U.js";import{u as N}from"./IT-7lrAI.js";import{j as B,a as $,a4 as P,k as g,u as r,M as a,F as i,U as h,_ as I,$ as T,V as b,X as y,Z as C,a0 as G,N as S,W as k}from"./D3xMoyyV.js";import{_ as V}from"./8YkyQvg-.js";import{a as j,b as D,c as E}from"./jERVJCDV.js";const F={key:0,class:"hidden md:block"},L=["href"],z=B({__name:"PostSubMenu",props:{items:{},dark:{type:Boolean}},async setup(x){let n,_;const p=x,u=$(p.items.filter(t=>t.link_type==="internal").map(t=>{var e;return(e=t.page)==null?void 0:e.ID})),l={fields:["id","title","slug"],posts:{post__in:`${u.value},`,posts_per_page:100,post_status:"publish",post_type:"page",orderby:"post__in"}},m=([n,_]=P(()=>N(l)),n=await n,_(),n),d=g(()=>{const t=p.items,e=[];return t.forEach(o=>{if(o!=null&&o.link_type&&o.link_type==="external")e.push(o);else{const c=m==null?void 0:m.find(s=>{var w;return s.id===((w=o.page)==null?void 0:w.ID)});c&&e.push({...o,page:c})}}),e}),f=t=>{var e;return(e=t==null?void 0:t.menu_item_title)!=null&&e.length?t.menu_item_title:t.page.title};return(t,e)=>{var c;const o=M;return(c=r(d))!=null&&c.length?(a(),i("div",F,[h("div",{class:S(["flex gap-4 items-center",{"text-white":t.dark}])},[(a(!0),i(I,null,T(r(d),s=>(a(),i(I,null,[s!=null&&s.link_type&&s.link_type==="external"?(a(),i("a",{key:s.menu_item_title,href:s.url,target:"_blank",rel:"noopener noreferrer nofollow",class:"transition cursor-pointer"},b(s.menu_item_title),9,L)):(a(),y(o,{key:f(s),to:s.page.slug,class:""},{default:C(()=>[G(b(f(s)),1)]),_:2},1032,["to"]))],64))),256))],2)])):k("",!0)}}}),A={class:"pt-8"},U={class:"flex justify-self-start justify-between w-full md:gap-4 md:flex-col lg:flex-row lg:gap-0"},W={class:"sponsor-lists flex items-center gap-4"},O=B({__name:"PostTitleTeam",props:{teamId:{},light:{type:Boolean}},setup(x){const n=x,_=g(()=>n.teamId?j(n.teamId):!1),p=g(()=>n.teamId?D(n.teamId):!1),u=g(()=>{if(n.teamId){const l=E(n.teamId);if(l)return{sponsors:l,title:"Sponsored by",light_or_dark:"light"}}return!1});return(l,m)=>{const d=v,f=z,t=V;return a(),i("div",A,[r(_)?(a(),y(t,{key:0,title:r(_),width:"content","title-class":"text-xl py-4 md:text-2xl",dark:!l.light},{default:C(()=>[h("div",U,[h("div",W,[h("p",{class:S([r(u).light_or_dark==="dark"?"text-primary-500":"text-white","font-normal text-sm opacity-75"])},b(r(u).title),3),(a(!0),i(I,null,T(r(u).sponsors,(e,o)=>(a(),i("div",{key:o,class:"sponsor-list__items"},[e?(a(),y(d,{key:0,config:e,light:l.light},null,8,["config","light"])):k("",!0)]))),128))]),r(p)?(a(),y(f,{key:0,items:r(p),class:S({"text-white":l.light})},null,8,["items","class"])):k("",!0)])]),_:1},8,["title","dark"])):k("",!0)])}}});export{O as _};

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.