PageSourceSearch

https://taide.art/static/AccordionTitleToolbar-Dy8st3rW.js

js taide.art collected 2026-10-02 22:08:55 UTC 2,584 bytes, 1 lines download raw bytes

1import{a0 as c,x as r,v as i,y as s,a3 as a,ad as o,w as m,$ as f}from"./vue-WuHqyJOJ.js";import{a as _}from"./maps-DUMK4Hs6.js";import"./photoswipe-DBz4ixLY.js";const d={class:"accordion-title-toolbar title"},u={class:"tool-head"},g={class:"tool-image-shortname","aria-hidden":"true"},k=["src"],N=["href","title","target"],p={key:2,class:"title"},y=["href","title","target"],S={key:1},B={key:0,class:"tool-links"},U=["href","title","target"];function v(e,l,h,L,b,t){const n=c("icon-open-in-new");return r(),i("div",d,[s("div",u,[s("div",g,[t.imageSrc?(r(),i("img",{key:0,src:t.imageSrc,alt:""},null,8,k)):a("",!0),t.href?(r(),i("a",{key:1,class:"title",href:t.href,title:t.shortName,rel:"noreferrer",target:t.toolName},o(t.shortName),9,N)):(r(),i("h3",p,o(t.shortName),1))]),t.href?(r(),i("a",{key:0,class:"tool-name",href:t.href,title:t.toolScopeName,rel:"noreferrer",target:t.toolName},o(t.toolScopeName),9,y)):t.toolScopeName?(r(),i("h4",S,o(t.toolScopeName),1)):a("",!0),m(e.$slots,"default",{},void 0,!0)]),t.href?(r(),i("div",B,[s("a",{class:"tool-link",href:t.href,title:t.toolName,rel:"noreferrer",target:`${t.toolName}${h.item&&h.item.Id}`},[f(n,{title:t.toolName,"aria-hidden":"true"},null,8,["title"])],8,U)])):a("",!0)])}const I={name:"accordion-title-toolbar",props:{item:{type:Object,required:!0},externalLink:{type:Boolean,default:!0}},computed:{shortName:function(){return this.toolName&&this.toolName.replace("Muusa.","")},toolName:function(){return this.item&&(this.item.ToolName||this.item.Name)},toolScopeName:function(){return this.item&&this.item.ToolScopeName},imageSrc:function(){if(this.item&&this.item._links&&(this.item._links.toolLogoImageUrl||this.item._links.toolLogoImage)){const e=this.item._links.toolLogoImageUrl||this.item._links.toolLogoImage.href;return!e||typeof e!="string"?"":e.startsWith("http")?e:`${this.$helpers.getBaseUrl()}${e.startsWith("/")?e:`/${e}`}`}return""},href:function(){if(!this.externalLink||!this.item||!this.item._links)return!1;if(this.item._links.toolUrl||this.item._links.tool){const e=this.item._links.toolUrl||this.item._links.tool.href;return!e||typeof e!="string"?"":e.startsWith("http")?e:`${this.$helpers.getBaseUrl()}${e.startsWith("/")?e:`/${e}`}`}if(this.item._links.resource_path==="workspaces"){const e=`/curate/${this.item._links.id}/`;return`${this.$helpers.getBaseUrl()}${e}`}if(this.item._links.resource_path==="filelibraries"){const e=`/filemanager/${this.item._links.id}/`;return`${this.$helpers.getBaseUrl()}${e}`}return""}}},W=_(I,[["render",v],["__scopeId","data-v-7f5fc2a4"]]);export{W 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.