!function(){"use strict";function e(n){return"undefined"==typeof this||object.getprototypeof(this)!==e.prototype?new e(n):(o=this,o.version="3.3.4",o.tools=new e,o.issupported()?(o.tools.extend(o.defaults,n||{}),o.defaults.container=t(o.defaults),o.store={elements:{},containers:[]},o.sequences={},o.history=[],o.uid=0,o.initialized=!1):"undefined"!=typeof console&&null!==console,o)}function t(e){if(e&&e.container){if("string"==typeof e.container)return window.document.documentelement.queryselector(e.container);if(o.tools.isnode(e.container))return e.container}return o.defaults.container}function n(e,t){return"string"==typeof e?array.prototype.slice.call(t.queryselectorall(e)):o.tools.isnode(e)?[e]:o.tools.isnodelist(e)?array.prototype.slice.call(e):[]}function i(){return++o.uid}function o(e,t,n){t.container&&(t.container=n),e.config?e.config=o.tools.extendclone(e.config,t):e.config=o.tools.extendclone(o.defaults,t),"top"===e.config.origin||"bottom"===e.config.origin?e.config.axis="y":e.config.axis="x"}function r(e){var t=window.getcomputedstyle(e.domel);e.styles||(e.styles={transition:{},transform:{},computed:{}},e.styles.inline=e.domel.getattribute("style")||"",e.styles.inline+="; visibility: visible; ",e.styles.computed.opacity=t.opacity,t.transition&&"all 0s ease 0s"!==t.transition?e.styles.computed.transition=t.transition+", ":e.styles.computed.transition=""),e.styles.transition.instant=s(e,0),e.styles.transition.delayed=s(e,e.config.delay),e.styles.transform.initial=" -webkit-transform:",e.styles.transform.target=" -webkit-transform:",a(e),e.styles.transform.initial+="transform:",e.styles.transform.target+="transform:",a(e)}function s(e,t){var n=e.config;return"-webkit-transition: "+e.styles.computed.transition+"-webkit-transform "+n.duration/1e3+"s "+n.easing+" "+t/1e3+"s, opacity "+n.duration/1e3+"s "+n.easing+" "+t/1e3+"s; transition: "+e.styles.computed.transition+"transform "+n.duration/1e3+"s "+n.easing+" "+t/1e3+"s, opacity "+n.duration/1e3+"s "+n.easing+" "+t/1e3+"s; "}function a(e){var t,n=e.config,i=e.styles.transform;t="top"===n.origin||"left"===n.origin?/^-/.test(n.distance)?n.distance.substr(1):"-"+n.distance:n.distance,parseint(n.distance)&&(i.initial+=" translate"+n.axis+"("+t+")",i.target+=" translate"+n.axis+"(0)"),n.scale&&(i.initial+=" scale("+n.scale+")",i.target+=" scale(1)"),n.rotate.x&&(i.initial+=" rotatex("+n.rotate.x+"deg)",i.target+=" rotatex(0)"),n.rotate.y&&(i.initial+=" rotatey("+n.rotate.y+"deg)",i.target+=" rotatey(0)"),n.rotate.z&&(i.initial+=" rotatez("+n.rotate.z+"deg)",i.target+=" rotatez(0)"),i.initial+="; opacity: "+n.opacity+";",i.target+="; opacity: "+e.styles.computed.opacity+";"}function l(e){var t=e.config.container;t&&o.store.containers.indexof(t)===-1&&o.store.containers.push(e.config.container),o.store.elements[e.id]=e}function c(e,t,n){var i={target:e,config:t,interval:n};o.history.push(i)}function f(){if(o.issupported()){y();for(var e=0;em&&n>p&&y