PageSourceSearch

https://app.siteboard.io/libs_angular_target_ui-target-link_src_index_ts.dfdeac7821e6ae69.js

js siteboard.io collected 2026-09-28 06:40:02 UTC 4,113 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["libs_angular_target_ui-target-link_src_index_ts"],{32330:(p,r,i)=>{i.r(r),i.d(r,{SonaTargetLinkComponent:()=>n.C});var n=i(84209)},84209:(p,r,i)=>{i.d(r,{C:()=>h});var n=i(7493),e=i(60369),u=i(6618);const g=["*"],m=t=>["/domains",t];function d(t,s){if(1&t){const o=n.RV6();n.j41(0,"a",4),n.bIt("click",function(c){n.eBV(o);const _=n.XpG(2);return n.Njj(!_.disabled()&&c.stopPropagation())}),n.EFF(1),n.k0s()}if(2&t){const o=n.XpG(),a=n.XpG();n.AVh("disabled",a.disabled()),n.Y8G("href",a.disabled()?null:o.url,n.B4B),n.R7$(),n.JRh(o.url)}}function f(t,s){if(1&t){const o=n.RV6();n.j41(0,"a",2),n.bIt("click",function(c){n.eBV(o);const _=n.XpG();return n.Njj(!_.disabled()&&c.stopPropagation())}),n.EFF(1),n.k0s(),n.j41(2,"div",3),n.SdG(3,0,null,d,2,4),n.k0s()}if(2&t){const o=s,a=n.XpG();n.AVh("disabled",a.disabled()),n.Y8G("routerLink",a.disabled()?null:n.eq3(4,m,o.id)),n.R7$(),n.JRh(o.name)}}function l(t,s){1&t&&n.nrm(0,"span",5)(1,"span",6)}let h=(()=>{class t{target=n.hFB.required();disabled=(0,n.hFB)(!1,{transform:n.L39});subtitle=(0,n.hFB)();static \u0275fac=function(a){return new(a||t)};static \u0275cmp=n.VBU({type:t,selectors:[["sona-target-link"]],inputs:{target:[1,"target"],disabled:[1,"disabled"],subtitle:[1,"subtitle"]},ngContentSelectors:g,decls:4,vars:2,consts:[[3,"url"],[1,"tw-flex","tw-flex-col"],[1,"link","tw-font-medium",3,"click","routerLink"],[1,"tw-text-muted-foreground","tw-text-sm"],["target","_blank",1,"link",3,"click","href"],[1,"placeholder","mb-1",2,"width","7rem"],[1,"placeholder",2,"width","10rem"]],template:function(a,c){if(1&a&&(n.NAR(),n.nrm(0,"sona-favicon",0),n.j41(1,"div",1),n.DNE(2,f,5,6)(3,l,2,0),n.k0s()),2&a){let _,C;n.Y8G("url",null==(_=c.target())?null:_.url),n.R7$(2),n.vxM((C=c.target())?2:3,C)}},dependencies:[u.n,e.RouterLink],styles:["[_nghost-%COMP%]{align-items:center;display:flex;gap:1.5rem}a[_ngcontent-%COMP%]{text-decoration:none}"],changeDetection:0})}return t})()},6618:(p,r,i)=>{i.d(r,{n:()=>f});var n=i(14775),e=i(7493),u=i(33940),g=i(13670);function m(l,h){1&l&&e.nrm(0,"div",1)}const d=[16,32,64,128,180,192];let f=(()=>{class l{environment=(0,e.WQX)(g.M);size=(0,e.hFB)(24,{transform:e.Udg});fontSize=(0,e.EWP)(()=>{const t=this.size();return t<=16?t/2:t<=24?.625*t:t<=32?.875*t:t});url=(0,e.hFB)();_faviconLoaded=(0,e.vPA)(!1);_faviconSrc=(0,e.EWP)(()=>{const t=this.url();if(!t)return"/not-found.svg";const s=d.find(o=>o>=this.size())??d.at(-1);return`${this.environment.faviconUrl}/${new URL(t).hostname}/${s}`});constructor(){(0,e.QZP)(()=>{this._faviconSrc(),this._faviconLoaded.set(!1)})}static \u0275fac=function(s){return new(s||l)};static \u0275cmp=e.VBU({type:l,selectors:[["sona-favicon"]],inputs:{size:[1,"size"],url:[1,"url"]},decls:3,vars:10,consts:[[1,"tw-flex","tw-relative"],[1,"tw-absolute","tw-inset-0","placeholder","rounded-1"],["alt","",3,"load","ngSrc","height","width"]],template:function(s,o){1&s&&(e.j41(0,"div",0),e.DNE(1,m,1,0,"div",1),e.j41(2,"img",2),e.bIt("load",function(){return o._faviconLoaded.set(!0)}),e.k0s()()),2&s&&(e.xc7("width",o.size(),"px")("height",o.size(),"px"),e.R7$(),e.vxM(o._faviconLoaded()?-1:1),e.R7$(),e.xc7("--size",o.size(),"px"),e.Y8G("ngSrc",o._faviconSrc())("height",o.size())("width",o.size()))},dependencies:[n.kt,u.TranslateModule],styles:['[_nghost-%COMP%]{display:inline}[_nghost-%COMP%]   img[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%]   img[_ngcontent-%COMP%]:before{background-color:#fff;content:"";display:block;inset:0;position:absolute}[_nghost-%COMP%]   img[_ngcontent-%COMP%]:after{border:.0625rem dashed currentcolor;border-radius:.25rem;content:"?";display:block;font-size:calc(var(--size) * .75);inset:0;line-height:100%;opacity:.4;padding-block:calc(var(--size) * .125);position:absolute;text-align:center}[_nghost-%COMP%]   img.no-image[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]   .placeholder[_ngcontent-%COMP%]{min-height:unset}'],changeDetection:0})}return l})()}}]);
2//# sourceMappingURL=libs_angular_target_ui-target-link_src_index_ts.dfdeac7821e6ae69.js.map

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.