!function(e){if("object"==typeofexports&&"undefined"!=typeofmodule)module.exports=e();elseif("function"==typeofdefine&&define.amd)define([],e);else{vart;t="undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:this,t.Lightgallery=e()}}(function(){vare,t,s;returnfunction(){functione(t,s,l){functioni(r,a){if(!s[r]){if(!t[r]){vard="function"==typeofrequire&&require;if(!a&&d)returnd(r,!0);if(o)returno(r,!0);varn=newError("Cannot find module '"+r+"'");thrown.code="MODULE_NOT_FOUND",n}varu=s[r]={exports:{}};t[r][0].call(u.exports,function(e){returni(t[r][1][e]||e)},u,u.exports,e,t,s,l)}returns[r].exports}for(varo="function"==typeofrequire&&require,r=0;r<l.length;r++)i(l[r]);returni}returne}()({1:[function(t,s,l){!function(t,s){if("function"==typeofe&&e.amd)e(["exports"],s);elseif(void0!==l)s(l);else{vari={exports:{}};s(i.exports),t.lgUtils=i.exports}}(this,function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});vart={getAttribute:functione(t,s){returnt[s]},setAttribute:functione(t,s,l){t[s]=l},wrap:functione(t,s){if(t){varl=document.createElement("div");l.className=s,t.parentNode.insertBefore(l,t),t.parentNode.removeChild(t),l.appendChild(t)}},addClass:functione(t,s){t&&(t.classList?t.classList.add(s):t.className+=" "+s)},removeClass:functione(t,s){t&&(t.classList?t.classList.remove(s):t.className=t.className.replace(newRegExp("(^|\\b)"+s.split(" ").join("|")+"(\\b|$)","gi")," "))},hasClass:functione(t,s){returnt.classList?t.classList.contains(s):newRegExp("(^| )"+s+"( |$)","gi").test(t.className)},setVendor:functione(t,s,l){t&&(t.style[s.charAt(0).toLowerCase()+s.slice(1)]=l,t.style["webkit"+s]=l,t.style["moz"+s]=l,t.style["ms"+s]=l,t.style["o"+s]=l)},trigger:functione(t,s){varl=arguments.length>2&&void0!==arguments[2]?arguments[2]:null;if(t){vari=newCustomEvent(s,{detail:l});t.dispatchEvent(i)}},Listener:{uid:0},on:functione(s,l,i){varo=this;s&&l.split(" ").forEach(function(e){varl=o.getAttribute(s,"lg-event-uid")||"";t.Listener.uid++,l+="&"+t.Listener.uid,o.setAttribute(s,"lg-event-uid",l),t.Listener[e+t.Listener.uid]=i,s.addEventListener(e.split(".")[0],i,!1)})},off:functione(s,l){if(s){vari=this.getAttribute(s,"lg-event-uid");if(i){i=i.split("&");for(varo=0;o<i.length;o++)if(i[o]){varr=l+i[o];if("."===r.substring(0,1))for(varaint.Listener)t.Listener.hasOwnProperty(a)&&a.split(".").indexOf(r.split(".")[1])>-1&&(s.removeEventListener(a.split(".")[0],t.Listener[a]),this.setAttribute(s,"lg-event-uid",this.getAttribute(s,"lg-event-uid").replace("&"+i[o],"")),deletet.Listener[a]);elses.removeEventListener(r.split(".")[0],t.Listener[r]),this.setAttribute(s,"lg-event-uid",this.getAttribute(s,"lg-event-uid").replace("&"+i[o],"")),deletet.Listener[r]}}}},param:functione(t){returnObject.keys(t).map(function(e){returnencodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&")}};e.default=t})},{}],2:[function(t,s,l){!function(s,i){if("function"==typeofe&&e.amd)e(["./lg-utils"],i);elseif(void0!==l)i(t("./lg-utils"));else{varo={exports:{}};i(s.lgUtils),s.lightgallery=o.exports}}(this,function(e){"use strict";functiont(e){returne&&e.__esModule?e:{default:e}}functions(e,t){if(this.el=e,this.s=i({},o,t),this.s.dynamic&&"undefined"!==this.s.dynamicEl&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length)throw"When using dynamic mode, you must also define dynamicEl as an Array.";returnthis.modules={},this.lGalleryOn=!1,this.lgBusy=!1,this.hideBartimeout=!1,this.isTouch="ontouchstart"indocument.documentElement,this.s.slideEndAnimatoin&&(this.s.hideControlOnEnd=!1),this.items=[],this.s.dynamic?this.items=this.s.dynamicEl:"this"===this.s.selector?this.items.push(this.el):""!==this.s.selector?this.s.selectWithin?this.items=document.querySelector(this.s.selectWithin).querySelectorAll(this.s.selector):this.items=this.el.querySelectorAll(this.s.selector):this.items=this.el.children,this.___slide="",this.outer="",this.init(),this}varl=t(e),i=Object.assign||function(e){for(vart=1;t<arguments.length;t++){va