1import{_ as g}from"./DwH2E4Yy.js";import{L as f}from"./rkqKn9aX.js";import{V as y}from"./35TM4mrt.js";import{u as v}from"./DuiFmdnP.js";import{u as b}from"./LpSErJP7.js";import{A as w,r as d,o as k,c as p,aa as r,ab as a,aj as t,a9 as C,u as i,H as V,ae as B,ai as h,ag as L,as as N,am as m}from"./Cqga2mdz.js";import"#entry";import"./Bh4YzkF1.js";const A={class:"bg-gray-50 py-8"},D={class:"container mx-auto px-4"},H={class:"text-sm"},M={key:1,class:"overflow-hidden rounded-lg bg-white shadow"},S={class:"min-w-full divide-y divide-gray-200"},j={class:"divide-y divide-gray-200 bg-white"},E={class:"p-2 text-left text-sm whitespace-nowrap text-gray-900"},F={class:"p-2 text-left text-sm whitespace-nowrap text-gray-900"},I={class:"p-2 whitespace-nowrap"},T={key:2,class:"rounded-lg bg-white p-8 shadow"},Q=w({__name:"charachip-list",setup(W){v({title:"ãã£ã©ãããä¸è¦§"});const{fetchMasterWithCache:u}=b(),l=d(null),n=d(!0);k(async()=>{try{const e=await u("charachip-list","/charachip/list");l.value=e}catch(e){console.error("ãã£ã©ãããä¸è¦§ã®åå¾ã«å¤±æãã¾ãã:",e)}finally{n.value=!1}});const x=p(()=>l.value?.list||[]),c=p(()=>x.value.filter(e=>e.chara_list&&e.chara_list.length>0));return(e,s)=>{const _=g;return a(),r("div",null,[t("section",A,[t("div",D,[s[2]||(s[2]=t("h1",{class:"mb-4 text-xl font-semibold"},"ãã£ã©ãããä¸è¦§",-1)),t("div",H,[i(n)?(a(),C(f,{key:0,message:"ãã£ã©ãããä¸è¦§ãèªã¿è¾¼ã¿ä¸..."})):i(c).length>0?(a(),r("div",M,[t("table",S,[s[0]||(s[0]=t("thead",{class:"bg-gray-50"},[t("tr",null,[t("th",{class:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"}," ãã£ã©ãããå "),t("th",{class:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"}," ä½è
"),t("th",{class:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"}," ä¾ ")])],-1)),t("tbody",j,[(a(!0),r(V,null,B(i(c),o=>(a(),r("tr",{key:o.id},[t("td",E,[h(_,{to:`/charachip?id=${o.id}`,class:"text-blue-600 hover:text-blue-800 hover:underline"},{default:L(()=>[N(m(o.name),1)]),_:2},1032,["to"])]),t("td",F,m(o.designer.name),1),t("td",I,[h(y,{chara:o.chara_list[0]},null,8,["chara"])])]))),128))])])])):(a(),r("div",T,[...s[1]||(s[1]=[t("div",{class:"text-center text-gray-500"},[t("p",null,"ãã£ã©ããããããã¾ãã")],-1)])]))])])])])}}});export{Q 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.