diff --git a/dist/js/app.js b/dist/js/app.js index d3937af..0af6496 100644 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -1,3 +1,3 @@ /*! For license information please see app.js.LICENSE.txt */ -!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/mnt/data/srv/dist/repositories/webpack-bootstrap-ui-kit/dist",n(n.s="./src/js/app.js")}({"./node_modules/.pnpm/@a2nt/meta-lightbox@2.1.0/node_modules/@a2nt/meta-lightbox/src/js/meta-lightbox.js":function(e,t){function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(e,t,o){var i={effect:"fade",theme:"default",keyboardNav:!0,clickOverlayToClose:!0,onInit:function(){},beforeShowLightbox:function(){},afterShowLightbox:function(e){},beforeHideLightbox:function(){},afterHideLightbox:function(){},onPrev:function(e){},onNext:function(e){},errorMessage:"The requested content cannot be loaded. Please try again later."};function r(t,n){this.options=e.extend({},i,n),this._defaults=i,this._name="metaLightbox",this.init()}r.prototype={init:function(){var t=this,n=e("html");this.ajaxLoaded=!1,o.MetaLightbox=this,n.hasClass("meta-lightbox-notouch")||n.addClass("meta-lightbox-notouch"),"ontouchstart"in o&&n.removeClass("meta-lightbox-notouch"),e(o).on("click",'[data-toggle="lightbox"],[data-lightbox-gallery]',(function(e){return e.preventDefault(),e.stopPropagation(),t.showLightbox(this),!1})),this.options.keyboardNav&&e("body").off("keyup").on("keyup",(function(n){var o=n.keyCode?n.keyCode:n.which;27===o&&t.destructLightbox(),37===o&&e(".meta-lightbox-prev").trigger("click"),39===o&&e(".meta-lightbox-next").trigger("click")})),this.options.onInit.call(this)},showLightbox:function(t){this.el=t,this.$el=e(this.el);var n,o,i,r,s=this;this.options.beforeShowLightbox.call(this),(n=this.constructLightbox())&&(o=n.find(".meta-lightbox-content"))&&(i=this.$el,e("body").addClass("meta-lightbox-body-effect-".concat(this.options.effect)),this.processContent(o,i),this.$el.data("lightbox-gallery")&&(1===(r=e('[data-lightbox-gallery="'.concat(this.$el.data("lightbox-gallery"),'"]'))).length?e(".meta-lightbox-nav").hide():e(".meta-lightbox-nav").show(),e(".meta-lightbox-prev").off("click").on("click",(function(t){t.preventDefault();var n=r.index(i);i=r.eq(n-1),e(i).length||(i=r.last()),s.processContent(o,i),s.options.onPrev.call(this,[i])})),e(".meta-lightbox-next").off("click").on("click",(function(t){t.preventDefault();var n=r.index(i);i=r.eq(n+1),e(i).length||(i=r.first()),s.processContent(o,i),s.options.onNext.call(this,[i])}))),setTimeout((function(){n.addClass("meta-lightbox-open"),s.options.afterShowLightbox.call(this,[n])}),1))},processContent:function(i,r){var s,a,l,c,u,d,p=this;href=r.attr("href"),href||(href=r.data("href")),i.html("").addClass("meta-lightbox-loading"),this.isHidpi()&&r.data("lightbox-hidpi")&&(href=r.data("lightbox-hidpi")),null!=href.match(/\.(jpeg|jpg|gif|png)$/i)?((s=e("",{src:href})).on("load",(function(){var n=e('
'),o=e(".meta-lightbox-content"),r=e('');r.append(s),n.append(r),n.css({"line-height":"".concat(o.height(),"px"),height:"".concat(o.height(),"px")}),e(t).resize((function(){n.css({"line-height":"".concat(o.height(),"px"),height:"".concat(o.height(),"px")})})),"undefined"!==typeof r.zoom&&r.zoom(),i.html(n).removeClass("meta-lightbox-loading"),p.contentLoaded()})),s.on("error",(function(){var t=e('

'.concat(p.options.errorMessage,"

"));i.html(t).removeClass("meta-lightbox-loading"),p.contentLoaded()})),r.data("title")?p.setTitle(r.data("title")):r.attr("title")?p.setTitle(r.attr("title")):e(".meta-lightbox-title-wrap").html(""),"function"===typeof ga&&ga("send","event","meta","Image Click",href)):(a=href.match(/(youtube|youtube-nocookie|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/))?(l="",c="meta-lightbox-video","youtube"==a[1]&&(l="https://www.youtube.com/embed/".concat(a[4]),c="meta-lightbox-youtube"),"youtu"==a[1]&&(l="https://www.youtube.com/embed/".concat(a[3]),c="meta-lightbox-youtube"),"youtube-nocookie"==a[1]&&(l="https://www.youtube-nocookie.com/embed/".concat(a[4]),c="nivo-lightbox-youtube"),"vimeo"==a[1]&&(l="https://player.vimeo.com/video/".concat(a[3]),c="meta-lightbox-vimeo"),l&&(u=e("