fslightbox-vue
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -1,1 +0,1 @@ | ||
module.exports=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}return 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="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var o=function(){var e=this.$createElement,t=this._self._c||e;return this.isRendered?t("div",{ref:"container",staticClass:"fslightbox-container fslightbox-full-dimension fslightbox-fade-in-strong"},[t("Naver",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}),this._v(" "),t("SourcesOutersWrapper",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}),this._v(" "),t("SlideButtons",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}),this._v(" "),t("SlideSwipingHoverer",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}})],1):this._e()};o._withStripped=!0;var i="fslightbox-",s="".concat(i,"styles"),r="".concat(i,"cursor-grabbing"),a="".concat(i,"open"),c="".concat(i,"transform-transition"),l="".concat(i,"fade-in"),u="".concat(i,"fade-out"),d=l+"-strong",h=u+"-strong",f="".concat(i,"opacity-"),p="".concat(f,"1"),g="".concat(i,"source");function x(){var e=document.createElement("style");e.className=s,e.appendChild(document.createTextNode(".fslightbox-absoluted{position:absolute;top:0;left:0}.fslightbox-fade-in{animation:fslightbox-fade-in .25s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out{animation:fslightbox-fade-out .25s ease}.fslightbox-fade-in-strong{animation:fslightbox-fade-in-strong .25s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out-strong{animation:fslightbox-fade-out-strong .25s ease}@keyframes fslightbox-fade-in{from{opacity:.65}to{opacity:1}}@keyframes fslightbox-fade-out{from{opacity:.35}to{opacity:0}}@keyframes fslightbox-fade-in-strong{from{opacity:.3}to{opacity:1}}@keyframes fslightbox-fade-out-strong{from{opacity:1}to{opacity:0}}.fslightbox-cursor-grabbing{cursor:grabbing}.fslightbox-full-dimension{width:100%;height:100%}.fslightbox-open{overflow:hidden;height:100%}.fslightbox-flex-centered{display:flex;justify-content:center;align-items:center}.fslightbox-opacity-0{opacity:0!important}.fslightbox-opacity-1{opacity:1!important}.fslightbox-scrollbarfix{padding-right:17px}.fslightbox-transform-transition{transition:transform .3s}.fslightbox-container{font-family:Arial,sans-serif;position:fixed;top:0;left:0;background:linear-gradient(rgba(30,30,30,.9),#000 1810%);z-index:9999999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.fslightbox-container *{box-sizing:border-box}.fslightbox-svg-path{transition:fill .15s ease;fill:#ddd}.fslightbox-nav{height:45px;width:100%;position:absolute;top:0;left:0}.fslightbox-slide-number-container{display:flex;justify-content:center;align-items:center;position:relative;height:100%;font-size:15px;color:#d7d7d7;z-index:0;max-width:55px;text-align:left}.fslightbox-slide-number-container .fslightbox-flex-centered{height:100%}.fslightbox-slash{display:block;margin:0 5px;width:1px;height:12px;transform:rotate(15deg);background:#fff}.fslightbox-toolbar{position:absolute;z-index:3;right:0;top:0;height:100%;display:flex;background:rgba(35,35,35,.65)}.fslightbox-toolbar-button{height:100%;width:45px;cursor:pointer}.fslightbox-toolbar-button:hover .fslightbox-svg-path{fill:#fff}.fslightbox-slide-btn-container{display:flex;align-items:center;padding:12px 12px 12px 6px;position:absolute;top:50%;cursor:pointer;z-index:3;transform:translateY(-50%)}@media (min-width:476px){.fslightbox-slide-btn-container{padding:22px 22px 22px 6px}}@media (min-width:768px){.fslightbox-slide-btn-container{padding:30px 30px 30px 6px}}.fslightbox-slide-btn-container:hover .fslightbox-svg-path{fill:#f1f1f1}.fslightbox-slide-btn{padding:9px;font-size:26px;background:rgba(35,35,35,.65)}@media (min-width:768px){.fslightbox-slide-btn{padding:10px}}@media (min-width:1600px){.fslightbox-slide-btn{padding:11px}}.fslightbox-slide-btn-previous-container{left:0}@media (max-width:475.99px){.fslightbox-slide-btn-previous-container{padding-left:3px}}.fslightbox-slide-btn-next-container{right:0;padding-left:12px;padding-right:3px}@media (min-width:476px){.fslightbox-slide-btn-next-container{padding-left:22px}}@media (min-width:768px){.fslightbox-slide-btn-next-container{padding-left:30px}}@media (min-width:476px){.fslightbox-slide-btn-next-container{padding-right:6px}}.fslightbox-down-event-detector{position:absolute;z-index:1}.fslightbox-slide-swiping-hoverer{z-index:4}.fslightbox-invalid-file-wrapper{font-size:22px;color:#eaebeb;margin:auto}.fslightbox-video{object-fit:cover}.fslightbox-loader{display:block;margin:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:67px;height:67px}.fslightbox-loader div{box-sizing:border-box;display:block;position:absolute;width:54px;height:54px;margin:6px;border:5px solid;border-color:#999 transparent transparent transparent;border-radius:50%;animation:fslightbox-loader 1.2s cubic-bezier(.5,0,.5,1) infinite}.fslightbox-loader div:nth-child(1){animation-delay:-.45s}.fslightbox-loader div:nth-child(2){animation-delay:-.3s}.fslightbox-loader div:nth-child(3){animation-delay:-.15s}@keyframes fslightbox-loader{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fslightbox-source{position:relative;margin:auto;opacity:0;z-index:2;backface-visibility:hidden;transform:translateZ(0);transition:opacity .3s}")),document.head.appendChild(e)}function v(e){return(v="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)}"object"===("undefined"==typeof document?"undefined":v(document))&&x();var m=[];function b(e){var t,n=e.props.disableLocalStorage,o=0,i={};this.getSourceTypeFromLocalStorageByUrl=function(e){return t[e]?t[e]:s(e)},this.handleReceivedSourceTypeForUrl=function(e,t){void 0!==i[t]&&(o--,i[t]=e,r())};var s=function(e){o++,i[e]=!1},r=function(){0===o&&(!function(e,t){for(var n in t)e[n]=t[n]}(t,i),localStorage.setItem("fslightbox-types",JSON.stringify(t)))};n?(this.getSourceTypeFromLocalStorageByUrl=function(){},this.handleReceivedSourceTypeForUrl=function(){}):(t=JSON.parse(localStorage.getItem("fslightbox-types")))||(t={},this.getSourceTypeFromLocalStorageByUrl=s)}function S(e,t,n,o){var i=e.data,s=e.elements.sources,r=n/o,a=0;this.styleSize=function(){if((a=i.maxSourceWidth/r)<i.maxSourceHeight)return n<i.maxSourceWidth&&(a=o),c();a=o>i.maxSourceHeight?i.maxSourceHeight:o,c()};var c=function(){var e=s[t].style;e.width=a*r+"px",e.height=a+"px"}}function y(e,t,n,o){var i=this,s=e.componentsServices.hideLoaderCollection,r=e.collections.sourcesStylers,a=e.elements,c=a.sourcesInners,l=a.sources,u=e.resolve;this.runNormalLoadActions=function(){l[t].classList.add(p),c[t].classList.add(d),s[t](),r[t].styleSize()},this.runInitialLoadActions=function(){r[t]=u(S,[t,n,o]),i.runNormalLoadActions()}}function w(e,t){var n=this,o=e.elements.sources,i=e.props.maxYoutubeVideoDimensions,s=e.resolve;this.handleImageLoad=function(e){var t=e.target,o=t.width,i=t.height;n.handleImageLoad=r(o,i)},this.handleVideoLoad=function(e){var t=e.target,o=t.videoWidth,i=t.videoHeight;n.handleVideoLoad=r(o,i)},this.handleYoutubeLoad=function(){var e=1920,t=1080;i&&(e=i.width,t=i.height),n.handleYoutubeLoad=r(e,t)},this.handleCustomLoad=function(){var e=o[t];n.handleCustomLoad=r(e.offsetWidth,e.offsetHeight)};var r=function(e,n){var o=s(y,[t,e,n]);return o.runInitialLoadActions(),o.runNormalLoadActions}}function L(e){var t=e.collections.sourcesLoadsHandlers,n=e.componentsServices,o=n.isLightboxRenderedManager,i=n.updateSourceInnerCollection,s=e.elements.sourcesComponents,r=e.resolve;this.runActionsForSourceTypeAndIndex=function(e,n){var a;switch("invalid"!==e&&(t[n]=r(w,[n])),e){case"image":a="Imager";break;case"video":a="Videor";break;case"youtube":a="Youtuber";break;case"custom":a="Customer";break;default:a="Invalider"}s[n]=a,o.get()&&i[n]()}}function _(e){var t,n,o,i,s,r=e.collections.xhrs,a={isUrlYoutubeOne:function(e){var t=document.createElement("a");return t.href=e,"www.youtube.com"===t.hostname},getTypeFromResponseContentType:function(e){return e.slice(0,e.indexOf("/"))}};this.setUrlToCheck=function(e){t=e},this.getSourceType=function(e){if(a.isUrlYoutubeOne(t))return e("youtube");o=e,i=new XMLHttpRequest,r.push(i),i.open("GET",t,!0),i.onreadystatechange=c,i.send()};var c=function(){if(4===i.readyState&&0===i.status&&!s)return l();if(2===i.readyState){if(200!==i.status&&206!==i.status)return s=!0,l();s=!0,d(a.getTypeFromResponseContentType(i.getResponseHeader("content-type"))),u()}},l=function(){n="invalid",u()},u=function(){i.abort(),o(n)},d=function(e){switch(e){case"image":n="image";break;case"video":n="video";break;default:n="invalid"}}}function I(e,t,n){var o=e.props,i=o.types,s=o.type,r=o.sources,a=e.resolve;this.getTypeSetByClientForIndex=function(e){var t;return i&&i[e]?t=i[e]:s&&(t=s),t},this.retrieveTypeWithXhrForIndex=function(e){var o=a(_);o.setUrlToCheck(r[e]),o.getSourceType((function(o){t.handleReceivedSourceTypeForUrl(o,r[e]),n.runActionsForSourceTypeAndIndex(o,e)}))}}function C(e,t){var n=this,o=e.elements.sourcesOuters,i=e.props.slideDistance+1,s=0;this.byValue=function(e){return s=e,n},this.negative=function(){r(-a())},this.zero=function(){r(0)},this.positive=function(){r(a())};var r=function(e){o[t].style.transform="translateX(".concat(e+s,"px)"),s=0},a=function(){return i*innerWidth}}function F(e,t){var n=e.classList;n.contains(t)&&n.remove(t)}function T(e){var t=this,n=e.componentsServices,o=n.isFullscreenOpenManager,i=n.isLightboxRenderedManager,s=e.core,r=s.eventsDispatcher,c=s.fullscreenToggler,l=s.globalEventsController,u=s.scrollbarRecompensor,d=e.elements,f=e.props,p=e.slideSwipingProps;this.isLightboxFadingOut=!1,this.runActions=function(){t.isLightboxFadingOut=!0,d.container.classList.add(h),l.removeListeners(),f.exitFullscreenOnClose&&o.get()&&c.exitFullscreen(),setTimeout((function(){t.isLightboxFadingOut=!1,p.isSwiping=!1,d.container.classList.remove(h),document.documentElement.classList.remove(a),u.removeRecompense(),i.set(!1),r.dispatch("onClose")}),220)}}function O(e){return e.touches?e.touches[0].clientX:e.clientX}function E(e){var t,n,o,i=e.collections.sourcesOutersTransformers,s=e.componentsServices,r=e.core,a=r.classFacade,h=r.slideIndexChanger,f=r.sourceDisplayFacade,p=r.stageManager,g=e.elements.sourcesInners,x=e.stageIndexes,v=(t=function(){a.removeFromEachElementClassIfContains("sourcesInners",u)},n=250,o=[],function(){o.push(!0),setTimeout((function(){o.pop(),o.length||t()}),n)});h.changeTo=function(e){x.current=e,p.updateStageIndexes(),s.setSlideNumber(e+1),f.displayStageSourcesIfNotYet()},h.jumpTo=function(e){var t=x.current;h.changeTo(e),a.removeFromEachElementClassIfContains("sourcesOuters",c),F(g[t],d),F(g[t],l),g[t].classList.add(u),F(g[e],d),F(g[e],u),g[e].classList.add(l),v(),i[e].zero(),setTimeout((function(){t!==x.current&&i[t].negative()}),220)}}function A(e){var t=e.core,n=t.lightboxCloser,o=t.fullscreenToggler,i=t.slideChangeFacade;this.listener=function(e){switch(e.keyCode){case 27:n.closeLightbox();break;case 37:i.changeToPrevious();break;case 39:i.changeToNext();break;case 122:e.preventDefault(),o.enterFullscreen()}}}function z(e){var t=e.collections.sourcesOutersTransformers,n=e.componentsServices,o=e.elements,i=e.slideSwipingProps,s=e.stageIndexes;this.runActionsForEvent=function(e){n.showSlideSwipingHoverer(),o.container.classList.add(r),i.swipedX=O(e)-i.downClientX,a(s.current,"zero"),void 0!==s.previous&&i.swipedX>0?a(s.previous,"negative"):void 0!==s.next&&i.swipedX<0&&a(s.next,"positive")};var a=function(e,n){t[e].byValue(i.swipedX)[n]()}}function N(e){var t,n=e.data.sources,o=e.resolve,i=e.slideSwipingProps,s=o(z),r=(t=!1,function(){return!t&&(t=!0,requestAnimationFrame((function(){t=!1})),!0)});1===n.length?this.listener=function(){i.swipedX=1}:this.listener=function(e){i.isSwiping&&r()&&s.runActionsForEvent(e)}}function k(e){var t=e.collections.sourcesOutersTransformers,n=e.core.slideIndexChanger,o=e.elements.sourcesOuters,i=e.stageIndexes;this.runPositiveSwipedXActions=function(){void 0===i.previous||(s("positive"),n.changeTo(i.previous)),s("zero")},this.runNegativeSwipedXActions=function(){void 0===i.next||(s("negative"),n.changeTo(i.next)),s("zero")};var s=function(e){o[i.current].classList.add(c),t[i.current][e]()}}function R(e){var t=e.componentsServices,n=e.core.lightboxCloser,o=e.elements,i=e.resolve,s=e.slideSwipingProps,a=i(k);this.runNoSwipeActions=function(){t.hideSlideSwipingHoverer(),s.isSourceDownEventTarget||n.closeLightbox(),s.isSwiping=!1},this.runActions=function(){s.swipedX>0?a.runPositiveSwipedXActions():a.runNegativeSwipedXActions(),t.hideSlideSwipingHoverer(),o.container.classList.remove(r),s.isSwiping=!1}}function B(e){var t=e.resolve,n=e.slideSwipingProps,o=t(R);this.listener=function(){n.isSwiping&&(n.swipedX?o.runActions():o.runNoSwipeActions())}}function H(e){var t,n,o;n=(t=e).core.classFacade,o=t.elements,n.removeFromEachElementClassIfContains=function(e,t){for(var n=0;n<o[e].length;n++)F(o[e][n],t)},function(e){var t=e.core.eventsDispatcher,n=e.props;t.dispatch=function(e){n[e]&&n[e]()}}(e),function(e){var t=e.componentsServices.isFullscreenOpenManager,n=e.core.fullscreenToggler;n.enterFullscreen=function(){t.set(!0);var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()},n.exitFullscreen=function(){t.set(!1),document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()}}(e),function(e){var t=e.core,n=t.globalEventsController,o=t.windowResizeActioner,i=e.resolve,s=i(A),r=i(N),a=i(B);n.attachListeners=function(){document.addEventListener("mousemove",r.listener),document.addEventListener("touchmove",r.listener,{passive:!0}),document.addEventListener("mouseup",a.listener),document.addEventListener("touchend",a.listener,{passive:!0}),addEventListener("resize",o.runActions),document.addEventListener("keydown",s.listener)},n.removeListeners=function(){document.removeEventListener("mousemove",r.listener),document.removeEventListener("touchmove",r.listener),document.removeEventListener("mouseup",a.listener),document.removeEventListener("touchend",a.listener),removeEventListener("resize",o.runActions),document.removeEventListener("keydown",s.listener)}}(e),function(e){var t=e.core.lightboxCloser,n=(0,e.resolve)(T);t.closeLightbox=function(){n.isLightboxFadingOut||n.runActions()}}(e),function(e){var t=e.collections.sourcesOutersTransformers,n=e.core,o=n.eventsDispatcher,i=n.lightboxOpenActioner,s=n.globalEventsController,r=n.scrollbarRecompensor,c=n.sourceDisplayFacade,l=n.stageManager,u=n.windowResizeActioner,d=e.stageIndexes;i.runInitializedLightboxActions=function(){l.updateStageIndexes(),c.displayStageSourcesIfNotYet(),document.documentElement.classList.add(a),r.addRecompense(),s.attachListeners(),u.runActions(),t[d.current].zero(),o.dispatch("onOpen")}}(e),function(e){var t=e.data,n=e.core.scrollbarRecompensor;n.addRecompense=function(){"complete"===document.readyState?o():window.addEventListener("load",(function(){o(),n.addRecompense=o}))};var o=function(){document.body.offsetHeight>window.innerHeight&&(document.body.style.marginRight=t.scrollbarWidth+"px")};n.removeRecompense=function(){document.body.style.removeProperty("margin-right")}}(e),function(e){var t=e.core,n=t.slideChangeFacade,o=t.slideIndexChanger,i=t.stageManager;e.data.sources.length>1?(n.changeToPrevious=function(){o.jumpTo(i.getPreviousSlideIndex())},n.changeToNext=function(){o.jumpTo(i.getNextSlideIndex())}):(n.changeToPrevious=function(){},n.changeToNext=function(){})}(e),E(e),function(e){var t=e.core,n=t.classFacade,o=t.slideSwipingDown,i=e.elements.sources,s=e.slideSwipingProps,r=e.stageIndexes;o.listener=function(e){s.isSwiping=!0,s.downClientX=O(e),s.swipedX=0,"VIDEO"===e.target.tagName||e.touches||e.preventDefault();var t=i[r.current];t&&t.contains(e.target)?s.isSourceDownEventTarget=!0:s.isSourceDownEventTarget=!1,n.removeFromEachElementClassIfContains("sourcesOuters",c)}}(e),function(e){var t=e.core.sourceDisplayFacade,n=e.componentsServices.updateSourceInnerCollection,o=e.stageIndexes,i=e.props.loadOnlyCurrentSource;t.displayStageSourcesIfNotYet=function(){if(i)n[o.current]();else for(var e in o)void 0!==o[e]&&n[o[e]]()}}(e),function(e){var t=e.stageIndexes,n=e.core.stageManager,o=e.data.sources.length-1;n.getPreviousSlideIndex=function(){return 0===t.current?o:t.current-1},n.getNextSlideIndex=function(){return t.current===o?0:t.current+1},n.updateStageIndexes=0===o?function(){}:1===o?function(){0===t.current?(t.next=1,delete t.previous):(t.previous=0,delete t.next)}:function(){t.previous=n.getPreviousSlideIndex(),t.next=n.getNextSlideIndex()},n.isSourceInStage=o<=2?function(){return!0}:function(e){var n=t.current;if(0===n&&e===o||n===o&&0===e)return!0;var i=n-e;return-1===i||0===i||1===i}}(e),function(e){var t=e.collections,n=t.sourcesOutersTransformers,o=t.sourcesStylers,i=e.core.windowResizeActioner,s=e.data,r=e.elements.sourcesOuters,a=e.stageIndexes;i.runActions=function(){innerWidth<992?s.maxSourceWidth=innerWidth:s.maxSourceWidth=.9*innerWidth,s.maxSourceHeight=.9*innerHeight;for(var e=0;e<s.sources.length;e++)F(r[e],c),e!==a.current&&n[e].negative(),o[e]&&o[e].styleSize()}}(e)}function $(e){var t=e.componentsServices.isLightboxRenderedManager,n=e.core,o=n.eventsDispatcher,i=n.lightboxOpener,s=n.lightboxOpenActioner,r=e.data,a=e.stageIndexes;i.openLightbox=function(){o.dispatch("onShow"),t.set(!0,s.runInitializedLightboxActions)},i.initializeAndOpenLightbox=function(){var n,i,c,l,u,d,h;r.isInitialized=!0,a.current=(i=(n=e).data.sources,c=n.props,l=c.slide,u=c.sourceIndex,d=c.source,h=0,d?h=i.indexOf(d):u?h=u:l&&(h=l-1),h),r.sources=function(e){var t=e.props,n=t.sources,o=t.customSources;o&&console.warn("FsLightbox: customSources prop is deprecated, use sources prop instead!");var i=n?n.slice():o.slice();if(o&&n!==o)for(var s=0;s<o.length;s++)o[s]&&(i[s]=o[s]);return i}(e),function(e){for(var t=e.collections.sourcesOutersTransformers,n=e.data.sources,o=e.resolve,i=0;i<n.length;i++)t[i]=o(C,[i])}(e),H(e),o.dispatch("onInit"),t.set(!0,(function(){s.runInitializedLightboxActions(),function(e){for(var t=e.data.sources,n=e.resolve,o=n(b),i=n(L),s=n(I,[o,i]),r=0;r<t.length;r++)if("string"==typeof t[r]){var a=s.getTypeSetByClientForIndex(r);if(a)i.runActionsForSourceTypeAndIndex(a,r);else{var c=o.getSourceTypeFromLocalStorageByUrl(t[r]);c?i.runActionsForSourceTypeAndIndex(c,r):s.retrieveTypeWithXhrForIndex(r)}}else i.runActionsForSourceTypeAndIndex("custom",r)}(e)}))}}function M(e,t,n){return(M=D()?Reflect.construct:function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&P(i,n.prototype),i}).apply(null,arguments)}function D(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function U(e){return function(e){if(Array.isArray(e))return j(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function W(e){var t,n,o,i,s,r,a,c,l,u=this;this.props=e,this.data={sources:null,isInitialized:!1,maxSourceWidth:0,maxSourceHeight:0,scrollbarWidth:0},this.slideSwipingProps={isSwiping:!1,downClientX:null,isSourceDownEventTarget:!1,swipedX:0},this.stageIndexes={},this.componentsServices={isLightboxRenderedManager:{},setSlideNumber:null,isFullscreenOpenManager:{},hideLoaderCollection:[],updateSourceInnerCollection:[],showSlideSwipingHoverer:null,hideSlideSwipingHoverer:null},this.elements={container:null,sourcesOutersWrapper:null,sources:[],sourcesOuters:[],sourcesInners:[],sourcesComponents:[]},this.resolve=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.unshift(u),M(e,U(t))},this.collections={sourcesOutersTransformers:[],sourcesLoadsHandlers:[],sourcesStylers:[],xhrs:[]},this.core={classFacade:{},eventsDispatcher:{},fullscreenToggler:{},globalEventsController:{},lightboxCloser:{},lightboxOpener:{},lightboxOpenActioner:{},lightboxUpdater:{},scrollbarRecompensor:{},slideChangeFacade:{},slideIndexChanger:{},slideSwipingDown:{},sourceDisplayFacade:{},stageManager:{},windowResizeActioner:{}},n=(t=this).componentsServices.isLightboxRenderedManager,o=t.core,i=o.lightboxUpdater,s=o.lightboxCloser,r=o.lightboxOpener,a=o.slideIndexChanger,c=t.data,l=t.stageIndexes,i.handleTogglerUpdate=function(){n.get()?s.closeLightbox():c.isInitialized?r.openLightbox():r.initializeAndOpenLightbox()},i.runCurrentStageIndexUpdateActionsFor=function(e){e!==l.current&&(n.get()?a.jumpTo(e):l.current=e)},$(this)}var X=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{ref:"nav",staticClass:"fslightbox-nav"},[t("Toolbar",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}),this._v(" "),this.hasMoreThanSource?t("SlideNumber",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}):this._e()],1)};X._withStripped=!0;var V=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"fslightbox-toolbar"},[t("FullscreenButton",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}),this._v(" "),t("CloseButton",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}})],1)};V._withStripped=!0;var Y=function(){var e=this.$createElement;return(this._self._c||e)("ToolbarButton",{attrs:{"on-click":this.onClick,"view-box":"0 0 24 24",size:"20px",d:"M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z",title:"Close"}})};Y._withStripped=!0;var q=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"fslightbox-toolbar-button fslightbox-flex-centered",attrs:{title:this.title},on:{click:this.onClick}},[t("Svger",{attrs:{size:this.size,"view-box":this.viewBox,d:this.d}})],1)};q._withStripped=!0;var J=function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{width:this.size,height:this.size,viewBox:this.viewBox,xmlns:"http://www.w3.org/2000/svg"}},[t("path",{staticClass:"fslightbox-svg-path",attrs:{d:this.d}})])};function G(e,t,n,o,i,s,r,a){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),r?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},l._ssrRegister=c):i&&(c=a?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}J._withStripped=!0;var Z=G({props:{size:String,viewBox:String,d:String}},J,[],!1,null,null,null);Z.options.__file="src/components/helpers/Svger.vue";var K=Z.exports,Q=G({components:{Svger:K},props:{onClick:Function,size:String,viewBox:String,d:String,title:String}},q,[],!1,null,null,null);Q.options.__file="src/components/nav/toolbar/ToolbarButton.vue";var ee=Q.exports,te=G({components:{ToolbarButton:ee},props:{fsLightboxIndex:Number},data:function(){return{onClick:m[this.fsLightboxIndex].core.lightboxCloser.closeLightbox}}},Y,[],!1,null,null,null);te.options.__file="src/components/nav/toolbar/toolbar-buttons/CloseButton.vue";var ne=te.exports,oe=function(){var e=this.$createElement;return(this._self._c||e)("ToolbarButton",{attrs:{"on-click":this.getButtonData("onClick"),"view-box":this.getButtonData("viewBox"),size:this.getButtonData("size"),d:this.getButtonData("d"),title:this.getButtonData("title")}})};oe._withStripped=!0;var ie=G({components:{ToolbarButton:ee},props:{fsLightboxIndex:Number},data:function(){return{isFullscreenOpen:!1}},methods:{getButtonData:function(e){var t=m[this.fsLightboxIndex].core.fullscreenToggler,n=t.exitFullscreen,o=t.enterFullscreen;return(this.isFullscreenOpen?{onClick:n,viewBox:"0 0 950 1024",size:"24px",d:"M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z",title:"Exit fullscreen"}:{onClick:o,viewBox:"0 0 18 18",size:"20px",d:"M4.5 11H3v4h4v-1.5H4.5V11zM3 7h1.5V4.5H7V3H3v4zm10.5 6.5H11V15h4v-4h-1.5v2.5zM11 3v1.5h2.5V7H15V3h-4z",title:"Enter fullscreen"})[e]}},created:function(){var e=this,t=m[this.fsLightboxIndex].componentsServices.isFullscreenOpenManager;t.get=function(){return e.isFullscreenOpen},t.set=function(t){return e.isFullscreenOpen=t}}},oe,[],!1,null,null,null);ie.options.__file="src/components/nav/toolbar/toolbar-buttons/FullscreenButton.vue";var se=G({components:{FullscreenButton:ie.exports,CloseButton:ne},props:{fsLightboxIndex:Number}},V,[],!1,null,null,null);se.options.__file="src/components/nav/toolbar/Toolbar.vue";var re=se.exports,ae=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"source-outer",staticClass:"fslightbox-slide-number-container"},[n("div",{ref:"source-inner",staticClass:"fslightbox-flex-centered"},[n("span",[e._v(e._s(e.slide))]),e._v(" "),n("span",{staticClass:"fslightbox-slash"}),e._v(" "),n("span",[e._v(e._s(e.sourcesCount))])])])};ae._withStripped=!0;var ce=G({props:{fsLightboxIndex:Number},data:function(){return{slide:m[this.fsLightboxIndex].stageIndexes.current+1,sourcesCount:m[this.fsLightboxIndex].data.sources.length}},created:function(){var e=this;m[this.fsLightboxIndex].componentsServices.setSlideNumber=function(t){return e.slide=t}},mounted:function(){this.$refs["source-inner"].offsetWidth>55&&(this.$refs["source-outer"].style.justifyContent="flex-start")}},ae,[],!1,null,null,null);ce.options.__file="src/components/nav/SlideNumber.vue";var le=G({components:{SlideNumber:ce.exports,Toolbar:re},props:{fsLightboxIndex:Number},data:function(){return{hasMoreThanSource:m[this.fsLightboxIndex].data.sources.length>1}}},X,[],!1,null,null,null);le.options.__file="src/components/nav/Naver.vue";var ue=le.exports,de=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"ref",staticClass:"fslightbox-absoluted fslightbox-full-dimension",on:{mousedown:e.listener,touchstart:e.listener}},e._l(e.sources.length,(function(t,o){return n("SourceOuter",{key:o,attrs:{i:o,"fs-lightbox-index":e.fsLightboxIndex}})})),1)};de._withStripped=!0;var he=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{ref:"ref",staticClass:"turbosiema fslightbox-absoluted fslightbox-full-dimension fslightbox-flex-centered",attrs:{"data-test-class":"source-outer"}},[t("SourceInner",{attrs:{"fs-lightbox-index":this.fsLightboxIndex,i:this.i}}),this._v(" "),this.isSourceLoaded?this._e():t("Loader")],1)};he._withStripped=!0;var fe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"ref",staticClass:"source-inner"},[e.current===e.i||!e.loadOnlyCurrentSource&&e.isSourceInStage?n(e.sourceComponent,{tag:"component",attrs:{"fs-lightbox-index":e.fsLightboxIndex,i:e.i}}):e._e()],1)};fe._withStripped=!0;var pe=function(){var e=this.$createElement;return(this._self._c||e)("img",this._b({ref:"ref",staticClass:"fslightbox-source",attrs:{src:this.src},on:{load:this.onLoad}},"img",this.customAttributes,!1))};pe._withStripped=!0;var ge=G({props:{fsLightboxIndex:Number,i:Number},data:function(){var e=m[this.fsLightboxIndex],t=e.collections.sourcesLoadsHandlers,n=e.data.sources,o=e.props.customAttributes;return{onLoad:t[this.i].handleImageLoad,src:n[this.i],customAttributes:o&&o[this.i]}},mounted:function(){m[this.fsLightboxIndex].elements.sources[this.i]=this.$refs.ref}},pe,[],!1,null,null,null);ge.options.__file="src/components/sources/proper-sources/Imager.vue";var xe=ge.exports,ve=function(){var e=this.$createElement,t=this._self._c||e;return t("video",this._b({ref:"ref",staticClass:"fslightbox-source fslightbox-video",attrs:{controls:""},on:{loadedmetadata:this.onLoad}},"video",this.attributes,!1),[t("source",{attrs:{src:this.src}})])};ve._withStripped=!0;var me=G({props:{fsLightboxIndex:Number,i:Number},data:function(){var e=m[this.fsLightboxIndex],t=e.collections.sourcesLoadsHandlers,n=e.data.sources,o=e.props,i=o.customAttributes,s=o.videosPosters,r=i&&i[this.i]?i[this.i]:{};return s&&s[this.i]&&(r.poster=s[this.i]),{onLoad:t[this.i].handleVideoLoad,src:n[this.i],attributes:r}},mounted:function(){m[this.fsLightboxIndex].elements.sources[this.i]=this.$refs.ref}},ve,[],!1,null,null,null);me.options.__file="src/components/sources/proper-sources/Videor.vue";var be=me.exports,Se=function(){var e=this.$createElement;return(this._self._c||e)("iframe",this._b({ref:"ref",staticClass:"fslightbox-source fslightbox-youtube-iframe",attrs:{src:this.src,allowfullscreen:""}},"iframe",this.customAttributes,!1))};Se._withStripped=!0;var ye=G({props:{fsLightboxIndex:Number,i:Number},data:function(){var e,t=m[this.fsLightboxIndex],n=t.data.sources,o=t.props.customAttributes;return{src:"https://www.youtube.com/embed/".concat((e=n[this.i],e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/)[2])),customAttributes:o&&o[this.i]}},mounted:function(){var e=m[this.fsLightboxIndex],t=e.collections.sourcesLoadsHandlers;e.elements.sources[this.i]=this.$refs.ref,t[this.i].handleYoutubeLoad()}},Se,[],!1,null,null,null);ye.options.__file="src/components/sources/proper-sources/Youtuber.vue";var we=ye.exports,Le=function(){var e=this.$createElement;return(this._self._c||e)(this.component,this._b({ref:"ref",tag:"component"},"component",this.componentProps,!1))};Le._withStripped=!0;var _e=G({props:{fsLightboxIndex:Number,i:Number},data:function(){var e=m[this.fsLightboxIndex].data.sources[this.i],t={component:e,componentProps:{}};return e.component&&(t.component=e.component,t.componentProps=e.props),t},mounted:function(){var e=m[this.fsLightboxIndex],t=e.collections.sourcesLoadsHandlers,n=e.elements.sources;n[this.i]=this.$refs.ref.$el,n[this.i].classList.add(g),t[this.i].handleCustomLoad()}},Le,[],!1,null,null,null);_e.options.__file="src/components/sources/proper-sources/Customer.vue";var Ie=_e.exports,Ce=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"fslightbox-invalid-file-wrapper fslightbox-flex-centered"},[this._v("\n Invalid source\n")])};Ce._withStripped=!0;var Fe=G({props:{fsLightboxIndex:Number,i:Number},mounted:function(){var e=m[this.fsLightboxIndex],t=e.componentsServices.hideLoaderCollection,n=e.elements.sourcesOuters;t[this.i](),n[this.i].classList.add(d)}},Ce,[],!1,null,null,null);Fe.options.__file="src/components/sources/proper-sources/Invalider.vue";var Te=Fe.exports,Oe=G({props:{fsLightboxIndex:Number,i:Number},components:{Imager:xe,Videor:be,Youtuber:we,Customer:Ie,Invalider:Te},data:function(){var e={};return this.attachComponentDataToObject(e),e},created:function(){var e=this;m[this.fsLightboxIndex].componentsServices.updateSourceInnerCollection[this.i]=function(){e.attachComponentDataToObject(e)}},mounted:function(){m[this.fsLightboxIndex].elements.sourcesInners[this.i]=this.$refs.ref},methods:{attachComponentDataToObject:function(e){var t=m[this.fsLightboxIndex],n=t.core.stageManager.isSourceInStage,o=t.elements.sourcesComponents,i=t.props.loadOnlyCurrentSource,s=t.stageIndexes.current;e.sourceComponent=o[this.i],e.isSourceInStage=n(this.i),e.current=s,e.loadOnlyCurrentSource=i}}},fe,[],!1,null,null,null);Oe.options.__file="src/components/sources/SourceInner.vue";var Ee=Oe.exports,Ae=function(){var e=this.$createElement;this._self._c;return this._m(0)};Ae._withStripped=!0;var ze=G({},Ae,[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"fslightbox-loader"},[t("div"),this._v(" "),t("div"),this._v(" "),t("div"),this._v(" "),t("div")])}],!1,null,null,null);ze.options.__file="src/components/helpers/Loader.vue";var Ne=ze.exports,ke=G({props:{fsLightboxIndex:Number,i:Number},components:{SourceInner:Ee,Loader:Ne},data:function(){return{isSourceLoaded:!1}},created:function(){var e=this;m[this.fsLightboxIndex].componentsServices.hideLoaderCollection[this.i]=function(){return e.isSourceLoaded=!0}},mounted:function(){m[this.fsLightboxIndex].elements.sourcesOuters[this.i]=this.$refs.ref}},he,[],!1,null,null,null);ke.options.__file="src/components/sources/SourceOuter.vue";var Re=ke.exports,Be=G({props:{fsLightboxIndex:Number},components:{SourceOuter:Re},data:function(){var e=m[this.fsLightboxIndex],t=e.core.slideSwipingDown.listener;return{sources:e.data.sources,listener:t}},mounted:function(){m[this.fsLightboxIndex].elements.sourcesOutersWrapper=this.$refs.ref}},de,[],!1,null,null,null);Be.options.__file="src/components/sources/SourcesOutersWrapper.vue";var He=Be.exports,$e=function(){var e=this.$createElement,t=this._self._c||e;return this.sourcesCount>1?t("div",[t("SlideButton",{attrs:{"on-click":this.changeToPrevious,name:"previous",d:"M18.271,9.212H3.615l4.184-4.184c0.306-0.306,0.306-0.801,0-1.107c-0.306-0.306-0.801-0.306-1.107,0L1.21,9.403C1.194,9.417,1.174,9.421,1.158,9.437c-0.181,0.181-0.242,0.425-0.209,0.66c0.005,0.038,0.012,0.071,0.022,0.109c0.028,0.098,0.075,0.188,0.142,0.271c0.021,0.026,0.021,0.061,0.045,0.085c0.015,0.016,0.034,0.02,0.05,0.033l5.484,5.483c0.306,0.307,0.801,0.307,1.107,0c0.306-0.305,0.306-0.801,0-1.105l-4.184-4.185h14.656c0.436,0,0.788-0.353,0.788-0.788S18.707,9.212,18.271,9.212z"}}),this._v(" "),t("SlideButton",{attrs:{"on-click":this.changeToNext,name:"next",d:"M1.729,9.212h14.656l-4.184-4.184c-0.307-0.306-0.307-0.801,0-1.107c0.305-0.306,0.801-0.306,1.106,0l5.481,5.482c0.018,0.014,0.037,0.019,0.053,0.034c0.181,0.181,0.242,0.425,0.209,0.66c-0.004,0.038-0.012,0.071-0.021,0.109c-0.028,0.098-0.075,0.188-0.143,0.271c-0.021,0.026-0.021,0.061-0.045,0.085c-0.015,0.016-0.034,0.02-0.051,0.033l-5.483,5.483c-0.306,0.307-0.802,0.307-1.106,0c-0.307-0.305-0.307-0.801,0-1.105l4.184-4.185H1.729c-0.436,0-0.788-0.353-0.788-0.788S1.293,9.212,1.729,9.212z"}})],1):this._e()};$e._withStripped=!0;var Me=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{class:"fslightbox-slide-btn-container fslightbox-slide-btn-"+this.name+"-container",attrs:{title:this.title},on:{click:this.onClick}},[t("div",{staticClass:"fslightbox-slide-btn fslightbox-flex-centered"},[t("Svger",{attrs:{"view-box":"0 0 20 20",size:"20px",d:this.d}})],1)])};Me._withStripped=!0;var De=G({components:{Svger:K},props:{onClick:Function,name:String,d:String},data:function(){var e=this.name.charAt(0).toUpperCase()+this.name.slice(1);return{title:"".concat(e," slide")}}},Me,[],!1,null,null,null);De.options.__file="src/components/SlideButton.vue";var Pe=De.exports,Ue=G({props:{fsLightboxIndex:Number},components:{SlideButton:Pe},data:function(){var e=m[this.fsLightboxIndex],t=e.core.slideChangeFacade,n=t.changeToPrevious,o=t.changeToNext;return{sourcesCount:e.data.sources.length,changeToPrevious:n,changeToNext:o}}},$e,[],!1,null,null,null);Ue.options.__file="src/components/SlideButtons.vue";var je=Ue.exports,We=function(){var e=this.$createElement,t=this._self._c||e;return this.isSlideSwipingHovererShown?t("div",{staticClass:"fslightbox-slide-swiping-hoverer fslightbox-full-dimension fslightbox-absoluted"}):this._e()};We._withStripped=!0;var Xe=G({props:{fsLightboxIndex:Number},data:function(){return{isSlideSwipingHovererShown:!1}},created:function(){var e=this,t=m[this.fsLightboxIndex].componentsServices;t.showSlideSwipingHoverer=function(){e.isSlideSwipingHovererShown||(e.isSlideSwipingHovererShown=!0)},t.hideSlideSwipingHoverer=function(){e.isSlideSwipingHovererShown&&(e.isSlideSwipingHovererShown=!1)}}},We,[],!1,null,null,null);Xe.options.__file="src/components/SlideSwipingHoverer.vue";var Ve,Ye=Xe.exports;function qe(){var e=localStorage.getItem("fslightbox-scrollbar-width");if(e)return e;var t=function(){var e=document.createElement("div"),t=e.style;return t.visibility="hidden",t.width="100px",t.msOverflowStyle="scrollbar",t.overflow="scroll",e}(),n=function(){var e=document.createElement("div");return e.style.width="100%",e}();document.body.appendChild(t);var o=t.offsetWidth;t.appendChild(n);var i=n.offsetWidth;document.body.removeChild(t);var s=o-i;return localStorage.setItem("fslightbox-scrollbar-width",s.toString()),s}function Je(e){var t=e.core.lightboxOpener,n=e.data,o=e.props.openOnMount;document.getElementsByClassName(s).length||x(),n.scrollbarWidth=qe(),o&&t.initializeAndOpenLightbox()}var Ge=G({props:{toggler:Boolean,sources:Array,customSources:Array,slide:Number,source:String,sourceIndex:Number,onOpen:Function,onClose:Function,onInit:Function,onShow:Function,disableLocalStorage:Boolean,types:Array,type:String,customAttributes:Array,videosPosters:Array,maxYoutubeVideoDimensions:Object,loadOnlyCurrentSource:Boolean,slideDistance:{type:Number,default:.3},openOnMount:Boolean,exitFullscreenOnClose:Boolean},components:{SlideButtons:je,SourcesOutersWrapper:He,Naver:ue,SlideSwipingHoverer:Ye},data:function(){return{isRendered:!1}},watch:{slide:function(e){m[this.fsLightboxIndex].core.lightboxUpdater.runCurrentStageIndexUpdateActionsFor(e-1)},sourceIndex:function(e){m[this.fsLightboxIndex].core.lightboxUpdater.runCurrentStageIndexUpdateActionsFor(e)},source:function(e){m[this.fsLightboxIndex].core.lightboxUpdater.runCurrentStageIndexUpdateActionsFor(this.sources.indexOf(e))},toggler:function(){m[this.fsLightboxIndex].core.lightboxUpdater.handleTogglerUpdate()}},created:function(){var e=this;this.fsLightboxIndex=m.push(new W(this))-1;var t=m[this.fsLightboxIndex].componentsServices.isLightboxRenderedManager;t.get=function(){return e.isRendered},t.set=function(t,n){e.isRendered=t,n&&(Ve=n)}},mounted:function(){m[this.fsLightboxIndex].elements.container=this.$refs.container,Je(m[this.fsLightboxIndex])},updated:function(){m[this.fsLightboxIndex].elements.container=this.$refs.container,Ve&&Ve(),Ve=null}},o,[],!1,null,null,null);Ge.options.__file="src/FsLightbox.vue";var Ze=Ge.exports;t.default=Ze}]); | ||
module.exports=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}return 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="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var o=function(){var e=this.$createElement,t=this._self._c||e;return this.isRendered?t("div",{ref:"container",staticClass:"fslightbox-container fslightbox-full-dimension fslightbox-fade-in-strong"},[t("Naver",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}),this._v(" "),t("SourceWrappersContainer",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}),this._v(" "),t("SlideButtons",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}),this._v(" "),t("SlideSwipingHoverer",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}})],1):this._e()};o._withStripped=!0;var i="fslightbox-",r="".concat(i,"styles"),s="".concat(i,"cursor-grabbing"),a="".concat(i,"open"),c="".concat(i,"transform-transition"),l="".concat(i,"fade-in"),u="".concat(i,"fade-out"),d=l+"-strong",h=u+"-strong",p="".concat(i,"opacity-"),f="".concat(p,"1"),g="".concat(i,"source");function x(){var e=document.createElement("style");e.className=r,e.appendChild(document.createTextNode(".fslightbox-absoluted{position:absolute;top:0;left:0}.fslightbox-fade-in{animation:fslightbox-fade-in .25s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out{animation:fslightbox-fade-out .25s ease}.fslightbox-fade-in-strong{animation:fslightbox-fade-in-strong .25s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out-strong{animation:fslightbox-fade-out-strong .25s ease}@keyframes fslightbox-fade-in{from{opacity:.65}to{opacity:1}}@keyframes fslightbox-fade-out{from{opacity:.35}to{opacity:0}}@keyframes fslightbox-fade-in-strong{from{opacity:.3}to{opacity:1}}@keyframes fslightbox-fade-out-strong{from{opacity:1}to{opacity:0}}.fslightbox-cursor-grabbing{cursor:grabbing}.fslightbox-full-dimension{width:100%;height:100%}.fslightbox-open{overflow:hidden;height:100%}.fslightbox-flex-centered{display:flex;justify-content:center;align-items:center}.fslightbox-opacity-0{opacity:0!important}.fslightbox-opacity-1{opacity:1!important}.fslightbox-scrollbarfix{padding-right:17px}.fslightbox-transform-transition{transition:transform .3s}.fslightbox-container{font-family:Arial,sans-serif;position:fixed;top:0;left:0;background:linear-gradient(rgba(30,30,30,.9),#000 1810%);z-index:9999999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.fslightbox-container *{box-sizing:border-box}.fslightbox-svg-path{transition:fill .15s ease;fill:#ddd}.fslightbox-nav{height:45px;width:100%;position:absolute;top:0;left:0}.fslightbox-slide-number-container{display:flex;justify-content:center;align-items:center;position:relative;height:100%;font-size:15px;color:#d7d7d7;z-index:0;max-width:55px;text-align:left}.fslightbox-slide-number-container .fslightbox-flex-centered{height:100%}.fslightbox-slash{display:block;margin:0 5px;width:1px;height:12px;transform:rotate(15deg);background:#fff}.fslightbox-toolbar{position:absolute;z-index:3;right:0;top:0;height:100%;display:flex;background:rgba(35,35,35,.65)}.fslightbox-toolbar-button{height:100%;width:45px;cursor:pointer}.fslightbox-toolbar-button:hover .fslightbox-svg-path{fill:#fff}.fslightbox-slide-btn-container{display:flex;align-items:center;padding:12px 12px 12px 6px;position:absolute;top:50%;cursor:pointer;z-index:3;transform:translateY(-50%)}@media (min-width:476px){.fslightbox-slide-btn-container{padding:22px 22px 22px 6px}}@media (min-width:768px){.fslightbox-slide-btn-container{padding:30px 30px 30px 6px}}.fslightbox-slide-btn-container:hover .fslightbox-svg-path{fill:#f1f1f1}.fslightbox-slide-btn{padding:9px;font-size:26px;background:rgba(35,35,35,.65)}@media (min-width:768px){.fslightbox-slide-btn{padding:10px}}@media (min-width:1600px){.fslightbox-slide-btn{padding:11px}}.fslightbox-slide-btn-previous-container{left:0}@media (max-width:475.99px){.fslightbox-slide-btn-previous-container{padding-left:3px}}.fslightbox-slide-btn-next-container{right:0;padding-left:12px;padding-right:3px}@media (min-width:476px){.fslightbox-slide-btn-next-container{padding-left:22px}}@media (min-width:768px){.fslightbox-slide-btn-next-container{padding-left:30px}}@media (min-width:476px){.fslightbox-slide-btn-next-container{padding-right:6px}}.fslightbox-down-event-detector{position:absolute;z-index:1}.fslightbox-slide-swiping-hoverer{z-index:4}.fslightbox-invalid-file-wrapper{font-size:22px;color:#eaebeb;margin:auto}.fslightbox-video{object-fit:cover}.fslightbox-loader{display:block;margin:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:67px;height:67px}.fslightbox-loader div{box-sizing:border-box;display:block;position:absolute;width:54px;height:54px;margin:6px;border:5px solid;border-color:#999 transparent transparent transparent;border-radius:50%;animation:fslightbox-loader 1.2s cubic-bezier(.5,0,.5,1) infinite}.fslightbox-loader div:nth-child(1){animation-delay:-.45s}.fslightbox-loader div:nth-child(2){animation-delay:-.3s}.fslightbox-loader div:nth-child(3){animation-delay:-.15s}@keyframes fslightbox-loader{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fslightbox-source{position:relative;margin:auto;opacity:0;z-index:2;backface-visibility:hidden;transform:translateZ(0);transition:opacity .3s}")),document.head.appendChild(e)}function v(e){return(v="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)}"object"===("undefined"==typeof document?"undefined":v(document))&&x();var m=[];function b(e){var t,n=e.props,o=0,i={};this.getSourceTypeFromLocalStorageByUrl=function(e){return t[e]?t[e]:r(e)},this.handleReceivedSourceTypeForUrl=function(e,n){!1===i[n]&&(o--,"invalid"!==e?i[n]=e:delete i[n],0===o&&(!function(e,t){for(var n in t)e[n]=t[n]}(t,i),localStorage.setItem("fslightbox-types",JSON.stringify(t))))};var r=function(e){o++,i[e]=!1};n.disableLocalStorage?(this.getSourceTypeFromLocalStorageByUrl=function(){},this.handleReceivedSourceTypeForUrl=function(){}):(t=JSON.parse(localStorage.getItem("fslightbox-types")))||(t={},this.getSourceTypeFromLocalStorageByUrl=r)}function S(e,t,n,o){var i=e.data,r=e.elements.sources,s=n/o,a=0;this.adjustSize=function(){if((a=i.maxSourceWidth/s)<i.maxSourceHeight)return n<i.maxSourceWidth&&(a=o),c();a=o>i.maxSourceHeight?i.maxSourceHeight:o,c()};var c=function(){var e=r[t].style;e.width=a*s+"px",e.height=a+"px"}}function w(e,t,n,o){var i=this,r=e.componentsServices.hideLoaderCollection,s=e.collections.sourceSizers,a=e.elements,c=a.sourceAnimationWrappers,l=a.sources,u=e.resolve;this.runNormalLoadActions=function(){l[t].classList.add(f),c[t].classList.add(d),r[t](),s[t].adjustSize()},this.runInitialLoadActions=function(){s[t]=u(S,[t,n,o]),i.runNormalLoadActions()}}function y(e,t){var n=this,o=e.elements.sources,i=e.props.maxYoutubeVideoDimensions,r=e.resolve;this.handleImageLoad=function(e){var t=e.target,o=t.width,i=t.height;n.handleImageLoad=s(o,i)},this.handleVideoLoad=function(e){var t=e.target,o=t.videoWidth,i=t.videoHeight;n.handleVideoLoad=s(o,i)},this.handleYoutubeLoad=function(){var e=1920,t=1080;i&&(e=i.width,t=i.height),n.handleYoutubeLoad=s(e,t)},this.handleCustomLoad=function(){var e=o[t];n.handleCustomLoad=s(e.offsetWidth,e.offsetHeight)};var s=function(e,n){var o=r(w,[t,e,n]);return o.runInitialLoadActions(),o.runNormalLoadActions}}function L(e){var t=e.collections.sourcesLoadsHandlers,n=e.componentsServices,o=n.isLightboxRenderedManager,i=n.updateSourceDirectWrapperCollection,r=e.elements.sourcesComponents,s=e.resolve;this.runActionsForSourceTypeAndIndex=function(e,n){var a;switch("invalid"!==e&&(t[n]=s(y,[n])),e){case"image":a="Imager";break;case"video":a="Videor";break;case"youtube":a="Youtuber";break;case"custom":a="Customer";break;default:a="Invalider"}r[n]=a,o.get()&&i[n]()}}function _(e){var t,n,o,i,r,s=e.collections.xhrs,a={isUrlYoutubeOne:function(e){var t=document.createElement("a");return t.href=e,"www.youtube.com"===t.hostname},getTypeFromResponseContentType:function(e){return e.slice(0,e.indexOf("/"))}};this.setUrlToCheck=function(e){t=e},this.getSourceType=function(e){if(a.isUrlYoutubeOne(t))return e("youtube");o=e,i=new XMLHttpRequest,s.push(i),i.open("GET",t,!0),i.onreadystatechange=c,i.send()};var c=function(){if(4===i.readyState&&0===i.status&&!r)return l();if(2===i.readyState){if(200!==i.status&&206!==i.status)return r=!0,l();r=!0,d(a.getTypeFromResponseContentType(i.getResponseHeader("content-type"))),u()}},l=function(){n="invalid",u()},u=function(){i.abort(),o(n)},d=function(e){switch(e){case"image":n="image";break;case"video":n="video";break;default:n="invalid"}}}function I(e,t,n){var o=e.props,i=o.types,r=o.type,s=o.sources,a=e.resolve;this.getTypeSetByClientForIndex=function(e){var t;return i&&i[e]?t=i[e]:r&&(t=r),t},this.retrieveTypeWithXhrForIndex=function(e){var o=a(_);o.setUrlToCheck(s[e]),o.getSourceType((function(o){t.handleReceivedSourceTypeForUrl(o,s[e]),n.runActionsForSourceTypeAndIndex(o,e)}))}}function C(e,t){var n=this,o=e.elements.sourceMainWrappers,i=e.props.slideDistance+1,r=0;this.byValue=function(e){return r=e,n},this.negative=function(){s(-a())},this.zero=function(){s(0)},this.positive=function(){s(a())};var s=function(e){o[t].style.transform="translateX(".concat(e+r,"px)"),r=0},a=function(){return i*innerWidth}}function F(e,t){var n=e.classList;n.contains(t)&&n.remove(t)}function T(e){var t=this,n=e.componentsServices,o=n.isFullscreenOpenManager,i=n.isLightboxRenderedManager,r=e.core,s=r.eventsDispatcher,c=r.fullscreenToggler,l=r.globalEventsController,u=r.scrollbarRecompensor,d=e.elements,p=e.props,f=e.slideSwipingProps;this.isLightboxFadingOut=!1,this.runActions=function(){t.isLightboxFadingOut=!0,d.container.classList.add(h),l.removeListeners(),p.exitFullscreenOnClose&&o.get()&&c.exitFullscreen(),setTimeout((function(){t.isLightboxFadingOut=!1,f.isSwiping=!1,d.container.classList.remove(h),document.documentElement.classList.remove(a),u.removeRecompense(),i.set(!1),s.dispatch("onClose")}),220)}}function A(e){return e.touches?e.touches[0].clientX:e.clientX}function E(e){var t,n,o,i=e.collections.sourceMainWrappersTransformers,r=e.componentsServices,s=e.core,a=s.classFacade,h=s.slideIndexChanger,p=s.sourceDisplayFacade,f=s.stageManager,g=e.elements.sourceAnimationWrappers,x=e.stageIndexes,v=(t=function(){a.removeFromEachElementClassIfContains("sourceAnimationWrappers",u)},n=250,o=[],function(){o.push(!0),setTimeout((function(){o.pop(),o.length||t()}),n)});h.changeTo=function(e){x.current=e,f.updateStageIndexes(),r.setSlideNumber(e+1),p.displayStageSourcesIfNotYet()},h.jumpTo=function(e){var t=x.current;h.changeTo(e),a.removeFromEachElementClassIfContains("sourceMainWrappers",c),F(g[t],d),F(g[t],l),g[t].classList.add(u),F(g[e],d),F(g[e],u),g[e].classList.add(l),v(),i[e].zero(),setTimeout((function(){t!==x.current&&i[t].negative()}),220)}}function z(e){var t=e.core,n=t.lightboxCloser,o=t.fullscreenToggler,i=t.slideChangeFacade;this.listener=function(e){switch(e.keyCode){case 27:n.closeLightbox();break;case 37:i.changeToPrevious();break;case 39:i.changeToNext();break;case 122:e.preventDefault(),o.enterFullscreen()}}}function N(e){var t=e.collections.sourceMainWrappersTransformers,n=e.componentsServices,o=e.elements,i=e.slideSwipingProps,r=e.stageIndexes;this.runActionsForEvent=function(e){n.showSlideSwipingHoverer(),o.container.classList.add(s),i.swipedX=A(e)-i.downClientX,a(r.current,"zero"),void 0!==r.previous&&i.swipedX>0?a(r.previous,"negative"):void 0!==r.next&&i.swipedX<0&&a(r.next,"positive")};var a=function(e,n){t[e].byValue(i.swipedX)[n]()}}function O(e){var t,n=e.data.sources,o=e.resolve,i=e.slideSwipingProps,r=o(N),s=(t=!1,function(){return!t&&(t=!0,requestAnimationFrame((function(){t=!1})),!0)});1===n.length?this.listener=function(){i.swipedX=1}:this.listener=function(e){i.isSwiping&&s()&&r.runActionsForEvent(e)}}function M(e){var t=e.collections.sourceMainWrappersTransformers,n=e.core.slideIndexChanger,o=e.elements.sourceMainWrappers,i=e.stageIndexes;this.runPositiveSwipedXActions=function(){void 0===i.previous||(r("positive"),n.changeTo(i.previous)),r("zero")},this.runNegativeSwipedXActions=function(){void 0===i.next||(r("negative"),n.changeTo(i.next)),r("zero")};var r=function(e){o[i.current].classList.add(c),t[i.current][e]()}}function W(e){var t=e.componentsServices,n=e.core.lightboxCloser,o=e.elements,i=e.resolve,r=e.slideSwipingProps,a=i(M);this.runNoSwipeActions=function(){t.hideSlideSwipingHoverer(),r.isSourceDownEventTarget||n.closeLightbox(),r.isSwiping=!1},this.runActions=function(){r.swipedX>0?a.runPositiveSwipedXActions():a.runNegativeSwipedXActions(),t.hideSlideSwipingHoverer(),o.container.classList.remove(s),r.isSwiping=!1}}function k(e){var t=e.resolve,n=e.slideSwipingProps,o=t(W);this.listener=function(){n.isSwiping&&(n.swipedX?o.runActions():o.runNoSwipeActions())}}function R(e){var t,n,o;n=(t=e).core.classFacade,o=t.elements,n.removeFromEachElementClassIfContains=function(e,t){for(var n=0;n<o[e].length;n++)F(o[e][n],t)},function(e){var t=e.core.eventsDispatcher,n=e.props;t.dispatch=function(e){n[e]&&n[e]()}}(e),function(e){var t=e.componentsServices.isFullscreenOpenManager,n=e.core.fullscreenToggler;n.enterFullscreen=function(){t.set(!0);var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()},n.exitFullscreen=function(){t.set(!1),document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()}}(e),function(e){var t=e.core,n=t.globalEventsController,o=t.windowResizeActioner,i=e.resolve,r=i(z),s=i(O),a=i(k);n.attachListeners=function(){document.addEventListener("mousemove",s.listener),document.addEventListener("touchmove",s.listener,{passive:!0}),document.addEventListener("mouseup",a.listener),document.addEventListener("touchend",a.listener,{passive:!0}),addEventListener("resize",o.runActions),document.addEventListener("keydown",r.listener)},n.removeListeners=function(){document.removeEventListener("mousemove",s.listener),document.removeEventListener("touchmove",s.listener),document.removeEventListener("mouseup",a.listener),document.removeEventListener("touchend",a.listener),removeEventListener("resize",o.runActions),document.removeEventListener("keydown",r.listener)}}(e),function(e){var t=e.core.lightboxCloser,n=(0,e.resolve)(T);t.closeLightbox=function(){n.isLightboxFadingOut||n.runActions()}}(e),function(e){var t=e.collections.sourceMainWrappersTransformers,n=e.core,o=n.eventsDispatcher,i=n.lightboxOpenActioner,r=n.globalEventsController,s=n.scrollbarRecompensor,c=n.sourceDisplayFacade,l=n.stageManager,u=n.windowResizeActioner,d=e.stageIndexes;i.runInitializedLightboxActions=function(){l.updateStageIndexes(),c.displayStageSourcesIfNotYet(),document.documentElement.classList.add(a),s.addRecompense(),r.attachListeners(),u.runActions(),t[d.current].zero(),o.dispatch("onOpen")}}(e),function(e){var t=e.data,n=e.core.scrollbarRecompensor;n.addRecompense=function(){"complete"===document.readyState?o():window.addEventListener("load",(function(){o(),n.addRecompense=o}))};var o=function(){document.body.offsetHeight>window.innerHeight&&(document.body.style.marginRight=t.scrollbarWidth+"px")};n.removeRecompense=function(){document.body.style.removeProperty("margin-right")}}(e),function(e){var t=e.core,n=t.slideChangeFacade,o=t.slideIndexChanger,i=t.stageManager;e.data.sources.length>1?(n.changeToPrevious=function(){o.jumpTo(i.getPreviousSlideIndex())},n.changeToNext=function(){o.jumpTo(i.getNextSlideIndex())}):(n.changeToPrevious=function(){},n.changeToNext=function(){})}(e),E(e),function(e){var t=e.core,n=t.classFacade,o=t.slideSwipingDown,i=e.elements.sources,r=e.slideSwipingProps,s=e.stageIndexes;o.listener=function(e){r.isSwiping=!0,r.downClientX=A(e),r.swipedX=0,"VIDEO"===e.target.tagName||e.touches||e.preventDefault();var t=i[s.current];t&&t.contains(e.target)?r.isSourceDownEventTarget=!0:r.isSourceDownEventTarget=!1,n.removeFromEachElementClassIfContains("sourceMainWrappers",c)}}(e),function(e){var t=e.core.sourceDisplayFacade,n=e.componentsServices.updateSourceDirectWrapperCollection,o=e.stageIndexes,i=e.props.loadOnlyCurrentSource;t.displayStageSourcesIfNotYet=function(){if(i)n[o.current]();else for(var e in o)void 0!==o[e]&&n[o[e]]()}}(e),function(e){var t=e.stageIndexes,n=e.core.stageManager,o=e.data.sources.length-1;n.getPreviousSlideIndex=function(){return 0===t.current?o:t.current-1},n.getNextSlideIndex=function(){return t.current===o?0:t.current+1},n.updateStageIndexes=0===o?function(){}:1===o?function(){0===t.current?(t.next=1,delete t.previous):(t.previous=0,delete t.next)}:function(){t.previous=n.getPreviousSlideIndex(),t.next=n.getNextSlideIndex()},n.isSourceInStage=o<=2?function(){return!0}:function(e){var n=t.current;if(0===n&&e===o||n===o&&0===e)return!0;var i=n-e;return-1===i||0===i||1===i}}(e),function(e){var t=e.collections,n=t.sourceMainWrappersTransformers,o=t.sourceSizers,i=e.core.windowResizeActioner,r=e.data,s=e.elements.sourceMainWrappers,a=e.stageIndexes;i.runActions=function(){innerWidth<992?r.maxSourceWidth=innerWidth:r.maxSourceWidth=.9*innerWidth,r.maxSourceHeight=.9*innerHeight;for(var e=0;e<r.sources.length;e++)F(s[e],c),e!==a.current&&n[e].negative(),o[e]&&o[e].adjustSize()}}(e)}function B(e){var t=e.componentsServices.isLightboxRenderedManager,n=e.core,o=n.eventsDispatcher,i=n.lightboxOpener,r=n.lightboxOpenActioner,s=e.data,a=e.stageIndexes;i.openLightbox=function(){o.dispatch("onShow"),t.set(!0,r.runInitializedLightboxActions)},i.initializeAndOpenLightbox=function(){var n,i,c,l,u,d,h;s.isInitialized=!0,a.current=(i=(n=e).data.sources,c=n.props,l=c.slide,u=c.sourceIndex,d=c.source,h=0,d?h=i.indexOf(d):u?h=u:l&&(h=l-1),h),s.sources=function(e){var t=e.props,n=t.sources,o=t.customSources;o&&console.warn("FsLightbox: customSources prop is deprecated, use sources prop instead!");var i=n?n.slice():o.slice();if(o&&n!==o)for(var r=0;r<o.length;r++)o[r]&&(i[r]=o[r]);return i}(e),function(e){for(var t=e.collections.sourceMainWrappersTransformers,n=e.data.sources,o=e.resolve,i=0;i<n.length;i++)t[i]=o(C,[i])}(e),R(e),o.dispatch("onInit"),t.set(!0,(function(){r.runInitializedLightboxActions(),function(e){for(var t=e.data.sources,n=e.resolve,o=n(b),i=n(L),r=n(I,[o,i]),s=0;s<t.length;s++)if("string"==typeof t[s]){var a=r.getTypeSetByClientForIndex(s);if(a)i.runActionsForSourceTypeAndIndex(a,s);else{var c=o.getSourceTypeFromLocalStorageByUrl(t[s]);c?i.runActionsForSourceTypeAndIndex(c,s):r.retrieveTypeWithXhrForIndex(s)}}else i.runActionsForSourceTypeAndIndex("custom",s)}(e)}))}}function H(e,t,n){return(H=$()?Reflect.construct:function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&D(i,n.prototype),i}).apply(null,arguments)}function $(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e){return function(e){if(Array.isArray(e))return j(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function U(e){var t,n,o,i,r,s,a,c,l,u=this;this.props=e,this.data={sources:null,isInitialized:!1,maxSourceWidth:0,maxSourceHeight:0,scrollbarWidth:0},this.slideSwipingProps={isSwiping:!1,downClientX:null,isSourceDownEventTarget:!1,swipedX:0},this.stageIndexes={},this.componentsServices={isLightboxRenderedManager:{},setSlideNumber:null,isFullscreenOpenManager:{},hideLoaderCollection:[],updateSourceDirectWrapperCollection:[],showSlideSwipingHoverer:null,hideSlideSwipingHoverer:null},this.elements={container:null,sourceWrappersContainer:null,sources:[],sourceMainWrappers:[],sourceAnimationWrappers:[],sourcesComponents:[]},this.resolve=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.unshift(u),H(e,P(t))},this.collections={sourceMainWrappersTransformers:[],sourcesLoadsHandlers:[],sourceSizers:[],xhrs:[]},this.core={classFacade:{},eventsDispatcher:{},fullscreenToggler:{},globalEventsController:{},lightboxCloser:{},lightboxOpener:{},lightboxOpenActioner:{},lightboxUpdater:{},scrollbarRecompensor:{},slideChangeFacade:{},slideIndexChanger:{},slideSwipingDown:{},sourceDisplayFacade:{},stageManager:{},windowResizeActioner:{}},n=(t=this).componentsServices.isLightboxRenderedManager,o=t.core,i=o.lightboxUpdater,r=o.lightboxCloser,s=o.lightboxOpener,a=o.slideIndexChanger,c=t.data,l=t.stageIndexes,i.handleTogglerUpdate=function(){n.get()?r.closeLightbox():c.isInitialized?s.openLightbox():s.initializeAndOpenLightbox()},i.runCurrentStageIndexUpdateActionsFor=function(e){e!==l.current&&(n.get()?a.jumpTo(e):l.current=e)},B(this)}var X=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{ref:"nav",staticClass:"fslightbox-nav"},[t("Toolbar",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}),this._v(" "),this.hasMoreThanSource?t("SlideNumber",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}):this._e()],1)};X._withStripped=!0;var V=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"fslightbox-toolbar"},[t("FullscreenButton",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}),this._v(" "),t("CloseButton",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}})],1)};V._withStripped=!0;var Y=function(){var e=this.$createElement;return(this._self._c||e)("ToolbarButton",{attrs:{"on-click":this.onClick,"view-box":"0 0 24 24",size:"20px",d:"M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z",title:"Close"}})};Y._withStripped=!0;var q=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"fslightbox-toolbar-button fslightbox-flex-centered",attrs:{title:this.title},on:{click:this.onClick}},[t("Svger",{attrs:{size:this.size,"view-box":this.viewBox,d:this.d}})],1)};q._withStripped=!0;var J=function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{width:this.size,height:this.size,viewBox:this.viewBox,xmlns:"http://www.w3.org/2000/svg"}},[t("path",{staticClass:"fslightbox-svg-path",attrs:{d:this.d}})])};function G(e,t,n,o,i,r,s,a){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),s?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=c):i&&(c=a?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}J._withStripped=!0;var Z=G({props:{size:String,viewBox:String,d:String}},J,[],!1,null,null,null);Z.options.__file="src/components/helpers/Svger.vue";var K=Z.exports,Q=G({components:{Svger:K},props:{onClick:Function,size:String,viewBox:String,d:String,title:String}},q,[],!1,null,null,null);Q.options.__file="src/components/nav/toolbar/ToolbarButton.vue";var ee=Q.exports,te=G({components:{ToolbarButton:ee},props:{fsLightboxIndex:Number},data:function(){return{onClick:m[this.fsLightboxIndex].core.lightboxCloser.closeLightbox}}},Y,[],!1,null,null,null);te.options.__file="src/components/nav/toolbar/toolbar-buttons/CloseButton.vue";var ne=te.exports,oe=function(){var e=this.$createElement;return(this._self._c||e)("ToolbarButton",{attrs:{"on-click":this.getButtonData("onClick"),"view-box":this.getButtonData("viewBox"),size:this.getButtonData("size"),d:this.getButtonData("d"),title:this.getButtonData("title")}})};oe._withStripped=!0;var ie=G({components:{ToolbarButton:ee},props:{fsLightboxIndex:Number},data:function(){return{isFullscreenOpen:!1}},methods:{getButtonData:function(e){var t=m[this.fsLightboxIndex].core.fullscreenToggler,n=t.exitFullscreen,o=t.enterFullscreen;return(this.isFullscreenOpen?{onClick:n,viewBox:"0 0 950 1024",size:"24px",d:"M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z",title:"Exit fullscreen"}:{onClick:o,viewBox:"0 0 18 18",size:"20px",d:"M4.5 11H3v4h4v-1.5H4.5V11zM3 7h1.5V4.5H7V3H3v4zm10.5 6.5H11V15h4v-4h-1.5v2.5zM11 3v1.5h2.5V7H15V3h-4z",title:"Enter fullscreen"})[e]}},created:function(){var e=this,t=m[this.fsLightboxIndex].componentsServices.isFullscreenOpenManager;t.get=function(){return e.isFullscreenOpen},t.set=function(t){return e.isFullscreenOpen=t}}},oe,[],!1,null,null,null);ie.options.__file="src/components/nav/toolbar/toolbar-buttons/FullscreenButton.vue";var re=G({components:{FullscreenButton:ie.exports,CloseButton:ne},props:{fsLightboxIndex:Number}},V,[],!1,null,null,null);re.options.__file="src/components/nav/toolbar/Toolbar.vue";var se=re.exports,ae=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"source-outer",staticClass:"fslightbox-slide-number-container"},[n("div",{ref:"source-inner",staticClass:"fslightbox-flex-centered"},[n("span",[e._v(e._s(e.slide))]),e._v(" "),n("span",{staticClass:"fslightbox-slash"}),e._v(" "),n("span",[e._v(e._s(e.sourcesCount))])])])};ae._withStripped=!0;var ce=G({props:{fsLightboxIndex:Number},data:function(){return{slide:m[this.fsLightboxIndex].stageIndexes.current+1,sourcesCount:m[this.fsLightboxIndex].data.sources.length}},created:function(){var e=this;m[this.fsLightboxIndex].componentsServices.setSlideNumber=function(t){return e.slide=t}},mounted:function(){this.$refs["source-inner"].offsetWidth>55&&(this.$refs["source-outer"].style.justifyContent="flex-start")}},ae,[],!1,null,null,null);ce.options.__file="src/components/nav/SlideNumber.vue";var le=G({components:{SlideNumber:ce.exports,Toolbar:se},props:{fsLightboxIndex:Number},data:function(){return{hasMoreThanSource:m[this.fsLightboxIndex].data.sources.length>1}}},X,[],!1,null,null,null);le.options.__file="src/components/nav/Naver.vue";var ue=le.exports,de=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"ref",staticClass:"fslightbox-absoluted fslightbox-full-dimension",on:{mousedown:e.listener,touchstart:e.listener}},e._l(e.sources.length,(function(t,o){return n("SourceMainWrapper",{key:o,attrs:{i:o,"fs-lightbox-index":e.fsLightboxIndex}})})),1)};de._withStripped=!0;var he=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{ref:"ref",staticClass:"fslightbox-absoluted fslightbox-full-dimension fslightbox-flex-centered",attrs:{"data-test-class":"source-outer"}},[t("SourceAnimationWrapper",{attrs:{"fs-lightbox-index":this.fsLightboxIndex,i:this.i}}),this._v(" "),this.isSourceLoaded?this._e():t("Loader")],1)};he._withStripped=!0;var pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"ref",staticClass:"soueouoeu"},[e.current===e.i||!e.loadOnlyCurrentSource&&e.isSourceInStage?n(e.sourceComponent,{tag:"component",attrs:{"fs-lightbox-index":e.fsLightboxIndex,i:e.i}}):e._e()],1)};pe._withStripped=!0;var fe=function(){var e=this.$createElement;return(this._self._c||e)("img",this._b({ref:"ref",staticClass:"fslightbox-source",attrs:{src:this.src},on:{load:this.onLoad}},"img",this.customAttributes,!1))};fe._withStripped=!0;var ge=G({props:{fsLightboxIndex:Number,i:Number},data:function(){var e=this,t=m[this.fsLightboxIndex],n=t.collections.sourcesLoadsHandlers,o=t.data.sources,i=t.props.customAttributes;return{onLoad:function(t){console.log("load"),n[e.i].handleImageLoad(t)},src:o[this.i],customAttributes:i&&i[this.i]}},mounted:function(){m[this.fsLightboxIndex].elements.sources[this.i]=this.$refs.ref}},fe,[],!1,null,null,null);ge.options.__file="src/components/sources/proper-sources/Imager.vue";var xe=ge.exports,ve=function(){var e=this.$createElement,t=this._self._c||e;return t("video",this._b({ref:"ref",staticClass:"fslightbox-source fslightbox-video",attrs:{controls:""},on:{loadedmetadata:this.onLoad}},"video",this.attributes,!1),[t("source",{attrs:{src:this.src}})])};ve._withStripped=!0;var me=G({props:{fsLightboxIndex:Number,i:Number},data:function(){var e=m[this.fsLightboxIndex],t=e.collections.sourcesLoadsHandlers,n=e.data.sources,o=e.props,i=o.customAttributes,r=o.videosPosters,s=i&&i[this.i]?i[this.i]:{};return r&&r[this.i]&&(s.poster=r[this.i]),{onLoad:t[this.i].handleVideoLoad,src:n[this.i],attributes:s}},mounted:function(){m[this.fsLightboxIndex].elements.sources[this.i]=this.$refs.ref}},ve,[],!1,null,null,null);me.options.__file="src/components/sources/proper-sources/Videor.vue";var be=me.exports,Se=function(){var e=this.$createElement;return(this._self._c||e)("iframe",this._b({ref:"ref",staticClass:"fslightbox-source fslightbox-youtube-iframe",attrs:{src:this.src,allowfullscreen:""}},"iframe",this.customAttributes,!1))};Se._withStripped=!0;var we=G({props:{fsLightboxIndex:Number,i:Number},data:function(){var e,t=m[this.fsLightboxIndex],n=t.data.sources,o=t.props.customAttributes;return{src:"https://www.youtube.com/embed/".concat((e=n[this.i],e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/)[2])),customAttributes:o&&o[this.i]}},mounted:function(){var e=m[this.fsLightboxIndex],t=e.collections.sourcesLoadsHandlers;e.elements.sources[this.i]=this.$refs.ref,t[this.i].handleYoutubeLoad()}},Se,[],!1,null,null,null);we.options.__file="src/components/sources/proper-sources/Youtuber.vue";var ye=we.exports,Le=function(){var e=this.$createElement;return(this._self._c||e)(this.component,this._b({ref:"ref",tag:"component"},"component",this.componentProps,!1))};Le._withStripped=!0;var _e=G({props:{fsLightboxIndex:Number,i:Number},data:function(){var e=m[this.fsLightboxIndex].data.sources[this.i],t={component:e,componentProps:{}};return e.component&&(t.component=e.component,t.componentProps=e.props),t},mounted:function(){var e=m[this.fsLightboxIndex],t=e.collections.sourcesLoadsHandlers,n=e.elements.sources;n[this.i]=this.$refs.ref.$el,n[this.i].classList.add(g),t[this.i].handleCustomLoad()}},Le,[],!1,null,null,null);_e.options.__file="src/components/sources/proper-sources/Customer.vue";var Ie=_e.exports,Ce=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"fslightbox-invalid-file-wrapper fslightbox-flex-centered"},[this._v("\n Invalid source\n")])};Ce._withStripped=!0;var Fe=G({props:{fsLightboxIndex:Number,i:Number},mounted:function(){var e=m[this.fsLightboxIndex],t=e.componentsServices.hideLoaderCollection,n=e.elements.sourceMainWrappers;t[this.i](),n[this.i].classList.add(d)}},Ce,[],!1,null,null,null);Fe.options.__file="src/components/sources/proper-sources/Invalider.vue";var Te=Fe.exports,Ae=G({props:{fsLightboxIndex:Number,i:Number},components:{Imager:xe,Videor:be,Youtuber:ye,Customer:Ie,Invalider:Te},data:function(){var e={};return this.attachComponentDataToObject(e),e},created:function(){var e=this;m[this.fsLightboxIndex].componentsServices.updateSourceDirectWrapperCollection[this.i]=function(){e.attachComponentDataToObject(e)}},mounted:function(){m[this.fsLightboxIndex].elements.sourceAnimationWrappers[this.i]=this.$refs.ref},methods:{attachComponentDataToObject:function(e){var t=m[this.fsLightboxIndex],n=t.core.stageManager.isSourceInStage,o=t.elements.sourcesComponents,i=t.props.loadOnlyCurrentSource,r=t.stageIndexes.current;e.sourceComponent=o[this.i],e.isSourceInStage=n(this.i),e.current=r,e.loadOnlyCurrentSource=i}}},pe,[],!1,null,null,null);Ae.options.__file="src/components/sources/SourceAnimationWrapper.vue";var Ee=Ae.exports,ze=function(){var e=this.$createElement;this._self._c;return this._m(0)};ze._withStripped=!0;var Ne=G({},ze,[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"fslightbox-loader"},[t("div"),this._v(" "),t("div"),this._v(" "),t("div"),this._v(" "),t("div")])}],!1,null,null,null);Ne.options.__file="src/components/helpers/Loader.vue";var Oe=Ne.exports,Me=G({props:{fsLightboxIndex:Number,i:Number},components:{SourceAnimationWrapper:Ee,Loader:Oe},data:function(){return{isSourceLoaded:!1}},created:function(){var e=this;m[this.fsLightboxIndex].componentsServices.hideLoaderCollection[this.i]=function(){return e.isSourceLoaded=!0}},mounted:function(){m[this.fsLightboxIndex].elements.sourceMainWrappers[this.i]=this.$refs.ref}},he,[],!1,null,null,null);Me.options.__file="src/components/sources/SourceMainWrapper.vue";var We=Me.exports,ke=G({props:{fsLightboxIndex:Number},components:{SourceMainWrapper:We},data:function(){var e=m[this.fsLightboxIndex],t=e.core.slideSwipingDown.listener;return{sources:e.data.sources,listener:t}},mounted:function(){m[this.fsLightboxIndex].elements.sourceWrappersContainer=this.$refs.ref}},de,[],!1,null,null,null);ke.options.__file="src/components/sources/SourceWrappersContainer.vue";var Re=ke.exports,Be=function(){var e=this.$createElement,t=this._self._c||e;return this.sourcesCount>1?t("div",[t("SlideButton",{attrs:{"on-click":this.changeToPrevious,name:"previous",d:"M18.271,9.212H3.615l4.184-4.184c0.306-0.306,0.306-0.801,0-1.107c-0.306-0.306-0.801-0.306-1.107,0L1.21,9.403C1.194,9.417,1.174,9.421,1.158,9.437c-0.181,0.181-0.242,0.425-0.209,0.66c0.005,0.038,0.012,0.071,0.022,0.109c0.028,0.098,0.075,0.188,0.142,0.271c0.021,0.026,0.021,0.061,0.045,0.085c0.015,0.016,0.034,0.02,0.05,0.033l5.484,5.483c0.306,0.307,0.801,0.307,1.107,0c0.306-0.305,0.306-0.801,0-1.105l-4.184-4.185h14.656c0.436,0,0.788-0.353,0.788-0.788S18.707,9.212,18.271,9.212z"}}),this._v(" "),t("SlideButton",{attrs:{"on-click":this.changeToNext,name:"next",d:"M1.729,9.212h14.656l-4.184-4.184c-0.307-0.306-0.307-0.801,0-1.107c0.305-0.306,0.801-0.306,1.106,0l5.481,5.482c0.018,0.014,0.037,0.019,0.053,0.034c0.181,0.181,0.242,0.425,0.209,0.66c-0.004,0.038-0.012,0.071-0.021,0.109c-0.028,0.098-0.075,0.188-0.143,0.271c-0.021,0.026-0.021,0.061-0.045,0.085c-0.015,0.016-0.034,0.02-0.051,0.033l-5.483,5.483c-0.306,0.307-0.802,0.307-1.106,0c-0.307-0.305-0.307-0.801,0-1.105l4.184-4.185H1.729c-0.436,0-0.788-0.353-0.788-0.788S1.293,9.212,1.729,9.212z"}})],1):this._e()};Be._withStripped=!0;var He=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{class:"fslightbox-slide-btn-container fslightbox-slide-btn-"+this.name+"-container",attrs:{title:this.title},on:{click:this.onClick}},[t("div",{staticClass:"fslightbox-slide-btn fslightbox-flex-centered"},[t("Svger",{attrs:{"view-box":"0 0 20 20",size:"20px",d:this.d}})],1)])};He._withStripped=!0;var $e=G({components:{Svger:K},props:{onClick:Function,name:String,d:String},data:function(){var e=this.name.charAt(0).toUpperCase()+this.name.slice(1);return{title:"".concat(e," slide")}}},He,[],!1,null,null,null);$e.options.__file="src/components/SlideButton.vue";var De=$e.exports,Pe=G({props:{fsLightboxIndex:Number},components:{SlideButton:De},data:function(){var e=m[this.fsLightboxIndex],t=e.core.slideChangeFacade,n=t.changeToPrevious,o=t.changeToNext;return{sourcesCount:e.data.sources.length,changeToPrevious:n,changeToNext:o}}},Be,[],!1,null,null,null);Pe.options.__file="src/components/SlideButtons.vue";var je=Pe.exports,Ue=function(){var e=this.$createElement,t=this._self._c||e;return this.isSlideSwipingHovererShown?t("div",{staticClass:"fslightbox-slide-swiping-hoverer fslightbox-full-dimension fslightbox-absoluted"}):this._e()};Ue._withStripped=!0;var Xe=G({props:{fsLightboxIndex:Number},data:function(){return{isSlideSwipingHovererShown:!1}},created:function(){var e=this,t=m[this.fsLightboxIndex].componentsServices;t.showSlideSwipingHoverer=function(){e.isSlideSwipingHovererShown||(e.isSlideSwipingHovererShown=!0)},t.hideSlideSwipingHoverer=function(){e.isSlideSwipingHovererShown&&(e.isSlideSwipingHovererShown=!1)}}},Ue,[],!1,null,null,null);Xe.options.__file="src/components/SlideSwipingHoverer.vue";var Ve,Ye=Xe.exports;function qe(){var e=localStorage.getItem("fslightbox-scrollbar-width");if(e)return e;var t=function(){var e=document.createElement("div"),t=e.style;return t.visibility="hidden",t.width="100px",t.msOverflowStyle="scrollbar",t.overflow="scroll",e}(),n=function(){var e=document.createElement("div");return e.style.width="100%",e}();document.body.appendChild(t);var o=t.offsetWidth;t.appendChild(n);var i=n.offsetWidth;document.body.removeChild(t);var r=o-i;return localStorage.setItem("fslightbox-scrollbar-width",r.toString()),r}function Je(e){var t=e.core.lightboxOpener,n=e.data,o=e.props.openOnMount;document.getElementsByClassName(r).length||x(),n.scrollbarWidth=qe(),o&&t.initializeAndOpenLightbox()}var Ge=G({props:{toggler:Boolean,sources:Array,customSources:Array,slide:Number,source:String,sourceIndex:Number,onOpen:Function,onClose:Function,onInit:Function,onShow:Function,disableLocalStorage:Boolean,types:Array,type:String,customAttributes:Array,videosPosters:Array,maxYoutubeVideoDimensions:Object,loadOnlyCurrentSource:Boolean,slideDistance:{type:Number,default:.3},openOnMount:Boolean,exitFullscreenOnClose:Boolean},components:{SlideButtons:je,SourceWrappersContainer:Re,Naver:ue,SlideSwipingHoverer:Ye},data:function(){return{isRendered:!1}},watch:{slide:function(e){m[this.fsLightboxIndex].core.lightboxUpdater.runCurrentStageIndexUpdateActionsFor(e-1)},sourceIndex:function(e){m[this.fsLightboxIndex].core.lightboxUpdater.runCurrentStageIndexUpdateActionsFor(e)},source:function(e){m[this.fsLightboxIndex].core.lightboxUpdater.runCurrentStageIndexUpdateActionsFor(this.sources.indexOf(e))},toggler:function(){m[this.fsLightboxIndex].core.lightboxUpdater.handleTogglerUpdate()}},created:function(){var e=this;this.fsLightboxIndex=m.push(new U(this))-1;var t=m[this.fsLightboxIndex].componentsServices.isLightboxRenderedManager;t.get=function(){return e.isRendered},t.set=function(t,n){e.isRendered=t,n&&(Ve=n)}},mounted:function(){m[this.fsLightboxIndex].elements.container=this.$refs.container,Je(m[this.fsLightboxIndex])},updated:function(){m[this.fsLightboxIndex].elements.container=this.$refs.container,Ve&&Ve(),Ve=null}},o,[],!1,null,null,null);Ge.options.__file="src/FsLightbox.vue";var Ze=Ge.exports;t.default=Ze}]); |
{ | ||
"name": "fslightbox-vue", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Vue version of Fullscreen Lightbox. Modern and easy plugin for displaying images and videos in clean overlaying box. Display single source or create beautiful gallery with powerful lightbox.", | ||
@@ -9,3 +9,4 @@ "main": "index.js", | ||
"production": "webpack --mode production --config webpack.prod.config.js --display-modules && gulp", | ||
"watch": "webpack-dev-server --mode development --host 0.0.0.0" | ||
"watch": "webpack-dev-server --mode development --host 0.0.0.0", | ||
"cypress": "concurrently --kill-others \"webpack-dev-server --config ./webpack.cypress.config.js --mode development\" \"node ./node_modules/.bin/cypress open\"" | ||
}, | ||
@@ -33,3 +34,4 @@ "repository": { | ||
"/demo/", | ||
"/dist/" | ||
"/dist/", | ||
"/tests/cypress/" | ||
], | ||
@@ -65,6 +67,7 @@ "collectCoverage": false | ||
"babel-polyfill": "^6.26.0", | ||
"concurrently": "^5.3.0", | ||
"core-js": "^3.0.1", | ||
"css-loader": "^2.1.0", | ||
"enzyme-adapter-react-16": "^1.12.1", | ||
"enzyme-to-json": "^3.3.5", | ||
"cypress": "^4.12.1", | ||
"dotenv": "^8.2.0", | ||
"gulp": "^4.0.2", | ||
@@ -71,0 +74,0 @@ "gulp-clean-css": "^4.2.0", |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
46939
8
57
1
33
2