(57,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/infinitescroll.js?ver=5.8','js','','(function(e){if(typeof define===\"function\"&&define.amd){define([\"jquery\"],e)}else{e(jQuery)}})(function(e,t){\"use strict\";e.infinitescroll=function(n,r,i){this.element=e(i);if(!this._create(n,r)){this.failed=!0}};e.infinitescroll.defaults={loading:{finished:t,finishedMsg:\"<em>Congratulations, you\'ve reached the end of the internet.</em>\",img:\"data:image/gif;base64,[encoded data, 10432 characters]\",msg:null,msgText:\"<em>Loading the next set of posts...</em>\",selector:null,speed:\"fast\",start:t},state:{isDuringAjax:!1,isInvalidPage:!1,isDestroyed:!1,isDone:!1,isPaused:!1,isBeyondMaxPage:!1,currPage:1},debug:!1,behavior:t,binder:e(window),nextSelector:\"div.navigation a:first\",navSelector:\"div.navigation\",contentSelector:null,extraScrollPx:150,itemSelector:\"div.post\",animate:!1,pathParse:t,dataType:\"html\",appendCallback:!0,bufferPx:40,errorCallback:function(){},infid:0,pixelsFromNavToBottom:t,path:t,prefill:!1,maxPage:t};e.infinitescroll.prototype={_binding:function(n){var r=this,i=r.options;i.v=\"2.0b2.120520\";if(!!i.behavior&&this[\"_binding_\"+i.behavior]!==t){this[\"_binding_\"+i.behavior].call(this);return}if(n!==\"bind\"&&n!==\"unbind\"){this._debug(\"Binding value  \"+n+\" not valid\");return!1}if(n===\"unbind\"){this.options.binder.unbind(\"smartscroll.infscr.\"+r.options.infid)}else{this.options.binder[n](\"smartscroll.infscr.\"+r.options.infid,function(){r.scroll()})}this._debug(\"Binding\",n)},_create:function(r,i){var s=e.extend(!0,{},e.infinitescroll.defaults,r);this.options=s;var o=e(window);var u=this;if(!u._validate(r)){return!1}var a=e(s.nextSelector).attr(\"href\");if(!a){this._debug(\"Navigation selector not found\");return!1}s.path=s.path||this._determinepath(a);s.contentSelector=s.contentSelector||this.element;s.loading.selector=s.loading.selector||s.contentSelector;s.loading.msg=s.loading.msg||e(\'<div id=\"infscr-loading\"><img alt=\"Loading...\" src=\"\'+s.loading.img+\'\" /><div>\'+s.loading.msgText+\"</div></div>\");(new Image).src=s.loading.img;if(s.pixelsFromNavToBottom===t){s.pixelsFromNavToBottom=e(document).height()-e(s.navSelector).offset().top;this._debug(\"pixelsFromNavToBottom: \"+s.pixelsFromNavToBottom)}var f=this;s.loading.start=s.loading.start||function(){e(s.navSelector).hide();s.loading.msg.appendTo(s.loading.selector).show(s.loading.speed,e.proxy(function(){this.beginAjax(s)},f))};s.loading.finished=s.loading.finished||function(){if(!s.state.isBeyondMaxPage)s.loading.msg.fadeOut(s.loading.speed)};s.callback=function(n,r,u){if(!!s.behavior&&n[\"_callback_\"+s.behavior]!==t){n[\"_callback_\"+s.behavior].call(e(s.contentSelector)[0],r,u)}if(i){i.call(e(s.contentSelector)[0],r,s,u)}if(s.prefill){o.bind(\"resize.infinite-scroll\",n._prefill)}};if(r.debug){if(Function.prototype.bind&&(typeof console===\"object\"||typeof console===\"function\")&&typeof console.log===\"object\"){[\"log\",\"info\",\"warn\",\"error\",\"assert\",\"dir\",\"clear\",\"profile\",\"profileEnd\"].forEach(function(e){console[e]=this.call(console[e],console)},Function.prototype.bind)}}this._setup();if(s.prefill){this._prefill()}return!0},_prefill:function(){function i(){return e(n.options.contentSelector).height()<=r.height()}var n=this;var r=e(window);this._prefill=function(){if(i()){n.scroll()}r.bind(\"resize.infinite-scroll\",function(){if(i()){r.unbind(\"resize.infinite-scroll\");n.scroll()}})};this._prefill()},_debug:function(){if(!0!==this.options.debug){return}if(typeof console!==\"undefined\"&&typeof console.log===\"function\"){if(Array.prototype.slice.call(arguments).length===1&&typeof Array.prototype.slice.call(arguments)[0]===\"string\"){console.log(Array.prototype.slice.call(arguments).toString())}else{console.log(Array.prototype.slice.call(arguments))}}else if(!Function.prototype.bind&&typeof console!==\"undefined\"&&typeof console.log===\"object\"){Function.prototype.call.call(console.log,console,Array.prototype.slice.call(arguments))}},_determinepath:function(n){var r=this.options;if(!!r.behavior&&this[\"_determinepath_\"+r.behavior]!==t){return this[\"_determinepath_\"+r.behavior].call(this,n)}if(!!r.pathParse){this._debug(\"pathParse manual\");return r.pathParse(n,this.options.state.currPage+1)}else if(n.match(/^(.*?)\\b2\\b(.*?$)/)){n=n.match(/^(.*?)\\b2\\b(.*?$)/).slice(1)}else if(n.match(/^(.*?)2(.*?$)/)){if(n.match(/^(.*?page=)2(\\/.*|$)/)){n=n.match(/^(.*?page=)2(\\/.*|$)/).slice(1);return n}n=n.match(/^(.*?)2(.*?$)/).slice(1)}else{if(n.match(/^(.*?page=)1(\\/.*|$)/)){n=n.match(/^(.*?page=)1(\\/.*|$)/).slice(1);return n}else{this._debug(\"Sorry, we couldn\'t parse your Next (Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error: yell, scream, and kindly ask for help at infinite-scroll.com.\");r.state.isInvalidPage=!0}}this._debug(\"determinePath\",n);return n},_error:function(n){var r=this.options;if(!!r.behavior&&this[\"_error_\"+r.behavior]!==t){this[\"_error_\"+r.behavior].call(this,n);return}if(n!==\"destroy\"&&n!==\"end\"){n=\"unknown\"}this._debug(\"Error\",n);if(n===\"end\"||r.state.isBeyondMaxPage){this._showdonemsg()}r.state.isDone=!0;r.state.currPage=1;r.state.isPaused=!1;r.state.isBeyondMaxPage=!1;this._binding(\"unbind\")},_loadcallback:function(r,i,s){var o=this.options,u=this.options.callback,a=o.state.isDone?\"done\":!o.appendCallback?\"no-append\":\"append\",f;if(!!o.behavior&&this[\"_loadcallback_\"+o.behavior]!==t){this[\"_loadcallback_\"+o.behavior].call(this,r,i);return}switch(a){case\"done\":this._showdonemsg();return!1;case\"no-append\":if(o.dataType===\"html\"){i=\"<div>\"+i+\"</div>\";i=e(i).find(o.itemSelector)}if(i.length===0){return this._error(\"end\")}break;case\"append\":var l=r.children();if(l.length===0){return this._error(\"end\")}f=document.createDocumentFragment();while(r[0].firstChild){f.appendChild(r[0].firstChild)}this._debug(\"contentSelector\",e(o.contentSelector)[0]);e(o.contentSelector)[0].appendChild(f);i=l.get();break}o.loading.finished.call(e(o.contentSelector)[0],o);if(o.animate){var c=e(window).scrollTop()+e(o.loading.msg).height()+o.extraScrollPx+\"px\";e(\"html,body\").animate({scrollTop:c},800,function(){o.state.isDuringAjax=!1})}if(!o.animate){o.state.isDuringAjax=!1}u(this,i,s);if(o.prefill){this._prefill()}},_nearbottom:function(){var r=this.options,i=0+e(document).height()-r.binder.scrollTop()-e(window).height();if(!!r.behavior&&this[\"_nearbottom_\"+r.behavior]!==t){return this[\"_nearbottom_\"+r.behavior].call(this)}this._debug(\"math:\",i,r.pixelsFromNavToBottom);return i-r.bufferPx<r.pixelsFromNavToBottom},_pausing:function(n){var r=this.options;if(!!r.behavior&&this[\"_pausing_\"+r.behavior]!==t){this[\"_pausing_\"+r.behavior].call(this,n);return}if(n!==\"pause\"&&n!==\"resume\"&&n!==null){this._debug(\"Invalid argument. Toggling pause value instead\")}n=n&&(n===\"pause\"||n===\"resume\")?n:\"toggle\";switch(n){case\"pause\":r.state.isPaused=!0;break;case\"resume\":r.state.isPaused=!1;break;case\"toggle\":r.state.isPaused=!r.state.isPaused;break}this._debug(\"Paused\",r.state.isPaused);return!1},_setup:function(){var n=this.options;if(!!n.behavior&&this[\"_setup_\"+n.behavior]!==t){this[\"_setup_\"+n.behavior].call(this);return}this._binding(\"bind\");return!1},_showdonemsg:function(){var r=this.options;if(!!r.behavior&&this[\"_showdonemsg_\"+r.behavior]!==t){this[\"_showdonemsg_\"+r.behavior].call(this);return}r.loading.msg.find(\"img\").hide().parent().find(\"div\").html(r.loading.finishedMsg).animate({opacity:1},2e3,function(){e(this).parent().fadeOut(r.loading.speed)});r.errorCallback.call(e(r.contentSelector)[0],\"done\")},_validate:function(n){for(var r in n){if(r.indexOf&&r.indexOf(\"Selector\")>-1&&e(n[r]).length===0){this._debug(\"Your \"+r+\" found no elements.\");return!1}}return!0},bind:function(){this._binding(\"bind\")},destroy:function(){this.options.state.isDestroyed=!0;this.options.loading.finished();return this._error(\"destroy\")},pause:function(){this._pausing(\"pause\")},resume:function(){this._pausing(\"resume\")},beginAjax:function(r){var i=this,s=r.path,o,u,a,f;r.state.currPage++;if(r.maxPage!==t&&r.state.currPage>r.maxPage){r.state.isBeyondMaxPage=!0;this.destroy();return}o=e(r.contentSelector).is(\"table, tbody\")?e(\"<tbody/>\"):e(\"<div/>\");u=typeof s===\"function\"?s(r.state.currPage):s.join(r.state.currPage);i._debug(\"heading into ajax\",u);a=r.dataType===\"html\"||r.dataType===\"json\"?r.dataType:\"html+callback\";if(r.appendCallback&&r.dataType===\"html\"){a+=\"+callback\"}switch(a){case\"html+callback\":i._debug(\"Using HTML via .load() method\");o.load(u+\" \"+r.itemSelector,t,function(t){i._loadcallback(o,t,u)});break;case\"html\":i._debug(\"Using \"+a.toUpperCase()+\" via $.ajax() method\");e.ajax({url:u,dataType:r.dataType,complete:function(t,n){f=typeof t.isResolved!==\"undefined\"?t.isResolved():n===\"success\"||n===\"notmodified\";if(f){i._loadcallback(o,t.responseText,u)}else{i._error(\"end\")}}});break;case\"json\":i._debug(\"Using \"+a.toUpperCase()+\" via $.ajax() method\");e.ajax({dataType:\"json\",type:\"GET\",url:u,success:function(e,n,s){f=typeof s.isResolved!==\"undefined\"?s.isResolved():n===\"success\"||n===\"notmodified\";if(r.appendCallback){if(r.template!==t){var a=r.template(e);o.append(a);if(f){i._loadcallback(o,a)}else{i._error(\"end\")}}else{i._debug(\"template must be defined.\");i._error(\"end\")}}else{if(f){i._loadcallback(o,e,u)}else{i._error(\"end\")}}},error:function(){i._debug(\"JSON ajax request failed.\");i._error(\"end\")}});break}},retrieve:function(r){r=r||null;var i=this,s=i.options;if(!!s.behavior&&this[\"retrieve_\"+s.behavior]!==t){this[\"retrieve_\"+s.behavior].call(this,r);return}if(s.state.isDestroyed){this._debug(\"Instance is destroyed\");return!1}s.state.isDuringAjax=!0;s.loading.start.call(e(s.contentSelector)[0],s)},scroll:function(){var n=this.options,r=n.state;if(!!n.behavior&&this[\"scroll_\"+n.behavior]!==t){this[\"scroll_\"+n.behavior].call(this);return}if(r.isDuringAjax||r.isInvalidPage||r.isDone||r.isDestroyed||r.isPaused){return}if(!this._nearbottom()){return}this.retrieve()},toggle:function(){this._pausing()},unbind:function(){this._binding(\"unbind\")},update:function(n){if(e.isPlainObject(n)){this.options=e.extend(!0,this.options,n)}}};e.fn.infinitescroll=function(n,r){var i=typeof n;switch(i){case\"string\":var s=Array.prototype.slice.call(arguments,1);this.each(function(){var t=e.data(this,\"infinitescroll\");if(!t){return!1}if(!e.isFunction(t[n])||n.charAt(0)===\"_\"){return!1}t[n].apply(t,s)});break;case\"object\":this.each(function(){var t=e.data(this,\"infinitescroll\");if(t){t.update(n)}else{t=new e.infinitescroll(n,r,this);if(!t.failed){e.data(this,\"infinitescroll\",t)}}});break}return this};var n=e.event,r;n.special.smartscroll={setup:function(){e(this).bind(\"scroll\",n.special.smartscroll.handler)},teardown:function(){e(this).unbind(\"scroll\",n.special.smartscroll.handler)},handler:function(t,n){var i=this,s=arguments;t.type=\"smartscroll\";if(r){clearTimeout(r)}r=setTimeout(function(){e(i).trigger(\"smartscroll\",s)},n===\"execAsap\"?0:100)}};e.fn.smartscroll=function(e){return e?this.bind(\"smartscroll\",e):this.trigger(\"smartscroll\",[\"execAsap\"])}})','ce8323e27bba04dcc4e56761538386ea',1,1,'2021-08-05 17:27:21','2021-08-16 14:31:31'),(58,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/waypoints.min.js?ver=5.8','js','','(function(){var t=[].indexOf||function(t){for(var e=0,n=this.length;e<n;e++){if(e in this&&this[e]===t)return e}return-1},e=[].slice;(function(t,e){if(typeof define===\"function\"&&define.amd){return define(\"waypoints\",[\"jquery\"],function(n){return e(n,t)})}else{return e(t.jQuery,t)}})(this,function(n,r){var i,o,l,s,f,u,c,a,h,d,p,y,v,w,g,m;i=n(r);a=t.call(r,\"ontouchstart\")>=0;s={horizontal:{},vertical:{}};f=1;c={};u=\"waypoints-context-id\";p=\"resize.waypoints\";y=\"scroll.waypoints\";v=1;w=\"waypoints-waypoint-ids\";g=\"waypoint\";m=\"waypoints\";o=function(){function t(t){var e=this;this.$element=t;this.element=t[0];this.didResize=!1;this.didScroll=!1;this.id=\"context\"+f++;this.oldScroll={x:t.scrollLeft(),y:t.scrollTop()};this.waypoints={horizontal:{},vertical:{}};this.element[u]=this.id;c[this.id]=this;t.bind(y,function(){var t;if(!(e.didScroll||a)){e.didScroll=!0;t=function(){e.doScroll();return e.didScroll=!1};return r.setTimeout(t,n[m].settings.scrollThrottle)}});t.bind(p,function(){var t;if(!e.didResize){e.didResize=!0;t=function(){n[m](\"refresh\");return e.didResize=!1};return r.setTimeout(t,n[m].settings.resizeThrottle)}})}t.prototype.doScroll=function(){var t,e=this;t={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:\"right\",backward:\"left\"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:\"down\",backward:\"up\"}};if(a&&(!t.vertical.oldScroll||!t.vertical.newScroll)){n[m](\"refresh\")}n.each(t,function(t,r){var i,o,l;l=[];o=r.newScroll>r.oldScroll;i=o?r.forward:r.backward;n.each(e.waypoints[t],function(t,e){var n,i;if(r.oldScroll<(n=e.offset)&&n<=r.newScroll){return l.push(e)}else if(r.newScroll<(i=e.offset)&&i<=r.oldScroll){return l.push(e)}});l.sort(function(t,e){return t.offset-e.offset});if(!o){l.reverse()}return n.each(l,function(t,e){if(e.options.continuous||t===l.length-1){return e.trigger([i])}})});return this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}};t.prototype.refresh=function(){var t,e,r,i=this;r=n.isWindow(this.element);e=this.$element.offset();this.doScroll();t={horizontal:{contextOffset:r?0:e.left,contextScroll:r?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:\"right\",backward:\"left\",offsetProp:\"left\"},vertical:{contextOffset:r?0:e.top,contextScroll:r?0:this.oldScroll.y,contextDimension:r?n[m](\"viewportHeight\"):this.$element.height(),oldScroll:this.oldScroll.y,forward:\"down\",backward:\"up\",offsetProp:\"top\"}};return n.each(t,function(t,e){return n.each(i.waypoints[t],function(t,r){var i,o,l,s,f;i=r.options.offset;l=r.offset;o=n.isWindow(r.element)?0:r.$element.offset()[e.offsetProp];if(n.isFunction(i)){i=i.apply(r.element)}else if(typeof i===\"string\"){i=parseFloat(i);if(r.options.offset.indexOf(\"%\")>-1){i=Math.ceil(e.contextDimension*i/100)}}r.offset=o-e.contextOffset+e.contextScroll-i;if(r.options.onlyOnScroll&&l!=null||!r.enabled){return}if(l!==null&&l<(s=e.oldScroll)&&s<=r.offset){return r.trigger([e.backward])}else if(l!==null&&l>(f=e.oldScroll)&&f>=r.offset){return r.trigger([e.forward])}else if(l===null&&e.oldScroll>=r.offset){return r.trigger([e.forward])}})})};t.prototype.checkEmpty=function(){if(n.isEmptyObject(this.waypoints.horizontal)&&n.isEmptyObject(this.waypoints.vertical)){this.$element.unbind([p,y].join(\" \"));return delete c[this.id]}};return t}();l=function(){function t(t,e,r){var i,o;r=n.extend({},n.fn[g].defaults,r);if(r.offset===\"bottom-in-view\"){r.offset=function(){var t;t=n[m](\"viewportHeight\");if(!n.isWindow(e.element)){t=e.$element.height()}return t-n(this).outerHeight()}}this.$element=t;this.element=t[0];this.axis=r.horizontal?\"horizontal\":\"vertical\";this.callback=r.handler;this.context=e;this.enabled=r.enabled;this.id=\"waypoints\"+v++;this.offset=null;this.options=r;e.waypoints[this.axis][this.id]=this;s[this.axis][this.id]=this;i=(o=this.element[w])!=null?o:[];i.push(this.id);this.element[w]=i}t.prototype.trigger=function(t){if(!this.enabled){return}if(this.callback!=null){this.callback.apply(this.element,t)}if(this.options.triggerOnce){return this.destroy()}};t.prototype.disable=function(){return this.enabled=!1};t.prototype.enable=function(){this.context.refresh();return this.enabled=!0};t.prototype.destroy=function(){delete s[this.axis][this.id];delete this.context.waypoints[this.axis][this.id];return this.context.checkEmpty()};t.getWaypointsByElement=function(t){var e,r;r=t[w];if(!r){return[]}e=n.extend({},s.horizontal,s.vertical);return n.map(r,function(t){return e[t]})};return t}();d={init:function(t,e){var r;if(e==null){e={}}if((r=e.handler)==null){e.handler=t}this.each(function(){var t,r,i,s;t=n(this);i=(s=e.context)!=null?s:n.fn[g].defaults.context;if(!n.isWindow(i)){i=t.closest(i)}i=n(i);r=c[i[0][u]];if(!r){r=new o(i)}return new l(t,r,e)});n[m](\"refresh\");return this},disable:function(){return d._invoke.call(this,\"disable\")},enable:function(){return d._invoke.call(this,\"enable\")},destroy:function(){return d._invoke.call(this,\"destroy\")},prev:function(t,e){return d._traverse.call(this,t,e,function(t,e,n){if(e>0){return t.push(n[e-1])}})},next:function(t,e){return d._traverse.call(this,t,e,function(t,e,n){if(e<n.length-1){return t.push(n[e+1])}})},_traverse:function(t,e,i){var o,l;if(t==null){t=\"vertical\"}if(e==null){e=r}l=h.aggregate(e);o=[];this.each(function(){var e;e=n.inArray(this,l[t]);return i(o,e,l[t])});return this.pushStack(o)},_invoke:function(t){this.each(function(){var e;e=l.getWaypointsByElement(this);return n.each(e,function(e,n){n[t]();return!0})});return this}};n.fn[g]=function(){var t,r;r=arguments[0],t=2<=arguments.length?e.call(arguments,1):[];if(d[r]){return d[r].apply(this,t)}else if(n.isFunction(r)){return d.init.apply(this,arguments)}else if(n.isPlainObject(r)){return d.init.apply(this,[null,r])}else if(!r){return n.error(\"jQuery Waypoints needs a callback function or handler option.\")}else{return n.error(\"The \"+r+\" method does not exist in jQuery Waypoints.\")}};n.fn[g].defaults={context:r,continuous:!0,enabled:!0,horizontal:!1,offset:0,triggerOnce:!1};h={refresh:function(){return n.each(c,function(t,e){return e.refresh()})},viewportHeight:function(){var t;return(t=r.innerHeight)!=null?t:i.height()},aggregate:function(t){var e,r,i;e=s;if(t){e=(i=c[n(t)[0][u]])!=null?i.waypoints:void 0}if(!e){return[]}r={horizontal:[],vertical:[]};n.each(r,function(t,i){n.each(e[t],function(t,e){return i.push(e)});i.sort(function(t,e){return t.offset-e.offset});r[t]=n.map(i,function(t){return t.element});return r[t]=n.unique(r[t])});return r},above:function(t){if(t==null){t=r}return h._filter(t,\"vertical\",function(t,e){return e.offset<=t.oldScroll.y})},below:function(t){if(t==null){t=r}return h._filter(t,\"vertical\",function(t,e){return e.offset>t.oldScroll.y})},left:function(t){if(t==null){t=r}return h._filter(t,\"horizontal\",function(t,e){return e.offset<=t.oldScroll.x})},right:function(t){if(t==null){t=r}return h._filter(t,\"horizontal\",function(t,e){return e.offset>t.oldScroll.x})},enable:function(){return h._invoke(\"enable\")},disable:function(){return h._invoke(\"disable\")},destroy:function(){return h._invoke(\"destroy\")},extendFn:function(t,e){return d[t]=e},_invoke:function(t){var e;e=n.extend({},s.vertical,s.horizontal);return n.each(e,function(e,n){n[t]();return!0})},_filter:function(t,e,r){var i,o;i=c[n(t)[0][u]];if(!i){return[]}o=[];n.each(i.waypoints[e],function(t,e){if(r(i,e)){return o.push(e)}});o.sort(function(t,e){return t.offset-e.offset});return n.map(o,function(t){return t.element})}};n[m]=function(){var t,n;n=arguments[0],t=2<=arguments.length?e.call(arguments,1):[];if(h[n]){return h[n].apply(null,t)}else{return h.aggregate.call(null,n)}};n[m].settings={resizeThrottle:100,scrollThrottle:30};return i.load(function(){return n[m](\"refresh\")})})}).call(this)','75416660a96e40fd0d7dba45f535b177',1,1,'2021-08-05 17:27:22','2021-08-16 14:31:31'),(59,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/jplayer.min.js?ver=5.8','js','','(function(b,f){b.fn.jPlayer=function(a){var c=typeof a===\"string\",d=Array.prototype.slice.call(arguments,1),e=this,a=!c&&d.length?b.extend.apply(null,[!0,a].concat(d)):a;if(c&&a.charAt(0)===\"_\")return e;c?this.each(function(){var c=b.data(this,\"jPlayer\"),h=c&&b.isFunction(c[a])?c[a].apply(c,d):c;if(h!==c&&h!==f)return e=h,!1}):this.each(function(){var c=b.data(this,\"jPlayer\");c?c.option(a||{}):b.data(this,\"jPlayer\",new b.jPlayer(a,this))});return e};b.jPlayer=function(a,c){if(arguments.length){this.element=b(c);this.options=b.extend(!0,{},this.options,a);var d=this;this.element.bind(\"remove.jPlayer\",function(){d.destroy()});this._init()}};b.jPlayer.emulateMethods=\"load play pause\";b.jPlayer.emulateStatus=\"src readyState networkState currentTime duration paused ended playbackRate\";b.jPlayer.emulateOptions=\"muted volume\";b.jPlayer.reservedEvent=\"ready flashreset resize repeat error warning\";b.jPlayer.event={ready:\"jPlayer_ready\",flashreset:\"jPlayer_flashreset\",resize:\"jPlayer_resize\",repeat:\"jPlayer_repeat\",click:\"jPlayer_click\",error:\"jPlayer_error\",warning:\"jPlayer_warning\",loadstart:\"jPlayer_loadstart\",progress:\"jPlayer_progress\",suspend:\"jPlayer_suspend\",abort:\"jPlayer_abort\",emptied:\"jPlayer_emptied\",stalled:\"jPlayer_stalled\",play:\"jPlayer_play\",pause:\"jPlayer_pause\",loadedmetadata:\"jPlayer_loadedmetadata\",loadeddata:\"jPlayer_loadeddata\",waiting:\"jPlayer_waiting\",playing:\"jPlayer_playing\",canplay:\"jPlayer_canplay\",canplaythrough:\"jPlayer_canplaythrough\",seeking:\"jPlayer_seeking\",seeked:\"jPlayer_seeked\",timeupdate:\"jPlayer_timeupdate\",ended:\"jPlayer_ended\",ratechange:\"jPlayer_ratechange\",durationchange:\"jPlayer_durationchange\",volumechange:\"jPlayer_volumechange\"};b.jPlayer.htmlEvent=\"loadstart,abort,emptied,stalled,loadedmetadata,loadeddata,canplay,canplaythrough,ratechange\".split(\",\");b.jPlayer.pause=function(){b.each(b.jPlayer.prototype.instances,function(a,b){b.data(\"jPlayer\").status.srcSet&&b.jPlayer(\"pause\")})};b.jPlayer.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:\":\",sepMin:\":\",sepSec:\"\"};b.jPlayer.convertTime=function(a){var c=new Date(a*1E3),d=c.getUTCHours(),a=c.getUTCMinutes(),c=c.getUTCSeconds(),d=b.jPlayer.timeFormat.padHour&&d<10?\"0\"+d:d,a=b.jPlayer.timeFormat.padMin&&a<10?\"0\"+a:a,c=b.jPlayer.timeFormat.padSec&&c<10?\"0\"+c:c;return(b.jPlayer.timeFormat.showHour?d+b.jPlayer.timeFormat.sepHour:\"\")+(b.jPlayer.timeFormat.showMin?a+b.jPlayer.timeFormat.sepMin:\"\")+(b.jPlayer.timeFormat.showSec?c+b.jPlayer.timeFormat.sepSec:\"\")};b.jPlayer.uaBrowser=function(a){var a=a.toLowerCase(),b=/(opera)(?:.*version)?[ \\/]([\\w.]+)/,d=/(msie) ([\\w.]+)/,e=/(mozilla)(?:.*? rv:([\\w.]+))?/,a=/(webkit)[ \\/]([\\w.]+)/.exec(a)||b.exec(a)||d.exec(a)||a.indexOf(\"compatible\")<0&&e.exec(a)||[];return{browser:a[1]||\"\",version:a[2]||\"0\"}};b.jPlayer.uaPlatform=function(a){var b=a.toLowerCase(),d=/(android)/,e=/(mobile)/,a=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/.exec(b)||[],b=/(ipad|playbook)/.exec(b)||!e.exec(b)&&d.exec(b)||[];a[1]&&(a[1]=a[1].replace(/\\s/g,\"_\"));return{platform:a[1]||\"\",tablet:b[1]||\"\"}};b.jPlayer.browser={};b.jPlayer.platform={};var i=b.jPlayer.uaBrowser(navigator.userAgent);if(i.browser)b.jPlayer.browser[i.browser]=!0,b.jPlayer.browser.version=i.version;i=b.jPlayer.uaPlatform(navigator.userAgent);if(i.platform)b.jPlayer.platform[i.platform]=!0,b.jPlayer.platform.mobile=!i.tablet,b.jPlayer.platform.tablet=!!i.tablet;b.jPlayer.prototype={count:0,version:{script:\"2.1.0\",needFlash:\"2.1.0\",flash:\"unknown\"},options:{swfPath:\"js\",solution:\"html, flash\",supplied:\"mp3\",preload:\"metadata\",volume:0.8,muted:!1,wmode:\"opaque\",backgroundColor:\"#000000\",cssSelectorAncestor:\"#jp_container_1\",cssSelector:{videoPlay:\".jp-video-play\",play:\".jp-play\",pause:\".jp-pause\",stop:\".jp-stop\",seekBar:\".jp-seek-bar\",playBar:\".jp-play-bar\",mute:\".jp-mute\",unmute:\".jp-unmute\",volumeBar:\".jp-volume-bar\",volumeBarValue:\".jp-volume-bar-value\",volumeMax:\".jp-volume-max\",currentTime:\".jp-current-time\",duration:\".jp-duration\",fullScreen:\".jp-full-screen\",restoreScreen:\".jp-restore-screen\",repeat:\".jp-repeat\",repeatOff:\".jp-repeat-off\",gui:\".jp-gui\",noSolution:\".jp-no-solution\"},fullScreen:!1,autohide:{restored:!1,full:!0,fadeIn:200,fadeOut:600,hold:1E3},loop:!1,repeat:function(a){a.jPlayer.options.loop?b(this).unbind(\".jPlayerRepeat\").bind(b.jPlayer.event.ended+\".jPlayer.jPlayerRepeat\",function(){b(this).jPlayer(\"play\")}):b(this).unbind(\".jPlayerRepeat\")},nativeVideoControls:{},noFullScreen:{msie:/msie [0-6]/,ipad:/ipad.*?os [0-4]/,iphone:/iphone/,ipod:/ipod/,android_pad:/android [0-3](?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,webos:/webos/},noVolume:{ipad:/ipad/,iphone:/iphone/,ipod:/ipod/,android_pad:/android(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,webos:/webos/,playbook:/playbook/},verticalVolume:!1,idPrefix:\"jp\",noConflict:\"jQuery\",emulateHtml:!1,errorAlerts:!1,warningAlerts:!1},optionsAudio:{size:{width:\"0px\",height:\"0px\",cssClass:\"\"},sizeFull:{width:\"0px\",height:\"0px\",cssClass:\"\"}},optionsVideo:{size:{width:\"480px\",height:\"270px\",cssClass:\"jp-video-270p\"},sizeFull:{width:\"100%\",height:\"100%\",cssClass:\"jp-video-full\"}},instances:{},status:{src:\"\",media:{},paused:!0,format:{},formatType:\"\",waitForPlay:!0,waitForLoad:!0,srcSet:!1,video:!1,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,currentTime:0,duration:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:!1},solution:{html:!0,flash:!0},format:{mp3:{codec:\'audio/mpeg; codecs=\"mp3\"\',flashCanPlay:!0,media:\"audio\"},m4a:{codec:\'audio/mp4; codecs=\"mp4a.40.2\"\',flashCanPlay:!0,media:\"audio\"},oga:{codec:\'audio/ogg; codecs=\"vorbis\"\',flashCanPlay:!1,media:\"audio\"},wav:{codec:\'audio/wav; codecs=\"1\"\',flashCanPlay:!1,media:\"audio\"},webma:{codec:\'audio/webm; codecs=\"vorbis\"\',flashCanPlay:!1,media:\"audio\"},fla:{codec:\"audio/x-flv\",flashCanPlay:!0,media:\"audio\"},m4v:{codec:\'video/mp4; codecs=\"avc1.42E01E, mp4a.40.2\"\',flashCanPlay:!0,media:\"video\"},ogv:{codec:\'video/ogg; codecs=\"theora, vorbis\"\',flashCanPlay:!1,media:\"video\"},webmv:{codec:\'video/webm; codecs=\"vorbis, vp8\"\',flashCanPlay:!1,media:\"video\"},flv:{codec:\"video/x-flv\",flashCanPlay:!0,media:\"video\"}},_init:function(){var a=this;this.element.empty();this.status=b.extend({},this.status);this.internal=b.extend({},this.internal);this.internal.domNode=this.element.get(0);this.formats=[];this.solutions=[];this.require={};this.htmlElement={};this.html={};this.html.audio={};this.html.video={};this.flash={};this.css={};this.css.cs={};this.css.jq={};this.ancestorJq=[];this.options.volume=this._limitValue(this.options.volume,0,1);b.each(this.options.supplied.toLowerCase().split(\",\"),function(c,d){var e=d.replace(/^\\s+|\\s+$/g,\"\");if(a.format[e]){var f=!1;b.each(a.formats,function(a,b){if(e===b)return f=!0,!1});f||a.formats.push(e)}});b.each(this.options.solution.toLowerCase().split(\",\"),function(c,d){var e=d.replace(/^\\s+|\\s+$/g,\"\");if(a.solution[e]){var f=!1;b.each(a.solutions,function(a,b){if(e===b)return f=!0,!1});f||a.solutions.push(e)}});this.internal.instance=\"jp_\"+this.count;this.instances[this.internal.instance]=this.element;this.element.attr(\"id\")||this.element.attr(\"id\",this.options.idPrefix+\"_jplayer_\"+this.count);this.internal.self=b.extend({},{id:this.element.attr(\"id\"),jq:this.element});this.internal.audio=b.extend({},{id:this.options.idPrefix+\"_audio_\"+this.count,jq:f});this.internal.video=b.extend({},{id:this.options.idPrefix+\"_video_\"+this.count,jq:f});this.internal.flash=b.extend({},{id:this.options.idPrefix+\"_flash_\"+this.count,jq:f,swf:this.options.swfPath+(this.options.swfPath.toLowerCase().slice(-4)!==\".swf\"?(this.options.swfPath&&this.options.swfPath.slice(-1)!==\"/\"?\"/\":\"\")+\"Jplayer.swf\":\"\")});this.internal.poster=b.extend({},{id:this.options.idPrefix+\"_poster_\"+this.count,jq:f});b.each(b.jPlayer.event,function(b,c){a.options[b]!==f&&(a.element.bind(c+\".jPlayer\",a.options[b]),a.options[b]=f)});this.require.audio=!1;this.require.video=!1;b.each(this.formats,function(b,c){a.require[a.format[c].media]=!0});this.options=this.require.video?b.extend(!0,{},this.optionsVideo,this.options):b.extend(!0,{},this.optionsAudio,this.options);this._setSize();this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);this.status.noFullScreen=this._uaBlocklist(this.options.noFullScreen);this.status.noVolume=this._uaBlocklist(this.options.noVolume);this._restrictNativeVideoControls();this.htmlElement.poster=document.createElement(\"img\");this.htmlElement.poster.id=this.internal.poster.id;this.htmlElement.poster.onload=function(){(!a.status.video||a.status.waitForPlay)&&a.internal.poster.jq.show()};this.element.append(this.htmlElement.poster);this.internal.poster.jq=b(\"#\"+this.internal.poster.id);this.internal.poster.jq.css({width:this.status.width,height:this.status.height});this.internal.poster.jq.hide();this.internal.poster.jq.bind(\"click.jPlayer\",function(){a._trigger(b.jPlayer.event.click)});this.html.audio.available=!1;if(this.require.audio)this.htmlElement.audio=document.createElement(\"audio\"),this.htmlElement.audio.id=this.internal.audio.id,this.html.audio.available=!!this.htmlElement.audio.canPlayType&&this._testCanPlayType(this.htmlElement.audio);this.html.video.available=!1;if(this.require.video)this.htmlElement.video=document.createElement(\"video\"),this.htmlElement.video.id=this.internal.video.id,this.html.video.available=!!this.htmlElement.video.canPlayType&&this._testCanPlayType(this.htmlElement.video);this.flash.available=this._checkForFlash(10);this.html.canPlay={};this.flash.canPlay={};b.each(this.formats,function(b,c){a.html.canPlay[c]=a.html[a.format[c].media].available&&\"\"!==a.htmlElement[a.format[c].media].canPlayType(a.format[c].codec);a.flash.canPlay[c]=a.format[c].flashCanPlay&&a.flash.available});this.html.desired=!1;this.flash.desired=!1;b.each(this.solutions,function(c,d){if(c===0)a[d].desired=!0;else{var e=!1,f=!1;b.each(a.formats,function(b,c){a[a.solutions[0]].canPlay[c]&&(a.format[c].media===\"video\"?f=!0:e=!0)});a[d].desired=a.require.audio&&!e||a.require.video&&!f}});this.html.support={};this.flash.support={};b.each(this.formats,function(b,c){a.html.support[c]=a.html.canPlay[c]&&a.html.desired;a.flash.support[c]=a.flash.canPlay[c]&&a.flash.desired});this.html.used=!1;this.flash.used=!1;b.each(this.solutions,function(c,d){b.each(a.formats,function(b,c){if(a[d].support[c])return a[d].used=!0,!1})});this._resetActive();this._resetGate();this._cssSelectorAncestor(this.options.cssSelectorAncestor);!this.html.used&&!this.flash.used?(this._error({type:b.jPlayer.error.NO_SOLUTION,context:\"{solution:\'\"+this.options.solution+\"\', supplied:\'\"+this.options.supplied+\"\'}\",message:b.jPlayer.errorMsg.NO_SOLUTION,hint:b.jPlayer.errorHint.NO_SOLUTION}),this.css.jq.noSolution.length&&this.css.jq.noSolution.show()):this.css.jq.noSolution.length&&this.css.jq.noSolution.hide();if(this.flash.used){var c,d=\"jQuery=\"+encodeURI(this.options.noConflict)+\"&id=\"+encodeURI(this.internal.self.id)+\"&vol=\"+this.options.volume+\"&muted=\"+this.options.muted;if(b.browser.msie&&Number(b.browser.version)<=8){d=[\'<param name=\"movie\" value=\"\'+this.internal.flash.swf+\'\" />\',\'<param name=\"FlashVars\" value=\"\'+d+\'\" />\',\'<param name=\"allowScriptAccess\" value=\"always\" />\',\'<param name=\"bgcolor\" value=\"\'+this.options.backgroundColor+\'\" />\',\'<param name=\"wmode\" value=\"\'+this.options.wmode+\'\" />\'];c=document.createElement(\'<object id=\"\'+this.internal.flash.id+\'\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" width=\"0\" height=\"0\"></object>\');for(var e=0;e<d.length;e++)c.appendChild(document.createElement(d[e]))}else e=function(a,b,c){var d=document.createElement(\"param\");d.setAttribute(\"name\",b);d.setAttribute(\"value\",c);a.appendChild(d)},c=document.createElement(\"object\"),c.setAttribute(\"id\",this.internal.flash.id),c.setAttribute(\"data\",this.internal.flash.swf),c.setAttribute(\"type\",\"application/x-shockwave-flash\"),c.setAttribute(\"width\",\"1\"),c.setAttribute(\"height\",\"1\"),e(c,\"flashvars\",d),e(c,\"allowscriptaccess\",\"always\"),e(c,\"bgcolor\",this.options.backgroundColor),e(c,\"wmode\",this.options.wmode);this.element.append(c);this.internal.flash.jq=b(c)}if(this.html.used){if(this.html.audio.available)this._addHtmlEventListeners(this.htmlElement.audio,this.html.audio),this.element.append(this.htmlElement.audio),this.internal.audio.jq=b(\"#\"+this.internal.audio.id);if(this.html.video.available)this._addHtmlEventListeners(this.htmlElement.video,this.html.video),this.element.append(this.htmlElement.video),this.internal.video.jq=b(\"#\"+this.internal.video.id),this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):this.internal.video.jq.css({width:\"0px\",height:\"0px\"}),this.internal.video.jq.bind(\"click.jPlayer\",function(){a._trigger(b.jPlayer.event.click)})}this.options.emulateHtml&&this._emulateHtmlBridge();this.html.used&&!this.flash.used&&setTimeout(function(){a.internal.ready=!0;a.version.flash=\"n/a\";a._trigger(b.jPlayer.event.repeat);a._trigger(b.jPlayer.event.ready)},100);this._updateNativeVideoControls();this._updateInterface();this._updateButtons(!1);this._updateAutohide();this._updateVolume(this.options.volume);this._updateMute(this.options.muted);this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide();b.jPlayer.prototype.count++},destroy:function(){this.clearMedia();this._removeUiClass();this.css.jq.currentTime.length&&this.css.jq.currentTime.text(\"\");this.css.jq.duration.length&&this.css.jq.duration.text(\"\");b.each(this.css.jq,function(a,b){b.length&&b.unbind(\".jPlayer\")});this.internal.poster.jq.unbind(\".jPlayer\");this.internal.video.jq&&this.internal.video.jq.unbind(\".jPlayer\");this.options.emulateHtml&&this._destroyHtmlBridge();this.element.removeData(\"jPlayer\");this.element.unbind(\".jPlayer\");this.element.empty();delete this.instances[this.internal.instance]},enable:function(){},disable:function(){},_testCanPlayType:function(a){try{return a.canPlayType(this.format.mp3.codec),!0}catch(b){return!1}},_uaBlocklist:function(a){var c=navigator.userAgent.toLowerCase(),d=!1;b.each(a,function(a,b){if(b&&b.test(c))return d=!0,!1});return d},_restrictNativeVideoControls:function(){if(this.require.audio&&this.status.nativeVideoControls)this.status.nativeVideoControls=!1,this.status.noFullScreen=!0},_updateNativeVideoControls:function(){if(this.html.video.available&&this.html.used)this.htmlElement.video.controls=this.status.nativeVideoControls,this._updateAutohide(),this.status.nativeVideoControls&&this.require.video?(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})):this.status.waitForPlay&&this.status.video&&(this.internal.poster.jq.show(),this.internal.video.jq.css({width:\"0px\",height:\"0px\"}))},_addHtmlEventListeners:function(a,c){var d=this;a.preload=this.options.preload;a.muted=this.options.muted;a.volume=this.options.volume;a.addEventListener(\"progress\",function(){c.gate&&(d._getHtmlStatus(a),d._updateInterface(),d._trigger(b.jPlayer.event.progress))},!1);a.addEventListener(\"timeupdate\",function(){c.gate&&(d._getHtmlStatus(a),d._updateInterface(),d._trigger(b.jPlayer.event.timeupdate))},!1);a.addEventListener(\"durationchange\",function(){if(c.gate)d.status.duration=this.duration,d._getHtmlStatus(a),d._updateInterface(),d._trigger(b.jPlayer.event.durationchange)},!1);a.addEventListener(\"play\",function(){c.gate&&(d._updateButtons(!0),d._html_checkWaitForPlay(),d._trigger(b.jPlayer.event.play))},!1);a.addEventListener(\"playing\",function(){c.gate&&(d._updateButtons(!0),d._seeked(),d._trigger(b.jPlayer.event.playing))},!1);a.addEventListener(\"pause\",function(){c.gate&&(d._updateButtons(!1),d._trigger(b.jPlayer.event.pause))},!1);a.addEventListener(\"waiting\",function(){c.gate&&(d._seeking(),d._trigger(b.jPlayer.event.waiting))},!1);a.addEventListener(\"seeking\",function(){c.gate&&(d._seeking(),d._trigger(b.jPlayer.event.seeking))},!1);a.addEventListener(\"seeked\",function(){c.gate&&(d._seeked(),d._trigger(b.jPlayer.event.seeked))},!1);a.addEventListener(\"volumechange\",function(){if(c.gate)d.options.volume=a.volume,d.options.muted=a.muted,d._updateMute(),d._updateVolume(),d._trigger(b.jPlayer.event.volumechange)},!1);a.addEventListener(\"suspend\",function(){c.gate&&(d._seeked(),d._trigger(b.jPlayer.event.suspend))},!1);a.addEventListener(\"ended\",function(){if(c.gate){if(!b.jPlayer.browser.webkit)d.htmlElement.media.currentTime=0;d.htmlElement.media.pause();d._updateButtons(!1);d._getHtmlStatus(a,!0);d._updateInterface();d._trigger(b.jPlayer.event.ended)}},!1);a.addEventListener(\"error\",function(){if(c.gate&&(d._updateButtons(!1),d._seeked(),d.status.srcSet))clearTimeout(d.internal.htmlDlyCmdId),d.status.waitForLoad=!0,d.status.waitForPlay=!0,d.status.video&&!d.status.nativeVideoControls&&d.internal.video.jq.css({width:\"0px\",height:\"0px\"}),d._validString(d.status.media.poster)&&!d.status.nativeVideoControls&&d.internal.poster.jq.show(),d.css.jq.videoPlay.length&&d.css.jq.videoPlay.show(),d._error({type:b.jPlayer.error.URL,context:d.status.src,message:b.jPlayer.errorMsg.URL,hint:b.jPlayer.errorHint.URL})},!1);b.each(b.jPlayer.htmlEvent,function(e,g){a.addEventListener(this,function(){c.gate&&d._trigger(b.jPlayer.event[g])},!1)})},_getHtmlStatus:function(a,b){var d=0,e=0,g=0,f=0;if(a.duration)this.status.duration=a.duration;d=a.currentTime;e=this.status.duration>0?100*d/this.status.duration:0;typeof a.seekable===\"object\"&&a.seekable.length>0?(g=this.status.duration>0?100*a.seekable.end(a.seekable.length-1)/this.status.duration:100,f=100*a.currentTime/a.seekable.end(a.seekable.length-1)):(g=100,f=e);b&&(e=f=d=0);this.status.seekPercent=g;this.status.currentPercentRelative=f;this.status.currentPercentAbsolute=e;this.status.currentTime=d;this.status.readyState=a.readyState;this.status.networkState=a.networkState;this.status.playbackRate=a.playbackRate;this.status.ended=a.ended},_resetStatus:function(){this.status=b.extend({},this.status,b.jPlayer.prototype.status)},_trigger:function(a,c,d){a=b.Event(a);a.jPlayer={};a.jPlayer.version=b.extend({},this.version);a.jPlayer.options=b.extend(!0,{},this.options);a.jPlayer.status=b.extend(!0,{},this.status);a.jPlayer.html=b.extend(!0,{},this.html);a.jPlayer.flash=b.extend(!0,{},this.flash);if(c)a.jPlayer.error=b.extend({},c);if(d)a.jPlayer.warning=b.extend({},d);this.element.trigger(a)},jPlayerFlashEvent:function(a,c){if(a===b.jPlayer.event.ready)if(this.internal.ready){if(this.flash.gate){if(this.status.srcSet){var d=this.status.currentTime,e=this.status.paused;this.setMedia(this.status.media);d>0&&(e?this.pause(d):this.play(d))}this._trigger(b.jPlayer.event.flashreset)}}else this.internal.ready=!0,this.internal.flash.jq.css({width:\"0px\",height:\"0px\"}),this.version.flash=c.version,this.version.needFlash!==this.version.flash&&this._error({type:b.jPlayer.error.VERSION,context:this.version.flash,message:b.jPlayer.errorMsg.VERSION+this.version.flash,hint:b.jPlayer.errorHint.VERSION}),this._trigger(b.jPlayer.event.repeat),this._trigger(a);if(this.flash.gate)switch(a){case b.jPlayer.event.progress:this._getFlashStatus(c);this._updateInterface();this._trigger(a);break;case b.jPlayer.event.timeupdate:this._getFlashStatus(c);this._updateInterface();this._trigger(a);break;case b.jPlayer.event.play:this._seeked();this._updateButtons(!0);this._trigger(a);break;case b.jPlayer.event.pause:this._updateButtons(!1);this._trigger(a);break;case b.jPlayer.event.ended:this._updateButtons(!1);this._trigger(a);break;case b.jPlayer.event.click:this._trigger(a);break;case b.jPlayer.event.error:this.status.waitForLoad=!0;this.status.waitForPlay=!0;this.status.video&&this.internal.flash.jq.css({width:\"0px\",height:\"0px\"});this._validString(this.status.media.poster)&&this.internal.poster.jq.show();this.css.jq.videoPlay.length&&this.status.video&&this.css.jq.videoPlay.show();this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media);this._updateButtons(!1);this._error({type:b.jPlayer.error.URL,context:c.src,message:b.jPlayer.errorMsg.URL,hint:b.jPlayer.errorHint.URL});break;case b.jPlayer.event.seeking:this._seeking();this._trigger(a);break;case b.jPlayer.event.seeked:this._seeked();this._trigger(a);break;case b.jPlayer.event.ready:break;default:this._trigger(a)}return!1},_getFlashStatus:function(a){this.status.seekPercent=a.seekPercent;this.status.currentPercentRelative=a.currentPercentRelative;this.status.currentPercentAbsolute=a.currentPercentAbsolute;this.status.currentTime=a.currentTime;this.status.duration=a.duration;this.status.readyState=4;this.status.networkState=0;this.status.playbackRate=1;this.status.ended=!1},_updateButtons:function(a){if(a!==f)this.status.paused=!a,this.css.jq.play.length&&this.css.jq.pause.length&&(a?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide()));this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length&&(this.status.noFullScreen?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.hide()):this.options.fullScreen?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.show()):(this.css.jq.fullScreen.show(),this.css.jq.restoreScreen.hide()));this.css.jq.repeat.length&&this.css.jq.repeatOff.length&&(this.options.loop?(this.css.jq.repeat.hide(),this.css.jq.repeatOff.show()):(this.css.jq.repeat.show(),this.css.jq.repeatOff.hide()))},_updateInterface:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+\"%\");this.css.jq.playBar.length&&this.css.jq.playBar.width(this.status.currentPercentRelative+\"%\");this.css.jq.currentTime.length&&this.css.jq.currentTime.text(b.jPlayer.convertTime(this.status.currentTime));this.css.jq.duration.length&&this.css.jq.duration.text(b.jPlayer.convertTime(this.status.duration))},_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass(\"jp-seeking-bg\")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass(\"jp-seeking-bg\")},_resetGate:function(){this.html.audio.gate=!1;this.html.video.gate=!1;this.flash.gate=!1},_resetActive:function(){this.html.active=!1;this.flash.active=!1},setMedia:function(a){var c=this,d=!1,e=this.status.media.poster!==a.poster;this._resetMedia();this._resetGate();this._resetActive();b.each(this.formats,function(e,f){var i=c.format[f].media===\"video\";b.each(c.solutions,function(b,e){if(c[e].support[f]&&c._validString(a[f])){var g=e===\"html\";i?(g?(c.html.video.gate=!0,c._html_setVideo(a),c.html.active=!0):(c.flash.gate=!0,c._flash_setVideo(a),c.flash.active=!0),c.css.jq.videoPlay.length&&c.css.jq.videoPlay.show(),c.status.video=!0):(g?(c.html.audio.gate=!0,c._html_setAudio(a),c.html.active=!0):(c.flash.gate=!0,c._flash_setAudio(a),c.flash.active=!0),c.css.jq.videoPlay.length&&c.css.jq.videoPlay.hide(),c.status.video=!1);d=!0;return!1}});if(d)return!1});if(d){if((!this.status.nativeVideoControls||!this.html.video.gate)&&this._validString(a.poster))e?this.htmlElement.poster.src=a.poster:this.internal.poster.jq.show();this.status.srcSet=!0;this.status.media=b.extend({},a);this._updateButtons(!1);this._updateInterface()}else this._error({type:b.jPlayer.error.NO_SUPPORT,context:\"{supplied:\'\"+this.options.supplied+\"\'}\",message:b.jPlayer.errorMsg.NO_SUPPORT,hint:b.jPlayer.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus();this._updateButtons(!1);this._updateInterface();this._seeked();this.internal.poster.jq.hide();clearTimeout(this.internal.htmlDlyCmdId);this.html.active?this._html_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia();this.html.active?this._html_clearMedia():this.flash.active&&this._flash_clearMedia();this._resetGate();this._resetActive()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.flash.active&&this._flash_load():this._urlNotSetError(\"load\")},play:function(a){a=typeof a===\"number\"?a:NaN;this.status.srcSet?this.html.active?this._html_play(a):this.flash.active&&this._flash_play(a):this._urlNotSetError(\"play\")},videoPlay:function(){this.play()},pause:function(a){a=typeof a===\"number\"?a:NaN;this.status.srcSet?this.html.active?this._html_pause(a):this.flash.active&&this._flash_pause(a):this._urlNotSetError(\"pause\")},pauseOthers:function(){var a=this;b.each(this.instances,function(b,d){a.element!==d&&d.data(\"jPlayer\").status.srcSet&&d.jPlayer(\"pause\")})},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError(\"stop\")},playHead:function(a){a=this._limitValue(a,0,100);this.status.srcSet?this.html.active?this._html_playHead(a):this.flash.active&&this._flash_playHead(a):this._urlNotSetError(\"playHead\")},_muted:function(a){this.options.muted=a;this.html.used&&this._html_mute(a);this.flash.used&&this._flash_mute(a);!this.html.video.gate&&!this.html.audio.gate&&(this._updateMute(a),this._updateVolume(this.options.volume),this._trigger(b.jPlayer.event.volumechange))},mute:function(a){a=a===f?!0:!!a;this._muted(a)},unmute:function(a){a=a===f?!0:!!a;this._muted(!a)},_updateMute:function(a){if(a===f)a=this.options.muted;this.css.jq.mute.length&&this.css.jq.unmute.length&&(this.status.noVolume?(this.css.jq.mute.hide(),this.css.jq.unmute.hide()):a?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(a){a=this._limitValue(a,0,1);this.options.volume=a;this.html.used&&this._html_volume(a);this.flash.used&&this._flash_volume(a);!this.html.video.gate&&!this.html.audio.gate&&(this._updateVolume(a),this._trigger(b.jPlayer.event.volumechange))},volumeBar:function(a){if(this.css.jq.volumeBar.length){var b=this.css.jq.volumeBar.offset(),d=a.pageX-b.left,e=this.css.jq.volumeBar.width(),a=this.css.jq.volumeBar.height()-a.pageY+b.top,b=this.css.jq.volumeBar.height();this.options.verticalVolume?this.volume(a/b):this.volume(d/e)}this.options.muted&&this._muted(!1)},volumeBarValue:function(a){this.volumeBar(a)},_updateVolume:function(a){if(a===f)a=this.options.volume;a=this.options.muted?0:a;this.status.noVolume?(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide(),this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide(),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()):(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show(),this.css.jq.volumeBarValue.length&&(this.css.jq.volumeBarValue.show(),this.css.jq.volumeBarValue[this.options.verticalVolume?\"height\":\"width\"](a*100+\"%\")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1);this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(a){var c=this;this.options.cssSelectorAncestor=a;this._removeUiClass();this.ancestorJq=a?b(a):[];a&&this.ancestorJq.length!==1&&this._warning({type:b.jPlayer.warning.CSS_SELECTOR_COUNT,context:a,message:b.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+\" found for cssSelectorAncestor.\",hint:b.jPlayer.warningHint.CSS_SELECTOR_COUNT});this._addUiClass();b.each(this.options.cssSelector,function(a,b){c._cssSelector(a,b)})},_cssSelector:function(a,c){var d=this;typeof c===\"string\"?b.jPlayer.prototype.options.cssSelector[a]?(this.css.jq[a]&&this.css.jq[a].length&&this.css.jq[a].unbind(\".jPlayer\"),this.options.cssSelector[a]=c,this.css.cs[a]=this.options.cssSelectorAncestor+\" \"+c,this.css.jq[a]=c?b(this.css.cs[a]):[],this.css.jq[a].length&&this.css.jq[a].bind(\"click.jPlayer\",function(c){d[a](c);b(this).blur();return!1}),c&&this.css.jq[a].length!==1&&this._warning({type:b.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[a],message:b.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[a].length+\" found for \"+a+\" method.\",hint:b.jPlayer.warningHint.CSS_SELECTOR_COUNT})):this._warning({type:b.jPlayer.warning.CSS_SELECTOR_METHOD,context:a,message:b.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:b.jPlayer.warningHint.CSS_SELECTOR_METHOD}):this._warning({type:b.jPlayer.warning.CSS_SELECTOR_STRING,context:c,message:b.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:b.jPlayer.warningHint.CSS_SELECTOR_STRING})},seekBar:function(a){if(this.css.jq.seekBar){var b=this.css.jq.seekBar.offset(),a=a.pageX-b.left,b=this.css.jq.seekBar.width();this.playHead(100*a/b)}},playBar:function(a){this.seekBar(a)},repeat:function(){this._loop(!0)},repeatOff:function(){this._loop(!1)},_loop:function(a){if(this.options.loop!==a)this.options.loop=a,this._updateButtons(),this._trigger(b.jPlayer.event.repeat)},currentTime:function(){},duration:function(){},gui:function(){},noSolution:function(){},option:function(a,c){var d=a;if(arguments.length===0)return b.extend(!0,{},this.options);if(typeof a===\"string\"){var e=a.split(\".\");if(c===f){for(var d=b.extend(!0,{},this.options),g=0;g<e.length;g++)if(d[e[g]]!==f)d=d[e[g]];else return this._warning({type:b.jPlayer.warning.OPTION_KEY,context:a,message:b.jPlayer.warningMsg.OPTION_KEY,hint:b.jPlayer.warningHint.OPTION_KEY}),f;return d}for(var g=d={},h=0;h<e.length;h++)h<e.length-1?(g[e[h]]={},g=g[e[h]]):g[e[h]]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(a,b){c._setOption(a,b)});return this},_setOption:function(a,c){var d=this;switch(a){case \"volume\":this.volume(c);break;case \"muted\":this._muted(c);break;case \"cssSelectorAncestor\":this._cssSelectorAncestor(c);break;case \"cssSelector\":b.each(c,function(a,b){d._cssSelector(a,b)});break;case \"fullScreen\":this.options[a]!==c&&(this._removeUiClass(),this.options[a]=c,this._refreshSize());break;case \"size\":!this.options.fullScreen&&this.options[a].cssClass!==c.cssClass&&this._removeUiClass();this.options[a]=b.extend({},this.options[a],c);this._refreshSize();break;case \"sizeFull\":this.options.fullScreen&&this.options[a].cssClass!==c.cssClass&&this._removeUiClass();this.options[a]=b.extend({},this.options[a],c);this._refreshSize();break;case \"autohide\":this.options[a]=b.extend({},this.options[a],c);this._updateAutohide();break;case \"loop\":this._loop(c);break;case \"nativeVideoControls\":this.options[a]=b.extend({},this.options[a],c);this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);this._restrictNativeVideoControls();this._updateNativeVideoControls();break;case \"noFullScreen\":this.options[a]=b.extend({},this.options[a],c);this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);this.status.noFullScreen=this._uaBlocklist(this.options.noFullScreen);this._restrictNativeVideoControls();this._updateButtons();break;case \"noVolume\":this.options[a]=b.extend({},this.options[a],c);this.status.noVolume=this._uaBlocklist(this.options.noVolume);this._updateVolume();this._updateMute();break;case \"emulateHtml\":this.options[a]!==c&&((this.options[a]=c)?this._emulateHtmlBridge():this._destroyHtmlBridge())}return this},_refreshSize:function(){this._setSize();this._addUiClass();this._updateSize();this._updateButtons();this._updateAutohide();this._trigger(b.jPlayer.event.resize)},_setSize:function(){this.options.fullScreen?(this.status.width=this.options.sizeFull.width,this.status.height=this.options.sizeFull.height,this.status.cssClass=this.options.sizeFull.cssClass):(this.status.width=this.options.size.width,this.status.height=this.options.size.height,this.status.cssClass=this.options.size.cssClass);this.element.css({width:this.status.width,height:this.status.height})},_addUiClass:function(){this.ancestorJq.length&&this.ancestorJq.addClass(this.status.cssClass)},_removeUiClass:function(){this.ancestorJq.length&&this.ancestorJq.removeClass(this.status.cssClass)},_updateSize:function(){this.internal.poster.jq.css({width:this.status.width,height:this.status.height});!this.status.waitForPlay&&this.html.active&&this.status.video||this.html.video.available&&this.html.used&&this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):!this.status.waitForPlay&&this.flash.active&&this.status.video&&this.internal.flash.jq.css({width:this.status.width,height:this.status.height})},_updateAutohide:function(){var a=this,b=function(){a.css.jq.gui.fadeIn(a.options.autohide.fadeIn,function(){clearTimeout(a.internal.autohideId);a.internal.autohideId=setTimeout(function(){a.css.jq.gui.fadeOut(a.options.autohide.fadeOut)},a.options.autohide.hold)})};this.css.jq.gui.length&&(this.css.jq.gui.stop(!0,!0),clearTimeout(this.internal.autohideId),this.element.unbind(\".jPlayerAutohide\"),this.css.jq.gui.unbind(\".jPlayerAutohide\"),this.status.nativeVideoControls?this.css.jq.gui.hide():this.options.fullScreen&&this.options.autohide.full||!this.options.fullScreen&&this.options.autohide.restored?(this.element.bind(\"mousemove.jPlayer.jPlayerAutohide\",b),this.css.jq.gui.bind(\"mousemove.jPlayer.jPlayerAutohide\",b),this.css.jq.gui.hide()):this.css.jq.gui.show())},fullScreen:function(){this._setOption(\"fullScreen\",!0)},restoreScreen:function(){this._setOption(\"fullScreen\",!1)},_html_initMedia:function(){this.htmlElement.media.src=this.status.src;this.options.preload!==\"none\"&&this._html_load();this._trigger(b.jPlayer.event.timeupdate)},_html_setAudio:function(a){var c=this;b.each(this.formats,function(b,e){if(c.html.support[e]&&a[e])return c.status.src=a[e],c.status.format[e]=!0,c.status.formatType=e,!1});this.htmlElement.media=this.htmlElement.audio;this._html_initMedia()},_html_setVideo:function(a){var c=this;b.each(this.formats,function(b,e){if(c.html.support[e]&&a[e])return c.status.src=a[e],c.status.format[e]=!0,c.status.formatType=e,!1});if(this.status.nativeVideoControls)this.htmlElement.video.poster=this._validString(a.poster)?a.poster:\"\";this.htmlElement.media=this.htmlElement.video;this._html_initMedia()},_html_resetMedia:function(){this.htmlElement.media&&(this.htmlElement.media.id===this.internal.video.id&&!this.status.nativeVideoControls&&this.internal.video.jq.css({width:\"0px\",height:\"0px\"}),this.htmlElement.media.pause())},_html_clearMedia:function(){if(this.htmlElement.media)this.htmlElement.media.src=\"\",this.htmlElement.media.load()},_html_load:function(){if(this.status.waitForLoad)this.status.waitForLoad=!1,this.htmlElement.media.load();clearTimeout(this.internal.htmlDlyCmdId)},_html_play:function(a){var b=this;this._html_load();this.htmlElement.media.play();if(!isNaN(a))try{this.htmlElement.media.currentTime=a}catch(d){this.internal.htmlDlyCmdId=setTimeout(function(){b.play(a)},100);return}this._html_checkWaitForPlay()},_html_pause:function(a){var b=this;a>0?this._html_load():clearTimeout(this.internal.htmlDlyCmdId);this.htmlElement.media.pause();if(!isNaN(a))try{this.htmlElement.media.currentTime=a}catch(d){this.internal.htmlDlyCmdId=setTimeout(function(){b.pause(a)},100);return}a>0&&this._html_checkWaitForPlay()},_html_playHead:function(a){var b=this;this._html_load();try{if(typeof this.htmlElement.media.seekable===\"object\"&&this.htmlElement.media.seekable.length>0)this.htmlElement.media.currentTime=a*this.htmlElement.media.seekable.end(this.htmlElement.media.seekable.length-1)/100;else if(this.htmlElement.media.duration>0&&!isNaN(this.htmlElement.media.duration))this.htmlElement.media.currentTime=a*this.htmlElement.media.duration/100;else throw\"e\"}catch(d){this.internal.htmlDlyCmdId=setTimeout(function(){b.playHead(a)},100);return}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){if(this.status.waitForPlay)this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height}))},_html_volume:function(a){if(this.html.audio.available)this.htmlElement.audio.volume=a;if(this.html.video.available)this.htmlElement.video.volume=a},_html_mute:function(a){if(this.html.audio.available)this.htmlElement.audio.muted=a;if(this.html.video.available)this.htmlElement.video.muted=a},_flash_setAudio:function(a){var c=this;try{if(b.each(this.formats,function(b,d){if(c.flash.support[d]&&a[d]){switch(d){case \"m4a\":case \"fla\":c._getMovie().fl_setAudio_m4a(a[d]);break;case \"mp3\":c._getMovie().fl_setAudio_mp3(a[d])}c.status.src=a[d];c.status.format[d]=!0;c.status.formatType=d;return!1}}),this.options.preload===\"auto\")this._flash_load(),this.status.waitForLoad=!1}catch(d){this._flashError(d)}},_flash_setVideo:function(a){var c=this;try{if(b.each(this.formats,function(b,d){if(c.flash.support[d]&&a[d]){switch(d){case \"m4v\":case \"flv\":c._getMovie().fl_setVideo_m4v(a[d])}c.status.src=a[d];c.status.format[d]=!0;c.status.formatType=d;return!1}}),this.options.preload===\"auto\")this._flash_load(),this.status.waitForLoad=!1}catch(d){this._flashError(d)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:\"0px\",height:\"0px\"});this._flash_pause(NaN)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(a){this._flashError(a)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(a){this._flashError(a)}this.status.waitForLoad=!1},_flash_play:function(a){try{this._getMovie().fl_play(a)}catch(b){this._flashError(b)}this.status.waitForLoad=!1;this._flash_checkWaitForPlay()},_flash_pause:function(a){try{this._getMovie().fl_pause(a)}catch(b){this._flashError(b)}if(a>0)this.status.waitForLoad=!1,this._flash_checkWaitForPlay()},_flash_playHead:function(a){try{this._getMovie().fl_play_head(a)}catch(b){this._flashError(b)}this.status.waitForLoad||this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){if(this.status.waitForPlay)this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.flash.jq.css({width:this.status.width,height:this.status.height}))},_flash_volume:function(a){try{this._getMovie().fl_volume(a)}catch(b){this._flashError(b)}},_flash_mute:function(a){try{this._getMovie().fl_mute(a)}catch(b){this._flashError(b)}},_getMovie:function(){return document[this.internal.flash.id]},_checkForFlash:function(a){var b=!1,d;if(window.ActiveXObject)try{new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash.\"+a),b=!0}catch(e){}else navigator.plugins&&navigator.mimeTypes.length>0&&(d=navigator.plugins[\"Shockwave Flash\"])&&navigator.plugins[\"Shockwave Flash\"].description.replace(/.*\\s(\\d+\\.\\d+).*/,\"$1\")>=a&&(b=!0);return b},_validString:function(a){return a&&typeof a===\"string\"},_limitValue:function(a,b,d){return a<b?b:a>d?d:a},_urlNotSetError:function(a){this._error({type:b.jPlayer.error.URL_NOT_SET,context:a,message:b.jPlayer.errorMsg.URL_NOT_SET,hint:b.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(a){var c;c=this.internal.ready?\"FLASH_DISABLED\":\"FLASH\";this._error({type:b.jPlayer.error[c],context:this.internal.flash.swf,message:b.jPlayer.errorMsg[c]+a.message,hint:b.jPlayer.errorHint[c]});this.internal.flash.jq.css({width:\"1px\",height:\"1px\"})},_error:function(a){this._trigger(b.jPlayer.event.error,a);this.options.errorAlerts&&this._alert(\"Error!\"+(a.message?\"\\n\\n\"+a.message:\"\")+(a.hint?\"\\n\\n\"+a.hint:\"\")+\"\\n\\nContext: \"+a.context)},_warning:function(a){this._trigger(b.jPlayer.event.warning,f,a);this.options.warningAlerts&&this._alert(\"Warning!\"+(a.message?\"\\n\\n\"+a.message:\"\")+(a.hint?\"\\n\\n\"+a.hint:\"\")+\"\\n\\nContext: \"+a.context)},_alert:function(a){alert(\"jPlayer \"+this.version.script+\" : id=\'\"+this.internal.self.id+\"\' : \"+a)},_emulateHtmlBridge:function(){var a=this;b.each(b.jPlayer.emulateMethods.split(/\\s+/g),function(b,d){a.internal.domNode[d]=function(b){a[d](b)}});b.each(b.jPlayer.event,function(c,d){var e=!0;b.each(b.jPlayer.reservedEvent.split(/\\s+/g),function(a,b){if(b===c)return e=!1});e&&a.element.bind(d+\".jPlayer.jPlayerHtml\",function(){a._emulateHtmlUpdate();var b=document.createEvent(\"Event\");b.initEvent(c,!1,!0);a.internal.domNode.dispatchEvent(b)})})},_emulateHtmlUpdate:function(){var a=this;b.each(b.jPlayer.emulateStatus.split(/\\s+/g),function(b,d){a.internal.domNode[d]=a.status[d]});b.each(b.jPlayer.emulateOptions.split(/\\s+/g),function(b,d){a.internal.domNode[d]=a.options[d]})},_destroyHtmlBridge:function(){var a=this;this.element.unbind(\".jPlayerHtml\");b.each((b.jPlayer.emulateMethods+\" \"+b.jPlayer.emulateStatus+\" \"+b.jPlayer.emulateOptions).split(/\\s+/g),function(b,d){delete a.internal.domNode[d]})}};b.jPlayer.error={FLASH:\"e_flash\",FLASH_DISABLED:\"e_flash_disabled\",NO_SOLUTION:\"e_no_solution\",NO_SUPPORT:\"e_no_support\",URL:\"e_url\",URL_NOT_SET:\"e_url_not_set\",VERSION:\"e_version\"};b.jPlayer.errorMsg={FLASH:\"jPlayer\'s Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: \",FLASH_DISABLED:\"jPlayer\'s Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: \",NO_SOLUTION:\"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.\",NO_SUPPORT:\"It is not possible to play any media format provided in setMedia() on this browser using your current options.\",URL:\"Media URL could not be loaded.\",URL_NOT_SET:\"Attempt to issue media playback commands, while no media url is set.\",VERSION:\"jPlayer \"+b.jPlayer.prototype.version.script+\" needs Jplayer.swf version \"+b.jPlayer.prototype.version.needFlash+\" but found \"};b.jPlayer.errorHint={FLASH:\"Check your swfPath option and that Jplayer.swf is there.\",FLASH_DISABLED:\"Check that you have not display:none; the jPlayer entity or any ancestor.\",NO_SOLUTION:\"Review the jPlayer options: support and supplied.\",NO_SUPPORT:\"Video or audio formats defined in the supplied option are missing.\",URL:\"Check media URL is valid.\",URL_NOT_SET:\"Use setMedia() to set the media URL.\",VERSION:\"Update jPlayer files.\"};b.jPlayer.warning={CSS_SELECTOR_COUNT:\"e_css_selector_count\",CSS_SELECTOR_METHOD:\"e_css_selector_method\",CSS_SELECTOR_STRING:\"e_css_selector_string\",OPTION_KEY:\"e_option_key\"};b.jPlayer.warningMsg={CSS_SELECTOR_COUNT:\"The number of css selectors found did not equal one: \",CSS_SELECTOR_METHOD:\"The methodName given in jPlayer(\'cssSelector\') is not a valid jPlayer method.\",CSS_SELECTOR_STRING:\"The methodCssSelector given in jPlayer(\'cssSelector\') is not a String or is empty.\",OPTION_KEY:\"The option requested in jPlayer(\'option\') is undefined.\"};b.jPlayer.warningHint={CSS_SELECTOR_COUNT:\"Check your css selector and the ancestor.\",CSS_SELECTOR_METHOD:\"Check your method name.\",CSS_SELECTOR_STRING:\"Check your css selector is a string.\",OPTION_KEY:\"Check your option name.\"}})(jQuery)','20df633a9627da92aca663101cd800bb',1,1,'2021-08-05 17:27:22','2021-08-16 14:31:31');
INSERT INTO `st_wpr_rucss_resources` VALUES (60,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/bootstrap.carousel.js?ver=5.8','js','','+function($){\"use strict\";function transitionEnd(){var el=document.createElement(\'bootstrap\')\nvar transEndEventNames={\'WebkitTransition\':\'webkitTransitionEnd\',\'MozTransition\':\'transitionend\',\'OTransition\':\'oTransitionEnd otransitionend\',\'transition\':\'transitionend\'}\nfor(var name in transEndEventNames){if(el.style[name]!==undefined){return{end:transEndEventNames[name]}}}}\n$.fn.emulateTransitionEnd=function(duration){var called=!1,$el=this\n$(this).one($.support.transition.end,function(){called=!0})\nvar callback=function(){if(!called)$($el).trigger($.support.transition.end)}\nsetTimeout(callback,duration)\nreturn this}\n$(function(){$.support.transition=transitionEnd()})}(window.jQuery);+function($){\"use strict\";var Carousel=function(element,options){this.$element=$(element)\nthis.$indicators=this.$element.find(\'.carousel-indicators\')\nthis.options=options\nthis.paused=this.sliding=this.interval=this.$active=this.$items=null\nthis.options.pause==\'hover\'&&this.$element.on(\'mouseenter\',$.proxy(this.pause,this)).on(\'mouseleave\',$.proxy(this.cycle,this))}\nCarousel.DEFAULTS={interval:5000,pause:\'hover\',wrap:!0}\nCarousel.prototype.cycle=function(e){e||(this.paused=!1)\nthis.interval&&clearInterval(this.interval)\nthis.options.interval&&!this.paused&&(this.interval=setInterval($.proxy(this.next,this),this.options.interval))\nreturn this}\nCarousel.prototype.getActiveIndex=function(){this.$active=this.$element.find(\'.item.active\')\nthis.$items=this.$active.parent().children()\nreturn this.$items.index(this.$active)}\nCarousel.prototype.to=function(pos){var that=this\nvar activeIndex=this.getActiveIndex()\nif(pos>(this.$items.length-1)||pos<0)return\nif(this.sliding)return this.$element.one(\'slid\',function(){that.to(pos)})\nif(activeIndex==pos)return this.pause().cycle()\nreturn this.slide(pos>activeIndex?\'next\':\'prev\',$(this.$items[pos]))}\nCarousel.prototype.pause=function(e){e||(this.paused=!0)\nif(this.$element.find(\'.next, .prev\').length&&$.support.transition.end){this.$element.trigger($.support.transition.end)\nthis.cycle(!0)}\nthis.interval=clearInterval(this.interval)\nreturn this}\nCarousel.prototype.next=function(){if(this.sliding)return\nreturn this.slide(\'next\')}\nCarousel.prototype.prev=function(){if(this.sliding)return\nreturn this.slide(\'prev\')}\nCarousel.prototype.slide=function(type,next){var $active=this.$element.find(\'.item.active\')\nvar $next=next||$active[type]()\nvar isCycling=this.interval\nvar direction=type==\'next\'?\'left\':\'right\'\nvar fallback=type==\'next\'?\'first\':\'last\'\nvar that=this\nif(!$next.length){if(!this.options.wrap)return\n$next=this.$element.find(\'.item\')[fallback]()}\nthis.sliding=!0\nisCycling&&this.pause()\nvar e=$.Event(\'slide.bs.carousel\',{relatedTarget:$next[0],direction:direction})\nif($next.hasClass(\'active\'))return\nif(this.$indicators.length){this.$indicators.find(\'.active\').removeClass(\'active\')\nthis.$element.one(\'slid\',function(){var $nextIndicator=$(that.$indicators.children()[that.getActiveIndex()])\n$nextIndicator&&$nextIndicator.addClass(\'active\')})}\nif($.support.transition&&this.$element.hasClass(\'slide\')){this.$element.trigger(e)\nif(e.isDefaultPrevented())return\n$next.addClass(type)\n$next[0].offsetWidth\n$active.addClass(direction)\n$next.addClass(direction)\n$active.one($.support.transition.end,function(){$next.removeClass([type,direction].join(\' \')).addClass(\'active\')\n$active.removeClass([\'active\',direction].join(\' \'))\nthat.sliding=!1\nsetTimeout(function(){that.$element.trigger(\'slid\')},0)}).emulateTransitionEnd(600)}else{this.$element.trigger(e)\nif(e.isDefaultPrevented())return\n$active.removeClass(\'active\')\n$next.addClass(\'active\')\nthis.sliding=!1\nthis.$element.trigger(\'slid\')}\nisCycling&&this.cycle()\nreturn this}\nvar old=$.fn.carousel\n$.fn.carousel=function(option){return this.each(function(){var $this=$(this)\nvar data=$this.data(\'bs.carousel\')\nvar options=$.extend({},Carousel.DEFAULTS,$this.data(),typeof option==\'object\'&&option)\nvar action=typeof option==\'string\'?option:options.slide\nif(!data)$this.data(\'bs.carousel\',(data=new Carousel(this,options)))\nif(typeof option==\'number\')data.to(option)\nelse if(action)data[action]()\nelse if(options.interval)data.pause().cycle()})}\n$.fn.carousel.Constructor=Carousel\n$.fn.carousel.noConflict=function(){$.fn.carousel=old\nreturn this}\n$(document).on(\'click.bs.carousel.data-api\',\'[data-slide], [data-slide-to]\',function(e){var $this=$(this),href\nvar $target=$($this.attr(\'data-target\')||(href=$this.attr(\'href\'))&&href.replace(/.*(?=#[^\\s]+$)/,\'\'))\nvar options=$.extend({},$target.data(),$this.data())\nvar slideIndex=$this.attr(\'data-slide-to\')\nif(slideIndex)options.interval=!1\n$target.carousel(options)\nif(slideIndex=$this.attr(\'data-slide-to\')){$target.data(\'bs.carousel\').to(slideIndex)}\ne.preventDefault()})\n$(window).on(\'load\',function(){$(\'[data-ride=\"carousel\"]\').each(function(){var $carousel=$(this)\n$carousel.carousel($carousel.data())})})}(window.jQuery)','95dc3a12c47a865cd6e75d0adcb5b015',1,1,'2021-08-05 17:27:22','2021-08-16 14:31:31'),(61,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/skrollr.js?ver=5.8','js','','/*!\n * skrollr core\n *\n * Alexander Prinzhorn - https://github.com/Prinzhorn/skrollr\n *\n * Free to use under terms of MIT license\n */\n(function(window,document,undefined){\'use strict\';var skrollr=window.skrollr={get:function(){return _instance},init:function(options){return _instance||new Skrollr(options)},VERSION:\'0.6.10\'};var hasProp=Object.prototype.hasOwnProperty;var Math=window.Math;var getStyle=window.getComputedStyle;var documentElement;var body;var EVENT_TOUCHSTART=\'touchstart\';var EVENT_TOUCHMOVE=\'touchmove\';var EVENT_TOUCHCANCEL=\'touchcancel\';var EVENT_TOUCHEND=\'touchend\';var SKROLLABLE_CLASS=\'skrollable\';var SKROLLABLE_BEFORE_CLASS=SKROLLABLE_CLASS+\'-before\';var SKROLLABLE_BETWEEN_CLASS=SKROLLABLE_CLASS+\'-between\';var SKROLLABLE_AFTER_CLASS=SKROLLABLE_CLASS+\'-after\';var SKROLLR_CLASS=\'skrollr\';var NO_SKROLLR_CLASS=\'no-\'+SKROLLR_CLASS;var SKROLLR_DESKTOP_CLASS=SKROLLR_CLASS+\'-desktop\';var SKROLLR_MOBILE_CLASS=SKROLLR_CLASS+\'-mobile\';var DEFAULT_EASING=\'linear\';var DEFAULT_DURATION=1000;var MOBILE_DECELERATION=0.0006;var DEFAULT_SMOOTH_SCROLLING_DURATION=200;var ANCHOR_START=\'start\';var ANCHOR_END=\'end\';var ANCHOR_CENTER=\'center\';var ANCHOR_BOTTOM=\'bottom\';var SKROLLABLE_ID_DOM_PROPERTY=\'___skrollable_id\';var rxTrim=/^\\s+|\\s+$/g;var rxKeyframeAttribute=/^data(?:-(_\\w+))?(?:-?(-?\\d+))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/;var rxPropValue=/\\s*([\\w\\-\\[\\]]+)\\s*:\\s*(.+?)\\s*(?:;|$)/gi;var rxPropEasing=/^([a-z\\-]+)\\[(\\w+)\\]$/;var rxCamelCase=/-([a-z])/g;var rxCamelCaseFn=function(str,letter){return letter.toUpperCase()};var rxNumericValue=/[\\-+]?[\\d]*\\.?[\\d]+/g;var rxInterpolateString=/\\{\\?\\}/g;var rxRGBAIntegerColor=/rgba?\\(\\s*-?\\d+\\s*,\\s*-?\\d+\\s*,\\s*-?\\d+/g;var rxGradient=/[a-z\\-]+-gradient/g;var theCSSPrefix=\'\';var theDashedCSSPrefix=\'\';var detectCSSPrefix=function(){var rxPrefixes=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(!getStyle){return}\nvar style=getStyle(body,null);for(var k in style){theCSSPrefix=(k.match(rxPrefixes)||(+k==k&&style[k].match(rxPrefixes)));if(theCSSPrefix){break}}\nif(!theCSSPrefix){theCSSPrefix=theDashedCSSPrefix=\'\';return}\ntheCSSPrefix=theCSSPrefix[0];if(theCSSPrefix.slice(0,1)===\'-\'){theDashedCSSPrefix=theCSSPrefix;theCSSPrefix=({\'-webkit-\':\'webkit\',\'-moz-\':\'Moz\',\'-ms-\':\'ms\',\'-o-\':\'O\'})[theCSSPrefix]}else{theDashedCSSPrefix=\'-\'+theCSSPrefix.toLowerCase()+\'-\'}};var polyfillRAF=function(){var requestAnimFrame=window.requestAnimationFrame||window[theCSSPrefix.toLowerCase()+\'RequestAnimationFrame\'];var lastTime=_now();if(_isMobile||!requestAnimFrame){requestAnimFrame=function(callback){var deltaTime=_now()-lastTime;var delay=Math.max(0,1000/60-deltaTime);window.setTimeout(function(){lastTime=_now();callback()},delay)}}\nreturn requestAnimFrame};var easings={begin:function(){return 0},end:function(){return 1},linear:function(p){return p},quadratic:function(p){return p*p},cubic:function(p){return p*p*p},swing:function(p){return(-Math.cos(p*Math.PI)/2)+0.5},sqrt:function(p){return Math.sqrt(p)},outCubic:function(p){return(Math.pow((p-1),3)+1)},bounce:function(p){var a;if(p<=0.5083){a=3}else if(p<=0.8489){a=9}else if(p<=0.96208){a=27}else if(p<=0.99981){a=91}else{return 1}\nreturn 1-Math.abs(3*Math.cos(p*a*1.028)/a)}};function Skrollr(options){documentElement=document.documentElement;body=document.body;detectCSSPrefix();_instance=this;options=options||{};_constants=options.constants||{};if(options.easing){for(var e in options.easing){easings[e]=options.easing[e]}}\n_edgeStrategy=options.edgeStrategy||\'set\';_listeners={beforerender:options.beforerender,render:options.render};_forceHeight=options.forceHeight!==!1;if(_forceHeight){_scale=options.scale||1}\n_smoothScrollingEnabled=options.smoothScrolling!==!1;_smoothScrollingDuration=options.smoothScrollingDuration||DEFAULT_SMOOTH_SCROLLING_DURATION;_smoothScrolling={targetTop:_instance.getScrollTop()};_isMobile=((options.mobileCheck||function(){return(/Android|iPhone|iPad|iPod|BlackBerry|Windows Phone/i).test(navigator.userAgent||navigator.vendor||window.opera)})());if(_isMobile){_skrollrBody=document.getElementById(\'skrollr-body\');if(_skrollrBody){_detect3DTransforms()}\n_initMobile();_updateClass(documentElement,[SKROLLR_CLASS,SKROLLR_MOBILE_CLASS],[NO_SKROLLR_CLASS])}else{_updateClass(documentElement,[SKROLLR_CLASS,SKROLLR_DESKTOP_CLASS],[NO_SKROLLR_CLASS])}\n_instance.refresh();_addEvent(window,\'resize orientationchange\',function(){var width=documentElement.clientWidth;var height=documentElement.clientHeight;if(height!==_lastViewportHeight||width!==_lastViewportWidth){_lastViewportHeight=height;_lastViewportWidth=width;_requestReflow=!0}});var requestAnimFrame=polyfillRAF();(function animloop(){_render();requestAnimFrame(animloop)}());return _instance}\nSkrollr.prototype.refresh=function(elements){var elementIndex;var elementsLength;var ignoreID=!1;if(elements===undefined){ignoreID=!0;_skrollables=[];_skrollableIdCounter=0;elements=document.getElementsByTagName(\'*\')}else{elements=[].concat(elements)}\nelementIndex=0;elementsLength=elements.length;for(;elementIndex<elementsLength;elementIndex++){var el=elements[elementIndex];var anchorTarget=el;var keyFrames=[];var smoothScrollThis=_smoothScrollingEnabled;var edgeStrategy=_edgeStrategy;if(!el.attributes){continue}\nvar attributeIndex=0;var attributesLength=el.attributes.length;for(;attributeIndex<attributesLength;attributeIndex++){var attr=el.attributes[attributeIndex];if(attr.name===\'data-anchor-target\'){anchorTarget=document.querySelector(attr.value);if(anchorTarget===null){throw \'Unable to find anchor target \"\'+attr.value+\'\"\'}\ncontinue}\nif(attr.name===\'data-smooth-scrolling\'){smoothScrollThis=attr.value!==\'off\';continue}\nif(attr.name===\'data-edge-strategy\'){edgeStrategy=attr.value;continue}\nvar match=attr.name.match(rxKeyframeAttribute);if(match===null){continue}\nvar constant=match[1];constant=constant&&_constants[constant.substr(1)]||0;var offset=(match[2]|0)+constant;var anchor1=match[3];var anchor2=match[4]||anchor1;var kf={offset:offset,props:attr.value,element:el};keyFrames.push(kf);if(!anchor1||anchor1===ANCHOR_START||anchor1===ANCHOR_END){kf.mode=\'absolute\';if(anchor1===ANCHOR_END){kf.isEnd=!0}else{kf.frame=offset*_scale;delete kf.offset}}else{kf.mode=\'relative\';kf.anchors=[anchor1,anchor2]}}\nif(!keyFrames.length){continue}\nvar styleAttr,classAttr;var id;if(!ignoreID&&SKROLLABLE_ID_DOM_PROPERTY in el){id=el[SKROLLABLE_ID_DOM_PROPERTY];styleAttr=_skrollables[id].styleAttr;classAttr=_skrollables[id].classAttr}else{id=(el[SKROLLABLE_ID_DOM_PROPERTY]=_skrollableIdCounter++);styleAttr=el.style.cssText;classAttr=_getClass(el)}\n_skrollables[id]={element:el,styleAttr:styleAttr,classAttr:classAttr,anchorTarget:anchorTarget,keyFrames:keyFrames,smoothScrolling:smoothScrollThis,edgeStrategy:edgeStrategy};_updateClass(el,[SKROLLABLE_CLASS],[])}\n_reflow();elementIndex=0;elementsLength=elements.length;for(;elementIndex<elementsLength;elementIndex++){var sk=_skrollables[elements[elementIndex][SKROLLABLE_ID_DOM_PROPERTY]];if(sk===undefined){continue}\n_parseProps(sk);_fillProps(sk)}\nreturn _instance};Skrollr.prototype.relativeToAbsolute=function(element,viewportAnchor,elementAnchor){var viewportHeight=documentElement.clientHeight;var box=element.getBoundingClientRect();var absolute=box.top;var boxHeight=box.bottom-box.top;if(viewportAnchor===ANCHOR_BOTTOM){absolute-=viewportHeight}else if(viewportAnchor===ANCHOR_CENTER){absolute-=viewportHeight/2}\nif(elementAnchor===ANCHOR_BOTTOM){absolute+=boxHeight}else if(elementAnchor===ANCHOR_CENTER){absolute+=boxHeight/2}\nabsolute+=_instance.getScrollTop();return(absolute+0.5)|0};Skrollr.prototype.animateTo=function(top,options){options=options||{};var now=_now();var scrollTop=_instance.getScrollTop();_scrollAnimation={startTop:scrollTop,topDiff:top-scrollTop,targetTop:top,duration:options.duration||DEFAULT_DURATION,startTime:now,endTime:now+(options.duration||DEFAULT_DURATION),easing:easings[options.easing||DEFAULT_EASING],done:options.done};if(!_scrollAnimation.topDiff){if(_scrollAnimation.done){_scrollAnimation.done.call(_instance,!1)}\n_scrollAnimation=undefined}\nreturn _instance};Skrollr.prototype.stopAnimateTo=function(){if(_scrollAnimation&&_scrollAnimation.done){_scrollAnimation.done.call(_instance,!0)}\n_scrollAnimation=undefined};Skrollr.prototype.isAnimatingTo=function(){return!!_scrollAnimation};Skrollr.prototype.setScrollTop=function(top,force){if(force===!0){_lastTop=top;_forceRender=!0}\nif(_isMobile){_mobileOffset=Math.min(Math.max(top,0),_maxKeyFrame)}else{window.scrollTo(0,top)}\nreturn _instance};Skrollr.prototype.getScrollTop=function(){if(_isMobile){return _mobileOffset}else{return window.pageYOffset||documentElement.scrollTop||body.scrollTop||0}};Skrollr.prototype.on=function(name,fn){_listeners[name]=fn;return _instance};Skrollr.prototype.off=function(name){delete _listeners[name];return _instance};var _initMobile=function(){var initialElement;var initialTouchY;var initialTouchX;var currentTouchY;var currentTouchX;var lastTouchY;var deltaY;var initialTouchTime;var currentTouchTime;var lastTouchTime;var deltaTime;_addEvent(documentElement,[EVENT_TOUCHSTART,EVENT_TOUCHMOVE,EVENT_TOUCHCANCEL,EVENT_TOUCHEND].join(\' \'),function(e){e.preventDefault();var touch=e.changedTouches[0];currentTouchY=touch.clientY;currentTouchX=touch.clientX;currentTouchTime=e.timeStamp;switch(e.type){case EVENT_TOUCHSTART:if(initialElement){initialElement.blur()}\n_instance.stopAnimateTo();initialElement=e.target;initialTouchY=lastTouchY=currentTouchY;initialTouchX=currentTouchX;initialTouchTime=currentTouchTime;break;case EVENT_TOUCHMOVE:deltaY=currentTouchY-lastTouchY;deltaTime=currentTouchTime-lastTouchTime;_instance.setScrollTop(_mobileOffset-deltaY,!0);lastTouchY=currentTouchY;lastTouchTime=currentTouchTime;break;default:case EVENT_TOUCHCANCEL:case EVENT_TOUCHEND:var distanceY=initialTouchY-currentTouchY;var distanceX=initialTouchX-currentTouchX;var distance2=distanceX*distanceX+distanceY*distanceY;if(distance2<49){initialElement.focus();initialElement.click();return}\ninitialElement=undefined;var speed=deltaY/deltaTime;speed=Math.max(Math.min(speed,3),-3);var duration=Math.abs(speed/MOBILE_DECELERATION);var targetOffset=speed*duration+0.5*MOBILE_DECELERATION*duration*duration;var targetTop=_instance.getScrollTop()-targetOffset;var targetRatio=0;if(targetTop>_maxKeyFrame){targetRatio=(_maxKeyFrame-targetTop)/targetOffset;targetTop=_maxKeyFrame}else if(targetTop<0){targetRatio=-targetTop/targetOffset;targetTop=0}\nduration=duration*(1-targetRatio);_instance.animateTo(targetTop,{easing:\'outCubic\',duration:duration});break}});window.scrollTo(0,0);documentElement.style.overflow=body.style.overflow=\'hidden\'};var _updateDependentKeyFrames=function(){var skrollable;var element;var anchorTarget;var keyFrames;var keyFrameIndex;var keyFramesLength;var kf;var skrollableIndex;var skrollablesLength;skrollableIndex=0;skrollablesLength=_skrollables.length;for(;skrollableIndex<skrollablesLength;skrollableIndex++){skrollable=_skrollables[skrollableIndex];element=skrollable.element;anchorTarget=skrollable.anchorTarget;keyFrames=skrollable.keyFrames;keyFrameIndex=0;keyFramesLength=keyFrames.length;for(;keyFrameIndex<keyFramesLength;keyFrameIndex++){kf=keyFrames[keyFrameIndex];if(kf.mode===\'relative\'){_reset(element);kf.frame=_instance.relativeToAbsolute(anchorTarget,kf.anchors[0],kf.anchors[1])-kf.offset;_reset(element,!0)}\nif(_forceHeight){if(!kf.isEnd&&kf.frame>_maxKeyFrame){_maxKeyFrame=kf.frame}}}}\n_maxKeyFrame=Math.max(_maxKeyFrame,_getDocumentHeight());skrollableIndex=0;skrollablesLength=_skrollables.length;for(;skrollableIndex<skrollablesLength;skrollableIndex++){skrollable=_skrollables[skrollableIndex];keyFrames=skrollable.keyFrames;keyFrameIndex=0;keyFramesLength=keyFrames.length;for(;keyFrameIndex<keyFramesLength;keyFrameIndex++){kf=keyFrames[keyFrameIndex];if(kf.isEnd){kf.frame=_maxKeyFrame-kf.offset}}\nskrollable.keyFrames.sort(_keyFrameComparator)}};var _calcSteps=function(fakeFrame,actualFrame){var skrollableIndex=0;var skrollablesLength=_skrollables.length;for(;skrollableIndex<skrollablesLength;skrollableIndex++){var skrollable=_skrollables[skrollableIndex];var element=skrollable.element;var frame=skrollable.smoothScrolling?fakeFrame:actualFrame;var frames=skrollable.keyFrames;var firstFrame=frames[0].frame;var lastFrame=frames[frames.length-1].frame;var beforeFirst=frame<firstFrame;var afterLast=frame>lastFrame;var firstOrLastFrame=frames[beforeFirst?0:frames.length-1];var key;var value;if(beforeFirst||afterLast){if(beforeFirst&&skrollable.edge===-1||afterLast&&skrollable.edge===1){continue}\n_updateClass(element,[beforeFirst?SKROLLABLE_BEFORE_CLASS:SKROLLABLE_AFTER_CLASS],[SKROLLABLE_BEFORE_CLASS,SKROLLABLE_BETWEEN_CLASS,SKROLLABLE_AFTER_CLASS]);skrollable.edge=beforeFirst?-1:1;switch(skrollable.edgeStrategy){case \'reset\':_reset(element);continue;case \'ease\':frame=firstOrLastFrame.frame;break;default:case \'set\':var props=firstOrLastFrame.props;for(key in props){if(hasProp.call(props,key)){value=_interpolateString(props[key].value);skrollr.setStyle(element,key,value)}}\ncontinue}}else{if(skrollable.edge!==0){_updateClass(element,[SKROLLABLE_CLASS,SKROLLABLE_BETWEEN_CLASS],[SKROLLABLE_BEFORE_CLASS,SKROLLABLE_AFTER_CLASS]);skrollable.edge=0}}\nvar keyFrameIndex=0;var framesLength=frames.length-1;for(;keyFrameIndex<framesLength;keyFrameIndex++){if(frame>=frames[keyFrameIndex].frame&&frame<=frames[keyFrameIndex+1].frame){var left=frames[keyFrameIndex];var right=frames[keyFrameIndex+1];for(key in left.props){if(hasProp.call(left.props,key)){var progress=(frame-left.frame)/(right.frame-left.frame);progress=left.props[key].easing(progress);value=_calcInterpolation(left.props[key].value,right.props[key].value,progress);value=_interpolateString(value);skrollr.setStyle(element,key,value)}}\nbreak}}}};var _render=function(){if(_requestReflow){_requestReflow=!1;_reflow()}\nvar renderTop=_instance.getScrollTop();var afterAnimationCallback;var now=_now();var progress;if(_scrollAnimation){if(now>=_scrollAnimation.endTime){renderTop=_scrollAnimation.targetTop;afterAnimationCallback=_scrollAnimation.done;_scrollAnimation=undefined}else{progress=_scrollAnimation.easing((now-_scrollAnimation.startTime)/_scrollAnimation.duration);renderTop=(_scrollAnimation.startTop+progress*_scrollAnimation.topDiff)|0}\n_instance.setScrollTop(renderTop,!0)}else if(!_isMobile){var smoothScrollingDiff=_smoothScrolling.targetTop-renderTop;if(smoothScrollingDiff){_smoothScrolling={startTop:_lastTop,topDiff:renderTop-_lastTop,targetTop:renderTop,startTime:_lastRenderCall,endTime:_lastRenderCall+_smoothScrollingDuration}}\nif(now<=_smoothScrolling.endTime){progress=easings.sqrt((now-_smoothScrolling.startTime)/_smoothScrollingDuration);renderTop=(_smoothScrolling.startTop+progress*_smoothScrolling.topDiff)|0}}\nif(_isMobile&&_skrollrBody){skrollr.setStyle(_skrollrBody,\'transform\',\'translate(0, \'+ -(_mobileOffset)+\'px) \'+_translateZ)}\nif(_forceRender||_lastTop!==renderTop){_direction=(renderTop>=_lastTop)?\'down\':\'up\';_forceRender=!1;var listenerParams={curTop:renderTop,lastTop:_lastTop,maxTop:_maxKeyFrame,direction:_direction};var continueRendering=_listeners.beforerender&&_listeners.beforerender.call(_instance,listenerParams);if(continueRendering!==!1){_calcSteps(renderTop,_instance.getScrollTop());_lastTop=renderTop;if(_listeners.render){_listeners.render.call(_instance,listenerParams)}}\nif(afterAnimationCallback){afterAnimationCallback.call(_instance,!1)}}\n_lastRenderCall=now};var _parseProps=function(skrollable){var keyFrameIndex=0;var keyFramesLength=skrollable.keyFrames.length;for(;keyFrameIndex<keyFramesLength;keyFrameIndex++){var frame=skrollable.keyFrames[keyFrameIndex];var easing;var value;var prop;var props={};var match;while((match=rxPropValue.exec(frame.props))!==null){prop=match[1];value=match[2];easing=prop.match(rxPropEasing);if(easing!==null){prop=easing[1];easing=easing[2]}else{easing=DEFAULT_EASING}\nvalue=value.indexOf(\'!\')?_parseProp(value):[value.slice(1)];props[prop]={value:value,easing:easings[easing]}}\nframe.props=props}};var _parseProp=function(val){var numbers=[];rxRGBAIntegerColor.lastIndex=0;val=val.replace(rxRGBAIntegerColor,function(rgba){return rgba.replace(rxNumericValue,function(n){return n/255*100+\'%\'})});if(theDashedCSSPrefix){rxGradient.lastIndex=0;val=val.replace(rxGradient,function(s){return theDashedCSSPrefix+s})}\nval=val.replace(rxNumericValue,function(n){numbers.push(+n);return\'{?}\'});numbers.unshift(val);return numbers};var _fillProps=function(sk){var propList={};var keyFrameIndex;var keyFramesLength;keyFrameIndex=0;keyFramesLength=sk.keyFrames.length;for(;keyFrameIndex<keyFramesLength;keyFrameIndex++){_fillPropForFrame(sk.keyFrames[keyFrameIndex],propList)}\npropList={};keyFrameIndex=sk.keyFrames.length-1;for(;keyFrameIndex>=0;keyFrameIndex--){_fillPropForFrame(sk.keyFrames[keyFrameIndex],propList)}};var _fillPropForFrame=function(frame,propList){var key;for(key in propList){if(!hasProp.call(frame.props,key)){frame.props[key]=propList[key]}}\nfor(key in frame.props){propList[key]=frame.props[key]}};var _calcInterpolation=function(val1,val2,progress){var valueIndex;var val1Length=val1.length;if(val1Length!==val2.length){throw \'Can\\\'t interpolate between \"\'+val1[0]+\'\" and \"\'+val2[0]+\'\"\'}\nvar interpolated=[val1[0]];valueIndex=1;for(;valueIndex<val1Length;valueIndex++){interpolated[valueIndex]=val1[valueIndex]+((val2[valueIndex]-val1[valueIndex])*progress)}\nreturn interpolated};var _interpolateString=function(val){var valueIndex=1;rxInterpolateString.lastIndex=0;return val[0].replace(rxInterpolateString,function(){return val[valueIndex++]})};var _reset=function(elements,undo){elements=[].concat(elements);var skrollable;var element;var elementsIndex=0;var elementsLength=elements.length;for(;elementsIndex<elementsLength;elementsIndex++){element=elements[elementsIndex];skrollable=_skrollables[element[SKROLLABLE_ID_DOM_PROPERTY]];if(!skrollable){continue}\nif(undo){element.style.cssText=skrollable.dirtyStyleAttr;_updateClass(element,skrollable.dirtyClassAttr)}else{skrollable.dirtyStyleAttr=element.style.cssText;skrollable.dirtyClassAttr=_getClass(element);element.style.cssText=skrollable.styleAttr;_updateClass(element,skrollable.classAttr)}}};var _detect3DTransforms=function(){_translateZ=\'translateZ(0)\';skrollr.setStyle(_skrollrBody,\'transform\',_translateZ);var computedStyle=getStyle(_skrollrBody);var computedTransform=computedStyle.getPropertyValue(\'transform\');var computedTransformWithPrefix=computedStyle.getPropertyValue(theDashedCSSPrefix+\'transform\');var has3D=(computedTransform&&computedTransform!==\'none\')||(computedTransformWithPrefix&&computedTransformWithPrefix!==\'none\');if(!has3D){_translateZ=\'\'}};skrollr.setStyle=function(el,prop,val){var style=el.style;prop=prop.replace(rxCamelCase,rxCamelCaseFn).replace(\'-\',\'\');if(prop===\'zIndex\'){style[prop]=\'\'+(val|0)}else if(prop===\'float\'){style.styleFloat=style.cssFloat=val}else{try{if(theCSSPrefix){style[theCSSPrefix+prop.slice(0,1).toUpperCase()+prop.slice(1)]=val}\nstyle[prop]=val}catch(ignore){}}};var _addEvent=skrollr.addEvent=function(element,names,callback){var intermediate=function(e){e=e||window.event;if(!e.target){e.target=e.srcElement}\nif(!e.preventDefault){e.preventDefault=function(){e.returnValue=!1}}\nreturn callback.call(this,e)};names=names.split(\' \');var nameCounter=0;var namesLength=names.length;for(;nameCounter<namesLength;nameCounter++){if(element.addEventListener){element.addEventListener(names[nameCounter],callback,!1)}else{element.attachEvent(\'on\'+names[nameCounter],intermediate)}}};var _reflow=function(){var pos=_instance.getScrollTop();_maxKeyFrame=0;if(_forceHeight&&!_isMobile){body.style.height=\'auto\'}\n_updateDependentKeyFrames();if(_forceHeight&&!_isMobile){body.style.height=(_maxKeyFrame+documentElement.clientHeight)+\'px\'}\nif(_isMobile){_instance.setScrollTop(Math.min(_instance.getScrollTop(),_maxKeyFrame))}else{_instance.setScrollTop(pos,!0)}\n_forceRender=!0};var _getDocumentHeight=function(){var skrollrBodyHeight=(_skrollrBody&&_skrollrBody.offsetHeight||0);var bodyHeight=Math.max(skrollrBodyHeight,body.scrollHeight,body.offsetHeight,documentElement.scrollHeight,documentElement.offsetHeight,documentElement.clientHeight);return bodyHeight-documentElement.clientHeight};var _getClass=function(element){var prop=\'className\';if(window.SVGElement&&element instanceof window.SVGElement){element=element[prop];prop=\'baseVal\'}\nreturn element[prop]};var _updateClass=function(element,add,remove){var prop=\'className\';if(window.SVGElement&&element instanceof window.SVGElement){element=element[prop];prop=\'baseVal\'}\nif(remove===undefined){element[prop]=add;return}\nvar val=element[prop];var classRemoveIndex=0;var removeLength=remove.length;for(;classRemoveIndex<removeLength;classRemoveIndex++){val=_untrim(val).replace(_untrim(remove[classRemoveIndex]),\' \')}\nval=_trim(val);var classAddIndex=0;var addLength=add.length;for(;classAddIndex<addLength;classAddIndex++){if(_untrim(val).indexOf(_untrim(add[classAddIndex]))===-1){val+=\' \'+add[classAddIndex]}}\nelement[prop]=_trim(val)};var _trim=function(a){return a.replace(rxTrim,\'\')};var _untrim=function(a){return\' \'+a+\' \'};var _now=Date.now||function(){return+new Date()};var _keyFrameComparator=function(a,b){return a.frame-b.frame};var _instance;var _skrollables;var _skrollrBody;var _listeners;var _forceHeight;var _maxKeyFrame=0;var _scale=1;var _constants;var _direction=\'down\';var _lastTop=-1;var _lastRenderCall=_now();var _lastViewportWidth=0;var _lastViewportHeight=0;var _requestReflow=!1;var _scrollAnimation;var _smoothScrollingEnabled;var _smoothScrollingDuration;var _smoothScrolling;var _forceRender;var _skrollableIdCounter=0;var _edgeStrategy;var _isMobile=!1;var _mobileOffset=0;var _translateZ}(window,document))','26698027c15688dac01073a82454353c',1,1,'2021-08-05 17:27:23','2021-08-16 14:31:31'),(62,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/Chart.min.js?ver=5.8','js','','window.Chart=function(context){var chart=this;var animationOptions={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-1*t*(t-2)},easeInOutQuad:function(t){if((t/=1/2)<1)return 1/2*t*t;return-1/2*((--t)*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1*((t=t/1-1)*t*t+1)},easeInOutCubic:function(t){if((t/=1/2)<1)return 1/2*t*t*t;return 1/2*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-1*((t=t/1-1)*t*t*t-1)},easeInOutQuart:function(t){if((t/=1/2)<1)return 1/2*t*t*t*t;return-1/2*((t-=2)*t*t*t-2)},easeInQuint:function(t){return 1*(t/=1)*t*t*t*t},easeOutQuint:function(t){return 1*((t=t/1-1)*t*t*t*t+1)},easeInOutQuint:function(t){if((t/=1/2)<1)return 1/2*t*t*t*t*t;return 1/2*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return-1*Math.cos(t/1*(Math.PI/2))+1},easeOutSine:function(t){return 1*Math.sin(t/1*(Math.PI/2))},easeInOutSine:function(t){return-1/2*(Math.cos(Math.PI*t/1)-1)},easeInExpo:function(t){return(t==0)?1:1*Math.pow(2,10*(t/1-1))},easeOutExpo:function(t){return(t==1)?1:1*(-Math.pow(2,-10*t/1)+1)},easeInOutExpo:function(t){if(t==0)return 0;if(t==1)return 1;if((t/=1/2)<1)return 1/2*Math.pow(2,10*(t-1));return 1/2*(-Math.pow(2,-10*--t)+2)},easeInCirc:function(t){if(t>=1)return t;return-1*(Math.sqrt(1-(t/=1)*t)-1)},easeOutCirc:function(t){return 1*Math.sqrt(1-(t=t/1-1)*t)},easeInOutCirc:function(t){if((t/=1/2)<1)return-1/2*(Math.sqrt(1-t*t)-1);return 1/2*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var s=1.70158;var p=0;var a=1;if(t==0)return 0;if((t/=1)==1)return 1;if(!p)p=1*.3;if(a<Math.abs(1)){a=1;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(1/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*1-s)*(2*Math.PI)/p))},easeOutElastic:function(t){var s=1.70158;var p=0;var a=1;if(t==0)return 0;if((t/=1)==1)return 1;if(!p)p=1*.3;if(a<Math.abs(1)){a=1;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(1/a);return a*Math.pow(2,-10*t)*Math.sin((t*1-s)*(2*Math.PI)/p)+1},easeInOutElastic:function(t){var s=1.70158;var p=0;var a=1;if(t==0)return 0;if((t/=1/2)==2)return 1;if(!p)p=1*(.3*1.5);if(a<Math.abs(1)){a=1;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(1/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*1-s)*(2*Math.PI)/p));return a*Math.pow(2,-10*(t-=1))*Math.sin((t*1-s)*(2*Math.PI)/p)*.5+1},easeInBack:function(t){var s=1.70158;return 1*(t/=1)*t*((s+1)*t-s)},easeOutBack:function(t){var s=1.70158;return 1*((t=t/1-1)*t*((s+1)*t+s)+1)},easeInOutBack:function(t){var s=1.70158;if((t/=1/2)<1)return 1/2*(t*t*(((s*=(1.525))+1)*t-s));return 1/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)},easeInBounce:function(t){return 1-animationOptions.easeOutBounce(1-t)},easeOutBounce:function(t){if((t/=1)<(1/2.75)){return 1*(7.5625*t*t)}else if(t<(2/2.75)){return 1*(7.5625*(t-=(1.5/2.75))*t+.75)}else if(t<(2.5/2.75)){return 1*(7.5625*(t-=(2.25/2.75))*t+.9375)}else{return 1*(7.5625*(t-=(2.625/2.75))*t+.984375)}},easeInOutBounce:function(t){if(t<1/2)return animationOptions.easeInBounce(t*2)*.5;return animationOptions.easeOutBounce(t*2-1)*.5+1*.5}};var width=context.canvas.width;var height=context.canvas.height;if(window.devicePixelRatio){context.canvas.style.width=width+\"px\";context.canvas.style.height=height+\"px\";context.canvas.height=height*window.devicePixelRatio;context.canvas.width=width*window.devicePixelRatio;context.scale(window.devicePixelRatio,window.devicePixelRatio)}this.PolarArea=function(data,options){chart.PolarArea.defaults={scaleOverlay:!0,scaleOverride:!1,scaleSteps:null,scaleStepWidth:null,scaleStartValue:null,scaleShowLine:!0,scaleLineColor:\"rgba(0,0,0,.1)\",scaleLineWidth:1,scaleShowLabels:!0,scaleLabel:\"<%=value%>\",scaleFontFamily:\"\'Arial\'\",scaleFontSize:12,scaleFontStyle:\"normal\",scaleFontColor:\"#666\",scaleShowLabelBackdrop:!0,scaleBackdropColor:\"rgba(255,255,255,0.75)\",scaleBackdropPaddingY:2,scaleBackdropPaddingX:2,segmentShowStroke:!0,segmentStrokeColor:\"#fff\",segmentStrokeWidth:2,animation:!0,animationSteps:100,animationEasing:\"easeOutBounce\",animateRotate:!0,animateScale:!1,onAnimationComplete:null};var config=(options)?mergeChartConfig(chart.PolarArea.defaults,options):chart.PolarArea.defaults;return new PolarArea(data,config,context)};this.Radar=function(data,options){chart.Radar.defaults={scaleOverlay:!1,scaleOverride:!1,scaleSteps:null,scaleStepWidth:null,scaleStartValue:null,scaleShowLine:!0,scaleLineColor:\"rgba(0,0,0,.1)\",scaleLineWidth:1,scaleShowLabels:!1,scaleLabel:\"<%=value%>\",scaleFontFamily:\"\'Arial\'\",scaleFontSize:12,scaleFontStyle:\"normal\",scaleFontColor:\"#666\",scaleShowLabelBackdrop:!0,scaleBackdropColor:\"rgba(255,255,255,0.75)\",scaleBackdropPaddingY:2,scaleBackdropPaddingX:2,angleShowLineOut:!0,angleLineColor:\"rgba(0,0,0,.1)\",angleLineWidth:1,pointLabelFontFamily:\"\'Arial\'\",pointLabelFontStyle:\"normal\",pointLabelFontSize:12,pointLabelFontColor:\"#666\",pointDot:!0,pointDotRadius:3,pointDotStrokeWidth:1,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,animation:!0,animationSteps:60,animationEasing:\"easeOutQuart\",onAnimationComplete:null};var config=(options)?mergeChartConfig(chart.Radar.defaults,options):chart.Radar.defaults;return new Radar(data,config,context)};this.Pie=function(data,options){chart.Pie.defaults={segmentShowStroke:!0,segmentStrokeColor:\"#fff\",segmentStrokeWidth:2,animation:!0,animationSteps:100,animationEasing:\"easeOutBounce\",animateRotate:!0,animateScale:!1,onAnimationComplete:null};var config=(options)?mergeChartConfig(chart.Pie.defaults,options):chart.Pie.defaults;return new Pie(data,config,context)};this.Doughnut=function(data,options){chart.Doughnut.defaults={segmentShowStroke:!0,segmentStrokeColor:\"#fff\",segmentStrokeWidth:2,percentageInnerCutout:50,animation:!0,animationSteps:100,animationEasing:\"easeOutBounce\",animateRotate:!0,animateScale:!1,onAnimationComplete:null};var config=(options)?mergeChartConfig(chart.Doughnut.defaults,options):chart.Doughnut.defaults;return new Doughnut(data,config,context)};this.Line=function(data,options){chart.Line.defaults={scaleOverlay:!1,scaleOverride:!1,scaleSteps:null,scaleStepWidth:null,scaleStartValue:null,scaleLineColor:\"rgba(0,0,0,.1)\",scaleLineWidth:1,scaleShowLabels:!0,scaleLabel:\"<%=value%>\",scaleFontFamily:\"\'Arial\'\",scaleFontSize:12,scaleFontStyle:\"normal\",scaleFontColor:\"#666\",scaleShowGridLines:!0,scaleGridLineColor:\"rgba(0,0,0,.05)\",scaleGridLineWidth:1,bezierCurve:!0,pointDot:!0,pointDotRadius:4,pointDotStrokeWidth:2,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,animation:!0,animationSteps:60,animationEasing:\"easeOutQuart\",onAnimationComplete:null};var config=(options)?mergeChartConfig(chart.Line.defaults,options):chart.Line.defaults;return new Line(data,config,context)};this.Bar=function(data,options){chart.Bar.defaults={scaleOverlay:!1,scaleOverride:!1,scaleSteps:null,scaleStepWidth:null,scaleStartValue:null,scaleLineColor:\"rgba(0,0,0,.1)\",scaleLineWidth:1,scaleShowLabels:!0,scaleLabel:\"<%=value%>\",scaleFontFamily:\"\'Arial\'\",scaleFontSize:12,scaleFontStyle:\"normal\",scaleFontColor:\"#666\",scaleShowGridLines:!0,scaleGridLineColor:\"rgba(0,0,0,.05)\",scaleGridLineWidth:1,barShowStroke:!0,barStrokeWidth:2,barValueSpacing:5,barDatasetSpacing:1,animation:!0,animationSteps:60,animationEasing:\"easeOutQuart\",onAnimationComplete:null};var config=(options)?mergeChartConfig(chart.Bar.defaults,options):chart.Bar.defaults;return new Bar(data,config,context)};var clear=function(c){c.clearRect(0,0,width,height)};var PolarArea=function(data,config,ctx){var maxSize,scaleHop,calculatedScale,labelHeight,scaleHeight,valueBounds,labelTemplateString;calculateDrawingSizes();valueBounds=getValueBounds();labelTemplateString=(config.scaleShowLabels)?config.scaleLabel:null;if(!config.scaleOverride){calculatedScale=calculateScale(scaleHeight,valueBounds.maxSteps,valueBounds.minSteps,valueBounds.maxValue,valueBounds.minValue,labelTemplateString)}else{calculatedScale={steps:config.scaleSteps,stepValue:config.scaleStepWidth,graphMin:config.scaleStartValue,labels:[]};populateLabels(labelTemplateString,calculatedScale.labels,calculatedScale.steps,config.scaleStartValue,config.scaleStepWidth)};scaleHop=maxSize/(calculatedScale.steps);animationLoop(config,drawScale,drawAllSegments,ctx);function calculateDrawingSizes(){maxSize=(Min([width,height])/2);maxSize-=Max([config.scaleFontSize*0.5,config.scaleLineWidth*0.5]);labelHeight=config.scaleFontSize*2;if(config.scaleShowLabelBackdrop){labelHeight+=(2*config.scaleBackdropPaddingY);maxSize-=config.scaleBackdropPaddingY*1.5}scaleHeight=maxSize;labelHeight=Default(labelHeight,5)}function drawScale(){for(var i=0;i<calculatedScale.steps;i++){if(config.scaleShowLine){ctx.beginPath();ctx.arc(width/2,height/2,scaleHop*(i+1),0,(Math.PI*2),!0);ctx.strokeStyle=config.scaleLineColor;ctx.lineWidth=config.scaleLineWidth;ctx.stroke()}if(config.scaleShowLabels){ctx.textAlign=\"center\";ctx.font=config.scaleFontStyle+\" \"+config.scaleFontSize+\"px \"+config.scaleFontFamily;var label=calculatedScale.labels[i];if(config.scaleShowLabelBackdrop){var textWidth=ctx.measureText(label).width;ctx.fillStyle=config.scaleBackdropColor;ctx.beginPath();ctx.rect(Math.round(width/2-textWidth/2-config.scaleBackdropPaddingX),Math.round(height/2-(scaleHop*(i+1))-config.scaleFontSize*0.5-config.scaleBackdropPaddingY),Math.round(textWidth+(config.scaleBackdropPaddingX*2)),Math.round(config.scaleFontSize+(config.scaleBackdropPaddingY*2)));ctx.fill()}ctx.textBaseline=\"middle\";ctx.fillStyle=config.scaleFontColor;ctx.fillText(label,width/2,height/2-(scaleHop*(i+1)))}}}function drawAllSegments(animationDecimal){var startAngle=-Math.PI/2,angleStep=(Math.PI*2)/data.length,scaleAnimation=1,rotateAnimation=1;if(config.animation){if(config.animateScale){scaleAnimation=animationDecimal}if(config.animateRotate){rotateAnimation=animationDecimal}}for(var i=0;i<data.length;i++){ctx.beginPath();ctx.arc(width/2,height/2,scaleAnimation*calculateOffset(data[i].value,calculatedScale,scaleHop),startAngle,startAngle+rotateAnimation*angleStep,!1);ctx.lineTo(width/2,height/2);ctx.closePath();ctx.fillStyle=data[i].color;ctx.fill();if(config.segmentShowStroke){ctx.strokeStyle=config.segmentStrokeColor;ctx.lineWidth=config.segmentStrokeWidth;ctx.stroke()}startAngle+=rotateAnimation*angleStep}}function getValueBounds(){var upperValue=Number.MIN_VALUE;var lowerValue=Number.MAX_VALUE;for(var i=0;i<data.length;i++){if(data[i].value>upperValue){upperValue=data[i].value}if(data[i].value<lowerValue){lowerValue=data[i].value}};var maxSteps=Math.floor((scaleHeight/(labelHeight*0.66)));var minSteps=Math.floor((scaleHeight/labelHeight*0.5));return{maxValue:upperValue,minValue:lowerValue,maxSteps:maxSteps,minSteps:minSteps}}};var Radar=function(data,config,ctx){var maxSize,scaleHop,calculatedScale,labelHeight,scaleHeight,valueBounds,labelTemplateString;if(!data.labels)data.labels=[];calculateDrawingSizes();var valueBounds=getValueBounds();labelTemplateString=(config.scaleShowLabels)?config.scaleLabel:null;if(!config.scaleOverride){calculatedScale=calculateScale(scaleHeight,valueBounds.maxSteps,valueBounds.minSteps,valueBounds.maxValue,valueBounds.minValue,labelTemplateString)}else{calculatedScale={steps:config.scaleSteps,stepValue:config.scaleStepWidth,graphMin:config.scaleStartValue,labels:[]};populateLabels(labelTemplateString,calculatedScale.labels,calculatedScale.steps,config.scaleStartValue,config.scaleStepWidth)}scaleHop=maxSize/(calculatedScale.steps);animationLoop(config,drawScale,drawAllDataPoints,ctx);function drawAllDataPoints(animationDecimal){var rotationDegree=(2*Math.PI)/data.datasets[0].data.length;ctx.save();ctx.translate(width/2,height/2);for(var i=0;i<data.datasets.length;i++){ctx.beginPath();ctx.moveTo(0,animationDecimal*(-1*calculateOffset(data.datasets[i].data[0],calculatedScale,scaleHop)));for(var j=1;j<data.datasets[i].data.length;j++){ctx.rotate(rotationDegree);ctx.lineTo(0,animationDecimal*(-1*calculateOffset(data.datasets[i].data[j],calculatedScale,scaleHop)))}ctx.closePath();ctx.fillStyle=data.datasets[i].fillColor;ctx.strokeStyle=data.datasets[i].strokeColor;ctx.lineWidth=config.datasetStrokeWidth;ctx.fill();ctx.stroke();if(config.pointDot){ctx.fillStyle=data.datasets[i].pointColor;ctx.strokeStyle=data.datasets[i].pointStrokeColor;ctx.lineWidth=config.pointDotStrokeWidth;for(var k=0;k<data.datasets[i].data.length;k++){ctx.rotate(rotationDegree);ctx.beginPath();ctx.arc(0,animationDecimal*(-1*calculateOffset(data.datasets[i].data[k],calculatedScale,scaleHop)),config.pointDotRadius,2*Math.PI,!1);ctx.fill();ctx.stroke()}}ctx.rotate(rotationDegree)}ctx.restore()}function drawScale(){var rotationDegree=(2*Math.PI)/data.datasets[0].data.length;ctx.save();ctx.translate(width/2,height/2);if(config.angleShowLineOut){ctx.strokeStyle=config.angleLineColor;ctx.lineWidth=config.angleLineWidth;for(var h=0;h<data.datasets[0].data.length;h++){ctx.rotate(rotationDegree);ctx.beginPath();ctx.moveTo(0,0);ctx.lineTo(0,-maxSize);ctx.stroke()}}for(var i=0;i<calculatedScale.steps;i++){ctx.beginPath();if(config.scaleShowLine){ctx.strokeStyle=config.scaleLineColor;ctx.lineWidth=config.scaleLineWidth;ctx.moveTo(0,-scaleHop*(i+1));for(var j=0;j<data.datasets[0].data.length;j++){ctx.rotate(rotationDegree);ctx.lineTo(0,-scaleHop*(i+1))}ctx.closePath();ctx.stroke()}if(config.scaleShowLabels){ctx.textAlign=\'center\';ctx.font=config.scaleFontStyle+\" \"+config.scaleFontSize+\"px \"+config.scaleFontFamily;ctx.textBaseline=\"middle\";if(config.scaleShowLabelBackdrop){var textWidth=ctx.measureText(calculatedScale.labels[i]).width;ctx.fillStyle=config.scaleBackdropColor;ctx.beginPath();ctx.rect(Math.round(-textWidth/2-config.scaleBackdropPaddingX),Math.round((-scaleHop*(i+1))-config.scaleFontSize*0.5-config.scaleBackdropPaddingY),Math.round(textWidth+(config.scaleBackdropPaddingX*2)),Math.round(config.scaleFontSize+(config.scaleBackdropPaddingY*2)));ctx.fill()}ctx.fillStyle=config.scaleFontColor;ctx.fillText(calculatedScale.labels[i],0,-scaleHop*(i+1))}}for(var k=0;k<data.labels.length;k++){ctx.font=config.pointLabelFontStyle+\" \"+config.pointLabelFontSize+\"px \"+config.pointLabelFontFamily;ctx.fillStyle=config.pointLabelFontColor;var opposite=Math.sin(rotationDegree*k)*(maxSize+config.pointLabelFontSize);var adjacent=Math.cos(rotationDegree*k)*(maxSize+config.pointLabelFontSize);if(rotationDegree*k==Math.PI||rotationDegree*k==0){ctx.textAlign=\"center\"}else if(rotationDegree*k>Math.PI){ctx.textAlign=\"right\"}else{ctx.textAlign=\"left\"}ctx.textBaseline=\"middle\";ctx.fillText(data.labels[k],opposite,-adjacent)}ctx.restore()};function calculateDrawingSizes(){maxSize=(Min([width,height])/2);labelHeight=config.scaleFontSize*2;var labelLength=0;for(var i=0;i<data.labels.length;i++){ctx.font=config.pointLabelFontStyle+\" \"+config.pointLabelFontSize+\"px \"+config.pointLabelFontFamily;var textMeasurement=ctx.measureText(data.labels[i]).width;if(textMeasurement>labelLength)labelLength=textMeasurement}maxSize-=Max([labelLength,((config.pointLabelFontSize/2)*1.5)]);maxSize-=config.pointLabelFontSize;maxSize=CapValue(maxSize,null,0);scaleHeight=maxSize;labelHeight=Default(labelHeight,5)};function getValueBounds(){var upperValue=Number.MIN_VALUE;var lowerValue=Number.MAX_VALUE;for(var i=0;i<data.datasets.length;i++){for(var j=0;j<data.datasets[i].data.length;j++){if(data.datasets[i].data[j]>upperValue){upperValue=data.datasets[i].data[j]}if(data.datasets[i].data[j]<lowerValue){lowerValue=data.datasets[i].data[j]}}}var maxSteps=Math.floor((scaleHeight/(labelHeight*0.66)));var minSteps=Math.floor((scaleHeight/labelHeight*0.5));return{maxValue:upperValue,minValue:lowerValue,maxSteps:maxSteps,minSteps:minSteps}}};var Pie=function(data,config,ctx){var segmentTotal=0;var pieRadius=Min([height/2,width/2])-5;for(var i=0;i<data.length;i++){segmentTotal+=data[i].value}animationLoop(config,null,drawPieSegments,ctx);function drawPieSegments(animationDecimal){var cumulativeAngle=-Math.PI/2,scaleAnimation=1,rotateAnimation=1;if(config.animation){if(config.animateScale){scaleAnimation=animationDecimal}if(config.animateRotate){rotateAnimation=animationDecimal}}for(var i=0;i<data.length;i++){var segmentAngle=rotateAnimation*((data[i].value/segmentTotal)*(Math.PI*2));ctx.beginPath();ctx.arc(width/2,height/2,scaleAnimation*pieRadius,cumulativeAngle,cumulativeAngle+segmentAngle);ctx.lineTo(width/2,height/2);ctx.closePath();ctx.fillStyle=data[i].color;ctx.fill();if(config.segmentShowStroke){ctx.lineWidth=config.segmentStrokeWidth;ctx.strokeStyle=config.segmentStrokeColor;ctx.stroke()}cumulativeAngle+=segmentAngle}}};var Doughnut=function(data,config,ctx){var segmentTotal=0;var doughnutRadius=Min([height/2,width/2])-5;var cutoutRadius=doughnutRadius*(config.percentageInnerCutout/100);for(var i=0;i<data.length;i++){segmentTotal+=data[i].value}animationLoop(config,null,drawPieSegments,ctx);function drawPieSegments(animationDecimal){var cumulativeAngle=-Math.PI/2,scaleAnimation=1,rotateAnimation=1;if(config.animation){if(config.animateScale){scaleAnimation=animationDecimal}if(config.animateRotate){rotateAnimation=animationDecimal}}for(var i=0;i<data.length;i++){var segmentAngle=rotateAnimation*((data[i].value/segmentTotal)*(Math.PI*2));ctx.beginPath();ctx.arc(width/2,height/2,scaleAnimation*doughnutRadius,cumulativeAngle,cumulativeAngle+segmentAngle,!1);ctx.arc(width/2,height/2,scaleAnimation*cutoutRadius,cumulativeAngle+segmentAngle,cumulativeAngle,!0);ctx.closePath();ctx.fillStyle=data[i].color;ctx.fill();if(config.segmentShowStroke){ctx.lineWidth=config.segmentStrokeWidth;ctx.strokeStyle=config.segmentStrokeColor;ctx.stroke()}cumulativeAngle+=segmentAngle}}};var Line=function(data,config,ctx){var maxSize,scaleHop,calculatedScale,labelHeight,scaleHeight,valueBounds,labelTemplateString,valueHop,widestXLabel,xAxisLength,yAxisPosX,xAxisPosY,rotateLabels=0;calculateDrawingSizes();valueBounds=getValueBounds();labelTemplateString=(config.scaleShowLabels)?config.scaleLabel:\"\";if(!config.scaleOverride){calculatedScale=calculateScale(scaleHeight,valueBounds.maxSteps,valueBounds.minSteps,valueBounds.maxValue,valueBounds.minValue,labelTemplateString)}else{calculatedScale={steps:config.scaleSteps,stepValue:config.scaleStepWidth,graphMin:config.scaleStartValue,labels:[]};populateLabels(labelTemplateString,calculatedScale.labels,calculatedScale.steps,config.scaleStartValue,config.scaleStepWidth)}scaleHop=Math.floor(scaleHeight/calculatedScale.steps);calculateXAxisSize();animationLoop(config,drawScale,drawLines,ctx);function drawLines(animPc){for(var i=0;i<data.datasets.length;i++){ctx.strokeStyle=data.datasets[i].strokeColor;ctx.lineWidth=config.datasetStrokeWidth;ctx.beginPath();ctx.moveTo(yAxisPosX,xAxisPosY-animPc*(calculateOffset(data.datasets[i].data[0],calculatedScale,scaleHop)));for(var j=1;j<data.datasets[i].data.length;j++){if(config.bezierCurve){ctx.bezierCurveTo(xPos(j-0.5),yPos(i,j-1),xPos(j-0.5),yPos(i,j),xPos(j),yPos(i,j))}else{ctx.lineTo(xPos(j),yPos(i,j))}}ctx.stroke();if(config.datasetFill){ctx.lineTo(yAxisPosX+(valueHop*(data.datasets[i].data.length-1)),xAxisPosY);ctx.lineTo(yAxisPosX,xAxisPosY);ctx.closePath();ctx.fillStyle=data.datasets[i].fillColor;ctx.fill()}else{ctx.closePath()}if(config.pointDot){ctx.fillStyle=data.datasets[i].pointColor;ctx.strokeStyle=data.datasets[i].pointStrokeColor;ctx.lineWidth=config.pointDotStrokeWidth;for(var k=0;k<data.datasets[i].data.length;k++){ctx.beginPath();ctx.arc(yAxisPosX+(valueHop*k),xAxisPosY-animPc*(calculateOffset(data.datasets[i].data[k],calculatedScale,scaleHop)),config.pointDotRadius,0,Math.PI*2,!0);ctx.fill();ctx.stroke()}}}function yPos(dataSet,iteration){return xAxisPosY-animPc*(calculateOffset(data.datasets[dataSet].data[iteration],calculatedScale,scaleHop))}function xPos(iteration){return yAxisPosX+(valueHop*iteration)}}function drawScale(){ctx.lineWidth=config.scaleLineWidth;ctx.strokeStyle=config.scaleLineColor;ctx.beginPath();ctx.moveTo(width-widestXLabel/2,xAxisPosY);ctx.lineTo(width-(widestXLabel/2)-xAxisLength,xAxisPosY);ctx.stroke();if(rotateLabels>0){ctx.save();ctx.textAlign=\"right\"}else{ctx.textAlign=\"center\"}ctx.fillStyle=config.scaleFontColor;for(var i=0;i<data.labels.length;i++){ctx.save();if(rotateLabels>0){ctx.translate(yAxisPosX+i*valueHop,xAxisPosY+config.scaleFontSize);ctx.rotate(-(rotateLabels*(Math.PI/180)));ctx.fillText(data.labels[i],0,0);ctx.restore()}else{ctx.fillText(data.labels[i],yAxisPosX+i*valueHop,xAxisPosY+config.scaleFontSize+3)}ctx.beginPath();ctx.moveTo(yAxisPosX+i*valueHop,xAxisPosY+3);if(config.scaleShowGridLines&&i>0){ctx.lineWidth=config.scaleGridLineWidth;ctx.strokeStyle=config.scaleGridLineColor}else{ctx.lineTo(yAxisPosX+i*valueHop,xAxisPosY+3)}ctx.stroke()}ctx.lineWidth=config.scaleLineWidth;ctx.strokeStyle=config.scaleLineColor;ctx.beginPath();ctx.moveTo(yAxisPosX,xAxisPosY);ctx.lineTo(yAxisPosX,0);ctx.stroke();ctx.textAlign=\"right\";ctx.textBaseline=\"middle\";for(var j=0;j<calculatedScale.steps;j++){ctx.beginPath();ctx.moveTo(yAxisPosX,xAxisPosY-((j+1)*scaleHop));if(config.scaleShowGridLines){ctx.lineWidth=config.scaleGridLineWidth;ctx.strokeStyle=config.scaleGridLineColor;ctx.lineTo(yAxisPosX+xAxisLength,xAxisPosY-((j+1)*scaleHop))}else{ctx.lineTo(yAxisPosX-0.5,xAxisPosY-((j+1)*scaleHop))}ctx.stroke();if(config.scaleShowLabels){ctx.fillText(calculatedScale.labels[j],yAxisPosX-8,xAxisPosY-((j+1)*scaleHop))}}}function calculateXAxisSize(){var longestText=1;if(config.scaleShowLabels){ctx.font=config.scaleFontStyle+\" \"+config.scaleFontSize+\"px \"+config.scaleFontFamily;for(var i=0;i<calculatedScale.labels.length;i++){var measuredText=ctx.measureText(calculatedScale.labels[i]).width;longestText=(measuredText>longestText)?measuredText:longestText}longestText+=10}xAxisLength=width-longestText-widestXLabel;valueHop=Math.floor(xAxisLength/(data.labels.length-1));yAxisPosX=width-widestXLabel/2-xAxisLength;xAxisPosY=scaleHeight+config.scaleFontSize/2}function calculateDrawingSizes(){maxSize=height;ctx.font=config.scaleFontStyle+\" \"+config.scaleFontSize+\"px \"+config.scaleFontFamily;widestXLabel=1;for(var i=0;i<data.labels.length;i++){var textLength=ctx.measureText(data.labels[i]).width;widestXLabel=(textLength>widestXLabel)?textLength:widestXLabel}if(width/data.labels.length<widestXLabel){rotateLabels=45;if(width/data.labels.length<Math.cos(rotateLabels)*widestXLabel){rotateLabels=90;maxSize-=widestXLabel}else{maxSize-=Math.sin(rotateLabels)*widestXLabel}}else{maxSize-=config.scaleFontSize}maxSize-=5;labelHeight=config.scaleFontSize;maxSize-=labelHeight;scaleHeight=maxSize}function getValueBounds(){var upperValue=Number.MIN_VALUE;var lowerValue=Number.MAX_VALUE;for(var i=0;i<data.datasets.length;i++){for(var j=0;j<data.datasets[i].data.length;j++){if(data.datasets[i].data[j]>upperValue){upperValue=data.datasets[i].data[j]};if(data.datasets[i].data[j]<lowerValue){lowerValue=data.datasets[i].data[j]}}};var maxSteps=Math.floor((scaleHeight/(labelHeight*0.66)));var minSteps=Math.floor((scaleHeight/labelHeight*0.5));return{maxValue:upperValue,minValue:lowerValue,maxSteps:maxSteps,minSteps:minSteps}}};var Bar=function(data,config,ctx){var maxSize,scaleHop,calculatedScale,labelHeight,scaleHeight,valueBounds,labelTemplateString,valueHop,widestXLabel,xAxisLength,yAxisPosX,xAxisPosY,barWidth,rotateLabels=0;calculateDrawingSizes();valueBounds=getValueBounds();labelTemplateString=(config.scaleShowLabels)?config.scaleLabel:\"\";if(!config.scaleOverride){calculatedScale=calculateScale(scaleHeight,valueBounds.maxSteps,valueBounds.minSteps,valueBounds.maxValue,valueBounds.minValue,labelTemplateString)}else{calculatedScale={steps:config.scaleSteps,stepValue:config.scaleStepWidth,graphMin:config.scaleStartValue,labels:[]};populateLabels(labelTemplateString,calculatedScale.labels,calculatedScale.steps,config.scaleStartValue,config.scaleStepWidth)}scaleHop=Math.floor(scaleHeight/calculatedScale.steps);calculateXAxisSize();animationLoop(config,drawBars,drawScale,ctx);function drawBars(animPc){ctx.lineWidth=config.barStrokeWidth;for(var i=0;i<data.datasets.length;i++){ctx.fillStyle=data.datasets[i].fillColor;ctx.strokeStyle=data.datasets[i].strokeColor;for(var j=0;j<data.datasets[i].data.length;j++){var barOffset=yAxisPosX+config.barValueSpacing+valueHop*j+barWidth*i+config.barDatasetSpacing*i+config.barStrokeWidth*i;ctx.beginPath();ctx.moveTo(barOffset,xAxisPosY);ctx.lineTo(barOffset,xAxisPosY-animPc*calculateOffset(data.datasets[i].data[j],calculatedScale,scaleHop)+(config.barStrokeWidth/2));ctx.lineTo(barOffset+barWidth,xAxisPosY-animPc*calculateOffset(data.datasets[i].data[j],calculatedScale,scaleHop)+(config.barStrokeWidth/2));ctx.lineTo(barOffset+barWidth,xAxisPosY);if(config.barShowStroke){ctx.stroke()}ctx.closePath();ctx.fill()}}}function drawScale(){ctx.lineWidth=config.scaleLineWidth;ctx.strokeStyle=config.scaleLineColor;ctx.beginPath();ctx.moveTo(width-widestXLabel/2+5,xAxisPosY);ctx.lineTo(width-(widestXLabel/2)-xAxisLength-5,xAxisPosY);ctx.stroke();if(rotateLabels>0){ctx.save();ctx.textAlign=\"right\"}else{ctx.textAlign=\"center\"}ctx.fillStyle=config.scaleFontColor;for(var i=0;i<data.labels.length;i++){ctx.save();if(rotateLabels>0){ctx.translate(yAxisPosX+i*valueHop,xAxisPosY+config.scaleFontSize);ctx.rotate(-(rotateLabels*(Math.PI/180)));ctx.fillText(data.labels[i],0,0);ctx.restore()}else{ctx.fillText(data.labels[i],yAxisPosX+i*valueHop+valueHop/2,xAxisPosY+config.scaleFontSize+3)}ctx.beginPath();ctx.moveTo(yAxisPosX+(i+1)*valueHop,xAxisPosY+3);ctx.lineWidth=config.scaleGridLineWidth;ctx.strokeStyle=config.scaleGridLineColor;ctx.lineTo(yAxisPosX+(i+1)*valueHop,5);ctx.stroke()}ctx.lineWidth=config.scaleLineWidth;ctx.strokeStyle=config.scaleLineColor;ctx.beginPath();ctx.moveTo(yAxisPosX,xAxisPosY+5);ctx.lineTo(yAxisPosX,5);ctx.stroke();ctx.textAlign=\"right\";ctx.textBaseline=\"middle\";for(var j=0;j<calculatedScale.steps;j++){ctx.beginPath();ctx.moveTo(yAxisPosX-3,xAxisPosY-((j+1)*scaleHop));if(config.scaleShowGridLines){ctx.lineWidth=config.scaleGridLineWidth;ctx.strokeStyle=config.scaleGridLineColor;ctx.lineTo(yAxisPosX+xAxisLength+5,xAxisPosY-((j+1)*scaleHop))}else{ctx.lineTo(yAxisPosX-0.5,xAxisPosY-((j+1)*scaleHop))}ctx.stroke();if(config.scaleShowLabels){ctx.fillText(calculatedScale.labels[j],yAxisPosX-8,xAxisPosY-((j+1)*scaleHop))}}}function calculateXAxisSize(){var longestText=1;if(config.scaleShowLabels){ctx.font=config.scaleFontStyle+\" \"+config.scaleFontSize+\"px \"+config.scaleFontFamily;for(var i=0;i<calculatedScale.labels.length;i++){var measuredText=ctx.measureText(calculatedScale.labels[i]).width;longestText=(measuredText>longestText)?measuredText:longestText}longestText+=10}xAxisLength=width-longestText-widestXLabel;valueHop=Math.floor(xAxisLength/(data.labels.length));barWidth=(valueHop-config.scaleGridLineWidth*2-(config.barValueSpacing*2)-(config.barDatasetSpacing*data.datasets.length-1)-((config.barStrokeWidth/2)*data.datasets.length-1))/data.datasets.length;yAxisPosX=width-widestXLabel/2-xAxisLength;xAxisPosY=scaleHeight+config.scaleFontSize/2}function calculateDrawingSizes(){maxSize=height;ctx.font=config.scaleFontStyle+\" \"+config.scaleFontSize+\"px \"+config.scaleFontFamily;widestXLabel=1;for(var i=0;i<data.labels.length;i++){var textLength=ctx.measureText(data.labels[i]).width;widestXLabel=(textLength>widestXLabel)?textLength:widestXLabel}if(width/data.labels.length<widestXLabel){rotateLabels=45;if(width/data.labels.length<Math.cos(rotateLabels)*widestXLabel){rotateLabels=90;maxSize-=widestXLabel}else{maxSize-=Math.sin(rotateLabels)*widestXLabel}}else{maxSize-=config.scaleFontSize}maxSize-=5;labelHeight=config.scaleFontSize;maxSize-=labelHeight;scaleHeight=maxSize}function getValueBounds(){var upperValue=Number.MIN_VALUE;var lowerValue=Number.MAX_VALUE;for(var i=0;i<data.datasets.length;i++){for(var j=0;j<data.datasets[i].data.length;j++){if(data.datasets[i].data[j]>upperValue){upperValue=data.datasets[i].data[j]};if(data.datasets[i].data[j]<lowerValue){lowerValue=data.datasets[i].data[j]}}};var maxSteps=Math.floor((scaleHeight/(labelHeight*0.66)));var minSteps=Math.floor((scaleHeight/labelHeight*0.5));return{maxValue:upperValue,minValue:lowerValue,maxSteps:maxSteps,minSteps:minSteps}}};function calculateOffset(val,calculatedScale,scaleHop){var outerValue=calculatedScale.steps*calculatedScale.stepValue;var adjustedValue=val-calculatedScale.graphMin;var scalingFactor=CapValue(adjustedValue/outerValue,1,0);return(scaleHop*calculatedScale.steps)*scalingFactor}function animationLoop(config,drawScale,drawData,ctx){var animFrameAmount=(config.animation)?1/CapValue(config.animationSteps,Number.MAX_VALUE,1):1,easingFunction=animationOptions[config.animationEasing],percentAnimComplete=(config.animation)?0:1;if(typeof drawScale!==\"function\")drawScale=function(){};requestAnimFrame(animLoop);function animateFrame(){var easeAdjustedAnimationPercent=(config.animation)?CapValue(easingFunction(percentAnimComplete),null,0):1;clear(ctx);if(config.scaleOverlay){drawScale();drawData(easeAdjustedAnimationPercent)}else{drawData(easeAdjustedAnimationPercent);drawScale()}}function animLoop(){percentAnimComplete+=animFrameAmount;animateFrame();if(percentAnimComplete<=1){requestAnimFrame(animLoop)}else{if(typeof config.onAnimationComplete==\"function\")config.onAnimationComplete()}}}var requestAnimFrame=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){window.setTimeout(callback,1000/60)}})();function calculateScale(drawingHeight,maxSteps,minSteps,maxValue,minValue,labelTemplateString){var graphMin,graphMax,graphRange,stepValue,numberOfSteps,valueRange,rangeOrderOfMagnitude,decimalNum;valueRange=maxValue-minValue;rangeOrderOfMagnitude=calculateOrderOfMagnitude(valueRange);graphMin=Math.floor(minValue/(1*Math.pow(10,rangeOrderOfMagnitude)))*Math.pow(10,rangeOrderOfMagnitude);graphMax=Math.ceil(maxValue/(1*Math.pow(10,rangeOrderOfMagnitude)))*Math.pow(10,rangeOrderOfMagnitude);graphRange=graphMax-graphMin;stepValue=Math.pow(10,rangeOrderOfMagnitude);numberOfSteps=Math.round(graphRange/stepValue);while(numberOfSteps<minSteps||numberOfSteps>maxSteps){if(numberOfSteps<minSteps){stepValue/=2;numberOfSteps=Math.round(graphRange/stepValue)}else{stepValue*=2;numberOfSteps=Math.round(graphRange/stepValue)}};var labels=[];populateLabels(labelTemplateString,labels,numberOfSteps,graphMin,stepValue);return{steps:numberOfSteps,stepValue:stepValue,graphMin:graphMin,labels:labels};function calculateOrderOfMagnitude(val){return Math.floor(Math.log(val)/Math.LN10)}}function populateLabels(labelTemplateString,labels,numberOfSteps,graphMin,stepValue){if(labelTemplateString){for(var i=1;i<numberOfSteps+1;i++){labels.push(tmpl(labelTemplateString,{value:(graphMin+(stepValue*i)).toFixed(getDecimalPlaces(stepValue))}))}}}function Max(array){return Math.max.apply(Math,array)};function Min(array){return Math.min.apply(Math,array)};function Default(userDeclared,valueIfFalse){if(!userDeclared){return valueIfFalse}else{return userDeclared}};function isNumber(n){return!isNaN(parseFloat(n))&&isFinite(n)}function CapValue(valueToCap,maxValue,minValue){if(isNumber(maxValue)){if(valueToCap>maxValue){return maxValue}}if(isNumber(minValue)){if(valueToCap<minValue){return minValue}}return valueToCap}function getDecimalPlaces(num){var numberOfDecimalPlaces;if(num%1!=0){return num.toString().split(\".\")[1].length}else{return 0}}function mergeChartConfig(defaults,userDefined){var returnObj={};for(var attrname in defaults){returnObj[attrname]=defaults[attrname]}for(var attrname in userDefined){returnObj[attrname]=userDefined[attrname]}return returnObj}var cache={};function tmpl(str,data){var fn=!/\\W/.test(str)?cache[str]=cache[str]||tmpl(document.getElementById(str).innerHTML):new Function(\"obj\",\"var p=[],print=function(){p.push.apply(p,arguments);};\"+\"with(obj){p.push(\'\"+str.replace(/[\\r\\t\\n]/g,\" \").split(\"<%\").join(\"\\t\").replace(/((^|%>)[^\\t]*)\'/g,\"$1\\r\").replace(/\\t=(.*?)%>/g,\"\',$1,\'\").split(\"\\t\").join(\"\');\").split(\"%>\").join(\"p.push(\'\").split(\"\\r\").join(\"\\\\\'\")+\"\');}return p.join(\'\');\");return data?fn(data):fn}}','e5742b52c745bb5d2871f8864c4ab49e',1,1,'2021-08-05 17:27:23','2021-08-16 14:31:31'),(63,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/jquery.easing.1.3.js?ver=5.8','js','','jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:\'easeOutQuad\',swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b},easeInCubic:function(x,t,b,c,d){return c*(t/=d)*t*t+b},easeOutCubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b},easeInOutCubic:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b},easeInQuart:function(x,t,b,c,d){return c*(t/=d)*t*t*t+b},easeOutQuart:function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b},easeInOutQuart:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b},easeInQuint:function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b},easeOutQuint:function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b},easeInOutQuint:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b},easeInSine:function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b},easeInOutSine:function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b},easeInExpo:function(x,t,b,c,d){return(t==0)?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return(t==d)?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInCirc:function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/=d)*t)-1)+b},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b},easeInOutCirc:function(x,t,b,c,d){if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b},easeInElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b},easeOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b},easeInOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b},easeInBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b},easeOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},easeInOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b},easeInBounce:function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b},easeOutBounce:function(x,t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b}},easeInOutBounce:function(x,t,b,c,d){if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b}})','776a2ac703bb719b89c26069551f08e8',1,1,'2021-08-05 17:27:24','2021-08-16 14:31:32'),(64,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/jquery.blob.min.js?ver=5.8','js','','(function(){var j=!1;window.JQClass=function(){};JQClass.classes={};JQClass.extend=function extender(f){var g=this.prototype;j=!0;var h=new this();j=!1;for(var i in f){h[i]=typeof f[i]==\'function\'&&typeof g[i]==\'function\'?(function(d,e){return function(){var b=this._super;this._super=function(a){return g[d].apply(this,a||[])};var c=e.apply(this,arguments);this._super=b;return c}})(i,f[i]):f[i]}function JQClass(){if(!j&&this._init){this._init.apply(this,arguments)}}JQClass.prototype=h;JQClass.prototype.constructor=JQClass;JQClass.extend=extender;return JQClass}})();(function($){JQClass.classes.JQPlugin=JQClass.extend({name:\'plugin\',defaultOptions:{},regionalOptions:{},_getters:[],_getMarker:function(){return\'is-\'+this.name},_init:function(){$.extend(this.defaultOptions,(this.regionalOptions&&this.regionalOptions[\'\'])||{});var c=camelCase(this.name);$[c]=this;$.fn[c]=function(a){var b=Array.prototype.slice.call(arguments,1);if($[c]._isNotChained(a,b)){return $[c][a].apply($[c],[this[0]].concat(b))}return this.each(function(){if(typeof a===\'string\'){if(a[0]===\'_\'||!$[c][a]){throw\'Unknown method: \'+a}$[c][a].apply($[c],[this].concat(b))}else{$[c]._attach(this,a)}})}},setDefaults:function(a){$.extend(this.defaultOptions,a||{})},_isNotChained:function(a,b){if(a===\'option\'&&(b.length===0||(b.length===1&&typeof b[0]===\'string\'))){return!0}return $.inArray(a,this._getters)>-1},_attach:function(a,b){a=$(a);if(a.hasClass(this._getMarker())){return}a.addClass(this._getMarker());b=$.extend({},this.defaultOptions,this._getMetadata(a),b||{});var c=$.extend({name:this.name,elem:a,options:b},this._instSettings(a,b));a.data(this.name,c);this._postAttach(a,c);this.option(a,b)},_instSettings:function(a,b){return{}},_postAttach:function(a,b){},_getMetadata:function(d){try{var f=d.data(this.name.toLowerCase())||\'\';f=f.replace(/\'/g,\'\"\');f=f.replace(/([a-zA-Z0-9]+):/g,function(a,b,i){var c=f.substring(0,i).match(/\"/g);return(!c||c.length%2===0?\'\"\'+b+\'\":\':b+\':\')});f=$.parseJSON(\'{\'+f+\'}\');for(var g in f){var h=f[g];if(typeof h===\'string\'&&h.match(/^new Date\\((.*)\\)$/)){f[g]=eval(h)}}return f}catch(e){return{}}},_getInst:function(a){return $(a).data(this.name)||{}},option:function(a,b,c){a=$(a);var d=a.data(this.name);if(!b||(typeof b===\'string\'&&c==null)){var e=(d||{}).options;return(e&&b?e[b]:e)}if(!a.hasClass(this._getMarker())){return}var e=b||{};if(typeof b===\'string\'){e={};e[b]=c}this._optionsChanged(a,d,e);$.extend(d.options,e)},_optionsChanged:function(a,b,c){},destroy:function(a){a=$(a);if(!a.hasClass(this._getMarker())){return}this._preDestroy(a,this._getInst(a));a.removeData(this.name).removeClass(this._getMarker())},_preDestroy:function(a,b){}});function camelCase(c){return c.replace(/-([a-z])/g,function(a,b){return b.toUpperCase()})}$.JQPlugin={createPlugin:function(a,b){if(typeof a===\'object\'){b=a;a=\'JQPlugin\'}a=camelCase(a);var c=camelCase(b.name);JQClass.classes[c]=JQClass.classes[a].extend(b);new JQClass.classes[c]()}}})(jQuery)','57862bd3a79ce6f5987135c67c6c17b8',1,1,'2021-08-05 17:27:24','2021-08-16 14:31:32'),(65,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/jquery.countdown.min.js?ver=5.8','js','','(function($){var pluginName=\'countdown\';var Y=0;var O=1;var W=2;var D=3;var H=4;var M=5;var S=6;$.JQPlugin.createPlugin({name:pluginName,defaultOptions:{until:null,since:null,timezone:null,serverSync:null,format:\'dHMS\',layout:\'\',compact:!1,padZeroes:!1,significant:0,description:\'\',expiryUrl:\'\',expiryText:\'\',alwaysExpire:!1,onExpiry:null,onTick:null,tickInterval:1},regionalOptions:{\'\':{labels:[\'Years\',\'Months\',\'Weeks\',\'Days\',\'Hours\',\'Minutes\',\'Seconds\'],labels1:[\'Year\',\'Month\',\'Week\',\'Day\',\'Hour\',\'Minute\',\'Second\'],compactLabels:[\'y\',\'m\',\'w\',\'d\'],whichLabels:null,digits:[\'0\',\'1\',\'2\',\'3\',\'4\',\'5\',\'6\',\'7\',\'8\',\'9\'],timeSeparator:\':\',isRTL:!1}},_getters:[\'getTimes\'],_rtlClass:pluginName+\'-rtl\',_sectionClass:pluginName+\'-section\',_amountClass:pluginName+\'-amount\',_periodClass:pluginName+\'-period\',_rowClass:pluginName+\'-row\',_holdingClass:pluginName+\'-holding\',_showClass:pluginName+\'-show\',_descrClass:pluginName+\'-descr\',_timerElems:[],_init:function(){var self=this;this._super();this._serverSyncs=[];var now=(typeof Date.now==\'function\'?Date.now:function(){return new Date().getTime()});var perfAvail=(window.performance&&typeof window.performance.now==\'function\');function timerCallBack(timestamp){var drawStart=(timestamp<1e12?(perfAvail?(performance.now()+performance.timing.navigationStart):now()):timestamp||now());if(drawStart-animationStartTime>=1000){self._updateElems();animationStartTime=drawStart}requestAnimationFrame(timerCallBack)}var requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null;var animationStartTime=0;if(!requestAnimationFrame||$.noRequestAnimationFrame){$.noRequestAnimationFrame=null;setInterval(function(){self._updateElems()},980)}else{animationStartTime=window.animationStartTime||window.webkitAnimationStartTime||window.mozAnimationStartTime||window.oAnimationStartTime||window.msAnimationStartTime||now();requestAnimationFrame(timerCallBack)}},UTCDate:function(tz,year,month,day,hours,mins,secs,ms){if(typeof year==\'object\'&&year.constructor==Date){ms=year.getMilliseconds();secs=year.getSeconds();mins=year.getMinutes();hours=year.getHours();day=year.getDate();month=year.getMonth();year=year.getFullYear()}var d=new Date();d.setUTCFullYear(year);d.setUTCDate(1);d.setUTCMonth(month||0);d.setUTCDate(day||1);d.setUTCHours(hours||0);d.setUTCMinutes((mins||0)-(Math.abs(tz)<30?tz*60:tz));d.setUTCSeconds(secs||0);d.setUTCMilliseconds(ms||0);return d},periodsToSeconds:function(periods){return periods[0]*31557600+periods[1]*2629800+periods[2]*604800+periods[3]*86400+periods[4]*3600+periods[5]*60+periods[6]},_instSettings:function(elem,options){return{_periods:[0,0,0,0,0,0,0]}},_addElem:function(elem){if(!this._hasElem(elem)){this._timerElems.push(elem)}},_hasElem:function(elem){return($.inArray(elem,this._timerElems)>-1)},_removeElem:function(elem){this._timerElems=$.map(this._timerElems,function(value){return(value==elem?null:value)})},_updateElems:function(){for(var i=this._timerElems.length-1;i>=0;i--){this._updateCountdown(this._timerElems[i])}},_optionsChanged:function(elem,inst,options){if(options.layout){options.layout=options.layout.replace(/&lt;/g,\'<\').replace(/&gt;/g,\'>\')}this._resetExtraLabels(inst.options,options);var timezoneChanged=(inst.options.timezone!=options.timezone);$.extend(inst.options,options);this._adjustSettings(elem,inst,options.until!=null||options.since!=null||timezoneChanged);var now=new Date();if((inst._since&&inst._since<now)||(inst._until&&inst._until>now)){this._addElem(elem[0])}this._updateCountdown(elem,inst)},_updateCountdown:function(elem,inst){elem=elem.jquery?elem:$(elem);inst=inst||this._getInst(elem);if(!inst){return}elem.html(this._generateHTML(inst)).toggleClass(this._rtlClass,inst.options.isRTL);if($.isFunction(inst.options.onTick)){var periods=inst._hold!=\'lap\'?inst._periods:this._calculatePeriods(inst,inst._show,inst.options.significant,new Date());if(inst.options.tickInterval==1||this.periodsToSeconds(periods)%inst.options.tickInterval==0){inst.options.onTick.apply(elem[0],[periods])}}var expired=inst._hold!=\'pause\'&&(inst._since?inst._now.getTime()<inst._since.getTime():inst._now.getTime()>=inst._until.getTime());if(expired&&!inst._expiring){inst._expiring=!0;if(this._hasElem(elem[0])||inst.options.alwaysExpire){this._removeElem(elem[0]);if($.isFunction(inst.options.onExpiry)){inst.options.onExpiry.apply(elem[0],[])}if(inst.options.expiryText){var layout=inst.options.layout;inst.options.layout=inst.options.expiryText;this._updateCountdown(elem[0],inst);inst.options.layout=layout}if(inst.options.expiryUrl){window.location=inst.options.expiryUrl}}inst._expiring=!1}else if(inst._hold==\'pause\'){this._removeElem(elem[0])}},_resetExtraLabels:function(base,options){for(var n in options){if(n.match(/[Ll]abels[02-9]|compactLabels1/)){base[n]=options[n]}}for(var n in base){if(n.match(/[Ll]abels[02-9]|compactLabels1/)&&typeof options[n]===\'undefined\'){base[n]=null}}},_adjustSettings:function(elem,inst,recalc){var now;var serverOffset=0;var serverEntry=null;for(var i=0;i<this._serverSyncs.length;i++){if(this._serverSyncs[i][0]==inst.options.serverSync){serverEntry=this._serverSyncs[i][1];break}}if(serverEntry!=null){serverOffset=(inst.options.serverSync?serverEntry:0);now=new Date()}else{var serverResult=($.isFunction(inst.options.serverSync)?inst.options.serverSync.apply(elem[0],[]):null);now=new Date();serverOffset=(serverResult?now.getTime()-serverResult.getTime():0);this._serverSyncs.push([inst.options.serverSync,serverOffset])}var timezone=inst.options.timezone;timezone=(timezone==null?-now.getTimezoneOffset():timezone);if(recalc||(!recalc&&inst._until==null&&inst._since==null)){inst._since=inst.options.since;if(inst._since!=null){inst._since=this.UTCDate(timezone,this._determineTime(inst._since,null));if(inst._since&&serverOffset){inst._since.setMilliseconds(inst._since.getMilliseconds()+serverOffset)}}inst._until=this.UTCDate(timezone,this._determineTime(inst.options.until,now));if(serverOffset){inst._until.setMilliseconds(inst._until.getMilliseconds()+serverOffset)}}inst._show=this._determineShow(inst)},_preDestroy:function(elem,inst){this._removeElem(elem[0]);elem.empty()},pause:function(elem){this._hold(elem,\'pause\')},lap:function(elem){this._hold(elem,\'lap\')},resume:function(elem){this._hold(elem,null)},toggle:function(elem){var inst=$.data(elem,this.name)||{};this[!inst._hold?\'pause\':\'resume\'](elem)},toggleLap:function(elem){var inst=$.data(elem,this.name)||{};this[!inst._hold?\'lap\':\'resume\'](elem)},_hold:function(elem,hold){var inst=$.data(elem,this.name);if(inst){if(inst._hold==\'pause\'&&!hold){inst._periods=inst._savePeriods;var sign=(inst._since?\'-\':\'+\');inst[inst._since?\'_since\':\'_until\']=this._determineTime(sign+inst._periods[0]+\'y\'+sign+inst._periods[1]+\'o\'+sign+inst._periods[2]+\'w\'+sign+inst._periods[3]+\'d\'+sign+inst._periods[4]+\'h\'+sign+inst._periods[5]+\'m\'+sign+inst._periods[6]+\'s\');this._addElem(elem)}inst._hold=hold;inst._savePeriods=(hold==\'pause\'?inst._periods:null);$.data(elem,this.name,inst);this._updateCountdown(elem,inst)}},getTimes:function(elem){var inst=$.data(elem,this.name);return(!inst?null:(inst._hold==\'pause\'?inst._savePeriods:(!inst._hold?inst._periods:this._calculatePeriods(inst,inst._show,inst.options.significant,new Date()))))},_determineTime:function(setting,defaultTime){var self=this;var offsetNumeric=function(offset){var time=new Date();time.setTime(time.getTime()+offset*1000);return time};var offsetString=function(offset){offset=offset.toLowerCase();var time=new Date();var year=time.getFullYear();var month=time.getMonth();var day=time.getDate();var hour=time.getHours();var minute=time.getMinutes();var second=time.getSeconds();var pattern=/([+-]?[0-9]+)\\s*(s|m|h|d|w|o|y)?/g;var matches=pattern.exec(offset);while(matches){switch(matches[2]||\'s\'){case\'s\':second+=parseInt(matches[1],10);break;case\'m\':minute+=parseInt(matches[1],10);break;case\'h\':hour+=parseInt(matches[1],10);break;case\'d\':day+=parseInt(matches[1],10);break;case\'w\':day+=parseInt(matches[1],10)*7;break;case\'o\':month+=parseInt(matches[1],10);day=Math.min(day,self._getDaysInMonth(year,month));break;case\'y\':year+=parseInt(matches[1],10);day=Math.min(day,self._getDaysInMonth(year,month));break}matches=pattern.exec(offset)}return new Date(year,month,day,hour,minute,second,0)};var time=(setting==null?defaultTime:(typeof setting==\'string\'?offsetString(setting):(typeof setting==\'number\'?offsetNumeric(setting):setting)));if(time)time.setMilliseconds(0);return time},_getDaysInMonth:function(year,month){return 32-new Date(year,month,32).getDate()},_normalLabels:function(num){return num},_generateHTML:function(inst){var self=this;inst._periods=(inst._hold?inst._periods:this._calculatePeriods(inst,inst._show,inst.options.significant,new Date()));var shownNonZero=!1;var showCount=0;var sigCount=inst.options.significant;var show=$.extend({},inst._show);for(var period=Y;period<=S;period++){shownNonZero|=(inst._show[period]==\'?\'&&inst._periods[period]>0);show[period]=(inst._show[period]==\'?\'&&!shownNonZero?null:inst._show[period]);showCount+=(show[period]?1:0);sigCount-=(inst._periods[period]>0?1:0)}var showSignificant=[!1,!1,!1,!1,!1,!1,!1];for(var period=S;period>=Y;period--){if(inst._show[period]){if(inst._periods[period]){showSignificant[period]=!0}else{showSignificant[period]=sigCount>0;sigCount--}}}var labels=(inst.options.compact?inst.options.compactLabels:inst.options.labels);var whichLabels=inst.options.whichLabels||this._normalLabels;var showCompact=function(period){var labelsNum=inst.options[\'compactLabels\'+whichLabels(inst._periods[period])];return(show[period]?self._translateDigits(inst,inst._periods[period])+(labelsNum?labelsNum[period]:labels[period])+\' \':\'\')};var minDigits=(inst.options.padZeroes?2:1);var showFull=function(period){var labelsNum=inst.options[\'labels\'+whichLabels(inst._periods[period])];return((!inst.options.significant&&show[period])||(inst.options.significant&&showSignificant[period])?\'<span class=\"\'+self._sectionClass+\'\">\'+\'<span class=\"\'+self._amountClass+\'\">\'+self._minDigits(inst,inst._periods[period],minDigits)+\'</span>\'+\'<span class=\"countdown_separator\"></span>\'+\'<span class=\"\'+self._periodClass+\'\">\'+(labelsNum?labelsNum[period]:labels[period])+\'</span></span>\':\'\')};return(inst.options.layout?this._buildLayout(inst,show,inst.options.layout,inst.options.compact,inst.options.significant,showSignificant):((inst.options.compact?\'<span class=\"\'+this._rowClass+\' \'+this._amountClass+(inst._hold?\' \'+this._holdingClass:\'\')+\'\">\'+showCompact(Y)+showCompact(O)+showCompact(W)+showCompact(D)+(show[H]?this._minDigits(inst,inst._periods[H],2):\'\')+(show[M]?(show[H]?inst.options.timeSeparator:\'\')+this._minDigits(inst,inst._periods[M],2):\'\')+(show[S]?(show[H]||show[M]?inst.options.timeSeparator:\'\')+this._minDigits(inst,inst._periods[S],2):\'\'):\'<span class=\"\'+this._rowClass+\' \'+this._showClass+(inst.options.significant||showCount)+(inst._hold?\' \'+this._holdingClass:\'\')+\'\">\'+showFull(Y)+showFull(O)+showFull(W)+showFull(D)+showFull(H)+showFull(M)+showFull(S))+\'</span>\'+(inst.options.description?\'<span class=\"\'+this._rowClass+\' \'+this._descrClass+\'\">\'+inst.options.description+\'</span>\':\'\')))},_buildLayout:function(inst,show,layout,compact,significant,showSignificant){var labels=inst.options[compact?\'compactLabels\':\'labels\'];var whichLabels=inst.options.whichLabels||this._normalLabels;var labelFor=function(index){return(inst.options[(compact?\'compactLabels\':\'labels\')+whichLabels(inst._periods[index])]||labels)[index]};var digit=function(value,position){return inst.options.digits[Math.floor(value/position)%10]};var subs={desc:inst.options.description,sep:inst.options.timeSeparator,yl:labelFor(Y),yn:this._minDigits(inst,inst._periods[Y],1),ynn:this._minDigits(inst,inst._periods[Y],2),ynnn:this._minDigits(inst,inst._periods[Y],3),y1:digit(inst._periods[Y],1),y10:digit(inst._periods[Y],10),y100:digit(inst._periods[Y],100),y1000:digit(inst._periods[Y],1000),ol:labelFor(O),on:this._minDigits(inst,inst._periods[O],1),onn:this._minDigits(inst,inst._periods[O],2),onnn:this._minDigits(inst,inst._periods[O],3),o1:digit(inst._periods[O],1),o10:digit(inst._periods[O],10),o100:digit(inst._periods[O],100),o1000:digit(inst._periods[O],1000),wl:labelFor(W),wn:this._minDigits(inst,inst._periods[W],1),wnn:this._minDigits(inst,inst._periods[W],2),wnnn:this._minDigits(inst,inst._periods[W],3),w1:digit(inst._periods[W],1),w10:digit(inst._periods[W],10),w100:digit(inst._periods[W],100),w1000:digit(inst._periods[W],1000),dl:labelFor(D),dn:this._minDigits(inst,inst._periods[D],1),dnn:this._minDigits(inst,inst._periods[D],2),dnnn:this._minDigits(inst,inst._periods[D],3),d1:digit(inst._periods[D],1),d10:digit(inst._periods[D],10),d100:digit(inst._periods[D],100),d1000:digit(inst._periods[D],1000),hl:labelFor(H),hn:this._minDigits(inst,inst._periods[H],1),hnn:this._minDigits(inst,inst._periods[H],2),hnnn:this._minDigits(inst,inst._periods[H],3),h1:digit(inst._periods[H],1),h10:digit(inst._periods[H],10),h100:digit(inst._periods[H],100),h1000:digit(inst._periods[H],1000),ml:labelFor(M),mn:this._minDigits(inst,inst._periods[M],1),mnn:this._minDigits(inst,inst._periods[M],2),mnnn:this._minDigits(inst,inst._periods[M],3),m1:digit(inst._periods[M],1),m10:digit(inst._periods[M],10),m100:digit(inst._periods[M],100),m1000:digit(inst._periods[M],1000),sl:labelFor(S),sn:this._minDigits(inst,inst._periods[S],1),snn:this._minDigits(inst,inst._periods[S],2),snnn:this._minDigits(inst,inst._periods[S],3),s1:digit(inst._periods[S],1),s10:digit(inst._periods[S],10),s100:digit(inst._periods[S],100),s1000:digit(inst._periods[S],1000)};var html=layout;for(var i=Y;i<=S;i++){var period=\'yowdhms\'.charAt(i);var re=new RegExp(\'\\\\{\'+period+\'<\\\\}([\\\\s\\\\S]*)\\\\{\'+period+\'>\\\\}\',\'g\');html=html.replace(re,((!significant&&show[i])||(significant&&showSignificant[i])?\'$1\':\'\'))}$.each(subs,function(n,v){var re=new RegExp(\'\\\\{\'+n+\'\\\\}\',\'g\');html=html.replace(re,v)});return html},_minDigits:function(inst,value,len){value=\'\'+value;if(value.length>=len){return this._translateDigits(inst,value)}value=\'0000000000\'+value;return this._translateDigits(inst,value.substr(value.length-len))},_translateDigits:function(inst,value){return(\'\'+value).replace(/[0-9]/g,function(digit){return inst.options.digits[digit]})},_determineShow:function(inst){var format=inst.options.format;var show=[];show[Y]=(format.match(\'y\')?\'?\':(format.match(\'Y\')?\'!\':null));show[O]=(format.match(\'o\')?\'?\':(format.match(\'O\')?\'!\':null));show[W]=(format.match(\'w\')?\'?\':(format.match(\'W\')?\'!\':null));show[D]=(format.match(\'d\')?\'?\':(format.match(\'D\')?\'!\':null));show[H]=(format.match(\'h\')?\'?\':(format.match(\'H\')?\'!\':null));show[M]=(format.match(\'m\')?\'?\':(format.match(\'M\')?\'!\':null));show[S]=(format.match(\'s\')?\'?\':(format.match(\'S\')?\'!\':null));return show},_calculatePeriods:function(inst,show,significant,now){inst._now=now;inst._now.setMilliseconds(0);var until=new Date(inst._now.getTime());if(inst._since){if(now.getTime()<inst._since.getTime()){inst._now=now=until}else{now=inst._since}}else{until.setTime(inst._until.getTime());if(now.getTime()>inst._until.getTime()){inst._now=now=until}}var periods=[0,0,0,0,0,0,0];if(show[Y]||show[O]){var lastNow=this._getDaysInMonth(now.getFullYear(),now.getMonth());var lastUntil=this._getDaysInMonth(until.getFullYear(),until.getMonth());var sameDay=(until.getDate()==now.getDate()||(until.getDate()>=Math.min(lastNow,lastUntil)&&now.getDate()>=Math.min(lastNow,lastUntil)));var getSecs=function(date){return(date.getHours()*60+date.getMinutes())*60+date.getSeconds()};var months=Math.max(0,(until.getFullYear()-now.getFullYear())*12+until.getMonth()-now.getMonth()+((until.getDate()<now.getDate()&&!sameDay)||(sameDay&&getSecs(until)<getSecs(now))?-1:0));periods[Y]=(show[Y]?Math.floor(months/12):0);periods[O]=(show[O]?months-periods[Y]*12:0);now=new Date(now.getTime());var wasLastDay=(now.getDate()==lastNow);var lastDay=this._getDaysInMonth(now.getFullYear()+periods[Y],now.getMonth()+periods[O]);if(now.getDate()>lastDay){now.setDate(lastDay)}now.setFullYear(now.getFullYear()+periods[Y]);now.setMonth(now.getMonth()+periods[O]);if(wasLastDay){now.setDate(lastDay)}}var diff=Math.floor((until.getTime()-now.getTime())/1000);var extractPeriod=function(period,numSecs){periods[period]=(show[period]?Math.floor(diff/numSecs):0);diff-=periods[period]*numSecs};extractPeriod(W,604800);extractPeriod(D,86400);extractPeriod(H,3600);extractPeriod(M,60);extractPeriod(S,1);if(diff>0&&!inst._since){var multiplier=[1,12,4.3482,7,24,60,60];var lastShown=S;var max=1;for(var period=S;period>=Y;period--){if(show[period]){if(periods[lastShown]>=max){periods[lastShown]=0;diff=1}if(diff>0){periods[period]++;diff=0;lastShown=period;max=1}}max*=multiplier[period]}}if(significant){for(var period=Y;period<=S;period++){if(significant&&periods[period]){significant--}else if(!significant){periods[period]=0}}}return periods}})})(jQuery)','aa4a29001d76025f83c60855e25ea68b',1,1,'2021-08-05 17:27:24','2021-08-16 14:31:32'),(66,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/jquery.multiscroll.min.js?ver=5.8','js','','(function($){$.fn.multiscroll=function(options){options=$.extend({\'verticalCentered\':!0,\'scrollingSpeed\':700,\'easing\':\'easeInQuart\',\'menu\':!1,\'sectionsColor\':[],\'anchors\':[],\'navigation\':!1,\'navigationPosition\':\'right\',\'navigationColor\':\'#000\',\'navigationTooltips\':[],\'loopBottom\':!1,\'loopTop\':!1,\'css3\':!1,\'paddingTop\':0,\'paddingBottom\':0,\'fixedElements\':null,\'normalScrollElements\':null,\'keyboardScrolling\':!0,\'touchSensitivity\':5,\'sectionSelector\':\'.ms-section\',\'leftSelector\':\'.ms-left\',\'rightSelector\':\'.ms-right\',\'afterLoad\':null,\'onLeave\':null,\'afterRender\':null,\'afterResize\':null},options);var scrollDelay=600;var isTouch=((\'ontouchstart\'in window)||(navigator.msMaxTouchPoints>0));if(options.rightSelector!==\'.ms-right\'){$(options.rightSelector).addClass(\'ms-right\')}if(options.leftSelector!==\'.ms-left\'){$(options.leftSelector).addClass(\'ms-left\')}var numberSections=$(\'.ms-left\').find(\'.ms-section\').length;var isMoving=!1;var nav;var windowHeight=$(window).height();addMouseWheelHandler();addTouchHandler();if(options.css3){options.css3=support3d()}$(\'html, body\').css({\'overflow\':\'hidden\',\'height\':\'100%\'});if(options.sectionSelector!==\'.ms-section\'){$(options.sectionSelector).each(function(){$(this).addClass(\'ms-section\')})}if(options.navigation){$(\'body\').append(\'<div id=\"multiscroll-nav\"><ul></ul></div>\');nav=$(\'#multiscroll-nav\');nav.css(\'color\',options.navigationColor);nav.addClass(options.navigationPosition)}$(\'.ms-right, .ms-left\').css({\'width\':\'50%\',\'position\':\'absolute\',\'height\':\'100%\',\'-ms-touch-action\':\'none\'});$(\'.ms-right\').css({\'right\':\'1px\',\'top\':\'0\',\'-ms-touch-action\':\'none\',\'touch-action\':\'none\'});$(\'.ms-left\').css({\'left\':\'0\',\'top\':\'0\',\'-ms-touch-action\':\'none\',\'touch-action\':\'none\'});$(\'.ms-left .ms-section, .ms-right .ms-section\').each(function(){var sectionIndex=$(this).index();if(options.paddingTop||options.paddingBottom){$(this).css(\'padding\',options.paddingTop+\' 0 \'+options.paddingBottom+\' 0\')}if(typeof options.sectionsColor[sectionIndex]!==\'undefined\'){$(this).css(\'background-color\',options.sectionsColor[sectionIndex])}if(typeof options.anchors[sectionIndex]!==\'undefined\'){$(this).attr(\'data-anchor\',options.anchors[sectionIndex])}if(options.verticalCentered){addTableClass($(this))}if($(this).closest(\'.ms-left\').length&&options.navigation){var link=\'\';if(options.anchors.length){link=options.anchors[sectionIndex]}var tooltip=options.navigationTooltips[sectionIndex];if(typeof tooltip===\'undefined\'){tooltip=\'\'}if(options.navigation){nav.find(\'ul\').append(\'<li data-tooltip=\"\'+tooltip+\'\"><a href=\"#\'+link+\'\"><span></span></a></li>\')}}});$(\'.ms-right\').html($(\'.ms-right\').find(\'.ms-section\').get().reverse());$(\'.ms-left .ms-section, .ms-right .ms-section\').each(function(){var sectionIndex=$(this).index();$(this).css({\'height\':\'100%\'});if(!sectionIndex&&options.navigation){nav.find(\'li\').eq(sectionIndex).find(\'a\').addClass(\'active\')}}).promise().done(function(){if(!$(\'.ms-left .ms-section.active\').length){$(\'.ms-right\').find(\'.ms-section\').last().addClass(\'active\');$(\'.ms-left\').find(\'.ms-section\').first().addClass(\'active\')}$.isFunction(options.afterRender)&&options.afterRender.call(this);silentScroll();$(window).on(\'load\',function(){scrollToAnchor()})});$(window).on(\'hashchange\',hashChangeHandler);function hashChangeHandler(){var value=window.location.hash.replace(\'#\',\'\');var sectionAnchor=value;if(sectionAnchor.length){var section=$(\'.ms-left\').find(\'[data-anchor=\"\'+sectionAnchor+\'\"]\');var isFirstScrollMove=(typeof lastScrolledDestiny===\'undefined\');if(isFirstScrollMove||sectionAnchor!==lastScrolledDestiny){scrollPage(section)}}};$(document).keydown(function(e){if(e.which==40||e.which==38){e.preventDefault()}if(options.keyboardScrolling&&!isMoving){switch(e.which){case 38:case 33:$.fn.multiscroll.moveSectionUp();break;case 40:case 34:$.fn.multiscroll.moveSectionDown();break;case 36:$.fn.multiscroll.moveTo(1);break;case 35:$.fn.multiscroll.moveTo($(\'.ms-left .ms-section\').length);break;default:return}}});$(document).mousedown(function(e){if(e.button==1){e.preventDefault();return!1}});$(document).on(\'click\',\'#multiscroll-nav a\',function(e){e.preventDefault();var index=$(this).parent().index();scrollPage($(\'.ms-left .ms-section\').eq(index))});$(document).on({mouseenter:function(){var tooltip=$(this).data(\'tooltip\');$(\'<div class=\"multiscroll-tooltip \'+options.navigationPosition+\'\">\'+tooltip+\'</div>\').hide().appendTo($(this)).fadeIn(200)},mouseleave:function(){$(this).find(\'.multiscroll-tooltip\').fadeOut(200,function(){$(this).remove()})}},\'#multiscroll-nav li\');if(options.normalScrollElements){$(document).on(\'mouseenter\',options.normalScrollElements,function(){$.fn.multiscroll.setMouseWheelScrolling(!1)});$(document).on(\'mouseleave\',options.normalScrollElements,function(){$.fn.multiscroll.setMouseWheelScrolling(!0)})}$(window).on(\'resize\',doneResizing);function doneResizing(){windowHeight=$(window).height();$(\'.ms-tableCell\').each(function(){$(this).css({height:getTableHeight($(this).parent())})});silentScroll();$.isFunction(options.afterResize)&&options.afterResize.call(this)}function silentScroll(){if(options.css3){transformContainer($(\'.ms-left\'),\'translate3d(0px, -\'+$(\'.ms-left\').find(\'.ms-section.active\').position().top+\'px, 0px)\',!1);transformContainer($(\'.ms-right\'),\'translate3d(0px, -\'+$(\'.ms-right\').find(\'.ms-section.active\').position().top+\'px, 0px)\',!1)}else{$(\'.ms-left\').css(\'top\',-$(\'.ms-left\').find(\'.ms-section.active\').position().top);$(\'.ms-right\').css(\'top\',-$(\'.ms-right\').find(\'.ms-section.active\').position().top)}}$.fn.multiscroll.moveSectionUp=function(){var prev=$(\'.ms-left .ms-section.active\').prev(\'.ms-section\');if(!prev.length&&options.loopTop){prev=$(\'.ms-left .ms-section\').last()}if(prev.length){scrollPage(prev)}};$.fn.multiscroll.moveSectionDown=function(){var next=$(\'.ms-left .ms-section.active\').next(\'.ms-section\');if(!next.length&&options.loopBottom){next=$(\'.ms-left .ms-section\').first()}if(next.length){scrollPage(next)}};$.fn.multiscroll.moveTo=function(section){var destiny=\'\';if(isNaN(section)){destiny=$(\'.ms-left [data-anchor=\"\'+section+\'\"]\')}else{destiny=$(\'.ms-left .ms-section\').eq((section-1))}scrollPage(destiny)};function scrollPage(leftDestination){var leftDestinationIndex=leftDestination.index();var rightDestination=$(\'.ms-right\').find(\'.ms-section\').eq(numberSections-1-leftDestinationIndex);var rightDestinationIndex=numberSections-1-leftDestinationIndex;var anchorLink=leftDestination.data(\'anchor\');var activeSection=$(\'.ms-left .ms-section.active\');var leavingSection=activeSection.index()+1;var yMovement=getYmovement(leftDestination);isMoving=!0;setURLHash(anchorLink);var topPos={\'left\':leftDestination.position().top,\'right\':rightDestination.position().top};rightDestination.addClass(\'active\').siblings().removeClass(\'active\');leftDestination.addClass(\'active\').siblings().removeClass(\'active\');if(options.css3){$.isFunction(options.onLeave)&&options.onLeave.call(this,leavingSection,(leftDestinationIndex+1),yMovement);var translate3dLeft=\'translate3d(0px, -\'+topPos.left+\'px, 0px)\';var translate3dRight=\'translate3d(0px, -\'+topPos.right+\'px, 0px)\';transformContainer($(\'.ms-left\'),translate3dLeft,!0);transformContainer($(\'.ms-right\'),translate3dRight,!0);setTimeout(function(){$.isFunction(options.afterLoad)&&options.afterLoad.call(this,anchorLink,(leftDestinationIndex+1));setTimeout(function(){isMoving=!1},scrollDelay)},options.scrollingSpeed)}else{$.isFunction(options.onLeave)&&options.onLeave.call(this,leavingSection,(leftDestinationIndex+1),yMovement);$(\'.ms-left\').animate({\'top\':-topPos.left},options.scrollingSpeed,options.easing,function(){$.isFunction(options.afterLoad)&&options.afterLoad.call(this,anchorLink,(leftDestinationIndex+1));setTimeout(function(){isMoving=!1},scrollDelay)});$(\'.ms-right\').animate({\'top\':-topPos.right},options.scrollingSpeed,options.easing)}lastScrolledDestiny=anchorLink;activateMenuElement(anchorLink);activateNavDots(anchorLink,leftDestinationIndex)}function removeMouseWheelHandler(){if(document.addEventListener){document.removeEventListener(\'mousewheel\',MouseWheelHandler,!1);document.removeEventListener(\'wheel\',MouseWheelHandler,!1)}else{document.detachEvent(\"onmousewheel\",MouseWheelHandler)}}function addMouseWheelHandler(){if(document.addEventListener){document.addEventListener(\"mousewheel\",MouseWheelHandler,!1);document.addEventListener(\"wheel\",MouseWheelHandler,!1)}else{document.attachEvent(\"onmousewheel\",MouseWheelHandler)}}function MouseWheelHandler(e){e=window.event||e;var delta=Math.max(-1,Math.min(1,(e.wheelDelta||-e.deltaY||-e.detail)));if(!isMoving){if(delta<0){$.fn.multiscroll.moveSectionDown()}else{$.fn.multiscroll.moveSectionUp()}}return!1}function transformContainer(container,translate3d,animated){container.toggleClass(\'ms-easing\',animated);container.css(getTransforms(translate3d))}function getTransforms(translate3d){return{\'-webkit-transform\':translate3d,\'-moz-transform\':translate3d,\'-ms-transform\':translate3d,\'transform\':translate3d}}function activateNavDots(name,sectionIndex){if(options.navigation){$(\'#multiscroll-nav\').find(\'.active\').removeClass(\'active\');if(name){$(\'#multiscroll-nav\').find(\'a[href=\"#\'+name+\'\"]\').addClass(\'active\')}else{$(\'#multiscroll-nav\').find(\'li\').eq(sectionIndex).find(\'a\').addClass(\'active\')}}}function activateMenuElement(name){if(options.menu){$(options.menu).find(\'.active\').removeClass(\'active\');$(options.menu).find(\'[data-menuanchor=\"\'+name+\'\"]\').addClass(\'active\')}}function getYmovement(destiny){var fromIndex=$(\'.ms-left .ms-section.active\').index();var toIndex=destiny.index();if(fromIndex>toIndex){return\'up\'}return\'down\'}function setURLHash(anchorLink){if(options.anchors.length){location.hash=anchorLink}}function support3d(){var el=document.createElement(\'p\'),has3d,transforms={\'webkitTransform\':\'-webkit-transform\',\'OTransform\':\'-o-transform\',\'msTransform\':\'-ms-transform\',\'MozTransform\':\'-moz-transform\',\'transform\':\'transform\'};document.body.insertBefore(el,null);for(var t in transforms){if(el.style[t]!==undefined){el.style[t]=\"translate3d(1px,1px,1px)\";has3d=window.getComputedStyle(el).getPropertyValue(transforms[t])}}document.body.removeChild(el);return(has3d!==undefined&&has3d.length>0&&has3d!==\"none\")}function addTableClass(element){element.addClass(\'ms-table\').wrapInner(\'<div class=\"ms-tableCell\" style=\"height: \'+getTableHeight(element)+\'px\" />\')}function getTableHeight(section){var sectionHeight=windowHeight;if(options.paddingTop||options.paddingBottom){var paddings=parseInt(section.css(\'padding-top\'))+parseInt(section.css(\'padding-bottom\'));sectionHeight=(windowHeight-paddings)}return sectionHeight}function scrollToAnchor(){var sectionAnchor=window.location.hash.replace(\'#\',\'\');var section=$(\'.ms-left .ms-section[data-anchor=\"\'+sectionAnchor+\'\"]\');if(sectionAnchor.length){scrollPage(section)}}$.fn.multiscroll.setKeyboardScrolling=function(value){options.keyboardScrolling=value};$.fn.multiscroll.setMouseWheelScrolling=function(value){if(value){addMouseWheelHandler()}else{removeMouseWheelHandler()}};$.fn.multiscroll.setScrollingSpeed=function(value){options.scrollingSpeed=value};var touchStartY=0;var touchStartX=0;var touchEndY=0;var touchEndX=0;function touchMoveHandler(event){var e=event.originalEvent;event.preventDefault();var activeSection=$(\'.ms-left .ms-section.active\');if(!isMoving){var touchEvents=getEventsPage(e);touchEndY=touchEvents.y;touchEndX=touchEvents.x;if(Math.abs(touchStartY-touchEndY)>($(window).height()/100*options.touchSensitivity)){if(touchStartY>touchEndY){$.fn.multiscroll.moveSectionDown()}else if(touchEndY>touchStartY){$.fn.multiscroll.moveSectionUp()}}}}function touchStartHandler(event){var e=event.originalEvent;var touchEvents=getEventsPage(e);touchStartY=touchEvents.y;touchStartX=touchEvents.x}function addTouchHandler(){if(isTouch){MSPointer=getMSPointer();$(document).off(\'touchstart \'+MSPointer.down).on(\'touchstart \'+MSPointer.down,touchStartHandler);$(document).off(\'touchmove \'+MSPointer.move).on(\'touchmove \'+MSPointer.move,touchMoveHandler)}}function removeTouchHandler(){if(isTouch){MSPointer=getMSPointer();$(document).off(\'touchstart \'+MSPointer.down);$(document).off(\'touchmove \'+MSPointer.move)}}function getMSPointer(){var pointer;if(window.PointerEvent){pointer={down:\"pointerdown\",move:\"pointermove\"}}else{pointer={down:\"MSPointerDown\",move:\"MSPointerMove\"}}return pointer}function getEventsPage(e){var events=new Array();if(window.navigator.msPointerEnabled){events.y=e.pageY;events.x=e.pageX}else{events.y=e.touches[0].pageY;events.x=e.touches[0].pageX}return events}$.fn.multiscroll.destroy=function(){$.fn.multiscroll.setKeyboardScrolling(!1);$.fn.multiscroll.setMouseWheelScrolling(!1);$(window).off(\'hashchange\',hashChangeHandler).off(\'resize\',doneResizing);$(document).off(\'touchstart\').off(\'touchmove\')};$.fn.multiscroll.build=function(){$.fn.multiscroll.setKeyboardScrolling(!0);$.fn.multiscroll.setMouseWheelScrolling(!0);$(window).on(\'hashchange\',hashChangeHandler).on(\'resize\',doneResizing);$(document).on(\'touchstart\',touchStartHandler).on(\'touchmove\',touchMoveHandler)}}})(jQuery)','dd4727d2fa4a4bbbb5d7f9bbf7d31206',1,1,'2021-08-05 17:27:25','2021-08-16 14:31:32'),(67,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/jquery.carouFredSel-6.2.1.js?ver=5.8','js','','(function($){if($.fn.carouFredSel){return}\n$.fn.caroufredsel=$.fn.carouFredSel=function(options,configs){if(this.length==0){debug(!0,\'No element found for \"\'+this.selector+\'\".\');return this}\nif(this.length>1){return this.each(function(){$(this).carouFredSel(options,configs)})}\nvar $cfs=this,$tt0=this[0],starting_position=!1;if($cfs.data(\'_cfs_isCarousel\')){starting_position=$cfs.triggerHandler(\'_cfs_triggerEvent\',\'currentPosition\');$cfs.trigger(\'_cfs_triggerEvent\',[\'destroy\',!0])}\nvar FN={};FN._init=function(o,setOrig,start){o=go_getObject($tt0,o);o.items=go_getItemsObject($tt0,o.items);o.scroll=go_getScrollObject($tt0,o.scroll);o.auto=go_getAutoObject($tt0,o.auto);o.prev=go_getPrevNextObject($tt0,o.prev);o.next=go_getPrevNextObject($tt0,o.next);o.pagination=go_getPaginationObject($tt0,o.pagination);o.swipe=go_getSwipeObject($tt0,o.swipe);o.mousewheel=go_getMousewheelObject($tt0,o.mousewheel);if(setOrig){opts_orig=$.extend(!0,{},$.fn.carouFredSel.defaults,o)}\nopts=$.extend(!0,{},$.fn.carouFredSel.defaults,o);opts.d=cf_getDimensions(opts);crsl.direction=(opts.direction==\'up\'||opts.direction==\'left\')?\'next\':\'prev\';var a_itm=$cfs.children(),avail_primary=ms_getParentSize($wrp,opts,\'width\');if(is_true(opts.cookie)){opts.cookie=\'caroufredsel_cookie_\'+conf.serialNumber}\nopts.maxDimension=ms_getMaxDimension(opts,avail_primary);opts.items=in_complementItems(opts.items,opts,a_itm,start);opts[opts.d.width]=in_complementPrimarySize(opts[opts.d.width],opts,a_itm);opts[opts.d.height]=in_complementSecondarySize(opts[opts.d.height],opts,a_itm);if(opts.responsive){if(!is_percentage(opts[opts.d.width])){opts[opts.d.width]=\'100%\'}}\nif(is_percentage(opts[opts.d.width])){crsl.upDateOnWindowResize=!0;crsl.primarySizePercentage=opts[opts.d.width];opts[opts.d.width]=ms_getPercentage(avail_primary,crsl.primarySizePercentage);if(!opts.items.visible){opts.items.visibleConf.variable=!0}}\nif(opts.responsive){opts.usePadding=!1;opts.padding=[0,0,0,0];opts.align=!1;opts.items.visibleConf.variable=!1}else{if(!opts.items.visible){opts=in_complementVisibleItems(opts,avail_primary)}\nif(!opts[opts.d.width]){if(!opts.items.visibleConf.variable&&is_number(opts.items[opts.d.width])&&opts.items.filter==\'*\'){opts[opts.d.width]=opts.items.visible*opts.items[opts.d.width];opts.align=!1}else{opts[opts.d.width]=\'variable\'}}\nif(is_undefined(opts.align)){opts.align=(is_number(opts[opts.d.width]))?\'center\':!1}\nif(opts.items.visibleConf.variable){opts.items.visible=gn_getVisibleItemsNext(a_itm,opts,0)}}\nif(opts.items.filter!=\'*\'&&!opts.items.visibleConf.variable){opts.items.visibleConf.org=opts.items.visible;opts.items.visible=gn_getVisibleItemsNextFilter(a_itm,opts,0)}\nopts.items.visible=cf_getItemsAdjust(opts.items.visible,opts,opts.items.visibleConf.adjust,$tt0);opts.items.visibleConf.old=opts.items.visible;if(opts.responsive){if(!opts.items.visibleConf.min){opts.items.visibleConf.min=opts.items.visible}\nif(!opts.items.visibleConf.max){opts.items.visibleConf.max=opts.items.visible}\nopts=in_getResponsiveValues(opts,a_itm,avail_primary)}else{opts.padding=cf_getPadding(opts.padding);if(opts.align==\'top\'){opts.align=\'left\'}else if(opts.align==\'bottom\'){opts.align=\'right\'}\nswitch(opts.align){case \'center\':case \'left\':case \'right\':if(opts[opts.d.width]!=\'variable\'){opts=in_getAlignPadding(opts,a_itm);opts.usePadding=!0}\nbreak;default:opts.align=!1;opts.usePadding=(opts.padding[0]==0&&opts.padding[1]==0&&opts.padding[2]==0&&opts.padding[3]==0)?!1:!0;break}}\nif(!is_number(opts.scroll.duration)){opts.scroll.duration=500}\nif(is_undefined(opts.scroll.items)){opts.scroll.items=(opts.responsive||opts.items.visibleConf.variable||opts.items.filter!=\'*\')?\'visible\':opts.items.visible}\nopts.auto=$.extend(!0,{},opts.scroll,opts.auto);opts.prev=$.extend(!0,{},opts.scroll,opts.prev);opts.next=$.extend(!0,{},opts.scroll,opts.next);opts.pagination=$.extend(!0,{},opts.scroll,opts.pagination);opts.auto=go_complementAutoObject($tt0,opts.auto);opts.prev=go_complementPrevNextObject($tt0,opts.prev);opts.next=go_complementPrevNextObject($tt0,opts.next);opts.pagination=go_complementPaginationObject($tt0,opts.pagination);opts.swipe=go_complementSwipeObject($tt0,opts.swipe);opts.mousewheel=go_complementMousewheelObject($tt0,opts.mousewheel);if(opts.synchronise){opts.synchronise=cf_getSynchArr(opts.synchronise)}\nif(opts.auto.onPauseStart){opts.auto.onTimeoutStart=opts.auto.onPauseStart;deprecated(\'auto.onPauseStart\',\'auto.onTimeoutStart\')}\nif(opts.auto.onPausePause){opts.auto.onTimeoutPause=opts.auto.onPausePause;deprecated(\'auto.onPausePause\',\'auto.onTimeoutPause\')}\nif(opts.auto.onPauseEnd){opts.auto.onTimeoutEnd=opts.auto.onPauseEnd;deprecated(\'auto.onPauseEnd\',\'auto.onTimeoutEnd\')}\nif(opts.auto.pauseDuration){opts.auto.timeoutDuration=opts.auto.pauseDuration;deprecated(\'auto.pauseDuration\',\'auto.timeoutDuration\')}};FN._build=function(){$cfs.data(\'_cfs_isCarousel\',!0);var a_itm=$cfs.children(),orgCSS=in_mapCss($cfs,[\'textAlign\',\'float\',\'position\',\'top\',\'right\',\'bottom\',\'left\',\'zIndex\',\'width\',\'marginTop\',\'marginRight\',\'marginBottom\',\'marginLeft\']),newPosition=\'relative\';switch(orgCSS.position){case \'absolute\':case \'fixed\':newPosition=orgCSS.position;break}\nif(conf.wrapper==\'parent\'){sz_storeOrigCss($wrp)}else{$wrp.css(orgCSS)}\n$wrp.css({\'overflow\':\'hidden\',\'position\':newPosition});sz_storeOrigCss($cfs);$cfs.data(\'_cfs_origCssZindex\',orgCSS.zIndex);$cfs.css({\'textAlign\':\'left\',\'float\':\'none\',\'position\':\'absolute\',\'top\':0,\'right\':\'auto\',\'bottom\':\'auto\',\'left\':0,\'marginTop\':0,\'marginRight\':0,\'marginBottom\':0,\'marginLeft\':0});sz_storeMargin(a_itm,opts);sz_storeOrigCss(a_itm);if(opts.responsive){sz_setResponsiveSizes(opts,a_itm)}};FN._bind_events=function(){FN._unbind_events();$cfs.bind(cf_e(\'stop\',conf),function(e,imm){e.stopPropagation();if(!crsl.isStopped){if(opts.auto.button){opts.auto.button.addClass(cf_c(\'stopped\',conf))}}\ncrsl.isStopped=!0;if(opts.auto.play){opts.auto.play=!1;$cfs.trigger(cf_e(\'pause\',conf),imm)}\nreturn!0});$cfs.bind(cf_e(\'finish\',conf),function(e){e.stopPropagation();if(crsl.isScrolling){sc_stopScroll(scrl)}\nreturn!0});$cfs.bind(cf_e(\'pause\',conf),function(e,imm,res){e.stopPropagation();tmrs=sc_clearTimers(tmrs);if(imm&&crsl.isScrolling){scrl.isStopped=!0;var nst=getTime()-scrl.startTime;scrl.duration-=nst;if(scrl.pre){scrl.pre.duration-=nst}\nif(scrl.post){scrl.post.duration-=nst}\nsc_stopScroll(scrl,!1)}\nif(!crsl.isPaused&&!crsl.isScrolling){if(res){tmrs.timePassed+=getTime()-tmrs.startTime}}\nif(!crsl.isPaused){if(opts.auto.button){opts.auto.button.addClass(cf_c(\'paused\',conf))}}\ncrsl.isPaused=!0;if(opts.auto.onTimeoutPause){var dur1=opts.auto.timeoutDuration-tmrs.timePassed,perc=100-Math.ceil(dur1*100/opts.auto.timeoutDuration);opts.auto.onTimeoutPause.call($tt0,perc,dur1)}\nreturn!0});$cfs.bind(cf_e(\'play\',conf),function(e,dir,del,res){e.stopPropagation();tmrs=sc_clearTimers(tmrs);var v=[dir,del,res],t=[\'string\',\'number\',\'boolean\'],a=cf_sortParams(v,t);dir=a[0];del=a[1];res=a[2];if(dir!=\'prev\'&&dir!=\'next\'){dir=crsl.direction}\nif(!is_number(del)){del=0}\nif(!is_boolean(res)){res=!1}\nif(res){crsl.isStopped=!1;opts.auto.play=!0}\nif(!opts.auto.play){e.stopImmediatePropagation();return debug(conf,\'Carousel stopped: Not scrolling.\')}\nif(crsl.isPaused){if(opts.auto.button){opts.auto.button.removeClass(cf_c(\'stopped\',conf));opts.auto.button.removeClass(cf_c(\'paused\',conf))}}\ncrsl.isPaused=!1;tmrs.startTime=getTime();var dur1=opts.auto.timeoutDuration+del;dur2=dur1-tmrs.timePassed;perc=100-Math.ceil(dur2*100/dur1);if(opts.auto.progress){tmrs.progress=setInterval(function(){var pasd=getTime()-tmrs.startTime+tmrs.timePassed,perc=Math.ceil(pasd*100/dur1);opts.auto.progress.updater.call(opts.auto.progress.bar[0],perc)},opts.auto.progress.interval)}\ntmrs.auto=setTimeout(function(){if(opts.auto.progress){opts.auto.progress.updater.call(opts.auto.progress.bar[0],100)}\nif(opts.auto.onTimeoutEnd){opts.auto.onTimeoutEnd.call($tt0,perc,dur2)}\nif(crsl.isScrolling){$cfs.trigger(cf_e(\'play\',conf),dir)}else{$cfs.trigger(cf_e(dir,conf),opts.auto)}},dur2);if(opts.auto.onTimeoutStart){opts.auto.onTimeoutStart.call($tt0,perc,dur2)}\nreturn!0});$cfs.bind(cf_e(\'resume\',conf),function(e){e.stopPropagation();if(scrl.isStopped){scrl.isStopped=!1;crsl.isPaused=!1;crsl.isScrolling=!0;scrl.startTime=getTime();sc_startScroll(scrl,conf)}else{$cfs.trigger(cf_e(\'play\',conf))}\nreturn!0});$cfs.bind(cf_e(\'prev\',conf)+\' \'+cf_e(\'next\',conf),function(e,obj,num,clb,que){e.stopPropagation();if(crsl.isStopped||$cfs.is(\':hidden\')){e.stopImmediatePropagation();return debug(conf,\'Carousel stopped or hidden: Not scrolling.\')}\nvar minimum=(is_number(opts.items.minimum))?opts.items.minimum:opts.items.visible+1;if(minimum>itms.total){e.stopImmediatePropagation();return debug(conf,\'Not enough items (\'+itms.total+\' total, \'+minimum+\' needed): Not scrolling.\')}\nvar v=[obj,num,clb,que],t=[\'object\',\'number/string\',\'function\',\'boolean\'],a=cf_sortParams(v,t);obj=a[0];num=a[1];clb=a[2];que=a[3];var eType=e.type.slice(conf.events.prefix.length);if(!is_object(obj)){obj={}}\nif(is_function(clb)){obj.onAfter=clb}\nif(is_boolean(que)){obj.queue=que}\nobj=$.extend(!0,{},opts[eType],obj);if(obj.conditions&&!obj.conditions.call($tt0,eType)){e.stopImmediatePropagation();return debug(conf,\'Callback \"conditions\" returned false.\')}\nif(!is_number(num)){if(opts.items.filter!=\'*\'){num=\'visible\'}else{var arr=[num,obj.items,opts[eType].items];for(var a=0,l=arr.length;a<l;a++){if(is_number(arr[a])||arr[a]==\'page\'||arr[a]==\'visible\'){num=arr[a];break}}}\nswitch(num){case \'page\':e.stopImmediatePropagation();return $cfs.triggerHandler(cf_e(eType+\'Page\',conf),[obj,clb]);break;case \'visible\':if(!opts.items.visibleConf.variable&&opts.items.filter==\'*\'){num=opts.items.visible}\nbreak}}\nif(scrl.isStopped){$cfs.trigger(cf_e(\'resume\',conf));$cfs.trigger(cf_e(\'queue\',conf),[eType,[obj,num,clb]]);e.stopImmediatePropagation();return debug(conf,\'Carousel resumed scrolling.\')}\nif(obj.duration>0){if(crsl.isScrolling){if(obj.queue){if(obj.queue==\'last\'){queu=[]}\nif(obj.queue!=\'first\'||queu.length==0){$cfs.trigger(cf_e(\'queue\',conf),[eType,[obj,num,clb]])}}\ne.stopImmediatePropagation();return debug(conf,\'Carousel currently scrolling.\')}}\ntmrs.timePassed=0;$cfs.trigger(cf_e(\'slide_\'+eType,conf),[obj,num]);if(opts.synchronise){var s=opts.synchronise,c=[obj,num];for(var j=0,l=s.length;j<l;j++){var d=eType;if(!s[j][2]){d=(d==\'prev\')?\'next\':\'prev\'}\nif(!s[j][1]){c[0]=s[j][0].triggerHandler(\'_cfs_triggerEvent\',[\'configuration\',d])}\nc[1]=num+s[j][3];s[j][0].trigger(\'_cfs_triggerEvent\',[\'slide_\'+d,c])}}\nreturn!0});$cfs.bind(cf_e(\'slide_prev\',conf),function(e,sO,nI){e.stopPropagation();var a_itm=$cfs.children();if(!opts.circular){if(itms.first==0){if(opts.infinite){$cfs.trigger(cf_e(\'next\',conf),itms.total-1)}\nreturn e.stopImmediatePropagation()}}\nsz_resetMargin(a_itm,opts);if(!is_number(nI)){if(opts.items.visibleConf.variable){nI=gn_getVisibleItemsPrev(a_itm,opts,itms.total-1)}else if(opts.items.filter!=\'*\'){var xI=(is_number(sO.items))?sO.items:gn_getVisibleOrg($cfs,opts);nI=gn_getScrollItemsPrevFilter(a_itm,opts,itms.total-1,xI)}else{nI=opts.items.visible}\nnI=cf_getAdjust(nI,opts,sO.items,$tt0)}\nif(!opts.circular){if(itms.total-nI<itms.first){nI=itms.total-itms.first}}\nopts.items.visibleConf.old=opts.items.visible;if(opts.items.visibleConf.variable){var vI=cf_getItemsAdjust(gn_getVisibleItemsNext(a_itm,opts,itms.total-nI),opts,opts.items.visibleConf.adjust,$tt0);if(opts.items.visible+nI<=vI&&nI<itms.total){nI++;vI=cf_getItemsAdjust(gn_getVisibleItemsNext(a_itm,opts,itms.total-nI),opts,opts.items.visibleConf.adjust,$tt0)}\nopts.items.visible=vI}else if(opts.items.filter!=\'*\'){var vI=gn_getVisibleItemsNextFilter(a_itm,opts,itms.total-nI);opts.items.visible=cf_getItemsAdjust(vI,opts,opts.items.visibleConf.adjust,$tt0)}\nsz_resetMargin(a_itm,opts,!0);if(nI==0){e.stopImmediatePropagation();return debug(conf,\'0 items to scroll: Not scrolling.\')}\ndebug(conf,\'Scrolling \'+nI+\' items backward.\');itms.first+=nI;while(itms.first>=itms.total){itms.first-=itms.total}\nif(!opts.circular){if(itms.first==0&&sO.onEnd){sO.onEnd.call($tt0,\'prev\')}\nif(!opts.infinite){nv_enableNavi(opts,itms.first,conf)}}\n$cfs.children().slice(itms.total-nI,itms.total).prependTo($cfs);if(itms.total<opts.items.visible+nI){$cfs.children().slice(0,(opts.items.visible+nI)-itms.total).clone(!0).appendTo($cfs)}\nvar a_itm=$cfs.children(),i_old=gi_getOldItemsPrev(a_itm,opts,nI),i_new=gi_getNewItemsPrev(a_itm,opts),i_cur_l=a_itm.eq(nI-1),i_old_l=i_old.last(),i_new_l=i_new.last();sz_resetMargin(a_itm,opts);var pL=0,pR=0;if(opts.align){var p=cf_getAlignPadding(i_new,opts);pL=p[0];pR=p[1]}\nvar oL=(pL<0)?opts.padding[opts.d[3]]:0;var hiddenitems=!1,i_skp=$();if(opts.items.visible<nI){i_skp=a_itm.slice(opts.items.visibleConf.old,nI);if(sO.fx==\'directscroll\'){var orgW=opts.items[opts.d.width];hiddenitems=i_skp;i_cur_l=i_new_l;sc_hideHiddenItems(hiddenitems);opts.items[opts.d.width]=\'variable\'}}\nvar $cf2=!1,i_siz=ms_getTotalSize(a_itm.slice(0,nI),opts,\'width\'),w_siz=cf_mapWrapperSizes(ms_getSizes(i_new,opts,!0),opts,!opts.usePadding),i_siz_vis=0,a_cfs={},a_wsz={},a_cur={},a_old={},a_new={},a_lef={},a_lef_vis={},a_dur=sc_getDuration(sO,opts,nI,i_siz);switch(sO.fx){case \'cover\':case \'cover-fade\':i_siz_vis=ms_getTotalSize(a_itm.slice(0,opts.items.visible),opts,\'width\');break}\nif(hiddenitems){opts.items[opts.d.width]=orgW}\nsz_resetMargin(a_itm,opts,!0);if(pR>=0){sz_resetMargin(i_old_l,opts,opts.padding[opts.d[1]])}\nif(pL>=0){sz_resetMargin(i_cur_l,opts,opts.padding[opts.d[3]])}\nif(opts.align){opts.padding[opts.d[1]]=pR;opts.padding[opts.d[3]]=pL}\na_lef[opts.d.left]=-(i_siz-oL);a_lef_vis[opts.d.left]=-(i_siz_vis-oL);a_wsz[opts.d.left]=w_siz[opts.d.width];var _s_wrapper=function(){},_a_wrapper=function(){},_s_paddingold=function(){},_a_paddingold=function(){},_s_paddingnew=function(){},_a_paddingnew=function(){},_s_paddingcur=function(){},_a_paddingcur=function(){},_onafter=function(){},_moveitems=function(){},_position=function(){};switch(sO.fx){case \'crossfade\':case \'cover\':case \'cover-fade\':case \'uncover\':case \'uncover-fade\':$cf2=$cfs.clone(!0).appendTo($wrp);break}\nswitch(sO.fx){case \'crossfade\':case \'uncover\':case \'uncover-fade\':$cf2.children().slice(0,nI).remove();$cf2.children().slice(opts.items.visibleConf.old).remove();break;case \'cover\':case \'cover-fade\':$cf2.children().slice(opts.items.visible).remove();$cf2.css(a_lef_vis);break}\n$cfs.css(a_lef);scrl=sc_setScroll(a_dur,sO.easing,conf);a_cfs[opts.d.left]=(opts.usePadding)?opts.padding[opts.d[3]]:0;if(opts[opts.d.width]==\'variable\'||opts[opts.d.height]==\'variable\'){_s_wrapper=function(){$wrp.css(w_siz)};_a_wrapper=function(){scrl.anims.push([$wrp,w_siz])}}\nif(opts.usePadding){if(i_new_l.not(i_cur_l).length){a_cur[opts.d.marginRight]=i_cur_l.data(\'_cfs_origCssMargin\');if(pL<0){i_cur_l.css(a_cur)}else{_s_paddingcur=function(){i_cur_l.css(a_cur)};_a_paddingcur=function(){scrl.anims.push([i_cur_l,a_cur])}}}\nswitch(sO.fx){case \'cover\':case \'cover-fade\':$cf2.children().eq(nI-1).css(a_cur);break}\nif(i_new_l.not(i_old_l).length){a_old[opts.d.marginRight]=i_old_l.data(\'_cfs_origCssMargin\');_s_paddingold=function(){i_old_l.css(a_old)};_a_paddingold=function(){scrl.anims.push([i_old_l,a_old])}}\nif(pR>=0){a_new[opts.d.marginRight]=i_new_l.data(\'_cfs_origCssMargin\')+opts.padding[opts.d[1]];_s_paddingnew=function(){i_new_l.css(a_new)};_a_paddingnew=function(){scrl.anims.push([i_new_l,a_new])}}}\n_position=function(){$cfs.css(a_cfs)};var overFill=opts.items.visible+nI-itms.total;_moveitems=function(){if(overFill>0){$cfs.children().slice(itms.total).remove();i_old=$($cfs.children().slice(itms.total-(opts.items.visible-overFill)).get().concat($cfs.children().slice(0,overFill).get()))}\nsc_showHiddenItems(hiddenitems);if(opts.usePadding){var l_itm=$cfs.children().eq(opts.items.visible+nI-1);l_itm.css(opts.d.marginRight,l_itm.data(\'_cfs_origCssMargin\'))}};var cb_arguments=sc_mapCallbackArguments(i_old,i_skp,i_new,nI,\'prev\',a_dur,w_siz);_onafter=function(){sc_afterScroll($cfs,$cf2,sO);crsl.isScrolling=!1;clbk.onAfter=sc_fireCallbacks($tt0,sO,\'onAfter\',cb_arguments,clbk);queu=sc_fireQueue($cfs,queu,conf);if(!crsl.isPaused){$cfs.trigger(cf_e(\'play\',conf))}};crsl.isScrolling=!0;tmrs=sc_clearTimers(tmrs);clbk.onBefore=sc_fireCallbacks($tt0,sO,\'onBefore\',cb_arguments,clbk);switch(sO.fx){case \'none\':$cfs.css(a_cfs);_s_wrapper();_s_paddingold();_s_paddingnew();_s_paddingcur();_position();_moveitems();_onafter();break;case \'fade\':scrl.anims.push([$cfs,{\'opacity\':0},function(){_s_wrapper();_s_paddingold();_s_paddingnew();_s_paddingcur();_position();_moveitems();scrl=sc_setScroll(a_dur,sO.easing,conf);scrl.anims.push([$cfs,{\'opacity\':1},_onafter]);sc_startScroll(scrl,conf)}]);break;case \'crossfade\':$cfs.css({\'opacity\':0});scrl.anims.push([$cf2,{\'opacity\':0}]);scrl.anims.push([$cfs,{\'opacity\':1},_onafter]);_a_wrapper();_s_paddingold();_s_paddingnew();_s_paddingcur();_position();_moveitems();break;case \'cover\':scrl.anims.push([$cf2,a_cfs,function(){_s_paddingold();_s_paddingnew();_s_paddingcur();_position();_moveitems();_onafter()}]);_a_wrapper();break;case \'cover-fade\':scrl.anims.push([$cfs,{\'opacity\':0}]);scrl.anims.push([$cf2,a_cfs,function(){_s_paddingold();_s_paddingnew();_s_paddingcur();_position();_moveitems();_onafter()}]);_a_wrapper();break;case \'uncover\':scrl.anims.push([$cf2,a_wsz,_onafter]);_a_wrapper();_s_paddingold();_s_paddingnew();_s_paddingcur();_position();_moveitems();break;case \'uncover-fade\':$cfs.css({\'opacity\':0});scrl.anims.push([$cfs,{\'opacity\':1}]);scrl.anims.push([$cf2,a_wsz,_onafter]);_a_wrapper();_s_paddingold();_s_paddingnew();_s_paddingcur();_position();_moveitems();break;default:scrl.anims.push([$cfs,a_cfs,function(){_moveitems();_onafter()}]);_a_wrapper();_a_paddingold();_a_paddingnew();_a_paddingcur();break}\nsc_startScroll(scrl,conf);cf_setCookie(opts.cookie,$cfs,conf);$cfs.trigger(cf_e(\'updatePageStatus\',conf),[!1,w_siz]);return!0});$cfs.bind(cf_e(\'slide_next\',conf),function(e,sO,nI){e.stopPropagation();var a_itm=$cfs.children();if(!opts.circular){if(itms.first==opts.items.visible){if(opts.infinite){$cfs.trigger(cf_e(\'prev\',conf),itms.total-1)}\nreturn e.stopImmediatePropagation()}}\nsz_resetMargin(a_itm,opts);if(!is_number(nI)){if(opts.items.filter!=\'*\'){var xI=(is_number(sO.items))?sO.items:gn_getVisibleOrg($cfs,opts);nI=gn_getScrollItemsNextFilter(a_itm,opts,0,xI)}else{nI=opts.items.visible}\nnI=cf_getAdjust(nI,opts,sO.items,$tt0)}\nvar lastItemNr=(itms.first==0)?itms.total:itms.first;if(!opts.circular){if(opts.items.visibleConf.variable){var vI=gn_getVisibleItemsNext(a_itm,opts,nI),xI=gn_getVisibleItemsPrev(a_itm,opts,lastItemNr-1)}else{var vI=opts.items.visible,xI=opts.items.visible}\nif(nI+vI>lastItemNr){nI=lastItemNr-xI}}\nopts.items.visibleConf.old=opts.items.visible;if(opts.items.visibleConf.variable){var vI=cf_getItemsAdjust(gn_getVisibleItemsNextTestCircular(a_itm,opts,nI,lastItemNr),opts,opts.items.visibleConf.adjust,$tt0);while(opts.items.visible-nI>=vI&&nI<itms.total){nI++;vI=cf_getItemsAdjust(gn_getVisibleItemsNextTestCircular(a_itm,opts,nI,lastItemNr),opts,opts.items.visibleConf.adjust,$tt0)}\nopts.items.visible=vI}else if(opts.items.filter!=\'*\'){var vI=gn_getVisibleItemsNextFilter(a_itm,opts,nI);opts.items.visible=cf_getItemsAdjust(vI,opts,opts.items.visibleConf.adjust,$tt0)}\nsz_resetMargin(a_itm,opts,!0);if(nI==0){e.stopImmediatePropagation();return debug(conf,\'0 items to scroll: Not scrolling.\')}\ndebug(conf,\'Scrolling \'+nI+\' items forward.\');itms.first-=nI;while(itms.first<0){itms.first+=itms.total}\nif(!opts.circular){if(itms.first==opts.items.visible&&sO.onEnd){sO.onEnd.call($tt0,\'next\')}\nif(!opts.infinite){nv_enableNavi(opts,itms.first,conf)}}\nif(itms.total<opts.items.visible+nI){$cfs.children().slice(0,(opts.items.visible+nI)-itms.total).clone(!0).appendTo($cfs)}\nvar a_itm=$cfs.children(),i_old=gi_getOldItemsNext(a_itm,opts),i_new=gi_getNewItemsNext(a_itm,opts,nI),i_cur_l=a_itm.eq(nI-1),i_old_l=i_old.last(),i_new_l=i_new.last();sz_resetMargin(a_itm,opts);var pL=0,pR=0;if(opts.align){var p=cf_getAlignPadding(i_new,opts);pL=p[0];pR=p[1]}\nvar hiddenitems=!1,i_skp=$();if(opts.items.visibleConf.old<nI){i_skp=a_itm.slice(opts.items.visibleConf.old,nI);if(sO.fx==\'directscroll\'){var orgW=opts.items[opts.d.width];hiddenitems=i_skp;i_cur_l=i_old_l;sc_hideHiddenItems(hiddenitems);opts.items[opts.d.width]=\'variable\'}}\nvar $cf2=!1,i_siz=ms_getTotalSize(a_itm.slice(0,nI),opts,\'width\'),w_siz=cf_mapWrapperSizes(ms_getSizes(i_new,opts,!0),opts,!opts.usePadding),i_siz_vis=0,a_cfs={},a_cfs_vis={},a_cur={},a_old={},a_lef={},a_dur=sc_getDuration(sO,opts,nI,i_siz);switch(sO.fx){case \'uncover\':case \'uncover-fade\':i_siz_vis=ms_getTotalSize(a_itm.slice(0,opts.items.visibleConf.old),opts,\'width\');break}\nif(hiddenitems){opts.items[opts.d.width]=orgW}\nif(opts.align){if(opts.padding[opts.d[1]]<0){opts.padding[opts.d[1]]=0}}\nsz_resetMargin(a_itm,opts,!0);sz_resetMargin(i_old_l,opts,opts.padding[opts.d[1]]);if(opts.align){opts.padding[opts.d[1]]=pR;opts.padding[opts.d[3]]=pL}\na_lef[opts.d.left]=(opts.usePadding)?opts.padding[opts.d[3]]:0;var _s_wrapper=function(){},_a_wrapper=function(){},_s_paddingold=function(){},_a_paddingold=function(){},_s_paddingcur=function(){},_a_paddingcur=function(){},_onafter=function(){},_moveitems=function(){},_position=function(){};switch(sO.fx){case \'crossfade\':case \'cover\':case \'cover-fade\':case \'uncover\':case \'uncover-fade\':$cf2=$cfs.clone(!0).appendTo($wrp);$cf2.children().slice(opts.items.visibleConf.old).remove();break}\nswitch(sO.fx){case \'crossfade\':case \'cover\':case \'cover-fade\':$cfs.css(\'zIndex\',1);$cf2.css(\'zIndex\',0);break}\nscrl=sc_setScroll(a_dur,sO.easing,conf);a_cfs[opts.d.left]=-i_siz;a_cfs_vis[opts.d.left]=-i_siz_vis;if(pL<0){a_cfs[opts.d.left]+=pL}\nif(opts[opts.d.width]==\'variable\'||opts[opts.d.height]==\'variable\'){_s_wrapper=function(){$wrp.css(w_siz)};_a_wrapper=function(){scrl.anims.push([$wrp,w_siz])}}\nif(opts.usePadding){var i_new_l_m=i_new_l.data(\'_cfs_origCssMargin\');if(pR>=0){i_new_l_m+=opts.padding[opts.d[1]]}\ni_new_l.css(opts.d.marginRight,i_new_l_m);if(i_cur_l.not(i_old_l).length){a_old[opts.d.marginRight]=i_old_l.data(\'_cfs_origCssMargin\')}\n_s_paddingold=function(){i_old_l.css(a_old)};_a_paddingold=function(){scrl.anims.push([i_old_l,a_old])};var i_cur_l_m=i_cur_l.data(\'_cfs_origCssMargin\');if(pL>0){i_cur_l_m+=opts.padding[opts.d[3]]}\na_cur[opts.d.marginRight]=i_cur_l_m;_s_paddingcur=function(){i_cur_l.css(a_cur)};_a_paddingcur=function(){scrl.anims.push([i_cur_l,a_cur])}}\n_position=function(){$cfs.css(a_lef)};var overFill=opts.items.visible+nI-itms.total;_moveitems=function(){if(overFill>0){$cfs.children().slice(itms.total).remove()}\nvar l_itm=$cfs.children().slice(0,nI).appendTo($cfs).last();if(overFill>0){i_new=gi_getCurrentItems(a_itm,opts)}\nsc_showHiddenItems(hiddenitems);if(opts.usePadding){if(itms.total<opts.items.visible+nI){var i_cur_l=$cfs.children().eq(opts.items.visible-1);i_cur_l.css(opts.d.marginRight,i_cur_l.data(\'_cfs_origCssMargin\')+opts.padding[opts.d[1]])}\nl_itm.css(opts.d.marginRight,l_itm.data(\'_cfs_origCssMargin\'))}};var cb_arguments=sc_mapCallbackArguments(i_old,i_skp,i_new,nI,\'next\',a_dur,w_siz);_onafter=function(){$cfs.css(\'zIndex\',$cfs.data(\'_cfs_origCssZindex\'));sc_afterScroll($cfs,$cf2,sO);crsl.isScrolling=!1;clbk.onAfter=sc_fireCallbacks($tt0,sO,\'onAfter\',cb_arguments,clbk);queu=sc_fireQueue($cfs,queu,conf);if(!crsl.isPaused){$cfs.trigger(cf_e(\'play\',conf))}};crsl.isScrolling=!0;tmrs=sc_clearTimers(tmrs);clbk.onBefore=sc_fireCallbacks($tt0,sO,\'onBefore\',cb_arguments,clbk);switch(sO.fx){case \'none\':$cfs.css(a_cfs);_s_wrapper();_s_paddingold();_s_paddingcur();_position();_moveitems();_onafter();break;case \'fade\':scrl.anims.push([$cfs,{\'opacity\':0},function(){_s_wrapper();_s_paddingold();_s_paddingcur();_position();_moveitems();scrl=sc_setScroll(a_dur,sO.easing,conf);scrl.anims.push([$cfs,{\'opacity\':1},_onafter]);sc_startScroll(scrl,conf)}]);break;case \'crossfade\':$cfs.css({\'opacity\':0});scrl.anims.push([$cf2,{\'opacity\':0}]);scrl.anims.push([$cfs,{\'opacity\':1},_onafter]);_a_wrapper();_s_paddingold();_s_paddingcur();_position();_moveitems();break;case \'cover\':$cfs.css(opts.d.left,$wrp[opts.d.width]());scrl.anims.push([$cfs,a_lef,_onafter]);_a_wrapper();_s_paddingold();_s_paddingcur();_moveitems();break;case \'cover-fade\':$cfs.css(opts.d.left,$wrp[opts.d.width]());scrl.anims.push([$cf2,{\'opacity\':0}]);scrl.anims.push([$cfs,a_lef,_onafter]);_a_wrapper();_s_paddingold();_s_paddingcur();_moveitems();break;case \'uncover\':scrl.anims.push([$cf2,a_cfs_vis,_onafter]);_a_wrapper();_s_paddingold();_s_paddingcur();_position();_moveitems();break;case \'uncover-fade\':$cfs.css({\'opacity\':0});scrl.anims.push([$cfs,{\'opacity\':1}]);scrl.anims.push([$cf2,a_cfs_vis,_onafter]);_a_wrapper();_s_paddingold();_s_paddingcur();_position();_moveitems();break;default:scrl.anims.push([$cfs,a_cfs,function(){_position();_moveitems();_onafter()}]);_a_wrapper();_a_paddingold();_a_paddingcur();break}\nsc_startScroll(scrl,conf);cf_setCookie(opts.cookie,$cfs,conf);$cfs.trigger(cf_e(\'updatePageStatus\',conf),[!1,w_siz]);return!0});$cfs.bind(cf_e(\'slideTo\',conf),function(e,num,dev,org,obj,dir,clb){e.stopPropagation();var v=[num,dev,org,obj,dir,clb],t=[\'string/number/object\',\'number\',\'boolean\',\'object\',\'string\',\'function\'],a=cf_sortParams(v,t);obj=a[3];dir=a[4];clb=a[5];num=gn_getItemIndex(a[0],a[1],a[2],itms,$cfs);if(num==0){return!1}\nif(!is_object(obj)){obj=!1}\nif(dir!=\'prev\'&&dir!=\'next\'){if(opts.circular){dir=(num<=itms.total/2)?\'next\':\'prev\'}else{dir=(itms.first==0||itms.first>num)?\'next\':\'prev\'}}\nif(dir==\'prev\'){num=itms.total-num}\n$cfs.trigger(cf_e(dir,conf),[obj,num,clb]);return!0});$cfs.bind(cf_e(\'prevPage\',conf),function(e,obj,clb){e.stopPropagation();var cur=$cfs.triggerHandler(cf_e(\'currentPage\',conf));return $cfs.triggerHandler(cf_e(\'slideToPage\',conf),[cur-1,obj,\'prev\',clb])});$cfs.bind(cf_e(\'nextPage\',conf),function(e,obj,clb){e.stopPropagation();var cur=$cfs.triggerHandler(cf_e(\'currentPage\',conf));return $cfs.triggerHandler(cf_e(\'slideToPage\',conf),[cur+1,obj,\'next\',clb])});$cfs.bind(cf_e(\'slideToPage\',conf),function(e,pag,obj,dir,clb){e.stopPropagation();if(!is_number(pag)){pag=$cfs.triggerHandler(cf_e(\'currentPage\',conf))}\nvar ipp=opts.pagination.items||opts.items.visible,max=Math.ceil(itms.total/ipp)-1;if(pag<0){pag=max}\nif(pag>max){pag=0}\nreturn $cfs.triggerHandler(cf_e(\'slideTo\',conf),[pag*ipp,0,!0,obj,dir,clb])});$cfs.bind(cf_e(\'jumpToStart\',conf),function(e,s){e.stopPropagation();if(s){s=gn_getItemIndex(s,0,!0,itms,$cfs)}else{s=0}\ns+=itms.first;if(s!=0){if(itms.total>0){while(s>itms.total){s-=itms.total}}\n$cfs.prepend($cfs.children().slice(s,itms.total))}\nreturn!0});$cfs.bind(cf_e(\'synchronise\',conf),function(e,s){e.stopPropagation();if(s){s=cf_getSynchArr(s)}else if(opts.synchronise){s=opts.synchronise}else{return debug(conf,\'No carousel to synchronise.\')}\nvar n=$cfs.triggerHandler(cf_e(\'currentPosition\',conf)),x=!0;for(var j=0,l=s.length;j<l;j++){if(!s[j][0].triggerHandler(cf_e(\'slideTo\',conf),[n,s[j][3],!0])){x=!1}}\nreturn x});$cfs.bind(cf_e(\'queue\',conf),function(e,dir,opt){e.stopPropagation();if(is_function(dir)){dir.call($tt0,queu)}else if(is_array(dir)){queu=dir}else if(!is_undefined(dir)){queu.push([dir,opt])}\nreturn queu});$cfs.bind(cf_e(\'insertItem\',conf),function(e,itm,num,org,dev){e.stopPropagation();var v=[itm,num,org,dev],t=[\'string/object\',\'string/number/object\',\'boolean\',\'number\'],a=cf_sortParams(v,t);itm=a[0];num=a[1];org=a[2];dev=a[3];if(is_object(itm)&&!is_jquery(itm)){itm=$(itm)}else if(is_string(itm)){itm=$(itm)}\nif(!is_jquery(itm)||itm.length==0){return debug(conf,\'Not a valid object.\')}\nif(is_undefined(num)){num=\'end\'}\nsz_storeMargin(itm,opts);sz_storeOrigCss(itm);var orgNum=num,before=\'before\';if(num==\'end\'){if(org){if(itms.first==0){num=itms.total-1;before=\'after\'}else{num=itms.first;itms.first+=itm.length}\nif(num<0){num=0}}else{num=itms.total-1;before=\'after\'}}else{num=gn_getItemIndex(num,dev,org,itms,$cfs)}\nvar $cit=$cfs.children().eq(num);if($cit.length){$cit[before](itm)}else{debug(conf,\'Correct insert-position not found! Appending item to the end.\');$cfs.append(itm)}\nif(orgNum!=\'end\'&&!org){if(num<itms.first){itms.first+=itm.length}}\nitms.total=$cfs.children().length;if(itms.first>=itms.total){itms.first-=itms.total}\n$cfs.trigger(cf_e(\'updateSizes\',conf));$cfs.trigger(cf_e(\'linkAnchors\',conf));return!0});$cfs.bind(cf_e(\'removeItem\',conf),function(e,num,org,dev){e.stopPropagation();var v=[num,org,dev],t=[\'string/number/object\',\'boolean\',\'number\'],a=cf_sortParams(v,t);num=a[0];org=a[1];dev=a[2];var removed=!1;if(num instanceof $&&num.length>1){$removed=$();num.each(function(i,el){var $rem=$cfs.trigger(cf_e(\'removeItem\',conf),[$(this),org,dev]);if($rem){$removed=$removed.add($rem)}});return $removed}\nif(is_undefined(num)||num==\'end\'){$removed=$cfs.children().last()}else{num=gn_getItemIndex(num,dev,org,itms,$cfs);var $removed=$cfs.children().eq(num);if($removed.length){if(num<itms.first){itms.first-=$removed.length}}}\nif($removed&&$removed.length){$removed.detach();itms.total=$cfs.children().length;$cfs.trigger(cf_e(\'updateSizes\',conf))}\nreturn $removed});$cfs.bind(cf_e(\'onBefore\',conf)+\' \'+cf_e(\'onAfter\',conf),function(e,fn){e.stopPropagation();var eType=e.type.slice(conf.events.prefix.length);if(is_array(fn)){clbk[eType]=fn}\nif(is_function(fn)){clbk[eType].push(fn)}\nreturn clbk[eType]});$cfs.bind(cf_e(\'currentPosition\',conf),function(e,fn){e.stopPropagation();if(itms.first==0){var val=0}else{var val=itms.total-itms.first}\nif(is_function(fn)){fn.call($tt0,val)}\nreturn val});$cfs.bind(cf_e(\'currentPage\',conf),function(e,fn){e.stopPropagation();var ipp=opts.pagination.items||opts.items.visible,max=Math.ceil(itms.total/ipp-1),nr;if(itms.first==0){nr=0}else if(itms.first<itms.total%ipp){nr=0}else if(itms.first==ipp&&!opts.circular){nr=max}else{nr=Math.round((itms.total-itms.first)/ipp)}\nif(nr<0){nr=0}\nif(nr>max){nr=max}\nif(is_function(fn)){fn.call($tt0,nr)}\nreturn nr});$cfs.bind(cf_e(\'currentVisible\',conf),function(e,fn){e.stopPropagation();var $i=gi_getCurrentItems($cfs.children(),opts);if(is_function(fn)){fn.call($tt0,$i)}\nreturn $i});$cfs.bind(cf_e(\'slice\',conf),function(e,f,l,fn){e.stopPropagation();if(itms.total==0){return!1}\nvar v=[f,l,fn],t=[\'number\',\'number\',\'function\'],a=cf_sortParams(v,t);f=(is_number(a[0]))?a[0]:0;l=(is_number(a[1]))?a[1]:itms.total;fn=a[2];f+=itms.first;l+=itms.first;if(items.total>0){while(f>itms.total){f-=itms.total}\nwhile(l>itms.total){l-=itms.total}\nwhile(f<0){f+=itms.total}\nwhile(l<0){l+=itms.total}}\nvar $iA=$cfs.children(),$i;if(l>f){$i=$iA.slice(f,l)}else{$i=$($iA.slice(f,itms.total).get().concat($iA.slice(0,l).get()))}\nif(is_function(fn)){fn.call($tt0,$i)}\nreturn $i});$cfs.bind(cf_e(\'isPaused\',conf)+\' \'+cf_e(\'isStopped\',conf)+\' \'+cf_e(\'isScrolling\',conf),function(e,fn){e.stopPropagation();var eType=e.type.slice(conf.events.prefix.length),value=crsl[eType];if(is_function(fn)){fn.call($tt0,value)}\nreturn value});$cfs.bind(cf_e(\'configuration\',conf),function(e,a,b,c){e.stopPropagation();var reInit=!1;if(is_function(a)){a.call($tt0,opts)}else if(is_object(a)){opts_orig=$.extend(!0,{},opts_orig,a);if(b!==!1)reInit=!0;else opts=$.extend(!0,{},opts,a)}else if(!is_undefined(a)){if(is_function(b)){var val=eval(\'opts.\'+a);if(is_undefined(val)){val=\'\'}\nb.call($tt0,val)}else if(!is_undefined(b)){if(typeof c!==\'boolean\')c=!0;eval(\'opts_orig.\'+a+\' = b\');if(c!==!1)reInit=!0;else eval(\'opts.\'+a+\' = b\')}else{return eval(\'opts.\'+a)}}\nif(reInit){sz_resetMargin($cfs.children(),opts);FN._init(opts_orig);FN._bind_buttons();var sz=sz_setSizes($cfs,opts);$cfs.trigger(cf_e(\'updatePageStatus\',conf),[!0,sz])}\nreturn opts});$cfs.bind(cf_e(\'linkAnchors\',conf),function(e,$con,sel){e.stopPropagation();if(is_undefined($con)){$con=$(\'body\')}else if(is_string($con)){$con=$($con)}\nif(!is_jquery($con)||$con.length==0){return debug(conf,\'Not a valid object.\')}\nif(!is_string(sel)){sel=\'a.caroufredsel\'}\n$con.find(sel).each(function(){var h=this.hash||\'\';if(h.length>0&&$cfs.children().index($(h))!=-1){$(this).unbind(\'click\').click(function(e){e.preventDefault();$cfs.trigger(cf_e(\'slideTo\',conf),h)})}});return!0});$cfs.bind(cf_e(\'updatePageStatus\',conf),function(e,build,sizes){e.stopPropagation();if(!opts.pagination.container){return}\nvar ipp=opts.pagination.items||opts.items.visible,pgs=Math.ceil(itms.total/ipp);if(build){if(opts.pagination.anchorBuilder){opts.pagination.container.children().remove();opts.pagination.container.each(function(){for(var a=0;a<pgs;a++){var i=$cfs.children().eq(gn_getItemIndex(a*ipp,0,!0,itms,$cfs));$(this).append(opts.pagination.anchorBuilder.call(i[0],a+1))}})}\nopts.pagination.container.each(function(){$(this).children().unbind(opts.pagination.event).each(function(a){$(this).bind(opts.pagination.event,function(e){e.preventDefault();$cfs.trigger(cf_e(\'slideTo\',conf),[a*ipp,-opts.pagination.deviation,!0,opts.pagination])})})})}\nvar selected=$cfs.triggerHandler(cf_e(\'currentPage\',conf))+opts.pagination.deviation;if(selected>=pgs){selected=0}\nif(selected<0){selected=pgs-1}\nopts.pagination.container.each(function(){$(this).children().removeClass(cf_c(\'selected\',conf)).eq(selected).addClass(cf_c(\'selected\',conf))});return!0});$cfs.bind(cf_e(\'updateSizes\',conf),function(e){var vI=opts.items.visible,a_itm=$cfs.children(),avail_primary=ms_getParentSize($wrp,opts,\'width\');itms.total=a_itm.length;if(crsl.primarySizePercentage){opts.maxDimension=avail_primary;opts[opts.d.width]=ms_getPercentage(avail_primary,crsl.primarySizePercentage)}else{opts.maxDimension=ms_getMaxDimension(opts,avail_primary)}\nif(opts.responsive){opts.items.width=opts.items.sizesConf.width;opts.items.height=opts.items.sizesConf.height;opts=in_getResponsiveValues(opts,a_itm,avail_primary);vI=opts.items.visible;sz_setResponsiveSizes(opts,a_itm)}else if(opts.items.visibleConf.variable){vI=gn_getVisibleItemsNext(a_itm,opts,0)}else if(opts.items.filter!=\'*\'){vI=gn_getVisibleItemsNextFilter(a_itm,opts,0)}\nif(!opts.circular&&itms.first!=0&&vI>itms.first){if(opts.items.visibleConf.variable){var nI=gn_getVisibleItemsPrev(a_itm,opts,itms.first)-itms.first}else if(opts.items.filter!=\'*\'){var nI=gn_getVisibleItemsPrevFilter(a_itm,opts,itms.first)-itms.first}else{var nI=opts.items.visible-itms.first}\ndebug(conf,\'Preventing non-circular: sliding \'+nI+\' items backward.\');$cfs.trigger(cf_e(\'prev\',conf),nI)}\nopts.items.visible=cf_getItemsAdjust(vI,opts,opts.items.visibleConf.adjust,$tt0);opts.items.visibleConf.old=opts.items.visible;opts=in_getAlignPadding(opts,a_itm);var sz=sz_setSizes($cfs,opts);$cfs.trigger(cf_e(\'updatePageStatus\',conf),[!0,sz]);nv_showNavi(opts,itms.total,conf);nv_enableNavi(opts,itms.first,conf);return sz});$cfs.bind(cf_e(\'destroy\',conf),function(e,orgOrder){e.stopPropagation();tmrs=sc_clearTimers(tmrs);$cfs.data(\'_cfs_isCarousel\',!1);$cfs.trigger(cf_e(\'finish\',conf));if(orgOrder){$cfs.trigger(cf_e(\'jumpToStart\',conf))}\nsz_restoreOrigCss($cfs.children());sz_restoreOrigCss($cfs);FN._unbind_events();FN._unbind_buttons();if(conf.wrapper==\'parent\'){sz_restoreOrigCss($wrp)}else{$wrp.replaceWith($cfs)}\nreturn!0});$cfs.bind(cf_e(\'debug\',conf),function(e){debug(conf,\'Carousel width: \'+opts.width);debug(conf,\'Carousel height: \'+opts.height);debug(conf,\'Item widths: \'+opts.items.width);debug(conf,\'Item heights: \'+opts.items.height);debug(conf,\'Number of items visible: \'+opts.items.visible);if(opts.auto.play){debug(conf,\'Number of items scrolled automatically: \'+opts.auto.items)}\nif(opts.prev.button){debug(conf,\'Number of items scrolled backward: \'+opts.prev.items)}\nif(opts.next.button){debug(conf,\'Number of items scrolled forward: \'+opts.next.items)}\nreturn conf.debug});$cfs.bind(\'_cfs_triggerEvent\',function(e,n,o){e.stopPropagation();return $cfs.triggerHandler(cf_e(n,conf),o)})};FN._unbind_events=function(){$cfs.unbind(cf_e(\'\',conf));$cfs.unbind(cf_e(\'\',conf,!1));$cfs.unbind(\'_cfs_triggerEvent\')};FN._bind_buttons=function(){FN._unbind_buttons();nv_showNavi(opts,itms.total,conf);nv_enableNavi(opts,itms.first,conf);if(opts.auto.pauseOnHover){var pC=bt_pauseOnHoverConfig(opts.auto.pauseOnHover);$wrp.bind(cf_e(\'mouseenter\',conf,!1),function(){$cfs.trigger(cf_e(\'pause\',conf),pC)}).bind(cf_e(\'mouseleave\',conf,!1),function(){$cfs.trigger(cf_e(\'resume\',conf))})}\nif(opts.auto.button){opts.auto.button.bind(cf_e(opts.auto.event,conf,!1),function(e){e.preventDefault();var ev=!1,pC=null;if(crsl.isPaused){ev=\'play\'}else if(opts.auto.pauseOnEvent){ev=\'pause\';pC=bt_pauseOnHoverConfig(opts.auto.pauseOnEvent)}\nif(ev){$cfs.trigger(cf_e(ev,conf),pC)}})}\nif(opts.prev.button){opts.prev.button.bind(cf_e(opts.prev.event,conf,!1),function(e){e.preventDefault();$cfs.trigger(cf_e(\'prev\',conf))});if(opts.prev.pauseOnHover){var pC=bt_pauseOnHoverConfig(opts.prev.pauseOnHover);opts.prev.button.bind(cf_e(\'mouseenter\',conf,!1),function(){$cfs.trigger(cf_e(\'pause\',conf),pC)}).bind(cf_e(\'mouseleave\',conf,!1),function(){$cfs.trigger(cf_e(\'resume\',conf))})}}\nif(opts.next.button){opts.next.button.bind(cf_e(opts.next.event,conf,!1),function(e){e.preventDefault();$cfs.trigger(cf_e(\'next\',conf))});if(opts.next.pauseOnHover){var pC=bt_pauseOnHoverConfig(opts.next.pauseOnHover);opts.next.button.bind(cf_e(\'mouseenter\',conf,!1),function(){$cfs.trigger(cf_e(\'pause\',conf),pC)}).bind(cf_e(\'mouseleave\',conf,!1),function(){$cfs.trigger(cf_e(\'resume\',conf))})}}\nif(opts.pagination.container){if(opts.pagination.pauseOnHover){var pC=bt_pauseOnHoverConfig(opts.pagination.pauseOnHover);opts.pagination.container.bind(cf_e(\'mouseenter\',conf,!1),function(){$cfs.trigger(cf_e(\'pause\',conf),pC)}).bind(cf_e(\'mouseleave\',conf,!1),function(){$cfs.trigger(cf_e(\'resume\',conf))})}}\nif(opts.prev.key||opts.next.key){$(document).bind(cf_e(\'keyup\',conf,!1,!0,!0),function(e){var k=e.keyCode;if(k==opts.next.key){e.preventDefault();$cfs.trigger(cf_e(\'next\',conf))}\nif(k==opts.prev.key){e.preventDefault();$cfs.trigger(cf_e(\'prev\',conf))}})}\nif(opts.pagination.keys){$(document).bind(cf_e(\'keyup\',conf,!1,!0,!0),function(e){var k=e.keyCode;if(k>=49&&k<58){k=(k-49)*opts.items.visible;if(k<=itms.total){e.preventDefault();$cfs.trigger(cf_e(\'slideTo\',conf),[k,0,!0,opts.pagination])}}})}\nif($.fn.swipe){var isTouch=\'ontouchstart\' in window;if((isTouch&&opts.swipe.onTouch)||(!isTouch&&opts.swipe.onMouse)){var scP=$.extend(!0,{},opts.prev,opts.swipe),scN=$.extend(!0,{},opts.next,opts.swipe),swP=function(){$cfs.trigger(cf_e(\'prev\',conf),[scP])},swN=function(){$cfs.trigger(cf_e(\'next\',conf),[scN])};switch(opts.direction){case \'up\':case \'down\':opts.swipe.options.swipeUp=swN;opts.swipe.options.swipeDown=swP;break;default:opts.swipe.options.swipeLeft=swN;opts.swipe.options.swipeRight=swP}\nif(crsl.swipe){$cfs.swipe(\'destroy\')}\n$wrp.swipe(opts.swipe.options);$wrp.css(\'cursor\',\'move\');crsl.swipe=!0}}\nif($.fn.mousewheel){if(opts.mousewheel){var mcP=$.extend(!0,{},opts.prev,opts.mousewheel),mcN=$.extend(!0,{},opts.next,opts.mousewheel);if(crsl.mousewheel){$wrp.unbind(cf_e(\'mousewheel\',conf,!1))}\n$wrp.bind(cf_e(\'mousewheel\',conf,!1),function(e,delta){e.preventDefault();if(delta>0){$cfs.trigger(cf_e(\'prev\',conf),[mcP])}else{$cfs.trigger(cf_e(\'next\',conf),[mcN])}});crsl.mousewheel=!0}}\nif(opts.auto.play){$cfs.trigger(cf_e(\'play\',conf),opts.auto.delay)}\nif(crsl.upDateOnWindowResize){var resizeFn=function(e){$cfs.trigger(cf_e(\'finish\',conf));if(opts.auto.pauseOnResize&&!crsl.isPaused){$cfs.trigger(cf_e(\'play\',conf))}\nsz_resetMargin($cfs.children(),opts);$cfs.trigger(cf_e(\'updateSizes\',conf))};var $w=$(window),onResize=null;if($.debounce&&conf.onWindowResize==\'debounce\'){onResize=$.debounce(200,resizeFn)}else if($.throttle&&conf.onWindowResize==\'throttle\'){onResize=$.throttle(300,resizeFn)}else{var _windowWidth=0,_windowHeight=0;onResize=function(){var nw=$w.width(),nh=$w.height();if(nw!=_windowWidth||nh!=_windowHeight){resizeFn();_windowWidth=nw;_windowHeight=nh}}}\n$w.bind(cf_e(\'resize\',conf,!1,!0,!0),onResize)}};FN._unbind_buttons=function(){var ns1=cf_e(\'\',conf),ns2=cf_e(\'\',conf,!1);ns3=cf_e(\'\',conf,!1,!0,!0);$(document).unbind(ns3);$(window).unbind(ns3);$wrp.unbind(ns2);if(opts.auto.button){opts.auto.button.unbind(ns2)}\nif(opts.prev.button){opts.prev.button.unbind(ns2)}\nif(opts.next.button){opts.next.button.unbind(ns2)}\nif(opts.pagination.container){opts.pagination.container.unbind(ns2);if(opts.pagination.anchorBuilder){opts.pagination.container.children().remove()}}\nif(crsl.swipe){$cfs.swipe(\'destroy\');$wrp.css(\'cursor\',\'default\');crsl.swipe=!1}\nif(crsl.mousewheel){crsl.mousewheel=!1}\nnv_showNavi(opts,\'hide\',conf);nv_enableNavi(opts,\'removeClass\',conf)};if(is_boolean(configs)){configs={\'debug\':configs}}\nvar crsl={\'direction\':\'next\',\'isPaused\':!0,\'isScrolling\':!1,\'isStopped\':!1,\'mousewheel\':!1,\'swipe\':!1},itms={\'total\':$cfs.children().length,\'first\':0},tmrs={\'auto\':null,\'progress\':null,\'startTime\':getTime(),\'timePassed\':0},scrl={\'isStopped\':!1,\'duration\':0,\'startTime\':0,\'easing\':\'\',\'anims\':[]},clbk={\'onBefore\':[],\'onAfter\':[]},queu=[],conf=$.extend(!0,{},$.fn.carouFredSel.configs,configs),opts={},opts_orig=$.extend(!0,{},options),$wrp=(conf.wrapper==\'parent\')?$cfs.parent():$cfs.wrap(\'<\'+conf.wrapper.element+\' class=\"\'+conf.wrapper.classname+\'\" />\').parent();conf.selector=$cfs.selector;conf.serialNumber=$.fn.carouFredSel.serialNumber++;conf.transition=(conf.transition&&$.fn.transition)?\'transition\':\'animate\';FN._init(opts_orig,!0,starting_position);FN._build();FN._bind_events();FN._bind_buttons();if(is_array(opts.items.start)){var start_arr=opts.items.start}else{var start_arr=[];if(opts.items.start!=0){start_arr.push(opts.items.start)}}\nif(opts.cookie){start_arr.unshift(parseInt(cf_getCookie(opts.cookie),10))}\nif(start_arr.length>0){for(var a=0,l=start_arr.length;a<l;a++){var s=start_arr[a];if(s==0){continue}\nif(s===!0){s=window.location.hash;if(s.length<1){continue}}else if(s===\'random\'){s=Math.floor(Math.random()*itms.total)}\nif($cfs.triggerHandler(cf_e(\'slideTo\',conf),[s,0,!0,{fx:\'none\'}])){break}}}\nvar siz=sz_setSizes($cfs,opts),itm=gi_getCurrentItems($cfs.children(),opts);if(opts.onCreate){opts.onCreate.call($tt0,{\'width\':siz.width,\'height\':siz.height,\'items\':itm})}\n$cfs.trigger(cf_e(\'updatePageStatus\',conf),[!0,siz]);$cfs.trigger(cf_e(\'linkAnchors\',conf));if(conf.debug){$cfs.trigger(cf_e(\'debug\',conf))}\nreturn $cfs};$.fn.carouFredSel.serialNumber=1;$.fn.carouFredSel.defaults={\'synchronise\':!1,\'infinite\':!0,\'circular\':!0,\'responsive\':!1,\'direction\':\'left\',\'items\':{\'start\':0},\'scroll\':{\'easing\':\'swing\',\'duration\':500,\'pauseOnHover\':!1,\'event\':\'click\',\'queue\':!1}};$.fn.carouFredSel.configs={\'debug\':!1,\'transition\':!1,\'onWindowResize\':\'throttle\',\'events\':{\'prefix\':\'\',\'namespace\':\'cfs\'},\'wrapper\':{\'element\':\'div\',\'classname\':\'caroufredsel_wrapper\'},\'classnames\':{}};$.fn.carouFredSel.pageAnchorBuilder=function(nr){return\'<a href=\"#\"><span>\'+nr+\'</span></a>\'};$.fn.carouFredSel.progressbarUpdater=function(perc){$(this).css(\'width\',perc+\'%\')};$.fn.carouFredSel.cookie={get:function(n){n+=\'=\';var ca=document.cookie.split(\';\');for(var a=0,l=ca.length;a<l;a++){var c=ca[a];while(c.charAt(0)==\' \'){c=c.slice(1)}\nif(c.indexOf(n)==0){return c.slice(n.length)}}\nreturn 0},set:function(n,v,d){var e=\"\";if(d){var date=new Date();date.setTime(date.getTime()+(d*24*60*60*1000));e=\"; expires=\"+date.toGMTString()}\ndocument.cookie=n+\'=\'+v+e+\'; path=/\'},remove:function(n){$.fn.carouFredSel.cookie.set(n,\"\",-1)}};function sc_setScroll(d,e,c){if(c.transition==\'transition\'){if(e==\'swing\'){e=\'ease\'}}\nreturn{anims:[],duration:d,orgDuration:d,easing:e,startTime:getTime()}}\nfunction sc_startScroll(s,c){for(var a=0,l=s.anims.length;a<l;a++){var b=s.anims[a];if(!b){continue}\nb[0][c.transition](b[1],s.duration,s.easing,b[2])}}\nfunction sc_stopScroll(s,finish){if(!is_boolean(finish)){finish=!0}\nif(is_object(s.pre)){sc_stopScroll(s.pre,finish)}\nfor(var a=0,l=s.anims.length;a<l;a++){var b=s.anims[a];b[0].stop(!0);if(finish){b[0].css(b[1]);if(is_function(b[2])){b[2]()}}}\nif(is_object(s.post)){sc_stopScroll(s.post,finish)}}\nfunction sc_afterScroll($c,$c2,o){if($c2){$c2.remove()}\nswitch(o.fx){case \'fade\':case \'crossfade\':case \'cover-fade\':case \'uncover-fade\':$c.css(\'opacity\',1);$c.css(\'filter\',\'\');break}}\nfunction sc_fireCallbacks($t,o,b,a,c){if(o[b]){o[b].call($t,a)}\nif(c[b].length){for(var i=0,l=c[b].length;i<l;i++){c[b][i].call($t,a)}}\nreturn[]}\nfunction sc_fireQueue($c,q,c){if(q.length){$c.trigger(cf_e(q[0][0],c),q[0][1]);q.shift()}\nreturn q}\nfunction sc_hideHiddenItems(hiddenitems){hiddenitems.each(function(){var hi=$(this);hi.data(\'_cfs_isHidden\',hi.is(\':hidden\')).hide()})}\nfunction sc_showHiddenItems(hiddenitems){if(hiddenitems){hiddenitems.each(function(){var hi=$(this);if(!hi.data(\'_cfs_isHidden\')){hi.show()}})}}\nfunction sc_clearTimers(t){if(t.auto){clearTimeout(t.auto)}\nif(t.progress){clearInterval(t.progress)}\nreturn t}\nfunction sc_mapCallbackArguments(i_old,i_skp,i_new,s_itm,s_dir,s_dur,w_siz){return{\'width\':w_siz.width,\'height\':w_siz.height,\'items\':{\'old\':i_old,\'skipped\':i_skp,\'visible\':i_new},\'scroll\':{\'items\':s_itm,\'direction\':s_dir,\'duration\':s_dur}}}\nfunction sc_getDuration(sO,o,nI,siz){var dur=sO.duration;if(sO.fx==\'none\'){return 0}\nif(dur==\'auto\'){dur=o.scroll.duration/o.scroll.items*nI}else if(dur<10){dur=siz/dur}\nif(dur<1){return 0}\nif(sO.fx==\'fade\'){dur=dur/2}\nreturn Math.round(dur)}\nfunction nv_showNavi(o,t,c){var minimum=(is_number(o.items.minimum))?o.items.minimum:o.items.visible+1;if(t==\'show\'||t==\'hide\'){var f=t}else if(minimum>t){debug(c,\'Not enough items (\'+t+\' total, \'+minimum+\' needed): Hiding navigation.\');var f=\'hide\'}else{var f=\'show\'}\nvar s=(f==\'show\')?\'removeClass\':\'addClass\',h=cf_c(\'hidden\',c);if(o.auto.button){o.auto.button[f]()[s](h)}\nif(o.prev.button){o.prev.button[f]()[s](h)}\nif(o.next.button){o.next.button[f]()[s](h)}\nif(o.pagination.container){o.pagination.container[f]()[s](h)}}\nfunction nv_enableNavi(o,f,c){if(o.circular||o.infinite)return;var fx=(f==\'removeClass\'||f==\'addClass\')?f:!1,di=cf_c(\'disabled\',c);if(o.auto.button&&fx){o.auto.button[fx](di)}\nif(o.prev.button){var fn=fx||(f==0)?\'addClass\':\'removeClass\';o.prev.button[fn](di)}\nif(o.next.button){var fn=fx||(f==o.items.visible)?\'addClass\':\'removeClass\';o.next.button[fn](di)}}\nfunction go_getObject($tt,obj){if(is_function(obj)){obj=obj.call($tt)}else if(is_undefined(obj)){obj={}}\nreturn obj}\nfunction go_getItemsObject($tt,obj){obj=go_getObject($tt,obj);if(is_number(obj)){obj={\'visible\':obj}}else if(obj==\'variable\'){obj={\'visible\':obj,\'width\':obj,\'height\':obj}}else if(!is_object(obj)){obj={}}\nreturn obj}\nfunction go_getScrollObject($tt,obj){obj=go_getObject($tt,obj);if(is_number(obj)){if(obj<=50){obj={\'items\':obj}}else{obj={\'duration\':obj}}}else if(is_string(obj)){obj={\'easing\':obj}}else if(!is_object(obj)){obj={}}\nreturn obj}\nfunction go_getNaviObject($tt,obj){obj=go_getObject($tt,obj);if(is_string(obj)){var temp=cf_getKeyCode(obj);if(temp==-1){obj=$(obj)}else{obj=temp}}\nreturn obj}\nfunction go_getAutoObject($tt,obj){obj=go_getNaviObject($tt,obj);if(is_jquery(obj)){obj={\'button\':obj}}else if(is_boolean(obj)){obj={\'play\':obj}}else if(is_number(obj)){obj={\'timeoutDuration\':obj}}\nif(obj.progress){if(is_string(obj.progress)||is_jquery(obj.progress)){obj.progress={\'bar\':obj.progress}}}\nreturn obj}\nfunction go_complementAutoObject($tt,obj){if(is_function(obj.button)){obj.button=obj.button.call($tt)}\nif(is_string(obj.button)){obj.button=$(obj.button)}\nif(!is_boolean(obj.play)){obj.play=!0}\nif(!is_number(obj.delay)){obj.delay=0}\nif(is_undefined(obj.pauseOnEvent)){obj.pauseOnEvent=!0}\nif(!is_boolean(obj.pauseOnResize)){obj.pauseOnResize=!0}\nif(!is_number(obj.timeoutDuration)){obj.timeoutDuration=(obj.duration<10)?2500:obj.duration*5}\nif(obj.progress){if(is_function(obj.progress.bar)){obj.progress.bar=obj.progress.bar.call($tt)}\nif(is_string(obj.progress.bar)){obj.progress.bar=$(obj.progress.bar)}\nif(obj.progress.bar){if(!is_function(obj.progress.updater)){obj.progress.updater=$.fn.carouFredSel.progressbarUpdater}\nif(!is_number(obj.progress.interval)){obj.progress.interval=50}}else{obj.progress=!1}}\nreturn obj}\nfunction go_getPrevNextObject($tt,obj){obj=go_getNaviObject($tt,obj);if(is_jquery(obj)){obj={\'button\':obj}}else if(is_number(obj)){obj={\'key\':obj}}\nreturn obj}\nfunction go_complementPrevNextObject($tt,obj){if(is_function(obj.button)){obj.button=obj.button.call($tt)}\nif(is_string(obj.button)){obj.button=$(obj.button)}\nif(is_string(obj.key)){obj.key=cf_getKeyCode(obj.key)}\nreturn obj}\nfunction go_getPaginationObject($tt,obj){obj=go_getNaviObject($tt,obj);if(is_jquery(obj)){obj={\'container\':obj}}else if(is_boolean(obj)){obj={\'keys\':obj}}\nreturn obj}\nfunction go_complementPaginationObject($tt,obj){if(is_function(obj.container)){obj.container=obj.container.call($tt)}\nif(is_string(obj.container)){obj.container=$(obj.container)}\nif(!is_number(obj.items)){obj.items=!1}\nif(!is_boolean(obj.keys)){obj.keys=!1}\nif(!is_function(obj.anchorBuilder)&&!is_false(obj.anchorBuilder)){obj.anchorBuilder=$.fn.carouFredSel.pageAnchorBuilder}\nif(!is_number(obj.deviation)){obj.deviation=0}\nreturn obj}\nfunction go_getSwipeObject($tt,obj){if(is_function(obj)){obj=obj.call($tt)}\nif(is_undefined(obj)){obj={\'onTouch\':!1}}\nif(is_true(obj)){obj={\'onTouch\':obj}}else if(is_number(obj)){obj={\'items\':obj}}\nreturn obj}\nfunction go_complementSwipeObject($tt,obj){if(!is_boolean(obj.onTouch)){obj.onTouch=!0}\nif(!is_boolean(obj.onMouse)){obj.onMouse=!1}\nif(!is_object(obj.options)){obj.options={}}\nif(!is_boolean(obj.options.triggerOnTouchEnd)){obj.options.triggerOnTouchEnd=!1}\nreturn obj}\nfunction go_getMousewheelObject($tt,obj){if(is_function(obj)){obj=obj.call($tt)}\nif(is_true(obj)){obj={}}else if(is_number(obj)){obj={\'items\':obj}}else if(is_undefined(obj)){obj=!1}\nreturn obj}\nfunction go_complementMousewheelObject($tt,obj){return obj}\nfunction gn_getItemIndex(num,dev,org,items,$cfs){if(is_string(num)){num=$(num,$cfs)}\nif(is_object(num)){num=$(num,$cfs)}\nif(is_jquery(num)){num=$cfs.children().index(num);if(!is_boolean(org)){org=!1}}else{if(!is_boolean(org)){org=!0}}\nif(!is_number(num)){num=0}\nif(!is_number(dev)){dev=0}\nif(org){num+=items.first}\nnum+=dev;if(items.total>0){while(num>=items.total){num-=items.total}\nwhile(num<0){num+=items.total}}\nreturn num}\nfunction gn_getVisibleItemsPrev(i,o,s){var t=0,x=0;for(var a=s;a>=0;a--){var j=i.eq(a);t+=(j.is(\':visible\'))?j[o.d.outerWidth](!0):0;if(t>o.maxDimension){return x}\nif(a==0){a=i.length}\nx++}}\nfunction gn_getVisibleItemsPrevFilter(i,o,s){return gn_getItemsPrevFilter(i,o.items.filter,o.items.visibleConf.org,s)}\nfunction gn_getScrollItemsPrevFilter(i,o,s,m){return gn_getItemsPrevFilter(i,o.items.filter,m,s)}\nfunction gn_getItemsPrevFilter(i,f,m,s){var t=0,x=0;for(var a=s,l=i.length;a>=0;a--){x++;if(x==l){return x}\nvar j=i.eq(a);if(j.is(f)){t++;if(t==m){return x}}\nif(a==0){a=l}}}\nfunction gn_getVisibleOrg($c,o){return o.items.visibleConf.org||$c.children().slice(0,o.items.visible).filter(o.items.filter).length}\nfunction gn_getVisibleItemsNext(i,o,s){var t=0,x=0;for(var a=s,l=i.length-1;a<=l;a++){var j=i.eq(a);t+=(j.is(\':visible\'))?j[o.d.outerWidth](!0):0;if(t>o.maxDimension){return x}\nx++;if(x==l+1){return x}\nif(a==l){a=-1}}}\nfunction gn_getVisibleItemsNextTestCircular(i,o,s,l){var v=gn_getVisibleItemsNext(i,o,s);if(!o.circular){if(s+v>l){v=l-s}}\nreturn v}\nfunction gn_getVisibleItemsNextFilter(i,o,s){return gn_getItemsNextFilter(i,o.items.filter,o.items.visibleConf.org,s,o.circular)}\nfunction gn_getScrollItemsNextFilter(i,o,s,m){return gn_getItemsNextFilter(i,o.items.filter,m+1,s,o.circular)-1}\nfunction gn_getItemsNextFilter(i,f,m,s,c){var t=0,x=0;for(var a=s,l=i.length-1;a<=l;a++){x++;if(x>=l){return x}\nvar j=i.eq(a);if(j.is(f)){t++;if(t==m){return x}}\nif(a==l){a=-1}}}\nfunction gi_getCurrentItems(i,o){return i.slice(0,o.items.visible)}\nfunction gi_getOldItemsPrev(i,o,n){return i.slice(n,o.items.visibleConf.old+n)}\nfunction gi_getNewItemsPrev(i,o){return i.slice(0,o.items.visible)}\nfunction gi_getOldItemsNext(i,o){return i.slice(0,o.items.visibleConf.old)}\nfunction gi_getNewItemsNext(i,o,n){return i.slice(n,o.items.visible+n)}\nfunction sz_storeMargin(i,o,d){if(o.usePadding){if(!is_string(d)){d=\'_cfs_origCssMargin\'}\ni.each(function(){var j=$(this),m=parseInt(j.css(o.d.marginRight),10);if(!is_number(m)){m=0}\nj.data(d,m)})}}\nfunction sz_resetMargin(i,o,m){if(o.usePadding){var x=(is_boolean(m))?m:!1;if(!is_number(m)){m=0}\nsz_storeMargin(i,o,\'_cfs_tempCssMargin\');i.each(function(){var j=$(this);j.css(o.d.marginRight,((x)?j.data(\'_cfs_tempCssMargin\'):m+j.data(\'_cfs_origCssMargin\')))})}}\nfunction sz_storeOrigCss(i){i.each(function(){var j=$(this);j.data(\'_cfs_origCss\',j.attr(\'style\')||\'\')})}\nfunction sz_restoreOrigCss(i){i.each(function(){var j=$(this);j.attr(\'style\',j.data(\'_cfs_origCss\')||\'\')})}\nfunction sz_setResponsiveSizes(o,all){var visb=o.items.visible,newS=o.items[o.d.width],seco=o[o.d.height],secp=is_percentage(seco);all.each(function(){var $t=$(this),nw=newS-ms_getPaddingBorderMargin($t,o,\'Width\');$t[o.d.width](nw);if(secp){$t[o.d.height](ms_getPercentage(nw,seco))}})}\nfunction sz_setSizes($c,o){var $w=$c.parent(),$i=$c.children(),$v=gi_getCurrentItems($i,o),sz=cf_mapWrapperSizes(ms_getSizes($v,o,!0),o,!1);$w.css(sz);if(o.usePadding){var p=o.padding,r=p[o.d[1]];if(o.align&&r<0){r=0}\nvar $l=$v.last();$l.css(o.d.marginRight,$l.data(\'_cfs_origCssMargin\')+r);$c.css(o.d.top,p[o.d[0]]);$c.css(o.d.left,p[o.d[3]])}\n$c.css(o.d.width,sz[o.d.width]+(ms_getTotalSize($i,o,\'width\')*2));return sz}\nfunction ms_getSizes(i,o,wrapper){return[ms_getTotalSize(i,o,\'width\',wrapper),ms_getLargestSize(i,o,\'height\',wrapper)]}\nfunction ms_getLargestSize(i,o,dim,wrapper){if(!is_boolean(wrapper)){wrapper=!1}\nif(is_number(o[o.d[dim]])&&wrapper){return o[o.d[dim]]}\nif(is_number(o.items[o.d[dim]])){return o.items[o.d[dim]]}\ndim=(dim.toLowerCase().indexOf(\'width\')>-1)?\'outerWidth\':\'outerHeight\';return ms_getTrueLargestSize(i,o,dim)}\nfunction ms_getTrueLargestSize(i,o,dim){var s=0;for(var a=0,l=i.length;a<l;a++){var j=i.eq(a);var m=(j.is(\':visible\'))?j[o.d[dim]](!0):0;if(s<m){s=m}}\nreturn s}\nfunction ms_getTotalSize(i,o,dim,wrapper){if(!is_boolean(wrapper)){wrapper=!1}\nif(is_number(o[o.d[dim]])&&wrapper){return o[o.d[dim]]}\nif(is_number(o.items[o.d[dim]])){return o.items[o.d[dim]]*i.length}\nvar d=(dim.toLowerCase().indexOf(\'width\')>-1)?\'outerWidth\':\'outerHeight\',s=0;for(var a=0,l=i.length;a<l;a++){var j=i.eq(a);s+=(j.is(\':visible\'))?j[o.d[d]](!0):0}\nreturn s}\nfunction ms_getParentSize($w,o,d){var isVisible=$w.is(\':visible\');if(isVisible){$w.hide()}\nvar s=$w.parent()[o.d[d]]();if(isVisible){$w.show()}\nreturn s}\nfunction ms_getMaxDimension(o,a){return(is_number(o[o.d.width]))?o[o.d.width]:a}\nfunction ms_hasVariableSizes(i,o,dim){var s=!1,v=!1;for(var a=0,l=i.length;a<l;a++){var j=i.eq(a);var c=(j.is(\':visible\'))?j[o.d[dim]](!0):0;if(s===!1){s=c}else if(s!=c){v=!0}\nif(s==0){v=!0}}\nreturn v}\nfunction ms_getPaddingBorderMargin(i,o,d){return i[o.d[\'outer\'+d]](!0)-i[o.d[d.toLowerCase()]]()}\nfunction ms_getPercentage(s,o){if(is_percentage(o)){o=parseInt(o.slice(0,-1),10);if(!is_number(o)){return s}\ns*=o/100}\nreturn s}\nfunction cf_e(n,c,pf,ns,rd){if(!is_boolean(pf)){pf=!0}\nif(!is_boolean(ns)){ns=!0}\nif(!is_boolean(rd)){rd=!1}\nif(pf){n=c.events.prefix+n}\nif(ns){n=n+\'.\'+c.events.namespace}\nif(ns&&rd){n+=c.serialNumber}\nreturn n}\nfunction cf_c(n,c){return(is_string(c.classnames[n]))?c.classnames[n]:n}\nfunction cf_mapWrapperSizes(ws,o,p){if(!is_boolean(p)){p=!0}\nvar pad=(o.usePadding&&p)?o.padding:[0,0,0,0];var wra={};wra[o.d.width]=ws[0]+pad[1]+pad[3];return wra}\nfunction cf_sortParams(vals,typs){var arr=[];for(var a=0,l1=vals.length;a<l1;a++){for(var b=0,l2=typs.length;b<l2;b++){if(typs[b].indexOf(typeof vals[a])>-1&&is_undefined(arr[b])){arr[b]=vals[a];break}}}\nreturn arr}\nfunction cf_getPadding(p){if(is_undefined(p)){return[0,0,0,0]}\nif(is_number(p)){return[p,p,p,p]}\nif(is_string(p)){p=p.split(\'px\').join(\'\').split(\'em\').join(\'\').split(\' \')}\nif(!is_array(p)){return[0,0,0,0]}\nfor(var i=0;i<4;i++){p[i]=parseInt(p[i],10)}\nswitch(p.length){case 0:return[0,0,0,0];case 1:return[p[0],p[0],p[0],p[0]];case 2:return[p[0],p[1],p[0],p[1]];case 3:return[p[0],p[1],p[2],p[1]];default:return[p[0],p[1],p[2],p[3]]}}\nfunction cf_getAlignPadding(itm,o){var x=(is_number(o[o.d.width]))?Math.ceil(o[o.d.width]-ms_getTotalSize(itm,o,\'width\')):0;switch(o.align){case \'left\':return[0,x];case \'right\':return[x,0];case \'center\':default:return[Math.ceil(x/2),Math.floor(x/2)]}}\nfunction cf_getDimensions(o){var dm=[[\'width\',\'innerWidth\',\'outerWidth\',\'height\',\'innerHeight\',\'outerHeight\',\'left\',\'top\',\'marginRight\',0,1,2,3],[\'height\',\'innerHeight\',\'outerHeight\',\'width\',\'innerWidth\',\'outerWidth\',\'top\',\'left\',\'marginBottom\',3,2,1,0]];var dl=dm[0].length,dx=(o.direction==\'right\'||o.direction==\'left\')?0:1;var dimensions={};for(var d=0;d<dl;d++){dimensions[dm[0][d]]=dm[dx][d]}\nreturn dimensions}\nfunction cf_getAdjust(x,o,a,$t){var v=x;if(is_function(a)){v=a.call($t,v)}else if(is_string(a)){var p=a.split(\'+\'),m=a.split(\'-\');if(m.length>p.length){var neg=!0,sta=m[0],adj=m[1]}else{var neg=!1,sta=p[0],adj=p[1]}\nswitch(sta){case \'even\':v=(x%2==1)?x-1:x;break;case \'odd\':v=(x%2==0)?x-1:x;break;default:v=x;break}\nadj=parseInt(adj,10);if(is_number(adj)){if(neg){adj=-adj}\nv+=adj}}\nif(!is_number(v)||v<1){v=1}\nreturn v}\nfunction cf_getItemsAdjust(x,o,a,$t){return cf_getItemAdjustMinMax(cf_getAdjust(x,o,a,$t),o.items.visibleConf)}\nfunction cf_getItemAdjustMinMax(v,i){if(is_number(i.min)&&v<i.min){v=i.min}\nif(is_number(i.max)&&v>i.max){v=i.max}\nif(v<1){v=1}\nreturn v}\nfunction cf_getSynchArr(s){if(!is_array(s)){s=[[s]]}\nif(!is_array(s[0])){s=[s]}\nfor(var j=0,l=s.length;j<l;j++){if(is_string(s[j][0])){s[j][0]=$(s[j][0])}\nif(!is_boolean(s[j][1])){s[j][1]=!0}\nif(!is_boolean(s[j][2])){s[j][2]=!0}\nif(!is_number(s[j][3])){s[j][3]=0}}\nreturn s}\nfunction cf_getKeyCode(k){if(k==\'right\'){return 39}\nif(k==\'left\'){return 37}\nif(k==\'up\'){return 38}\nif(k==\'down\'){return 40}\nreturn-1}\nfunction cf_setCookie(n,$c,c){if(n){var v=$c.triggerHandler(cf_e(\'currentPosition\',c));$.fn.carouFredSel.cookie.set(n,v)}}\nfunction cf_getCookie(n){var c=$.fn.carouFredSel.cookie.get(n);return(c==\'\')?0:c}\nfunction in_mapCss($elem,props){var css={};for(var p=0,l=props.length;p<l;p++){css[props[p]]=$elem.css(props[p])}\nreturn css}\nfunction in_complementItems(obj,opt,itm,sta){if(!is_object(obj.visibleConf)){obj.visibleConf={}}\nif(!is_object(obj.sizesConf)){obj.sizesConf={}}\nif(obj.start==0&&is_number(sta)){obj.start=sta}\nif(is_object(obj.visible)){obj.visibleConf.min=obj.visible.min;obj.visibleConf.max=obj.visible.max;obj.visible=!1}else if(is_string(obj.visible)){if(obj.visible==\'variable\'){obj.visibleConf.variable=!0}else{obj.visibleConf.adjust=obj.visible}\nobj.visible=!1}else if(is_function(obj.visible)){obj.visibleConf.adjust=obj.visible;obj.visible=!1}\nif(!is_string(obj.filter)){obj.filter=(itm.filter(\':hidden\').length>0)?\':visible\':\'*\'}\nif(!obj[opt.d.width]){if(opt.responsive){debug(!0,\'Set a \'+opt.d.width+\' for the items!\');obj[opt.d.width]=ms_getTrueLargestSize(itm,opt,\'outerWidth\')}else{obj[opt.d.width]=(ms_hasVariableSizes(itm,opt,\'outerWidth\'))?\'variable\':itm[opt.d.outerWidth](!0)}}\nif(!obj[opt.d.height]){obj[opt.d.height]=(ms_hasVariableSizes(itm,opt,\'outerHeight\'))?\'variable\':itm[opt.d.outerHeight](!0)}\nobj.sizesConf.width=obj.width;obj.sizesConf.height=obj.height;return obj}\nfunction in_complementVisibleItems(opt,avl){if(opt.items[opt.d.width]==\'variable\'){opt.items.visibleConf.variable=!0}\nif(!opt.items.visibleConf.variable){if(is_number(opt[opt.d.width])){opt.items.visible=Math.floor(opt[opt.d.width]/opt.items[opt.d.width])}else{opt.items.visible=Math.floor(avl/opt.items[opt.d.width]);opt[opt.d.width]=opt.items.visible*opt.items[opt.d.width];if(!opt.items.visibleConf.adjust){opt.align=!1}}\nif(opt.items.visible==\'Infinity\'||opt.items.visible<1){debug(!0,\'Not a valid number of visible items: Set to \"variable\".\');opt.items.visibleConf.variable=!0}}\nreturn opt}\nfunction in_complementPrimarySize(obj,opt,all){if(obj==\'auto\'){obj=ms_getTrueLargestSize(all,opt,\'outerWidth\')}\nreturn obj}\nfunction in_complementSecondarySize(obj,opt,all){if(obj==\'auto\'){obj=ms_getTrueLargestSize(all,opt,\'outerHeight\')}\nif(!obj){obj=opt.items[opt.d.height]}\nreturn obj}\nfunction in_getAlignPadding(o,all){var p=cf_getAlignPadding(gi_getCurrentItems(all,o),o);o.padding[o.d[1]]=p[1];o.padding[o.d[3]]=p[0];return o}\nfunction in_getResponsiveValues(o,all,avl){var visb=cf_getItemAdjustMinMax(Math.ceil(o[o.d.width]/o.items[o.d.width]),o.items.visibleConf);if(visb>all.length){visb=all.length}\nvar newS=Math.floor(o[o.d.width]/visb);o.items.visible=visb;o.items[o.d.width]=newS;o[o.d.width]=visb*newS;return o}\nfunction bt_pauseOnHoverConfig(p){if(is_string(p)){var i=(p.indexOf(\'immediate\')>-1)?!0:!1,r=(p.indexOf(\'resume\')>-1)?!0:!1}else{var i=r=!1}\nreturn[i,r]}\nfunction bt_mousesheelNumber(mw){return(is_number(mw))?mw:null}\nfunction is_null(a){return(a===null)}\nfunction is_undefined(a){return(is_null(a)||typeof a==\'undefined\'||a===\'\'||a===\'undefined\')}\nfunction is_array(a){return(a instanceof Array)}\nfunction is_jquery(a){return(a instanceof jQuery)}\nfunction is_object(a){return((a instanceof Object||typeof a==\'object\')&&!is_null(a)&&!is_jquery(a)&&!is_array(a)&&!is_function(a))}\nfunction is_number(a){return((a instanceof Number||typeof a==\'number\')&&!isNaN(a))}\nfunction is_string(a){return((a instanceof String||typeof a==\'string\')&&!is_undefined(a)&&!is_true(a)&&!is_false(a))}\nfunction is_function(a){return(a instanceof Function||typeof a==\'function\')}\nfunction is_boolean(a){return(a instanceof Boolean||typeof a==\'boolean\'||is_true(a)||is_false(a))}\nfunction is_true(a){return(a===!0||a===\'true\')}\nfunction is_false(a){return(a===!1||a===\'false\')}\nfunction is_percentage(x){return(is_string(x)&&x.slice(-1)==\'%\')}\nfunction getTime(){return new Date().getTime()}\nfunction deprecated(o,n){debug(!0,o+\' is DEPRECATED, support for it will be removed. Use \'+n+\' instead.\')}\nfunction debug(d,m){if(!is_undefined(window.console)&&!is_undefined(window.console.log)){if(is_object(d)){var s=\' (\'+d.selector+\')\';d=d.debug}else{var s=\'\'}\nif(!d){return!1}\nif(is_string(m)){m=\'carouFredSel\'+s+\': \'+m}else{m=[\'carouFredSel\'+s+\':\',m]}\nwindow.console.log(m)}\nreturn!1}\n$.extend($.easing,{\'quadratic\':function(t){var t2=t*t;return t*(-t2*t+4*t2-6*t+4)},\'cubic\':function(t){return t*(4*t*t-9*t+6)},\'elastic\':function(t){var t2=t*t;return t*(33*t2*t2-106*t2*t+126*t2-67*t+15)}})})(jQuery)','a859f5b53073fbdb7a5e36588513222d',1,1,'2021-08-05 17:27:25','2021-08-16 14:31:32'),(68,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/jquery.fullPage.min.js?ver=5.8','js','','/*! Copyright (c) 2011 Piotr Rochala (http://rocha.la)\n * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)\n * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.\n *\n * Version: 1.3.2 (modified for fullpage.js)\n *\n */\n(function(f){jQuery.fn.extend({slimScroll:function(g){var a=f.extend({width:\"auto\",height:\"250px\",size:\"7px\",color:\"#000\",position:\"right\",distance:\"1px\",start:\"top\",opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:\"#333\",railOpacity:.2,railDraggable:!0,railClass:\"slimScrollRail\",barClass:\"slimScrollBar\",wrapperClass:\"slimScrollDiv\",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:\"7px\",railBorderRadius:\"7px\"},g);this.each(function(){function s(d){d=d||window.event;var c=0;d.wheelDelta&&(c=-d.wheelDelta/120);d.detail&&(c=d.detail/3);f(d.target||d.srcTarget||d.srcElement).closest(\".\"+a.wrapperClass).is(b.parent())&&m(c,!0);d.preventDefault&&!k&&d.preventDefault();k||(d.returnValue=!1)}function m(d,f,g){k=!1;var e=d,h=b.outerHeight()-c.outerHeight();f&&(e=parseInt(c.css(\"top\"))+d*parseInt(a.wheelStep)/100*c.outerHeight(),e=Math.min(Math.max(e,0),h),e=0<d?Math.ceil(e):Math.floor(e),c.css({top:e+\"px\"}));l=parseInt(c.css(\"top\"))/(b.outerHeight()-c.outerHeight());e=l*(b[0].scrollHeight-b.outerHeight());g&&(e=d,d=e/b[0].scrollHeight*b.outerHeight(),d=Math.min(Math.max(d,0),h),c.css({top:d+\"px\"}));b.scrollTop(e);b.trigger(\"slimscrolling\",~~e);u();p()}function C(){window.addEventListener?(this.addEventListener(\"DOMMouseScroll\",s,!1),this.addEventListener(\"mousewheel\",s,!1)):document.attachEvent(\"onmousewheel\",s)}function v(){r=Math.max(b.outerHeight()/b[0].scrollHeight*b.outerHeight(),D);c.css({height:r+\"px\"});var a=r==b.outerHeight()?\"none\":\"block\";c.css({display:a})}\nfunction u(){v();clearTimeout(A);l==~~l?(k=a.allowPageScroll,B!=l&&b.trigger(\"slimscroll\",0==~~l?\"top\":\"bottom\")):k=!1;B=l;r>=b.outerHeight()?k=!0:(c.stop(!0,!0).fadeIn(\"fast\"),a.railVisible&&h.stop(!0,!0).fadeIn(\"fast\"))}function p(){a.alwaysVisible||(A=setTimeout(function(){a.disableFadeOut&&w||x||y||(c.fadeOut(\"slow\"),h.fadeOut(\"slow\"))},1E3))}var w,x,y,A,z,r,l,B,D=30,k=!1,b=f(this);if(b.parent().hasClass(a.wrapperClass)){var n=b.scrollTop(),c=b.parent().find(\".\"+a.barClass),h=b.parent().find(\".\"+a.railClass);v();if(f.isPlainObject(g)){if(\"height\"in g&&\"auto\"==g.height){b.parent().css(\"height\",\"auto\");b.css(\"height\",\"auto\");var q=b.parent().parent().height();b.parent().css(\"height\",q);b.css(\"height\",q)}if(\"scrollTo\"in g)n=parseInt(a.scrollTo);else if(\"scrollBy\"in g)n+=parseInt(a.scrollBy);else if(\"destroy\"in g){c.remove();h.remove();b.unwrap();return}m(n,!1,!0)}}else{a.height=\"auto\"==g.height?b.parent().height():g.height;n=f(\"<div></div>\").addClass(a.wrapperClass).css({position:\"relative\",overflow:\"hidden\",width:a.width,height:a.height});b.css({overflow:\"hidden\",width:a.width,height:a.height});var h=f(\"<div></div>\").addClass(a.railClass).css({width:a.size,height:\"100%\",position:\"absolute\",top:0,display:a.alwaysVisible&&a.railVisible?\"block\":\"none\",\"border-radius\":a.railBorderRadius,background:a.railColor,opacity:a.railOpacity,zIndex:90}),c=f(\"<div></div>\").addClass(a.barClass).css({background:a.color,width:a.size,position:\"absolute\",top:0,opacity:a.opacity,display:a.alwaysVisible?\"block\":\"none\",\"border-radius\":a.borderRadius,BorderRadius:a.borderRadius,MozBorderRadius:a.borderRadius,WebkitBorderRadius:a.borderRadius,zIndex:99}),q=\"right\"==a.position?{right:a.distance}:{left:a.distance};h.css(q);c.css(q);b.wrap(n);b.parent().append(c);b.parent().append(h);a.railDraggable&&c.bind(\"mousedown\",function(a){var b=f(document);y=!0;t=parseFloat(c.css(\"top\"));pageY=a.pageY;b.bind(\"mousemove.slimscroll\",function(a){currTop=t+a.pageY-pageY;c.css(\"top\",currTop);m(0,c.position().top,!1)});b.bind(\"mouseup.slimscroll\",function(a){y=!1;p();b.unbind(\".slimscroll\")});return!1}).bind(\"selectstart.slimscroll\",function(a){a.stopPropagation();a.preventDefault();return!1});h.hover(function(){u()},function(){p()});c.hover(function(){x=!0},function(){x=!1});b.hover(function(){w=!0;u();p()},function(){w=!1;p()});b.bind(\"touchstart\",function(a,b){a.originalEvent.touches.length&&(z=a.originalEvent.touches[0].pageY)});b.bind(\"touchmove\",function(b){k||b.originalEvent.preventDefault();b.originalEvent.touches.length&&(m((z-b.originalEvent.touches[0].pageY)/a.touchScrollStep,!0),z=b.originalEvent.touches[0].pageY)});v();\"bottom\"===a.start?(c.css({top:b.outerHeight()-c.outerHeight()}),m(0,!0)):\"top\"!==a.start&&(m(f(a.start).position().top,null,!0),a.alwaysVisible||c.hide());C()}});return this}});jQuery.fn.extend({slimscroll:jQuery.fn.slimScroll})})(jQuery);(function(d,k,n,m,H){var l=d(k),y=d(n);d.fn.fullpage=function(c){function Da(a){a.find(\".fp-slides\").after(\'<div class=\"fp-controlArrow fp-prev\"></div><div class=\"fp-controlArrow fp-next\"></div>\');\"#fff\"!=c.controlArrowColor&&(a.find(\".fp-controlArrow.fp-next\").css(\"border-color\",\"transparent transparent transparent \"+c.controlArrowColor),a.find(\".fp-controlArrow.fp-prev\").css(\"border-color\",\"transparent \"+c.controlArrowColor+\" transparent transparent\"));c.loopHorizontal||a.find(\".fp-controlArrow.fp-prev\").hide()}\nfunction Ea(){q.append(\'<div id=\"fp-nav\"><ul></ul></div>\');z=d(\"#fp-nav\");z.addClass(function(){return c.showActiveTooltip?\"fp-show-active \"+c.navigationPosition:c.navigationPosition});for(var a=0;a<d(\".fp-section\").length;a++){var b=\"\";c.anchors.length&&(b=c.anchors[a]);var b=\'<li><a href=\"#\'+b+\'\"><span></span></a>\',g=c.navigationTooltips[a];\"undefined\"!==typeof g&&\"\"!==g&&(b+=\'<div class=\"fp-tooltip \'+c.navigationPosition+\'\">\'+g+\"</div>\");b+=\"</li>\";z.find(\"ul\").append(b)}}function ba(){d(\".fp-section\").each(function(){var a=d(this).find(\".fp-slide\");a.length?a.each(function(){I(d(this))}):I(d(this))});d.isFunction(c.afterRender)&&c.afterRender.call(this)}function ca(){var a;if(!c.autoScrolling||c.scrollBar){for(var b=l.scrollTop(),g=0,h=m.abs(b-n.querySelectorAll(\".fp-section\")[0].offsetTop),e=n.querySelectorAll(\".fp-section\"),f=0;f<e.length;++f){var k=m.abs(b-e[f].offsetTop);k<h&&(g=f,h=k)}a=d(e).eq(g)}if(!c.autoScrolling||c.scrollBar){if(!a.hasClass(\"active\")){T=!0;b=d(\".fp-section.active\");g=b.index(\".fp-section\")+1;h=U(a);e=a.data(\"anchor\");f=a.index(\".fp-section\")+1;k=a.find(\".fp-slide.active\");if(k.length)var q=k.data(\"anchor\"),p=k.index();r&&(a.addClass(\"active\").siblings().removeClass(\"active\"),d.isFunction(c.onLeave)&&c.onLeave.call(b,g,f,h),d.isFunction(c.afterLoad)&&c.afterLoad.call(a,e,f),J(e,f-1),c.anchors.length&&(A=e,V(p,q,e,f)));clearTimeout(da);da=setTimeout(function(){T=!1},100)}c.fitToSection&&(clearTimeout(ea),ea=setTimeout(function(){r&&(d(\".fp-section.active\").is(a)&&(u=!0),t(a),u=!1)},1E3))}}\nfunction fa(a){return a.find(\".fp-slides\").length?a.find(\".fp-slide.active\").find(\".fp-scrollable\"):a.find(\".fp-scrollable\")}function K(a,b){if(v[a]){var c,d;\"down\"==a?(c=\"bottom\",d=e.moveSectionDown):(c=\"top\",d=e.moveSectionUp);if(0<b.length)if(c=\"top\"===c?!b.scrollTop():\"bottom\"===c?b.scrollTop()+1+b.innerHeight()>=b[0].scrollHeight:void 0,c)d();else return!0;else d()}}function Fa(a){var b=a.originalEvent;if(!ga(a.target)&&W(b)){c.autoScrolling&&a.preventDefault();a=d(\".fp-section.active\");var g=fa(a);r&&!B&&(b=ha(b),E=b.y,L=b.x,a.find(\".fp-slides\").length&&m.abs(M-L)>m.abs(F-E)?m.abs(M-L)>l.width()/100*c.touchSensitivity&&(M>L?v.right&&e.moveSlideRight():v.left&&e.moveSlideLeft()):c.autoScrolling&&m.abs(F-E)>l.height()/100*c.touchSensitivity&&(F>E?K(\"down\",g):E>F&&K(\"up\",g)))}}function ga(a,b){b=b||0;var g=d(a).parent();return b<c.normalScrollElementTouchThreshold&&g.is(c.normalScrollElements)?!0:b==c.normalScrollElementTouchThreshold?!1:ga(g,++b)}function W(a){return\"undefined\"===typeof a.pointerType||\"mouse\"!=a.pointerType}function Ga(a){a=a.originalEvent;c.fitToSection&&w.stop();W(a)&&(a=ha(a),F=a.y,M=a.x)}function ia(a,b){for(var c=0,d=a.slice(m.max(a.length-b,1)),e=0;e<d.length;e++)c+=d[e];return m.ceil(c/b)}function C(a){var b=(new Date).getTime();if(c.autoScrolling){a=k.event||a;var g=a.wheelDelta||-a.deltaY||-a.detail,h=m.max(-1,m.min(1,g));149<D.length&&D.shift();D.push(m.abs(g));c.scrollBar&&(a.preventDefault?a.preventDefault():a.returnValue=!1);a=d(\".fp-section.active\");a=fa(a);g=b-ja;ja=b;200<g&&(D=[]);r&&(b=ia(D,10),g=ia(D,70),b>=g&&(0>h?K(\"down\",a):K(\"up\",a)));return!1}c.fitToSection&&w.stop()}function ka(a){var b=d(\".fp-section.active\").find(\".fp-slides\");if(b.length&&!B){var g=b.find(\".fp-slide.active\"),h=null,h=\"prev\"===a?g.prev(\".fp-slide\"):g.next(\".fp-slide\");if(!h.length){if(!c.loopHorizontal)return;h=\"prev\"===a?g.siblings(\":last\"):g.siblings(\":first\")}B=!0;G(b,h)}}function la(){d(\".fp-slide.active\").each(function(){X(d(this))})}function t(a,b,g){var h=a.position();if(\"undefined\"!==typeof h&&(b={element:a,callback:b,isMovementUp:g,dest:h,dtop:h.top,yMovement:U(a),anchorLink:a.data(\"anchor\"),sectionIndex:a.index(\".fp-section\"),activeSlide:a.find(\".fp-slide.active\"),activeSection:d(\".fp-section.active\"),leavingSection:d(\".fp-section.active\").index(\".fp-section\")+1,localIsResizing:u},!(b.activeSection.is(a)&&!u||c.scrollBar&&l.scrollTop()===b.dtop))){if(b.activeSlide.length)var e=b.activeSlide.data(\"anchor\"),f=b.activeSlide.index();c.autoScrolling&&c.continuousVertical&&\"undefined\"!==typeof b.isMovementUp&&(!b.isMovementUp&&\"up\"==b.yMovement||b.isMovementUp&&\"down\"==b.yMovement)&&(b.isMovementUp?d(\".fp-section.active\").before(b.activeSection.nextAll(\".fp-section\")):d(\".fp-section.active\").after(b.activeSection.prevAll(\".fp-section\").get().reverse()),x(d(\".fp-section.active\").position().top),la(),b.wrapAroundElements=b.activeSection,b.dest=b.element.position(),b.dtop=b.dest.top,b.yMovement=U(b.element));a.addClass(\"active\").siblings().removeClass(\"active\");r=!1;V(f,e,b.anchorLink,b.sectionIndex);d.isFunction(c.onLeave)&&!b.localIsResizing&&c.onLeave.call(b.activeSection,b.leavingSection,b.sectionIndex+1,b.yMovement);Ha(b);A=b.anchorLink;J(b.anchorLink,b.sectionIndex)}}function Ha(a){if(c.css3&&c.autoScrolling&&!c.scrollBar)ma(\"translate3d(0px, -\"+a.dtop+\"px, 0px)\",!0),setTimeout(function(){na(a)},c.scrollingSpeed);else{var b=Ia(a);d(b.element).animate(b.options,c.scrollingSpeed,c.easing).promise().done(function(){na(a)})}}function Ia(a){var b={};c.autoScrolling&&!c.scrollBar?(b.options={top:-a.dtop},b.element=\".fullpage-wrapper\"):(b.options={scrollTop:a.dtop},b.element=\"html, body\");return b}function Ja(a){a.wrapAroundElements&&a.wrapAroundElements.length&&(a.isMovementUp?d(\".fp-section:first\").before(a.wrapAroundElements):d(\".fp-section:last\").after(a.wrapAroundElements),x(d(\".fp-section.active\").position().top),la())}function na(a){Ja(a);d.isFunction(c.afterLoad)&&!a.localIsResizing&&c.afterLoad.call(a.element,a.anchorLink,a.sectionIndex+1);r=!0;setTimeout(function(){d.isFunction(a.callback)&&a.callback.call(this)},600)}function oa(){if(!T){var a=k.location.hash.replace(\"#\",\"\").split(\"/\"),b=a[0],a=a[1];if(b.length){var c=\"undefined\"===typeof A,d=\"undefined\"===typeof A&&\"undefined\"===typeof a&&!B;(b&&b!==A&&!c||d||!B&&Y!=a)&&Z(b,a)}}}function Ka(a){r&&(a.pageY<N?e.moveSectionUp():a.pageY>N&&e.moveSectionDown());N=a.pageY}function G(a,b){var g=b.position(),h=b.index(),e=a.closest(\".fp-section\"),f=e.index(\".fp-section\"),k=e.data(\"anchor\"),l=e.find(\".fp-slidesNav\"),m=pa(b),n=u;if(c.onSlideLeave){var q=e.find(\".fp-slide.active\"),p=q.index(),r;r=p==h?\"none\":p>h?\"left\":\"right\";n||\"none\"===r||d.isFunction(c.onSlideLeave)&&c.onSlideLeave.call(q,k,f+1,p,r)}b.addClass(\"active\").siblings().removeClass(\"active\");!c.loopHorizontal&&c.controlArrows&&(e.find(\".fp-controlArrow.fp-prev\").toggle(0!==h),e.find(\".fp-controlArrow.fp-next\").toggle(!b.is(\":last-child\")));e.hasClass(\"active\")&&V(h,m,k,f);var t=function(){n||d.isFunction(c.afterSlideLoad)&&c.afterSlideLoad.call(b,k,f+1,m,h);B=!1};c.css3?(g=\"translate3d(-\"+g.left+\"px, 0px, 0px)\",qa(a.find(\".fp-slidesContainer\"),0<c.scrollingSpeed).css(ra(g)),setTimeout(function(){t()},c.scrollingSpeed,c.easing)):a.animate({scrollLeft:g.left},c.scrollingSpeed,c.easing,function(){t()});l.find(\".active\").removeClass(\"active\");l.find(\"li\").eq(h).find(\"a\").addClass(\"active\")}function sa(){ta();if(O){var a=d(n.activeElement);a.is(\"textarea\")||a.is(\"input\")||a.is(\"select\")||(a=l.height(),m.abs(a-aa)>20*m.max(aa,a)/100&&(e.reBuild(!0),aa=a))}else clearTimeout(ua),ua=setTimeout(function(){e.reBuild(!0)},500)}function ta(){if(c.responsive){var a=f.hasClass(\"fp-responsive\");l.width()<c.responsive?a||(e.setAutoScrolling(!1,\"internal\"),e.setFitToSection(!1,\"internal\"),d(\"#fp-nav\").hide(),f.addClass(\"fp-responsive\")):a&&(e.setAutoScrolling(P.autoScrolling,\"internal\"),e.setFitToSection(P.autoScrolling,\"internal\"),d(\"#fp-nav\").show(),f.removeClass(\"fp-responsive\"))}}function qa(a){var b=\"all \"+c.scrollingSpeed+\"ms \"+c.easingcss3;a.removeClass(\"fp-notransition\");return a.css({\"-webkit-transition\":b,transition:b})}\nfunction La(a,b){if(825>a||900>b){var c=m.min(100*a/825,100*b/900).toFixed(2);q.css(\"font-size\",c+\"%\")}else q.css(\"font-size\",\"100%\")}function J(a,b){c.menu&&(d(c.menu).find(\".active\").removeClass(\"active\"),d(c.menu).find(\'[data-menuanchor=\"\'+a+\'\"]\').addClass(\"active\"));c.navigation&&(d(\"#fp-nav\").find(\".active\").removeClass(\"active\"),a?d(\"#fp-nav\").find(\'a[href=\"#\'+a+\'\"]\').addClass(\"active\"):d(\"#fp-nav\").find(\"li\").eq(b).find(\"a\").addClass(\"active\"))}function U(a){var b=d(\".fp-section.active\").index(\".fp-section\");a=a.index(\".fp-section\");return b==a?\"none\":b>a?\"up\":\"down\"}function I(a){a.css(\"overflow\",\"hidden\");var b=a.closest(\".fp-section\"),d=a.find(\".fp-scrollable\"),e;d.length?e=d.get(0).scrollHeight:(e=a.get(0).scrollHeight,c.verticalCentered&&(e=a.find(\".fp-tableCell\").get(0).scrollHeight));b=p-parseInt(b.css(\"padding-bottom\"))-parseInt(b.css(\"padding-top\"));e>b?d.length?d.css(\"height\",b+\"px\").parent().css(\"height\",b+\"px\"):(c.verticalCentered?a.find(\".fp-tableCell\").wrapInner(\'<div class=\"fp-scrollable\" />\'):a.wrapInner(\'<div class=\"fp-scrollable\" />\'),a.find(\".fp-scrollable\").slimScroll({allowPageScroll:!0,height:b+\"px\",size:\"10px\",alwaysVisible:!0})):va(a);a.css(\"overflow\",\"\")}function va(a){a.find(\".fp-scrollable\").children().first().unwrap().unwrap();a.find(\".slimScrollBar\").remove();a.find(\".slimScrollRail\").remove()}function wa(a){a.addClass(\"fp-table\").wrapInner(\'<div class=\"fp-tableCell\" style=\"height:\'+xa(a)+\'px;\" />\')}function xa(a){var b=p;if(c.paddingTop||c.paddingBottom)b=a,b.hasClass(\"fp-section\")||(b=a.closest(\".fp-section\")),a=parseInt(b.css(\"padding-top\"))+parseInt(b.css(\"padding-bottom\")),b=p-a;return b}function ma(a,b){b?qa(f):f.addClass(\"fp-notransition\");f.css(ra(a));setTimeout(function(){f.removeClass(\"fp-notransition\")},10)}function Z(a,b){var c;\"undefined\"===typeof b&&(b=0);c=isNaN(a)?d(\'[data-anchor=\"\'+a+\'\"]\'):d(\".fp-section\").eq(a-1);a===A||c.hasClass(\"active\")?ya(c,b):t(c,function(){ya(c,b)})}function ya(a,b){if(\"undefined\"!=typeof b){var c=a.find(\".fp-slides\"),d=c.find(\'[data-anchor=\"\'+b+\'\"]\');d.length||(d=c.find(\".fp-slide\").eq(b));d.length&&G(c,d)}}function Ma(a,b){a.append(\'<div class=\"fp-slidesNav\"><ul></ul></div>\');var d=a.find(\".fp-slidesNav\");d.addClass(c.slidesNavPosition);for(var e=0;e<b;e++)d.find(\"ul\").append(\'<li><a href=\"#\"><span></span></a></li>\');d.css(\"margin-left\",\"-\"+d.width()/2+\"px\");d.find(\"li\").first().find(\"a\").addClass(\"active\")}function V(a,b,d,e){e=\"\";c.anchors.length&&(a?(\"undefined\"!==typeof d&&(e=d),\"undefined\"===typeof b&&(b=a),Y=b,za(e+\"/\"+b)):(\"undefined\"!==typeof a&&(Y=b),za(d)));Aa()}function za(a){if(c.recordHistory)location.hash=a;else if(O||Q)history.replaceState(H,H,\"#\"+a);else{var b=k.location.href.split(\"#\")[0];k.location.replace(b+\"#\"+a)}}function pa(a){var b=a.data(\"anchor\");a=a.index();\"undefined\"===typeof b&&(b=a);return b}function Aa(){var a=d(\".fp-section.active\"),b=a.find(\".fp-slide.active\"),e=a.data(\"anchor\"),h=pa(b),a=a.index(\".fp-section\"),a=String(a);c.anchors.length&&(a=e);b.length&&(a=a+\"-\"+h);a=a.replace(\"/\",\"-\").replace(\"#\",\"\");q[0].className=q[0].className.replace(RegExp(\"\\\\b\\\\s?fp-viewing-[^\\\\s]+\\\\b\",\"g\"),\"\");q.addClass(\"fp-viewing-\"+a)}function Na(){var a=n.createElement(\"p\"),b,c={webkitTransform:\"-webkit-transform\",OTransform:\"-o-transform\",msTransform:\"-ms-transform\",MozTransform:\"-moz-transform\",transform:\"transform\"};n.body.insertBefore(a,null);for(var d in c)a.style[d]!==H&&(a.style[d]=\"translate3d(1px,1px,1px)\",b=k.getComputedStyle(a).getPropertyValue(c[d]));n.body.removeChild(a);return b!==H&&0<b.length&&\"none\"!==b}function Oa(){if(O||Q){var a=Ba();d(\".fullpage-wrapper\").off(\"touchstart \"+a.down).on(\"touchstart \"+a.down,Ga);d(\".fullpage-wrapper\").off(\"touchmove \"+a.move).on(\"touchmove \"+a.move,Fa)}}function Pa(){if(O||Q){var a=Ba();d(\".fullpage-wrapper\").off(\"touchstart \"+a.down);d(\".fullpage-wrapper\").off(\"touchmove \"+a.move)}}function Ba(){return k.PointerEvent?{down:\"pointerdown\",move:\"pointermove\"}:{down:\"MSPointerDown\",move:\"MSPointerMove\"}}function ha(a){var b=[];b.y=\"undefined\"!==typeof a.pageY&&(a.pageY||a.pageX)?a.pageY:a.touches[0].pageY;b.x=\"undefined\"!==typeof a.pageX&&(a.pageY||a.pageX)?a.pageX:a.touches[0].pageX;Q&&W(a)&&(b.y=a.touches[0].pageY,b.x=a.touches[0].pageX);return b}function X(a){e.setScrollingSpeed(0,\"internal\");G(a.closest(\".fp-slides\"),a);e.setScrollingSpeed(P.scrollingSpeed,\"internal\")}function x(a){c.scrollBar?f.scrollTop(a):c.css3?ma(\"translate3d(0px, -\"+a+\"px, 0px)\",!1):f.css(\"top\",-a)}function ra(a){return{\"-webkit-transform\":a,\"-moz-transform\":a,\"-ms-transform\":a,transform:a}}\nfunction Qa(){x(0);d(\"#fp-nav, .fp-slidesNav, .fp-controlArrow\").remove();d(\".fp-section\").css({height:\"\",\"background-color\":\"\",padding:\"\"});d(\".fp-slide\").css({width:\"\"});f.css({height:\"\",position:\"\",\"-ms-touch-action\":\"\",\"touch-action\":\"\"});d(\".fp-section, .fp-slide\").each(function(){va(d(this));d(this).removeClass(\"fp-table active\")});f.addClass(\"fp-notransition\");f.find(\".fp-tableCell, .fp-slidesContainer, .fp-slides\").each(function(){d(this).replaceWith(this.childNodes)});w.scrollTop(0)}function R(a,b,d){c[a]=b;\"internal\"!==d&&(P[a]=b)}function S(a,b){console&&console[a]&&console[a](\"fullPage: \"+b)}var w=d(\"html, body\"),q=d(\"body\"),e=d.fn.fullpage;c=d.extend({menu:!1,anchors:[],navigation:!1,navigationPosition:\"right\",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:\"bottom\",scrollBar:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,easing:\"easeInOutCubic\",easingcss3:\"ease\",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,normalScrollElements:null,scrollOverflow:!1,touchSensitivity:5,normalScrollElementTouchThreshold:5,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:\"#fff\",verticalCentered:!0,resize:!1,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,sectionSelector:\".section\",slideSelector:\".slide\",afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null},c);(function(){c.continuousVertical&&(c.loopTop||c.loopBottom)&&(c.continuousVertical=!1,S(\"warn\",\"Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled\"));c.continuousVertical&&c.scrollBar&&(c.continuousVertical=!1,S(\"warn\",\"Option `scrollBar` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled\"));d.each(c.anchors,function(a,b){(d(\"#\"+b).length||d(\'[name=\"\'+b+\'\"]\').length)&&S(\"error\",\"data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE).\")})})();d.extend(d.easing,{easeInOutCubic:function(a,b,c,d,e){return 1>(b/=e/2)?d/2*b*b*b+c:d/2*((b-=2)*b*b+2)+c}});d.extend(d.easing,{easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c}});e.setAutoScrolling=function(a,b){R(\"autoScrolling\",a,b);var g=d(\".fp-section.active\");c.autoScrolling&&!c.scrollBar?(w.css({overflow:\"hidden\",height:\"100%\"}),e.setRecordHistory(c.recordHistory,\"internal\"),f.css({\"-ms-touch-action\":\"none\",\"touch-action\":\"none\"}),g.length&&x(g.position().top)):(w.css({overflow:\"visible\",height:\"initial\"}),e.setRecordHistory(!1,\"internal\"),f.css({\"-ms-touch-action\":\"\",\"touch-action\":\"\"}),x(0),g.length&&w.scrollTop(g.position().top))};e.setRecordHistory=function(a,b){R(\"recordHistory\",a,b)};e.setScrollingSpeed=function(a,b){R(\"scrollingSpeed\",a,b)};e.setFitToSection=function(a,b){R(\"fitToSection\",a,b)};e.setMouseWheelScrolling=function(a){a?(a=d(\".fullpage-wrapper\")[0],n.addEventListener?(a.addEventListener(\"mousewheel\",C,!1),a.addEventListener(\"wheel\",C,!1)):a.attachEvent(\"onmousewheel\",C)):(a=d(\".fullpage-wrapper\")[0],n.addEventListener?(a.removeEventListener(\"mousewheel\",C,!1),a.removeEventListener(\"wheel\",C,!1)):a.detachEvent(\"onmousewheel\",C))};e.setAllowScrolling=function(a,b){\"undefined\"!=typeof b?(b=b.replace(/ /g,\"\").split(\",\"),d.each(b,function(b,c){switch(c){case \"up\":v.up=a;break;case \"down\":v.down=a;break;case \"left\":v.left=a;break;case \"right\":v.right=a;break;case \"all\":e.setAllowScrolling(a)}})):a?(e.setMouseWheelScrolling(!0),Oa()):(e.setMouseWheelScrolling(!1),Pa())};e.setKeyboardScrolling=function(a){c.keyboardScrolling=a};e.moveSectionUp=function(){var a=d(\".fp-section.active\").prev(\".fp-section\");a.length||!c.loopTop&&!c.continuousVertical||(a=d(\".fp-section\").last());a.length&&t(a,null,!0)};e.moveSectionDown=function(){var a=d(\".fp-section.active\").next(\".fp-section\");a.length||!c.loopBottom&&!c.continuousVertical||(a=d(\".fp-section\").first());a.length&&t(a,null,!1)};e.moveTo=function(a,b){var c=\"\",c=isNaN(a)?d(\'[data-anchor=\"\'+a+\'\"]\'):d(\".fp-section\").eq(a-1);\"undefined\"!==typeof b?Z(a,b):0<c.length&&t(c)};e.moveSlideRight=function(){ka(\"next\")};e.moveSlideLeft=function(){ka(\"prev\")};e.reBuild=function(a){if(!f.hasClass(\"fp-destroyed\")){u=!0;var b=l.width();p=l.height();c.resize&&La(p,b);d(\".fp-section\").each(function(){var a=d(this).find(\".fp-slides\"),b=d(this).find(\".fp-slide\");c.verticalCentered&&d(this).find(\".fp-tableCell\").css(\"height\",xa(d(this))+\"px\");d(this).css(\"height\",p+\"px\");c.scrollOverflow&&(b.length?b.each(function(){I(d(this))}):I(d(this)));1<b.length&&G(a,a.find(\".fp-slide.active\"))});b=d(\".fp-section.active\");b.index(\".fp-section\")&&t(b);u=!1;d.isFunction(c.afterResize)&&a&&c.afterResize.call(f);d.isFunction(c.afterReBuild)&&!a&&c.afterReBuild.call(f)}};var B=!1,O=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),Q=\"ontouchstart\"in k||0<navigator.msMaxTouchPoints||navigator.maxTouchPoints,f=d(this),p=l.height(),u=!1,A,Y,r=!0,D=[],z,v={up:!0,down:!0,left:!0,right:!0},P=d.extend(!0,{},c);d(this).length?(f.css({height:\"100%\",position:\"relative\"}),f.addClass(\"fullpage-wrapper\")):S(\"error\",\"Error! Fullpage.js needs to be initialized with a selector. For example: $(\'#myContainer\').fullpage();\");c.css3&&(c.css3=Na());e.setAllowScrolling(!0);f.removeClass(\"fp-destroyed\");d(c.sectionSelector).each(function(){d(this).addClass(\"fp-section\")});d(c.slideSelector).each(function(){d(this).addClass(\"fp-slide\")});c.navigation&&Ea();d(\".fp-section\").each(function(a){var b=d(this),e=d(this).find(\".fp-slide\"),f=e.length;a||0!==d(\".fp-section.active\").length||d(this).addClass(\"active\");d(this).css(\"height\",p+\"px\");c.paddingTop&&d(this).css(\"padding-top\",c.paddingTop);c.paddingBottom&&d(this).css(\"padding-bottom\",c.paddingBottom);\"undefined\"!==typeof c.sectionsColor[a]&&d(this).css(\"background-color\",c.sectionsColor[a]);\"undefined\"!==typeof c.anchors[a]&&(d(this).attr(\"data-anchor\",c.anchors[a]),d(this).hasClass(\"active\")&&J(c.anchors[a],a));if(0<f){a=100*f;var k=100/f;e.wrapAll(\'<div class=\"fp-slidesContainer\" />\');e.parent().wrap(\'<div class=\"fp-slides\" />\');d(this).find(\".fp-slidesContainer\").css(\"width\",a+\"%\");c.controlArrows&&1<f&&Da(d(this));c.slidesNavigation&&Ma(d(this),f);e.each(function(a){d(this).css(\"width\",k+\"%\");c.verticalCentered&&wa(d(this))});b=b.find(\".fp-slide.active\");b.length?X(b):e.eq(0).addClass(\"active\")}else c.verticalCentered&&wa(d(this))}).promise().done(function(){e.setAutoScrolling(c.autoScrolling,\"internal\");var a=d(\".fp-section.active\").find(\".fp-slide.active\");a.length&&(0!==d(\".fp-section.active\").index(\".fp-section\")||0===d(\".fp-section.active\").index(\".fp-section\")&&0!==a.index())&&X(a);c.fixedElements&&c.css3&&d(c.fixedElements).appendTo(q);c.navigation&&(z.css(\"margin-top\",\"-\"+z.height()/2+\"px\"),z.find(\"li\").eq(d(\".fp-section.active\").index(\".fp-section\")).find(\"a\").addClass(\"active\"));c.menu&&c.css3&&d(c.menu).closest(\".fullpage-wrapper\").length&&d(c.menu).appendTo(q);c.scrollOverflow?(\"complete\"===n.readyState&&ba(),l.on(\"load\",ba)):d.isFunction(c.afterRender)&&c.afterRender.call(f);ta();if(!c.animateAnchor&&(a=k.location.hash.replace(\"#\",\"\").split(\"/\")[0],a.length)){var b=d(\'[data-anchor=\"\'+a+\'\"]\');b.length&&(c.autoScrolling?x(b.position().top):(x(0),w.scrollTop(b.position().top)),J(a,null),d.isFunction(c.afterLoad)&&c.afterLoad.call(b,a,b.index(\".fp-section\")+1),b.addClass(\"active\").siblings().removeClass(\"active\"))}Aa();l.on(\"load\",function(){var a=k.location.hash.replace(\"#\",\"\").split(\"/\"),b=a[0],a=a[1];b&&Z(b,a)})});var da,ea,T=!1;l.on(\"scroll\",ca);var F=0,M=0,E=0,L=0,ja=(new Date).getTime();l.on(\"hashchange\",oa);y.keydown(function(a){clearTimeout(Ca);var b=d(n.activeElement);b.is(\"textarea\")||b.is(\"input\")||b.is(\"select\")||!c.keyboardScrolling||!c.autoScrolling||(-1<d.inArray(a.which,[40,38,32,33,34])&&a.preventDefault(),Ca=setTimeout(function(){var b=a.shiftKey;switch(a.which){case 38:case 33:e.moveSectionUp();break;case 32:if(b){e.moveSectionUp();break}case 40:case 34:e.moveSectionDown();break;case 36:e.moveTo(1);break;case 35:e.moveTo(d(\".fp-section\").length);break;case 37:e.moveSlideLeft();break;case 39:e.moveSlideRight()}},150))});var Ca;f.mousedown(function(a){2==a.which&&(N=a.pageY,f.on(\"mousemove\",Ka))});f.mouseup(function(a){2==a.which&&f.off(\"mousemove\")});var N=0;y.on(\"click touchstart\",\"#fp-nav a\",function(a){a.preventDefault();a=d(this).parent().index();t(d(\".fp-section\").eq(a))});y.on(\"click touchstart\",\".fp-slidesNav a\",function(a){a.preventDefault();a=d(this).closest(\".fp-section\").find(\".fp-slides\");var b=a.find(\".fp-slide\").eq(d(this).closest(\"li\").index());G(a,b)});c.normalScrollElements&&(y.on(\"mouseenter\",c.normalScrollElements,function(){e.setMouseWheelScrolling(!1)}),y.on(\"mouseleave\",c.normalScrollElements,function(){e.setMouseWheelScrolling(!0)}));d(\".fp-section\").on(\"click touchstart\",\".fp-controlArrow\",function(){d(this).hasClass(\"fp-prev\")?e.moveSlideLeft():e.moveSlideRight()});l.resize(sa);var aa=p,ua;e.destroy=function(a){e.setAutoScrolling(!1,\"internal\");e.setAllowScrolling(!1);e.setKeyboardScrolling(!1);f.addClass(\"fp-destroyed\");l.off(\"scroll\",ca).off(\"hashchange\",oa).off(\"resize\",sa);y.off(\"click\",\"#fp-nav a\").off(\"mouseenter\",\"#fp-nav li\").off(\"mouseleave\",\"#fp-nav li\").off(\"click\",\".fp-slidesNav a\").off(\"mouseover\",c.normalScrollElements).off(\"mouseout\",c.normalScrollElements);d(\".fp-section\").off(\"click\",\".fp-controlArrow\");a&&Qa()}}})(jQuery,window,document,Math)','b537709e8220925db3a43423e3974cf8',1,1,'2021-08-05 17:27:26','2021-08-16 14:31:32'),(69,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/lemmon-slider.js?ver=5.8','js','','(function($){var _css={};var methods={init:function(options){options=$.extend({},$.fn.lemmonSlider.defaults,options);return this.each(function(){var $slider=$(this),data=$slider.data(\'slider\');if(!data){var $sliderContainer=$slider.find(options.slider),$sliderControls=$slider.next().filter(\'.controls\'),$items=$sliderContainer.find(options.items),originalWidth=1;$items.each(function(){originalWidth+=$(this).outerWidth(!0)});$sliderContainer.width(originalWidth);if(options.slideToLast)$sliderContainer.css(\'padding-right\',$slider.width());if(options.infinite){$slider.data(\'slider-infinite\',!0);originalWidth=originalWidth*3;$sliderContainer.width(originalWidth);$items.clone(!0,!0).addClass(\'-after\').insertAfter($items.filter(\':last\'));$items.filter(\':first\').before($items.clone(!0,!0).addClass(\'-before\'));$items=$sliderContainer.find(options.items)}\n$slider.items=$items;$slider.options=options;slideTo({},$slider,0,0,0);$slider.bind(\'nextSlide\',function(e,t){var scroll=$slider.scrollLeft();var x=0;var slide=0;$items.each(function(i){if(x==0&&$(this).position().left>options.offset){x=$(this).position().left;slide=i}});if(x>0&&$sliderContainer.outerWidth()-scroll-$slider.width()-1>0){slideTo(e,$slider,scroll+x,slide,\'slow\')}else if(options.loop){slideTo(e,$slider,0,0,\'slow\')}});$slider.bind(\'prevSlide\',function(e,t){var scroll=$slider.scrollLeft();var x=0;var slide=0;$items.each(function(i){if($(this).position().left<options.offset){x=$(this).position().left;slide=i}});if(x){slideTo(e,$slider,scroll+x,slide,\'slow\')}else if(options.loop){var a=$sliderContainer.outerWidth()-$slider.width();var b=$items.filter(\':last\').position().left;slide=$items.size()-1;if(a>b){slideTo(e,$slider,b,slide,\'slow\')}else{slideTo(e,$slider,a,slide,\'slow\')}}});$slider.bind(\'nextPage\',function(e,t){var scroll=$slider.scrollLeft();var w=$slider.width();var x=0;var slide=0;$items.each(function(i){if($(this).position().left<w){x=$(this).position().left;slide=i}});if(x>0&&scroll+w+1<originalWidth){slideTo(e,$slider,scroll+x,slide,\'slow\')}else if(options.loop){slideTo(e,$slider,0,0,\'slow\')}});$slider.bind(\'prevPage\',function(e,t){var scroll=$slider.scrollLeft();var w=$slider.width();var x=0;$items.each(function(i){if($(this).position().left<1-w){x=$(this).next().position().left;slide=i}});if(scroll){if(x==0){slideTo(e,$slider,0,0,\'slow\')}else{slideTo(e,$slider,scroll+x,slide,\'slow\')}}else if(options.loop){var a=$sliderContainer.outerWidth()-$slider.width();var b=$items.filter(\':last\').position().left;if(a>b){$slider.animate({\'scrollLeft\':b},\'slow\')}else{$slider.animate({\'scrollLeft\':a},\'slow\')}}});$slider.bind(\'slideTo\',function(e,i,t){slideTo(e,$slider,$slider.scrollLeft()+$items.filter(\':eq(\'+i+\')\').position().left,i,t)});$sliderControls.find(\'.next-slide\').click(function(){$slider.trigger(\'nextSlide\');return!1});$sliderControls.find(\'.prev-slide\').click(function(){$slider.trigger(\'prevSlide\');return!1});$sliderControls.find(\'.next-page\').click(function(){$slider.trigger(\'nextPage\');return!1});$sliderControls.find(\'.prev-page\').click(function(){$slider.trigger(\'prevPage\');return!1});$slider.data(\'slider\',{\'target\':$slider,\'options\':options})}})},addItem:function(options){var options=$.extend({},$.fn.lemmonSlider.defaults,options);var $slider=$(this),$sliderContainer=$slider.find(options.slider),$sliderControls=$slider.next().filter(\'.controls\'),$items=$sliderContainer.find(options.items)\noptions.infinite=$slider.data(\'slider-infinite\')\nif(!options.item){return!1}\nmethods.destroy.apply(this);if(options.prepend){$sliderContainer.prepend(options.item)}else{$sliderContainer.append(options.item)}\nmethods.init.apply(this,[options])},destroy:function(){return this.each(function(){var $slider=$(this),$sliderControls=$slider.next().filter(\'.controls\'),$items=$slider.find(\'> *:first > *\'),data=$slider.data(\'slider\');$slider.unbind(\'nextSlide\');$slider.unbind(\'prevSlide\');$slider.unbind(\'nextPage\');$slider.unbind(\'prevPage\');$slider.unbind(\'slideTo\');$sliderControls.find(\'.next-slide\').unbind(\'click\');$sliderControls.find(\'.prev-slide\').unbind(\'click\');$sliderControls.find(\'.next-page\').unbind(\'click\');$sliderControls.find(\'.next-page\').unbind(\'click\');$slider.removeData(\'slider\');if($slider.data(\'slider-infinite\')){$.merge($items.filter(\'.-before\'),$items.filter(\'.-after\')).each(function(index,item){$(item).remove()})}})}}\nfunction slideTo(e,$slider,x,i,t){$slider.items.filter(\'li:eq(\'+i+\')\').addClass(\'active\').siblings(\'.active\').removeClass(\'active no_opacity_animation\');if($slider.options.center){var currentElement=$($slider.items[i]);$slider.options.offset=Math.floor(($(window).width()-currentElement.width())/2)}\nif(typeof t==\'undefined\'){t=\'slow\'}\nif(t){$slider.animate({\'scrollLeft\':x-$slider.options.offset},t,function(){checkInfinite($slider)})}else{var time=0;$slider.scrollLeft(x-$slider.options.offset);checkInfinite($slider)}}\nfunction checkInfinite($slider){var $active=$slider.items.filter(\'.active\');if($active.hasClass(\'-before\')){var i=$active.prevAll().size();$active.removeClass(\'active\');$active=$slider.items.filter(\':not(.-before):eq(\'+i+\')\').addClass(\'active no_opacity_animation\');$slider.scrollLeft($slider.scrollLeft()+$active.position().left-$slider.options.offset)}else if($active.hasClass(\'-after\')){var i=$active.prevAll(\'.-after\').size();$active.removeClass(\'active\');$active=$slider.items.filter(\':not(.-before):eq(\'+i+\')\').addClass(\'active no_opacity_animation\');$slider.scrollLeft($slider.scrollLeft()+$active.position().left-$slider.options.offset)}}\nfunction debug(text){$(\'#debug span\').text(text)}\n$.fn.lemmonSlider=function(method,options){if(methods[method]){return methods[method].apply(this,Array.prototype.slice.call(arguments,1))}else if(typeof method===\'object\'||!method){return methods.init.apply(this,arguments)}else{$.error(\'Method \'+method+\' does not exist on jQuery.lemmonSlider\')}};$.fn.lemmonSlider.defaults={\'items\':\'> *\',\'loop\':!0,\'slideToLast\':!1,\'slider\':\'> *:first\',\'infinite\':!0,\'center\':!0,\'offset\':0}})(jQuery)','a055b8b9f3750404c48500763618f325',1,1,'2021-08-05 17:27:26','2021-08-16 14:31:32'),(70,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/jquery.mousewheel.min.js?ver=5.8','js','','/*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net)\n * Licensed under the MIT License (LICENSE.txt).\n *\n * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.\n * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.\n * Thanks to: Seamus Leahy for adding deltaX and deltaY\n *\n * Version: 3.0.6\n * \n * Requires: 1.2.2+\n */\n(function(a){function d(b){var c=b||window.event,d=[].slice.call(arguments,1),e=0,f=!0,g=0,h=0;return b=a.event.fix(c),b.type=\"mousewheel\",c.wheelDelta&&(e=c.wheelDelta/120),c.detail&&(e=-c.detail/3),h=e,c.axis!==undefined&&c.axis===c.HORIZONTAL_AXIS&&(h=0,g=-1*e),c.wheelDeltaY!==undefined&&(h=c.wheelDeltaY/120),c.wheelDeltaX!==undefined&&(g=-1*c.wheelDeltaX/120),d.unshift(b,e,g,h),(a.event.dispatch||a.event.handle).apply(this,d)}var b=[\"DOMMouseScroll\",\"mousewheel\"];if(a.event.fixHooks)for(var c=b.length;c;)a.event.fixHooks[b[--c]]=a.event.mouseHooks;a.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=b.length;a;)this.addEventListener(b[--a],d,!1);else this.onmousewheel=d},teardown:function(){if(this.removeEventListener)for(var a=b.length;a;)this.removeEventListener(b[--a],d,!1);else this.onmousewheel=null}},a.fn.extend({mousewheel:function(a){return a?this.bind(\"mousewheel\",a):this.trigger(\"mousewheel\")},unmousewheel:function(a){return this.unbind(\"mousewheel\",a)}})})(jQuery)','8ab1248e35ba1908d0054fe3cc4fc93e',1,1,'2021-08-05 17:27:27','2021-08-16 14:31:32'),(71,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/jquery.touchSwipe.min.js?ver=5.8','js','','(function(a){if(typeof define===\"function\"&&define.amd&&define.amd.jQuery){define([\"jquery\"],a)}else{a(jQuery)}}(function(f){var p=\"left\",o=\"right\",e=\"up\",x=\"down\",c=\"in\",z=\"out\",m=\"none\",s=\"auto\",l=\"swipe\",t=\"pinch\",A=\"tap\",j=\"doubletap\",b=\"longtap\",y=\"hold\",D=\"horizontal\",u=\"vertical\",i=\"all\",r=10,g=\"start\",k=\"move\",h=\"end\",q=\"cancel\",a=\"ontouchstart\" in window,v=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,d=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,B=\"TouchSwipe\";var n={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:\"auto\",fallbackToMouseEvents:!0,excludedElements:\"label, button, input, select, textarea, a, .noSwipe\"};f.fn.swipe=function(G){var F=f(this),E=F.data(B);if(E&&typeof G===\"string\"){if(E[G]){return E[G].apply(this,Array.prototype.slice.call(arguments,1))}else{f.error(\"Method \"+G+\" does not exist on jQuery.swipe\")}}else{if(!E&&(typeof G===\"object\"||!G)){return w.apply(this,arguments)}}return F};f.fn.swipe.defaults=n;f.fn.swipe.phases={PHASE_START:g,PHASE_MOVE:k,PHASE_END:h,PHASE_CANCEL:q};f.fn.swipe.directions={LEFT:p,RIGHT:o,UP:e,DOWN:x,IN:c,OUT:z};f.fn.swipe.pageScroll={NONE:m,HORIZONTAL:D,VERTICAL:u,AUTO:s};f.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:i};function w(E){if(E&&(E.allowPageScroll===undefined&&(E.swipe!==undefined||E.swipeStatus!==undefined))){E.allowPageScroll=m}if(E.click!==undefined&&E.tap===undefined){E.tap=E.click}if(!E){E={}}E=f.extend({},f.fn.swipe.defaults,E);return this.each(function(){var G=f(this);var F=G.data(B);if(!F){F=new C(this,E);G.data(B,F)}})}function C(a4,av){var az=(a||d||!av.fallbackToMouseEvents),J=az?(d?(v?\"MSPointerDown\":\"pointerdown\"):\"touchstart\"):\"mousedown\",ay=az?(d?(v?\"MSPointerMove\":\"pointermove\"):\"touchmove\"):\"mousemove\",U=az?(d?(v?\"MSPointerUp\":\"pointerup\"):\"touchend\"):\"mouseup\",S=az?null:\"mouseleave\",aD=(d?(v?\"MSPointerCancel\":\"pointercancel\"):\"touchcancel\");var ag=0,aP=null,ab=0,a1=0,aZ=0,G=1,aq=0,aJ=0,M=null;var aR=f(a4);var Z=\"start\";var W=0;var aQ=null;var T=0,a2=0,a5=0,ad=0,N=0;var aW=null,af=null;try{aR.bind(J,aN);aR.bind(aD,a9)}catch(ak){f.error(\"events not supported \"+J+\",\"+aD+\" on jQuery.swipe\")}this.enable=function(){aR.bind(J,aN);aR.bind(aD,a9);return aR};this.disable=function(){aK();return aR};this.destroy=function(){aK();aR.data(B,null);return aR};this.option=function(bc,bb){if(av[bc]!==undefined){if(bb===undefined){return av[bc]}else{av[bc]=bb}}else{f.error(\"Option \"+bc+\" does not exist on jQuery.swipe.options\")}return null};function aN(bd){if(aB()){return}if(f(bd.target).closest(av.excludedElements,aR).length>0){return}var be=bd.originalEvent?bd.originalEvent:bd;var bc,bb=a?be.touches[0]:be;Z=g;if(a){W=be.touches.length}else{bd.preventDefault()}ag=0;aP=null;aJ=null;ab=0;a1=0;aZ=0;G=1;aq=0;aQ=aj();M=aa();R();if(!a||(W===av.fingers||av.fingers===i)||aX()){ai(0,bb);T=at();if(W==2){ai(1,be.touches[1]);a1=aZ=au(aQ[0].start,aQ[1].start)}if(av.swipeStatus||av.pinchStatus){bc=O(be,Z)}}else{bc=!1}if(bc===!1){Z=q;O(be,Z);return bc}else{if(av.hold){af=setTimeout(f.proxy(function(){aR.trigger(\"hold\",[be.target]);if(av.hold){bc=av.hold.call(aR,be,be.target)}},this),av.longTapThreshold)}ao(!0)}return null}function a3(be){var bh=be.originalEvent?be.originalEvent:be;if(Z===h||Z===q||am()){return}var bd,bc=a?bh.touches[0]:bh;var bf=aH(bc);a2=at();if(a){W=bh.touches.length}if(av.hold){clearTimeout(af)}Z=k;if(W==2){if(a1==0){ai(1,bh.touches[1]);a1=aZ=au(aQ[0].start,aQ[1].start)}else{aH(bh.touches[1]);aZ=au(aQ[0].end,aQ[1].end);aJ=ar(aQ[0].end,aQ[1].end)}G=a7(a1,aZ);aq=Math.abs(a1-aZ)}if((W===av.fingers||av.fingers===i)||!a||aX()){aP=aL(bf.start,bf.end);al(be,aP);ag=aS(bf.start,bf.end);ab=aM();aI(aP,ag);if(av.swipeStatus||av.pinchStatus){bd=O(bh,Z)}if(!av.triggerOnTouchEnd||av.triggerOnTouchLeave){var bb=!0;if(av.triggerOnTouchLeave){var bg=aY(this);bb=E(bf.end,bg)}if(!av.triggerOnTouchEnd&&bb){Z=aC(k)}else{if(av.triggerOnTouchLeave&&!bb){Z=aC(h)}}if(Z==q||Z==h){O(bh,Z)}}}else{Z=q;O(bh,Z)}if(bd===!1){Z=q;O(bh,Z)}}function L(bb){var bc=bb.originalEvent;if(a){if(bc.touches.length>0){F();return!0}}if(am()){W=ad}a2=at();ab=aM();if(ba()||!an()){Z=q;O(bc,Z)}else{if(av.triggerOnTouchEnd||(av.triggerOnTouchEnd==!1&&Z===k)){bb.preventDefault();Z=h;O(bc,Z)}else{if(!av.triggerOnTouchEnd&&a6()){Z=h;aF(bc,Z,A)}else{if(Z===k){Z=q;O(bc,Z)}}}}ao(!1);return null}function a9(){W=0;a2=0;T=0;a1=0;aZ=0;G=1;R();ao(!1)}function K(bb){var bc=bb.originalEvent;if(av.triggerOnTouchLeave){Z=aC(h);O(bc,Z)}}function aK(){aR.unbind(J,aN);aR.unbind(aD,a9);aR.unbind(ay,a3);aR.unbind(U,L);if(S){aR.unbind(S,K)}ao(!1)}function aC(bf){var be=bf;var bd=aA();var bc=an();var bb=ba();if(!bd||bb){be=q}else{if(bc&&bf==k&&(!av.triggerOnTouchEnd||av.triggerOnTouchLeave)){be=h}else{if(!bc&&bf==h&&av.triggerOnTouchLeave){be=q}}}return be}function O(bd,bb){var bc=undefined;if(I()||V()){bc=aF(bd,bb,l)}else{if((P()||aX())&&bc!==!1){bc=aF(bd,bb,t)}}if(aG()&&bc!==!1){bc=aF(bd,bb,j)}else{if(ap()&&bc!==!1){bc=aF(bd,bb,b)}else{if(ah()&&bc!==!1){bc=aF(bd,bb,A)}}}if(bb===q){a9(bd)}if(bb===h){if(a){if(bd.touches.length==0){a9(bd)}}else{a9(bd)}}return bc}function aF(be,bb,bd){var bc=undefined;if(bd==l){aR.trigger(\"swipeStatus\",[bb,aP||null,ag||0,ab||0,W,aQ]);if(av.swipeStatus){bc=av.swipeStatus.call(aR,be,bb,aP||null,ag||0,ab||0,W,aQ);if(bc===!1){return!1}}if(bb==h&&aV()){aR.trigger(\"swipe\",[aP,ag,ab,W,aQ]);if(av.swipe){bc=av.swipe.call(aR,be,aP,ag,ab,W,aQ);if(bc===!1){return!1}}switch(aP){case p:aR.trigger(\"swipeLeft\",[aP,ag,ab,W,aQ]);if(av.swipeLeft){bc=av.swipeLeft.call(aR,be,aP,ag,ab,W,aQ)}break;case o:aR.trigger(\"swipeRight\",[aP,ag,ab,W,aQ]);if(av.swipeRight){bc=av.swipeRight.call(aR,be,aP,ag,ab,W,aQ)}break;case e:aR.trigger(\"swipeUp\",[aP,ag,ab,W,aQ]);if(av.swipeUp){bc=av.swipeUp.call(aR,be,aP,ag,ab,W,aQ)}break;case x:aR.trigger(\"swipeDown\",[aP,ag,ab,W,aQ]);if(av.swipeDown){bc=av.swipeDown.call(aR,be,aP,ag,ab,W,aQ)}break}}}if(bd==t){aR.trigger(\"pinchStatus\",[bb,aJ||null,aq||0,ab||0,W,G,aQ]);if(av.pinchStatus){bc=av.pinchStatus.call(aR,be,bb,aJ||null,aq||0,ab||0,W,G,aQ);if(bc===!1){return!1}}if(bb==h&&a8()){switch(aJ){case c:aR.trigger(\"pinchIn\",[aJ||null,aq||0,ab||0,W,G,aQ]);if(av.pinchIn){bc=av.pinchIn.call(aR,be,aJ||null,aq||0,ab||0,W,G,aQ)}break;case z:aR.trigger(\"pinchOut\",[aJ||null,aq||0,ab||0,W,G,aQ]);if(av.pinchOut){bc=av.pinchOut.call(aR,be,aJ||null,aq||0,ab||0,W,G,aQ)}break}}}if(bd==A){if(bb===q||bb===h){clearTimeout(aW);clearTimeout(af);if(Y()&&!H()){N=at();aW=setTimeout(f.proxy(function(){N=null;aR.trigger(\"tap\",[be.target]);if(av.tap){bc=av.tap.call(aR,be,be.target)}},this),av.doubleTapThreshold)}else{N=null;aR.trigger(\"tap\",[be.target]);if(av.tap){bc=av.tap.call(aR,be,be.target)}}}}else{if(bd==j){if(bb===q||bb===h){clearTimeout(aW);N=null;aR.trigger(\"doubletap\",[be.target]);if(av.doubleTap){bc=av.doubleTap.call(aR,be,be.target)}}}else{if(bd==b){if(bb===q||bb===h){clearTimeout(aW);N=null;aR.trigger(\"longtap\",[be.target]);if(av.longTap){bc=av.longTap.call(aR,be,be.target)}}}}}return bc}function an(){var bb=!0;if(av.threshold!==null){bb=ag>=av.threshold}return bb}function ba(){var bb=!1;if(av.cancelThreshold!==null&&aP!==null){bb=(aT(aP)-ag)>=av.cancelThreshold}return bb}function ae(){if(av.pinchThreshold!==null){return aq>=av.pinchThreshold}return!0}function aA(){var bb;if(av.maxTimeThreshold){if(ab>=av.maxTimeThreshold){bb=!1}else{bb=!0}}else{bb=!0}return bb}function al(bb,bc){if(av.allowPageScroll===m||aX()){bb.preventDefault()}else{var bd=av.allowPageScroll===s;switch(bc){case p:if((av.swipeLeft&&bd)||(!bd&&av.allowPageScroll!=D)){bb.preventDefault()}break;case o:if((av.swipeRight&&bd)||(!bd&&av.allowPageScroll!=D)){bb.preventDefault()}break;case e:if((av.swipeUp&&bd)||(!bd&&av.allowPageScroll!=u)){bb.preventDefault()}break;case x:if((av.swipeDown&&bd)||(!bd&&av.allowPageScroll!=u)){bb.preventDefault()}break}}}function a8(){var bc=aO();var bb=X();var bd=ae();return bc&&bb&&bd}function aX(){return!!(av.pinchStatus||av.pinchIn||av.pinchOut)}function P(){return!!(a8()&&aX())}function aV(){var be=aA();var bg=an();var bd=aO();var bb=X();var bc=ba();var bf=!bc&&bb&&bd&&bg&&be;return bf}function V(){return!!(av.swipe||av.swipeStatus||av.swipeLeft||av.swipeRight||av.swipeUp||av.swipeDown)}function I(){return!!(aV()&&V())}function aO(){return((W===av.fingers||av.fingers===i)||!a)}function X(){return aQ[0].end.x!==0}function a6(){return!!(av.tap)}function Y(){return!!(av.doubleTap)}function aU(){return!!(av.longTap)}function Q(){if(N==null){return!1}var bb=at();return(Y()&&((bb-N)<=av.doubleTapThreshold))}function H(){return Q()}function ax(){return((W===1||!a)&&(isNaN(ag)||ag<av.threshold))}function a0(){return((ab>av.longTapThreshold)&&(ag<r))}function ah(){return!!(ax()&&a6())}function aG(){return!!(Q()&&Y())}function ap(){return!!(a0()&&aU())}function F(){a5=at();ad=event.touches.length+1}function R(){a5=0;ad=0}function am(){var bb=!1;if(a5){var bc=at()-a5;if(bc<=av.fingerReleaseThreshold){bb=!0}}return bb}function aB(){return!!(aR.data(B+\"_intouch\")===!0)}function ao(bb){if(bb===!0){aR.bind(ay,a3);aR.bind(U,L);if(S){aR.bind(S,K)}}else{aR.unbind(ay,a3,!1);aR.unbind(U,L,!1);if(S){aR.unbind(S,K,!1)}}aR.data(B+\"_intouch\",bb===!0)}function ai(bc,bb){var bd=bb.identifier!==undefined?bb.identifier:0;aQ[bc].identifier=bd;aQ[bc].start.x=aQ[bc].end.x=bb.pageX||bb.clientX;aQ[bc].start.y=aQ[bc].end.y=bb.pageY||bb.clientY;return aQ[bc]}function aH(bb){var bd=bb.identifier!==undefined?bb.identifier:0;var bc=ac(bd);bc.end.x=bb.pageX||bb.clientX;bc.end.y=bb.pageY||bb.clientY;return bc}function ac(bc){for(var bb=0;bb<aQ.length;bb++){if(aQ[bb].identifier==bc){return aQ[bb]}}}function aj(){var bb=[];for(var bc=0;bc<=5;bc++){bb.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0})}return bb}function aI(bb,bc){bc=Math.max(bc,aT(bb));M[bb].distance=bc}function aT(bb){if(M[bb]){return M[bb].distance}return undefined}function aa(){var bb={};bb[p]=aw(p);bb[o]=aw(o);bb[e]=aw(e);bb[x]=aw(x);return bb}function aw(bb){return{direction:bb,distance:0}}function aM(){return a2-T}function au(be,bd){var bc=Math.abs(be.x-bd.x);var bb=Math.abs(be.y-bd.y);return Math.round(Math.sqrt(bc*bc+bb*bb))}function a7(bb,bc){var bd=(bc/bb)*1;return bd.toFixed(2)}function ar(){if(G<1){return z}else{return c}}function aS(bc,bb){return Math.round(Math.sqrt(Math.pow(bb.x-bc.x,2)+Math.pow(bb.y-bc.y,2)))}function aE(be,bc){var bb=be.x-bc.x;var bg=bc.y-be.y;var bd=Math.atan2(bg,bb);var bf=Math.round(bd*180/Math.PI);if(bf<0){bf=360-Math.abs(bf)}return bf}function aL(bc,bb){var bd=aE(bc,bb);if((bd<=45)&&(bd>=0)){return p}else{if((bd<=360)&&(bd>=315)){return p}else{if((bd>=135)&&(bd<=225)){return o}else{if((bd>45)&&(bd<135)){return x}else{return e}}}}}function at(){var bb=new Date();return bb.getTime()}function aY(bb){bb=f(bb);var bd=bb.offset();var bc={left:bd.left,right:bd.left+bb.outerWidth(),top:bd.top,bottom:bd.top+bb.outerHeight()};return bc}function E(bb,bc){return(bb.x>bc.left&&bb.x<bc.right&&bb.y>bc.top&&bb.y<bc.bottom)}}}))','62c30ca99d72339aa7b6a7fd41979e09',1,1,'2021-08-05 17:27:27','2021-08-16 14:31:32'),(72,'https://thompson.justwebagency.com/stalpartnerold/wp-content/plugins/js_composer/assets/lib/bower/isotope/dist/isotope.pkgd.min.js?ver=6.7.0','js','','/*!\n * WPBakery Page Builder v6.0.0 (https://wpbakery.com)\n * Copyright 2011-2021 Michael M, WPBakery\n * License: Commercial. More details: http://go.wpbakery.com/licensing\n */\n\n/*!\n * Isotope PACKAGED v3.0.5\n *\n * Licensed GPLv3 for open source use\n * or Isotope Commercial License for commercial use\n *\n * https://isotope.metafizzy.co\n * Copyright 2017 Metafizzy\n */\n!function(t,e){\"function\"==typeof define&&define.amd?define(\"jquery-bridget/jquery-bridget\",[\"jquery\"],function(i){return e(t,i)}):\"object\"==typeof module&&module.exports?module.exports=e(t,require(\"jquery\")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){\"use strict\";function i(i,s,a){function u(t,e,o){var n,s=\"$().\"+i+\'(\"\'+e+\'\")\';return t.each(function(t,u){var h=a.data(u,i);if(!h)return void r(i+\" not initialized. Cannot call methods, i.e. \"+s);var d=h[e];if(!d||\"_\"==e.charAt(0))return void r(s+\" is not a valid method\");var l=d.apply(h,o);n=void 0===n?l:n}),void 0!==n?n:t}function h(t,e){t.each(function(t,o){var n=a.data(o,i);n?(n.option(e),n._init()):(n=new s(o,e),a.data(o,i,n))})}a=a||e||t.jQuery,a&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if(\"string\"==typeof t){var e=n.call(arguments,1);return u(this,t,e)}return h(this,t),this},o(a))}function o(t){!t||t&&t.bridget||(t.bridget=i)}var n=Array.prototype.slice,s=t.console,r=\"undefined\"==typeof s?function(){}:function(t){s.error(t)};return o(e||t.jQuery),i}),function(t,e){\"function\"==typeof define&&define.amd?define(\"ev-emitter/ev-emitter\",e):\"object\"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}(\"undefined\"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return o.indexOf(e)==-1&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},o=i[t]=i[t]||{};return o[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return o!=-1&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n],r=o&&o[s];r&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){\"use strict\";\"function\"==typeof define&&define.amd?define(\"get-size/get-size\",[],function(){return e()}):\"object\"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){\"use strict\";function t(t){var e=parseFloat(t),i=t.indexOf(\"%\")==-1&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<h;e++){var i=u[e];t[i]=0}return t}function o(t){var e=getComputedStyle(t);return e||a(\"Style returned \"+e+\". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1\"),e}function n(){if(!d){d=!0;var e=document.createElement(\"div\");e.style.width=\"200px\",e.style.padding=\"1px 2px 3px 4px\",e.style.borderStyle=\"solid\",e.style.borderWidth=\"1px 2px 3px 4px\",e.style.boxSizing=\"border-box\";var i=document.body||document.documentElement;i.appendChild(e);var n=o(e);s.isBoxSizeOuter=r=200==t(n.width),i.removeChild(e)}}function s(e){if(n(),\"string\"==typeof e&&(e=document.querySelector(e)),e&&\"object\"==typeof e&&e.nodeType){var s=o(e);if(\"none\"==s.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox=\"border-box\"==s.boxSizing,l=0;l<h;l++){var f=u[l],c=s[f],m=parseFloat(c);a[f]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,y=a.paddingTop+a.paddingBottom,g=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,I=a.borderTopWidth+a.borderBottomWidth,z=d&&r,x=t(s.width);x!==!1&&(a.width=x+(z?0:p+_));var S=t(s.height);return S!==!1&&(a.height=S+(z?0:y+I)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(y+I),a.outerWidth=a.width+g,a.outerHeight=a.height+v,a}}var r,a=\"undefined\"==typeof console?e:function(t){console.error(t)},u=[\"paddingLeft\",\"paddingRight\",\"paddingTop\",\"paddingBottom\",\"marginLeft\",\"marginRight\",\"marginTop\",\"marginBottom\",\"borderLeftWidth\",\"borderRightWidth\",\"borderTopWidth\",\"borderBottomWidth\"],h=u.length,d=!1;return s}),function(t,e){\"use strict\";\"function\"==typeof define&&define.amd?define(\"desandro-matches-selector/matches-selector\",e):\"object\"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){\"use strict\";var t=function(){var t=window.Element.prototype;if(t.matches)return\"matches\";if(t.matchesSelector)return\"matchesSelector\";for(var e=[\"webkit\",\"moz\",\"ms\",\"o\"],i=0;i<e.length;i++){var o=e[i],n=o+\"MatchesSelector\";if(t[n])return n}}();return function(e,i){return e[t](i)}}),function(t,e){\"function\"==typeof define&&define.amd?define(\"fizzy-ui-utils/utils\",[\"desandro-matches-selector/matches-selector\"],function(i){return e(t,i)}):\"object\"==typeof module&&module.exports?module.exports=e(t,require(\"desandro-matches-selector\")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e},i.makeArray=function(t){var e=[];if(Array.isArray(t))e=t;else if(t&&\"object\"==typeof t&&\"number\"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e},i.removeFrom=function(t,e){var i=t.indexOf(e);i!=-1&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return\"string\"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e=\"on\"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,o){t=i.makeArray(t);var n=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!o)return void n.push(t);e(t,o)&&n.push(t);for(var i=t.querySelectorAll(o),s=0;s<i.length;s++)n.push(i[s])}}),n},i.debounceMethod=function(t,e,i){var o=t.prototype[e],n=e+\"Timeout\";t.prototype[e]=function(){var t=this[n];t&&clearTimeout(t);var e=arguments,s=this;this[n]=setTimeout(function(){o.apply(s,e),delete s[n]},i||100)}},i.docReady=function(t){var e=document.readyState;\"complete\"==e||\"interactive\"==e?setTimeout(t):document.addEventListener(\"DOMContentLoaded\",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+\"-\"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var s=i.toDashed(n),r=\"data-\"+s,a=document.querySelectorAll(\"[\"+r+\"]\"),u=document.querySelectorAll(\".js-\"+s),h=i.makeArray(a).concat(i.makeArray(u)),d=r+\"-options\",l=t.jQuery;h.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(d);try{i=s&&JSON.parse(s)}catch(a){return void(o&&o.error(\"Error parsing \"+r+\" on \"+t.className+\": \"+a))}var u=new e(t,i);l&&l.data(t,n,u)})})},i}),function(t,e){\"function\"==typeof define&&define.amd?define(\"outlayer/item\",[\"ev-emitter/ev-emitter\",\"get-size/get-size\"],e):\"object\"==typeof module&&module.exports?module.exports=e(require(\"ev-emitter\"),require(\"get-size\")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){\"use strict\";function i(t){for(var e in t)return!1;return e=null,!0}function o(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function n(t){return t.replace(/([A-Z])/g,function(t){return\"-\"+t.toLowerCase()})}var s=document.documentElement.style,r=\"string\"==typeof s.transition?\"transition\":\"WebkitTransition\",a=\"string\"==typeof s.transform?\"transform\":\"WebkitTransform\",u={WebkitTransition:\"webkitTransitionEnd\",transition:\"transitionend\"}[r],h={transform:a,transition:r,transitionDuration:r+\"Duration\",transitionProperty:r+\"Property\",transitionDelay:r+\"Delay\"},d=o.prototype=Object.create(t.prototype);d.constructor=o,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:\"absolute\"})},d.handleEvent=function(t){var e=\"on\"+t.type;this[e]&&this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var e=this.element.style;for(var i in t){var o=h[i]||i;e[o]=t[i]}},d.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption(\"originLeft\"),i=this.layout._getOption(\"originTop\"),o=t[e?\"left\":\"right\"],n=t[i?\"top\":\"bottom\"],s=this.layout.size,r=o.indexOf(\"%\")!=-1?parseFloat(o)/100*s.width:parseInt(o,10),a=n.indexOf(\"%\")!=-1?parseFloat(n)/100*s.height:parseInt(n,10);r=isNaN(r)?0:r,a=isNaN(a)?0:a,r-=e?s.paddingLeft:s.paddingRight,a-=i?s.paddingTop:s.paddingBottom,this.position.x=r,this.position.y=a},d.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption(\"originLeft\"),o=this.layout._getOption(\"originTop\"),n=i?\"paddingLeft\":\"paddingRight\",s=i?\"left\":\"right\",r=i?\"right\":\"left\",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]=\"\";var u=o?\"paddingTop\":\"paddingBottom\",h=o?\"top\":\"bottom\",d=o?\"bottom\":\"top\",l=this.position.y+t[u];e[h]=this.getYValue(l),e[d]=\"\",this.css(e),this.emitEvent(\"layout\",[this])},d.getXValue=function(t){var e=this.layout._getOption(\"horizontal\");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+\"%\":t+\"px\"},d.getYValue=function(t){var e=this.layout._getOption(\"horizontal\");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+\"%\":t+\"px\"},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=parseInt(t,10),s=parseInt(e,10),r=n===this.position.x&&s===this.position.y;if(this.setPosition(t,e),r&&!this.isTransitioning)return void this.layoutPosition();var a=t-i,u=e-o,h={};h.transform=this.getTranslate(a,u),this.transition({to:h,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(t,e){var i=this.layout._getOption(\"originLeft\"),o=this.layout._getOption(\"originTop\");return t=i?t:-t,e=o?e:-e,\"translate3d(\"+t+\"px, \"+e+\"px, 0)\"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},d._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var o=this.element.offsetHeight;o=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l=\"opacity,\"+n(a);d.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t=\"number\"==typeof t?t+\"ms\":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(u,this,!1)}},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var f={\"-webkit-transform\":\"transform\"};d.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,o=f[t.propertyName]||t.propertyName;if(delete e.ingProperties[o],i(e.ingProperties)&&this.disableTransition(),o in e.clean&&(this.element.style[t.propertyName]=\"\",delete e.clean[o]),o in e.onEnd){var n=e.onEnd[o];n.call(this),delete e.onEnd[o]}this.emitEvent(\"transitionEnd\",[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(u,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var e={};for(var i in t)e[i]=\"\";this.css(e)};var c={transitionProperty:\"\",transitionDuration:\"\",transitionDelay:\"\"};return d.removeTransitionStyles=function(){this.css(c)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+\"ms\"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:\"\"}),this.emitEvent(\"remove\",[this])},d.remove=function(){return r&&parseFloat(this.layout.options.transitionDuration)?(this.once(\"transitionEnd\",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:\"\"});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty(\"visibleStyle\");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent(\"reveal\")},d.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return\"opacity\";for(var i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:\"\"});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty(\"hiddenStyle\");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:\"none\"}),this.emitEvent(\"hide\"))},d.destroy=function(){this.css({position:\"\",left:\"\",right:\"\",top:\"\",bottom:\"\",transition:\"\",transform:\"\"})},o}),function(t,e){\"use strict\";\"function\"==typeof define&&define.amd?define(\"outlayer/outlayer\",[\"ev-emitter/ev-emitter\",\"get-size/get-size\",\"fizzy-ui-utils/utils\",\"./item\"],function(i,o,n,s){return e(t,i,o,n,s)}):\"object\"==typeof module&&module.exports?module.exports=e(t,require(\"ev-emitter\"),require(\"get-size\"),require(\"fizzy-ui-utils\"),require(\"./item\")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,o,n){\"use strict\";function s(t,e){var i=o.getQueryElement(t);if(!i)return void(u&&u.error(\"Bad element for \"+this.constructor.namespace+\": \"+(i||t)));this.element=i,h&&(this.$element=h(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++l;this.element.outlayerGUID=n,f[n]=this,this._create();var s=this._getOption(\"initLayout\");s&&this.layout()}function r(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if(\"number\"==typeof t)return t;var e=t.match(/(^\\d*\\.?\\d*)(\\w*)/),i=e&&e[1],o=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var n=m[o]||1;return i*n}var u=t.console,h=t.jQuery,d=function(){},l=0,f={};s.namespace=\"outlayer\",s.Item=n,s.defaults={containerStyle:{position:\"relative\"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:\"0.4s\",hiddenStyle:{opacity:0,transform:\"scale(0.001)\"},visibleStyle:{opacity:1,transform:\"scale(1)\"}};var c=s.prototype;o.extend(c,e.prototype),c.option=function(t){o.extend(this.options,t)},c._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:\"isInitLayout\",horizontal:\"isHorizontal\",layoutInstant:\"isLayoutInstant\",originLeft:\"isOriginLeft\",originTop:\"isOriginTop\",resize:\"isResizeBound\",resizeContainer:\"isResizingContainer\"},c._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle);var t=this._getOption(\"resize\");t&&this.bindResize()},c.reloadItems=function(){this.items=this._itemize(this.element.children)},c._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var s=e[n],r=new i(s,this);o.push(r)}return o},c._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},c.getItemElements=function(){return this.items.map(function(t){return t.element})},c.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption(\"layoutInstant\"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},c._init=c.layout,c._resetLayout=function(){this.getSize()},c.getSize=function(){this.size=i(this.element)},c._getMeasurement=function(t,e){var o,n=this.options[t];n?(\"string\"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},c.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},c._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},c._layoutItems=function(t,e){if(this._emitCompleteOnItems(\"layout\",t),t&&t.length){var i=[];t.forEach(function(t){var o=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)},this),this._processLayoutQueue(i)}},c._getItemLayoutPosition=function(){return{x:0,y:0}},c._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},c.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},c._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},c._postLayout=function(){this.resizeContainer()},c.resizeContainer=function(){var t=this._getOption(\"resizeContainer\");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},c._getContainerSize=d,c._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?\"width\":\"height\"]=t+\"px\"}},c._emitCompleteOnItems=function(t,e){function i(){n.dispatchEvent(t+\"Complete\",null,[e])}function o(){r++,r==s&&i()}var n=this,s=e.length;if(!e||!s)return void i();var r=0;e.forEach(function(e){e.once(t,o)})},c.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),h)if(this.$element=this.$element||h(this.element),e){var n=h.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},c.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},c.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},c.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},c.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){o.removeFrom(this.stamps,t),this.unignore(t)},this)},c._find=function(t){if(t)return\"string\"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)},c._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},c._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},c._manageStamp=d,c._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,n=i(t),s={left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom};return s},c.handleEvent=o.handleEvent,c.bindResize=function(){t.addEventListener(\"resize\",this),this.isResizeBound=!0},c.unbindResize=function(){t.removeEventListener(\"resize\",this),this.isResizeBound=!1},c.onresize=function(){this.resize()},o.debounceMethod(s,\"onresize\",100),c.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},c.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},c.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},c.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},c.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},c.reveal=function(t){if(this._emitCompleteOnItems(\"reveal\",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},c.hide=function(t){if(this._emitCompleteOnItems(\"hide\",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},c.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},c.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},c.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},c.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},c.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems(\"remove\",e),e&&e.length&&e.forEach(function(t){t.remove(),o.removeFrom(this.items,t)},this)},c.destroy=function(){var t=this.element.style;t.height=\"\",t.position=\"\",t.width=\"\",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete f[e],delete this.element.outlayerGUID,h&&h.removeData(this.element,this.constructor.namespace)},s.data=function(t){t=o.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&f[e]},s.create=function(t,e){var i=r(s);return i.defaults=o.extend({},s.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=r(n),o.htmlInit(i,t),h&&h.bridget&&h.bridget(t,i),i};var m={ms:1,s:1e3};return s.Item=n,s}),function(t,e){\"function\"==typeof define&&define.amd?define(\"isotope-layout/js/item\",[\"outlayer/outlayer\"],e):\"object\"==typeof module&&module.exports?module.exports=e(require(\"outlayer\")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){\"use strict\";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData[\"original-order\"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:\"\"})},e}),function(t,e){\"function\"==typeof define&&define.amd?define(\"isotope-layout/js/layout-mode\",[\"get-size/get-size\",\"outlayer/outlayer\"],e):\"object\"==typeof module&&module.exports?module.exports=e(require(\"get-size\"),require(\"outlayer\")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){\"use strict\";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=i.prototype,n=[\"_resetLayout\",\"_getItemLayoutPosition\",\"_manageStamp\",\"_getContainerSize\",\"_getElementOffset\",\"needsResizeLayout\",\"_getOption\"];return n.forEach(function(t){o[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var e=t(this.isotope.element),i=this.isotope.size&&e;return i&&e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize(\"column\",\"Width\")},o.getRowHeight=function(){this.getSegmentSize(\"row\",\"Height\")},o.getSegmentSize=function(t,e){var i=t+e,o=\"outer\"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size[\"inner\"+e]}},o.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(o),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i}),function(t,e){\"function\"==typeof define&&define.amd?define(\"masonry-layout/masonry\",[\"outlayer/outlayer\",\"get-size/get-size\"],e):\"object\"==typeof module&&module.exports?module.exports=e(require(\"outlayer\"),require(\"get-size\")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create(\"masonry\");i.compatOptions.fitWidth=\"isFitWidth\";var o=i.prototype;return o._resetLayout=function(){this.getSize(),this._getMeasurement(\"columnWidth\",\"outerWidth\"),this._getMeasurement(\"gutter\",\"outerWidth\"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/o,r=o-n%o,a=r&&r<1?\"round\":\"floor\";s=Math[a](s),this.cols=Math.max(s,1)},o.getContainerWidth=function(){var t=this._getOption(\"fitWidth\"),i=t?this.element.parentNode:this.element,o=e(i);this.containerWidth=o&&o.innerWidth},o._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&e<1?\"round\":\"ceil\",o=Math[i](t.size.outerWidth/this.columnWidth);o=Math.min(o,this.cols);for(var n=this.options.horizontalOrder?\"_getHorizontalColPosition\":\"_getTopColPosition\",s=this[n](o,t),r={x:this.columnWidth*s.col,y:s.y},a=s.y+t.size.outerHeight,u=o+s.col,h=s.col;h<u;h++)this.colYs[h]=a;return r},o._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},o._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},o._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,o=t>1&&i+t>this.cols;i=o?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this._getOption(\"originLeft\"),s=n?o.left:o.right,r=s+i.outerWidth,a=Math.floor(s/this.columnWidth);a=Math.max(0,a);var u=Math.floor(r/this.columnWidth);u-=r%this.columnWidth?0:1,u=Math.min(this.cols-1,u);for(var h=this._getOption(\"originTop\"),d=(h?o.top:o.bottom)+i.outerHeight,l=a;l<=u;l++)this.colYs[l]=Math.max(d,this.colYs[l])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption(\"fitWidth\")&&(t.width=this._getContainerFitWidth()),t},o._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){\"function\"==typeof define&&define.amd?define(\"isotope-layout/js/layout-modes/masonry\",[\"../layout-mode\",\"masonry-layout/masonry\"],e):\"object\"==typeof module&&module.exports?module.exports=e(require(\"../layout-mode\"),require(\"masonry-layout\")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){\"use strict\";var i=t.create(\"masonry\"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(o[s]=e.prototype[s]);var r=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=o._getOption;return o._getOption=function(t){return\"fitWidth\"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){\"function\"==typeof define&&define.amd?define(\"isotope-layout/js/layout-modes/fit-rows\",[\"../layout-mode\"],e):\"object\"==typeof exports?module.exports=e(require(\"../layout-mode\")):e(t.Isotope.LayoutMode)}(window,function(t){\"use strict\";var e=t.create(\"fitRows\"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement(\"gutter\",\"outerWidth\")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){\"function\"==typeof define&&define.amd?define(\"isotope-layout/js/layout-modes/vertical\",[\"../layout-mode\"],e):\"object\"==typeof module&&module.exports?module.exports=e(require(\"../layout-mode\")):e(t.Isotope.LayoutMode)}(window,function(t){\"use strict\";var e=t.create(\"vertical\",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){\"function\"==typeof define&&define.amd?define([\"outlayer/outlayer\",\"get-size/get-size\",\"desandro-matches-selector/matches-selector\",\"fizzy-ui-utils/utils\",\"isotope-layout/js/item\",\"isotope-layout/js/layout-mode\",\"isotope-layout/js/layout-modes/masonry\",\"isotope-layout/js/layout-modes/fit-rows\",\"isotope-layout/js/layout-modes/vertical\"],function(i,o,n,s,r,a){return e(t,i,o,n,s,r,a)}):\"object\"==typeof module&&module.exports?module.exports=e(t,require(\"outlayer\"),require(\"get-size\"),require(\"desandro-matches-selector\"),require(\"fizzy-ui-utils\"),require(\"isotope-layout/js/item\"),require(\"isotope-layout/js/layout-mode\"),require(\"isotope-layout/js/layout-modes/masonry\"),require(\"isotope-layout/js/layout-modes/fit-rows\"),require(\"isotope-layout/js/layout-modes/vertical\")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,o,n,s,r){function a(t,e){return function(i,o){for(var n=0;n<t.length;n++){var s=t[n],r=i.sortData[s],a=o.sortData[s];if(r>a||r<a){var u=void 0!==e[s]?e[s]:e,h=u?1:-1;return(r>a?1:-1)*h}}return 0}}var u=t.jQuery,h=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\\s+|\\s+$/g,\"\")},d=e.create(\"isotope\",{layoutMode:\"masonry\",isJQueryFiltering:!0,sortAscending:!0});d.Item=s,d.LayoutMode=r;var l=d.prototype;l._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=[\"original-order\"];for(var t in r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){var o=t[i];o.id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){return!this._isLayoutInited&&this._getOption(\"initLayout\")?void this.arrange():void this._layout()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption(\"layoutInstant\"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},l._bindArrangeComplete=function(){function t(){e&&i&&o&&n.dispatchEvent(\"arrangeComplete\",null,[n.filteredItems])}var e,i,o,n=this;this.once(\"layoutComplete\",function(){e=!0,t()}),this.once(\"hideComplete\",function(){i=!0,t()}),this.once(\"revealComplete\",function(){o=!0,t()})},l._filter=function(t){var e=this.options.filter;e=e||\"*\";for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(t){return u&&this.options.isJQueryFiltering?function(e){return u(e.element).is(t)}:\"function\"==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},l.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=f(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){var o=t[i];o.updateSortData()}};var f=function(){function t(t){if(\"string\"!=typeof t)return t;var i=h(t).split(\" \"),o=i[0],n=o.match(/^\\[(.+)\\]$/),s=n&&n[1],r=e(s,o),a=d.sortDataParsers[i[1]];return t=a?function(t){return t&&a(r(t))}:function(t){return t&&r(t)}}function e(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}return t}();d.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=a(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error(\"No layout mode: \"+t);return e.options=this.options[t],e},l._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var c=l.remove;return l.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);c.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var s=e[o];n.removeFrom(this.filteredItems,s)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){var e=this.items[t];e.sortData.random=Math.random()}this.options.sortBy=\"random\",this._sort(),this._layout()},l._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},d})','dbb97a71b438f115ca98d56e678c5a90',1,1,'2021-08-05 17:27:28','2021-08-16 14:31:32'),(73,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/default_dynamic.js?ver=1619278669','js','','var header_height=105;var min_header_height_scroll=57;var min_header_height_sticky=60;var scroll_amount_for_sticky=85;var min_header_height_fixed_hidden=45;var header_bottom_border_weight=1;var scroll_amount_for_fixed_hiding=200;var menu_item_margin=0;var large_menu_item_border=0;var element_appear_amount=-150;var paspartu_width_init=0.02;var directionNavArrows=\'arrow_carrot-\';var directionNavArrowsTestimonials=\'fa fa-angle-\';var add_for_admin_bar=jQuery(\'body\').hasClass(\'admin-bar\')?32:0;var logo_height=130;var logo_width=280;logo_width=280;logo_height=130;header_top_height=0;var loading_text;loading_text=\'Loading new posts...\';var finished_text;finished_text=\'No more posts\';var piechartcolor;piechartcolor=\"#d34e35\";piechartcolor=\"#0082ff\";directionNavArrows=\'arrow_\';directionNavArrowsTestimonials=\'arrow_\';var no_ajax_pages=[];var mkd_root=\'https://thompson.justwebagency.com/steelpartner-v2//\';var theme_root=\'https://thompson.justwebagency.com/steelpartner-v2/wp-content/themes/onyx/\';var header_style_admin=\"\";if(typeof no_ajax_obj!==\'undefined\'){no_ajax_pages=no_ajax_obj.no_ajax_pages}','7f15cda410d6cb934d7406985d07b07c',1,1,'2021-08-05 17:27:28','2021-08-16 14:31:32'),(74,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/default.min.js?ver=5.8','js','','var logo_height,logo_width,content_menu_position,content_menu_top,src,next_image,prev_image,$top_header_height,header_style,header_top_height,$j=jQuery.noConflict(),$scroll=0,$window_width=$j(window).width(),$window_height=$j(window).height(),menu_dropdown_height_set=!1,sticky_amount=0,content_menu_top_add=0,loadedPageFlag=!0;\"undefined\"==typeof header_height&&(header_top_height=35);var skrollr_slider,widgetTopOffset,widgetParentOffset,stickySidebarHeight,paspartu_width,sticky_animate,min_w=1500,video_width_original=1280,video_height_original=720,vid_ratio=1280/720;function headerSize(e){\"use strict\";var t,i,a,o;$j(\"header.page_header\").hasClass(\"scroll_top\")&&$j(\"header.page_header\").hasClass(\"has_top\")&&$j(\"header.page_header\").hasClass(\"fixed\")&&(0<=e&&e<=header_top_height?($j(\"header.page_header\").css(\"top\",-e),$j(\"header.page_header\").css(\"margin-top\",0),$j(\".header_top\").show()):header_top_height<e&&($j(\"header.page_header\").css(\"top\",-header_top_height),$j(\"header.page_header\").css(\"margin-top\",header_top_height),$j(\".header_top\").hide())),sticky_amount=\"undefined\"!=typeof page_scroll_amount_for_sticky?page_scroll_amount_for_sticky:$j(\".carousel.full_screen\").length?$j(\".carousel\").height():scroll_amount_for_sticky,$j(\".mkd_slider .carousel\").length&&($j(\".carousel\").height()<e?$j(\".carousel\").addClass(\"disable_slider_header_style_changing\"):($j(\".carousel\").removeClass(\"disable_slider_header_style_changing\"),checkSliderForHeaderStyle($j(\".mkd_slider .carousel .active\"),$j(\".mkd_slider .carousel\").hasClass(\"header_effect\")))),$j(\"header.page_header\").hasClass(\"regular\")&&(0<header_height-logo_height?$j(\".mkd_logo a\").height(logo_height):$j(\".mkd_logo a\").height(header_height),$j(\".mkd_logo a img\").css(\"height\",\"100%\")),$j(\"header.page_header\").hasClass(\"fixed\")&&($top_header_height=$j(\"header.page_header\").hasClass(\"scroll_top\")?header_top_height:0,header_height-(e-$top_header_height)/4>=min_header_height_scroll&&$top_header_height<=e?($j(\"header.page_header\").removeClass(\"scrolled\"),$j(\"header nav.main_menu > ul > li > a\").css(\"line-height\",header_height-(e-$top_header_height)/4+\"px\"),$j(\"header .side_menu_button\").css(\"height\",header_height+large_menu_item_border-(e-$top_header_height)/4+\"px\"),$j(\"header .header_bottom_right_widget_holder\").css(\"height\",header_height+large_menu_item_border-(e-$top_header_height)/4+\"px\"),$j(\"header .shopping_cart_inner\").css(\"height\",header_height+large_menu_item_border-(e-$top_header_height)/4+\"px\"),$j(\"header .logo_wrapper\").css(\"height\",header_height+large_menu_item_border-(e-$top_header_height)/4+\"px\"),$j(\".side_menu .close_side_menu_holder\").css(\"height\",header_height+large_menu_item_border-(e-$top_header_height)/4+\"px\"),0<header_height-logo_height?$j(\"header .mkd_logo a\").css(\"height\",logo_height+\"px\"):$j(\"header .mkd_logo a\").css(\"height\",header_height+large_menu_item_border-(e-$top_header_height)/4+\"px\")):e<$top_header_height?($j(\"header.page_header\").removeClass(\"scrolled\"),$j(\"header nav.main_menu > ul > li > a\").css(\"line-height\",header_height+\"px\"),$j(\"header .side_menu_button\").css(\"height\",header_height+large_menu_item_border+\"px\"),$j(\"header .header_bottom_right_widget_holder\").css(\"height\",header_height+large_menu_item_border+\"px\"),$j(\"header .shopping_cart_inner\").css(\"height\",header_height+large_menu_item_border+\"px\"),$j(\"header .logo_wrapper\").css(\"height\",header_height+large_menu_item_border+\"px\"),$j(\".side_menu .close_side_menu_holder\").css(\"height\",header_height+large_menu_item_border+\"px\"),0<header_height-logo_height?$j(\"header .mkd_logo a\").css(\"height\",logo_height+\"px\"):$j(\"header .mkd_logo a\").css(\"height\",header_height+large_menu_item_border+\"px\")):header_height-(e-$top_header_height)/4<min_header_height_scroll&&($j(\"header.page_header\").addClass(\"scrolled\"),$j(\"header nav.main_menu > ul > li > a\").css(\"line-height\",min_header_height_scroll+\"px\"),$j(\"header .side_menu_button\").css(\"height\",min_header_height_scroll+large_menu_item_border+\"px\"),$j(\"header .header_bottom_right_widget_holder\").css(\"height\",min_header_height_scroll+large_menu_item_border+\"px\"),$j(\"header .shopping_cart_inner\").css(\"height\",min_header_height_scroll+large_menu_item_border+\"px\"),$j(\"header .logo_wrapper\").css(\"height\",min_header_height_scroll+large_menu_item_border+\"px\"),$j(\".side_menu .close_side_menu_holder\").css(\"height\",min_header_height_scroll+large_menu_item_border+\"px\"),0<min_header_height_scroll-logo_height?$j(\"header .mkd_logo a\").css(\"height\",logo_height+\"px\"):$j(\"header .mkd_logo a\").css(\"height\",min_header_height_scroll+large_menu_item_border+\"px\")),header_height-(e-$top_header_height)/4<logo_height&&header_height-(e-$top_header_height)/4>=min_header_height_scroll&&logo_height>min_header_height_scroll&&$top_header_height<=e?$j(\".mkd_logo a\").height(header_height-(e-$top_header_height)/4):header_height-(e-$top_header_height)/4<logo_height&&header_height-(e-$top_header_height)/4>=min_header_height_scroll&&logo_height>min_header_height_scroll&&e<$top_header_height?$j(\".mkd_logo a\").height(header_height):header_height-(e-$top_header_height)/4<logo_height&&header_height-(e-$top_header_height)/4<min_header_height_scroll&&logo_height>min_header_height_scroll?$j(\".mkd_logo a\").height(min_header_height_scroll):(header_height-(e-$top_header_height)/4<logo_height&&header_height-(e-$top_header_height)/4<min_header_height_scroll&&logo_height<min_header_height_scroll||(e-$top_header_height)/4==0&&header_height,$j(\".mkd_logo a\").height(logo_height))),$j(\"header.page_header\").hasClass(\"fixed_hiding\")&&(e<scroll_amount_for_fixed_hiding?$j(\"header.page_header\").removeClass(\"scrolled\"):$j(\"header.page_header\").addClass(\"scrolled\"),$j(\".mkd_logo a\").height(logo_height/2),$j(\".mkd_logo img\").height(\"100%\")),($j(\"header.page_header\").hasClass(\"stick\")||$j(\"header.page_header\").hasClass(\"stick_with_left_right_menu\"))&&(sticky_amount<e?($j(\"header.page_header\").hasClass(\"sticky\")||($top_header_height=$j(\"header.page_header\").hasClass(\"has_top\")?34:0,i=$j(\"header.page_header\").hasClass(\"menu_bottom\")?60:0,a=$j(\"header.page_header\").hasClass(\"centered_logo\")?$j(\"header.page_header\").height():header_height+$top_header_height+large_menu_item_border+i,$j(\"header.page_header\").addClass(\"sticky\"),$j(\".side_menu\").addClass(\"sticky\"),$j(\".content\").css(\"padding-top\",a),window.clearTimeout(sticky_animate),sticky_animate=window.setTimeout(function(){$j(\"header.page_header\").addClass(\"sticky_animate\")},100),0<min_header_height_sticky-logo_height/2?$j(\".mkd_logo a\").height(logo_height/2):$j(\".mkd_logo a\").height(min_header_height_sticky),$j(\"header.page_header\").hasClass(\"stick_with_left_right_menu\")&&($j(\"header .mkd_logo a img.sticky\").get(0).complete?(t=$j(\"header .mkd_logo a img.sticky\").width(),$j(\".logo_wrapper\").width(t),$j(\"nav.main_menu.left_side\").attr(\"style\",\"padding-right:\"+t/2+\"px !important;\"),$j(\"nav.main_menu.right_side\").attr(\"style\",\"padding-left:\"+t/2+\"px !important;\")):$j(\"header .mkd_logo a img.sticky\").on(\"load\",function(){t=$j(\"header .mkd_logo a img.sticky\").width(),$j(\".logo_wrapper\").width(t),$j(\"nav.main_menu.left_side\").attr(\"style\",\"padding-right:\"+t/2+\"px !important;\"),$j(\"nav.main_menu.right_side\").attr(\"style\",\"padding-left:\"+t/2+\"px !important;\")})),$j(\"header.page_header\").hasClass(\"menu_bottom\")&&initDropDownMenu()),0<min_header_height_sticky-logo_height/2?$j(\".mkd_logo a\").height(logo_height/2):$j(\".mkd_logo a\").height(min_header_height_sticky)):($j(\"header.page_header\").hasClass(\"sticky\")&&($j(\"header\").removeClass(\"sticky_animate\"),$j(\"header\").removeClass(\"sticky\"),$j(\".side_menu\").removeClass(\"sticky\"),$j(\".content\").css(\"padding-top\",\"0px\"),$j(\"header.page_header\").hasClass(\"menu_bottom\")&&initDropDownMenu()),$j(\"header.page_header\").hasClass(\"centered_logo\")?($j(\".mkd_logo a\").height(logo_height/2),$j(\".mkd_logo img\").height(\"auto\")):0<header_height-logo_height/2?$j(\".mkd_logo a\").height(logo_height/2):$j(\".mkd_logo a\").height(header_height),$j(\".mkd_logo a img\").css(\"height\",\"100%\"),$j(\"header.page_header\").hasClass(\"stick_with_left_right_menu\")&&(t=logo_width/2,$j(\".logo_wrapper\").width(t),$j(\"nav.main_menu.left_side\").attr(\"style\",\"padding-right:\"+t/2+\"px !important;\"),$j(\"nav.main_menu.right_side\").attr(\"style\",\"padding-left:\"+t/2+\"px !important;\")))),$j(\"a.search_icon_bckg_full\").length&&(o=$j(\"header nav.main_menu > ul > li > a\").css(\"line-height\"),$j(\"header .side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full\").css(\"line-height\",o)),$j(\"a.sidearea_icon_bckg_full\").length&&(o=$j(\"header nav.main_menu > ul > li > a\").css(\"line-height\"),$j(\"header .side_menu_button_wrapper .side_menu_button a.sidearea_icon_bckg_full\").css(\"line-height\",o))}$j(\".widget_sticky-sidebar\").length,$j(document).ready(function(){\"use strict\";$j(\"header\").hasClass(\"regular\")&&(content_menu_top=0),$j(\"header\").hasClass(\"fixed_top_header\")&&(content_menu_top=header_height),$j(\"header\").hasClass(\"fixed\")&&(content_menu_top=min_header_height_scroll),$j(\"header\").hasClass(\"fixed_hiding\")&&(content_menu_top=min_header_height_fixed_hidden+20),$j(\"header\").hasClass(\"stick\")&&(content_menu_top=0),!$j(\"header.page_header\").hasClass(\"scroll_top\")&&$j(\"header.page_header\").hasClass(\"has_top\")&&($j(\"header.page_header\").hasClass(\"fixed\")||$j(\"header.page_header\").hasClass(\"fixed_hiding\"))&&(content_menu_top_add=header_top_height),$j(\"body\").hasClass(\"vertical_menu_enabled\")&&(content_menu_top_add=content_menu_top=0),paspartu_width=$window_width<1024?.02:paspartu_width_init,contentMinHeight(),contentMinHeightWithPaspartu(),setDropDownMenuPosition(),initVerticalMenu(),initVerticalMobileMenu(),initMikadoSlider(),initSideMenu(),initPopupMenu(),initMessageHeight(),initFullScreenTemplate(),initToCounter(),initCounter(),initProgressBars(),initListAnimation(),initPieChart(),initPieChartWithIcon(),initParallaxTitle(),initSideAreaScroll(),initVerticalAreaMenuScroll(),loadMore(),initMobileMenu(),eltdInitSingleProductLightbox(),prettyPhoto(),initnitElementsHolderResponsiveStyle(),$j(\".vertical_split_slider\").length||initFlexSlider(),initDropDownMenu(),fitVideo(),setServiceTableStyles(),initAccordion(),initAccordionContentLink(),initAccordionHoverStyle(),initMessages(),initProgressBarsIcon(),initMoreFacts(),placeholderReplace(),backButtonShowHide(),backToTop(),showGoogleMap(),initProgressBarsVertical(),initElementsAnimation(),initElementsHolderItemAnimation(),updateShoppingCart(),initHashClick(),checkHeaderStyleOnScroll(),initImageHover(),initIconWithTextAnimation(),initVideoBackground(),initCheckSafariBrowser(),initCheckFirefoxMacBrowser(),initSearchButton(),initCoverBoxes(),createContentMenu(),contentMenuScrollTo(),initButtonHover(),initReadMoreButtonHover(),initSocialIconHover(),initIconHover(),initInteractiveBannersShader(),initInteractiveBannersBorderStyle(),showHideVerticalMenu(),initPortfolioBlurEffect(),setTestimonialsEqualHeight(),preloadBackgrounds(),initProcessHeightWidth(),initCustomFontResize(),createTabIcons(),$j([theme_root+\"img/logo.png\"]).preload(),$j(\".widget #searchform\").mousedown(function(){$j(this).addClass(\"form_focus\")}).focusout(function(){$j(this).removeClass(\"form_focus\")}),$scroll=$j(window).scrollTop(),checkTitleToShowOrHide(),checkVerticalMenuTransparency(),982<$j(window).width()?headerSize($scroll):(logoSizeOnSmallScreens(),sideButtonsLineHeightOnMobile()),$j(\"header .mkd_logo a\").css(\"visibility\",\"visible\"),1e3<$j(window).width()&&contentMenuPosition(),contentMenuCheckLastSection()}),$j(window).on(\"load\",function(){\"use strict\";$j(\".touch .main_menu li:has(div.second)\").doubleTapToGo(),setDropDownMenuPosition(),initDropDownMenu(),initPortfolio(),logoWidth(),initPortfolioZIndex(),initPortfolioSingleInfo(),$j(\".vertical_split_slider\").length||initTestimonials(),setTestimonialsEqualHeight(),initVideoBackgroundSize(),initPortfolioMasonry(),initPortfolioMasonryFilter(),initPortfolioSlider(),initProductSlider(),initBlogSlider(),initTabs(),initVerticalTabsContentHeight(),initVerticalTabsWidth(),initTabsStyle(),countClientsPerRow(),initTitleAreaAnimation(),setContentBottomMargin(),setVideoHeightAndWidth(),$j(\".side_area_uncovered_from_content\").length&&$j(\".side_area_uncovered_from_content .side_menu\").css({right:\"0px\"}),0<$j(\"nav.content_menu\").length&&(content_menu_position=$j(\"nav.content_menu\").offset().top,contentMenuPosition(),contentMenuOnScroll(),contentMenuCheckLastSection(),createSelectContentMenu()),initMikadoCarousel(),setFooterHeight(),initImageGallerySliderNoSpace(),initVerticalSplitSlider(),initParallax(),initSocialIconsSidebarEffect(),$j(\".widget_sticky-sidebar\").length&&(widgetTopOffset=$j(\".widget_sticky-sidebar\").offset().top,widgetParentOffset=$j(\".widget_sticky-sidebar\").position().top,stickySidebarHeight=$j(\"aside.sidebar\").height()),600<$j(window).width()&&stickySidebar($scroll,widgetTopOffset,widgetParentOffset,stickySidebarHeight),stickySidebarWidth(),removeStickySidebarClass(),initMikadoElementAnimationSkrollr(),setTimeout(function(){checkAnchorOnScroll(),checkAnchorOnLoad(),$j(\".no-touch .carousel\").length&&skrollr_slider.refresh()},700)}),$j(window).scroll(function(){\"use strict\";$scroll=$j(window).scrollTop(),1e3<$j(window).width()&&(headerSize($scroll),contentMenuPosition()),contentMenuCheckLastSection(),600<$j(window).width()&&stickySidebar($scroll,widgetTopOffset,widgetParentOffset,stickySidebarHeight),checkVerticalMenuTransparency(),logoWidth(),$j(\".touch .drop_down > ul > li\").mouseleave(),$j(\".touch .drop_down > ul > li\").blur()}),$j(window).resize(function(){\"use strict\";$window_width=$j(window).width(),$window_height=$j(window).height(),paspartu_width=$window_width<1024?.02:paspartu_width_init,1e3<$j(window).width()?headerSize($scroll):(logoSizeOnSmallScreens(),sideButtonsLineHeightOnMobile()),initMessageHeight(),initTestimonials(),initVideoBackgroundSize(),setContentBottomMargin(),setFooterHeight(),calculateHeights(),contentMinHeight(),contentMinHeightWithPaspartu(),countClientsPerRow(),logoWidth(),initImageGallerySliderNoSpace(),$j(\".vertical_split_slider\").height($window_height),initParallax(),setTestimonialsEqualHeight(),600<$j(window).width()&&(stickySidebarHeight=$j(\"aside.sidebar\").height(),stickySidebar($scroll,widgetTopOffset,widgetParentOffset,stickySidebarHeight)),stickySidebarWidth(),removeStickySidebarClass(),initBlogSlider(),initMikadoCarousel(),initCustomFontResize(),initDropDownMenu()});var default_header_style,current_scroll,$scrollHeight,headerHeightOffset=0;function stickySidebar(e,t,i,a){\"use strict\";var o,s,n,r,d,l;$j(\".widget_sticky-sidebar\").length&&($j(\".content_right_from_sidebar\").length&&(o=$j(\"aside.sidebar\").parent().innerWidth()),s=$j(\"body\").hasClass(\"paspartu_on_top_fixed\")?Math.round($window_width*paspartu_width):0,$j(\"header.page_header\").hasClass(\"regular\")||$j(window).width()<=1e3?headerHeightOffset=0:$j(\"header.page_header\").hasClass(\"fixed_top_header\")?headerHeightOffset=$j(\"header.page_header .top_header\").height():($j(\"header.page_header\").hasClass(\"stick\")||$j(\"header.page_header\").hasClass(\"stick_with_left_right_menu\"))&&t<sticky_amount?e<=sticky_amount?(headerHeightOffset=0,setTimeout(function(){$j(\".sidebar\").removeClass(\"sticky_sidebar_animate_top\")},330)):(headerHeightOffset=$j(\"header.page_header\").height(),$j(\".sidebar\").addClass(\"sticky_sidebar_animate_top\")):headerHeightOffset=$j(\"header.page_header\").height(),t-headerHeightOffset-s<=e?(n=-(i-headerHeightOffset-s),$j(\".sidebar\").addClass(\"sticky_sidebar\"),$j(\".sidebar.sticky_sidebar\").css(\"top\",n+\"px\"),$j(\".content_right_from_sidebar\").length&&$j(\".column2.content_right_from_sidebar\").css(\"padding-left\",o+\"px\"),r=d=0,d=$j(\".uncover\").length?(r=parseInt($j(\".content\").css(\"margin-bottom\")),$j(document).height()-$window_height-r):$j(\"footer\").offset().top-$window_height,(l=$window_height-(a+40+n))<e-d?$j(\".sidebar.sticky_sidebar\").css(\"margin-top\",-(e-d-l)):$j(\".sidebar.sticky_sidebar\").css(\"margin-top\",0)):($j(\".sidebar\").removeClass(\"sticky_sidebar\"),$j(\".sidebar\").css(\"top\",\"0\"),$j(\".content_right_from_sidebar\").length&&$j(\".column2.content_right_from_sidebar\").css(\"padding-left\",\"0\")))}function stickySidebarWidth(){\"use strict\";var e;$j(\".widget_sticky-sidebar\").length&&(e=$j(\"aside.sidebar\").parent().width(),$j(\".sidebar\").css(\"width\",e+\"px\"))}function removeStickySidebarClass(){\"use strict\";$j(\".widget_sticky-sidebar\").length&&$j(window).width()<=600&&$j(\".sidebar\").hasClass(\"sticky_sidebar\")&&($j(\".sidebar\").removeClass(\"sticky_sidebar sticky_sidebar_animate_top\"),$j(\".sidebar\").css(\"width\",\"auto\"),$j(\".sidebar\").css(\"top\",\"auto\"),$j(\".content_right_from_sidebar\").length&&$j(\".column2.content_right_from_sidebar\").css(\"padding-left\",\"0\"))}function logoWidth(){\"use strict\";var e;$j(\".left_menu_position\").length&&(e=$j(\"header\").hasClass(\"sticky\")?$j(\"header .mkd_logo a img.sticky\").width():$j(\"header .mkd_logo a img.normal\").width(),$j(\"header .logo_wrapper\").css(\"width\",e+\"px\"))}function logoSizeOnSmallScreens(){\"use strict\";$j(\".mkd_logo a img\").css(\"height\",\"100%\"),$j(\"header.page_header\").removeClass(\"sticky_animate sticky\"),$j(\".content\").css(\"padding-top\",\"0px\")}function sideButtonsLineHeightOnMobile(){\"use strict\";var e;$j(\"a.search_icon_bckg_full\").length&&(e=$j(\"header .header_inner_left .mobile_menu_button\").css(\"height\"),$j(\"header .side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full\").css(\"line-height\",e)),$j(\"a.sidearea_icon_bckg_full\").length&&(e=$j(\"header .header_inner_left .mobile_menu_button\").css(\"height\"),$j(\"header .side_menu_button_wrapper .side_menu_button a.sidearea_icon_bckg_full\").css(\"line-height\",e))}function contentMinHeight(){\"use strict\";var e,t;$j(\"header .header_bottom\").length&&(t=void 0!==(e=$j(\"header .header_bottom\").css(\"background-color\")).substring(e.indexOf(\"(\")+1,e.lastIndexOf(\")\")).split(/,\\s*/)[3]||$j(\"header.page_header\").hasClass(\"transparent\")?0:$j(\"header.page_header\").height(),$j(\"body .content\").css(\"min-height\",$window_height-t-$j(\"footer:not(.uncover)\").height()))}function contentMinHeightWithPaspartu(){\"use strict\";var e,t,i,a,o,s;$j(\".paspartu_enabled\").length&&(e=0,t=$window_width*paspartu_width,i=$j(\"footer\").height(),$j(\".disable_footer\").length&&(i=0),$j(\".vertical_menu_enabled\").length?$j(\".paspartu_top\").length&&$j(\".paspartu_middle_inner\").length&&(e+=t):$j(\".paspartu_top\").length&&(e+=t),!$j(\".paspartu_bottom\").length&&$j(\".disable_bottom_paspartu\").length||(e+=t),s=$j(\".vertical_menu_enabled\").length?$window_height-e-i:(o=void 0!==(a=$j(\"header .header_bottom\").css(\"background-color\")).substring(a.indexOf(\"(\")+1,a.lastIndexOf(\")\")).split(/,\\s*/)[3]||$j(\"header.page_header\").hasClass(\"transparent\")?0:$j(\"header.page_header\").height(),$window_height-o-e-i),$j(\".content\").length&&$j(\".content\").css(\"min-height\",s))}function initMikadoSlider(){\"use strict\";var S,r,t,d,T=/url\\([\"\']?([^\'\")]+)[\'\"]?\\)/;function o(e){return e.match(t)[0].substr(1).split(\",\").map(function(e){return parseFloat(e)})}default_header_style=\"\",$j(\"header.page_header\").hasClass(\"light\")&&(default_header_style=\"light\"),$j(\"header.page_header\").hasClass(\"dark\")&&(default_header_style=\"dark\"),$j(\".carousel\").length&&(S={zoom_center:\"1.2, 0, 0, 1.2, 0, 0\",zoom_top_left:\"1.2, 0, 0, 1.2, -150, -150\",zoom_top_right:\"1.2, 0, 0, 1.2, 150, -150\",zoom_bottom_left:\"1.2, 0, 0, 1.2, -150, 150\",zoom_bottom_right:\"1.2, 0, 0, 1.2, 150, 150\"},r=jQuery,t=/\\([0-9epx\\.\\, \\t\\-]+/gi,d=[\"transform\",\"-webkit-transform\"],r.fn.transformAnimate=function(a){var e={transform:\"matrix(1,0,0,1,0,0)\"};r.extend(e,a),this.css(\"percentAnim\",0);var t,i,s=(t=this,i=null,d.some(function(e){return null!==(i=t.css(e))&&\"\"!==i}),o(i=i&&\"none\"!==i?i:\"matrix(1,0,0,1,0,0)\")),n=o(e.transform);return e.step=function(o,e){var t=r(this),i=s.map(function(e,t){return i=e,a=n[t],i+o/100*(a-i);var i,a});!function(e,t){for(var i=\"matrix(\"+t.join(\",\")+\")\",a=d.length-1;0<=a;--a)e.css(d[a],i)}(t,i),a.step&&a.step.apply(this,[i,e])},this.stop().animate({percentAnim:100},e)},$j(\".carousel\").each(function(){var s,n,r,d,l,h=$j(this),e=$window_width<1e3?$j(\"header.page_header\").height():0,t=1e3<$window_width&&!$j(\"header.page_header\").hasClass(\"transparent\")&&0===$j(\"body.paspartu_on_top_fixed\").length?$j(\"header.page_header\").height():0,i=0<$j(\".paspartu_outer:not(.disable_top_paspartu)\").length?Math.round($window_width*paspartu_width+t):0,a=0<$j(\".paspartu_outer.paspartu_on_bottom_slider\").length?Math.round($window_width*paspartu_width):0,c=[1600,1200,900,650,500,320];h.data(\"mkd_responsive_breakpoints\")&&\"set2\"===h.data(\"mkd_responsive_breakpoints\")&&(c=[1600,1300,1e3,768,567,320]);var o,_,u,p=h.data(\"mkd_responsive_graphic_coefficients\").split(\",\"),m=h.data(\"mkd_responsive_title_coefficients\").split(\",\"),f=h.data(\"mkd_responsive_subtitle_coefficients\").split(\",\"),$=h.data(\"mkd_responsive_text_coefficients\").split(\",\"),g=h.data(\"mkd_responsive_button_coefficients\").split(\",\");function j(e,t){var i=t;$window_width>c[0]?i=t:$window_width>c[1]?i=.75*t:$window_width>c[2]?i=.6*t:$window_width>c[3]?i=.55*t:$window_width<=c[3]&&(i=.45*t),e.css({height:i+\"px\"}),e.find(\".mkd_slider_preloader\").css({height:i+\"px\"}),e.find(\".mkd_slider_preloader .ajax_loader\").css({display:\"block\"}),e.find(\".item\").css({height:i+\"px\"})}function v(e){h.css({height:e+\"px\"}),h.find(\".mkd_slider_preloader\").css({height:e+\"px\"}),h.find(\".mkd_slider_preloader .ajax_loader\").css({display:\"block\"}),h.find(\".item\").css({height:e+\"px\"})}function w(e,t){window[\"slider_graphic_width_\"+t]=[],window[\"slider_graphic_height_\"+t]=[],window[\"slider_svg_width_\"+t]=[],window[\"slider_svg_height_\"+t]=[],window[\"slider_title_\"+t]=[],window[\"slider_subtitle_\"+t]=[],window[\"slider_text_\"+t]=[],window[\"slider_text_separator_\"+t]=[],window[\"slider_text_separator_width_\"+t]=[],window[\"slider_button1_\"+t]=[],window[\"slider_button2_\"+t]=[],window[\"slider_top_separator_\"+t]=[],window[\"slider_bottom_separator_\"+t]=[],window[\"slider_graphic_width_\"+t].push(parseFloat(e.find(\".thumb img\").data(\"width\"))),window[\"slider_graphic_height_\"+t].push(parseFloat(e.find(\".thumb img\").data(\"height\"))),window[\"slider_svg_width_\"+t].push(parseFloat(e.find(\".mkd_slide-svg-holder svg\").attr(\"width\"))),window[\"slider_svg_height_\"+t].push(parseFloat(e.find(\".mkd_slide-svg-holder svg\").attr(\"height\"))),window[\"slider_title_\"+t].push(parseFloat(e.find(\".mkd_slide_title\").css(\"font-size\"))),window[\"slider_subtitle_\"+t].push(parseFloat(e.find(\".mkd_slide_subtitle\").css(\"font-size\"))),window[\"slider_text_\"+t].push(parseFloat(e.find(\".mkd_slide_text\").css(\"font-size\"))),window[\"slider_button1_\"+t].push(parseFloat(e.find(\".qbutton:eq(0)\").css(\"font-size\"))),window[\"slider_button2_\"+t].push(parseFloat(e.find(\".qbutton:eq(1)\").css(\"font-size\"))),window[\"slider_text_separator_\"+t].push(parseFloat(e.find(\".separator_content\").css(\"font-size\"))),window[\"slider_title_\"+t].push(parseFloat(e.find(\".mkd_slide_title\").css(\"line-height\"))),window[\"slider_subtitle_\"+t].push(parseFloat(e.find(\".mkd_slide_subtitle\").css(\"line-height\"))),window[\"slider_text_\"+t].push(parseFloat(e.find(\".mkd_slide_text\").css(\"line-height\"))),window[\"slider_button1_\"+t].push(parseFloat(e.find(\".qbutton:eq(0)\").css(\"line-height\"))),window[\"slider_button2_\"+t].push(parseFloat(e.find(\".qbutton:eq(1)\").css(\"line-height\"))),window[\"slider_text_separator_\"+t].push(parseFloat(e.find(\".separator_content\").css(\"line-height\"))),window[\"slider_title_\"+t].push(parseFloat(e.find(\".mkd_slide_title\").css(\"letter-spacing\"))),window[\"slider_subtitle_\"+t].push(parseFloat(e.find(\".mkd_slide_subtitle\").css(\"letter-spacing\"))),window[\"slider_text_\"+t].push(parseFloat(e.find(\".mkd_slide_text\").css(\"letter-spacing\"))),window[\"slider_button1_\"+t].push(parseFloat(e.find(\".qbutton:eq(0)\").css(\"letter-spacing\"))),window[\"slider_button2_\"+t].push(parseFloat(e.find(\".qbutton:eq(1)\").css(\"letter-spacing\"))),window[\"slider_text_separator_\"+t].push(parseFloat(e.find(\".separator_content\").css(\"letter-spacing\"))),window[\"slider_title_\"+t].push(parseFloat(e.find(\".mkd_slide_title\").css(\"margin-bottom\"))),window[\"slider_subtitle_\"+t].push(parseFloat(e.find(\".mkd_slide_subtitle\").css(\"margin-bottom\"))),window[\"slider_button1_\"+t].push(parseFloat(e.find(\".qbutton:eq(0)\").css(\"height\"))),window[\"slider_button2_\"+t].push(parseFloat(e.find(\".qbutton:eq(1)\").css(\"height\"))),0!==parseFloat(e.find(\".qbutton:eq(0)\").css(\"width\"))?window[\"slider_button1_\"+t].push(parseFloat(e.find(\".qbutton:eq(0)\").css(\"width\"))):window[\"slider_button1_\"+t].push(0),0!==parseFloat(e.find(\".qbutton:eq(1)\").css(\"width\"))?window[\"slider_button2_\"+t].push(parseFloat(e.find(\".qbutton:eq(1)\").css(\"width\"))):window[\"slider_button2_\"+t].push(0),window[\"slider_button1_\"+t].push(parseFloat(e.find(\".qbutton:eq(0)\").css(\"padding-left\"))),window[\"slider_button2_\"+t].push(parseFloat(e.find(\".qbutton:eq(1)\").css(\"padding-left\"))),window[\"slider_top_separator_\"+t].push(parseFloat(e.find(\".separator_top\").css(\"margin-top\"))),window[\"slider_top_separator_\"+t].push(parseFloat(e.find(\".separator_top\").css(\"margin-bottom\"))),window[\"slider_bottom_separator_\"+t].push(parseFloat(e.find(\".separator_bottom\").css(\"margin-top\"))),window[\"slider_bottom_separator_\"+t].push(parseFloat(e.find(\".separator_bottom\").css(\"margin-bottom\"))),window[\"slider_text_separator_width_\"+t].push(parseFloat(e.find(\".mkd_line_before\").css(\"width\")))}function b(e,t){l=$window_width>c[0]?(s=p[0],n=m[0],r=f[0],d=$[0],g[0]):$window_width>c[1]?(s=p[1],n=m[1],r=f[1],d=$[1],g[1]):$window_width>c[2]?(s=p[2],n=m[2],r=f[2],d=$[2],g[2]):$window_width>c[3]?(s=p[3],n=m[3],r=f[3],d=$[3],g[3]):$window_width>c[4]?(s=p[4],n=m[4],r=f[4],d=$[4],g[4]):$window_width>c[5]?(s=p[5],n=m[5],r=f[5],d=$[5],g[5]):(s=p[6],n=m[6],r=f[6],d=$[6],g[6]);var i=n,a=r,o=d;$window_width<=c[0]&&(i=n/2,a=r/2,o=d/2),e.find(\".thumb\").css({width:Math.round(window[\"slider_graphic_width_\"+t][0]*s)+\"px\"}).css({height:Math.round(window[\"slider_graphic_height_\"+t][0]*s)+\"px\"}),e.find(\".mkd_slide-svg-holder svg\").css({width:Math.round(window[\"slider_svg_width_\"+t][0]*s)+\"px\"}).css({height:Math.round(window[\"slider_svg_height_\"+t][0]*s)+\"px\"}),e.find(\".mkd_slide_title\").css({\"font-size\":Math.round(window[\"slider_title_\"+t][0]*n)+\"px\"}),e.find(\".mkd_slide_title\").css({\"line-height\":Math.round(window[\"slider_title_\"+t][1]*n)+\"px\"}),e.find(\".mkd_slide_title\").css({\"letter-spacing\":Math.round(window[\"slider_title_\"+t][2]*i)+\"px\"}),e.find(\".mkd_slide_title\").css({\"margin-bottom\":Math.round(window[\"slider_title_\"+t][3]*n)+\"px\"}),e.find(\".mkd_slide_subtitle\").css({\"font-size\":Math.round(window[\"slider_subtitle_\"+t][0]*r)+\"px\"}),e.find(\".mkd_slide_subtitle\").css({\"line-height\":Math.round(window[\"slider_subtitle_\"+t][1]*r)+\"px\"}),e.find(\".mkd_slide_subtitle\").css({\"letter-spacing\":Math.round(window[\"slider_subtitle_\"+t][2]*a)+\"px\"}),e.find(\".mkd_slide_subtitle\").css({\"margin-bottom\":Math.round(window[\"slider_subtitle_\"+t][3]*r)+\"px\"}),e.find(\".mkd_slide_text\").css({\"font-size\":Math.round(window[\"slider_text_\"+t][0]*d)+\"px\"}),e.find(\".mkd_slide_text\").css({\"line-height\":Math.round(window[\"slider_text_\"+t][1]*d)+\"px\"}),e.find(\".mkd_slide_text\").css({\"letter-spacing\":Math.round(window[\"slider_text_\"+t][2]*o)+\"px\"}),e.find(\".separator_content\").css({\"font-size\":Math.round(window[\"slider_text_separator_\"+t][0]*d)+\"px\"}),e.find(\".separator_content\").css({\"line-height\":Math.round(window[\"slider_text_separator_\"+t][1]*d)+\"px\"}),e.find(\".separator_content\").css({\"letter-spacing\":Math.round(window[\"slider_text_separator_\"+t][2]*o)+\"px\"}),e.find(\".mkd_line_before\").css({width:Math.round(window[\"slider_text_separator_width_\"+t][0]*d)+\"px\"}),e.find(\".mkd_line_after\").css({width:Math.round(window[\"slider_text_separator_width_\"+t][0]*d)+\"px\"}),e.find(\".qbutton:eq(0)\").css({\"font-size\":Math.round(window[\"slider_button1_\"+t][0]*l)+\"px\"}),e.find(\".qbutton:eq(1)\").css({\"font-size\":Math.round(window[\"slider_button2_\"+t][0]*l)+\"px\"}),e.find(\".qbutton:eq(0)\").css({\"line-height\":Math.round(window[\"slider_button1_\"+t][1]*l)+\"px\"}),e.find(\".qbutton:eq(1)\").css({\"line-height\":Math.round(window[\"slider_button2_\"+t][1]*l)+\"px\"}),e.find(\".qbutton:eq(0)\").css({\"letter-spacing\":Math.round(window[\"slider_button1_\"+t][2]*l)+\"px\"}),e.find(\".qbutton:eq(1)\").css({\"letter-spacing\":Math.round(window[\"slider_button2_\"+t][2]*l)+\"px\"}),e.find(\".qbutton:eq(0)\").css({height:Math.round(window[\"slider_button1_\"+t][3]*l)+\"px\"}),e.find(\".qbutton:eq(1)\").css({height:Math.round(window[\"slider_button2_\"+t][3]*l)+\"px\"}),0!==window[\"slider_button1_\"+t][4]?e.find(\".qbutton:eq(0)\").css({width:Math.round(window[\"slider_button1_\"+t][4]*l)+\"px\"}):e.find(\".qbutton:eq(0)\").css({width:\"auto\"}),0!==window[\"slider_button2_\"+t][4]?e.find(\".qbutton:eq(1)\").css({width:Math.round(window[\"slider_button2_\"+t][4]*l)+\"px\"}):e.find(\".qbutton:eq(1)\").css({width:\"auto\"}),e.find(\".qbutton:eq(0)\").css({\"padding-left\":Math.round(window[\"slider_button1_\"+t][5]*l)+\"px\"}),e.find(\".qbutton:eq(1)\").css({\"padding-left\":Math.round(window[\"slider_button2_\"+t][5]*l)+\"px\"}),e.find(\".qbutton:eq(0)\").css({\"padding-right\":Math.round(window[\"slider_button1_\"+t][5]*l)+\"px\"}),e.find(\".qbutton:eq(1)\").css({\"padding-right\":Math.round(window[\"slider_button2_\"+t][5]*l)+\"px\"}),e.find(\".separator_top\").css({\"margin-top\":Math.round(window[\"slider_top_separator_\"+t][0]*n)+\"px\"}),e.find(\".separator_top\").css({\"margin-bottom\":Math.round(window[\"slider_top_separator_\"+t][1]*n)+\"px\"}),e.find(\".separator_bottom\").css({\"margin-top\":Math.round(window[\"slider_bottom_separator_\"+t][0]*n)+\"px\"}),e.find(\".separator_bottom\").css({\"margin-bottom\":Math.round(window[\"slider_bottom_separator_\"+t][1]*n)+\"px\"})}h.hasClass(\"full_screen\")?(h.css({height:$j(window).height()-e-i-a+\"px\"}),h.find(\".mkd_slider_preloader\").css({height:$j(window).height()-e-i-a+\"px\"}),h.find(\".mkd_slider_preloader .ajax_loader\").css({display:\"block\"}),h.find(\".item\").css({height:$j(window).height()-e-i-a+\"px\"}),$j(\".paspartu_outer:not(.disable_top_paspartu)\").length&&($j(\"body\").hasClass(\"paspartu_on_top_fixed\")||h.closest(\".mkd_slider\").css(\"padding-top\",Math.round(t+$window_width*paspartu_width))),$j(\".paspartu_outer.paspartu_on_bottom_slider\").length&&h.closest(\".mkd_slider\").css(\"padding-bottom\",Math.round($window_width*paspartu_width)),$j(window).resize(function(){e=$j(window).width()<1e3?$j(\"header.page_header\").height():0,t=1e3<$window_width&&!$j(\"header.page_header\").hasClass(\"transparent\")&&0===$j(\"body.paspartu_on_top_fixed\").length?$j(\"header.page_header\").height():0,i=0<$j(\".paspartu_outer:not(.disable_top_paspartu)\").length?Math.round($window_width*paspartu_width+t):0,a=0<$j(\".paspartu_outer.paspartu_on_bottom_slider\").length?Math.round($window_width*paspartu_width):0,h.css({height:$j(window).height()-e-i-a+\"px\"}),h.find(\".mkd_slider_preloader .ajax_loader\").css({display:\"block\"}),h.find(\".item\").css({height:$j(window).height()-e-i-a+\"px\"}),$j(\".paspartu_outer:not(.disable_top_paspartu)\").length&&($j(\"body\").hasClass(\"paspartu_on_top_fixed\")||h.closest(\".mkd_slider\").css(\"padding-top\",Math.round(t+$window_width*paspartu_width))),$j(\".paspartu_outer.paspartu_on_bottom_slider\").length&&h.closest(\".mkd_slider\").css(\"padding-bottom\",Math.round($window_width*paspartu_width)),h.find(\".item\").each(function(e){b($j(this),e)})})):h.hasClass(\"responsive_height\")?(o=h.data(\"height\"),h.find(\".mkd_slider_preloader\").css({height:h.height()-e-i-a+\"px\",display:\"block\"}),$j(\".paspartu_outer:not(.disable_top_paspartu)\").length&&($j(\"body\").hasClass(\"paspartu_on_top_fixed\")||h.closest(\".mkd_slider\").css(\"padding-top\",Math.round(t+$window_width*paspartu_width))),$j(\".paspartu_outer.paspartu_on_bottom_slider\").length&&h.closest(\".mkd_slider\").css(\"padding-bottom\",Math.round($window_width*paspartu_width)),j(h,o),$j(window).resize(function(){$j(\".paspartu_outer:not(.disable_top_paspartu)\").length&&(t=1e3<$window_width&&!$j(\"header.page_header\").hasClass(\"transparent\")?$j(\"header.page_header\").height():0,$j(\"body\").hasClass(\"paspartu_on_top_fixed\")||h.closest(\".mkd_slider\").css(\"padding-top\",Math.round(t+$window_width*paspartu_width))),$j(\".paspartu_outer.paspartu_on_bottom_slider\").length&&h.closest(\".mkd_slider\").css(\"padding-bottom\",Math.round($window_width*paspartu_width)),j(h,o),h.find(\".item\").each(function(e){b($j(this),e)})})):(o=h.data(\"height\"),h.find(\".mkd_slider_preloader\").css({height:h.height()-e+\"px\",display:\"block\"}),h.find(\".mkd_slider_preloader .ajax_loader\").css({display:\"block\"}),$j(\".paspartu_outer:not(.disable_top_paspartu)\").length&&($j(\"body\").hasClass(\"paspartu_on_top_fixed\")||h.closest(\".mkd_slider\").css(\"padding-top\",Math.round(t+$window_width*paspartu_width))),$j(\".paspartu_outer.paspartu_on_bottom_slider\").length&&h.closest(\".mkd_slider\").css(\"padding-bottom\",Math.round($window_width*paspartu_width)),h.find(\".item\").each(function(e){w($j(this),e),b($j(this),e)}),$window_width<1e3?j(h,o):v(o),$j(window).resize(function(){$j(\".paspartu_outer:not(.disable_top_paspartu)\").length&&(t=1e3<$window_width&&!$j(\"header.page_header\").hasClass(\"transparent\")?$j(\"header.page_header\").height():0,$j(\"body\").hasClass(\"paspartu_on_top_fixed\")||h.closest(\".mkd_slider\").css(\"padding-top\",Math.round(t+$window_width*paspartu_width))),$j(\".paspartu_outer.paspartu_on_bottom_slider\").length&&h.closest(\".mkd_slider\").css(\"padding-bottom\",Math.round($window_width*paspartu_width)),$window_width<1e3?(j(h,o),h.find(\".item\").each(function(e){b($j(this),e)})):(v(o),h.find(\".item\").each(function(e){var t,i;t=$j(this),i=e,t.find(\".thumb\").css({width:Math.round(window[\"slider_graphic_width_\"+i][0])+\"px\"}).css({height:Math.round(window[\"slider_graphic_height_\"+i][0])+\"px\"}),t.find(\".mkd_slide-svg-holder svg\").css({width:Math.round(window[\"slider_svg_width_\"+i][0])+\"px\"}).css({height:Math.round(window[\"slider_svg_height_\"+i][0])+\"px\"}),t.find(\".mkd_slide_title\").css({\"font-size\":Math.round(window[\"slider_title_\"+i][0])+\"px\"}),t.find(\".mkd_slide_title\").css({\"line-height\":Math.round(window[\"slider_title_\"+i][1])+\"px\"}),t.find(\".mkd_slide_title\").css({\"letter-spacing\":Math.round(window[\"slider_title_\"+i][2])+\"px\"}),t.find(\".mkd_slide_title\").css({\"margin-bottom\":Math.round(window[\"slider_title_\"+i][3])+\"px\"}),t.find(\".mkd_slide_subtitle\").css({\"font-size\":Math.round(window[\"slider_subtitle_\"+i][0])+\"px\"}),t.find(\".mkd_slide_subtitle\").css({\"line-height\":Math.round(window[\"slider_subtitle_\"+i][1])+\"px\"}),t.find(\".mkd_slide_subtitle\").css({\"letter-spacing\":Math.round(window[\"slider_subtitle_\"+i][2])+\"px\"}),t.find(\".mkd_slide_subtitle\").css({\"margin-bottom\":Math.round(window[\"slider_subtitle_\"+i][3])+\"px\"}),t.find(\".mkd_slide_text\").css({\"font-size\":Math.round(window[\"slider_text_\"+i][0])+\"px\"}),t.find(\".mkd_slide_text\").css({\"line-height\":Math.round(window[\"slider_text_\"+i][1])+\"px\"}),t.find(\".mkd_slide_text\").css({\"letter-spacing\":Math.round(window[\"slider_text_\"+i][2])+\"px\"}),t.find(\".qbutton:eq(0)\").css({\"font-size\":Math.round(window[\"slider_button1_\"+i][0])+\"px\"}),t.find(\".qbutton:eq(1)\").css({\"font-size\":Math.round(window[\"slider_button2_\"+i][0])+\"px\"}),t.find(\".qbutton:eq(0)\").css({\"line-height\":Math.round(window[\"slider_button1_\"+i][1])+\"px\"}),t.find(\".qbutton:eq(1)\").css({\"line-height\":Math.round(window[\"slider_button2_\"+i][1])+\"px\"}),t.find(\".qbutton:eq(0)\").css({\"letter-spacing\":Math.round(window[\"slider_button1_\"+i][2])+\"px\"}),t.find(\".qbutton:eq(1)\").css({\"letter-spacing\":Math.round(window[\"slider_button2_\"+i][2])+\"px\"}),t.find(\".qbutton:eq(0)\").css({height:Math.round(window[\"slider_button1_\"+i][3])+\"px\"}),t.find(\".qbutton:eq(1)\").css({height:Math.round(window[\"slider_button2_\"+i][3])+\"px\"}),0!==window[\"slider_button1_\"+i][4]?t.find(\".qbutton:eq(0)\").css({width:Math.round(window[\"slider_button1_\"+i][4])+\"px\"}):t.find(\".qbutton:eq(0)\").css({width:\"auto\"}),0!==window[\"slider_button2_\"+i][4]?t.find(\".qbutton:eq(1)\").css({width:Math.round(window[\"slider_button2_\"+i][4])+\"px\"}):t.find(\".qbutton:eq(1)\").css({width:\"auto\"}),t.find(\".qbutton:eq(0)\").css({\"padding-left\":Math.round(window[\"slider_button1_\"+i][5])+\"px\"}),t.find(\".qbutton:eq(1)\").css({\"padding-left\":Math.round(window[\"slider_button2_\"+i][5])+\"px\"}),t.find(\".qbutton:eq(0)\").css({\"padding-right\":Math.round(window[\"slider_button1_\"+i][5])+\"px\"}),t.find(\".qbutton:eq(1)\").css({\"padding-right\":Math.round(window[\"slider_button2_\"+i][5])+\"px\"}),t.find(\".separator_top\").css({\"margin-top\":Math.round(window[\"slider_top_separator_\"+i][0])+\"px\"}),t.find(\".separator_top\").css({\"margin-bottom\":Math.round(window[\"slider_top_separator_\"+i][1])+\"px\"}),t.find(\".separator_bottom\").css({\"margin-top\":Math.round(window[\"slider_bottom_separator_\"+i][0])+\"px\"}),t.find(\".separator_bottom\").css({\"margin-bottom\":Math.round(window[\"slider_bottom_separator_\"+i][1])+\"px\"})}))})),$j(\"body:not(.boxed):not(.vertical_menu_transparency):not(.vertical_menu_background_opacity):not(.vertical_menu_hidden):not(.page-template-landing_page-php)\").hasClass(\"vertical_menu_enabled\")&&1e3<$window_width&&(u=290,$j(\".vertical_menu_width_350\").length&&(u=350),$j(\".vertical_menu_width_400\").length&&(u=400),_=$j(\"body\").hasClass(\"paspartu_enabled\")?2*Math.round($window_width*paspartu_width):0,h.find(\".carousel-inner\").width($window_width-u-_),$j(window).resize(function(){1e3<$j(window).width()?(_=$j(\"body\").hasClass(\"paspartu_enabled\")?2*Math.round($window_width*paspartu_width):0,h.find(\".carousel-inner\").width($window_width-u-_)):h.find(\".carousel-inner\").css(\"width\",\"100%\")})),$j(\"body:not(.boxed):not(.vertical_menu_transparency):not(.vertical_menu_background_opacity):not(.page-template-landing_page-php)\").hasClass(\"vertical_menu_hidden\")&&1e3<$window_width&&(_=$j(\"body\").hasClass(\"paspartu_enabled\")?2*Math.round($window_width*paspartu_width):0,h.find(\".carousel-inner\").width($window_width-40-_),$j(window).resize(function(){1e3<$j(window).width()?(_=$j(\"body\").hasClass(\"paspartu_enabled\")?2*Math.round($window_width*paspartu_width):0,h.find(\".carousel-inner\").width($window_width-40-_)):h.find(\".carousel-inner\").css(\"width\",\"100%\")})),$j(window).scroll(function(){h.hasClass(\"full_screen\")&&$window_height<$scroll&&1e3<$window_width||!h.hasClass(\"full_screen\")&&$scroll>h.height()&&1e3<$window_width?h.find(\".carousel-inner, .carousel-indicators, button\").hide():h.find(\".carousel-inner, .carousel-indicators, button\").show()});var k=h.data(\"slide_animation\");\"\"===k&&(k=6e3);var C,y=$j(\"div.item\").length;function x(e,t){1===e?(h.find(\".left.carousel-control .prev\").html(t),h.find(\".right.carousel-control .next\").html(e+1)):e===t?(h.find(\".left.carousel-control .prev\").html(e-1),h.find(\".right.carousel-control .next\").html(1)):(h.find(\".left.carousel-control .prev\").html(e-1),h.find(\".right.carousel-control .next\").html(e+1))}function M(){h.find(\".carousel-inner .item:first-child\").addClass(\"active\"),checkSliderForHeaderStyle($j(\".carousel .active\"),h.hasClass(\"header_effect\")),h.hasClass(\"slider_numbers\")&&x(1,y),h.hasClass(\"slider_thumbs\")&&(x(1,y),h.find(\".active\").next(\"div\").find(\".image\").length?(src=T.exec(h.find(\".active\").next(\"div\").find(\".image\").attr(\"style\")),(next_image=new Image).src=src[1]):((next_image=h.find(\".active\").next(\"div\").find(\"> .video\").clone()).find(\".video-overlay\").remove(),next_image.find(\".video-wrap\").width(170).height(95),next_image.find(\".mejs-container\").width(170).height(95),next_image.find(\"video\").width(170).height(95)),h.find(\".right.carousel-control .img\").html(next_image).find(\"img, div.video\").addClass(\"old\"),h.find(\".carousel-inner .item:last-child .image\").length?(src=T.exec(h.find(\".carousel-inner .item:last-child .image\").attr(\"style\")),(prev_image=new Image).src=src[1]):((prev_image=h.find(\".carousel-inner .item:last-child > .video\").clone()).find(\".video-overlay\").remove(),prev_image.find(\".video-wrap\").width(170).height(95),prev_image.find(\".mejs-container\").width(170).height(95),prev_image.find(\"video\").width(170).height(95)),h.find(\".left.carousel-control .img\").html(prev_image).find(\"img, div.video\").addClass(\"old\")),h.hasClass(\"mkd_auto_start\")?(h.carousel({interval:k,pause:!1}),h.find(\".slide_buttons_holder .qbutton\").mouseenter(function(){h.carousel(\"pause\")}).mouseleave(function(){h.carousel(\"cycle\")})):h.carousel({interval:0,pause:!1}),h.find(\".item video\").length&&initVideoBackgroundSize(),(h.hasClass(\"responsive_height\")||h.hasClass(\"full_screen\"))&&h.find(\".item\").each(function(e){w($j(this),e),b($j(this),e)}),$j(\".carousel-inner .item:first-child\").hasClass(\"animate_image\")&&1e3<$window_width&&h.find(\".carousel-inner .item.animate_image:first-child .image\").transformAnimate({transform:\"matrix(\"+S[$j(\".carousel-inner .item:first-child\").data(\"animate_image\")]+\")\",duration:3e4}),$j(\".slider_content_outer.content_bottom_left, .slider_content_outer.content_bottom_right\").each(function(){var e,t,i;void 0!==$j(this).find(\".slider_content\").data(\"resize\")&&(e=$j(this).find(\".slider_content\"),t=e.width(),i=e.data(\"resize\"),$j(window).width()<1350&&1e3<$j(window).width()?e.css({width:i+\"px\"}):e.css({width:t+\"px\"}),$j(window).resize(function(){$j(window).width()<1350&&1e3<$j(window).width()?e.css({width:i+\"px\"}):e.css({width:t+\"px\"})}))})}$j(\"html\").hasClass(\"touch\")?0<h.find(\".item:first-child .mobile-video-image\").length?(src=T.exec(h.find(\".item:first-child .mobile-video-image\").attr(\"style\")))&&((C=new Image).src=src[1],$j(C).on(\"load\",function(){$j(\".mkd_slider_preloader\").fadeOut(500),M()})):(src=T.exec(h.find(\".item:first-child .image\").attr(\"style\")))&&((C=new Image).src=src[1],$j(C).on(\"load\",function(){$j(\".mkd_slider_preloader\").fadeOut(500),M()})):0<h.find(\".item:first-child video\").length?h.find(\".item:first-child video\").get(0).addEventListener(\"loadeddata\",function(){$j(\".mkd_slider_preloader\").fadeOut(500),M()}):(src=T.exec(h.find(\".item:first-child .image\").attr(\"style\")))&&((C=new Image).src=src[1],$j(C).on(\"load\",function(){$j(\".mkd_slider_preloader\").fadeOut(500),M()})),h.on(\"slide.bs.carousel\",function(){h.addClass(\"in_progress\"),h.find(\".active .slider_content_outer\").fadeTo(250,0)}),h.on(\"slid.bs.carousel\",function(){h.removeClass(\"in_progress\"),h.find(\".active .slider_content_outer\").fadeTo(0,1),h.hasClass(\"slider_numbers\")&&x($j(\"div.item\").index($j(\"div.item.active\")[0])+1,y),$j(\"div.item.animate_image .image\").stop().css({transform:\"\",\"-webkit-transform\":\"\"}),$j(\"div.item.active\").hasClass(\"animate_image\")&&1e3<$window_width&&$j(\"div.item.animate_image.active .image\").transformAnimate({transform:\"matrix(\"+S[$j(\"div.item.animate_image.active\").data(\"animate_image\")]+\")\",duration:3e4}),h.hasClass(\"slider_thumbs\")&&(x($j(\"div.item\").index($j(\"div.item.active\")[0])+1,y),h.find(\".active\").prev(\"div.item\").length?h.find(\".active\").prev(\"div\").find(\".image\").length?(src=T.exec(h.find(\".active\").prev(\"div\").find(\".image\").attr(\"style\")),(prev_image=new Image).src=src[1]):((prev_image=h.find(\".active\").prev(\"div\").find(\"> .video\").clone()).find(\".video-overlay\").remove(),prev_image.find(\".video-wrap\").width(170).height(95),prev_image.find(\".mejs-container\").width(170).height(95),prev_image.find(\"video\").width(170).height(95)):h.find(\".carousel-inner .item:last-child .image\").length?(src=T.exec(h.find(\".carousel-inner .item:last-child .image\").attr(\"style\")),(prev_image=new Image).src=src[1]):((prev_image=h.find(\".carousel-inner .item:last-child > .video\").clone()).find(\".video-overlay\").remove(),prev_image.find(\".video-wrap\").width(170).height(95),prev_image.find(\".mejs-container\").width(170).height(95),prev_image.find(\"video\").width(170).height(95)),h.find(\".left.carousel-control .img .old\").fadeOut(300,function(){$j(this).remove()}),h.find(\".left.carousel-control .img\").append(prev_image).find(\"img, div.video\").fadeIn(300).addClass(\"old\"),h.find(\".active\").next(\"div.item\").length?h.find(\".active\").next(\"div\").find(\".image\").length?(src=T.exec(h.find(\".active\").next(\"div\").find(\".image\").attr(\"style\")),(next_image=new Image).src=src[1]):((next_image=h.find(\".active\").next(\"div\").find(\"> .video\").clone()).find(\".video-overlay\").remove(),next_image.find(\".video-wrap\").width(170).height(95),next_image.find(\".mejs-container\").width(170).height(95),next_image.find(\"video\").width(170).height(95)):h.find(\".carousel-inner .item:first-child .image\").length?(src=T.exec(h.find(\".carousel-inner .item:first-child .image\").attr(\"style\")),(next_image=new Image).src=src[1]):((next_image=h.find(\".carousel-inner .item:first-child > .video\").clone()).find(\".video-overlay\").remove(),next_image.find(\".video-wrap\").width(170).height(95),next_image.find(\".mejs-container\").width(170).height(95),next_image.find(\"video\").width(170).height(95)),h.find(\".right.carousel-control .img .old\").fadeOut(300,function(){$j(this).remove()}),h.find(\".right.carousel-control .img\").append(next_image).find(\"img, div.video\").fadeIn(300).addClass(\"old\"))}),h.swipe({swipeLeft:function(e,t,i,a,o){h.carousel(\"next\")},swipeRight:function(e,t,i,a,o){h.carousel(\"prev\")},threshold:20})}),$j(\".no-touch .carousel\").length&&(skrollr_slider=skrollr.init({smoothScrolling:!1,forceHeight:!1})).refresh())}function checkSliderForHeaderStyle(e,t){\"use strict\";var i;0<$j(\".mkd_slider .carousel\").not(\".disable_slider_header_style_changing\").length&&(i=\"\",e.hasClass(\"light\")&&(i=\"light\"),e.hasClass(\"dark\")&&(i=\"dark\"),\"\"!==i?(t&&($j(\"header.page_header\").removeClass(\"dark light\").addClass(i),$j(\"aside.vertical_menu_area\").removeClass(\"dark light\").addClass(i)),$j(\".carousel .carousel-control, .carousel .carousel-indicators\").removeClass(\"dark light\").addClass(i)):(t&&($j(\"header.page_header\").removeClass(\"dark light\").addClass(default_header_style),$j(\"aside.vertical_menu_area\").removeClass(\"dark light\").addClass(default_header_style)),$j(\".carousel .carousel-control, .carousel .carousel-indicators\").removeClass(\"dark light\").addClass(default_header_style)))}function calculateHeights(){\"use strict\";$j(\".portfolio_slides\").length&&$j(\".portfolio_slides\").each(function(){$j(this).parents(\".caroufredsel_wrapper\").css({height:$j(this).find(\"li.item\").outerHeight()-3+\"px\"})}),$j(\".mkd_carousels .slides\").length&&$j(\".mkd_carousels .slides\").each(function(){$j(this).parents(\".caroufredsel_wrapper\").css({height:$j(this).find(\"li.item\").outerHeight()+\"px\"})}),$j(\".blog_slides\").length&&$j(\".blog_slides\").each(function(){$j(this).parents(\".caroufredsel_wrapper\").css({height:$j(this).find(\"li.item\").outerHeight()-3+\"px\"})}),$j(\".product_slider .products\").length&&$j(\".product_slider .products\").each(function(){$j(this).parents(\".caroufredsel_wrapper\").css({height:$j(this).find(\"li\").outerHeight()-3+\"px\"})})}function responsiveNumberSlidesCarousel(e,t){\"use strict\";var i=window.innerWidth;return 1200<=i?e:i<1200&&1e3<=i?5===parseInt(t)?4:e:i<1e3&&800<=i?3:i<800&&500<=i?2:i<500?1:void 0}function initMikadoCarousel(){\"use strict\";$j(\".mkd_carousels\").length&&($j(\".mkd_carousels\").each(function(){var e,t,i=1!==$j(this).parents(\".grid_section\").length&&1===$j(this).parents(\".page-template-full_width\").length,a=void 0!==$j(this).data(\"number_of_items\")?(e=$j(this).data(\"number_of_items\"),!0):!(e=5),o=1===$j(this).parents(\".grid_section\").length?216:380,s=e;if(i)switch(e){case 3:t=660;break;case 4:t=500;break;case 5:default:t=380}else switch(e){case 3:t=380;break;case 4:t=275;break;case 5:t=216;break;default:t=380}o=a?t:o;$j(this).find(\".slides\").carouFredSel({circular:!0,responsive:!0,scroll:{items:1,duration:1e3,pauseOnHover:!1},prev:{button:function(){return $j(this).parent().siblings(\".caroufredsel-direction-nav\").find(\".mkd_carousel_prev\")}},next:{button:function(){return $j(this).parent().siblings(\".caroufredsel-direction-nav\").find(\".mkd_carousel_next\")}},items:{width:o,visible:{min:responsiveNumberSlidesCarousel(s,e),max:s}},auto:!0,mousewheel:!1,swipe:{onMouse:!0,onTouch:!0}}).animate({opacity:1},1e3)}),calculateHeights())}function initPortfolioSlider(){\"use strict\";$j(\".portfolio_slider\").length&&($j(\".portfolio_slider\").each(function(){var e,t=void 0!==$j(this).data(\"portfolios_shown\")?$j(this).data(\"portfolios_shown\"):\"auto\",i=1===$j(this).parents(\".grid_section\").length?3:t;switch(t){case 3:e=667;break;case 4:e=500;break;case 5:e=400;break;case 6:e=334;break;default:e=500}var a=1===$j(this).parents(\".grid_section\").length?353:e;$j(this).find(\".portfolio_slides\").carouFredSel({circular:!0,responsive:!0,scroll:1,prev:{button:function(){return $j(this).parent().siblings(\".caroufredsel-direction-nav\").find(\".caroufredsel-prev\")}},next:{button:function(){return $j(this).parent().siblings(\".caroufredsel-direction-nav\").find(\".caroufredsel-next\")}},items:{width:a,visible:{min:1,max:i}},auto:!1,mousewheel:!1,swipe:{onMouse:!0,onTouch:!0}}).animate({opacity:1},1e3)}),calculateHeights(),$j(\".portfolio_slider .flex-direction-nav a\").on(\"click\",function(e){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()}))}function initProductSlider(){\"use strict\";$j(\".product_slider\").length&&($j(\".product_slider\").each(function(){var e,t=void 0!==$j(this).data(\"products_shown\")?$j(this).data(\"products_shown\"):\"auto\",i=1===$j(this).parents(\".grid_section\").length?3:t;switch(t){case 3:e=667;break;case 4:e=500;break;case 5:e=400;break;case 6:e=334;break;default:e=500}var a=1===$j(this).parents(\".grid_section\").length?353:e;$j(this).find(\"ul.products\").carouFredSel({circular:!0,responsive:!0,scroll:1,prev:{button:function(){return $j(this).parent().parent().siblings(\".caroufredsel-direction-nav\").find(\".caroufredsel-prev\")}},next:{button:function(){return $j(this).parent().parent().siblings(\".caroufredsel-direction-nav\").find(\".caroufredsel-next\")}},pagination:function(){return $j(this).parent().parent().siblings(\".product_slider_pager\")},items:{width:a,visible:{min:1,max:i}},auto:!1,mousewheel:!1,swipe:{onMouse:!0,onTouch:!0}}).animate({opacity:1},1e3)}),calculateHeights(),$j(\".product_slider .flex-direction-nav a\").on(\"click\",function(e){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()}))}function responsiveNumberSlides(e){\"use strict\";var t=window.innerWidth;return 1200<t?e:t<1200&&800<=t?3:t<800&&500<t?2:t<=500?1:void 0}function initBlogSlider(){\"use strict\";$j(\".blog_slider\").length&&($j(\".blog_slider\").each(function(){var e,t=void 0!==$j(this).data(\"blogs_shown\")?$j(this).data(\"blogs_shown\"):\"auto\",i=1===$j(this).parents(\".grid_section\").length?3:t;switch(t){case 3:e=667;break;case 4:e=500;break;case 5:e=400;break;case 6:e=334;break;default:e=500}var a=1===$j(this).parents(\".grid_section\").length?353:e;$j(this).find(\".blog_slides\").carouFredSel({circular:!0,responsive:!0,scroll:1,prev:{button:function(){return $j(this).parent().siblings(\".caroufredsel-direction-nav\").find(\".caroufredsel-prev\")}},next:{button:function(){return $j(this).parent().siblings(\".caroufredsel-direction-nav\").find(\".caroufredsel-next\")}},pagination:function(){return $j(this).parent().siblings(\".blog_slider_pager\")},items:{width:a,visible:{min:responsiveNumberSlides(i),max:i}},auto:!1,mousewheel:!1,swipe:{onMouse:!0,onTouch:!0}}).animate({opacity:1},1e3)}),calculateHeights(),$j(\".blog_slider .flex-direction-nav a\").on(\"click\",function(e){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()}))}function initSideMenu(){\"use strict\";$j(\"body\").hasClass(\"side_menu_slide_with_content\")&&$j(\".side_menu_button_wrapper a.side_menu_button_link, a.close_side_menu\").on(\"click\",function(e){e.preventDefault(),$j(\".side_menu_button_wrapper a.side_menu_button_link\").hasClass(\"opened\")?($j(\"body\").removeClass(\"side_menu_open\"),$j(\".side_menu_button_wrapper a.side_menu_button_link\").removeClass(\"opened\"),$j(\"body\").removeClass(\"side_menu_open\")):($j(this).addClass(\"opened\"),$j(\"body\").addClass(\"side_menu_open\"),current_scroll=$j(window).scrollTop(),$j(window).scroll(function(){400<Math.abs($scroll-current_scroll)&&($j(\"body\").removeClass(\"side_menu_open\"),$j(\".side_menu_button_wrapper a\").removeClass(\"opened\"))})),e.stopPropagation(),$j(\".wrapper\").on(\"click\",function(){e.preventDefault(),$j(\"body\").removeClass(\"side_menu_open\"),$j(\".side_menu_button_wrapper a.side_menu_button_link\").removeClass(\"opened\"),$j(\"body\").removeClass(\"side_menu_open\")})}),$j(\"body\").hasClass(\"side_menu_slide_from_right\")&&($j(\".wrapper\").prepend(\'<div class=\"cover\"/>\'),$j(\".side_menu_button_wrapper a.side_menu_button_link, a.close_side_menu\").on(\"click\",function(e){e.preventDefault(),$j(\".side_menu_button_wrapper a.side_menu_button_link\").hasClass(\"opened\")?($j(\".side_menu_button_wrapper a.side_menu_button_link\").removeClass(\"opened\"),$j(\"body\").removeClass(\"right_side_menu_opened\")):($j(this).addClass(\"opened\"),$j(\"body\").addClass(\"right_side_menu_opened\"),$j(\" .wrapper .cover\").on(\"click\",function(){$j(\".side_menu_button_wrapper a.side_menu_button_link\").removeClass(\"opened\"),$j(\"body\").removeClass(\"right_side_menu_opened\"),$j(\".side_menu_button_wrapper a\").removeClass(\"opened\")}),current_scroll=$j(window).scrollTop(),$j(window).scroll(function(){400<Math.abs($scroll-current_scroll)&&($j(\"body\").removeClass(\"right_side_menu_opened\"),$j(\".side_menu_button_wrapper a\").removeClass(\"opened\"))}))})),$j(\"body\").hasClass(\"side_area_uncovered_from_content\")&&$j(\".side_menu_button_wrapper a.side_menu_button_link,  a.close_side_menu\").on(\"click\",function(e){var t;e.preventDefault(),$j(\".side_menu_button_wrapper a.side_menu_button_link\").hasClass(\"opened\")?($j(\".side_menu_button_wrapper a.side_menu_button_link\").removeClass(\"opened\"),$j(\"body\").removeClass(\"right_side_menu_opened\"),t=setTimeout(function(){$j(\".side_menu\").css({visibility:\"hidden\"}),clearTimeout(t)},400)):($j(\".side_menu\").css({visibility:\"visible\"}),$j(this).addClass(\"opened\"),$j(\"body\").addClass(\"right_side_menu_opened\"),current_scroll=$j(window).scrollTop(),$j(window).scroll(function(){var e;400<Math.abs($scroll-current_scroll)&&($j(\"body\").removeClass(\"right_side_menu_opened\"),$j(\".side_menu_button_wrapper a\").removeClass(\"opened\"),e=setTimeout(function(){$j(\".side_menu\").css({visibility:\"hidden\"}),clearTimeout(e)},400))}))})}function setDropDownMenuPosition(){\"use strict\";var n=$j(\".drop_down > ul > li.narrow\");n.each(function(e){var t,i=$j(window).width()-16,a=$j(n[e]).offset().left,o=$j(n[e]).find(\".second .inner ul\").width(),s=0,s=$j(\"body\").hasClass(\"boxed\")?1150-(a-(i-1150)/2)+24:i-a+24;0<$j(n[e]).find(\"li.sub\").length&&(t=s-o),(s<o||t<o)&&($j(n[e]).find(\".second\").addClass(\"right\"),$j(n[e]).find(\".second .inner ul\").addClass(\"right\"))})}function initDropDownMenu(){\"use strict\";var _=$j(\".drop_down > ul > li\");_.each(function(e){var t,i,a,o,s,n,r,d,l,h,c;0<$j(_[e]).find(\".second\").length&&($j(_[e]).hasClass(\"wide\")&&(t=$j(this).find(\".inner > ul\"),i=parseInt(t.css(\"padding-left\").slice(0,-2))+parseInt(t.css(\"padding-right\").slice(0,-2)),$j(this).hasClass(\"left_position\")||$j(this).hasClass(\"right_position\")||$j(this).find(\".second\").css(\"left\",0),a=0,$j(this).find(\".second > .inner > ul > li\").each(function(){$j(this).waitForImages(function(){var e=$j(this).height();a<e&&(a=e)})}),$j(this).find(\".second > .inner > ul > li\").height(a),o=4<$j(this).find(\".second > .inner > ul > li\").length?4:$j(this).find(\".second > .inner > ul > li\").length,!$j(\"body\").hasClass(\"header_general_padding\")||$j(this).hasClass(\"left_position\")||$j(this).hasClass(\"right_position\")?(n=o*$j(this).find(\".second > .inner > ul > li\").outerWidth(),$j(this).find(\".second > .inner > ul\").width(n),$j(this).hasClass(\"wide_background\")?$j(this).hasClass(\"left_position\")||$j(this).hasClass(\"right_position\")||(s=$j(this).offset().left,$j(this).find(\".second\").css(\"left\",-s),$j(this).find(\".second\").css(\"width\",$j(window).width())):$j(this).hasClass(\"left_position\")||$j(this).hasClass(\"right_position\")||(s=($j(window).width()-2*($j(window).width()-$j(this).find(\".second\").offset().left))/2+(n+i)/2,$j(this).find(\".second\").css(\"left\",-s))):(d=(r=$j(this).parents(\".header_bottom > .container > .container_inner\").width())/o,l=$j(this).parents(\".header_bottom > .container > .container_inner\").offset().left,h=-($j(this).offset().left-l),$j(this).find(\".second > .inner > ul > li\").css(\"box-sizing\",\"border-box\"),$j(this).find(\".second > .inner > ul\").width(r),$j(this).find(\".second > .inner > ul > li\").outerWidth(d),$j(this).find(\".second\").css(\"left\",h))),menu_dropdown_height_set||($j(_[e]).data(\"original_height\",$j(_[e]).find(\".second\").height()+\"px\"),$j(_[e]).find(\".second\").height(0)),navigator.userAgent.match(/(iPod|iPhone|iPad)/)?$j(_[e]).on(\"touchstart mouseenter\",function(){$j(_[e]).find(\".second\").css({height:$j(_[e]).data(\"original_height\"),overflow:\"visible\",visibility:\"visible\",opacity:\"1\"})}).on(\"mouseleave\",function(){$j(_[e]).find(\".second\").css({height:\"0px\",overflow:\"hidden\",visibility:\"hidden\",opacity:\"0\"})}):$j(\".drop_down.animate_height \").length?$j(_[e]).mouseenter(function(){$j(_[e]).find(\".second\").css({visibility:\"visible\",height:\"0px\",opacity:\"0\",display:\"block\"}),$j(_[e]).find(\".second\").stop().animate({height:$j(_[e]).data(\"original_height\"),opacity:1},200,function(){$j(_[e]).find(\".second\").css(\"overflow\",\"visible\")})}).mouseleave(function(){$j(_[e]).find(\".second\").stop().animate({height:\"0px\"},0,function(){$j(_[e]).find(\".second\").css({overflow:\"hidden\",visivility:\"hidden\",display:\"none\"})})}):(c={interval:0,over:function(){setTimeout(function(){$j(_[e]).find(\".second\").addClass(\"drop_down_start\"),$j(_[e]).find(\".second\").stop().css({height:$j(_[e]).data(\"original_height\")})},150)},timeout:150,out:function(){$j(_[e]).find(\".second\").stop().css({height:\"0px\"}),$j(_[e]).find(\".second\").removeClass(\"drop_down_start\")}},$j(_[e]).hoverIntent(c)))}),$j(\".drop_down ul li.wide ul li a\").on(\"click\",function(){var e=$j(this);setTimeout(function(){e.mouseleave()},500)}),menu_dropdown_height_set=!0}function initVerticalMenu(){\"use strict\";var t,o,i,s,n;$j(\".no-touch .vertical_menu\").hasClass(\"click\")?(s=$j(\".no-touch .vertical_menu_toggle > ul > li > a\"),n=$j(\".no-touch .vertical_menu_toggle ul li ul li a\"),s.each(function(e){$j(s[e]).parent().hasClass(\"has_sub\")&&$j(s[e]).on(\"click\",function(e){return e.preventDefault(),$j(this).parent().hasClass(\"open\")||$j(this).parent().hasClass(\"current-menu-ancestor\")?($j(this).parent().removeClass(\"open\"),$j(this).parent().find(\".second\").slideUp(\"fast\",function(){$j(this).parent().removeClass(\"current-menu-ancestor\"),$j(\".vertical_menu_area.with_scroll\").getNiceScroll().resize()})):($j(\".no-touch .vertical_menu_toggle > ul > li\").removeClass(\"open current-menu-ancestor\"),$j(\".no-touch .vertical_menu_toggle > ul > li\").find(\".second\").slideUp(\"fast\"),$j(this).parent().addClass(\"open\"),$j(this).parent().find(\".second\").slideDown(\"slow\",function(){$j(\".vertical_menu_area.with_scroll\").getNiceScroll().resize()})),!1})}),n.each(function(e){$j(n[e]).parent().hasClass(\"menu-item-has-children\")&&$j(n[e]).on(\"click\",function(e){return e.preventDefault(),$j(this).parent().hasClass(\"open\")||$j(this).parent().hasClass(\"current_page_parent\")?($j(this).parent().removeClass(\"open\"),$j(this).parent().find(\"ul\").slideUp(\"fast\",function(){$j(this).parent().removeClass(\"current_page_parent\"),$j(\".vertical_menu_area.with_scroll\").getNiceScroll().resize()})):($j(\".no-touch .vertical_menu_toggle ul li ul li\").removeClass(\"open current_page_parent\"),$j(\".no-touch .vertical_menu_toggle ul li ul li\").find(\"ul\").slideUp(\"fast\"),$j(this).parent().addClass(\"open\"),$j(this).parent().find(\"ul\").slideDown(\"slow\",function(){$j(\".vertical_menu_area.with_scroll\").getNiceScroll().resize()})),!1})})):$j(\".vertical_menu\").hasClass(\"vertical_menu_side\")?(i=$j(\"body\").hasClass(\"vertical_menu_right\")?(o={right:\"0%\"},{right:\"-150%\"}):(o={left:\"0%\"},{left:\"-150%\"}),s=$j(\".vertical_menu_side > ul > li > a\"),n=$j(\".vertical_menu_side ul li ul li a\"),s.each(function(e){var t,i,a;$j(s[e]).parent().hasClass(\"has_sub\")&&(t=$j(this).attr(\"href\"),i=$j(this).text(),a=$j(\"<li />\",{class:\"prev_level\"}),$j(\"<a />\",{href:t,html:\'<i class=\"mkd_menu_arrow fa fa-angle-left\"></i>\'+i}).appendTo(a),$j(this).parent().find(\".second > div > ul\").prepend(a),$j(s[e]).on(\"click\",function(e){return e.preventDefault(),$j(\".vertical_menu_side > ul > li\").removeClass(\"open current-menu-ancestor\"),$j(this).parent().addClass(\"open\"),$j(this).parent().hasClass(\"prev_level\")||$j(this).parent().find(\".second\").css(\"display\",\"block\").animate(o,500,function(){$j(\".vertical_menu_area.with_scroll\").getNiceScroll().resize()}),!1}))}),$j(\".vertical_menu_side ul li ul > li.prev_level > a\").on(\"click\",function(e){return e.preventDefault(),$j(this).closest(\".second\").animate(i,500,function(){$j(this).css(\"display\",\"none\"),$j(\".vertical_menu_area.with_scroll\").getNiceScroll().resize()}),!1}),n.each(function(e){var t,i,a;$j(n[e]).parent().hasClass(\"menu-item-has-children\")&&(t=$j(this).attr(\"href\"),i=$j(this).text(),a=$j(\"<li />\",{class:\"prev_level\"}),$j(\"<a />\",{href:t,html:\'<i class=\"mkd_menu_arrow fa fa-angle-left\"></i>\'+i}).appendTo(a),$j(this).next(\"ul\").prepend(a),$j(n[e]).on(\"click\",function(e){return e.preventDefault(),$j(\".vertical_menu_toggle ul li ul li\").removeClass(\"open current_page_parent\"),$j(this).parent().addClass(\"open\"),$j(this).parent().hasClass(\"prev_level\")||$j(this).next(\"ul\").css(\"display\",\"block\").animate(o,500,function(){$j(\".vertical_menu_area.with_scroll\").getNiceScroll().resize()}),!1}))}),$j(\".vertical_menu_side ul li ul li ul li.prev_level a\").on(\"click\",function(e){return e.preventDefault(),$j(this).closest(\"ul\").animate(i,500,function(){$j(this).css(\"display\",\"none\"),$j(\".vertical_menu_area.with_scroll\").getNiceScroll().resize()}),!1})):$j(\".vertical_menu\").hasClass(\"vertical_menu_to_content\")?(s=$j(\".no-touch .vertical_menu_to_content > ul > li\"),n=$j(\".no-touch .vertical_menu_to_content ul li ul li\"),s.each(function(e){$j(s[e]).hasClass(\"has_sub\")&&(t=$j(s[e]).find(\".inner > ul > li\").length,$j(s[e]).hoverIntent({over:function(){$j(s[e]).addClass(\"open\"),$j(s[e]).find(\".second\").addClass(\"vertical_menu_start\")},out:function(){$j(s[e]).removeClass(\"open\"),$j(s[e]).find(\".second\").removeClass(\"vertical_menu_start\")},timeout:300}))}),n.each(function(e){$j(n[e]).hasClass(\"menu-item-has-children\")&&(t=$j(n[e]).find(\"ul > li\").length,$j(n[e]).hoverIntent({over:function(){$j(n[e]).addClass(\"open\"),$j(n[e]).find(\"ul\").addClass(\"vertical_submenu_start\")},out:function(){$j(n[e]).removeClass(\"open\"),$j(n[e]).find(\"ul\").removeClass(\"vertical_submenu_start\")},timeout:300}))})):(s=$j(\".no-touch .vertical_menu_toggle > ul > li\"),n=$j(\".no-touch .vertical_menu_toggle ul li ul li\"),s.each(function(e){$j(s[e]).hasClass(\"has_sub\")&&(t=$j(s[e]).find(\".inner > ul > li\").length,$j(s[e]).hoverIntent({over:function(){$j(s[e]).addClass(\"open\"),$j(s[e]).find(\".second\").slideDown(40*t,\"easeInOutSine\",function(){$j(\".vertical_menu_area.with_scroll\").getNiceScroll().resize()})},out:function(){$j(s[e]).removeClass(\"open\"),$j(s[e]).find(\".second\").slideUp(40*t,\"easeInOutSine\")},timeout:1e3}))}),n.each(function(e){$j(n[e]).hasClass(\"menu-item-has-children\")&&(t=$j(n[e]).find(\"ul > li\").length,$j(n[e]).hoverIntent({over:function(){$j(n[e]).addClass(\"open\"),$j(n[e]).find(\"ul\").slideDown(40*t,\"easeInOutSine\",function(){$j(\".vertical_menu_area.with_scroll\").getNiceScroll().resize()})},out:function(){$j(n[e]).removeClass(\"open\"),$j(n[e]).find(\"ul\").slideUp(40*t,\"easeInOutSine\")},timeout:1e3}))}))}function initVerticalMobileMenu(){\"use strict\";var t,i;$j(\".touch .vertical_menu\").hasClass(\"vertical_menu_to_content\")?(t=$j(\".touch .vertical_menu_to_content > ul > li\"),i=$j(\".touch .vertical_menu_to_content ul li ul li\"),t.each(function(e){$j(t[e]).hasClass(\"has_sub\")&&($j(t[e]).find(\".inner > ul > li\").length,$j(t[e]).hoverIntent({over:function(){$j(t[e]).addClass(\"open\"),$j(t[e]).find(\".second\").addClass(\"vertical_menu_start\")},out:function(){$j(t[e]).removeClass(\"open\"),$j(t[e]).find(\".second\").removeClass(\"vertical_menu_start\")},timeout:300}))}),i.each(function(e){$j(i[e]).hasClass(\"menu-item-has-children\")&&($j(i[e]).find(\"ul > li\").length,$j(i[e]).hoverIntent({over:function(){$j(i[e]).addClass(\"open\"),$j(i[e]).find(\"ul\").addClass(\"vertical_submenu_start\")},out:function(){$j(i[e]).removeClass(\"open\"),$j(i[e]).find(\"ul\").removeClass(\"vertical_submenu_start\")},timeout:300}))})):($j(\".touch .vertical_menu_toggle > ul > li.has_sub > a\").on(\"tap click\",function(e){e.stopPropagation(),e.preventDefault(),$j(this).next(\"div.second\").is(\":visible\")?($j(this).parents(\".touch .vertical_menu_toggle > ul > li.has_sub\").removeClass(\"open\"),$j(this).next(\"div.second\").slideUp(200)):($j(this).parents(\".touch .vertical_menu_toggle > ul > li.has_sub\").addClass(\"open\"),$j(this).next(\"div.second\").slideDown(200))}),$j(\".touch .vertical_menu_toggle ul li ul li.sub > a\").on(\"tap click\",function(e){e.stopPropagation(),e.preventDefault(),$j(this).next(\"ul\").is(\":visible\")?($j(this).parents(\".touch .vertical_menu_toggle ul li ul li\").removeClass(\"open\"),$j(this).next(\"ul\").slideUp(200)):($j(this).parents(\".touch .vertical_menu_toggle ul li ul li\").addClass(\"open\"),$j(this).next(\"ul\").slideDown(200))}))}function checkVerticalMenuTransparency(){\"use strict\";0!==$scroll?($j(\"body.vertical_menu_transparency\").removeClass(\"vertical_menu_transparency_on\"),$j(\"body.vertical_menu_transparency\").addClass(\"vertical_menu_transparency_off\"),$j(\"body.vertical_menu_background_opacity_over_slider\").removeClass(\"vertical_menu_background_opacity_over_slider_on\"),$j(\"body.vertical_menu_background_opacity_over_slider\").addClass(\"vertical_menu_background_opacity_over_slider_off\")):($j(\"body.vertical_menu_transparency\").addClass(\"vertical_menu_transparency_on\"),$j(\"body.vertical_menu_transparency\").removeClass(\"vertical_menu_transparency_off\"),$j(\"body.vertical_menu_background_opacity_over_slider\").addClass(\"vertical_menu_background_opacity_over_slider_on\"),$j(\"body.vertical_menu_background_opacity_over_slider\").removeClass(\"vertical_menu_background_opacity_over_slider_off\")),0==$j(\".content.has_slider\").length&&($j(\"body.vertical_menu_background_opacity_over_slider\").removeClass(\"vertical_menu_background_opacity_over_slider_on\"),$j(\"body.vertical_menu_background_opacity_over_slider\").addClass(\"vertical_menu_background_opacity_over_slider_off\"))}function showHideVerticalMenu(){\"use strict\";var t,i,a;$j(\".vertical_menu_hidden\").length&&(t=$j(\"aside.vertical_menu_area\"),i=$j(\".vertical_menu_area_bottom_logo\"),a=!0,$j(document).on(\"click\",\".vertical_menu_hidden_button, .vertical_menu_area_bottom_logo a, .vertical_menu_hidden .active nav.vertical_menu.vertical_menu_side ul li:not(.has_sub):not(.menu-item-has-children):not(.prev_level) a:not([href=\'#\']), .vertical_menu_hidden .active nav.vertical_menu.on(\'click\',  ul li:not(.has_sub):not(.menu-item-has-children) a:not([href=\'#\']),  .vertical_menu_hidden .active nav.vertical_menu_toggle:not(.on(\'click\', ) ul li a:not([href=\'#\'])\",function(e){$j(this).closest(\".vertical_menu\").length||e.preventDefault(),a?(a=!1,current_scroll=$j(window).scrollTop(),t.addClass(\"active\"),i.addClass(\"active\"),t.find(\".menu_icon_wrapper\").width(t.find(\".menu_icon_wrapper i\").width()-3)):(a=!0,t.removeClass(\"active\"),i.removeClass(\"active\"),t.find(\".menu_icon_wrapper\").width(\"\"))}),$j(window).scroll(function(){400<Math.abs($scroll-current_scroll)&&(a=!0,t.removeClass(\"active\"),i.removeClass(\"active\"))}),$j(t).outclick({callback:function(){a=!0,t.removeClass(\"active\"),i.removeClass(\"active\"),t.find(\".menu_icon_wrapper\").width(\"\")}}))}function initToCounter(){\"use strict\";$j(\".counter.zero\").length&&$j(\".counter.zero\").each(function(){$j(this).hasClass(\"executed\")||($j(this).addClass(\"executed\"),$j(this).appear(function(){$j(this).parent().css(\"opacity\",\"1\");var e=parseFloat($j(this).text());$j(this).countTo({from:0,to:e,speed:1500,refreshInterval:100})},{accX:0,accY:element_appear_amount}))})}function initCounter(){\"use strict\";$j(\".counter.random\").length&&$j(\".counter.random\").each(function(){$j(this).hasClass(\"executed\")||($j(this).addClass(\"executed\"),$j(this).appear(function(){$j(this).parent().css(\"opacity\",\"1\"),$j(this).absoluteCounter({speed:2e3,fadeInDelay:1e3})},{accX:0,accY:element_appear_amount}))})}function initProgressBars(){\"use strict\";var t;$j(\".mkd_progress_bar\").length&&(t=$j(\".vertical_split_slider\").length?0:element_appear_amount,$j(\".mkd_progress_bar\").each(function(){var e;$j(this).parents(\".vertical_split_slider\").length?(initToCounterHorizontalProgressBar($j(this)),e=$j(this).find(\".progress_content\").data(\"percentage\"),$j(this).find(\".progress_content\").css(\"width\",\"0%\"),$j(this).find(\".progress_content\").animate({width:e+\"%\"},1500),$j(this).find(\".progress_number\").css(\"left\",\"0%\"),$j(this).find(\".progress_number\").animate({left:e+\"%\"},1500)):$j(this).appear(function(){var e;initToCounterHorizontalProgressBar($j(this)),0!==$j(this).find(\".floating.floating_inside\")&&(e=$j(this).find(\".progress_content_outer\").height(),e+=parseFloat($j(this).find(\".progress_title_holder\").css(\"padding-bottom\")),e+=parseFloat($j(this).find(\".progress_title_holder\").css(\"margin-bottom\")),$j(this).find(\".floating_inside\").css(\"margin-bottom\",-e+\"px\"));var t=$j(this).find(\".progress_content\").data(\"percentage\");$j(this).find(\".progress_content\").css(\"width\",\"0%\"),$j(this).find(\".progress_content\").animate({width:t+\"%\"},1500),$j(this).find(\".progress_number\").css(\"left\",\"0%\"),$j(this).find(\".progress_number\").animate({left:t+\"%\"},1500)},{accX:0,accY:t})}))}function initToCounterHorizontalProgressBar(e){\"use strict\";var t=parseFloat(e.find(\".progress_content\").data(\"percentage\"));e.find(\".progress_number span.percent\").length&&e.find(\".progress_number span.percent\").each(function(){$j(this).parents(\".progress_number_wrapper\").css(\"opacity\",\"1\"),$j(this).countTo({from:0,to:t,speed:1500,refreshInterval:50})})}function initListAnimation(){\"use strict\";0<$j(\".animate_list\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".animate_list\").each(function(){$j(this).appear(function(){$j(this).find(\"li\").each(function(e){var t=$j(this);setTimeout(function(){t.animate({opacity:1,top:0},1500)},100*e)})},{accX:0,accY:element_appear_amount})})}function initPieChart(){\"use strict\";$j(\".mkd_percentage\").length&&$j(\".mkd_percentage\").each(function(){var e=piechartcolor;\"\"!==$j(this).data(\"active\")&&(e=$j(this).data(\"active\"));var t=\"#f6f6f5\";\"\"!==$j(this).data(\"noactive\")&&(t=$j(this).data(\"noactive\"));var i=10;\"\"!==$j(this).data(\"linewidth\")&&(i=$j(this).data(\"linewidth\"));var a,o=145;\"\"!==$j(this).data(\"size\")&&(o=$j(this).data(\"size\")),\"\"!==$j(this).data(\"alignment\")&&(\"left\"===(a=$j(this).data(\"alignment\"))?$j(this).css(\"margin-left\",\"0\"):\"right\"===a&&$j(this).css(\"margin-right\",\"0\")),$j(this).appear(function(){initToCounterPieChart($j(this)),$j(this).parent().css(\"opacity\",\"1\"),$j(this).easyPieChart({barColor:e,trackColor:t,scaleColor:!1,lineCap:\"butt\",lineWidth:i,animate:1500,size:o})},{accX:0,accY:element_appear_amount})})}function initPieChartWithIcon(o){\"use strict\";void 0===o&&(o=!1),$j(\".mkd_percentage_with_icon\").length&&$j(\".mkd_percentage_with_icon\").each(function(){var e=piechartcolor;\"\"!==$j(this).data(\"active\")&&(e=$j(this).data(\"active\"));var t=\"#f6f6f5\";\"\"!==$j(this).data(\"noactive\")&&(t=$j(this).data(\"noactive\"));var i=10;\"\"!==$j(this).data(\"linewidth\")&&(i=$j(this).data(\"linewidth\"));var a=145;\"\"!==$j(this).data(\"size\")&&(a=$j(this).data(\"size\")),$j(this).parents(\".more_facts_holder\").length&&!1===o||$j(this).appear(function(){$j(this).parent().css(\"opacity\",\"1\"),$j(this).css(\"opacity\",\"1\"),$j(this).easyPieChart({barColor:e,trackColor:t,scaleColor:!1,lineCap:\"butt\",lineWidth:i,animate:1500,size:a})},{accX:0,accY:element_appear_amount})})}function initToCounterPieChart(e){\"use strict\";$j(e).css(\"opacity\",\"1\");var t=parseFloat($j(e).find(\".tocounter\").text());$j(e).find(\".tocounter\").countTo({from:0,to:t,speed:1500,refreshInterval:50})}function initPortfolio(){\"use strict\";$j(\".projects_holder_outer:not(.masonry_with_space)\").length&&$j(\".projects_holder_outer\").each(function(){$j(\".filter_holder .filter\").on(\"click\",function(){var e=$j(this).text();$j(\".filter_holder\").find(\".label span\").each(function(){$j(this).text(e)})});var i,e=$j(this).find(\".projects_holder\");e.hasClass(\"v1\")?i=new Array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25):e.hasClass(\"v2\")?i=new Array(1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20):e.hasClass(\"v3\")?i=new Array(1,2,3,2,3,4,3,4,5,4,5,6,5,6,7,6,7,8,7,8,9,8,9,10,9,10,11,10,11,12,11,12,13,12,13,14,13,14,15,14,15,16,15,16,17,16,17,18,17,18,19,18,19,20,19,20,21,20,21,22):e.hasClass(\"v4\")?i=new Array(1,2,3,4,2,3,4,5,3,4,5,6,4,5,6,7,5,6,7,8,6,7,8,9,7,8,9,10,8,9,10,11,9,10,11,12,10,11,12,13,11,12,13,14,12,13,14,15,13,14,15,16,14,15,16,17,15,16,17,18,16,17,18,19,17,18,19,20,18,19,20,21):e.hasClass(\"v5\")?i=new Array(1,2,3,4,5,2,3,4,5,6,3,4,5,6,7,4,5,6,7,8,5,6,7,8,9,6,7,8,9,10,7,8,9,10,11,8,9,10,11,12,9,10,11,12,13,10,11,12,13,14,11,12,13,14,15,12,13,14,15,16,13,14,15,16,17,14,15,16,17,18,15,16,17,18,19,20,16,17,18,19,20,17,18,19,20,21,18,19,20,21,22,19,20,21,22,23):e.hasClass(\"v6\")&&(i=new Array(1,2,3,4,5,6,2,3,4,5,6,7,3,4,5,6,7,8,4,5,6,7,8,9,5,6,7,8,9,10,6,7,8,9,10,11,7,8,9,10,11,12,8,9,10,11,12,13,9,10,11,12,13,14,10,11,12,13,14,15,11,12,13,14,15,16,12,13,14,15,16,17,13,14,15,16,17,18,14,15,16,17,18,19,15,16,17,18,19,20,16,17,18,19,20,21,17,18,19,20,21,22)),e.mixitup({showOnLoad:\"all\",transitionSpeed:600,minHeight:150,onMixLoad:function(){$j(\".projects_holder\").addClass(\"hideItems\"),$j(\".projects_holder article\").css(\"visibility\",\"visible\"),e.hasClass(\"portfolio_one_by_one\")&&e.find(\"article\").each(function(e){var t=$j(this);$j(\".vertical_split_slider\").length;setTimeout(function(){t.addClass(\"show\")},100*e)}),e.hasClass(\"slide_from_left\")&&e.find(\"article\").each(function(e){var t=$j(this);setTimeout(function(){t.addClass(\"show\")},200*Math.random())}),e.hasClass(\"slide_from_top\")&&e.find(\"article\").each(function(e){var t=$j(this);setTimeout(function(){t.addClass(\"show\")},50*i[e])}),e.hasClass(\"diagonal_fade\")&&e.find(\"article\").each(function(e){var t=$j(this);setTimeout(function(){t.addClass(\"show\")},50*i[e])})},onMixEnd:function(){initParallax()}})})}function initPortfolioZIndex(){\"use strict\";$j(\".projects_holder_outer.portfolio_no_space\").length&&$j(\".no_space.hover_text article\").each(function(e){$j(this).css(\"z-index\",e+10)})}function initPortfolioMasonry(){\"use strict\";$j(\".projects_masonry_holder, .masonry_with_space\").length&&($j(\".projects_masonry_holder, .masonry_with_space .projects_holder\").each(function(){var e=$j(this);e.waitForImages(function(){e.animate({opacity:1}),$j(\".projects_masonry_holder\").length&&resizeMasonry($j(\".portfolio_masonry_grid_sizer\").width()),e.isotope({itemSelector:\".portfolio_masonry_item, .masonry_with_space .mix\",masonry:{columnWidth:\".portfolio_masonry_grid_sizer\"}}),e.hasClass(\"portfolio_one_by_one\")&&e.find(\"article\").each(function(e){var t=$j(this);setTimeout(function(){t.addClass(\"show\")},100*e)}),e.hasClass(\"portfolio_fade_from_bottom\")&&e.find(\"article\").each(function(e){$j(this).appear(function(){$j(this).addClass(\"show\")},{accX:0,accY:element_appear_amount})})})}),setPortfolioMasZIndex(),$j(\".projects_masonry_holder\").length&&(setPortfolioMasZIndex(),$j(window).resize(function(){resizeMasonry($j(\".portfolio_masonry_grid_sizer\").width()),$j(\".projects_masonry_holder, .masonry_with_space\").isotope(\"reloadItems\"),setPortfolioMasZIndex()})))}function resizeMasonry(e){\"use strict\";var t=$j(\".portfolio_main_holder .portfolio_masonry_item.default\"),i=$j(\".portfolio_main_holder .portfolio_masonry_item.large_width\"),a=$j(\".portfolio_main_holder .portfolio_masonry_item.large_height\"),o=$j(\".portfolio_main_holder .portfolio_masonry_item.large_width_height\");t.css(\"height\",e),i.css(\"height\",e),a.css(\"height\",2*e),o.css(\"height\",Math.round(2*e))}function setPortfolioMasZIndex(){\"use strict\";var e={},o={};$j(\".projects_masonry_holder article\").each(function(){e[$j(this).index()]=getPortfolioXPos($j(this).css(\"left\"))});var t=$j.map(e,function(e){return e});(t=cleanPortfolioMasXArray(t)).sort(function(e,t){return e-t});for(var i=0;i<t.length;i++)o[t[i]]=10*i;$j.each(e,function(e,t){var i,a=t;$j.each(o,function(e,t){a===e&&(i=t)}),$j(\".projects_masonry_holder article:eq(\"+e+\")\").css(\"z-index\",i)})}function getPortfolioXPos(e){\"use strict\";return e.substr(0,e.length-2)}function cleanPortfolioMasXArray(e){\"use strict\";for(var t=e.length,i=[],a=Array(),o=0;o<t;o++)a[e[o]]=0;return a.forEach(function(e){i.push(e)}),i}function initPortfolioMasonryFilter(){\"use strict\";var t=null;$j(\".filter:first\").addClass(\"current\"),$j(\".filter\").on(\"click\",function(){clearTimeout(t),$j(\".isotope, .isotope .isotope-item\").css(\"transition-duration\",\"0.8s\"),t=setTimeout(function(){$j(\".isotope, .isotope .isotope-item\").css(\"transition-duration\",\"0s\")},700);var e=$j(this).attr(\"data-filter\");return $j(\".projects_masonry_holder, .masonry_with_space .projects_holder\").isotope({filter:e}),$j(\".filter\").removeClass(\"current\"),$j(this).addClass(\"current\"),setTimeout(setPortfolioMasZIndex(),700),!1})}function loadMore(){\"use strict\";var d=1;$j(\".load_more a\").on(\"click\",function(e){e.preventDefault();var t=$j(this).attr(\"href\"),i=\".projects_holder\",a=\".portfolio_paging .load_more a\",o=$j(a).attr(\"href\"),s=$j(\".projects_holder .filler\").length,n=$j(\".portfolio_paging\"),r=$j(\".portfolio_paging_loading\");n.hide(),r.show(),$j.get(t+\"\",function(e){$j(\".projects_holder .filler\").slice(-s).remove();var t=$j(i,e).wrapInner(\"\").html();o=$j(a,e).attr(\"href\"),$j(i,e).waitForImages(function(){var e;$j(\"article.mix:last\").after(t),$j(\".projects_holder article\").css(\"visibility\",\"visible\"),$j(\"article:not(.show)\").each(function(e){$j(this).addClass(\"show\")}),$j(\".masonry_with_space\").length?$j(\".masonry_with_space .projects_holder\").isotope(\"reloadItems\").isotope():(e=$j(\"article.mix:first\").height(),$j(\"article.mix\").css(\"min-height\",e),$j(\".projects_holder\").mixitup(\"remix\",\"all\")),setTimeout(function(){prettyPhoto(),initParallax()},800),$j(\".load_more\").data(\"rel\")>d?$j(\".load_more a\").attr(\"href\",o):$j(\".load_more\").remove(),$j(\".projects_holder .portfolio_paging:last\").remove(),$j(\"article.mix\").css(\"min-height\",0),n.show(),r.hide()})}),d++})}function prettyPhoto(){\"use strict\";var e=getIconClassesForNavigation(directionNavArrows),t=\'<div class=\"pp_pic_holder\"> <div class=\"ppt\">&nbsp;</div> <div class=\"pp_top\"> <div class=\"pp_left\"></div> <div class=\"pp_middle\"></div> <div class=\"pp_right\"></div> </div> <div class=\"pp_content_container\"> <div class=\"pp_left\"> <div class=\"pp_right\"> <div class=\"pp_content\"> <div class=\"pp_loaderIcon\"></div> <div class=\"pp_fade\"> <a href=\"#\" class=\"pp_expand\" title=\"Expand the image\">Expand</a> <div class=\"pp_hoverContainer\"> <a class=\"pp_next\" href=\"#\"><span class=\"\'+e.rightIconClass+\'\"></span></a> <a class=\"pp_previous\" href=\"#\"><span class=\"\'+e.leftIconClass+\'\"></span></a> </div> <div id=\"pp_full_res\"></div> <div class=\"pp_details\"> <div class=\"pp_nav\"> <a href=\"#\" class=\"pp_arrow_previous\">Previous</a> <p class=\"currentTextHolder\">0/0</p> <a href=\"#\" class=\"pp_arrow_next\">Next</a> </div> <p class=\"pp_description\"></p> {pp_social} <a class=\"pp_close\" href=\"#\">Close</a> </div> </div> </div> </div> </div> </div> <div class=\"pp_bottom\"> <div class=\"pp_left\"></div> <div class=\"pp_middle\"></div> <div class=\"pp_right\"></div> </div> </div> <div class=\"pp_overlay\"></div>\';$j(\"a[data-rel]\").each(function(){$j(this).attr(\"rel\",$j(this).data(\"rel\"))}),$j(\"a[rel^=\'prettyPhoto\']\").prettyPhoto({animation_speed:\"normal\",slideshow:!1,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,horizontal_padding:0,default_width:960,default_height:540,counter_separator_label:\"/\",theme:\"pp_default\",hideflash:!1,wmode:\"opaque\",autoplay:!0,modal:!1,overlay_gallery:!1,keyboard_shortcuts:!0,deeplinking:!1,custom_markup:\"\",social_tools:!1,markup:t})}function checkTitleToShowOrHide(){\"use strict\";var e;$j(\".title_outer.animate_title_area\").length&&(e=$j(\".title_outer\").data(\"height\"),$scroll>$j(\".title\").height()&&$j(\".title_outer\").css({height:e,opacity:\"1\",overflow:\"visible\"}))}function initTitleAreaAnimation(){\"use strict\";var e;$j(\".title_outer.animate_title_area\").length&&(e=$j(\".title_outer\").data(\"height\"),$j(\".title_outer\").hasClass(\"with_image\")&&(e=$j(\".image.responsive\").height()),$scroll<$j(\".title\").height()&&$j(\".title_outer\").animate({height:e,opacity:1},500,function(){$j(this).css({overflow:\"visible\"}),initPortfolioSingleInfo(),0<$j(\"nav.content_menu\").length&&(content_menu_position=$j(\"nav.content_menu\").offset().top,contentMenuPosition(),contentMenuOnScroll())}))}function initParallaxTitle(){\"use strict\";var t,i,e;0<$j(\".title\").length&&0===$j(\".touch\").length&&($j(\".title.has_fixed_background\").length&&(t=parseInt($j(\".title.has_fixed_background\").css(\"background-size\").match(/\\d+/)),i=$j(\".title.has_fixed_background\").height()/1e4*7,e=-$scroll*i,$j(\".title.has_fixed_background\").css({\"background-position\":\"center \"+(e+add_for_admin_bar)+\"px\"}),$j(\".title.has_fixed_background\").hasClass(\"zoom_out\")&&$j(\".title.has_fixed_background\").css({\"background-size\":t-$scroll+\"px auto\"})),$j(window).on(\"scroll\",function(){var e;$j(\".title.has_fixed_background\").length&&(e=-$scroll*i,$j(\".title.has_fixed_background\").css({\"background-position\":\"center \"+(e+add_for_admin_bar)+\"px\"}),$j(\".title.has_fixed_background\").hasClass(\"zoom_out\")&&$j(\".title.has_fixed_background\").css({\"background-size\":t-$scroll+\"px auto\"}))}))}function initParallax(){\"use strict\";$j(\".parallax_section_holder\").length&&$j(\".parallax_section_holder\").each(function(){$j(this).hasClass(\"full_screen_height_parallax\")&&($j(this).height($window_height),$j(this).find(\".parallax_content_outer\").css(\"padding\",0));var e=.4*$j(this).data(\"speed\");$j(this).parallax(\"50%\",e)})}function initSideAreaScroll(){\"use strict\";$j(\".side_menu\").length&&$j(\".side_menu\").niceScroll({scrollspeed:60,mousescrollstep:40,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:\"transparent\",autohidemode:!1,horizrailenabled:!1})}function initVerticalAreaMenuScroll(){\"use strict\";$j(\".vertical_menu_area.with_scroll\").length&&$j(\".vertical_menu_area.with_scroll\").niceScroll({scrollspeed:60,mousescrollstep:40,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:\"transparent\",autohidemode:!1,horizrailenabled:!1})}function initMobileMenu(){\"use strict\";$j(\".mobile_menu_button > span\").on(\"tap click\",function(e){e.preventDefault(),$j(\".mobile_menu > ul\").is(\":visible\")?$j(\".mobile_menu > ul\").slideUp(200):$j(\".mobile_menu > ul\").slideDown(200)}),$j(\".mobile_menu > ul > li.has_sub > span.mobile_arrow, .mobile_menu > ul > li.has_sub > h3, .mobile_menu > ul > li.has_sub > a[href*=\'#\']\").on(\"tap click\",function(e){e.preventDefault(),$j(this).closest(\"li.has_sub\").find(\"> ul.sub_menu\").is(\":visible\")?($j(this).closest(\"li.has_sub\").find(\"> ul.sub_menu\").slideUp(200),$j(this).closest(\"li.has_sub\").removeClass(\"open_sub\")):($j(this).closest(\"li.has_sub\").addClass(\"open_sub\"),$j(this).closest(\"li.has_sub\").find(\"> ul.sub_menu\").slideDown(200))}),$j(\".mobile_menu > ul > li.has_sub > ul.sub_menu > li.has_sub > span.mobile_arrow, .mobile_menu > ul > li.has_sub > ul.sub_menu > li.has_sub > h3, .mobile_menu > ul > li.has_sub > ul.sub_menu > li.has_sub > a[href*=\'#\']\").on(\"tap click\",function(e){e.preventDefault(),$j(this).parent().find(\"ul.sub_menu\").is(\":visible\")?($j(this).parent().find(\"ul.sub_menu\").slideUp(200),$j(this).parent().removeClass(\"open_sub\")):($j(this).parent().addClass(\"open_sub\"),$j(this).parent().find(\"ul.sub_menu\").slideDown(200))}),$j(\".mobile_menu ul li > a, .mkd_logo a\").on(\"click\",function(){\"http://#\"!==$j(this).attr(\"href\")&&\"#\"!==$j(this).attr(\"href\")&&$j(\".mobile_menu > ul\").slideUp()})}function initFlexSlider(){\"use strict\";$j(\".flexslider\").each(function(){var e=600;void 0!==$j(this).data(\"interval\")&&!1!==$j(this).data(\"interval\")&&(e=1e3*parseFloat($j(this).data(\"interval\")));var t=!0;0===e&&(t=!1);var i=\"slide\";void 0!==$j(this).data(\"flex_fx\")&&!1!==$j(this).data(\"flex_fx\")&&(i=$j(this).data(\"flex_fx\"));var a=!0;void 0!==$j(this).data(\"disable-navigation-arrows\")&&(a=\"yes\"!==$j(this).data(\"disable-navigation-arrows\"));var o=!1;void 0!==$j(this).data(\"show-navigation-controls\")&&(o=\"no\"!==$j(this).data(\"show-navigation-controls\"));var s=getIconClassesForNavigation(directionNavArrows);$j(this).flexslider({animationLoop:!0,controlNav:o,directionNav:a,useCSS:!1,pauseOnAction:!0,pauseOnHover:!0,slideshow:t,animation:i,prevText:\'<span class=\"\'+s.leftIconClass+\'\"></span>\',nextText:\'<span class=\"\'+s.rightIconClass+\'\"></span>\',animationSpeed:4e3,slideshowSpeed:e,start:function(){setTimeout(function(){$j(\".flexslider\").fitVids()},100)}}),$j(\".flex-direction-nav a\").on(\"click\",function(e){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()})})}function fitVideo(){\"use strict\";$j(\".portfolio_images\").fitVids(),$j(\".video_holder\").fitVids(),$j(\".format-video .post_image\").fitVids(),$j(\".format-video .mkd_masonry_blog_post_image\").fitVids()}function initPortfolioSingleInfo(){\"use strict\";var e,t,i,a,o,s;0<$j(\".portfolio_single_follow\").length&&(e=$j(\".portfolio_single_follow\"),t=$j(\".portfolio_single .column1\").height(),i=e.offset(),$scrollHeight=$j(\".portfolio_container\").height(),a=$j(\".portfolio_container\").offset(),o=$j(window),s=parseInt($j(\"header.page_header\").css(\"height\"),10),o.scroll(function(){s=parseInt($j(\"header.page_header\").css(\"height\"),10),960<$window_width&&t>e.height()?o.scrollTop()+s>i.top?o.scrollTop()+s+e.height()<a.top+$scrollHeight?e.stop().animate({marginTop:o.scrollTop()-i.top+s}):e.stop().animate({marginTop:$scrollHeight-e.height()}):e.stop().animate({marginTop:0}):e.css(\"margin-top\",0)}))}function initTabs(){\"use strict\";var e,t;$j(\".mkd_tabs\").length&&($j(\".mkd_tabs\").appear(function(){$j(\".mkd_tabs\").css(\"visibility\",\"visible\")},{accX:0,accY:element_appear_amount}),t=(e=$j(\".tabs-nav\")).children(\"li\"),e.each(function(){var e=$j(this);e.next().children(\".tab-content\").stop(!0,!0).hide().first().show(),e.children(\"li\").first().addClass(\"active\").stop(!0,!0).show()}),t.on(\"click\",function(e){var t=$j(this);t.siblings().removeClass(\"active\").end().addClass(\"active\"),t.parent().next().children(\".tab-content\").stop(!0,!0).hide().siblings(t.find(\"a\").attr(\"href\")).fadeIn(),e.preventDefault(),t.find(\".portfolio_slider\")&&initPortfolioSlider(),t.find(\".product_slider\")&&initProductSlider(),t.find(\".blog_slider\")&&initBlogSlider()}))}function initAccordion(){\"use strict\";$j(\".mkd_accordion_holder\").length&&($j(\".mkd_accordion_holder\").appear(function(){$j(\".mkd_accordion_holder\").css(\"visibility\",\"visible\")},{accX:0,accY:element_appear_amount}),$j(\".accordion\").length&&($j(\".accordion\").accordion({animate:\"swing\",collapsible:!0,active:!1,icons:\"\",heightStyle:\"content\"}),$j(\".accordion\").each(function(){var e=parseInt($j(this).data(\"active-tab\"));\"\"!==e&&(--e,$j(this).accordion(\"option\",\"active\",e));var t=parseInt($j(this).data(\"border-radius\")),i=parseInt($j(this).data(\"section-border-radius\")),a=$j(this).data(\"section-height\");\"\"!==t&&$j(this).find(\".accordion_mark\").css(\"border-radius\",t+\"px\"),\"\"!==i&&($j(this).find(\".title-holder\").css(\"border-radius\",i+\"px\"),$j(this).find(\".accordion_mark\").css(\"border-radius\",i+\"px\")),\"\"!==a&&($j(this).find(\".title-holder\").css(\"height\",a+\"px\"),$j(this).find(\".title-holder\").css(\"line-height\",a+\"px\"),$j(this).find(\".accordion_mark\").css(\"height\",a-2+\"px\"),$j(this).find(\".accordion_mark\").css(\"line-height\",a-2+\"px\"));var o=\"yes\"===$j(this).data(\"collapsible\");$j(this).accordion(\"option\",\"collapsible\",o),$j(this).accordion(\"option\",\"collapsible\",o)})),$j(\".toggle\").addClass(\"accordion ui-accordion ui-accordion-icons ui-widget ui-helper-reset\").find(\".title-holder\").addClass(\"ui-accordion-header ui-helper-reset ui-state-default ui-corner-top ui-corner-bottom\").on(\"mouseenter mouseleave\",function(){$j(this).toggleClass(\"ui-state-hover\")}).on(\"click\",function(){return $j(this).toggleClass(\"ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom\").next().toggleClass(\"ui-accordion-content-active\").slideToggle(400),!1}).next().addClass(\"ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom\").hide(),$j(\".toggle\").each(function(){var e=parseInt($j(this).data(\"active-tab\"));\"\"!==e&&1<=e&&(--e,$j(this).find(\".ui-accordion-content\").eq(e).show(),$j(this).find(\".ui-accordion-header\").eq(e).addClass(\"ui-state-active\"))}))}function initAccordionContentLink(){\"use strict\";$j(\".accordion\").length&&$j(\".accordion_holder .accordion_inner .accordion_content a\").on(\"click\",function(){return\"_blank\"===$j(this).attr(\"target\")?window.open($j(this).attr(\"href\"),\"_blank\"):window.open($j(this).attr(\"href\"),\"_self\"),!1})}function initAccordionHoverStyle(){\"use strict\";$j(\".mkd_accordion_holder\").length&&$j(\".mkd_accordion_holder .title-holder\").each(function(){var e,t,i,a,o,s,n,r,d=\"\";$j(this).parent(\".mkd_accordion_holder\").hasClass(\"boxed\")&&(d=\"boxed\"),void 0!==$j(this).data(\"title-hover-color\")&&!1!==$j(this).data(\"title-hover-color\")&&(e=$j(this).data(\"title-color\"),t=$j(this).data(\"title-hover-color\"),$j(this).on(\"mouseenter\",function(){$j(this).css(\"color\",t)}).on(\"mouseleave\",function(){$j(this).css(\"color\",e)})),void 0!==$j(this).data(\"mark-icon-hover-color\")&&!1!==$j(this).data(\"mark-icon-hover-color\")&&(i=$j(this).data(\"mark-icon-color\"),a=$j(this).data(\"mark-icon-hover-color\"),$j(this).on(\"mouseenter\",function(){$j(this).find(\".accordion_mark_icon\").css(\"color\",a)}).on(\"mouseleave\",function(){$j(this).find(\".accordion_mark_icon\").css(\"color\",i)})),void 0!==$j(this).data(\"background-hover-color\")&&!1!==$j(this).data(\"background-hover-color\")&&\"boxed\"===d&&(o=$j(this).data(\"background-color\"),s=$j(this).data(\"background-hover-color\"),$j(this).on(\"mouseenter\",function(){$j(this).css(\"background-color\",s)}).on(\"mouseleave\",function(){$j(this).css(\"background-color\",o)})),void 0!==$j(this).data(\"border-hover-color\")&&!1!==$j(this).data(\"border-hover-color\")&&\"boxed\"===d&&(n=$j(this).data(\"border-hover-color\"),r=$j(this).data(\"border-color\"),$j(this).on(\"mouseenter\",function(){$j(this).css(\"border-color\",n)}).on(\"mouseleave\",function(){$j(this).css(\"border-color\",r)}))})}function initTestimonials(){\"use strict\";$j(\".testimonials_carousel\").length&&$j(\".testimonials_carousel\").each(function(){$j(this).appear(function(){$j(this).css(\"visibility\",\"visible\")},{accX:0,accY:element_appear_amount});var e=600;void 0!==$j(this).data(\"auto-rotate-slides\")&&!1!==$j(this).data(\"auto-rotate-slides\")&&(e=1e3*parseFloat($j(this).data(\"auto-rotate-slides\")));var t=!0;0===e&&(t=!1);var i=!0;void 0!==$j(this).data(\"show-navigation\")&&(i=\"no\"!==$j(this).data(\"show-navigation\"));var a=!0;void 0!==$j(this).data(\"show-navigation-arrows\")&&(a=\"no\"!==$j(this).data(\"show-navigation-arrows\"));var o=4e3;void 0!==$j(this).data(\"animation-speed\")&&!1!==$j(this).data(\"animation-speed\")&&(o=$j(this).data(\"animation-speed\"));var s=getIconClassesForNavigation(directionNavArrowsTestimonials);$j(this).flexslider({animationLoop:!0,controlNav:i,directionNav:a,useCSS:!1,pauseOnAction:!0,pauseOnHover:!1,slideshow:t,animation:\"fade\",itemMargin:25,minItems:1,maxItems:1,prevText:\'<span class=\"\'+s.leftIconClass+\'\"></span>\',nextText:\'<span class=\"\'+s.rightIconClass+\'\"></span>\',animationSpeed:o,slideshowSpeed:e,start:function(e){initParallax()}})})}function setTestimonialsEqualHeight(){\"use strict\";var e,t;$j(\".testimonials .slides li.absolute_position\").length&&(e=[],$j(\".testimonials .slides li.absolute_position\").each(function(){$j(this).css(\"min-height\",\"0\"),$j(this).css(\"max-height\",\"none\"),$j(this).css(\"height\",\"auto\"),e.push($j(this).height())}),t=Math.max.apply(Math,e),$j(\".testimonials .slides li.absolute_position\").each(function(){$j(this).css(\"height\",t+\"px\")}))}function initMessages(){\"use strict\";$j(\".mkd_message\").length&&$j(\".mkd_message\").each(function(){$j(this).find(\".close\").on(\"click\",function(e){e.preventDefault(),$j(this).parent().parent().fadeOut(500)})})}function initElementsAnimation(){\"use strict\";0<$j(\".element_from_fade\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".element_from_fade\").each(function(){var e=$j(this);e.appear(function(){e.addClass(\"element_from_fade_on\")},{accX:0,accY:element_appear_amount})}),0<$j(\".element_from_left\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".element_from_left\").each(function(){var e=$j(this);e.appear(function(){e.addClass(\"element_from_left_on\")},{accX:0,accY:element_appear_amount})}),0<$j(\".element_from_right\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".element_from_right\").each(function(){var e=$j(this);e.appear(function(){e.addClass(\"element_from_right_on\")},{accX:0,accY:element_appear_amount})}),0<$j(\".element_from_top\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".element_from_top\").each(function(){var e=$j(this);e.appear(function(){e.addClass(\"element_from_top_on\")},{accX:0,accY:element_appear_amount})}),0<$j(\".element_from_bottom\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".element_from_bottom\").each(function(){var e=$j(this);e.appear(function(){e.addClass(\"element_from_bottom_on\")},{accX:0,accY:element_appear_amount})}),0<$j(\".element_transform\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".element_transform\").each(function(){var e=$j(this);e.appear(function(){e.addClass(\"element_transform_on\")},{accX:0,accY:element_appear_amount})})}function initElementsHolderItemAnimation(){\"use strict\";0<$j(\".flip_in\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".flip_in\").each(function(){var e=$j(this);e.appear(function(){e.addClass(\"flip_in_on\")},{accX:0,accY:element_appear_amount})}),0<$j(\".grow_in\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".grow_in\").each(function(){var e=$j(this);e.appear(function(){e.addClass(\"grow_in_on\")},{accX:0,accY:element_appear_amount})}),0<$j(\".x_rotate\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".x_rotate\").each(function(){var e=$j(this);e.appear(function(){e.addClass(\"x_rotate_on\")},{accX:0,accY:element_appear_amount})}),0<$j(\".z_rotate\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".z_rotate\").each(function(){var e=$j(this);e.appear(function(){e.addClass(\"z_rotate_on\")},{accX:0,accY:element_appear_amount})}),0<$j(\".y_translate\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".y_translate\").each(function(){var e=$j(this);e.appear(function(){e.addClass(\"y_translate_on\")},{accX:0,accY:element_appear_amount})}),0<$j(\".fade_in\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".fade_in\").each(function(){var e=$j(this);e.appear(function(){e.addClass(\"fade_in_on\")},{accX:0,accY:element_appear_amount})}),0<$j(\".fade_in_down\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".fade_in_down\").each(function(){var e=$j(this);e.appear(function(){e.addClass(\"fade_in_down_on\")},{accX:0,accY:element_appear_amount})}),0<$j(\".fade_in_left_x_rotate\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".fade_in_left_x_rotate\").each(function(){var e=$j(this);e.appear(function(){e.addClass(\"fade_in_left_x_rotate_on\")},{accX:0,accY:element_appear_amount})})}(function(){\"use strict\";var i;function e(){this.objects=[]}e.prototype.name=\"Outclick\",e.prototype.check=function(e,t){return!e.is(t.target)&&0===e.has(t.target).length},e.prototype.trigger=function(i){var a=this,o=!1;return $j.each(this.objects,function(e,t){if(a.check(t.container,i)&&(t.related.length<1?o=!0:$j.each(t.related,function(e,t){return o=!!a.check(t,i)}),o))return t.callback.call(t.container)})},i=new e,$j.fn.outclick=function(e){var t=this;return null===e&&(e={}),e.related||(e.related=[]),e.callback||(e.callback=function(){return t.hide()}),i.objects.push({container:this,related:e.related,callback:e.callback})},$j(document).mouseup(function(e){return i.trigger(e)})}).call(this),function(r){\"use strict\";r.fn.countTo=function(o){o=r.extend({},r.fn.countTo.defaults,o||{});var s=Math.ceil(o.speed/o.refreshInterval),n=(o.to-o.from)/s;return r(this).each(function(){var e=this,t=0,i=o.from,a=setInterval(function(){i+=n,t++,r(e).html(i.toFixed(o.decimals)),\"function\"==typeof o.onUpdate&&o.onUpdate.call(e,i);s<=t&&(clearInterval(a),i=o.to,\"function\"==typeof o.onComplete&&o.onComplete.call(e,i))},o.refreshInterval)})},r.fn.countTo.defaults={from:0,to:100,speed:1e3,refreshInterval:100,decimals:0,onUpdate:null,onComplete:null}}(jQuery),function(d){var l=d(window),h=l.height();l.resize(function(){h=l.height()}),d.fn.parallax=function(a,o,e){var s,n,r=d(this);function t(){var i=l.scrollTop();r.each(function(){var e=d(this),t=e.offset().top;t+s(e)<i||i+h<t||r.css(\"backgroundPosition\",a+\" \"+Math.round((n-i)*o)+\"px\")})}r.each(function(){n=r.offset().top}),s=e?function(e){return e.outerHeight(!0)}:function(e){return e.height()},(arguments.length<1||null===a)&&(a=\"50%\"),(arguments.length<2||null===o)&&(o=.1),(arguments.length<3||null===e)&&(e=!0),l.on(\"scroll\",t).resize(t),t()}}(jQuery),$j.fn.preload=function(){\"use strict\";this.each(function(){$j(\"<img/>\")[0].src=this})};var timeOuts=[];function initProgressBarsIcon(){\"use strict\";$j(\".mkd_progress_bars_icons_holder\").length&&$j(\".mkd_progress_bars_icons_holder\").each(function(){var e=$j(this);e.appear(function(){e.find(\".mkd_progress_bars_icons\").css(\"opacity\",\"1\"),e.find(\".mkd_progress_bars_icons\").each(function(){var i=$j(this).find(\".mkd_progress_bars_icons_inner\").data(\"number\"),e=$j(this).find(\".mkd_progress_bars_icons_inner\").data(\"size\");\"\"!==e&&($j(this).find(\".mkd_progress_bars_icons_inner.custom_size .bar\").css({width:e+\"px\",height:e+\"px\"}),$j(this).find(\".mkd_progress_bars_icons_inner.custom_size .bar .mkd_icon_stack\").css({\"font-size\":e/2+\"px\"}));var a=$j(this).find(\".bar\");a.each(function(e){var t;e<i&&(t=150*(e+1),timeOuts[e]=setTimeout(function(){$j(a[e]).addClass(\"active\")},t))})})},{accX:0,accY:element_appear_amount})})}function initMoreFacts(){\"use strict\";$j(\".more_facts_holder\").length&&$j(\".more_facts_holder\").each(function(){var e=$j(this),t=\"More Facts\";\"\"!==e.find(\".more_facts_button\").data(\"morefacts\")&&(t=e.find(\".more_facts_button\").data(\"morefacts\"));var i=\"Less Facts\";\"\"!==e.find(\".more_facts_button\").data(\"lessfacts\")&&(i=e.find(\".more_facts_button\").data(\"lessfacts\"));var a=e.find(\".more_facts_inner\").height()+70,o=0<a&&a<601?500:600<a&&a<1201?800:1500;e.find(\".more_facts_inner_holder\").css({height:\"0px\",display:\"none\",opacity:\"0\"}),e.find(\".more_facts_button\").on(\"mouseenter\",function(){$j(this).css(\"color\",$j(this).data(\"hovercolor\"))}).on(\"mouseleave\",function(){e.find(\".more_facts_inner_holder\").is(\":visible\")||$j(this).css(\"color\",$j(this).data(\"color\"))}),e.find(\".more_facts_button\").on(\"click\",function(){e.find(\".more_facts_inner_holder\").is(\":visible\")?(e.find(\".more_facts_fake_arrow\").fadeOut(o),$j(this).parent().parent().find(\".more_facts_inner_holder\").stop().animate({height:\"0px\"},o,function(){$j(this).css({display:\"none\",opacity:\"0\"}),e.find(\".more_facts_button\").is(\":hover\")||e.find(\".more_facts_button\").css(\"color\",e.find(\".more_facts_button\").data(\"color\")),e.removeClass(\"more_fact_opened\"),$j(\".parallax_section_holder\").length&&initParallax()}),$j(this).find(\".more_facts_button_text\").text(t),$j(this).find(\".more_facts_button_arrow\").removeClass(\"rotate_arrow\")):(e.find(\".more_facts_fake_arrow\").fadeIn(o),e.addClass(\"more_fact_opened\"),$j(this).parent().parent().find(\".more_facts_inner_holder\").css({display:\"block\",opacity:\"1\"}).stop().animate({height:a+30},o,function(){$j(\".parallax_section_holder\").length&&initParallax()}),$j(this).find(\".more_facts_button_text\").text(i),$j(this).find(\".more_facts_button_arrow\").addClass(\"rotate_arrow\"),initPieChartWithIcon(!0))})})}function placeholderReplace(){\"use strict\";$j(\"#contact-form [placeholder]\").focus(function(){var e=$j(this);e.val()===e.attr(\"placeholder\")&&(this.originalType&&(this.type=this.originalType,delete this.originalType),e.val(\"\"),e.removeClass(\"placeholder\"))}).blur(function(){var e=$j(this);\"\"===e.val()&&(\"password\"===this.type&&(this.originalType=this.type,this.type=\"text\"),e.addClass(\"placeholder\"),e.val(e.attr(\"placeholder\")))}).blur(),$j(\"#contact-form [placeholder]\").parents(\"form\").submit(function(){$j(this).find(\"[placeholder]\").each(function(){var e=$j(this);e.val()===e.attr(\"placeholder\")&&e.val(\"\")})})}function totop_button(e){\"use strict\";var t=$j(\"#back_to_top\");t.removeClass(\"off on\"),\"on\"===e?t.addClass(\"on\"):t.addClass(\"off\")}function backButtonShowHide(){\"use strict\";$j(window).scroll(function(){var e=$j(this).scrollTop(),t=$j(this).height(),i=0<e?e+t/2:1;totop_button(i<1e3?\"off\":\"on\")})}function backToTop(){\"use strict\";$j(document).on(\"click\",\"#back_to_top, .back_to_top_icon\",function(e){e.preventDefault(),$j(\"body,html\").animate({scrollTop:0},$j(window).scrollTop()/3,\"linear\")})}function initMessageHeight(){\"use strict\";$j(\".mkd_message.with_icon\").length&&$j(\".mkd_message.with_icon\").each(function(){$j(this).find(\".message_text_holder\").height()>$j(this).find(\".mkd_message_icon_holder\").height()?$j(this).find(\".mkd_message_icon_holder\").height($j(this).find(\".message_text\").height()):$j(this).find(\".message_text\").height($j(this).find(\".mkd_message_icon_holder\").height())})}function initImageHover(){\"use strict\";$j(\".image_hover\").length&&$j(\".image_hover\").each(function(){$j(this).appear(function(){var e=$j(this).attr(\"data-transition-delay\"),t=300+parseFloat(e),i=$j(this);setTimeout(function(){i.addClass(\"show\")},parseFloat(e)),setTimeout(function(){i.removeClass(\"show\")},t)},{accX:0,accY:element_appear_amount})})}function initProgressBarsVertical(){\"use strict\";$j(\".mkd_progress_bars_vertical\").length&&$j(\".mkd_progress_bars_vertical\").each(function(){$j(this).appear(function(){initToCounterVerticalProgressBar($j(this));var e=$j(this).find(\".progress_content\").data(\"percentage\");$j(this).find(\".progress_content\").css(\"height\",\"0%\"),$j(this).find(\".progress_content\").animate({height:e+\"%\"},1500)},{accX:0,accY:element_appear_amount})})}function initToCounterVerticalProgressBar(e){\"use strict\";e.find(\".progress_number span\").length&&e.find(\".progress_number span\").each(function(){var e=parseFloat($j(this).text());$j(this).countTo({from:0,to:e,speed:1500,refreshInterval:50})})}function checkAnchorOnLoad(){\"use strict\";var e,t,i,a,o=window.location.hash;\"\"!==o&&0<$j(\'[data-mkd_id=\"\'+o+\'\"]\').length&&(i=$j(\"header.page_header\").hasClass(\"fixed\")&&!$j(\"body\").hasClass(\"vertical_menu_enabled\")?(a=$j(\"header.page_header\").hasClass(\"scroll_top\")?header_top_height:0,!$j(\"header.page_header\").hasClass(\"transparent\")||$j(\"header.page_header\").hasClass(\"scrolled_not_transparent\")?(e=$j(\"header.page_header\").hasClass(\"centered_logo\")?2*min_header_height_scroll+20:min_header_height_scroll,header_height-($j(\'[data-mkd_id=\"\'+o+\'\"]\').offset().top+a)/4>=e?(t=$j(\'[data-mkd_id=\"\'+o+\'\"]\').offset().top-header_height-large_menu_item_border)+t/4+t/16+t/64+1:$j(\'[data-mkd_id=\"\'+o+\'\"]\').offset().top-e-large_menu_item_border):$j(\'[data-mkd_id=\"\'+o+\'\"]\').offset().top):$j(\"header.page_header\").hasClass(\"fixed_top_header\")&&!$j(\"body\").hasClass(\"vertical_menu_enabled\")?!$j(\"header.page_header\").hasClass(\"transparent\")||$j(\"header.page_header\").hasClass(\"scrolled_not_transparent\")?$j(\'[data-mkd_id=\"\'+o+\'\"]\').offset().top-header_height-large_menu_item_border:$j(\'[data-mkd_id=\"\'+o+\'\"]\').offset().top:$j(\"header.page_header\").hasClass(\"fixed_hiding\")&&!$j(\"body\").hasClass(\"vertical_menu_enabled\")?!$j(\"header.page_header\").hasClass(\"transparent\")||$j(\"header.page_header\").hasClass(\"scrolled_not_transparent\")?$j(\'[data-mkd_id=\"\'+o+\'\"]\').offset().top-(header_height+logo_height/2+20)<=scroll_amount_for_fixed_hiding?$j(\'[data-mkd_id=\"\'+o+\'\"]\').offset().top-header_height-logo_height/2-20:$j(\'[data-mkd_id=\"\'+o+\'\"]\').offset().top-min_header_height_fixed_hidden-20:$j(\'[data-mkd_id=\"\'+o+\'\"]\').offset().top:($j(\"header.page_header\").hasClass(\"stick\")||$j(\"header.page_header\").hasClass(\"stick_with_left_right_menu\")&&!$j(\"body\").hasClass(\"vertical_menu_enabled\"))&&(!$j(\"header.page_header\").hasClass(\"transparent\")||$j(\"header.page_header\").hasClass(\"scrolled_not_transparent\"))?sticky_amount>=$j(\'[data-mkd_id=\"\'+o+\'\"]\').offset().top?$j(\'[data-mkd_id=\"\'+o+\'\"]\').offset().top+1:$j(\'[data-mkd_id=\"\'+o+\'\"]\').offset().top-min_header_height_sticky:$j(\'[data-mkd_id=\"\'+o+\'\"]\').offset().top,$j(\"html, body\").animate({scrollTop:Math.round(i)},1500,function(){})),$j(\".main_menu a, .vertical_menu a, .popup_menu a, .mobile_menu a\").each(function(){var e=$j(this).prop(\"hash\");\"\"!==e&&0<$j(\'[data-mkd_id=\"\'+e+\'\"]\').length&&$j(\'[data-mkd_id=\"\'+e+\'\"]\').offset().top>=$window_height&&0===$scroll&&($j(this).parent().removeClass(\"active\"),$j(this).removeClass(\"current\"))})}function changeActiveState(e){\"use strict\";$j(\".main_menu a\").parent().removeClass(\"active\"),$j(\".main_menu a\").each(function(){$j(this).prop(\"hash\")===e&&(0===$j(this).closest(\".second\").length?$j(this).parent().addClass(\"active\"):$j(this).closest(\".second\").parent().addClass(\"active\"),$j(\".main_menu a\").removeClass(\"current\"),$j(this).addClass(\"current\"))}),$j(\".vertical_menu a\").parent().removeClass(\"active\"),$j(\".vertical_menu a\").each(function(){$j(this).prop(\"hash\")===e&&(0===$j(this).closest(\".second\").length?$j(this).parent().addClass(\"active\"):$j(this).closest(\".second\").parent().addClass(\"active\"),$j(\".vertical_menu a\").removeClass(\"current\"),$j(this).addClass(\"current\"))}),$j(\".popup_menu a\").parent().removeClass(\"active\"),$j(\".popup_menu a\").each(function(){$j(this).prop(\"hash\")===e&&(0===$j(this).closest(\".second\").length?$j(this).parent().addClass(\"active\"):$j(this).closest(\".second\").parent().addClass(\"active\"),$j(\".popup_menu a\").removeClass(\"current\"),$j(this).addClass(\"current\"))}),$j(\".mobile_menu a\").parent().removeClass(\"active\"),$j(\".mobile_menu a\").each(function(){$j(this).prop(\"hash\")===e&&(0===$j(this).closest(\".sub_menu\").length?$j(this).parent().addClass(\"active\"):$j(this).closest(\".sub_menu\").parent().addClass(\"active\"),$j(\".mobile_menu a\").removeClass(\"current\"),$j(this).addClass(\"current\"))})}function checkAnchorOnScroll(){\"use strict\";$j(\"[data-mkd_id]\").length&&($j(\"[data-mkd_id]\").waypoint(function(e){\"down\"===e&&changeActiveState($j(this).data(\"mkd_id\"))},{offset:\"50%\"}),$j(\"[data-mkd_id]\").waypoint(function(e){\"up\"===e&&changeActiveState($j(this).data(\"mkd_id\"))},{offset:function(){return-($j(this).outerHeight()-150)}}))}function initHashClick(){\"use strict\";var o,s,n=$j(\"html, body\");$j(document).on(\"click\",\".main_menu a, .vertical_menu a, .popup_menu a, .qbutton, .anchor, .widget li.anchor a\",function(){var e,t,i=$j(this),a=$j(this).prop(\"hash\");if(!0===loadedPageFlag&&(\"\"!==a&&\"\"===$j(this).attr(\"href\").split(\"#\")[0]||\"\"!==a&&\"\"!==$j(this).attr(\"href\").split(\"#\")[0]&&a===window.location.hash||\"\"!==a&&$j(this).attr(\"href\").split(\"#\")[0]===window.location.href.split(\"#\")[0]))return o=$j(\"header.page_header\").hasClass(\"fixed\")&&!$j(\"body\").hasClass(\"vertical_menu_enabled\")?(s=$j(\"header.page_header\").hasClass(\"scroll_top\")?header_top_height:0,!$j(\"header.page_header\").hasClass(\"transparent\")||$j(\"header.page_header\").hasClass(\"scrolled_not_transparent\")?(e=$j(\"header.page_header\").hasClass(\"centered_logo\")?2*min_header_height_scroll+20:min_header_height_scroll,header_height-($j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top+s)/4>=e?(t=$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top-header_height-large_menu_item_border)+t/4+t/16+t/64+1:$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top-e-large_menu_item_border):$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top):$j(\"header.page_header\").hasClass(\"fixed_top_header\")&&!$j(\"body\").hasClass(\"vertical_menu_enabled\")?!$j(\"header.page_header\").hasClass(\"transparent\")||$j(\"header.page_header\").hasClass(\"scrolled_not_transparent\")?$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top-header_height-large_menu_item_border:$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top:$j(\"header.page_header\").hasClass(\"fixed_hiding\")&&!$j(\"body\").hasClass(\"vertical_menu_enabled\")?!$j(\"header.page_header\").hasClass(\"transparent\")||$j(\"header.page_header\").hasClass(\"scrolled_not_transparent\")?$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top-(header_height+logo_height/2+20)<=scroll_amount_for_fixed_hiding?$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top-header_height-logo_height/2-20:$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top-min_header_height_fixed_hidden-20:$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top:($j(\"header.page_header\").hasClass(\"stick\")||$j(\"header.page_header\").hasClass(\"stick_with_left_right_menu\")&&!$j(\"body\").hasClass(\"vertical_menu_enabled\"))&&(!$j(\"header.page_header\").hasClass(\"transparent\")||$j(\"header.page_header\").hasClass(\"scrolled_not_transparent\"))?sticky_amount>=$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top?$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top+1:$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top-min_header_height_sticky:$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top,0<$j(\'[data-mkd_id=\"\'+a+\'\"]\').length&&n.stop().animate({scrollTop:Math.round(o)},1500,function(){anchorActiveState(i)}),history.pushState&&history.pushState(null,null,a),!1}),$j(document).on(\"click\",\".mobile_menu a\",function(){var e=$j(this),t=$j(this).prop(\"hash\");if(\"\"!==t&&\"\"===$j(this).attr(\"href\").split(\"#\")[0]||\"\"!==t&&\"\"!==$j(this).attr(\"href\").split(\"#\")[0]&&t===window.location.hash||\"\"!==t&&$j(this).attr(\"href\").split(\"#\")[0]===window.location.href.split(\"#\")[0])return 0<$j(\'[data-mkd_id=\"\'+t+\'\"]\').length&&n.animate({scrollTop:Math.round($j(\'[data-mkd_id=\"\'+t+\'\"]\').offset().top-$j(\".mobile_menu\").height())},500,function(){anchorActiveState(e)}),history.pushState&&history.pushState(null,null,t),!1})}function countClientsPerRow(){\"use strict\";$j(\".mkd_clients\").length&&$j(\".mkd_clients\").each(function(){var e,t=$j(this),i=t.height(),a=t.width(),o=t.find(\".mkd_client_holder\").width(),s=t.find(\".mkd_client_holder\").length;t.find(\".mkd_client_holder\").each(function(){e=e>$j(this).height()?e:$j(this).height()}),e+=35;Math.ceil(i/e);var n=Math.ceil(a/o),r=s-n*Math.floor(s/n);0===r&&(r=n),t.find(\".mkd_client_holder\").removeClass(\"border-bottom-none\");var d=s-r-1;t.find(\".mkd_client_holder:gt(\"+d+\")\").addClass(\"border-bottom-none\")})}function anchorActiveState(e){\"use strict\";0<e.closest(\".main_menu\").length&&$j(\".main_menu a\").parent().removeClass(\"active\"),0<e.closest(\".popup_menu\").length&&$j(\".popup_menu a\").parent().removeClass(\"active\"),0<e.closest(\".vertical_menu\").length&&$j(\".vertical_menu a\").parent().removeClass(\"active\"),0===e.closest(\".second\").length?e.parent().addClass(\"active\"):e.closest(\".second\").parent().addClass(\"active\"),0<e.closest(\".mobile_menu\").length&&($j(\".mobile_menu a\").parent().removeClass(\"active\"),e.parent().addClass(\"active\")),0<e.closest(\".widget_nav_menu\").length&&($j(\".widget_nav_menu ul.menu > li\").removeClass(\"current-menu-item\"),e.parent().addClass(\"current-menu-item\")),$j(\".mobile_menu a, .main_menu a, .vertical_menu a, .popup_menu a\").removeClass(\"current\"),e.addClass(\"current\")}function initVideoBackground(){\"use strict\";$j(\".video-wrap .video\").mediaelementplayer({enableKeyboard:!1,iPadUseNativeControls:!1,pauseOtherPlayers:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1}),navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/)&&(initVideoBackgroundSize(),$j(\".mobile-video-image\").show(),$j(\".video-wrap\").remove())}function initVideoBackgroundSize(){\"use strict\";$j(\".section .video-wrap\").each(function(e){var t=$j(this).closest(\".section\").outerWidth();$j(this).width(t);var i=$j(this).closest(\".section\").outerHeight();min_w=vid_ratio*(i+20),$j(this).height(i);var a=t/video_width_original,o=(i-header_height)/video_height_original,s=o<a?a:o;s*video_width_original<min_w&&(s=min_w/video_width_original),$j(this).find(\"video, .mejs-overlay, .mejs-poster\").width(Math.ceil(s*video_width_original+2)),$j(this).find(\"video, .mejs-overlay, .mejs-poster\").height(Math.ceil(s*video_height_original+2)),$j(this).scrollLeft(($j(this).find(\"video\").width()-t)/2),$j(this).find(\".mejs-overlay, .mejs-poster\").scrollTop(($j(this).find(\"video\").height()-i)/2),$j(this).scrollTop(($j(this).find(\"video\").height()-i)/2)}),$j(\".carousel .item .video .video-wrap\").each(function(e){var t=$j(window).width();$j(this).width(t);var i=$j(window).width()<1e3?$j(\"header.page_header\").height()-6:0,a=$j(this).closest(\".carousel.slide\").height()-i;min_w=vid_ratio*(20+a),$j(this).height(a);var o=t/video_width_original,s=(a-header_height)/video_height_original,n=s<o?o:s;n*video_width_original<min_w&&(n=min_w/video_width_original),$j(this).find(\"video, .mejs-overlay, .mejs-poster\").width(Math.ceil(n*video_width_original+2)),$j(this).find(\"video, .mejs-overlay, .mejs-poster\").height(Math.ceil(n*video_height_original+2)),$j(this).scrollLeft(($j(this).find(\"video\").width()-t)/2),$j(this).find(\".mejs-overlay, .mejs-poster\").scrollTop(($j(this).find(\"video\").height()-a)/2),$j(this).scrollTop(($j(this).find(\"video\").height()-a)/2)}),$j(\".portfolio_single .video .video-wrap, .blog_holder .video .video-wrap\").each(function(e){var t=$j(this),i=$j(this).closest(\".video\").outerWidth();$j(this).width(i);var a=9*i/16;navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/)&&(t.parent().width(i),t.parent().height(a)),min_w=vid_ratio*(20+a),$j(this).height(a);var o=i/video_width_original,s=(a-header_height)/video_height_original,n=s<o?o:s;n*video_width_original<min_w&&(n=min_w/video_width_original),$j(this).find(\"video, .mejs-overlay, .mejs-poster\").width(Math.ceil(n*video_width_original+2)),$j(this).find(\"video, .mejs-overlay, .mejs-poster\").height(Math.ceil(n*video_height_original+2)),$j(this).scrollLeft(($j(this).find(\"video\").width()-i)/2),$j(this).find(\".mejs-overlay, .mejs-poster\").scrollTop(($j(this).find(\"video\").height()-a)/2),$j(this).scrollTop(($j(this).find(\"video\").height()-a)/2)})}function initIconWithTextAnimation(){\"use strict\";0<$j(\".mkd_icon_animation\").length&&0===$j(\".no_animation_on_touch\").length&&$j(\".mkd_icon_animation\").each(function(){$j(this).appear(function(){$j(this).addClass(\"mkd_show_animation\")},{accX:0,accY:element_appear_amount})})}function initCheckSafariBrowser(){\"use strict\";-1!==navigator.userAgent.indexOf(\"Safari\")&&-1===navigator.userAgent.indexOf(\"Chrome\")&&$j(\"body\").addClass(\"safari_browser\")}function initCheckFirefoxMacBrowser(){\"use strict\";var e=navigator.userAgent.toLowerCase(),t=navigator.appVersion.toLowerCase();-1<e.indexOf(\"firefox\")&&-1<t.indexOf(\"mac\")&&$j(\"body\").addClass(\"firefox_mac_browser\")}function initSearchButton(){\"use strict\";$j(\".search_slides_from_header_bottom\").length&&($j(\".search_slides_from_header_bottom\").on(\"click\",function(e){var t;e.preventDefault(),$j(\"html\").hasClass(\"touch\")?(0===$j(\".mkd_search_form_2\").height()?($j(\'.mkd_search_form_2 input[type=\"text\"]\').onfocus=function(){window.scrollTo(0,0),document.body.scrollTop=0},$j(\'.mkd_search_form_2 input[type=\"text\"]\').onclick=function(){window.scrollTo(0,0),document.body.scrollTop=0},$j(\".mkd_search_form_2\").css(\"height\",\"50px\")):$j(\".mkd_search_form_2\").css(\"height\",\"0\"),$j(window).scroll(function(){0!==$j(\".mkd_search_form_2\").height()&&50<$scroll&&$j(\".mkd_search_form_2\").css(\"height\",\"0\")})):($j(\".mkd_search_form_2\").hasClass(\"animated\")?($j(\".mkd_search_form_2\").removeClass(\"animated\"),$j(\".mkd_search_form_2\").css(\"bottom\",\"0\")):($j(\'.mkd_search_form input[type=\"text\"]\').focus(),$j(\".mkd_search_form_2\").addClass(\"animated\"),t=$j(\".mkd_search_form_2\").height(),$j(\".mkd_search_form_2\").css(\"bottom\",-t)),$j(\".mkd_search_form_2\").addClass(\"disabled\"),$j(\'.mkd_search_form_2 input[type=\"submit\"]\').attr(\"disabled\",\"disabled\"),\"\"!==$j(\".mkd_search_form_2 .mkd_search_field\").val()&&\" \"!==$j(\".mkd_search_form_2 .mkd_search_field\").val()?($j(\'.mkd_search_form_2 input[type=\"submit\"]\').removeAttr(\"disabled\"),$j(\".mkd_search_form_2\").removeClass(\"disabled\")):($j(\".mkd_search_form_2\").addClass(\"disabled\"),$j(\'.mkd_search_form_2 input[type=\"submit\"]\').attr(\"disabled\",\"disabled\")),$j(\".mkd_search_form_2 .mkd_search_field\").keyup(function(){\"\"!==$j(this).val()&&parseInt(0!==$j(this).val())?($j(\'.mkd_search_form_2 input[type=\"submit\"]\').removeAttr(\"disabled\"),$j(\".mkd_search_form_2\").removeClass(\"disabled\")):($j(\'.mkd_search_form_2 input[type=\"submit\"]\').attr(\"disabled\",\"disabled\"),$j(\".mkd_search_form_2\").addClass(\"disabled\"))}),$j(\".content, footer\").on(\"click\",function(e){e.preventDefault(),$j(\".mkd_search_form_2\").removeClass(\"animated\"),$j(\".mkd_search_form_2\").css(\"bottom\",\"0\")}))}),$j(\".mkd_search_submit\").length&&$j(\".mkd_search_submit\").on(\"click\",function(e){e.preventDefault(),e.stopPropagation(),$j(this).parents(\"form\").first().submit()})),$j(\".search_covers_header\").length&&$j(\".search_covers_header\").on(\"click\",function(e){var t;e.preventDefault(),t=$j(\".search_covers_only_bottom\").length?$j(\".header_bottom\").height():$j(\".fixed_top_header\").length?$j(\".top_header\").height():$j(\".header_top_bottom_holder\").height(),$j(\".mkd_search_form_3 .form_holder_outer\").height(t),$j(\".search_covers_only_bottom\").length&&($j(\".mkd_search_form_3\").css(\"bottom\",0),$j(\".mkd_search_form_3\").css(\"top\",\"auto\")),$j(\".mkd_search_form_3\").stop(!0).fadeIn(600,\"easeOutExpo\"),$j(\'.mkd_search_form_3 input[type=\"text\"]\').focus(),$j(window).scroll(function(){t=$j(\".search_covers_only_bottom\").length?$j(\".header_bottom\").height():$j(\".fixed_top_header\").length?$j(\".top_header\").height():$j(\".header_top_bottom_holder\").height(),$j(\".mkd_search_form_3 .form_holder_outer\").height(t)}),$j(\".mkd_search_close, .content, footer\").on(\"click\",function(e){e.preventDefault(),$j(\".mkd_search_form_3\").stop(!0).fadeOut(450,\"easeOutExpo\")}),$j(\".mkd_search_form_3\").blur(function(e){$j(\".mkd_search_form_3\").stop(!0).fadeOut(450,\"easeOutExpo\")})}),$j(\".fullscreen_search\").length&&($j(\".fullscreen_search_holder.from_circle\").length&&($j(\".fullscreen_search\").on(\"click\",function(e){e.preventDefault(),$j(\".fullscreen_search_overlay\").hasClass(\"animate\")?($j(\".fullscreen_search_overlay\").removeClass(\"animate\"),$j(\".fullscreen_search_holder\").css(\"opacity\",\"0\"),$j(\".fullscreen_search_close\").css(\"opacity\",\"0\"),$j(\".fullscreen_search_close\").css(\"visibility\",\"hidden\"),$j(\".fullscreen_search\").css(\"opacity\",\"1\"),$j(\".fullscreen_search_holder\").css(\"display\",\"none\")):($j(\".fullscreen_search_overlay\").addClass(\"animate\"),$j(\".fullscreen_search_holder\").css(\"display\",\"block\"),setTimeout(function(){$j(\".fullscreen_search_holder\").css(\"opacity\",\"1\"),$j(\".fullscreen_search_close\").css(\"opacity\",\"1\"),$j(\".fullscreen_search_close\").css(\"visibility\",\"visible\"),$j(\".fullscreen_search\").css(\"opacity\",\"0\")},200),$j(\"body\").hasClass(\"page-template-full_screen-php\")||disable_scroll())}),$j(\".fullscreen_search_close\").on(\"click\",function(e){e.preventDefault(),$j(\".fullscreen_search_overlay\").removeClass(\"animate\"),$j(\".fullscreen_search_holder\").css(\"opacity\",\"0\"),$j(\".fullscreen_search_close\").css(\"opacity\",\"0\"),$j(\".fullscreen_search_close\").css(\"visibility\",\"hidden\"),$j(\".fullscreen_search\").css(\"opacity\",\"1\"),$j(\".fullscreen_search_holder\").css(\"display\",\"none\"),$j(\"body\").hasClass(\"page-template-full_screen-php\")||enable_scroll()})),$j(\".fullscreen_search_holder.fade\").length&&($j(\".fullscreen_search\").on(\"click\",function(e){e.preventDefault(),$j(\".fullscreen_search_holder\").hasClass(\"animate\")?($j(\"body\").removeClass(\"fullscreen_search_opened\"),$j(\".fullscreen_search_holder\").removeClass(\"animate\"),$j(\"body\").removeClass(\"search_fade_out\"),$j(\"body\").removeClass(\"search_fade_in\"),$j(\"body\").hasClass(\"page-template-full_screen-php\")||enable_scroll()):($j(\"body\").addClass(\"fullscreen_search_opened\"),$j(\"body\").removeClass(\"search_fade_out\"),$j(\"body\").addClass(\"search_fade_in\"),$j(\".fullscreen_search_holder\").addClass(\"animate\"),$j(\"body\").hasClass(\"page-template-full_screen-php\")||disable_scroll())}),$j(\".fullscreen_search_close\").on(\"click\",function(e){e.preventDefault(),$j(\"body\").removeClass(\"fullscreen_search_opened\"),$j(\".fullscreen_search_holder\").removeClass(\"animate\"),$j(\"body\").removeClass(\"search_fade_in\"),$j(\"body\").addClass(\"search_fade_out\"),$j(\"body\").hasClass(\"page-template-full_screen-php\")||enable_scroll()})),$j(\".fullscreen_search_holder .search_field\").focus(function(){$j(\".fullscreen_search_holder .field_holder .line\").css(\"width\",\"100%\")}),$j(\".fullscreen_search_holder .search_field\").blur(function(){$j(\".fullscreen_search_holder .field_holder .line\").css(\"width\",\"0\")}),$j(window).scroll(function(){var e=$j(\".page_header .header_bottom\").height();$j(\".page_header\").hasClass(\"sticky\")?($j(\".fullscreen_search_holder .side_menu_button\").css(\"height\",e),$j(\".fullscreen_search_holder .close_container\").css(\"top\",\"0\")):$j(\".page_header\").hasClass(\"fixed\")?$j(\".fullscreen_search_holder .side_menu_button\").css(\"height\",e):($j(\".fullscreen_search_holder .side_menu_button\").css(\"height\",\"\"),$j(\".fullscreen_search_holder .close_container\").css(\"top\",\"\"))})),$j(\".search_slides_from_window_top\").length&&$j(\".search_slides_from_window_top \").on(\"click\",function(e){var t;e.preventDefault(),$j(\"html\").hasClass(\"touch\")?(0===$j(\".mkd_search_form\").height()?($j(\'.mkd_search_form input[type=\"text\"]\').onfocus=function(){window.scrollTo(0,0),document.body.scrollTop=0},$j(\'.mkd_search_form input[type=\"text\"]\').onclick=function(){window.scrollTo(0,0),document.body.scrollTop=0},$j(\".header_top_bottom_holder\").css(\"top\",\"50px\"),$j(\".mkd_search_form\").css(\"height\",\"50px\"),$j(\".content_inner\").css(\"margin-top\",\"50px\"),$scroll<34&&$j(\"header.page_header\").css(\"top\",\"0\")):($j(\".mkd_search_form\").css(\"height\",\"0\"),$j(\".header_top_bottom_holder\").css(\"top\",\"0\"),$j(\".content_inner\").css(\"margin-top\",\"0\"),$scroll<34&&$j(\"header.page_header\").css(\"top\",-$scroll)),$j(window).scroll(function(){0!==$j(\".mkd_search_form\").height()&&50<$scroll&&($j(\".mkd_search_form\").css(\"height\",\"0\"),$j(\".header_top_bottom_holder\").css(\"top\",\"0\"),$j(\".content_inner\").css(\"margin-top\",\"0\"))}),$j(\".mkd_search_close\").on(\"click\",function(e){e.preventDefault(),$j(\".mkd_search_form\").css(\"height\",\"0\"),$j(\".header_top_bottom_holder\").css(\"top\",\"0\"),$j(\".content_inner\").css(\"margin-top\",\"0\"),$scroll<34&&$j(\"header.page_header\").css(\"top\",-$scroll)})):(t=$j(\".title\").hasClass(\"has_fixed_background\")?parseInt($j(\".title.has_fixed_background\").css(\"backgroundPosition\").split(\" \")[1]):0,0===$j(\".mkd_search_form\").height()?($j(\'.mkd_search_form input[type=\"text\"]\').focus(),$j(\".header_top_bottom_holder\").stop().animate({top:\"50px\"},150),$j(\".mkd_search_form\").stop().animate({height:\"50px\"},150),$j(\".content_inner\").stop().animate({marginTop:\"50px\"},150),$scroll<34&&$j(\"header.page_header\").stop().animate({top:0},150),$j(\".title.has_fixed_background\").animate({\"background-position-y\":t+50+\"px\"},150)):($j(\".mkd_search_form\").stop().animate({height:\"0\"},150),$j(\".header_top_bottom_holder\").stop().animate({top:\"0px\"},150),$j(\".content_inner\").stop().animate({marginTop:\"0\"},150),$scroll<34&&$j(\"header.page_header\").stop().animate({top:-$scroll},150),$j(\".title.has_fixed_background\").animate({\"background-position-y\":t-50+\"px\"},150)),$j(window).scroll(function(){0!==$j(\".mkd_search_form\").height()&&50<$scroll&&($j(\".mkd_search_form\").stop().animate({height:\"0\"},150),$j(\".header_top_bottom_holder\").stop().animate({top:\"0px\"},150),$j(\".content_inner\").stop().animate({marginTop:\"0\"},150),$j(\".title.has_fixed_background\").css(\"backgroundPosition\",\"center \"+t+\"px\"))}),$j(\".mkd_search_close\").on(\"click\",function(e){e.preventDefault(),$j(\".mkd_search_form\").stop().animate({height:\"0\"},150),$j(\".content_inner\").stop().animate({marginTop:\"0\"},150),$j(\".header_top_bottom_holder\").stop().animate({top:\"0px\"},150),$scroll<34&&$j(\"header.page_header\").stop().animate({top:-$scroll},150),$j(\".title.has_fixed_background\").animate({\"background-position-y\":t+\"px\"},150)}))})}function updateShoppingCart(){\"use strict\";$j(\"body\").on(\"added_to_cart\",function(e,t,i){var a=$j(\".shopping_cart_header\");{var o,s,n;t[\"div.widget_shopping_cart_content\"]&&(o=jQuery(t[\"div.widget_shopping_cart_content\"]),s=o.find(\".cart_list\"),n=o.find(\".total\").contents(\":not(strong)\").text(),a.find(\".shopping_cart_dropdown_inner\").html(\"\").append(s),a.find(\".total span\").html(\"\").append(n))}})}function setContentBottomMargin(){\"use strict\";$j(\".uncover\").length&&$j(\".content\").css(\"margin-bottom\",$j(\".footer_inner\").height())}function setFooterHeight(){\"use strict\";600<$window_width&&($j(\".footer_top > div\").hasClass(\"container\")?$j(\".footer_top .mkd_column\").css(\"min-height\",0).css(\"min-height\",$j(\".footer_top > .container > .container_inner > div \").innerHeight()):$j(\".footer_top .mkd_column\").css(\"min-height\",0).css(\"min-height\",$j(\".footer_top > div\").innerHeight()))}function showGoogleMap(){\"use strict\";$j(\".mkd_google_map\").length&&$j(\".mkd_google_map\").each(function(){var e,t,i,a,o,s,n,r,d,l,h;void 0!==$j(this).data(\"custom-map-style\")&&(e=$j(this).data(\"custom-map-style\")),void 0!==$j(this).data(\"color-overlay\")&&!1!==$j(this).data(\"color-overlay\")&&(t=$j(this).data(\"color-overlay\")),void 0!==$j(this).data(\"saturation\")&&!1!==$j(this).data(\"saturation\")&&(i=$j(this).data(\"saturation\")),void 0!==$j(this).data(\"lightness\")&&!1!==$j(this).data(\"lightness\")&&(a=$j(this).data(\"lightness\")),void 0!==$j(this).data(\"zoom\")&&!1!==$j(this).data(\"zoom\")&&(o=$j(this).data(\"zoom\")),void 0!==$j(this).data(\"pin\")&&!1!==$j(this).data(\"pin\")&&(s=$j(this).data(\"pin\")),void 0!==$j(this).data(\"map-height\")&&!1!==$j(this).data(\"map-height\")&&(n=$j(this).data(\"map-height\")),void 0!==$j(this).data(\"unique-id\")&&!1!==$j(this).data(\"unique-id\")&&(r=$j(this).data(\"unique-id\")),void 0!==$j(this).data(\"google-maps-scroll-wheel\")&&(d=$j(this).data(\"google-maps-scroll-wheel\")),void 0!==$j(this).data(\"addresses\")&&!1!==$j(this).data(\"addresses\")&&(l=$j(this).data(\"addresses\")),void 0!==$j(this).data(\"show-address-info-box\")&&!1!==$j(this).data(\"show-address-info-box\")&&(h=$j(this).data(\"show-address-info-box\")),initializeGoogleMap(e,t,i,a,d,o,\"map_canvas_\"+r,n,s,\"map_\"+r,\"geocoder_\"+r,l,h)})}function initializeGoogleMap(e,t,i,a,o,s,n,r,d,l,h,c,_){\"use strict\";var u=[{stylers:[{hue:t},{saturation:i},{lightness:a},{gamma:1}]}],p=e?\"mkd_style\":google.maps.MapTypeId.ROADMAP,m=new google.maps.StyledMapType(u,{name:\"Mikado Google Map\"});h=new google.maps.Geocoder;var f,$={zoom:s,scrollwheel:o,center:new google.maps.LatLng(-34.397,150.644),zoomControl:!0,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.RIGHT_CENTER},scaleControl:!1,scaleControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},streetViewControl:!1,streetViewControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},panControl:!1,panControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},mapTypeControl:!1,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,\"mkd_style\"],style:google.maps.MapTypeControlStyle.HORIZONTAL_BAR,position:google.maps.ControlPosition.LEFT_CENTER},mapTypeId:p};for((l=new google.maps.Map(document.getElementById(n),$)).mapTypes.set(\"mkd_style\",m),f=0;f<c.length;++f)initializeGoogleAddress(c[f],d,l,h,_);document.getElementById(n).style.height=r+\"px\"}function initializeGoogleAddress(a,o,s,e,n){\"use strict\";var t,r;\"\"!==a&&(t=\'<div id=\"content\"><div id=\"siteNotice\"></div><div id=\"bodyContent\"><p>\'+a+\"</p></div></div>\",r=new google.maps.InfoWindow({content:t}),e.geocode({address:a},function(e,t){var i;t===google.maps.GeocoderStatus.OK&&(s.setCenter(e[0].geometry.location),i=new google.maps.Marker({map:s,position:e[0].geometry.location,icon:o,title:a.store_title}),google.maps.event.addListener(i,\"click\",function(){r.open(s,i)}),\"yes\"===n&&google.maps.event.addDomListener(window,\"load\",function(){r.open(s,i)}),google.maps.event.addDomListener(window,\"resize\",function(){s.setCenter(e[0].geometry.location)}))}))}function initCoverBoxes(){\"use strict\";$j(\".cover_boxes\").length&&$j(\".cover_boxes\").each(function(){var e=0,t=1;void 0!==$j(this).data(\"active-element\")&&!1!==$j(this).data(\"active-element\")&&(e=(t=parseFloat($j(this).data(\"active-element\")))-1);var i=3;void 0!==$j(this).data(\"active-element\")&&2===parseInt($j(this).data(\"active-element\"))&&(i=2),e=i<t?0:e,$j(this).find(\"li\").eq(e).addClass(\"act\");var a=$j(this);$j(this).find(\"li\").each(function(){$j(this).on(\"mouseenter mouseleave\",function(){$j(a).find(\"li\").removeClass(\"act\"),$j(this).addClass(\"act\")})})})}function createContentMenu(){\"use strict\";$j(\".content_menu\").each(function(){var s;\"\"!==$j(this).css(\"background-color\")&&(s=$j(this).css(\"background-color\"));var n=$j(this).find(\"ul.menu\"),e=$j(this).siblings(\".in_content_menu\");e.length&&e.each(function(){var e=$j(this).data(\"mkd_id\"),t=$j(this).data(\"mkd_title\"),i=$j(this).data(\"icon_html\"),a=$j(\"<li />\"),o=$j(\"<a />\",{href:e,html:\"<span>\"+t+\"</span>\"});$j(\"<div />\",\"\"!==s?{class:\"arrow\",style:\"border-color: \"+s+\" transparent transparent transparent\"}:{class:\"arrow\"});o.prepend(i),a.append(o),a.appendTo(n)})})}function createSelectContentMenu(){\"use strict\";$j(\".content_menu\").each(function(){var a=$j(this),s=$j(\"<ul></ul>\");s.appendTo($j(this).find(\".nav_select_menu\")),$j(this).find(\"ul.menu li a\").each(function(){var e=$j(this).attr(\"href\"),t=$j(this).text(),i=$j(this).find(\"i\").clone();2===$j(this).parents(\"li\").length&&(t=\"&nbsp;&nbsp;&nbsp;\"+t),3===$j(this).parents(\"li\").length&&(t=\"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"+t),3<$j(this).parents(\"li\").length&&(t=\"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"+t);var a=$j(\"<li />\"),o=$j(\"<a />\",{href:e,html:t});i.prependTo(o),o.appendTo(a),a.appendTo(s)}),a.find(\".nav_select_button\").on(\"click\",function(){return a.find(\".nav_select_menu ul\").is(\":visible\")?a.find(\".nav_select_menu ul\").slideUp():a.find(\".nav_select_menu ul\").slideDown(),!1}),a.find(\".nav_select_menu ul li a\").on(\"click\",function(){var e=$j(this),t=e.attr(\"href\"),i=$j(\'[data-mkd_id=\"\'+t+\'\"]\').offset().top-$j(\".nav_select_menu ul\").outerHeight();return a.find(\".nav_select_menu ul\").slideUp(),$j(\"html,body\").stop().animate({scrollTop:i},1500,function(){$j(\"nav.content_menu ul li\").removeClass(\"active\"),e.parent().addClass(\"active\")}),!1})})}function contentMenuPosition(){\"use strict\";var e,t,i;$j(\"nav.content_menu\").length&&(e=sticky_amount<content_menu_position?min_header_height_sticky:0,t=content_menu_position>scroll_amount_for_fixed_hiding?min_header_height_fixed_hidden+20:header_height+min_header_height_fixed_hidden+20,i=$j(\"nav.content_menu\").height(),content_menu_position-e-content_menu_top_add-$scroll<=0&&($j(\"header\").hasClass(\"stick\")||$j(\"header\").hasClass(\"stick_with_left_right_menu\"))?(!(content_menu_position<sticky_amount)||sticky_amount<$scroll?$j(\"nav.content_menu\").css({position:\"fixed\",top:min_header_height_sticky+content_menu_top_add}).addClass(\"fixed\"):$j(\"nav.content_menu\").css({position:\"fixed\",top:0,transition:\"none\"}).addClass(\"fixed\"),$j(\"header.sticky\").addClass(\"no_shadow\"),$j(\".content > .content_inner > .container > .container_inner\").css(\"margin-top\",i),$j(\".content > .content_inner > .full_width\").css(\"margin-top\",i)):content_menu_position-t-content_menu_top_add-$scroll<=0&&$j(\"header\").hasClass(\"fixed_hiding\")?(!(content_menu_position<scroll_amount_for_fixed_hiding)||$scroll>scroll_amount_for_fixed_hiding?$j(\"nav.content_menu\").css({position:\"fixed\",top:min_header_height_fixed_hidden+20+content_menu_top_add}).addClass(\"fixed\"):$j(\"nav.content_menu\").css({position:\"fixed\",top:header_height+min_header_height_fixed_hidden+20+content_menu_top_add}).addClass(\"fixed\"),$j(\".content > .content_inner > .container > .container_inner\").css(\"margin-top\",i),$j(\".content > .content_inner > .full_width\").css(\"margin-top\",i)):content_menu_position-content_menu_top-content_menu_top_add-$scroll<=0&&!$j(\"header\").hasClass(\"stick\")&&!$j(\"header\").hasClass(\"fixed_hidden\")?($j(\"nav.content_menu\").css({position:\"fixed\",top:content_menu_top+content_menu_top_add}).addClass(\"fixed\"),$j(\".content > .content_inner > .container > .container_inner\").css(\"margin-top\",i),$j(\".content > .content_inner > .full_width\").css(\"margin-top\",i)):($j(\"nav.content_menu\").css({position:\"relative\",top:\"0px\"}).removeClass(\"fixed\"),$j(\"header.sticky\").removeClass(\"no_shadow\"),$j(\".content > .content_inner > .container > .container_inner\").css(\"margin-top\",\"0px\"),$j(\".content > .content_inner > .full_width\").css(\"margin-top\",\"0px\")))}function contentMenuOnScroll(){\"use strict\";$j(\"nav.content_menu\").length&&($j(\".content .in_content_menu\").waypoint(function(e){var t;\"down\"===e&&(t=$j(this).data(\"mkd_id\"),$j(\"nav.content_menu.fixed li a\").each(function(){$j(this).attr(\"href\")===t?$j(this).parent().addClass(\"active\"):$j(this).parent().removeClass(\"active\")}))},{offset:\"80%\"}),$j(\".content .in_content_menu\").waypoint(function(e){var t;\"up\"===e&&(t=$j(this).data(\"mkd_id\"),$j(\"nav.content_menu.fixed li a\").each(function(){$j(this).attr(\"href\")===t?$j(this).parent().addClass(\"active\"):$j(this).parent().removeClass(\"active\")}))},{offset:function(){return-($j(this).outerHeight()-250)}}))}var scrollPos=0;function contentMenuCheckLastSection(){\"use strict\";var e,t,i;$j(\".content .in_content_menu\").length&&(e=$scroll,t=$j(\".content .in_content_menu:last\").offset().top+$j(\".content .in_content_menu:last\").height(),i=$j(\".content .in_content_menu:first\").offset().top-$window_height/2,scrollPos<e?t<$scroll&&$j(\"nav.content_menu.fixed li\").removeClass(\"active\"):$scroll<i&&$j(\"nav.content_menu li:first, nav.content_menu ul.menu li:first\").removeClass(\"active\"),scrollPos=e)}function contentMenuScrollTo(){\"use strict\";var o,s=$j(\"html, body\");$j(\"nav.content_menu ul.menu li a\").on(\"click\",function(e){e.preventDefault();var t,i=$j(this),a=i.attr(\"href\");return $j(this).parent().hasClass(\"active\")||(o=$j(\"header.page_header\").hasClass(\"fixed\")&&!$j(\"body\").hasClass(\"vertical_menu_enabled\")?$j(\"header.page_header\").hasClass(\"transparent\")?$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top:header_height-($j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top+content_menu_top_add)/4>=min_header_height_scroll?(t=$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top-header_height-large_menu_item_border)+t/4+t/16+t/64+1:$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top-min_header_height_scroll-large_menu_item_border:$j(\"header.page_header\").hasClass(\"fixed_top_header\")&&!$j(\"body\").hasClass(\"vertical_menu_enabled\")?$j(\"header.page_header\").hasClass(\"transparent\")?$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top:$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top-header_height-large_menu_item_border:$j(\"header.page_header\").hasClass(\"fixed_hiding\")&&!$j(\"body\").hasClass(\"vertical_menu_enabled\")?$j(\"header.page_header\").hasClass(\"transparent\")?$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top:$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top-(header_height+content_menu_top_add+logo_height/2+20)<=scroll_amount_for_fixed_hiding?$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top-content_menu_top_add-header_height-logo_height/2-20:$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top-content_menu_top_add-min_header_height_fixed_hidden-20:!($j(\"header.page_header\").hasClass(\"stick\")||$j(\"header.page_header\").hasClass(\"stick_with_left_right_menu\")&&!$j(\"body\").hasClass(\"vertical_menu_enabled\"))||$j(\"header.page_header\").hasClass(\"transparent\")?$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top:sticky_amount>=$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top?$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top+1:$j(\'[data-mkd_id=\"\'+a+\'\"]\').offset().top-min_header_height_sticky,0<$j(\'[data-mkd_id=\"\'+a+\'\"]\').length&&s.stop().animate({scrollTop:Math.round(o-$j(\"nav.content_menu\").height())},1500,function(){$j(\"nav.content_menu ul li\").removeClass(\"active\"),i.parent().addClass(\"active\")})),!1})}function initButtonHover(){\"use strict\";$j(\".qbutton\").length&&$j(\".qbutton\").each(function(){var e,t,i,a,o,s,n,r,d,l;void 0!==$j(this).data(\"hover-background-color\")&&!1!==$j(this).data(\"hover-background-color\")&&(e=$j(this).data(\"hover-background-color\"),t=$j(this).css(\"background-color\"),$j(this).on(\"mouseenter\",function(){$j(this).css(\"background-color\",e)}).on(\"mouseleave\",function(){$j(this).css(\"background-color\",t)})),void 0!==$j(this).data(\"hover-border-color\")&&!1!==$j(this).data(\"hover-border-color\")&&(i=$j(this).data(\"hover-border-color\"),a=$j(this).css(\"border-top-color\"),$j(this).on(\"mouseenter\",function(){$j(this).css(\"border-color\",i)}).on(\"mouseleave\",function(){$j(this).css(\"border-color\",a)})),void 0!==$j(this).data(\"hover-color\")&&!1!==$j(this).data(\"hover-color\")&&(o=$j(this).data(\"hover-color\"),s=$j(this).css(\"color\"),$j(this).on(\"mouseenter\",function(){$j(this).css(\"color\",o)}).on(\"mouseleave\",function(){$j(this).css(\"color\",s)})),void 0!==$j(this).data(\"icon-background-hover-color\")&&!1!==$j(this).data(\"icon-background-hover-color\")&&(n=$j(this).data(\"icon-background-hover-color\"),$j(this).find(\"i\").length&&(r=$j(this).find(\"i\").css(\"background-color\")),$j(this).find(\"span\").length&&(r=$j(this).find(\"span\").css(\"background-color\")),$j(this).on(\"mouseenter\",function(){$j(this).find(\"i\").css(\"background-color\",n),$j(this).find(\"span\").css(\"background-color\",n)}).on(\"mouseleave\",function(){$j(this).find(\"i\").css(\"background-color\",r),$j(this).find(\"span\").css(\"background-color\",r)})),void 0!==$j(this).data(\"icon-hover-color\")&&!1!==$j(this).data(\"icon-hover-color\")&&(d=$j(this).data(\"icon-hover-color\"),$j(this).find(\"i\").length&&(l=$j(this).find(\"i\").css(\"color\")),$j(this).find(\"span\").length&&(l=$j(this).find(\"span\").css(\"color\")),$j(this).on(\"mouseenter\",function(){$j(this).find(\"i\").css(\"color\",d),$j(this).find(\"span\").css(\"color\",d)}).on(\"mouseleave\",function(){$j(this).find(\"i\").css(\"color\",l),$j(this).find(\"span\").css(\"color\",l)}))})}function initReadMoreButtonHover(){\"use strict\";$j(\".read_more_btn, .holder_read_more_btn\").length&&$j(\".read_more_btn, .holder_read_more_btn\").each(function(){var e,t,i,a,o;void 0!==$j(this).data(\"hover-background-color\")&&!1!==$j(this).data(\"hover-background-color\")&&(e=$j(this).data(\"hover-background-color\"),t=$j(this).css(\"background-color\"),$j(this).on(\"mouseenter\",function(){$j(this).css(\"background-color\",e)}).on(\"mouseleave\",function(){$j(this).css(\"background-color\",t)})),void 0!==$j(this).data(\"hover-icon-color\")&&!1!==$j(this).data(\"hover-icon-color\")&&(i=$j(this).find(\".read_more_button_icon\"),a=$j(this).data(\"hover-icon-color\"),o=i.css(\"color\"),$j(this).on(\"mouseenter\",function(){i.css(\"color\",a)}).on(\"mouseleave\",function(){i.css(\"color\",o)}))})}function initSocialIconHover(){\"use strict\";$j(\".mkd_social_icon_holder\").length&&$j(\".mkd_social_icon_holder\").each(function(){var e,t,i,a,o,s=\"\",n=\"\";void 0!==$j(this).data(\"hover-background-color\")&&!1!==$j(this).data(\"hover-background-color\")&&0===$j(this).find(\".simple_social\").length&&(e=$j(this).data(\"hover-background-color\"),s+=\"background-color: \"+e+\"!important;\"),0===$j(this).find(\".simple_social\").length&&(t=$j(this).find(\".mkd_icon_stack\").css(\"background-color\"),n+=\"background-color: \"+t+\"!important;\"),void 0!==$j(this).data(\"hover-border-color\")&&!1!==$j(this).data(\"hover-border-color\")&&0===$j(this).find(\".simple_social\").length&&(i=$j(this).data(\"hover-border-color\"),s+=\"border-color: \"+i+\"!important;\"),0===$j(this).find(\".simple_social\").length&&(a=$j(this).find(\".mkd_icon_stack\").css(\"border-color\"),n+=\"border-color: \"+a+\"!important;\"),void 0!==$j(this).data(\"hover-color\")&&!1!==$j(this).data(\"hover-color\")&&(o=$j(this).data(\"hover-color\"),s+=\"color: \"+o+\"!important;\");var r=$j(this).css(\"color\");$j(this).find(\".mkd_icon_stack .social_icon\").length?r=$j(this).find(\".mkd_icon_stack\").css(\"color\"):$j(this).find(\".simple_social\").length&&(r=$j(this).find(\".simple_social\").css(\"color\")),n+=\"color: \"+r+\"!important;\",\"\"!==s&&($j(this).find(\".mkd_icon_stack .social_icon\").length?$j(this).find(\".mkd_icon_stack\").on(\"mouseenter\",function(){$j(this).attr(\"style\",function(){return s})}).on(\"mouseleave\",function(){$j(this).attr(\"style\",function(){return n})}):$j(this).find(\".simple_social\").length&&$j(this).find(\".simple_social\").on(\"mouseenter\",function(){$j(this).attr(\"style\",function(){return s})}).on(\"mouseleave\",function(){$j(this).attr(\"style\",function(){return n})}))})}function initIconHover(){\"use strict\";$j(\".mkd_icon_shortcode\").length&&$j(\".mkd_icon_shortcode\").each(function(){if(void 0!==$j(this).data(\"hover-background-color\")||void 0!==$j(this).data(\"hover-border-color\")||void 0!==$j(this).find(\"i, span\").data(\"hover-color\")){var e,t,i,a,o,s=\"\",n=\"\",r=\"\",d=\"\";void 0!==$j(this).data(\"hover-background-color\")&&!1!==$j(this).data(\"hover-background-color\")&&0===$j(this).find(\".normal\").length&&(e=$j(this).data(\"hover-background-color\"),s+=\"background-color: \"+e+\"!important;\"),0===$j(this).find(\".normal\").length&&(a=$j(this).css(\"background-color\"),r+=\"background-color: \"+a+\"!important;\"),void 0!==$j(this).data(\"hover-border-color\")&&!1!==$j(this).data(\"hover-border-color\")&&0===$j(this).find(\".normal\").length&&(t=$j(this).data(\"hover-border-color\"),s+=\"border-color: \"+t+\"!important;\"),0===$j(this).find(\".normal\").length&&(o=$j(this).css(\"border-left-color\"),r+=\"border-color: \"+o+\"!important;\");var l=$j(this).css(\"width\");\"\"!==l&&(s+=\"width: \"+l+\";\",r+=\"width: \"+l+\";\");var h=$j(this).css(\"height\");\"\"!==h&&(s+=\"height: \"+h+\";\",r+=\"height: \"+h+\";\");var c=$j(this).css(\"line-height\");\"\"!==c&&(s+=\"line-height: \"+c+\";\",r+=\"line-height: \"+c+\";\");var _=$j(this).css(\"border-left-style\");\"\"!==_&&(s+=\"border-style: \"+_+\";\",r+=\"border-style: \"+_+\";\");var u=$j(this).css(\"border-left-width\");\"\"!==u&&(s+=\"border-width: \"+u+\"!important;\",r+=\"border-width: \"+u+\"!important;\");var p=$j(this).css(\"border-top-left-radius\");\"\"!==p&&(s+=\"border-radius: \"+p+\"; -moz-border-radius: \"+p+\"; -webkit-border-radius: \"+p+\";\",r+=\"border-radius: \"+p+\"; -moz-border-radius: \"+p+\"; -webkit-border-radius: \"+p+\";\");var m=$j(this).css(\"margin-right\");\"\"!==m&&(s+=\"margin-right: \"+m+\";\",r+=\"margin-right: \"+m+\";\");var f=$j(this).css(\"margin-left\");\"\"!==f&&(s+=\"margin-left: \"+f+\";\",r+=\"margin-left: \"+f+\";\");var $=$j(this).css(\"margin-top\");\"\"!==$&&(s+=\"margin-top: \"+$+\";\",r+=\"margin-top: \"+$+\";\");var g=$j(this).css(\"margin-bottom\");if(\"\"!==g&&(s+=\"margin-bottom: \"+g+\";\",r+=\"margin-bottom: \"+g+\";\"),$j(this).hasClass(\"icon_shadow\")){var j=\"\";if(void 0!==$j(this).data(\"shadow-color\")&&!1!==$j(this).data(\"shadow-color\")){for(var v=$j(this).data(\"shadow-color\"),j=\"text-shadow:1px 1px \"+v,w=2;w<100;w++)j+=\",\"+w+\"px \"+w+\"px \"+v;r+=j+=\";\"}if(void 0!==$j(this).data(\"hover-shadow-color\")&&!1!==$j(this).data(\"hover-shadow-color\")){var b=$j(this).data(\"hover-shadow-color\");for(j=\"text-shadow:1px 1px \"+b,w=2;w<100;w++)j+=\",\"+w+\"px \"+w+\"px \"+b;s+=j+=\";\"}}void 0!==$j(this).find(\"i, span\").data(\"hover-color\")&&!1!==$j(this).find(\"i, span\").data(\"hover-color\")&&(i=$j(this).find(\"i, span\").data(\"hover-color\"),n+=\"color: \"+i+\"!important;\");var k=$j(this).find(\"i, span\").css(\"color\");d+=\"color: \"+k+\";\";var C,y=$j(this).find(\"i, span\").css(\"line-height\");\"\"!==y&&(n+=\"line-height: \"+y+\";\",d+=\"line-height: \"+y+\";\"),0!==$j(this).find(\".normal\").length||0!==$j(this).find(\"span\").length||void 0!==(C=$j(this).find(\"i\").css(\"vertical-align\"))&&(n+=\"vertical-align: \"+C+\";\",d+=\"vertical-align: \"+C+\";\");var x=$j(this).find(\"i, span\").css(\"font-size\");\"\"!==x&&(n+=\"font-size: \"+x+\";\",d+=\"font-size: \"+x+\";\");var M=$j(this).css(\"transition-delay\");\"0s, 0s, 0s\"!==M&&(s+=\"transition-delay: \"+M+\"; -webkit-transition-delay: \"+M+\"; -moz-transition-delay: \"+M+\"; -o-transition-delay: \"+M+\";\",r+=\"transition-delay: \"+M+\"; -webkit-transition-delay: \"+M+\"; -moz-transition-delay: \"+M+\"; -o-transition-delay: \"+M+\";\",n+=\"transition-delay: \"+M+\"; -webkit-transition-delay: \"+M+\"; -moz-transition-delay: \"+M+\"; -o-transition-delay: \"+M+\";\",d+=\"transition-delay: \"+M+\"; -webkit-transition-delay: \"+M+\"; -moz-transition-delay: \"+M+\"; -o-transition-delay: \"+M+\";\"),void 0===e&&void 0===t&&void 0===i||$j(this).on(\"mouseenter\",function(){($j(this).hasClass(\"square\")||$j(this).hasClass(\"circle\"))&&$j(this).attr(\"style\",function(){return s}),void 0!==i&&$j(this).find(\"i, span\").attr(\"style\",function(){return n})}).on(\"mouseleave\",function(){($j(this).hasClass(\"square\")||$j(this).hasClass(\"circle\"))&&$j(this).attr(\"style\",function(){return r}),$j(this).find(\"i, span\").attr(\"style\",function(){return d})})}})}function initInteractiveBannersShader(){\"use strict\";$j(\".mkd_image_with_text_over\").length&&$j(\".mkd_image_with_text_over\").each(function(){var e,t;void 0!==$j(this).children(\".shader\").data(\"hover-background-color\")&&!1!==$j(this).data(\"hover-background-color\")&&(e=$j(this).children(\".shader\").data(\"hover-background-color\"),t=$j(this).children(\".shader\").css(\"background-color\"),$j(this).on(\"mouseenter\",function(){$j(this).children(\".shader\").css(\"background-color\",e)}).on(\"mouseleave\",function(){$j(this).children(\".shader\").css(\"background-color\",t)}))})}function initInteractiveBannersBorderStyle(){\"use strict\";$j(\".mkd_image_with_text_over\").length&&$j(\".mkd_image_with_text_over\").each(function(){var e=\"#969393\";void 0!==$j(this).find(\".front_holder_inner\").data(\"hover-border-color\")&&!1!==$j(this).find(\".front_holder_inner\").data(\"hover-border-color\")&&(e=$j(this).find(\".front_holder_inner\").data(\"hover-border-color\"),$j(this).on(\"mouseenter\",function(){$j(this).find(\".front_holder_inner\").css(\"border-width\",\"1px\"),$j(this).find(\".front_holder_inner\").css(\"border-style\",\"solid\"),$j(this).find(\".front_holder_inner\").css(\"border-color\",e)}).on(\"mouseleave\",function(){$j(this).find(\".front_holder_inner\").css(\"border-width\",\"0\")}))})}var keys=[37,38,39,40];function preventDefaultValue(e){\"use strict\";(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}function keydown(e){\"use strict\";for(var t=keys.length;t--;)if(e.keyCode===keys[t])return void preventDefaultValue(e)}function wheel(e){\"use strict\";preventDefaultValue(e)}function disable_scroll(){\"use strict\";window.addEventListener&&window.addEventListener(\"DOMMouseScroll\",wheel,!1),window.onmousewheel=document.onmousewheel=wheel,document.onkeydown=keydown,$j(\"body\").hasClass(\"smooth_scroll\")&&(window.removeEventListener(\"mousewheel\",smoothScrollListener,!1),window.removeEventListener(\"DOMMouseScroll\",smoothScrollListener,!1))}function enable_scroll(){\"use strict\";window.removeEventListener&&window.removeEventListener(\"DOMMouseScroll\",wheel,!1),window.onmousewheel=document.onmousewheel=document.onkeydown=null,$j(\"body\").hasClass(\"smooth_scroll\")&&(window.addEventListener(\"mousewheel\",smoothScrollListener,!1),window.addEventListener(\"DOMMouseScroll\",smoothScrollListener,!1))}function initPopupMenu(){\"use strict\";$j(\"a.popup_menu\").length&&($j(\".popup_menu_holder_outer\").height($window_height).niceScroll({scrollspeed:30,mousescrollstep:20,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:\"transparent\",autohidemode:!1,horizrailenabled:!1}),$j(window).resize(function(){$j(\".popup_menu_holder_outer\").height($window_height)}),($j(\"body\").hasClass(\"fade_push_text_right\")||$j(\"body\").hasClass(\"fade_push_text_top\"))&&($j(\".fullscreen_above_menu_widget_holder > div\").length?($j(\".popup_menu_holder_outer nav > ul > li > a\").each(function(e){$j(this).css({\"-webkit-animation-delay\":70*(e+1)+\"ms\",\"animation-delay\":70*(e+1)+\"ms\"})}),$j(\".fullscreen_menu_widget_holder > div\").css({\"-webkit-animation-delay\":70*($j(\".popup_menu_holder_outer nav > ul > li > a\").length+1)+\"ms\",\"animation-delay\":70*($j(\".popup_menu_holder_outer nav > ul > li > a\").length+1)+\"ms\"}),$j(\".fullscreen_above_menu_widget_holder > div\").css({\"-webkit-animation-delay\":\"0ms\",\"animation-delay\":\"0ms\"})):($j(\".popup_menu_holder_outer nav > ul > li > a\").each(function(e){$j(this).css({\"-webkit-animation-delay\":70*e+\"ms\",\"animation-delay\":70*e+\"ms\"})}),$j(\".fullscreen_menu_widget_holder > div\").css({\"-webkit-animation-delay\":70*($j(\".popup_menu_holder_outer nav > ul > li > a\").length+1)+\"ms\",\"animation-delay\":70*($j(\".popup_menu_holder_outer nav > ul > li > a\").length+1)+\"ms\"}))),$j(\"a.popup_menu\").on(\"click\",function(e){e.preventDefault(),$j(this).hasClass(\"opened\")?($j(this).removeClass(\"opened\"),$j(\"body\").removeClass(\"popup_menu_opened\"),($j(this).hasClass(\"fade_push_text_right\")||$j(this).hasClass(\"fade_push_text_top\")||$j(this).hasClass(\"fade_text_scaledown\"))&&$j(\"body\").removeClass(\"fade_in\").addClass(\"fade_out\"),$j(this).hasClass(\"fade_push_text_right\")?$j(\"body\").addClass(\"push_nav_right\"):$j(this).hasClass(\"fade_push_text_top\")&&$j(\"body\").addClass(\"push_text_top\"),$j(\"body\").hasClass(\"page-template-full_screen-php\")||enable_scroll(),$j(\"nav.popup_menu ul.sub_menu\").slideUp(200,function(){$j(\"nav.popup_menu\").getNiceScroll().resize()})):($j(this).addClass(\"opened\"),$j(\"body\").addClass(\"popup_menu_opened\"),$j(this).hasClass(\"fade_push_text_right\")?($j(\"body\").addClass(\"fade_in\").removeClass(\"fade_out\"),$j(\"body\").removeClass(\"push_nav_right\")):$j(this).hasClass(\"fade_push_text_top\")?($j(\"body\").addClass(\"fade_in\").removeClass(\"fade_out\"),$j(\"body\").removeClass(\"push_text_top\")):$j(this).hasClass(\"fade_text_scaledown\")&&$j(\"body\").addClass(\"fade_in\").removeClass(\"fade_out\"),$j(\"body\").hasClass(\"page-template-full_screen-php\")||disable_scroll())}),$j(\".popup_menu > ul > li.has_sub > a, .popup_menu > ul > li.has_sub > h6\").on(\"tap click\",function(e){return e.preventDefault(),$j(this).closest(\"li.has_sub\").find(\"> ul.sub_menu\").is(\":visible\")?($j(this).closest(\"li.has_sub\").find(\"> ul.sub_menu\").slideUp(200,function(){$j(\".popup_menu_holder_outer\").getNiceScroll().resize()}),$j(this).closest(\"li.has_sub\").removeClass(\"open_sub\")):($j(this).closest(\"li.has_sub\").addClass(\"open_sub\"),$j(this).closest(\"li.has_sub\").find(\"> ul.sub_menu\").slideDown(200,function(){$j(\".popup_menu_holder_outer\").getNiceScroll().resize()})),!1}),$j(\".popup_menu ul li:not(.has_sub) a\").on(\"click\",function(e){return\"http://#\"!==$j(this).attr(\"href\")&&\"#\"!==$j(this).attr(\"href\")&&void(1===parseInt(e.which)&&($j(\"a.popup_menu\").removeClass(\"opened  \"),$j(\"body\").removeClass(\"popup_menu_opened\"),($j(\"a.popup_menu\").hasClass(\"fade_push_text_right\")||$j(\"a.popup_menu\").hasClass(\"fade_push_text_top\")||$j(\"a.popup_menu\").hasClass(\"fade_text_scaledown\"))&&$j(\"body\").removeClass(\"fade_in\").addClass(\"fade_out\"),$j(\"a.popup_menu\").hasClass(\"fade_push_text_right\")?$j(\"body\").addClass(\"push_nav_right\"):$j(\"a.popup_menu\").hasClass(\"fade_push_text_top\")&&$j(\"body\").addClass(\"push_text_top\"),$j(\"nav.popup_menu ul.sub_menu\").slideUp(200,function(){$j(\"nav.popup_menu\").getNiceScroll().resize()}),enable_scroll()))}))}function initImageGallerySliderNoSpace(){\"use strict\";$j(\".mkd_image_gallery_no_space\").length&&($j(\".mkd_image_gallery_no_space\").each(function(){$j(this).hasClass(\"full_screen_height\")&&($j(this).find(\"ul li img\").each(function(){var e=$window_height/$j(this).height(),t=Math.ceil($j(this).width()*e)-1;$j(this).closest(\"div\").width(t)}),$j(this).find(\".mkd_image_gallery_holder\").height($window_height),$j(this).find(\".mkd_image_gallery_holder ul li div\").height($window_height)),$j(this).animate({opacity:1},1e3),$j(this).find(\".mkd_image_gallery_holder\").lemmonSlider({infinite:!0})}),$j(\".mkd_image_gallery_no_space\").on(\"click\",\"li:not(.active) a\",function(){return!1}))}function initFullScreenTemplate(){\"use strict\";var i,a;$j(\".full_screen_section_slide\").length&&$j(\".full_screen_section_slide\").closest(\".full_screen_section\").addClass(\"full_screen_section_slides\"),$j(\".full_screen_holder\").length&&($j(\"body\").hasClass(\"enable_full_screen_sections_on_small_screens\")||600<$window_width)&&(i=\"\",i=$j(\"header.page_header\").hasClass(\"light\")?\"light\":$j(\"header.page_header\").hasClass(\"dark\")?\"dark\":header_style_admin,$j(\"#up_fs_button\").on(\"click\",function(){return $j.fn.fullpage.moveSectionUp(),!1}),$j(\"#down_fs_button\").on(\"click\",function(){return $j.fn.fullpage.moveSectionDown(),!1}),a=$j(\".full_screen_inner > .full_screen_section\").length,$j(\".full_screen_inner\").fullpage({sectionSelector:\".full_screen_section\",slideSelector:\".full_screen_section_slide\",scrollOverflow:!0,afterLoad:function(e,t){checkActiveArrowsOnFullScrrenTemplate(a,t),checkFullScreenSectionsForHeaderStyle(t,i)},afterRender:function(){checkActiveArrowsOnFullScrrenTemplate(a,1),checkFullScreenSectionsForHeaderStyle(1,i),1!==a&&$j(\".full_screen_holder\").find(\".full_screen_navigation_holder\").css(\"visibility\",\"visible\"),$j(\".full_screen_holder\").find(\".full_screen_inner\").css(\"visibility\",\"visible\"),$j(\".full_screen_preloader\").hide(),$j(\".full_screen_holder video.full_screen_sections_video\").length&&$j(\".full_screen_holder video.full_screen_sections_video\").each(function(){$j(this).get(0).play()})}}))}function checkActiveArrowsOnFullScrrenTemplate(e,t){\"use strict\";1===t?($j(\".full_screen_navigation_holder #up_fs_button\").hide(),t!==parseInt(e)&&$j(\".full_screen_navigation_holder #down_fs_button\").show()):t===e?(2===parseInt(e)&&$j(\".full_screen_navigation_holder #up_fs_button\").show(),$j(\".full_screen_navigation_holder #down_fs_button\").hide()):($j(\".full_screen_navigation_holder #up_fs_button\").show(),$j(\".full_screen_navigation_holder #down_fs_button\").show())}function checkFullScreenSectionsForHeaderStyle(e,t){\"use strict\";var i;0<$j(\"[data-mkd_header_style]\").length&&$j(\"header\").hasClass(\"header_style_on_scroll\")&&(void 0!==$j($j(\".full_screen_holder .full_screen_inner .full_screen_section\")[e-1]).data(\"mkd_header_style\")?(i=$j($j(\".full_screen_holder .full_screen_inner .full_screen_section\")[e-1]).data(\"mkd_header_style\"),$j(\"header\").removeClass(\"dark light\").addClass(i)):$j(\"header\").removeClass(\"dark light\").addClass(t))}function initPortfolioBlurEffect(){\"use strict\";var t=$j(\".prominent_blur_hover\");t.on(\"mouseenter\",function(e){t.addClass(\"active\"),t.not($j(this)).removeClass(\"active\").addClass(\"blur\")}),t.on(\"mouseleave\",function(e){t.removeClass(\"blur\"),t.removeClass(\"active\")})}function initSocialIconsSidebarEffect(){\"use strict\";$j(\"#social_icons_widget\").addClass(\"loaded\")}function initVerticalSplitSlider(){\"use strict\";var s,n;$j(\"html\").hasClass(\"vertical_split_screen_initalized\")&&($j(\"html\").removeClass(\"vertical_split_screen_initalized\"),$j.fn.multiscroll.destroy()),$j(\".vertical_split_slider\").length?(s=\"\",s=$j(\"header.page_header\").hasClass(\"light\")?\"light\":$j(\"header.page_header\").hasClass(\"dark\")?\"dark\":header_style_admin,n=$j(\".vertical_split_slider\").data(\"disable-header-skin-change\"),$j(\".vertical_split_slider_preloader\").fadeOut(500),$j(\".vertical_split_slider\").height($window_height).animate({opacity:1},300),$j(\".vertical_split_slider\").multiscroll({scrollingSpeed:500,navigation:!0,useAnchorsOnLoad:!1,afterRender:function(){checkVerticalSplitSectionsForHeaderStyle($j(\".ms-right .ms-section:last-child\").data(\"header_style\"),s,n),$j(\"html\").addClass(\"vertical_split_screen_initalized\"),initButtonHover(),initSocialIconHover(),initIconHover();var e=jQuery(\"div.wpcf7 > form\");e.length&&e.each(function(){var t=jQuery(this);t.find(\".wpcf7-submit\").off().on(\"click\",function(e){e.preventDefault(),wpcf7.submit(t)})}),initFlexSlider(),initTestimonials();var t=$j(\"<div class=\'vertical_split_slider_responsive\' />\");$j(\".vertical_split_slider\").after(t);for(var i=$j(\".vertical_split_slider .ms-left > div\"),a=$j(\".vertical_split_slider .ms-right > div\"),o=0;o<i.length;o++)t.append($j(i[o]).clone()),t.append($j(a[i.length-1-o]).clone());$j(\".vertical_split_slider_responsive .mkd_google_map\").length&&$j(\".vertical_split_slider_responsive .mkd_google_map\").each(function(){$j(this).empty();var e=Math.floor(1e5*Math.random()+1);$j(this).attr(\"id\",\"map_canvas_\"+e),$j(this).data(\"unique-id\",e)}),showGoogleMap()},onLeave:function(e,t,i){checkVerticalSplitSectionsForHeaderStyle($j($j(\".ms-right .ms-section\")[$j(\".ms-right .ms-section\").length-t]).data(\"header_style\"),s,n)}}),$window_width<=768?$j.fn.multiscroll.destroy():$j.fn.multiscroll.build(),$j(window).resize(function(){$window_width<=768?$j.fn.multiscroll.destroy():$j.fn.multiscroll.build()})):$j(\".full_screen_holder\").length||$j(\"html,body\").css(\"height\",\"auto\")}function checkVerticalSplitSectionsForHeaderStyle(e,t,i){\"use strict\";\"\"!==e?(\"no\"===i&&$j(\"header.page_header\").removeClass(\"dark light\").addClass(e),$j(\"#multiscroll-nav\").removeClass(\"dark light\").addClass(e)):(\"no\"===i&&$j(\"header.page_header\").removeClass(\"dark light\").addClass(t),$j(\"#multiscroll-nav\").removeClass(\"dark light\").addClass(t))}function checkHeaderStyleOnScroll(){\"use strict\";var i,e,t;0<$j(\"[data-mkd_header_style]\").length&&$j(\"header\").hasClass(\"header_style_on_scroll\")&&(i=\"\",i=$j(\"header.page_header\").hasClass(\"light\")?\"light\":$j(\"header.page_header\").hasClass(\"dark\")?\"dark\":header_style_admin,e=$j(\"body\").hasClass(\"paspartu_on_top_fixed\")?Math.round($window_width*paspartu_width):0,t=$j(\"body\").hasClass(\"paspartu_on_bottom_fixed\")?Math.round($window_width*paspartu_width):0,$j(\".full_width_inner > .wpb_row.section, .full_width_inner > .parallax_section_holder, .container_inner > .wpb_row.section, .container_inner > .parallax_section_holder\").waypoint(function(e){var t;\"down\"===e&&(void 0!==$j(this).data(\"mkd_header_style\")?(t=$j(this).data(\"mkd_header_style\"),$j(\"header\").removeClass(\"dark light\").addClass(t)):$j(\"header\").removeClass(\"dark light\").addClass(i))},{offset:0+e}),$j(\".full_width_inner > .wpb_row.section, .full_width_inner > .parallax_section_holder, .container_inner > .wpb_row.section, .container_inner > .parallax_section_holder\").waypoint(function(e){var t;\"up\"===e&&(void 0!==$j(this).data(\"mkd_header_style\")?(t=$j(this).data(\"mkd_header_style\"),$j(\"header\").removeClass(\"dark light\").addClass(t)):$j(\"header\").removeClass(\"dark light\").addClass(i))},{offset:function(){return-$j(this).outerHeight()+t}}))}function checkHolderWidth(){\"use strict\";$j(\".full_width\").length&&$j(\".mkd_elements_holder\").length&&!$j(\".mkd_elements_holder\").parents(\".grid_section\").length&&$j(\".mkd_elements_holder\").each(function(){var e,t=$j(this).width(),i=$j(this).find(\".mkd_elements_item\").length;t%i!=0?(e=t+(i-t%i),$j(this).width(e)):$j(this).removeStyle(\"width\")})}function setServiceTableStyles(){\"use strict\";$j(\".service_table_holder\").length&&$j(\".service_table_holder\").each(function(){var e,t,i;void 0!==$j(this).find(\".service_table_inner\").data(\"icon-back-color\")&&!1!==$j(this).find(\".service_table_inner\").data(\"icon-back-color\")&&(i=$j(this).find(\".service_table_inner\").data(\"icon-back-color\"),$j(this).find(\".service_icon\").css(\"background-color\",i)),void 0!==$j(this).find(\".service_table_inner\").data(\"icon-padding-top\")&&!1!==$j(this).find(\".service_table_inner\").data(\"icon-padding-top\")&&(e=$j(this).find(\".service_table_inner\").data(\"icon-padding-top\"),$j(this).find(\".service_icon>span\").css(\"padding-top\",e+\"px\")),void 0!==$j(this).find(\".service_table_inner\").data(\"icon-padding-bottom\")&&!1!==$j(this).find(\".service_table_inner\").data(\"icon-padding-bottom\")&&(t=$j(this).find(\".service_table_inner\").data(\"icon-padding-bottom\"),$j(this).find(\".service_icon>span\").css(\"padding-bottom\",t+\"px\"))})}function initProcessHeightWidth(){\"use strict\";$j(\".mkd_circles_shortcode\").length&&$j(\".mkd_circles_shortcode\").each(function(){var e,t,i;void 0!==$j(this).find(\".mkd_circles_holder\").data(\"proces-height\")&&!1!==$j(this).find(\".mkd_circles_holder\").data(\"proces-height\")&&(i=(e=$j(this).find(\".mkd_circles_holder\").data(\"proces-height\"))/2,e+=\"px\",i+=\"px\",$j(this).find(\".mkd_circles_holder.with_lines .circle_line_holder\").css(\"top\",i),$j(this).find(\".mkd_circles_holder .mkd_circle_inner\").css(\"height\",e)),void 0!==$j(this).find(\".mkd_circles_holder\").data(\"proces-width\")&&!1!==$j(this).find(\".mkd_circles_holder\").data(\"proces-width\")&&(t=$j(this).find(\".mkd_circles_holder\").data(\"proces-width\"),t+=\"px\",$j(this).find(\".mkd_circles_holder .mkd_circle_inner\").css(\"width\",t))})}function initCustomFontResize(){\"use strict\";$j(\".custom_font_holder\").length&&$j(\".custom_font_holder\").each(function(){var e,t=1,i=1;$window_width<1200&&(t=.8),$window_width<1e3&&(t=.7),$window_width<768&&(t=.6,i=.7),$window_width<600&&(i=t=.5),$window_width<480&&(i=t=.4),void 0!==$j(this).data(\"font-size\")&&!1!==$j(this).data(\"font-size\")&&(35<(e=$j(this).data(\"font-size\"))&&(e=Math.round(e*i)),70<e&&(e=Math.round(e*t)),$j(this).css(\"font-size\",e+\"px\")),void 0!==$j(this).data(\"line-height\")&&!1!==$j(this).data(\"line-height\")&&35<$j(this).data(\"line-height\")&&$window_width<1200&&$j(this).css(\"line-height\",\"1em\")})}function initVerticalTabsContentHeight(){\"use strict\";$j(\".mkd_tabs.vertical\").each(function(){$j(this).find(\".tabs-container\").css(\"min-height\",$j(this).find(\".tabs-nav\").height())})}function initVerticalTabsWidth(){\"use strict\";$j(\".mkd_tabs.vertical:not(.default)\").each(function(){var e=$j(this),t=e.find(\".tabs-nav\").width();e.find(\".tabs-nav li a\").css(\"min-width\",t)})}function initTabsStyle(){$j(\".mkd_tabs\").length&&$j(\".mkd_tabs\").each(function(){var e;void 0!==$j(this).data(\"tab-border-radius\")&&!1!==$j(this).data(\"tab-border-radius\")&&(e=$j(this).data(\"tab-border-radius\"),$j(this).find(\".tabs-nav li a\").css(\"border-radius\",e+\"px\"),$j(this).find(\".tabs-nav li\").css(\"border-radius\",e+\"px\"))})}function preloadBackgrounds(){\"use strict\";$j(\".preload_background \").each(function(){var e,t,i=$j(this);\"\"!==i.css(\"background-image\")&&\"none\"!==i.css(\"background-image\")?(t=(t=(t=i.attr(\"style\")).match(/url\\([\"\']?([^\'\")]+)[\'\"]?\\)/))?t[1]:\"\")&&((e=new Image).src=t,$j(e).on(\"load\",function(){i.removeClass(\"preload_background\"),initParallaxTitle()})):$j(window).on(\"load\",function(){i.removeClass(\"preload_background\")})})}function setVideoHeightAndWidth(){\"use strict\";$j(\"div.wp-video .wp-video-shortcode video\").each(function(){var e=$j(this),t=e.attr(\"width\"),i=e.attr(\"height\");e.attr(\"id\");e.parent(\".wp-video-shortcode\").css(\"height\",i),e.parent(\".wp-video-shortcode\").css(\"width\",t)})}function createTabIcons(){\"use strict\";$j(\".tabs-container > .tab-content\").each(function(){var e=$j(this).attr(\"id\"),t=\"\";void 0!==$j(this).data(\"icon-html\")&&(t=$j(this).data(\"icon-html\"));var i=$j(this).parents(\".mkd_tabs\").find(\'ul.tabs-nav > li > a[href=\"#\'+e+\'\"]\');void 0!==i&&i.children(\".icon_frame\").append(t)})}function initMikadoElementAnimationSkrollr(){\"use strict\";0===$j(\".no-touch .carousel\").length&&$j(\".no-touch .mkd_elements_holder > .mkd_elements_item\").each(function(){if((void 0!==$j(this).data(\"animation\")||void 0!==$j(\".title_outer\").data(\"animation\"))&&\"yes\"===$j(this).data(\"animation\"))return skrollr.init({smoothScrolling:!1,forceHeight:!1}).refresh(),!1})}function getIconClassesForNavigation(e){\"use strict\";var t=\"\",i=\"\";switch(e){case\"arrow_carrot-left_alt2\":t=\"arrow_carrot-left_alt2\",i=\"arrow_carrot-right_alt2\";break;case\"arrow_carrot-2left_alt2\":t=\"arrow_carrot-2left_alt2\",i=\"arrow_carrot-2right_alt2\";break;case\"arrow_triangle-left_alt2\":t=\"arrow_triangle-left_alt2\",i=\"arrow_triangle-right_alt2\";break;case\"icon-arrows-drag-left-dashed\":case\"icon-arrows-drag-left-dashed\":t=\"icon-arrows-drag-left-dashed\",i=\"icon-arrows-drag-right-dashed\";break;case\"icon-arrows-left-double-32\":t=\"icon-arrows-left-double-32\",i=\"icon-arrows-right-double\";break;case\"icon-arrows-slide-left1\":t=\"icon-arrows-slide-left1\",i=\"icon-arrows-slide-right1\";break;case\"icon-arrows-slide-left2\":t=\"icon-arrows-slide-left2\",i=\"icon-arrows-slide-right2\";break;case\"icon-arrows-slim-left-dashed\":t=\"icon-arrows-slim-left-dashed\",i=\"icon-arrows-slim-right-dashed\";break;case\"ion-arrow-left-a\":t=\"ion-arrow-left-a\",i=\"ion-arrow-right-a\";break;case\"ion-arrow-left-b\":t=\"ion-arrow-left-b\",i=\"ion-arrow-right-b\";break;case\"ion-arrow-left-c\":t=\"ion-arrow-left-c\",i=\"ion-arrow-right-c\";break;case\"ion-ios-arrow-\":t=e+\"back\",i=e+\"forward\";break;case\"ion-ios-fastforward\":t=\"ion-ios-rewind\",i=\"ion-ios-fastforward\";break;case\"ion-ios-fastforward-outline\":t=\"ion-ios-rewind-outline\",i=\"ion-ios-fastforward-outline\";break;case\"ion-ios-skipbackward\":t=\"ion-ios-skipbackward\",i=\"ion-ios-skipforward\";break;case\"ion-ios-skipbackward-outline\":t=\"ion-ios-skipbackward-outline\",i=\"ion-ios-skipforward-outline\";break;case\"ion-android-arrow-\":t=e+\"back\",i=e+\"forward\";break;case\"ion-android-arrow-dropleft-circle\":t=\"ion-android-arrow-dropleft-circle\",i=\"ion-android-arrow-dropright-circle\";break;default:t=e+\"left\",i=e+\"right\"}return{leftIconClass:t,rightIconClass:i}}function eltdInitSingleProductLightbox(){var e=$j(\".single-product .images .woocommerce-product-gallery__image\");e.length&&e.children(\"a\").attr(\"data-rel\",\"prettyPhoto[product-gallery]\")}function initnitElementsHolderResponsiveStyle(){var e=$j(\".mkd_elements_holder\");e.length&&e.each(function(){var e=$j(this).find(\".mkd_elements_item_content\"),t=\"\",d=\"\";e.each(function(){var e=$j(this),t=\"\",i=\"\",a=\"\",o=\"\",s=\"\",n=\"\",r=\"\";void 0!==e.data(\"item-class\")&&!1!==e.data(\"item-class\")&&(t=e.data(\"item-class\")),void 0!==e.data(\"1300-1600\")&&!1!==e.data(\"1000-1300\")&&(i=e.data(\"1300-1600\")),void 0!==e.data(\"1000-1300\")&&!1!==e.data(\"1000-1300\")&&(a=e.data(\"1000-1300\")),void 0!==e.data(\"768-1000\")&&!1!==e.data(\"768-1000\")&&(o=e.data(\"768-1000\")),void 0!==e.data(\"600-768\")&&!1!==e.data(\"600-768\")&&(s=e.data(\"600-768\")),void 0!==e.data(\"480-600\")&&!1!==e.data(\"480-600\")&&(n=e.data(\"480-600\")),void 0!==e.data(\"480\")&&!1!==e.data(\"480\")&&(r=e.data(\"480\")),(i.length||a.length||o.length||s.length||n.length||r.length)&&(i.length&&(d+=\"@media only screen and (min-width: 1300px) and (max-width: 1600px) {.mkd_elements_item_content.\"+t+\" { padding: \"+a+\" !important; } }\"),a.length&&(d+=\"@media only screen and (min-width: 1000px) and (max-width: 1300px) {.mkd_elements_item_content.\"+t+\" { padding: \"+a+\" !important; } }\"),o.length&&(d+=\"@media only screen and (min-width: 768px) and (max-width: 1000px) {.mkd_elements_item_content.\"+t+\" { padding: \"+o+\" !important; } }\"),s.length&&(d+=\"@media only screen and (min-width: 600px) and (max-width: 768px) {.mkd_elements_item_content.\"+t+\" { padding: \"+s+\" !important; } }\"),n.length&&(d+=\"@media only screen and (min-width: 480px) and (max-width: 600px) {.mkd_elements_item_content.\"+t+\" { padding: \"+n+\" !important; } }\"),r.length&&(d+=\"@media only screen and (max-width: 480px) {.mkd_elements_item_content.\"+t+\" { padding: \"+r+\" !important; } }\"))}),d.length&&(t=\'<style type=\"text/css\">\'+d+\"</style>\"),t.length&&$j(\"head\").append(t)})}','9061b380fcfa648f7169eb5b6bbd42d1',1,1,'2021-08-05 17:27:28','2021-08-16 14:31:32'),(75,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/blog.min.js?ver=5.8','js','','var $j=jQuery.noConflict();function fitAudio(){\"use strict\";$j(\"audio.blog_audio\").mediaelementplayer({audioWidth:\"100%\"})}function initBlog(){\"use strict\";var i,r;$j(\".blog_holder.masonry\").length&&((i=$j(\".blog_holder.masonry\")).isotope({itemSelector:\"article\",resizable:!1,masonry:{columnWidth:\".blog_holder_grid_sizer\",gutter:\".blog_holder_grid_gutter\"}}),$j(\".filter\").on(\"click\",function(){var o=$j(this).attr(\"data-filter\");return i.isotope({filter:o}),!1}),i.hasClass(\"masonry_infinite_scroll\")?i.infinitescroll({navSelector:\".blog_infinite_scroll_button span\",nextSelector:\".blog_infinite_scroll_button span a\",itemSelector:\"article\",loading:{finishedMsg:finished_text,msgText:loading_text}},function(o){i.append(o).isotope(\"appended\",$j(o)),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(\".blog_holder.masonry\").isotope(\"layout\")},400)}):i.hasClass(\"masonry_load_more\")&&(r=1,$j(\".blog_load_more_button a\").on(\"click\",function(o){o.preventDefault();var t=$j(this).attr(\"href\"),e=\".blog_load_more_button a\",l=$j(e).attr(\"href\");$j.get(t+\"\",function(o){var t=$j(\".masonry_load_more\",o).wrapInner(\"\").html();l=$j(e,o).attr(\"href\"),i.append($j(t)).isotope(\"reloadItems\").isotope({sortBy:\"original-order\"}),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(\".blog_holder.masonry\").isotope(\"layout\")},400),$j(\".blog_load_more_button span\").data(\"rel\")>r?$j(\".blog_load_more_button a\").attr(\"href\",l):$j(\".blog_load_more_button\").remove()}),r++})),$j(\".blog_holder.masonry, .blog_load_more_button_holder\").animate({opacity:\"1\"},400,function(){$j(\".blog_holder.masonry\").isotope(\"layout\")}))}function initBlogMasonryGallery(){\"use strict\";var i,r;resizeBlogMasonryGallery($j(\".blog_holder_grid_sizer\").width()),$j(\".blog_holder.blog_masonry_gallery\").length&&($j(\".blog_holder.blog_masonry_gallery\").each(function(){var o=$j(this);o.waitForImages(function(){o.animate({opacity:1}),o.isotope({itemSelector:\"article\",masonry:{columnWidth:\".blog_holder_grid_sizer\"}})})}),(i=$j(\".blog_holder.blog_masonry_gallery\")).hasClass(\"masonry_infinite_scroll\")?i.infinitescroll({navSelector:\".blog_infinite_scroll_button span\",nextSelector:\".blog_infinite_scroll_button span a\",itemSelector:\"article\",loading:{finishedMsg:finished_text,msgText:loading_text}},function(o){i.isotope(\"appended\",$j(o)),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(\".blog_holder.blog_masonry_gallery\").isotope(\"layout\")},400)}):i.hasClass(\"masonry_load_more\")&&(r=1,$j(\".blog_load_more_button a\").on(\"click\",function(o){o.preventDefault();var t=$j(this).attr(\"href\"),e=\".blog_load_more_button a\",l=$j(e).attr(\"href\");$j.get(t+\"\",function(o){var t=$j(\".masonry_load_more\",o).wrapInner(\"\").html();l=$j(e,o).attr(\"href\"),i.append($j(t)).isotope(\"reloadItems\").isotope({sortBy:\"original-order\"}),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(\".blog_holder.blog_masonry_gallery\").isotope(\"layout\")},400),$j(\".blog_load_more_button span\").data(\"rel\")>r?$j(\".blog_load_more_button a\").attr(\"href\",l):$j(\".blog_load_more_button\").remove()}),r++})),$j(window).resize(function(){resizeBlogMasonryGallery($j(\".blog_holder_grid_sizer\").width()),$j(\".blog_holder.blog_masonry_gallery\").isotope(\"reloadItems\")}))}function resizeBlogMasonryGallery(o){\"use strict\";var t=$j(\".blog_holder.blog_masonry_gallery .rectangle_portrait\"),e=$j(\".blog_holder.blog_masonry_gallery .rectangle_landscape\"),l=$j(\".blog_holder.blog_masonry_gallery .square_big\"),i=$j(\".blog_holder.blog_masonry_gallery .square_small\");t.css(\"height\",2*o),e.css(\"height\",o),l.css(\"height\",2*o),l.width()<350&&l.css(\"height\",l.width()),i.css(\"height\",o)}function initBlogMasonryFullWidth(){\"use strict\";var i,r;$j(\".masonry_full_width\").length&&(i=$j(\".masonry_full_width\"),$j(\".filter\").on(\"click\",function(){var o=$j(this).attr(\"data-filter\");return i.isotope({filter:o}),!1}),i.hasClass(\"masonry_infinite_scroll\")?i.infinitescroll({navSelector:\".blog_infinite_scroll_button span\",nextSelector:\".blog_infinite_scroll_button span a\",itemSelector:\"article\",loading:{finishedMsg:finished_text,msgText:loading_text}},function(o){i.isotope(\"appended\",$j(o)),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(\".blog_holder.masonry_full_width\").isotope(\"layout\")},400)}):i.hasClass(\"masonry_load_more\")&&(r=1,$j(\".blog_load_more_button a\").on(\"click\",function(o){o.preventDefault();var t=$j(this).attr(\"href\"),e=\".blog_load_more_button a\",l=$j(e).attr(\"href\");$j.get(t+\"\",function(o){var t=$j(\".masonry_load_more\",o).wrapInner(\"\").html();l=$j(e,o).attr(\"href\"),i.append($j(t)).isotope(\"reloadItems\").isotope({sortBy:\"original-order\"}),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(\".blog_holder.masonry_full_width\").isotope(\"layout\")},400),$j(\".blog_load_more_button span\").data(\"rel\")>r?$j(\".blog_load_more_button a\").attr(\"href\",l):$j(\".blog_load_more_button\").remove()}),r++})),i.isotope({itemSelector:\"article\",resizable:!1,masonry:{columnWidth:\".blog_holder_grid_sizer\",gutter:\".blog_holder_grid_gutter\"}}),$j(\".masonry_full_width, .blog_load_more_button_holder\").animate({opacity:\"1\"},400,function(){$j(\".blog_holder.masonry_full_width\").isotope(\"layout\")}))}$j(document).ready(function(){\"use strict\";fitAudio()}),$j(window).on(\"load\",function(){\"use strict\";initBlog(),initBlogMasonryFullWidth(),initBlogMasonryGallery()}),$j(window).resize(function(){fitAudio(),initBlog(),initBlogMasonryFullWidth(),initBlogMasonryGallery()})','e4e23e64335f6a5df610571f452f18fb',1,1,'2021-08-05 17:27:29','2021-08-16 14:31:32'),(76,'https://thompson.justwebagency.com/stalpartnerold/wp-content/themes/onyx/js/plugins/smooth_scroll/TweenLite.min.js?ver=5.8','js','','/*!\n * VERSION: 1.13.2\n * DATE: 2014-08-23\n * UPDATES AND DOCS AT: http://www.greensock.com\n *\n * @license Copyright (c) 2008-2014, GreenSock. All rights reserved.\n * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for\n * Club GreenSock members, the software agreement that was issued with your membership.\n * \n * @author: Jack Doyle, jack@greensock.com\n */\n(function(t,e){\"use strict\";var i=t.GreenSockGlobals=t.GreenSockGlobals||t;if(!i.TweenLite){var s,n,r,a,o,l=function(t){var e,s=t.split(\".\"),n=i;for(e=0;s.length>e;e++)n[s[e]]=n=n[s[e]]||{};return n},h=l(\"com.greensock\"),_=1e-10,u=function(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i},m=function(){},f=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||\"object\"==typeof i&&!!i.push&&t.call(i)===e)}}(),p={},c=function(s,n,r,a){this.sc=p[s]?p[s].sc:[],p[s]=this,this.gsClass=null,this.func=r;var o=[];this.check=function(h){for(var _,u,m,f,d=n.length,v=d;--d>-1;)(_=p[n[d]]||new c(n[d],[])).gsClass?(o[d]=_.gsClass,v--):h&&_.sc.push(this);if(0===v&&r)for(u=(\"com.greensock.\"+s).split(\".\"),m=u.pop(),f=l(u.join(\".\"))[m]=this.gsClass=r.apply(r,o),a&&(i[m]=f,\"function\"==typeof define&&define.amd?define((t.GreenSockAMDPath?t.GreenSockAMDPath+\"/\":\"\")+s.split(\".\").pop(),[],function(){return f}):s===e&&\"undefined\"!=typeof module&&module.exports&&(module.exports=f)),d=0;this.sc.length>d;d++)this.sc[d].check()},this.check(!0)},d=t._gsDefine=function(t,e,i,s){return new c(t,e,i,s)},v=h._class=function(t,e,i){return e=e||function(){},d(t,[],function(){return e},i),e};d.globals=i;var g=[0,0,1,1],T=[],y=v(\"easing.Ease\",function(t,e,i,s){this._func=t,this._type=i||0,this._power=s||0,this._params=e?g.concat(e):g},!0),w=y.map={},P=y.register=function(t,e,i,s){for(var n,r,a,o,l=e.split(\",\"),_=l.length,u=(i||\"easeIn,easeOut,easeInOut\").split(\",\");--_>-1;)for(r=l[_],n=s?v(\"easing.\"+r,null,!0):h.easing[r]||{},a=u.length;--a>-1;)o=u[a],w[r+\".\"+o]=w[o+r]=n[o]=t.getRatio?t:t[o]||new t};for(r=y.prototype,r._calcEnd=!1,r.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,s=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?s*=s:2===i?s*=s*s:3===i?s*=s*s*s:4===i&&(s*=s*s*s*s),1===e?1-s:2===e?s:.5>t?s/2:1-s/2},s=[\"Linear\",\"Quad\",\"Cubic\",\"Quart\",\"Quint,Strong\"],n=s.length;--n>-1;)r=s[n]+\",Power\"+n,P(new y(null,null,1,n),r,\"easeOut\",!0),P(new y(null,null,2,n),r,\"easeIn\"+(0===n?\",easeNone\":\"\")),P(new y(null,null,3,n),r,\"easeInOut\");w.linear=h.easing.Linear.easeIn,w.swing=h.easing.Quad.easeInOut;var b=v(\"events.EventDispatcher\",function(t){this._listeners={},this._eventTarget=t||this});r=b.prototype,r.addEventListener=function(t,e,i,s,n){n=n||0;var r,l,h=this._listeners[t],_=0;for(null==h&&(this._listeners[t]=h=[]),l=h.length;--l>-1;)r=h[l],r.c===e&&r.s===i?h.splice(l,1):0===_&&n>r.pr&&(_=l+1);h.splice(_,0,{c:e,s:i,up:s,pr:n}),this!==a||o||a.wake()},r.removeEventListener=function(t,e){var i,s=this._listeners[t];if(s)for(i=s.length;--i>-1;)if(s[i].c===e)return s.splice(i,1),void 0},r.dispatchEvent=function(t){var e,i,s,n=this._listeners[t];if(n)for(e=n.length,i=this._eventTarget;--e>-1;)s=n[e],s.up?s.c.call(s.s||i,{type:t,target:i}):s.c.call(s.s||i)};var k=t.requestAnimationFrame,A=t.cancelAnimationFrame,S=Date.now||function(){return(new Date).getTime()},x=S();for(s=[\"ms\",\"moz\",\"webkit\",\"o\"],n=s.length;--n>-1&&!k;)k=t[s[n]+\"RequestAnimationFrame\"],A=t[s[n]+\"CancelAnimationFrame\"]||t[s[n]+\"CancelRequestAnimationFrame\"];v(\"Ticker\",function(t,e){var i,s,n,r,l,h=this,u=S(),f=e!==!1&&k,p=500,c=33,d=function(t){var e,a,o=S()-x;o>p&&(u+=o-c),x+=o,h.time=(x-u)/1e3,e=h.time-l,(!i||e>0||t===!0)&&(h.frame++,l+=e+(e>=r?.004:r-e),a=!0),t!==!0&&(n=s(d)),a&&h.dispatchEvent(\"tick\")};b.call(h),h.time=h.frame=0,h.tick=function(){d(!0)},h.lagSmoothing=function(t,e){p=t||1/_,c=Math.min(e,p,0)},h.sleep=function(){null!=n&&(f&&A?A(n):clearTimeout(n),s=m,n=null,h===a&&(o=!1))},h.wake=function(){null!==n?h.sleep():h.frame>10&&(x=S()-p+5),s=0===i?m:f&&k?k:function(t){return setTimeout(t,0|1e3*(l-h.time)+1)},h===a&&(o=!0),d(2)},h.fps=function(t){return arguments.length?(i=t,r=1/(i||60),l=this.time+r,h.wake(),void 0):i},h.useRAF=function(t){return arguments.length?(h.sleep(),f=t,h.fps(i),void 0):f},h.fps(t),setTimeout(function(){f&&(!n||5>h.frame)&&h.useRAF(!1)},1500)}),r=h.Ticker.prototype=new h.events.EventDispatcher,r.constructor=h.Ticker;var R=v(\"core.Animation\",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=e.immediateRender===!0,this.data=e.data,this._reversed=e.reversed===!0,B){o||a.wake();var i=this.vars.useFrames?q:B;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});a=R.ticker=new h.Ticker,r=R.prototype,r._dirty=r._gc=r._initted=r._paused=!1,r._totalTime=r._time=0,r._rawPrevTime=-1,r._next=r._last=r._onUpdate=r._timeline=r.timeline=null,r._paused=!1;var C=function(){o&&S()-x>2e3&&a.wake(),setTimeout(C,2e3)};C(),r.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},r.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},r.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},r.seek=function(t,e){return this.totalTime(Number(t),e!==!1)},r.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,e!==!1,!0)},r.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},r.render=function(){},r.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},r.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime())>=i&&i+this.totalDuration()/this._timeScale>t},r._enabled=function(t,e){return o||a.wake(),this._gc=!t,this._active=this.isActive(),e!==!0&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},r._kill=function(){return this._enabled(!1,!1)},r.kill=function(t,e){return this._kill(t,e),this},r._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},r._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)\"{self}\"===t[e]&&(i[e]=this);return i},r.eventCallback=function(t,e,i,s){if(\"on\"===(t||\"\").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+\"Params\"]=f(i)&&-1!==i.join(\"\").indexOf(\"{self}\")?this._swapSelfInParams(i):i,n[t+\"Scope\"]=s),\"onUpdate\"===t&&(this._onUpdate=e)}return this},r.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},r.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},r.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},r.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},r.totalTime=function(t,e,i){if(o||a.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var s=this._totalDuration,n=this._timeline;if(t>s&&!i&&(t=s),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?s-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(this.render(t,e,!1),O.length&&M())}return this},r.progress=r.totalProgress=function(t,e){return arguments.length?this.totalTime(this.duration()*t,e):this._time/this.duration()},r.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},r.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||_,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},r.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},r.paused=function(t){if(!arguments.length)return this._paused;if(t!=this._paused&&this._timeline){o||t||a.wake();var e=this._timeline,i=e.rawTime(),s=i-this._pauseTime;!t&&e.smoothChildTiming&&(this._startTime+=s,this._uncache(!1)),this._pauseTime=t?i:null,this._paused=t,this._active=this.isActive(),!t&&0!==s&&this._initted&&this.duration()&&this.render(e.smoothChildTiming?this._totalTime:(i-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!t&&this._enabled(!0,!1),this};var D=v(\"core.SimpleTimeline\",function(t){R.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});r=D.prototype=new R,r.constructor=D,r.kill()._gc=!1,r._first=r._last=null,r._sortChildren=!1,r.add=r.insert=function(t,e){var i,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),i=this._last,this._sortChildren)for(s=t._startTime;i&&i._startTime>s;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._timeline&&this._uncache(!0),this},r._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,this._timeline&&this._uncache(!0)),this},r.render=function(t,e,i){var s,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)s=n._next,(n._active||t>=n._startTime&&!n._paused)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=s},r.rawTime=function(){return o||a.wake(),this._totalTime};var I=v(\"TweenLite\",function(e,i,s){if(R.call(this,i,s),this.render=I.prototype.render,null==e)throw\"Cannot tween a null target.\";this.target=e=\"string\"!=typeof e?e:I.selector(e)||e;var n,r,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?Q[I.defaultOverwrite]:\"number\"==typeof l?l>>0:Q[l],(o||e instanceof Array||e.push&&f(e))&&\"number\"!=typeof e[0])for(this._targets=a=u(e),this._propLookup=[],this._siblings=[],n=0;a.length>n;n++)r=a[n],r?\"string\"!=typeof r?r.length&&r!==t&&r[0]&&(r[0]===t||r[0].nodeType&&r[0].style&&!r.nodeType)?(a.splice(n--,1),this._targets=a=a.concat(u(r))):(this._siblings[n]=$(r,this,!1),1===l&&this._siblings[n].length>1&&K(r,this,null,1,this._siblings[n])):(r=a[n--]=I.selector(r),\"string\"==typeof r&&a.splice(n+1,1)):a.splice(n--,1);else this._propLookup={},this._siblings=$(e,this,!1),1===l&&this._siblings.length>1&&K(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-_,this.render(-this._delay))},!0),E=function(e){return e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)},z=function(t,e){var i,s={};for(i in t)G[i]||i in e&&\"transform\"!==i&&\"x\"!==i&&\"y\"!==i&&\"width\"!==i&&\"height\"!==i&&\"className\"!==i&&\"border\"!==i||!(!U[i]||U[i]&&U[i]._autoCSS)||(s[i]=t[i],delete t[i]);t.css=s};r=I.prototype=new R,r.constructor=I,r.kill()._gc=!1,r.ratio=0,r._firstPT=r._targets=r._overwrittenProps=r._startAt=null,r._notifyPluginsOfEnabled=r._lazy=!1,I.version=\"1.13.2\",I.defaultEase=r._ease=new y(null,null,1,1),I.defaultOverwrite=\"auto\",I.ticker=a,I.autoSleep=!0,I.lagSmoothing=function(t,e){a.lagSmoothing(t,e)},I.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(I.selector=i,i(e)):\"undefined\"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById(\"#\"===e.charAt(0)?e.substr(1):e)};var O=[],L={},N=I._internals={isArray:f,isSelector:E,lazyTweens:O},U=I._plugins={},F=N.tweenLookup={},j=0,G=N.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1},Q={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,\"true\":1,\"false\":0},q=R._rootFramesTimeline=new D,B=R._rootTimeline=new D,M=N.lazyRender=function(){var t=O.length;for(L={};--t>-1;)s=O[t],s&&s._lazy!==!1&&(s.render(s._lazy[0],s._lazy[1],!0),s._lazy=!1);O.length=0};B._startTime=a.time,q._startTime=a.frame,B._active=q._active=!0,setTimeout(M,1),R._updateRoot=I.render=function(){var t,e,i;if(O.length&&M(),B.render((a.time-B._startTime)*B._timeScale,!1,!1),q.render((a.frame-q._startTime)*q._timeScale,!1,!1),O.length&&M(),!(a.frame%120)){for(i in F){for(e=F[i].tweens,t=e.length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete F[i]}if(i=B._first,(!i||i._paused)&&I.autoSleep&&!q._first&&1===a._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||a.sleep()}}},a.addEventListener(\"tick\",R._updateRoot);var $=function(t,e,i){var s,n,r=t._gsTweenID;if(F[r||(t._gsTweenID=r=\"t\"+j++)]||(F[r]={target:t,tweens:[]}),e&&(s=F[r].tweens,s[n=s.length]=e,i))for(;--n>-1;)s[n]===e&&s.splice(n,1);return F[r].tweens},K=function(t,e,i,s,n){var r,a,o,l;if(1===s||s>=4){for(l=n.length,r=0;l>r;r++)if((o=n[r])!==e)o._gc||o._enabled(!1,!1)&&(a=!0);else if(5===s)break;return a}var h,u=e._startTime+_,m=[],f=0,p=0===e._duration;for(r=n.length;--r>-1;)(o=n[r])===e||o._gc||o._paused||(o._timeline!==e._timeline?(h=h||H(e,0,p),0===H(o,h,p)&&(m[f++]=o)):u>=o._startTime&&o._startTime+o.totalDuration()/o._timeScale>u&&((p||!o._initted)&&2e-10>=u-o._startTime||(m[f++]=o)));for(r=f;--r>-1;)o=m[r],2===s&&o._kill(i,t)&&(a=!0),(2!==s||!o._firstPT&&o._initted)&&o._enabled(!1,!1)&&(a=!0);return a},H=function(t,e,i){for(var s=t._timeline,n=s._timeScale,r=t._startTime;s._timeline;){if(r+=s._startTime,n*=s._timeScale,s._paused)return-100;s=s._timeline}return r/=n,r>e?r-e:i&&r===e||!t._initted&&2*_>r-e?_:(r+=t.totalDuration()/t._timeScale/n)>e+_?0:r-e-_};r._init=function(){var t,e,i,s,n,r=this.vars,a=this._overwrittenProps,o=this._duration,l=!!r.immediateRender,h=r.ease;if(r.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),n={};for(s in r.startAt)n[s]=r.startAt[s];if(n.overwrite=!1,n.immediateRender=!0,n.lazy=l&&r.lazy!==!1,n.startAt=n.delay=null,this._startAt=I.to(this.target,0,n),l)if(this._time>0)this._startAt=null;else if(0!==o)return}else if(r.runBackwards&&0!==o)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(l=!1),i={};for(s in r)G[s]&&\"autoCSS\"!==s||(i[s]=r[s]);if(i.overwrite=0,i.data=\"isFromStart\",i.lazy=l&&r.lazy!==!1,i.immediateRender=l,this._startAt=I.to(this.target,0,i),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=h=h?h instanceof y?h:\"function\"==typeof h?new y(h,r.easeParams):w[h]||I.defaultEase:I.defaultEase,r.easeParams instanceof Array&&h.config&&(this._ease=h.config.apply(h,r.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(t=this._targets.length;--t>-1;)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],a?a[t]:null)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,a);if(e&&I._onPluginEvent(\"_onInitAllProps\",this),a&&(this._firstPT||\"function\"!=typeof this.target&&this._enabled(!1,!1)),r.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=r.onUpdate,this._initted=!0},r._initProps=function(e,i,s,n){var r,a,o,l,h,_;if(null==e)return!1;L[e._gsTweenID]&&M(),this.vars.css||e.style&&e!==t&&e.nodeType&&U.css&&this.vars.autoCSS!==!1&&z(this.vars,e);for(r in this.vars){if(_=this.vars[r],G[r])_&&(_ instanceof Array||_.push&&f(_))&&-1!==_.join(\"\").indexOf(\"{self}\")&&(this.vars[r]=_=this._swapSelfInParams(_,this));else if(U[r]&&(l=new U[r])._onInitTween(e,this.vars[r],this)){for(this._firstPT=h={_next:this._firstPT,t:l,p:\"setRatio\",s:0,c:1,f:!0,n:r,pg:!0,pr:l._priority},a=l._overwriteProps.length;--a>-1;)i[l._overwriteProps[a]]=this._firstPT;(l._priority||l._onInitAllProps)&&(o=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=i[r]=h={_next:this._firstPT,t:e,p:r,f:\"function\"==typeof e[r],n:r,pg:!1,pr:0},h.s=h.f?e[r.indexOf(\"set\")||\"function\"!=typeof e[\"get\"+r.substr(3)]?r:\"get\"+r.substr(3)]():parseFloat(e[r]),h.c=\"string\"==typeof _&&\"=\"===_.charAt(1)?parseInt(_.charAt(0)+\"1\",10)*Number(_.substr(2)):Number(_)-h.s||0;h&&h._next&&(h._next._prev=h)}return n&&this._kill(n,e)?this._initProps(e,i,s,n):this._overwrite>1&&this._firstPT&&s.length>1&&K(e,this,i,this._overwrite,s)?(this._kill(i,e),this._initProps(e,i,s,n)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(L[e._gsTweenID]=!0),o)},r.render=function(t,e,i){var s,n,r,a,o=this._time,l=this._duration,h=this._rawPrevTime;if(t>=l)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(s=!0,n=\"onComplete\"),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),