openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
1 lines • 3.89 kB
JavaScript
import{n as e}from"./rolldown-runtime-CNOWq4Kh.js";import{Oa as t,Qt as n,Xt as r,et as i,ka as a,tt as o}from"./control-ui-connection-Bfj9beF_.js";import{HE as s,KE as c,WE as l,dj as u,mj as d}from"./control-ui-boot-shared-DFTSUQQ0.js";var f,p;function m(){return(m=e((()=>{a(),f={linkReader:{sessionRequired:`Open this link from its session to view the repository.`,cachedPreview:`Cached details`,previewAriaLabel:`Preview: {title}`,newTab:`New reader tab`,openUrl:`Open URL`,moreActions:`Link reader actions`,copyLink:`Copy link`,closeTab:`Close {title}`,tabLimit:`Ten reader tabs are already open. Close a tab or open this item externally.`,invalidUrl:`Enter a URL supported by an enabled link reader.`,image:`Image`,openImage:`Open full-size image`,openImageTitle:`Open full-size image: {title}`,imageUnavailable:`Image unavailable: {title}`,commentPermalink:`Link to this comment`,reviewContext:`Show diff context`,replyContext:`View parent comment`,back:`Back`,forward:`Forward`,refresh:`Refresh item`,refreshingSaved:`Showing previous details · refreshing…`,revisionChanged:`This item changed. Refresh to load matching details.`,sectionRefreshFailed:`Could not refresh {section}. Showing previous details.`,sectionRefreshing:`Showing previous {section} · refreshing…`,sectionLoading:`Loading {section}…`,sectionFailed:`Could not load {section}.`,loadFiles:`Load changed files`,filesOnDemand:`File diffs load when you reach this section.`,close:`Close link reader`,resize:`Resize link reader`,openExternal:`Open on {provider}`,openOriginal:`Open original`,byAuthor:`by {author}`,coAuthors:`Co-authors: {authors}`,description:`Description`,overview:`Overview`,navigation:`Document sections`,discussion:`Discussion`,checks:`Checks`,checksSuccess:`Checks passed`,checksFailure:`Checks failed`,checksPending:`Checks in progress`,checksNeutral:`Checks`,checksUnavailable:`Checks unavailable`,checkSuccess:`Passed`,checkFailure:`Failed`,checkPending:`In progress`,checkNeutral:`Neutral`,checksTruncated:`Some checks could not be shown.`,checksSourceExternal:`View all checks on {provider}`,checksSource:`View all checks`,checksCommit:`Checks for commit {commit}`,filesShort:`Files`,noDescription:`No description provided.`,comments:`Comments`,noComments:`No comments yet.`,files:`Changed files`,noFiles:`No changed files.`,renamedFrom:`Renamed from {filename}`,diffLabel:`Diff for {filename}`,partial:`This view is incomplete. Open the original for the full item.`,bodyTruncated:`This text was shortened.`,commentsTruncated:`Some comments could not be shown. Open the original for the full conversation.`,filesTruncated:`Some files could not be shown. Open the original for the full changes.`,patchTruncated:`This diff was shortened. Open the original for the full patch.`,patchUnavailable:`No text diff available in this view. Open the original to inspect this file.`,unavailableTitle:`Could not load item`,previewUnavailable:`Could not load preview`,previewPullRequest:`PR {reference}`,previewIssue:`Issue {reference}`,unavailable:`Try again or open the original.`,disconnected:`This reader is unavailable on this connection. Reconnect or open the original.`,retry:`Retry`}},p=Object.assign(()=>Object.assign(t.linkReader,f.linkReader),{catalog:f})})))()}function h(e){return e instanceof i?r(e.message,d(`linkReader.unavailable`)):d(`linkReader.unavailable`)}function g(){return(g=e((()=>{o(),n(),u()})))()}function _(e,t){let n=typeof t==`string`?c(t,[e.reader]):null;return n!==null&&l(n)===l(e)}function v(e,t){if(typeof e!=`string`||!e.trim())return;let n=URL.parse(e,t);return n?.protocol===`https:`&&!n.username&&!n.password&&n.origin===URL.parse(t)?.origin?n.href:void 0}var y,b;function x(){return(x=e((()=>{s(),y=`openclaw:link-reader-metadata-updated`,b=`openclaw:link-reader-metadata-request`})))()}export{_ as a,m as c,v as i,p as l,y as n,g as o,x as r,h as s,b as t};