PageSourceSearch

https://www.sheetandbookstore.com/_nuxt/DNAEQuzn.js

js sheetandbookstore.com collected 2026-10-07 23:17:50 UTC 2,204 bytes, 1 lines download raw bytes

1import{d as L,a as x,b7 as _,b8 as A,b9 as T,m as P,ba as S,a4 as B,c as s,o as M,e as R,w as E,ai as f,q as w,f as z,bb as F,a0 as O,bc as $,bd as N,be as V,F as j}from"#entry";const D=L({__name:"Link",props:{text:{},to:{},target:{},variant:{},iconLeft:{},iconRight:{},typoStyle:{},isModalPopup:{type:Boolean},modalConfig:{},isAllowTrack:{type:Boolean,default:void 0},trackEvent:{},trackCategory:{},trackLabel:{},trackValue:{},trackCustom:{}},setup(p){const e=p,n=x(()=>e,"Element","Link"),o=_(()=>e.to),d=A(),c=T(),{open:k}=P(),v=S(),{trackEvent:u}=B(),l=t=>{if(typeof t=="number")return String(t);if(typeof t=="string"){const r=t.trim();return r.length?r:void 0}},m=t=>{if(!t)return"Open link";const r=t.trim();return r?`Open link: ${r}`:"Open link"},i=t=>{if(t){if(typeof t=="string"||typeof t=="number")return l(t);if(Array.isArray(t)){for(const r of t){const a=i(r);if(a)return a}return}if(typeof t=="object"&&t.type!==N){if(t.type===V)return l(t.children);if(t.type===j&&Array.isArray(t.children))return i(t.children);if(typeof t.children=="string"||typeof t.children=="number")return l(t.children);if(Array.isArray(t.children))return i(t.children)}}},y=s(()=>!!(i(c.text?.())||i(c.default?.()))),g=s(()=>{const t=l(d["aria-label"]);if(t)return t;if(!y.value)return m(o.value)}),b=s(()=>{if(e.isModalPopup)return{class:[n.value?.typoStyle,n.value.variant,n.value.size,{"cursor-pointer":!0}]};let t=o.value?$(o.value,v):"";return{to:t,target:e.target?e.target:"","aria-label":g.value,class:[n.value?.typoStyle,n.value?.variant,t?"cursor-pointer":"cursor-default"]}}),h=t=>{if(n.value.isAllowTrack){if(e.trackEvent&&e.trackCategory&&e.trackLabel)u({event:e.trackEvent,category:e.trackCategory,label:e.trackLabel,value:e.trackValue,...e.trackCustom});else if(o.value){const{type:r,category:a}=F(o.value);r&&a&&u({event:"generate_lead",category:a,label:r,value:1})}}if(e.isModalPopup&&(t.preventDefault(),t.stopPropagation(),e.modalConfig)){k(e.modalConfig.kind,e.modalConfig.props,e.modalConfig.options);return}};return(t,r)=>{const a=O;return M(),R(a,w(z(b),{class:"element-link",onClick:r[0]||(r[0]=C=>h(C))}),{default:E(()=>[f(t.$slots,"text"),f(t.$slots,"default")]),_:3},16)}}});export{D as _};

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.