PageSourceSearch

https://engate.jp/_assets/CQjbcFum.js

js engate.jp collected 2026-10-02 06:19:57 UTC 2,383 bytes, 1 lines download raw bytes

1import{a as y}from"./BaH6CAb2.js";import{s as w}from"./B5ayyl4Y.js";import{t as v}from"./DxvMOv2V.js";import{d as b,c,m as r,t as d,u as l,F as S,q as k,b as g,o as i,D,g as F,k as $,e as C,aq as L,J as T,V,h as B,z as _,a as H,r as z,s as h}from"./BgwL-FNm.js";import{u as A}from"./Be_DmCnm.js";import"./BBYZjxun.js";const E={class:"bg-white"},M={class:"border-grey-bc border-b p-6"},U={class:"mb-2 text-[15px] font-bold"},j={class:"flex items-center justify-start"},q={class:"text-grey-95 text-[10px] font-bold"},I={class:"p-6 text-[14px] break-words"},N=["innerHTML"],O={key:1},J=["href"],P=b({__name:"FeedDetail",props:{feed:{}},setup(a){function u(e,n=""){if(!e)return"";if(e.includes("iframe"))return e;let t=!1;if(e.includes("youtube")?t=e.includes("embed")||e.includes("watch?")||e.includes("shorts/"):(e.includes("youtu.be")||e.includes("vimeo.com"))&&(t=!0),!t)return"";const s=v(e);return s?`<div class="relative w-full pt-wide-screen mt-6"><iframe src="${s}" frameborder="0" allow="accelerometer; encrypted-media; picture-in-picture" allowfullscreen class="${n}"></iframe></div>`:""}function o(e){const n=/<figure class="media"><oembed url="([^"]+)"><\/oembed><\/figure>/g,t=e.replace(n,(s,f)=>`<div class="mb-6">${u(f,"absolute top-0 left-0 w-full h-full")}</div>`);return w(t)}return(e,n)=>(i(),c("article",E,[r("div",M,[r("h2",U,d(a.feed.title),1),r("div",j,[r("time",q,d(l(y)(a.feed.started_at)),1),(i(!0),c(S,null,k(a.feed.tags,(t,s)=>(i(),c("span",{key:s,class:"mx-2 rounded px-2 py-1 text-[10px] font-bold text-white",style:D({backgroundColor:t.color})},d(t.name),5))),128))])]),r("section",I,[a.feed.content?(i(),c("div",{key:0,innerHTML:o(String(a.feed.content))},null,8,N)):a.feed.url?(i(),c("p",O,[r("a",{href:a.feed.url},d(a.feed.url),9,J)])):g("",!0)])]))}}),R=Object.assign(P,{__name:"FeedsFeedDetail"}),Z=b({__name:"[id]",setup(a){const u=F(),o=$(),e=C(),n=L(),t=T(),s=z(null),f=h(()=>s.value?.title??"お知らせ");return A({title:"お知らせ"}),V({title:h(()=>`${f.value} | エンゲート`)}),B(async()=>{o.start();try{const p=u.params.id,m=await t.get(`/feeds/${p}`);if(!m?.id){o.stop(),await _("/feeds/");return}s.value=m}catch{o.stop(),await _("/feeds/");return}finally{e.isAuthenticated&&n.fetchDrawerData(),o.stop()}}),(p,m)=>{const x=R;return!l(o).isLoading&&l(s)?(i(),H(x,{key:0,feed:l(s)},null,8,["feed"])):g("",!0)}}});export{Z 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.