You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
8.2 KiB
1 lines
8.2 KiB
{"version":3,"file":"lightbox.min.js","sources":["../../src/js/lightbox.js"],"names":["$","jQuery","LightboxOptions","this","alwaysShowNavOnTouchDevices","fadeDuration","fitImagesInViewport","positionFromTop","resizeDuration","showImageNumberLabel","wrapAround","prototype","albumLabel","curImageNum","albumSize","Lightbox","options","album","currentImageIndex","init","enable","build","self","on","event","start","currentTarget","appendTo","$lightbox","$overlay","$outerContainer","find","$container","containerTopPadding","parseInt","css","containerRightPadding","containerBottomPadding","containerLeftPadding","hide","end","target","attr","changeImage","length","$link","addToAlbum","push","link","title","$window","window","proxy","sizeOverlay","visibility","$links","imageNumber","dataLightboxValue","prop","i","j","top","scrollTop","left","scrollLeft","fadeIn","disableKeyboardNav","$image","addClass","preloader","Image","onload","$preloader","imageHeight","imageWidth","maxImageHeight","maxImageWidth","windowHeight","windowWidth","width","height","maxWidth","maxHeight","sizeContainer","src","document","postResize","newWidth","newHeight","showImage","oldWidth","outerWidth","oldHeight","outerHeight","animate","stop","updateNav","updateDetails","preloadNeighboringImages","enableKeyboardNav","alwaysShowNav","createEvent","e","show","html","undefined","open","location","href","labelText","text","removeClass","preloadNext","preloadPrev","keyboardAction","off","KEYCODE_ESC","KEYCODE_LEFTARROW","KEYCODE_RIGHTARROW","keycode","keyCode","key","String","fromCharCode","toLowerCase","match","fadeOut","call"],"mappings":"CAYA,WAEE,GAAIA,GAAIC,OAEJC,EAAkB,WACpB,QAASA,KACPC,KAAKC,6BAA8B,EACnCD,KAAKE,aAA8B,IACnCF,KAAKG,qBAA8B,EAGnCH,KAAKI,gBAA8B,GACnCJ,KAAKK,eAA8B,IACnCL,KAAKM,sBAA8B,EACnCN,KAAKO,YAA8B,EAQrC,MAJAR,GAAgBS,UAAUC,WAAa,SAASC,EAAaC,GAC3D,MAAO,SAAWD,EAAc,OAASC,GAGpCZ,KAILa,EAAW,WACb,QAASA,G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