PageSourceSearch

https://www.high-availability.com/chunk-DJ3EJGH7.js

js high-availability.com collected 2026-10-04 11:18:45 UTC 80,648 bytes, 10 lines download raw bytes

1import{c as Qe,d as qe,f as be,g as Ze}from"./chunk-MLMGL4QO.js";import{e as Pt,f as Et}from"./chunk-L3IO4EE5.js";import"./chunk-DBG5SCYC.js";import{$ as Rt,a as Dt,b as ve,c as At,e as Ce,f as xe,ua as kt,v as Je}from"./chunk-UE4Y2RQ2.js";import{$ as y,$a as R,Aa as c,C as He,Cc as Ot,D as Ne,Ea as v,F as at,Fa as ft,Fb as Ue,G as ct,Ga as I,H as gt,Hb as wt,I as ht,Ia as d,Kb as L,Lb as j,Mb as $,N as Fe,Na as x,O as A,Oa as _t,P as Be,Pa as yt,Q as ut,R as q,U as Le,Ua as o,V as dt,Va as h,W as mt,Wa as u,Wb as f,X as pt,Xa as p,Xb as W,Y as ue,Ya as bt,Za as vt,a as C,aa as b,ab as k,b as Y,bb as re,bc as J,cb as z,cc as D,d as ot,da as je,dc as me,ea as m,eb as _,ec as pe,f as ee,fa as N,fc as Tt,g as G,gb as a,h as te,hb as Ct,hc as fe,ib as xt,ic as _e,j as Re,ja as T,jb as It,jc as V,k as ge,kb as se,la as E,lb as M,m as he,ma as $e,mb as O,o as ke,p as ie,q as lt,qb as B,r as Ve,ra as F,rb as de,sa as We,sb as oe,sc as zt,ta as Ye,tc as Mt,ua as g,ub as Z,uc as ye,v as U,vb as St,x as Ge,xa as ne,z as Q}from"./chunk-AYEUV2DD.js";function ti(t,r){if(t&1){let e=z();h(0,"div",1),_("click",function(){let n=y(e).index,s=a();return b(s.config.disableBullets?null:s.gallery.ref(s.galleryId).set(n))}),p(1,"div",2),u()}if(t&2){let e=r.index,i=a();de("width",i.config==null?null:i.config.bulletSize,"px")("height",i.config==null?null:i.config.bulletSize,"px"),oe("g-bullet-active",e===i.state.currIndex)}}function ii(t,r){if(t&1){let e=z();h(0,"i",2),_("click",function(){y(e);let n=a();return b(n.gallery.ref(n.id).prev(n.config.scrollBehavior))}),u()}if(t&2){let e=a();o("innerHtml",e.navIcon,F)}}function ni(t,r){if(t&1){let e=z();h(0,"i",3),_("click",function(){y(e);let n=a();return b(n.gallery.ref(n.id).next(n.config.scrollBehavior))}),u()}if(t&2){let e=a();o("innerHtml",e.navIcon,F)}}var ri=["iframe"];function si(t,r){if(t&1&&p(0,"iframe",3,1),t&2){let e=a();o("src",e.iframeSrc,Ye),x("loading",e.loadingAttr)}}function oi(t,r){if(t&1&&p(0,"iframe",4,1),t&2){let e=a();o("src",e.iframeSrc,Ye),x("loading",e.loadingAttr)}}var li=["video"];function ai(t,r){if(t&1&&p(0,"source",5),t&2){let e=a().$implicit;o("src",e==null?null:e.url)("type",e.type)}}function ci(t,r){if(t&1&&p(0,"source",6),t&2){let e=a().$implicit;o("src",e==null?null:e.url)}}function gi(t,r){if(t&1&&(R(0),d(1,ai,1,2,"source",4)(2,ci,1,1,"ng-template",null,1,$),k()),t&2){let e=r.$implicit,i=B(3);g(),o("ngIf",e==null?null:e.type)("ngIfElse",i)}}function hi(t,r){if(t&1){let e=z();R(0),h(1,"img",8),_("load",function(){y(e);let n=a();return b(n.state="success")})("error",function(n){y(e);let s=a();return s.state="failed",b(s.error.emit(n))}),u(),k()}if(t&2){let e=a();g(),de("visibility",e.state==="success"?"visible":"hidden"),o("@fadeIn",e.state)("src",e.src,We),x("alt",e.alt)("loading",e.loadingAttr)}}function ui(t,r){if(t&1){let e=z();h(0,"img",9),_("load",function(){y(e);let n=a();return b(n.state="success")})("error",function(n){y(e);let s=a();return s.state="failed",b(s.error.emit(n))}),u()}if(t&2){let e=a();de("visibility",e.state==="success"?"visible":"hidden"),o("galleryImage",e.index)("@fadeIn",e.state)("src",e.src,We),x("alt",e.alt)("loading",e.loadingAttr)}}function di(t,r){if(t&1&&p(0,"div",12),t&2){let e=a(2);o("innerHTML",e.errorTemplate,F)}}function mi(t,r){if(t&1&&(R(0),h(1,"h4"),p(2,"div",13),u(),k()),t&2){let e=a(3);g(2),o("innerHTML",e.errorSvg,F)}}function pi(t,r){if(t&1&&(h(0,"h2"),p(1,"div",14),u(),h(2,"p"),Z(3,"Unable to load the image!"),u()),t&2){let e=a(3);g(),o("innerHTML",e.errorSvg,F)}}function fi(t,r){if(t&1&&d(0,mi,3,1,"ng-container",5)(1,pi,4,1,"ng-template",null,2,$),t&2){let e=B(2),i=a(2);o("ngIf",i.isThumbnail)("ngIfElse",e)}}function _i(t,r){if(t&1&&(h(0,"div",10),d(1,di,1,1,"div",11)(2,fi,3,2,"ng-template",null,1,$),u()),t&2){let e=B(3),i=a();g(),o("ngIf",i.errorTemplate)("ngIfElse",e)}}function yi(t,r){if(t&1&&p(0,"div",16),t&2){let e=a(2);o("innerHTML",e.loaderTemplate,F)}}function bi(t,r){t&1&&p(0,"div",18)}function vi(t,r){if(t&1&&d(0,bi,1,0,"div",17),t&2){let e=a(2);o("ngIf",e.isThumbnail)}}
1function Ci(t,r){if(t&1&&(R(0),d(1,yi,1,1,"div",15)(2,vi,1,1,"ng-template",null,3,$),k()),t&2){let e=B(3),i=a();g(),o("ngIf",i.loaderTemplate)("ngIfElse",e)}}function xi(t,r){t&1&&re(0)}function Ii(t,r){if(t&1&&(h(0,"div",9),d(1,xi,1,0,"ng-container",10),u()),t&2){let e=a(3);g(),o("ngTemplateOutlet",e.config.imageTemplate)("ngTemplateOutletContext",e.imageContext)}}function Si(t,r){if(t&1){let e=z();R(0),h(1,"gallery-image",7),_("error",function(n){y(e);let s=a(2);return b(s.error.emit(n))}),u(),d(2,Ii,2,2,"div",8),k()}if(t&2){let e=a(2);g(),o("src",e.imageData.src)("alt",e.imageData.alt)("index",e.index)("loadingAttr",e.config.loadingAttr)("loadingIcon",e.config.loadingIcon)("loadingError",e.config.loadingError),g(),o("ngIf",e.config.imageTemplate)}}function wi(t,r){if(t&1){let e=z();h(0,"gallery-video",11),_("error",function(n){y(e);let s=a(2);return b(s.error.emit(n))}),u()}if(t&2){let e=a(2);o("src",e.videoData.src)("mute",e.videoData.mute)("poster",e.videoData.poster)("controls",e.videoData.controls)("controlsList",e.videoData.controlsList)("disablePictureInPicture",e.videoData.disablePictureInPicture)("play",e.isAutoPlay)("pause",e.currIndex!==e.index)}}function Ti(t,r){if(t&1&&p(0,"gallery-iframe",12),t&2){let e=a(2);o("src",e.youtubeSrc)("autoplay",e.isAutoPlay)("loadingAttr",e.config.loadingAttr)("pause",e.currIndex!==e.index)}}function zi(t,r){if(t&1&&p(0,"gallery-iframe",12),t&2){let e=a(2);o("src",e.vimeoSrc)("autoplay",e.isAutoPlay)("loadingAttr",e.config.loadingAttr)("pause",e.currIndex!==e.index)}}function Mi(t,r){if(t&1&&p(0,"gallery-iframe",13),t&2){let e=a(2);o("src",e.data.src)("loadingAttr",e.config.loadingAttr)}}function Oi(t,r){t&1&&re(0)}function Pi(t,r){if(t&1&&(h(0,"div",9),d(1,Oi,1,0,"ng-container",10),u()),t&2){let e=a(3);g(),o("ngTemplateOutlet",e.config.itemTemplate)("ngTemplateOutletContext",e.itemContext)}}function Ei(t,r){if(t&1&&(R(0),d(1,Pi,2,2,"div",8),k()),t&2){let e=a(2);g(),o("ngIf",e.config.itemTemplate)}}function Di(t,r){if(t&1&&(R(0,1),d(1,Si,3,7,"ng-container",2)(2,wi,1,8,"gallery-video",3)(3,Ti,1,4,"gallery-iframe",4)(4,zi,1,4,"gallery-iframe",4)(5,Mi,1,2,"gallery-iframe",5)(6,Ei,2,1,"ng-container",6),k()),t&2){let e=a();o("ngSwitch",e.type),g(),o("ngSwitchCase",e.Types.Image),g(),o("ngSwitchCase",e.Types.Video),g(),o("ngSwitchCase",e.Types.Youtube),g(),o("ngSwitchCase",e.Types.Vimeo),g(),o("ngSwitchCase",e.Types.Iframe)}}var Nt=["slider"],Ai=["*"];function Ri(t,r){if(t&1){let e=z();h(0,"gallery-item",5),_("activeIndexChange",function(n){y(e);let s=a();return b(s.onActiveIndexChange(n))})("click",function(){let n=y(e).index,s=a();return b(s.itemClick.emit(n))})("error",function(n){let s=y(e).index,l=a();return b(l.error.emit({itemIndex:s,error:n}))}),u()}if(t&2){let e=r.$implicit,i=r.index,n=a();o("type",e.type)("config",n.config)("data",e.data)("currIndex",n.state.currIndex)("index",i)("count",n.state.items.length)("itemIntersectionObserverDisabled",n.isScrolling||n.isSliding||n.isResizing)("adapter",n.adapter),x("galleryId",n.galleryId)}}function ki(t,r){t&1&&(h(0,"div",6)(1,"div",7),Z(2,"RESIZING"),u(),h(3,"div",8),Z(4,"SCROLLING"),u(),h(5,"div",9),Z(6,"SLIDING"),u()())}function Vi(t,r){t&1&&re(0)}function Gi(t,r){if(t&1&&(h(0,"div",2),d(1,Vi,1,0,"ng-container",3),u()),t&2){let e=a();g(),o("ngTemplateOutlet",e.config.thumbTemplate)("ngTemplateOutletContext",e.imageContext)}}function Hi(t,r){if(t&1){let e=z();h(0,"gallery-thumb",4),_("click",function(){let n=y(e).index,s=a();return b(s.config.disableThumbs?null:s.thumbClick.emit(n))})("error",function(n){let s=y(e).index,l=a();return b(l.error.emit({itemIndex:s,error:n}))}),u()}if(t&2){let e=r.$implicit,i=r.index,n=a();o("type",e.type)("config",n.config)("data",e.data)("currIndex",n.state.currIndex)("index",i)("count",n.state.items.length),x("galleryId",n.galleryId)}}var Ni=(t,r)=>({state:t,config:r});function Fi(t,r){if(t&1){let e=z();h(0,"gallery-thumbs",7),_("thumbClick",function(n){y(e);let s=a();return b(s.thumbClick.emit(n))})("error",function(n){y(e);let s=a();return b(s.error.emit(n))}),u()}if(t&2){let e=a();o("state",e.state)("config",e.config)("galleryId",e.galleryId)}}function Bi(t,r){if(t&1&&p(0,"gallery-nav",8),t&2){let e=a();o("state",e.state)("config",e.config)("galleryId",e.galleryId)}}function Li(t,r){if(t&1&&p(0,"gallery-bullets",8),t&2){let e=a();o("state",e.state)("config",e.config)("galleryId",e.galleryId)}}function ji(t,r){if(t&1&&p(0,"gallery-counter",9),t&2){let e=a();o("state",e.state)}}function $i(t,r){t&1&&re(0)}var S=(function(t){return t.INITIALIZED="initialized",t.ITEMS_CHANGED="itemsChanged",t.INDEX_CHANGED="indexChanged",t.PLAY="play",t.STOP="stop",t})(S||{}),Ke=(function(t){return t.Cover="cover",t.Contain="contain",t})(Ke||{}),we=(function(t){return t.Preload="preload",t.Lazy="lazy",t.Default="default",t})(we||{}),Ft=(function(t){return t.Eager="eager",t.Lazy="lazy",t})(Ft||{}),K=(function(t){return t.Top="top",t.Left="left",t.Right="right",t.Bottom="bottom",t})(K||{}),Bt=(function(t){return t.Top="top",t.Bottom="bottom",t})(Bt||{}),Lt=(function(t){return t.Top="top",t.Bottom="bottom",t})(Lt||{}),ae=(function(t){return t.Horizontal="horizontal",t.Vertical="vertical",t})(ae||{}),w=(function(t){return t.Image="image",t.Video="video",t.Youtube="youtube",t.Vimeo="vimeo",t.Iframe="iframe",t})(w||{}),Vt={action:S.INITIALIZED,isPlaying:!1,hasNext:!1,hasPrev:!1,currIndex:0,items:[]},Gt={nav:!0,loop:!1,bullets:!1,thumbs:!1,debug:!1,bulletSize:6,counter:!1,autoplay:!1,thumbWidth:120,thumbHe
1ight:90,disableBullets:!1,disableThumbs:!1,disableScroll:!1,disableThumbScroll:!1,disableMouseScroll:!1,disableThumbMouseScroll:!1,autoplayInterval:3e3,scrollDuration:468,scrollEase:{x1:.42,y1:0,x2:.58,y2:1},thumbCentralized:!1,thumbAutosize:!1,itemAutosize:!1,autoHeight:!1,scrollBehavior:"smooth",resizeDebounceTime:0,loadingAttr:Ft.Lazy,imageSize:Ke.Contain,thumbImageSize:Ke.Cover,bulletPosition:Bt.Bottom,counterPosition:Lt.Top,thumbPosition:K.Bottom,loadingStrategy:we.Preload,orientation:ae.Horizontal,navIcon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 256C0 397.4 114.6 512 256 512s256-114.6 256-256S397.4 0 256 0S0 114.6 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z"/></svg>',loadingIcon:'<?xml version="1.0" encoding="UTF-8"?><svg stroke="#fff" viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd" stroke-width="2"><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="0s" calcMode="spline" dur="1.8s" keySplines="0.165, 0.84, 0.44, 1" keyTimes="0; 1" repeatCount="indefinite" values="1; 20"/><animate attributeName="stroke-opacity" begin="0s" calcMode="spline" dur="1.8s" keySplines="0.3, 0.61, 0.355, 1" keyTimes="0; 1" repeatCount="indefinite" values="1; 0"/></circle><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="-0.9s" calcMode="spline" dur="1.8s" keySplines="0.165, 0.84, 0.44, 1" keyTimes="0; 1" repeatCount="indefinite" values="1; 20"/><animate attributeName="stroke-opacity" begin="-0.9s" calcMode="spline" dur="1.8s" keySplines="0.3, 0.61, 0.355, 1" keyTimes="0; 1" repeatCount="indefinite" values="1; 0"/></circle></g></svg>'},ce=class{constructor(r){this.data=r,this.type=w.Image}},Xe=class{constructor(r){this.data=r,this.type=w.Video}},et=class{constructor(r){this.data=r,this.type=w.Iframe}},tt=class{constructor(r){this.data=Y(C({},r),{src:`https://youtube.com/embed/${r.src}`,thumb:r.thumb?r.thumb:`//img.youtube.com/vi/${r.src}/default.jpg`}),this.type=w.Youtube}},it=class{constructor(r){this.data=Y(C({},r),{src:`https://player.vimeo.com/video/${r.src}`,thumb:r.thumb?r.thumb:this.getVimeoThumb(r.src)}),this.type=w.Vimeo}getVimeoThumb(r){return`//vumbnail.com/${r}.jpg`}},Ie=t=>Q(r=>t.indexOf(r.action)>-1),nt=class{get stateSnapshot(){return this._state.value}get configSnapshot(){return this._config.value}get initialized(){return this.state.pipe(Ie([S.INITIALIZED]))}get itemsChanged(){return this.state.pipe(Ie([S.ITEMS_CHANGED]))}get indexChanged(){return this.state.pipe(Ie([S.INDEX_CHANGED]))}get playingChanged(){return this.state.pipe(Ie([S.PLAY,S.STOP]))}constructor(r,e){this.deleteInstance=e,this.itemClick=new G,this.thumbClick=new G,this.error=new G,this._state=new te(Vt),this._config=new te(r),this.state=this._state.asObservable(),this.config=this._config.asObservable()}setState(r){this._state.next(C(C({},this.stateSnapshot),r))}setConfig(r){this._config.next(C(C({},this._config.value),r))}add(r,e){let i=[...this.stateSnapshot.items,r];this.setState({action:S.ITEMS_CHANGED,items:i,hasNext:i.length>1,currIndex:e?i.length-1:this.stateSnapshot.currIndex})}addImage(r,e){this.add(new ce(r),e)}addVideo(r,e){this.add(new Xe(r),e)}addIframe(r,e){this.add(new et(r),e)}addYoutube(r,e){this.add(new tt(r),e)}addVimeo(r,e){this.add(new it(r),e)}remove(r){let e=this.stateSnapshot,i=[...e.items.slice(0,r),...e.items.slice(r+1,e.items.length)];this.setState({action:S.ITEMS_CHANGED,currIndex:r<1?e.currIndex:r-1,items:i,hasNext:i.length>1,hasPrev:r>0})}load(r){r&&this.setState({action:S.ITEMS_CHANGED,items:r,hasNext:r.length>1,hasPrev:!1})}set(r,e=this._config.value.scrollBehavior){if(r<0||r>=this.stateSnapshot.items.length){console.error(`[NgGallery]: Unable to set the active item because the given index (${r}) is outside the items range!`);return}r!==this.stateSnapshot.currIndex&&this.setState({behavior:e,action:S.INDEX_CHANGED,currIndex:r,hasNext:r<this.stateSnapshot.items.length-1,hasPrev:r>0})}next(r=this._config.value.scrollBehavior,e=!0){this.stateSnapshot.hasNext?this.set(this.stateSnapshot.currIndex+1,r):e&&this._config.value.loop&&this.set(0,r)}prev(r=this._config.value.scrollBehavior,e=!0){this.stateSnapshot.hasPrev?this.set(this.stateSnapshot.currIndex-1,r):e&&this._config.value.loop&&this.set(this.stateSnapshot.items.length-1,r)}play(r){r&&this.setConfig({autoplayInterval:r}),this.setState({action:S.PLAY,behavior:"auto",isPlaying:!0})}stop(){this.setState({action:S.STOP,isPlaying:!1})}reset(){this.setState(Vt)}destroy(){this._state.complete(),this._config.complete(),this.itemClick.complete(),this.thumbClick.complete(),this.deleteInstance()}},Wi=new mt("GALLERY_CONFIG"),X=(()=>{class t{constructor(e){this._instances=new Map,this.config=e?C(C({},Gt),e):Gt}ref(e="root",i){if(this._instances.has(e)){let n=this._instances.get(e);return i&&n.setConfig(i),n}else return this._instances.set(e,new nt(C(C({},this.config),i),this.deleteInstance(e))).get(e)}
1destroyAll(){this._instances.forEach(e=>e.destroy())}resetAll(){this._instances.forEach(e=>e.reset())}debugConsole(...e){this.config.debug&&console.log(...e)}deleteInstance(e){return()=>{this._instances.has(e)&&this._instances.delete(e)}}static{this.\u0275fac=function(i){return new(i||t)(pt(Wi,8))}}static{this.\u0275prov=Le({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Yi=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=v({type:t,selectors:[["gallery-counter"]],inputs:{state:"state"},decls:2,vars:1,consts:[[1,"g-counter"]],template:function(i,n){i&1&&(bt(0,"div",0),Z(1),vt()),i&2&&(g(),St(n.state.currIndex+1+" / "+n.state.items.length))},styles:[".g-counter[_ngcontent-%COMP%]{font-weight:700;-webkit-user-select:none;user-select:none;opacity:.6;transition:opacity linear .15s;z-index:50;position:absolute;left:50%;transform:translate(-50%) perspective(1px);font-size:12px;padding:4px 10px;color:var(--g-font-color);background-color:var(--g-overlay-color);box-shadow:var(--g-box-shadow);top:var(--counter-top);bottom:var(--counter-bottom);border-radius:var(--counter-border-radius)}.g-counter[_ngcontent-%COMP%]:hover{opacity:.8}"],changeDetection:0})}}return t})(),Ui=(()=>{class t{constructor(e){this.gallery=e}static{this.\u0275fac=function(i){return new(i||t)(c(X))}}static{this.\u0275cmp=v({type:t,selectors:[["gallery-bullets"]],inputs:{galleryId:"galleryId",state:"state",config:"config"},decls:1,vars:1,consts:[["class","g-bullet",3,"g-bullet-active","width","height","click",4,"ngFor","ngForOf"],[1,"g-bullet",3,"click"],[1,"g-bullet-inner"]],template:function(i,n){i&1&&d(0,ti,2,6,"div",0),i&2&&o("ngForOf",n.state.items)},dependencies:[V,J],styles:["[_nghost-%COMP%]{position:absolute;left:50%;z-index:99;transform:translate(-50%);display:flex;gap:6px;top:var(--bullets-top);bottom:var(--bullets-bottom)}[_nghost-%COMP%], .g-bullet[_ngcontent-%COMP%], .g-bullet-inner[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.g-bullet[_ngcontent-%COMP%]{cursor:var(--bullets-cursor);z-index:20}.g-bullet[_ngcontent-%COMP%]:hover   .g-bullet-inner[_ngcontent-%COMP%]{opacity:var(--bullets-hover-opacity)}.g-bullet-active[_ngcontent-%COMP%]   .g-bullet-inner[_ngcontent-%COMP%]{opacity:var(--bullets-active-opacity)}.g-bullet-inner[_ngcontent-%COMP%]{background-color:var(--g-overlay-color);opacity:var(--bullets-opacity);width:100%;height:100%;border-radius:50%;transition:opacity linear .15s}"],changeDetection:0})}}return t})(),Qi=(()=>{class t{constructor(e,i,n){this.gallery=e,this._sanitizer=i,this.dir=n}ngOnInit(){this.navIcon=this._sanitizer.bypassSecurityTrustHtml(this.config.navIcon)}rightButton(){}leftButton(){}static{this.\u0275fac=function(i){return new(i||t)(c(X),c(ye),c(Ce))}}static{this.\u0275cmp=v({type:t,selectors:[["gallery-nav"]],inputs:{id:[0,"galleryId","id"],state:"state",config:"config"},decls:2,vars:2,consts:[["class","g-nav-prev","aria-label","Previous","role","button",3,"innerHtml","click",4,"ngIf"],["class","g-nav-next","aria-label","Next","role","button",3,"innerHtml","click",4,"ngIf"],["aria-label","Previous","role","button",1,"g-nav-prev",3,"click","innerHtml"],["aria-label","Next","role","button",1,"g-nav-next",3,"click","innerHtml"]],template:function(i,n){i&1&&d(0,ii,1,1,"i",0)(1,ni,1,1,"i",1),i&2&&(o("ngIf",n.config.loop||n.state.hasPrev),g(),o("ngIf",n.config.loop||n.state.hasNext))},dependencies:[V,D],styles:[".g-nav-next[_ngcontent-%COMP%], .g-nav-prev[_ngcontent-%COMP%]{position:absolute;top:50%;display:flex;padding:16px 8px;cursor:pointer;z-index:999;opacity:.6;transition:opacity linear .15s,right linear .15s,left linear .15s}.g-nav-next[_ngcontent-%COMP%]:hover, .g-nav-prev[_ngcontent-%COMP%]:hover{opacity:1}.g-nav-next[_ngcontent-%COMP%]     svg, .g-nav-prev[_ngcontent-%COMP%]     svg{filter:var(--g-nav-drop-shadow);width:28px;height:28px;fill:#fff}.g-nav-next[_ngcontent-%COMP%]{left:var(--nav-next-left);right:var(--nav-next-right);transform:var(--nav-next-transform)}.g-nav-next[_ngcontent-%COMP%]:hover{left:var(--nav-next-hover-left);right:var(--nav-next-hover-right)}.g-nav-prev[_ngcontent-%COMP%]{left:var(--nav-prev-left);right:var(--nav-prev-right);transform:var(--nav-prev-transform)}.g-nav-prev[_ngcontent-%COMP%]:hover{left:var(--nav-prev-hover-left);right:var(--nav-prev-hover-right)}"],changeDetection:0})}}return t})(),qi=2,Zi=4,Ji=8,Ki=16,Te=class{get scrollValue(){return this.slider.scrollLeft}get clientSize(){return this.slider.clientWidth}get isContentLessThanContainer(){return this.clientSize>=this.slider.firstElementChild.clientWidth}constructor(r,e){this.slider=r,this.config=e,this.hammerDirection=qi|Zi,this.scrollSnapType="x mandatory"}getScrollToValue(r,e){let i=r.offsetLeft-(this.clientSize-r.clientWidth)/2;return{behavior:e,start:i}}getRootMargin(){return"1000px 1px 1000px 1px"}getElementRootMargin(r,e){let i=-1*((r.clientWidth-e.clientWidth)/2)+1;return`0px ${i}px 0px ${i}px`}getCentralizerStartSize(){return this.isContentLessThanContainer?(this.clientSize-this.slider.firstElementChild.clientWidth)/2:this.clientSize/2-this.slider.firstElementChild.firstElementChild?.clientWidth/2}getCentralizerEndSize(){return this.isContentLessThanContainer?(this.clientSize-this.slider.firstElementChild.clientWidth)/2:this.clientSize/2-this.slider.firstElementChild.lastElementChild?.clientWidth/2}getHammerVelocity(r){return r.velocityX}getHammerValue(r,e,i){return{behavior:i,left:r-e.deltaX}}},ze=class{get scrollValue(){return this.slider.scrollTop}get clientSize(){return this.slider.clientHeight}get isContentLessThanContainer(){return this.clientSize>=this.slider.firstElementChild.clientHeight}constructor(r,e){this.slider=r,this.config=e,this.hammerDirection=Ji|Ki,this.scrollSnapType="y mandatory"}getScrollToValue(r,e){let i=r.offsetTop-(this.clientSize-r.clientHeight)/2;return{behavior:e,top:i}}getRootMargin(){return"1px 1000px 1px 1000px"}getElementRootMargin(r,e){let i=-1*((r.clientHeight-e.clientHeight)/2)+1;return`${i}px 0px ${i}px 0px`}getCentralizerStartSize(){return this.isContentLessThanContainer?(this.clientSize-this.slider.firstElementChild.clientHeight)/2:this.clientSize/2-this.slider.firstElementChild.firstElementChild?.clientHeight/2}getCentralizerEndSize(){return this.isContentLessThanContainer?(this.clientSize-this.slider.firstElementChild.clientHeight)/2:this.clientSize/2-this.slider.firstElementChild.lastElementChild?.clientHeight/2}getHammerVelocity(r){return r.velocityY}getHammerValue(r,e,i){return{behavior:i,top:r-e.deltaY}}};var Xi=4,en=.001,tn=1e-7,nn=10,le=11,Se=1/(le-1),rn=typeof Float32Array=="function";function jt(t,r){return 1-3*r+3*t}function $t(t,r){return 3*r-6*t}function Wt(t){return 3*t}function Me(t,r,e){return((jt(r,e)*t+$t(r,e))*t+Wt(r))*t}function Yt(t,r,e){return 3*jt(r,e)*t*t+2*$t(r,e)*t+Wt(r)}function sn(t,r,e,i,n){let s,l,P=0;do l=r+(e-r)/2,s=Me(l,i,n)-t,s>0?e=l:r=l;
1while(Math.abs(s)>tn&&++P<nn);return l}function on(t,r,e,i){for(let n=0;n<Xi;++n){let s=Yt(r,e,i);if(s===0)return r;let l=Me(r,e,i)-t;r-=l/s}return r}function ln(t){return t}function an(t,r,e,i){if(!(0<=t&&t<=1&&0<=e&&e<=1))throw new Error("bezier x values must be in [0, 1] range");if(t===r&&e===i)return ln;let n=rn?new Float32Array(le):new Array(le);for(let l=0;l<le;++l)n[l]=Me(l*Se,t,e);function s(l){let P=0,H=1,Kt=le-1;for(;H!==Kt&&n[H]<=l;++H)P+=Se;--H;let Xt=(l-n[H])/(n[H+1]-n[H]),Ae=P+Xt*Se,st=Yt(Ae,t,e);return st>=en?on(l,Ae,t,e):st===0?Ae:sn(l,P,P+Se,t,e)}return function(P){return P===0?0:P===1?1:Me(s(P),r,i)}}var Ut=(()=>{class t{get _w(){return this._document.defaultView}get _now(){return this._w.performance?.now?.bind(this._w.performance)||Date.now}set smoothScroll(e){e&&this._zone.runOutsideAngular(()=>{this.scrollTo(e)})}constructor(e,i,n,s){this._document=e,this._zone=i,this._dir=n,this._scrollController=new G,this._finished=new G,this.isScrollingChange=new m,this._el=s.nativeElement}ngOnInit(){this._subscription=this._scrollController.pipe(A(e=>(this._zone.run(()=>{this.isScrollingChange.emit(!0)}),this._el.classList.add("g-scrolling"),this._el.style.setProperty("--slider-scroll-snap-type","none"),he(null).pipe(gt(()=>this._step(e).pipe(ut(i=>this._isFinished(i)),Be(this._finished))),ht(()=>this.resetElement()),Be(this._interrupted()))))).subscribe()}ngOnDestroy(){this._subscription?.unsubscribe(),this._scrollController.complete()}_scrollElement(e,i){this._el.scrollLeft=e,this._el.scrollTop=i}resetElement(){this._zone.run(()=>{this.isScrollingChange.emit(!1)}),this._el.classList.remove("g-scrolling"),this._isInterruptedByMouse||this._el.style.setProperty("--slider-scroll-snap-type",this.adapter.scrollSnapType),this._isInterruptedByMouse=!1}_isFinished(e){return e.currentX!==e.x||e.currentY!==e.y?!0:(this._finished.next(),!1)}_interrupted(){let e;return this.interruptOnMousemove&&typeof Hammer<"u"?(this._hammer=new Hammer(this._el,{inputClass:Hammer.MouseInput}),this._hammer.get("pan").set({direction:this.adapter.hammerDirection}),e=Ge(new ee(i=>(this._hammer.on("panstart",()=>{this._isInterruptedByMouse=!0,i.next(),i.complete()}),()=>{this._hammer.destroy()})),U(this._el,"wheel",{passive:!0,capture:!0}),U(this._el,"touchmove",{passive:!0,capture:!0}))):e=Ge(U(this._el,"wheel",{passive:!0,capture:!0}),U(this._el,"touchmove",{passive:!0,capture:!0})),e.pipe(Ne(1))}_step(e){return new ee(i=>{let n=(this._now()-e.startTime)/e.duration;n=n>1?1:n;let s=e.easing(n);e.currentX=e.startX+(e.x-e.startX)*s,e.currentY=e.startY+(e.y-e.startY)*s,this._scrollElement(e.currentX,e.currentY),requestAnimationFrame(()=>{i.next(e),i.complete()})})}_applyScrollToOptions(e){e.duration||this._scrollElement(e.left,e.top);let i={scrollable:this._el,startTime:this._now(),startX:this._el.scrollLeft,startY:this._el.scrollTop,x:e.left==null?this._el.scrollLeft:~~e.left,y:e.top==null?this._el.scrollTop:~~e.top,duration:e.duration,easing:an(e.easing.x1,e.easing.y1,e.easing.x2,e.easing.y2)};this._scrollController.next(i)}scrollTo(e){let i=this._dir.value==="rtl",n=At(),s=Y(C({},e),{left:e.left==null?i?e.end:e.start:e.left,right:e.right==null?i?e.start:e.end:e.right,duration:e.behavior==="smooth"?this.config.scrollDuration:0,easing:this.config.scrollEase});return s.bottom!=null&&(s.top=this._el.scrollHeight-this._el.clientHeight-s.bottom),i&&n!==ve.NORMAL?(s.left!=null&&(s.right=this._el.scrollWidth-this._el.clientWidth-s.left),n===ve.INVERTED?s.left=s.right:n===ve.NEGATED&&(s.left=s.right?-s.right:s.right)):s.right!=null&&(s.left=this._el.scrollWidth-this._el.clientWidth-s.right),this._applyScrollToOptions(s)}static{this.\u0275fac=function(i){return new(i||t)(c(je),c(N),c(xe),c(E))}}static{this.\u0275dir=I({type:t,selectors:[["","smoothScroll",""]],inputs:{smoothScroll:"smoothScroll",adapter:"adapter",config:"config",interruptOnMousemove:[0,"smoothScrollInterruptOnMousemove","interruptOnMousemove"]},outputs:{isScrollingChange:"isScrollingChange"},features:[Ue([xe])]})}}return t})(),Qt=(()=>{class t{get _viewport(){return this._el.nativeElement}constructor(e,i,n,s,l){this._document=e,this._el=i,this._dir=n,this._platform=s,this._zone=l,this.activeIndexChange=new m,this.isSlidingChange=new m}ngOnChanges(e){e.enabled&&e.enabled?.currentValue!==e.enabled?.previousValue&&(this.enabled?this._subscribe():this._unsubscribe()),!e.adapter?.firstChange&&e.adapter?.currentValue!==e.adapter?.previousValue&&(this.enabled?this._subscribe():this._unsubscribe())}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe(),!this._platform.ANDROID&&!this._platform.IOS&&typeof Hammer<"u"&&this._zone.runOutsideAngular(()=>{let e=this.adapter.hammerDirection;this._hammer=new Hammer(this._el.nativeElement,{inputClass:Hammer.MouseInput}),this._hammer.get("pan").set({direction:e});let i;this._hammer.on("panstart",()=>{this._zone.run(()=>{this.isSlidingChange.emit(!0)}),i=this.adapter.scrollValue,this._viewport.classList.add("g-sliding"),this._viewport.style.setProperty("--slider-scroll-snap-type","none")}),this._hammer.on("panmove",n=>this._viewport.scrollTo(this.adapter.getHammerValue(i,n,"auto"))),this._hammer.on("panend",n=>{this._document.onselectstart=null,this._viewport.classList.remove("g-sliding");let s=this.getIndexOnMouseUp(n);this._zone.run(()=>{this.isSlidingChange.emit(!1),this.activeIndexChange.emit(s)})})})}_unsubscribe(){this._hammer?.destroy()}getIndexOnMouseUp(e){let i=this.items[this.state.currIndex].nativeElement,n=this.getElementFromVie
1wportCenter();if(n&&n!==i)return+n.getAttribute("galleryIndex");let s=this.adapter.getHammerVelocity(e);return Math.abs(s)>.3?this.config.orientation===ae.Horizontal?s>0?this._dir.value==="rtl"?this.state.currIndex+1:this.state.currIndex-1:this._dir.value==="rtl"?this.state.currIndex-1:this.state.currIndex+1:s>0?this.state.currIndex-1:this.state.currIndex+1:-1}getElementFromViewportCenter(){let e=this._viewport.getBoundingClientRect();return this._document.elementsFromPoint(e.x+e.width/2,e.y+e.height/2).find(n=>n.getAttribute("galleryId")===this.galleryId)}static{this.\u0275fac=function(i){return new(i||t)(c(je),c(E),c(Ce),c(Dt),c(N))}}static{this.\u0275dir=I({type:t,selectors:[["","hammerSliding",""]],inputs:{enabled:[0,"hammerSliding","enabled"],galleryId:"galleryId",items:"items",adapter:"adapter",state:"state",config:"config"},outputs:{activeIndexChange:"activeIndexChange",isSlidingChange:"isSlidingChange"},features:[T]})}}return t})(),Oe=class{observe(r,e,i){return cn(r,e,i).pipe(ie(n=>n.isIntersecting?(n.target.classList.add("g-item-highlight"),+n.target.getAttribute("galleryIndex")):(n.target.classList.remove("g-item-highlight"),-1)),Q(n=>n!==-1))}};function cn(t,r,e){return new ee(i=>{let n=new IntersectionObserver(s=>i.next(s),{root:t,rootMargin:e,threshold:1});return r.forEach(s=>n.observe(s)),()=>{r.forEach(s=>n.unobserve(s)),n.disconnect()}}).pipe(Ve(i=>i))}var gn=(()=>{class t{get _viewport(){return this._el.nativeElement}constructor(e,i){this._zone=e,this._el=i,this._sensor=new Oe,this.activeIndexChange=new m}ngOnChanges(){this.config.itemAutosize||this.disabled?this._unsubscribe():this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){if(this._unsubscribe(),this.adapter&&this.items?.length){let e=this.adapter.getRootMargin();this.config.debug&&this._viewport.style.setProperty("--intersection-margin",`"INTERSECTION(${e})"`),this._zone.runOutsideAngular(()=>{this._currentSubscription=this._sensor.observe(this._viewport,this.items.map(i=>i.nativeElement),e).subscribe(i=>{this._zone.run(()=>this.activeIndexChange.emit(i))})})}}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)(c(N),c(E))}}static{this.\u0275dir=I({type:t,selectors:[["","sliderIntersectionObserver",""]],inputs:{adapter:"adapter",items:"items",config:"config",disabled:[0,"sliderIntersectionObserverDisabled","disabled"]},outputs:{activeIndexChange:"activeIndexChange"},features:[T]})}}return t})();function Pe(t,r){return new ee(e=>{let i=new ResizeObserver(n=>e.next(n));return i.observe(t),r&&r(i),()=>i.disconnect()}).pipe(Ve(e=>e))}var hn=(()=>{class t{set src(e){this.videoSrc=e,this.iframeSrc=this._sanitizer.bypassSecurityTrustResourceUrl(e)}set pauseVideo(e){if(this.iframe?.nativeElement&&e){let i=this.iframe.nativeElement;i.src=null,!this.autoplay&&this.videoSrc&&(this.iframeSrc=this._sanitizer.bypassSecurityTrustResourceUrl(this.videoSrc))}}constructor(e){this._sanitizer=e}static{this.\u0275fac=function(i){return new(i||t)(c(ye))}}static{this.\u0275cmp=v({type:t,selectors:[["gallery-iframe"]],viewQuery:function(i,n){if(i&1&&se(ri,5),i&2){let s;M(s=O())&&(n.iframe=s.first)}},inputs:{src:"src",pauseVideo:[0,"pause","pauseVideo"],autoplay:"autoplay",loadingAttr:"loadingAttr"},decls:3,vars:2,consts:[["default",""],["iframe",""],["allowfullscreen","","allow","","style","border:none",3,"src",4,"ngIf","ngIfElse"],["allowfullscreen","","allow","",2,"border","none",3,"src"],["allowfullscreen","",2,"border","none",3,"src"]],template:function(i,n){if(i&1&&d(0,si,2,2,"iframe",2)(1,oi,2,2,"ng-template",null,0,$),i&2){let s=B(2);o("ngIf",n.autoplay)("ngIfElse",s)}},dependencies:[D],encapsulation:2,changeDetection:0})}}return t})(),un=(()=>{class t{constructor(){this.error=new m}set pauseVideo(e){if(this.video.nativeElement){let i=this.video.nativeElement;e&&!i.paused&&i.pause()}}set playVideo(e){if(this.video.nativeElement){let i=this.video.nativeElement;e&&i.play()}}ngOnInit(){this.src instanceof Array?this.videoSources=[...this.src]:this.videoSources=[{url:this.src}]}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=v({type:t,selectors:[["gallery-video"]],viewQuery:function(i,n){if(i&1&&se(li,7),i&2){let s;M(s=O())&&(n.video=s.first)}},inputs:{src:"src",poster:"poster",mute:"mute",loop:"loop",controls:"controls",controlsList:"controlsList",disableRemotePlayback:"disableRemotePlayback",disablePictureInPicture:"disablePictureInPicture",pauseVideo:[0,"pause","pauseVideo"],playVideo:[0,"play","playVideo"]},outputs:{error:"error"},decls:3,vars:8,consts:[["video",""],["noType",""],[3,"error","disableRemotePlayback","controls","loop","poster"],[4,"ngFor","ngForOf"],[3,"src","type",4,"ngIf","ngIfElse"],[3,"src","type"],[3,"src"]],template:function(i,n){i&1&&(h(0,"video",2,0),_("error",function(l){return n.error.emit(l)}),d(2,gi,4,2,"ng-container",3),u()),i&2&&(o("disableRemotePlayback",n.disableRemotePlayback)("controls",n.controls)("loop",n.loop)("poster",n.poster),x("mute",n.mute)("controlsList",n.controlsList)("disablePictureInPicture",n.disablePictureInPicture),g(2),o("ngForOf",n.videoSources))},dependencies:[J,D],encapsulation:2,changeDetection:0})}}return t})(),dn=`<?xml version="1.0" encoding="UTF-8"?>
2<svg width="100" height="100" version="1.1" viewBox="0 0 256 256" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
3 <g transform="translate(1.4066 1.4066) scale(2.81)">
4	<path d="m74.453 48.627c-5.538 0-11.075-2.107-15.291-6.324-6.11-6.11-7.768-14.99-5.024-22.629h-48.08c-3.346 1e-3 -6.058 2.713-6.058 6.059v16.322l23.834 20.315c2.278 1.942 5.573 2.119 8.047 0.434l14.382-9.801c2.33-1.588 5.408-1.531 7.677 0.141l27.15 20.001v-25.574c-2.156 0.692-4.394 1.056-6.637 1.056z" fill="#c1e5f4" stroke-linecap="round"/>
5 <circle cx="27.942" cy="37.942" r="6.072" fill="#fff0a9"/>
6 <path d="m85.446 16.02c-6.061-6.061-15.922-6.061-21.983 0s-6.061 15.923 0 21.984c3.031 3.031 7.011 4.546 10.992 4.546 3.98 0 7.962-1.515 10.992-4.545 2.936-2.937 4.553-6.841 4.553-10.993s-1.617-8.056-4.554-10.992zm-3.555 3.555c1.987 1.986 3.081 4.627 3.081 7.436 0 1.95-0.538 3.813-1.525 5.438l-14.428-14.428c4.043-2.442 9.384-1.934 12.872 1.554zm-14.873 14.874c-3.486-3.487-3.997-8.829-1.554-12.873l14.426 14.427c-4.043 2.443-9.385 1.932-12.872-1.554z" fill="#e29393" stroke-linecap="round"/>
7 <path d="m0 40.043v32.425c0 3.346 2.712 6.058 6.058 6.058h68.974c3.346 0 6.058-2.712 6.058-6.058v-1.335l-27.15-20.001c-2.27-1.672-5.348-1.729-7.677-0.141l-14.383 9.801c-2.473 1.686-5.769 1.508-8.047-0.434l-23.833-20.315z" fill="#96ea9c" stroke-linecap="round"/>
8</g>
9</svg>
10`,De=(()=>{class t{constructor(){this.trigger$=new te(null),this.images=new Map}getActiveItem(e){return this.trigger$.pipe(A(()=>e.pipe(A(i=>{let n=this.images.get(i.currIndex);return n?n.state.pipe(Q(s=>
10s!=="loading"),ie(()=>n.target)):ge}))))}addItem(e,i){this.images.set(e,i),this.trigger$.next()}deleteItem(e){this.images.has(e)&&(this.images.delete(e),this.trigger$.next())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=Le({token:t,factory:t.\u0275fac})}}return t})(),mn=(()=>{class t{onLoad(){this.item.state$.next("success")}onError(){this.item.state$.next("failed")}constructor(e,i,n){if(this.el=e,this.manager=i,this.item=n,n)n.isItemContainImage=!0;else throw new Error("[NgGallery]: galleryImage directive should be only used inside gallery item templates!")}ngOnInit(){this.manager.addItem(this.index,{state:this.item.state$.asObservable(),target:this.el.nativeElement})}ngOnDestroy(){this.manager.deleteItem(this.index)}static{this.\u0275fac=function(i){return new(i||t)(c(E),c(De),c(Ee))}}static{this.\u0275dir=I({type:t,selectors:[["img","galleryImage",""]],hostBindings:function(i,n){i&1&&_("load",function(l){return n.onLoad(l)})("error",function(l){return n.onError(l)})},inputs:{index:[0,"galleryImage","index"]}})}}return t})(),qt=(()=>{class t{get imageState(){return this.state}constructor(e){this._sanitizer=e,this.state="loading",this.errorIcon=dn,this.error=new m}ngOnInit(){this.loadingIcon&&(this.loaderTemplate=this._sanitizer.bypassSecurityTrustHtml(this.loadingIcon)),this.loadingError&&(this.errorTemplate=this._sanitizer.bypassSecurityTrustHtml(this.loadingError)),this.errorIcon&&(this.errorSvg=this._sanitizer.bypassSecurityTrustHtml(this.errorIcon))}static{this.\u0275fac=function(i){return new(i||t)(c(ye))}}static{this.\u0275cmp=v({type:t,selectors:[["gallery-image"]],hostVars:1,hostBindings:function(i,n){i&2&&x("imageState",n.imageState)},inputs:{isThumbnail:"isThumbnail",index:"index",loadingAttr:"loadingAttr",alt:"alt",src:"src",loadingIcon:"loadingIcon",loadingError:"loadingError",errorIcon:"errorIcon"},outputs:{error:"error"},decls:6,vars:5,consts:[["main",""],["defaultError",""],["isLarge",""],["defaultLoader",""],[3,"ngSwitch"],[4,"ngIf","ngIfElse"],["class","g-image-error-message",4,"ngSwitchCase"],[4,"ngSwitchCase"],[1,"g-image-item",3,"load","error","src"],[1,"g-image-item",3,"load","error","galleryImage","src"],[1,"g-image-error-message"],[3,"innerHTML",4,"ngIf","ngIfElse"],[3,"innerHTML"],[1,"gallery-thumb-error",3,"innerHTML"],[1,"gallery-image-error",3,"innerHTML"],["class","g-loading",3,"innerHTML",4,"ngIf","ngIfElse"],[1,"g-loading",3,"innerHTML"],["class","g-thumb-loading",4,"ngIf"],[1,"g-thumb-loading"]],template:function(i,n){if(i&1&&(R(0,4),d(1,hi,2,6,"ng-container",5)(2,ui,1,7,"ng-template",null,0,$)(4,_i,4,2,"div",6)(5,Ci,4,2,"ng-container",7),k()),i&2){let s=B(3);o("ngSwitch",n.state),g(),o("ngIf",n.isThumbnail)("ngIfElse",s),g(3),o("ngSwitchCase","failed"),g(),o("ngSwitchCase","loading")}},dependencies:[me,pe,D,mn],styles:['[_nghost-%COMP%]{display:flex;width:100%;height:100%;max-height:100%;max-width:100%;transition:opacity .3s cubic-bezier(.5,0,.5,1);opacity:var(--g-thumb-opacity)}[imageState=success][_nghost-%COMP%]{align-self:center}[_nghost-%COMP%]     svg{width:100%;height:100%}.gallery-image-error[_ngcontent-%COMP%]{width:100px;height:100px}.gallery-thumb-error[_ngcontent-%COMP%]{width:40px;height:40px}img.g-image-item[_ngcontent-%COMP%]{object-fit:var(--image-object-fit);width:100%;height:100%;pointer-events:none;max-height:100%;max-width:100%}.g-image-error-message[_ngcontent-%COMP%]{position:absolute;z-index:10;inset:0;color:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column}h2[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{color:coral;margin:0}h2[_ngcontent-%COMP%]{font-size:3.5em;margin-bottom:.3em}h4[_ngcontent-%COMP%]{font-size:1.6em}.g-loading[_ngcontent-%COMP%]{position:absolute;transform:translate3d(-50%,-50%,0);left:50%;top:50%;width:80px;height:80px}.g-active-thumb[_ngcontent-%COMP%]   .g-thumb-loading[_ngcontent-%COMP%]{background-color:#464646}.g-thumb-loading[_ngcontent-%COMP%]{position:relative;overflow:hidden;width:100%;height:100%;background-color:#262626}.g-thumb-loading[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0 0 0 50%;z-index:1;width:500%;margin-left:-250%;animation:_ngcontent-%COMP%_phAnimation .8s linear infinite;background:linear-gradient(to right,#fff0 46%,#ffffff59,#fff0 54%
10) 50% 50%}@keyframes _ngcontent-%COMP%_phAnimation{0%{transform:translate3d(-30%,0,0)}to{transform:translate3d(30%,0,0)}}'],data:{animation:[Qe("fadeIn",[Ze("* => success",[be({opacity:0}),qe("300ms ease-in",be({opacity:1}))])])]},changeDetection:0})}}return t})(),Ee=(()=>{class t{get isActive(){return this.index===this.currIndex}get isIndexAttr(){return this.index}get itemState(){return this.state$.value}get imageContext(){return{$implicit:this.imageData,index:this.index,type:this.type,active:this.isActive,count:this.count,first:this.index===0,last:this.index===this.count-1}}get itemContext(){return{$implicit:this.data,index:this.index,type:this.type,active:this.isActive,count:this.count,first:this.index===0,last:this.index===this.count-1}}get nativeElement(){return this.el.nativeElement}get isAutoPlay(){if(this.isActive&&(this.type===w.Video||this.type===w.Youtube||this.type===w.Vimeo))return this.videoData.autoplay}get youtubeSrc(){let e=0;this.isActive&&this.type===w.Youtube&&this.data.autoplay&&(e=1);let i=new URL(this.data.src);return i.search=new URLSearchParams(Y(C({wmode:"transparent"},this.data.params),{autoplay:e})).toString(),i.href}get vimeoSrc(){let e=0;this.isActive&&this.type===w.Vimeo&&this.data.autoplay&&(e=1);let i=new URL(this.data.src);return i.search=new URLSearchParams(Y(C({},this.data.params),{autoplay:e})).toString(),i.href}get load(){switch(this.config.loadingStrategy){case we.Preload:return!0;case we.Lazy:return this.currIndex===this.index;default:return this.currIndex===this.index||this.currIndex===this.index-1||this.currIndex===this.index+1}}get imageData(){return this.data}get videoData(){return this.data}constructor(e){this.el=e,this.Types=w,this.state$=new te("loading"),this.error=new m}ngAfterViewInit(){this.isItemContainImage||this.state$.next("success")}static{this.\u0275fac=function(i){return new(i||t)(c(E))}}static{this.\u0275cmp=v({type:t,selectors:[["gallery-item"]],hostVars:4,hostBindings:function(i,n){i&2&&(x("galleryIndex",n.isIndexAttr)("itemState",n.itemState),oe("g-active-item",n.isActive))},inputs:{config:"config",index:"index",count:"count",currIndex:"currIndex",type:"type",data:"data"},outputs:{error:"error"},decls:1,vars:1,consts:[[3,"ngSwitch",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"src","mute","poster","controls","controlsList","disablePictureInPicture","play","pause","error",4,"ngSwitchCase"],[3,"src","autoplay","loadingAttr","pause",4,"ngSwitchCase"],[3,"src","loadingAttr",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"error","src","alt","index","loadingAttr","loadingIcon","loadingError"],["class","g-template g-item-template",4,"ngIf"],[1,"g-template","g-item-template"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"error","src","mute","poster","controls","controlsList","disablePictureInPicture","play","pause"],[3,"src","autoplay","loadingAttr","pause"],[3,"src","loadingAttr"]],template:function(i,n){i&1&&d(0,Di,7,6,"ng-container",0),i&2&&o("ngIf",n.load)},dependencies:[V,D,fe,me,pe,Tt,qt,un,hn],styles:["[_nghost-%COMP%]{cursor:var(--g-item-cursor);height:var(--g-item-height);width:var(--g-item-width);max-height:var(--g-item-max-height);max-width:var(--slider-width);z-index:10;position:relative;overflow:hidden;display:flex;flex-direction:column;flex:0 0 auto;scroll-snap-align:center;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}[itemState=loading][_nghost-%COMP%]{width:var(--slider-width);height:var(--slider-height)}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%]     video, [_nghost-%COMP%]     iframe{width:100%;height:100%}gallery-image[_ngcontent-%COMP%]{width:var(--g-item-width);height:var(--g-item-height)}.g-template[_ngcontent-%COMP%]{position:absolute;z-index:10;inset:0;color:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column}"],changeDetection:0})}}return t})(),pn=(()=>{class t{get _viewport(){return this._item.nativeElement.parentElement.parentElement}constructor(e,i){this._zone=e,this._item=i,this._sensor=new Oe,this.activeIndexChange=new m}ngOnChanges(){this.config.itemAutosize&&!this.disabled?this._subscribe():this._unsubscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe(),this.adapter&&this._zone.runOutsideAngular(()=>{this._currentSubscription=lt([Pe(this._viewport),Pe(this._item.nativeElement)]).pipe(A(()=>this._item.state$),Q(e=>e!=="loading"),A(()=>{let e=this.adapter.getElementRootMargin(this._viewport,this._item.nativeElement);return this.config.debug&&this._item.nativeElement.style.setProperty("--item-intersection-margin",`"VIEWPORT(${this._viewport.clientWidth}x${this._viewport.clientHeight}) ITEM(${this._item.nativeElement.clientWidth}x${this._item.nativeElement.clientHeight}) INTERSECTION(${e})"`),this._sensor.observe(this._viewport,[this._item.nativeElement],e)})).subscribe(e=>{this._zone.run(()=>this.activeIndexChange.emit(e))})})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)(c(N),c(Ee))}}static{this.\u0275dir=I({type:t,selectors:[["","itemIntersectionObserver",""]],inputs:{adapter:"adapter",config:"config",disabled:[0,"itemIntersectionObserverDisabled","disabled"]},outputs:{activeIndexChange:"activeIndexChange"},features:[T]})}}return t})(),fn=(()=>{class t{get _viewport(){return this._el.nativeElement}get _galleryCore(){return this._el.nativeElement.parentElement.parentElement.parentElement}get _isAutoHeight(){return this.config.autoHeight&&!this.config.itemAutosize&&this.config.orientation==="horizontal"&&(this.config.thumbPosition==="top"||this.config.thumbPosition==="bottom")}constructor(e,i,n,s){this._el=e,this._zone=i,this._gallery=n,this._imgManager=s,this.isResizingChange=new m}ngOnInit(){let e=this._gallery.ref(this.galleryId),i=getComputedStyle(this._viewport).getPropertyValue("transition-duration");parseFloat(i)===0?this._afterHeightChanged$=he(null):this._afterHeightChanged$=U(this._viewport,"transitionend"),this._zone.runOutsideAngular(()=>{this._resizeSubscription=Pe(this._viewport,n=>this._resizeObserver=n).pipe(Q(()=>!this._shouldSkip||!(this._shouldSkip=!1)),q(()=>this.setResizingState()),He(this.config.resizeDebounceTime,Re),q(n=>ot(this,null,function*(){if(this.updateSliderSize(),this._isAutoHeight){let s=yield ke(this._imgManager.getActiveItem(e.state));s.height===this._viewport.clientHeight?this.resetResizingState():(this.setResizingState({unobserve:!0}),this._galleryCore.style.setProperty("--slider-height",`${s.height}px`),yield ke(this._afterHeightChanged$),this.resetResizingState({shouldSkip:n.
10contentRect.height===this._viewport.clientHeight,observe:!0}))}else requestAnimationFrame(()=>this.resetResizingState({shouldSkip:!0}))}))).subscribe()})}ngOnChanges(){this._isAutoHeight?this._subscribeAutoHeight():this._unsubscribeAutoHeight()}ngOnDestroy(){this._resizeSubscription?.unsubscribe(),this._unsubscribeAutoHeight()}ngAfterViewChecked(){this.updateSliderSize()}updateSliderSize(){this._galleryCore.style.setProperty("--slider-width",`${this._viewport.clientWidth}px`),this.config.autoHeight||this._galleryCore.style.setProperty("--slider-height",`${this._viewport.clientHeight}px`),this.updateCentralizeCSSVariables()}updateCentralizeCSSVariables(){this.config.itemAutosize&&(this._galleryCore.style.setProperty("--slider-centralize-start-size",`${this.adapter.getCentralizerStartSize()}px`),this._galleryCore.style.setProperty("--slider-centralize-end-size",`${this.adapter.getCentralizerEndSize()}px`))}_subscribeAutoHeight(){this._unsubscribeAutoHeight(),this._shouldSkip=!1,this._zone.runOutsideAngular(()=>{let i=this._gallery.ref(this.galleryId).state.pipe(ct((n,s)=>n.currIndex===s.currIndex));this._autoHeightSubscription=this._imgManager.getActiveItem(i).pipe(A(n=>(this.setResizingState({unobserve:!0}),this._galleryCore.style.setProperty("--slider-height",`${n.clientHeight}px`),n.height===this._viewport.clientHeight?(this.resetResizingState({shouldSkip:!0,observe:!0}),ge):this._afterHeightChanged$.pipe(q(()=>this.resetResizingState({shouldSkip:!0,observe:!0})),Ne(1))))).subscribe()})}_unsubscribeAutoHeight(){this._autoHeightSubscription?.unsubscribe()}setResizingState({unobserve:e}={}){this._zone.run(()=>{this.isResizingChange.emit(!0)}),this._viewport.classList.add("g-resizing"),e&&this._resizeObserver.unobserve(this._viewport)}resetResizingState({shouldSkip:e,observe:i}={}){this._zone.run(()=>{this.isResizingChange.emit(!1)}),this._viewport.classList.remove("g-resizing"),this._shouldSkip=e,i&&this._resizeObserver.observe(this._viewport)}static{this.\u0275fac=function(i){return new(i||t)(c(E),c(N),c(X),c(De))}}static{this.\u0275dir=I({type:t,selectors:[["","sliderResizeObserver",""]],inputs:{galleryId:"galleryId",adapter:"adapter",config:"config"},outputs:{isResizingChange:"isResizingChange"},features:[T]})}}return t})(),_n=(()=>{class t{get slider(){return this.sliderEl.nativeElement}constructor(e){this._gallery=e,this.position$=new G,this.itemClick=new m,this.error=new m,this.items=new $e}ngOnChanges(e){if(e.config){if(e.config.currentValue?.orientation!==e.config.previousValue?.orientation)switch(this.config.orientation){case ae.Horizontal:this.adapter=new Te(this.slider,this.config);break;case ae.Vertical:this.adapter=new ze(this.slider,this.config);break}e.config.firstChange||requestAnimationFrame(()=>{this.scrollToIndex(this.state.currIndex,"auto")})}e.state&&e.state.currentValue?.currIndex!==e.state.previousValue?.currIndex&&requestAnimationFrame(()=>{this.scrollToIndex(this.state.currIndex,e.state.firstChange?"auto":this.state.behavior)})}ngAfterViewInit(){this.items.notifyOnChanges(),this.items$=this.items.changes.pipe(Fe(null),ie(()=>this.items.toArray()))}trackByFn(e,i){return i.type}onActiveIndexChange(e){e===-1?this.scrollToIndex(this.state.currIndex,"smooth"):this._gallery.ref(this.galleryId).set(e,"smooth")}scrollToIndex(e,i){let n=this.items.get(e)?.nativeElement;if(n){let s=this.adapter.getScrollToValue(n,i||this.config.scrollBehavior);this.position$.next(s)}}static{this.\u0275fac=function(i){return new(i||t)(c(X))}}static{this.\u0275cmp=v({type:t,selectors:[["gallery-slider"]],viewQuery:function(i,n){if(i&1&&se(Nt,7)(Ee,5),i&2){let s;M(s=O())&&(n.sliderEl=s.first),M(s=O())&&(n.items=s)}},inputs:{galleryId:"galleryId",state:"state",config:"config"},outputs:{itemClick:"itemClick",error:"error"},features:[T],ngContentSelectors:Ai,decls:8,vars:17,consts:[["slider",""],["sliderIntersectionObserver","","sliderResizeObserver","",1,"g-slider",3,"isScrollingChange","isSlidingChange","activeIndexChange","isResizingChange","smoothScroll","smoothScrollInterruptOnMousemove","sliderIntersectionObserverDisabled","hammerSliding","adapter","items","config","state","galleryId"],[1,"g-slider-content"],["itemIntersectionObserver","",3,"type","config","data","currIndex","index","count","itemIntersectionObserverDisabled","adapter","activeIndexChange","click","error",4,"ngFor","ngForOf","ngForTrackBy"],["class","g-slider-debug",4,"ngIf"],["itemIntersectionObserver","",3,"activeIndexChange","click","error","type","config","data","currIndex","index","count","itemIntersectionObserverDisabled","adapter"],[1,"g-slider-debug"],[1,"g-slider-resizing"],[1,"g-slider-scrolling"],[1,"g-slider-sliding"]],template:function(i,n){i&1&&(Ct(
10),h(0,"div",1,0),L(2,"async"),L(3,"async"),_("isScrollingChange",function(l){return n.isScrolling=l})("isSlidingChange",function(l){return n.isSliding=l})("activeIndexChange",function(l){return n.onActiveIndexChange(l)})("isResizingChange",function(l){return n.isResizing=l}),h(4,"div",2),d(5,Ri,1,9,"gallery-item",3),u(),d(6,ki,7,0,"div",4),u(),xt(7)),i&2&&(o("smoothScroll",j(2,13,n.position$))("smoothScrollInterruptOnMousemove",!n.config.disableMouseScroll)("sliderIntersectionObserverDisabled",n.isScrolling||n.isSliding||n.isResizing)("hammerSliding",!n.config.disableMouseScroll)("adapter",n.adapter)("items",j(3,15,n.items$))("config",n.config)("state",n.state)("galleryId",n.galleryId),x("centralised",n.config.itemAutosize),g(5),o("ngForOf",n.state.items)("ngForTrackBy",n.trackByFn),g(),o("ngIf",n.config.debug))},dependencies:[V,J,D,_e,Ee,Ut,Qt,gn,pn,fn],styles:['[_nghost-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;order:1;flex:1}.g-slider[_ngcontent-%COMP%]{display:flex;align-items:center;transition:var(--g-height-transition);min-height:100%;min-width:100%;max-height:100%;max-width:100%;height:var(--slider-height, 100%);width:var(--slider-width, 100%);overflow:var(--slider-overflow);scroll-snap-type:var(--slider-scroll-snap-type);flex-direction:var(--slider-flex-direction);scrollbar-width:none}.g-slider[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.g-slider.g-sliding[_ngcontent-%COMP%]   .g-slider-content[_ngcontent-%COMP%], .g-slider.g-scrolling[_ngcontent-%COMP%]   .g-slider-content[_ngcontent-%COMP%]{pointer-events:none}.g-slider[centralised=true][_ngcontent-%COMP%]:before, .g-slider[centralised=true][_ngcontent-%COMP%]:after{content:""}.g-slider[centralised=true][_ngcontent-%COMP%]:before{flex:0 0 var(--slider-centralize-start-size)}.g-slider[centralised=true][_ngcontent-%COMP%]:after{flex:0 0 var(--slider-centralize-end-size)}.g-slider-content[_ngcontent-%COMP%]{flex:0 0 auto;display:flex;align-items:center;gap:1px;width:var(--slider-content-width, unset);height:var(--slider-content-height, unset);flex-direction:var(--slider-flex-direction)}'],changeDetection:0})}}return t})(),Ht=(()=>{class t{get isActive(){return this.index===this.currIndex}get isIndexAttr(){return this.index}get imageContext(){return{$implicit:this.data,index:this.index,type:this.t
10ype,active:this.isActive,count:this.count,first:this.index===0,last:this.index===this.count-1}}get nativeElement(){return this.el.nativeElement}constructor(e){this.el=e,this.error=new m}static{this.\u0275fac=function(i){return new(i||t)(c(E))}}static{this.\u0275cmp=v({type:t,selectors:[["gallery-thumb"]],hostVars:3,hostBindings:function(i,n){i&2&&(x("galleryIndex",n.isIndexAttr),oe("g-active-thumb",n.isActive))},inputs:{config:"config",index:"index",count:"count",currIndex:"currIndex",type:"type",data:"data"},outputs:{error:"error"},decls:2,vars:6,consts:[[3,"error","src","alt","isThumbnail","loadingIcon","loadingError"],["class","g-template g-thumb-template",4,"ngIf"],[1,"g-template","g-thumb-template"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){i&1&&(h(0,"gallery-image",0),_("error",function(l){return n.error.emit(l)}),u(),d(1,Gi,2,2,"div",1)),i&2&&(o("src",n.data.thumb)("alt",n.data.alt+"-thumbnail")("isThumbnail",!0)("loadingIcon",n.config.thumbLoadingIcon)("loadingError",n.config.thumbLoadingError),g(),o("ngIf",n.config.thumbTemplate))},dependencies:[V,D,fe,qt],styles:["[_nghost-%COMP%]{cursor:var(--g-thumb-cursor);height:var(--g-thumb-height);width:var(--g-thumb-width);max-height:var(--g-thumb-height);max-width:var(--g-thumb-width);align-self:center;background:#000;position:relative;display:flex;overflow:hidden;flex-direction:column;flex:0 0 auto;scroll-snap-align:center;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-tap-highlight-color:rgba(0,0,0,0);--g-thumb-opacity: .5}.g-active-thumb[_nghost-%COMP%]{--g-thumb-opacity: 1}.g-template[_ngcontent-%COMP%]{position:absolute;z-index:10;inset:0;color:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column}"],changeDetection:0})}}return t})(),yn=(()=>{class t{get _viewport(){return this._el.nativeElement}constructor(e,i){this._el=e,this._zone=i,this.resized=new m}ngOnInit(){this._zone.runOutsideAngular(()=>{this._resizeSubscription=Pe(this._viewport).pipe(He(this.config.resizeDebounceTime,Re),q(()=>{this.updateSliderSize(),this.resized.emit()})).subscribe()})}ngOnChanges(e){e.config.firstChange||this.updateSliderSize()}ngOnDestroy(){this._resizeSubscription?.unsubscribe()}updateSliderSize(){this._viewport.style.setProperty("--thumb-centralize-start-size",this.adapter.getCentralizerStartSize()+"px"),this._viewport.style.setProperty("--thumb-centralize-end-size",this.adapter.getCentralizerEndSize()+"px")}static{this.\u0275fac=function(i){return new(i||t)(c(E),c(N))}}static{this.\u0275dir=I({type:t,selectors:[["","thumbResizeObserver",""]],inputs:{config:"config",adapter:"adapter"},outputs:{resized:"thumbResizeObserver"},features:[T]})}}return t})(),bn=(()=>{class t{constructor(){this.position$=new G,this.thumbClick=new m,this.error=new m,this.items=new $e}get slider(){return this.sliderEl.nativeElement}ngOnChanges(e){if(e.config&&e.config.currentValue?.thumbPosition!==e.config.previousValue?.thumbPosition){switch(this.config.thumbPosition){case K.Right:case K.Left:this.adapter=new ze(this.slider,this.config);break;case K.Top:case K.Bottom:this.adapter=new Te(this.slider,this.config);break}e.config.firstChange||requestAnimationFrame(()=>{this.scrollToIndex(this.state.currIndex,"auto")})}e.state&&(e.state.firstChange||!this.config.detachThumbs)&&e.state.currentValue?.currIndex!==e.state.previousValue?.currIndex&&requestAnimationFrame(()=>{this.scrollToIndex(this.state.currIndex,e.state?.firstChange?"auto":"smooth")})}ngAfterViewInit(){this.items.notifyOnChanges(),this.items$=this.items.changes.pipe(Fe(null),ie(()=>this.items.toArray()))}trackByFn(e,i){return i.type}onActiveIndexChange(e){e===-1?this.scrollToIndex(this.state.currIndex,"smooth"):this.scrollToIndex(e,"smooth")}scrollToIndex(e,i){let n=this.items.get(e)?.nativeElement;if(n){let s=this.adapter.getScrollToValue(n,i);this.position$.next(s)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=v({type:t,selectors:[["gallery-thumbs"]],viewQuery:function(i,n){if(i&1&&se(Nt,7)(Ht,5),i&2){let s;M(s=O())&&(n.sliderEl=s.first),M(s=O())&&(n.items=s)}},inputs:{galleryId:"galleryId",state:"state",config:"config"},outputs:{thumbClick:"thumbClick",error:"error"},features:[T],decls:6,vars:15,consts:[["slider",""],[1,"g-slider",3,"thumbResizeObserver","activeIndexChange","smoothScroll","smoothScrollInterruptOnMousemove","hammerSliding","galleryId","items","state","config","adapter"],[1,"g-slider-content"],[3,"type","config","data","currIndex","index","count","click","error",4,"ngFor","ngForOf","ngForTrackBy"],[3,"click","error","type","config","data","currIndex","index","count"]],template:function(i,n){i&1&&(h(0,"div",1,0),L(2,"async"),L(3,"async"),_("thumbResizeObserver",function(){return n.scrollToIndex(n.state.currIndex,"auto")})("activeIndexChange",function(l){return n.onActiveIndexChange(l)}),h(4,"div",2),d(5,Hi,1,7,"gallery-thumb",3),u()()),i&2&&(o("smoothScroll",j(2,11,n.position$))("smoothScrollInterruptOnMousemove",!n.config.disableThumbMouseScroll)("hammerSliding",!n.config.disableThumbMouseScroll)("galleryId",n.galleryId)("items",j(3,13,n.items$))("state",n.state)("config",n.config)("adapter",n.adapter),x("centralised",n.config.thumbCentralized||n.adapter.isContentLessThanContainer),g(5),o("ngForOf",n.state.items)("ngForTrackBy",n.trackByFn))},dependencies:[V,J,_e,Ht,Ut,Qt,yn],styles:['[_nghost-%COMP%]{max-height:100%;max-width:100%;display:block;z-index:100}.g-slider[_ngcontent-%COMP%]{display:flex;align-items:center;transition:var(--g-height-transition);max-height:100%;min-width:100%;height:var(--thumb-slider-height);width:var(--thumb-slider-width);top:var(--thumb-slider-top);left:var(--thumb-slider-left);overflow:var(--thumb-slider-overflow);scroll-snap-type:var(--slider-scroll-snap-type);flex-direction:var(--thumb-slider-flex-direction);scrollbar-width:none}.g-slider[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.g-slider.g-sliding[_ngcontent-%COMP%]   .g-slider-content[_ngcontent-%COMP%]{pointer-events:none}.g-slider[centralised=true][_ngcontent-%COMP%]:before, .g-slider[centralised=true][_ngcontent-%COMP%]:after{content:""}.g-slider[centralised=true][_ngcontent-%COMP%]:before{flex:0 0 var(--thumb-centralize-start-size)}.g-slider[centralised=true][_ngcontent-%COMP%]:after{flex:0 0 var(--thumb-centralize-end-size)}.g-slider-content[_ngcontent-%COMP%]{flex:0 0 auto;display:flex;flex-direction:var(--thumb-slider-flex-direction);align-items:center;gap:1px}'],changeDetection:0})}}return t})(),vn=(()=>{class t{get thumbPosition(){return this.config.thumbPosition}get orientation(){return this.config.orientation}get disableThumb(){return this.config.disableThumbs}get bulletDisabled(){return this.config.disableBullets}get bulletPosition(){return this.config.bulletPosition}get imageSize(){return this.config.imageSize}get thumbImageSize(){return this.config.thumbImageSize}get counterPosition(){return this.config.counterPosition}get scrollDisabled(){return this.config.disableScroll}get thumbScrollDisabled(){return this.config.disableThumbScroll}get itemAutosize(){return this.config.itemAutosize}get autoHeight(){return this.config.autoHeight}get thumbAutosize(){return this.config.thumbAutosize}get direction(){return this.dir.value}get debug(){return this.config.debug}constructor(e,i){this.el=e,this.dir=i,this.itemClick=new m,this.thumbClick=new m,this.error=new m}ngOnChanges(e){e.config&&(e.config.currentValue?.thumbWidth!==e.config.previousValue?.thumbWidth&&this.el.nativeElement.style.setProperty("--g-thumb-width",Je(e.config.currentValue.thumbWidth)),e.config.currentValue?.thumbHeight!==e.config.previousValue?.thumbHeight&&this.el.nativeElement.style.setProperty("--g-thumb-height",Je(e.config.currentValue.thumbHeight)))}static{this.\u0275fac=function(i){return new(i||t)(c(E),c(Ce))}}static{this.\u0275cmp=v({type:t,selectors:[["gallery-core"]],hostVars:15,hostBindings:function(i,n){i&2&&x("thumbPosition",n.thumbPosition)("orientation",n.orientation)("thumbDisabled",n.disableThumb)("bulletDisabled",n.bulletDisabled)("bulletPosition",n.bulletPosition)("imageSize",n.imageSize)("thumbImageSize",n.thumbImageSize)("counterPosition",n.counterPosition)("scrollDisabled",n.scrollDisabled)("thumbScrollDisabled",n.thumbScrollDisabled)("itemAutosize",n.itemAutosize)("autoHeight",n.autoHeight)("thumbAutosize",n.thumbAutosize)("dir",n.direction)("debug",n.debug)},inputs:{galleryId:"galleryId",state:"state",config:"config"},outputs:{itemClick:"itemClick",thumbClick:"thumbClick",error:"error"},features:[T],decls:8,vars:14,consts:[[3,"state","config","galleryId","thumbClick","error",4,"ngIf"],[1,"g-box"],[3,"itemClick","error","state","config","galleryId"],[3,"state","config","galleryId",4,"ngIf"],[3,"state",4,"ngIf"],[1,"g-box-template"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"thumbClick","error","state","config","galleryId"],[3,"state","config","galleryId"],[3,"state"]],template:function(i,n){i&1&&(d(0,Fi,1,3,"gallery-thumbs",0),h(1,"div",1)(2,"gallery-slider",2),_("itemClick",function(l){return n.itemClick.emit(l)})("error",function(l){return n.error.emit(l)}),d(3,Bi,1,3,"gallery-nav",3),u(),d(4,Li,1,3,"gallery-bullets",3)(5,ji,1,1,"gallery-counter",4),h(6,"div",5),d(7,$i,1,0,"ng-container",6),u()()),i&2&&(o("ngIf",n.config.thumbs),g(2),oe("g-debug",n.config.debug),o("state",n.state)("config",n.config)("galleryId",n.galleryId),g(),o("ngIf",n.config.nav&&n.state.items.length>1),g(),o("ngIf",n.config.bullets),g(),o("ngIf",n.config.counter),g(2),o("ngTemplateOutlet",n.config.boxTemplate)("ngTemplateOutletContext",wt(11,Ni,n.state,n.config)))},dependencies:[V,D,fe,bn,_n,Qi,Ui,Yi],styles:["[_nghost-%COMP%]{position:relative;overflow:hidden;display:flex;gap:var(--g-gutter-size);width:100%;height:500px;min-height:100%;max-height:100%;--image-object-fit: unset;--slider-thumb-height: unset;--slider-thumb-width: unset;--thumb-slider-left: unset;--thumb-slider-overflow: unset;--thumb-slider-flex-direction: unset;--g-thumb-width: unset;--g-thumb-height: unset;--g-thumb-cursor: pointer;--slider-scroll-snap-type: unset;--slider-overflow: unset;--slider-flex-direction: unset;--slider-width: unset;--slider-height: unset;--slider-content-width: unset;--slider-content-height: unset;--g-item-width: unset;--g-item-height: unset;--g-item-max-height: var(--slider-height);--bullets-top: unset;--bullets-bottom: unset;--bullets-cursor: pointer;--bullets-opacity: .4;--bullets-hover-opacity: 1;--bullets-active-opacity: 1;--counter-top: unset;--counter-bottom: unset;--counter-border-radius: unset;--nav-space: 8px;
10--nav-hover-space: 6.4px;--nav-next-right: unset;--nav-next-hover-right: unset;--nav-next-left: unset;--nav-next-hover-left: unset}[thumbPosition=top][_nghost-%COMP%]{flex-direction:column}[thumbPosition=left][_nghost-%COMP%]{flex-direction:row}[thumbPosition=right][_nghost-%COMP%]{flex-direction:row-reverse}[thumbPosition=bottom][_nghost-%COMP%]{flex-direction:column-reverse}[autoHeight=true][itemAutoSize=false][orientation=horizontal][thumbPosition=top][_nghost-%COMP%], [autoHeight=true][itemAutoSize=false][orientation=horizontal][thumbPosition=bottom][_nghost-%COMP%]{height:fit-content;--g-item-height: auto !important;--g-item-max-height: auto}[imageSize=contain][_nghost-%COMP%]   gallery-slider[_ngcontent-%COMP%], [thumbImageSize=contain][_nghost-%COMP%]   gallery-thumbs[_ngcontent-%COMP%]{--image-object-fit: contain}[imageSize=cover][_nghost-%COMP%]   gallery-slider[_ngcontent-%COMP%], [thumbImageSize=cover][_nghost-%COMP%]   gallery-thumbs[_ngcontent-%COMP%]{--image-object-fit: cover}[thumbPosition=top][_nghost-%COMP%], [thumbPosition=bottom][_nghost-%COMP%]{--thumb-slider-top: 0;--thumb-slider-overflow: auto hidden;--thumb-slider-flex-direction: row;--g-thumb-height: 100%}[thumbPosition=top][thumbAutosize=true][_nghost-%COMP%], [thumbPosition=bottom][thumbAutosize=true][_nghost-%COMP%]{--g-thumb-width: auto !important}[thumbPosition=left][_nghost-%COMP%], [thumbPosition=right][_nghost-%COMP%]{--thumb-slider-left: 0;--thumb-slider-overflow: hidden auto;--thumb-slider-flex-direction: column;--g-thumb-width: 100%}[thumbPosition=left][thumbAutosize=true][_nghost-%COMP%], [thumbPosition=right][thumbAutosize=true][_nghost-%COMP%]{--g-thumb-height: auto !important}[thumbDisbled=true][_nghost-%COMP%]{--g-thumb-cursor: default}[thumbScrollDisabled=true][_nghost-%COMP%]{--thumb-slider-overflow: hidden !important}[orientation=horizontal][_nghost-%COMP%]{--slider-overflow: auto hidden;--slider-scroll-snap-type: x mandatory;--slider-flex-direction: row;--slider-content-height: 100%}[orientation=vertical][_nghost-%COMP%]{--slider-overflow: hidden auto;--slider-scroll-snap-type: y mandatory;--slider-flex-direction: column;--slider-content-width: 100%}[scrollDisabled=true][_nghost-%COMP%]{--slider-overflow: hidden !important}[orientation=horizontal][_nghost-%COMP%]{--g-item-width: var(--slider-width);--g-item-height: 100%}[orientation=horizontal][itemAutoSize=true][_nghost-%COMP%]{--g-item-width: auto}[orientation=vertical][_nghost-%COMP%]{--g-item-width: 100%;--g-item-height: var(--slider-height)}[orientation=vertical][itemAutoSize=true][_nghost-%COMP%]{--g-item-height: auto}[bulletPosition=top][_nghost-%COMP%]{--bullets-top: 15px}[bulletPosition=bottom][_nghost-%COMP%]{--bullets-bottom: 15px}[bulletDisabled=true][_nghost-%COMP%]{--bullets-cursor: default;--bullets-hover-opacity: var(--bullets-opacity)}[counterPosition=top][_nghost-%COMP%]{--counter-top: 0;--counter-border-radius: 0 0 4px 4px}[counterPosition=bottom][_nghost-%COMP%]{--counter-bottom: 0;--counter-border-radius: 4px 4px 0 0}[dir=ltr][_nghost-%COMP%]{--nav-next-transform: translateY(-50%) perspective(1px);--nav-next-right: var(--nav-space);--nav-next-hover-right: var(--nav-hover-space);--nav-prev-transform: translateY(-50%) perspective(1px) scale(-1, -1);--nav-prev-left: var(--nav-space);--nav-prev-hover-left: var(--nav-hover-space)}[dir=rtl][_nghost-%COMP%]{--nav-next-transform: translateY(-50%) perspective(1px) scale(-1, -1);--nav-next-left: var(--nav-space);--nav-next-hover-left: var(--nav-hover-space);--nav-prev-transform: translateY(-50%) perspective(1px);--nav-prev-right: var(--nav-space);--nav-prev-hover-right: var(--nav-hover-space)}.g-box[_ngcontent-%COMP%]{overflow:hidden;position:relative;display:flex;flex-direction:column;order:1;flex:1}.g-box-template[_ngcontent-%COMP%]{position:absolute;z-index:10}",'[debug=true][_nghost-%COMP%]     .g-sliding gallery-item.g-item-highlight, [debug=true][_nghost-%COMP%]     .g-resizing gallery-item.g-item-highlight, [debug=true][_nghost-%COMP%]     .g-scrolling gallery-item.g-item-highlight{visibility:hidden}[debug=true][_nghost-%COMP%]     gallery-slider:after, [debug=true][_nghost-%COMP%]     gallery-slider:before{position:absolute;content:"";z-index:12}[debug=true][_nghost-%COMP%]     gallery-slider:before{width:100%;height:0;border-top:1px dashed lime}[debug=true][_nghost-%COMP%]     gallery-slider:after{height:100%;width:0;border-left:1px dashed lime}[debug=true][_nghost-%COMP%]     gallery-slider gallery-item{outline:1px solid darkorange}[debug=true][_nghost-%COMP%]     gallery-slider gallery-item.g-item-highlight:after{content:"";position:absolute;width:100%;height:100%;border:3px solid lime;box-sizing:border-box;z-index:10}[debug=true][_nghost-%COMP%]     .g-sliding .g-slider-sliding{display:block}[debug=true][_nghost-%COMP%]     .g-scrolling .g-slider-scrolling{display:block}[debug=true][_nghost-%COMP%]     .g-resizing .g-slider-resizing{display:block}[debug=true][_nghost-%COMP%]     .g-slider-debug{position:absolute;top:0;left:0;display:flex;gap:5px;padding:10px}[debug=true][_nghost-%COMP%]     .g-slider-debug .g-slider-resizing{background:#f54c28}[debug=true][_nghost-%COMP%]     .g-slider-debug .g-slider-scrolling{background:#ff8524}[debug=true][_nghost-%COMP%]     .g-slider-debug .g-slider-sliding{background:#1f6cb9}[debug=true][_nghost-%COMP%]     .g-slider-debug div, [debug=true][_nghost-%COMP%]     .g-slider-debug:before{display:none;color:#fff;font-family:monospace;z-index:12;padding:2px 6px;border-radius:3px}[debug=true][itemAutoSize=false][_nghost-%COMP%]     .g-slider-debug:before{content:var(--intersection-margin);background:#ecececd6;color:#363636;display:block}[debug=true][itemAutoSize=true][_nghost-%COMP%]     gallery-item:before{position:absolute;margin:10px;content:var(--item-intersection-margin);background:#ecececd6;color:#363636;display:block;width:270px;font-family:monospace;z-index:12;padding:2px 6px;border-radius:3px}'],changeDetection:0})}}return t})(),Cn=(()=>{class t{constructor(e){this.templateRef=e}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(c(ne))}}static{this.\u0275dir=I({type:t,selectors:[["","galleryImageDef",""]]})}}return t})(),xn=(()=>{class t{constructor(e){this.templateRef=e}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(c(ne))}}static{this.\u0275dir=I({type:t,selectors:[["","galleryThumbDef",""]]})}}return t})(),In=(()=>{class t{constructor(e){this.templateRef=e}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(c(ne))}}static{this.\u0275dir=I({type:t,selectors:[["","galleryItemDef",""]]})}}return t})(),Sn=(()=>{class t{constructor(e){this.templateRef=e}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(c(ne))}}
10static{this.\u0275dir=I({type:t,selectors:[["","galleryBoxDef",""]]})}}return t})(),wn=(()=>{class t{constructor(e,i){this._gallery=e,this._imgManager=i}ngAfterViewInit(){this._galleryRef=this._gallery.ref(this.galleryId),this._subscribe(),this.config.autoplay&&this._galleryRef.play()}ngOnChanges(e){this._galleryRef&&e.config?.currentValue.autoplay!==e.config?.previousValue.autoplay&&(this.config.autoplay?this._galleryRef.play():this._galleryRef.stop())}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe(),this._currentSubscription=this._galleryRef.playingChanged.pipe(A(e=>e.isPlaying?this._imgManager.getActiveItem(this._galleryRef.state).pipe(A(()=>he({}).pipe(at(this.config.autoplayInterval),q(()=>{this._galleryRef.stateSnapshot.hasNext?this._galleryRef.next(this.config.scrollBehavior):this._galleryRef.set(0,this.config.scrollBehavior)})))):ge)).subscribe()}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)(c(X),c(De))}}static{this.\u0275dir=I({type:t,selectors:[["gallery-core","autoplay",""]],inputs:{config:"config",galleryId:"galleryId"},features:[T]})}}return t})(),rt=(()=>{class t{constructor(e){this._gallery=e,this.id="root",this.nav=this._gallery.config.nav,this.bullets=this._gallery.config.bullets,this.loop=this._gallery.config.loop,this.debug=this._gallery.config.debug,this.thumbs=this._gallery.config.thumbs,this.counter=this._gallery.config.counter,this.detachThumbs=this._gallery.config.detachThumbs,this.thumbAutosize=this._gallery.config.thumbAutosize,this.itemAutosize=this._gallery.config.itemAutosize,this.autoHeight=this._gallery.config.autoHeight,this.autoplay=this._gallery.config.autoplay,this.disableThumbs=this._gallery.config.disableThumbs,this.disableBullets=this._gallery.config.disableBullets,this.disableScroll=this._gallery.config.disableScroll,this.disableThumbScroll=this._gallery.config.disableThumbScroll,this.thumbCentralized=this._gallery.config.thumbCentralized,this.disableMouseScroll=this._gallery.config.disableMouseScroll,this.disableThumbMouseScroll=this._gallery.config.disableThumbMouseScroll,this.bulletSize=this._gallery.config.bulletSize,this.thumbWidth=this._gallery.config.thumbWidth,this.thumbHeight=this._gallery.config.thumbHeight,this.autoplayInterval=this._gallery.config.autoplayInterval,this.scrollDuration=this._gallery.config.scrollDuration,this.resizeDebounceTime=this._gallery.config.resizeDebounceTime,this.scrollBehavior=this._gallery.config.scrollBehavior,this.scrollEase=this._gallery.config.scrollEase,this.imageSize=this._gallery.config.imageSize,this.thumbImageSize=this._gallery.config.thumbImageSize,this.bulletPosition=this._gallery.config.bulletPosition,this.counterPosition=this._gallery.config.counterPosition,this.orientation=this._gallery.config.orientation,this.loadingAttr=this._gallery.config.loadingAttr,this.loadingStrategy=this._gallery.config.loadingStrategy,this.thumbPosition=this._gallery.config.thumbPosition,this.destroyRef=!0,this.skipInitConfig=!1,this.itemClick=new m,this.thumbClick=new m,this.playingChange=new m,this.indexChange=new m,this.itemsChange=new m,this.error=new m}getConfig(){return{nav:this.nav,bullets:this.bullets,loop:this.loop,debug:this.debug,thumbs:this.thumbs,counter:this.counter,autoplay:this.autoplay,bulletSize:this.bulletSize,imageSize:this.imageSize,thumbImageSize:this.thumbImageSize,scrollBehavior:this.scrollBehavior,thumbCentralized:this.thumbCentralized,thumbWidth:this.thumbWidth,thumbHeight:this.thumbHe
10ight,scrollEase:this.scrollEase,bulletPosition:this.bulletPosition,loadingAttr:this.loadingAttr,detachThumbs:this.detachThumbs,thumbPosition:this.thumbPosition,autoplayInterval:this.autoplayInterval,counterPosition:this.counterPosition,loadingStrategy:this.loadingStrategy,scrollDuration:this.scrollDuration,orientation:this.orientation,resizeDebounceTime:this.resizeDebounceTime,disableBullets:this.disableBullets,disableThumbs:this.disableThumbs,disableScroll:this.disableScroll,disableThumbScroll:this.disableThumbScroll,disableMouseScroll:this.disableMouseScroll,disableThumbMouseScroll:this.disableThumbMouseScroll,thumbAutosize:this.thumbAutosize,itemAutosize:this.itemAutosize,autoHeight:this.autoHeight}}ngOnChanges(e){this.galleryRef&&(this.galleryRef.setConfig(this.getConfig()),e.items&&e.items.currentValue!==e.items.previousValue&&this.load(this.items))}ngOnInit(){this.skipInitConfig?this.galleryRef=this._gallery.ref(this.id):this.galleryRef=this._gallery.ref(this.id,this.getConfig()),this.load(this.items),this.indexChange.observed&&(this._indexChange$=this.galleryRef.indexChanged.subscribe(e=>this.indexChange.emit(e))),this.itemsChange.observed&&(this._itemChange$=this.galleryRef.itemsChanged.subscribe(e=>this.itemsChange.emit(e))),this.playingChange.observed&&(this._playingChange$=this.galleryRef.playingChanged.subscribe(e=>this.playingChange.emit(e)))}ngAfterContentInit(){let e={};this._galleryItemDef&&(e.itemTemplate=this._galleryItemDef.templateRef),this._galleryImageDef&&(e.imageTemplate=this._galleryImageDef.templateRef),this._galleryThumbDef&&(e.thumbTemplate=this._galleryThumbDef.templateRef),this._galleryBoxDef&&(e.boxTemplate=this._galleryBoxDef.templateRef),Object.keys(e).length&&this.galleryRef.setConfig(e)}ngOnDestroy(){this._itemClick$?.unsubscribe(),this._thumbClick$?.unsubscribe(),this._itemChange$?.unsubscribe(),this._indexChange$?.unsubscribe(),this._playingChange$?.unsubscribe(),this.destroyRef&&this.galleryRef?.destroy()}onItemClick(e){this.itemClick.emit(e),this.galleryRef.itemClick.next(e)}onThumbClick(e){this.galleryRef.set(e),this.thumbClick.emit(e),this.galleryRef.thumbClick.next(e)}onError(e){this.error.emit(e),this.galleryRef.error.next(e)}load(e){this.galleryRef.load(e)}add(e,i){this.galleryRef.add(e,i)}addImage(e,i){this.galleryRef.addImage(e,i)}addVideo(e,i){this.galleryRef.addVideo(e,i)}addIframe(e,i){this.galleryRef.addIframe(e,i)}addYoutube(e,i){this.galleryRef.addYoutube(e,i)}addVimeo(e,i){this.galleryRef.addVimeo(e,i)}remove(e){this.galleryRef.remove(e)}next(e,i){this.galleryRef.next(e,i)}prev(e,i){this.galleryRef.prev(e,i)}set(e,i){this.galleryRef.set(e,i)}reset(){this.galleryRef.reset()}play(e){this.galleryRef.play(e)}stop(){this.galleryRef.stop()}static{this.\u0275fac=function(i){return new(i||t)(c(X))}}static{this.\u0275cmp=v({type:t,selectors:[["gallery"]],contentQueries:function(i,n,s){if(i&1&&It(s,In,5)(s,Cn,5)(s,xn,5)(s,Sn,5),i&2){let l;M(l=O())&&(n._galleryItemDef=l.first),M(l=O())&&(n._galleryImageDef=l.first),M(l=O())&&(n._galleryThumbDef=l.first),M(l=O())&&(n._galleryBoxDef=l.first)}},inputs:{id:"id",items:"items",nav:[2,"nav","nav",f],bullets:[2,"bullets","bullets",f],loop:[2,"loop","loop",f],debug:[2,"debug","debug",f],thumbs:[2,"thumbs","thumbs",f],counter:[2,"counter","counter",f],detachThumbs:[2,"detachThumbs","detachThumbs",f],thumbAutosize:[2,"thumbAutosize","thumbAutosize",f],itemAutosize:[2,"itemAutosize","itemAutosize",f],autoHeight:[2,"autoHeight","autoHeight",f],autoplay:[2,"autoplay","autoplay",f],disableThumbs:[2,"disableThumbs","disableThumbs",f],disableBullets:[2,"disableBullets","disableBullets",f],disableScroll:[2,"disableScroll","disableScroll",f],disableThumbScroll:[2,"disableThumbScroll","disableThumbScroll",f],thumbCentralized:[2,"thumbCentralized","thumbCentralized",f],disableMouseScroll:[2,"disableMouseScroll","disableMouseScroll",f],disableThumbMouseScroll:[2,"disableThumbMouseScroll","disableThumbMouseScroll",f],bulletSize:[2,"bulletSize","bulletSize",W],thumbWidth:[2,"thumbWidth","thumbWidth",W],thumbHe
10ight:[2,"thumbHeight","thumbHeight",W],autoplayInterval:[2,"autoplayInterval","autoplayInterval",W],scrollDuration:[2,"scrollDuration","scrollDuration",W],resizeDebounceTime:[2,"resizeDebounceTime","resizeDebounceTime",W],scrollBehavior:"scrollBehavior",scrollEase:"scrollEase",imageSize:"imageSize",thumbImageSize:"thumbImageSize",bulletPosition:"bulletPosition",counterPosition:"counterPosition",orientation:"orientation",loadingAttr:"loadingAttr",loadingStrategy:"loadingStrategy",thumbPosition:"thumbPosition",destroyRef:"destroyRef",skipInitConfig:"skipInitConfig"},outputs:{itemClick:"itemClick",thumbClick:"thumbClick",playingChange:"playingChange",indexChange:"indexChange",itemsChange:"itemsChange",error:"error"},features:[Ue([De]),T],decls:3,vars:7,consts:[["autoplay","",3,"itemClick","thumbClick","error","galleryId","state","config"]],template:function(i,n){i&1&&(h(0,"gallery-core",0),L(1,"async"),L(2,"async"),_("itemClick",function(l){return n.onItemClick(l)})("thumbClick",function(l){return n.onThumbClick(l)})("error",function(l){return n.onError(l)}),u()),i&2&&o("galleryId",n.id)("state",j(1,3,n.galleryRef.state))("config",j(2,5,n.galleryRef.config))},dependencies:[V,_e,vn,wn],styles:["[_nghost-%COMP%]{position:relative;overflow:hidden;z-index:1;display:flex;justify-content:center;align-items:center;background-color:#000;--g-height-transition: height 468ms cubic-bezier(.42, 0, .58, 1);--g-nav-drop-shadow: drop-shadow(0 0 2px rgba(0, 0, 0, .6));--g-box-shadow: 0 0 3px rgba(0, 0, 0, .6);--g-font-color: #000;--g-overlay-color: #fff;--g-gutter-size: 1px}[gallerize][_nghost-%COMP%]{--g-item-cursor: pointer}"],changeDetection:0})}}return t})(),Zt=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ft({type:t})}static{this.\u0275inj=dt({imports:[rt]})}}return t})();function zn(t,r){if(t&1&&p(0,"gallery",3),t&2){let e=a();o("items",e.images)}}var Jt=(()=>{class t{constructor(){this.meta=ue(zt),this.title=ue(Mt),this.ssrService=ue(Ot),this.images=[],this.videos=[]}get isBrowser(){return this.ssrService.isBrowser}ngOnInit(){this.title.setTitle("How HA Clustering Works | ZFS Clustering Product Demo"),this.meta.updateTag({name:"description",content:"Discover and watch how the highly available ZFS cluster software product works, in today's operations, maintaining access to your services and data."}),this.meta.updateTag({name:"keywords",content:["HA clustering","How does clustering work?","zfs cluster","product demo"].join(", ")}),this.images=[this.newItem("dashboard.png"),this.newItem("create-cluster.png"),this.newItem("cluster-info.png"),this.newItem("heartbeats-info.png"),this.newItem("licensing-info.png"),this.newItem("nodes-info.png"),this.newItem("pools-snapshots.png"),this.newItem("pools-volumes.png"),this.newItem("create-service.png"),this.newItem("settings-general.png"),this.newItem("vips-info.png")],this.videos=[{ytVideoId:Pt.rsf1ZfsDemo,title:"RSF-1 High Availability ZFS Cluster Failover",poster:Et.rsf1ZfsDemoPoster}]}newItem(e,i=e){return new ce({src:"/assets/img/gallery/"+e,thumb:"/assets/img/gallery/"+i})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=v({type:t,selectors:[["hac-gallery"]],decls:6,vars:3,consts:[["id","gallery",1,"section-padding"],[1,"container"],[3,"title"],[3,"items"],[1,"video-gallery-wrapper"],[3,"videos"]],template:function(i,n){i&1&&(h(0,"section",0)(1,"div",1),p(2,"hac-section-header",2),_t(3,zn,1,1,"gallery",3),h(4,"div",4),p(5,"hac-video-gallery",5),u()()()),i&2&&(g(2),o("title","Gallery"),g(),yt(n.isBrowser?3:-1),g(2),o("videos",n.videos))},dependencies:[Zt,rt,kt,Rt],styles:[".video-gallery-wrapper[_ngcontent-%COMP%]{margin-top:16px}"]})}}return t})();var Sr=[{path:"",component:Jt}];export{Sr as GALLERY_ROUTES};

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.