{"version":3,"sources":["blueimp-helper.js","blueimp-gallery.js","blueimp-gallery-fullscreen.js","blueimp-gallery-indicator.js","blueimp-gallery-video.js","blueimp-gallery-vimeo.js","blueimp-gallery-youtube.js"],"names":["extend","obj1","obj2","prop","Object","prototype","hasOwnProperty","call","Helper","query","this","find","length","nodeType","window","i","contains","container","element","parentNode","parseJSON","string","JSON","parse","document","querySelectorAll","charAt","getElementById","slice","getElementsByTagName","hasClass","className","RegExp","test","addClass","classNames","j","split","removeClass","regexp","join","matcher","replacer","match","trimEnd","replace","on","eventName","handler","eventNames","shift","addEventListener","attachEvent","off","removeEventListener","detachEvent","empty","hasChildNodes","removeChild","lastChild","first","define","amd","blueimp","helper","factory","Gallery","jQuery","$","list","options","body","style","maxHeight","undefined","num","initOptions","initialize","console","log","slidesContainer","titleElement","displayClass","controlsClass","singleClass","leftEdgeClass","rightEdgeClass","playingClass","svgasimgClass","smilClass","slideClass","slideActiveClass","slidePrevClass","slideNextClass","slideLoadingClass","slideErrorClass","slideContentClass","toggleClass","prevClass","nextClass","closeClass","playPauseClass","typeProperty","titleProperty","altTextProperty","urlProperty","srcsetProperty","sizesProperty","sourcesProperty","displayTransition","clearSlides","toggleControlsOnEnter","toggleControlsOnSlideClick","toggleSlideshowOnSpace","enableKeyboardNavigation","closeOnEscape","closeOnSlideClick","closeOnSwipeUpOrDown","closeOnHashChange","emulateTouchEvents","stopTouchEventsPropagation","hidePageScrollbars","disableScroll","carousel","continuous","unloadElements","startSlideshow","slideshowInterval","slideshowDirection","index","preloadRange","transitionDuration","slideshowTransitionDuration","event","onopen","onopened","onslide","onslideend","onslidecomplete","onclose","onclosed","carouselOptions","support","source","HTMLSourceElement","picture","HTMLPictureElement","svgasimg","implementation","hasFeature","smil","createElementNS","toString","touch","ontouchstart","DocumentTouch","transitions","webkitTransition","end","prefix","MozTransition","OTransition","transition","name","elementTests","translateZ","appendChild","getComputedStyle","getPropertyValue","transform","translate","createElement","requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","cancelAnimationFrame","webkitCancelRequestAnimationFrame","webkitCancelAnimationFrame","mozCancelAnimationFrame","initStartIndex","initWidget","initEventListeners","ontransitionend","play","slide","to","duration","clearTimeout","timeout","direction","naturalDirection","diff","circle","Math","abs","positions","slideWidth","move","animate","getIndex","getNumber","prev","next","time","that","nextIndex","interval","elements","setTimeout","animationFrameId","setAttribute","playPauseElement","pause","add","concat","Array","addSlide","positionSlide","initSlides","resetSlides","unloadAllSlides","slides","handleClose","destroyEventListeners","display","overflow","bodyOverflowStyle","close","closeHandler","target","dist","translateX","x","y","translateY","from","start","timer","Date","getTime","setInterval","timeElap","left","clearInterval","floor","preventDefault","returnValue","stopPropagation","cancelBubble","onresize","onhashchange","onmousedown","which","nodeName","originalEvent","touches","pageX","pageY","onmousemove","touchStart","ontouchmove","onmouseup","ontouchend","onmouseout","related","relatedTarget","now","isScrolling","touchDelta","touchDeltaX","indices","scale","push","unshift","pop","indexForward","indexBackward","distanceForward","distanceBackward","absTouchDeltaX","ceil","isValidSlide","isPastBounds","isValidClose","ontouchcancel","oncomplete","srcElement","parent","getNodeIndex","type","clientHeight","onload","onerror","onkeydown","keyCode","toggleControls","stopImmediatePropagation","toggleSlideshow","handleClick","isTarget","onclick","updateEdgeClasses","updateActiveSlide","oldIndex","newIndex","item","method","hidden","removeAttribute","handleSlide","loadElements","setTitle","firstChild","text","title","alt","createTextNode","func","args","wait","apply","imageFactory","obj","callback","called","sources","srcset","sizes","altText","url","img","imagePrototype","cloneNode","getItemProperty","draggable","callbackWrapper","picturePrototype","sourcePrototype","src","elementPrototype","iteratePreloadRange","limit","min","loadElement","proxyListener","unloadSlide","slidePrototype","width","reload","children","clientWidth","slideHeight","len","parseInt","getAttribute","getNestedProperty","property","str","singleQuoteProp","doubleQuoteProp","arrayIndex","dotProp","getDataProperty","key","dataset","_","b","toUpperCase","toLowerCase","ignore","handleOpen","openHandler","galleryPrototype","fullscreen","getFullScreenElement","fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement","requestFullScreen","requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen","exitFullScreen","exitFullscreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen","indicatorContainer","activeIndicatorClass","thumbnailProperty","thumbnailIndicators","createIndicator","thumbnailUrl","thumbnail","indicator","indicatorPrototype","backgroundImage","addIndicator","indicators","setActiveIndicator","activeIndicator","videoContentClass","videoLoadingClass","videoPlayingClass","videoIframeClass","videoCoverClass","videoPlayClass","videoPlaysInline","videoPreloadProperty","videoPosterProperty","activeVideo","videoFactory","videoInterface","hasGalleryControls","isLoading","videoContainerNode","videoContainer","errorArgs","video","coverElement","playElement","posterUrl","playControls","preload","href","seeking","controls","postMessage","vimeoVideoIdProperty","vimeoPlayerUrl","vimeoPlayerIdPrefix","vimeoClickToPlay","textFactory","VimeoPlayer","videoId","playerId","clickToPlay","listeners","counter","loadAPI","scriptTag","apiUrl","scriptTags","playOnReady","insertBefore","readyState","onReady","ready","player","addEvent","hasPlayed","onPlaying","onPause","playStatus","playing","insertIframe","iframe","id","replaceChild","navigator","platform","api","$f","youTubeVideoIdProperty","youTubePlayerVars","wmode","youTubeClickToPlay","YouTubePlayer","playerVars","onYouTubeIframeAPIReady","onStateChange","pauseTimeout","data","YT","PlayerState","PLAYING","UNSTARTED","PAUSED","ENDED","onError","error","playVideo","Player","events","pauseVideo"],"mappings":"CAeC,wBAUC,SAASA,EAAOC,EAAMC,GACpB,IAAIC,EACJ,IAAKA,KAAQD,EACPE,OAAOC,UAAUC,eAAeC,KAAKL,EAAMC,KAC7CF,EAAKE,GAAQD,EAAKC,IAGtB,OAAOF,EAQT,SAASO,EAAOC,GACd,IAAKC,MAAQA,KAAKC,OAASH,EAAOH,UAAUM,KAG1C,OAAO,IAAIH,EAAOC,GAGpB,GADAC,KAAKE,OAAS,EACVH,EAIF,GAHqB,iBAAVA,IACTA,EAAQC,KAAKC,KAAKF,IAEhBA,EAAMI,UAAYJ,I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