1import{$a as s,Aa as C,Ba as m,L as p,M as g,Ra as w,Sa as D,Sc as O,Ta as b,Wa as y,ab as x,bb as n,da as l,ea as d,la as u,na as h,ob as M,ra as f,sa as r,ta as a,ua as _,ya as v}from"./chunk-BGMYZJCV.js";var I=t=>({transform:t});function R(t,k){if(t&1){let e=v();r(0,"img",2),C("click",function(){p(e);let o=m();return g(o.imageClicked.emit())}),a()}if(t&2){let e=m(),i=b(0);f("alt",i==null?null:i.alternativeText)("ngSrc",e.toRelativeWebp(i.url))("width",e.widthOrDefault())("height",e.heightOrDefault())("loaderParams",y(6,I,e.transform()))("priority",e.priority())}}function T(t,k){t&1&&(r(0,"span",1),_(1,"ion-icon",3),a())}var E=(()=>{class t{image=n.required();transform=n("q_auto:best");width=n();height=n();priority=n("false");imageClicked=x();widthOrDefault=s(()=>{let e=this.width();return e&&e.trim()!==""?e:this.image()?.width?.toString()});heightOrDefault=s(()=>{let e=this.height();return e&&e.trim()!==""?e:this.image()?.height?.toString()});toRelativeWebp(e){return(e.split("/upload/")[1]??"").replace(/\.(jpg|png)$/i,".webp")}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=d({type:t,selectors:[["cmn-responsive-image"]],inputs:{image:[1,"image"],transform:[1,"transform"],width:[1,"width"],height:[1,"height"],priority:[1,"priority"]},outputs:{imageClicked:"imageClicked"},decls:3,vars:2,consts:[[3,"alt","ngSrc","width","height","loaderParams","priority"],[1,"cmn-responsive-image-component__placeholder-icon"],[3,"click","alt","ngSrc","width","height","loaderParams","priority"],["name","image","aria-label","Image indisponible","color","dark"]],template:function(i,o){if(i&1&&(w(0),u(1,R,1,8,"img",0)(2,T,2,0,"span",1)),i&2){let c=D(o.image());l(),h(c&&c.url?1:2)}},dependencies:[O,M],styles:[`@charset "UTF-8";img[_ngcontent-%COMP%]{display:block;margin:0 auto;height:auto}ion-icon[_ngcontent-%COMP%]{font-size:40px}.cmn-responsive-image-component__placeholder-icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.cmn-responsive-image-component__placeholder-icon[_ngcontent-%COMP%]:after{content:"\\274c";position:absolute;top:-4px;left:-4px;font-size:8px;pointer-events:none} 2/*# sourceMappingURL=responsive-image.component-TE6XDRHI.css.map */`],changeDetection:0})}return t})();export{E as a}; 3//# sourceMappingURL=chunk-2FDKGDXT.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.