1/* jquery.cubeportfolio.min.js */ 2!function(e,t,n,i){"use strict";function o(t,n,i){var a=this;if(e.data(t,"cubeportfolio"))throw new Error("cubeportfolio is already initialized. Destroy it before initialize again!");a.obj=t,a.$obj=e(t),e.data(a.obj,"cubeportfolio",a),a.options=e.extend({},e.fn.cubeportfolio.options,n,a.$obj.data("cbp-options")),a.isAnimating=!0,a.defaultFilter=a.options.defaultFilter,a.registeredEvents=[],a.queue=[],a.addedWrapp=!1,e.isFunction(i)&&a.registerEvent("initFinish",i,!0);var r=a.$obj.children();a.$obj.addClass("cbp"),(0===r.length||r.first().hasClass("cbp-item"))&&(a.wrapInner(a.obj,"cbp-wrapper"),a.addedWrapp=!0),a.$ul=a.$obj.children().addClass("cbp-wrapper"),a.wrapInner(a.obj,"cbp-wrapper-outer"),a.wrapper=a.$obj.children(".cbp-wrapper-outer"),a.blocks=a.$ul.children(".cbp-item"),a.blocksOn=a.blocks,a.wrapInner(a.blocks,"cbp-item-wrapper"),a.plugins=e.map(o.plugins,function(e){return e(a)}),a.triggerEvent("afterPlugins"),a.loadImages(a.$obj,a.display)}e.extend(o.prototype,{storeData:function(t,n){var i=this;n=n||0,t.each(function(t,o){var a=e(o),r=a.width(),s=a.height();a.data("cbp",{index:n+t,wrapper:a.children(".cbp-item-wrapper"),widthInitial:r,heightInitial:s,width:r,height:s,widthAndGap:r+i.options.gapVertical,heightAndGap:s+i.options.gapHorizontal,left:null,leftNew:null,top:null,topNew:null,pack:!1})})},wrapInner:function(e,t){var i,o,a;if(t=t||"",!(e.length&&e.length<1))for(void 0===e.length&&(e=[e]),o=e.length-1;o>=0;o--){for(i=e[o],(a=n.createElement("div")).setAttribute("class",t);i.childNodes.length;)a.appendChild(i.childNodes[0]);i.appendChild(a)}},removeAttrImage:function(e){e.removeAttribute("width"),e.removeAttribute("height"),e.removeAttribute("style")},loadImages:function(t,n){var i=this;requestAnimationFrame(function(){var o=t.find("img").map(function(t,n){if(n.hasAttribute("width")&&n.hasAttribute("height")){if(n.style.width=n.getAttribute("width")+"px",n.style.height=n.getAttribute("height")+"px",n.hasAttribute("data-cbp-src"))return null;if(null===i.checkSrc(n))i.removeAttrImage(n);else{var o=e("<img>");o.on("load.cbp error.cbp",function(){e(this).off("load.cbp error.cbp"),i.removeAttrImage(n)}),n.srcset?(o.attr("sizes",n.sizes||"100vw"),o.attr("srcset",n.srcset)):o.attr("src",n.src)}return null}return i.checkSrc(n)}),a=o.length;0!==a?e.each(o,function(t,o){var r=e("<img>");r.on("load.cbp error.cbp",function(){e(this).off("load.cbp error.cbp"),0===--a&&n.call(i)}),o.srcset?(r.attr("sizes",o.sizes),r.attr("srcset",o.srcset)):r.attr("src",o.src)}):n.call(i)})},checkSrc:function(t){var n=t.srcset,i=t.src;if(""===i)return null;var o=e("<img>");n?(o.attr("sizes",t.sizes||"100vw"),o.attr("srcset",n)):o.attr("src",i);var a=o[0];return a.complete&&void 0!==a.naturalWidth&&0!==a.naturalWidth?null:a},display:function(){var e=this;e.width=e.$obj.outerWidth(),e.storeData(e.blocks),e.triggerEvent("initStartRead"),e.triggerEvent("initStartWrite"),e.layoutAndAdjustment(),e.triggerEvent("initEndRead"),e.triggerEvent("initEndWrite"),e.$obj.addClass("cbp-ready"),e.runQueue("delayFrame",e.delayFrame)},delayFrame:function(){var e=this;requestAnimationFrame(function(){e.resizeEvent(),e.triggerEvent("initFinish"),e.isAnimating=!1,e.$obj.trigger("initComplete.cbp")})},resizeEvent:function(){var e;o.private.resize.initEvent({instance:this,fn:function(){var t=this;t.triggerEvent("beforeResizeGrid"),e=t.$obj.outerWidth(),t.width!==e&&("alignCenter"===t.options.gridAdjustment&&(t.wrapper[0].style.maxWidth=""),t.width=e,t.layoutAndAdjustment(),t.triggerEvent("resizeGrid")),t.triggerEvent("resizeWindow")}})},gridAdjust:function(){var t=this;"responsive"===t.options.gridAdjustment?t.responsiveLayout():(t.blocks.removeAttr("style"),t.blocks.each(function(n,i){var o=e(i).data("cbp"),a=i.getBoundingClientRect(),r=t.columnWidthTruncate(a.right-a.left),s=Math.round(a.bottom-a.top);o.height=s,o.heightAndGap=s+t.options.gapHorizontal,o.width=r,o.widthAndGap=r+t.options.gapVertical}),t.widthAvailable=t.width+t.options.gapVertical),t.triggerEvent("gridAdjust")},layoutAndAdjustment:function(){this.gridAdjust(),this.layout()},layout:function(){var e=this;e.computeBlocks(e.filterConcat(e.defaultFilter)),"slider"===e.options.layoutMode?(e.sliderLayoutReset(),e.sliderLayout()):(e.mosaicLayoutReset(),e.mosaicLayout()
2),e.positionateItems(),e.resizeMainContainer()},computeFilter:function(e){var t=this;t.computeBlocks(e),t.mosaicLayoutReset(),t.mosaicLayout(),t.filterLayout()},filterLayout:function(){var t=this;t.blocksOff.addClass("cbp-item-off"),t.blocksOn.removeClass("cbp-item-off").each(function(t,n){var i=e(n).data("cbp");i.left=i.leftNew,i.top=i.topNew,n.style.left=i.left+"px",n.style.top=i.top+"px"}),t.resizeMainContainer(),t.filterFinish()},filterFinish:function(){var e=this;e.blocksAreSorted&&e.sortBlocks(e.blocks,"index"),e.isAnimating=!1,e.$obj.trigger("filterComplete.cbp"),e.triggerEvent("filterFinish")},computeBlocks:function(e){var t=this;t.blocksOnInitial=t.blocksOn,t.blocksOn=t.blocks.filter(e),t.blocksOff=t.blocks.not(e),t.triggerEvent("computeBlocksFinish",e)},responsiveLayout:function(){var t=this;t.cols=t[e.isArray(t.options.mediaQueries)?"getColumnsBreakpoints":"getColumnsAuto"](),t.columnWidth=t.columnWidthTruncate((t.width+t.options.gapVertical)/t.cols),t.widthAvailable=t.columnWidth*t.cols,"mosaic"===t.options.layoutMode&&t.getMosaicWidthReference(),t.blocks.each(function(n,i){var o,a=e(i).data("cbp"),r=1;"mosaic"===t.options.layoutMode&&(r=t.getColsMosaic(a.widthInitial)),o=t.columnWidth*r-t.options.gapVertical,i.style.width=o+"px",a.width=o,a.widthAndGap=o+t.options.gapVertical,i.style.height=""});var n=[];t.blocks.each(function(t,i){var o=e(i),a=o.data("cbp").width;e.each(o.find("img").filter("[width][height]"),function(e,t){var i=parseInt(t.getAttribute("width"),10),o=parseInt(t.getAttribute("height"),10),r=parseFloat((i/o).toFixed(10));n.push({el:t,width:a,height:Math.round(a/r)})})}),e.each(n,function(e,t){t.el.width=t.width,t.el.height=t.height,t.el.style.width=t.width+"px",t.el.style.height=t.height+"px"}),t.blocks.each(function(n,i){var o=e(i).data("cbp"),a=i.getBoundingClientRect(),r=Math.round(a.bottom-a.top);o.height=r,o.heightAndGap=r+t.options.gapHorizontal})},getMosaicWidthReference:function(){var t=this,n=[];t.blocks.each(function(t,i){var o=e(i).data("cbp");n.push(o.widthInitial)}),n.sort(function(e,t){return e-t}),n[0]?t.mosaicWidthReference=n[0]:t.mosaicWidthReference=t.columnWidth},getColsMosaic:function(e){var t=this;if(e===t.width)return t.cols;var n=e/t.mosaicWidthReference;return n=n%1>=.79?Math.ceil(n):Math.floor(n),Math.min(Math.max(n,1),t.cols)},getColumnsAuto:function(){var e=this;if(0===e.blocks.length)return 1;var t=e.blocks.first().data("cbp").widthInitial+e.options.gapVertical;return Math.max(Math.round(e.width/t),1)},getColumnsBreakpoints:function(){var t,n=this,i=n.width;return e.each(n.options.mediaQueries,function(e,o){if(i>=o.width)return t=o.cols,n.triggerEvent("onMediaQueries",o.options),!1}),void 0===t&&(t=n.options.mediaQueries[n.options.mediaQueries.length-1].cols),t},columnWidthTruncate:function(e){return Math.floor(e)},positionateItems:function(){var t,n=this;n.blocksOn.removeClass("cbp-item-off").each(function(n,i){(t=e(i).data("cbp")).left=t.leftNew,t.top=t.topNew,i.style.left=t.left+"px",i.style.top=t.top+"px"}),n.blocksOff.addClass("cbp-item-off"),n.blocksAreSorted&&n.sortBlocks(n.blocks,"index")},resizeMainContainer:function(){var t,n=this,i=Math.max(n.freeSpaces.slice(-1)[0].topStart-n.options.gapHorizontal,0);"alignCenter"===n.options.gridAdjustment&&(t=0,n.blocksOn.each(function(n,i){var o=e(i).data("cbp"),a=o.left+o.width;a>t&&(t=a)}),n.wrapper[0].style.maxWidth=t+"px"),i!==n.height?(n.obj.style.height=i+"px",void 0!==n.height&&(o.private.modernBrowser?n.$obj.one(o.private.transitionend,function(){n.$obj.trigger("pluginResize.cbp")}):n.$obj.trigger("pluginResize.cbp")),n.height=i,n.triggerEvent("resizeMainContainer")):n.triggerEvent("resizeMainContainer")},filterConcat:function(e){return e.replace(/\|/gi,"")},pushQueue:function(e,t){var n=this;n.queue[e]=n.queue[e]||[],n.queue[e].push(t)},runQueue:function(t,n){var i=this.queue[t]||[];e.when.apply(e,i).then(e.proxy(n,this))},clearQueue:function(e){this.queue[e]=[]},registerEvent:function(e,t,n){var i=this;i.registeredEvents[e]||(i.registeredEvents[e]=[]),i.registeredEvents[e].push({func:t,oneTime:n||!1})},triggerEvent:function(e,t){var n,i,o=this;if(o.registeredEvents[e])for(n=0,i=o.registeredEvents[e].length;n<i;n++)o.registeredEvents[e][n].func.call(o,t),o.registeredEvents[e][n].oneTime&&(o.registeredEvents[e].splice(n,1),n--,i--)},addItems:function(t,n,i){var a=this;a.wrapInner(t,"cbp-item-wrapper"),a.$ul[i](t.addClass("cbp-item-loading").css({top:"100%",left:0})),o.private.modernBrowser?t.last().one(o.private.animationend,function(){a.addItemsFinish(t,n)}):a.addItemsFinish(t,n),a.loadImages(t,function(){if(a.$obj.addClass("cbp-updateItems"),"append"===i)a.storeData(t,a.blocks.length),e.merge(a.blocks,t);else{a.storeData(t);var n=t.length;a.blocks.each(function(t,i){e(i).data("cbp").index=n+t}),a.blocks=e.merge(t,a.blocks)}a.triggerEvent("addItemsToDOM",t),a.layoutAndAdjustment(),a.elems&&o.public.showCounter.call(a.obj,a.elems)})},addItemsFinish:function(t,n){var i=this;
2i.isAnimating=!1,i.$obj.removeClass("cbp-updateItems"),t.removeClass("cbp-item-loading"),e.isFunction(n)&&n.call(i,t),i.$obj.trigger("onAfterLoadMore.cbp",[t])},removeItems:function(t,n){var i=this;i.$obj.addClass("cbp-updateItems"),o.private.modernBrowser?t.last().one(o.private.animationend,function(){i.removeItemsFinish(t,n)}):i.removeItemsFinish(t,n),t.each(function(t,n){i.blocks.each(function(t,a){if(n===a){var r=e(a);i.blocks.splice(t,1),o.private.modernBrowser?(r.one(o.private.animationend,function(){r.remove()}),r.addClass("cbp-removeItem")):r.remove()}})}),i.blocks.each(function(t,n){e(n).data("cbp").index=t}),i.layoutAndAdjustment(),i.elems&&o.public.showCounter.call(i.obj,i.elems)},removeItemsFinish:function(t,n){var i=this;i.isAnimating=!1,i.$obj.removeClass("cbp-updateItems"),e.isFunction(n)&&n.call(i,t)}}),e.fn.cubeportfolio=function(e,t,n){return this.each(function(){if("object"==typeof e||!e)return o.public.init.call(this,e,t);if(o.public[e])return o.public[e].call(this,t,n);throw new Error("Method "+e+" does not exist on jquery.cubeportfolio.js")})},o.plugins={},e.fn.cubeportfolio.constructor=o}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;e.extend(o.prototype,{mosaicLayoutReset:function(){this.blocksAreSorted=!1,this.blocksOn.each(function(t,n){e(n).data("cbp").pack=!1})},mosaicLayout:function(){var e,t=this,n=t.blocksOn.length,i={};for(t.freeSpaces=[{leftStart:0,leftEnd:t.widthAvailable,topStart:0,topEnd:Math.pow(2,18)}],e=0;e<n;e++){if(null===(i=t.getSpaceIndexAndBlock()))return t.sortBlocksToPreventGaps(),void t.mosaicLayout();t.generateF1F2(i.spaceIndex,i.dataBlock),t.generateG1G2G3G4(i.dataBlock),t.cleanFreeSpaces(),t.addHeightToBlocks()}t.blocksAreSorted&&t.sortBlocks(t.blocksOn,"topNew")},getSpaceIndexAndBlock:function(){var t=this,n=null;return e.each(t.freeSpaces,function(i,o){var a=o.leftEnd-o.leftStart,r=o.topEnd-o.topStart;return t.blocksOn.each(function(t,s){var l=e(s).data("cbp");if(!0!==l.pack)return l.widthAndGap<=a&&l.heightAndGap<=r?(l.pack=!0,n={spaceIndex:i,dataBlock:l},l.leftNew=o.leftStart,l.topNew=o.topStart,!1):void 0}),!t.blocksAreSorted&&t.options.sortToPreventGaps&&i>0?(n=null,!1):null===n&&void 0}),n},generateF1F2:function(e,t){var n=this,i=n.freeSpaces[e],o={leftStart:i.leftStart+t.widthAndGap,leftEnd:i.leftEnd,topStart:i.topStart,topEnd:i.topEnd},a={leftStart:i.leftStart,leftEnd:i.leftEnd,topStart:i.topStart+t.heightAndGap,topEnd:i.topEnd};n.freeSpaces.splice(e,1),o.leftEnd>o.leftStart&&o.topEnd>o.topStart&&(n.freeSpaces.splice(e,0,o),e++),a.leftEnd>a.leftStart&&a.topEnd>a.topStart&&n.freeSpaces.splice(e,0,a)},generateG1G2G3G4:function(t){var n=this,i=[];e.each(n.freeSpaces,function(e,o){var a=n.intersectSpaces(o,t);null!==a?(n.generateG1(o,a,i),n.generateG2(o,a,i),n.generateG3(o,a,i),n.generateG4(o,a,i)):i.push(o)}),n.freeSpaces=i},intersectSpaces:function(e,t){var n={leftStart:t.leftNew,leftEnd:t.leftNew+t.widthAndGap,topStart:t.topNew,topEnd:t.topNew+t.heightAndGap};if(e.leftStart===n.leftStart&&e.leftEnd===n.leftEnd&&e.topStart===n.topStart&&e.topEnd===n.topEnd)return null;var i=Math.max(e.leftStart,n.leftStart),o=Math.min(e.leftEnd,n.leftEnd),a=Math.max(e.topStart,n.topStart),r=Math.min(e.topEnd,n.topEnd);return o<=i||r<=a?null:{leftStart:i,leftEnd:o,topStart:a,topEnd:r}},generateG1:function(e,t,n){e.topStart!==t.topStart&&n.push({leftStart:e.leftStart,leftEnd:e.leftEnd,topStart:e.topStart,topEnd:t.topStart})},generateG2:function(e,t,n){e.leftEnd!==t.leftEnd&&n.push({leftStart:t.leftEnd,leftEnd:e.leftEnd,topStart:e.topStart,topEnd:e.topEnd})},generateG3:function(e,t,n){e.topEnd!==t.topEnd&&n.push({leftStart:e.leftStart,leftEnd:e.leftEnd,topStart:t.topEnd,topEnd:e.topEnd})},generateG4:function(e,t,n){e.leftStart!==t.leftStart&&n.push({leftStart:e.leftStart,leftEnd:t.leftStart,topStart:e.topStart,topEnd:e.topEnd})},cleanFreeSpaces:function(){var e=this;e.freeSpaces.sort(function(e,t){return e.topStart>t.topStart?1:e.topStart<t.topStart?-1:e.leftStart>t.leftStart?1:e.leftStart<t.leftStart?-1:0}),e.correctSubPixelValues(),e.removeNonMaximalFreeSpaces()},correctSubPixelValues:function(){var e,t,n,i,o=this;for(e=0,t=o.freeSpaces.length-1;e<t;e++)n=o.freeSpaces[e],(i=o.freeSpaces[e+1]).topStart-n.topStart<=1&&(i.topStart=n.topStart)},removeNonMaximalFreeSpaces:function(){var t=this;t.uniqueFreeSpaces(),t.freeSpaces=e.map(t.freeSpaces,function(n,i){return e.each(t.freeSpaces,function(e,t){if(i!==e)return t.leftStart<=n.leftStart&&t.leftEnd>=n.leftEnd&&t.topStart<=n.topStart&&t.topEnd>=n.topEnd?(n=null,!1):void 0}),n})},uniqueFreeSpaces:function(){var t=[];e.each(this.freeSpaces,function(n,i){e.each(t,function(e,t){if(t.leftStart===i.leftStart&&t.leftEnd===i.leftEnd&&t.topStart===i.topStart&&t.topEnd===i.topEnd)return i=null,!1}),null!==i&&t.push(i)}),this.freeSpaces=t},addHeightToBlocks:function(){var t=this;e.each(t.freeSpaces,function(n,i){t.blocksOn.each(function(n,o){var a=e(o).data("cbp");!0===a.pack&&(t.intersectSpaces(i,a)&&-1===i.topStart-a.topNew-a.heightAndGap&&(o.style.height=a.height-1+"px"))})})},sortBlocksToPreventGaps:function(){var t=this;t.blocksAreSorted=!0,t.blocksOn.sort(function(t,n){var i=e(t).data("cbp"),o=e(n).data("cbp");return i.widthAndGap<o.widthAndGap?1:i.widthAndGap>o.widthAndGap?-1:i.heightAndGap<o.heightAndGap?1:i.heightAndGap>o.heightAndGap?-1:i.index>o.index?1:i.index<o.index?-1:void 0}),t.blocksOn.each(function(t,n){e(n).data("cbp").pack=!1,n.style.height=""})},sortBlocks:function(t,n){t.sort(function(t,i){var o=e(t).data("cbp"),a=e(i).data("cbp");return o[n]>a[n]?1:o[n]<a[n]?-1:o.leftNew>a.leftNew?1:o.leftNew<a.leftNew?-1:0})}})}(jQuery,window,document),jQuery.fn.cubeportfolio.options={filters:"",loadMore:"",loadMoreAction:"click",
2search:"",layoutMode:"grid",sortToPreventGaps:!1,drag:!0,auto:!1,autoTimeout:5e3,autoPauseOnHover:!0,showNavigation:!0,showPagination:!0,rewindNav:!0,scrollByPage:!1,defaultFilter:"*",filterDeeplinking:!1,animationType:"fadeOut",gridAdjustment:"responsive",mediaQueries:!1,gapHorizontal:10,gapVertical:10,caption:"pushTop",displayType:"fadeIn",displayTypeSpeed:400,lightboxDelegate:".cbp-lightbox",lightboxGallery:!0,lightboxTitleSrc:"data-title",lightboxCounter:'<div class="cbp-popup-lightbox-counter">{{current}} of {{total}}</div>',singlePageDelegate:".cbp-singlePage",singlePageDeeplinking:!0,singlePageStickyNavigation:!0,singlePageCounter:'<div class="cbp-popup-singlePage-counter">{{current}} of {{total}}</div>',singlePageAnimation:"left",singlePageCallback:null,singlePageInlineDelegate:".cbp-singlePageInline",singlePageInlineDeeplinking:!1,singlePageInlinePosition:"top",singlePageInlineInFocus:!0,singlePageInlineCallback:null,plugins:{}},function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor,a=e(t);o.private={publicEvents:function(t,n,i){var o=this;o.events=[],o.initEvent=function(e){0===o.events.length&&o.scrollEvent(),o.events.push(e)},o.destroyEvent=function(n){o.events=e.map(o.events,function(e,t){if(e.instance!==n)return e}),0===o.events.length&&a.off(t)},o.scrollEvent=function(){var r;a.on(t,function(){clearTimeout(r),r=setTimeout(function(){e.isFunction(i)&&i.call(o)||e.each(o.events,function(e,t){t.fn.call(t.instance)})},n)})}},checkInstance:function(t){var n=e.data(this,"cubeportfolio");if(!n)throw new Error("cubeportfolio is not initialized. Initialize it before calling "+t+" method!");return n.triggerEvent("publicMethod"),n},browserInfo:function(){var e,n,i=o.private,a=navigator.appVersion;-1!==a.indexOf("MSIE 8.")?i.browser="ie8":-1!==a.indexOf("MSIE 9.")?i.browser="ie9":-1!==a.indexOf("MSIE 10.")?i.browser="ie10":t.ActiveXObject||"ActiveXObject"in t?i.browser="ie11":/android/gi.test(a)?i.browser="android":/iphone|ipad|ipod/gi.test(a)?i.browser="ios":/chrome/gi.test(a)?i.browser="chrome":i.browser="",void 0!==typeof i.styleSupport("perspective")&&(e=i.styleSupport("transition"),i.transitionend={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[e],n=i.styleSupport("animation"),i.animationend={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"}[n],i.animationDuration={WebkitAnimation:"webkitAnimationDuration",animation:"animationDuration"}[n],i.animationDelay={WebkitAnimation:"webkitAnimationDelay",animation:"animationDelay"}[n],i.transform=i.styleSupport("transform"),e&&n&&i.transform&&(i.modernBrowser=!0))},styleSupport:function(e){var t,i="Webkit"+e.charAt(0).toUpperCase()+e.slice(1),o=n.createElement("div");return e in o.style?t=e:i in o.style&&(t=i),o=null,t}},o.private.browserInfo(),o.private.resize=new o.private.publicEvents("resize.cbp",50,function(){if(t.innerHeight==screen.height)return!0})}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;o.public={init:function(e,t){new o(this,e,t)},destroy:function(t){var n=o.private.checkInstance.call(this,"destroy");n.triggerEvent("beforeDestroy"),e.removeData(this,"cubeportfolio"),n.blocks.removeData("cbp"),n.$obj.removeClass("cbp-ready").removeAttr("style"),n.$ul.removeClass("cbp-wrapper"),o.private.resize.destroyEvent(n),n.$obj.off(".cbp"),n.blocks.removeClass("cbp-item-off").removeAttr("style"),n.blocks.find(".cbp-item-wrapper").each(function(t,n){var i=e(n),o=i.children();o.length?o.unwrap():i.remove()}),n.destroySlider(),n.$ul.unwrap(),n.addedWrapp&&n.blocks.unwrap(),0===n.blocks.length&&n.$ul.remove(),e.each(n.plugins,function(e,t){"function"==typeof t.destroy&&t.destroy()}),e.isFunction(t)&&t.call(n),n.triggerEvent("afterDestroy")},filter:function(t,n){var i,a=o.private.checkInstance.call(this,"filter");if(!a.isAnimating){if(a.isAnimating=!0,e.isFunction(n)&&a.registerEvent("filterFinish",n,!0),e.isFunction(t)){if(void 0===(i=t.call(a,a.blocks)))throw new Error("When you call cubeportfolio API `filter` method with a param of type function you must return the blocks that will be visible.")}else{if(a.options.filterDeeplinking){var r=location.href.replace(/#cbpf=(.*?)([#\?&]|$)/gi,"");location.href=r+"#cbpf="+encodeURIComponent(t),a.singlePage&&a.singlePage.url&&(a.singlePage.url=location.href)}a.defaultFilter=t,i=a.filterConcat(a.defaultFilter)}a.singlePageInline&&a.singlePageInline.isOpen?a.singlePageInline.close("promise",{callback:function(){a.computeFilter(i)}}):a.computeFilter(i)}},showCounter:function(t,n){var i=o.private.checkInstance.call(this,"showCounter");
2e.isFunction(n)&&i.registerEvent("showCounterFinish",n,!0),i.elems=t,t.each(function(){var t=e(this),n=i.blocks.filter(t.data("filter")).length;t.find(".cbp-filter-counter").text(n)}),i.triggerEvent("showCounterFinish",t)},appendItems:function(e,t){o.public.append.call(this,e,t)},append:function(t,n){var i=o.private.checkInstance.call(this,"append"),a=e(t).filter(".cbp-item");i.isAnimating||a.length<1?e.isFunction(n)&&n.call(i,a):(i.isAnimating=!0,i.singlePageInline&&i.singlePageInline.isOpen?i.singlePageInline.close("promise",{callback:function(){i.addItems(a,n,"append")}}):i.addItems(a,n,"append"))},prepend:function(t,n){var i=o.private.checkInstance.call(this,"prepend"),a=e(t).filter(".cbp-item");i.isAnimating||a.length<1?e.isFunction(n)&&n.call(i,a):(i.isAnimating=!0,i.singlePageInline&&i.singlePageInline.isOpen?i.singlePageInline.close("promise",{callback:function(){i.addItems(a,n,"prepend")}}):i.addItems(a,n,"prepend"))},remove:function(t,n){var i=o.private.checkInstance.call(this,"remove"),a=e(t).filter(".cbp-item");
2i.isAnimating||a.length<1?e.isFunction(n)&&n.call(i,a):(i.isAnimating=!0,i.singlePageInline&&i.singlePageInline.isOpen?i.singlePageInline.close("promise",{callback:function(){i.removeItems(a,n)}}):i.removeItems(a,n))}}}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;e.extend(o.prototype,{updateSliderPagination:function(){var t,n,i=this;if(i.options.showPagination){for(t=Math.ceil(i.blocksOn.length/i.cols),i.navPagination.empty(),n=t-1;n>=0;n--)e("<div/>",{class:"cbp-nav-pagination-item","data-slider-action":"jumpTo"}).appendTo(i.navPagination);i.navPaginationItems=i.navPagination.children()}i.enableDisableNavSlider()},destroySlider:function(){var t=this;"slider"===t.options.layoutMode&&(t.$obj.removeClass("cbp-mode-slider"),t.$ul.removeAttr("style"),t.$ul.off(".cbp"),e(n).off(".cbp"),t.options.auto&&t.stopSliderAuto())},nextSlider:function(e){var t=this;if(t.isEndSlider()){if(!t.isRewindNav())return;t.sliderActive=0}else t.options.scrollByPage?t.sliderActive=Math.min(t.sliderActive+t.cols,t.blocksOn.length-t.cols):t.sliderActive+=1;t.goToSlider()},prevSlider:function(e){var t=this;if(t.isStartSlider()){if(!t.isRewindNav())return;t.sliderActive=t.blocksOn.length-t.cols}else t.options.scrollByPage?t.sliderActive=Math.max(0,t.sliderActive-t.cols
2):t.sliderActive-=1;t.goToSlider()},jumpToSlider:function(e){var t=this,n=Math.min(e.index()*t.cols,t.blocksOn.length-t.cols);n!==t.sliderActive&&(t.sliderActive=n,t.goToSlider())},jumpDragToSlider:function(e){var t,n,i,o=this,a=e>0;o.options.scrollByPage?(t=o.cols*o.columnWidth,n=o.cols):(t=o.columnWidth,n=1),e=Math.abs(e),i=Math.floor(e/t)*n,e%t>20&&(i+=n),o.sliderActive=a?Math.min(o.sliderActive+i,o.blocksOn.length-o.cols):Math.max(0,o.sliderActive-i),o.goToSlider()},isStartSlider:function(){return 0===this.sliderActive},isEndSlider:function(){var e=this;return e.sliderActive+e.cols>e.blocksOn.length-1},goToSlider:function(){this.enableDisableNavSlider(),this.updateSliderPosition()},startSliderAuto:function(){var e=this;e.isDrag?e.stopSliderAuto():e.timeout=setTimeout(function(){e.nextSlider(),e.startSliderAuto()},e.options.autoTimeout)},stopSliderAuto:function(){clearTimeout(this.timeout)},enableDisableNavSlider:function(){var e,t,n=this;n.isRewindNav()||(t=n.isStartSlider()?"addClass":"removeClass",n.navPrev[t]("cbp-nav-stop"),t=n.isEndSlider()?"addClass":"removeClass",n.navNext[t]("cbp-nav-stop")),n.options.showPagination&&(e=n.options.scrollByPage?Math.ceil(n.sliderActive/n.cols):n.isEndSlider()?n.navPaginationItems.length-1:Math.floor(n.sliderActive/n.cols),n.navPaginationItems.removeClass("cbp-nav-pagination-active").eq(e).addClass("cbp-nav-pagination-active")),n.customPagination&&(e=n.options.scrollByPage?Math.ceil(n.sliderActive/n.cols):n.isEndSlider()?n.customPaginationItems.length-1:Math.floor(n.sliderActive/n.cols),n.customPaginationItems.removeClass(n.customPaginationClass).eq(e).addClass(n.customPaginationClass))},isRewindNav:function(){var e=this;return!e.options.showNavigation||!(e.blocksOn.length<=e.cols)&&!!e.options.rewindNav},sliderItemsLength:function(){return this.blocksOn.length<=this.cols},sliderLayout:function(){var t=this;t.blocksOn.each(function(n,i){var o=e(i).data("cbp");o.leftNew=t.columnWidth*n,o.topNew=0,t.sliderFreeSpaces.push({topStart:o.heightAndGap})}),t.getFreeSpacesForSlider(),t.$ul.width(t.columnWidth*t.blocksOn.length-t.options.gapVertical)},getFreeSpacesForSlider:function(){var e=this;e.freeSpaces=e.sliderFreeSpaces.slice(e.sliderActive,e.sliderActive+e.cols),e.freeSpaces.sort(function(e,t){return e.topStart>t.topStart?1:e.topStart<t.topStart?-1:void 0})},updateSliderPosition:function(){var e=this,t=-e.sliderActive*e.columnWidth;o.private.modernBrowser?e.$ul[0].style[o.private.transform]="translate3d("+t+"px, 0px, 0)":e.$ul[0].style.left=t+"px",e.getFreeSpacesForSlider(),e.resizeMainContainer()},dragSlider:function(){var a,r,s,l,p,c=this,u=e(n),d=!1,f={},g=!1;function h(e){c.$obj.removeClass("cbp-mode-slider-dragStart"),d=!0,0!==r?(s.one("click.cbp",function(e){return!1}),requestAnimationFrame(function(){c.jumpDragToSlider(r),c.$ul.one(o.private.transitionend,v)})):v.call(c),u.off(f.move),u.off(f.end)}function b(e){((r=a-m(e).x)>8||r<-8)&&e.preventDefault(),c.isDrag=!0;var t=l-r;r<0&&r<l?t=(l-r)/5:r>0&&l-r<-p&&(t=(p+l-r)/5-p),o.private.modernBrowser?c.$ul[0].style[o.private.transform]="translate3d("+t+"px, 0px, 0)":c.$ul[0].style.left=t+"px"}function v(){if(d=!1,c.isDrag=!1,c.options.auto){if(c.mouseIsEntered)return;c.startSliderAuto()}}function m(e){return e.originalEvent!==i&&e.originalEvent.touches!==i&&(e=e.originalEvent.touches[0]),{x:e.pageX,y:e.pageY}}c.isDrag=!1,"ontouchstart"in t||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?(f={start:"touchstart.cbp",move:"touchmove.cbp",end:"touchend.cbp"},g=!0):f={start:"mousedown.cbp",move:"mousemove.cbp",end:"mouseup.cbp"},c.$ul.on(f.start,function(t){c.sliderItemsLength()||(g?t:t.preventDefault(),c.options.auto&&c.stopSliderAuto(),d?e(s).one("click.cbp",function(){return!1}):(s=e(t.target),a=m(t).x,r=0,l=-c.sliderActive*c.columnWidth,p=c.columnWidth*(c.blocksOn.length-c.cols),u.on(f.move,b),u.on(f.end,h),c.$obj.addClass("cbp-mode-slider-dragStart")))})},sliderLayoutReset:function(){this.freeSpaces=[],this.sliderFreeSpaces=[]}})}(jQuery,window,document),"function"!=typeof Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),function(){for(var e=0,t=["moz","webkit"],n=0;n<t.length&&!window.requestAnimationFrame;n++)window.requestAnimationFrame=window[t[n]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[n]+"CancelAnimationFrame"]||window[t[n]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,n){var i=(new Date).getTime(),o=Math.max(0,16-(i-e)),a=window.setTimeout(function(){t(i+o)},o);return e=i+o,a}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}(),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;function a(e){this.parent=e,e.filterLayout=this.filterLayout,e.registerEvent("computeBlocksFinish",function(t){e.blocksOn2On=e.blocksOnInitial.filter(t),e.blocksOn2Off=e.blocksOnInitial.not(t)})}a.prototype.filterLayout=function(){var t=this;function n(){t.blocks.removeClass("cbp-item-on2off cbp-item-off2on cbp-item-on2on").each(function(t,n){var i=e(n).data("cbp");
2i.left=i.leftNew,i.top=i.topNew,n.style.left=i.left+"px",n.style.top=i.top+"px",n.style[o.private.transform]=""}),t.blocksOff.addClass("cbp-item-off"),t.$obj.removeClass("cbp-animation-"+t.options.animationType),t.filterFinish()}t.$obj.addClass("cbp-animation-"+t.options.animationType),t.blocksOn2On.addClass("cbp-item-on2on").each(function(t,n){var i=e(n).data("cbp");n.style[o.private.transform]="translate3d("+(i.leftNew-i.left)+"px, "+(i.topNew-i.top)+"px, 0)"}),t.blocksOn2Off.addClass("cbp-item-on2off"),t.blocksOff2On=t.blocksOn.filter(".cbp-item-off").removeClass("cbp-item-off").addClass("cbp-item-off2on").each(function(t,n){var i=e(n).data("cbp");n.style.left=i.leftNew+"px",n.style.top=i.topNew+"px"}),t.blocksOn2Off.length?t.blocksOn2Off.last().data("cbp").wrapper.one(o.private.animationend,n):t.blocksOff2On.length?t.blocksOff2On.last().data("cbp").wrapper.one(o.private.animationend,n):n(),t.resizeMainContainer()},a.prototype.destroy=function(){var e=this.parent;e.$obj.removeClass("cbp-animation-"+e.options.animationType)},o.plugins.animationClassic=function(t){return!o.private.modernBrowser||e.inArray(t.options.animationType,["boxShadow","fadeOut","flipBottom","flipOut","quicksand","scaleSides","skew"])<0?null:new a(t)}}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;function a(e){this.parent=e,e.filterLayout=this.filterLayout}a.prototype.filterLayout=function(){var t=this,n=t.$ul[0].cloneNode(!0);function i(){t.wrapper[0].removeChild(n),"sequentially"===t.options.animationType&&t.blocksOn.each(function(t,n){e(n).data("cbp").wrapper[0].style[o.private.animationDelay]=""}),t.$obj.removeClass("cbp-animation-"+t.options.animationType),t.filterFinish()}n.setAttribute("class","cbp-wrapper-helper"),t.wrapper[0].insertBefore(n,t.$ul[0]),requestAnimationFrame(function(){t.$obj.addClass("cbp-animation-"+t.options.animationType),t.blocksOff.addClass("cbp-item-off"),t.blocksOn.removeClass("cbp-item-off").each(function(n,i){var a=e(i).data("cbp");a.left=a.leftNew,a.top=a.topNew,i.style.left=a.left+"px",i.style.top=a.top+"px","sequentially"===t.options.animationType&&(a.wrapper[0].style[o.private.animationDelay]=60*n+"ms")}
2),t.blocksOn.length?t.blocksOn.last().data("cbp").wrapper.one(o.private.animationend,i):t.blocksOnInitial.length?t.blocksOnInitial.last().data("cbp").wrapper.one(o.private.animationend,i):i(),t.resizeMainContainer()})},a.prototype.destroy=function(){var e=this.parent;e.$obj.removeClass("cbp-animation-"+e.options.animationType)},o.plugins.animationClone=function(t){return!o.private.modernBrowser||e.inArray(t.options.animationType,["fadeOutTop","slideLeft","sequentially"])<0?null:new a(t)}}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;function a(e){this.parent=e,e.filterLayout=this.filterLayout}a.prototype.filterLayout=function(){var t=this,n=t.$ul.clone(!0,!0);n[0].setAttribute("class","cbp-wrapper-helper"),t.wrapper[0].insertBefore(n[0],t.$ul[0]);var i=n.find(".cbp-item").not(".cbp-item-off");function a(){t.wrapper[0].removeChild(n[0]),t.$obj.removeClass("cbp-animation-"+t.options.animationType),t.blocks.each(function(t,n){e(n).data("cbp").wrapper[0].style[o.private.animationDelay]=""}),t.filterFinish()}t.sortBlocks(i,"top"),i.children(".cbp-item-wrapper").each(function(e,t){t.style[o.private.animationDelay]=50*e+"ms"}),requestAnimationFrame(function(){t.$obj.addClass("cbp-animation-"+t.options.animationType),t.blocksOff.addClass("cbp-item-off"),t.blocksOn.removeClass("cbp-item-off").each(function(t,n){var i=e(n).data("cbp");i.left=i.leftNew,i.top=i.topNew,n.style.left=i.left+"px",n.style.top=i.top+"px",i.wrapper[0].style[o.private.animationDelay]=50*t+"ms"});var n=t.blocksOn.length,r=i.length;0===n&&0===r?a():n<r?i.last().children(".cbp-item-wrapper").one(o.private.animationend,a):t.blocksOn.last(
2).data("cbp").wrapper.one(o.private.animationend,a),t.resizeMainContainer()})},a.prototype.destroy=function(){var e=this.parent;e.$obj.removeClass("cbp-animation-"+e.options.animationType)},o.plugins.animationCloneDelay=function(t){return!o.private.modernBrowser||e.inArray(t.options.animationType,["3dflip","flipOutDelay","foldLeft","frontRow","rotateRoom","rotateSides","scaleDown","slideDelay","unfold"])<0?null:new a(t)}}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;function a(e){this.parent=e,e.filterLayout=this.filterLayout}a.prototype.filterLayout=function(){var t=this,n=t.$ul[0].cloneNode(!0);function i(){t.wrapper[0].removeChild(n),t.$obj.removeClass("cbp-animation-"+t.options.animationType),t.filterFinish()}n.setAttribute("class","cbp-wrapper-helper"),t.wrapper[0].insertBefore(n,t.$ul[0]),requestAnimationFrame(function(){t.$obj.addClass("cbp-animation-"+t.options.animationType),t.blocksOff.addClass("cbp-item-off"),t.blocksOn.removeClass("cbp-item-off").each(function(t,n){var i=e(n).data("cbp");i.left=i.leftNew,i.top=i.topNew,n.style.left=i.left+"px",n.style.top=i.top+"px"}),t.blocksOn.length?t.$ul.one(o.private.animationend,i):t.blocksOnInitial.length?e(n).one(o.private.animationend,i):i(),t.resizeMainContainer()})},a.prototype.destroy=function(){var e=this.parent;e.$obj.removeClass("cbp-animation-"+e.options.animationType)},o.plugins.animationWrapper=function(t){return!o.private.modernBrowser||e.inArray(t.options.animationType,["bounceBottom","bounceLeft","bounceTop","moveLeft"])<0?null:new a(t)}}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;function a(e){var t=this,n=e.options;t.parent=e,t.captionOn=n.caption,e.registerEvent("onMediaQueries",function(e){e&&e.hasOwnProperty("caption")?t.captionOn!==e.caption&&(t.destroy(),t.captionOn=e.caption,t.init()):t.captionOn!==n.caption&&(t.destroy(),t.captionOn=n.caption,t.init())}),t.init()}a.prototype.init=function(){var e=this;""!=e.captionOn&&("expand"===e.captionOn||o.private.modernBrowser||(e.parent.options.caption=e.captionOn="minimal"),e.parent.$obj.addClass("cbp-caption-active cbp-caption-"+e.captionOn))},a.prototype.destroy=function(){this.parent.$obj.removeClass("cbp-caption-active cbp-caption-"+this.captionOn)},o.plugins.caption=function(e){return new a(e)}}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;function a(t){this.parent=t,t.registerEvent("initFinish",function(){t.$obj.on("click.cbp",".cbp-caption-defaultWrap",function(n){if(n.preventDefault(),!t.isAnimating){t.isAnimating=!0;var i=e(this),o=i.next(),a=i.parent(),r={position:"relative",height:o.outerHeight(!0)},s={position:"relative",height:0};if(t.$obj.addClass("cbp-caption-expand-active"),a.hasClass("cbp-caption-expand-open")){var l=s;s=r,r=l,a.removeClass("cbp-caption-expand-open")}o.css(r),t.$obj.one("pluginResize.cbp",function(){t.isAnimating=!1,t.$obj.removeClass("cbp-caption-expand-active"),0===r.height&&(a.removeClass("cbp-caption-expand-open"),o.attr("style",""))}),t.layoutAndAdjustment(),o.css(s),requestAnimationFrame(function(){a.addClass("cbp-caption-expand-open"),o.css(r),t.triggerEvent("gridAdjust"),t.triggerEvent("resizeGrid")})}})},!0)}a.prototype.destroy=function(){this.parent.$obj.find(".cbp-caption-defaultWrap").off("click.cbp").parent().removeClass("cbp-caption-expand-active")},o.plugins.captionExpand=function(e){return"expand"!==e.options.caption?null:new a(e)}}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;function a(t){var n=e.Deferred();t.pushQueue("delayFrame",n),t.registerEvent("initEndWrite",function(){t.blocksOn.each(function(e,n){
2n.style[o.private.animationDelay]=e*t.options.displayTypeSpeed+"ms"}),t.$obj.addClass("cbp-displayType-bottomToTop"),t.blocksOn.last().one(o.private.animationend,function(){t.$obj.removeClass("cbp-displayType-bottomToTop"),t.blocksOn.each(function(e,t){t.style[o.private.animationDelay]=""}),n.resolve()})},!0)}o.plugins.displayBottomToTop=function(e){return o.private.modernBrowser&&"bottomToTop"===e.options.displayType&&0!==e.blocksOn.length?new a(e):null}}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;function a(t){var n=e.Deferred();t.pushQueue("delayFrame",n),t.registerEvent("initEndWrite",function(){t.obj.style[o.private.animationDuration]=t.options.displayTypeSpeed+"ms",t.$obj.addClass("cbp-displayType-fadeIn"),t.$obj.one(o.private.animationend,function(){t.$obj.removeClass("cbp-displayType-fadeIn"),t.obj.style[o.private.animationDuration]="",n.resolve()})},!0)}o.plugins.displayFadeIn=function(e){return!o.private.modernBrowser||"lazyLoading"!==e.options.displayType&&"fadeIn"!==e.options.displayType||0===e.blocksOn.length?null:new a(e)}}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;function a(t){var n=e.Deferred();t.pushQueue("delayFrame",n),t.registerEvent("initEndWrite",function(){t.obj.style[o.private.animationDuration]=t.options.displayTypeSpeed+"ms",t.$obj.addClass("cbp-displayType-fadeInToTop"),t.$obj.one(o.private.animationend,function(){t.$obj.removeClass("cbp-displayType-fadeInToTop"),t.obj.style[o.private.animationDuration]="",n.resolve()})},!0)}o.plugins.displayFadeInToTop=function(e){return o.private.modernBrowser&&"fadeInToTop"===e.options.displayType&&0!==e.blocksOn.length?new a(e):null}}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;function a(t){var n=e.Deferred();t.pushQueue("delayFrame",n),t.registerEvent("initEndWrite",function(){t.blocksOn.each(function(e,n){
2n.style[o.private.animationDelay]=e*t.options.displayTypeSpeed+"ms"}),t.$obj.addClass("cbp-displayType-sequentially"),t.blocksOn.last().one(o.private.animationend,function(){t.$obj.removeClass("cbp-displayType-sequentially"),t.blocksOn.each(function(e,t){t.style[o.private.animationDelay]=""}),n.resolve()})},!0)}o.plugins.displaySequentially=function(e){return o.private.modernBrowser&&"sequentially"===e.options.displayType&&0!==e.blocksOn.length?new a(e):null}}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;function a(t){var n=this;n.parent=t,n.filters=e(t.options.filters),n.filterData=[],t.registerEvent("afterPlugins",function(e){n.filterFromUrl(),n.registerFilter()}),t.registerEvent("resetFiltersVisual",function(){var i=t.options.defaultFilter.split("|");n.filters.each(function(t,n){var o=e(n).find(".cbp-filter-item");e.each(i,function(e,t){var n=o.filter('[data-filter="'+t+'"]');if(n.length)return n.addClass("cbp-filter-item-active").siblings().removeClass("cbp-filter-item-active"),i.splice(e,1),!1})}),t.defaultFilter=t.options.defaultFilter})}a.prototype.registerFilter=function(){var t=this,n=t.parent,i=n.defaultFilter.split("|");t.wrap=t.filters.find(".cbp-l-filters-dropdownWrap").on({"mouseover.cbp":function(){e(this).addClass("cbp-l-filters-dropdownWrap-open")},"mouseleave.cbp":function(){e(this).removeClass("cbp-l-filters-dropdownWrap-open")}}),t.filters.each(function(o,a){var r=e(a),s="*",l=r.find(".cbp-filter-item"),p={};r.hasClass("cbp-l-filters-dropdown")&&(p.wrap=r.find(".cbp-l-filters-dropdownWrap"),p.header=r.find(".cbp-l-filters-dropdownHeader"),p.headerText=p.header.text()),n.$obj.cubeportfolio("showCounter",l),e.each(i,function(e,t){if(l.filter('[data-filter="'+t+'"]').length)return s=t,i.splice(e,1),!1}),e.data(a,"filterName",s),t.filterData.push(a),t.filtersCallback(p,l.filter('[data-filter="'+s+'"]')),l.on("click.cbp",function(){var i=e(this);if(!i.hasClass("cbp-filter-item-active")&&!n.isAnimating){t.filtersCallback(p,i),e.data(a,"filterName",i.data("filter"));var o=e.map(t.filterData,function(t,n){var i=e.data(t,"filterName");return""!==i&&"*"!==i?i:null});o.length<1&&(o=["*"]);var r=o.join("|");n.defaultFilter!==r&&n.$obj.cubeportfolio("filter",r)}})})},a.prototype.filtersCallback=function(t,n){e.isEmptyObject(t)||(t.wrap.trigger("mouseleave.cbp"),t.headerText?t.headerText="":t.header.html(n.html())),n.addClass("cbp-filter-item-active").siblings().removeClass("cbp-filter-item-active")},a.prototype.filterFromUrl=function(){var e=/#cbpf=(.*?)([#\?&]|$)/gi.exec(location.href);null!==e&&(this.parent.defaultFilter=decodeURIComponent(e[1]))},a.prototype.destroy=function(){this.filters.find(".cbp-filter-item").off(".cbp"),this.wrap.off(".cbp")},o.plugins.filters=function(e){return""===e.options.filters?null:new a(e)}}(jQuery,window,document),function(e,t,n,i){"use strict";var o={},a=e.fn.cubeportfolio.constructor;function r(t){var n=this;n.parent=t,n.options=e.extend({},o,n.parent.options.plugins.inlineSlider),n.runInit(),t.registerEvent("addItemsToDOM",function(){n.runInit()})}function s(e){var t=this;e.hasClass("cbp-slider-inline-ready")||(e.addClass("cbp-slider-inline-ready"),t.items=e.find(".cbp-slider-wrapper").children(".cbp-slider-item"),t.active=t.items.filter(".cbp-slider-item--active").index(),t.total=t.items.length-1,t.updateLeft(),e.find(".cbp-slider-next").on("click.cbp",function(e){e.preventDefault(),t.active<t.total?(t.active++,t.updateLeft()):t.active===t.total&&(t.active=0,t.updateLeft())}),e.find(".cbp-slider-prev").on("click.cbp",function(e){e.preventDefault(),t.active>0?(t.active--,t.updateLeft()):0===t.active&&(t.active=t.total,t.updateLeft())}))}s.prototype.updateLeft=function(){var e=this;e.items.removeClass("cbp-slider-item--active"),e.items.eq(e.active).addClass("cbp-slider-item--active"),e.items.each(function(t,n){n.style.left=t-e.active+"00%"})},r.prototype.runInit=function(){var t=this;t.parent.$obj.find(".cbp-slider-inline").not(".cbp-slider-inline-ready").each(function(n,i){var o=e(i),a=o.find(".cbp-slider-item--active").find("img")[0];a.hasAttribute("data-cbp-src")?t.parent.$obj.on("lazyLoad.cbp",function(e,t){t.src===a.src&&new s(o)}):new s(o)})},r.prototype.destroy=function(){var t=this;t.parent.$obj.find(".cbp-slider-next").off("click.cbp"),t.parent.$obj.find(".cbp-slider-prev").off("click.cbp"),t.parent.$obj.off("lazyLoad.cbp"),t.parent.$obj.find(".cbp-slider-inline").each(function(t,n){var i=e(n);i.removeClass("cbp-slider-inline-ready");var o=i.find(".cbp-slider-item");o.removeClass("cbp-slider-item--active"),o.removeAttr("style"),o.eq(0).addClass("cbp-slider-item--active")})},a.plugins.inlineSlider=function(e){return new r(e)}}(jQuery,window,document),function(e,t,n,i){"use strict";var o={loadingClass:"cbp-lazyload",threshold:400},a=e.fn.cubeportfolio.constructor,r=e(t);function s(t){var n=this;n.parent=t,n.options=e.extend({},o,n.parent.options.plugins.lazyLoad),t.registerEvent("initEndWrite",function(){n.loadImages(),t.registerEvent("resizeMainContainer",function(){n.loadImages()}),a.private.lazyLoadScroll.initEvent({instance:n,fn:n.loadImages}),t.registerEvent("filterFinish",function(){n.loadImages()})},!0)}
2a.private.lazyLoadScroll=new a.private.publicEvents("scroll.lazyLoad",50),s.prototype.loadImages=function(){var t=this,n=t.parent.$obj.find("img").filter("[data-cbp-src]");0!==n.length&&(t.screenHeight=r.height(),n.each(function(n,i){var o=e(i.parentNode);if(t.isElementInScreen(i)){var a=i.getAttribute("data-cbp-src");null===t.parent.checkSrc(e("<img>").attr("src",a))?(t.removeLazyLoad(i,a),o.removeClass(t.options.loadingClass)):(o.addClass(t.options.loadingClass),e("<img>").on("load.cbp error.cbp",function(){t.removeLazyLoad(i,a,o)}).attr("src",a))}else o.addClass(t.options.loadingClass)}))},s.prototype.removeLazyLoad=function(t,n,i){var o=this;t.src=n,t.removeAttribute("data-cbp-src"),o.parent.removeAttrImage(t),o.parent.$obj.trigger("lazyLoad.cbp",t),i&&(a.private.modernBrowser?e(t).one(a.private.transitionend,function(){i.removeClass(o.options.loadingClass)}):i.removeClass(o.options.loadingClass))},s.prototype.isElementInScreen=function(e){var t=this,n=e.getBoundingClientRect(),i=n.bottom+t.options.threshold,o=t.screenHeight+i-(n.top-t.o
2ptions.threshold);return i>=0&&i<=o},s.prototype.destroy=function(){a.private.lazyLoadScroll.destroyEvent(this)},a.plugins.lazyLoad=function(e){return new s(e)}}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;function a(t){var n=this;n.parent=t,n.loadMore=e(t.options.loadMore).find(".cbp-l-loadMore-link"),n.loadMore.length&&n[t.options.loadMoreAction]()}o.private.loadMoreScroll=new o.private.publicEvents("scroll.loadMore",100),a.prototype.createURL=function(e,t){return e+(/\?/.test(e)?"&":"?")+"block="+t},a.prototype.click=function(){var t=this,n=0;t.loadMore.on("click.cbp",function(i){var o=e(this);i.preventDefault(),t.parent.isAnimating||o.hasClass("cbp-l-loadMore-stop")||(o.addClass("cbp-l-loadMore-loading"),n++,e.ajax({url:t.createURL(t.loadMore.attr("href"),n),type:"GET",dataType:"HTML"}).done(function(e){var i=e.replace(/(\r\n|\n|\r)/gm,""),a=i.indexOf("cbp-loadMore-block"+n);if(-1!==a){var r=i.indexOf(">",a)+1,s=i.indexOf("cbp-loadMore-block"+(n+1)),l=-1===s?i.lastIndexOf("</"):i.lastIndexOf("</",s);t.parent.$obj.cubeportfolio("append",i.substring(r,l),function(){o.removeClass("cbp-l-loadMore-loading"),-1===s&&o.addClass("cbp-l-loadMore-stop")})}else o.addClass("cbp-l-loadMore-stop")}).fail(function(){}))})},a.prototype.auto=function(){var n=this,i=e(t);n.parent.$obj.on("initComplete.cbp",function(){Object.create({init:function(){this.isActive=!1,this.numberOfClicks=0,n.loadMore.addClass("cbp-l-loadMore-loading"),this.addEvents(),this.getNewItems()},addEvents:function(){var e=this;n.loadMore.on("click.cbp",function(e){e.preventDefault()}),o.private.loadMoreScroll.initEvent({instance:e,fn:function(){n.parent.isAnimating||e.getNewItems()}}),n.parent.$obj.on("filterComplete.cbp",function(){e.getNewItems()})},getNewItems:function(){var t=this;t.isActive||n.loadMore.hasClass("cbp-l-loadMore-stop")||n.loadMore.offset().top-200>i.scrollTop()+i.height()||(t.isActive=!0,t.numberOfClicks++,e.ajax({url:n.createURL(n.loadMore.attr("href"),t.numberOfClicks),type:"GET",dataType:"HTML"}).done(function(e){var a=e.replace(/(\r\n|\n|\r)/gm,""),r=a.indexOf("cbp-loadMore-block"+t.numberOfClicks);if(-1!==r){var s,l=a.indexOf(">",r)+1,p=a.indexOf("cbp-loadMore-block"+(t.numberOfClicks+1));s=-1===p?a.lastIndexOf("</"):a.lastIndexOf("</",p),n.parent.$obj.cubeportfolio("append",a.substring(l,s),function(){-1===p?(n.loadMore.addClass("cbp-l-loadMore-stop"),o.private.loadMoreScroll.destroyEvent(this),n.parent.$obj.off("filterComplete.cbp")):(t.isActive=!1,i.trigger("scroll.loadMore"))})}else n.loadMore.addClass("cbp-l-loadMore-stop")}).fail(function(){t.isActive=!1}))}}).init()})},a.prototype.destroy=function(){this.loadMore.off(".cbp"),o.private.loadMoreScroll.destroyEvent(this)},o.plugins.loadMore=function(e){return""===e.options.loadMore?null:new a(e)}}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor,a={init:function(t,i){var o,a=this;if(a.cubeportfolio=t,a.type=i,a.isOpen=!1,a.options=a.cubeportfolio.options,"lightbox"===i&&a.cubeportfolio.registerEvent("resizeWindow",function(){a.resizeImage()}
2),"singlePageInline"!==i){if(a.createMarkup(),"singlePage"===i&&(a.cubeportfolio.registerEvent("resizeWindow",function(){if(a.options.singlePageStickyNavigation){var e=a.wrap[0].clientWidth;e>0&&(a.navigationWrap.width(e),a.navigation.width(e))}}),a.options.singlePageDeeplinking)){a.url=location.href,"#"===a.url.slice(-1)&&(a.url=a.url.slice(0,-1));u=(c=a.url.split("#cbp=")).shift();if(e.each(c,function(t,n){if(a.cubeportfolio.blocksOn.each(function(t,i){var r=e(i).find(a.options.singlePageDelegate+'[href="'+n+'"]');if(r.length)return o=r,!1}),o)return!1}),o){a.url=u;var r=o,s=r.attr("data-cbp-singlePage"),l=[];s?l=r.closest(e(".cbp-item")).find('[data-cbp-singlePage="'+s+'"]'):a.cubeportfolio.blocksOn.each(function(t,n){var i=e(n);i.not(".cbp-item-off")&&i.find(a.options.singlePageDelegate).each(function(t,n){e(n).attr("data-cbp-singlePage")||l.push(n)})}),a.openSinglePage(l,o[0])}else if(c.length){var p=n.createElement("a");p.setAttribute("href",c[0]),a.openSinglePage([p],p)}}}else if(a.height=0,a.createMarkupSinglePageInline(),a.cubeportfolio.registerEvent("resizeGrid",function(){a.isOpen&&a.close()}),a.options.singlePageInlineDeeplinking){a.url=location.href,"#"===a.url.slice(-1)&&(a.url=a.url.slice(0,-1));var c,u=(c=a.url.split("#cbpi=")).shift();e.each(c,function(t,n){if(a.cubeportfolio.blocksOn.each(function(t,i){var r=e(i).find(a.options.singlePageInlineDelegate+'[href="'+n+'"]');if(r.length)return o=r,!1}),o)return!1}),o&&a.cubeportfolio.registerEvent("initFinish",function(){a.openSinglePageInline(a.cubeportfolio.blocksOn,o[0])},!0)}},createMarkup:function(){var t=this,i="";"singlePage"===t.type&&"left"!==t.options.singlePageAnimation&&(i=" cbp-popup-singlePage-"+t.options.singlePageAnimation),t.wrap=e("<div/>",{class:"cbp-popup-wrap cbp-popup-"+t.type+i,"data-action":"lightbox"===t.type?"close":""}).on("click.cbp",function(n){if(!t.stopEvents){var i=e(n.target).attr("data-action");t[i]&&(t[i](),n.preventDefault())}}),t.content=e("<div/>",{class:"cbp-popup-content"}).appendTo(t.wrap),e("<div/>",{class:"cbp-popup-loadingBox"}).appendTo(t.wrap),"ie8"===o.private.browser&&(t.bg=e("<div/>",{class:"cbp-popup-ie8bg","data-action":"lightbox"===t.type?"close":""}).appendTo(t.wrap)),t.navigationWrap=e("<div/>",{class:"cbp-popup-navigation-wrap"}).appendTo(t.wrap),t.navigation=e("<div/>",{class:"cbp-popup-navigation"}).appendTo(t.navigationWrap),t.closeButton=e("<div/>",{class:"cbp-popup-close",title:"Close (Esc arrow key)","data-action":"close"}).appendTo(t.navigation),t.nextButton=e("<div/>",{class:"cbp-popup-next",title:"Next (Right arrow key)","data-action":"next"}).appendTo(t.navigation),t.prevButton=e("<div/>",{class:"cbp-popup-prev",title:"Previous (Left arrow key)","data-action":"prev"}).appendTo(t.navigation),"singlePage"===t.type&&(t.options.singlePageCounter&&(t.counter=e(t.options.singlePageCounter).appendTo(t.navigation),t.counter.text("")),t.content.on("click.cbp",t.options.singlePageDelegate,function(e){e.preventDefault();var n,i=t.dataArray.length,o=this.getAttribute("href");for(n=0;n<i&&t.dataArray[n].url!==o;n++);t.singlePageJumpTo(n-t.current)}),t.wrap.on("mousewheel.cbp DOMMouseScroll.cbp",function(e){e.stopImmediatePropagation()})),e(n).on("keydown.cbp",function(e){t.isOpen&&(t.stopEvents||(s&&e.stopImmediatePropagation(),37===e.keyCode?t.prev():39===e.keyCode?t.next():27===e.keyCode&&t.close()))})},createMarkupSinglePageInline:function(){var t=this;t.wrap=e("<div/>",{class:"cbp-popup-singlePageInline"}).on("click.cbp",function(n){if(!t.stopEvents){var i=e(n.target).attr("data-action");i&&t[i]&&(t[i](),n.preventDefault())}}),t.content=e("<div/>",{class:"cbp-popup-content"}).appendTo(t.wrap),t.navigation=e("<div/>",{class:"cbp-popup-navigation"}).appendTo(t.wrap),t.closeButton=e("<div/>",{class:"cbp-popup-close",title:"Close (Esc arrow key)","data-action":"close"}).appendTo(t.navigation)},destroy:function(){var t=this,i=e("body");e(n).off("keydown.cbp"),i.off("click.cbp",t.options.lightboxDelegate),i.off("click.cbp",t.options.singlePageDelegate),t.content.off("click.cbp",t.options.singlePageDelegate),t.cubeportfolio.$obj.off("click.cbp",t.options.singlePageInlineDelegate),t.cubeportfolio.$obj.off("click.cbp",t.options.lightboxDelegate),t.cubeportfolio.$obj.off("click.cbp",t.options.singlePageDelegate),t.cubeportfolio.$obj.removeClass("cbp-popup-isOpening"),t.cubeportfolio.$obj.find(".cbp-item").removeClass("cbp-singlePageInline-active"),t.wrap.remove()},openLightbox:function(i,o){var a,r,l=this,p=0,c=[];if(!l.isOpen){if(s=!0,l.isOpen=!0,l.stopEvents=!1,l.dataArray=[],l.current=null,null===(a=o.getAttribute("href")))throw new Error("HEI! Your clicked element doesn't have a href attribute.");e.each(i,function(t,n){var i,o=n.getAttribute("href"),r=o,s="isImage";if(-1===e.inArray(o,c)){if(a===o)l.current=p;else if(!l.options.lightboxGallery)return;/youtube/i.test(o)?(i=o.substring(o.lastIndexOf("v=")+2),/autoplay=/i.test(i)||(i+="&autoplay=1"),r="//www.youtube.com/embed/"+(i=i.replace(/\?|&/,"?")),s="isYoutube"):/vimeo\.com/i.test(o)?(i=o.substring(o.lastIndexOf("/")+1),/autoplay=/i.test(i)||(i+="&autoplay=1"),r="//player.vimeo.com/video/"+(i=i.replace(/\?|&/,"?")),s="isVimeo"):/www\.ted\.com/i.test(o)?(r="http://embed.ted.com/talks/"+o.substring(o.lastIndexOf("/")+1)+".html",s="isTed"):/soundcloud\.com/i.test(o)?(r=o,s="isSoundCloud"):/(\.mp4)|(\.ogg)|(\.ogv)|(\.webm)/i.test(o)?(r=-1!==o.indexOf("|")?o.split("|"):o.split("%7C"),s="isSelfHostedVideo"):/\.mp3$/i.test(o)&&(r=o,s="isSelfHostedAudio"),l.dataArray.push({src:r,title:n.getAttribute(l.options.lightboxTitleSrc),type:s}),p++}c.push(o)}),l.counterTotal=l.dataArray.length,1===l.counterTotal?(l.nextButton.hide(),l.prevButton.hide(),l.dataActionImg=""):(l.nextButton.show(),l.prevButton.show(),l.dataActionImg='data-action="next"'),l.wrap.appendTo(n.body),l.scrollTop=e(t).scrollTop(),l.originalStyle=e("html").attr("style"),e("html").css({overflow:"hidden",marginRight:t.innerWidth-e(n).width()}),l.wrap.addClass("cbp-popup-transitionend"),l.wrap.show(),r=l.dataArray[l.current],l[r.type](r)}},openSinglePage:function(i,a){var r,s=this,l=0,p=[];if(!s.isOpen){if(s.cubeportfolio.singlePageInline&&s.cubeportfolio.singlePageInline.isOpen&&s.cubeportfolio.singlePageInline.close(),s.isOpen=!0,s.stopEvents=!1,s.dataArray=[],s.current=null,null===(r=a.getAttribute("href")))throw new Error("HEI! Your clicked element doesn't have a href attribute.");e.each(i,function(t,n){var i=n.getAttribute("href");-1===e.inArray(i,p)&&(r===i&&(s.current=l),s.dataArray.push({url:i,element:n}),l++),p.push(i)}),s.counterTotal=s.dataArray.length,1===s.counterTotal?(s.nextButton.hide(),s.prevButton.hide()):(s.nextButton.show(),s.prevButton.show()),s.wrap.appendTo(n.body),s.scrollTop=e(t).scrollTop(),s.wrap.scrollTop(0),s.wrap.show(),s.finishOpen=2,s.navigationMobile=e(),s.wrap.one(o.private.transitionend,function(){e("html").css({overflow:"hidden",marginRight:t.innerWidth-e(n).width()}),s.wrap.addClass("cbp-popup-transitionend"),s.options.singlePageStickyNavigation&&(s.wrap.addClass("cbp-popup-singlePage-sticky"),s.navigationWrap.width(s.wrap[0].clientWidth),"android"!==o.private.browser&&"ios"!==o.private.browser||(s.navigationMobile=e("<div/>",{class:"cbp-popup-singlePage cbp-popup-singlePage-sticky",id:s.wrap.attr("id")}).on("click.cbp",function(t){if(!s.stopEvents){var n=e(t.target).attr("data-action");s[n]&&(s[n](),t.preventDefault())}}),s.navigationMobile.appendTo(n.body).append(s.navigationWrap))),s.finishOpen--,s.finishOpen<=0&&s.updateSinglePageIsOpen.call(s)}),"ie8"!==o.private.browser&&"ie9"!==o.private.browser||(e("html").css({overflow:"hidden",marginRight:t.innerWidth-e(n).width()}),s.wrap.addClass("cbp-popup-transitionend"),s.options.singlePageStickyNavigation&&(s.navigationWrap.width(s.wrap[0].clientWidth),setTimeout(function(){s.wrap.addClass("cbp-popup-singlePage-sticky")},1e3)),s.finishOpen--),s.wrap.addClass("cbp-popup-loading"),s.wrap.offset(),s.wrap.addClass("cbp-popup-singlePage-open"),s.options.singlePageDeeplinking&&(s.url=s.url.split("#cbp=")[0],location.href=s.url+"#cbp="+s.dataArray[s.current].url),e.isFunction(s.options.singlePageCallback)&&s.options.singlePageCallback.call(s,s.dataArray[s.current].url,s.dataArray[s.current].element)}},openSinglePageInline:function(n,i,o){var a,r,s,l=this;if(o=o||!1,l.fromOpen=o,l.storeBlocks=n,l.storeCurrentBlock=i,l.isOpen)return r=e(i).closest(".cbp-item").index(),void(l.dataArray[l.current].url!==i.getAttribute("href")||l.current!==r?l.cubeportfolio.singlePageInline.close("open",{blocks:n,currentBlock:i,fromOpen:!0}):l.close());if(l.isOpen=!0,l.stopEvents=!1,l.dataArray=[],l.current=null,null===(a=i.getAttribute("href")))throw new Error("HEI! Your clicked element doesn't have a href attribute.");if(s=e(i).closest(".cbp-item")[0],n.each(function(e,t){s===t&&(l.current=e)}),l.dataArray[l.current]={url:a,element:i},e(l.dataArray[l.current].element).parents(".cbp-item").addClass("cbp-singlePageInline-active"),l.counterTotal=n.length,l.wrap.insertBefore(l.cubeportfolio.wrapper),l.topDifference=0,"top"===l.options.singlePageInlinePosition)l.blocksToMove=n,l.top=0;else if("bottom"===l.options.singlePageInlinePosition)l.blocksToMove=e(),l.top=l.cubeportfolio.height;else if("above"===l.options.singlePageInlinePosition){var p=e(n[l.current]),c=(u=p.data("cbp").top)+p.height();l.top=u,l.blocksToMove=e(),n.each(function(t,n){var i=e(n),o=i.data("cbp").top,a=o+i.height();a<=u||(o>=u&&(l.blocksToMove=l.blocksToMove.add(n)),o<u&&a>u&&(l.top=a+l.options.gapHorizontal,a-u>l.topDifference&&(l.topDifference=a-u+l.options.gapHorizontal)))}),l.top=Math.max(l.top-l.options.gapHorizontal,0)}else{var u;p=e(n[l.current]),c=(u=p.data("cbp").top)+p.height();l.top=c,l.blocksToMove=e(),n.each(function(t,n){var i=e(n),o=i.height(),a=i.data("cbp").top,r=a+o;r<=c||(a>=c-o/2?l.blocksToMove=l.blocksToMove.add(n):r>c&&a<c&&(r>l.top&&(l.top=r),r-c>l.topDifference&&(l.topDifference=r-c)))})}if(l.wrap[0].style.height=l.wrap.outerHeight(!0)+"px",l.deferredInline=e.Deferred(),l.options.singlePageInlineInFocus){l.scrollTop=e(t).scrollTop();var d=l.cubeportfolio.$obj.offset().top+l.top-100;l.scrollTop!==d?e("html,body").animate({scrollTop:d},350).promise().then(function(){l.resizeSinglePageInline(),l.deferredInline.resolve()}):(l.resizeSinglePageInline(),l.deferredInline.resolve())}else l.resizeSinglePageInline(),l.deferredInline.resolve();l.cubeportfolio.$obj.addClass("cbp-popup-singlePageInline-open"),l.wrap.css({top:l.top}),l.options.singlePageInlineDeeplinking&&(l.url=l.url.split("#cbpi=")[0],location.href=l.url+"#cbpi="+l.dataArray[l.current].url),e.isFunction(l.options.singlePageInlineCallback)&&l.options.singlePageInlineCallback.call(l,l.dataArray[l.current].url,l.dataArray[l.current].element)},resizeSinglePageInline:function(){var e=this;e.height=0===e.top||e.top===e.cubeportfolio.height?e.wrap.outerHeight(!0):e.wrap.outerHeight(!0)-e.options.gapHorizontal,e.height+=e.topDifference,e.storeBlocks.each(function(e,t){o.private.modernBrowser?t.style[o.private.transform]="":t.style.marginTop=""}),e.blocksToMove.each(function(t,n){o.private.modernBrowser?n.style[o.private.transform]="translate3d(0px, "+e.height+"px, 0)":n.style.marginTop=e.height+"px"}),e.cubeportfolio.obj.style.height=e.cubeportfolio.height+e.height+"px"},revertResizeSinglePageInline:function(){var t=this;t.deferredInline=e.Deferred(),t.storeBlocks.each(function(e,t){o.private.modernBrowser?t.style[o.private.transform]="":t.style.marginTop=""}),t.cubeportfolio.obj.style.height=t.cubeportfolio.height+"px"},appendScriptsToWrap:function(e){var t=this,i=0,o=function(a){var r=n.createElement("script"),s=a.src;r.type="text/javascript",r.readyState?r.onreadystatechange=function(){"loaded"!=r.readyState&&"complete"!=r.readyState||(r.onreadystatechange=null,e[++i]&&o(e[i]))}:r.onload=function(){e[++i]&&o(e[i])},s?r.src=s:r.text=a.text,t.content[0].appendChild(r)};o(e[0])},updateSinglePage:function(t,n,i){var o,a=this;a.content.addClass("cbp-popup-content").removeClass("cbp-popup-content-basic"),!1===i&&a.content.removeClass("cbp-popup-content").addClass("cbp-popup-content-basic"),a.counter&&(o=e(a.getCounterMarkup(a.options.singlePageCounter,a.current+1,a.counterTotal)),a.counter.text(o.text())),a.fromAJAX={html:t,scripts:n},a.finishOpen--,a.finishOpen<=0&&a.updateSinglePageIsOpen.call(a)},updateSinglePageIsOpen:function(){var t,n=this;n.wrap.addClass("cbp-popup-ready"),n.wrap.removeClass("cbp-popup-loading"),n.content.html(n.fromAJAX.html),n.fromAJAX.scripts&&n.appendScriptsToWrap(n.fromAJAX.scripts),n.fromAJAX={},n.cubeportfolio.$obj.trigger("updateSinglePageStart.cbp"),(t=n.content.find(".cbp-slider"))?(t.find(".cbp-slider-item").addClass("cbp-item"),n.slider=t.cubeportfolio({layoutMode:"slider",mediaQueries:[{width:1,cols:1}],gapHorizontal:0,gapVertical:0,caption:"",coverRatio:""})):n.slider=null,n.checkForSocialLinks(n.content),"android"!==o.private.browser&&"ios"!==o.private.browser||e("html").css({position:"fixed"}),n.cubeportfolio.$obj.trigger("updateSinglePageComplete.cbp")},checkForSocialLinks:function(e){var t=this;t.createFacebookShare(e.find(".cbp-social-fb")),t.createTwitterShare(e.find(".cbp-social-twitter")),t.createGooglePlusShare(e.find(".cbp-social-googleplus")),t.createPinterestShare(e.find(".cbp-social-pinterest"))},createFacebookShare:function(e){e.length&&!e.attr("onclick")&&e.attr("onclick","window.open('http://www.facebook.com/sharer.php?u="+encodeURIComponent(t.location.href)+"', '_blank', 'top=100,left=100,toolbar=0,status=0,width=620,height=400'); return false;")},createTwitterShare:function(e){e.length&&!e.attr("onclick")&&e.attr("onclick","window.open('https://twitter.com/intent/tweet?source="+encodeURIComponent(t.location.href)+"&text="+encodeURIComponent(n.title)+"', '_blank', 'top=100,left=100,toolbar=0,status=0,width=620,height=300'); return false;")},createGooglePlusShare:function(e){e.length&&!e.attr("onclick")&&e.attr("onclick","window.open('https://plus.google.com/share?url="+encodeURIComponent(t.location.href)+"', '_blank', 'top=100,left=100,toolbar=0,status=0,width=620,height=450'); return false;")},createPinterestShare:function(e){if(e.length&&!e.attr("onclick")){var n="",i=this.content.find("img")[0];i&&(n=i.src),e.attr("onclick","window.open('http://pinterest.com/pin/create/button/?url="+encodeURIComponent(t.location.href)+"&media="+n+"', '_blank', 'top=100,left=100,toolbar=0,status=0,width=620,height=400'); return false;")}},updateSinglePageInline:function(e,t){var n=this;n.content.html(e),t&&n.appendScriptsToWrap(t),n.cubeportfolio.$obj.trigger("updateSinglePageInlineStart.cbp"),n.singlePageInlineIsOpen.call(n)},singlePageInlineIsOpen:function(){var e=this;function t(){e.wrap.addClass("cbp-popup-singlePageInline-ready"),e.wrap[0].style.height="",e.resizeSinglePageInline(),e.cubeportfolio.$obj.trigger("updateSinglePageInlineComplete.cbp")}e.cubeportfolio.loadImages(e.wrap,function(){var n=e.content.find(".cbp-slider");n.length?(n.find(".cbp-slider-item").addClass("cbp-item"),n.one("initComplete.cbp",function(){e.deferredInline.done(t)}),n.on("pluginResize.cbp",function(){e.deferredInline.done(t)}),e.slider=n.cubeportfolio({layoutMode:"slider",displayType:"default",mediaQueries:[{width:1,cols:1}],gapHorizontal:0,gapVertical:0,caption:"",coverRatio:""})):(e.slider=null,e.deferredInline.done(t)),e.checkForSocialLinks(e.content)})},isImage:function(t){var n=this;new Image;n.tooggleLoading(!0),n.cubeportfolio.loadImages(e('<div><img src="'+t.src+'"></div>'),function(){n.updateImagesMarkup(t.src,t.title,n.getCounterMarkup(n.options.lightboxCounter,n.current+1,n.counterTotal)),n.tooggleLoading(!1)})},isVimeo:function(e){var t=this;t.updateVideoMarkup(e.src,e.title,t.getCounterMarkup(t.options.lightboxCounter,t.current+1,t.counterTotal))},isYoutube:function(e){var t=this;t.updateVideoMarkup(e.src,e.title,t.getCounterMarkup(t.options.lightboxCounter,t.current+1,t.counterTotal))},isTed:function(e){var t=this;t.updateVideoMarkup(e.src,e.title,t.getCounterMarkup(t.options.lightboxCounter,t.current+1,t.counterTotal))},isSoundCloud:function(e){var t=this;t.updateVideoMarkup(e.src,e.title,t.getCounterMarkup(t.options.lightboxCounter,t.current+1,t.counterTotal))},isSelfHostedVideo:function(e){var t=this;t.updateSelfHostedVideo(e.src,e.title,t.getCounterMarkup(t.options.lightboxCounter,t.current+1,t.counterTotal))},isSelfHos
2tedAudio:function(e){var t=this;t.updateSelfHostedAudio(e.src,e.title,t.getCounterMarkup(t.options.lightboxCounter,t.current+1,t.counterTotal))},getCounterMarkup:function(e,t,n){if(!e.length)return"";var i={current:t,total:n};return e.replace(/\{\{current}}|\{\{total}}/gi,function(e){return i[e.slice(2,-2)]})},updateSelfHostedVideo:function(e,t,n){var i,o=this;o.wrap.addClass("cbp-popup-lightbox-isIframe");var a='<div class="cbp-popup-lightbox-iframe"><video controls="controls" height="auto" style="width: 100%">';for(i=0;i<e.length;i++)/(\.mp4)/i.test(e[i])?a+='<source src="'+e[i]+'" type="video/mp4">':/(\.ogg)|(\.ogv)/i.test(e[i])?a+='<source src="'+e[i]+'" type="video/ogg">':/(\.webm)/i.test(e[i])&&(a+='<source src="'+e[i]+'" type="video/webm">');a+='Your browser does not support the video tag.</video><div class="cbp-popup-lightbox-bottom">'+(t?'<div class="cbp-popup-lightbox-title">'+t+"</div>":"")+n+"</div></div>",o.content.html(a),o.wrap.addClass("cbp-popup-ready"),o.preloadNearbyImages()},updateSelfHostedAudio:function(e,t,n){var i=this;i.wrap.addClass("cbp-popup-lightbox-isIframe");var o='<div class="cbp-popup-lightbox-iframe"><div class="cbp-misc-video"><audio controls="controls" height="auto" style="width: 75%"><source src="'+e+'" type="audio/mpeg">Your browser does not support the audio tag.</audio></div><div class="cbp-popup-lightbox-bottom">'+(t?'<div class="cbp-popup-lightbox-title">'+t+"</div>":"")+n+"</div></div>";i.content.html(o),i.wrap.addClass("cbp-popup-ready"),i.preloadNearbyImages()},updateVideoMarkup:function(e,t,n){var i=this;i.wrap.addClass("cbp-popup-lightbox-isIframe");var o='<div class="cbp-popup-lightbox-iframe"><iframe src="'+e+'" frameborder="0" allowfullscreen scrolling="no"></iframe><div class="cbp-popup-lightbox-bottom">'+(t?'<div class="cbp-popup-lightbox-title">'+t+"</div>":"")+n+"</div></div>";i.content.html(o),i.wrap.addClass("cbp-popup-ready"),i.preloadNearbyImages()},updateImagesMarkup:function(e,t,n){var i=this;i.wrap.removeClass("cbp-popup-lightbox-isIframe");var o='<div class="cbp-popup-lightbox-figure"><img src="'+e+'" class="cbp-popup-lightbox-img" '+i.dataActionImg+' /><div class="cbp-popup-lightbox-bottom">'+(t?'<div class="cbp-popup-lightbox-title">'+t+"</div>":"")+n+"</div></div>";i.content.html(o),i.wrap.addClass("cbp-popup-ready"),i.resizeImage(),i.preloadNearbyImages()},next:function(){this[this.type+"JumpTo"](1)},prev:function(){this[this.type+"JumpTo"](-1)},lightboxJumpTo:function(e){var t,n=this;n.current=n.getIndex(n.current+e),n[(t=n.dataArray[n.current]).type](t)},singlePageJumpTo:function(t){var n=this;n.current=n.getIndex(n.current+t),e.isFunction(n.options.singlePageCallback)&&(n.resetWrap(),n.wrap.scrollTop(0),n.wrap.addClass("cbp-popup-loading"),n.options.singlePageCallback.call(n,n.dataArray[n.current].url,n.dataArray[n.current].element),n.options.singlePageDeeplinking&&(location.href=n.url+"#cbp="+n.dataArray[n.current].url))},resetWrap:function(){var e=this;"singlePage"===e.type&&e.options.singlePageDeeplinking&&(location.href=e.url+"#"),"singlePageInline"===e.type&&e.options.singlePageInlineDeeplinking&&(location.href=e.url+"#")},getIndex:function(e){return(e%=this.counterTotal)<0&&(e=this.counterTotal+e),e},close:function(n,i){var a=this;function r(){a.content.html(""),a.wrap.detach(),a.cubeportfolio.$obj.removeClass("cbp-popup-singlePageInline-open cbp-popup-singlePageInline-close"),"promise"===n&&e.isFunction(i.callback)&&i.callback.call(a.cubeportfolio)}function l(){var i=e(t).scrollTop();a.resetWrap(),e(t).scrollTop(i),a.options.singlePageInlineInFocus&&"promise"!==n?e("html,body").animate({scrollTop:a.scrollTop},350).promise().then(function(){r()}):r()}a.isOpen=!1,"singlePageInline"===a.type?"open"===n?(a.wrap.removeClass("cbp-popup-singlePageInline-ready"),e(a.dataArray[a.current].element).closest(".cbp-item").removeClass("cbp-singlePageInline-active"),a.openSinglePageInline(i.blocks,i.currentBlock,i.fromOpen)):(a.height=0,a.revertResizeSinglePageInline(),a.wrap.removeClass("cbp-popup-singlePageInline-ready"),a.cubeportfolio.$obj.addClass("cbp-popup-singlePageInline-close"),a.cubeportfolio.$obj.find(".cbp-item").removeClass("cbp-singlePageInline-active"),o.private.modernBrowser?a.wrap.one(o.private.transitionend,function(){l()}):l()):"singlePage"===a.type?(a.resetWrap(),a.wrap.removeClass("cbp-popup-ready cbp-popup-transitionend"),"android"!==o.private.browser&&"ios"!==o.private.browser||(e("html").css({position:""}),a.navigationWrap.appendTo(a.wrap),a.navigationMobile.remove()),e(t).scrollTop(a.scrollTop),setTimeout(function(){a.stopScroll=!0,a.navigationWrap.css({top:a.wrap.scrollTop()}),a.wrap.removeClass("cbp-popup-singlePage-open cbp-popup-singlePage-sticky"),"ie8"!==o.private.browser&&"ie9"!==o.private.browser||(a.content.html(""),a.wrap.detach(),e("html").css({overflow:"",marginRight:"",position:""}),a.navigationWrap.removeAttr("style"))},0),e("html").css({overflow:"",marginRight:"",position:""}),a.wrap.one(o.private.transitionend,function(){a.content.html(""),a.wrap.detach(),a.navigationWrap.removeAttr("style")})):(s=!1,a.originalStyle?e("html").attr("style",a.originalStyle):e("html").css({overflow:"",marginRight:""}),e(t).scrollTop(a.scrollTop),a.content.html(""),a.wrap.detach())},tooggleLoading:function(e){this.stopEvents=e,this.wrap[e?"addClass":"removeClass"]("cbp-popup-loading")},resizeImage:function(){if(this.isOpen){var n=e(t).height(),i=this.content.find("img"),o=parseInt(i.css("margin-top"),10)+parseInt(i.css("margin-bottom"),10);i.css("max-height",n-o+"px")}},preloadNearbyImages:function(){for(var e=this,t=[e.getIndex(e.current+1),e.getIndex(e.current+2),e.getIndex(e.current+3),e.getIndex(e.current-1),e.getIndex(e.current-2),e.getIndex(e.current-3)],n=t.length-1;n>=0;n--)"isImage"===e.dataArray[t[n]].type&&e.cubeportfolio.checkSrc(e.dataArray[t[n]])}};function r(e){var t=this;t.parent=e,!1===e.options.lightboxShowCounter&&(e.options.lightboxCounter=""),!1===e.options.singlePageShowCounter&&(e.options.singlePageCounter=""),e.registerEvent("initStartRead",function(){t.run()},!0)}var s=!1,l=!1,p=!1;r.prototype.run=function(){var t=this,i=t.parent,o=e(n.body);i.lightbox=null,i.options.lightboxDelegate&&!l&&(l=!0,i.lightbox=Object.create(a),i.lightbox.init(i,"lightbox"),o.on("click.cbp",i.options.lightboxDelegate,function(n){n.preventDefault();var o=e(this),a=o.attr("data-cbp-lightbox"),r=t.detectScope(o),s=r.data("cubeportfolio"),l=[];s?s.blocksOn.each(function(t,n){var o=e(n);o.not(".cbp-item-off")&&o.find(i.options.lightboxDelegate).each(function(t,n){a?e
2(n).attr("data-cbp-lightbox")===a&&l.push(n):l.push(n)})}):l=a?r.find(i.options.lightboxDelegate+"[data-cbp-lightbox="+a+"]"):r.find(i.options.lightboxDelegate),i.lightbox.openLightbox(l,o[0])})),i.singlePage=null,i.options.singlePageDelegate&&!p&&(p=!0,i.singlePage=Object.create(a),i.singlePage.init(i,"singlePage"),o.on("click.cbp",i.options.singlePageDelegate,function(n){n.preventDefault();var o=e(this),a=o.attr("data-cbp-singlePage"),r=t.detectScope(o),s=r.data("cubeportfolio"),l=[];s?s.blocksOn.each(function(t,n){var o=e(n);o.not(".cbp-item-off")&&o.find(i.options.singlePageDelegate).each(function(t,n){a?e(n).attr("data-cbp-singlePage")===a&&l.push(n):l.push(n)})}):l=a?r.find(i.options.singlePageDelegate+"[data-cbp-singlePage="+a+"]"):r.find(i.options.singlePageDelegate),i.singlePage.openSinglePage(l,o[0])})),i.singlePageInline=null,i.options.singlePageInlineDelegate&&(i.singlePageInline=Object.create(a),i.singlePageInline.init(i,"singlePageInline"),i.$obj.on("click.cbp",i.options.singlePageInlineDelegate,function(t){t.preventDefault();var n=e.data(this,"cbp-locked"),o=e.data(this,"cbp-locked",+new Date);(!n||o-n>300)&&i.singlePageInline.openSinglePageInline(i.blocksOn,this)}))},r.prototype.detectScope=function(t){var i,o,a;return(i=t.closest(".cbp-popup-singlePageInline")).length?(a=t.closest(".cbp",i[0])).length?a:i:(o=t.closest(".cbp-popup-singlePage")).length?(a=t.closest(".cbp",o[0])).length?a:o:(a=t.closest(".cbp")).length?a:e(n.body)},r.prototype.destroy=function(){var t=this.parent;e(n.body).off("click.cbp"),l=!1,p=!1,t.lightbox&&t.lightbox.destroy(),t.singlePage&&t.singlePage.destroy(),t.singlePageInline&&t.singlePageInline.destroy()},o.plugins.popUp=function(e){return new r(e)}}(jQuery,window,document),function(e,t,n,i){"use strict";var o=e.fn.cubeportfolio.constructor;function a(t){var n=this;n.parent=t,n.searchInput=e(t.options.search),n.searchInput.each(function(t,n){var i=n.getAttribute("data-search");i||(i="*"),e.data(n,"searchData",{value:n.value,el:i})});var i=null;n.searchInput.on("keyup.cbp paste.cbp",function(t){t.preventDefault();var o=e(this);clearTimeout(i),i=setTimeout(function(){n.runEvent.call(n,o)},350)}),n.searchNothing=n.searchInput.siblings(".cbp-search-nothing").detach(),n.searchNothingHeight=null,n.searchNothingHTML=n.searchNothing.html(),n.searchInput.siblings(".cbp-search-icon").on("click.cbp",function(t){t.preventDefault(),n.runEvent.call(n,e(this).prev().val(""))})}a.prototype.runEvent=function(t){var n=this,i=t.val(),o=t.data("searchData"),a=new RegExp(i,"i");o.value===i||n.parent.isAnimating||(o.value=i,i.length>0?t.attr("value",i):t.removeAttr("value"),n.parent.$obj.cubeportfolio("filter",function(t){var r=t.filter(function(t,n){if(e(n).find(o.el).text().search(a)>-1)return!0});if(0===r.length&&n.searchNothing.length){var s=n.searchNothingHTML.replace("{{query}}",i);n.searchNothing.html(s),n.searchNothing.appendTo(n.parent.$obj),null===n.searchNothingHeight&&(n.searchNothingHeight=n.searchNothing.outerHeight(!0)),n.parent.registerEvent("resizeMainContainer",function(){n.parent.height=n.parent.height+n.searchNothingHeight,n.parent.obj.style.height=n.parent.height+"px"},!0)}else n.searchNothing.detach();return n.parent.triggerEvent("resetFiltersVisual"),r},function(){t.trigger("keyup.cbp")}))},a.prototype.destroy=function(){var t=this;t.searchInput.off(".cbp"),t.searchInput.next(".cbp-search-icon").off(".cbp"),t.searchInput.each(function(t,n){e.removeData(n)})},o.plugins.search=function(e){return""===e.options.search?null:new a(e)}}(jQuery,window,document),function(e,t,n,i){"use strict";var o={pagination:"",paginationClass:"cbp-pagination-active"},a=e.fn.cubeportfolio.constructor;function r(t){var n=this;n.parent=t,n.options=e.extend({},o,n.parent.options.plugins.slider);var i=e(n.options.pagination);i.length>0&&(n.parent.customPagination=i,n.parent.customPaginationItems=i.children(),n.parent.customPaginationClass=n.options.paginationClass,n.parent.customPaginationItems.on("click.cbp",function(t){t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),n.parent.sliderStopEvents||n.parent.jumpToSlider(e(this))})),n.parent.registerEvent("gridAdjust",function(){n.sliderMarkup.call(n.parent),n.parent.registerEvent("gridAdjust",function(){n.updateSlider.call(n.parent)})},!0)}r.prototype.sliderMarkup=function(){var t=this;t.sliderStopEvents=!1,t.sliderActive=0,t.$obj.one("initComplete.cbp",function(){t.$obj.addClass("cbp-mode-slider")}),t.nav=e("<div/>",{class:"cbp-nav"}
2),t.nav.on("click.cbp","[data-slider-action]",function(n){if(n.preventDefault(),n.stopImmediatePropagation(),n.stopPropagation(),!t.sliderStopEvents){var i=e(this),o=i.attr("data-slider-action");t[o+"Slider"]&&t[o+"Slider"](i)}}),t.options.showNavigation&&(t.controls=e("<div/>",{class:"cbp-nav-controls"}),t.navPrev=e("<div/>",{class:"cbp-nav-prev","data-slider-action":"prev"}).appendTo(t.controls),t.navNext=e("<div/>",{class:"cbp-nav-next","data-slider-action":"next"}).appendTo(t.controls),t.controls.appendTo(t.nav)),t.options.showPagination&&(t.navPagination=e("<div/>",{class:"cbp-nav-pagination"}).appendTo(t.nav)),(t.controls||t.navPagination)&&t.nav.appendTo(t.$obj),t.updateSliderPagination(),t.options.auto&&(t.options.autoPauseOnHover&&(t.mouseIsEntered=!1,t.$obj.on("mouseenter.cbp",function(e){t.mouseIsEntered=!0,t.stopSliderAuto()}).on("mouseleave.cbp",function(e){t.mouseIsEntered=!1,t.startSliderAuto()})),t.startSliderAuto()),t.options.drag&&a.private.modernBrowser&&t.dragSlider()},r.prototype.updateSlider=function(){this.updateSliderPosition(),this.updateSliderPagination()},r.prototype.destroy=function(){var e=this;e.parent.customPaginationItems&&e.parent.customPaginationItems.off(".cbp"),(e.parent.controls||e.parent.navPagination)&&(e.parent.nav.off(".cbp"),e.parent.nav.remove())},a.plugins.slider=function(e){return"slider"!==e.options.layoutMode?null:new r(e)}}(jQuery,window,document); 3/* isotope.pkgd.min.js */ 4!function(t,e){"use strict";"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery)&&(s.prototype.option||(s.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,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,u){var h=a.data(u,i);if(h){var d=h[e];if(d&&"_"!=e.charAt(0)){var l=d.apply(h,n);o=void 0===o?l:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(function(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))})}(this,t),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(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()}(this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.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 n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var s=this._onceEvents&&this._onceEvents[t];o;){var r=s&&s[o];r&&(this.off(t,o),delete s[o]),o.apply(this,e),o=i[n+=r?0:1]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return e()}):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(t){var e=getComputedStyle(t);return e||s("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}function i(){if(!u){u=!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 s=document.body||document.documentElement;s.appendChild(i);var r=e(i);n.isBoxSizeOuter=o=200==t(r.width),s.removeChild(i)}}
4function n(n){if(i(),"string"==typeof n&&(n=document.querySelector(n)),n&&"object"==typeof n&&n.nodeType){var s=e(n);if("none"==s.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;a>e;e++)t[r[e]]=0;return t}();var u={};u.width=n.offsetWidth,u.height=n.offsetHeight;for(var h=u.isBorderBox="border-box"==s.boxSizing,d=0;a>d;d++){var l=r[d],f=s[l],c=parseFloat(f);u[l]=isNaN(c)?0:c}var m=u.paddingLeft+u.paddingRight,p=u.paddingTop+u.paddingBottom,y=u.marginLeft+u.marginRight,g=u.marginTop+u.marginBottom,v=u.borderLeftWidth+u.borderRightWidth,_=u.borderTopWidth+u.borderBottomWidth,I=h&&o,z=t(s.width);!1!==z&&(u.width=z+(I?0:m+v));var x=t(s.height);return!1!==x&&(u.height=x+(I?0:p+_)),u.innerWidth=u.width-(m+v),u.innerHeight=u.height-(p+_),u.outerWidth=u.width+y,u.outerHeight=u.height+g,u}}var o,s="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,u=!1;return n}),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=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 n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
4sandro-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},makeArray:function(t){var e=[];if(Array.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e},removeFrom:function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},getParent:function(t,i){for(;t!=document.body;)if(t=t.parentNode,e(t,i))return t},getQueryElement:function(t){return"string"==typeof t?document.querySelector(t):t},handleEvent:function(t){var e="on"+t.type;this[e]&&this[e](t)},filterFindElements:function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!n)return void o.push(t);e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),s=0;s<i.length;s++)o.push(i[s])}}),o},debounceMethod:function(t,e,i){var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];t&&clearTimeout(t);var e=arguments,s=this;this[o]=setTimeout(function(){n.apply(s,e),delete s[o]},i||100)}},docReady:function(t){"complete"==document.readyState?t():document.addEventListener("DOMContentLoaded",t)},toDashed:function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()}},n=t.console;return i.htmlInit=function(e,o){i.docReady(function(){var s=i.toDashed(o),r="data-"+s,a=document.querySelectorAll("["+r+"]"),u=document.querySelectorAll(".js-"+s),h=i.makeArray(a).concat(i.makeArray(u)),d=r+"-options",l=t.jQuery;h.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(d);try{i=s&&JSON.parse(s)}catch(e){return void(n&&n.error("Error parsing "+r+" on "+t.className+": "+e))}var a=new e(t,i);l&&l.data(t,o,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 n=document.documentElement.style,o="string"==typeof n.transition?"transition":"WebkitTransition",s="string"==typeof n.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],a={transform:s,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"},u=i.prototype=Object.create(t.prototype);u.constructor=i,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.getSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var i in t){e[a[i]||i]=t[i]}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],s=this.layout.size,r=-1!=n.indexOf("%")?parseFloat(n)/100*s.width:parseInt(n,10),a=-1!=o.indexOf("%")?parseFloat(o)/100*s.height:parseInt(o,10);r=isNaN(r)?0:r,a=isNaN(a)?0:a,r-=e?s.paddingLeft:s.paddingRight,a-=i?s.paddingTop:s.paddingBottom,this.position.x=r,this.position.y=a},u.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[o];e[s]=this.getXValue(a),e[r]="";var u=n?"paddingTop":"paddingBottom",h=n?"top":"bottom",d=n?"bottom":"top",l=this.position.y+t[u];e[h]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},u.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},u.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},u._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=parseInt(t,10),s=parseInt(e,10),r=o===this.position.x&&s===this.position.y;if(this.setPosition(t,e),!r||this.isTransitioning){var a=t-i,u=e-n,h={};
4h.transform=this.getTranslate(a,u),this.transition({to:h,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},u.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},u.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},u._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},u.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 h="opacity,"+function(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}(s);u.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:h,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1)}},u.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},u.onotransitionend=function(t){this.ontransitionend(t)};var d={"-webkit-transform":"transform"};u.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])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var l={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(l)},u.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){return o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},u.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})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},u.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})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.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,n,o,s){return e(t,i,n,o,s)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o){"use strict";function s(t,e){var i=n.getQueryElement(t);if(i){this.element=i,u&&(this.$element=u(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++d;this.element.outlayerGUID=o,l[o]=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,u=t.jQuery,h=function(){},d=0,l={};s.namespace="outlayer",s.Item=o,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=s.prototype;n.extend(f,e.prototype),f.option=function(t){n.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var s=new i(e[o],this);n.push(s)}return n},f._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.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}
vendor: 5,106 bytes, line 4
4,f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&&(n=o),this[t]=n?i(n)[e]:o):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.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],n=e&&e[2];return i.length?(i=parseFloat(i))*(c[n]||1):0}(t),this.stagger)},f._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},f._getContainerSize=h,f._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"}},f._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){++r==s&&i()}var o=this,s=e.length;if(e&&s){var r=0;e.forEach(function(e){e.once(t,n)})}else i()},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),u)if(this.$element=this.$element||u(this.element),e){var o=u.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},f.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},f.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n.makeArray(t)):void 0},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._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)}},f._manageStamp=h,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t);return{left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom}},f.handleEvent=n.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},n.debounceMethod(s,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.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)}},f.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()})}},f.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()})}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},f.destroy=function(){var t=this.element.style;
4t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete l[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},s.data=function(t){var e=(t=n.getQueryElement(t))&&t.outlayerGUID;return e&&l[e]},s.create=function(t,e){var i=r(s);return i.defaults=n.extend({},s.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=r(o),n.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var c={ms:1,s:1e3};return s.Item=o,s}),function(t,e){"function"==typeof define&&define.amd?define("isotope/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),n=i._create;i._create=function(){this.id=this.layout.itemGUID++,n.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 n=e[i];this.sortData[i]=n(this.element,this)}}};var o=i.destroy;return i.destroy=function(){o.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var n=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){n[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),n.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},n._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},n.getColumnWidth=function(){this.getSegmentSize("column","Width")},n.getRowHeight=function(){this.getSegmentSize("row","Height")},n.getSegmentSize=function(t,e){var i=t+e,n="outer"+e;if(this._getMeasurement(i,n),!this[i]){var o=this.getFirstItemSize();this[i]=o&&o[n]||this.isotope.size["inner"+e]}},n.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},n.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},n.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function o(){i.apply(this,arguments)}return o.prototype=Object.create(n),o.prototype.constructor=o,e&&(o.options=e),o.prototype.namespace=t,i.modes[t]=o,o},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry/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");return i.compatOptions.fitWidth="isFitWidth",i.prototype._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},i.prototype.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 n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,s=o/n,r=n-o%n;s=Math[r&&1>r?"round":"floor"](s),this.cols=Math.max(s,1)},i.prototype.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},i.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&1>e?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var n=this._getColGroup(i),o=Math.min.apply(Math,n),s=n.indexOf(o),r={x:this.columnWidth*s,y:o},a=o+t.size.outerHeight,u=this.cols+1-n.length,h=0;u>h;h++)this.colYs[s+h]=a;return r},i.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;i>n;n++){var o=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,o)}return e},i.prototype._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft")?
4n.left:n.right,s=o+i.outerWidth,r=Math.floor(o/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var u=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,h=r;a>=h;h++)this.colYs[h]=Math.max(u,this.colYs[h])},i.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},i.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope/layout-modes/masonry",["../layout-mode","masonry/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n.measureColumns;n.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","./item","./layout-mode","./layout-modes/masonry","./layout-modes/fit-rows","./layout-modes/vertical"],function(i,n,o,s,r,a){return e(t,i,n,o,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("./item"),require("./layout-mode"),require("./layout-modes/masonry"),require("./layout-modes/fit-rows"),require("./layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,n,o,s,r){var a=t.jQuery,u=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},h=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});h.Item=s,h.LayoutMode=r;var d=h.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?o.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&&n&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}var e,i,n,o=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){n=!0,t()})},d._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],n=[],o=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?n.push(a):u||a.isHidden||o.push(a)}}return{matches:i,needReveal:n,needHide:o}},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 n(e.element,t)}},d.updateSortData=function(t){var e;t?(t=o.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]=l(i)}},d._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&e>i;i++){t[i].updateSortData()}};var l=function(){return function(t){if("string"!=typeof t)return t;var e=u(t).split(" "),i=e[0],n=i.match(/^\[(.+)\]$/),o=function(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}(n&&n[1],i),s=h.sortDataParsers[e[1]];return s?function(t){return t&&s(o(t))}:function(t){return t&&o(t)}}}();h.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},d._sort=function(){var t=this.options.sortBy;if(t){var e=function(t,e){return function(i,n){for(var o=0;o<t.length;o++){var s=t[o],r=i.sortData[s],a=n.sortData[s];if(r>a||a>r)return(r>a?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}([].concat.apply(t,this.sortHistory),this.options.sortAscending);this.filteredItems.sort(e),t!=this.sortHistory[0]&&this.sortHistory.unshift(t)}},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,n,o=e.length;for(i=0;o>i;i++)n=e[i],this.element.appendChild(n.element);var s=this._filter(e).matches;for(i=0;o>i;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;o>i;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var f=d.remove;return d.remove=function(t){t=o.makeArray(t);var e=this.getItems(t);f.call(this,t);for(var i=e&&e.length,n=0;i&&i>n;n++){var s=e[n];o.removeFrom(this.filteredItems,s)}},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 n=t.apply(this,e);return this.options.transitionDuration=i,n},d.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},h}); 5/* revo-slider/slider-4.min.js */ 6$(document).ready(function(){var slider=$('.c-layout-revo-slider .tp-banner');var cont=$('.c-layout-revo-slider .tp-banner-container');
6var height=(App.getViewPort().width<App.getBreakpoint('md')?400:620);var api=slider.show().revolution({sliderType:"standard",sliderLayout:"fullwidth",delay:15000,autoHeight:'off',gridheight:500,navigation:{keyboardNavigation:"off",keyboard_direction:"horizontal",mouseScrollNavigation:"off",onHoverStop:"on",arrows:{style:"circle",enable:!0,hide_onmobile:!1,hide_onleave:!1,tmp:'',left:{h_align:"left",v_align:"center",h_offset:30,v_offset:0},right:{h_align:"right",v_align:"center",h_offset:30,v_offset:0}},touch:{touchenabled:"on",swipe_threshold:75,swipe_min_touches:1,swipe_direction:"horizontal",drag_block_vertical:!1},},viewPort:{enable:!0,outof:"pause",visible_area:"80%"},shadow:0,spinner:"spinner2",disableProgressBar:"on",fullScreenOffsetContainer:'.tp-banner-container',hideThumbsOnMobile:"on",hideNavDelayOnMobile:1500,hideBulletsOnMobile:"on",hideArrowsOnMobile:"on",hideThumbsUnderResolution:0,})}) 7/* imagesloaded.pkgd.min.js */ 8!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()}(this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.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 n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var r=this._onceEvents&&this._onceEvents[t];o;){var s=r&&r[o];s&&(this.off(t,o),delete r[o]),o.apply(this,e),o=i[n+=s?0:1]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}(window,function(t,e){function i(t,e){for(var i in e)t[i]=e[i];return t}function n(t,e,o){return this instanceof n?("string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=function(t){var e=[];if(Array.isArray(t))e=t;else if("number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e}(t),this.options=i({},this.options),"function"==typeof e?o=e:i(this.options,e),o&&this.on("always",o),this.getImages(),s&&(this.jqDeferred=new s.Deferred),void setTimeout(function(){this.check()}.bind(this))):new n(t,e,o)}function o(t){this.img=t}function r(t,e){this.url=t,this.element=e,this.img=new Image}var s=t.jQuery,h=t.console;n.prototype=Object.create(e.prototype),n.prototype.options={},n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},n.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&a[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var r=t.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){var s=r[n];this.addElementBackgroundImages(s)}}}};var a={1:!0,9:!0,11:!0};return n.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},n.prototype.addImage=function(t){var e=new o(t);this.images.push(e)},n.prototype.addBackground=function(t,e){var i=new r(t,e);this.images.push(i)},n.prototype.check=function(){function t(t,i,n){setTimeout(function(){e.progress(t,i,n)})}var e=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&h&&h.log("progress: "+i,t,e)},n.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},o.prototype=Object.create(e.prototype),o.prototype.check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWi
8dth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},o.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},o.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},o.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},o.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},o.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},o.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},r.prototype=Object.create(o.prototype),r.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},r.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},r.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((s=e).fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(s(this))})},n.makeJQueryPlugin(),n}); 9/* packery-mode.pkgd.min.js */ 10!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,r=t.y+t.height;return this.x<s&&e>t.x&&this.y<r&&i>t.y},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,s=[],r=this.x+this.width,h=this.y+this.height,n=e.x+e.width,o=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)),r>n&&(i=new t({x:n,y:this.y,width:r-n,height:this.height}),s.push(i)),h>o&&(i=new t({x:this.x,y:o,width:this.width,height:h-o}),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],r=s.getMaximalFreeRects(t);r?e.push.apply(e,r):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,r=t[e+s];r;){if(r==i)s++;else{if(r.contains(i)){t.splice(e,1),i=t[e];continue t}i.contains(r)?t.splice(e+s,1):s++}r=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)},r=s.prototype=Object.create(t.Item.prototype),h=r._create;r._create=function(){h.call(this),this.rect=new e};var n=r.moveTo;return r.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 n.apply(this,arguments)},r.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style[i]="none"),this.isTransitioning=!1,this.get
10Size(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},r.disablePlacing=function(){this.isPlacing=!1},r.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},r.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)},r.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},r.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,r){function h(t,e){return t.position.y-e.position.y||t.position.x-e.position.x}function n(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 o=e.create("packery");o.Item=r;var a=o.prototype;a._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)}}},a._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},a._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},a._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},a.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},a._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},a._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},a._setRectSize=function(e,i){var s=t(e),r=s.outerWidth,h=s.outerHeight;(r||h)&&(r=this._applyGridGutter(r,this.columnWidth),h=this._applyGridGutter(h,this.rowHeight)),i.width=Math.min(r,this.packer.width),i.height=Math.min(h,this.packer.height)},a._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},a._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},a._manageStamp=function(t){var e,s=this.getItem(t);if(s&&s.isPlacing)e=s.rect;else{var r=this._getElementOffset(t);e=new i({x:this._getOption("originLeft")?r.left:r.right,y:this._getOption("originTop")?r.top:r.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},a.sortItemsByPosition=function(){var t=this._getOption("horizontal")?n:h;this.items.sort(t)},a.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.sortItems
10ByPosition(),s.disablePlacing())},a._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)},a.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},a.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[i]!=this.size[i]},a.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),s=i?"y":"x",r=i?"height":"width",h=i?"rowHeight":"columnWidth",n=i?"innerHeight":"innerWidth",o=this[h];if(o=o&&o+this.gutter){this._getMeasurements();var a=this[h]+this.gutter;e.forEach(function(t){var e=Math.round(t.rect[s]/o);t.rect[s]=e*a})}else{var c=t(this.element)[n]+this.gutter,u=this.packer[r];e.forEach(function(t){t.rect[s]=t.rect[s]/u*c})}this.shiftLayout()},a.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},a.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var e=this._getOption("originLeft"),s=this._getOption("originTop");this.stamps.forEach(function(t){var r=this.getItem(t);if(!r||!r.isPlacing){var h=this._getElementOffset(t),n=new i({x:e?h.left:h.right,y:s?h.top:h.bottom});this._setRectSize(t,n),this.shiftPacker.placed(n)}},this);var r=this._getOption("horizontal"),h=r?"rowHeight":"columnWidth",n=r?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var o,a=this[h];if(a=a&&a+this.gutter){var c=Math.ceil(t.rect[n]/a),u=Math.floor((this.shiftPacker[n]+this.gutter)/a);o=(u-c)*a;for(var d=0;u>d;d++)this._addShiftTarget(d*a,0,o)}else o=this.shiftPacker[n]+this.gutter-t.rect[n],this._addShiftTarget(0,0,o);var g=this._getItemsForLayout(this.items),l=this._getPackMethod();g.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[l](e),this._addShiftTarget(e.x,e.y,o);var i=r?e.x+e.width:e.x,s=r?e.y:e.y+e.height;if(this._addShiftTarget(i,s,o),a)for(var h=Math.round(e[n]/a),c=1;h>c;c++){var u=r?i:e.x+a*c,d=r?e.y+a*c:s;this._addShiftTarget(u,d,o)}},this)},a._addShiftTarget=function(t,e,i){var s=this._getOption("horizontal")?e:t;if(!(0!==s&&s>i)){var r=t+","+e;-1!=this.shiftTargetKeys.indexOf(r)||(this.shiftTargetKeys.push(r),this.shiftTargets.push({x:t,y:e}))}},a.shift=function(t,e,i){var s,r=1/0,h={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,h);r>e&&(s=t,r=e)}),t.rect.x=s.x,t.rect.y=s.y};a.itemDragMove=function(t,e,i){function s(){h.shift(r,e,i),r.positionDropPlaceholder(),h.layout()}var r=this.isEnabled&&this.getItem(t);if(r){e-=this.size.paddingLeft,i-=this.size.paddingTop;var h=this,n=new Date;this._itemDragTime&&n-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(s,120)):(s(),this._itemDragTime=n)}},a.itemDragEnd=function(t){function e(){2==++s&&(i.element.classList.remove("is-positioning-post-drag"),i.hideDropPlaceholder(),r.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,r=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)}},a.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},a.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},a._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},a.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},a.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},a._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var c=a.destroy;return a.destroy=function(){c.apply(this,arguments),this.isEnabled=!1},o.Rect=i,o.Packer=s,o}),function(t,e){"function"==typeof define&&define.amd?define(["isotope/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.Isotope.LayoutMode,t.Packery)}(window,function(t,e){var i=t.create("packery"),s=i.prototype,r={_getElementOffset:!0,_getMeasurement:!0};for(var h in e.prototype)r[h]||(s[h]=e.prototype[h]);var n=s._resetLayout;s._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,n.apply(this,arguments)};var o=s._getItemLayoutPosition;s._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,o.call(this,t)};var a=s.needsResizeLayout;s.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():a.call(this)};var c=s._getOption;return s._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:c.apply(this.isotope,arguments)},i}); 11/* jquery.requestAnimationFrame.min.js */ 12!function(e,n,t){for(var i,a=0,m=function(e){i&&(n.requestAnimationFrame(m,e),jQuery.fx.tick())}
12,r=["ms","moz","webkit","o"],o=0,u=r.length;o<u&&!n.requestAnimationFrame;++o)n.requestAnimationFrame=n[r[o]+"RequestAnimationFrame"],n.cancelAnimationFrame=n[r[o]+"CancelAnimationFrame"]||n[r[o]+"CancelRequestAnimationFrame"];n.requestAnimationFrame||(n.requestAnimationFrame=function(e,t){var i=(new Date).getTime(),m=i-a,r=Math.max(0,16-m),o=n.setTimeout(function(){e(i+r)},r);return a=i+r,o}),n.cancelAnimationFrame||(n.cancelAnimationFrame=function(e){clearTimeout(e)}),jQuery.fx.timer=function(e){e()&&jQuery.timers.push(e)&&!i&&(i=!0,m(e.elem))},jQuery.fx.stop=function(){i=!1}}(jQuery,this); 13/* jquery.mousewheel.min.js */ 14!function(e){var t=["DOMMouseScroll","mousewheel"];if(e.event.fixHooks)for(var n=t.length;n;)e.event.fixHooks[t[--n]]=e.event.mouseHooks;function i(t){var n=t||window.event,i=[].slice.call(arguments,1),l=0,s=0,o=0;return(t=e.event.fix(n)).type="mousewheel",n.wheelDelta&&(l=n.wheelDelta/120),n.detail&&(l=-n.detail/3),o=l,void 0!==n.axis&&n.axis===n.HORIZONTAL_AXIS&&(o=0,s=-1*l),void 0!==n.wheelDeltaY&&(o=n.wheelDeltaY/120),void 0!==n.wheelDeltaX&&(s=-1*n.wheelDeltaX/120),i.unshift(t,l,s,o),(e.event.dispatch||e.event.handle).apply(this,i)}e.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var e=t.length;e;)this.addEventListener(t[--e],i,!1);else this.onmousewheel=i},teardown:function(){if(this.removeEventListener)for(var e=t.length;e;)this.removeEventListener(t[--e],i,!1);else this.onmousewheel=null}},e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}(jQuery); 15/* ilightbox.packed.min.js */ 16eval(function(a,e,b,c,d,t){if(d=function(a){return(a<62?"":d(parseInt(a/62)))+(35<(a%=62)?String.fromCharCode(a+29):a.toString(36))},!"".replace(/^/,String)){for(;b--;)t[d(b)]=c[b]||d(b);c=[function(a){return t[a]}],d=function(){return"\\w+"},b=1}for(;b--;)c[b]&&(a=a.replace(new RegExp("\\b"+d(b)+"\\b","g"),c[b]));return a}('(12(g,n,R){12 F(a,b){18 1i(a.1C(b),10)||0}12 J(){17 a=n,b="4v";"gB"2T n||(b="gA",a=1x.3B||1x.2H);18{1c:a[b+"gy"],1e:a[b+"gx"]}}12 fa(){17 a=L();n.31.4o="";n.6J(a.x,a.y)}12 ga(a,b){a="3e://19.gr/gq/9C.7X?2h="+7U(a).1q(/!/g,"%21").1q(/\'/g,"%27").1q(/\\(/g,"%28").1q(/\\)/g,"%29").1q(/\\*/g,"%2A");g.6r({2h:a,7v:"9C"});g8=12(a){b.1m(11,a)}}12 S(a){17 b=[];g("*",a).1X(12(){17 a="";"5w"!=g(11).1C("aL-2F")?a=g(11).1C("aL-2F"):"2N"!=1d g(11).2L("2i")&&"7l"==11.8T.1Y()&&(a=g(11).2L("2i"));1a(-1==a.1N("g6"))1t(17 a=a.1q(/2h\\(\\"/g,""),a=a.1q(/2h\\(/g,""),a=a.1q(/\\"\\)/g,""),a=a.1q(/\\)/g,""),a=a.24(","),d=0;d<a.1g;d++)1a(0<a[d].1g&&-1==g.g4(a[d],b)){17 e="";D.6j&&9>D.2B&&(e="?"+M(9L*T()));b.4S(a[d]+e)}});18 b}12 Z(a){a=a.24(".").8v().1Y();17 b=-1!==a.1N("?")?a.24("?").8v():"";18 a.1q(b,"")}12 $(a){a=Z(a);18-1!==U.2F.1N(a)?"2F":-1!==U.2t.1N(a)?"2t":-1!==U.1H.1N(a)?"1H":"4p"}12 aa(a,b){18 1i(b/2l*a)}12 V(a){18(a=g3(a).1q(/^\\s+|\\s+$/g,"").5O(/^([^:\\/?#]+:)?(\\/\\/(?:[^:@]*(?::[^:@]*)?@)?(([^:\\/?#]*)(?::(\\d*))?))?([^?#]*)(\\?[^#]*)?(#[\\s\\S]*)?/))?{2V:a[0]||"",5f:a[1]||"",4I:a[2]||"",fZ:a[3]||"",fY:a[4]||"",fX:a[5]||"",3I:a[6]||"",6y:a[7]||"",4o:a[8]||""}:1f}12 N(a,b){12 c(a){17 b=[];a.1q(/^(\\.\\.?(\\/|$))+/,"").1q(/\\/(\\.(\\/|$))+/g,"/").1q(/\\/\\.\\.$/,"/../").1q(/\\/?[^\\/]*/g,12(a){"/.."===a?b.8v():b.4S(a)});18 b.5y("").1q(/^\\//,"/"===a.4g(0)?"/":"")}b=V(b||"");a=V(a||"");18 b&&a?(b.5f||a.5f)+(b.5f||b.4I?b.4I:a.4I)+c(b.5f||b.4I||"/"===b.3I.4g(0)?b.3I:b.3I?(a.4I&&!a.3I?"/":"")+a.3I.7b(0,a.3I.79("/")+1)+b.3I:a.3I)+(b.5f||b.4I||b.3I?b.6y:b.6y||a.6y)+b.4o:1f}12 a7(a,b,c){11.78=11.78||{};11.78.ar=11.78.ar||{};17 d=0,e=0,f=0,l={fV:-6,fU:-5,a:-5,fT:-4,b:-4,fS:-3,fQ:-3,"#":-2,p:1,bh:1},d=12(a){a=(""+a).1q(/[7L\\-+]/g,".");a=a.1q(/([^.\\d]+)/g,".$1.").1q(/\\.{2,}/g,".");18 a.1g?a.24("."):[-8]},g=12(a){18 a?bt(a)?l[a]||-7:1i(a,10):0};a=d(a);b=d(b);e=ba(a.1g,b.1g);1t(d=0;d<e;d++)1a(a[d]!=b[d])1a(a[d]=g(a[d]),b[d]=g(b[d]),a[d]<b[d]){f=-1;1z}2f 1a(a[d]>b[d]){f=1;1z}1a(!c)18 f;4d(c){1r">":1r"gt":18 0<f;1r">=":1r"ge":18 0<=f;1r"<=":1r"fL":18 0>=f;1r"==":1r"=":1r"eq":18 0===f;1r"<>":1r"!=":1r"fI":18 0!==f;1r"":1r"<":1r"fD":18 0>f;8S:18 1f}}12 L(){17 a=0,b=0;"3g"==1d n.a9?(b=n.a9,a=n.fC):1x.2H&&(1x.2H.4s||1x.2H.4J)?(b=1x.2H.4J,a=1x.2H.4s):1x.3B&&(1x.3B.4s||1x.3B.4J)&&(b=1x.3B.4J,a=1x.3B.4s);18{x:a,y:b}}12 ca(a,b,c){17 d;d=q[a+b];1f==d&&(d=q[b]);18 1f!=d?(0==b.1N(a)&&1f==c&&(c=b.6A(a.1g)),1f==c&&(c=b),c+\'="\'+d+\'" \'):""}12 B(a,b){1a(0==a.1N("5Y#"))18"";0==a.1N("57#")&&1f==b&&(b=a.6A(4));18 ca("57#",a,b)}12 G(a,b){1a(0==a.1N("57#"))18"";0==a.1N("5Y#")&&1f==b&&(b=a.6A(4));18 ca("5Y#",a,b)}12 da(a,b){17 c,d="",e=b?" />":">";-1==a.1N("5Y#")&&(c=q["57#"+a],1f==c&&(c=q[a]),0==a.1N("57#")&&(a=a.6A(4)),1f!=c&&(d=\' <3W 2e="\'+a+\'" 2M="\'+c+\'"\'+e+"\\n"));18 d}12 bB(){1t(17 a=0;a<2R.1g;a++){17 b=2R[a];5Z q[b];5Z q["5Y#"+b];5Z q["57#"+b]}}12 91(){17 a;a="fB";17 b=2R;1a(4>b.1g||0!=b.1g%2)b=j,b=b.1q("%%",a),61(b),a="";2f{q=[];q.2i=b[0];q.1c=b[1];q.1e=b[2];q.6n="6l:9f-9r-9u-9y-9B";q.4L="3e://5m.7j.3l/2W/7J/";a=b[3];1a(1f==a||""==a)a="6,0,2,0";q.7d="3e://5m.7j.3l/fA/fy.fx#2B="+a;1t(17 c,d=4;d<b.1g;d+=2)c=b[d].1Y(),a=b[d+1],"2e"==c||"7a"==c?q.2e=a:q[c]=a;b="<3q "+B("6n")+B("1c")+B("1e")+B("7d")+B("2e","7a")+B("77")+B("7w")+B("7r")+B("49")+B("8M")+B("1v")+B("1J")+B("aH")+B("aI")+">\\n"+da("2i",!1);d=" <8j "+G("2i")+G("1c")+G("1e")+G("4L")+G("2e")+G("8M")+G("77");bB("2i","1c","1e","4L","6n","7d","2e","77","7w","7r","49","8M","aI","1v","1J","aH");1t(c 2T q)a=q[c],1f!=a&&(d+=G(c),b+=da(c,!1));a=b+d+"> </8j>\\n</3q>"}18 a}
1617 U={2t:["fw"],2F:"ft fs fr fq fp fm fl fh ff".24(" "),4p:"fe fd fc fb f9 2J f8 7X bh f7 f5 f3 f2 f1 f0 eZ eY".24(" "),1H:"eX 9k eW eV eU 46 3t 7D 5d eT 8w".24(" ")},O=g(n),E=g(1x),D,C,H,z="",A=!!("eS"2T n)&&/eR|eQ|ae|af|ag|eP|eO|al eN/i.1F(69.7V),K=A?"3u.1E":"6a.1E",aK=A?"71.1E":"eM.1E",aP=A?"8l.1E":"eL.1E",W=A?"aX.1E":"b0.1E",I=4r.eK,P=4r.eJ,X=4r.eI,ba=4r.3F,Y=4r.3H,M=4r.eH,T=4r.eG,ea=12(a,b,c,d){17 e=11;e.14=b;e.3h=a.3h||a;e.4m=a.4m;e.99=d;1>c.1g?e.8s():e.1n=c;e.1j={1Q:e.1n.1g,2Y:0,1o:1f,1h:1f,1p:1f,3o:g("2H"),4c:0,1V:g(\'<1b 1v="19-1V"></1b>\'),2r:g(\'<1b 1v="19-2r"><1b></1b></1b>\'),1P:g(\'<1b 1v="19-1P"></1b>\'),3Y:g(\'<1b 1v="19-4v-1P"></1b>\'),1J:g(\'<1b 1v="19-1J"></1b>\'),9D:g(\'<a 1v="19-3Z" 1J="\'+e.14.2P.3Z+\'"></a>\'),6B:g(\'<a 1v="19-3c" 1J="\'+e.14.2P.7W+\'"></a>\'),81:g(\'<a 1v="19-4A" 1J="\'+e.14.2P.a0+\'"></a>\'),41:g(\'<a 1v="19-1h-42" 1J="\'+e.14.2P.1h+\'"></a>\'),43:g(\'<a 1v="19-1p-42" 1J="\'+e.14.2P.7q+\'"></a>\'),1O:g(\'<1b 1v="19-1O\'+(A?" 6z":"")+\'" 5a="18 2Z;"><1b 1v="19-23"></1b></1b>\'),2K:g(\'<1b 1v="19-1O\'+(A?" 6z":"")+\' 19-1h" 5a="18 2Z;"><1b 1v="19-23"></1b></1b>\'),2I:g(\'<1b 1v="19-1O\'+(A?" 6z":"")+\' 19-1p" 5a="18 2Z;"><1b 1v="19-23"></1b></1b>\'),2D:g(\'<a 1v="19-42 19-1h-42" 5a="18 2Z;" 1J="\'+e.14.2P.1h+\'"><2o></2o></a>\'),2n:g(\'<a 1v="19-42 19-1p-42" 5a="18 2Z;" 1J="\'+e.14.2P.7q+\'"><2o></2o></a>\'),1B:g(\'<1b 1v="19-1B" 5a="18 2Z;"><1b 1v="19-1B-23"><a 1v="19-1B-eE"></a><1b 1v="19-1B-6d"></1b></1b></1b>\'),6e:!1,3O:!1,3N:!1,3C:!1,3v:!1,8f:eC,2y:!1,34:!1,4x:0,3w:0,4z:0};e.1j.8B=e.1j.2D.2d(e.1j.2n);e.7B();e.bb();e.14.47=0<e.14.47&&e.14.47>=e.1j.1Q?e.1j.1Q-1:e.14.47;e.14.47=e.14.bf?M(T()*e.1j.1Q):e.14.47;e.1j.2Y=e.14.47;d?e.bg():e.7H();e.14.2w&&(e.7P(),O.3n(12(){e.7P()}));A&&(a=/(6a|4C|4X|eB|eA)/ez,e.14.1S.1u=e.14.1S.1u.1q(a,"3u"),e.14.1S.1U=e.14.1S.1U.1q(a,"3u"),e.14.1T.1u=e.14.1T.1u.1q(a,"3u"),e.14.1T.1U=e.14.1T.1U.1q(a,"3u"));e.14.2a.6v&&g.3x(e.14.1M,{63:0,62:0,6F:0,6M:0})};ea.48={5h:12(){11.1j.4c+=1;"1G"==11.14.3y.1Y()?11.1j.2r.1Z().2u({1y:"-9z"},11.14.1u.2p,"2U"):11.1j.2r.1Z().2u({1w:"-9z"},11.14.1u.2p,"2U")},4a:12(){11.1j.4c-=1;11.1j.4c=0>11.1j.4c?0:11.1j.4c;"1G"==11.14.3y.1Y()?0>=11.1j.4c&&11.1j.2r.1Z().2u({1y:"-9F"},11.14.1u.2p,"7O"):0>=11.1j.4c&&11.1j.2r.1Z().2u({1w:"-9F"},11.14.1u.2p,"7O")},5l:12(){17 a=11;a.1I={ey:a.1j.1O,ex:a.1j.2K,ew:a.1j.2I,et:a.1j.1o,em:a.1j.1h,ek:a.1j.1p,1U:12(){a.32()},4K:12(){0<2R.1g?a.3i(!0):a.3i()},3c:12(){a.4V()}}},8s:12(){17 a=11,b=[],c=[];g(a.3h,a.4m).1X(12(){17 d=g(11),e=d.2L(a.14.2L)||1f,f=d.1A("14")&&eb("({"+d.1A("14")+"})")||{},l=d.1A("1S"),k=d.1A("1J"),h=d.1A("1k")||$(e);c.4S({1s:e,1S:l,1J:k,1k:h,14:f});a.99||b.4S(d)});a.1n=c;a.6s=b},7B:12(){17 a=11,b=[];g.1X(a.1n,12(c,d){"3p"==1d d&&(d={2h:d});17 e=d.2h||d.1s||1f,f=d.14||{},l=d.1S||1f,k=d.1J||1f,h=d.1k?d.1k.1Y():$(e),m="3q"!=1d e?Z(e):"";f.2j=f.2j||("2F"==h?e:1f);f.8k=f.8k||1f;f.3s=f.3s||a.14.3s;f.1c=f.1c||1f;f.1e=f.1e||1f;f.3V="2N"!=1d f.3V?f.3V:!0;f.3U="2N"!=1d f.3U?f.3U:!0;f.1T="2N"!=1d f.1T?f.1T:a.14.1T.8r&&g.3x({},{},a.14.1T.8r);"1H"==h&&(f.2g="2N"!=1d f.2g?f.2g:{},f.2g.3t=f.2g.3t||f.2g.e9||1f,f.2g.2a="2N"!=1d f.2g.2a?f.2g.2a:"2a",f.2g.6E=f.2g.6E||"e4",f.2g.5b="2N"!=1d f.2g.5b?f.2g.5b:!1);f.1c&&f.1e||("1H"==h?(f.1c=aC,f.1e=aF):"4p"==h?(f.1c="2l%",f.1e="90%"):"2t"==h&&(f.1c=aC,f.1e=aF));5Z d.2h;d.8R=c;d.1s=e;d.1S=l;d.1J=k;d.1k=h;d.14=f;d.2X=m;b.4S(d)});a.1n=b},bg:12(){17 a=11.1j.2Y;11.1j.1o=a;11.1j.1h=11.1n[a+1]?a+1:1f;11.1j.1p=11.1n[a-1]?a-1:1f;11.6H();11.6I()},6H:12(){17 a=11,b=a.1j,c=a.14,d=J(),e=c.3y.1Y(),f=0<b.1Q&&a.1n.5W(12(a,b,d){18-1===["2F","2t","1H"].1N(a.1k)&&"2N"===1d a.aO&&(c.7z||a.14.7z)}),l=0<f.1g;c.7A&&!c.3Y&&(b.3v=d.1c<=b.8f);b.1V.1D(c.3s).1U().1C("2O",c.1V.2O);c.2w&&b.1V[0].e1("aW",c.2w);c.2a.1P&&(b.1P.1D(c.3s).1K(b.9D),c.2a.3c&&b.1P.1K(b.6B),c.2a.3E&&b.1P.1K(b.81),1<b.1Q&&b.1P.1K(b.43).1K(b.41));b.3o.1D("19-7I").1K(b.1V).1K(b.2r).1K(b.1O).1K(b.2K).1K(b.2I);c.3Y||b.3o.1K(b.1P);c.2a.6v&&b.3o.1K(b.2D).1K(b.2n);c.2a.2j&&1<b.1Q&&(b.3o.1K(b.1B),b.1B.1D(c.3s).1D("19-"+e),g("1b.19-1B-6d",b.1B).4e(),b.6e=!0);d="1G"==c.3y.1Y()?{1w:1i(d.1c/2-b.2r.3j()/2)}:{1y:1i(d.1e/2-b.2r.2m()/2)};b.2r.1D(c.3s).1C(d);b.2D.2d(b.2n).1D(c.3s);"1G"==e&&b.2r.2d(b.2D).2d(b.2n).1D("1G");b.3o[b.3v?"1D":"2G"]("3v");c.2S||(b.2n.2d(b.2n).2d(b.43).2d(b.41).2G("3R"),0==b.1o&&b.2n.2d(b.43).1D("3R"),b.1o>=b.1Q-1&&b.2D.2d(b.41).1D("3R"));c.1u.4f?(b.1V.1Z().33(c.1u.2p),b.1P.1Z().33(c.1u.2p)):(b.1V.1u(),b.1P.1u());17 k=f.1g;l?(a.5h(),g.1X(f,12(d,e){a.bq(11,12(d){17 e=-1;a.1n.5W(12(a,b,c){a.1s==d.2h&&(e=b);18 a.1s==d.2h});17 f=a.1n[e];d&&g.3x(!0,f,{1s:d.4y,1k:d.1k,aO:!0,14:{2g:d.2g,1c:"2F"==d.1k?0:d.1c||f.1c,1e:"2F"==d.1k?0:d.1e||f.1e,2j:f.14.2j||d.2j}});k--;0==k&&(a.4a(),b.7e=!1,a.5n(),c.1u.4f?2E(12(){a.5r()},c.1u.2p):a.5r())})})):c.1u.4f?2E(12(){a.5r()},c.1u.2p):a.5r();a.5l();n.1E={3Z:12(){a.32()},3c:12(){a.4V()},bI:12(){a.25("1h")},8V:12(){a.25("1p")},4h:12(b){a.4h(b)},4K:12(){a.4K()},6f:12(){0<2R.1g?a.3i(!0):a.3i()},5V:12(b){a.5V(b)}
16,94:12(){a.32();a.6h()}};c.2w&&(b.3C=!0,n.31.4o=c.2w+"/"+b.1o,2E(12(){b.3C=!1},55));c.3E.97||(a.5U(),b.81.2G("19-4A").1D("19-4i"));"12"==1d a.14.1l.9b&&a.14.1l.9b.1m(a)},4Z:12(a,b,c){17 d,e;11.5l();a.2p=c||11.14.2C.5B;"1o"==b&&(11.1j.4j=a.14.3V?!1:!0,11.1j.53=a.14.3U?!1:!0);4d(b){1r"1o":d=11.1j.1O;e=11.1j.1o;1z;1r"1h":d=11.1j.2K;e=11.1j.1h;1z;1r"1p":d=11.1j.2I,e=11.1j.1p}d.8t("36 1v").1D("19-1O"+(A?" 6z":"")).1D(a.14.3s);g("1b.19-4v-1P",d).4E();1a(a.1J||11.14.3Y){c=11.1j.3Y.5S();1a(a.1J&&11.14.1u.1J){17 f=11.1j.1J.5S();f.4e().2J(a.1J);c.1K(f)}11.14.3Y&&c.1K(1<11.1j.1Q?11.1j.1P.5S():11.1j.1P);d.dX(c)}11.9v(a,d,e,b)},9v:12(a,b,c,d){17 e=11,f=e.14,l={9w:b,8F:c};4d(a.1k){1r"2F":"12"==1d f.1l.2b&&f.1l.2b.1m(e,e.1I,c);"12"==1d a.14.2b&&a.14.2b.1m(e,l);e.4k(a.1s,12(k){"12"==1d f.1l.1W&&f.1l.1W.1m(e,e.1I,c);"12"==1d a.14.1W&&a.14.1W.1m(e,l);b.1A({2s:k?k.1c:dR,2q:k?k.1e:7k});g("1b.19-23",b).4e().1K(k?\'<7l 2i="\'+a.1s+\'" 1v="19-2F" />\':\'<2o 1v="19-61">\'+f.5Q.4k+"</2o>");"12"==1d f.1l.1L&&f.1l.1L.1m(e,e.1I,c);"12"==1d a.14.1L&&a.14.1L.1m(e,l);e.3L(a,d,b)});1z;1r"1H":b.1A({2s:a.14.1c,2q:a.14.1e});e.4U(b,a);"12"==1d f.1l.1L&&f.1l.1L.1m(e,e.1I,c);"12"==1d a.14.1L&&a.14.1L.1m(e,l);e.3L(a,d,b);1z;1r"4p":e.5h();b.1A({2s:a.14.1c,2q:a.14.1e});17 k=e.4U(b,a);"12"==1d f.1l.1L&&f.1l.1L.1m(e,e.1I,c);"12"==1d a.14.1L&&a.14.1L.1m(e,l);"12"==1d f.1l.2b&&f.1l.2b.1m(e,e.1I,c);"12"==1d a.14.2b&&a.14.2b.1m(e,l);k.4n("5e",12(){"12"==1d f.1l.1W&&f.1l.1W.1m(e,e.1I,c);"12"==1d a.14.1W&&a.14.1W.1m(e,l);e.4a();e.3L(a,d,b);k.6K("5e")});1z;1r"6L":17 k=g(a.1s),h=e.4U(b,a),m=S(b);b.1A({2s:e.1n[c].14.1c||k.3j(),2q:e.1n[c].14.1e||k.2m()});h.dQ().eq(0).1u();"12"==1d f.1l.1L&&f.1l.1L.1m(e,e.1I,c);"12"==1d a.14.1L&&a.14.1L.1m(e,l);"12"==1d f.1l.2b&&f.1l.2b.1m(e,e.1I,c);"12"==1d a.14.2b&&a.14.2b.1m(e,l);e.4k(m,12(){"12"==1d f.1l.1W&&f.1l.1W.1m(e,e.1I,c);"12"==1d a.14.1W&&a.14.1W.1m(e,l);e.3L(a,d,b)});1z;1r"2t":k=e.4U(b,a);b.1A({2s:e.1n[c].14.1c||k.3j(),2q:e.1n[c].14.1e||k.2m()});"12"==1d f.1l.1L&&f.1l.1L.1m(e,e.1I,c);"12"==1d a.14.1L&&a.14.1L.1m(e,l);e.3L(a,d,b);1z;1r"6r":17 p=a.14.6r||{};"12"==1d f.1l.2b&&f.1l.2b.1m(e,e.1I,c);"12"==1d a.14.2b&&a.14.2b.1m(e,l);e.5h();g.6r({2h:a.1s||f.2Q.2h,1A:p.1A||1f,7v:p.7v||"2J",1k:p.1k||f.2Q.1k,6N:p.6N||f.2Q.6N,6O:p.6O||f.2Q.6O,6P:p.6P||f.2Q.6P,6Q:p.6Q||f.2Q.6Q,6R:p.6R||f.2Q.6R,6T:p.6T||f.2Q.6T,6U:p.6U||f.2Q.6U,70:p.70||f.2Q.70,5P:12(k,h,m){e.4a();17 x=g(k),t=g("1b.19-23",b),n=e.1n[c].14.1c||1i(x[0].73("1c")),v=e.1n[c].14.1e||1i(x[0].73("1e")),ah=x[0].73("1c")&&x[0].73("1e")?{ai:"dP"}:{};t.4e().1K(g(\'<1b 1v="19-75"></1b>\').1C(ah).2J(x));b.1u().1A({2s:n||t.3j(),2q:v||t.2m()}).1U();"12"==1d f.1l.1L&&f.1l.1L.1m(e,e.1I,c);"12"==1d a.14.1L&&a.14.1L.1m(e,l);x=S(b);e.4k(x,12(){"12"==1d f.1l.1W&&f.1l.1W.1m(e,e.1I,c);"12"==1d a.14.1W&&a.14.1W.1m(e,l);e.3L(a,d,b)});f.2Q.5P(k,h,m);"12"==1d p.5P&&p.5P(k,h,m)},4M:12(k,h,m){"12"==1d f.1l.1W&&f.1l.1W.1m(e,e.1I,c);"12"==1d a.14.1W&&a.14.1W.1m(e,l);e.4a();g("1b.19-23",b).4e().1K(\'<2o 1v="19-61">\'+f.5Q.am+"</2o>");e.3L(a,d,b);f.2Q.4M(k,h,m);"12"==1d p.4M&&p.4M(k,h,m)}});1z;1r"2J":h=a.1s;23=g("1b.19-23",b);h[0].8T?k=h.5S():(h=g(h),k=h.3h?g("<1b>"+h+"</1b>"):h);17 x=e.1n[c].14.1c||1i(k.2L("1c")),t=e.1n[c].14.1e||1i(k.2L("1e"));e.4U(b,a);k.dL(1x.3B).1U();"12"==1d f.1l.1L&&f.1l.1L.1m(e,e.1I,c);"12"==1d a.14.1L&&a.14.1L.1m(e,l);m=S(b);"12"==1d f.1l.2b&&f.1l.2b.1m(e,e.1I,c);"12"==1d a.14.2b&&a.14.2b.1m(e,l);e.4k(m,12(){"12"==1d f.1l.1W&&f.1l.1W.1m(e,e.1I,c);"12"==1d a.14.1W&&a.14.1W.1m(e,l);b.1u().1A({2s:x||23.3j(),2q:t||23.2m()}).1U();k.4E();e.3L(a,d,b)})}},3L:12(a,b,c){17 d=11,e=d.1j,f=d.14;"1o"!=b&&("1h"==b?c.1D("19-1h"):c.1D("19-1p"));1a("1o"==b)17 l=e.1o;2f 1a("1h"==b)17 k=f.1M.6F,l=e.1h;2f k=f.1M.6M,l=e.1p;17 h={9w:c,8F:l};d.1n[l].14.1c=d.1n[l].14.1c||0;d.1n[l].14.1e=d.1n[l].14.1e||0;"1o"==b?f.1u.4f?c.1C(C,H).33(a.2p,12(){c.1C(C,"");1a(a.1S){d.84(a,c);17 b=g("1b.19-1S",c),e=1i(b.2m()/c.2m()*2l);f.1S.2Y&50>=e&&b.33(f.2C.5K)}1a(b=a.14.1T)d.88(b,a.1s,c),f.1T.2Y&&g("1b.19-1T",c).33(f.2C.5K);d.5n();"12"==1d f.1l.2x&&f.1l.2x.1m(d,d.1I,l);"12"==1d a.14.2x&&a.14.2x.1m(d,h)}):(c.1u(),d.5n(),"12"==1d f.1l.2x&&f.1l.2x.1m(d,d.1I,l),"12"==1d a.14.2x&&a.14.2x.1m(d,h)):f.1u.4f?c.ay(a.2p,k,12(){"1h"==b?e.3O=!1:e.3N=!1;d.5n();"12"==1d f.1l.2x&&f.1l.2x.1m(d,d.1I,l);"12"==1d a.14.2x&&a.14.2x.1m(d,h)}):(c.1C({2O:k}).1u(),"1h"==b?e.3O=!1:e.3N=!1,d.5n(),"12"==1d f.1l.2x&&f.1l.2x.1m(d,d.1I,l),"12"==1d a.14.2x&&a.14.2x.1m(d,h));2E(12(){d.3i()},0)},5r:12(){17 a=11.1j,b=11.14;b.2S&&3<=a.1Q?(a.1o==a.1Q-1&&(a.1h=0),0==a.1o&&(a.1p=a.1Q-1)):b.2S=!1;11.4Z(11.1n[a.1o],"1o",b.1u.2p);11.1n[a.1h]&&11.4Z(11.1n[a.1h],"1h",b.1u.2p);11.1n[a.1p]&&11.4Z(11.1n[a.1p],"1p",b.1u.2p)}
16,5n:12(){17 a=11,b=a.1j,c=a.14,d=1f;1a(b.6e&&!a.1j.7e){17 e=b.1B,f=g("1b.19-1B-23",e),l=g("1b.19-1B-6d",f),k=0;l.8t("36").4e();g.1X(a.1n,12(h,m){17 p=b.1o==h?"19-5k":"",x=b.1o==h?c.1B.8c:c.1B.8e,t=m.14.2j,r=g(\'<1b 1v="19-2j"></1b>\'),s=g(\'<1b 1v="19-2j-7c"></1b>\');r.1C({2O:0}).1D(p);"1H"!=m.1k&&"2t"!=m.1k||"2N"!=1d m.14.7c?m.14.7c&&(s.1D("19-2j-"+m.14.7c),r.1K(s)):(s.1D("19-2j-1H"),r.1K(s));t&&a.4k(t,12(b){k++;b?r.1A({2s:b.1c,2q:b.1e}).1K(\'<7l 2i="\'+t+\'" 49="0" />\'):r.1A({2s:c.1B.8g,2q:c.1B.8h});4P(d);d=2E(12(){a.5J(e,f,l)},20);2E(12(){r.ay(c.2C.5B,x)},20*k)});l.1K(r)});a.1j.7e=!0}},5J:12(a,b,c){17 d=11,e=d.1j,f=d.14,l=J(),k=f.3y.1Y();a||(a=e.1B);b||(b=g("1b.19-1B-23",a));c||(c=g("1b.19-1B-6d",b));17 h=g(".19-2j",c),e="1G"==k?l.1c-f.1M.5I:h.eq(0).3j()-f.1M.5I,l="1G"==k?h.eq(0).2m()-f.1M.5H:l.1e-f.1M.5H,m="1G"==k?0:e,p="1G"==k?l:0,x=g(".19-5k",c),t={};3>2R.1g&&(h.1C({2O:f.1B.8e}),x.1C({2O:f.1B.8c}));h.1X(12(a){a=g(11);17 b=a.1A(),c="1G"==k?0:f.1B.8g;1e="1G"==k?f.1B.8h:0;8o=d.5E(c,1e,b.2s,b.2q,!0);a.1C({1c:8o.1c,1e:8o.1e});"1G"==k&&a.1C({"dK":"1w"});"1G"==k?m+=a.3j():p+=a.2m()});t={1c:m,1e:p};c.1C(t);17 t={},h=c.3d(),r=x.1g?x.3d():{1y:1i(l/2),1w:1i(e/2)};h.1y-=E.4J();h.1w-=E.4s();r.1y=r.1y-h.1y-E.4J();r.1w=r.1w-h.1w-E.4s();"1G"==k?(t.1y=0,t.1w=1i(e/2-r.1w-x.3j()/2)):(t.1y=1i(l/2-r.1y-x.2m()/2),t.1w=0);3>2R.1g?c.1Z().2u(t,f.2C.5C,"2U"):c.1C(t)},4k:12(a,b){g.3J(a)||(a=[a]);17 c=11,d=a.1g;0<d?(c.5h(),g.1X(a,12(e,f){17 l=2v dJ;l.dF=12(){d-=1;0==d&&(c.4a(),b(l))};l.dA=l.dz=12(){d-=1;0==d&&(c.4a(),b(!1))};l.2i=a[e]})):b(!1)},7H:12(){17 a=11,b=a.1j,c=A?"3u.5t":"6a.5t",d=A?"6a.5t":"3u.5t";1a(a.4m&&a.3h){17 e=g(a.3h,a.4m);g(a.4m).1R(c,a.3h,12(){17 c=g(11),c=e.8R(c);b.1o=c;b.1h=a.1n[c+1]?c+1:1f;b.1p=a.1n[c-1]?c-1:1f;a.6H();a.6I();18!1}).1R(d,a.3h,12(){18!1})}2f g.1X(a.6s,12(e,l){l.1R(c,12(){b.1o=e;b.1h=a.1n[e+1]?e+1:1f;b.1p=a.1n[e-1]?e-1:1f;a.6H();a.6I();18!1}).1R(d,12(){18!1})})},6h:12(){11.4m&&11.3h?g(11.4m).5u(".5t",11.3h):g.1X(11.6s,12(a,b){b.5u(".5t")})},4K:12(){11.6h();11.8s();11.7B();11.7H()},6I:12(){12 a(a){c.3v||(c.4x||c.8B.1u(),c.4x=4P(c.4x),-1===h.1N(a.8H)&&(c.4x=2E(12(){c.8B.1U();c.4x=4P(c.4x)},9L)))}17 b=11,c=b.1j,d=b.14,e=d.3y.1Y(),f=g(".19-1O"),l=z.8I+".1E",k=8K=2l,h=[c.2D[0],c.2n[0],c.2D[0].3f,c.2n[0].3f];O.4n("dv.1E",12(){17 a=J();d.7A&&!d.3Y&&(c.3v=a.1c<=c.8f);c.3o[c.3v?"1D":"2G"]("3v");b.3i(1f);A&&(4P(c.bA),c.bA=2E(12(){17 a=L().y;n.6J(0,a-30);n.6J(0,a+30);n.6J(0,a)},du));c.6e&&b.5J()}).4n("dt.1E",12(a){1a(d.2a.3T)4d(a.ds){1r 13:a.dr&&d.3T.8W&&b.4V();1z;1r 27:d.3T.8X&&b.32();1z;1r 37:d.3T.1w&&!c.5x&&b.25("1p");1z;1r 38:d.3T.92&&!c.5x&&b.25("1p");1z;1r 39:d.3T.5T&&!c.5x&&b.25("1h");1z;1r 40:d.3T.96&&!c.5x&&b.25("1h")}});z.5z&&O.4n(l,12(){b.7s()});17 l=[d.1S.1u+".1E",d.1S.1U+".1E",d.1T.1u+".1E",d.1T.1U+".1E"].5W(12(a,b,c){18 c.79(a)===b}),m="";g.1X(l,12(a,b){0!=a&&(m+=" ");m+=b});E.1R(K,".19-1V",12(){d.1V.98&&b.32()}).1R(K,".19-1h, .19-1h-42",12(){b.25("1h")}).1R(K,".19-1p, .19-1p-42",12(){b.25("1p")}).1R(K,".19-2j",12(){17 a=g(11),a=g(".19-2j",c.1B).8R(a);a!=c.1o&&b.4h(a)}).1R(m,".19-1O:7t(.19-1h, .19-1p)",12(a){17 b=g("1b.19-1S",c.1O),e=g("1b.19-1T",c.1O),f=d.2C.5K;c.3O||c.3N?(a.1k!=d.1S.1u||b.3A(":3m")?a.1k==d.1S.1U&&b.3A(":3m")&&b.3X(f):b.33(f),a.1k!=d.1T.1u||e.3A(":3m")?a.1k==d.1T.1U&&e.3A(":3m")&&e.3X(f):e.33(f)):(a.1k!=d.1S.1u||b.3A(":3m")?a.1k==d.1S.1U&&b.3A(":3m")&&b.1Z().3X(f):b.1Z().33(f),a.1k!=d.1T.1u||e.3A(":3m")?a.1k==d.1T.1U&&e.3A(":3m")&&e.1Z().3X(f):e.1Z().33(f))}).1R("4C.1E 4X.1E",".19-75",12(a){c.4j="4C"==a.1k?!0:!1}).1R(K,".19-1P a.19-3Z, .19-1P a.19-3c, .19-1P a.19-4A, .19-1P a.19-4i",12(){17 a=g(11);a.7x("19-3c")?b.4V():a.7x("19-4A")?(b.5U(),a.1D("19-4i").2G("19-4A")):a.7x("19-4i")?(b.4i(),a.1D("19-4A").2G("19-4i")):b.32()}).1R(W,".19-1V, .19-1B-23",12(a){a.7y()});1a(d.2a.6v&&!A)E.1R("b0.1E",a);1a(d.2a.3E&&d.3E.9e)E.1R("4C.1E 4X.1E",".19-1O:7t(.19-1h, .19-1p)",12(a){"4C"==a.1k&&c.3w?b.4i():"4X"==a.1k&&c.4z&&b.5U()});l=g(".19-1V, .19-1O, .19-1B");1a(d.2a.3V)l.1R("3V.1E",12(a,d){c.4j||(a.7y(),0>d?b.25("1h"):0<d&&b.25("1p"))});1a(d.2a.3U)f.1R(aK,12(a){12 l(a){17 b=g(11);a=q[a];17 c=[w.2k[0]-v.2k[0],w.2k[1]-v.2k[1]];b[0].36["1G"==e?"1w":"1y"]=("1G"==e?a.1w-c[0]:a.1y-c[1])+"4T"}12 h(a){1a(w){17 b=a.6t.6u?a.6t.6u[0]:a;v={5v:(2v 9l).9m(),2k:[b.9n-n,b.9o-s]};f.1X(l);a.7y()}}12 m(){f.1X(12(){17 a=g(11),b=a.1A("3d")||{1y:a.3d().1y-s,1w:a.3d().1w-n},c=b.1y,b=b.1w;a.1C(C,H).1Z().2u({1y:c,1w:b},9p,"2U",12(){a.1C(C,"")})})}1a(!(c.3O||c.3N||1==c.1Q||c.53)){c.3o.1D("19-9q");a=a.6t.6u?a.6t.6u[0]:a;17 s=E.4J(),n=E.4s(),y=[f.eq(0).3d(),f.eq(1).3d(),f.eq(2).3d()],q=[{1y:y[0].1y-s,1w:y[0].1w-n},{1y:y[1].1y-s,1w:y[1].1w-n},{1y:y[2].1y-s,1w:y[2].1w-n}],w={5v:(2v 9l).9m(),2k:[a.9n-n,a.9o-s]},v;f.4n(W,h);E.7E(aP,12(a){f.6K(W,h);c.3o.2G("19-9q");w&&v&&("1G"==e&&9s>v.5v-w.5v&&I(w.2k[0]-v.2k[0])>k&&I(w.2k[1]-v.2k[1])<8K?w.2k[0]>
16v.2k[0]?c.1o!=c.1Q-1||d.2S?(c.34=!0,b.25("1h")):m():0!=c.1o||d.2S?(c.34=!0,b.25("1p")):m():"9t"==e&&9s>v.5v-w.5v&&I(w.2k[1]-v.2k[1])>k&&I(w.2k[0]-v.2k[0])<8K?w.2k[1]>v.2k[1]?c.1o!=c.1Q-1||d.2S?(c.34=!0,b.25("1h")):m():0!=c.1o||d.2S?(c.34=!0,b.25("1p")):m():m());w=v=R})}})},4h:12(a){17 b=11,c=b.1j,d=b.14,e=a-c.1o;d.2S&&(a==c.1Q-1&&0==c.1o&&(e=-1),c.1o==c.1Q-1&&0==a&&(e=1));1a(1==e)b.25("1h");2f 1a(-1==e)b.25("1p");2f{1a(c.3O||c.3N)18!1;"12"==1d d.1l.6w&&d.1l.6w.1m(b,b.1I);d.2w&&(c.3C=!0,n.31.4o=d.2w+"/"+a);b.1n[a]&&(b.1n[a].14.3V?b.1j.4j=!1:c.4j=!0,c.53=b.1n[a].14.3U?!1:!0);g.1X([c.1O,c.2K,c.2I],12(a,b){b.1C(C,H).3X(d.2C.5B)});c.1o=a;c.1h=a+1;c.1p=a-1;b.5l();2E(12(){b.5r()},d.2C.5B+50);g(".19-2j",c.1B).2G("19-5k").eq(a).1D("19-5k");b.5J();d.2w&&2E(12(){c.3C=!1},55);d.2S||(c.2D.2d(c.2n).2d(c.43).2d(c.41).2G("3R"),0==c.1o&&c.2n.2d(c.43).1D("3R"),c.1o>=c.1Q-1&&c.2D.2d(c.41).1D("3R"));b.7G();"12"==1d d.1l.6x&&d.1l.6x.1m(b,b.1I)}},25:12(a){17 b=11,c=b.1j,d=b.14,e=d.3y.1Y(),f=J(),l=d.2C.9x;1a(c.3O||c.3N)18!1;17 k="1h"==a?c.1h:c.1p;d.2w&&(c.3C=!0,n.31.4o=d.2w+"/"+k);1a("1h"==a){1a(!b.1n[k])18!1;17 h=c.2K,m=c.1O,p=c.2I,x="19-1p",t="19-1h"}2f 1a("1p"==a){1a(!b.1n[k])18!1;h=c.2I;m=c.1O;p=c.2K;x="19-1h";t="19-1p"}"12"==1d d.1l.6w&&d.1l.6w.1m(b,b.1I);"1h"==a?c.3O=!0:c.3N=!0;17 r=g("1b.19-1S",m),s=g("1b.19-1T",m);r.1g&&r.1Z().3X(l,12(){g(11).4E()});s.1g&&s.1Z().3X(l,12(){g(11).4E()});b.1n[k].1S&&(b.84(b.1n[k],h),r=g("1b.19-1S",h),s=1i(r.2m()/h.2m()*2l),d.1S.2Y&&50>=s&&r.33(l));1a(r=b.1n[k].14.1T)b.88(r,b.1n[k].1s,h),d.1T.2Y&&g("1b.19-1T",h).33(d.2C.5K);g.1X([h,m,p],12(a,b){b.2G("19-1h 19-1p")});17 u=h.1A("3d"),r=f.1c-d.1M.5I,f=f.1e-d.1M.5H,s=u.5D.1c,y=u.5D.1e,q=u.9A,u=u.7K,w=1i(f/2-y/2-u.H-q.H/2),u=1i(r/2-s/2-u.W-q.W/2);h.1C(C,H).2u({1y:w,1w:u,2O:1},l,c.34?"2U":"5q",12(){h.1C(C,"")});g("1b.19-23",h).2u({1c:s,1e:y},l,c.34?"2U":"5q");17 y=m.1A("3d"),v=y.3q,u=y.7K,s=y.5D.1c,y=y.5D.1e,s=1i(s*d.1M["1h"==a?"5F":"5G"]),y=1i(y*d.1M["1h"==a?"5F":"5G"]),w="1G"==e?1i(f/2-v.5p-y/2-u.H-q.H/2):1i(f-v.4R-u.H-q.H/2);"1p"==a?u="1G"==e?1i(r-v.4R-u.W-q.W/2):1i(r/2-s/2-u.W-v.5p-q.W/2):(w="1G"==e?w:1i(v.4R-u.H-y-q.H/2),u="1G"==e?1i(v.4R-u.W-s-q.W/2):1i(r/2-v.5p-s/2-u.W-q.W/2));g("1b.19-23",m).2u({1c:s,1e:y},l,c.34?"2U":"5q");m.1D(x).1C(C,H).2u({1y:w,1w:u,2O:d.1M.6M},l,c.34?"2U":"5q",12(){m.1C(C,"");g(".19-2j",c.1B).2G("19-5k").eq(k).1D("19-5k");b.5J();b.1n[k]&&(c.4j=b.1n[k].14.3V?!1:!0,c.53=b.1n[k].14.3U?!1:!0);c.34=!1;"1h"==a?(c.2K=p,c.2I=m,c.1O=h,c.2K.1U(),c.1h+=1,c.1p=c.1o,c.1o+=1,d.2S&&(c.1o>c.1Q-1&&(c.1o=0),c.1o==c.1Q-1&&(c.1h=0),0==c.1o&&(c.1p=c.1Q-1)),b.5l(),b.1n[c.1h]?b.4Z(b.1n[c.1h],"1h"):c.3O=!1):(c.2I=p,c.2K=m,c.1O=h,c.2I.1U(),c.1h=c.1o,c.1o=c.1p,c.1p=c.1o-1,d.2S&&(c.1o==c.1Q-1&&(c.1h=0),0==c.1o&&(c.1p=c.1Q-1)),b.5l(),b.1n[c.1p]?b.4Z(b.1n[c.1p],"1p"):c.3N=!1);d.2w&&2E(12(){c.3C=!1},55);d.2S||(c.2D.2d(c.2n).2d(c.43).2d(c.41).2G("3R"),0==c.1o&&c.2n.2d(c.43).1D("3R"),c.1o>=c.1Q-1&&c.2D.2d(c.41).1D("3R"));b.3i();b.7G();"12"==1d d.1l.6x&&d.1l.6x.1m(b,b.1I)});w="1G"==e?F(p,"1y"):"1h"==a?1i(-(f/2)-p.2m()):1i(2*w);u="1G"==e?"1h"==a?1i(-(r/2)-p.3j()):1i(2*u):F(p,"1w");p.1C(C,H).2u({1y:w,1w:u,2O:d.1M.6F},l,c.34?"2U":"5q",12(){p.1C(C,"")}).1D(t)},84:12(a,b){17 c=g(\'<1b 1v="19-1S"></1b>\');a.1S&&(c.2J(a.1S),g("1b.19-23",b).1K(c))},9H:12(a,b){17 c=11.14,d=n.31.2V;g.1X(a,12(e,f){1a(!f)18!0;17 l,g;4d(e.1Y()){1r"9I":l="3e://5m.9I.3l/9J.7X?v=4&2i=bm&u={1s}";g="4Q 1R do";1z;1r"9N":l="3e://9N.3l/dn?5j={1s}";g="4Q 1R dm";1z;1r"dl":l="dj://di.dh.3l/9J?2h={1s}";g="4Q 1R dg+";1z;1r"9W":l="3e://9W.3l/df?2h={1s}";g="4Q 1R de";1z;1r"9Y":l="3e://9Y.3l/9Z?dd=2&2h={1s}";g="4Q 1R dc";1z;1r"83":l="3e://83.3l/9Z?2h={1s}",g="4Q 1R 83"}a[e]={1s:f.1s&&N(d,f.1s)||c.2w&&n.31.2V||"3p"!==1d b&&d||b&&N(d,b)||d,4y:f.4y||l||f.1s&&N(d,f.1s)||b&&N(d,b),2P:f.2P||g||"4Q 1R "+e,1c:"2N"==1d f.1c||bt(f.1c)?db:1i(f.1c),1e:f.1e||d9}});18 a},88:12(a,b,c){17 d=g(\'<1b 1v="19-1T"></1b>\'),e="<a5>";a=11.9H(a,b);g.1X(a,12(a,b){a.1Y();17 c=b.4y.1q(/\\{1s\\}/g,7U(b.1s).1q(/!/g,"%21").1q(/\'/g,"%27").1q(/\\(/g,"%28").1q(/\\)/g,"%29").1q(/\\*/g,"%2A").1q(/%20/g,"+"));e+=\'<a6 1v="\'+a+\'">
16<a 2V="\'+c+\'" d8="a8:d7.ab(11.2V\'+(0>=b.1c||0>=b.1e?"":", \'\', \'d6=51,1P=51,d5=8a,d4=8a,1e="+b.1e+",1c="+b.1c+",1w=40,1y=40\'")+\');18 2Z;" 1J="\'+b.2P+\'" 8H="9O"></a></a6>\'});e+="</a5>";d.2J(e);g("1b.19-23",c).1K(d)},4V:12(){z.5z?z.8d()?z.4W(1x.3B):z.6V(1x.3B):11.7s()},7s:12(){17 a=11.1j,b=J(),c=11.14;1a(c.3z){17 d=a.1O,e=11.1n[a.1o],f=b.1c,l=b.1e,k=[d,a.2K,a.2I,a.2D,a.2n,a.1V,a.1P,a.1B,a.2r],b=[a.2K,a.2I,a.2D,a.2n,a.2r,a.1B];1a(a.2y)a.2y=a.5x=a.4j=a.53=!1,a.1V.1C({2O:11.14.1V.2O}),g.1X(b,12(a,b){b.1u()}),a.6B.2L("1J",c.2P.7W),d.1A({2s:d.1A("6X"),2q:d.1A("6Y"),6X:1f,6Y:1f}),g.1X(k,12(a,b){b.2G("19-3c")}),"12"==1d c.1l.ap&&c.1l.ap.1m(11,11.1I);2f{a.2y=a.5x=a.4j=a.53=!0;a.1V.1C({2O:1});g.1X(b,12(a,b){b.1U()});a.6B.2L("1J",c.2P.aq);1a(-1!=c.6Z.1N(e.1k))d.1A({6X:d.1A("2s"),6Y:d.1A("2q"),2s:f,2q:l});2f{17 b=e.14.4B||c.4B||"",a=f,e=l,f=d.1A("2s"),h=d.1A("2q");"d2"==b.1Y()?(e=a/f*h,e<l&&(a=l/h*f,e=l)):"d1"==b.1Y()?(l=11.5E(a,e,f,h,!0),a=l.1c,e=l.1e):"d0"!=b.1Y()&&(l=11.5E(a,e,f,h,f>a||h>e?!0:!1),a=l.1c,e=l.1e);d.1A({6X:d.1A("2s"),6Y:d.1A("2q"),2s:a,2q:e})}g.1X(k,12(a,b){b.1D("19-3c")});"12"==1d c.1l.av&&c.1l.av.1m(11,11.1I)}}2f a.2y=a.2y?!1:!0;11.3i(!0)},32:12(){17 a=11.1j,b=11.14;O.6K(".1E");E.5u(".1E");a.2y&&z.4W(1x.3B);g(".19-1V, .19-1O, .19-1B").5u(".1E");b.1U.4f?a.1V.1Z().3X(b.1U.2p,12(){a.1V.4E();a.3o.2G("19-7I").5u(".1E")}):(a.1V.4E(),a.3o.2G("19-7I").5u(".1E"));g.1X([a.1P,a.1O,a.2K,a.2I,a.2D,a.2n,a.2r,a.1B],12(a,b){b.8t("36").4E()});a.7e=a.2y=!1;n.1E=1f;b.2w&&(a.3C=!0,fa(),2E(12(){a.3C=!1},55));"12"==1d b.1l.aw&&b.1l.aw.1m(11,11.1I)},3i:12(){17 a=11.1j,b=11.14,c=b.3y.1Y(),d=J(),e=d.1c,f=d.1e,d=a.2y&&b.3z||a.3v?0:"1G"==c?0:a.1B.3j(),l=a.3v?a.1P.2m():a.2y&&b.3z?0:"1G"==c?a.1B.2m():0,e=a.2y&&b.3z?e:e-b.1M.5I,f=a.2y&&b.3z?f:f-b.1M.5H,k="1G"==c?1i(11.1n[a.1h]||11.1n[a.1p]?2*(b.1M.63+b.1M.62):30>=e/10?30:e/10):1i(30>=e/10?30:e/10)+d,h="1G"==c?1i(30>=f/10?30:f/10)+l:1i(11.1n[a.1h]||11.1n[a.1p]?2*(b.1M.63+b.1M.62):30>=f/10?30:f/10),d={1k:"1o",1c:e,1e:f,5X:11.1n[a.1o],8m:k,8n:h,aA:d,aB:l,2u:2R.1g,1O:a.1O};11.74(d);11.1n[a.1h]&&(d=g.3x(d,{1k:"1h",5X:11.1n[a.1h],4R:b.1M.63,5p:b.1M.aD,1O:a.2K}),11.74(d));11.1n[a.1p]&&(d=g.3x(d,{1k:"1p",5X:11.1n[a.1p],4R:b.1M.62,5p:b.1M.aE,1O:a.2I}),11.74(d));b="1G"==c?{1w:1i(e/2-a.2r.3j()/2)}:{1y:1i(f/2-a.2r.2m()/2)};a.2r.1C(b)},74:12(a){17 b=11.1j,c=11.14,d=c.3y.1Y(),e="1o"==a.1k?b.2y&&c.3z?a.1c:a.1c-a.8m:a.1c-a.8m,f="1o"==a.1k?b.2y&&c.3z?a.1e:a.1e-a.8n:a.1e-a.8n,l=a.5X,k=a.5X.14,h=a.1O,m=a.4R||0,p=a.5p||0,n=a.aA,t=a.aB;"1o"==a.1k?("3g"==1d k.1c&&k.1c&&(e=b.2y&&c.3z&&(-1!=c.6Z.1N(l.1k)||k.4B||c.4B)?e:k.1c>e?e:k.1c),"3g"==1d k.1e&&k.1e&&(f=b.2y&&c.3z&&(-1!=c.6Z.1N(l.1k)||k.4B||c.4B)?f:k.1e>f?f:k.1e)):("3g"==1d k.1c&&k.1c&&(e=k.1c>e?e:k.1c),"3g"==1d k.1e&&k.1e&&(f=k.1e>f?f:k.1e));f=1i(f-g(".19-4v-1P",h).2m());b="3p"==1d k.1c&&-1!=k.1c.1N("%")?aa(1i(k.1c.1q("%","")),a.1c):h.1A("2s");l="3p"==1d k.1e&&-1!=k.1e.1N("%")?aa(1i(k.1e.1q("%","")),a.1e):h.1A("2q");l="3p"==1d k.1c&&-1!=k.1c.1N("%")||"3p"==1d k.1e&&-1!=k.1e.1N("%")?{1c:b,1e:l}:11.5E(e,f,b,l);e=g.3x({},l,{});"1p"==a.1k||"1h"==a.1k?(b=1i(l.1c*("1h"==a.1k?c.1M.5G:c.1M.5F)),l=1i(l.1e*("1h"==a.1k?c.1M.5G:c.1M.5F))):(b=l.1c,l=l.1e);f=1i((F(h,"58-1w")+F(h,"58-5T")+F(h,"49-1w-1c")+F(h,"49-5T-1c"))/2);
16k=1i((F(h,"58-1y")+F(h,"58-aG")+F(h,"49-1y-1c")+F(h,"49-aG-1c")+g(".19-4v-1P",h).2m())/2);4d(a.1k){1r"1o":17 r=1i(a.1e/2-l/2-k-t/2),s=1i(a.1c/2-b/2-f-n/2);1z;1r"1h":r="1G"==d?1i(a.1e/2-p-l/2-k-t/2):1i(a.1e-m-k-t/2);s="1G"==d?1i(a.1c-m-f-n/2):1i(a.1c/2-b/2-f-p-n/2);1z;1r"1p":r="1G"==d?1i(a.1e/2-p-l/2-k-t/2):1i(m-k-l-t/2),s="1G"==d?1i(m-f-b-n/2):1i(a.1c/2-p-b/2-f-n/2)}h.1A("3d",{1y:r,1w:s,5D:e,7K:{W:f,H:k},9A:{W:n,H:t},3q:a});0<a.2u&&c.2C.6f?(h.1C(C,H).1Z().2u({1y:r,1w:s},c.2C.5C,"2U",12(){h.1C(C,"")}),g("1b.19-23",h).1Z().2u({1c:b,1e:l},c.2C.5C,"2U"),g("1b.19-4v-1P",h).1Z().2u({1c:b},c.2C.5C,"2U",12(){g(11).1C("ai","3m")})):(h.1C({1y:r,1w:s}),g("1b.19-23",h).1C({1c:b,1e:l}),g("1b.19-4v-1P",h).1C({1c:b}))},5U:12(a){17 b=11,c=b.1j,d=b.14;!d.3E.8q||d.2a.3E&&1>=c.1Q||a<c.4z||(c.4z=0,c.3w&&(c.3w=4P(c.3w)),c.3w=2E(12(){c.1o==c.1Q-1?b.4h(0):b.25("1h")},d.3E.8q))},4i:12(a){17 b=11.1j;a<b.4z||(b.4z=a||2l,b.3w&&(b.3w=4P(b.3w)))},7G:12(){17 a=11.1j;11.14.2a.3E&&a.3w&&!a.4z&&11.5U()},5E:12(a,b,c,d,e){4b=a?b?Y(a/c,b/d):a/c:b/d;e||(4b>11.14.4O?4b=11.14.4O:4b<11.14.4D&&(4b=11.14.4D));a=11.14.8u?X(c*4b):a;b=11.14.8u?X(d*4b):b;18{1c:a,1e:b,cT:4b}},5V:12(a){11.14=g.3x(!0,11.14,a||{});11.4K()},bb:12(){17 a=1x.59("1H");11.3b={2t:0<=1i(Q.3P("aR"))||0<=1i(Q.3P("aS"))?!0:!1,2W:0<=1i(Q.3P("66"))?!0:!1,8y:!(!a.44||!a.44("1H/46").1q(/51/,"")),8z:!(!a.44||!a.44("1H/3t").1q(/51/,"")),8A:!(!a.44||!a.44("1H/5d").1q(/51/,"")),aY:!(!a.44||!a.44("1H/2W").1q(/51/,""))}},4U:12(a,b){17 c;4d(b.1k){1r"1H":17 d=!1,e=b.8k,f=b.14.2g;("1H/46"==e||"46"==b.2X||"8w"==b.2X||f.aZ)&&11.3b.8y?(b.2X="46",b.1s=f.aZ||b.1s):f.3t&&11.3b.8z?(b.2X="3t",b.1s=f.3t||b.1s):f.5d&&11.3b.8A&&(b.2X="7D",b.1s=f.5d||b.1s);!11.3b.8y||"1H/46"!=e&&"46"!=b.2X&&"8w"!=b.2X?!11.3b.8z||"1H/3t"!=e&&"3t"!=b.2X?!11.3b.8A||"1H/5d"!=e&&"7D"!=b.2X?!11.3b.aY||"1H/2W"!=e&&"9k"!=b.2X&&"cP"!=b.2X||(d=!0,e="1H/2W"):(d=!0,e="1H/5d"):(d=!0,e="1H/3t"):(d=!0,e="1H/46");d?c=g("<1H />",{1c:"2l%",1e:"2l%",6E:f.6E,5b:f.5b,b1:f.b1,2a:f.2a}).1K(g("<4y />",{2i:b.1s,1k:e})):11.3b.2W?(c=g("<3q />",{1k:"1H/2W",4L:"3e://5m.7j.3l/2W/7J"}).2L({1A:b.1s,1c:"2l%",1e:"2l%"}).1K(g("<3W />",{2e:"2i",2M:b.1s})).1K(g("<3W />",{2e:"5b",2M:"2Z"})).1K(g("<3W />",{2e:"b2",2M:"2Z"})).1K(g("<3W />",{2e:"b3",2M:"b4"})),D.6j&&(c=91(b.1s,"2l%","2l%","","cO","b4","cI","2Z","cG","2Z"))):c=g("<2o />",{"1v":"19-61",2J:11.14.5Q.8C.1q("{4L}","3e://5m.7j.3l/2W/7J").1q("{1k}","66")});1z;1r"2t":1a(11.3b.2t){17 l="",k=0;b.14.8D?g.1X(b.14.8D,12(a,b){0!=k&&(l+="&");l+=a+"="+7U(b);k++}):l=1f;c=g("<8j />").2L({1k:"68/x-7f-2t",2i:b.1s,1c:"3g"==1d b.14.1c&&b.14.1c&&"1"==11.14.4D&&"1"==11.14.4O?b.14.1c:"2l%",1e:"3g"==1d b.14.1e&&b.14.1e&&"1"==11.14.4D&&"1"==11.14.4O?b.14.1e:"2l%",cF:"cE",cD:"#cC",4A:"7g",b2:"7g",cB:"7g",cx:"cw",b3:"cv",cu:"bn",bo:"7g",8D:l,3c:"8a"})}2f c=g("<2o />",{"1v":"19-61",2J:11.14.5Q.8C.1q("{4L}","3e://5m.ct.3l/go/ce").1q("{1k}","cd aS cc")});1z;1r"4p":c=g("<4p />").2L({1c:"3g"==1d b.14.1c&&b.14.1c&&"1"==11.14.4D&&"1"==11.14.4O?b.14.1c:"2l%",1e:"3g"==1d b.14.1e&&b.14.1e&&"1"==11.14.4D&&"1"==11.14.4O?b.14.1e:"2l%",2i:b.1s,c5:0,7w:0,7r:0,c2:A?"c1":"c0",bZ:"",bU:"",bo:""});1z;1r"6L":c=g(\'<1b 1v="19-75"></1b>\').2J(g(b.1s).5S(!0));1z;1r"2J":d=b.1s,d[0].8T||(d=g(b.1s),d=d.3h?g("<1b>"+d+"</1b>"):d),c=g(\'<1b 1v="19-75"></1b>\').2J(d)}g("1b.19-23",a).4e().2J(c);"1H"===c[0].8P.1Y()&&D.4q&&2E(12(){17 a=c[0].bC+"?"+M(bT*T());c[0].bC=a;c[0].2i=a});18 c},bq:12(a,b){17 c=11,d=a.1s;c.5h();ga(d,12(a){c.4a();1a(a){17 d={1g:!1};d.2h=a.2h;1a(7k==a.5j){a=a.bS;17 l=a.1k,g=a.4y;d.4y=g.2i;d.1c=g.1c&&1i(g.1c)||0;d.1e=g.1e&&1i(g.1e)||0;d.1k=l;d.2j=g.2j||a.bR[0];d.2g=a.2g||{};d.1g=!0;"68/x-7f-2t"==g.1k?d.1k="2t":-1!=g.1k.1N("1H/")?d.1k="1H":-1!=g.1k.1N("/2J")?d.1k="4p":-1!=g.1k.1N("2F/")&&(d.1k="2F")}2f 1a("2N"!=1d a.bG)5o a.bG;b.1m(11,d.1g?d:!1)}})},7P:12(a){17 b=11.1j,c=11.14;a=V(a||n.31.2V).4o;17 d=a.24("/"),e=d[1];b.3C||"#"+c.2w!=d[0]&&1<a.1g||(e?(b=d[1]||0,11.1n[b]?(a=g(".19-1V"),a.1g&&a.2L("aW")==c.2w?11.4h(b):11.6s[b].76(A?"3u":"6a")):(a=g(".19-1V"),a.1g&&11.32())):(a=g(".19-1V"),a.1g&&11.32()))}};g.fn.1E=12(){17 a=2R,b=g.bL(a[0])?a[0]:a[1],c=g.3J(a[0])||"3p"==1d a[0]?a[0]:a[1];b||(b={});17 b=g.3x(!0,{2L:"2V",3y:"9t",3s:"e8",2w:!1,2S:!1,47:0,bf:!1,8u:!0,4O:1,4D:.2,3Y:!1,7z:!1,7A:!0,3z:!0,4B:1f,6Z:"2t, 1H",1V:{98:!0,2O:.85},2a:{6v:!1,3E:!1,1P:!0,3c:!0,2j:!0,3T:!0,3V:!0,3U:!0},3T:{1w:!0,5T:!0,92:!0,96:!0,8X:!0,8W:!0},1u:{4f:!0,2p:bJ,1J:!0},1U:{4f:!0,2p:bJ},1S:{2Y:!0,1u:"4C",1U:"4X"},1T:{2Y:!0,1u:"4C",1U:"4X",8r:!1},1M:{5I:0,5H:0,63:45,aD:0,6F:1,5G:1,62:45,aE:0,6M:1,5F:1},1B:{8g:bM,8h:80,8e:1,8c:.6},2C:{6f:!0,5C:7k,9x:9p,5B:bN,5K:7k},3E:{8q:bO,9e:!1,97:!0},2P:{3Z:"bP bQ 7i 3Z",7W:"8Q bD (bz+8Q)",aq:"bV bD (bz+8Q)",a0:"bW",1h:"bX",7q:"bY"},5Q:{4k:"by 4M bx bw bv 7i 5e c3.",am:"by 4M bx bw bv 7i 5e c4.",8C:"8O c6 c7 c8 c9 7i cb 8N bs <a 2V=\'{4L}\' 8H=\'9O\'>{1k} 7h</a>."},2Q:{2h:"",6U:12(a,b){},6N:!1,70:12(a,b){},6O:!1,4M:12(a,b,c){},5P:12(a,b,c){},6P:!0,6Q:!1,6R:1f,6T:1f,1k:"cf"},1l:{}},b),d=g.3J(c)||"3p"==1d c?!0:!1,c=g.3J(c)?c:[];"3p"==1d a[0]&&(c[0]=a[0]);1a(a7(g.fn.cg,"1.8",">=")){17 e=2v ea(g(11),b,c,d);18{3Z:12(){e.32()},3c:12(){e.4V()},bI:12(){e.25("1h")},8V:12(){e.25("1p")},4h:12(a){e.4h(a)},4K:12(){e.4K()},6f:12(){0<2R.1g?e.3i(!0):e.3i()},5V:12(a){e.5V(a)}
16,94:12(){e.32();e.6h()}}}5o"8O 8L 2B ch ci cj 3A ck cl. 1E 8N 8L 1.8+";};g.1E=12(a,b){18 g.fn.1E(a,b)};g.3x(g.cm,{7O:12(a,b,c,d,e){18-d*(P(1-(b/=e)*b)-1)+c},2U:12(a,b,c,d,e){18 d*P(1-(b=b/e-1)*b)+c},5q:12(a,b,c,d,e){18 1>(b/=e/2)?-d/2*(P(1-b*b)-1)+c:d/2*(P(1-(b-=2)*b)+1)+c}});(12(){g.1X("71 aX 8l cn co 3U cp cq cr cs".24(" "),12(a,b){g.fn[b]=12(a){18 a?11.4n(b,a):11.76(b)};g.bp&&(g.bp[b]=!0)});g.4F.bl.3u={bk:12(){17 a=11,b=g(11),c,d;b.4n("71.8J",12(e){c=L();b.7E("8l.8J",12(b){d=L();b=g.4F.cy(b||n.4F);b.1k="3u";c&&d&&c.x==d.x&&c.y==d.y&&(g.4F.cz||g.4F.cA).1m(a,b);c=d=R})})},bi:12(){g(11).6K("71.8J")}}})();(12(){z={5z:!1,8d:12(){18!1},6V:12(){},4W:12(){},8I:"",3G:""};8G=["4q","bd","o","b7","cH"];1a("2N"!=1d 1x.4W)z.5z=!0;2f 1t(17 a=0,b=8G.1g;a<b;a++)1a(z.3G=8G[a],"2N"!=1d 1x[z.3G+"b6"]){z.5z=!0;1z}z.5z&&(z.8I=z.3G+"cJ",z.8d=12(){4d(11.3G){1r"":18 1x.cK;1r"4q":18 1x.cL;8S:18 1x[11.3G+"cM"]}},z.6V=12(a){18""===11.3G?a.6V():a[11.3G+"cN"]()},z.4W=12(a){18""===11.3G?1x.4W():1x[11.3G+"b6"]()})})();(12(){17 a,b;a=69.7V;a=a.1Y();b=/(b5)[ \\/]([\\w.]+)/.4H(a)||/(4q)[ \\/]([\\w.]+)/.4H(a)||/(cQ)(?:.*2B|)[ \\/]([\\w.]+)/.4H(a)||/(6j) ([\\w.]+)/.4H(a)||0>a.1N("cR")&&/(cS)(?:.*? aM:([\\w.]+)|)/.4H(a)||[];a=b[1]||"";b=b[2]||"0";D={};a&&(D[a]=!0,D.2B=b);D.b5?D.4q=!0:D.4q&&(D.cU=!0)})();(12(){12 a(a){1t(17 e=0,f=b.1g;e<f;e++){17 g=b[e]?b[e]+a.4g(0).cV()+a.7b(1):a;1a(c.36[g]!==R)18 g}}17 b=["","4q","bd","b7","o"],c=1x.59("1b");C=a("cW")||"";H=a("cX")?"cY(0) ":""})();17 Q={2B:"0.7.9",2e:"cZ",au:12(a,b,c){18 12(){a(b,c)}},5c:"<",4u:12(a){18"2N"!=1d a},3J:12(a){18/d3/i.1F(6S.48.89.1m(a))},56:12(a){18"12"==1d a},4G:12(a){18"3p"==1d a},5R:12(a){18"3g"==1d a},4l:12(a){18"3p"==1d a&&/\\d/.1F(a)},a3:/[\\d][\\d\\.\\7L,-]*/,3a:/[\\.\\7L,-]/g,5g:12(a,b){17 c=11.4l(a)?(11.4u(b)?2v 2z(b):11.a3).4H(a):1f;18 c?c[0]:1f},3S:12(a,b,c){17 d=1i;1a(11.4l(a)&&11.4l(b)){1a(11.4u(c)&&c.3S)18 c.3S(a,b);a=a.24(11.3a);b=b.24(11.3a);1t(c=0;c<Y(a.1g,b.1g);c++){1a(d(a[c],10)>d(b[c],10))18 1;1a(d(a[c],10)<d(b[c],10))18-1}}18 0},3K:12(a,b){17 c,d;1a(!11.4l(a))18 1f;11.5R(b)||(b=4);b--;d=a.1q(/\\s/g,"").24(11.3a).5N(["0","0","0","0"]);1t(c=0;4>c;c++)1a(/^(0+)(.+)$/.1F(d[c])&&(d[c]=2z.$2),c>b||!/\\d/.1F(d[c]))d[c]="0";18 d.7b(0,4).5y(",")},$$5M:12(a){18 12(b){1a(!a.3M&&b){17 c,d,e=a.3J(b)?b:a.4G(b)?[b]:[];1t(d=0;d<e.1g;d++)1a(a.4G(e[d])&&/[^\\s]/.1F(e[d])&&(c=(b=69.dk[e[d]])?b.7T:0)&&(c.2e||c.4N))18 b}18 1f}},7Q:12(a,b,c){a=2v 2z(a,"i");b=!11.4u(b)||b?/\\d/:0;c=c?2v 2z(c,"i"):0;17 d=69.3b,e,f,g;1t(e=0;e<d.1g;e++)1a(g=d[e].4N||"",f=d[e].2e||"",a.1F(g)&&(!b||b.1F(2z.9M+2z.9K))||a.1F(f)&&(!b||b.1F(2z.9M+2z.9K)))1a(!c||!c.1F(g)&&!c.1F(f))18 d[e];18 1f},dp:12(a,b,c){17 d;b=2v 2z(b,"i");c=c?2v 2z(c,"i"):0;17 e,f,g=11.4G(a)?[a]:a;1t(f=0;f<g.1g;f++)1a((d=11.5M(g[f]))&&(d=d.7T)&&(e=d.4N||"",a=d.2e||"",b.1F(e)||b.1F(a))&&(!c||!c.1F(e)&&!c.1F(a)))18 d;18 0},7p:12(a,b){17 c,d,e,f,g=-1;1a(2<11.6m||!a||!a.2B||!(c=11.5g(a.2B)))18 b;1a(!b)18 c;c=11.3K(c);b=11.3K(b);d=b.24(11.3a);e=c.24(11.3a);1t(f=0;f<d.1g;f++)1a(-1<g&&f>g&&"0"!=d[f]||e[f]!=d[f]&&(-1==g&&(g=f),"0"!=d[f]))18 b;18 c},8Y:n.dq,3Q:12(a){17 b=1f;2c{b=2v 11.8Y(a)}26(c){}18 b},bF:12(a){17 b,c,d=/^[\\$][\\$]/;1t(b 2T a)1a(d.1F(b))2c{c=b.7b(2),0<c.1g&&!a[c]&&(a[c]=a[b](a),5Z a[b])}26(e){}},6i:12(a,b,c){17 d;1a(a){1a(1==a[b[0]]||c)1t(d=0;d<b.1g;d+=2)a[b[d]]=b[d+1];1t(d 2T a)(c=a[d])&&1==c[b[0]]&&11.6i(c,b)}},bu:12(){17 a=69,b,c=1x,d=a.7V||"",e=a.dw||"",f=a.dx||"",a=a.dy||"";11.6i(11,["$",11]);1t(b 2T 11.5s)11.5s[b]&&11.6i(11.5s[b],["$",11,"$$",11.5s[b]],1);11.bF(11);11.6m=2l;1a(f){17 g=["8x",1,"dB",2,"dC",3,"dD",4,"ae",21.1,"ag",21.2,"af",21.3,"8x.*dE",22.1,"8x.*dG",22.2,"dH\\\\s*dI",22.3,"",2l];1t(b=g.1g-2;0<=b;b-=2)1a(g[b]&&(2v 2z(g[b],"i")).1F(f)){11.6m=g[b+1];1z}}11.3k=c.6c("3k")[0]||c.6c("2H")[0]||c.2H||1f;11.5L=(11.3M=(2v dM("18/*@dN!@*/!1"))())&&/dO\\s*(\\d+\\.?\\d*)/i.1F(d)?7Y(2z.$1,10):1f;11.7F=11.7n=1f;1a(11.3M){b=1x.59("1b");2c{b.36.dS="2h(#8S#dT)",11.7n=b.dU("{dV-dW-8E-dY-dZ}","e0").1q(/,/g,".")}26(k){}b=7Y(11.7n||"0",10);11.7F=c.aV||(/e2/i.1F(c.e3||"")?5:b)||11.5L;11.5L=b||11.7F}11.6G=!1;1a(11.3M)1t(c="ax.e5 ax.e6 e7.bK 6D.6D a2.a2 ec.ed ee.ef eg.eh".24(" "),b=0;b<c.1g;b++)1a(11.3Q(c[b])){11.6G=!0;1z}11.ei=(11.ej=/9U/i.1F(a)&&/9U\\s*\\/\\s*\\d/i.1F(d))?11.3K(/aM\\s*\\
16:\\s*([\\.\\,\\d]+)/i.1F(d)?2z.$1:"0.9"):1f;11.el=(11.9T=/en\\s*\\/\\s*(\\d[\\d\\.]*)/i.1F(d))?11.3K(2z.$1):1f;11.eo=(11.ep=(/er/i.1F(e)||!e&&!11.9T)&&/es\\s*\\/\\s*(\\d[\\d\\.]*)/i.1F(d))&&/9S\\s*\\/\\s*(\\d[\\d\\.]*)/i.1F(d)?11.3K(2z.$1):1f;11.eu=(11.ev=/al\\s*[\\/]?\\s*(\\d+\\.?\\d*)/i.1F(d))&&(/9S\\s*\\/\\s*(\\d+\\.?\\d*)/i.1F(d),1)?7Y(2z.$1,10):1f;11.9R("5e",11.au(11.9Q,11))},9P:12(a){17 b,c={5j:-3,7h:0};1a(!11.4G(a))18 c;1a(1==a.1g)18 11.8U=a,c;a=a.1Y().1q(/\\s/g,"");b=11.5s[a];1a(!b||!b.3P)18 c;c.7h=b;11.4u(b.52)||(b.52=1f,b.2B=1f,b.bE=1f,b.5A=1f,b.eD=a);11.7S=!1;1a(11.3M&&!11.6G&&"eF"!==a)18 c.5j=-2,c;c.5j=1;18 c},8Z:12(a,b){11.3J(b)&&(11.56(a)||11.3J(a)&&0<a.1g&&11.56(a[0]))&&b.4S(a)},6b:12(a){17 b;1a(11.3J(a))1t(b=0;b<a.1g&&1f!==a[b];b++)11.1m(a[b]),a[b]=1f},1m:12(a){17 b=11.3J(a)?a.1g:-1;1a(0<b&&11.56(a[0]))a[0](11,1<b?a[1]:0,2<b?a[2]:0,3<b?a[3]:0);2f 11.56(a)&&a(11)},8U:",",$$3P:12(a){18 12(b,c,d){b=a.9P(b);1a(0>b.5j)18 1f;b=b.7h;1!=b.5A&&(b.3P(1f,c,d),1f===b.5A&&(b.5A=1));a.br();18 c=(c=b.2B||b.bE)?c.1q(a.3a,a.8U):c}},br:12(){11.7S&&11.4u(n.bj)&&n.bj()},8i:12(a,b){17 c=!1,d=\'<3q 1c="1" 1e="1" 36="6g:5w" \'+a.aN(b)+">"+a.ao+11.5c+"/3q>";1a(!11.3k)18 c;11.3k.ak(1x.59("3q"),11.3k.3f);11.3k.3f.82=d;2c{11.3k.3f.6n=a.6C}26(e){}2c{11.3k.3f.3q&&(c=!0)}26(f){}2c{c&&4>11.3k.3f.ac&&(11.7S=!0)}26(g){}11.3k.67(11.3k.3f);18 c},65:12(a,b){17 c=11;1a(!c.6G||!a)18 1f;a.64&&a.64.1g&&1f!==a.64[a.64.1g-1]&&c.6b(a.64);17 d,e=a.86;1a(c.4l(b)){1a(e.5O&&e.3H&&0>=c.3S(b,e.3H))18!0;1a(e.5O&&e.3F&&0<=c.3S(b,e.3F))18!1;(d=c.8i(a,b))&&(!e.3H||0<c.3S(b,e.3H))&&(e.3H=b);d||e.3F&&!(0>c.3S(b,e.3F))||(e.3F=b);18 d}17 f=[0,0,0,0],g=[].5N(e.8b),k=e.3H?1:0,h,m,n=12(b,d){17 e=[].5N(f);e[b]=d;18 c.8i(a,e.5y(","))};1a(e.3F){d=e.3F.24(c.3a);1t(h=0;h<d.1g;h++)d[h]=1i(d[h],10);d[0]<g[0]&&(g[0]=d[0])}1a(e.3H){m=e.3H.24(c.3a);1t(h=0;h<m.1g;h++)m[h]=1i(m[h],10);m[0]>f[0]&&(f[0]=m[0])}1a(m&&d)1t(h=1;h<m.1g&&m[h-1]==d[h-1];h++)d[h]<g[h]&&(g[h]=d[h]),m[h]>f[h]&&(f[h]=m[h]);1a(e.3F)1t(h=1;h<g.1g;h++)1a(0<d[h]&&0==g[h]&&g[h-1]<e.8b[h-1]){g[h-1]+=1;1z}1t(h=0;h<g.1g;h++){m={};1t(e=0;20>e&&!(1>g[h]-f[h]);e++){d=X((g[h]+f[h])/2);1a(m["a"+d])1z;m["a"+d]=1;n(h,d)?(f[h]=d,k=1):g[h]=d}g[h]=f[h];!k&&n(h,f[h])&&(k=1);1a(!k)1z}18 k?f.5y(","):1f},9R:12(a,b){17 c;11.56(b)&&(n.9j?n.9j(a,b,!1):n.9i?n.9i("1R"+a,b):(c=n["1R"+a],n["1R"+a]=11.9h(b,c)))},9h:12(a,b){18 12(){a();"12"==1d b&&b()}},9g:[],4w:[],9Q:12(a){a.35=!0;a.6b(a.9g);a.6b(a.4w);1a(a.8p)a.8p()},35:!1,$$f4:12(a){18 12(b){a.35?a.1m(b):a.8Z(b,a.4w)}},1b:1f,72:"f6",9a:50,3r:1,93:12(){17 a,b,c,d;1a(11.1b&&11.1b.5i)1t(a=11.1b.5i.1g-1;0<=a;a--){1a((c=11.1b.5i[a])&&c.5i)1t(b=c.5i.1g-1;0<=b;b--){d=c.5i[b];2c{c.67(d)}26(e){}}1a(c)2c{11.1b.67(c)}26(f){}}!11.1b&&(a=1x.7N(11.72))&&(11.1b=a);1a(11.1b&&11.1b.7R){2c{11.1b.7R.67(11.1b)}26(g){}11.1b=1f}},7Z:[],8p:12(){17 a,b;1a(11.35&&(!11.4w||!11.4w.1g||1f===11.4w[11.4w.1g-1])){1t(a 2T 11)1a((b=11[a])&&b.6k&&(3==b.fg||b.6k.1g&&1f!==b.6k[b.6k.1g-1]))18;1t(a=0;a<11.7Z.1g;a++)11.6b(11.7Z);11.93()}},6o:12(a){18 a&&(a=a.fi||a.fj,11.5R(a))?a:-1},fk:12(a,b,c,d){17 e=a.2o,f=11.6o(e);c=c.2o;17 g=11.6o(c);b=b.2o;17 k=11.6o(b);1a(!(e&&c&&b&&11.6p(a)))18-2;1a(g<k||0>f||0>g||0>k||k<=11.3r||1>11.3r)18 0;1a(f>=k)18-1;2c{1a(f==11.3r&&(!11.3M||4==11.6p(a).ac)&&(!a.35&&11.35||a.35&&11.5R(d)&&(11.5R(a.87)||(a.87=d),10<=d-a.87)))18 1}26(h){}18 0},6p:12(a,b){17 c=a?a.2o:0,d=c&&c.3f?1:0;2c{d&&b&&11.1b.fo()}26(e){}18 d?c.3f:1f},6q:12(a,b){17 c=a.36,d;1a(c&&b)1t(d=0;d<b.1g;d+=2)2c{c[b[d]]=b[d+1]}26(e){}},b8:12(a,b){17 c=1f,d=b?n.1y.1x:n.1x,e=d.6c("2H")[0]||d.2H;1a(!e)2c{d.aU(\'<1b 7a="aT">.\'+11.5c+"/1b>"),c=d.7N("aT")}26(f){}1a(e=d.6c("2H")[0]||d.2H)e.ak(a,e.3f),c&&e.67(c)},aQ:12(a,b,c,d,e){e=1x;17 f,g=e.59("2o"),k,h="fu 5w fv 5w 58 54 a4 54 a1 3m".24(" ");11.4u(d)||(d="");1a(11.4G(a)&&/[^\\s]/.1F(a)){a=a.1Y().1q(/\\s/g,"");f=11.5c+a+\' 1c="\'+11.3r+\'" 1e="\'+11.3r+\'" \';f+=\'36="fz-36:5w;49-36:5w;58:54;a4:54;a1:3m;6g:6L;" \';1t(k=0;k<b.1g;k+=2)/[^\\s]/.1F(b[k+1])&&(f+=b[k]+\'="\'+b[k+1]+\'" \');f+=">";1t(k=0;k<c.1g;k+=2)/[^\\s]/.1F(c[k+1])&&(f+=11.5c+\'3W 2e="\'+c[k]+\'" 2M="\'+c[k+1]+\'" />\');f+=d+11.5c+"/"+a+">"}2f f=d;11.1b||((b=e.7N(11.72))?11.1b=b:(11.1b=e.59("1b"),11.1b.7a=11.72),11.6q(11.1b,h.5N(["1c",11.9a+"4T","1e",11.3r+3+"4T","9X",11.3r+3+"4T","95",11.3r+3+"4T","ad","9V","6g","fE"])),b||(11.6q(11.1b,"8F fF 5T 54 1y 54".24(" ")),11.b8(11.1b)));1a(11.1b&&11.1b.7R){11.6q(g,h.5N(["9X",11.3r+3+"4T","95",11.3r+3+"4T","ad","9V","6g","6L"]));2c{g.fG=f}26(m){}2c{11.1b.fH(g)}26(n){}18{2o:g,35:11.35,8P:a,82:f}}18{2o:1f,35:11.35,8P:"",82:f}},5s:{2W:{4t:["1H/2W","68/x-fJ","2F/x-fK","2F/x-2W"],3D:"fM.fN.1",fO:"66.66",6C:"6l:9f-9r-9u-9y-9B",7C:7,ao:\'<3W 2e="2i" 2M="" /><3W 2e="fP" 2M="2Z" />\',aN:12(a){18\'7d="#2B=\'+a+\'"\'},86:{3H:0,3F:0,5O:0,8b:[16,b9,b9,0]}
16,3P:12(a){17 b=11.$,c=1f,d=1f;1a(b.3M){b.4l(a)&&(a=a.24(b.3a),3<a.1g&&0<1i(a[3],10)&&(a[3]="fR"),a=a.5y(","));1a(b.4l(a)&&b.5L>=11.7C&&0<11.7M()){11.52=11.aJ(a);11.5A=0;18}11.5A=1;!c&&b.5L>=11.7C&&(c=11.az(b.65(11)));c||(d=b.3Q(11.3D))&&d.at&&(c=d.at.89(16),c=1i(c.4g(0),16)+"."+1i(c.4g(1),16)+"."+1i(c.4g(2),16))}2f b.5M(11.4t)&&(d=3!=b.6m?b.7Q("66.*fW-?2T",0):1f)&&d.2e&&(c=b.5g(d.2e));11.52=c?1:d?0:-1;11.2B=b.3K(c,3)},7m:["7,60,0,0","0,0,0,0"],7o:["7,50,0,0",1f],7u:[12(a,b){17 c=b.24(a.$.3a);18[c[0],c[1].4g(0),c[1].4g(1),c[2]].5y()},1f],az:12(a){17 b=11.$,c,d=11.7m,e=11.7o;1a(a)1t(a=b.3K(a),c=0;c<d.1g;c++)1a(d[c]&&0>b.3S(a,d[c])&&e[c]&&0<=b.3S(a,e[c])&&11.7u[c])18 11.7u[c](11,a);18 a},7M:12(){17 a=11.$,b,c=11.7M,d=11.7m,e=11.7o;1a(!c.2M)1t(c.2M=-1,b=0;b<d.1g;b++){1a(d[b]&&a.65(11,d[b])){c.2M=1;1z}1a(e[b]&&a.65(11,e[b])){c.2M=-1;1z}}11.86.5O=1==c.2M?1:0;18 c.2M},aJ:12(a){18 11.$.65(11,a)?.7:-1}},2t:{4t:"68/x-7f-2t",3D:"6D.6D",6C:"6l:g0-g1-8E-g2-9c",3P:12(){17 a=12(a){18 a?(a=/[\\d][\\d\\,\\.\\s]*[bH]{0,1}[\\d\\,]*/.4H(a))?a[0].1q(/[bH\\.]/g,",").1q(/\\s/g,""):1f:1f},b=11.$,c,d=1f,e=1f,f=1f;1a(b.3M){1t(c=15;2<c;c--)1a(e=b.3Q(11.3D+"."+c)){f=c.89();1z}e||(e=b.3Q(11.3D));1a("6"==f)2c{e.g5="bn"}26(g){18"6,0,21,0"}2c{d=a(e.as("$2B"))}26(k){}!d&&f&&(d=f)}2f{1a(e=b.5M(11.4t)){c=b.6p(b.aQ("3q",["1k",11.4t],[],"",11));2c{d=b.5g(c.as("$2B"))}26(h){}}d||((c=e?e.7T:1f)&&c.4N&&(d=a(c.4N)),d&&(d=b.7p(c,d)))}11.52=d?1:-1;11.2B=b.3K(d);18!0}},7f:{4t:"68/x-g7",3D:"9E.9E",6C:"6l:g9-gb-8E-gc-9c",3P:12(){17 a=1f,b=1f,c=11.$;1a(c.3M){2c{b=c.3Q(11.3D).gd("")}26(d){}c.4G(b)&&0<b.1g?a=c.5g(b):c.3Q(11.3D+".8")?a="8":c.3Q(11.3D+".7")?a="7":c.3Q(11.3D+".1")&&(a="6")}2f(b=c.7Q("aR\\\\s*1t\\\\s*gf"))&&b.4N&&c.5M(11.4t)&&(a=c.5g(b.4N)),a&&(a=c.7p(b,a));11.52=a?1:-1;11.2B=c.3K(a)}},gg:0}};Q.bu();17 j=\'8O "%%" 12 8N an gh 3g gi 2R.\\gj gk be 2T bs gl "gm", "gn", ...\',q=1f;(12(){12 a(a){a=a||31.2V;18"#"+a.1q(/^[^#]*#?(.*)$/,"$1")}17 b=1x,c,d=g.4F.bl,e=b.aV,f="gp"2T n&&(9d 0===e||7<e);g.fn.3n=12(a){18 a?11.4n("3n",a):11.76("3n")};g.fn.3n.bc=50;d.3n=g.3x(d.3n,{bk:12(){1a(f)18!1;g(c.2Y)},bi:12(){1a(f)18!1;g(c.1Z)}});c=12(){12 c(){17 b=a(),d=t(m);b!==m?(q(m=b,d),g(n).76("3n")):d!==m&&(31.2V=31.2V.1q(/#.*/,"")+d);e=2E(c,g.fn.3n.bc)}17 d={},e,m=a(),p=12(a){18 a},q=p,t=p;d.2Y=12(){e||c()};d.1Z=12(){e&&4P(e);e=9d 0};D.6j&&!f&&12(){17 e,f;d.2Y=12(){e||(f=(f=g.fn.3n.2i)&&f+a(),e=g(\'<4p 77="-1" 1J="4e"/>\').1U().7E("5e",12(){f||q(a());c()}).2L("2i",f||"a8:0").gs("2H")[0].gu,b.gv=12(){2c{"1J"===4F.gw&&(e.1x.1J=b.1J)}26(a){}})};d.1Z=p;t=12(){18 a(e.31.2V)};q=12(a,c){17 d=e.1x,f=g.fn.3n.aj;a!==c&&(d.1J=b.1J,d.ab(),f&&d.aU(\'<9G>1x.aj="\'+f+\'"\\gz/9G>\'),d.3Z(),e.31.4o=a)}}();18 d}()})();4Y.48.5W||(4Y.48.5W=12(a,b){1a(1f==11)5o 2v 6W;17 c=6S(11),d=c.1g>>>0;1a("12"!=1d a)5o 2v 6W;1t(17 e=[],f=0;f<d;f++)1a(f 2T c){17 g=c[f];a.1m(b,g,f,c)&&e.4S(g)}18 e});4Y.48.1N||(4Y.48.1N=12(a,b){17 c;1a(1f==11)5o 2v 6W(\'"11" 3A 1f gC 7t gD\');17 d=6S(11),e=d.1g>>>0;1a(0===e)18-1;c=+b||0;gE===I(c)&&(c=0);1a(c>=e)18-1;1t(c=ba(0<=c?c:e-I(c),0);c<e;){1a(c 2T d&&d[c]===a)18 c;c++}18-1});4Y.48.79||(4Y.48.79=12(a){1a(1f==11)5o 2v 6W;17 b=6S(11),c=b.1g>>>0;1a(0===c)18-1;17 d=c;1<2R.1g&&(d=gF(2R[1]),d!=d?d=0:0!=d&&d!=1/0&&d!=-(1/0)&&(d=(0<d||-1)*M(I(d))));1t(c=0<=d?Y(d,c-1):c-I(d);0<=c;c--)1a(c 2T b&&b[c]===a)18 c;18-1})})(8L,11);',0,1034," this function options var return ilightbox if div width typeof height null length next parseInt vars type callback call items current prev replace case URL for show class left document top break data thumbnails css addClass iLightBox test horizontal video ui title append onRender styles indexOf holder toolbar total on caption social hide overlay onAfterLoad each toLowerCase stop container split moveTo catch controls onBeforeLoad try add name else html5video url src thumbnail coords 100 outerHeight prevButton span speed naturalHeight loader naturalWidth flash animate new linkId onShow isInFullScreen RegExp version effects nextButton setTimeout image removeClass body prevPhoto html nextPhoto attr value undefined opacity text ajaxSetup arguments infinite in easeOutCirc href quicktime ext start false location closeAction fadeIn isSwipe winLoaded style splitNumRegx plugins fullscreen offset http firstChild number selector repositionPhoto outerWidth head com visible iLightBoxHashChange BODY string object pluginSize skin webm itap isMobile cycleID extend path fullAlone is documentElement hashLock progID slideshow max prefix min pathname isArray formatNum configureHolder isIE prevLock nextLock getVersion getAXO disabled compareNums keyboard swipe mousewheel param fadeOut innerToolbar close innerNextButton button innerPrevButton canPlayType mp4 startFrom prototype border hideLoader factor loadRequests switch empty effect charAt goTo pause lockWheel loadImage isStrNum c
16ontext bind hash iframe webkit Math scrollLeft mimeType isDefined inner WLfuncs mouseID source isPaused play fullViewPort mouseenter minScale remove event isString exec authority scrollTop refresh pluginspage error description maxScale clearTimeout Share offsetX push px addContent fullScreenAction cancelFullScreen mouseleave Array loadContent no installed lockSwipe 0px isFunc obj padding createElement ondragstart autoplay openTag ogg load protocol getNum showLoader childNodes status active createUI www generateThumbnails throw offsetY easeInOutCirc generateBoxes Plugins iL off time none lockKey join supportsFullScreen getVersionDone loadedFadeSpeed repositionSpeed newDims getNewDimenstions prevScale nextScale pageOffsetY pageOffsetX positionThumbnails fadeSpeed verIE hasMimeType concat match success errors isNum clone right resume setOption filter item emb delete alert prevOffsetX nextOffsetX BIfuncs codebaseSearch QuickTime removeChild application navigator click callArray getElementsByTagName grid thumbs reposition display dispatchItemsEvents initObj msie funcs clsid OS classid getWidth getDOMobj setStyle ajax itemsObject originalEvent touches arrows onBeforeChange onAfterChange search supportTouch substring fullScreenButton classID ShockwaveFlash preload nextOpacity ActiveXEnabled addContents patchEvents scrollTo unbind inline prevOpacity cache crossDomain global ifModified username Object password beforeSend requestFullScreen TypeError naturalWidthOld naturalHeightOld fullStretchTypes complete touchstart divID getAttribute repositionEl wrapper trigger tabindex php_js lastIndexOf id slice icon codebase dontGenerateThumbs shockwave true plugin to apple 200 img cdbaseUpper verIEfull cdbaseLower getPluginFileVersion previous vspace doFullscreen not cdbase2ver dataType hspace hasClass preventDefault smartRecognition mobileOptimizer normalizeItems minIEver ogv one docModeIE resetCycle patchItemsEvents noscroll download diff _ canUseIsMin getElementById easeInCirc hashChangeHandler findNavPlugin parentNode garbage enabledPlugin encodeURIComponent userAgent enterFullscreen php parseFloat DONEfuncs innerPlayButton outerHTML reddit setCaption SEARCH count setSocial toString yes digits activeOpacity isFullScreen normalOpacity mobileMaxWidth maxWidth maxHeight isActiveXObject embed videoType touchend offsetW offsetH dims onDoneEmptyDiv pauseTime buttons attachItems removeAttr keepAspectRatio pop m4v Win html5H264 html5WebM html5Vorbis hideableElements missingPlugin flashvars 11CF position browserPrefixes target fullScreenEventName iTap verticalDistanceThreshold jQuery align requires The tagName Enter index default nodeName getVersionDelimiter movePrev shift_enter esc AXO fPush ja up emptyDiv destroy lineHeight down startPaused blur instant divWidth onOpen 444553540000 void pauseOnHover 02BF25D5 WLfuncs0 winHandler attachEvent addEventListener mov Date getTime pageX pageY 500 closedhand 8C17 1E3 vertical 4B23 loadSwitcher element switchSpeed BC80 30px thumbsOffset D3488ABDDC6B jsonp closeButton SWCtl 192px script normalizeSocial facebook share rightContext 3E3 leftContext twitter _blank init runWLfuncs addWinEvent Version isChrome Gecko baseline delicious fontSize digg submit slideShow visibility TDCCtl getNumRegx margin ul li ha javascript pageYOffset open readyState verticalAlign iPhone iPad iPod na overflow domain insertBefore Opera loadContents HTML onExitFullScreen exitFullscreen ENV GetVariable QuickTimeVersion handler onEnterFullScreen onHide Msxml2 fadeTo CDBASE2VER thumbsOffsetW thumbsOffsetH 1280 nextOffsetY prevOffsetY 720 bottom accesskey noexternaldata isMin la background rv getCodeBaseVersion recognized ma insertHTML Shockwave Flash pd33993399 write documentMode linkid touchmove html5QuickTime h264 mousemove poster loop scale tofit chrome CancelFullScreen ms insertDivInBody 128 availPlugins delay moz randomStart instantCall pl teardown CollectGarbage setup special always allowFullScreen attrFn ogpRecognition cleanup the isNaN initScript trying when occurred An Shift setTime ia currentSrc Fullscreen version0 convertFuncs response rRdD moveNext 300 XMLDOM isPlainObject 120 180 5E3 Press Esc images results 3E4 mozallowfullscreen Exit Slideshow Next Previous webkitAllowFullScreen scroll auto scrolling photo contents frameborder content your are attempting view player Adobe getflash GET jquery that was loaded too old easing tap taphold swipeleft swiperight scrollstart scrollstop adobe allowScriptAccess showall transparent wmode fix dispatch handle menu 000000 bgcolor high quality LOOP khtml AUTOPLAY fullscreenchange fullScreen webkitIsFullScreen FullScreen RequestFullScreen SCALE qt opera compatible mozilla ratio safari toUpperCase transform perspective translateZ PluginDetect stretch fit fill array scrollbars resizable menubar window onclick 360 640 Digg phase Delicious post Google google plus https mimeTypes googleplus Twitter home Facebook getMimeEnabledPlugin ActiveXObject shiftKey keyCode keydown 2E3 resize vendor platform product onabort onerror Mac Linux FreeBSD CE onload Mobile Pocket PC Image float appendTo Function cc_on MSIE hidden children 400 behavior clientcaps getComponentVersion 89820200 ECBD prepend 8B85 00AA005B4383 componentid setAttribute back compatMode metadata XMLHTTP DOMDocument Microsoft dark WEBM eval Shell UIHelper Scripting Dictionary wmplayer ocx verGecko isGecko prevItem verChrome nextItem Chrome verSafari isSafari Apple Safari currentItem verOpera isOpera prevElement nextElement currentElement ig mouseout mouseover 980 pluginName dragger java random floor round sqrt abs mouseup mousedown Mini IEMobile BlackBerry webOS Android ontouchstart 3gp movie mpeg mpg avi txt shtml rhtml rb phtml php5 onWindowLoaded php4 plugindetect php3 jsp htm cfm cgi aspx asp jpe OTF jfif scrollWidth offsetWidth getTagStatus tif tiff focus png jpg jpeg gif bmp outlineStyle borderStyle swf cab qtplugin outline qtactivex QT_GenerateOBJECTText pageXOffset lt block absolute innerHTML appendChild ne quicktimeplayer macpaint le QuickTimeCheckObject QuickTimeCheck progID0 controller rc 9999 RC beta alpha dev Plug port hostname host D27CDB6E AE6D 96B8 Str
16ing inArray AllowScriptAccess gradient director iLCallback 166B1BCA 3F9C 8075 ShockwaveVersion Director zz even of nArguments should form atttributeName attributeValue oniLightBoxHashChange getSource net insertAfter contentWindow onpropertychange propertyName Height Width x3c client innerWidth or defined Infinity Number".split(" "),0,{})); 17/* revo-slider/extensions/revolution.extension.parallax.min.js */ 18!function(e){var a=jQuery.fn.revolution,r=a.is_mobile();jQuery.extend(!0,a,{checkForParallax:function(e,t){function l(e){if("3D"==o.type||"3d"==o.type){e.find(".slotholder").wrapAll('<div class="dddwrapper" style="width:100%;height:100%;position:absolute;top:0px;left:0px;overflow:hidden"></div>'),e.find(".tp-parallax-wrap").wrapAll('<div class="dddwrapper-layer" style="width:100%;height:100%;position:absolute;top:0px;left:0px;z-index:5;overflow:'+o.ddd_layer_overflow+';"></div>'),e.find(".rs-parallaxlevel-tobggroup").closest(".tp-parallax-wrap").wrapAll('<div class="dddwrapper-layertobggroup" style="position:absolute;top:0px;left:0px;z-index:50;width:100%;height:100%"></div>');var a=e.find(".dddwrapper"),r=e.find(".dddwrapper-layer");e.find(".dddwrapper-layertobggroup").appendTo(a),"carousel"==t.sliderType&&("on"==o.ddd_shadow&&a.addClass("dddwrappershadow"),punchgs.TweenLite.set(a,{borderRadius:t.carousel.border_radius})),punchgs.TweenLite.set(e,{overflow:"visible",transformStyle:"preserve-3d",perspective:1600}),punchgs.TweenLite.set(a,{force3D:"auto",transformOrigin:"50% 50%"}),punchgs.TweenLite.set(r,{force3D:"auto",transformOrigin:"50% 50%",zIndex:5}),punchgs.TweenLite.set(t.ul,{transformStyle:"preserve-3d",transformPerspective:1600})}}var o=t.parallax;if(r&&"on"==o.disable_onmobile)return!1;("3D"==o.type||"3d"==o.type)&&(punchgs.TweenLite.set(t.c,{overflow:o.ddd_overflow}),punchgs.TweenLite.set(t.ul,{overflow:o.ddd_overflow}),"carousel"!=t.sliderType&&"on"==o.ddd_shadow&&(t.c.prepend('<div class="dddwrappershadow"></div>'),punchgs.TweenLite.set(t.c.find(".dddwrappershadow"),{force3D:"auto",transformPerspective:1600,transformOrigin:"50% 50%",width:"100%",height:"100%",position:"absolute",top:0,left:0,zIndex:0}))),t.li.each(function(){l(jQuery(this))}),("3D"==o.type||"3d"==o.type&&t.c.find(".tp-static-layers").length>0)&&(punchgs.TweenLite.set(t.c.find(".tp-static-layers"),{top:0,left:0,width:"100%",height:"100%"}),l(t.c.find(".tp-static-layers")));for(var s=1;s<=o.levels.length;s++)t.c.find(".rs-parallaxlevel-"+s).each(function(){var e=jQuery(this).closest(".tp-parallax-wrap");e.data("parallaxlevel",o.levels[s-1]),e.addClass("tp-parallax-container")});("mouse"==o.type||"scroll+mouse"==o.type||"mouse+scroll"==o.type||"3D"==o.type||"3d"==o.type)&&(e.mouseenter(function(a){var r=e.find(".active-revslide"),t=e.offset().top,l=e.offset().left,o=a.pageX-l,s=a.pageY-t;r.data("enterx",o),r.data("entery",s)}),e.on("mousemove.hoverdir, mouseleave.hoverdir, trigger3dpath",function(a,r){var l=r&&r.li?r.li:e.find(".active-revslide");if("enterpoint"==o.origo){var s=e.offset().top,i=e.offset().left;null==l.data("enterx")&&l.data("enterx",a.pageX-i),null==l.data("entery")&&l.data("entery",a.pageY-s);var n=l.data("enterx")||a.pageX-i,d=l.data("entery")||a.pageY-s,p=n-(a.pageX-i),c=d-(a.pageY-s),u=o.speed/1e3||.4}else s=e.offset().top,i=e.offset().left,p=t.conw/2-(a.pageX-i),c=t.conh/2-(a.pageY-s),u=o.speed/1e3||3;"mouseleave"==a.type&&(p=o.ddd_lasth||0,c=o.ddd_lastv||0,u=1.5);var h=[];if(l.find(".tp-parallax-container").each(function(e){h.push(jQuery(this))}),e.find(".tp-static-layers .tp-parallax-container").each(function(){h.push(jQuery(this))}),jQuery.each(h,function(){var e=jQuery(this),a=parseInt(e.data("parallaxlevel"),0),r="3D"==o.type||"3d"==o.type?a/200:a/100,t=p*r,l=c*r;"scroll+mouse"==o.type||"mouse+scroll"==o.type?punchgs.TweenLite.to(e,u,{force3D:"auto",x:t,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(e,u,{force3D:"auto",x:t,y:l,ease:punchgs.Power3.easeOut,overwrite:"all"})}),"3D"==o.type||"3d"==o.type){var w=".tp-revslider-slidesli .dddwrapper, .dddwrappershadow, .tp-revslider-slidesli .dddwrapper-layer, .tp-static-layers .dddwrapper-layer";"carousel"===t.sliderType&&(w=".tp-revslider-slidesli .dddwrapper, .tp-revslider-slidesli .dddwrapper-layer, .tp-static-layers .dddwrapper-layer"),t.c.find(w).each(function(){var e=jQuery(this),r=o.levels[o.levels.length-1]/200,l=p*r,s=c*r,i=0==t.conw?0:Math.round(p/t.conw*r*100)||0,n=0==t.conh?0:Math.round(c/t.conh*r*100)||0,d=e.closest("li"),h=0,w=!1;e.hasClass("dddwrapper-layer")&&(h=o.ddd_z_correction||65,w=!0),e.hasClass("dddwrapper-layer")&&(l=0,s=0),d.hasClass("active-revslide")||"carousel"!=t.sliderType?"on"!=o.ddd_bgfreeze||w?punchgs.TweenLite.to(e,u,{rotationX:n,rotationY:-i,x:l,z:h,y:s,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(e,.5,{force3D:"auto",rotationY:0,rotationX:0,z:0,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(e,.5,{force3D:"auto",rotationY:0,z:0,x:0,y:0,rotationX:0,z:0,ease:punchgs.Power3.easeOut,overwrite:"all"}),"mouseleave"==a.type&&punchgs.TweenLite.to(jQuery(this),3.8,{z:0,ease:punchgs.Power3.easeOut})})}}),r&&(window.ondeviceorientation=function(a){var r=Math.round(a.beta||0)-70,l=Math.round(a.gamma||0),s=e.find(".active-revslide");if(jQuery(window).width()>jQuery(window).height()){var i=l;l=r,r=i}var n=e.width(),d=e.height(),p=360/n*l,c=180/d*r,u=o.speed/1e3||3,h=[];
18if(s.find(".tp-parallax-container").each(function(e){h.push(jQuery(this))}),e.find(".tp-static-layers .tp-parallax-container").each(function(){h.push(jQuery(this))}),jQuery.each(h,function(){var e=jQuery(this),a=parseInt(e.data("parallaxlevel"),0)/100,r=p*a*2,t=c*a*4;punchgs.TweenLite.to(e,u,{force3D:"auto",x:r,y:t,ease:punchgs.Power3.easeOut,overwrite:"all"})}),"3D"==o.type||"3d"==o.type){var w=".tp-revslider-slidesli .dddwrapper, .dddwrappershadow, .tp-revslider-slidesli .dddwrapper-layer, .tp-static-layers .dddwrapper-layer";"carousel"===t.sliderType&&(w=".tp-revslider-slidesli .dddwrapper, .tp-revslider-slidesli .dddwrapper-layer, .tp-static-layers .dddwrapper-layer"),t.c.find(w).each(function(){var e=jQuery(this),r=o.levels[o.levels.length-1]/200;offsh=p*r,offsv=c*r*3,offrv=0==t.conw?0:Math.round(p/t.conw*r*500)||0,offrh=0==t.conh?0:Math.round(c/t.conh*r*700)||0,li=e.closest("li"),zz=0,itslayer=!1,e.hasClass("dddwrapper-layer")&&(zz=o.ddd_z_correction||65,itslayer=!0),e.hasClass("dddwrapper-layer")&&(offsh=0,offsv=0),li.hasClass("active-revslide")||"carousel"!=t.sliderType?"on"!=o.ddd_bgfreeze||itslayer?punchgs.TweenLite.to(e,u,{rotationX:offrh,rotationY:-offrv,x:offsh,z:zz,y:offsv,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(e,.5,{force3D:"auto",rotationY:0,rotationX:0,z:0,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(e,.5,{force3D:"auto",rotationY:0,z:0,x:0,y:0,rotationX:0,z:0,ease:punchgs.Power3.easeOut,overwrite:"all"}),"mouseleave"==a.type&&punchgs.TweenLite.to(jQuery(this),3.8,{z:0,ease:punchgs.Power3.easeOut})})}})),a.scrollTicker(t,e)},scrollTicker:function(e,t){1!=e.scrollTicker&&(e.scrollTicker=!0,r?(punchgs.TweenLite.ticker.fps(150),punchgs.TweenLite.ticker.addEventListener("tick",function(){a.scrollHandling(e)},t,!1,1)):jQuery(window).on("scroll mousewheel DOMMouseScroll",function(){a.scrollHandling(e,!0)})),a.scrollHandling(e,!0)},scrollHandling:function(e,t){e.lastwindowheight=e.lastwindowheight||jQuery(window).height();var l=e.c.offset().top,o=jQuery(window).scrollTop(),s=new Object,i=e.viewPort,n=e.parallax;if(e.lastscrolltop==o&&!e.duringslidechange&&!t)return!1;punchgs.TweenLite.delayedCall(.2,function(e,a){e.lastscrolltop=a},[e,o]),s.top=l-o,s.h=0==e.conh?e.c.height():e.conh,s.bottom=l-o+s.h;var d=s.top<0||s.h>e.lastwindowheight?s.top/s.h:s.bottom>e.lastwindowheight?(s.bottom-e.lastwindowheight)/s.h:0;if(e.scrollproc=d,a.callBackHandling&&a.callBackHandling(e,"parallax","start"),i.enable){var p=1-Math.abs(d);p=0>p?0:p,jQuery.isNumeric(i.visible_area)||-1!==i.visible_area.indexOf("%")&&(i.visible_area=parseInt(i.visible_area)/100),1-i.visible_area<=p?e.inviewport||(e.inviewport=!0,a.enterInViewPort(e)):e.inviewport&&(e.inviewport=!1,a.leaveViewPort(e))}if(r&&"on"==e.parallax.disable_onmobile)return!1;var c=new punchgs.TimelineLite;c.pause(),"3d"!=n.type&&"3D"!=n.type&&(("scroll"==n.type||"scroll+mouse"==n.type||"mouse+scroll"==n.type)&&e.c.find(".tp-parallax-container").each(function(a){var r=jQuery(this),t=parseInt(r.data("parallaxlevel"),0)/100,l=d*(-t*e.conh)||0;r.data("parallaxoffset",l),c.add(punchgs.TweenLite.set(r,{force3D:"auto",y:l}),0)}),e.c.find(".tp-revslider-slidesli .slotholder, .tp-revslider-slidesli .rs-background-video-layer").each(function(){var a=jQuery(this),r=a.data("bgparallax")||e.parallax.bgparallax;if(void 0!==(r="on"==r?1:r)||"off"!==r){var t=e.parallax.levels[parseInt(r,0)-1]/100,l=d*(-t*e.conh)||0;jQuery.isNumeric(l)&&c.add(punchgs.TweenLite.set(a,{position:"absolute",top:"0px",left:"0px",backfaceVisibility:"hidden",force3D:"true",y:l+"px"}),0)}})),a.callBackHandling&&a.callBackHandling(e,"parallax","end"),c.play(0)}})}(jQuery); 19/* revo-slider/extensions/revolution.extension.kenburn.min.js */ 20!function(){var t=jQuery.fn.revolution;jQuery.extend(!0,t,{stopKenBurn:function(t){null!=t.data("kbtl")&&t.data("kbtl").pause()},startKenBurn:function(t,e,a){var r=t.data(),n=t.find(".defaultimg"),s=n.data("lazyload")||n.data("src"),i=(r.owidth,r.oheight,"carousel"===e.sliderType?e.carousel.slide_width:e.ul.width()),o=e.ul.height();t.data("kbtl")&&t.data("kbtl").kill(),a=a||0,0==t.find(".tp-kbimg").length&&(t.append('<div class="tp-kbimg-wrap" style="z-index:2;width:100%;height:100%;top:0px;left:0px;position:absolute;"><img class="tp-kbimg" src="'+s+'" style="position:absolute;" width="'+r.owidth+'" height="'+r.oheight+'"></div>'),t.data("kenburn",t.find(".tp-kbimg")));var d=function(t,e,a,r,n,s,i){var o=t*a,d=e*a,l=Math.abs(r-o),h=Math.abs(n-d),p=new Object;return p.l=(0-s)*l,p.r=p.l+o,p.t=(0-i)*h,p.b=p.t+d,p.h=s,p.v=i,p},l=function(t,e,a,r,n){var s=t.bgposition.split(" ")||"center center",i="center"==s[0]?"50%":"left"
20==s[0]||"left"==s[1]?"0%":"right"==s[0]||"right"==s[1]?"100%":s[0],o="center"==s[1]?"50%":"top"==s[0]||"top"==s[1]?"0%":"bottom"==s[0]||"bottom"==s[1]?"100%":s[1];i=parseInt(i,0)/100||0,o=parseInt(o,0)/100||0;var l=new Object;return l.start=d(n.start.width,n.start.height,n.start.scale,e,a,i,o),l.end=d(n.start.width,n.start.height,n.end.scale,e,a,i,o),l};null!=t.data("kbtl")&&(t.data("kbtl").kill(),t.removeData("kbtl"));var h=t.data("kenburn"),p=h.parent(),g=function(t,e,a){var r=a.scalestart/100,n=a.scaleend/100,s=null!=a.oofsetstart&&a.offsetstart.split(" ")||[0,0],i=null!=a.offsetend&&a.offsetend.split(" ")||[0,0];a.bgposition="center center"==a.bgposition?"50% 50%":a.bgposition;var o=new Object;a.owidth,a.oheight;if(a.owidth,a.oheight,o.start=new Object,o.starto=new Object,o.end=new Object,o.endo=new Object,o.start.width=t,o.start.height=o.start.width/a.owidth*a.oheight,o.start.height<e){var d=e/o.start.height;o.start.height=e,o.start.width=o.start.width*d}o.start.transformOrigin=a.bgposition,o.start.scale=r,o.end.scale=n,o.start.rotation=a.rotatestart+"deg",o.end.rotation=a.rotateend+"deg";var h=l(a,t,e,0,o);s[0]=parseFloat(s[0])+h.start.l,i[0]=parseFloat(i[0])+h.end.l,s[1]=parseFloat(s[1])+h.start.t,i[1]=parseFloat(i[1])+h.end.t;var p=h.start.r-h.start.l,g=h.start.b-h.start.t,c=h.end.r-h.end.l,b=h.end.b-h.end.t;return s[0]=s[0]>0?0:p+s[0]<t?t-p:s[0],i[0]=i[0]>0?0:c+i[0]<t?t-c:i[0],s[1]=s[1]>0?0:g+s[1]<e?e-g:s[1],i[1]=i[1]>0?0:b+i[1]<e?e-b:i[1],o.starto.x=s[0]+"px",o.starto.y=s[1]+"px",o.endo.x=i[0]+"px",o.endo.y=i[1]+"px",o.end.ease=o.endo.ease=a.ease,o.end.force3D=o.endo.force3D=!0,o}(i,o,r),c=new punchgs.TimelineLite;c.pause(),g.start.transformOrigin="0% 0%",g.starto.transformOrigin="0% 0%",c.add(punchgs.TweenLite.fromTo(h,r.duration/1e3,g.start,g.end),0),c.add(punchgs.TweenLite.fromTo(p,r.duration/1e3,g.starto,g.endo),0),c.progress(a),c.play(),t.data("kbtl",c)}})}(jQuery); 21/* pages/fullwidth-gallery.min.js */ 22!function(o,t,i,e){"use strict";o("#grid-container").cubeportfolio({filters:"#filters-container",loadMore:"#loadMore-container",loadMoreAction:"auto",layoutMode:"grid",defaultFilter:"*",animationType:"fadeOutTop",gapHorizontal:0,gapVertical:0,gridAdjustment:"responsive",mediaQueries:[{width:1600,cols:5},{width:1200,cols:4},{width:800,cols:3},{width:500,cols:2},{width:320,cols:1}],caption:"zoom",displayType:"lazyLoading",displayTypeSpeed:100,lightboxDelegate:".cbp-lightbox",lightboxGallery:!0,lightboxTitleSrc:"data-title",lightboxCounter:'<div class="cbp-popup-lightbox-counter">{{current}} of {{total}}</div>'})}(jQuery,window,document); 23/* pages/masonry-gallery.min.js */ 24!function(e,i,t,a){"use strict";e("#grid-container").cubeportfolio({filters:"#filters-container",loadMore:"#loadMore-container",loadMoreAction:"click",layoutMode:"grid",defaultFilter:"*",animationType:"quicksand",gapHorizontal:35,gapVertical:25,gridAdjustment:"responsive",mediaQueries:[{width:1100,cols:4},{width:800,cols:3},{width:500,cols:2},{width:320,cols:1}],caption:"zoom",displayType:"lazyLoading",displayTypeSpeed:100,lightboxDelegate:".cbp-lightbox",lightboxGallery:!0,lightboxTitleSrc:"data-title",lightboxCounter:'<div class="cbp-popup-lightbox-counter">{{current}} of {{total}}</div>',singlePageDelegate:".cbp-singlePage",singlePageDeeplinking:!0,singlePageStickyNavigation:!0,singlePageCounter:'<div class="cbp-popup-singlePage-counter">{{current}} of {{total}}</div>',singlePageCallback:function(i,t){var a=this;e.ajax({url:i,type:"GET",dataType:"html",timeout:5e3}).done(function(e){a.updateSinglePage(e)}).fail(function(){a.updateSinglePage("Error! Please refresh the page!")})}})}(jQuery,window,document); 25/* pages/albumes.min.js */ 26!function(o,t,i,e){"use strict";o("#grid-container-fullwidth-gallery").cubeportfolio({filters:"#filters-container",loadMore:"#loadMore-container",loadMoreAction:"auto",layoutMode:"grid",defaultFilter:"*",animationType:"fadeOutTop",gapHorizontal:0,gapVertical:0,gridAdjustment:"responsive",mediaQueries:[{width:1600,cols:5},{width:1200,cols:4},{width:800,cols:3},{width:500,cols:2},{width:320,cols:1}
26],caption:"zoom",displayType:"lazyLoading",displayTypeSpeed:100,lightboxDelegate:".cbp-lightbox",lightboxGallery:!0,lightboxTitleSrc:"data-title",lightboxCounter:'<div class="cbp-popup-lightbox-counter">{{current}} of {{total}}</div>'})}(jQuery,window,document),function(o,t,i,e){"use strict";o("#grid-container-masonry-gallery").cubeportfolio({filters:"#filters-container",loadMore:"#loadMore-container",loadMoreAction:"click",layoutMode:"grid",defaultFilter:"*",animationType:"quicksand",gapHorizontal:35,gapVertical:25,gridAdjustment:"responsive",mediaQueries:[{width:1100,cols:4},{width:800,cols:3},{width:500,cols:2},{width:320,cols:1}],caption:"zoom",displayType:"lazyLoading",displayTypeSpeed:100,lightboxDelegate:".cbp-lightbox",lightboxGallery:!0,lightboxTitleSrc:"data-title",lightboxCounter:'<div class="cbp-popup-lightbox-counter">{{current}} of {{total}}</div>'})}(jQuery,window,document); 27/* progressbar.min.js */ 28!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).ProgressBar=t()}}(function(){return function t(e,n,i){function r(s,a){if(!n[s]){if(!e[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);var h=new Error("Cannot find module '"+s+"'");throw h.code="MODULE_NOT_FOUND",h}var c=n[s]={exports:{}};e[s][0].call(c.exports,function(t){var n=e[s][1][t];return r(n||t)},c,c.exports,t,e,n,i)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;s<i.length;s++)r(i[s]);return r}({1:[function(t,e,n){(function(){var t=this||Function("return this")(),i=function(){"use strict";var i,r,o,s,a,u,h="linear",c=1e3/60,p=Date.now?Date.now:function(){return+new Date},l="undefined"!=typeof SHIFTY_DEBUG_NOW?SHIFTY_DEBUG_NOW:p;function f(){}function d(t,e){var n;for(n in t)Object.hasOwnProperty.call(t,n)&&e(n)}function _(t,e){return d(e,function(n){t[n]=e[n]}),t}function g(t,e){d(e,function(n){void 0===t[n]&&(t[n]=e[n])})}function y(t,e,n,r,o,s,a){var u,h,c,p=t<s?0:(t-s)/o;for(u in e)e.hasOwnProperty(u)&&(c="function"==typeof(h=a[u])?h:i[h],e[u]=w(n[u],r[u],c,p));return e}function w(t,e,n,i){return t+(e-t)*n(i)}function m(t,e){var n=x.prototype.filter,i=t._filterArgs;d(n,function(r){void 0!==n[r][e]&&n[r][e].apply(t,i)})}function v(t,e,n,i,r,h,p,f,d,_,g){o=e+n+i,s=Math.min(g||l(),o),a=s>=o,u=i-(o-s),t.isPlaying()&&(a?(d(p,t._attachment,u),t.stop(!0)):(t._scheduleId=_(t._timeoutHandler,c),m(t,"beforeTween"),s<e+n?y(1,r,h,p,1,1,f):y(s,r,h,p,i,e+n,f),m(t,"afterTween"),d(r,t._attachment,u)))}function S(t,e){var n={},i=typeof e;return d(t,"string"===i||"function"===i?function(t){n[t]=e}:function(t){n[t]||(n[t]=e[t]||h)}),n}function x(t,e){this._currentState=t||{},this._configured=!1,this._scheduleFunction=r,void 0!==e&&this.setConfig(e)}return r="undefined"!=typeof window&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||window.mozCancelRequestAnimationFrame&&window.mozRequestAnimationFrame)||setTimeout,x.prototype.tween=function(t){return this._isTweening?this:(void 0===t&&this._configured||this.setConfig(t),this._timestamp=l(),this._start(this.get(),this._attachment),this.resume())},x.prototype.setConfig=function(t){t=t||{},this._configured=!0,this._attachment=t.attachment,this._pausedAtTime=null,this._scheduleId=null,this._delay=t.delay||0,this._start=t.start||f,this._step=t.step||f,this._finish=t.finish||f,this._duration=t.duration||500,this._currentState=_({},t.from)||this.get(),this._originalState=this.get(),this._targetState=_({},t.to)||this.get();var e=this;this._timeoutHandler=function(){v(e,e._timestamp,e._delay,e._duration,e._currentState,e._originalState,e._targetState,e._easing,e._step,e._scheduleFunction)};var n=this._currentState,i=this._targetState;return g(i,n),this._easing=S(n,t.easing||h),this._filterArgs=[n,this._originalState,i,this._easing],m(this,"tweenCreated"),this},x.prototype.get=function(){return _({},this._currentState)},x.prototype.set=function(t){this._currentState=t},x.prototype.pause=function(){return this._pausedAtTime=l(),this._isPaused=!0,this},x.prototype.resume=function(){return this._isPaused&&(this._timestamp+=l()-this._pausedAtTime),this._isPaused=!1,this._isTweening=!0,this._timeoutHandler(),this},x.prototype.seek=function(t){t=Math.max(t,0);var e=l();return this._timestamp+t===0?this:(this._timestamp=e-t,this.isPlaying()||(this._isTweening=!0,this._isPaused=!1,v(this,this._timestamp,this._delay,this._duration,this._currentState,this._originalState,this._targetState,this._easing,this._step,this._scheduleFunction,e),this.pause()),this)},x.prototype.stop=function(e){return this._isTweening=!1,this._isPaused=!1,this._timeoutHandler=f,(t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.oCancelAnimationFrame||t.msCancelAnimationFrame||t.mozCancelRequestAnimationFrame||t.clearTimeout)(this._scheduleId),e&&(m(this,"beforeTween"),y(1,this._currentState,this._originalState,this._targetState,1,0,this._easing),m(this,"afterTween"),m(this,"afterTweenEnd"),this._finish.call(this,this._currentState,this._attachment)),this},x.prototype.isPlaying=function(){return this._isTweening&&!this._isPaused},x.prototype.setScheduleFunction=function(t){this._scheduleFunction=t},x.prototype.dispose=function(){var t;for(t in this)this.hasOwnProperty(t)&&delete this[t]},x.prototype.filter={},x.prototype.formula={linear:function(t){return t}},i=x.prototype.formula,_(x,{now:l,each:d,tweenProps:y,tweenProp:w,applyFilter:m,shallowCopy:_,defaults:g,composeEasingObject:S}),"function"==typeof SHIFTY_DEBUG_NOW&&(t.timeoutHandler=v),"object"==typeof n?e.exports=x:void 0===t.Tweenable&&(t.Tweenable=x),x}();i.shallowCopy(i.prototype.formula,{easeInQuad:function(t){return Math.pow(t,2)},easeOutQuad:function(t){return-(Math.pow(t-1,2)-1)},easeInOutQuad:function(t){return(t/=.5)<1?.5*Math.pow(t,2):-.5*((t-=2)*t-2)},easeInCubic:function(t){return Math.pow(t,3)},easeOutCubic:function(t){return Math.pow(t-1,3)+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},easeInQuart:function(t){return Math.pow(t,4)},easeOutQuart:function(t){return-(Math.pow(t-1,4)-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},easeInQuint:function(t){return Math.pow(t,5)},easeOutQuint:function(t){return Math.pow(t-1,5)+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*Math.pow(t,5):.5*(Math.pow(t-2,5)+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-Math.pow(t-1,2))},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},elastic:function(t){return-1*Math.pow(4,-8*t)*Math.sin((6*t-1)*(2*Math.PI)/2)+1},swingFromTo:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)}
28,swingFrom:function(t){var e=1.70158;return t*t*((e+1)*t-e)},swingTo:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},bounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bouncePast:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?2-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?2-(7.5625*(t-=2.25/2.75)*t+.9375):2-(7.5625*(t-=2.625/2.75)*t+.984375)},easeFromTo:function(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},easeFrom:function(t){return Math.pow(t,4)},easeTo:function(t){return Math.pow(t,.25)}}),function(){function t(t,e,n,i,r,o){var s=0,a=0,u=0,h=0,c=0,p=0;function l(t){return((s*t+a)*t+u)*t}function f(t){return t>=0?t:0-t}return s=1-(u=3*e)-(a=3*(i-e)-u),h=1-(p=3*n)-(c=3*(r-n)-p),function(t,e){return n=function(t,e){var n,i,r,o,h,c,p;for(r=t,c=0;c<8;c++){if(f(o=l(r)-t)<e)return r;if(f(h=(3*s*(p=r)+2*a)*p+u)<1e-6)break;r-=o/h}if(i=1,(r=t)<(n=0))return n;if(r>i)return i;for(;n<i;){if(f((o=l(r))-t)<e)return r;t>o?n=r:i=r,r=.5*(i-n)+n}return r}(t,e),((h*n+c)*n+p)*n;var n}(t,function(t){return 1/(200*t)}(o))}i.setBezierFunction=function(e,n,r,o,s){var a=function(e,n,i,r){return function(o){return t(o,e,n,i,r,1)}}(n,r,o,s);return a.displayName=e,a.x1=n,a.y1=r,a.x2=o,a.y2=s,i.prototype.formula[e]=a},i.unsetBezierFunction=function(t){delete i.prototype.formula[t]}}(),function(){var t=new i;t._filterArgs=[],i.interpolate=function(e,n,r,o,s){var a=i.shallowCopy({},e),u=s||0,h=i.composeEasingObject(e,o||"linear");t.set({});var c=t._filterArgs;c.length=0,c[0]=a,c[1]=e,c[2]=n,c[3]=h,i.applyFilter(t,"tweenCreated"),i.applyFilter(t,"beforeTween");var p=function(t,e,n,r,o,s){return i.tweenProps(r,e,t,n,1,s,o)}(e,a,n,r,h,u);return i.applyFilter(t,"afterTween"),p}}(),function(t){var e=/(\d|\-|\.)/,n=/([^\-0-9\.]+)/g,i=/[0-9.\-]+/g,r=new RegExp("rgb\\("+i.source+/,\s*/.source+i.source+/,\s*/.source+i.source+"\\)","g"),o=/^.*\(/,s=/#([0-9]|[a-f]){3,6}/gi,a="VAL";function u(t,e){var n,i=[],r=t.length;for(n=0;n<r;n++)i.push("_"+e+"_"+n);return i}function h(e){t.each(e,function(t){var n=e[t];"string"==typeof n&&n.match(s)&&(e[t]=f(s,n,c))})}function c(t){var e=function(t){3===(t=t.replace(/#/,"")).length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]);return p[0]=l(t.substr(0,2)),p[1]=l(t.substr(2,2)),p[2]=l(t.substr(4,2)),p}(t);return"rgb("+e[0]+","+e[1]+","+e[2]+")"}var p=[];function l(t){return parseInt(t,16)}function f(t,e,n){var i=e.match(t),r=e.replace(t,a);if(i)for(var o,s=i.length,u=0;u<s;u++)o=i.shift(),r=r.replace(a,n(o));return r}function d(t){for(var e=t.match(i),n=e.length,r=t.match(o)[0],s=0;s<n;s++)r+=parseInt(e[s],10)+",";return r=r.slice(0,-1)+")"}function _(e,n){t.each(n,function(t){for(var i=w(e[t]),r=i.length,o=0;o<r;o++)e[n[t].chunkNames[o]]=+i[o];delete e[t]})}function g(e,n){t.each(n,function(t){var i=e[t],o=function(t,e){y.length=0;for(var n=e.length,i=0;i<n;i++)y.push(t[e[i]]);return y}(function(t,e){for(var n,i={},r=e.length,o=0;o<r;o++)n=e[o],i[n]=t[n],delete t[n];return i}(e,n[t].chunkNames),n[t].chunkNames);i=function(t,e){for(var n=t,i=e.length,r=0;r<i;r++)n=n.replace(a,+e[r].toFixed(4));return n}(n[t].formatString,o),e[t]=f(r,i,d)})}var y=[];function w(t){return t.match(i)}t.prototype.filter.token={tweenCreated:function(i,r,o,s){var c,p;h(i),h(r),h(o),this._tokenData=(c=i,p={},t.each(c,function(t){var i,r,o=c[t];if("string"==typeof o){var s=w(o);p[t]={formatString:(i=o,r=i.match(n),r?(1===r.length||i[0].match(e))&&r.unshift(""):r=["",""],r.join(a)),chunkNames:u(s,t)}}}),p)},beforeTween:function(e,n,i,r){!function(e,n){t.each(n,function(t){var i,r=n[t].chunkNames,o=r.length,s=e[t];if("string"==typeof s){var a=s.split(" "),u=a[a.length-1];for(i=0;i<o;i++)e[r[i]]=a[i]||u}else for(i=0;i<o;i++)e[r[i]]=s;delete e[t]})}(r,this._tokenData),_(e,this._tokenData),_(n,this._tokenData),_(i,this._tokenData)},afterTween:function(e,n,i,r){g(e,this._tokenData),g(n,this._tokenData),g(i,this._tokenData),function(e,n){t.each(n,function(t){var i=n[t].chunkNames,r=i.length,o=e[i[0]];if("string"==typeof o){for(var s="",a=0;a<r;a++)s+=" "+e[i[a]],delete e[i[a]];e[t]=s.substr(1)}else e[t]=o})}(r,this._tokenData)}}}(i)}).call(null)},{}],2:[function(t,e,n){var i=t("./shape"),r=t("./utils"),o=function(t,e){this._pathTemplate="M 50,50 m 0,-{radius} a {radius},{radius} 0 1 1 0,{2radius} a {radius},{radius} 0 1 1 0,-{2radius}",this.containerAspectRatio=1,i.apply(this,arguments)};(o.prototype=new i).constructor=o,o.prototype._pathString=function(t){var e=t.strokeWidth;t.trailWidth&&t.trailWidth>t.strokeWidth&&(e=t.trailWidth);var n=50-e/2;return r.render(this._pathTemplate,{radius:n,"2radius":2*n})},o.prototype._trailString=function(t){return this._pathString(t)},e.exports=o},{"./shape":7,"./utils":8}],3:[function(t,e,n){var i=t("./shape"),r=t("./utils"),o=function(t,e){this._pathTemplate="M 0,{center} L 100,{center}",i.apply(this,arguments)};(o.prototype=new i).constructor=o,o.prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 "+e.strokeWidth),t.setAttribute("preserveAspectRatio","none")},o.prototype._pathString=function(t){return r.render(this._pathTemplate,{center:t.strokeWidth/2})},o.prototype._trailString=function(t){return this._pathString(t)},e.exports=o},{"./shape":7,"./utils":8}],4:[function(t,e,n){e.exports={Line:t("./line"),Circle:t("./circle"),SemiCircle:t("./semicircle"),Path:t("./path"),Shape:t("./shape"),utils:t("./utils")}},{"./circle":2,"./line":3,"./path":5,"./semicircle":6,"./shape":7,"./utils":8}],5:[function(t,e,n){var i=t("shifty"),r=t("./utils"),o={easeIn:"easeInCubic",easeOut:"easeOutCubic",easeInOut:"easeInOutCubic"},s=function t(e,n){if(!(this instanceof t))throw new Error("Constructor was called without new keyword");var i;n=r.extend({duration:800,easing:"linear",from:{},to:{},step:function(){}},n),i=r.isString(e)?document.querySelector(e):e,this.path=i,this._opts=n,this._tweenable=null;var o=this.path.getTotalLength();this.path.style.strokeDasharray=o+" "+o,this.set(0)};s.prototype.value=function(){var t=this._getComputedDashOffset(),e=this.path.getTotalLength();return parseFloat((1-t/e).toFixed(6),10)},s.prototype.set=function(t){this.stop(),this.path.style.strokeDashoffset=this._progressToOffset(t);var e=this._opts.step;if(r.isFunction(e)){var n=this._easing(this._opts.easing);e(this._calculateTo(t,n),this._opts.shape||this,this._opts.attachment)}},s.prototype.stop=function(){this._stopTween(),this.path.style.strokeDashoffset=this._getComputedDashOffset()},s.prototype.animate=function(t,e,n){e=e||{},r.isFunction(e)&&(n=e,e={});var o=r.extend({},e),s=r.extend({},this._opts);e=r.extend(s,e);var a=this._easing(e.easing),u=this._resolveFromAndTo(t,a,o);this.stop(),this.path.getBoundingClientRect();var h=this._getComputedDashOffset(),c=this._progressToOffset(t),p=this;this._tweenable=new i,this._tweenable.tween({from:r.extend({offset:h},u.from),to:r.extend({offset:c},u.to),duration:e.duration,easing:a,step:function(t){p.path.style.strokeDashoffset=t.offset;var n=e.shape||p;e.step(t,n,e.attachment)},finish:function(t){r.isFunction(n)&&n()}})},s.prototype._getComputedDashOffset=function(){var t=window.getComputedStyle(this.path,null);return parseFloat(t.getPropertyValue("stroke-dashoffset"),10)},s.prototype._progressToOffset=function(t){var e=this.path.getTotalLength();return e-t*e},s.prototype._resolveFromAndTo=function(t,e,n){return n.from&&n.to?{from:n.from,to:n.to}:{from:this._calculateFrom(e),to:this._calculateTo(t,e)}},s.prototype._calculateFrom=function(t){return i.interpolate(this._opts.from,this._opts.to,this.value(),t)},s.prototype._calculateTo=function(t,e){return i.interpolate(this._opts.from,this._opts.to,t,e)},s.prototype._stopTween=function(){null!==this._tweenable&&(this._tweenable.stop(),this._tweenable=null)},s.prototype._easing=function(t){return o.hasOwnProperty(t)?o[t]:t},e.exports=s},{"./utils":8,shifty:1}],6:[function(t,e,n){var i=t("./shape"),r=t("./circle"),o=t("./utils"),s=function(t,e){this._pathTemplate="M 50,50 m -{radius},0 a {radius},{radius}
28 0 1 1 {2radius},0",this.containerAspectRatio=2,i.apply(this,arguments)};(s.prototype=new i).constructor=s,s.prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 50")},s.prototype._initializeTextContainer=function(t,e,n){t.text.style&&(n.style.top="auto",n.style.bottom="0",t.text.alignToBottom?o.setStyle(n,"transform","translate(-50%, 0)"):o.setStyle(n,"transform","translate(-50%, 50%)"))},s.prototype._pathString=r.prototype._pathString,s.prototype._trailString=r.prototype._trailString,e.exports=s},{"./circle":2,"./shape":7,"./utils":8}],7:[function(t,e,n){var i=t("./path"),r=t("./utils"),o=function t(e,n){if(!(this instanceof t))throw new Error("Constructor was called without new keyword");if(0!==arguments.length){this._opts=r.extend({color:"#555",strokeWidth:1,trailColor:null,trailWidth:null,fill:null,text:{style:{color:null,position:"absolute",left:"50%",top:"50%",padding:0,margin:0,transform:{prefix:!0,value:"translate(-50%, -50%)"}},autoStyleContainer:!0,alignToBottom:!0,value:null,className:"progressbar-text"},svgStyle:{display:"block",width:"100%"},warnings:!1},n,!0),r.isObject(n)&&void 0!==n.svgStyle&&(this._opts.svgStyle=n.svgStyle),r.isObject(n)&&r.isObject(n.text)&&void 0!==n.text.style&&(this._opts.text.style=n.text.style);var o,s=this._createSvgView(this._opts);if(!(o=r.isString(e)?document.querySelector(e):e))throw new Error("Container does not exist: "+e);this._container=o,this._container.appendChild(s.svg),this._opts.warnings&&this._warnContainerAspectRatio(this._container),this._opts.svgStyle&&r.setStyles(s.svg,this._opts.svgStyle),this.svg=s.svg,this.path=s.path,this.trail=s.trail,this.text=null;var a=r.extend({attachment:void 0,shape:this},this._opts);this._progressPath=new i(s.path,a),r.isObject(this._opts.text)&&null!==this._opts.text.value&&this.setText(this._opts.text.value)}};o.prototype.animate=function(t,e,n){if(null===this._progressPath)throw new Error("Object is destroyed");this._progressPath.animate(t,e,n)},o.prototype.stop=function(){if(null===this._progressPath)throw new Error("Object is destroyed");void 0!==this._progressPath&&this._progressPath.stop()},o.prototype.destroy=function(){if(null===this._progressPath)throw new Error("Object is destroyed");this.stop(),this.svg.parentNode.removeChild(this.svg),this.svg=null,this.path=null,this.trail=null,this._progressPath=null,null!==this.text&&(this.text.parentNode.removeChild(this.text),this.text=null)},o.prototype.set=function(t){if(null===this._progressPath)throw new Error("Object is destroyed");this._progressPath.set(t)},o.prototype.value=function(){if(null===this._progressPath)throw new Error("Object is destroyed");return void 0===this._progressPath?0:this._progressPath.value()},o.prototype.setText=function(t){if(null===this._progressPath)throw new Error("Object is destroyed");null===this.text&&(this.text=this._createTextContainer(this._opts,this._container),this._container.appendChild(this.text)),r.isObject(t)?(r.removeChildren(this.text),this.text.appendChild(t)):this.text.innerHTML=t},o.prototype._createSvgView=function(t){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");this._initializeSvg(e,t);var n=null;(t.trailColor||t.trailWidth)&&(n=this._createTrail(t),e.appendChild(n));var i=this._createPath(t);return e.appendChild(i),{svg:e,path:i,trail:n}},o.prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 100")},o.prototype._createPath=function(t){var e=this._pathString(t);return this._createPathElement(e,t)},o.prototype._createTrail=function(t){var e=this._trailString(t),n=r.extend({},t);return n.trailColor||(n.trailColor="#eee"),n.trailWidth||(n.trailWidth=n.strokeWidth),n.color=n.trailColor,n.strokeWidth=n.trailWidth,n.fill=null,this._createPathElement(e,n)},o.prototype._createPathElement=function(t,e){var n=document.createElementNS("http://www.w3.org/2000/svg","path");return n.setAttribute("d",t),n.setAttribute("stroke",e.color),n.setAttribute("stroke-width",e.strokeWidth),e.fill?n.setAttribute("fill",e.fill):n.setAttribute("fill-opacity","0"),n},o.prototype._createTextContainer=function(t,e){var n=document.createElement("div");n.className=t.text.className;var i=t.text.style;return i&&(t.text.autoStyleContainer&&(e.style.position="relative"),r.setStyles(n,i),i.color||(n.style.color=t.color)),this._initializeTextContainer(t,e,n),n},o.prototype._initializeTextContainer=function(t,e,n){},o.prototype._pathString=function(t){throw new Error("Override this function for each progress bar")},o.prototype._trailString=function(t){throw new Error("Override this function for each progress bar")},o.prototype._warnContainerAspectRatio=function(t){if(this.containerAspectRatio){var e=window.getComputedStyle(t,null),n=parseFloat(e.getPropertyValue("width"),10),i=parseFloat(e.getPropertyValue("height"),10);r.floatEquals(this.containerAspectRatio,n/i)||(console.warn("Incorrect aspect ratio of container","#"+t.id,"detected:",e.getPropertyValue("width")+"(width)","/",e.getPropertyValue("height")+"(height)","=",n/i),console.warn("Aspect ratio of should be",this.containerAspectRatio))}},e.exports=o},{"./path":5,"./utils":8}],8:[function(t,e,n){var i="Webkit Moz O ms".split(" "),r=.001;function o(t,e,n){for(var r=t.style,o=0;o<i.length;++o){r[i[o]+s(e)]=n}r[e]=n}function s(t){return t.charAt(0).toUpperCase()+t.slice(1)}function a(t){return!function(t){return"[object Array]"===Object.prototype.toString.call(t)}(t)&&("object"===typeof t&&!!t)}function u(t,e){for(var n in t){if(t.hasOwnProperty(n))e(t[n],n)}}e.exports={extend:function t(e,n,i){for(var r in e=e||{},i=i||!1,n=n||{})if(n.hasOwnProperty(r)){var o=e[r],s=n[r];i&&a(o)&&a(s)?e[r]=t(o,s,i):e[r]=s}return e},render:function(t,e){var n=t;for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],o=new RegExp("\\{"+i+"\\}","g");n=n.replace(o,r)}return n}
28,setStyle:o,setStyles:function(t,e){u(e,function(e,n){null!=e&&(a(e)&&!0===e.prefix?o(t,n,e.value):t.style[n]=e)})},capitalize:s,isString:function(t){return"string"==typeof t||t instanceof String},isFunction:function(t){return"function"==typeof t},isObject:a,forEachObject:u,floatEquals:function(t,e){return Math.abs(t-e)<r},removeChildren:function(t){for(;t.firstChild;)t.removeChild(t.firstChild)}}},{}]},{},[4])(4)}); 29/*scratch.min.js*/ 30var isMouseDown=!1; function createScratchCard(a){function I(){clearTimeout(a.resizeTrigger);a.resizeTrigger=setTimeout(x,100)}function x(){window.removeEventListener("resize",x);y(!1);createScratchCard(a)}function J(){if("undefined"==typeof a.foreground||a.hasEnded)return!1;"#"!==a.foreground.charAt(0)||4!=a.foreground.length&&7!=a.foreground.length?(c.topImage.crossOrigin="anonymous",c.topImage.src=a.foreground,c.topImage.onload=function(){"undefined"!==typeof a.scratchedOverlay?(h.drawImage(c.topImage,0,0,e,g),h.globalCompositeOperation= "destination-out",h.drawImage(a.scratchedOverlay,0,0,e,g)):h.drawImage(c.topImage,0,0,e,g);D()}):(h.fillStyle=a.foreground,h.fillRect(0,0,e,g),"undefined"!==typeof a.scratchedOverlay&&(h.globalCompositeOperation="destination-out",h.drawImage(a.scratchedOverlay,0,0,e,g)),D());"undefined"!=typeof a.percent&&(c.endAt=a.percent);"undefined"!=typeof a.coin?(c.coinImage.src=a.coin,c.coinImage.onload=function(){z=c.coinImage.width*p;A=c.coinImage.height*p;d.style.width=z+"px";d.style.height=A+"px";d.style.background= 'url("'+a.coin+'") no-repeat left top';d.style.backgroundSize="100%";f.style.cursor="none";d.style.position="absolute";d.style.display="none";d.style.zIndex="9000";d.style.top=0;d.style.left=0;d.style.pointerEvents="none";B(d)}):b.style.cursor=c.defaultCursor;"undefined"!=typeof a.thickness&&(c.thickness=a.thickness);"undefined"!=typeof a.counter&&(c.counter=a.counter,q=window[a.counter]);document.body.addEventListener("touchstart",function(){E=!0},!1);b.addEventListener("mousedown",k);b.addEventListener("mousemove", k);document.addEventListener("mouseup",m);b.addEventListener("touchstart",k);b.addEventListener("touchmove",k);document.addEventListener("touchend",m);b.addEventListener("mouseover",s);b.addEventListener("mouseout",t);b.addEventListener("mousemove",u)}function F(a){for(var b=0,c=0;a;)b+=a.offsetLeft+a.clientLeft,c+=a.offsetTop+a.clientTop,a=a.offsetParent;return{x:b,y:c}}function D(){window.addEventListener("resize",I);f.appendChild(b);f.appendChild(d);f.style.background='url("'+a.background+'") center center no-repeat'; f.style.backgroundSize="100%"}function k(a){var e=!1;if("touchmove"==a.type)a.preventDefault(),e=!1;else if("mousedown"==a.type||"touchstart"==a.type)e=isMouseDown=!0;G(!0);if(isMouseDown){var g=a.pageX-this.offsetLeft,d=a.pageY-this.offsetTop,k=F(f),g=a.pageX-k.x,d=a.pageY-k.y;if("touchmove"==a.type||"touchstart"==a.type)H=20,d=a.touches[0],g=d.pageX-k.x,d=d.pageY-k.y;h.save();h.globalCompositeOperation="destination-out";h.beginPath();h.arc(g,d,c.thickness*p,0,2*Math.PI,!1);h.closePath();h.fillStyle= "rgba(0, 0, 0, 1)";h.fill();h.restore();if("touchmove"==a.type||"touchstart"==a.type||"touchend"==a.type)b.style.marginRight="1px",b.style.marginRight="0px";parseInt(G(e))>=c.endAt&&y(!0)}}function y(l){b.removeEventListener("mousedown",k);b.removeEventListener("mousemove",k);document.removeEventListener("mouseup",m);b.removeEventListener("mouseover",s);b.removeEventListener("mouseout",t);b.removeEventListener("mousemove",u);b.removeEventListener("touchstart",k);b.removeEventListener("touchmove", k);document.removeEventListener("touchend",m);if(l&&!a.hasEnded)a.hasEnded=!0,f.style.setProperty("cursor","default","important"),b.style.setProperty("cursor","default","important"),d.style.display="none",delete a.scratchedOverlay,f.innerHTML="",0!=c.counter&&"function"===typeof q&&q(r,a),l=window[a.callback],"function"===typeof l&&l(a);else if(!l&&!a.hasEnded){0!=v&&(f.style.width=v);0!=w&&(f.style.height=w);l=document.createElement("canvas");l.width=e;l.height=g;var h=l.getContext("2d");h.translate(0, 0);h.fillStyle="rgba(10, 11, 12, 200)";h.fillRect(0,0,e,g);h.globalCompositeOperation="destination-out";h.drawImage(b,0,0,e,g);a.scratchedOverlay=l;f.style.backgroundImage="none";f.innerHTML=""}}function G(b){if(0==K++%H||b){b=0;for(var f=h.getImageData(0,0,e,g).data,d=0,k=f.length-20;d<k;d+=80)0<f[d]&&b++;"undefined"===typeof C&&(C=e*g/20-b);r=(100-b/(e*g/20-C)*100).toFixed(2)}0!=c.counter&&"function"===typeof q&&0<r&&q(r,a);return r}function m(){isMouseDown=!1}function s(a){E||(d.style.display= "block")}function t(a){d.style.display="none"}function u(a){var b=F(f);d.style.left=a.pageX-b.x-z/2+"px";d.style.top=a.pageY-b.y-A/2+"px"}function B(a){a.style.setProperty("-khtml-user-select","none","important");a.style.setProperty("-webkit-user-select","none","important");a.style.setProperty("-moz-user-select","-moz-none","important");
30a.style.setProperty("-ms-user-select","none","important");a.style.setProperty("user-select","none","important");a.style.setProperty("-webkit-touch-callout","none", "important")}function n(){b.style.setProperty("cursor","default","important");document.removeEventListener("touchstart",n);document.removeEventListener("touchmove",n);document.removeEventListener("touchend",n)}var c={topImage:new Image,bottomImage:new Image,coinImage:new Image,thickness:20,endAt:95,defaultCursor:"pointer",counter:!1},r=0,K=0,q,f,e,g,C,v=0,w=0,p=1,E=!1,H=10;"undefined"===typeof a.resizeTrigger&&a.resizeTrigger;"undefined"===typeof a.hasEnded&&(a.hasEnded=!1);"undefined"!==typeof a.width&& "undefined"!==typeof a.height&&(e=a.width,g=a.height);if(!window.HTMLCanvasElement)return f.innerHTML="Your browser does not support HTML5 canvas tag.",!1;if("undefined"!=typeof a.container)f=a.container,e=f.offsetWidth,g=f.offsetHeight,f.style.setProperty("position","relative","important"),f.style.setProperty("padding","0","important"),B(f);else return!1;if("undefined"==typeof a.background||a.hasEnded)return!1;c.bottomImage.onload=function(){0!=e&&0==g?(w="auto",g=e/c.bottomImage.width*c.bottomImage.height, f.style.height=g+"px"):0==e&&0!=g&&(v="auto",e=g/c.bottomImage.height*c.bottomImage.width,f.style.width=e+"px");0==e*g&&(w=v="auto",e=c.bottomImage.width,g=c.bottomImage.height,f.style.width=e+"px",f.style.height=g+"px");"undefined"==typeof a.responsiveRatio?a.responsiveRatio=e/c.bottomImage.width:p=e/c.bottomImage.width;p=e/c.bottomImage.width/a.responsiveRatio;b.width=e;b.height=g;B(b);J()};c.bottomImage.src=a.background;var b=document.createElement("canvas");b.className="scratchcard-Overlay";var h= b.getContext("2d");h.translate(0,0);var d=document.createElement("div");d.className="scratchcard-Cursor";var z=0,A=0;document.addEventListener("touchstart",n);document.addEventListener("touchmove",n);document.addEventListener("touchend",n);a.locked=!1;a.container.lock=function(d){"undefined"!==typeof d&&(a.locked=!d);a.locked?(b.addEventListener("mousedown",k),b.addEventListener("mousemove",k),document.addEventListener("mouseup",m),b.addEventListener("mouseover",s),b.addEventListener("mouseout",t), b.addEventListener("mousemove",u),b.addEventListener("touchstart",k),b.addEventListener("touchmove",k),document.addEventListener("touchend",m),"undefined"==typeof a.coin&&(b.style.cursor=c.defaultCursor)):(b.removeEventListener("mousedown",k),b.removeEventListener("mousemove",k),document.removeEventListener("mouseup",m),b.removeEventListener("mouseover",s),b.removeEventListener("mouseout",t),b.removeEventListener("mousemove",u),b.removeEventListener("touchstart",k),b.removeEventListener("touchmove", k),document.removeEventListener("touchend",m),b.style.cursor="default");a.locked=!a.locked};a.container.restart=function(){a.hasEnded=!1;y(!1);a.scratchedOverlay=void 0;window.removeEventListener("resize",x);createScratchCard(a)};a.container.clean=function(){a.hasEnded=!0;a.container.lock(!0);delete a.scratchedOverlay;f.innerHTML="";f.style.setProperty("cursor","default")}}; 31/*confetti.min.js*/ 32var canvas=document.getElementById("canvas");if(null!=canvas){var context=canvas.getContext("2d"),width=canvas.width=window.innerWidth,height=canvas.height=window.innerHeight;particle=[],particleCount=0,gravity=.1,colors=["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548"];for(var i=0;i<300;i++)particle.push({x:width/2,y:height/2,boxW:randomRange(5,20),boxH:randomRange(5,20),size:randomRange(2,8),spikeran:randomRange(3,5),velX:randomRange(-8,8),velY:randomRange(-50,-10),angle:convertToRadians(randomRange(0,360)),color:colors[Math.floor(Math.random()*colors.length)],anglespin:randomRange(-.2,.2),draw:function(){context.save(),context.translate(this.x,this.y),context.rotate(this.angle),context.fillStyle=this.color,context.beginPath(),context.fillRect(this.boxW/2*-1,this.boxH/2*-1,this.boxW,this.boxH),context.closePath(),context.restore(),this.angle+=this.anglespin,this.velY*=.999,this.velY+=.3,this.x+=this.velX,this.y+=this.velY,this.y<0&&(this.velY*=-.2,this.velX*=.9),this.y>height&&(this.anglespin=0,this.y=height,this.velY*=-.2,this.velX*=.9),(this.x>width||this.x<0)&&(this.velX*=-.5)}});r1={x:width/2-150,y:height/2-150,width:300,height:300,velX:0,velY:-10,alphatop:0}}function drawScreen(){context.globalAlpha=1;for(var t=0;t<particle.length;t++)particle[t].draw()}function loadImage(t){var e=document.createElement("img");return e.src=t,e}function lanzar_confetti(){context.clearRect(0,0,width,height),drawScreen(),requestAnimationFrame(lanzar_confetti)}function randomRange(t,e){return t+Math.random()*(e-t)}
32function randomInt(t,e){return Math.floor(t+Math.random()*(e-t+1))}function convertToRadians(t){return t*(Math.PI/180)}function drawStar(t,e,n,a,o,h){var r=Math.PI/2*3,c=t,l=e,s=Math.PI/n;for(context.strokeSyle="#000",context.beginPath(),context.moveTo(t,e-a),i=0;i<n;i++)c=t+Math.cos(r)*a,l=e+Math.sin(r)*a,context.lineTo(c,l),r+=s,c=t+Math.cos(r)*o,l=e+Math.sin(r)*o,context.lineTo(c,l),r+=s;context.lineTo(t,e-a),context.closePath(),context.fillStyle=h,context.fill()} 33/*velocity.min.js*/ 34!function(e){"use strict";function t(e){var t=e.length,a=r.type(e);return"function"!==a&&!r.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===a||0===t||"number"==typeof t&&t>0&&t-1 in e)}if(!e.jQuery){var r=function(e,t){return new r.fn.init(e,t)};r.isWindow=function(e){return e&&e===e.window},r.type=function(e){return e?"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e:e+""},r.isArray=Array.isArray||function(e){return"array"===r.type(e)},r.isPlainObject=function(e){var t;if(!e||"object"!==r.type(e)||e.nodeType||r.isWindow(e))return!1;try{if(e.constructor&&!i.call(e,"constructor")&&!i.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(t in e);return void 0===t||i.call(e,t)},r.each=function(e,r,a){var n=0,i=e.length,o=t(e);if(a){if(o)for(;n<i&&!1!==r.apply(e[n],a);n++);else for(n in e)if(e.hasOwnProperty(n)&&!1===r.apply(e[n],a))break}else if(o)for(;n<i&&!1!==r.call(e[n],n,e[n]);n++);else for(n in e)if(e.hasOwnProperty(n)&&!1===r.call(e[n],n,e[n]))break;return e},r.data=function(e,t,n){if(void 0===n){var i=e[r.expando],o=i&&a[i];if(void 0===t)return o;if(o&&t in o)return o[t]}else if(void 0!==t){var s=e[r.expando]||(e[r.expando]=++r.uuid);return a[s]=a[s]||{},a[s][t]=n,n}},r.removeData=function(e,t){var n=e[r.expando],i=n&&a[n];i&&(t?r.each(t,function(e,t){delete i[t]}):delete a[n])},r.extend=function(){var e,t,a,n,i,o,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"!=typeof s&&"function"!==r.type(s)&&(s={}),l===u&&(s=this,l--);l<u;l++)if(i=arguments[l])for(n in i)i.hasOwnProperty(n)&&(e=s[n],s!==(a=i[n])&&(c&&a&&(r.isPlainObject(a)||(t=r.isArray(a)))?(t?(t=!1,o=e&&r.isArray(e)?e:[]):o=e&&r.isPlainObject(e)?e:{},s[n]=r.extend(c,o,a)):void 0!==a&&(s[n]=a)));return s},r.queue=function(e,a,n){if(e){a=(a||"fx")+"queue";var i=r.data(e,a);return n?(!i||r.isArray(n)?i=r.data(e,a,function(e,r){var a=[];return e&&(t(Object(e))?function(e,t){for(var r=+t.length,a=0,n=e.length;a<r;)e[n++]=t[a++];if(r!=r)for(;void 0!==t[a];)e[n++]=t[a++];e.length=n}(a,"string"==typeof e?[e]:e):[].push.call(a,e)),a}(n)):i.push(n),i):i||[]}},r.dequeue=function(e,t){r.each(e.nodeType?[e]:e,function(e,a){t=t||"fx";var n=r.queue(a,t),i=n.shift();"inprogress"===i&&(i=n.shift()),i&&("fx"===t&&n.unshift("inprogress"),i.call(a,function(){r.dequeue(a,t)}))})},r.fn=r.prototype={init:function(e){if(e.nodeType)return this[0]=e,this;throw new Error("Not a DOM node.")},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(e.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(e.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var e=this[0],t=function(e){for(var t=e.offsetParent;t&&"html"!==t.nodeName.toLowerCase()&&t.style&&"static"===t.style.position;)t=t.offsetParent;return t||document}(e),a=this.offset(),n=/^(?:body|html)$/i.test(t.nodeName)?{top:0,left:0}:r(t).offset();return a.top-=parseFloat(e.style.marginTop)||0,a.left-=parseFloat(e.style.marginLeft)||0,t.style&&(n.top+=parseFloat(t.style.borderTopWidth)||0,n.left+=parseFloat(t.style.borderLeftWidth)||0),{top:a.top-n.top,left:a.left-n.left}}};var a={};r.expando="velocity"+(new Date).getTime(),r.uuid=0;for(var n={},i=n.hasOwnProperty,o=n.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),l=0;l<s.length;l++)n["[object "+s[l]+"]"]=s[l].toLowerCase();r.fn.init.prototype=r.fn,e.Velocity={Utilities:r}}}(window),function(e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e():"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";return function(e,t,r,a){function n(e){return v.isWrapped(e)?e=h.call(e):v.isNode(e)&&(e=[e]),e}function i(e){var t=f.data(e,"velocity");return null===t?a:t}function o(e,t){var r=i(e);r&&r.delayTimer&&!r.delayPaused&&(r.delayRemaining=r.delay-t+r.delayBegin,r.delayPaused=!0,clearTimeout(r.delayTimer.setTimeout))}function s(e,t){var r=i(e);r&&r.delayTimer&&r.delayPaused&&(r.delayPaused=!1,r.delayTimer.setTimeout=setTimeout(r.delayTimer.next,r.delayRemaining))}function l(e,r,a,n){function i(e,t){return 1-3*t+3*e}function o(e,t){return 3*t-6*e}function s(e){return 3*e}function l(e,t,r){return((i(t,r)*e+o(t,r))*e+s(t))*e}function u(e,t,r){return 3*i(t,r)*e*e+2*o(t,r)*e+s(t)}function c(t,r){for(var n=0;n<d;++n){var i=u(r,e,a);if(0===i)return r;r-=(l(r,e,a)-t)/i}return r}function p(t,r,n){var i,o,s=0;do{(i=l(o=r+(n-r)/2,e,a)-t)>0?n=o:r=o}while(Math.abs(i)>m&&++s<h);return o}function f(){S=!0,e===r&&a===n||function(){for(var t=0;t<y;++t)w[t]=l(t*v,e,a)}()}var d=4,g=.001,m=1e-7,h=10,y=11,v=1/(y-1),b="Float32Array"in t;if(4!==arguments.length)return!1;for(var x=0;x<4;++x)if("number"!=typeof arguments[x]||isNaN(arguments[x])||!isFinite(arguments[x]))return!1;e=Math.min(e,1),a=Math.min(a,1),e=Math.max(e,0),a=Math.max(a,0);var w=b?new Float32Array(y):new Array(y),S=!1,P=function(t){return S||f(),e===r&&a===n?t:0===t?0:1===t?1:l(function(t){for(var r=0,n=1,i=y-1;n!==i&&w[n]<=t;++n)r+=v;var o=r+(t-w[--n])/(w[n+1]-w[n])*v,s=u(o,e,a);return s>=g?c(t,o):0===s?o:p(t,r,r+v)}(t),r,n)};P.getControlPoints=function(){return[{x:e,y:r},{x:a,y:n}]};var V="generateBezier("+[e,r,a,n]+")";return P.toString=function(){return V},P}function u(e,t){var r=e;return v.isString(e)?S.Easings[e]||(r=!1):r=v.isArray(e)&&1===e.length?function(e){return function(t){return Math.round(t*e)*(1/e)}}.apply(null,e):v.isArray(e)&&2===e.length?P.apply(null,e.concat([t])):!(!v.isArray(e)||4!==e.length)&&l.apply(null,e),!1===r&&(r=S.Easings[S.defaults.easing]?S.defaults.easing:w),r}function c(e){if(e){var t=S.timestamp&&!0!==e?e:m.now(),r=S.State.calls.length;r>1e4&&(S.State.calls=function(e){for(var t=-1,r=e?e.length:0,a=[];++t<r;){var n=e[t];n&&a.push(n)}return a}
vendor: 13,352 bytes, line 34
34(S.State.calls),r=S.State.calls.length);for(var n=0;n<r;n++)if(S.State.calls[n]){var o=S.State.calls[n],s=o[0],l=o[2],u=o[3],g=!!u,h=null,y=o[5],b=o[6];if(u||(u=S.State.calls[n][3]=t-16),y){if(!0!==y.resume)continue;u=o[3]=Math.round(t-b-16),o[5]=null}b=o[6]=t-u;for(var x=Math.min(b/l.duration,1),w=0,P=s.length;w<P;w++){var k=s[w],C=k.element;if(i(C)){var A=!1;if(l.display!==a&&null!==l.display&&"none"!==l.display){if("flex"===l.display){f.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],function(e,t){V.setPropertyValue(C,"display",t)})}V.setPropertyValue(C,"display",l.display)}for(var F in l.visibility!==a&&"hidden"!==l.visibility&&V.setPropertyValue(C,"visibility",l.visibility),k)if(k.hasOwnProperty(F)&&"element"!==F){var E,N=k[F],H=v.isString(N.easing)?S.Easings[N.easing]:N.easing;if(v.isString(N.pattern)){var O=1===x?function(e,t,r){var a=N.endValue[t];return r?Math.round(a):a}:function(e,t,r){var a=N.startValue[t],n=N.endValue[t]-a,i=a+n*H(x,l,n);return r?Math.round(i):i};E=N.pattern.replace(/{(\d+)(!)?}/g,O)}else if(1===x)E=N.endValue;else{var j=N.endValue-N.startValue;E=N.startValue+j*H(x,l,j)}if(!g&&E===N.currentValue)continue;if(N.currentValue=E,"tween"===F)h=E;else{var q;if(V.Hooks.registered[F]){q=V.Hooks.getRoot(F);var L=i(C).rootPropertyValueCache[q];L&&(N.rootPropertyValue=L)}var z=V.setPropertyValue(C,F,N.currentValue+(d<9&&0===parseFloat(E)?"":N.unitType),N.rootPropertyValue,N.scrollData);V.Hooks.registered[F]&&(V.Normalizations.registered[q]?i(C).rootPropertyValueCache[q]=V.Normalizations.registered[q]("extract",null,z[1]):i(C).rootPropertyValueCache[q]=z[1]),"transform"===z[0]&&(A=!0)}}l.mobileHA&&i(C).transformCache.translate3d===a&&(i(C).transformCache.translate3d="(0px, 0px, 0px)",A=!0),A&&V.flushTransformCache(C)}}l.display!==a&&"none"!==l.display&&(S.State.calls[n][2].display=!1),l.visibility!==a&&"hidden"!==l.visibility&&(S.State.calls[n][2].visibility=!1),l.progress&&l.progress.call(o[1],o[1],x,Math.max(0,u+l.duration-t),u,h),1===x&&p(n)}}S.State.isTicking&&T(c)}function p(e,t){if(!S.State.calls[e])return!1;for(var r=S.State.calls[e][0],n=S.State.calls[e][1],o=S.State.calls[e][2],s=S.State.calls[e][4],l=!1,u=0,c=r.length;u<c;u++){var p=r[u].element;t||o.loop||("none"===o.display&&V.setPropertyValue(p,"display",o.display),"hidden"===o.visibility&&V.setPropertyValue(p,"visibility",o.visibility));var d=i(p);if(!0!==o.loop&&(f.queue(p)[1]===a||!/\.velocityQueueEntryFlag/i.test(f.queue(p)[1]))&&d){d.isAnimating=!1,d.rootPropertyValueCache={};var g=!1;f.each(V.Lists.transforms3D,function(e,t){var r=/^scale/.test(t)?1:0,n=d.transformCache[t];d.transformCache[t]!==a&&new RegExp("^\\("+r+"[^.]").test(n)&&(g=!0,delete d.transformCache[t])}),o.mobileHA&&(g=!0,delete d.transformCache.translate3d),g&&V.flushTransformCache(p),V.Values.removeClass(p,"velocity-animating")}if(!t&&o.complete&&!o.loop&&u===c-1)try{o.complete.call(n,n)}catch(e){setTimeout(function(){throw e},1)}s&&!0!==o.loop&&s(n),d&&!0===o.loop&&!t&&(f.each(d.tweensContainer,function(e,t){if(/^rotate/.test(e)&&(parseFloat(t.startValue)-parseFloat(t.endValue))%360==0){var r=t.startValue;t.startValue=t.endValue,t.endValue=r}/^backgroundPosition/.test(e)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)}),S(p,"reverse",{loop:!0,delay:o.delay})),!1!==o.queue&&f.dequeue(p,o.queue)}S.State.calls[e]=!1;for(var m=0,h=S.State.calls.length;m<h;m++)if(!1!==S.State.calls[m]){l=!0;break}!1===l&&(S.State.isTicking=!1,delete S.State.calls,S.State.calls=[])}var f,d=function(){if(r.documentMode)return r.documentMode;for(var e=7;e>4;e--){var t=r.createElement("div");if(t.innerHTML="\x3c!--[if IE "+e+"]><span></span><![endif]--\x3e",t.getElementsByTagName("span").length)return t=null,e}return a}(),g=function(){var e=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var r,a=(new Date).getTime();return r=Math.max(0,16-(a-e)),e=a+r,setTimeout(function(){t(a+r)},r)}}(),m=function(){var e=t.performance||{};if("function"!=typeof e.now){var r=e.timing&&e.timing.navigationStart?e.timing.navigationStart:(new Date).getTime();e.now=function(){return(new Date).getTime()-r}}return e}(),h=function(){var e=Array.prototype.slice;try{return e.call(r.documentElement),e}catch(t){return function(t,r){var a=this.length;if("number"!=typeof t&&(t=0),"number"!=typeof r&&(r=a),this.slice)return e.call(this,t,r);var n,i=[],o=t>=0?t:Math.max(0,a+t),s=(r<0?a+r:Math.min(r,a))-o;if(s>0)if(i=new Array(s),this.charAt)for(n=0;n<s;n++)i[n]=this.charAt(o+n);else for(n=0;n<s;n++)i[n]=this[o+n];return i}}}(),y=function(){return Array.prototype.includes?function(e,t){return e.includes(t)}:Array.prototype.indexOf?function(e,t){return e.indexOf(t)>=0}:function(e,t){for(var r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}},v={isNumber:function(e){return"number"==typeof e},isString:function(e){return"string"==typeof e},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isNode:function(e){return e&&e.nodeType},isWrapped:function(e){return e&&e!==t&&v.isNumber(e.length)&&!v.isString(e)&&!v.isFunction(e)&&!v.isNode(e)&&(0===e.length||v.isNode(e[0]))},isSVG:function(e){return t.SVGElement&&e instanceof t.SVGElement},isEmptyObject:function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}},b=!1;if(e.fn&&e.fn.jquery?(f=e,b=!0):f=t.Velocity.Utilities,d<=8&&!b)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(d<=7)){var x=400,w="swing",S={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:t.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:r.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[],delayedElements:{count:0}},CSS:{},Utilities:f,Redirects:{},Easings:{},Promise:t.Promise,defaults:{queue:"",duration:x,easing:w,begin:a,complete:a,progress:a,display:a,visibility:a,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(e){f.data(e,"velocity",{isSVG:v.isSVG(e),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:5,patch:0},debug:!1,timestamp:!0,pauseAll:function(e){var t=(new Date).getTime();f.each(S.State.calls,function(t,r){if(r){if(e!==a&&(r[2].queue!==e||!1===r[2].queue))return!0;r[5]={resume:!1}}}),f.each(S.State.delayedElements,function(e,r){r&&o(r,t)})},resumeAll:function(e){(new Date).getTime();f.each(S.State.calls,function(t,r){if(r){if(e!==a&&(r[2].queue!==e||!1===r[2].queue))return!0;r[5]&&(r[5].resume=!0)}}),f.each(S.State.delayedElements,function(e,t){t&&s(t)})}};t.pageYOffset!==a?(S.State.scrollAnchor=t,S.State.scrollPropertyLeft="pageXOffset",S.State.scrollPropertyTop="pageYOffset"):(S.State.scrollAnchor=r.documentElement||r.body.parentNode||r.body,S.State.scrollPropertyLeft="scrollLeft",S.State.scrollPropertyTop="scrollTop");var P=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,r,a){var n={x:t.x+a.dx*r,v:t.v+a.dv*r,tension:t.tension,friction:t.friction};return{dx:n.v,dv:e(n)}}function r(r,a){var n={dx:r.v,dv:e(r)},i=t(r,.5*a,n),o=t(r,.5*a,i),s=t(r,a,o),l=1/6*(n.dx+2*(i.dx+o.dx)+s.dx),u=1/6*(n.dv+2*(i.dv+o.dv)+s.dv);return r.x=r.x+l*a,r.v=r.v+u*a,r}return function e(t,a,n){var i,o,s,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0;for(t=parseFloat(t)||500,a=parseFloat(a)||20,n=n||null,l.tension=t,l.friction=a,(i=null!==n)?o=(c=e(t,a))/n*.016:o=.016;s=r(s||l,o),u.push(1+s.x),c+=16,Math.abs(s.x)>1e-4&&Math.abs(s.v)>1e-4;);return i?function(e){return u[e*(u.length-1)|0]}:c}}();S.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},f.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(e,t){S.Easings[t[0]]=l.apply(null,t[1])});var V=S.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e<V.Lists.colors.length;e++){var t="color"===V.Lists.colors[e]?"0 0 0 1":"255 255 255 1";
34V.Hooks.templates[V.Lists.colors[e]]=["Red Green Blue Alpha",t]}var r,a,n;if(d)for(r in V.Hooks.templates)if(V.Hooks.templates.hasOwnProperty(r)){n=(a=V.Hooks.templates[r])[0].split(" ");var i=a[1].match(V.RegEx.valueSplit);"Color"===n[0]&&(n.push(n.shift()),i.push(i.shift()),V.Hooks.templates[r]=[n.join(" "),i.join(" ")])}for(r in V.Hooks.templates)if(V.Hooks.templates.hasOwnProperty(r))for(var o in n=(a=V.Hooks.templates[r])[0].split(" "))if(n.hasOwnProperty(o)){var s=r+n[o],l=o;V.Hooks.registered[s]=[r,l]}},getRoot:function(e){var t=V.Hooks.registered[e];return t?t[0]:e},getUnit:function(e,t){var r=(e.substr(t||0,5).match(/^[a-z%]+/)||[])[0]||"";return r&&y(V.Lists.units,r)?r:""},fixColors:function(e){return e.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,function(e,t,r){return V.Lists.colorNames.hasOwnProperty(r)?(t||"rgba(")+V.Lists.colorNames[r]+(t?"":",1)"):t+r})},cleanRootPropertyValue:function(e,t){return V.RegEx.valueUnwrap.test(t)&&(t=t.match(V.RegEx.valueUnwrap)[1]),V.Values.isCSSNullValue(t)&&(t=V.Hooks.templates[e][1]),t},extractValue:function(e,t){var r=V.Hooks.registered[e];if(r){var a=r[0],n=r[1];return(t=V.Hooks.cleanRootPropertyValue(a,t)).toString().match(V.RegEx.valueSplit)[n]}return t},injectValue:function(e,t,r){var a=V.Hooks.registered[e];if(a){var n,i=a[0],o=a[1];return(n=(r=V.Hooks.cleanRootPropertyValue(i,r)).toString().match(V.RegEx.valueSplit))[o]=t,n.join(" ")}return r}},Normalizations:{registered:{clip:function(e,t,r){switch(e){case"name":return"clip";case"extract":var a;return V.RegEx.wrappedValueAlreadyExtracted.test(r)?a=r:a=(a=r.toString().match(V.RegEx.valueUnwrap))?a[1].replace(/,(\s+)?/g," "):r,a;case"inject":return"rect("+r+")"}},blur:function(e,t,r){switch(e){case"name":return S.State.isFirefox?"filter":"-webkit-filter";case"extract":var a=parseFloat(r);if(!a&&0!==a){var n=r.toString().match(/blur\(([0-9]+[A-z]+)\)/i);a=n?n[1]:0}return a;case"inject":return parseFloat(r)?"blur("+r+")":"none"}},opacity:function(e,t,r){if(d<=8)switch(e){case"name":return"filter";case"extract":var a=r.toString().match(/alpha\(opacity=(.*)\)/i);return a?a[1]/100:1;case"inject":return t.style.zoom=1,parseFloat(r)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(r),10)+")"}else switch(e){case"name":return"opacity";case"extract":case"inject":return r}}},register:function(){function e(e,t,r){if("border-box"===V.getPropertyValue(t,"boxSizing").toString().toLowerCase()===(r||!1)){var a,n,i=0,o="width"===e?["Left","Right"]:["Top","Bottom"],s=["padding"+o[0],"padding"+o[1],"border"+o[0]+"Width","border"+o[1]+"Width"];for(a=0;a<s.length;a++)n=parseFloat(V.getPropertyValue(t,s[a])),isNaN(n)||(i+=n);return r?-i:i}return 0}function t(t,r){return function(a,n,i){switch(a){case"name":return t;case"extract":return parseFloat(i)+e(t,n,r);case"inject":return parseFloat(i)-e(t,n,r)+"px"}}}d&&!(d>9)||S.State.isGingerbread||(V.Lists.transformsBase=V.Lists.transformsBase.concat(V.Lists.transforms3D));for(var r=0;r<V.Lists.transformsBase.length;r++)!function(){var e=V.Lists.transformsBase[r];V.Normalizations.registered[e]=function(t,r,n){switch(t){case"name":return"transform";case"extract":return i(r)===a||i(r).transformCache[e]===a?/^scale/i.test(e)?1:0:i(r).transformCache[e].replace(/[()]/g,"");case"inject":var o=!1;switch(e.substr(0,e.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(n);break;case"scal":case"scale":S.State.isAndroid&&i(r).transformCache[e]===a&&n<1&&(n=1),o=!/(\d)$/i.test(n);break;case"skew":o=!/(deg|\d)$/i.test(n);break;case"rotate":o=!/(deg|\d)$/i.test(n)}return o||(i(r).transformCache[e]="("+n+")"),i(r).transformCache[e]}}}();for(var n=0;n<V.Lists.colors.length;n++)!function(){var e=V.Lists.colors[n];V.Normalizations.registered[e]=function(t,r,n){switch(t){case"name":return e;case"extract":var i;if(V.RegEx.wrappedValueAlreadyExtracted.test(n))i=n;else{var o,s={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(n)?o=s[n]!==a?s[n]:s.black:V.RegEx.isHex.test(n)?o="rgb("+V.Values.hexToRgb(n).join(" ")+")":/^rgba?\(/i.test(n)||(o=s.black),i=(o||n).toString().match(V.RegEx.valueUnwrap
vendor: 9,739 bytes, line 34
34)[1].replace(/,(\s+)?/g," ")}return(!d||d>8)&&3===i.split(" ").length&&(i+=" 1"),i;case"inject":return/^rgb/.test(n)?n:(d<=8?4===n.split(" ").length&&(n=n.split(/\s+/).slice(0,3).join(" ")):3===n.split(" ").length&&(n+=" 1"),(d<=8?"rgb":"rgba")+"("+n.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();V.Normalizations.registered.innerWidth=t("width",!0),V.Normalizations.registered.innerHeight=t("height",!0),V.Normalizations.registered.outerWidth=t("width"),V.Normalizations.registered.outerHeight=t("height")}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(d||S.State.isAndroid&&!S.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(S.State.prefixMatches[e])return[S.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],r=0,a=t.length;r<a;r++){var n;if(n=0===r?e:t[r]+e.replace(/^\w/,function(e){return e.toUpperCase()}),v.isString(S.State.prefixElement.style[n]))return S.State.prefixMatches[e]=n,[n,!0]}return[e,!1]}},Values:{hexToRgb:function(e){var t;return e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,r,a){return t+t+r+r+a+a}),(t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e))?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]},isCSSNullValue:function(e){return!e||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e)},getUnitType:function(e){return/^(rotate|skew)/i.test(e)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(e)?"":"px"},getDisplayType:function(e){var t=e&&e.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":/^(table)$/i.test(t)?"table":/^(tbody)$/i.test(t)?"table-row-group":"block"},addClass:function(e,t){if(e)if(e.classList)e.classList.add(t);else if(v.isString(e.className))e.className+=(e.className.length?" ":"")+t;else{var r=e.getAttribute(d<=7?"className":"class")||"";e.setAttribute("class",r+(r?" ":"")+t)}},removeClass:function(e,t){if(e)if(e.classList)e.classList.remove(t);else if(v.isString(e.className))e.className=e.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ");else{var r=e.getAttribute(d<=7?"className":"class")||"";e.setAttribute("class",r.replace(new RegExp("(^|s)"+t.split(" ").join("|")+"(s|$)","gi")," "))}}},getPropertyValue:function(e,r,n,o){function s(e,r){var n=0;if(d<=8)n=f.css(e,r);else{var l=!1;/^(width|height)$/.test(r)&&0===V.getPropertyValue(e,"display")&&(l=!0,V.setPropertyValue(e,"display",V.Values.getDisplayType(e)));var u,c=function(){l&&V.setPropertyValue(e,"display","none")};if(!o){if("height"===r&&"border-box"!==V.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var p=e.offsetHeight-(parseFloat(V.getPropertyValue(e,"borderTopWidth"))||0)-(parseFloat(V.getPropertyValue(e,"borderBottomWidth"))||0)-(parseFloat(V.getPropertyValue(e,"paddingTop"))||0)-(parseFloat(V.getPropertyValue(e,"paddingBottom"))||0);return c(),p}if("width"===r&&"border-box"!==V.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var g=e.offsetWidth-(parseFloat(V.getPropertyValue(e,"borderLeftWidth"))||0)-(parseFloat(V.getPropertyValue(e,"borderRightWidth"))||0)-(parseFloat(V.getPropertyValue(e,"paddingLeft"))||0)-(parseFloat(V.getPropertyValue(e,"paddingRight"))||0);return c(),g}}u=i(e)===a?t.getComputedStyle(e,null):i(e).computedStyle?i(e).computedStyle:i(e).computedStyle=t.getComputedStyle(e,null),"borderColor"===r&&(r="borderTopColor"),""!==(n=9===d&&"filter"===r?u.getPropertyValue(r):u[r])&&null!==n||(n=e.style[r]),c()}if("auto"===n&&/^(top|right|bottom|left)$/i.test(r)){var m=s(e,"position");("fixed"===m||"absolute"===m&&/top|left/i.test(r))&&(n=f(e).position()[r]+"px")}return n}var l;if(V.Hooks.registered[r]){var u=r,c=V.Hooks.getRoot(u);n===a&&(n=V.getPropertyValue(e,V.Names.prefixCheck(c)[0])),V.Normalizations.registered[c]&&(n=V.Normalizations.registered[c]("extract",e,n)),l=V.Hooks.extractValue(u,n)}else if(V.Normalizations.registered[r]){var p,g;"transform"!==(p=V.Normalizations.registered[r]("name",e))&&(g=s(e,V.Names.prefixCheck(p)[0]),V.Values.isCSSNullValue(g)&&V.Hooks.templates[r]&&(g=V.Hooks.templates[r][1])),l=V.Normalizations.registered[r]("extract",e,g)}if(!/^[\d-]/.test(l)){var m=i(e);if(m&&m.isSVG&&V.Names.SVGAttribute(r))if(/^(height|width)$/i.test(r))try{l=e.getBBox()[r]}catch(e){l=0}else l=e.getAttribute(r);else l=s(e,V.Names.prefixCheck(r)[0])}return V.Values.isCSSNullValue(l)&&(l=0),S.debug>=2&&console.log("Get "+r+": "+l),l},setPropertyValue:function(e,r,a,n,o){var s=r;if("scroll"===r)o.container?o.container["scroll"+o.direction]=a:"Left"===o.direction?t.scrollTo(a,o.alternateValue):t.scrollTo(o.alternateValue,a);else if(V.Normalizations.registered[r]&&"transform"===V.Normalizations.registered[r]("name",e))V.Normalizations.registered[r]("inject",e,a),s="transform",a=i(e).transformCache[r];else{if(V.Hooks.registered[r]){var l=r,u=V.Hooks.getRoot(r);n=n||V.getPropertyValue(e,u),a=V.Hooks.injectValue(l,a,n),r=u}if(V.Normalizations.registered[r]&&(a=V.Normalizations.registered[r]("inject",e,a),r=V.Normalizations.registered[r]("name",e)),s=V.Names.prefixCheck(r)[0],d<=8)try{e.style[s]=a}catch(e){S.debug&&console.log("Browser does not support ["+a+"] for ["+s+"]")}else{var c=i(e);c&&c.isSVG&&V.Names.SVGAttribute(r)?e.setAttribute(r,a):e.style[s]=a}S.debug>=2&&console.log("Set "+r+" ("+s+"): "+a)}return[s,a]},flushTransformCache:function(e){var t="",r=i(e);if((d||S.State.isAndroid&&!S.State.isChrome)&&r&&r.isSVG){var a=function(t){return parseFloat(V.getPropertyValue(e,t))},n={translate:[a("translateX"),a("translateY")],skewX:[a("skewX")],skewY:[a("skewY")],scale:1!==a("scale")?[a("scale"),a("scale")]:[a("scaleX"),a("scaleY")],rotate:[a("rotateZ"),0,0]};f.each(i(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),n[e]&&(t+=e+"("+n[e].join(" ")+") ",delete n[e])})}else{var o,s;f.each(i(e).transformCache,function(r){if(o=i(e).transformCache[r],"transformPerspective"===r)return s=o,!0;9===d&&"rotateZ"===r&&(r="rotate"),t+=r+o+" "}),s&&(t="perspective"+s+" "+t)}V.setPropertyValue(e,"transform",t)}};V.Hooks.register(),V.Normalizations.register(),S.hook=function(e,t,r){var o;return e=n(e),f.each(e,function(e,n){if(i(n)===a&&S.init(n),r===a)o===a&&(o=V.getPropertyValue(n,t));else{var s=V.setPropertyValue(n,t,r);"transform"===s[0]&&S.CSS.flushTransformCache(n),o=s}}),o};var k=function(){function e(){return g?C.promise||null:m}function l(e,n){function o(o){var d,g;if(l.begin&&0===E)try{l.begin.call(b,b)}catch(e){setTimeout(function(){throw e},1)}if("scroll"===A){var m,h,x,k=/^x$/i.test(l.axis)?"Left":"Top",T=parseFloat(l.offset)||0;l.container?v.isWrapped(l.container)||v.isNode(l.container)?(l.container=l.container[0]||l.container,x=(m=l.container["scroll"+k])+f(e).position()[k.toLowerCase()]+T):l.container=null:(m=S.State.scrollAnchor[S.State["scrollProperty"+k]],h=S.State.scrollAnchor[S.State["scrollProperty"+("Left"===k?"Top":"Left")]],x=f(e).offset()[k.toLowerCase()]+T),p={scroll:{rootPropertyValue:!1,startValue:m,currentValue:m,endValue:x,unitType:"",easing:l.easing,scrollData:{container:l.container,direction:k,alternateValue:h}},element:e},S.debug&&console.log("tweensContainer (scroll): ",p.scroll,e)}else if("reverse"===A){if(!(d=i(e)))return;if(!d.tweensContainer)return void f.dequeue(e,l.queue);for(var N in"none"===d.opts.display&&(d.opts.display="auto"),"hidden"===d.opts.visibility&&(d.opts.visibility="visible"),d.opts.loop=!1,d.opts.begin=null,d.opts.complete=null,P.easing||delete l.easing,P.duration||delete l.duration,l=f.extend({},d.opts,l),g=f.extend(!0,{},d?d.tweensContainer:null))if(g.hasOwnProperty(N)&&"element"!==N){var H=g[N].startValue;g[N].startValue=g[N].currentValue=g[N].endValue,g[N].endValue=H,v.isEmptyObject(P)||(g[N].easing=l.easing),S.debug&&console.log("reverse tweensContainer ("+N+"): "+JSON.stringify(g[N]),e)}p=g}else if("start"===A){(d=i(e))&&d.tweensContainer&&!0===d.isAnimating&&(g=d.tweensContainer);var O=function(n,i){var o,u=V.Hooks.getRoot(n),c=!1,m=i[0],h=i[1],y=i[2];if(d&&d.isSVG||"tween"===u||!1!==V.Names.prefixCheck(u)[1]||V.Normalizations.registered[u]!==a){(l.display!==a&&null!==l.display&&"none"!==l.display||l.visibility!==a&&"hidden"!==l.visibility)&&/opacity|filter/.test(n)&&!y&&0!==m&&(y=0),l._cacheValues&&g&&g[n]?(y===a&&(y=g[n].endValue+g[n].unitType),c=d.rootPropertyValueCache[u]):V.Hooks.registered[n]?y===a?(c=V.getPropertyValue(e,u),y=V.getPropertyValue(e,n,c)):c=V.Hooks.templates[u][1]:y===a&&(y=V.getPropertyValue(e,n));var b,x,w,P=!1,k=function(e,t){var r,a;return a=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(e){return r=e,""}),r||(r=V.Values.getUnitType(e)),[a,r]};if(y!==m&&v.isString(y)&&v.isString(m)){o="";var T=0,C=0,A=[],F=[],E=0,N=0,H=0;for(y=V.Hooks.fixColors(y),m=V.Hooks.fixColors(m);T<y.length&&C<m.length;){var O=y[T],j=m[C];if(/[\d\.-]/.test(O)&&/[\d\.-]/.test(j)){for(var q=O,L=j,R=".",M=".";++T<y.length;){if((O=y[T])===R)R="..";else if(!/\d/.test(O))break;q+=O}for(;++C<m.length;){if((j=m[C])===M)M="..";else if(!/\d/.test(j))break;L+=j}var $=V.Hooks.getUnit(y,T),B=V.Hooks.getUnit(m,C);if(T+=$.length,C+=B.length,$===B)q===L?o+=q+$:(o+="{"+A.length+(N?"!":"")+"}"+$,A.push(parseFloat(q)),F.push(parseFloat(L)));else{var W=parseFloat(q),I=parseFloat(L);o+=(E<5?"calc":"")+"("+(W?"{"+A.length+(N?"!":"")+"}
34":"0")+$+" + "+(I?"{"+(A.length+(W?1:0))+(N?"!":"")+"}":"0")+B+")",W&&(A.push(W),F.push(0)),I&&(A.push(0),F.push(I))}}else{if(O!==j){E=0;break}o+=O,T++,C++,0===E&&"c"===O||1===E&&"a"===O||2===E&&"l"===O||3===E&&"c"===O||E>=4&&"("===O?E++:(E&&E<5||E>=4&&")"===O&&--E<5)&&(E=0),0===N&&"r"===O||1===N&&"g"===O||2===N&&"b"===O||3===N&&"a"===O||N>=3&&"("===O?(3===N&&"a"===O&&(H=1),N++):H&&","===O?++H>3&&(N=H=0):(H&&N<(H?5:4)||N>=(H?4:3)&&")"===O&&--N<(H?5:4))&&(N=H=0)}}T===y.length&&C===m.length||(S.debug&&console.error('Trying to pattern match mis-matched strings ["'+m+'", "'+y+'"]'),o=a),o&&(A.length?(S.debug&&console.log('Pattern found "'+o+'" -> ',A,F,"["+y+","+m+"]"),y=A,m=F,x=w=""):o=a)}if(o||(y=(b=k(n,y))[0],w=b[1],m=(b=k(n,m))[0].replace(/^([+-\/*])=/,function(e,t){return P=t,""}),x=b[1],y=parseFloat(y)||0,m=parseFloat(m)||0,"%"===x&&(/^(fontSize|lineHeight)$/.test(n)?(m/=100,x="em"):/^scale/.test(n)?(m/=100,x=""):/(Red|Green|Blue)$/i.test(n)&&(m=m/100*255,x=""))),/[\/*]/.test(P))x=w;else if(w!==x&&0!==y)if(0===m)x=w;else{s=s||function(){var a={myParent:e.parentNode||r.body,position:V.getPropertyValue(e,"position"),fontSize:V.getPropertyValue(e,"fontSize")},n=a.position===z.lastPosition&&a.myParent===z.lastParent,i=a.fontSize===z.lastFontSize;z.lastParent=a.myParent,z.lastPosition=a.position,z.lastFontSize=a.fontSize;var o={};if(i&&n)o.emToPx=z.lastEmToPx,o.percentToPxWidth=z.lastPercentToPxWidth,o.percentToPxHeight=z.lastPercentToPxHeight;else{var s=d&&d.isSVG?r.createElementNS("http://www.w3.org/2000/svg","rect"):r.createElement("div");S.init(s),a.myParent.appendChild(s),f.each(["overflow","overflowX","overflowY"],function(e,t){S.CSS.setPropertyValue(s,t,"hidden")}),S.CSS.setPropertyValue(s,"position",a.position),S.CSS.setPropertyValue(s,"fontSize",a.fontSize),S.CSS.setPropertyValue(s,"boxSizing","content-box"),f.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(e,t){S.CSS.setPropertyValue(s,t,"100%")}),S.CSS.setPropertyValue(s,"paddingLeft","100em"),o.percentToPxWidth=z.lastPercentToPxWidth=(parseFloat(V.getPropertyValue(s,"width",null,!0))||1)/100,o.percentToPxHeight=z.lastPercentToPxHeight=(parseFloat(V.getPropertyValue(s,"height",null,!0))||1)/100,o.emToPx=z.lastEmToPx=(parseFloat(V.getPropertyValue(s,"paddingLeft"))||1)/100,a.myParent.removeChild(s)}return null===z.remToPx&&(z.remToPx=parseFloat(V.getPropertyValue(r.body,"fontSize"))||16),null===z.vwToPx&&(z.vwToPx=parseFloat(t.innerWidth)/100,z.vhToPx=parseFloat(t.innerHeight)/100),o.remToPx=z.remToPx,o.vwToPx=z.vwToPx,o.vhToPx=z.vhToPx,S.debug>=1&&console.log("Unit ratios: "+JSON.stringify(o),e),o}();var D=/margin|padding|left|right|width|text|word|letter/i.test(n)||/X$/.test(n)||"x"===n?"x":"y";switch(w){case"%":y*="x"===D?s.percentToPxWidth:s.percentToPxHeight;break;case"px":break;default:y*=s[w+"ToPx"]}switch(x){case"%":y*=1/("x"===D?s.percentToPxWidth:s.percentToPxHeight);break;case"px":break;default:y*=1/s[x+"ToPx"]}}switch(P){case"+":m=y+m;break;case"-":m=y-m;break;case"*":m*=y;break;case"/":m=y/m}p[n]={rootPropertyValue:c,startValue:y,currentValue:y,endValue:m,unitType:x,easing:h},o&&(p[n].pattern=o),S.debug&&console.log("tweensContainer ("+n+"): "+JSON.stringify(p[n]),e)}else S.debug&&console.log("Skipping ["+u+"] due to a lack of browser support.")};for(var j in w)if(w.hasOwnProperty(j)){var q=V.Names.camelCase(j),L=function(t,r){var a,i,o;return v.isFunction(t)&&(t=t.call(e,n,F)),v.isArray(t)?(a=t[0],!v.isArray(t[1])&&/^[\d-]/.test(t[1])||v.isFunction(t[1])||V.RegEx.isHex.test(t[1])?o=t[1]:v.isString(t[1])&&!V.RegEx.isHex.test(t[1])&&S.Easings[t[1]]||v.isArray(t[1])?(i=u(t[1],l.duration),o=t[2]):o=t[1]||t[2]):a=t,i=i||l.easing,v.isFunction(a)&&(a=a.call(e,n,F)),v.isFunction(o)&&(o=o.call(e,n,F)),[a||0,i,o]}(w[j]);if(y(V.Lists.colors,q)){var M=L[0],$=L[1],B=L[2];if(V.RegEx.isHex.test(M)){for(var W=["Red","Green","Blue"],I=V.Values.hexToRgb(M),D=B?V.Values.hexToRgb(B):a,G=0;G<W.length;G++){var Q=[I[G]];$&&Q.push($),D!==a&&Q.push(D[G]),O(q+W[G],Q)}continue}}O(q,L)}p.element=e}p.element&&(V.Values.addClass(e,"velocity-animating"),R.push(p),(d=i(e))&&(""===l.queue&&(d.tweensContainer=p,d.opts=l),d.isAnimating=!0),E===F-1?(S.State.calls.push([R,b,l,null,C.resolver,null,0]),!1===S.State.isTicking&&(S.State.isTicking=!0,c())):E++)}var s,l=f.extend({},S.defaults,P),p={};switch(i(e)===a&&S.init(e),parseFloat(l.delay)&&!1!==l.queue&&f.queue(e,l.queue,function(t){S.velocityQueueEntryFlag=!0;var r=S.State.delayedElements.count++;S.State.delayedElements[r]=e;var a=function(e){return function(){S.State.delayedElements[e]=!1,t()}}(r);i(e).delayBegin=(new Date).getTime(),i(e).delay=parseFloat(l.delay),i(e).delayTimer={
vendor: 5,089 bytes, line 34
34setTimeout:setTimeout(t,parseFloat(l.delay)),next:a}}),l.duration.toString().toLowerCase()){case"fast":l.duration=200;break;case"normal":l.duration=x;break;case"slow":l.duration=600;break;default:l.duration=parseFloat(l.duration)||1}if(!1!==S.mock&&(!0===S.mock?l.duration=l.delay=1:(l.duration*=parseFloat(S.mock)||1,l.delay*=parseFloat(S.mock)||1)),l.easing=u(l.easing,l.duration),l.begin&&!v.isFunction(l.begin)&&(l.begin=null),l.progress&&!v.isFunction(l.progress)&&(l.progress=null),l.complete&&!v.isFunction(l.complete)&&(l.complete=null),l.display!==a&&null!==l.display&&(l.display=l.display.toString().toLowerCase(),"auto"===l.display&&(l.display=S.CSS.Values.getDisplayType(e))),l.visibility!==a&&null!==l.visibility&&(l.visibility=l.visibility.toString().toLowerCase()),l.mobileHA=l.mobileHA&&S.State.isMobile&&!S.State.isGingerbread,!1===l.queue)if(l.delay){var d=S.State.delayedElements.count++;S.State.delayedElements[d]=e;var g=function(e){return function(){S.State.delayedElements[e]=!1,o()}}(d);i(e).delayBegin=(new Date).getTime(),i(e).delay=parseFloat(l.delay),i(e).delayTimer={setTimeout:setTimeout(o,parseFloat(l.delay)),next:g}}else o();else f.queue(e,l.queue,function(e,t){if(!0===t)return C.promise&&C.resolver(b),!0;S.velocityQueueEntryFlag=!0,o()});""!==l.queue&&"fx"!==l.queue||"inprogress"===f.queue(e)[0]||f.dequeue(e)}var d,g,m,h,b,w,P,T=arguments[0]&&(arguments[0].p||f.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||v.isString(arguments[0].properties));v.isWrapped(this)?(g=!1,h=0,b=this,m=this):(g=!0,h=1,b=T?arguments[0].elements||arguments[0].e:arguments[0]);var C={promise:null,resolver:null,rejecter:null};if(g&&S.Promise&&(C.promise=new S.Promise(function(e,t){C.resolver=e,C.rejecter=t})),T?(w=arguments[0].properties||arguments[0].p,P=arguments[0].options||arguments[0].o):(w=arguments[h],P=arguments[h+1]),b=n(b)){var A,F=b.length,E=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(w)&&!f.isPlainObject(P)){P={};for(var N=h+1;N<arguments.length;N++)v.isArray(arguments[N])||!/^(fast|normal|slow)$/i.test(arguments[N])&&!/^\d/.test(arguments[N])?v.isString(arguments[N])||v.isArray(arguments[N])?P.easing=arguments[N]:v.isFunction(arguments[N])&&(P.complete=arguments[N]):P.duration=arguments[N]}switch(w){case"scroll":A="scroll";break;case"reverse":A="reverse";break;case"pause":var H=(new Date).getTime();return f.each(b,function(e,t){o(t,H)}),f.each(S.State.calls,function(e,t){var r=!1;t&&f.each(t[1],function(e,n){var i=P===a?"":P;return!0!==i&&t[2].queue!==i&&(P!==a||!1!==t[2].queue)||(f.each(b,function(e,a){if(a===n)return t[5]={resume:!1},r=!0,!1}),!r&&void 0)})}),e();case"resume":return f.each(b,function(e,t){s(t)}),f.each(S.State.calls,function(e,t){var r=!1;t&&f.each(t[1],function(e,n){var i=P===a?"":P;return!0!==i&&t[2].queue!==i&&(P!==a||!1!==t[2].queue)||!t[5]||(f.each(b,function(e,a){if(a===n)return t[5].resume=!0,r=!0,!1}),!r&&void 0)})}),e();case"finish":case"finishAll":case"stop":f.each(b,function(e,t){i(t)&&i(t).delayTimer&&(clearTimeout(i(t).delayTimer.setTimeout),i(t).delayTimer.next&&i(t).delayTimer.next(),delete i(t).delayTimer),"finishAll"!==w||!0!==P&&!v.isString(P)||(f.each(f.queue(t,v.isString(P)?P:""),function(e,t){v.isFunction(t)&&t()}),f.queue(t,v.isString(P)?P:"",[]))});var O=[];return f.each(S.State.calls,function(e,t){t&&f.each(t[1],function(r,n){var o=P===a?"":P;if(!0!==o&&t[2].queue!==o&&(P!==a||!1!==t[2].queue))return!0;f.each(b,function(r,a){if(a===n)if((!0===P||v.isString(P))&&(f.each(f.queue(a,v.isString(P)?P:""),function(e,t){v.isFunction(t)&&t(null,!0)}),f.queue(a,v.isString(P)?P:"",[])),"stop"===w){var s=i(a);s&&s.tweensContainer&&!1!==o&&f.each(s.tweensContainer,function(e,t){t.endValue=t.currentValue}),O.push(e)}else"finish"!==w&&"finishAll"!==w||(t[2].duration=1)})})}),"stop"===w&&(f.each(O,function(e,t){p(t,!0)}),C.promise&&C.resolver(b)),e();default:if(!f.isPlainObject(w)||v.isEmptyObject(w)){if(v.isString(w)&&S.Redirects[w]){var j=(d=f.extend({},P)).duration,q=d.delay||0;return!0===d.backwards&&(b=f.extend(!0,[],b).reverse()),f.each(b,function(e,t){parseFloat(d.stagger)?d.delay=q+parseFloat(d.stagger)*e:v.isFunction(d.stagger)&&(d.delay=q+d.stagger.call(t,e,F)),d.drag&&(d.duration=parseFloat(j)||(/^(callout|transition)/.test(w)?1e3:x),d.duration=Math.max(d.duration*(d.backwards?1-e/F:(e+1)/F),.75*d.duration,200)),S.Redirects[w].call(t,t,d||{},e,F,b,C.promise?C:a)}),e()}var L="Velocity: First argument ("+w+") was not a property map, a known action, or a registered redirect. Aborting.";return C.promise?C.rejecter(new Error(L)):t.console&&console.log(L),e()}A="start"}var z={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},R=[];f.each(b,function(e,t){v.isNode(t)&&l(t,e)}),(d=f.extend({},S.defaults,P)).loop=parseInt(d.loop,10);var M=2*d.loop-1;if(d.loop)for(var $=0;$<M;$++){var B={delay:d.delay,progress:d.progress};$===M-1&&(B.display=d.display,B.visibility=d.visibility,B.complete=d.complete),k(b,"reverse",B)}return e()}
34C.promise&&(w&&P&&!1===P.promiseRejectEmpty?C.resolver():C.rejecter())};(S=f.extend(k,S)).animate=k;var T=t.requestAnimationFrame||g;if(!S.State.isMobile&&r.hidden!==a){var C=function(){r.hidden?(T=function(e){return setTimeout(function(){e(!0)},16)},c()):T=t.requestAnimationFrame||g};C(),r.addEventListener("visibilitychange",C)}return e.Velocity=S,e!==t&&(e.fn.velocity=k,e.fn.velocity.defaults=S.defaults),f.each(["Down","Up"],function(e,t){S.Redirects["slide"+t]=function(e,r,n,i,o,s){var l=f.extend({},r),u=l.begin,c=l.complete,p={},d={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};l.display===a&&(l.display="Down"===t?"inline"===S.CSS.Values.getDisplayType(e)?"inline-block":"block":"none"),l.begin=function(){for(var r in 0===n&&u&&u.call(o,o),d)if(d.hasOwnProperty(r)){p[r]=e.style[r];var a=V.getPropertyValue(e,r);d[r]="Down"===t?[a,0]:[0,a]}p.overflow=e.style.overflow,e.style.overflow="hidden"},l.complete=function(){for(var t in p)p.hasOwnProperty(t)&&(e.style[t]=p[t]);n===i-1&&(c&&c.call(o,o),s&&s.resolver(o))},S(e,d,l)}}),f.each(["In","Out"],function(e,t){S.Redirects["fade"+t]=function(e,r,n,i,o,s){var l=f.extend({},r),u=l.complete,c={opacity:"In"===t?1:0};0!==n&&(l.begin=null),l.complete=n!==i-1?null:function(){u&&u.call(o,o),s&&s.resolver(o)},l.display===a&&(l.display="In"===t?"auto":"none"),S(this,c,l)}}),S}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,window?window.document:void 0)}); 35/*jquery.super-sidebar.min.js*/ 36!function(e){"use strict";function t(t,o){var a,i=encodeURIComponent(document.location.href),n=encodeURIComponent(document.title),r={position:["left","center"],offset:[0,0],buttonShape:"round",buttonColor:"default",buttonOverColor:"default",iconColor:"white",iconOverColor:"white",labelEnabled:!0,labelColor:"match",labelTextColor:"match",labelEffect:"slide-out-fade",labelAnimate:"default",labelConnected:!0,sideSpace:!0,buttonSpace:!0,labelSpace:!1,subPosition:["circular",105,-90,90],subEffect:["linear-slide",40],subAnimate:[400,"easeOutQuad"],subSpace:!1,subOpen:"mouseover",windowPosition:["center","center"],windowOffset:[0,0],windowCorners:"match",windowColor:"match",windowShadow:!0,windowDraggable:!0,showAfterPosition:!1,barAnimate:[250,"easeOutQuad"],hideUnderWidth:!1,shareTarget:"default",animateEngine:"velocity",shareUrl:null,shareTitle:null},l={default:[400,"easeOutQuad"],fade:[200,"easeOutQuad"],"slide-in-in":{show:[400,"easeOutQuad"],hide:[400,"swing"]}},c={blogger:{type:"popup",url:"https://www.blogger.com/blog-this.g?u={URL}&n={TITLE}",window:{width:700,height:450,top:200,left:"{CENTER}"}},buffer:{type:"popup",url:"https://buffer.com/add?text={TITLE}&url={URL}",window:{width:750,height:500,top:200,left:"{CENTER}"}},diaspora:{type:"popup",url:"https://share.diasporafoundation.org/?title={TITLE}&url={URL}",window:{width:750,height:500,top:200,left:"{CENTER}"}},digg:{type:"popup",url:"http://digg.com/submit?url={URL}",window:{width:700,height:450,top:200,left:"{CENTER}"}},douban:{type:"popup",url:"http://www.douban.com/recommend/?url={URL}&title={TITLE}",window:{width:700,height:450,top:200,left:"{CENTER}"}},email:{type:"popup",url:"mailto:?subject={TITLE}&body={URL}",window:{width:750,height:500,top:200,left:"{CENTER}"}},evernote:{type:"popup",url:"http://www.evernote.com/clip.action?url={URL}&title={TITLE}",window:{width:950,height:550,top:200,left:"{CENTER}"}},facebook:{type:"popup",url:"https://www.facebook.com/sharer.php?u={URL}",window:{width:700,height:450,top:200,left:"{CENTER}"}},flipboard:{type:"popup",url:"https://share.flipboard.com/bookmarklet/popout?v=2&title={TITLE}&url={URL}",window:{width:800,height:550,top:200,left:"{CENTER}"}},"google-bookmarks":{type:"popup",url:"https://www.google.com/bookmarks/mark?op=edit&bkmk={URL}&title={TITLE}",window:{width:1e3,height:550,top:200,left:"{CENTER}"}},"hacker-news":{type:"popup",url:"https://news.ycombinator.com/submitlink?u={URL}&t={TITLE}",window:{width:700,height:450,top:200,left:"{CENTER}"}},instapaper:{type:"popup",url:"http://www.instapaper.com/edit?url={URL}&title={TITLE}",window:{width:700,height:420,top:200,left:"{CENTER}"}},line:{type:"popup",url:"https://lineit.line.me/share/ui?url={URL}",window:{width:700,height:450,top:200,left:"{CENTER}"}},linkedin:{type:"popup",url:"https://www.linkedin.com/shareArticle?mini=true&url={URL}&title={TITLE}",window:{width:700,height:450,top:200,left:"{CENTER}"}},livejournal:{type:"popup",url:"http://www.livejournal.com/update.bml?subject={TITLE}&event={URL}",window:{width:800,height:550,top:200,left:"{CENTER}"}},okru:{type:"popup",url:"https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&st.shareUrl={URL}",window:{width:700,height:450,top:200,left:"{CENTER}"}},pinterest:{type:"popup",url:"http://pinterest.com/pin/create/button/?url={URL}",window:{width:1050,height:650,top:150,left:"{CENTER}"}},pocket:{type:"popup",url:"https://getpocket.com/edit?url={URL}",window:{width:700,height:450,top:200,left:"{CENTER}"}},qzone:{type:"popup",url:"http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url={URL}",window:{width:700,height:450,top:200,left:"{CENTER}"}},reddit:{type:"popup",url:"http://www.reddit.com/submit?url={URL}&title={TITLE}",window:{width:1e3,height:650,top:150,left:"{CENTER}"}},renren:{type:"popup",url:"http://widget.renren.com/dialog/share?resourceUrl={URL}&srcUrl={URL}&title={TITLE}",window:{width:700,height:450,top:200,left:"{CENTER}"}},skype:{type:"popup",url:"https://web.skype.com/share?url={URL}",window:{width:700,height:550,top:200,left:"{CENTER}"}},telegram:{type:"popup",url:"https://telegram.me/share/url?url={URL}&text={TITLE}",window:{width:700,height:450,top:200,left:"{CENTER}"}},tumblr:{type:"popup",url:"https://www.tumblr.com/widgets/share/tool?canonicalUrl={URL}&title={TITLE}",window:{width:700,height:450,top:200,left:"{CENTER}"}},twitter:{type:"popup",url:"https://twitter.com/intent/tweet?url={URL}&text={TITLE}",window:{width:700,height:450,top:200,left:"{CENTER}"}},vk:{type:"popup",url:"http://vk.com/share.php?url={URL}&title={TITLE}",window:{width:700,height:450,top:200,left:"{CENTER}"}},weibo:{type:"popup",url:"http://service.weibo.com/share/share.php?url={URL}&title={TITLE}",window:{width:700,height:450,top:200,left:"{CENTER}"}},xing:{type:"popup",url:"https://www.xing.com/spi/shares/new?url={URL}",window:{width:700,height:450,top:200,left:"{CENTER}"}}},d={empty:"Please fill all of the required fields.",badEmail:"The email format is incorrect.",working:"Working, please wait...",success:"The submission was successful!",error:"There was an error! Please try again.",noFile:"Form processing file not found."},u=e(window),h=e(document),p=e("body"),b=this,f=this,w=e(t);this.bar,this.overlay;var m=!1;function v(){b.bar.position(),b.overlay&&b.overlay.position(),a.hideUnderWidth&&(u.width()<a.hideUnderWidth?w.addClass("sb-vhide"):w.removeClass("sb-vhide"))}function C(e){return parseInt(e,10)}function g(e){return"[object Array]"===Object.prototype.toString.call(e)?{show:e,hide:e}:e}function y(t,s,o){if(s){var a,i,n=u.width(),r=u.height(),l=t.outerWidth(!0),c=t.outerHeight(!0);"number"==typeof s[0]?a={left:s[0]+o[0]}:"string"==typeof s[0]&&(a=-1!==s[0].indexOf("%")?{left:C(s[0].split("%")[0])/100*n+o[0]}
36:"left"===s[0]?{left:0+o[0]}:"center"===s[0]?{left:(n-l)/2+o[0]}:"right"===s[0]?{right:0+o[0]}:{left:C(s[0])+o[0]}),"number"==typeof s[1]?i={top:s[1]+o[1]}:"string"==typeof s[1]&&(i=-1!==s[1].indexOf("%")?{top:C(s[1].split("%")[0])/100*r+o[1]}:"top"===s[1]?{top:0+o[1]}:"center"===s[1]?{top:(r-c)/2+o[1]}:"bottom"===s[1]?{bottom:0+o[1]}:{top:C(s[1])+o[1]}),a.left&&(a.left=Math.round(a.left)),a.right&&(a.right=Math.round(a.right)),i.top&&(i.top=Math.round(i.top)),i.bottom&&(i.bottom=Math.round(i.bottom)),t.css(e.extend({},a,i))}}function E(e,t,s,o,i){"velocity"===a.animateEngine?e.velocity(t,s,o,i):e.animate(t,s,o,i)}function T(e){"velocity"===a.animateEngine?e.velocity("stop"):e.stop()}function k(e){return null!==e&&""!==e}function R(t){var s=this,o=e(t),i=o.children(),n=[],r=!0;function l(){u.scrollTop()<a.showAfterPosition?r&&(T(o),E(o,{opacity:0},a.barAnimate.show[0],a.barAnimate.show[1],function(){o.addClass("sb-hide")}),r=!1):r||(o.removeClass("sb-hide"),T(o),E(o,{opacity:1},a.barAnimate.show[0],a.barAnimate.show[1]),r=!0)}this.nextMargins=[],this.curSub=null,this.position=function(){y(o,a.position,a.offset)},this.getMain=function(){return o},this.destroy=function(){var e,t;for(o.attr("class","sb-bar").removeAttr("style"),t=n.length,e=0;e<t;e++)n[e].destroy();a.showAfterPosition&&u.off("scroll",l)},"right"===a.position[0]&&o.addClass("sb-right"),"square"!==a.buttonShape&&o.addClass("sb-"+a.buttonShape),a.labelConnected&&o.addClass("sb-connected"),"default"!==a.buttonColor&&"custom"!==a.buttonColor&&o.addClass("sb-"+a.buttonColor+"-button"),"default"!==a.buttonOverColor&&"custom"!==a.buttonOverColor&&o.addClass("sb-"+a.buttonOverColor+"-button-over"),"default"!==a.iconColor&&"custom"!==a.iconColor&&o.addClass("sb-"+a.iconColor+"-icon"),"default"!==a.iconOverColor&&"custom"!==a.iconOverColor&&o.addClass("sb-"+a.iconOverColor+"-icon-over"),"default"!==a.labelColor&&"custom"!==a.labelColor&&o.addClass("sb-"+a.labelColor+"-label"),"default"!==a.labelTextColor&&"custom"!==a.labelTextColor&&o.addClass("sb-"+a.labelTextColor+"-label-text"),a.sideSpace&&o.addClass("sb-side-space"),a.buttonSpace&&o.addClass("sb-button-space"),a.labelSpace&&o.addClass("sb-label-space"),o.addClass("sb-css-anim"),i.each(function(e){var t=i.eq(e);t.hasClass("sb-sub")?n[e]=new A(t[0],e,i.eq(e+1),C(i.eq(0).css("margin-bottom")),C(o.css("margin-top"))):n[e]=new L(t[0]),s.nextMargins[e]=C(t.css("margin-top"))}),a.showAfterPosition&&(u.scrollTop()<a.showAfterPosition&&(o.css("opacity",0).addClass("sb-hide"),r=!1),u.on("scroll",l))}function A(t,s,o,i,n){var r,l,c,d='<div class="sb-subhit"></div>',u=this,p=e(t),b=p.children(".sb-icon"),w=p.children(".sb-subbar"),v=w.children(),g=null,y=[],k=a.subPosition[0],R=a.subEffect[0],S=m?"right":"left",U=v.length,x=C(b.css("width")),I=C(b.css("height")),P=[],N=!1,O=0,M=0,q={},j={};function D(t){!N||f.overlay.isOpen||e(t.target).closest(p).length||close()}function Q(){clearInterval(c)}this.open=function(){var e,t=a.subAnimate.show[0],s=a.subAnimate.show[1];!function(){var e,t=a.subAnimate.show[0],s=a.subAnimate.show[1];switch(R){case"fade":T(w),w.removeClass("sb-hide"),E(w,j,t,s);break;case"linear-fade":l="show",w.removeClass("sb-hide"),Q(),e=0,c=setInterval(function(){var o=v.eq(e);T(o),E(o,j,t,s),e===U-1?Q():e++},a.subEffect[1]);break;case"slide":"circular"===k?(w.removeClass("sb-hide"),v.each(function(e){var o=v.eq(e);(j={top:P[e][1],opacity:1})[S]=P[e][0],T(o),E(o,j,t,s)})):(T(w),w.removeClass("sb-hide"),E(w,j,t,s));break;case"linear-slide":l="show",w.removeClass("sb-hide"),Q(),e=0,c=setInterval(function(){var o=v.eq(e);"side"===k?j[S]=0:"circular"===k?(j={top:P[e][1]})[S]=P[e][0]:j={top:P[e]},j.opacity=1,T(o),E(o,j,t,s),e===U-1?Q():e++},a.subEffect[1]);break;case"none":default:w.removeClass("sb-hide")}}(),g&&g.addClass("sb-show"),O&&(T(e=f.bar.getMain()),E(e,{"margin-top":r-O+i},t,s),T(p),E(p,{"margin-top":O},t,s)),M&&(T(o),E(o,{"margin-top":M},t,s)),f.bar.curSub=p,N=!0,"click"===a.subOpen&&h.on("click",D)},this.close=function(){var e,t=a.subAnimate.hide[0],n=a.subAnimate.hide[1];!function(){var e,t=a.subAnimate.hide[0],s=a.subAnimate.hide[1];switch(R){case"fade":T(w),E(w,q,t,s,function(){w.addClass("sb-hide")});break;case"linear-fade":l="hide",Q(),e=U-1,c=setInterval(function(){var o=v.eq(e),a=e;T(o),E(o,q,t,s,function(){"hide"===l&&0===a&&w.addClass("sb-hide")}),0===e?Q():e--},a.subEffect[1]);break;case"slide":"circular"===k?v.each(function(e){var o=v.eq(e);T(o),E(o,q,t,s,function(){e===U-1&&w.addClass("sb-hide")})}):(T(w),E(w,q,t,s,function(){w.addClass("sb-hide")}));break;case"linear-slide":var o,i,n;l="hide",n="side"===k||"circular"===k?(o=0,i=U-1,1):(o=U-1,i=0,-1),Q(),e=o,c=setInterval(function(){var o=v.eq(e),a=e;T(o),E(o,q,t,s,function(){"hide"===l&&a===i&&w.addClass("sb-hide")}),e===i?Q():e+=n},a.subEffect[1]);break;case"none":default:w.addClass("sb-hide")}}(),g&&g.removeClass("sb-show"),O&&(T(e=f.bar.getMain()),E(e,{"margin-top":r},t,n),T(p),E(p,{"margin-top":i},t,n)),M&&(T(o),E(o,{"margin-top":f.bar.nextMargins[s+1]},t,n)),f.bar.curSub=null,N=!1,"click"===a.subOpen&&h.off("click",D)},this.destroy=function(){var e,t;for(p.removeClass("sb-side sb-circular sb-sub-space sb-posabs"),p.removeAttr("style"),w.removeClass("sb-hide"),w.removeAttr("style"),v.removeAttr("style"),t=y.length,e=0;e<t;e++)y[e].destroy();p.children(".sb-subhit").remove(),p.off("mouseenter mouseleave"),b.off("click")},function(){if("side"===k&&p.addClass("sb-side"),a.subSpace&&p.addClass("sb-sub-space"),"linear-slide"!==R&&"circular"!==k||p.addClass("sb-posabs"),w.addClass("sb-hide"),("under"===k&&"linear-slide"===R||"circular"===k&&"slide"===R||"circular"===k&&"linear-slide"===R)&&v.each(function(e){v.eq
36(e).css("z-index",100-e)}),v.each(function(e){var t=v.eq(e);t.hasClass("sb-sub")?y[e]=new A(t[0],e):y[e]=new L(t[0])}),"circular"===k){p.addClass("sb-circular");var t=a.subPosition[1],l=a.subPosition[2],c=a.subPosition[3],h=l*Math.PI/180,E=(c*Math.PI/180-h)/(U-1);v.each(function(e){var s,o,a,i;s=e*E+h,o=Math.round(t*Math.cos(s)),(i={top:a=Math.round(t*Math.sin(s))})[S]=o,v.eq(e).css(i),P[e]=[o,a]}),(g=e(d).appendTo(p)).css({width:t+x,height:2*t+x,"border-radius":m?t+"px 0 0 "+t+"px":"0 "+t+"px "+t+"px 0",top:-t}),0!==s&&(O=t+i,r=n,p.css("margin-top",i)),o&&(M=t+i)}else{if("linear-slide"===R){var T=0;v.each(function(t){var s=e(this);s.css("top",T),P[t]=T,T+=C(s.css("height"))+C(s.css("margin-bottom"))}),w.css({width:x,height:T})}g=e(d).appendTo(p),"side"===k?g.css({width:x+C(w.css("margin-"+S)),height:I}):g.css({width:x,height:I+C(w.css("margin-top"))}),"under"===k&&o&&(M=w.outerHeight(!0)+C(o.css("margin-top"))+C(w.css("margin-top")))}switch(R){case"fade":q={opacity:0},j={opacity:1},w.css(q);break;case"linear-fade":q={opacity:0}
36,j={opacity:1},v.css(q);break;case"slide":"circular"===k?((q={top:0,opacity:0})[S]=0,v.css(q)):("side"===k?(q[S]=0,j[S]=x):(q={top:0},j={top:42}),q.opacity=0,j.opacity=1,w.css(q));break;case"linear-slide":"side"===k?q[S]=-x:"circular"===k?(q={top:0})[S]=0:q={top:-I},q.opacity=0,v.css(q)}"click"===a.subOpen?b.on("click",function(e){N?u.close():(f.bar.curSub&&f.bar.curSub.close(),u.open()),e.stopPropagation()}):(p.on("mouseenter",u.open),p.on("mouseleave",u.close))}()}function L(t){var o,r,l='<div class="sb-mask"></div>',c=40,d=e(t).children("a"),u=d.children(".sb-icon"),h=d.children(".sb-label"),b=null,w=null,v=m?"right":"left",g=!1,y={},R={},A={};function L(){var e=a.labelAnimate.show[0],t=a.labelAnimate.show[1];switch(a.labelEffect){case"fade":w&&w.addClass("sb-show"),T(h),h.addClass("sb-show"),E(h,R,e,t);break;case"slide-out":case"slide-out-fade":b.css("width",o+r),g&&b.removeClass("sb-off"),w&&w.addClass("sb-show"),T(h),h.addClass("sb-show"),E(h,R,e,t);break;case"slide-in":w&&w.addClass("sb-show"),T(h),h.addClass("sb-show"),E(h,R,e,t);break;case"slide-out-out":case"slide-in-in":b.css("width",o+r+c),g&&b.removeClass("sb-off"),w&&w.addClass("sb-show"),T(h),h.css(y).addClass("sb-show"),E(h,R,e,t,function(){b.css("width",o+r)});break;case"none":default:w&&w.addClass("sb-show"),h.addClass("sb-show")}}function S(){var e=a.labelAnimate.hide[0],t=a.labelAnimate.hide[1];switch(a.labelEffect){case"fade":T(h),E(h,y,e,t,function(){h.removeClass("sb-show"),w&&w.removeClass("sb-show")});break;case"slide-out":case"slide-out-fade":T(h),E(h,y,e,t,function(){h.removeClass("sb-show"),b.css("width",o),g&&b.addClass("sb-off"),w&&w.removeClass("sb-show")});break;case"slide-in":T(h),E(h,y,e,t,function(){h.removeClass("sb-show"),w&&w.removeClass("sb-show")});break;case"slide-out-out":case"slide-in-in":b.css("width",o+r+c),T(h),E(h,A,e,t,function(){h.removeClass("sb-show"),b.css("width",o),g&&b.addClass("sb-off"),w&&w.removeClass("sb-show")});break;case"none":default:h.removeClass("sb-show"),w&&w.removeClass("sb-show")}}this.destroy=function(){d.data("share")&&d.removeAttr("href target"),w&&w.remove(),b.length&&d.unwrap(),h.removeAttr("style"),d.off("mouseenter mouseleave click")},function(){if(a.labelEnabled&&h.length){switch(o=C(u.css("width")),r=h.outerWidth(!0),"round"!==a.buttonShape&&"rounded"!==a.buttonShape||(g=!0),a.labelConnected||!a.labelSpace&&"round"!==a.buttonShape&&"rounded"!==a.buttonShape&&"rounded-out"!==a.buttonShape||(w=e('<div class="sb-hit"></div>').appendTo(d)),a.labelEffect){case"fade":y={opacity:0},R={opacity:1},h.css(y);break;case"slide-out":(b=d.wrap(l).parent()).css("width",o),g&&b.addClass("sb-off"),y[v]=-r+o,a.labelConnected?R[v]=0:R[v]=o,h.css(y);break;case"slide-out-fade":(b=d.wrap(l).parent()).css("width",o),g&&b.addClass("sb-off"),y[v]=-r+o,y.opacity=0,a.labelConnected?R[v]=0:R[v]=o,R.opacity=1,h.css(y);break;case"slide-in":y[v]=o+c,y.opacity=0,R[v]=o,R.opacity=1,h.css(y);break;case"slide-out-out":(b=d.wrap(l).parent()).css("width",o),g&&b.addClass("sb-off"),y[v]=-r+o,y.opacity=0,R[v]=o,R.opacity=1,A[v]=o+c,A.opacity=0;break;case"slide-in-in":(b=d.wrap(l).parent()).css("width",o),g&&b.addClass("sb-off"),y[v]=o+c,y.opacity=0,R[v]=o,R.opacity=1,A[v]=-r+o,A.opacity=0}d.on("mouseenter",L),d.on("mouseleave",S)}var t,m,E,T,U,x;(t=d.data("share"))?(m=a.shareServices[t])?"file"===m.type?d.on("click",function(e){!function(e){p.append('<script src="'+e+'" type="text/javascript"><\/script>')}(m.url),e.preventDefault()}):(U=k(a.shareUrl)?a.shareUrl:i,x=k(a.shareTitle)?a.shareTitle:n,E=m.url.replace("{URL}",U).replace("{TITLE}",x),d.attr("href",E),"app"===m.type?d.attr("target","_self"):"popup"===("default"===a.shareTarget?m.type:a.shareTarget)?d.on("click",function(e){!function(e,t){var s,o,a;s="{CENTER}"===t.top?(screen.height-t.height)/2:t.top,o="{CENTER}"===t.left?(screen.width-t.width)/2:t.left,a="menubar=no,toolbar=no,location=no,scrollbars=no,status=no,resizable=yes,width="+t.width+",height="+t.height+",top="+s+",left="+o,window.open(e,"sbShareWindow",a)}(E,m.window),e.preventDefault()}):d.attr("target","_blank")):s('There is no share data for "'+t+'".',"warn"):(T=d.attr("href"))&&"#"===T.charAt(0)&&"#"!==T&&d.on("click",function(){return f.overlay.open(T),!1})}()}function S(t){var s=this,o=e(t),i=o.children(".sb-shadow"),n=o.children(".sb-window"),r=[],l=null;this.isOpen=!1,this.position=function(){l&&l.position()},this.open=function(e){var t=e.split("#")[1];o.addClass("sb-show"),(l=r[t]).open(),s.isOpen=!0},this.close=function(){o.removeClass("sb-show"),l&&(l.close(),l=null),s.isOpen=!1},this.destroy=function(){var e,t;for(o.attr("class","sb-overlay"),i.off("click"),t=r.length,e=0;e<t;e++)r[e].destroy()},"round"===a.windowCorners&&o.addClass("sb-round"),"default"!==a.windowColor&&"custom"!==a.windowColor&&o.addClass("sb-"+a.windowColor),a.windowShadow&&o.addClass("sb-winshadow"),i.on("click",
36s.close),n.each(function(e){var t=n.eq(e).attr("id");r[t]=new U(this)})}function U(t){var s=this,o=e(t),i=o.find(".sb-close"),n=o.find(".sb-form"),l=null;this.position=function(){var e,t;o.data("position")?(e=o.data("position").split("-"))[1]||(e[1]=r.windowPosition[1]):e=a.windowPosition,t=o.data("offset")?function(e){return(e=e.split("-"))[0]=C(e[0]),e[1]&&(e[1]=C(e[1])),e}(o.data("offset")):a.windowOffset,y(o,e,t)},this.open=function(){o.addClass("sb-show"),s.position()},this.close=function(){o.removeClass("sb-show")},this.destroy=function(){o.removeClass("sb-show").removeAttr("style"),i.off("click"),l&&l.destroy()},i.on("click",function(e){f.overlay.close(),e.stopPropagation()}),n.length&&(l=new x(n[0])),a.windowDraggable&&o.sbDraggable({handle:".sb-head"})}function x(t){var s,o,i,n=e(t),r=n.find("input, textarea, select"),l=n.find(".sb-status"),c=n.data("id"),u=n.find(".sb-submit"),h=null,p=!1;function b(){var t,s;p||(t=!0,s=null,r.each(function(){var o=e(this),a=!0;o.attr("required")&&""===o.val()&&(t=a=!1,s=s||"empty"),"email"!==o.attr("name")||function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}(o.val())||(t=a=!1,s=s||"badEmail"),a||(o.addClass("sb-fielderror"),o.on("focus",function(){e(this).removeClass("sb-fielderror").off("focus")}))}),t?(function(){var t;p=!0,t=n.serializeArray(),i.post&&e.each(i.post,function(e,s){var o={};o[e]=s,t.push(o)}),e.ajax({type:"POST",url:n.attr("action"),data:t,dataType:"json",success:function(t){t.status?(f("success",t.message),r.each(function(){e(this).val("")}
36)):f("error",t.message),p=!1},error:function(e,t,s){f("error","Not Found"===s?i.status.noFile:s),p=!1}})}(),f("working")):f(s))}function f(e,t){switch(l.removeClass(h),e){case"empty":case"badEmail":case"error":h="sb-error";break;case"working":h="sb-working";break;case"success":h="sb-success"}l.addClass(h),t?o.text(t):o.text(i.status[e]),l.addClass("sb-show")}this.destroy=function(){r.removeClass("sb-formerror").off("focus"),r.each(function(){e(this).val("")}),l.attr("class","sb-status"),s.remove(),o.remove(),u.off("click"),n.off("submit")},c&&a.formData&&a.formData[c]?(i=a.formData[c]).status=e.extend({},d,i.status):i={status:d},s=e('<div class="sb-sicon"></div>'),l.append(s),o=e(' <div class="sb-message"></div>'),l.append(o),u.on("click",b),n.on("submit",function(e){b(),e.preventDefault()})}this.getVersion=function(){return"3.1.0"},this.destroy=function(){b.bar.destroy(),b.overlay&&b.overlay.destroy(),u.off("resize",v),w.removeClass("sb-vhide sb-ready"),w.data("superSidebar",null)},"match"===(a=e.extend({},r,o)).labelColor&&(a.labelColor=a.buttonOverColor),"match"===a.labelTextColor&&(a.labelTextColor=a.iconOverColor),"default"===a.labelAnimate&&(l[a.labelEffect]?a.labelAnimate=l[a.labelEffect]:a.labelAnimate=l.default),a.labelAnimate=g(a.labelAnimate),a.labelConnected&&("slide-in"===a.labelEffect||"slide-out-out"===a.labelEffect||"slide-in-in"===a.labelEffect?a.labelConnected=!1:a.labelSpace&&(a.labelSpace=!1)),"string"==typeof a.subPosition&&(a.subPosition=[a.subPosition]),"circular"===a.subPosition[0]&&(a.subPosition[1]||(a.subPosition[1]=r.subPosition[1]),void 0===a.subPosition[2]&&(a.subPosition[2]=r.subPosition[2]),void 0===a.subPosition[3]&&(a.subPosition[3]=r.subPosition[3]),a.subSpace&&(a.subSpace=!1)),"default"===a.subAnimate&&(a.subAnimate=r.subAnimate),"string"==typeof a.subEffect&&(a.subEffect=[a.subEffect]),"linear-fade"!==a.subEffect[0]&&"linear-slide"!==a.subEffect[0]||a.subEffect[1]||(a.subEffect[1]=r.subEffect[1]),a.subAnimate=g(a.subAnimate),"match"===a.windowCorners&&("round"!==a.buttonShape&&"rounded"!==a.buttonShape&&"rounded-out"!==a.buttonShape||(a.windowCorners="round")),"match"===a.windowColor&&(a.windowColor=a.buttonColor),"default"===a.barAnimate&&(a.barAnimate=r.barAnimate),a.barAnimate=g(a.barAnimate),o&&o.shareServices?a.shareServices=e.extend(!0,{},c,o.shareServices):a.shareServices=c,"jquery"===a.animateEngine&&(a.animateEngine="jQuery"),function(){var e;"right"===a.position[0]&&(m=!0),b.bar=new R(w.children(".sb-bar")[0]),(e=w.children(".sb-overlay")).length&&(b.overlay=new S(e[0])),v(),u.on("resize",v),w.addClass("sb-ready")}()}function s(e,t){e="SuperSidebar: "+e,window.console&&("error"===t?console.error(e):"warn"===t?console.warn(e):console.log(e))}var o,a;e.fn.superSidebar=function(o){var a,i=arguments;return"instance"===o?(a=this.eq(0).data("superSidebar"))||(s("The instance could not be retrieved because the plugin is not instantiated.","error"),this):(this.each(function(){var n=e(this);a=n.data("superSidebar"),"object"!=typeof o&&o?"string"==typeof o?a?a[o]&&"function"==typeof a[o]?a[o].apply(this,Array.prototype.slice.call(i,1)):s('The method "'+o+'" does not exist.',"error"):s('The method "'+o+'" could not be called because the plugin is not instantiated.',"error"):s("The argument type supplied is not valid.","error"):(a&&(a.destroy(),s("The plugin was already created. It was destroyed and built again.","warn")),a=new t(this,o),n.data("superSidebar",a))}),this)},jQuery.effects||(o=jQuery,a={},o.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,t){a[t]=function(t){return Math.pow(t,e+2)}}),o.extend(a,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,s=4;e<((t=Math.pow(2,--s))-1)/11;);return 1/Math.pow(4,3-s)-7.5625*Math.pow((3*t-2)/22-e,2)}}),o.each(a,function(e,t){o.easing["easeIn"+e]=t,o.easing["easeOut"+e]=function(e){return 1-t(1-e)},o.easing["easeInOut"+e]=function(e){return e<.5?t(2*e)/2:1-t(-2*e+2)/2}})),e.fn.sbDraggable=function(t){var s=e(document),o={update:function(e){this.x=e.pageX,this.y=e.pageY}};return this.each(function(){var a=e(this);(t&&t.handle?a.find(t.handle):a).bind("mousedown.drag",function(e){o.update(e),/^(relative|absolute)$/.test(a.css("position"))||a.css("position","relative"),s.bind("mousemove.drag",function(e){a.css({left:(parseInt(a.css("left"))||0)+(e.pageX-o.x)+"px",top:(parseInt(a.css("top"))||0)+(e.pageY-o.y)+"px"}),o.update(e),e.preventDefault()}),s.one("mouseup.drag",function(e){s.unbind("mousemove.drag")}),e.preventDefault()})})}}(jQuery); 37/*zoom*/ 38(function($){var defaults={url:false,callback:false,target:false,duration:120,on:"mouseover",touch:true,onZoomIn:false,onZoomOut:false,magnify:1};$.zoom=function(target,source,img,magnify){var targetHeight,targetWidth,sourceHeight,sourceW
38idth,xRatio,yRatio,offset,$target=$(target),position=$target.css("position"),$source=$(source);$target.css("position",/(absolute|fixed)/.test(position)?position:"relative");$target.css("overflow","hidden");img.style.width=img.style.height="";$(img).addClass("zoomImg").css({position:"absolute",top:0,left:0,opacity:0,width:img.width*magnify,height:img.height*magnify,border:"none",maxWidth:"none",maxHeight:"none"}).appendTo(target);return{init:function(){targetWidth=$target.outerWidth();targetHeight=$target.outerHeight();if(source===$target[0]){sourceWidth=targetWidth;sourceHeight=targetHeight}else{sourceWidth=$source.outerWidth();sourceHeight=$source.outerHeight()}xRatio=(img.width-targetWidth)/sourceWidth;yRatio=(img.height-targetHeight)/sourceHeight;offset=$source.offset()},move:function(e){var left=e.pageX-offset.left,top=e.pageY-offset.top;top=Math.max(Math.min(top,sourceHeight),0);left=Math.max(Math.min(left,sourceWidth),0);img.style.left=left*-xRatio+"px";img.style.top=top*-yRatio+"px"}}};$.fn.zoom=function(options){return this.each(function(){var settings=$.extend({},defaults,options||{}),target=settings.target||this,source=this,$source=$(source),$target=$(target),img=document.createElement("img"),$img=$(img),mousemove="mousemove.zoom",clicked=false,touched=false,$urlElement;if(!settings.url){$urlElement=$source.find("img");if($urlElement[0]){settings.url=$urlElement.data("src")||$urlElement.attr("src")}if(!settings.url){return}}(function(){var position=$target.css("position");var overflow=$target.css("overflow");$source.one("zoom.destroy",function(){$source.off(".zoom");$target.css("position",position);$target.css("overflow",overflow);$img.remove()})})();img.onload=function(){var zoom=$.zoom(target,source,img,settings.magnify);function start(e){zoom.init();zoom.move(e);$img.stop().fadeTo($.support.opacity?settings.duration:0,1,$.isFunction(settings.onZoomIn)?settings.onZoomIn.call(img):false)}function stop(){$img.stop().fadeTo(settings.duration,0,$.isFunction(settings.onZoomOut)?settings.onZoomOut.call(img):false)}if(settings.on==="grab"){$source.on("mousedown.zoom",function(e){if(e.which===1){$(document).one("mouseup.zoom",function(){stop();$(document).off(mousemove,zoom.move)});start(e);$(document).on(mousemove,zoom.move);e.preventDefault()}})}else if(settings.on==="click"){$source.on("click.zoom",function(e){if(clicked){return}else{clicked=true;start(e);$(document).on(mousemove,zoom.move);$(document).one("click.zoom",function(){stop();clicked=false;$(document).off(mousemove,zoom.move)});return false}})}else if(settings.on==="toggle"){$source.on("click.zoom",function(e){if(clicked){stop()}else{start(e)}clicked=!clicked})}else if(settings.on==="mouseover"){zoom.init();$source.on("mouseenter.zoom",start).on("mouseleave.zoom",stop).on(mousemove,zoom.move)}if(settings.touch){$source.on("touchstart.zoom",function(e){e.preventDefault();if(touched){touched=false;stop()}else{touched=true;start(e.originalEvent.touches[0]||e.originalEvent.changedTouches[0])}}).on("touchmove.zoom",function(e){e.preventDefault();zoom.move(e.originalEvent.touches[0]||e.originalEvent.changedTouches[0])})}if($.isFunction(settings.callback)){settings.callback.call(img)}};img.src=settings.url})};$.fn.zoom.defaults=defaults})(window.jQuery);
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.