1import{a as M}from"./chunk-G2GM7TAC.js";import{a as D}from"./chunk-YOPNDY35.js";import{Ac as d,Cb as _,Jc as w,Qb as s,Rb as m,Rc as k,Sc as z,Ub as C,Vb as y,Wb as p,Xb as r,Yb as c,Zb as S,cd as l,fb as x,ib as a,lc as f,yc as v,zb as b,zc as u}from"./chunk-WMTH6GEB.js";var P=D.filter(e=>e.startsWith("social-icon-")),T=[{platform:"youtube",regex:/(?:youtube\.com|youtu\.be)/i},{platform:"whatsapp",regex:/(?:whatsapp\.com|wa\.me)/i},{platform:"twitter",regex:/(?:twitter\.com|x\.com)/i},{platform:"tumblr",regex:/(?:tumblr\.com)/i},{platform:"tiktok",regex:/(?:tiktok\.com)/i},{platform:"spotify",regex:/(?:spotify\.com|spoti\.fi)/i},{platform:"soundcloud",regex:/(?:soundcloud\.com)/i},{platform:"medium",regex:/(?:medium\.com)/i},{platform:"instagram",regex:/(?:instagram\.com|instagr\.am)/i},{platform:"flickr",regex:/(?:flickr\.com)/i},{platform:"facebook",regex:/(?:facebook\.com|fb\.com)/i},{platform:"facebook-chat",regex:/(?:messenger\.com|fb\.me)/i},{platform:"discord",regex:/(?:discord\.com|discordapp\.com|discord\.gg)/i},{platform:"deezer",regex:/(?:deezer\.com|deezer\.page\.link)/i},{platform:"itunes",regex:/(?:music\.apple\.com|apple\.co)/i}];function I(e){let t=T.find(n=>n.regex.test(e));return t&&P.find(n=>n.includes(t.platform))||"social-icon-website"}var F=(()=>{let t=class t{transform(i,...o){return I(i||"")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275pipe=_({name:"socialIcon",type:t,pure:!0});let e=t;return e})();var B=(e,t)=>t.id;function E(e,t){e&1&&(r(0,"h3",1),u(1),c()),e&2&&(a(),d(t))}function N(e,t){if(e&1&&S(0,"fstr-icon",6),e&2){let n=f().$implicit;p("anchor",t)("title",n.title)}}function O(e,t){if(e&1&&(r(0,"li",3)(1,"a",4)(2,"span",5),u(3),c(),s(4,N,1,2,"fstr-icon",6),k(5,"socialIcon"),c()()),e&2){let n,i=t.$implicit,o=f();a(),v(w("button button-link button--light button--",o.buttonSize()," px-0")),p("href",i.url,x),a(2),d(i.title),a(),m((n=i.icon||z(5,6,i.url))?4:-1,n)}}var J=(()=>{let t=class t{constructor(){this.channels=l([]),this.title=l(),this.buttonSize=l("sm")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=b({type:t,selectors:[["app-social-channel-buttons"]],inputs:{channels:[1,"channels"],title:[1,"title"],buttonSize:[1,"buttonSize"]},decls:5,vars:1,consts:[[1,"social-channel"],[1,"social-channel__title","text-on-surface"],[1,"follow-button-list"],[1,"follow-button-list__item"],["target","_blank",3,"href"],[1,"sr-only"],[3,"anchor","title"]],template:function(o,g){if(o&1&&(r(0,"aside",0),s(1,E,2,1,"h3",1),r(2,"ul",2),C(3,O,6,8,"li",3,B),c()()),o&2){let h;a(),m((h=g.title())?1:-1,h),a(2),y(g.channels())}},dependencies:[M,F],styles:[`.follow-button-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:var(--social-channel-spacer, .5ex)}.social-channel__title[_ngcontent-%COMP%]{margin-bottom:0;font-size:var(--social-channel-title-font-size, 1.25rem)} 2/*# sourceMappingURL=social-channel-buttons.component-COSUDF54.css.map */`],changeDetection:0});let e=t;return e})();export{F as a,J as b}; 3//# sourceMappingURL=chunk-XVQ37OVK.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.