1var sbsw_js_exists=void 0!==sbsw_js_exists;if(!sbsw_js_exists){function sbyAddImgLiquid(){ 2 /*! imgLiquid v0.9.944 / 03-05-2013 https://github.com/karacas/imgLiquid */ 3 var t,e,i,s,n=n||{VER:"0.9.944"};n.bgs_Available=!1,n.bgs_CheckRunned=!1,(t=jQuery).fn.extend({sbsw_imgLiquid:function(e){this.defaults={fill:!0,verticalAlign:"center",horizontalAlign:"center",useBackgroundSize:!0,useDataHtmlAttr:!0,responsive:!0,delay:0,fadeInTime:0,removeBoxBackground:!0,hardPixels:!0,responsiveCheckTime:500,timecheckvisibility:500,onStart:null,onFinish:null,onItemStart:null,onItemFinish:null,onItemError:null},function(){if(!n.bgs_CheckRunned){n.bgs_CheckRunned=!0;var e=t('<span style="background-size:cover" />');t("body").append(e),function(){var t=e[0];if(t&&window.getComputedStyle){var i=window.getComputedStyle(t,null);i&&i.backgroundSize&&(n.bgs_Available="cover"===i.backgroundSize)}}(),e.remove()}}();var i=this;return this.options=e,this.settings=t.extend({},this.defaults,this.options),this.settings.onStart&&this.settings.onStart(),this.each((function(e){function s(){(h.responsive||d.data("sbsw_imgLiquid_oldProcessed"))&&d.data("sbsw_imgLiquid_settings")&&(h=d.data("sbsw_imgLiquid_settings"),l.actualSize=l.get(0).offsetWidth+l.get(0).offsetHeight/1e4,l.sizeOld&&l.actualSize!==l.sizeOld&&r(),l.sizeOld=l.actualSize,setTimeout(s,h.responsiveCheckTime))}function o(){d.data("sbsw_imgLiquid_error",!0),l.addClass("sbsw_imgLiquid_error"),h.onItemError&&h.onItemError(e,l,d),a()}function r(){var t,i,s,n,o,r,c,u,p=0,g=0,f=l.width(),m=l.height();void 0===d.data("owidth")&&d.data("owidth",d[0].width),void 0===d.data("oheight")&&d.data("oheight",d[0].height),h.fill===f/m>=d.data("owidth")/d.data("oheight")?(t="100%",i="auto",s=Math.floor(f),n=Math.floor(f*(d.data("oheight")/d.data("owidth")))):(t="auto",i="100%",s=Math.floor(m*(d.data("owidth")/d.data("oheight"))),n=Math.floor(m)),c=f-s,"left"===(o=h.horizontalAlign.toLowerCase())&&(g=0),"center"===o&&(g=.5*c),"right"===o&&(g=c),-1!==o.indexOf("%")&&(o=parseInt(o.replace("%",""),10))>0&&(g=c*o*.01),u=m-n,"left"===(r=h.verticalAlign.toLowerCase())&&(p=0),"center"===r&&(p=.5*u),"bottom"===r&&(p=u),-1!==r.indexOf("%")&&(r=parseInt(r.replace("%",""),10))>0&&(p=u*r*.01),h.hardPixels&&(t=s,i=n),d.css({width:t,height:i,"margin-left":Math.floor(g),"margin-top":Math.floor(p)}),d.data("sbsw_imgLiquid_oldProcessed")||(d.fadeTo(h.fadeInTime,1),d.data("sbsw_imgLiquid_oldProcessed",!0),h.removeBoxBackground&&l.css("background-image","none"),l.addClass("sbsw_imgLiquid_nobgSize"),l.addClass("sbsw_imgLiquid_ready")),h.onItemFinish&&h.onItemFinish(e,l,d),a()}function a(){e===i.length-1&&i.settings.onFinish&&i.settings.onFinish()}var h=i.settings,l=t(this),d=t("img:first",l);return d.length?(d.data("sbsw_imgLiquid_settings")?(l.removeClass("sbsw_imgLiquid_error").removeClass("sbsw_imgLiquid_ready"),h=t.extend({},d.data("sbsw_imgLiquid_settings"),i.options)):h=t.extend({},i.settings,function(){var t={};if(i.settings.useDataHtmlAttr){var e=l.attr("data-sbsw_imgLiquid-fill"),s=l.attr("data-sbsw_imgLiquid-horizontalAlign"),o=l.attr("data-sbsw_imgLiquid-verticalAlign");("true"===e||"false"===e)&&(t.fill=Boolean("true"===e)),void 0===s||"left"!==s&&"center"!==s&&"right"!==s&&-1===s.indexOf("%")||(t.horizontalAlign=s),void 0===o||"top"!==o&&"bottom"!==o&&"center"!==o&&-1===o.indexOf("%")||(t.verticalAlign=o)}return n.isIE&&i.settings.ieFadeInDisabled&&(t.fadeInTime=0),t}()),d.data("sbsw_imgLiquid_settings",h),h.onItemStart&&h.onItemStart(e,l,d),void(n.bgs_Available&&h.useBackgroundSize?(-1===l.css("background-image").indexOf(encodeURI(d.attr("src")))&&l.css({"background-image":'url("'+encodeURI(d.attr("src"))+'")'}),l.css({"background-size":h.fill?"cover":"contain","background-position":(h.horizontalAlign+" "+h.verticalAlign).toLowerCase(),"background-repeat":"no-repeat"}),t("a:first",l).css({display:"block",width:"100%",height:"100%"}),t("img",l).css({display:"none"}),h.onItemFinish&&h.onItemFinish(e,l,d),l.addClass("sbsw_imgLiquid_bgSize"),l.addClass("sbsw_imgLiquid_ready"),a()):function i(){if(d.data("oldSrc")&&d.data("oldSrc")!==d.attr("src")){var n=d.clone().removeAttr("style");return n.data("sbsw_imgLiquid_settings",d.data("sbsw_imgLiquid_settings")),d.parent().prepend(n),d.remove(),(d=n)[0].width=0,void setTimeout(i,10)}return d.data("sbsw_imgLiquid_oldProcessed")?void r():(d.data("sbsw_imgLiquid_oldProcessed",!1),d.data("oldSrc",d.attr("src")),t("img:not(:first)",l).css("display","none"),l.css({overflow:"hidden"}),d.fadeTo(0,0).removeAttr("width").removeAttr("height").css({visibility:"visible","max-width":"none","max-height":"none",width:"auto",height:"auto",display:"block"}),d.on("error",o),d[0].onerror=o,function t(){d.data("sbsw_imgLiquid_error")||d.data("sbsw_imgLiquid_loaded")||d.data("sbsw_imgLiquid_oldProcessed")||(l.is(":visible")&&d[0].complete&&d[0].width>0&&d[0].height>0?(d.data("sbsw_imgLiquid_loaded",!0),setTimeout(r,e*h.delay)):setTimeout(t,h.timecheckvisibility))}(),void s())}())):void o()}))}}),e=n.injectCss,i=document.getElementsByTagName("head")[0],(s=document.createElement("style")).type="text/css",s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e)),i.appendChild(s)}function sbsw_supports_video(){return!!document.createElement("video").canPlayType} 4 /*! Hammer.JS - v2.0.8 - 2016-04-23 5 * http://hammerjs.github.io/ 6 * 7 * Copyright (c) 2016 Jorik Tangelder; 8 * Licensed under the MIT license 9 * */ 10 if(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,o,a){(a=a||e||t.jQuery)&&(o.prototype.option||(o.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?function(t,e,s){var n,o="$()."+i+'("'+e+'")';return t.each((function(t,h){var l=a.data(h,i);if(l){var d=l[e];
vendor: 3,959 bytes, line 10
10if(d&&"_"!=e.charAt(0)){var c=d.apply(l,s);n=void 0===n?c:n}else r(o+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+o)})),void 0!==n?n:t}(this,t,n.call(arguments,1)):(function(t,e){t.each((function(t,s){var n=a.data(s,i);n?(n.option(e),n._init()):(n=new o(s,e),a.data(s,i,n))}))}(this,t),this)},s(a))}function s(t){!t||t&&t.bridget||(t.bridget=i)}var n=Array.prototype.slice,o=t.console,r=void 0===o?function(){}:function(t){o.error(t)};return s(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||{},s=i[t]=i[t]||[];return-1==s.indexOf(e)&&s.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var s=i.indexOf(e);return-1!=s&&i.splice(s,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 s=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var o=i[n];s&&s[o]&&(this.off(t,o),delete s[o]),o.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,(function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(t){var e=getComputedStyle(t);return e||o("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function i(){if(!h){h=!0;var i=document.createElement("div");i.style.width="200px",i.style.padding="1px 2px 3px 4px",i.style.borderStyle="solid",i.style.borderWidth="1px 2px 3px 4px",i.style.boxSizing="border-box";var o=document.body||document.documentElement;o.appendChild(i);var r=e(i);n=200==Math.round(t(r.width)),s.isBoxSizeOuter=n,o.removeChild(i)}}function s(s){if(i(),"string"==typeof s&&(s=document.querySelector(s)),s&&"object"==typeof s&&s.nodeType){var o=e(s);if("none"==o.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<a;e++)t[r[e]]=0;return t}();var h={};h.width=s.offsetWidth,h.height=s.offsetHeight;for(var l=h.isBorderBox="border-box"==o.boxSizing,d=0;d<a;d++){var c=r[d],u=o[c],p=parseFloat(u);h[c]=isNaN(p)?0:p}var g=h.paddingLeft+h.paddingRight,f=h.paddingTop+h.paddingBottom,m=h.marginLeft+h.marginRight,v=h.marginTop+h.marginBottom,w=h.borderLeftWidth+h.borderRightWidth,y=h.borderTopWidth+h.borderBottomWidth,b=l&&n,_=t(o.width);!1!==_&&(h.width=_+(b?0:g+w));var x=t(o.height);return!1!==x&&(h.height=x+(b?0:f+y)),h.innerWidth=h.width-(g+w),h.innerHeight=h.height-(f+y),h.outerWidth=h.width+m,h.outerHeight=h.height+v,h}}var n,o="undefined"==typeof console?function(){}:function(t){console.error(t)},r=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],a=r.length,h=!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 s=e[i]+"MatchesSelector";if(t[s])return s}}();return function(e,i){return e[t](i)}})),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
10sandro-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={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},s=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?s.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&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,s){t=i.makeArray(t);var n=[];return t.forEach((function(t){if(t instanceof HTMLElement){if(!s)return void n.push(t);e(t,s)&&n.push(t);for(var i=t.querySelectorAll(s),o=0;o<i.length;o++)n.push(i[o])}})),n},i.debounceMethod=function(t,e,i){i=i||100;var s=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];clearTimeout(t);var e=arguments,o=this;this[n]=setTimeout((function(){s.apply(o,e),delete o[n]}),i)}},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 n=t.console;return i.htmlInit=function(e,s){i.docReady((function(){var o=i.toDashed(s),r="data-"+o,a=document.querySelectorAll("["+r+"]"),h=document.querySelectorAll(".js-"+o),l=i.makeArray(a).concat(i.makeArray(h)),d=r+"-options",c=t.jQuery;l.forEach((function(t){var i,o=t.getAttribute(r)||t.getAttribute(d);try{i=o&&JSON.parse(o)}catch(e){return void(n&&n.error("Error parsing "+r+" on "+t.className+": "+e))}var a=new e(t,i);c&&c.data(t,s,a)}))}))},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,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var s=document.documentElement.style,n="string"==typeof s.transition?"transition":"WebkitTransition",o="string"==typeof s.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],a={transform:o,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"},h=i.prototype=Object.create(t.prototype);h.constructor=i,h._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},h.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},h.getSize=function(){this.size=e(this.element)},h.css=function(t){var e=this.element.style;for(var i in t){e[a[i]||i]=t[i]}},h.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),s=t[e?"left":"right"],n=t[i?"top":"bottom"],o=parseFloat(s),r=parseFloat(n),a=this.layout.size;-1!=s.indexOf("%")&&(o=o/100*a.width),-1!=n.indexOf("%")&&(r=r/100*a.height),o=isNaN(o)?0:o,r=isNaN(r)?0:r,o-=e?a.paddingLeft:a.paddingRight,r-=i?a.paddingTop:a.paddingBottom,this.position.x=o,this.position.y=r},h.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),s=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",o=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[o]=this.getXValue(a),e[r]="";var h=s?"paddingTop":"paddingBottom",l=s?"top":"bottom",d=s?"bottom":"top",c=this.position.y+t[h];e[l]=this.getYValue(c),e[d]="",this.css(e),this.emitEvent("layout",[this])},h.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},h.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},h._transitionTo=function(t,e){this.getPosition();var i=this.position.x,s=this.position.y,n=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!n||this.isTransitioning){var o=t-i,r=e-s,a={};a.transform=this.getTranslate(o,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},h.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},h.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},h.moveTo=h._transitionTo,h.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},h._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},h.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){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);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var l="opacity,"+function(t){return t.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()}))}(o);h.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}
vendor: 9,867 bytes, line 10
10),this.element.addEventListener(r,this,!1)}},h.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},h.onotransitionend=function(t){this.ontransitionend(t)};var d={"-webkit-transform":"transform"};h.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=d[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},h.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},h._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var c={transitionProperty:"",transitionDuration:"",transitionDelay:""};return h.removeTransitionStyles=function(){this.css(c)},h.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},h.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},h.remove=function(){return n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",(function(){this.removeElem()})),void this.hide()):void this.removeElem()},h.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},h.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},h.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},h.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},h.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},h.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i})),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,s,n,o){return e(t,i,s,n,o)})):"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,s,n){"use strict";function o(t,e){var i=s.getQueryElement(t);if(i){this.element=i,h&&(this.$element=h(this.element)),this.options=s.extend({},this.constructor.defaults),this.option(e);var n=++d;this.element.outlayerGUID=n,c[n]=this,this._create(),this._getOption("initLayout")&&this.layout()}else a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function r(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}var a=t.console,h=t.jQuery,l=function(){},d=0,c={};o.namespace="outlayer",o.Item=n,o.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 u=o.prototype;s.extend(u,e.prototype),u.option=function(t){s.extend(this.options,t)},u._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},o.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},u._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),s.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},u.reloadItems=function(){this.items=this._itemize(this.element.children)},u._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,s=[],n=0;n<e.length;n++){var o=new i(e[n],this);s.push(o)}return s},u._filterFindItemElements=function(t){return s.filterFindElements(t,this.options.itemSelector)},u.getItemElements=function(){return this.items.map((function(t){return t.element}))},u.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},u._init=u.layout,u._resetLayout=function(){this.getSize()},u.getSize=function(){this.size=i(this.element)},u._getMeasurement=function(t,e){var s,n=this.options[t];n?("string"==typeof n?s=this.element.querySelector(n):n instanceof HTMLElement&&(s=n),this[t]=s?i(s)[e]:n):this[t]=0},u.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},u._getItemsForLayout=function(t){return t.filter((function(t){return!t.isIgnored}))},u._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach((function(t){var s=this._getItemLayoutPosition(t);s.item=t,s.isInstant=e||t.isLayoutInstant,i.push(s)}),this),this._processLayoutQueue(i)}},u._getItemLayoutPosition=function(){return{x:0,y:0}},u._processLayoutQueue=function(t){this.updateStagger(),t.forEach((function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)}),this)},u.updateStagger=function(){var t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],s=e&&e[2];return i.length?(i=parseFloat(i))*(p[s]||1):0}(t),this.stagger)},u._positionItem=function(t,e,i,s,n){s?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},u._postLayout=function(){this.resizeContainer()},u.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},u._getContainerSize=l,u._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"}},u._emitCompleteOnItems=function(t,e){function i(){n.dispatchEvent(t+"Complete",null,[e])}function s(){++r==o&&i()}var n=this,o=e.length;if(e&&o){var r=0;e.forEach((function(e){e.once(t,s)}))}else i()},u.dispatchEvent=function(t,e,i){var s=e?[e].concat(i):i;if(this.emitEvent(t,s),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)},u.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},u.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},u.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},u.unstamp=function(t){(t=this._find(t))&&t.forEach((function(t){s.removeFrom(this.stamps,t),this.unignore(t)}),this)},u._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),s.makeArray(t)},u._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},u._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)}},u._manageStamp=l,u._getElementOffset=function(t){var e=t.getBoundingClientRect(),s=this._boundingRect,n=i(t);return{left:e.left-s.left-n.marginLeft,top:e.top-s.top-n.marginTop,right:s.right-e.right-n.marginRight,bottom:s.bottom-e.bottom-n.marginBottom}},u.handleEvent=s.handleEvent,u.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},u.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},u.onresize=function(){this.resize()},s.debounceMethod(o,"onresize",100),u.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},u.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},u.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},u.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},u.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)}},u.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()}))}},u.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()}))}},u.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},u.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},u.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},u.getItems=function(t){t=s.makeArray(t);var e=[];return t.forEach((function(t){var i=this.getItem(t);i&&e.push(i)}),this),e},u.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach((function(t){t.remove(),s.removeFrom(this.items,t)}),this)},u.destroy=function(){var t=this.element.style;
vendor: 9,151 bytes, line 10
10t.height="",t.position="",t.width="",this.items.forEach((function(t){t.destroy()})),this.unbindResize();var e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,h&&h.removeData(this.element,this.constructor.namespace)},o.data=function(t){var e=(t=s.getQueryElement(t))&&t.outlayerGUID;return e&&c[e]},o.create=function(t,e){var i=r(o);return i.defaults=s.extend({},o.defaults),s.extend(i.defaults,e),i.compatOptions=s.extend({},o.compatOptions),i.namespace=t,i.data=o.data,i.Item=r(n),s.htmlInit(i,t),h&&h.bridget&&h.bridget(t,i),i};var p={ms:1,s:1e3};return o.Item=n,o})),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.Smashotope=t.Smashotope||{},t.Smashotope.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),s=i._create;i._create=function(){this.id=this.layout.itemGUID++,s.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 s=e[i];this.sortData[i]=s(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.Smashotope=t.Smashotope||{},t.Smashotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,(function(t,e){"use strict";function i(t){this.smashotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var s=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach((function(t){s[t]=function(){return e.prototype[t].apply(this.smashotope,arguments)}})),s.needsVerticalResizeLayout=function(){var e=t(this.smashotope.element);return this.smashotope.size&&e&&e.innerHeight!=this.smashotope.size.innerHeight},s._getMeasurement=function(){this.smashotope._getMeasurement.apply(this,arguments)},s.getColumnWidth=function(){this.getSegmentSize("column","Width")},s.getRowHeight=function(){this.getSegmentSize("row","Height")},s.getSegmentSize=function(t,e){var i=t+e,s="outer"+e;if(this._getMeasurement(i,s),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[s]||this.smashotope.size["inner"+e]}},s.getFirstItemSize=function(){var e=this.smashotope.filteredItems[0];return e&&e.element&&t(e.element)},s.layout=function(){this.smashotope.layout.apply(this.smashotope,arguments)},s.getSize=function(){this.smashotope.getSize(),this.size=this.smashotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(s),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 s=i.prototype;return s._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},s.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 s=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,o=n/s,r=s-n%s;o=Math[r&&r<1?"round":"floor"](o),this.cols=Math.max(o,1)},s.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},s._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var s=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),n={x:this.columnWidth*s.col,y:s.y},o=s.y+t.size.outerHeight,r=i+s.col,a=s.col;a<r;a++)this.colYs[a]=o;return n},s._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},s._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,s=0;s<i;s++)e[s]=this._getColGroupY(s,t);return e},s._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)},s._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=t>1&&i+t>this.cols?0:i;var s=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=s?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},s._manageStamp=function(t){var i=e(t),s=this._getElementOffset(t),n=this._getOption("originLeft")?s.left:s.right,o=n+i.outerWidth,r=Math.floor(n/this.columnWidth);r=Math.max(0,r);var a=Math.floor(o/this.columnWidth);a-=o%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var h=(this._getOption("originTop")?s.top:s.bottom)+i.outerHeight,l=r;l<=a;l++)this.colYs[l]=Math.max(h,this.colYs[l])},s._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},s._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},s.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.Smashotope.LayoutMode,t.Masonry)}(window,(function(t,e){"use strict";var i=t.create("masonry"),s=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var o in e.prototype)n[o]||(s[o]=e.prototype[o]);var r=s.measureColumns;s.measureColumns=function(){this.items=this.smashotope.filteredItems,r.call(this)};var a=s._getOption;return s._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.smashotope,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.Smashotope.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.smashotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var s={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,s},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.Smashotope.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.smashotope.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,s,n,o,r,a){return e(t,i,s,n,o,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.Smashotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Smashotope.Item,t.Smashotope.LayoutMode)}
vendor: 5,749 bytes, line 10
10(window,(function(t,e,i,s,n,o,r){var a=t.jQuery,h=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},l=e.create("smashotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});l.Item=o,l.LayoutMode=r;var d=l.prototype;d._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},d.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},d._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){t[i].id=this.itemGUID++}return this._updateItemsSortData(t),t},d._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)},d.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},d._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},d.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()},d._init=d.arrange,d._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},d._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},d._bindArrangeComplete=function(){function t(){e&&i&&s&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}var e,i,s,n=this;this.once("layoutComplete",(function(){e=!0,t()})),this.once("hideComplete",(function(){i=!0,t()})),this.once("revealComplete",(function(){s=!0,t()}))},d._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],s=[],n=[],o=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var h=o(a);h&&i.push(a),h&&a.isHidden?s.push(a):h||a.isHidden||n.push(a)}}return{matches:i,needReveal:s,needHide:n}},d._getFilterTest=function(t){return a&&this.options.isJQueryFiltering?function(e){return a(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return s(e.element,t)}},d.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},d._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=c(i)}},d._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var c=function(t){if("string"!=typeof t)return t;var e=h(t).split(" "),i=e[0],s=i.match(/^\[(.+)\]$/),n=function(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}(s&&s[1],i),o=l.sortDataParsers[e[1]];return o?function(t){return t&&o(n(t))}:function(t){return t&&n(t)}};l.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},d._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=function(t,e){return function(i,s){for(var n=0;n<t.length;n++){var o=t[n],r=i.sortData[o],a=s.sortData[o];if(r>a||r<a)return(r>a?1:-1)*((void 0!==e[o]?e[o]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},d._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},d._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},d._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},d._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},d._manageStamp=function(t){this._mode()._manageStamp(t)},d._getContainerSize=function(){return this._mode()._getContainerSize()},d.needsResizeLayout=function(){return this._mode().needsResizeLayout()},d.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},d.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)}},d._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},d.insert=function(t){var e=this.addItems(t);if(e.length){var i,s,n=e.length;for(i=0;i<n;i++)s=e[i],this.element.appendChild(s.element);var o=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(o)}};var u=d.remove;return d.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);u.call(this,t);for(var i=e&&e.length,s=0;i&&s<i;s++){var o=e[s];n.removeFrom(this.filteredItems,o)}},d.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},d._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var s=t.apply(this,e);return this.options.transitionDuration=i,s},d.getFilteredItemElements=function(){return this.filteredItems.map((function(t){return t.element}))},l})),jQuery(".sbsw-twitter-card").css("color",jQuery(".sbsw-content-text").css("color")),function(t,e,
vendor: 8,037 bytes, line 10
10i,s){function n(e,i){this.settings=null,this.options=t.extend({},n.Defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy((function(e,i){this._handlers[i]=t.proxy(this[i],this)}),this)),t.each(n.Plugins,t.proxy((function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)}),this)),t.each(n.Workers,t.proxy((function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})}),this)),this.setup(),this.initialize()}n.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"sbi-owl-refresh",loadedClass:"sbi-owl-loaded",loadingClass:"sbi-owl-loading",rtlClass:"sbi-owl-rtl",responsiveClass:"sbi-owl-responsive",dragClass:"sbi-owl-drag",itemClass:"sbi-owl-item",stageClass:"sbi-owl-stage",stageOuterClass:"sbi-owl-stage-outer",grabClass:"sbi-owl-grab"},n.Width={Default:"default",Inner:"inner",Outer:"outer"},n.Type={Event:"event",State:"state"},n.Plugins={},n.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,s=this.settings.rtl,n={width:"auto","margin-left":s?e:"","margin-right":s?"":e};!i&&this.$stage.children().css(n),t.css=n}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,s=this._items.length,n=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};s--;)i=this._mergers[s],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,o[s]=n?e*i:this._items[s].width();this._widths=o}},{filter:["items","settings"],run:function(){var e=[],i=this._items,s=this.settings,n=Math.max(2*s.items,4),o=2*Math.ceil(i.length/2),r=s.loop&&i.length?s.rewind?n:Math.max(n,o):0,a="",h="";for(r/=2;r--;)e.push(this.normalize(e.length/2,!0)),a+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),h=i[e[e.length-1]][0].outerHTML+h;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(h).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,s=0,n=0,o=[];++i<e;)s=o[i-1]||0,n=this._widths[this.relative(i)]+this.settings.margin,o.push(s+n*t);this._coordinates=o}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,s=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],s.eq(e).css(t.css);else i&&(t.css.width=t.items.width,s.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,i,s,n=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,r=this.coordinates(this.current())+o,a=r+this.width()*n,h=[];for(i=0,s=this._coordinates.length;i<s;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+o*n,(this.op(t,"<=",r)&&this.op(t,">",a)||this.op(e,"<",r)&&this.op(e,">",a))&&h.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+h.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],n.prototype.initialize=function(){var e,i,n;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(e=this.$element.find("img"),i=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:s,n=this.$element.children(i).width(),e.length&&n<=0&&this.preloadAutoWidthImages(e));this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},n.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,s=-1,n=null;i?(t.each(i,(function(t){t<=e&&t>s&&(s=Number(t))})),"function"==typeof(n=t.extend({},this.options,i[s])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+s))):n=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=s,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},n.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},n.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},n.prototype.update=function(){for(var e=0,i=this._pipe.length,s=t.proxy((function(t){return this[t]}),this._invalidated),n={};e<i;)(this._invalidated.all||t.grep(this._pipe[e].filter,s).length>0)&&this._pipe[e].run(n),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},n.prototype.width=function(t){switch(t=t||n.Width.Default){case n.Width.Inner:case n.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},n.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},n.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},n.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized"
vendor: 6,740 bytes, line 10
10)))},n.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",(function(){return!1}))),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},n.prototype.onDragStart=function(e){var s=null;3!==e.which&&(t.support.transform?s={x:(s=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===s.length?12:4],y:s[16===s.length?13:5]}:(s=this.$stage.position(),s={x:this.settings.rtl?s.left+this.$stage.width()-this.width()+this.settings.margin:s.left,y:s.top}),this.is("animating")&&(t.support.transform?this.animate(s.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=s,this._drag.stage.current=s,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy((function(e){var s=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(s.x)<Math.abs(s.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))}),this)))},n.prototype.onDragMove=function(t){var e=null,i=null,s=null,n=this.difference(this._drag.pointer,this.pointer(t)),o=this.difference(this._drag.stage.start,n);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,o.x=((o.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),s=this.settings.pullDrag?-1*n.x/5:0,o.x=Math.max(Math.min(o.x,e+s),i+s)),this._drag.stage.current=o,this.animate(o.x))},n.prototype.onDragEnd=function(e){var s=this.difference(this._drag.pointer,this.pointer(e)),n=this._drag.stage.current,o=s.x>0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==s.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(n.x,0!==s.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(s.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",(function(){return!1}))),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},n.prototype.closest=function(e,i){var s=-1,n=this.width(),o=this.coordinates();return this.settings.freeDrag||t.each(o,t.proxy((function(t,r){return"left"===i&&e>r-30&&e<r+30?s=t:"right"===i&&e>r-n-30&&e<r-n+30?s=t+1:this.op(e,"<",r)&&this.op(e,">",o[t+1]||r-n)&&(s="left"===i?t+1:t),-1===s}),this)),this.settings.loop||(this.op(e,">",o[this.minimum()])?s=e=this.minimum():this.op(e,"<",o[this.maximum()])&&(s=e=this.maximum())),s},n.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},n.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},n.prototype.current=function(t){if(t===s)return this._current;if(0===this._items.length)return s;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==s&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},n.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,(function(t,e){return e}))},n.prototype.reset=function(t){(t=this.normalize(t))!==s&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},n.prototype.normalize=function(t,e){var i=this._items.length,n=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=s:(t<0||t>=i+n)&&(t=((t-n/2)%i+i)%i+n/2),t},n.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},n.prototype.maximum=function(t){var e,i,s,n=this.settings,o=this._coordinates.length;if(n.loop)o=this._clones.length/2+this._items.length-1;else if(n.autoWidth||n.merge){for(e=this._items.length,i=this._items[--e].width(),s=this.$element.width();e--&&!((i+=this._items[e].width()+this.settings.margin)>s););o=e+1}else o=n.center?this._items.length-1:this._items.length-n.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},n.prototype.minimum=function(t){return t?0:this._clones.length/2},n.prototype.items=function(t){return t===s?this._items.slice():(t=this.normalize(t,!0),this._items[t])},n.prototype.mergers=function(t){return t===s?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},n.prototype.clones=function(e){var i=this._clones.length/2,n=i+this._items.length,o=function(t){return t%2==0?n+t/2:i-(t+1)/2};return e===s?t.map(this._clones,(function(t,e){return o(e)})):t.map(this._clones,(function(t,i){return t===e?o(i):null}))},n.prototype.speed=function(t){return t!==s&&(this._speed=t),this._speed},n.prototype.coordinates=function(e){var i,n=1,o=e-1;return e===s?t.map(this._coordinates,t.proxy((function(t,e){return this.coordinates(e)}),this)):(this.settings.center?(this.settings.rtl&&(n=-1,o=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[o]||0))/2*n):i=this._coordinates[o]||0,i=Math.ceil(i))},n.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},n.prototype.to=function(t,e){var i=this.current(),s=null,n=t-this.relative(i),o=(n>0)-(n<0),r=this._items.length,a=this.minimum(),h=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(n)>r/2&&(n+=-1*o*r),(s=(((t=i+n)-a)%r+r)%r+a)!==t&&s-n<=h&&s-n>0&&(i=s-n,t=s,this.reset(i))):t
vendor: 25,496 bytes, line 10
10his.settings.rewind?t=(t%(h+=1)+h)%h:t=Math.max(a,Math.min(h,t)),this.speed(this.duration(i,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},n.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},n.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},n.prototype.onTransitionEnd=function(t){if(t!==s&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},n.prototype.viewport=function(){var s;return this.options.responsiveBaseElement!==e?s=t(this.options.responsiveBaseElement).width():e.innerWidth?s=e.innerWidth:i.documentElement&&i.documentElement.clientWidth?s=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),s},n.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter((function(){return 1===this.nodeType})).each(t.proxy((function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)}),this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},n.prototype.add=function(e,i){var n=this.relative(this._current);i=i===s?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},n.prototype.remove=function(t){(t=this.normalize(t,!0))!==s&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},n.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy((function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy((function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()}),this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))}),this))},n.prototype.destroy=function(){for(var s in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[s].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},n.prototype.op=function(t,e,i){var s=this.settings.rtl;switch(e){case"<":return s?t>i:t<i;case">":return s?t<i:t>i;case">=":return s?t<=i:t>=i;case"<=":return s?t>=i:t<=i}},n.prototype.on=function(t,e,i,s){t.addEventListener?t.addEventListener(e,i,s):t.attachEvent&&t.attachEvent("on"+e,i)},n.prototype.off=function(t,e,i,s){t.removeEventListener?t.removeEventListener(e,i,s):t.detachEvent&&t.detachEvent("on"+e,i)},n.prototype.trigger=function(e,i,s,o,r){var a={item:{count:this._items.length,index:this.current()}},h=t.camelCase(t.grep(["on",e,s],(function(t){return t})).join("-").toLowerCase()),l=t.Event([e,"owl",s||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,i));return this._supress[e]||(t.each(this._plugins,(function(t,e){e.onTrigger&&e.onTrigger(l)})),this.register({type:n.Type.Event,name:e}),this.$element.trigger(l),this.settings&&"function"==typeof this.settings[h]&&this.settings[h].call(this,l)),l},n.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]===s&&(this._states.current[e]=0),this._states.current[e]++}),this))},n.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]--}),this))},n.prototype.register=function(e){if(e.type===n.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===n.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy((function(i,s){return t.inArray(i,this._states.tags[e.name])===s}),this)))},n.prototype.suppress=function(e){t.each(e,t.proxy((function(t,e){this._supress[e]=!0}),this))},n.prototype.release=function(e){t.each(e,t.proxy((function(t,e){delete this._supress[e]}),this))},n.prototype.pointer=function(t){var i={x:null,y:null};return(t=(t=t.originalEvent||t||e.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},n.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},n.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.sbiOwlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each((function(){var s=t(this),o=s.data("owl.carousel");o||(o=new n(this,"object"==typeof e&&e),s.data("owl.carousel",o),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],(function(e,i){o.register({type:n.Type.Event,name:i}),o.$element.on(i+".owl.carousel.core",t.proxy((function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),o[i].apply(this,[].slice.call(arguments,1)),this.release([i]))}),o))}))),"string"==typeof e&&"_"!==e.charAt(0)&&o[e].apply(o,i)}))},t.fn.sbiOwlCarousel.Constructor=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("sbi-owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var t,i;for(t in e.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.sbiOwlCarousel.Constructor.Plugins.AutoRefresh=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy((function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type))for(var i=this._core.settings,s=i.center&&Math.ceil(i.items/2)||i.items,n=i.center&&-1*s||0,o=(e.property&&undefined!==e.property.value?e.property.value:this._core.current())+n,r=this._core.clones().length,a=t.proxy((function(t,e){this.load(e)}),this);n++<s;)this.load(r/2+this._core.relative(o)),r&&t.each(this._core.clones(this._core.relative(o)),a),o++}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={lazyLoad:!1},n.prototype.load=function(i){var s=this._core.$stage.children().eq(i),n=s&&s.find(".sbi-owl-lazy");!n||t.inArray(s.get(0),this._loaded)>-1||(n.each(t.proxy((function(i,s){var n,o=t(s),r=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src");this._core.trigger("load",{element:o,url:r},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy((function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:r},"lazy")}),this)).attr("src",r):((n=new Image).onload=t.proxy((function(){o.css({"background-image":'url("'+r+'")',opacity:"1"}),this._core.trigger("loaded",{element:o,url:r},"lazy")}),this),n.src=r)}),this)),this._loaded.push(s.get(0)))},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.sbiOwlCarousel.Constructor.Plugins.Lazy=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&this.update()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&"position"==t.property.name&&this.update()}),this),"loaded.owl.lazy":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoHeight:!1,autoHeightClass:"sbi-owl-height"},n.prototype.update=function(){var e,i=this._core._current,s=i+this._core.settings.items,n=this._core.$stage.children().toArray().slice(i,s),o=[];t.each(n,(function(e,i){o.push(t(i).height())})),e=Math.max.apply(null,o),this._core.$stage.parent().height(e).addClass(this._core.settings.autoHeightClass)},n.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.sbiOwlCarousel.Constructor.Plugins.AutoHeight=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})}),this),"resize.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .sbi-owl-video-frame").remove()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var i=t(e.content).find(".sbi-owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".sbi-owl-video-play-icon",t.proxy((function(t){this.play(t)}),this))};n.Defaults={video:!1,videoHeight:!1,videoWidth:!1},n.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",s=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),n=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,r=t.attr("href");if(!r)throw new Error("Missing video URL.");if((s=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(s[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(s[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}s=s[6],this._videos[r]={type:i,id:s,width:n,height:o},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},n.prototype.thumbnail=function(e,i){var s,n,o=i.width&&i.height?'style="width:'+i.width+"px;height:"+i.height+'px;"':"",r=e.find("img"),a="src",h="",l=this._core.settings,d=function(t){'<div class="sbi-owl-video-play-icon"></div>',s=l.lazyLoad?'<div class="sbi-owl-video-tn '+h+'" '+a+'="'+t+'"></div>':'<div class="sbi-owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(s),e.after('<div class="sbi-owl-video-play-icon"></div>')};if(e.wrap('<div class="sbi-owl-video-wrapper"'+o+"></div>"),this._core.settings.lazyLoad&&(a="data-src",h="sbi-owl-lazy"),r.length)return d(r.attr(a)),r.remove(),!1;"youtube"===i.type?(n="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",d(n)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t[0].thumbnail_large,d(n)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t.framegrab_url,d(n)}})},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".sbi-owl-video-frame").remove(),this._playing.removeClass("sbi-owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(e){var i,s=t(e.target).closest("."+this._core.settings.itemClass),n=this._videos[s.attr("data-video")],o=n.width||"100%",r=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),s=this._core.items(this._core.relative(s.index())),this._core.reset(s.index()),"youtube"===n.type?i='<iframe width="'+o+'" height="'+r+'" src="//www.youtube.com/embed/'+n.id+"?autoplay=1&rel=0&v="+n.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===n.type?i='<iframe src="//player.vimeo.com/video/'+n.id+'?autoplay=1" width="'+o+'" height="'+r+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===n.type&&(i='<iframe frameborder="0"height="'+r+'"width="'+o+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+n.id+'/player?autoplay=true"></iframe>'),t('<div class="sbi-owl-video-frame">'+i+"</div>").insertAfter(s.find(".sbi-owl-video")),this._playing=s.addClass("sbi-owl-video-playing"))},n.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("sbi-owl-video-frame")},n.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.sbiOwlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this.core=e,this.core.options=t.extend({},n.Defaults,this.core.options),this.swapping=!0,this.previous=s,this.next=s,this.handlers={"change.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)}),this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy((function(t){t.namespace&&(this.swapping="translated"==t.type)}),this),"translate.owl.carousel":t.proxy((function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()}),this)},this.core.$element.on(this.handlers)};n.Defaults={animateOut:!1,animateIn:!1},n.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),s=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),s.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated sbi-owl-animated-out").addClass(r)),o&&n.one(t.support.animation.end,i).addClass("animated sbi-owl-animated-in").addClass(o))}},n.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated sbi-owl-animated-out sbi-owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.sbiOwlCarousel.Constructor.Plugins.Animate=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":t.proxy((function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoplay&&this.play()}),this),"play.owl.autoplay":t.proxy((function(t,e,i){t.namespace&&this.play(e,i)}),this),"stop.owl.autoplay":t.proxy((function(t){t.namespace&&this.stop()}),this),"mouseover.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"mouseleave.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()}),this),"touchstart.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"touchend.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this.play()}),this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},n.Defaults,this._core.options)};n.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},n.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},n.prototype._getNextTimeout=function(s,n){return this._timeout&&e.clearTimeout(this._timeout),e.setTimeout(t.proxy((function(){this._paused||this._core.is("busy")||this._core.is("interacting")||i.hidden||this._core.next(n||this._core.settings.autoplaySpeed)}),this),s||this._core.settings.autoplayTimeout)},n.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},n.prototype.stop=function(){this._core.is("rotating")&&(e.clearTimeout(this._timeout),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},n.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.sbiOwlCarousel.Constructor.Plugins.autoplay=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){"use strict";var n=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy((function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")}),this),"added.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())}),this),"remove.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&this.draw()}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers)};n.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"sbi-owl-nav",navClass:["sbi-owl-prev","sbi-owl-next"],slideBy:1,dotClass:"sbi-owl-dot",dotsClass:"sbi-owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},n.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?t(i.navContainer):t("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy((function(t){this.prev(i.navSpeed)}),this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy((function(t){this.next(i.navSpeed)}),this)),i.dotsData||(this._templates=[t("<div>").addClass(i.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",t.proxy((function(e){var s=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(s,i.dotsSpeed)}),this)),this._overrides)this._core[e]=t.proxy(this[e],this)},n.prototype.destroy=function(){var t,e,i,s;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(s in this.overides)this._core[s]=this._overrides[s];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},n.prototype.update=function(){var t,e,i=this._core.clones().length/2,s=i+this._core.items().length,n=this._core.maximum(!0),o=this._core.settings,r=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=i,e=0,0;t<s;t++){if(e>=r||0===e){if(this._pages.push({start:Math.min(n,t-i),end:t-i+r-1}),Math.min(n,t-i)===n)break;e=0}e+=this._core.mergers(this._core.relative(t))}},n.prototype.draw=function(){var e,i=this._core.settings,s=this._core.items().length<=i.items,n=this._core.relative(this._core.current()),o=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||s),i.nav&&(this._controls.$previous.toggleClass("disabled",!o&&n<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&n>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||s),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},n.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},n.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy((function(t,i){return t.start<=e&&t.end>=e}),this)).pop()},n.prototype.getPosition=function(e){var i,s,n=this._core.settings;return"page"==n.slideBy?(i=t.inArray(this.current(),this._pages),s=this._pages.length,e?++i:--i,i=this._pages[(i%s+s)%s].start):(i=this._core.relative(this._core.current()),s=this._core.items().length,e?i+=n.slideBy:i-=n.slideBy),i},n.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},n.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},n.prototype.to=function(e,i,s){var n;!s&&this._pages.length?(n=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%n+n)%n].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.sbiOwlCarousel.Constructor.Plugins.Navigation=n}
10(window.Zepto||window.jQuery,window,document),function(t,e,i,s){"use strict";var n=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy((function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}}),this),"changed.owl.carousel":t.proxy((function(i){if(i.namespace&&"position"===i.property.name){var s=this._core.items(this._core.relative(this._core.current())),n=t.map(this._hashes,(function(t,e){return t===s?e:null})).join();if(!n||e.location.hash.slice(1)===n)return;e.location.hash=n}}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy((function(t){var i=e.location.hash.substring(1),s=this._core.$stage.children(),n=this._hashes[i]&&s.index(this._hashes[i]);undefined!==n&&n!==this._core.current()&&this._core.to(this._core.relative(n),!1,!0)}),this))};n.Defaults={URLhashListener:!1},n.prototype.destroy=function(){var i,s;for(i in t(e).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(i,this._handlers[i]);for(s in Object.getOwnPropertyNames(this))"function"!=typeof this[s]&&(this[s]=null)},t.fn.sbiOwlCarousel.Constructor.Plugins.Hash=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){function n(e,i){var n=!1,o=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+a.join(o+" ")+o).split(" "),(function(t,e){if(r[e]!==s)return n=!i||e,!1})),n}function o(t){return n(t,!0)}var r=t("<support>").get(0).style,a="Webkit Moz O ms".split(" "),h={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},l=function(){return!!n("transform")},d=function(){return!!n("perspective")},c=function(){return!!n("animation")};(function(){return!!n("transition")})()&&(t.support.transition=new String(o("transition")),t.support.transition.end=h.transition.end[t.support.transition]),c()&&(t.support.animation=new String(o("animation")),t.support.animation.end=h.animation.end[t.support.animation]),l()&&(t.support.transform=new String(o("transform")),t.support.transform3d=d())}(window.Zepto||window.jQuery,window,document),function(t,e){"function"==typeof define&&define.amd?define("packery/js/rect",e):"object"==typeof module&&module.exports?module.exports=e():(t.Packery=t.Packery||{},t.Packery.Rect=e())}(window,(function(){function t(e){for(var i in t.defaults)this[i]=t.defaults[i];for(i in e)this[i]=e[i]}t.defaults={x:0,y:0,width:0,height:0};var e=t.prototype;return e.contains=function(t){var e=t.width||0,i=t.height||0;return this.x<=t.x&&this.y<=t.y&&this.x+this.width>=t.x+e&&this.y+this.height>=t.y+i},e.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,s=t.x+t.width,n=t.y+t.height;return this.x<s&&e>t.x&&this.y<n&&i>t.y},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,s=[],n=this.x+this.width,o=this.y+this.height,r=e.x+e.width,a=e.y+e.height;return this.y<e.y&&(i=new t({x:this.x,y:this.y,width:this.width,height:e.y-this.y}),s.push(i)),n>r&&(i=new t({x:r,y:this.y,width:n-r,height:this.height}),s.push(i)),o>a&&(i=new t({x:this.x,y:a,width:this.width,height:o-a}),s.push(i)),this.x<e.x&&(i=new t({x:this.x,y:this.y,width:e.x-this.x,height:this.height}),s.push(i)),s},e.canFit=function(t){return this.width>=t.width&&this.height>=t.height},t})),function(t,e){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],e);else if("object"==typeof module&&module.exports)module.exports=e(require("./rect"));else{var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}}(window,(function(t){function e(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=e.prototype;i.reset=function(){this.spaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=s[this.sortDirection]||s.downwardLeftToRight},i.pack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.canFit(t)){this.placeInSpace(t,i);break}}},i.columnPack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.x<=t.x&&i.x+i.width>=t.x+t.width&&i.height>=t.height-.01){t.y=i.y,this.placed(t);break}}},i.rowPack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.y<=t.y&&i.y+i.height>=t.y+t.height&&i.width>=t.width-.01){t.x=i.x,this.placed(t);break}}},i.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},i.placed=function(t){for(var e=[],i=0;i<this.spaces.length;i++){var s=this.spaces[i],n=s.getMaximalFreeRects(t);n?e.push.apply(e,n):e.push(s)}this.spaces=e,this.mergeSortSpaces()},i.mergeSortSpaces=function(){e.mergeRects(this.spaces),this.spaces.sort(this.sorter)},i.addSpace=function(t){this.spaces.push(t),this.mergeSortSpaces()},e.mergeRects=function(t){var e=0,i=t[e];t:for(;i;){for(var s=0,n=t[e+s];n;){if(n==i)s++;else{if(n.contains(i)){t.splice(e,1),i=t[e];continue t}i.contains(n)?t.splice(e+s,1):s++}n=t[e+s]}i=t[++e]}return t};var s={downwardLeftToRight:function(t,e){return t.y-e.y||t.x-e.x},rightwardTopToBottom:function(t,e){return t.x-e.x||t.y-e.y}};return e})),function(t,e){"function"==typeof define&&define.amd?define("packery/js/item",["outlayer/outlayer","./rect"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("./rect")):t.Packery.Item=e(t.Outlayer,t.Packery.Rect)}(window,(function(t,e){var i="string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform",s=function(){t.Item.apply(this,arguments)},n=s.prototype=Object.create(t.Item.prototype),o=n._create;n._create=function(){o.call(this),this.rect=new e};var r=n.moveTo;return n.moveTo=function(t,e){var i=Math.abs(this.position.x-t),s=Math.abs(this.position.y-e);return this.layout.dragItemCount&&!this.isPlacing&&!this.isTransitioning&&1>i&&1>s?void this.goTo(t,e):void r.apply(this,arguments)},n.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style[i]="none"),this.isTransitioning=!1,this.get
vendor: 9,745 bytes, line 10
10Size(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},n.disablePlacing=function(){this.isPlacing=!1},n.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},n.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",t.style.position="absolute"),t.style.width=this.size.width+"px",t.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(t)},n.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},n.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},s})),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,(function(t,e,i,s,n){function o(t,e){return t.position.y-e.position.y||t.position.x-e.position.x}function r(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}i.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var a=e.create("packery");a.Item=n;var h=a.prototype;h._create=function(){e.prototype._create.call(this),this.packer=new s,this.shiftPacker=new s,this.isEnabled=!0,this.dragItemCount=0;var t=this;this.handleDraggabilly={dragStart:function(){t.itemDragStart(this.element)},dragMove:function(){t.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){t.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,i){i&&t.itemDragStart(e.currentTarget)},drag:function(e,i){i&&t.itemDragMove(e.currentTarget,i.position.left,i.position.top)},stop:function(e,i){i&&t.itemDragEnd(e.currentTarget)}}},h._resetLayout=function(){var t,e,i;this.getSize(),this._getMeasurements(),this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,i="rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,i="downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=i,this.packer.reset(),this.maxY=0,this.maxX=0},h._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},h._getItemLayoutPosition=function(t){if(this._setRectSize(t.element,t.rect),this.isShifting||this.dragItemCount>0){var e=this._getPackMethod();this.packer[e](t.rect)}else this.packer.pack(t.rect);return this._setMaxXY(t.rect),t.rect},h.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},h._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},h._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},h._setRectSize=function(e,i){var s=t(e),n=s.outerWidth,o=s.outerHeight;(n||o)&&(n=this._applyGridGutter(n,this.columnWidth),o=this._applyGridGutter(o,this.rowHeight)),i.width=Math.min(n,this.packer.width),i.height=Math.min(o,this.packer.height)},h._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return Math[i&&1>i?"round":"ceil"](t/e)*e},h._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},h._manageStamp=function(t){var e,s=this.getItem(t);if(s&&s.isPlacing)e=s.rect;else{var n=this._getElementOffset(t);e=new i({x:this._getOption("originLeft")?n.left:n.right,y:this._getOption("originTop")?n.top:n.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},h.sortItemsByPosition=function(){var t=this._getOption("horizontal")?r:o;this.items.sort(t)},h.fit=function(t,e,i){var s=this.getItem(t);s&&(this.stamp(s.element),s.enablePlacing(),this.updateShiftTargets(s),e=void 0===e?s.rect.x:e,i=void 0===i?s.rect.y:i,this.shift(s,e,i),this._bindFitEvents(s),s.moveTo(s.rect.x,s.rect.y),this.shiftLayout(),this.unstamp(s.element),this.sortItemsByPosition(),s.disablePlacing())},h._bindFitEvents=function(t){function e(){2==++s&&i.dispatchEvent("fitComplete",null,[t])}var i=this,s=0;t.once("layout",e),this.once("layoutComplete",e)},h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},h.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[i]!=this.size[i]},h.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),s=i?"y":"x",n=i?"height":"width",o=i?"rowHeight":"columnWidth",r=i?"innerHeight":"innerWidth",a=this[o];if(a=a&&a+this.gutter){this._getMeasurements();var h=this[o]+this.gutter;e.forEach((function(t){var e=Math.round(t.rect[s]/a);t.rect[s]=e*h}))}else{var l=t(this.element)[r]+this.gutter,d=this.packer[n];e.forEach((function(t){t.rect[s]=t.rect[s]/d*l}))}this.shiftLayout()},h.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},h.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var e=this._getOption("originLeft"),s=this._getOption("originTop");this.stamps.forEach((function(t){var n=this.getItem(t);if(!n||!n.isPlacing){var o=this._getElementOffset(t),r=new i({x:e?o.left:o.right,y:s?o.top:o.bottom});this._setRectSize(t,r),this.shiftPacker.placed(r)}}),this);var n=this._getOption("horizontal"),o=n?"rowHeight":"columnWidth",r=n?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var a,h=this[o];if(h=h&&h+this.gutter){var l=Math.ceil(t.rect[r]/h),d=Math.floor((this.shiftPacker[r]+this.gutter)/h);a=(d-l)*h;for(var c=0;d>c;c++)this._addShiftTarget(c*h,0,a)}else a=this.shiftPacker[r]+this.gutter-t.rect[r],this._addShiftTarget(0,0,a);var u=this._getItemsForLayout(this.items),p=this._getPackMethod();u.forEach((function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[p](e),this._addShiftTarget(e.x,e.y,a);var i=n?e.x+e.width:e.x,s=n?e.y:e.y+e.height;if(this._addShiftTarget(i,s,a),h)for(var o=Math.round(e[r]/h),l=1;o>l;l++){var d=n?i:e.x+h*l,c=n?e.y+h*l:s;this._addShiftTarget(d,c,a)}}),this)},h._addShiftTarget=function(t,e,i){var s=this._getOption("horizontal")?e:t;if(!(0!==s&&s>i)){var n=t+","+e;-1!=this.shiftTargetKeys.indexOf(n)||(this.shiftTargetKeys.push(n),this.shiftTargets.push({x:t,y:e}))}},h.shift=function(t,e,i){var s,n=1/0,o={x:e,y:i};this.shiftTargets.forEach((function(t){var e=function(t,e){var i=e.x-t.x,s=e.y-t.y;return Math.sqrt(i*i+s*s)}(t,o);n>e&&(s=t,n=e)})),t.rect.x=s.x,t.rect.y=s.y};h.itemDragMove=function(t,e,i){function s(){o.shift(n,e,i),n.positionDropPlaceholder(),o.layout()}var n=this.isEnabled&&this.getItem(t);if(n){e-=this.size.paddingLeft,i-=this.size.paddingTop;var o=this,r=new Date;this._itemDragTime&&r-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(s,120)):(s(),this._itemDragTime=r)}},h.itemDragEnd=function(t){function e(){2==++s&&(i.element.classList.remove("is-positioning-post-drag"),i.hideDropPlaceholder(),n.dispatchEvent("dragItemPositioned",null,[i]))}var i=this.isEnabled&&this.getItem(t);if(i){clearTimeout(this.dragTimeout),i.element.classList.add("is-positioning-post-drag");var s=0,n=this;i.once("layout",e),this.once("layoutComplete",e),i.moveTo(i.rect.x,i.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),i.disablePlacing(),this.unstamp(i.element)}},h.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},h.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},h._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},h.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},h.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},h._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var l=h.destroy;return h.destroy=function(){l.apply(this,arguments),this.isEnabled=!1},a.Rect=i,a.Packer=s,a})),function(t,e){"function"==typeof define&&define.amd?define(["isotope-layout/js/layout-mode","packery/js/packery"],e):"object"==typeof module&&module.exports?module.exports=e(require("isotope-layout/js/layout-mode"),require("packery")):e(t.Smashotope.LayoutMode,t.Packery)}(window,(function(t,e){var i=t.create("packery"),s=i.prototype,n={_getElementOffset:!0,_getMeasurement:!0};for(var o in e.prototype)n[o]||(s[o]=e.prototype[o]);var r=s._resetLayout;s._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,r.apply(this,arguments)};var a=s._getItemLayoutPosition;s._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,a.call(this,t)};var h=s.needsResizeLayout;s.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():h.call(this)};var l=s._getOption;return s._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:l.apply(this.smashotope,arguments)},i})),window.sbyLinkify=function(){var t="[a-z\\d.-]+://",e="(?:(?:(?
vendor: 10,493 bytes, line 10
10:[^\\s!@#$%^&*()_=+[\\]{}\\\\|;:'\",.<>/?]+)\\.)+(?:ac|ad|aero|ae|af|ag|ai|al|am|an|ao|aq|arpa|ar|asia|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|biz|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|cat|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|coop|com|co|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|info|int|in|io|iq|ir|is|it|je|jm|jobs|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mil|mk|ml|mm|mn|mobi|mo|mp|mq|mr|ms|mt|museum|mu|mv|mw|mx|my|mz|name|na|nc|net|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pro|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tel|tf|tg|th|tj|tk|tl|tm|tn|to|tp|travel|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|xn--0zwm56d|xn--11b5bs3a9aj6g|xn--80akhbyknj4f|xn--9t4b11yi5a|xn--deba0ad|xn--g6w251d|xn--hgbk6aj7f53bba|xn--hlcj6aya9esc7a|xn--jxalpdlp|xn--kgbechtv|xn--zckzah|ye|yt|yu|za|zm|zw)|(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5]))",i="(?:\\?[^#<>\\s]*)?(?:#[^<>\\s]*)?",s="mailto:",n=new RegExp("(?:"+("\\b"+t+"[^<>\\s]+")+"|"+("\\b"+e+"(?:[;/][^#?<>\\s]*)?"+i+"(?!\\w)")+"|"+("(?:"+s+")?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@"+e+i+"(?!\\w)")+")","ig"),o=new RegExp("^"+t,"i"),r={"'":"`",">":"<",")":"(","]":"[","}":"{","B;":"B+","b:":"b9"},a={callback:function(t,e){return e?'<a href="'+e+'" title="'+e+'" target="_blank" rel="noopener">'+t+"</a>":t},punct_regexp:/(?:[!?.,:;'"]|(?:&|&)(?:lt|gt|quot|apos|raquo|laquo|rsaquo|lsaquo);)$/};return function(t,e){e=e||{};var i,h,l,d,c,u,p,g,f,m,v,w,y="",b=[];for(h in a)void 0===e[h]&&(e[h]=a[h]);for(;i=n.exec(t);)if(l=i[0],p=(u=n.lastIndex)-l.length,!/[\/:]/.test(t.charAt(p-1))){do{g=l,w=l.substr(-1),(v=r[w])&&(f=l.match(new RegExp("\\"+v+"(?!$)","g")),m=l.match(new RegExp("\\"+w,"g")),(f?f.length:0)<(m?m.length:0)&&(l=l.substr(0,l.length-1),u--)),e.punct_regexp&&(l=l.replace(e.punct_regexp,(function(t){return u-=t.length,""})))}while(l.length&&l!==g);d=l,o.test(d)||(d=(-1!==d.indexOf("@")?d.indexOf(s)?s:"":d.indexOf("irc.")?d.indexOf("ftp.")?"http://":"ftp://":"irc://")+d),c!=p&&(b.push([t.slice(c,p)]),c=u),b.push([l,d])}for(b.push([t.substr(c)]),h=0;h<b.length;h++)y+=e.callback.apply(window,b[h]);return y||t}}(),function(t,e,i,s){function n(e,i){this.settings=null,this.options=t.extend({},n.Defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy((function(e,i){this._handlers[i]=t.proxy(this[i],this)}),this)),t.each(n.Plugins,t.proxy((function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)}),this)),t.each(n.Workers,t.proxy((function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})}),this)),this.setup(),this.initialize()}n.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"sbsw-owl-refresh",loadedClass:"sbsw-owl-loaded",loadingClass:"sbsw-owl-loading",rtlClass:"sbsw-owl-rtl",responsiveClass:"sbsw-owl-responsive",dragClass:"sbsw-owl-drag",itemClass:"sbsw-owl-item",stageClass:"sbsw-owl-stage",stageOuterClass:"sbsw-owl-stage-outer",grabClass:"sbsw-owl-grab"},n.Width={Default:"default",Inner:"inner",Outer:"outer"},n.Type={Event:"event",State:"state"},n.Plugins={},n.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,s=this.settings.rtl,n={width:"auto","margin-left":s?e:"","margin-right":s?"":e};!i&&this.$stage.children().css(n),t.css=n}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,s=this._items.length,n=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};s--;)i=this._mergers[s],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,o[s]=n?e*i:this._items[s].width();this._widths=o}},{filter:["items","settings"],run:function(){var e=[],i=this._items,s=this.settings,n=Math.max(2*s.items,4),o=2*Math.ceil(i.length/2),r=s.loop&&i.length?s.rewind?n:Math.max(n,o):0,a="",h="";for(r/=2;r--;)e.push(this.normalize(e.length/2,!0)),a+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),h=i[e[e.length-1]][0].outerHTML+h;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(h).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,s=0,n=0,o=[];++i<e;)s=o[i-1]||0,n=this._widths[this.relative(i)]+this.settings.margin,o.push(s+n*t);this._coordinates=o}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,s=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],s.eq(e).css(t.css);else i&&(t.css.width=t.items.width,s.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,i,s,n=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,r=this.coordinates(this.current())+o,a=r+this.width()*n,h=[];for(i=0,s=this._coordinates.length;i<s;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+o*n,(this.op(t,"<=",r)&&this.op(t,">",a)||this.op(e,"<",r)&&this.op(e,">",a))&&h.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+h.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],n.prototype.initialize=function(){var e,i,n;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(e=this.$element.find("img"),i=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:s,n=this.$element.children(i).width(),e.length&&n<=0&&this.preloadAutoWidthImages(e));this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},n.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,s=-1,n=null;i?(t.each(i,(function(t){t<=e&&t>s&&(s=Number(t))})),"function"==typeof(n=t.extend({},this.options,i[s])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+s))):n=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=s,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},n.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},n.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},n.prototype.update=function(){for(var e=0,i=this._pipe.length,s=t.proxy((function(t){return this[t]}),this._invalidated),n={};e<i;)(this._invalidated.all||t.grep(this._pipe[e].filter,s).length>0)&&this._pipe[e].run(n),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},n.prototype.width=function(t){switch(t=t||n.Width.Default){case n.Width.Inner:case n.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},n.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},n.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},n.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized"
vendor: 6,740 bytes, line 10
10)))},n.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",(function(){return!1}))),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},n.prototype.onDragStart=function(e){var s=null;3!==e.which&&(t.support.transform?s={x:(s=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===s.length?12:4],y:s[16===s.length?13:5]}:(s=this.$stage.position(),s={x:this.settings.rtl?s.left+this.$stage.width()-this.width()+this.settings.margin:s.left,y:s.top}),this.is("animating")&&(t.support.transform?this.animate(s.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=s,this._drag.stage.current=s,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy((function(e){var s=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(s.x)<Math.abs(s.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))}),this)))},n.prototype.onDragMove=function(t){var e=null,i=null,s=null,n=this.difference(this._drag.pointer,this.pointer(t)),o=this.difference(this._drag.stage.start,n);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,o.x=((o.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),s=this.settings.pullDrag?-1*n.x/5:0,o.x=Math.max(Math.min(o.x,e+s),i+s)),this._drag.stage.current=o,this.animate(o.x))},n.prototype.onDragEnd=function(e){var s=this.difference(this._drag.pointer,this.pointer(e)),n=this._drag.stage.current,o=s.x>0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==s.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(n.x,0!==s.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(s.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",(function(){return!1}))),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},n.prototype.closest=function(e,i){var s=-1,n=this.width(),o=this.coordinates();return this.settings.freeDrag||t.each(o,t.proxy((function(t,r){return"left"===i&&e>r-30&&e<r+30?s=t:"right"===i&&e>r-n-30&&e<r-n+30?s=t+1:this.op(e,"<",r)&&this.op(e,">",o[t+1]||r-n)&&(s="left"===i?t+1:t),-1===s}),this)),this.settings.loop||(this.op(e,">",o[this.minimum()])?s=e=this.minimum():this.op(e,"<",o[this.maximum()])&&(s=e=this.maximum())),s},n.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},n.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},n.prototype.current=function(t){if(t===s)return this._current;if(0===this._items.length)return s;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==s&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},n.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,(function(t,e){return e}))},n.prototype.reset=function(t){(t=this.normalize(t))!==s&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},n.prototype.normalize=function(t,e){var i=this._items.length,n=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=s:(t<0||t>=i+n)&&(t=((t-n/2)%i+i)%i+n/2),t},n.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},n.prototype.maximum=function(t){var e,i,s,n=this.settings,o=this._coordinates.length;if(n.loop)o=this._clones.length/2+this._items.length-1;else if(n.autoWidth||n.merge){for(e=this._items.length,i=this._items[--e].width(),s=this.$element.width();e--&&!((i+=this._items[e].width()+this.settings.margin)>s););o=e+1}else o=n.center?this._items.length-1:this._items.length-n.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},n.prototype.minimum=function(t){return t?0:this._clones.length/2},n.prototype.items=function(t){return t===s?this._items.slice():(t=this.normalize(t,!0),this._items[t])},n.prototype.mergers=function(t){return t===s?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},n.prototype.clones=function(e){var i=this._clones.length/2,n=i+this._items.length,o=function(t){return t%2==0?n+t/2:i-(t+1)/2};return e===s?t.map(this._clones,(function(t,e){return o(e)})):t.map(this._clones,(function(t,i){return t===e?o(i):null}))},n.prototype.speed=function(t){return t!==s&&(this._speed=t),this._speed},n.prototype.coordinates=function(e){var i,n=1,o=e-1;return e===s?t.map(this._coordinates,t.proxy((function(t,e){return this.coordinates(e)}),this)):(this.settings.center?(this.settings.rtl&&(n=-1,o=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[o]||0))/2*n):i=this._coordinates[o]||0,i=Math.ceil(i))},n.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},n.prototype.to=function(t,e){var i=this.current(),s=null,n=t-this.relative(i),o=(n>0)-(n<0),r=this._items.length,a=this.minimum(),h=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(n)>r/2&&(n+=-1*o*r),(s=(((t=i+n)-a)%r+r)%r+a)!==t&&s-n<=h&&s-n>0&&(i=s-n,t=s,this.reset(i))):t
vendor: 25,532 bytes, line 10
10his.settings.rewind?t=(t%(h+=1)+h)%h:t=Math.max(a,Math.min(h,t)),this.speed(this.duration(i,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},n.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},n.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},n.prototype.onTransitionEnd=function(t){if(t!==s&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},n.prototype.viewport=function(){var s;return this.options.responsiveBaseElement!==e?s=t(this.options.responsiveBaseElement).width():e.innerWidth?s=e.innerWidth:i.documentElement&&i.documentElement.clientWidth?s=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),s},n.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter((function(){return 1===this.nodeType})).each(t.proxy((function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)}),this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},n.prototype.add=function(e,i){var n=this.relative(this._current);i=i===s?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},n.prototype.remove=function(t){(t=this.normalize(t,!0))!==s&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},n.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy((function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy((function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()}),this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))}),this))},n.prototype.destroy=function(){for(var s in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[s].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},n.prototype.op=function(t,e,i){var s=this.settings.rtl;switch(e){case"<":return s?t>i:t<i;case">":return s?t<i:t>i;case">=":return s?t<=i:t>=i;case"<=":return s?t>=i:t<=i}},n.prototype.on=function(t,e,i,s){t.addEventListener?t.addEventListener(e,i,s):t.attachEvent&&t.attachEvent("on"+e,i)},n.prototype.off=function(t,e,i,s){t.removeEventListener?t.removeEventListener(e,i,s):t.detachEvent&&t.detachEvent("on"+e,i)},n.prototype.trigger=function(e,i,s,o,r){var a={item:{count:this._items.length,index:this.current()}},h=t.camelCase(t.grep(["on",e,s],(function(t){return t})).join("-").toLowerCase()),l=t.Event([e,"owl",s||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,i));return this._supress[e]||(t.each(this._plugins,(function(t,e){e.onTrigger&&e.onTrigger(l)})),this.register({type:n.Type.Event,name:e}),this.$element.trigger(l),this.settings&&"function"==typeof this.settings[h]&&this.settings[h].call(this,l)),l},n.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]===s&&(this._states.current[e]=0),this._states.current[e]++}),this))},n.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]--}),this))},n.prototype.register=function(e){if(e.type===n.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===n.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy((function(i,s){return t.inArray(i,this._states.tags[e.name])===s}),this)))},n.prototype.suppress=function(e){t.each(e,t.proxy((function(t,e){this._supress[e]=!0}),this))},n.prototype.release=function(e){t.each(e,t.proxy((function(t,e){delete this._supress[e]}),this))},n.prototype.pointer=function(t){var i={x:null,y:null};return(t=(t=t.originalEvent||t||e.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},n.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},n.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.sbswOwlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each((function(){var s=t(this),o=s.data("owl.carousel");o||(o=new n(this,"object"==typeof e&&e),s.data("owl.carousel",o),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],(function(e,i){o.register({type:n.Type.Event,name:i}),o.$element.on(i+".owl.carousel.core",t.proxy((function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),o[i].apply(this,[].slice.call(arguments,1)),this.release([i]))}),o))}))),"string"==typeof e&&"_"!==e.charAt(0)&&o[e].apply(o,i)}))},t.fn.sbswOwlCarousel.Constructor=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("sbsw-owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var t,i;for(t in e.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.sbswOwlCarousel.Constructor.Plugins.AutoRefresh=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy((function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type))for(var i=this._core.settings,s=i.center&&Math.ceil(i.items/2)||i.items,n=i.center&&-1*s||0,o=(e.property&&undefined!==e.property.value?e.property.value:this._core.current())+n,r=this._core.clones().length,a=t.proxy((function(t,e){this.load(e)}),this);n++<s;)this.load(r/2+this._core.relative(o)),r&&t.each(this._core.clones(this._core.relative(o)),a),o++}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={lazyLoad:!1},n.prototype.load=function(i){var s=this._core.$stage.children().eq(i),n=s&&s.find(".sbsw-owl-lazy");!n||t.inArray(s.get(0),this._loaded)>-1||(n.each(t.proxy((function(i,s){var n,o=t(s),r=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src");this._core.trigger("load",{element:o,url:r},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy((function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:r},"lazy")}),this)).attr("src",r):((n=new Image).onload=t.proxy((function(){o.css({"background-image":'url("'+r+'")',opacity:"1"}),this._core.trigger("loaded",{element:o,url:r},"lazy")}),this),n.src=r)}),this)),this._loaded.push(s.get(0)))},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.sbswOwlCarousel.Constructor.Plugins.Lazy=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&this.update()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&"position"==t.property.name&&this.update()}),this),"loaded.owl.lazy":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoHeight:!1,autoHeightClass:"sbsw-owl-height"},n.prototype.update=function(){var e,i=this._core._current,s=i+this._core.settings.items,n=this._core.$stage.children().toArray().slice(i,s),o=[];t.each(n,(function(e,i){o.push(t(i).height())})),e=Math.max.apply(null,o),this._core.$stage.parent().height(e).addClass(this._core.settings.autoHeightClass)},n.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.sbswOwlCarousel.Constructor.Plugins.AutoHeight=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})}),this),"resize.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .sbsw-owl-video-frame").remove()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var i=t(e.content).find(".sbsw-owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".sbsw-owl-video-play-icon",t.proxy((function(t){this.play(t)}),this))};n.Defaults={video:!1,videoHeight:!1,videoWidth:!1},n.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",s=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),n=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,r=t.attr("href");if(!r)throw new Error("Missing video URL.");if((s=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(s[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(s[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}s=s[6],this._videos[r]={type:i,id:s,width:n,height:o},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},n.prototype.thumbnail=function(e,i){var s,n,o=i.width&&i.height?'style="width:'+i.width+"px;height:"+i.height+'px;"':"",r=e.find("img"),a="src",h="",l=this._core.settings,d=function(t){'<div class="sbsw-owl-video-play-icon"></div>',s=l.lazyLoad?'<div class="sbsw-owl-video-tn '+h+'" '+a+'="'+t+'"></div>':'<div class="sbsw-owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(s),e.after('<div class="sbsw-owl-video-play-icon"></div>')};if(e.wrap('<div class="sbsw-owl-video-wrapper"'+o+"></div>"),this._core.settings.lazyLoad&&(a="data-src",h="sbsw-owl-lazy"),r.length)return d(r.attr(a)),r.remove(),!1;"youtube"===i.type?(n="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",d(n)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t[0].thumbnail_large,d(n)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t.framegrab_url,d(n)}})},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".sbsw-owl-video-frame").remove(),this._playing.removeClass("sbsw-owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(e){var i,s=t(e.target).closest("."+this._core.settings.itemClass),n=this._videos[s.attr("data-video")],o=n.width||"100%",r=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),s=this._core.items(this._core.relative(s.index())),this._core.reset(s.index()),"youtube"===n.type?i='<iframe width="'+o+'" height="'+r+'" src="//www.youtube.com/embed/'+n.id+"?autoplay=1&rel=0&v="+n.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===n.type?i='<iframe src="//player.vimeo.com/video/'+n.id+'?autoplay=1" width="'+o+'" height="'+r+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===n.type&&(i='<iframe frameborder="0"height="'+r+'"width="'+o+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+n.id+'/player?autoplay=true"></iframe>'),t('<div class="sbsw-owl-video-frame">'+i+"</div>").insertAfter(s.find(".sbsw-owl-video")),this._playing=s.addClass("sbsw-owl-video-playing"))},n.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("sbsw-owl-video-frame")},n.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.sbswOwlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this.core=e,this.core.options=t.extend({},n.Defaults,this.core.options),this.swapping=!0,this.previous=s,this.next=s,this.handlers={"change.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)}),this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy((function(t){t.namespace&&(this.swapping="translated"==t.type)}),this),"translate.owl.carousel":t.proxy((function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()}),this)},this.core.$element.on(this.handlers)};n.Defaults={animateOut:!1,animateIn:!1},n.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),s=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),s.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated sbsw-owl-animated-out").addClass(r)),o&&n.one(t.support.animation.end,i).addClass("animated sbsw-owl-animated-in").addClass(o))}},n.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated sbsw-owl-animated-out sbsw-owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.sbswOwlCarousel.Constructor.Plugins.Animate=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":t.proxy((function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoplay&&this.play()}),this),"play.owl.autoplay":t.proxy((function(t,e,i){t.namespace&&this.play(e,i)}),this),"stop.owl.autoplay":t.proxy((function(t){t.namespace&&this.stop()}),this),"mouseover.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"mouseleave.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()}),this),"touchstart.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"touchend.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this.play()}),this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},n.Defaults,this._core.options)};n.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},n.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},n.prototype._getNextTimeout=function(s,n){return this._timeout&&e.clearTimeout(this._timeout),e.setTimeout(t.proxy((function(){this._paused||this._core.is("busy")||this._core.is("interacting")||i.hidden||this._core.next(n||this._core.settings.autoplaySpeed)}),this),s||this._core.settings.autoplayTimeout)},n.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},n.prototype.stop=function(){this._core.is("rotating")&&(e.clearTimeout(this._timeout),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},n.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.sbswOwlCarousel.Constructor.Plugins.autoplay=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){"use strict";var n=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy((function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")}),this),"added.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())}),this),"remove.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&this.draw()}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers)};n.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"sbsw-owl-nav",navClass:["sbsw-owl-prev","sbsw-owl-next"],slideBy:1,dotClass:"sbsw-owl-dot",dotsClass:"sbsw-owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},n.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?t(i.navContainer):t("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy((function(t){this.prev(i.navSpeed)}),this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy((function(t){this.next(i.navSpeed)}),this)),i.dotsData||(this._templates=[t("<div>").addClass(i.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",t.proxy((function(e){var s=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(s,i.dotsSpeed)}),this)),this._overrides)this._core[e]=t.proxy(this[e],this)},n.prototype.destroy=function(){var t,e,i,s;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(s in this.overides)this._core[s]=this._overrides[s];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},n.prototype.update=function(){var t,e,i=this._core.clones().length/2,s=i+this._core.items().length,n=this._core.maximum(!0),o=this._core.settings,r=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=i,e=0,0;t<s;t++){if(e>=r||0===e){if(this._pages.push({start:Math.min(n,t-i),end:t-i+r-1}),Math.min(n,t-i)===n)break;e=0}e+=this._core.mergers(this._core.relative(t))}},n.prototype.draw=function(){var e,i=this._core.settings,s=this._core.items().length<=i.items,n=this._core.relative(this._core.current()),o=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||s),i.nav&&(this._controls.$previous.toggleClass("disabled",!o&&n<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&n>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||s),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},n.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},n.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy((function(t,i){return t.start<=e&&t.end>=e}),this)).pop()},n.prototype.getPosition=function(e){var i,s,n=this._core.settings;return"page"==n.slideBy?(i=t.inArray(this.current(),this._pages),s=this._pages.length,e?++i:--i,i=this._pages[(i%s+s)%s].start):(i=this._core.relative(this._core.current()),s=this._core.items().length,e?i+=n.slideBy:i-=n.slideBy),i},n.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},n.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},n.prototype.to=function(e,i,s){var n;!s&&this._pages.length?(n=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%n+n)%n].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.sbswOwlCarousel.Constructor.Plugins.Navigation=n}
10(window.Zepto||window.jQuery,window,document),function(t,e,i,s){"use strict";var n=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy((function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}}),this),"changed.owl.carousel":t.proxy((function(i){if(i.namespace&&"position"===i.property.name){var s=this._core.items(this._core.relative(this._core.current())),n=t.map(this._hashes,(function(t,e){return t===s?e:null})).join();if(!n||e.location.hash.slice(1)===n)return;e.location.hash=n}}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy((function(t){var i=e.location.hash.substring(1),s=this._core.$stage.children(),n=this._hashes[i]&&s.index(this._hashes[i]);undefined!==n&&n!==this._core.current()&&this._core.to(this._core.relative(n),!1,!0)}),this))};n.Defaults={URLhashListener:!1},n.prototype.destroy=function(){var i,s;for(i in t(e).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(i,this._handlers[i]);for(s in Object.getOwnPropertyNames(this))"function"!=typeof this[s]&&(this[s]=null)},t.fn.sbswOwlCarousel.Constructor.Plugins.Hash=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){function n(e,i){var n=!1,o=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+a.join(o+" ")+o).split(" "),(function(t,e){if(r[e]!==s)return n=!i||e,!1})),n}function o(t){return n(t,!0)}var r=t("<support>").get(0).style,a="Webkit Moz O ms".split(" "),h={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},l=function(){return!!n("transform")},d=function(){return!!n("perspective")},c=function(){return!!n("animation")};(function(){return!!n("transition")})()&&(t.support.transition=new String(o("transition")),t.support.transition.end=h.transition.end[t.support.transition]),c()&&(t.support.animation=new String(o("animation")),t.support.animation.end=h.animation.end[t.support.animation]),l()&&(t.support.transform=new String(o("transform")),t.support.transform3d=d())}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){Owl2row=function(e){this.owl=e,this.owl.options=t.extend({},Owl2row.Defaults,this.owl.options),this.handlers={"initialize.owl.carousel":t.proxy((function(t){this.owl.settings.owl2row&&this.build2row(this)}),this)},this.owl.$element.on(this.handlers)},Owl2row.Defaults={owl2row:!1,owl2rowTarget:"sbsw-item",owl2rowContainer:"sbsw_owl2row-item",owl2rowDirection:"utd"},Owl2row.prototype.build2row=function(e){var i=t(e.owl.$element),s=i.find("."+e.owl.options.owl2rowTarget),n=[],o=[];if(t.each(s,(function(t,e){t%2==0?n.push(e):o.push(e)})),"ltr"===e.owl.options.owl2rowDirection)e.leftToright(e,i,s);else e.upTodown(e,n,o,i)},Owl2row.prototype.leftToright=function(e,i,s){var n=e.owl.options.owl2rowContainer,o=e.owl.options.margin,r=s.length,a=[],h=[];r%2==1?r=(r-1)/2+1:r/=2,t.each(s,(function(t,e){t<r?a.push(e):h.push(e)})),t.each(a,(function(e,s){var r=t('<div class="'+n+'"/>'),l=a[e];l.style.marginBottom=o+"px",r.append(l).append(h[e]),i.append(r)}))},Owl2row.prototype.upTodown=function(e,i,s,n){var o=e.owl.options.owl2rowContainer,r=e.owl.options.margin;t.each(i,(function(e,a){var h=t('<div class="'+o+'"/>'),l=i[e];l.style.marginBottom=r+"px",h.append(l).append(s[e]),n.append(h)}))},Owl2row.prototype.destroy=function(){},t.fn.sbswOwlCarousel.Constructor.Plugins.owl2row=Owl2row}(window.Zepto||window.jQuery,window,document),void 0===sbswOptions.no_mob_swipe)!function(t,e,i,s){"use strict";function n(t,e,i){return setTimeout(l(t,i),e)}function o(t,e,i){return!!Array.isArray(t)&&(r(t,i[e],i),!0)}function r(t,e,i){var n;if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==s)for(n=0;n<t.length;)e.call(i,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}function a(e,i,s){var n="DEPRECATED METHOD: "+i+"\n"+s+" AT \n";return function(){var i=new Error("get-stack-trace"),s=i&&i.stack?i.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=t.console&&(t.console.warn||t.console.log);return o&&o.call(t.console,n,s),e.apply(this,arguments)}}
vendor: 14,456 bytes, line 10
10function h(t,e,i){var s,n=e.prototype;(s=t.prototype=Object.create(n)).constructor=t,s._super=n,i&&st(s,i)}function l(t,e){return function(){return t.apply(e,arguments)}}function d(t,e){return typeof t==rt?t.apply(e&&e[0]||s,e):t}function c(t,e){return t===s?e:t}function u(t,e,i){r(m(e),(function(e){t.addEventListener(e,i,!1)}))}function p(t,e,i){r(m(e),(function(e){t.removeEventListener(e,i,!1)}))}function g(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function f(t,e){return t.indexOf(e)>-1}function m(t){return t.trim().split(/\s+/g)}function v(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var s=0;s<t.length;){if(i&&t[s][i]==e||!i&&t[s]===e)return s;s++}return-1}function w(t){return Array.prototype.slice.call(t,0)}function y(t,e,i){for(var s=[],n=[],o=0;o<t.length;){var r=e?t[o][e]:t[o];v(n,r)<0&&s.push(t[o]),n[o]=r,o++}return i&&(s=e?s.sort((function(t,i){return t[e]>i[e]})):s.sort()),s}function b(t,e){for(var i,n,o=e[0].toUpperCase()+e.slice(1),r=0;r<nt.length;){if((n=(i=nt[r])?i+o:e)in t)return n;r++}return s}function _(e){var i=e.ownerDocument||e;return i.defaultView||i.parentWindow||t}function x(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){d(t.options.enable,[t])&&i.handler(e)},this.init()}function C(t,e,i){var s=i.pointers.length,n=i.changedPointers.length,o=e&yt&&s-n==0,r=e&(_t|xt)&&s-n==0;i.isFirst=!!o,i.isFinal=!!r,o&&(t.session={}),i.eventType=e,function(t,e){var i=t.session,s=e.pointers,n=s.length;i.firstInput||(i.firstInput=I(e)),n>1&&!i.firstMultiple?i.firstMultiple=I(e):1===n&&(i.firstMultiple=!1);var o=i.firstInput,r=i.firstMultiple,a=r?r.center:o.center,h=e.center=T(s);e.timeStamp=lt(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=P(a,h),e.distance=S(a,h),function(t,e){var i=e.center,s=t.offsetDelta||{},n=t.prevDelta||{},o=t.prevInput||{};e.eventType!==yt&&o.eventType!==_t||(n=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},s=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=n.x+(i.x-s.x),e.deltaY=n.y+(i.y-s.y)}(i,e),e.offsetDirection=E(e.deltaX,e.deltaY);var l=k(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=l.x,e.overallVelocityY=l.y,e.overallVelocity=ht(l.x)>ht(l.y)?l.x:l.y,e.scale=r?function(t,e){return S(e[0],e[1],Lt)/S(t[0],t[1],Lt)}(r.pointers,s):1,e.rotation=r?function(t,e){return P(e[1],e[0],Lt)+P(t[1],t[0],Lt)}(r.pointers,s):0,e.maxPointers=i.prevInput?e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers:e.pointers.length,z(i,e);var d=t.element;g(e.srcEvent.target,d)&&(d=e.srcEvent.target),e.target=d}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function z(t,e){var i,n,o,r,a=t.lastInterval||e,h=e.timeStamp-a.timeStamp;if(e.eventType!=xt&&(h>wt||a.velocity===s)){var l=e.deltaX-a.deltaX,d=e.deltaY-a.deltaY,c=k(h,l,d);n=c.x,o=c.y,i=ht(c.x)>ht(c.y)?c.x:c.y,r=E(l,d),t.lastInterval=e}else i=a.velocity,n=a.velocityX,o=a.velocityY,r=a.direction;e.velocity=i,e.velocityX=n,e.velocityY=o,e.direction=r}function I(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:at(t.pointers[i].clientX),clientY:at(t.pointers[i].clientY)},i++;return{timeStamp:lt(),pointers:e,center:T(e),deltaX:t.deltaX,deltaY:t.deltaY}}function T(t){var e=t.length;if(1===e)return{x:at(t[0].clientX),y:at(t[0].clientY)};for(var i=0,s=0,n=0;e>n;)i+=t[n].clientX,s+=t[n].clientY,n++;return{x:at(i/e),y:at(s/e)}}function k(t,e,i){return{x:e/t||0,y:i/t||0}}function E(t,e){return t===e?Ct:ht(t)>=ht(e)?0>t?zt:It:0>e?Tt:kt}function S(t,e,i){i||(i=Ot);var s=e[i[0]]-t[i[0]],n=e[i[1]]-t[i[1]];return Math.sqrt(s*s+n*n)}function P(t,e,i){i||(i=Ot);var s=e[i[0]]-t[i[0]],n=e[i[1]]-t[i[1]];return 180*Math.atan2(n,s)/Math.PI}function O(){this.evEl=Rt,this.evWin=Dt,this.pressed=!1,x.apply(this,arguments)}function L(){this.evEl=At,this.evWin=Wt,x.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function $(){this.evTarget=Nt,this.evWin=Ft,this.started=!1,x.apply(this,arguments)}function R(t,e){var i=w(t.touches),s=w(t.changedTouches);return e&(_t|xt)&&(i=y(i.concat(s),"identifier",!0)),[i,s]}function D(){this.evTarget=Bt,this.targetIds={},x.apply(this,arguments)}function j(t,e){var i=w(t.touches),s=this.targetIds;if(e&(yt|bt)&&1===i.length)return s[i[0].identifier]=!0,[i,i];var n,o,r=w(t.changedTouches),a=[],h=this.target;if(o=i.filter((function(t){return g(t.target,h)})),e===yt)for(n=0;n<o.length;)s[o[n].identifier]=!0,n++;for(n=0;n<r.length;)s[r[n].identifier]&&a.push(r[n]),e&(_t|xt)&&delete s[r[n].identifier],n++;return a.length?[y(o.concat(a),"identifier",!0),a]:void 0}function M(){x.apply(this,arguments);var t=l(this.handler,this);this.touch=new D(this.manager,t),this.mouse=new O(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function A(t,e){t&yt?(this.primaryTouch=e.changedPointers[0].identifier,W.call(this,e)):t&(_t|xt)&&W.call(this,e)}function W(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var i={x:e.clientX,y:e.clientY};this.lastTouches.push(i);var s=this.lastTouches;setTimeout((function(){var t=s.indexOf(i);t>-1&&s.splice(t,1)}),Qt)}}function q(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,s=0;s<this.lastTouches.length;s++){var n=this.lastTouches[s],o=Math.abs(e-n.x),r=Math.abs(i-n.y);if(Ut>=o&&Ut>=r)return!0}return!1}function N(t,e){this.manager=t,this.set(e)}function F(t){this.options=st({},this.defaults,t||{}),this.id=ut++,this.manager=null,this.options.enable=c(this.options.enable,!0),this.state=ie,this.simultaneous={},this.requireFail=[]}function H(t){return t&ae?"cancel":t&oe?"end":t&ne?"move":t&se?"start":""}function B(t){return t==kt?"down":t==Tt?"up":t==zt?"left":t==It?"right":""}function Q(t,e){var i=e.manager;return i?i.get(t):t}function U(){F.apply(this,arguments)}function Y(){U.apply(this,arguments),this.pX=null,this.pY=null}function V(){U.apply(this,arguments)}function G(){F.apply(this,arguments),this._timer=null,this._input=null}function X(){U.apply(this,arguments)}function Z(){U.apply(this,arguments)}function J(){F.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function K(t,e){return(e=e||{}).recognizers=c(e.recognizers,K.defaults.preset),new tt(t,e)}function tt(t,e){this.options=st({},K.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=function(t){var e=t.options.inputClass;return new(e||(gt?L:ft?D:pt?M:O))(t,C)}(this),this.touchAction=new N(this,this.options.touchAction),et(this,!0),r(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function et(t,e){var i,s=t.element;s.style&&(r(t.options.cssProps,(function(n,o){i=b(s.style,o),e?(t.oldCssProps[i]=s.style[i],s.style[i]=n):s.style[i]=t.oldCssProps[i]||""})),e||(t.oldCssProps={}))}function it(t,i){var s=e.createEvent("Event");s.initEvent(t,!0,!0),s.gesture=i,i.target.dispatchEvent(s)}var st,nt=["","webkit","Moz","MS","ms","o"],ot=e.createElement("div"),rt="function",at=Math.round,ht=Math.abs,lt=Date.now;st="function"!=typeof Object.assign?function(t){if(t===s||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i<arguments.length;i++){var n=arguments[i];if(n!==s&&null!==n)for(var o in n)n.hasOwnProperty(o)&&(e[o]=n[o])}return e}:Object.assign;var dt=a((function(t,e,i){for(var n=Object.keys(e),o=0;o<n.length;)(!i||i&&t[n[o]]===s)&&(t[n[o]]=e[n[o]]),o++;return t}),"extend","Use `assign`."),ct=a((function(t,e){return dt(t,e,!0)}),"merge","Use `assign`."),ut=1,pt="ontouchstart"in t,gt=b(t,"PointerEvent")!==s,ft=pt&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),mt="touch",vt="mouse",wt=25,yt=1,bt=2,_t=4,xt=8,Ct=1,zt=2,It=4,Tt=8,kt=16,Et=zt|It,St=Tt|kt,Pt=Et|St,Ot=["x","y"],Lt=["clientX","clientY"];x.prototype={handler:function(){},init:function(){this.evEl&&u(this.element,this.evEl,this.domHandler),this.evTarget&&u(this.target,this.evTarget,this.domHandler),this.evWin&&u(_(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&p(this.element,this.evEl,this.domHandler),this.evTarget&&p(this.target,this.evTarget,this.domHandler),this.evWin&&p(_(this.element),this.evWin,this.domHandler)}};var $t={mousedown:yt,mousemove:bt,mouseup:_t},Rt="mousedown",Dt="mousemove mouseup";h(O,x,{handler:function(t){var e=$t[t.type];e&yt&&0===t.button&&(this.pressed=!0),e&bt&&1!==t.which&&(e=_t),this.pressed&&(e&_t&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:vt,srcEvent:t}))}});var jt={pointerdown:yt,pointermove:bt,pointerup:_t,pointercancel:xt,pointerout:xt},Mt={2:mt,3:"pen",4:vt,5:"kinect"},At="pointerdown",Wt="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(At="MSPointerDown",Wt="MSPointerMove MSPointerUp MSPointerCancel"),h(L,x,{handler:function(t){var e=this.store,i=!1,s=t.type.toLowerCase().replace("ms",""),n=jt[s],o=Mt[t.pointerType]||t.pointerType,r=o==mt,a=v(e,t.pointerId,"pointerId");n&yt&&(0===t.button||r)?0>a&&(e.push(t),a=e.length-1):n&(_t|xt)&&(i=!0),0>a||(e[a]=t,this.callback(this.manager,n,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),i&&e.splice(a,1))}});var qt={touchstart:yt,touchmove:bt,touchend:_t,touchcancel:xt},Nt="touchstart",Ft="touchstart touchmove touchend touchcancel";h($,x,{handler:function(t){var e=qt[t.type];if(e===yt&&(this.started=!0),this.started){var i=R.call(this,t,e);e&(_t|xt)&&i[0].length-i[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:mt,srcEvent:t})}}});var Ht={touchstart:yt,touchmove:bt,touchend:_t,touchcancel:xt},Bt="touchstart touchmove touchend touchcancel";h(D,x,{handler:function(t){var e=Ht[t.type],i=j.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:mt,srcEvent:t})}});var Qt=2500,Ut=25;h(M,x,{handler:function(t,e,i){var s=i.pointerType==mt,n=i.pointerType==vt;if(!(n&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(s)A.call(this,e,i);else if(n&&q.call(this,i))return;this.callback(t,e,i)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Yt=b(ot.style,"touchAction"),Vt=Yt!==s,Gt="compute",Xt="auto",Zt="manipulation",Jt="none",Kt="pan-x",te="pan-y",ee=function(){if(!Vt)return!1;var e={},i=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(s){e[s]=!i||t.CSS.supports("touch-action",s)})),e}();N.prototype={set:function(t){t==Gt&&(t=this.compute()),Vt&&this.manager.element.style&&ee[t]&&(this.manager.element.style[Yt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return r(this.manager.recognizers,(function(e){d(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(f(t,Jt))return Jt;var e=f(t,Kt),i=f(t,te);return e&&i?Jt:e||i?e?Kt:te:f(t,Zt)?Zt:Xt}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,i=t.offsetDirection;if(!this.manager.session.prevented){var s=this.actions,n=f(s,Jt)&&!ee[Jt],o=f(s,te)&&!ee[te],r=f(s,Kt)&&!ee[Kt];if(n){var a=1===t.pointers.length,h=t.distance<2,l=t.deltaTime<250;if(a&&h&&l)return}return r&&o?void 0:n||o&&i&Et||r&&i&St?this.preventSrc(e):void 0}e.preventDefault()},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var ie=1,se=2,ne=4,oe=8,re=oe,ae=16,he=32;F.prototype={defaults:{},set:function(t){return st(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(o(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Q(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return o(t,"dropRecognizeWith",this)||(t=Q(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(o(t,"requireFailure",this))return this;var e=this.requireFail;return-1===v(e,t=Q(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(o(t,"dropRequireFailure",this))return this;t=Q(t,this);var e=v(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){i.manager.emit(e,t)}var i=this,s=this.state;oe>s&&e(i.options.event+H(s)),e(i.options.event),t.additionalEvent&&e(t.additionalEvent),s>=oe&&e(i.options.event+H(s))},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=he)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(he|ie)))return!1;t++}return!0},recognize:function(t){var e=st({},t);return d(this.options.enable,[this,e])?(this.state&(re|ae|he)&&(this.state=ie),this.state=this.process(e),void(this.state&(se|ne|oe|ae)&&this.tryEmit(e))):(this.reset(),void(this.state=he))},process:function(t){},getTouchAction:function(){},reset:function(){}},h(U,F,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,i=t.eventType,s=e&(se|ne),n=this.attrTest(t);return s&&(i&xt||!n)?e|ae:s||n?i&_t?e|oe:e&se?e|ne:se:he}}),h(Y,U,{defaults:{event:"pan",threshold:10,pointers:1,direction:Pt},getTouchAction:function(){var t=this.options.direction,e=[];return t&Et&&e.push(te),t&St&&e.push(Kt),e},directionTest:function(t){var e=this.options,i=!0,s=t.distance,n=t.direction,o=t.deltaX,r=t.deltaY;return n&e.direction||(e.direction&Et?(n=0===o?Ct:0>o?zt:It,i=o!=this.pX,s=Math.abs(t.deltaX)):(n=0===r?Ct:0>r?Tt:kt,i=r!=this.pY,s=Math.abs(t.deltaY))),t.direction=n,i&&s>e.threshold&&n&e.direction},attrTest:function(t){return U.prototype.attrTest.call(this,t)&&(this.state&se||!(this.state&se)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=B(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),h(V,U,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Jt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&se)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),h(G,F,{defaults:{event:"press",pointers:1,time:251,threshold:9}
10,getTouchAction:function(){return[Xt]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,s=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!s||!i||t.eventType&(_t|xt)&&!o)this.reset();else if(t.eventType&yt)this.reset(),this._timer=n((function(){this.state=re,this.tryEmit()}),e.time,this);else if(t.eventType&_t)return re;return he},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===re&&(t&&t.eventType&_t?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=lt(),this.manager.emit(this.options.event,this._input)))}}),h(X,U,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Jt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&se)}}),h(Z,U,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Et|St,pointers:1},getTouchAction:function(){return Y.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&(Et|St)?e=t.overallVelocity:i&Et?e=t.overallVelocityX:i&St&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&ht(e)>this.options.velocity&&t.eventType&_t},emit:function(t){var e=B(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),h(J,F,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Zt]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,s=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),t.eventType&yt&&0===this.count)return this.failTimeout();if(s&&o&&i){if(t.eventType!=_t)return this.failTimeout();var r=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||S(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&r?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=n((function(){this.state=re,this.tryEmit()}),e.interval,this),se):re}return he},failTimeout:function(){return this._timer=n((function(){this.state=he}),this.options.interval,this),he},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==re&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),K.VERSION="2.0.8",K.defaults={domEvents:!1,touchAction:Gt,enable:!0,inputTarget:null,inputClass:null,preset:[[X,{enable:!1}],[V,{enable:!1},["rotate"]],[Z,{direction:Et}],[Y,{direction:Et},["swipe"]],[J],[J,{event:"doubletap",taps:2},["tap"]],[G]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};tt.prototype={set:function(t){return st(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var i,s=this.recognizers,n=e.curRecognizer;(!n||n&&n.state&re)&&(n=e.curRecognizer=null);for(var o=0;o<s.length;)i=s[o],2===e.stopped||n&&i!=n&&!i.canRecognizeWith(n)?i.reset():i.recognize(t),!n&&i.state&(se|ne|oe)&&(n=e.curRecognizer=i),o++}},get:function(t){if(t instanceof F)return t;for(var e=this.recognizers,i=0;i<e.length;i++)if(e[i].options.event==t)return e[i];return null},add:function(t){if(o(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(o(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,i=v(e,t);-1!==i&&(e.splice(i,1),this.touchAction.update())}return this},on:function(t,e){if(t!==s&&e!==s){var i=this.handlers;return r(m(t),(function(t){i[t]=i[t]||[],i[t].push(e)})),this}},off:function(t,e){if(t!==s){var i=this.handlers;return r(m(t),(function(t){e?i[t]&&i[t].splice(v(i[t],e),1):delete i[t]})),this}},emit:function(t,e){this.options.domEvents&&it(t,e);var i=this.handlers[t]&&this.handlers[t].slice();if(i&&i.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var s=0;s<i.length;)i[s](e),s++}},destroy:function(){this.element&&et(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},st(K,{INPUT_START:yt,INPUT_MOVE:bt,INPUT_END:_t,INPUT_CANCEL:xt,STATE_POSSIBLE:ie,STATE_BEGAN:se,STATE_CHANGED:ne,STATE_ENDED:oe,STATE_RECOGNIZED:re,STATE_CANCELLED:ae,STATE_FAILED:he,DIRECTION_NONE:Ct,DIRECTION_LEFT:zt,DIRECTION_RIGHT:It,DIRECTION_UP:Tt,DIRECTION_DOWN:kt,DIRECTION_HORIZONTAL:Et,DIRECTION_VERTICAL:St,DIRECTION_ALL:Pt,Manager:tt,Input:x,TouchAction:N,TouchInput:D,MouseInput:O,PointerEventInput:L,TouchMouseInput:M,SingleTouchInput:$,Recognizer:F,AttrRecognizer:U,Tap:J,Pan:Y,Swipe:Z,Pinch:V,Rotate:X,Press:G,on:u,off:p,each:r,merge:ct,extend:dt,assign:st,inherit:h,bindFn:l,prefixed:b}),(void 0!==t?t:"undefined"!=typeof self?self:{}).Hammer=K,"function"==typeof define&&define.amd?define((function(){return K})):"undefined"!=typeof module&&module.exports?module.exports=K:t.Hammer=K}(window,document),function(t){"function"==typeof define&&define.amd?define(["jquery","hammerjs"],t):"object"==typeof exports?t(require("jquery"),require("hammerjs")):t(jQuery,Hammer)}((function(t,e){var i;t.fn.hammer=function(i){return this.each((function(){!function(i,s){var n=t(i);n.data("hammer")||n.data("hammer",new e(n[0],s))}(this,i)}))},e.Manager.prototype.emit=(i=e.Manager.prototype.emit,function(e,s){i.call(this,e,s),t(this.element).trigger({type:e,gesture:s})})}));else{var Hammer={Manager:{prototype:{}}};!function(t){"function"==typeof define&&define.amd?define(["jquery","hammerjs"],t):"object"==typeof exports?t(require("jquery"),require("hammerjs")):t(jQuery,Hammer)}((function(t,e){var i;t.fn.hammer=function(t){return this.each((function(){}))},e.Manager.prototype.emit=(i=e.Manager.prototype.emit,function(e,s){i.call(this,e,s),t(this.element).trigger({type:e,gesture:s})})}))}!function(t){function e(){this.feeds={},this.options=sbswOptions,this.isTouch=function(){if("ontouchstart"in document.documentElement)return!0;return!1}()}function i(t,e,i){this.el=t,this.index=e,this.settings=i,this.placeholderURL=window.sbsw.options.placeholder,this.consentGiven=!0,this.players={},this.minImageWidth=0,this.imageResolution=150,this.resizedImages={},this.needsResizing={instagram:[],facebook:[],twitter:[]},this.outOfPages=!1,this.isInitialized=!1,this.itemsToCheck={youtube:[],instagram:[],twitter:{cards:[],resize:[]},facebook:[]},this.page=1,this.imagesWaiting=0}function s(){}function n(t,e){this.$context=e,this.prefix=t}function o(t){this.feed=t,this.pages={instagram:0,facebook:0,twitter:0,youtube:0},this.currentFilter="all",this.pagesAvailable={instagram:!0,facebook:!0,twitter:!0,youtube:!0}}function r(e,i){t.ajax({url:sbswOptions.adminAjaxUrl,type:"post",data:e,success:i})}e.prototype={createPage:function(e,i){void 0!==window.sbswajaxurl&&-1!==window.sbswajaxurl.indexOf(window.location.hostname)||(window.sbswajaxurl=window.location.hostname+"/wp-admin/admin-ajax.php"),t(".sbsw_no_js_error_message").remove(),t(".sbsw_no_js").removeClass("sbsw_no_js"),e(i)},createLightbox:function(){var e,i=new s,n=(e=0,function(t,i){clearTimeout(e),e=setTimeout(t,i)});jQuery(window).resize((function(){n((function(){i.afterResize()}),200)})),function(){var e=jQuery,s=function(){function t(){this.fadeDuration=500,this.fitImagesInViewport=!0,this.resizeDuration=700,this.positionFromTop=50,this.showImageNumberLabel=!0,this.alwaysShowNavOnTouchDevices=!1,this.wrapAround=!1}return t.prototype.albumLabel=function(t,e){return t+" / "+e},t}(),n=function(){function s(t){this.options=t,this.album=[],this.currentImageIndex=void 0,this.init()}return s.prototype.init=function(){this.enable(),this.build()},s.prototype.enable=function(){var t=this;e("body").on("click","a[data-sbsw-lightbox]",(function(i){return t.start(e(i.currentTarget)),!1}))},s.prototype.build=function(){var t,s=this;if("function"!=typeof e("#sbsw-lightbox").find(".sbsw-lb-container").hammer){var n={Manager:{prototype:{}}};t=function(t,e){var i;t.fn.hammer=function(t){return this.each((function(){}))},e.Manager.prototype.emit=(i=e.Manager.prototype.emit,function(e,s){i.call(this,e,s),t(this.element).trigger({type:e,gesture:s})})},"function"==typeof define&&define.amd?define(["jquery","hammerjs"],t):"object"==typeof exports?t(require("jquery"),require("hammerjs")):t(jQuery,n)}e(""+i.template()).appendTo(e("body")),this.$lightbox=e("#sbsw-lightbox"),this.$overlay=e("#sbsw-lightboxOverlay"),this.$outerContainer=this.$lightbox.find(".sbsw-lb-outerContainer"),this.$container=this.$lightbox.find(".sbsw-lb-container"),this.containerTopPadding=parseInt(this.$container.css("padding-top"),10),this.containerRightPadding=parseInt(this.$container.css("padding-right"),10),this.containerBottomPadding=parseInt(this.$container.css("padding-bottom"),10),this.containerLeftPadding=parseInt(this.$container.css("padding-left"),10),this.$overlay.hide().on("click",(function(){return s.end(),!1})),jQuery(document).on("click",(function(t,e,s){jQuery(t.target).closest(".sbsw-lb-outerContainer").length||jQuery(t.target).closest(".sbsw-lb-dataContainer").length||(i.pausePlayer(),i.afterSlideChange(),jQuery("#sbsw-lightboxOverlay, #sbsw-lightbox").fadeOut())})),this.$lightbox.hide(),jQuery("#sbsw-lightboxOverlay").on("click",(function(t){return i.pausePlayer(),i.afterSlideChange(),"sbsw-lightbox"===e(t.target).attr("id")&&s.end(),!1})),this.$lightbox.find(".sbsw-lb-prev").on("click",(function(){return i.pausePlayer(),i.afterSlideChange(),s.changeImage(0===s.currentImageIndex?s.album.length-1:s.currentImageIndex-1),!1})),this.$lightbox.find(".sbsw-lb-container").hammer().on("swiperight",(function(){return i.pausePlayer(),i.afterSlideChange(),s.changeImage(0===s.currentImageIndex?s.album.length-1:s.currentImageIndex-1),!1})),this.$lightbox.find(".sbsw-lb-next").on("click",(function(){return i.pausePlayer(),i.afterSlideChange(),s.changeImage(s.currentImageIndex===s.album.length-1?0:s.currentImageIndex+1),!1})),this.$lightbox.find(".sbsw-lb-container").hammer().on("swipeleft",(function(){return i.pausePlayer(),i.afterSlideChange(),s.changeImage(s.currentImageIndex===s.album.length-1?0:s.currentImageIndex+1),!1})),this.$lightbox.find(".sbsw-lb-loader, .sbsw-lb-close").on("click",(function(){return i.pausePlayer(),i.afterSlideChange(),s.end(),!1}))},s.prototype.start=function(t){function s(t){n.album.push(i.getData(t))}var n=this,o=e(window);o.on("resize",e.proxy(this.sizeOverlay,this)),e("select, object, embed").css({visibility:"hidden"}),this.sizeOverlay(),this.album=[];var r,a=0,h=t.attr("data-sbsw-lightbox");if(h){r=e(t.prop("tagName")+'[data-sbsw-lightbox="'+h+'"]');for(var l=0;l<r.length;l=++l)s(e(r[l])),r[l]===t[0]&&(a=l)}else if("lightbox"===t.attr("rel"))s(t);else{r=e(t.prop("tagName")+'[rel="'+t.attr("rel")+'"]');for(var d=0;d<r.length;d=++d)s(e(r[d])),r[d]===t[0]&&(a=d)}var c=o.scrollTop()+this.options.positionFromTop,u=o.scrollLeft();this.$lightbox.css({top:c+"px",left:u+"px"}).fadeIn(this.options.fadeDuration),this.changeImage(a)},s.prototype.changeImage=function(t){var i=this;this.disableKeyboardNav();var s=this.$lightbox.find(".sbsw-lb-image");this.$overlay.fadeIn(this.options.fadeDuration),e(".sbsw-lb-loader").fadeIn("slow"),this.$lightbox.find(".sbsw-lb-image, .sbsw-lb-nav, .sbsw-lb-prev, .sbsw-lb-next, .sbsw-lb-dataContainer, .sbsw-lb-numbers, .sbsw-lb-caption").hide(),this.$outerContainer.addClass("animating");var n=new Image;n.onload=function(){var o,r,a,h,l,d,c=0,u=0;window.innerWidth>640&&(c=100,u=300),s.attr("src",i.album[t].link),e(n),s.width(n.width),s.height(n.height),i.options.fitImagesInViewport&&(d=e(window).width(),l=e(window).height(),h=d-i.containerLeftPadding-i.containerRightPadding-20-u-c,a=l-i.containerTopPadding-i.containerBottomPadding-150,(n.width>h||n.height>a)&&(n.width/h>n.height/a?(r=h,o=parseInt(n.height/(n.width/r),10),s.width(r),s.height(o)):(o=a,r=parseInt(n.width/(n.height/o),10),s.width(r),s.height(o)))),i.sizeContainer(s.width(),s.height())},n.src=this.album[t].link,this.currentImageIndex=t},s.prototype.sizeOverlay=function(){this.$overlay.width(e(window).width()).height(e(document).height())},s.prototype.sizeContainer=function(t,e){function i(){s.$lightbox.find(".sbsw-lb-dataContainer").width(r),s.$lightbox.find(".sbsw-lb-prevLink").height(a),s.$lightbox.find(".sbsw-lb-nextLink").height(a),s.showImage()}var s=this,n=this.$outerContainer.outerWidth(),o=this.$outerContainer.outerHeight(),r=t+this.containerLeftPadding+this.containerRightPadding,a=e+this.containerTopPadding+this.containerBottomPadding;n!==r||o!==a?this.$outerContainer.animate({width:r,height:a},this.options.resizeDuration,"swing",(function(){i()})):i()},s.prototype.showImage=function(){window.sbsw.feeds[0].checkConsent()&&(this.$lightbox.find(".sbsw-lb-loader").hide(),this.$lightbox.find(".sbsw-lb-image").fadeIn("slow"),this.updateNav(),this.updateDetails(),this.preloadNeighboringImages(),this.enableKeyboardNav())},s.prototype.updateNav=function(){var t=!1;try{document.createEvent("TouchEvent"),t=!!this.options.alwaysShowNavOnTouchDevices}catch(t){}this.$lightbox.find(".sbsw-lb-nav").show(),this.album.length>1&&(this.options.wrapAround?(t&&this.$lightbox.find(".sbsw-lb-prev, .sbsw-lb-next").
10css("opacity","1"),this.$lightbox.find(".sbsw-lb-prev, .sbsw-lb-next").show()):(this.currentImageIndex>0&&(this.$lightbox.find(".sbsw-lb-prev").show(),t&&this.$lightbox.find(".sbsw-lb-prev").css("opacity","1")),this.currentImageIndex<this.album.length-1&&(this.$lightbox.find(".sbsw-lb-next").show(),t&&this.$lightbox.find(".sbsw-lb-next").css("opacity","1"))))},s.prototype.updateDetails=function(){var e=this;jQuery("iframe.sbsw-lb-player-loaded").length&&(jQuery(".sbsw-lb-player-placeholder").replaceWith(jQuery("iframe.sbsw-lb-player-loaded")),jQuery("iframe.sbsw-lb-player-loaded").removeClass("sbsw-lb-player-loaded").show());var s=window.sbsw.feeds[this.album[this.currentImageIndex].feedIndex];if(i.beforePlayerSetup(this.$lightbox,this.album[this.currentImageIndex],this.currentImageIndex,this.album,s),sbsw_supports_video())if("youtube"===this.album[this.currentImageIndex].mediaType){jQuery("#sbsw-lightbox").addClass("sbsw-video-lightbox");var n=this.album[this.currentImageIndex].mediaURL;if(void 0===window.sbswLightboxPlayer){var o={host:window.location.protocol+"//www.youtube-nocookie.com",videoId:n,playerVars:{modestbranding:1,rel:0,autoplay:!0}};window.sbswLightboxPlayer=new window.YT.Player("sbsw-lb-player",o)}else window.sbswLightboxPlayer.loadVideoById(n)}else"video"===this.album[this.currentImageIndex].mediaType?void 0!==this.album[this.currentImageIndex].embed_html?(t(".sbsw-lb-media").find(".sbsw-lb-video").remove(),t(".sbsw-lb-media").find(".sbsw-lb-image").remove(),t(".sbsw-lb-media").append(this.album[this.currentImageIndex].embed_html),t(".sbsw-lb-outerContainer").addClass("tiktok-feed-lightbox")):t(".sbsw-lb-media").find("video").length?t(".sbsw-lb-media").find(".sbsw-lb-video").attr("src",this.album[this.currentImageIndex].mediaURL):t(".sbsw-lb-media").append('<video class="sbsw-lb-video" src="'+this.album[this.currentImageIndex].mediaURL+'" poster="" controls></video>'):"iframe"===this.album[this.currentImageIndex].mediaType&&(t(".sbsw-lb-media").find("iframe.sbsw-lb-iframe").length?t(".sbsw-lb-media").find(".sbsw-lb-iframe").attr("src",this.album[this.currentImageIndex].mediaURL):t(".sbsw-lb-media").append('<iframe class="sbsw-lb-iframe" title="Placeholder for videos in the lightbox" type="text/html" src="'+this.album[this.currentImageIndex].mediaURL+'" allowfullscreen webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'));"video"!==this.album[this.currentImageIndex].mediaType||jQuery(".sbsw-lb-container-wrapper .sbsw_gdpr_notice").length||window.sbsw.feeds[0].checkConsent()?"video"!==this.album[this.currentImageIndex].mediaType&&jQuery(".sbsw_gdpr_notice").remove():jQuery(".sbsw-lb-container-wrapper").prepend('<a href="'+this.album[this.currentImageIndex].permalink+'" target="_blank" rel="noopener noreferrer" class="sbsw_gdpr_notice"><svg style="color: rgba(255,255,255,1)" class="svg-inline--fa fa-play fa-w-14 sbi_playbtn" aria-label="Play" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="play" role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"></path></svg></a>'),this.album.length>1&&this.options.showImageNumberLabel?this.$lightbox.find(".sbsw-lb-number").text(this.options.albumLabel(this.currentImageIndex+1,this.album.length)).fadeIn("fast"):this.$lightbox.find(".sbsw-lb-number").hide(),this.$outerContainer.removeClass("animating"),this.$lightbox.find(".sbsw-lb-dataContainer").fadeIn(this.options.resizeDuration,(function(){return e.sizeOverlay()})),i.afterPlayerSetup(this.$lightbox,this.album[this.currentImageIndex],this.currentImageIndex,this.album)},s.prototype.preloadNeighboringImages=function(){this.album.length>this.currentImageIndex+1&&((new Image).src=this.album[this.currentImageIndex+1].link);this.currentImageIndex>0&&((new Image).src=this.album[this.currentImageIndex-1].link)},s.prototype.enableKeyboardNav=function(){e(document).on("keyup.keyboard",e.proxy(this.keyboardAction,this))},s.prototype.disableKeyboardNav=function(){e(document).off(".keyboard")},s.prototype.keyboardAction=function(e){var s=event.keyCode,n=String.fromCharCode(s).toLowerCase();27===s||n.match(/x|o|c/)?(sbsw_supports_video()&&t("#sbsw-lightbox video.sbsw_video")[0].pause(),t("#sbsw-lightbox iframe").attr("src",""),this.end()):"p"===n||37===s?(0!==this.currentImageIndex?this.changeImage(this.currentImageIndex-1):this.options.wrapAround&&this.album.length>1&&this.changeImage(this.album.length-1),sbsw_supports_video()&&t("#sbsw-lightbox video.sbsw-lb-video")[0].pause(),t("#sbsw-lightbox iframe").attr("src","")):"n"!==n&&39!==s||(this.currentImageIndex!==this.album.length-1?this.changeImage(this.currentImageIndex+1):this.options.wrapAround&&this.album.length>1&&this.changeImage(0),i.pausePlayer(),i.afterSlideChange())},s.prototype.end=function(){this.disableKeyboardNav(),e(window).off("resize",this.sizeOverlay),this.$lightbox.fadeOut(this.options.fadeDuration),this.$overlay.fadeOut(this.options.fadeDuration),e("select, object, embed").css({visibility:"visible"})},s}();e((function(){var e=new s;new n(e),t(".sbsw-lightbox_action a").unbind().bind("click",(function(){t(this).parent().find(".sbsw-lightbox_tooltip").toggle()}))}))}.call(this)},maybeAddYTAPI:function(){if(void 0===window.sbsw.feedOptions)return;if("youtube-feed"in JSON.parse(window.sbsw.feedOptions.shortCodeAtts)){var t="sbsw-youtube-api";if(null===document.getElementById(t)){var e=document.createElement("script"),i=document.getElementsByTagName("script")[0];e.src="https://www.youtube.com/iframe_api",e.id=t,i.parentNode.insertBefore(e,i)}}},createFeeds:function(e){window.sbsw.createLightbox(),e.whenFeedsCreated(t(".
10sb-wall").each((function(e){t(this).attr("data-sbsw-index",e+1);var s=t(this),r=void 0!==s.attr("data-sbsw-flags")?s.attr("data-sbsw-flags").split(","):[],a=void 0!==s.attr("data-options")?JSON.parse(s.attr("data-options")):{},h={cols:a.cols,colstablet:a.colstablet,colsmobile:a.colsmobile,feedID:s.attr("data-feedid"),builderFeedID:s.attr("data-builder-feed-id"),postID:"undefind"!=typeof s.attr("data-postid")?s.attr("data-postid"):"unknown",shortCodeAtts:s.attr("data-shortcode-atts"),gdpr:r.indexOf("gdpr")>-1,consentGiven:-1===r.indexOf("gdpr"),overrideBlockCDN:r.indexOf("overrideBlockCDN")>-1,backgroundCheck:r.indexOf("background")>-1,ifResizingEnabled:-1===r.indexOf("ifResizeDisable"),fbResizingEnabled:-1===r.indexOf("fbResizeDisable"),twResizingEnabled:-1===r.indexOf("twResizeDisable"),lightboxEnabled:!0,autoMinRes:1,general:a};window.sbsw.feedOptions=h,window.sbsw.feeds[e]=function(t,e,s){return new i(t,e,s)}(this,e,h),void 0!==window.sbswAPIReady&&(window.sbsw.feeds[e].playerAPIReady=!0),window.sbsw.feeds[e].twitterCardHandler=new n("sbsw",s),window.sbsw.feeds[e].init(),window.sbsw.filterBars={},window.sbsw.filterBars[e]=new o(window.sbsw.feeds[e]),window.sbsw.filterBars[e].init();var l=jQuery.Event("sbyafterfeedcreate");l.feed=window.sbsw.feeds[e],jQuery(window).trigger(l)})))},afterFeedsCreated:function(){if(window.sbswAPIReady){var t=jQuery.Event("sbyfeedandytready");jQuery(window).trigger(t)}},encodeHTML:function(t){return void 0===t?"":t.replace(/(>)/g,">").replace(/(<)/g,"<").replace(/(<br\/>)/g,"<br>").replace(/(<br>)/g,"<br>")},urlDetect:function(t){return t.match(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)},numberFormat:function(t){return t.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")}},i.prototype={init:function(){var e=this;t(this.el).find("#sbsw_mod_error").length&&t(this.el).prepend(t(this.el).find("#sbsw_mod_error")),e.settings.consentGiven=e.checkConsent(),e.settings.consentGiven?window.sbsw.maybeAddYTAPI():(jQuery(this.el).find(".sb-wall-load-btn").is(":visible")&&jQuery(this.el).find(".sb-wall-load-btn").hide().addClass("sbsw-no-consent-hide"),jQuery(this.el).addClass("sbsw-no-consent")),e.setResizedImages(),this.settings.ajaxPostLoad?this.getNewPostSet():this.afterInitialImagesLoaded();var i,s=(i=0,function(t,e){clearTimeout(i),i=setTimeout(t,e)});jQuery(window).resize((function(){s((function(){e.afterResize()}),500)})),t(this.el).find(".sbsw-item").each((function(){e.lazyLoadCheck(t(this))}))},initLayout:function(){var e=t(this.el),i=this,s=i.settings.general.cols,n=i.settings.general.colsmobile,o="list";if(void 0!==i.settings.general.masonry?o="masonry":void 0!==i.settings.general.carousel&&(o="carousel"),this.layout=o,"masonry"===o)e.hasClass("sbsw-mobcol-auto")?(2,2!=parseInt(s)&&(p=1),2==parseInt(s)&&(p=2)):p=n,e.addClass("sbsw-masonry"),this.settings.autoMinRes=320,e.find(".sb-wall-items-wrap").data("smashotope")&&e.find(".sb-wall-items-wrap").smashotope("layout"),this.isotopeArgs={itemSelector:".sbsw-item",layoutMode:"packery",transitionDuration:0,resizable:!1};else if("carousel"===o){s=this.settings.cols;var r=this.settings.colstablet;n=this.settings.colsmobile;e.find(".sb-wall-items-wrap").addClass("sbsw-carousel"),e.find(".sby_load_btn").remove(),e.find(".sbsw-item").css({"padding-top":i.settings.general.itemspacing,"padding-right":i.settings.general.itemspacing,"padding-bottom":i.settings.general.itemspacing,"padding-left":i.settings.general.itemspacing}),e.find(".sbsw-item").each((function(){t(this).attr("style",t(this).attr("style").replace("padding: "+e.find(".sb-wall-items-wrap").css("padding-top"),"padding: "+e.find(".sb-wall-items-wrap").css("padding-top")+" !important"))}));var a=i.settings.general.carousel[0],h=i.settings.general.carousel[1],l=i.settings.general.carousel[2],d=i.settings.general.carousel[3],c=i.settings.general.carousel[4],u=i.settings.general.carousel[5];l||(d=!1);var p=s,g=(a=a?"onhover":"hide",l=!1!==d,2==u);c=!c;e.hasClass("sbsw-mob-col-auto")?(2,2!=parseInt(s)&&(p=1),2==parseInt(s)&&(p=2)):p=n,this.carouselArgs={items:s,loop:c,rewind:!c,autoplay:l,autoplayTimeout:Math.max(d,2e3),autoplayHoverPause:!0,nav:!0,navText:['<svg class="svg-inline--fa fa-chevron-left fa-w-10" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="chevron-left" role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512">
10<path fill="currentColor" d="M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"></path></svg>','<svg class="svg-inline--fa fa-chevron-right fa-w-10" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="chevron-right" role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>'],dots:h,owl2row:g,responsive:{0:{items:p},480:{items:r},767:{items:s}},onChange:function(){setTimeout((function(){i.afterResize()}),250)},onInitialize:function(){var t=jQuery(i.el);t.find(".sb-wall-items-wrap.sbsw-carousel").fadeIn(),setTimeout((function(){t.find(".sb-wall-items-wrap.sbsw-carousel .sbsw-info, .sbsw-owl2row-item,.sb-wall-items-wrap.sbsw-carousel").fadeIn()}),50),setTimeout((function(){var e=t.find(".sbsw-owl-nav");if("onhover"===a);else if("below"===a){var i=t.find(".sbsw-owl-dots"),s=t.find(".sbsw-owl-prev"),n=t.find(".sbsw-owl-next"),o=t.find(".sbsw-owl-nav"),r=t.find(".sbsw-owl-dot"),h=r.length*r.innerWidth();t.innerWidth();s.after(i),o.css("position","relative"),n.css("position","absolute").css("top","-6px").css("right",Math.max(.5*o.innerWidth()-.5*h-n.innerWidth()-6,0)),s.css("position","absolute").css("top","-6px").css("left",Math.max(.5*o.innerWidth()-.5*h-s.innerWidth()-6,0))}else"hide"===a&&e.addClass("hide").hide()}),100)}}}var f=jQuery.Event("sbswafterlayoutinit");f.feed=this,jQuery(window).trigger(f),"masonry"===o&&(i.setMasonry(),i.smashotopeInit(),setTimeout((function(){i.setMasonry(),i.smashotopeInit()}),500))},setResizedImages:function(){if(!t(this.el).find(".sbsw-resized-image-data").length||void 0===t(this.el).find(".sbsw-resized-image-data").attr("data-resized")||0!==t(this.el).find(".sbsw-resized-image-data").attr("data-resized").indexOf('{"')&&0!==t(this.el).find(".sbsw-resized-image-data").attr("data-resized").indexOf("["))this.resizedImages={facebook:{},instagram:{}};else{var e=JSON.parse(t(this.el).find(".sbsw-resized-image-data").attr("data-resized")),i={facebook:{},instagram:{},twitter:{}};void 0!==e.facebook&&t.each(e.facebook,(function(t,e){i.facebook[e.facebook_id]={id:e.media_id,sizes:JSON.parse(e.sizes)}})),void 0!==e.instagram&&(i.instagram=e.instagram),void 0!==e.twitter&&t.each(e.twitter,(function(t,e){i.twitter[e.twitter_id]={id:e.media_id,sizes:JSON.parse(e.sizes)}})),this.resizedImages=i}t(this.el).find(".cff_resized_image_data").remove()},afterInitialImagesLoaded:function(){this.initLayout(),this.loadMoreButtonInit(),this.hideExtraItemsForWidth(),this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed(),this.afterFeedSet(),this.sizeItems()},afterResize:function(){this.setImageHeight(),this.setImageResolution(),this.maybeRaiseImageResolution(),this.twitterCardHandler.maybeRaiseResolution(),this.setImageSizeClass(),this.sizeItems()},afterLoadMoreClicked:function(t){t.addClass("sbsw-loading").append('<div class="sbsw-loader"></div>'),t.find(".sbsw-loader").css("background-color",t.css("color")),t.closest(".sb-wall").find(".sbsw-num-diff-hide").addClass("sbsw-transition").removeClass("sbsw-num-diff-hide")},afterNewImagesLoaded:function(){var e=t(this.el),i=this;this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed(),this.sizeItems(),setTimeout((function(){e.find(".sbsw_loader").addClass("sbsw_hidden"),e.find(".sbsw_btn_text").removeClass("sbsw_hidden"),i.maybeRaiseImageResolution(),i.twitterCardHandler.maybeRaiseResolution(),i.setImageHeight()}),500)},beforeNewImagesRevealed:function(){this.maybeRaiseImageResolution(!0),this.twitterCardHandler.maybeRaiseResolution(),this.setImageSizeClass()},afterFeedSet:function(){void 0!==this.carouselArgs&&(t(this.el).find(".sbsw-carousel").sbswOwlCarousel(this.carouselArgs),2===parseInt(this.settings.general.carousel[5])&&t(this.el).addClass("sbsw-carousel-2-row"))},processNewImage:function(e){var i=this;e.find("img").each((function(){t(this).prop("complete")||(i.imagesWaiting++,t(this).addClass("sbsw-image-loading").on("load",(function(){t(this).removeClass("sbsw-image-loading"),i.imagesWaiting--,i.imagesWaiting<1&&i.afterResize()})),t(this).on("error",(function(){t(this).removeClass("sbsw-image-loading"),i.imagesWaiting--,i.imagesWaiting<1&&i.afterResize()})))}))},sizeItems:function(){t(this.el).find(".sbsw-youtube-item .sbsw-item-media").each((function(){var e=t(this).innerWidth(),i=Math.floor(9*e/16);t(this).css("height",i+"px"),t(this).hasClass("sbsw_imgLiquid_ready")||t(this).sbsw_imgLiquid({fill:!0})}
10))},initShowMore:function(e){var i=this;0!==e.find(".sbsw-more").length&&(""===e.find(".sbsw-remaining").html().trim()&&e.find(".sbsw-more, .sbsw-remaining").remove(),e.find(".sbsw-more").click((function(s){s.preventDefault(),t(this).hide(),e.find(".sbsw-remaining").show(),i.afterResize()})))},revealNewImages:function(){var e=t(this.el),i=this;this.applyImageLiquid(),"function"==typeof sbswCustomJS&&setTimeout((function(){sbswCustomJS()}),100),e.find(".sbsw-screenreader").find("img").remove(),e.find(".sbsw-item.sbsw-new").each((function(e){var s=t(this);if(t(this).hasClass("sbsw-youtube-item"))i.itemsToCheck.youtube.push(t(this).attr("id").replace("sbsw-",""));else if(t(this).hasClass("sbsw-twitter-item")&&s.find(".ctf-twitter-card-placeholder").length){var n=s.find(".ctf-twitter-card-placeholder").attr("data-tweet-id"),o=s.find(".ctf-twitter-card-placeholder").attr("data-tc-url");i.itemsToCheck.twitter.cards.push({id:n,url:o})}s.find(".sbsw-content-text").length&&(s.find(".sbsw-content-text").find(".emoji").each((function(){t(this).replaceWith(t(this).attr("alt"))})),s.find(".sbsw-content-text").html(sbyLinkify(s.find(".sbsw-content-text").html()))),s.find(".sbsw-quoted-tweet-text").length&&(s.find(".sbsw-quoted-tweet-text").find(".emoji").each((function(){t(this).replaceWith(t(this).attr("alt"))})),s.find(".sbsw-quoted-tweet-text").html(sbyLinkify(s.find(".sbsw-quoted-tweet-text").html()))),i.initShowMore(s),i.twitterCardHandler.handleImageError(s),i.settings.lightboxEnabled&&(s.find(".sbsw-lightbox-hover").attr("data-sbsw-lightbox",i.index),s.hasClass("sbsw-youtube-item")&&s.find(".sbsw-lightbox-hover").attr("href",sbsw.options.lightboxPlaceholder)),i.afterItemRevealed(s),s.find(".sbsw-item-share a").click((function(){var e=t(this);if(e.hasClass("sbsw-open"))s.find(".sbsw-share-popup").remove(),e.removeClass("sbsw-open");else{t(this).before(function(t){var e=JSON.parse(t.find(".sbsw-share-button").attr("data-share-data"));t.find(".sbsw-lightbox-hover").length?e.content=JSON.parse(t.find(".sbsw-lightbox-hover").attr("data-lightbox-info")):e.content={media_url:t.find(".sbsw-item-avatar img").length?t.find(".sbsw-item-avatar img").attr("src"):"",title:t.find(".sbsw-item-bottom-content").text()};var i="https://www.facebook.com/sharer/sharer.php?u="+e.link,s="https://twitter.com/intent/tweet?text="+e.link,n="https://pinterest.com/pin/create/button/?url="+e.link+"&media="+encodeURIComponent(e.content.media_url)+"&description="+encodeURIComponent(e.content.title),o="https://www.linkedin.com/shareArticle?mini=true&url="+e.link+"&title="+encodeURIComponent(e.content.title),r="mailto:?subject=Facebook&body="+e.link+"%20-%20"+encodeURIComponent(e.content.title);return'<p class="sbsw-share-popup"><a href="'+i+'" class="sbsw-share-facebook" target="_blank" rel="noopener"><span class="sbsw-screenreader">Facebook</span><svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="svg-inline--fa fa-facebook fa-w-16"><path fill="currentColor" d="M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z" class=""></path></svg></a><a href="'+s+'" class="sbsw-share-twitter" target="_blank" rel="noopener"><span class="sbsw-screenreader">Twitter</span><svg class="svg-inline--fa fa-twitter fa-w-16" aria-hidden="true" aria-label="twitter logo" data-fa-processed="" data-prefix="fab" data-icon="twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><a href="'+o+'" class="sbsw-share-linkedin" target="_blank" rel="noopener"><span class="sbsw-screenreader">Linkedin</span><svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="linkedin-in" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="svg-inline--fa fa-linkedin-in fa-w-14">
10<path fill="currentColor" d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z" class=""></path></svg></a><a href="'+n+'" class="sbsw-share-pinterest" target="_blank" rel="noopener"><span class="sbsw-screenreader">Pinterest</span><svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="pinterest" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512" class="svg-inline--fa fa-pinterest fa-w-16"><path fill="currentColor" d="M496 256c0 137-111 248-248 248-25.6 0-50.2-3.9-73.4-11.1 10.1-16.5 25.2-43.5 30.8-65 3-11.6 15.4-59 15.4-59 8.1 15.4 31.7 28.5 56.8 28.5 74.8 0 128.7-68.8 128.7-154.3 0-81.9-66.9-143.2-152.9-143.2-107 0-163.9 71.8-163.9 150.1 0 36.4 19.4 81.7 50.3 96.1 4.7 2.2 7.2 1.2 8.3-3.3.8-3.4 5-20.3 6.9-28.1.6-2.5.3-4.7-1.7-7.1-10.1-12.5-18.3-35.3-18.3-56.6 0-54.7 41.4-107.6 112-107.6 60.9 0 103.6 41.5 103.6 100.9 0 67.1-33.9 113.6-78 113.6-24.3 0-42.6-20.1-36.7-44.8 7-29.5 20.5-61.3 20.5-82.6 0-19-10.2-34.9-31.4-34.9-24.9 0-44.9 25.7-44.9 60.2 0 22 7.4 36.8 7.4 36.8s-24.5 103.8-29 123.2c-5 21.4-3 51.6-.9 71.2C65.4 450.9 0 361.1 0 256 0 119 111 8 248 8s248 111 248 248z" class=""></path></svg></a><a href="'+r+'" class="sbsw-share-email" target="_blank" rel="noopener"><span class="sbsw-screenreader">Email</span><svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="envelope" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="svg-inline--fa fa-envelope fa-w-16"><path fill="currentColor" d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z" class=""></path></svg></a><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="play" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="svg-inline--fa fa-play fa-w-14"><path fill="currentColor" d="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z" class=""></path></svg></p>'}(s)),e.addClass("sbsw-open");var i=0;s.find(".sbsw-share-popup").find("a").each((function(){var t=jQuery(this);setTimeout((function(){t.addClass("sbsw-show")}),i),i+=20}))}})),t(document).click((function(){jQuery(".sbsw-share-popup").remove(),jQuery(".sbsw-item-share a").removeClass("sbsw-open")})),t(".sbsw-item-share a").click((function(t){return t.stopPropagation(),!1}))})),setTimeout((function(){e.find(".sbsw-item.sbsw-new").removeClass("sbsw-new");var t=10;e.find(".sbsw-transition").length;e.find(".sbsw-transition").each((function(e){var i=jQuery(this);setTimeout((function(){i.removeClass("sbsw-transition")}),t),t+=10}))}),500)},locationGuess:function(){var e=t(this.el),i="content";return e.closest("footer").length?i="footer":e.closest(".header").length||e.closest("header").length?i="header":(e.closest(".sidebar").length||e.closest("aside").length)&&(i="sidebar"),i},afterItemRevealed:function(){},setItemsToCheck:function(){this.settings.ifResizingEnabled&&this.needsResizing.instagram.length>0&&(this.itemsToCheck.instagram=this.needsResizing.instagram),this.settings.fbResizingEnabled&&this.needsResizing.facebook.length>0&&(this.itemsToCheck.facebook=this.needsResizing.facebook),this.settings.twResizingEnabled&&this.needsResizing.twitter.length>0&&(this.itemsToCheck.twitter.resize=this.needsResizing.twitter)},getMaxResImage:function(e){var i=0,s=!1;return t.each(e,(function(t,e){t>i&&(i=t,s=e)})),s},lazyLoadCheck:function(e){if(e.find(".sbsw-item-media").length&&!e.closest(".sb-wall").hasClass("sbsw-no-ll-check")){var i=this.getImageUrls(e),s=this.getMaxResImage(i);e.find(".sbsw-item-media img").each((function(){s&&void 0!==t(this).attr("data-src")&&t(this).attr("data-src",s),s&&void 0!==t(this).attr("data-orig-src")&&t(this).attr("data-orig-src",s),t(this).on("load",(function(){!t(this).hasClass("sbsw-replaced")&&t(this).attr("src").indexOf("placeholder")>-1&&(t(this).closest(".sbsw-item-media").attr("data-current",1e3),t(this).addClass("sbsw-replaced"),s&&(t(this).attr("src",s),t(this).closest(".imgLiquid_bgSize").length&&t(this).closest(".imgLiquid_bgSize").css("background-image","url("+s+")")))}))}))}},afterNewImagesRevealed:function(){this.listenForVisibilityChange(),this.settings.imageLoadEnabled||t(".sbsw_no_resraise").removeClass("sbsw_no_resraise"),this.setItemsToCheck(),this.sendDataForBackgroun
10dProcesses();var e=t.Event("sbyafterimagesloaded");e.el=t(this.el),t(window).trigger(e)},sendDataForBackgroundProcesses:function(){var e=this;if(e.settings.fbResizingEnabled=!1,e.settings.ifResizingEnabled=!1,e.settings.twResizingEnabled=!1,e.settings.backgroundCheck||e.itemsToCheck.twitter.resize.length>0||e.itemsToCheck.twitter.cards.length>0||e.itemsToCheck.instagram.length>0||e.itemsToCheck.facebook.length>0||t(e.el).find(".sbsw-need-counts").length){var i=void 0!==e.settings.feedID?e.settings.feedID:"sbsw_single",s=e.itemsToCheck;r({action:"sbsw_background_processing",feed_id:i,atts:e.settings.shortCodeAtts,offset:t(this.el).find(".sbsw-item").length,posts:s},(function(t){if(0===t.trim().indexOf("{")){var i=JSON.parse(t);e.settings.debugEnabled&&console.log(i),e.afterBackgroundProcessing(i)}}))}},afterBackgroundProcessing:function(e){var i=this,s=t(this.el);s.find(".sbsw-youtube-item").each((function(){var i=t(this).attr("id").replace("sbsw-","");void 0!==e.youtube[i]&&t(this).find(".sbsw-item-stats span").each((function(){var s=t(this).find("svg"),n=e.youtube[i].sby_view_count;n.indexOf(" ")>0&&(n=n.split(" ")[0]),t(this).hasClass("sbsw-sby-likes")?n=e.youtube[i].sby_like_count:t(this).hasClass("sbsw-sby-comments")&&(n=e.youtube[i].sby_comment_count),t(this).html(n).prepend(s)}))})),s.find(".sbsw-twitter-item").each((function(){var s=t(this),n=t(this).find(".ctf-twitter-card-placeholder"),o=n.attr("data-tweet-id"),r=n.attr("data-tc-url");if(void 0!==e.twitter&&void 0!==e.twitter[o]){var a="";""!==(a=void 0!==e.twitter[o].cards?e.twitter[o].cards.html:e.twitter[o].html)&&(s.find(".sbsw-item-bottom-content").find('a[href^="'+r+'"]').remove(),s.find(".sbsw-item-bottom-content").html(s.find(".sbsw-item-bottom-content").html().replace(r,"")),s.find(".sbsw-item-bottom-content").append(a),i.initShowMore(s)),n.remove()}i.processNewImage(s)})),i.afterResize(),i.itemsToCheck.twitter={cards:[],resize:[]},i.itemsToCheck.youtube=[],i.itemsToCheck.facebook=[],i.itemsToCheck.instagram=[]},loadMoreButtonInit:function(){var e=t(this.el),i=this;e.find(".sb-wall-footer .sb-wall-load-btn").off().on("click",(function(){i.afterLoadMoreClicked(t(this)),t(".sbsw-items-wrap-current").hasClass("sbsw-items-wrap-all")?i.getNewPostSet():window.sbsw.filterBars[i.index].addRemoteFilteredPosts()}))},getNewPostSet:function(){var e=t(this.el),i=this;r({action:"sbsw_load_more_clicked",offset:e.find(".sbsw-item").length,feed_id:i.settings.feedID,builder_feed_id:i.settings.builderFeedID,atts:i.settings.shortCodeAtts,current_resolution:i.imageResolution,page:i.page,post_id:i.settings.postID,location:i.locationGuess()},(function(s){if(e.find(".sb-wall-footer .sb-wall-load-btn").removeClass("sbsw-loading"),e.find(".sbsw-loader").remove(),0===s.trim().indexOf("{")){var n=JSON.parse(s);i.settings.debugEnabled&&console.log(n),i.page++,i.appendNewPosts(n.html,"all"),i.settings.ajaxPostLoad?(i.settings.ajaxPostLoad=!1,i.afterInitialImagesLoaded()):i.afterNewImagesLoaded(),t(".sbsw_no_js").removeClass("sbsw_no_js"),!1===n.feedStatus.shouldPaginate&&(i.outOfPages=!0,e.find(".sb-wall-load-btn").hide())}}))},appendNewPosts:function(e,i){var s=t(this.el);s.find(".sbsw-items-wrap-"+i+" .sbsw-item").length?s.find(".sbsw-items-wrap-"+i+" .sbsw-item").last().after(e):s.find(".sbsw-items-wrap-"+i).append(e),"masonry"===this.layout&&this.appendSmashotope()},maybeRaiseSingleImageResolution:function(e,i,s){var n=this,o=e.find(".sbsw-item-media"),r=n.getImageUrls(e),a=o.find("img").attr("src"),h=void 0===o.attr("data-current")?0:parseInt(o.attr("data-current")),l=o.innerWidth(),d=!1;if(!e.hasClass("sbsw-no-resraise")){if(h<=l){t.each(r,(function(t,e){t>=h&&(d=t)}))}if(d){if(n.settings.debugEnabled){var c=a===n.placeholderURL?"was placeholder":"too small";console.log("rais res for "+a,c)}o.attr("data-current",d);var u=r[d];u!==a&&(o.find("img").attr("src",u),o.hasClass("sbsw_imgLiquid_ready")&&o.css("background-image",'url("'+u+'")'),n.processNewImage(o))}o.find("img").on("error",(function(){t(this).hasClass("sbs-img-error")?console.log("unfixed error "+t(this).attr("src")):(t(this).addClass("sbsw-img-error"),setTimeout((function(){n.afterResize()}),1500))}))}},maybeRaiseImageResolution:function(e){var i=this,s=void 0!==e&&!0===e?".sbsw-item.sbsw-new":".sbsw-item",n=!i.isInitialized;t(i.el).find(s).each((function(e){!t(this).hasClass("sbsw-num-diff-hide")&&t(this).find(".sbsw-item-media").length&&void 0!==t(this).find(".sbsw-item-media").attr("data-available-images")&&i.maybeRaiseSingleImageResolution(t(this),e,n)})),i.isInitialized=!0},getBestResolutionForAuto:function(e,i,s){(isNaN(i)||i<1)&&(i=1);var n=e*i,o=10*Math.ceil(n/10),r=[120,320,480,640];if(s.hasClass("sbsw_highlighted")&&(o*=2),-1===r.indexOf(parseInt(o))){var a=!1;t.each(r,(function(t,e){e>parseInt(o)&&!a&&(o=e,a=!0)}))}return o},addToNeedsResizing:function(t,e){var i=!1;t.hasClass("sbsw-facebook-item")?i="facebook":t.hasClass("sbsw-instagram-item")?i="instagram":t.hasClass("sbsw-twitter-item")&&(i="twitter"),i&&-1===this.needsResizing[i].indexOf(e)&&this.needsResizing[i].push(e)},hideExtraItemsForWidth:function(){if("carousel"!==this.layout){var e=t(this.el),i=void 0!==e.attr("data-num")&&""!==e.attr("data-num")?parseInt(e.attr("data-num")):1,s=void 0!==e.attr("data-nummobile")&&""!==e.attr("data-nummobile")?parseInt(e.attr("data-nummobile")):i;e.hasClass(".sbsw_layout_carousel")||(t(window).width()<480?s<e.find(".sbsw-item").length&&e.find(".sbsw-item").slice(s-e.find(".sbsw-item").length).addClass("sbsw_num_diff_hide"):i<e.find(".sbsw-item").length&&e.find(".sbsw-item").slice(i-e.find(".sbsw-item").length).addClass("sbsw_num_diff_hide"))}},setImageHeight:function(){"masonry"===this.layout&&(this.setMasonry(),this.smashotopeInit(),feed=this,setTimeout((function(){feed.setMasonry(),feed.smashotopeInit()}),500))},setImageSizeClass:function(){var e=t(this.el);e.removeClass("sbsw-small sbsw-medium");var i=e.innerWidth(),s=parseInt(e.find(".sb-wall-items-wrap").outerWidth()-e.find(".sb-wall-items-wrap").width())/2,n=this.getColumnCount(),o=(i-s*(n+2))/n;o>
10225&&o<300?e.addClass("sbsw-medium"):o<=225&&e.addClass("sbsw-medium sbsw-small"),this.twitterCardHandler.setSize(o)},setMinImageWidth:function(){t(this.el).find(".sbsw-item .sbsw_video_thumbnail").first().length?this.minImageWidth=t(this.el).find(".sbsw-item .sbsw_video_thumbnail").first().innerWidth():this.minImageWidth=150},setImageResolution:function(){if("auto"===this.settings.imgRes)this.imageResolution="auto";else switch(this.settings.imgRes){case"thumb":this.imageResolution=150;break;case"medium":this.imageResolution=320;break;default:this.imageResolution=640}},getImageUrls:function(e){var i=this,s=void 0!==(s=JSON.parse(e.find(".sbsw-item-media").attr("data-available-images").replace(/\\\//g,"/")))[0]?s[0]:s,n=e.attr("id").replace("sbsw-","");if(!i.settings.consentGiven&&!i.settings.overrideBlockCDN)return s=[];var o=s;if(e.hasClass("sbsw-facebook-item")){if(void 0!==i.resizedImages.facebook[n]&&"pending"!==i.resizedImages.facebook[n].id&&"error"!==i.resizedImages.facebook[n].id)t.each(i.resizedImages.facebook[n].sizes,(function(t,e){o[e]=sbswOptions.cffResizeUrl+i.resizedImages.facebook[n].id+"-0-"+e+".jpg"}));else if(void 0===this.resizedImages.facebook[n]||void 0!==this.resizedImages.facebook[n]&&void 0!==this.resizedImages.facebook[n].id&&"pending"!==this.resizedImages.facebook[n].id&&"error"!==this.resizedImages.facebook[n].id){var r=!1;"string"!=typeof o[0]?t.each(o[0],(function(t){parseInt(t)>150&&parseInt(t)<500&&(r=!0)})):r=!0,r||this.addToNeedsResizing(e,n)}}else if(e.hasClass("sbsw-instagram-item"))if(void 0!==this.resizedImages.instagram[n]&&"video"!==this.resizedImages.instagram[n]&&"pending"!==this.resizedImages.instagram[n]&&"error"!==this.resizedImages.instagram[n].id&&"video"!==this.resizedImages.instagram[n].id&&"pending"!==this.resizedImages.instagram[n].id){if(void 0!==this.resizedImages.instagram[n].sizes){var a=[];void 0!==this.resizedImages.instagram[n].sizes.full&&(o[640]=sbswOptions.sbiResizeUrl+this.resizedImages.instagram[n].id+"full.jpg",a.push(640)),void 0!==this.resizedImages.instagram[n].sizes.low&&(o[320]=sbswOptions.sbiResizeUrl+this.resizedImages.instagram[n].id+"low.jpg",a.push(320)),void 0!==this.resizedImages.instagram[n].sizes.thumb&&(a.push(150),o[150]=sbswOptions.sbiResizeUrl+this.resizedImages.instagram[n].id+"thumb.jpg"),this.settings.favorLocal&&(-1===a.indexOf(640)&&a.indexOf(320)>-1&&(o[640]=sbswOptions.sbiResizeUrl+this.resizedImages.instagram[n].id+"low.jpg"),-1===a.indexOf(320)&&(a.indexOf(640)>-1?o[320]=sbswOptions.sbiResizeUrl+this.resizedImages.instagram[n].id+"full.jpg":a.indexOf(150)>-1&&(o[320]=sbswOptions.sbiResizeUrl+this.resizedImages.instagram[n].id+"thumb.jpg")),-1===a.indexOf(150)&&(a.indexOf(320)>-1?o[150]=sbswOptions.sbiResizeUrl+this.resizedImages.instagram[n].id+"low.jpg":a.indexOf(640)>-1&&(o[150]=sbswOptions.sbiResizeUrl+this.resizedImages.instagram[n].id+"full.jpg")))}}else(void 0===this.resizedImages.instagram[n]||void 0!==this.resizedImages.instagram[n].id&&"pending"!==this.resizedImages.instagram[n].id&&"error"!==this.resizedImages.instagram[n].id)&&this.addToNeedsResizing(e,n);else e.hasClass("sbsw-twitter-item")&&(void 0!==i.resizedImages.twitter[n]&&"pending"!==i.resizedImages.twitter[n].id&&"error"!==i.resizedImages.twitter[n].id?t.each(i.resizedImages.twitter[n].sizes,(function(t,e){o[e]=sbswOptions.ctfResizeUrl+i.resizedImages.twitter[n].id+"-0-"+e+".jpg"})):void 0===this.resizedImages.twitter[n]&&this.addToNeedsResizing(e,n));return o},applyImageLiquid:function(){var e=t(this.el);sbyAddImgLiquid(),"function"==typeof e.find(".sbsw_player_item").sbsw_imgLiquid&&(e.find(".sbsw_player_item").length&&e.find(".sbsw_player_item .sbsw_player_video_thumbnail").sbsw_imgLiquid({fill:!0}),e.find(".sbsw-item .sbsw_item_video_thumbnail").sbsw_imgLiquid({fill:!0}))},listenForVisibilityChange:function(){var e,i,s,n=this;e=jQuery,i={callback:function(){},runOnLoad:!0,frequency:100,sbyPreviousVisibility:null},s={sbyCheckVisibility:function(t,e){if(jQuery.contains(document,t[0])){var i=e.sbyPreviousVisibility,n=t.is(":visible");e.sbyPreviousVisibility=n,null==i?e.runOnLoad&&e.callback(t,n):i!==n&&e.callback(t,n),setTimeout((function(){s.sbyCheckVisibility(t,e)}),e.frequency)}}},e.fn.sbyVisibilityChanged=function(t){var n=e.extend({},i,t);return this.each((function(){s.sbyCheckVisibility(e(this),n)}))},"function"==typeof t(this.el).filter(":hidden").sbyVisibilityChanged&&t(this.el).filter(":hidden").sbyVisibilityChanged({callback:function(t,e){n.afterResize()},runOnLoad:!1})},getColumnCount:function(){var e=t(this.el),i=this.settings.cols,s=this.settings.colstablet,n=this.settings.colsmobile,o=i,r=window.innerWidth;return e.hasClass("sbsw-mobcol-auto")?r<767&&r>480?o=2:r<=480&&(o=1):r>=480&&r<=767?o=s:r<=480&&(o=n),parseInt(o)},smashotopeInit:function(){var e=t(this.el),i=e.find(".sbsw-items-wrap-current").length?e.find(".sbsw-items-wrap-current"):e.find(".sb-wall-items-wrap");this.isotopeArgs.masonry={columnWidth:".sbsw-item"},i.smashotope(this.isotopeArgs)},setMasonry:function(){var e=t(this.el),i=e.innerWidth(),s=parseInt(e.find(".sb-wall-items-wrap").outerWidth()-e.find(".sb-wall-items-wrap").width())/2,n=this.getColumnCount(),o=(i-s*(n+2))/n;e.find(".sb-wall-items-wrap").css("padding").indexOf(".");e.find(".sbsw-item").each((function(e){t(this).css({width:o-s+"px"})}))},appendSmashotope:function(){$self=t(this.el),$self.find(".sbsw-items-wrap-current").data("smashotope")&&$self.find(".sbsw-items-wrap-current").smashotope("appended",t(".sbsw-new"))},checkConsent:function(){if(this.settings.consentGiven||!this.settings.gdpr)return this.settings.noCDN=!1,!0;if(void 0!==window.cookieyes)void 0!==window.cookieyes._ckyConsentStore.get&&(this.settings.consentGiven="yes"===window.cookieyes._ckyConsentStore.get("functional"));else if("undefined"!=typeof CLI_Cookie)null!==CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)&&("null"!==CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")&&(this.settings.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")),"null"!==CLI_Cookie.read("cookielawinfo-checkbox-necessary")&&(this.settings.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-necessary")));else if(void 0!==window.cnArgs){var t=("; "+document.cookie).split("; cookie_notice_accepted=");if(2===t.length){var e=t.pop().split(";").shift();this.settings.consentGiven="true"===e}}else void 0!==window.cookieconsent?this.settings.consentGiven="allow"===sbyCmplzGetCookie("cmplz_consent_status")||jQuery("body").hasClass("cmplz-status-marketing"):void 0!==window.complianz?this.settings.consentGiven="allow"===function(t){for(var e=t+"=",i=window.document.cookie.split(";"),s=0;s<i.length;s++){var n=i[s].trim();if(0==n.indexOf(e))return n.substring(e.length,n.length)}return""}("cmplz_marketing"):void 0!==window.Cookiebot?this.settings.consentGiven=Cookiebot.consented:void 0!==window.BorlabsCookie&&(this.settings.consentGiven=window.BorlabsCookie.checkCookieConsent("youtube"));var i=jQuery.Event("sbswcheckconsent");return i.feed=this,jQuery(window).trigger(i),this.settings.consentGiven&&(this.settings.noCDN=!1),this.settings.consentGiven},afterConsentToggled:function(){if(this.checkConsent()){var t=this;window.sbsw.maybeAddYTAPI(),t.maybeRaiseImageResolution(),t.applyFullFeatures(),jQuery(".sb-wall-load-btn").show().removeClass("sbsw-no-consent-hide"),jQuery(this.el).removeClass("sbsw-no-consent"),setTimeout((function(){t.afterResize()}),500)}},removeFeatures:function(){t(this.el).find(".sbsw-youtube-item .sbsw-lightbox-hover").each((function(){t(this).removeAttr("data-sbsw-lightbox")}))},applyFullFeatures:function(){var e=this;void 0===t(e.el).find(".sbsw-youtube-item .sbsw-lightbox-hover").first().attr("data-sbsw-lightbox")&&e.settings.lightboxEnabled&&t(e.el).find(".sbsw-youtube-item .sbsw-lightbox-hover").each((function(){t(this).attr("data-sbsw-lightbox",e.index)}))}},s.prototype={getData:function(t){var e=parseInt(t.closest(".sb-wall").attr("data-sbsw-index")-1),i=t.attr("data-lightbox-info"),s=0===i.indexOf("{")&&JSON.parse(i);return!1!==s?{feedIndex:e,link:t.attr("href"),mediaType:s.media_type,mediaURL:s.media_url,title:window.sbsw.encodeHTML(s.title),avatar:s.avatar,name:s.full_name,accountURL:s.account_url,permalink:s.permalink,embed_html:s.embed_html}:{feedIndex:e,link:t.attr("href"),mediaType:"",mediaURL:"",title:"",avatar:"",name:"",accountURL:"",permalink:"",embed_html:void 0}},template:function(){return"<div id='sbsw-lightboxOverlay' class='sbsw-lightboxOverlay'></div><div id='sbsw-lightbox' class='sbsw-lightbox'><div class='sbsw-lb-outerContainer'><div class='sbsw-lb-nav'><a class='sbsw-lb-prev' href='#' ><p class='sbsw-screenreader'>Previous Slide</p><span></span></a><a class='sbsw-lb-next' href='#' ><p class='sbsw-screenreader'>Next Slide</p><span></span></a></div><div class='sbsw-lb-container-wrapper'><div class='sbsw-lb-container'><div class='sbsw-lb-media-wrap'><span class='sbsw-lb-media'><video class='sbsw-lb-video' src='' poster='' controls autoplay></video><img class='sbsw-lb-image' alt='Lightbox image placeholder' src='' /><div class='sbsw-lb-player' id='sbsw-lb-player'></div></span></div><div class='sbsw-lb-loader'><a class='sbsw-lb-cancel'></a></div></div><div class='sbsw-lb-dataContainer'><div class='sbsw-lb-data'><div class='sbsw-lb-details'><div class='sbsw-lb-caption'></div><div class='sbsw-lb-info'><div class='sbsw-lb-number'></div></div></div></div><div class=\"sbsw-lb-closeContainer\"><a class=\"sbsw-lb-close\"><svg class=\"svg-inline--fa fa-times fa-w-12\" aria-hidden=\"true\" data-fa-processed=\"\" data-prefix=\"fa\" data-icon=\"times\" role=\"presentation\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path fill=\"currentColor\" d=\"M323.1 441l53.9-53.9c9.4-9.4 9.4-24.5 0-33.9L279.8 256l97.2-97.2c9.4-9.4 9.4-24.5 0-33.9L323.1 71c-9.4-9.4-24.5-9.4-33.9 0L192 168.2 94.8 71c-9.4-9.4-24.5-9.4-33.9 0L7 124.9c-9.4 9.4-9.4 24.5 0 33.9l97.2 97.2L7 353.2c-9.4 9.4-9.4 24.5 0 33.9L60.9 441c9.4 9.4 24.5 9.4 33.9 0l97.2-97.2 97.2 97.2c9.3 9.3 24.5 9.3 33.9 0z\"></path></svg></a></div><div class=''><a class='sbsw-lb-close'></a></div></div></div></div></div>"}
10,beforePlayerSetup:function(t,e,i,s,n){t.removeClass("sbsw-lightbox-transitioning"),t.addClass("sbsw-lightbox-type-"+e.mediaType),"youtube"===e.mediaType&&t.find(".sbsw-lb-player").show()},afterPlayerSetup:function(e,i,s,n){var o=i.title;void 0!==o&&""!==o&&(o=o.replace(/(>#)/g,"> #")),o=o?sbyLinkify(o):"","function"==typeof sbyLightboxAction&&setTimeout((function(){sbyLightboxAction()}),100);var r="",a="";void 0!==i.avatar&&""!==i.avatar&&void 0!==i.name?(r="undefined"!==i.avatar?'<img src="'+i.avatar+'" />':"",a='<a class="sbsw-lightbox_username" href="'+i.accountURL+'" target="_blank" rel="noopener">'+r+"<p>@"+i.name+"</p></a> "):void 0!==i.name&&t.each(window.sbsw.feeds,(function(){void 0!==this.availableAvatarUrls&&void 0!==this.availableAvatarUrls[i.name]&&"undefined"!==this.availableAvatarUrls[i.name]&&(r='<img src="'+this.availableAvatarUrls[i.name]+'" />')})),e.find(".sbsw-lb-caption").html(a+'<span class="sbsw-caption-text">'+o+"</span>").fadeIn("fast"),window.sbsw.feeds[0].checkConsent()||(this.pausePlayer(),t("#sbsw-lightbox video.sbsw-lb-video")[0].controls=!1)},afterResize:function(){var e=t("#sbsw-lightbox .sbsw-lb-player").height();if(e>100){var i=t("#sbsw-lightbox .sbsw-lb-outerContainer").height()-e;i>10&&t("#sbsw-lightbox .sbsw-lb-player").css("top",i/2)}},pausePlayer:function(){void 0!==window.sbsw.feedOptions&&("undefined"!=typeof YT&&(void 0!==YT.get("sbsw-lb-player")&&"function"==typeof YT.get("sbsw-lb-player").pauseVideo?YT.get("sbsw-lb-player").pauseVideo():void 0!==window.sbswLightboxPlayer&&"function"==typeof window.sbswLightboxPlayer.pauseVideo&&window.sbswLightboxPlayer.pauseVideo(),sbsw_supports_video()&&t("#sbsw-lightbox video.sbsw-lb-video").length&&t("#sbsw-lightbox video.sbsw-lb-video")[0].pause()),sbsw_supports_video()&&t("#sbsw-lightbox video.sbsw-lb-video").length&&t("#sbsw-lightbox video.sbsw-lb-video")[0].pause())},afterSlideChange:function(){var e=t("#sbsw-lightbox");e.addClass("sbsw-lightbox-transitioning"),e.removeClass("sbsw-lightbox-type-image sbsw-lightbox-type-video sbsw-lightbox-type-iframe sbsw-lightbox-type-carousel sbsw-lightbox-type-youtube"),e.find(".sbsw-lb-iframe").remove(),e.find(".sbsw-lb-player").hide(),e.find(".tiktok-embed").remove(),e.find("script").remove(),e.find(".sbsw-lb-outerContainer").removeClass("tiktok-feed-lightbox")}},n.prototype={setSize:function(t){var e=this.$context.find("."+this.prefix+"-twitter-card");t>550?e.addClass(this.prefix+"-tc-wide"):e.removeClass(this.prefix+"-tc-wide")},handleImageError:function(e){var i=this.prefix;e.find("."+i+"-twitter-card").each((function(){t(this).find("img").on("error",(function(){t(this).closest("."+i+"-twitter-card").addClass(i+"-tc-no-image"),t(this).remove()}))}))},maybeRaiseResolution:function(){var e=this,i=this.$context.find("."+this.prefix+"-twitter-card"),s=this.prefix;i.each((function(i){t(this).closest("."+s+"-item").hasClass(s+"-num-diff-hide")||e.maybeRaiseSingleResolution(t(this),i)}))},maybeRaiseSingleResolution:function(e){var i=!!e.find("img").length&&e.find("img");if(i&&void 0!==i.attr("data-available-images")){var s=JSON.parse(i.attr("data-available-images").replace(/\\\//g,"/")),n=i.attr("src"),o=void 0===i.attr("data-current")?0:parseInt(i.attr("data-current")),r=i.closest(".sbsw-tc-media").innerWidth();if(changeToRes=0,o<r){var a=!1,h=n;t.each(s,(function(t,e){!a&&t>=r&&(changeToRes=parseInt(t),changeToRes>=r&&(a=!0,h=sbswOptions.ctfResizeUrl+e))})),h!==n&&(i.attr("data-current",changeToRes),h!==n&&(i.attr("src",h),i.closest(".sbsw_imgLiquid_ready").length&&i.closest(".sbsw_imgLiquid_ready").css("background-image",'url("'+h+'")').attr("data-bg",h))),i.on("error",(function(){t(this).hasClass("sbsw-img-error")?console.log("unfixed error "+t(this).attr("src")):(t(this).addClass("sbsw-img-error"),setTimeout((function(){feed.afterResize()}),1500))}))}}}},o.prototype={init:function(){var e=this,i=(this.feed,t(this.feed.el));i.find(".sbsw-single-filter a").each((function(){t(this).click((function(s){if(s.preventDefault(),!i.hasClass("sbsw-wrap-switching")){var n=t(this).attr("data-plugin");n!==e.currentFilter&&(e.currentFilter=n,e.switchToFilteredSet(n))}}))}))},updateShowLoadMore:function(){var e=!0,i=t(this.feed.el);"all"===this.currentFilter?e=!1===this.feed.outOfPages:this.pagesAvailable[this.currentFilter]||(e=!1),e?i.find(".sb-wall-load-btn").show():i.find(".sb-wall-load-btn").hide()},beforeSwitch:function(){this.feed;var e=t(this.feed.el);this.updateShowLoadMore(),e.addClass("sbsw-wrap-switching"),e.find(".sb-wall-items-wrap").removeClass("sbsw-items-wrap-current"),e.find(".sb-wall-items-wrap-outer-wrap").css("height",e.find(".sbsw-items-wrap-visible").innerHeight()+"px")},afterSwitch:function(){var e=this.feed,i=t(this.feed.el);i.removeClass("sbsw-wrap-switching"),i.find(".sb-wall-items-wrap-outer-wrap").css("height",""),e.afterResize()},switchToFilteredSet:function(e){this.beforeSwitch();var i=this,s=(this.feed,t(this.feed.el));s.find(".sbsw-items-wrap-"+e).length?(s.find(".sbsw-items-wrap-"+e).addClass("sbsw-items-wrap-current"),setTimeout((function(){s.find(".sbsw-items-wrap-"+e).addClass("sbsw-items-wrap-visible"),s.find(".sb-wall-items-wrap").each((function(){t(this).hasClass("sbsw-items-wrap-"+e)||t(this).removeClass("sbsw-items-wrap-visible")})),i.afterSwitch()}),300)):(s.find(".sb-wall-items-wrap").last().after('<div class="sb-wall-items-wrap sbsw-items-wrap-'+e+' sbsw-items-wrap-visible"></div>'),s.find(".sbsw-items-wrap-"+e).addClass("sbsw-items-wrap-current"),this.addRemoteFilteredPosts())},addRemoteFilteredPosts:function(){var e=this,i=this.feed,s=t(this.feed.el),n=this.currentFilter,o=this.pages[n],a=s.find(".sbsw-items-wrap-current .sbsw-item").length;r({action:"sbsw_load_more_clicked",filter_type:n,offset:a,feed_id:i.settings.feedID,builder_feed_id:i.settings.builderFeedID,atts:i.settings.shortCodeAtts,current_resolution:i.imageResolution,page:o}
10,(function(o){if(s.find(".sb-wall-footer .sb-wall-load-btn").removeClass("sbsw-loading"),s.find(".sbsw-loader").remove(),0===o.trim().indexOf("{")){var r=JSON.parse(o);i.settings.debugEnabled&&console.log(r),e.pages[n]++,i.appendNewPosts(r.html,n),i.settings.ajaxPostLoad?(i.settings.ajaxPostLoad=!1,i.afterInitialImagesLoaded()):i.afterNewImagesLoaded(),t(".sbsw_no_js").removeClass("sbsw_no_js"),r.feedStatus.filterOutOfPages.indexOf(n)>-1&&(e.pagesAvailable[n]=!1,s.find(".sb-wall-load-btn").hide())}s.find(".sbsw-items-wrap-"+n).addClass("sbsw-items-wrap-visible"),s.find(".sbsw-items-wrap-"+n).find(".sbsw-lightbox-hover").each((function(){t(this).attr("data-sbsw-lightbox",i.index+n)})),s.find(".sb-wall-items-wrap").each((function(){t(this).hasClass("sbsw-items-wrap-"+n)||t(this).removeClass("sbsw-items-wrap-visible")})),e.afterSwitch()}))}},window.sb_wall_init=function(){window.sbsw=new e,window.sbsw.createPage(window.sbsw.createFeeds,{whenFeedsCreated:window.sbsw.afterFeedsCreated})}}(jQuery),jQuery(document).ready((function(t){sb_wall_init(),t("#cookie-notice a").on("click",(function(){setTimeout((function(){t.each(window.sbsw.feeds,(function(t){window.sbsw.feeds[t].afterConsentToggled()}))}),1e3)})),t("#cookie-law-info-bar a").on("click",(function(){setTimeout((function(){t.each(window.sbsw.feeds,(function(t){window.sbsw.feeds[t].afterConsentToggled()}))}),1e3)})),t(".cli-user-preference-checkbox, .cky-notice button").on("click",(function(){setTimeout((function(){t.each(window.sbsw.feeds,(function(t){window.sbsw.feeds[t].settings.consentGiven=!0,window.sbsw.feeds[t].afterConsentToggled()}))}),1e3)})),t(window).on("CookiebotOnAccept",(function(e){t.each(window.sbsw.feeds,(function(t){window.sbsw.feeds[t].settings.consentGiven=!0,window.sbsw.feeds[t].afterConsentToggled()}))})),t(document).on("cmplzEnableScripts",(function(e){"marketing"===e.detail&&t.each(window.sbsw.feeds,(function(t){window.sbsw.feeds[t].settings.consentGiven=!0,window.sbsw.feeds[t].afterConsentToggled()}))})),t(document).on("cmplzFireCategories",(function(e){"marketing"===e.detail.category&&t.each(window.sbsw.feeds,(function(t){window.sbsw.feeds[t].settings.consentGiven=!0,window.sbsw.feeds[t].afterConsentToggled()}))})),t(document).on("cmplz_status_change",(function(e){"marketing"===e.detail.category&&"allow"===e.detail.value&&t.each(window.sbsw.feeds,(function(t){window.sbsw.feeds[t].settings.consentGiven=!0,window.sbsw.feeds[t].afterConsentToggled()}))})),t(document).on("borlabs-cookie-consent-saved",(function(e){t.each(window.sbsw.feeds,(function(t){window.sbsw.feeds[t].settings.consentGiven=!1,window.sbsw.feeds[t].afterConsentToggled()}))}))}))}window.onYouTubeIframeAPIReady=function(){window.swAPIReady=!0};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.