Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lightgallery

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightgallery - npm Package Compare versions

Comparing version 2.1.0-beta.4 to 2.1.0

1

angular/bundles/lightgallery-angular.umd.js

@@ -57,3 +57,2 @@ (function (global, factory) {

if (!this.lgInitialized) {
console.log('calling');
this.registerEvents();

@@ -60,0 +59,0 @@ this.LG = lightGallery__default['default'](this._elementRef.nativeElement, this.settings);

2

angular/bundles/lightgallery-angular.umd.min.js

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("lightgallery")):"function"==typeof define&&define.amd?define("lightgallery/angular",["exports","@angular/core","lightgallery"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).lightgallery=e.lightgallery||{},e.lightgallery.angular={}),e.ng.core,e.lightGallery)}(this,(function(e,t,n){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=o(n),l=function(){};l.ɵfac=function(e){return new(e||l)},l.ɵprov=t.ɵɵdefineInjectable({token:l,factory:l.ɵfac,providedIn:"root"}),("undefined"==typeof ngDevMode||ngDevMode)&&t.ɵsetClassMetadata(l,[{type:t.Injectable,args:[{providedIn:"root"}]}],(function(){return[]}),null);var r="lgAfterAppendSlide",d="lgInit",a="lgHasVideo",f="lgContainerResize",s="lgAfterAppendSubHtml",p="lgBeforeOpen",g="lgAfterOpen",u="lgSlideItemLoad",c="lgBeforeSlide",v="lgAfterSlide",m="lgPosterClick",h="lgDragStart",S="lgDragMove",y="lgDragEnd",A="lgBeforeNextSlide",E="lgBeforePrevSlide",I="lgBeforeClose",C="lgAfterClose",B=function(){function e(e){this._elementRef=e,this.lgInitialized=!1,this._elementRef=e}return e.prototype.ngAfterViewChecked=function(){this.lgInitialized||(console.log("calling"),this.registerEvents(),this.LG=i.default(this._elementRef.nativeElement,this.settings),this.lgInitialized=!0)},e.prototype.ngOnDestroy=function(){this.LG.destroy(),this.lgInitialized=!1},e.prototype.registerEvents=function(){var e=this;this.onAfterAppendSlide&&this._elementRef.nativeElement.addEventListener(r,(function(t){e.onAfterAppendSlide&&e.onAfterAppendSlide(t.detail)})),this.onInit&&this._elementRef.nativeElement.addEventListener(d,(function(t){e.onInit&&e.onInit(t.detail)})),this.onHasVideo&&this._elementRef.nativeElement.addEventListener(a,(function(t){e.onHasVideo&&e.onHasVideo(t.detail)})),this.onContainerResize&&this._elementRef.nativeElement.addEventListener(f,(function(t){e.onContainerResize&&e.onContainerResize(t.detail)})),this.onAfterAppendSubHtml&&this._elementRef.nativeElement.addEventListener(s,(function(t){e.onAfterAppendSubHtml&&e.onAfterAppendSubHtml(t.detail)})),this.onBeforeOpen&&this._elementRef.nativeElement.addEventListener(p,(function(t){e.onBeforeOpen&&e.onBeforeOpen(t.detail)})),this.onAfterOpen&&this._elementRef.nativeElement.addEventListener(g,(function(t){e.onAfterOpen&&e.onAfterOpen(t.detail)})),this.onSlideItemLoad&&this._elementRef.nativeElement.addEventListener(u,(function(t){e.onSlideItemLoad&&e.onSlideItemLoad(t.detail)})),this.onBeforeSlide&&this._elementRef.nativeElement.addEventListener(c,(function(t){e.onBeforeSlide&&e.onBeforeSlide(t.detail)})),this.onAfterSlide&&this._elementRef.nativeElement.addEventListener(v,(function(t){e.onAfterSlide&&e.onAfterSlide(t.detail)})),this.onPosterClick&&this._elementRef.nativeElement.addEventListener(m,(function(t){e.onPosterClick&&e.onPosterClick(t.detail)})),this.onDragStart&&this._elementRef.nativeElement.addEventListener(h,(function(t){e.onDragStart&&e.onDragStart(t.detail)})),this.onDragMove&&this._elementRef.nativeElement.addEventListener(S,(function(t){e.onDragMove&&e.onDragMove(t.detail)})),this.onDragEnd&&this._elementRef.nativeElement.addEventListener(y,(function(t){e.onDragEnd&&e.onDragEnd(t.detail)})),this.onBeforeNextSlide&&this._elementRef.nativeElement.addEventListener(A,(function(t){e.onBeforeNextSlide&&e.onBeforeNextSlide(t.detail)})),this.onBeforePrevSlide&&this._elementRef.nativeElement.addEventListener(E,(function(t){e.onBeforePrevSlide&&e.onBeforePrevSlide(t.detail)})),this.onBeforeClose&&this._elementRef.nativeElement.addEventListener(I,(function(t){e.onBeforeClose&&e.onBeforeClose(t.detail)})),this.onAfterClose&&this._elementRef.nativeElement.addEventListener(C,(function(t){e.onAfterClose&&e.onAfterClose(t.detail)}))},e}();B.ɵfac=function(e){return new(e||B)(t.ɵɵdirectiveInject(t.ElementRef))},B.ɵcmp=t.ɵɵdefineComponent({type:B,selectors:[["lightgallery"]],inputs:{settings:"settings",onAfterAppendSlide:"onAfterAppendSlide",onInit:"onInit",onHasVideo:"onHasVideo",onContainerResize:"onContainerResize",onAfterAppendSubHtml:"onAfterAppendSubHtml",onBeforeOpen:"onBeforeOpen",onAfterOpen:"onAfterOpen",onSlideItemLoad:"onSlideItemLoad",onBeforeSlide:"onBeforeSlide",onAfterSlide:"onAfterSlide",onPosterClick:"onPosterClick",onDragStart:"onDragStart",onDragMove:"onDragMove",onDragEnd:"onDragEnd",onBeforeNextSlide:"onBeforeNextSlide",onBeforePrevSlide:"onBeforePrevSlide",onBeforeClose:"onBeforeClose",onAfterClose:"onAfterClose"},ngContentSelectors:["*"],decls:1,vars:0,template:function(e,n){1&e&&(t.ɵɵprojectionDef(),t.ɵɵprojection(0))},encapsulation:2}),("undefined"==typeof ngDevMode||ngDevMode)&&t.ɵsetClassMetadata(B,[{type:t.Component,args:[{selector:"lightgallery",template:"<ng-content></ng-content>",styles:[]}]}],(function(){return[{type:t.ElementRef}]}),{settings:[{type:t.Input}],onAfterAppendSlide:[{type:t.Input}],onInit:[{type:t.Input}],onHasVideo:[{type:t.Input}],onContainerResize:[{type:t.Input}],onAfterAppendSubHtml:[{type:t.Input}],onBeforeOpen:[{type:t.Input}],onAfterOpen:[{type:t.Input}],onSlideItemLoad:[{type:t.Input}],onBeforeSlide:[{type:t.Input}],onAfterSlide:[{type:t.Input}],onPosterClick:[{type:t.Input}],onDragStart:[{type:t.Input}],onDragMove:[{type:t.Input}],onDragEnd:[{type:t.Input}],onBeforeNextSlide:[{type:t.Input}],onBeforePrevSlide:[{type:t.Input}],onBeforeClose:[{type:t.Input}],onAfterClose:[{type:t.Input}]});var L=function(){};L.ɵfac=function(e){return new(e||L)},L.ɵmod=t.ɵɵdefineNgModule({type:L}),L.ɵinj=t.ɵɵdefineInjector({imports:[[]]}),("undefined"==typeof ngJitMode||ngJitMode)&&t.ɵɵsetNgModuleScope(L,{declarations:[B],exports:[B]}),("undefined"==typeof ngDevMode||ngDevMode)&&t.ɵsetClassMetadata(L,[{type:t.NgModule,args:[{declarations:[B],imports:[],exports:[B]}]}],null,null),e.LightgalleryComponent=B,e.LightgalleryModule=L,e.LightgalleryService=l,Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("lightgallery")):"function"==typeof define&&define.amd?define("lightgallery/angular",["exports","@angular/core","lightgallery"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).lightgallery=e.lightgallery||{},e.lightgallery.angular={}),e.ng.core,e.lightGallery)}(this,(function(e,t,n){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=o(n),l=function(){};l.ɵfac=function(e){return new(e||l)},l.ɵprov=t.ɵɵdefineInjectable({token:l,factory:l.ɵfac,providedIn:"root"}),("undefined"==typeof ngDevMode||ngDevMode)&&t.ɵsetClassMetadata(l,[{type:t.Injectable,args:[{providedIn:"root"}]}],(function(){return[]}),null);var r="lgAfterAppendSlide",d="lgInit",a="lgHasVideo",f="lgContainerResize",s="lgAfterAppendSubHtml",p="lgBeforeOpen",g="lgAfterOpen",u="lgSlideItemLoad",c="lgBeforeSlide",v="lgAfterSlide",m="lgPosterClick",h="lgDragStart",S="lgDragMove",y="lgDragEnd",A="lgBeforeNextSlide",E="lgBeforePrevSlide",I="lgBeforeClose",C="lgAfterClose",B=function(){function e(e){this._elementRef=e,this.lgInitialized=!1,this._elementRef=e}return e.prototype.ngAfterViewChecked=function(){this.lgInitialized||(this.registerEvents(),this.LG=i.default(this._elementRef.nativeElement,this.settings),this.lgInitialized=!0)},e.prototype.ngOnDestroy=function(){this.LG.destroy(),this.lgInitialized=!1},e.prototype.registerEvents=function(){var e=this;this.onAfterAppendSlide&&this._elementRef.nativeElement.addEventListener(r,(function(t){e.onAfterAppendSlide&&e.onAfterAppendSlide(t.detail)})),this.onInit&&this._elementRef.nativeElement.addEventListener(d,(function(t){e.onInit&&e.onInit(t.detail)})),this.onHasVideo&&this._elementRef.nativeElement.addEventListener(a,(function(t){e.onHasVideo&&e.onHasVideo(t.detail)})),this.onContainerResize&&this._elementRef.nativeElement.addEventListener(f,(function(t){e.onContainerResize&&e.onContainerResize(t.detail)})),this.onAfterAppendSubHtml&&this._elementRef.nativeElement.addEventListener(s,(function(t){e.onAfterAppendSubHtml&&e.onAfterAppendSubHtml(t.detail)})),this.onBeforeOpen&&this._elementRef.nativeElement.addEventListener(p,(function(t){e.onBeforeOpen&&e.onBeforeOpen(t.detail)})),this.onAfterOpen&&this._elementRef.nativeElement.addEventListener(g,(function(t){e.onAfterOpen&&e.onAfterOpen(t.detail)})),this.onSlideItemLoad&&this._elementRef.nativeElement.addEventListener(u,(function(t){e.onSlideItemLoad&&e.onSlideItemLoad(t.detail)})),this.onBeforeSlide&&this._elementRef.nativeElement.addEventListener(c,(function(t){e.onBeforeSlide&&e.onBeforeSlide(t.detail)})),this.onAfterSlide&&this._elementRef.nativeElement.addEventListener(v,(function(t){e.onAfterSlide&&e.onAfterSlide(t.detail)})),this.onPosterClick&&this._elementRef.nativeElement.addEventListener(m,(function(t){e.onPosterClick&&e.onPosterClick(t.detail)})),this.onDragStart&&this._elementRef.nativeElement.addEventListener(h,(function(t){e.onDragStart&&e.onDragStart(t.detail)})),this.onDragMove&&this._elementRef.nativeElement.addEventListener(S,(function(t){e.onDragMove&&e.onDragMove(t.detail)})),this.onDragEnd&&this._elementRef.nativeElement.addEventListener(y,(function(t){e.onDragEnd&&e.onDragEnd(t.detail)})),this.onBeforeNextSlide&&this._elementRef.nativeElement.addEventListener(A,(function(t){e.onBeforeNextSlide&&e.onBeforeNextSlide(t.detail)})),this.onBeforePrevSlide&&this._elementRef.nativeElement.addEventListener(E,(function(t){e.onBeforePrevSlide&&e.onBeforePrevSlide(t.detail)})),this.onBeforeClose&&this._elementRef.nativeElement.addEventListener(I,(function(t){e.onBeforeClose&&e.onBeforeClose(t.detail)})),this.onAfterClose&&this._elementRef.nativeElement.addEventListener(C,(function(t){e.onAfterClose&&e.onAfterClose(t.detail)}))},e}();B.ɵfac=function(e){return new(e||B)(t.ɵɵdirectiveInject(t.ElementRef))},B.ɵcmp=t.ɵɵdefineComponent({type:B,selectors:[["lightgallery"]],inputs:{settings:"settings",onAfterAppendSlide:"onAfterAppendSlide",onInit:"onInit",onHasVideo:"onHasVideo",onContainerResize:"onContainerResize",onAfterAppendSubHtml:"onAfterAppendSubHtml",onBeforeOpen:"onBeforeOpen",onAfterOpen:"onAfterOpen",onSlideItemLoad:"onSlideItemLoad",onBeforeSlide:"onBeforeSlide",onAfterSlide:"onAfterSlide",onPosterClick:"onPosterClick",onDragStart:"onDragStart",onDragMove:"onDragMove",onDragEnd:"onDragEnd",onBeforeNextSlide:"onBeforeNextSlide",onBeforePrevSlide:"onBeforePrevSlide",onBeforeClose:"onBeforeClose",onAfterClose:"onAfterClose"},ngContentSelectors:["*"],decls:1,vars:0,template:function(e,n){1&e&&(t.ɵɵprojectionDef(),t.ɵɵprojection(0))},encapsulation:2}),("undefined"==typeof ngDevMode||ngDevMode)&&t.ɵsetClassMetadata(B,[{type:t.Component,args:[{selector:"lightgallery",template:"<ng-content></ng-content>",styles:[]}]}],(function(){return[{type:t.ElementRef}]}),{settings:[{type:t.Input}],onAfterAppendSlide:[{type:t.Input}],onInit:[{type:t.Input}],onHasVideo:[{type:t.Input}],onContainerResize:[{type:t.Input}],onAfterAppendSubHtml:[{type:t.Input}],onBeforeOpen:[{type:t.Input}],onAfterOpen:[{type:t.Input}],onSlideItemLoad:[{type:t.Input}],onBeforeSlide:[{type:t.Input}],onAfterSlide:[{type:t.Input}],onPosterClick:[{type:t.Input}],onDragStart:[{type:t.Input}],onDragMove:[{type:t.Input}],onDragEnd:[{type:t.Input}],onBeforeNextSlide:[{type:t.Input}],onBeforePrevSlide:[{type:t.Input}],onBeforeClose:[{type:t.Input}],onAfterClose:[{type:t.Input}]});var L=function(){};L.ɵfac=function(e){return new(e||L)},L.ɵmod=t.ɵɵdefineNgModule({type:L}),L.ɵinj=t.ɵɵdefineInjector({imports:[[]]}),("undefined"==typeof ngJitMode||ngJitMode)&&t.ɵɵsetNgModuleScope(L,{declarations:[B],exports:[B]}),("undefined"==typeof ngDevMode||ngDevMode)&&t.ɵsetClassMetadata(L,[{type:t.NgModule,args:[{declarations:[B],imports:[],exports:[B]}]}],null,null),e.LightgalleryComponent=B,e.LightgalleryModule=L,e.LightgalleryService=l,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=lightgallery-angular.umd.min.js.map

@@ -34,3 +34,2 @@ import { Component, Input } from '@angular/core';

if (!this.lgInitialized) {
console.log('calling');
this.registerEvents();

@@ -194,2 +193,2 @@ this.LG = lightGallery(this._elementRef.nativeElement, this.settings);

}] }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlnaHRnYWxsZXJ5LWFuZ3VsYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbGlnaHRnYWxsZXJ5LWFuZ3VsYXIvc3JjL2xpYi9saWdodGdhbGxlcnktYW5ndWxhci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVM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lkZSAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5vbkFmdGVyQXBwZW5kU2xpZGUoZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vbkluaXQpIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKExnTWV0aG9kcy5vbkluaXQsICgoXG4gICAgICAgICAgICAgICAgZXZlbnQ6IEN1c3RvbUV2ZW50LFxuICAgICAgICAgICAgKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5vbkluaXQgJiYgdGhpcy5vbkluaXQoZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgIH0pIGFzIEV2ZW50TGlzdGVuZXIpO1xuICAgICAgICB9XG4gICAgICAgIGlmICh0aGlzLm9uSGFzVmlkZW8pIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKFxuICAgICAgICAgICAgICAgIExnTWV0aG9kcy5vbkhhc1ZpZGVvLFxuICAgICAgICAgICAgICAgICgoZXZlbnQ6IEN1c3RvbUV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMub25IYXNWaWRlbyAmJiB0aGlzLm9uSGFzVmlkZW8oZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vbkNvbnRhaW5lclJlc2l6ZSkge1xuICAgICAgICAgICAgdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoXG4gICAgICAgICAgICAgICAgTGdNZXRob2RzLm9uQ29udGFpbmVyUmVzaXplLFxuICAgICAgICAgICAgICAgICgoZXZlbnQ6IEN1c3RvbUV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMub25Db250YWluZXJSZXNpemUgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMub25Db250YWluZXJSZXNpemUoZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vbkFmdGVyQXBwZW5kU3ViSHRtbCkge1xuICAgICAgICAgICAgdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoXG4gICAgICAgICAgICAgICAgTGdNZXRob2RzLm9uQWZ0ZXJBcHBlbmRTdWJIdG1sLFxuICAgICAgICAgICAgICAgICgoZXZlbnQ6IEN1c3RvbUV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMub25BZnRlckFwcGVuZFN1Ykh0bWwgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMub25BZnRlckFwcGVuZFN1Ykh0bWwoZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vbkJlZm9yZU9wZW4pIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKFxuICAgICAgICAgICAgICAgIExnTWV0aG9kcy5vbkJlZm9yZU9wZW4sXG4gICAgICAgICAgICAgICAgKChldmVudDogQ3VzdG9tRXZlbnQpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5vbkJlZm9yZU9wZW4gJiYgdGhpcy5vbkJlZm9yZU9wZW4oZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vbkFmdGVyT3Blbikge1xuICAgICAgICAgICAgdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoXG4gICAgICAgICAgICAgICAgTGdNZXRob2RzLm9uQWZ0ZXJPcGVuLFxuICAgICAgICAgICAgICAgICgoZXZlbnQ6IEN1c3RvbUV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMub25BZnRlck9wZW4gJiYgdGhpcy5vbkFmdGVyT3BlbihldmVudC5kZXRhaWwpO1xuICAgICAgICAgICAgICAgIH0pIGFzIEV2ZW50TGlzdGVuZXIsXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgICAgIGlmICh0aGlzLm9uU2xpZGVJdGVtTG9hZCkge1xuICAgICAgICAgICAgdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoXG4gICAgICAgICAgICAgICAgTGdNZXRob2RzLm9uU2xpZGVJdGVtTG9hZCxcbiAgICAgICAgICAgICAgICAoKGV2ZW50OiBDdXN0b21FdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm9uU2xpZGVJdGVtTG9hZCAmJiB0aGlzLm9uU2xpZGVJdGVtTG9hZChldmVudC5kZXRhaWwpO1xuICAgICAgICAgICAgICAgIH0pIGFzIEV2ZW50TGlzdGVuZXIsXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgICAgIGlmICh0aGlzLm9uQmVmb3JlU2xpZGUpIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKFxuICAgICAgICAgICAgICAgIExnTWV0aG9kcy5vbkJlZm9yZVNsaWRlLFxuICAgICAgICAgICAgICAgICgoZXZlbnQ6IEN1c3RvbUV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMub25CZWZvcmVTbGlkZSAmJiB0aGlzLm9uQmVmb3JlU2xpZGUoZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vbkFmdGVyU2xpZGUpIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKFxuICAgICAgICAgICAgICAgIExnTWV0aG9kcy5vbkFmdGVyU2xpZGUsXG4gICAgICAgICAgICAgICAgKChldmVudDogQ3VzdG9tRXZlbnQpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5vbkFmdGVyU2xpZGUgJiYgdGhpcy5vbkFmdGVyU2xpZGUoZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vblBvc3RlckNsaWNrKSB7XG4gICAgICAgICAgICB0aGlzLl9lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcihcbiAgICAgICAgICAgICAgICBMZ01ldGhvZHMub25Qb3N0ZXJDbGljayxcbiAgICAgICAgICAgICAgICAoKGV2ZW50OiBDdXN0b21FdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm9uUG9zdGVyQ2xpY2sgJiYgdGhpcy5vblBvc3RlckNsaWNrKGV2ZW50LmRldGFpbCk7XG4gICAgICAgICAgICAgICAgfSkgYXMgRXZlbnRMaXN0ZW5lcixcbiAgICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHRoaXMub25EcmFnU3RhcnQpIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKFxuICAgICAgICAgICAgICAgIExnTWV0aG9kcy5vbkRyYWdTdGFydCxcbiAgICAgICAgICAgICAgICAoKGV2ZW50OiBDdXN0b21FdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm9uRHJhZ1N0YXJ0ICYmIHRoaXMub25EcmFnU3RhcnQoZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vbkRyYWdNb3ZlKSB7XG4gICAgICAgICAgICB0aGlzLl9lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcihcbiAgICAgICAgICAgICAgICBMZ01ldGhvZHMub25EcmFnTW92ZSxcbiAgICAgICAgICAgICAgICAoKGV2ZW50OiBDdXN0b21FdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm9uRHJhZ01vdmUgJiYgdGhpcy5vbkRyYWdNb3ZlKGV2ZW50LmRldGFpbCk7XG4gICAgICAgICAgICAgICAgfSkgYXMgRXZlbnRMaXN0ZW5lcixcbiAgICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHRoaXMub25EcmFnRW5kKSB7XG4gICAgICAgICAgICB0aGlzLl9lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcihcbiAgICAgICAgICAgICAgICBMZ01ldGhvZHMub25EcmFnRW5kLFxuICAgICAgICAgICAgICAgICgoZXZlbnQ6IEN1c3RvbUV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMub25EcmFnRW5kICYmIHRoaXMub25EcmFnRW5kKGV2ZW50LmRldGFpbCk7XG4gICAgICAgICAgICAgICAgfSkgYXMgRXZlbnRMaXN0ZW5lcixcbiAgICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHRoaXMub25CZWZvcmVOZXh0U2xpZGUpIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKFxuICAgICAgICAgICAgICAgIExnTWV0aG9kcy5vbkJlZm9yZU5leHRTbGlkZSxcbiAgICAgICAgICAgICAgICAoKGV2ZW50OiBDdXN0b21FdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm9uQmVmb3JlTmV4dFNsaWRlICYmXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm9uQmVmb3JlTmV4dFNsaWRlKGV2ZW50LmRldGFpbCk7XG4gICAgICAgICAgICAgICAgfSkgYXMgRXZlbnRMaXN0ZW5lcixcbiAgICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHRoaXMub25CZWZvcmVQcmV2U2xpZGUpIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKFxuICAgICAgICAgICAgICAgIExnTWV0aG9kcy5vbkJlZm9yZVByZXZTbGlkZSxcbiAgICAgICAgICAgICAgICAoKGV2ZW50OiBDdXN0b21FdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm9uQmVmb3JlUHJldlNsaWRlICYmXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm9uQmVmb3JlUHJldlNsaWRlKGV2ZW50LmRldGFpbCk7XG4gICAgICAgICAgICAgICAgfSkgYXMgRXZlbnRMaXN0ZW5lcixcbiAgICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHRoaXMub25CZWZvcmVDbG9zZSkge1xuICAgICAgICAgICAgdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoXG4gICAgICAgICAgICAgICAgTGdNZXRob2RzLm9uQmVmb3JlQ2xvc2UsXG4gICAgICAgICAgICAgICAgKChldmVudDogQ3VzdG9tRXZlbnQpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5vbkJlZm9yZUNsb3NlICYmIHRoaXMub25CZWZvcmVDbG9zZShldmVudC5kZXRhaWwpO1xuICAgICAgICAgICAgICAgIH0pIGFzIEV2ZW50TGlzdGVuZXIsXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgICAgIGlmICh0aGlzLm9uQWZ0ZXJDbG9zZSkge1xuICAgICAgICAgICAgdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoXG4gICAgICAgICAgICAgICAgTGdNZXRob2RzLm9uQWZ0ZXJDbG9zZSxcbiAgICAgICAgICAgICAgICAoKGV2ZW50OiBDdXN0b21FdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm9uQWZ0ZXJDbG9zZSAmJiB0aGlzLm9uQWZ0ZXJDbG9zZShldmVudC5kZXRhaWwpO1xuICAgICAgICAgICAgICAgIH0pIGFzIEV2ZW50TGlzdGVuZXIsXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgfVxufVxuIl19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlnaHRnYWxsZXJ5LWFuZ3VsYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbGlnaHRnYWxsZXJ5LWFuZ3VsYXIvc3JjL2xpYi9saWdodGdhbGxlcnktYW5ndWxhci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQVUsTUFBTSxlQ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ZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vbkluaXQpIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKExnTWV0aG9kcy5vbkluaXQsICgoXG4gICAgICAgICAgICAgICAgZXZlbnQ6IEN1c3RvbUV2ZW50LFxuICAgICAgICAgICAgKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5vbkluaXQgJiYgdGhpcy5vbkluaXQoZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgIH0pIGFzIEV2ZW50TGlzdGVuZXIpO1xuICAgICAgICB9XG4gICAgICAgIGlmICh0aGlzLm9uSGFzVmlkZW8pIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKFxuICAgICAgICAgICAgICAgIExnTWV0aG9kcy5vbkhhc1ZpZGVvLFxuICAgICAgICAgICAgICAgICgoZXZlbnQ6IEN1c3RvbUV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMub25IYXNWaWRlbyAmJiB0aGlzLm9uSGFzVmlkZW8oZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vbkNvbnRhaW5lclJlc2l6ZSkge1xuICAgICAgICAgICAgdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoXG4gICAgICAgICAgICAgICAgTGdNZXRob2RzLm9uQ29udGFpbmVyUmVzaXplLFxuICAgICAgICAgICAgICAgICgoZXZlbnQ6IEN1c3RvbUV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMub25Db250YWluZXJSZXNpemUgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMub25Db250YWluZXJSZXNpemUoZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vbkFmdGVyQXBwZW5kU3ViSHRtbCkge1xuICAgICAgICAgICAgdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoXG4gICAgICAgICAgICAgICAgTGdNZXRob2RzLm9uQWZ0ZXJBcHBlbmRTdWJIdG1sLFxuICAgICAgICAgICAgICAgICgoZXZlbnQ6IEN1c3RvbUV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMub25BZnRlckFwcGVuZFN1Ykh0bWwgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMub25BZnRlckFwcGVuZFN1Ykh0bWwoZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vbkJlZm9yZU9wZW4pIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKFxuICAgICAgICAgICAgICAgIExnTWV0aG9kcy5vbkJlZm9yZU9wZW4sXG4gICAgICAgICAgICAgICAgKChldmVudDogQ3VzdG9tRXZlbnQpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5vbkJlZm9yZU9wZW4gJiYgdGhpcy5vbkJlZm9yZU9wZW4oZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vbkFmdGVyT3Blbikge1xuICAgICAgICAgICAgdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoXG4gICAgICAgICAgICAgICAgTGdNZXRob2RzLm9uQWZ0ZXJPcGVuLFxuICAgICAgICAgICAgICAgICgoZXZlbnQ6IEN1c3RvbUV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMub25BZnRlck9wZW4gJiYgdGhpcy5vbkFmdGVyT3BlbihldmVudC5kZXRhaWwpO1xuICAgICAgICAgICAgICAgIH0pIGFzIEV2ZW50TGlzdGVuZXIsXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgICAgIGlmICh0aGlzLm9uU2xpZGVJdGVtTG9hZCkge1xuICAgICAgICAgICAgdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoXG4gICAgICAgICAgICAgICAgTGdNZXRob2RzLm9uU2xpZGVJdGVtTG9hZCxcbiAgICAgICAgICAgICAgICAoKGV2ZW50OiBDdXN0b21FdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm9uU2xpZGVJdGVtTG9hZCAmJiB0aGlzLm9uU2xpZGVJdGVtTG9hZChldmVudC5kZXRhaWwpO1xuICAgICAgICAgICAgICAgIH0pIGFzIEV2ZW50TGlzdGVuZXIsXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgICAgIGlmICh0aGlzLm9uQmVmb3JlU2xpZGUpIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKFxuICAgICAgICAgICAgICAgIExnTWV0aG9kcy5vbkJlZm9yZVNsaWRlLFxuICAgICAgICAgICAgICAgICgoZXZlbnQ6IEN1c3RvbUV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMub25CZWZvcmVTbGlkZSAmJiB0aGlzLm9uQmVmb3JlU2xpZGUoZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vbkFmdGVyU2xpZGUpIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKFxuICAgICAgICAgICAgICAgIExnTWV0aG9kcy5vbkFmdGVyU2xpZGUsXG4gICAgICAgICAgICAgICAgKChldmVudDogQ3VzdG9tRXZlbnQpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5vbkFmdGVyU2xpZGUgJiYgdGhpcy5vbkFmdGVyU2xpZGUoZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vblBvc3RlckNsaWNrKSB7XG4gICAgICAgICAgICB0aGlzLl9lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcihcbiAgICAgICAgICAgICAgICBMZ01ldGhvZHMub25Qb3N0ZXJDbGljayxcbiAgICAgICAgICAgICAgICAoKGV2ZW50OiBDdXN0b21FdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm9uUG9zdGVyQ2xpY2sgJiYgdGhpcy5vblBvc3RlckNsaWNrKGV2ZW50LmRldGFpbCk7XG4gICAgICAgICAgICAgICAgfSkgYXMgRXZlbnRMaXN0ZW5lcixcbiAgICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHRoaXMub25EcmFnU3RhcnQpIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKFxuICAgICAgICAgICAgICAgIExnTWV0aG9kcy5vbkRyYWdTdGFydCxcbiAgICAgICAgICAgICAgICAoKGV2ZW50OiBDdXN0b21FdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm9uRHJhZ1N0YXJ0ICYmIHRoaXMub25EcmFnU3RhcnQoZXZlbnQuZGV0YWlsKTtcbiAgICAgICAgICAgICAgICB9KSBhcyBFdmVudExpc3RlbmVyLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAodGhpcy5vbkRyYWdNb3ZlKSB7XG4gICAgICAgICAgICB0aGlzLl9lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcihcbiAgICAgICAgICAgICAgICBMZ01ldGhvZHMub25EcmFnTW92ZSxcbiAgICAgICAgICAgICAgICAoKGV2ZW50OiBDdXN0b21FdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm9uRHJhZ01vdmUgJiYgdGhpcy5vbkRyYWdNb3ZlKGV2ZW50LmRldGFpbCk7XG4gICAgICAgICAgICAgICAgfSkgYXMgRXZlbnRMaXN0ZW5lcixcbiAgICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHRoaXMub25EcmFnRW5kKSB7XG4gICAgICAgICAgICB0aGlzLl9lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcihcbiAgICAgICAgICAgICAgICBMZ01ldGhvZHMub25EcmFnRW5kLFxuICAgICAgICAgICAgICAgICgoZXZlbnQ6IEN1c3RvbUV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMub25EcmFnRW5kICYmIHRoaXMub25EcmFnRW5kKGV2ZW50LmRldGFpbCk7XG4gICAgICAgICAgICAgICAgfSkgYXMgRXZlbnRMaXN0ZW5lcixcbiAgICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHRoaXMub25CZWZvcmVOZXh0U2xpZGUpIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKFxuICAgICAgICAgICAgICAgIExnTWV0aG9kcy5vbkJlZm9yZU5leHRTbGlkZSxcbiAgICAgICAgICAgICAgICAoKGV2ZW50OiBDdXN0b21FdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm9uQmVmb3JlTmV4dFNsaWRlICYmXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm9uQmVmb3JlTmV4dFNsaWRlKGV2ZW50LmRldGFpbCk7XG4gICAgICAgICAgICAgICAgfSkgYXMgRXZlbnRMaXN0ZW5lcixcbiAgICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHRoaXMub25CZWZvcmVQcmV2U2xpZGUpIHtcbiAgICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKFxuICAgICAgICAgICAgICAgIExnTWV0aG9kcy5vbkJlZm9yZVByZXZTbGlkZSxcbiAgICAgICAgICAgICAgICAoKGV2ZW50OiBDdXN0b21FdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm9uQmVmb3JlUHJldlNsaWRlICYmXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm9uQmVmb3JlUHJldlNsaWRlKGV2ZW50LmRldGFpbCk7XG4gICAgICAgICAgICAgICAgfSkgYXMgRXZlbnRMaXN0ZW5lcixcbiAgICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHRoaXMub25CZWZvcmVDbG9zZSkge1xuICAgICAgICAgICAgdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoXG4gICAgICAgICAgICAgICAgTGdNZXRob2RzLm9uQmVmb3JlQ2xvc2UsXG4gICAgICAgICAgICAgICAgKChldmVudDogQ3VzdG9tRXZlbnQpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5vbkJlZm9yZUNsb3NlICYmIHRoaXMub25CZWZvcmVDbG9zZShldmVudC5kZXRhaWwpO1xuICAgICAgICAgICAgICAgIH0pIGFzIEV2ZW50TGlzdGVuZXIsXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgICAgIGlmICh0aGlzLm9uQWZ0ZXJDbG9zZSkge1xuICAgICAgICAgICAgdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoXG4gICAgICAgICAgICAgICAgTGdNZXRob2RzLm9uQWZ0ZXJDbG9zZSxcbiAgICAgICAgICAgICAgICAoKGV2ZW50OiBDdXN0b21FdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm9uQWZ0ZXJDbG9zZSAmJiB0aGlzLm9uQWZ0ZXJDbG9zZShldmVudC5kZXRhaWwpO1xuICAgICAgICAgICAgICAgIH0pIGFzIEV2ZW50TGlzdGVuZXIsXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgfVxufVxuIl19

@@ -46,3 +46,2 @@ import { ɵɵdefineInjectable, ɵsetClassMetadata, Injectable, ɵɵdirectiveInject, ElementRef, ɵɵdefineComponent, ɵɵprojectionDef, ɵɵprojection, Component, Input, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';

if (!this.lgInitialized) {
console.log('calling');
this.registerEvents();

@@ -49,0 +48,0 @@ this.LG = lightGallery(this._elementRef.nativeElement, this.settings);

@@ -313,3 +313,3 @@ import { GalleryItem } from './lg-utils';

*/
dynamic: false;
dynamic: boolean;
/**

@@ -316,0 +316,0 @@ * An array of objects (src, iframe, subHtml, thumb, poster, responsive, srcset sizes) representing gallery elements.

/**
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

{
"name": "lightgallery",
"version": "2.1.0-beta.4",
"version": "2.1.0",
"description": "lightGallery is a feature-rich, modular JavaScript gallery plugin for building beautiful image and video galleries for the web and the mobile",

@@ -5,0 +5,0 @@ "keywords": [

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/**
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/**
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/**
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/**
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/**
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/**
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/**
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/**
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/**
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/**
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/**
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

/*!
* lightgallery | 2.1.0-beta.4 | May 26th 2021
* lightgallery | 2.1.0 | May 28th 2021
* http://www.lightgalleryjs.com/

@@ -4,0 +4,0 @@ * Copyright (c) 2020 Sachin Neravath;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc