1import{a as T}from"./chunk-5HSEDEQP.js";import{a as H}from"./chunk-5I6HKKJD.js";import"./chunk-4D6CHN26.js";import"./chunk-LPGHQ4JX.js";import"./chunk-L2LVDH4H.js";import"./chunk-7SY5SJP4.js";import{_ as S}from"./chunk-YNKQPWSP.js";import"./chunk-4EY2W66C.js";import"./chunk-ZR73OBID.js";import{c as k,d as P}from"./chunk-I6MU6NBI.js";import"./chunk-PSSDY2AS.js";import"./chunk-EDUWHTNJ.js";import"./chunk-6R4CBI6E.js";import"./chunk-ZEH2WMTB.js";import"./chunk-3H2GI3MM.js";import{$c as C,Dd as w,Jb as f,Jd as z,Mc as c,Ob as v,Yc as y,jc as d,jd as I,lb as g,lc as p,mb as h,mc as _,oc as x,pc as b,qb as o,qc as a,rc as l,sc as r,tc as m,xa as u}from"./chunk-N4XFLIUN.js";import"./chunk-DIH54OSL.js";function D(i,s){if(i&1&&m(0,"ukr-gif-picture",10),i&2){let t=c(2).$implicit;a("image",t)}}function $(i,s){if(i&1&&(l(0,"picture"),m(1,"source",11)(2,"source",12)(3,"img",13),r()),i&2){let t=c(2),e=t.$implicit,n=t.$index;o(),a("srcset",e.optimizedImages==null?null:e.optimizedImages.srcsetWebp),o(),a("srcset",e.optimizedImages==null?null:e.optimizedImages.srcset)("type",e.mimeType),o(),y("one",n===0)("two",n===1)("three",n===2),a("width",e.optimizedImages==null?null:e.optimizedImages.placeholderWidth)("height",e.optimizedImages==null?null:e.optimizedImages.placeholderHeight)("src",e.url,h)("alt",e.alt??"")}}function F(i,s){if(i&1&&d(0,D,1,1,"ukr-gif-picture",10)(1,$,4,13,"picture"),i&2){let t=c(),e=t.$implicit,n=t.$index;p(n===0&&(e==null?null:e.mimeType)==="image/gif"?0:1)}}function M(i,s){if(i&1&&d(0,F,2,1),i&2){let t=s.$implicit;p(t?0:-1)}}function L(i,s){if(i&1&&(l(0,"div",2)(1,"div",9),x(2,M,1,1,null,null,_),r()()),i&2){let t=c();o(2),b(t.stackedImages())}}var W=(()=>{class i{constructor(){this.data=z.required({transform:t=>t}),this.stackedImages=w(()=>this.data().image.reduce((t,e)=>{if(!e)return t;for(;t.length<3;)e&&t.push(e);return t},[]))}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=f({type:i,selectors:[["ukr-publications-slider-item"]],hostAttrs:["role","listitem",1,"relative","max-w-xs","lg:max-w-md","pt-4","pb-12","text-center","grid","items-center"],inputs:{data:[1,"data"]},features:[I([k()]),v([T])],decls:10,vars:4,consts:[[1,"peer/publication","drag-none","absolute","inset-0","z-10",3,"routerLink"],[1,"sr-only"],[1,"stacked-cover","px-8"],[1,"ease-smooth","translate-y-4","px-4","text-center","transition","peer-hover/publication:translate-y-0","peer-focus-visible/publication:translate-y-0"],[1,"heading-xs","mb-1",3,"dynamicHeading"],[1,"line-clamp-4","max-sm:hyphens-auto",3,"innerHTML"],[1,"text-blue","absolute","inset-x-8","bottom-0","h-10","origin-bottom","scale-y-0","transition-transform","peer-hover/publication:scale-y-100","peer-focus-visible/publication:scale-y-100","lg:h-12"],["width","2","height","1","viewBox","0 0 2 1","preserveAspectRatio","none","aria-hidden","true","fill","currentColor",1,"h-full","w-full"],["d","M0 1l1-1 1 1z"],[1,"relative","mb-4","aspect-square","w-full","place-items-center","lg:max-h-[60vh]","lg:min-w-80"],["imgClass","cover ease-smooth absolute left-1/2 top-1/2 inline-block h-full max-h-max w-auto -translate-x-1/2 -translate-y-1/2 overflow-clip object-contain shadow-lg one","sizes","(min-width: 1040px) 28rem, 20rem","loading","lazy",3,"image"],["type","image/webp",3,"srcset"],[3,"srcset","type"],["loading","lazy","sizes","(min-width: 1040px) 28rem, 20rem",1,"cover","ease-smooth","absolute","left-1/2","top-1/2","inline-block","h-full","max-h-max","w-auto","-translate-x-1/2","-translate-y-1/2","overflow-clip","object-contain","shadow-lg",3,"width","height","src","alt"]],template:function(e,n){e&1&&(l(0,"a",0)(1,"span",1),C(2,"Open Publication"),r()(),d(3,L,4,0,"div",2),l(4,"div",3),m(5,"div",4)(6,"div",5),r(),l(7,"div",6),u(),l(8,"svg",7),m(9,"path",8),r()()),e&2&&(a("routerLink",n.data().relativeUrl),o(3),p(n.stackedImages().length?3:-1),o(2),a("dynamicHeading",n.data().heading??n.data().title),o(),a("innerHTML",n.data().description,g))},dependencies:[S,P,H],encapsulation:2})}}return i})();export{W as PublicationsSliderItemComponent}; 2//# sourceMappingURL=chunk-X7PEEKCX.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.