PageSourceSearch

https://thedildohub.com/cdn/shop/t/49/assets/flickity-fade.aio.min.js?v=36567140397794500311756154398

js thedildohub.com collected 2026-09-28 06:49:02 UTC 3,059 bytes, 5 lines download raw bytes

1/*
2Generated time: August 25, 2025 20:39
3This file was created by the app developer. Feel free to contact the original developer with any questions. It was minified (compressed) by AVADA. AVADA do NOT own this script.
4*/
5((e,t)=>{t(e.Flickity,e.fizzyUIUtils)})(window,function(e,s){var t=e.Slide,a=t.prototype.updateTarget,t=(t.prototype.updateTarget=function(){var i,s;a.apply(this,arguments),this.parent.options.fade&&(i=this.target-this.x,s=this.cells[0].x,this.cells.forEach(function(e){var t=e.x-s-i;e.renderPosition(t)}))},e.prototype),i=(e.createMethods.push("_createFade"),t._createFade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)},t.updateSlides),n=(t.updateSlides=function(){i.apply(this,arguments),this.options.fade},t.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},t.onSettleFade=function(){delete this.didDragEnd,this.options.fade&&this.slides[this.fadeIndex]},t.onDragEndFade=function(){this.didDragEnd=!0},t.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},t.onDeactivateFade=function(){this.options.fade&&this.element.classList.remove("is-fade")},t.positionSlider),d=(t.positionSlider=function(){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):n.apply(this,arguments)},t.positionSliderAtSelected),h=(t.positionSliderAtSelected=function(){this.options.fade&&this.setTranslateX(0),d.apply(this,arguments)},t.fadeSlides=function(){var e,t,i;this.slides.length<2||(e=this.getFadeIndexes(),t=this.slides[e.a],i=this.slides[e.b],i=this.wrapDifference(t.target,i.target),t=this.wrapDifference(t.target,-this.x),t/=i,i=e.a,this.isDragging&&(i=.5<t?e.a:e.b),null!=this.fadeHideIndex&&this.fadeHideIndex!=i&&this.fadeHideIndex!=e.a&&(this.fadeHideIndex,e.b),this.fadeHideIndex=i)},t.getFadeIndexes=function(){return this.isDragging||this.didDragEnd?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},t.getFadeDragWrapIndexes=function(){var e=this.slides.map(function(e,t){return this.getSlideDistance(-this.x,t)},this),t=e.map(function(e){return Math.abs(e)}),i=Math.min.apply(Math,t),t=t.indexOf(i),i=e[t],e=this.slides.length;return{a:t,b:s.modulo(t+(0<=i?1:-1),e)}},t.getFadeDragLimitIndexes=function(){for(var e=0,t=0;t<this.slides.length-1;t++){var i=this.slides[t];if(-this.x<i.target)break;e=t}return{a:e,b:e+1}},t.wrapDifference=function(e,t){var i,t=t-e;return t=this.options.wrapAround&&(e=t+this.slideableWidth,i=t-this.slideableWidth,Math.abs(e)<Math.abs(t)&&(t=e),Math.abs(i)<Math.abs(t))?i:t},t._getWrapShiftCells),o=(t._getWrapShiftCells=function(){this.options.fade||h.apply(this,arguments)},t.shiftWrapCells);t.shiftWrapCells=function(){this.options.fade||o.apply(this,arguments)}});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.