text: "use strict";(self.webpackChunkphoto_mgechev_com=self.webpackChunkphoto_mgechev_com||[]).push([[592],{809:(h,d,a)=>{a.d(d,{m:()=>e});var o=a(865),l=a(19);function s(t,r){if(1&t&&(o.TgZ(0,"div",2),o.TgZ(1,"div",3),o._uU(2,"Loading..."),o.qZA(),o.qZA()),2&t){const i=o.oxw();o.Udp("width",i.width,"px")("height",i.height,"px")}}let e=(()=>{class t{constructor(){this.src="",this.width=0,this.height=0,this.alt="",this.loading=!0}onError(){this.loading=!1}onLoad(){this.loading=!1}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-photo"]],inputs:{src:"src",width:"width",height:"height",alt:"alt"},decls:2,vars:9,consts:[[3,"src","alt","error","load"],["class","placeholder",3,"width","height",4,"ngIf"],[1,"placeholder"],[1,"loader"]],template:function(i,n){1&i&&(o.TgZ(0,"img",0),o.NdJ("error",function(){return n.onError()})("load",function(){return n.onLoad()}),o.qZA(),o.YNc(1,s,3,4,"div",1)),2&i&&(o.Udp("display",n.loading?"none":"block")("width",n.width,"px")("height",n.height,"px"),o.Q6J("src",n.src,o.LSH)("alt",n.alt),o.xp6(1),o.Q6J("ngIf",n.loading))},directives:[l.O5],styles:['[_nghost-%COMP%]{display:inline-block}.loader[_ngcontent-%COMP%], .loader[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%]:after{border-radius:50%;width:2.5em;height:2.5em;animation-fill-mode:both;animation:load7 1.8s infinite ease-in-out}.loader[_ngcontent-%COMP%]{color:#fff;font-size:10px;margin:80px auto;position:relative;text-indent:-9999em;transform:translateZ(0);animation-delay:-.16s}.loader[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0}.loader[_ngcontent-%COMP%]:before{left:-3.5em;animation-delay:-.32s}.loader[_ngcontent-%COMP%]:after{left:3.5em}@keyframes load7{0%,80%,to{box-shadow:0 2.5em 0 -1.3em}40%{box-shadow:0 2.5em}}'],changeDetection:0}),t})()},618:(h,d,a)=>{a.d(d,{K:()=>s});var o=a(19),l=a(865);let s=(()=>{class e{}return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=l.oAB({type:e}),e.\u0275inj=l.cJS({imports:[[o.ez]]}),e})()}}]);