PageSourceSearch

https://www.trojan-unicorn.com/assets/controllers/mention_preview_…0ac1fc7dbdd0612c99e68382803e27e49ce63437.js

js trojan-unicorn.com collected 2026-10-02 05:55:01 UTC 828 bytes, 1 lines download raw bytes

1import HoverPreviewController from"controllers/hover_preview_controller";export default class extends HoverPreviewController{static values={theme:{type:String,default:"mention-preview"}};get contextColors(){const e=getComputedStyle(this.element);return{bg:e.getPropertyValue("--thu-color-surface-2").trim(),text:e.getPropertyValue("--thu-color-text-primary").trim(),border:e.getPropertyValue("--thu-color-surface-3").trim()}}get extraTippyOptions(){const{bg:e,text:t,border:r}=this.contextColors;return{maxWidth:340,onCreate:o=>{const i=o.popper.firstElementChild;e&&i.style.setProperty("--mention-preview-bg",e),t&&i.style.setProperty("--mention-preview-text",t),r&&i.style.setProperty("--mention-preview-border",r)}}}get fallbackContent(){return'<div class="mention-preview mention-preview--error">Preview unavailable</div>'}}

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.