• February 2019 (1)
  • Get In the Know
    (c.css("left",c.data("stellar-startingLeft")),c.css("top",c.data("stellar-startingTop"))):(c.data("stellar-startingLeft",c.css("left")),c.data("stellar-startingTop",c.css("top"))),s=c.position().left,o=c.position().top,n="auto"===c.css("margin-left")?0:parseInt(c.css("margin-left"),10),r="auto"===c.css("margin-top")?0:parseInt(c.css("margin-top"),10),l=c.offset().left-n,f=c.offset().top-r,c.parents().each(function(){var t=m(this);if(!0===t.data("stellar-offset-parent"))return h=d,p=u,a=t,!1;d+=t.position().left,u+=t.position().top}),e=c.data("stellar-horizontal-offset")!==v?c.data("stellar-horizontal-offset"):a!==v&&a.data("stellar-horizontal-offset")!==v?a.data("stellar-horizontal-offset"):g.horizontalOffset,i=c.data("stellar-vertical-offset")!==v?c.data("stellar-vertical-offset"):a!==v&&a.data("stellar-vertical-offset")!==v?a.data("stellar-vertical-offset"):g.verticalOffset,g.particles.push({$element:c,$offsetParent:a,isFixed:"fixed"===c.css("position"),horizontalOffset:e,verticalOffset:i,startingPositionLeft:s,startingPositionTop:o,startingOffsetLeft:l,startingOffsetTop:f,parentOffsetLeft:h,parentOffsetTop:p,stellarRatio:c.data("stellar-ratio")!==v?c.data("stellar-ratio"):1,width:c.outerWidth(!0),height:c.outerHeight(!0),isHidden:!1})})},_findBackgrounds:function(){var t,d=this,u=this._getScrollLeft(),g=this._getScrollTop();this.backgrounds=[],this.options.parallaxBackgrounds&&(t=this.$element.find("[data-stellar-background-ratio]"),this.$element.data("stellar-background-ratio")&&(t=t.add(this.$element)),t.each(function(){var t,e,i,s,o,n,r,a=m(this),l=_(a),f=0,c=0,h=0,p=0;if(a.data("stellar-backgroundIsActive")){if(a.data("stellar-backgroundIsActive")!==this)return}else a.data("stellar-backgroundIsActive",this);a.data("stellar-backgroundStartingLeft")?L(a,a.data("stellar-backgroundStartingLeft"),a.data("stellar-backgroundStartingTop")):(a.data("stellar-backgroundStartingLeft",l[0]),a.data("stellar-backgroundStartingTop",l[1])),i="auto"===a.css("margin-left")?0:parseInt(a.css("margin-left"),10),s="auto"===a.css("margin-top")?0:parseInt(a.css("margin-top"),10),o=a.offset().left-i-u,n=a.offset().top-s-g,a.parents().each(function(){var t=m(this);if(!0===t.data("stellar-offset-parent"))return f=h,c=p,r=t,!1;h+=t.position().left,p+=t.position().top}),t=a.data("stellar-horizontal-offset")!==v?a.data("stellar-horizontal-offset"):r!==v&&r.data("stellar-horizontal-offset")!==v?r.data("stellar-horizontal-offset"):d.horizontalOffset,e=a.data("stellar-vertical-offset")!==v?a.data("stellar-vertical-offset"):r!==v&&r.data("stellar-vertical-offset")!==v?r.data("stellar-vertical-offset"):d.verticalOffset,d.backgrounds.push({$element:a,$offsetParent:r,isFixed:"fixed"===a.css("background-attachment"),horizontalOffset:t,verticalOffset:e,startingValueLeft:l[0],startingValueTop:l[1],startingBackgroundPositionLeft:isNaN(parseInt(l[0],10))?0:parseInt(l[0],10),startingBackgroundPositionTop:isNaN(parseInt(l[1],10))?0:parseInt(l[1],10),startingPositionLeft:a.position().left,startingPositionTop:a.position().top,startingOffsetLeft:o,startingOffsetTop:n,parentOffsetLeft:f,parentOffsetTop:c,stellarRatio:a.data("stellar-background-ratio")===v?1:a.data("stellar-background-ratio")})}))},_reset:function(){var t,e,i,s,o;for(o=this.particles.length-1;0<=o;o--)e=(t=this.particles[o]).$element.data("stellar-startingLeft"),i=t.$element.data("stellar-startingTop"),this._setPosition(t.$element,e,e,i,i),this.options.showElement(t.$element),t.$element.data("stellar-startingLeft",null).data("stellar-elementIsActive",null).data("stellar-backgroundIsActive",null);for(o=this.backgrounds.length-1;0<=o;o--)(s=this.backgrounds[o]).$element.data("stellar-backgroundStartingLeft",null).data("stellar-backgroundStartingTop",null),L(s.$element,s.startingValueLeft,s.startingValueTop)},destroy:function(){this._reset(),this.$scrollElement.unbind("resize."+this.name).unbind("scroll."+this.name),this._animationLoop=m.noop,m(o).unbind("load."+this.name).unbind("resize. !window.jQuery,k=d(window);e.prototype={constructor:e,init:function(){var e=navigator.appVersion;g.isLowIE=g.isIE8=document.all&&!document.addEventListener,g.isAndroid=/android/gi.test(e),g.isIOS=/iphone|ipad|ipod/gi.test(e),g.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),g.probablyMobile=g.isAndroid||g.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),v=d(document),g.popupsCache={}},open:function(e){var t;if(!1===e.isObj){g.items=e.items.toArray(),g.index=0;var i,n=e.items;for(t=0;tSeptember 2018 (1)

    this.wrap.removeClass('mfp-image-loaded'), setTimeout(function () {