!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="28f21060-867d-505a-8120-0b74224da4bc")}catch(e){}}(); import{m as B,c as i,o as r,a as n,x as m,L,M as k,d as P,g,b as A,e as C,u as c,w as R,j as u,t as h,h as S,_ as E,N as _,B as b}from"#entry";const $={viewBox:"0 0 256 256",width:"1em",height:"1em"};function M(s,e){return r(),i("svg",,ドル[...e[0]||(e[0]=[n("path",{fill:"currentColor",d:"M200 64v104a8 8 0 0 1-16 0V83.31L69.66 197.66a8 8 0 0 1-11.32-11.32L172.69 72H88a8 8 0 0 1 0-16h104a8 8 0 0 1 8 8"},null,-1)])])}const O=B({name:"ph-arrow-up-right",render:M});function X(){const s=v();async function e(a){await Promise.all(a.map(t=>s.logo(t)).filter(Boolean).map(t=>k(t)))}return{preloadLogos:e}}function v(){const{locale:s}=m(),e=L(s.value),a={active:"Active",ipo:"IPO",ma:"M&A"},t={ad:"Ad","agritech-foodtech":"AgriTech/FoodTech",ai:"AI",blockchain:"Blockchain","cloud-saas":"Cloud/SaaS",commerce:"Commerce","climate-tech":"Climate Tech",cybersecurity:"Cybersecurity",education:"Education","electronics-and-photonics":"Electronics and Photonics",energy:"Energy",enterprise:"Enterprise","entertainment-tech":"Entertainment Tech",fintech:"FinTech",game:"Game","hr-tech":"HR Tech",iot:"IoT","lifescience-healthcare":"Life Science/Healthcare",materials:"Materials",media:"Media",mobility:"Mobility","quantum-computing":"Quantum Computing","realestate-tech":"Real Estate Tech",robotics:"Robotics",space:"Space","travel-tech":"Travel Tech","xr-metaverse":"XR/Metaverse"},l={africa:"Africa",asia:"Asia",europe:"Europe",japan:"Japan","north-america":"North America"};function d(o){return o[`name${e}`]??o.nameJa}function p(o){const f=o[`logo${e}`]??o.logoJa??null;return f?`/strapi${f}`:null}function T(o){return o.status?a[o.status]:null}function y(o){return o.sector?t[o.sector]:null}function w(o){return o.region?l[o.region]:null}function x(o){return o[`website${e}`]??o.websiteJa??null}return{StatusTextDict:a,SectorTextDict:t,RegionTextDict:l,name:d,logo:p,statusText:T,sectorText:y,regionText:w,website:x}}const F={class:"base"},I={class:"logo"},N=["src"],U={class:"cover"},D={class:"header"},J={class:"name"},V={class:"arrow"},j={class:"tags"},G={key:0,class:"tag"},H={key:1,class:"tag"},q={key:0,class:"status"},z=P({__name:"PortfolioThumbnail",props:{portfolio:{},showStatus:{type:Boolean}},setup(s){const e=s,a=v(),t=g(()=>({status:e.portfolio.status,name:a.name(e.portfolio),logo:a.logo(e.portfolio),sector:a.sectorText(e.portfolio),region:a.regionText(e.portfolio),website:a.website(e.portfolio)}));return(l,d)=>{const p=C;return r(),A(p,{class:"PortfolioThumbnail",href:c(t).website??void 0},{default:R(()=>[n("div",F,[n("div",I,[c(t).logo?(r(),i("img",{key:0,class:"img",src:c(t).logo},null,8,N)):u("",!0)])]),n("div",U,[n("div",D,[n("p",J,h(c(t).name),1),n("div",V,[S(c(O),{class:"arrow-svg"})])]),n("ul",j,[c(t).sector?(r(),i("li",G,"# "+h(c(t).sector),1)):u("",!0),c(t).region?(r(),i("li",H,"# "+h(c(t).region),1)):u("",!0)])]),s.showStatus&&c(t).status!=="active"?(r(),i("div",q,h(c(a).statusText(e.portfolio)),1)):u("",!0)]),_:1},8,["href"])}}}),K=Object.assign(E(z,[["__scopeId","data-v-8b0edbf0"]]),{__name:"PortfolioThumbnail"});async function W(){const{public:s}=_(),{locale:e}=m();return(await b("/api/portfolios",{baseURL:s.centreBaseUrl,headers:g(()=>({"Accept-Language":e.value}))},"$GtykpnuGlr")).data.value.data}async function Y(s,e){const{public:a}=_(),{locale:t}=m();return(await b(`/api/portfolios-by-status-page/${s}`,{baseURL:a.centreBaseUrl,headers:g(()=>({"Accept-Language":t.value})),query:{page:e.page,perPage:e.perPage}},"0ドルp7rnLkfcB")).data.value}export{K as _,X as a,Y as b,W as u}; //# sourceMappingURL=CctsQnxl.js.map //# debugId=28f21060-867d-505a-8120-0b74224da4bc