1!function t(e,i,n){function o(r,a){if(!i[r]){if(!e[r]){var l="function"==typeof require&&require;if(!a&&l)return l(r,!0);if(s)return s(r,!0);var c=new Error("Cannot find module '"+r+"'");throw c.code="MODULE_NOT_FOUND",c}var u=i[r]={exports:{}};e[r][0].call(u.exports,(function(t){return o(e[r][1][t]||t)}),u,u.exports,t,e,i,n)}return i[r].exports}for(var s="function"==typeof require&&require,r=0;r<n.length;r++)o(n[r]);return o}({1:[function(t,e,i){(function(e){"use strict";var i=c(t("fastclick"));c(t("imagesloaded"));t("./plugins/b09CaptionColor"),t("./plugins/jquery.sidr.min.js"),t("jquery.ns-autogrow/dist/jquery.ns-autogrow.min.js");var n=c(t("isotope-layout")),o=c(t("flickity"));t("flickity-sync");var s=c(t("./app/overview-page")),r=c(t("./app/cube-slider")),a=c(t("./app/related-fly-in")),l=(c(t("./app/article-progress")),c(t("./app/video-players")));function c(t){return t&&t.__esModule?t:{default:t}}e.jQuery=$=e.jQuery,window.console||(console={log:function(){}}),console.log("Site by BASICS09 >>","http://basics09.de"),function(t,e){var c=!1,u=!1,h={current:{x:0,y:0},last:{x:0,y:0}},d={width:0,height:0},f=!0,p=0,m=[],g=[];function y(){var e,i,n,o,s,r,a,l,c;e=window,i=document,n=i.documentElement,o=i.getElementsByTagName("body")[0],s=e.innerWidth||n.clientWidth||o.clientWidth,r=e.innerHeight||n.clientHeight||o.clientHeight,d.lastWidth=d.width,d.lastHeight=d.height,d.width=s,d.height=r,d.max=Math.max(s,r),function(){var e=t(".hero-stage");if(!e.length)return;var i=e.width(),n=t(window).height(),o=n-.2*n;o=Math.min(o,.9*i),o=Math.max(300,o),e.height(o);Math.min(i,o);var s=Math.max(9,.022*i);t(".slide-text").css({fontSize:s+"px"});var r=o/i;e.find("img").each((function(){var e=t(this);parseFloat(e.attr("data-ratio"))<r?e.addClass("wider").removeClass("taller"):e.addClass("taller").removeClass("wider")})),t(".slide-video").each((function(){var e=t(this).height()/t(this).width(),i=t(this).find("video");e>i.attr("data-video-ratio")?i.addClass("fit-height"):i.removeClass("fit-height")}))}(),t(".issues-slider").each((function(){var e=t(this).find(".issue-slide"),i=0;e.css({height:"auto"}),e.each((function(){var e=t(this).height();e>i&&(i=e)})),e.css({height:i})})),a=.7*t(window).height(),a=Math.min(t(window).width()/1.5,a),t(".single-slider").each((function(e,i){t(i).find("img").each((function(e,i){var n=t(i),o=parseFloat(n.attr("data-ratio")),s=a/o;n.css({width:s,height:a})})),g[e].resize()})),x(),v(),l=t(".home .statement"),c=Math.min(50,Math.max(20,.055*l.width())),l.css({fontSize:c+"px"});for(var u=0,h=m.length;u<h;u++)m[u].fit()}function v(){t(".inline-gallery.type-full-width-fluid-grid").each((function(){var e=t(this),i=t(this).find(".inline-gallery-item"),n=e.width(),o=n/Math.floor(n/320);i.width(o-4)}))}function w(t){function e(){t.destroy()}"matchMedia"in window?window.matchMedia("print").addListener(e):window.onbeforeprint=e}function b(){t(".image-wrap.is-lazy img").each((function(){var e=t(this),i=e.parents(".image-wrap"),n=e.parents(".entry-featured-image").length,o="data-size-large";e.width()<600&&(o="data-size-medium");var s=e.offset().top-t(document).scrollTop(),r=s+e.outerHeight();if(s<d.height+300&&r>-d.height||n){var a=e.attr(o);e.attr("src")!==a&&(e.attr("src",a),e.imagesLoaded().progress((function(t,e){e.isLoaded;i.addClass("is-loaded")})))}}))}function x(){var e=t(document).scrollLeft(),i=t(document).scrollTop();h.current={x:Math.max(0,Math.min(t(document).width(),e)),y:Math.max(0,Math.min(t(document).height(),i))},S();var n=t(".sharing-buttons--aside"),o=t(".entry-footer");n.length&&o.length&&(o.offset().top-t(document).scrollTop()<0?n.addClass("is-hidden"):n.removeClass("is-hidden"));b(),h.current.y>100?t(".web-residents-logo--fixed-bottom").addClass("is-visible"):t(".web-residents-logo--fixed-bottom").removeClass("is-visible")}function E(e,i){var n=t.extend({},{duration:500},i||{});e=Math.min(e,t(document).height()-d.height),e=Math.max(e,0),t("html,body").animate({scrollTop:e},n.duration)}function S(){var e=t(document).height()-3*t(window).height();!0===c&&h.current.y>e&&function(){if(u)return!1;u=!0;var e=t(".pagination a:first");
1if(!e.length)return void t(".load-more-posts").remove();e.remove(),t(".ajax-loading-ui").addClass("is-loading"),t("body").addClass("loading ajax");var i=function(t){var e=window.location.protocol+"//",i=window.location.host;-1===t.indexOf(i)&&(t=e+i+t);return t}(e.attr("href"));t.ajax({url:i,type:"get",dataType:"html",success:function(e){var i=t("<div>"+e+"</div>").find(".items-list-item");t(".items-list:last").append(i),t(".ajax-loading-ui").removeClass("is-loading"),k(),y(),t("body").removeClass("loading ajax"),u=!1,S()}})}()}t(document).ready((function(){var e;t(window).resize((function(){y()})),t(".module-single-slider").each((function(e,i){var n=t(i),s=n.find(".single-slider"),r=n.find(".single-slider-nav"),a=new o.default(s.get(0),{lazyLoad:!0,wrapAround:!0,pageDots:!1,sync:r.get(0)});g.push(a),w(a);var l=new o.default(r.get(0),{contain:!0,pageDots:!1,wrapAround:!1,freeScroll:!0});r.find(".slider-nav-slide").click((function(){var e=t(this).index();l.select(e)}))})),(0,i.default)(document.body),t(".issues-slider").each((function(){new o.default(t(this)[0],{wrapAround:!0,accessibility:!0,setGallerySize:!0})})),t(".image-wrap").each((function(){var e=t(this).find("img:first"),i=t(this).find(".image-credit");e.length&&i.length&&t(this).imagesLoaded((function(){i.b09CaptionColor(e,{threshold:170,area:[.5,.8,.5,.2]})}))})),function(){var e=t(".search-menu");t(".search-toggle").sidr({name:"sidr-search-menu",side:"right",source:".search-menu",renaming:!1,onOpen:function(){t(".sidr input:first").focus()}}),t("body.search-debug").length&&t(".search-toggle").click();e.remove(),t(".menu-toggle").sidr({name:"sidr-main-nav",side:"right",source:".main-nav.mobile",renaming:!1}),t("#sidr-main-nav .main-menu__item").removeClass("main-menu__item"),t(document).on("click","html",(function(){t.sidr("close","sidr-search-menu"),t.sidr("close","sidr-main-nav")})),t(document).on("click",".sidr",(function(t){t.stopPropagation()})),t(document).on("click",".menu-toggle, .search-toggle",(function(t){t.preventDefault()}))}(),function(){var e=parseInt(globals.post_id,10);if(e<=0)return;t.ajax({url:globals.ajax_url,type:"post",data:{action:"view_count",post_id:e},success:function(t){},error:function(t){console.log("View Count: Something went wrong")}})}(),t(".pagination").find(".next, .prev, .current").remove().end().hide(),u=!1,t(".load-more-posts").click((function(t){t.preventDefault(),c=!0,S()})),t(document).on("click",".instagram-latest-load-more",(function(e){e.preventDefault();var i=t(this).parents(".instagram-latest"),n=t(t(this).data("target")),o=n.find(".instagram-post:last"),s=o.data("timestamp"),r=o.attr("data-next-max-id"),a=i.attr("data-user-id");i.addClass("is-loading"),t.ajax({url:globals.ajax_url,method:"POST",data:{action:"instagram_latest",max_timestamp:s,max_id:r,user_id:a},success:function(e){var o=t("<div>"+e+"</div>").find(".instagram-post");n.append(o),i.removeClass("is-loading"),b()}})})),t(document).scroll((function(){f&&(f=!1,setTimeout((function(){f=!0,x()}),100))})),t(document).on("click","a[href*=\\#]:not([href=\\#]):not([href=\\#\\#])",(function(e){var i=t(this).attr("href"),n=t(i);n.length&&(e.preventDefault(),E(n.offset().top-50),setTimeout((function(){window.location.hash=i,E(n.offset().top-50,{duration:0})}),650))})),k(),e=[450,500,650],t(".instagram-animation-wrap").each((function(){var i=e[p];++p>2&&(p=0);var n=t(this),s=n.find(".instagram-animation"),r=new o.default(s[0],{wrapAround:!0,prevNextButtons:!1,initialIndex:0,pageDots:!1,setGallerySize:!1,accessibility:!1,draggable:!1,autoPlay:i,pauseAutoPlayOnHover:!1,friction:1,selectedAttraction:1});n.find(".instagram-post").each((function(){var e=t(this);e.imagesLoaded((function(){e.addClass("is-loaded"),r.append(e)}))}))})),t(".open-in-popup").click((function(e){e.preventDefault();var i,n,o,s,r,a,l,c,u,h,d,f=t(this).attr("href");i=f,n="Share this",o=600,s=400,r=_.isUndefined(window.screenLeft)?screen.left:window.screenLeft,a=_.isUndefined(window.screenTop)?screen.top:window.screenTop,l=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,c=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,u=l/2-o/2+r,h=c/2-s/2+a,d=window.open(i,n,"scrollbars=yes, width="+o+", height="+s+", top="+h+", left
1="+u),window.focus&&d.focus()})),function(){function e(){t(".image-wrap.is-lazy img").each((function(){var e=t(this),i=e.parents(".image-wrap"),n="data-size-large";e.width()<600&&(n="data-size-medium"),i.addClass("is-loaded");var o=e.attr(n);e.attr("src")!==o&&e.attr("src",o)}))}"matchMedia"in window?window.matchMedia("print").addListener(e):window.onbeforeprint=e}(),t("textarea").autogrow({vertical:!0,horizontal:!1,flickering:!1}).addClass("is-autogrowing");var h;new l.default;t(".overview-wrap").each((function(e,i){new s.default(t(i))})),t(".cube-slider").each((function(){m.push(new r.default(t(this)))})),t(".related-fly-in").each((function(){new a.default(t(this))})),"?beta"===(h=window.location.search)&&(h=h.substr(1),console.log("Is Beta View"),t("a:not([href=\\#]):not([href=\\#\\#])").each((function(){var e=t(this).attr("href");e=e.replace(/\?beta|&beta/g,""),e+=-1===e.indexOf("?")?"?":"&",e+=h,t(this).attr("href",e)}))),t(".inline-gallery.type-default").each((function(){w(new n.default(t(this)[0]))})),v(),t(".inline-gallery.type-full-width-fluid-grid").each((function(){new n.default(t(this)[0],{resize:!1,transitionDuration:0})}
1)),function(){if(!t(".single.autoplay-first-video").length)return;var e=t("iframe:first");if(!e.length)return;if(e.offset().top+e.height()>2*t(window).height())return;var i=e.attr("src");i=i.replace(/[?|&]autoplay=0/,""),i+="&autoplay=1",e.attr("src",i)}(),setTimeout(y,100),t("#container").addClass("is-visible"),t(".acf-input input").prop("autocomplete","false")}));var C;C={};function k(){t(".items-list-item.taxonomy-person .image-wrap.is-placeholder").each((function(){0===t(this).find("canvas").length&&function(e){e.find("img").remove();var i=t('<canvas width="500" height="'+500/3*2+'"></canvas>');e.append(i);var n=i.get(0),o=n.getContext("2d"),s=(n.width,n.height,.02*n.width+8*Math.random()),r={left:{radius:a(s,.04),x:a(.3*n.width,1.5),y:a(.4*n.height)},right:{radius:a(s,.04),x:a(.7*n.width,1.5),y:a(.4*n.height)}};function a(t){var e=void 0===arguments[1]?1:arguments[1],i=.075*n.width*e;return t-i+Math.random()*(2*i)}o.lineWidth=8,o.strokeStyle="black",o.lineCap="round",o.stroke(),o.beginPath(),o.arc(r.left.x,r.left.y,r.left.radius,0,2*Math.PI,!1),o.arc(r.right.x,r.right.y,r.right.radius,0,2*Math.PI,!1),o.fillStyle="black",o.fill(),o.beginPath();var l={x:a(.15*n.width),y:a(.75*n.height)},c={x:a(.25*n.width),y:a(.8*n.height)},u={x:a(.75*n.width),y:a(.8*n.height)},h={x:a(.85*n.width),y:a(.75*n.height)};o.moveTo(l.x,l.y),o.stroke();for(var d=l,f=(Math.random(),0);f<100;f++){var p=(_=void 0,C=void 0,_=k(S=.01*f,(w=l).x,(b=c).x,(x=u).x,(E=h).x),C=k(S,w.y,b.y,x.y,E.y),{x:_,y:C});o.beginPath(),o.strokeStyle="black";var m=p.x-d.x,g=p.y-d.y,y=Math.sqrt(m*m+g*g),v=Math.max(5,17-3*y);o.lineWidth=v,o.moveTo(d.x,d.y),o.lineTo(p.x,p.y),d=p,o.stroke()}var w,b,x,E,S,_,C;function k(t,e,i,n,o){var s=t*t;return e+(3*-e+t*(3*e-e*t))*t+(3*i+t*(-6*i+3*i*t))*t+(3*n-3*n*t)*s+o*(s*t)}o.lineTo(h.x,h.y),o.stroke()}(t(this).find(".image-inner:first"))}))}}(jQuery)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./app/article-progress":2,"./app/cube-slider":3,"./app/overview-page":4,"./app/related-fly-in":6,"./app/video-players":8,"./plugins/b09CaptionColor":9,"./plugins/jquery.sidr.min.js":10,fastclick:17,flickity:27,"flickity-sync":19,imagesloaded:37,"isotope-layout":38,"jquery.ns-autogrow/dist/jquery.ns-autogrow.min.js":44}],2:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();t("./raf-polyfill");var o,s=t("./utils");(o=s)&&o.__esModule;var r=function(){function t(e){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$el=e,this.$entry=$(".single .hentry"),this.$progressBar=this.$el.find(".article-progress-bar"),this.scrollTop=0,$(document).scroll((function(){return i.scroll()})),this.scroll()}return n(t,[{key:"scroll",value:function(){this.scrollTop=$(document).scrollTop(),this.maxScrollTop=this.$entry.offset().top+this.$entry.height(),this.scrollPercent=this.scrollTop/this.maxScrollTop*100,this.scrollPercent>10&&this.scrollPercent<100?this.$el.addClass("is-visible"):this.$el.removeClass("is-visible"),this.$progressBar.css({width:this.scrollPercent+"%"})}}]),t}();i.default=r},{"./raf-polyfill":5,"./utils":7}],3:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();t("./raf-polyfill");var o=r(t("./utils")),s=r(t("flickity"));function r(t){return t&&t.__esModule?t:{default:t}}!function(t){t.fn.nextWrap=function(e){var i=t(this).next(e);return i.length||(i=t(this).parent().children(e).first()),i},t.fn.prevWrap=function(e){var i=t(this).prev(e);return i.length||(i=t(this).parent().children(e).last()),i}}(jQuery);var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$el=e,this.$cube=this.$el.find(".cube-slider__cube"),this.$cubeSides=this.$el.find(".cube-slider__side"),this.$heroSlides=$(".hero-slides .slide"),this.lastCubeRotation=0,this.cubeRotation=0,this.slideIndex=0,this.direction=1,this.fillCubeSides(),this.setupFlickity(),this.interaction(),this.fit(),this.loop(),this.$el.addClass("is-visible"),this.findVisibleSides()}return n(t,[{key:"interaction",value:function(){var t=this;this.$el.mouseenter((function(){t.flkty.pausePlayer()})).mouseleave((function(){t.flkty.unpausePlayer()}))}},{key:"setupFlickity",value:function(){var t=this;
1this.$flktyReadMore=$('<a href="#" class="flickity__read-more slide__read-more">Read More</a>'),this.$flktyReadMore.appendTo(this.$el),this.$flickitySlider=$('\n <div class="cube-slider__flickity">\n <div class="cube-slider__flickity__slide"><br></div>\n <div class="cube-slider__flickity__slide"><br></div>\n <div class="cube-slider__flickity__slide"><br></div>\n <div class="cube-slider__flickity__slide"><br></div>\n </div>'),this.$flickitySlider.appendTo(this.$el),this.flkty=new s.default(this.$flickitySlider[0],{setGallerySize:!1,pageDots:!1,wrapAround:!0,autoPlay:6e3,prevNextButtons:!1}),this.flkty.on("scroll",(function(e){t.cubeRotation=-270*e})),this.flkty.on("select",(function(){t.setSlideIndex(),t.adjustSlides()})),this.flkty.on("settle",(function(){return t.adjustSlides()})),this.adjustSlides()}},{key:"setSlideIndex",value:function(){var t=this.$heroSlides.length-1;this.slideIndex+=this.direction,this.slideIndex>t&&(this.slideIndex=0),this.slideIndex<0&&(this.slideIndex=t)}},{key:"adjustSlides",value:function(){var t=this.$cubeSides.eq(this.flkty.selectedIndex),e=t.nextWrap(),i=t.prevWrap(),n=this.$heroSlides.eq(this.slideIndex),o=n.nextWrap().clone(),s=n.prevWrap().clone();e.filter(":not(.is-visible)").empty().append(o),i.filter(":not(.is-visible)").empty().append(s),this.adjustFontSize()}},{key:"loop",value:function(){var t=this;requestAnimationFrame((function(){t.loop()})),this.cubeRotation!==this.lastCubeRotation&&(this.direction=this.cubeRotation>this.lastCubeRotation?-1:1,this.lastCubeRotation=this.cubeRotation,this.adjustCube())}},{key:"adjustCube",value:function(){this.setCubeCSS(),this.findVisibleSides(),this.adjustVideos()}},{key:"setCubeCSS",value:function(){o.default.setPrefixedCss(this.$cube,"Transform","translateZ(-"+this.width/2+"px) rotateY("+this.cubeRotation+"deg)")}},{key:"findVisibleSides",value:function(){var t=this;this.$cubeSides.each((function(e,i){var n=$(i),o=parseInt(n.attr("data-rotation"),10),s=Math.abs(t.modulo(-t.cubeRotation,360)-t.modulo(o,360));(s=Math.min(s,360-s))<75?n.addClass("is-visible"):n.removeClass("is-visible")}))}},{key:"addSideClasses",value:function(){this.$cubeSides.removeClass("is-front is-right is-left");var t=this.$cubeSides.eq(this.flkty.selectedIndex);t.addClass("is-front");var e=t.next();e.length||(e=this.$cubeSides.first()),e.addClass("is-right");var i=t.prev();i.length||(i=this.$cubeSides.last()),i.addClass("is-left")}},{key:"fillCubeSides",value:function(){var t=this;this.$cubeSides.each((function(e,i){var n=$(i);e>t.$heroSlides.length&&(e=0),n.append(t.$heroSlides.eq(e).clone())}))}},{key:"adjustVideos",value:function(){this.$cubeSides.has("video").each((function(t,e){var i=$(e),n=i.find("video");globals.booleans.isDev||(i.hasClass("is-visible")?i.hasClass("video-is-playing")||(n[0].play(),i.addClass("video-is-playing")):(n[0].pause(),i.removeClass("video-is-playing")))}))}},{key:"fit",value:function(){$.contains(document,this.$el[0])&&(this.width=this.$el.width(),o.default.setPrefixedCss(this.$el,"Perspective",2*this.width+"px"),this.setSlidesPosition(),this.adjustCube(),this.adjustFontSize())}},{key:"adjustFontSize",value:function(){var t=Math.max(8,.02*this.width);this.$el.css({"font-size":t+"px"})}},{key:"setSlidesPosition",value:function(){var t=this,e=[0,90,180,270];this.$cubeSides.each((function(i,n){var s=$(n);o.default.setPrefixedCss(s,"Transform","rotateY("+e[i]+"deg) translateZ("+t.width/2+"px)")}))}},{key:"modulo",value:function(t,e){for(t%=e;t<0;)t+=e;return t}}]),t}();i.default=a},{"./raf-polyfill":5,"./utils":7,flickity:27}],4:[function(t,e,i){(function(e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
1return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=t("tinysort"),a=t("isotope-layout"),l=(n=a)&&n.__esModule?n:{default:n};e.jQuery=$=window.jQuery;var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$el=e,this.isotope=!1,this.cacheKey="sp-overview-page",this.url=window.location.href,this.emptyCacheOnDirectNavigation(),this.initIsotope(),this.$el.hasClass("has-filter-menu")&&this.initFilterMenu()}return s(t,[{key:"emptyCacheOnDirectNavigation",value:function(){var t=this;$(document).on("click","a",(function(e){var i=$(this).attr("href");t.deleteCacheForUrl(i)}))}},{key:"isLayoutIsotope",value:function(){return this.$el.hasClass("layout--masonry")}},{key:"initIsotope",value:function(){var t=this;this.isLayoutIsotope()&&this.$el.find(".items-list").each((function(e,i){t.isotope=new l.default(i,{transitionDuration:0})}))}},{key:"updateIsotope",value:function(){this.isotope&&this.isotope.destroy(),this.initIsotope()}},{key:"initFilterMenu",value:function(){var t=this;this.$filterUI=this.$el.find(".tax-overview__filters"),this.$items=this.$el.find(".items-list-item"),this.$sortButtons=this.$el.find(".tax-overview__sort-button"),this.$searchField=this.$el.find(".tax-overview__search-field"),$(document).scroll((function(){return t.scrollHandler()})),this.saveSearchItems(),this.isPeopleOverview=this.$el.is(".overview-wrap.person"),this.initUI(),this.cache=this.getCache(),this.settings=this.getSettings(),this.sort(this.settings.sortMethod),this.search(this.settings.searchValue),$("html,body").animate({scrollTop:this.settings.scrollTop},0),this.$el.addClass("is-visible")}},{key:"deleteCacheForUrl",value:function(t){if("undefined"==typeof Storage)return!1;var e=this.getCache();delete e[t],sessionStorage.setItem(this.cacheKey,JSON.stringify(e))}},{key:"getCache",value:function(){if("undefined"==typeof Storage)return!1;var t={},e=sessionStorage.getItem(this.cacheKey);return e&&(t=JSON.parse(e)),t}},{key:"getSettings",value:function(){var t={sortMethod:this.$sortButtons.eq(0).attr("data-sort-method"),searchValue:"",scrollTop:0};return"object"===o(this.cache[this.url])&&(t=$.extend({},t,this.cache[this.url])),t}},{key:"cacheSettings",value:function(){"undefined"!=typeof Storage&&(this.cache[this.url]=this.settings,sessionStorage.setItem(this.cacheKey,JSON.stringify(this.cache)))}},{key:"scrollHandler",value:function(){this.settings.scrollTop=$(document).scrollTop(),this.cacheSettings()}},{key:"saveSearchItems",value:function(){var t=this;this.searchCache=[],this.$items.each((function(e,i){var n=$(i).find(".is-searchable").text().toLowerCase().replace(/\r?\n|\r/g,"").replace(/ +(?= )/g,"").trim();t.searchCache.push(n)}))}},{key:"initUI",value:function(){var t=this;this.$sortButtons.click((function(e){var i=$(e.target);t.sort(i.attr("data-sort-method")),t.cacheSettings()})),this.$searchField.on("keyup search change",(function(e){var i=$(e.target);t.search(i.val().toLowerCase()),t.cacheSettings()}))}},{key:"sort",value:function(t){this.settings.sortMethod=t,this.$sortButtons.removeClass("is-active"),this.$sortButtons.filter('[data-sort-method="'+t+'"]').addClass("is-active"),this.clearDisciplineBoxes();var e=this.$el.find(".items-list-item").get();switch(t){case"admin-order":(0,r.tinysort)(e,{attr:"data-id"});break;case"title":(0,r.tinysort)(e,".item-title");break;case"meta-2":(0,r.tinysort)(e,".item-meta-2"),this.isPeopleOverview&&this.injectDisciplineBoxes();break;case"shuffle":(0,r.tinysort)(e,{order:"rand"});break;case"latest-post":(0,r.tinysort)(e,{attr:"data-latest-post-date",order:"desc"})}this.updateIsotope()}},{key:"injectDisciplineBoxes",value:function(){this.clearDisciplineBoxes();var t=[],e=this.$el.find(".items-list-item:not(.items-list-item--is-hidden)"),i=e.eq(0).clone().removeClass("").addClass("is-headline-item").empty();e.each((function(e,n){var o=$(n),s=o.find(".person-discipline").text().trim();if(s&&-1===$.inArray(s,t)){t.push(s);var r=i.clone();r.append("<div class='item-inner'><div class='headline-wrap'><h2 class='item-title is-searchable'>"+s+"</h2></div></div>"),r.insertBefore(o)}s}))}},{key:"clearDisciplineBoxes",value:function(){$(".items-list-item.is-headline-item").remove()}},{key:"search",value:function(t){this.settings.searchValue=t,this.$searchField.attr("value",t),t.length>0?this.$searchField.addClass("is-active"):this.$searchField.removeClass("is-active"),this.clearDisciplineBoxes();for(var e=t.split(" "),i=0;i<this.searchCache.length;i++){for(var n=this.searchCache[i],o=this.$items.eq(i),s=!0,r=0;r<e.length;r++){var a=e[r];-1===n.indexOf(a)&&(s=!1)}s?o.removeClass("items-list-item--is-hidden"):o.addClass("items-list-item--is-hidden")}"meta-2"===this.settings.sortMethod&&this.isPeopleOverview&&this.injectDisciplineBoxes(),this.updateIsotope()}}]),t}();i.default=c}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"isotope-layout":38,tinysort:51}
1],5:[function(t,e,i){"use strict";!function(){for(var t=0,e=["ms","moz","webkit","o"],i=0;i<e.length&&!window.requestAnimationFrame;++i)window.requestAnimationFrame=window[e[i]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[i]+"CancelAnimationFrame"]||window[e[i]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,i){var n=(new Date).getTime(),o=Math.max(0,16-(n-t)),s=window.setTimeout((function(){e(n+o)}),o);return t=n+o,s}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}()},{}],6:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();t("./raf-polyfill");var o,s=t("./utils");(o=s)&&o.__esModule;var r=function(){function t(e){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$el=e,this.$entry=$(".single .hentry"),this.$close=e.find(".related-fly-in__close"),this.$title=e.find(".related-fly-in__title"),this.$textWrap=e.find(".related-fly-in__text"),this.$teasers=e.f
1ind(".related-fly-in__teaser"),this.scrollTop=0,$(document).scroll((function(){return i.scroll()})),this.scroll(),this.interaction(),this.shortenTeaser()}return n(t,[{key:"shortenTeaser",value:function(){var t=this;this.$teasers.each((function(e,i){var n=$(i),o=t.$textWrap.height()-n.position().top+10,s=n.text();n.text("test");var r=n.height();if(n.text(s),r>o||n.height()<o)return!0;for(;n.height()>o;)s=s.substring(0,s.length-1),n.text(s);s=(s=s.substring(0,s.length-3)).substring(0,s.lastIndexOf(" ")),s+=" ...",n.text(s)}))}},{key:"interaction",value:function(){var t=this;this.$close.click((function(){t.$el.removeClass("is-visible").addClass("is-disabled")}))}},{key:"scroll",value:function(){this.$el.hasClass("is-disabled")||(this.scrollTop=$(document).scrollTop(),this.maxScrollTop=this.$entry.offset().top+this.$entry.height(),this.scrollPercent=this.scrollTop/this.maxScrollTop,this.scrollTop<$(window).height()||this.maxScrollTop<3*$(window).height()||(this.adjustVisibility(),this.adjustSections()))}},{key:"adjustVisibility",value:function(){this.scrollPercent>.15&&this.scrollPercent<.95?this.$el.addClass("is-visible"):this.$el.removeClass("is-visible")}},{key:"adjustSections",value:function(){var t=0;t=this.scrollPercent<.4?0:this.scrollPercent<.7?1:2,this.$el.attr("data-visible-article",t)}}]),t}();i.default=r},{"./raf-polyfill":5,"./utils":7}],7:[function(t,e,i){(function(t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});$=t.jQuery;i.default={removeTrailingSlash:function(t){return"/"===t.charAt(t.length-1)?t.substr(0,t.length-1):t},addTrailingSlash:function(t){return t+("/"===t.charAt(t.length-1)?"":"/")},getUrlLocation:function(t){var e=document.createElement("a");return e.href=t,e.host},isExternalUrl:function(t){return t.indexOf(":")>-1&&this.getUrlLocation(location.href)!==this.getUrlLocation(t)},elementIsUnderMouse:function(t,e){var i=t.clientX,n=t.clientY;"function"==typeof $&&e instanceof $&&(e=e[0]);var o=e.getBoundingClientRect();return o.left<=i&&o.top<=n&&o.right>=i&&o.bottom>=n},elementIsInViewport:function(t,e){"function"==typeof $&&t instanceof $&&(t=t.get(0));var i=t.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight,o=window.innerWidth||document.documentElement.clientWidth;return i.top>=0+e&&i.left>=0+e&&i.bottom<=n-e&&i.right<=o-e},setPrefixedCss:function(t,e,i){var n=t[0];n.style["webkit"+e]=i,n.style["Moz"+e]=i,n.style["ms"+e]=i,n.style["O"+e]=i;var o=e.substr(0,1).toLowerCase()+e.substr(1);n.style[o]=i}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],8:[function(t,e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();t("./raf-polyfill");s(t("./utils"));var o=s(t("@vimeo/player/dist/player"));function s(t){return t&&t.__esModule?t:{default:t}}var r=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$elements=$(".module-single-embed.is-vimeo-video"),this.$autoplayElements=this.$elements.filter(".autoplay-if-visible"),this.videos={},this.$elements.each((function(t,i){var n=$(i),s=new o.default(i),r=parseInt(n.attr("data-volume"),10)/100;r=Math.min(1,Math.max(0,r)),s.setVolume(r),n.hasClass("autoplay-if-visible")&&(e.videos[t]={player:s,isPlaying:!1,play:function(){this.isPlaying||this.player.play(),this.isPlaying=!0},pause:function(){this.player.pause(),this.isPlaying=!1}})})),$(document).scroll((function(){return e.scroll()})),this.scroll()}return n(t,[{key:"scroll",value:function(){var t=this,e=$(document).scrollTop();this.$autoplayElements.each((function(i,n){var o=$(n),s=o.offset().top-e,r=o.offset().top+o.outerHeight()-e,a=s<$(window).height()&&r>0,l=t.videos[i];a?l.play():l.pause()}))}}]),t}();i.default=r},{"./raf-polyfill":5,"./utils":7,"@vimeo/player/dist/player":11}
1],9:[function(t,e,i){"use strict";!function(t){var e=function(e,i,n){var o=this,s=t.extend({},{threshold:170,area:[0,0,1,1]},n||{});this.foo="bar",this.init=function(){var t=i.get(0),n=o.getAverageRGB(t);r(n)>s.threshold?e.addClass("dark"):e.addClass("light")},this.getAverageRGB=function(t){var e,i,n,o,r={r:0,g:0,b:0},a=document.createElement("canvas"),l=a.getContext&&a.getContext("2d"),c=-4,u={r:0,g:0,b:0},h=0;if(!l)return r;n=a.height=t.naturalHeight||t.offsetHeight||t.height,i=a.width=t.naturalWidth||t.offsetWidth||t.width;try{l.drawImage(t,0,0);var d=s.area[0]>0?i*s.area[0]:0,f=s.area[1]>0?n*s.area[1]:0;e=l.getImageData(d,f,i*s.area[2],n*s.area[3])}catch(t){return r}for(o=e.data.length;(c+=40)<o;)++h,u.r+=e.data[c],u.g+=e.data[c+1],u.b+=e.data[c+2];return u.r=Math.floor(u.r/h),u.g=Math.floor(u.g/h),u.b=Math.floor(u.b/h),u};var r=function(t){return Math.round((299*parseInt(t.r)+587*parseInt(t.g)+114*parseInt(t.b))/1e3)}};t.fn.b09CaptionColor=function(i,n){if(this.length>1)console.error("b09CaptionColor may only be called on a single element.");else{if(void 0!==i&&i.length)return this.each((function(){var o=t(this);if(!o.data("b09cc")){var s=new e(t(this),i,n);s.init(),o.data("b09cc",s)}}));console.error("b09CaptionColor needs an image to work.")}}}(jQuery)},{}],10:[function(t,e,i){"use strict"; 2/*! Sidr - v1.2.1 - 2013-11-06 3 * https://github.com/artberri/sidr 4 * Copyright (c) 2013 Alberto Varela; Licensed MIT */var n,o,s,r,a,l,c,u;n=jQuery,o=!1,s=!1,r=function(t){return!!RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(t)},a=function(t,e){t.html(e)},l=function(t){var e=t.attr("id"),i=t.attr("class");"string"==typeof e&&""!==e&&t.attr("id",e.replace(/([A-Za-z0-9_.\-]+)/g,"sidr-id-$1")),"string"==typeof i&&""!==i&&"sidr-inner"!==i&&t.attr("class",i.replace(/([A-Za-z0-9_.\-]+)/g,"sidr-class-$1")),t.removeAttr("style")},c=function(t,e,i){"function"==typeof e?(i=e,e="sidr"):e||(e="sidr");var r,a,l,c=n("#"+e),h=n(c.data("body")),d=n("html"),f=c.outerWidth(!0),p=c.data("speed"),m=c.data("side"),g=c.data("displace"),y=c.data("onOpen"),v=c.data("onClose"),w="sidr"===e?"sidr-open":"sidr-open "+e+"-open";if("open"===t||"toggle"===t&&!c.is(":visible")){if(c.is(":visible")||o)return;if(!1!==s)return void u.close(s,(function(){u.open(e)}));o=!0,"left"===m?(r={left:f+"px"},a={left:"0px"}):(r={right:f+"px"},a={right:"0px"}),h.is("body")&&(l=d.scrollTop(),d.css("overflow-x","hidden").scrollTop(l)),g?h.addClass("sidr-animating").css({width:h.width(),position:"absolute"}).animate(r,p,(function(){n(this).addClass(w)})):setTimeout((function(){n(this).addClass(w)}),p),c.css("display","block").animate(a,p,(function(){o=!1,s=e,"function"==typeof i&&i(e),h.removeClass("sidr-animating")})),y()}else{if(!c.is(":visible")||o)return;o=!0,"left"===m?(r={left:0},a={left:"-"+f+"px"}):(r={right:0},a={right:"-"+f+"px"}),h.is("body")&&(l=d.scrollTop(),d.removeAttr("style").scrollTop(l)),h.addClass("sidr-animating").animate(r,p).removeClass(w),c.animate(a,p,(function(){c.removeAttr("style").hide(),h.removeAttr("style"),n("html").removeAttr("style"),o=!1,s=!1,"function"==typeof i&&i(e),h.removeClass("sidr-animating")})),v()}},u={open:function(t,e){c("open",t,e)},close:function(t,e){c("close",t,e)},toggle:function(t,e){c("toggle",t,e)},toogle:function(t,e){c("toggle",t,e)}},n.sidr=function(t){return u[t]?u[t].apply(this,Array.prototype.slice.call(arguments,1)):"function"!=typeof t&&"string"!=typeof t&&t?void n.error("Method "+t+" does not exist on jQuery.sidr"):u.toggle.apply(this,arguments)},n.fn.sidr=function(t){var e=n.extend({name:"sidr",speed:200,side:"left",source:null,renaming:!0,body:"body",displace:!0,onOpen:function(){},onClose:function(){}},t),i=e.name,o=n("#"+i);if(0===o.length&&(o=n("<div />").attr("id",i).appendTo(n("body"))),o.addClass("sidr").addClass(e.side).data({speed:e.speed,side:e.side,body:e.body,displace:e.displace,onOpen:e.onOpen,onClose:e.onClose}),"function"==typeof e.source){var s=e.source(i);a(o,s)}else if("string"==typeof e.source&&r(e.source))n.get(e.source,(function(t){a(o,t)}));else if("string"==typeof e.source){var c="",h=e.source.split(",");if(n.each(h,(function(t,e){c+='<div class="sidr-inner">'+n(e).html()+"</div>"})),e.renaming){var d=n("<div />").html(c);d.find("*").each((function(t,e){var i=n(e);l(i)})),c=d.html()}a(o,c)}else null!==e.source&&n.error("Invalid Sidr Source");return this.each((function(){var t=n(this);t.data("sidr")||(t.data("sidr",i),"ontouchstart"in document.documentElement?(t.bind("touchstart",(function(t){t.originalEvent.touches[0],this.touched=t.timeStamp})),t.bind("touchend",(function(t){200>Math.abs(t.timeStamp-this.touched)&&(t.preventDefault(),u.toggle(i))}))):t.click((function(t){t.preventDefault(),u.toggle(i)})))}))}},{}
4],11:[function(t,e,i){(function(t,n){ 5/*! @vimeo/player v2.6.1 | (c) 2018 Vimeo | MIT License | https://github.com/vimeo/player.js */ 6!function(t,n){"object"==typeof i&&void 0!==e?e.exports=n():"function"==typeof define&&define.amd?define(n):(t.Vimeo=t.Vimeo||{},t.Vimeo.Player=n())}(this,(function(){"use strict";var e=void 0!==t&&"[object global]"==={}.toString.call(t);function i(t,e){return 0===t.indexOf(e.toLowerCase())?t:""+e.toLowerCase()+t.substr(0,1).toUpperCase()+t.substr(1)}function o(t){return t instanceof window.HTMLElement}function s(t){return!isNaN(parseFloat(t))&&isFinite(t)&&Math.floor(t)==t}function r(t){return/^(https?:)?\/\/((player|www).)?vimeo.com(?=$|\/)/.test(t)}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.id,i=t.url,n=e||i;if(!n)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(s(n))return"https://vimeo.com/"+n;if(r(n))return n.replace("http:","https:");if(e)throw new TypeError("â"+e+"â is not a valid video id.");throw new TypeError("â"+n+"â is not a vimeo.com url.")}var l=void 0!==Array.prototype.indexOf,c="undefined"!=typeof window&&void 0!==window.postMessage;if(!(e||l&&c))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var u="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function h(t,e){return t(e={exports:{}},e.exports),e.exports}h((function(t,e){!function(t){var e,i=Object.defineProperty;function n(t,e){function n(t){if(!this||this.constructor!==n)return new n(t);this._keys=[],this._values=[],this._itp=[],this.objectOnly=e,t&&o.call(this,t)}return e||i(t,"size",{get:m}),t.constructor=n,n.prototype=t,n}function o(t){this.add?t.forEach(this.add,this):t.forEach((function(t){this.set(t[0],t[1])}),this)}function s(t){return this.has(t)&&(this._keys.splice(e,1),this._values.splice(e,1),this._itp.forEach((function(t){e<t[0]&&t[0]--}))),-1<e}function r(t){return this.has(t)?this._values[e]:void 0}function a(t,i){if(this.objectOnly&&i!==Object(i))throw new TypeError("Invalid value used as weak collection key");if(i!=i||0===i)for(e=t.length;e--&&((n=t[e])!==(o=i)&&(n==n||o==o)););else e=t.indexOf(i);var n,o;return-1<e}function l(t){return a.call(this,this._values,t)}function c(t){return a.call(this,this._keys,t)}function u(t,i){return this.has(t)?this._values[e]=i:this._values[this._keys.push(t)-1]=i,this}function h(t){return this.has(t)||this._values.push(t),this}function d(){(this._keys||0).length=this._values.length=0}function f(){return p(this._itp,this._values)}function p(t,e,i){var n=[0],o=!1;return t.push(n),{next:function(){var s,r=n[0];return!o&&r<e.length?(s=i?[e[r],i[r]]:e[r],n[0]++):(o=!0,t.splice(t.indexOf(n),1)),{done:o,value:s}}}}function m(){return this._values.length}function g(t,e){for(var i=this.entries();;){var n=i.next();if(n.done)break;t.call(e,n.value[1],n.value[0],this)}}"undefined"==typeof WeakMap&&(t.WeakMap=n({delete:s,clear:d,get:r,has:c,set:u},!0)),"undefined"!=typeof Map&&"function"==typeof(new Map).values&&(new Map).values().next||(t.Map=n({delete:s,has:c,get:r,set:u,keys:function(){return p(this._itp,this._keys)},values:f,entries:function(){return p(this._itp,this._keys,this._values)},forEach:g,clear:d})),"undefined"!=typeof Set&&"function"==typeof(new Set).values&&(new Set).values().next||(t.Set=n({has:l,add:h,delete:s,clear:d,keys:f,values:f,entries:function(){return p(this._itp,this._values,this._values)},forEach:g})),"undefined"==typeof WeakSet&&(t.WeakSet=n({delete:s,add:h,clear:d,has:l},!0))}(void 0!==u?u:window)}));var d=h((function(t){var e,i,o,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}; 7/*! Native Promise Only 8 v0.8.1 (c) Kyle Simpson 9 MIT License: http://getify.mit-license.org 10*/o=function(){var t,e,i,o=Object.prototype.toString,r=void 0!==n?function(t){return n(t)}:setTimeout;try{Object.defineProperty({},"x",{}
10),t=function(t,e,i,n){return Object.defineProperty(t,e,{value:i,writable:!0,configurable:!1!==n})}}catch(e){t=function(t,e,i){return t[e]=i,t}}function a(t,n){i.add(t,n),e||(e=r(i.drain))}function l(t){var e,i=void 0===t?"undefined":s(t);return null==t||"object"!=i&&"function"!=i||(e=t.then),"function"==typeof e&&e}function c(){for(var t=0;t<this.chain.length;t++)u(this,1===this.state?this.chain[t].success:this.chain[t].failure,this.chain[t]);this.chain.length=0}function u(t,e,i){var n,o;try{!1===e?i.reject(t.msg):(n=!0===e?t.msg:e.call(void 0,t.msg))===i.promise?i.reject(TypeError("Promise-chain cycle")):(o=l(n))?o.call(n,i.resolve,i.reject):i.resolve(n)}catch(t){i.reject(t)}}function h(t){var e,i=this;if(!i.triggered){i.triggered=!0,i.def&&(i=i.def);try{(e=l(t))?a((function(){var n=new p(i);try{e.call(t,(function(){h.apply(n,arguments)}),(function(){d.apply(n,arguments)}))}catch(t){d.call(n,t)}})):(i.msg=t,i.state=1,i.chain.length>0&&a(c,i))}catch(t){d.call(new p(i),t)}}}function d(t){var e=this;e.triggered||(e.triggered=!0,e.def&&(e=e.def),e.msg=t,e.state=2,e.chain.length>0&&a(c,e))}function f(t,e,i,n){for(var o=0;o<e.length;o++)!function(o){t.resolve(e[o]).then((function(t){i(o,t)}),n)}(o)}function p(t){this.def=t,this.triggered=!1}function m(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function g(t){if("function"!=typeof t)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var e=new m(this);this.then=function(t,i){var n={success:"function"!=typeof t||t,failure:"function"==typeof i&&i};return n.promise=new this.constructor((function(t,e){if("function"!=typeof t||"function"!=typeof e)throw TypeError("Not a function");n.resolve=t,n.reject=e})),e.chain.push(n),0!==e.state&&a(c,e),n.promise},this.catch=function(t){return this.then(void 0,t)};try{t.call(void 0,(function(t){h.call(e,t)}),(function(t){d.call(e,t)}))}catch(t){d.call(e,t)}}i=function(){var t,i,n;function o(t,e){this.fn=t,this.self=e,this.next=void 0}return{add:function(e,s){n=new o(e,s),i?i.next=n:t=n,i=n,n=void 0},drain:function(){var n=t;for(t=i=e=void 0;n;)n.fn.call(n.self),n=n.next}}}();var y=t({},"constructor",g,!1);return g.prototype=y,t(y,"__NPO__",0,!1),t(g,"resolve",(function(t){return t&&"object"==(void 0===t?"undefined":s(t))&&1===t.__NPO__?t:new this((function(e,i){if("function"!=typeof e||"function"!=typeof i)throw TypeError("Not a function");e(t)}))})),t(g,"reject",(function(t){return new this((function(e,i){if("function"!=typeof e||"function"!=typeof i)throw TypeError("Not a function");i(t)}))})),t(g,"all",(function(t){var e=this;return"[object Array]"!=o.call(t)?e.reject(TypeError("Not an array")):0===t.length?e.resolve([]):new e((function(i,n){if("function"!=typeof i||"function"!=typeof n)throw TypeError("Not a function");var o=t.length,s=Array(o),r=0;f(e,t,(function(t,e){s[t]=e,++r===o&&i(s)}),n)}))})),t(g,"race",(function(t){var e=this;return"[object Array]"!=o.call(t)?e.reject(TypeError("Not an array")):new e((function(i,n){if("function"!=typeof i||"function"!=typeof n)throw TypeError("Not a function");f(e,t,(function(t,e){i(e)}),n)}))})),g},(i=u)[e="Promise"]=i[e]||o(),t.exports&&(t.exports=i[e])})),f=new WeakMap;function p(t,e,i){var n=f.get(t.element)||{};e in n||(n[e]=[]),n[e].push(i),f.set(t.element,n)}function m(t,e){return(f.get(t.element)||{})[e]||[]}function g(t,e,i){var n=f.get(t.element)||{};if(!n[e])return!0;if(!i)return n[e]=[],f.set(t.element,n),!0;var o=n[e].indexOf(i);return-1!==o&&n[e].splice(o,1),f.set(t.element,n),n[e]&&0===n[e].length}function y(t,e){var i=f.get(t);f.set(e,i),f.delete(t)}var v=["autopause","autoplay","background","byline","color","height","id","loop","maxheight","maxwidth","muted","playsinline","portrait","responsive","speed","title","transparent","url","width"];function w(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return v.reduce((function(e,i){var n=t.getAttribute("data-vimeo-"+i);return(n||""===n)&&(e[i]=""===n?1:n),e}),e)}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(i,n){if(!r(t))throw new TypeError("â"+t+"â is not a vimeo.com url.");var o="https://vimeo.com/api/oembed.json?url="+encodeURIComponent(t);for(var s in e)e.hasOwnProperty(s)&&(o+="&"+s+"="+encodeURIComponent(e[s]));var a="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;a.open("GET",o,!0),a.onload=function(){if(404!==a.status)if(403!==a.status)try{var e=JSON.parse(a.responseText);i(e)}catch(t){n(t)}else n(new Error("â"+t+"â is not embeddable."));else n(new Error("â"+t+"â was not found."))},a.onerror=function(){var t=a.status?" ("+a.status+")":"";n(new Error("There was an error fetching the embed code from Vimeo"+t+"."))},a.send()}))}function x(t,e){var i=t.html;if(!e)throw new TypeError("An element must be provided");
10if(null!==e.getAttribute("data-vimeo-initialized"))return e.querySelector("iframe");var n=document.createElement("div");return n.innerHTML=i,e.appendChild(n.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function E(t){return"string"==typeof t&&(t=JSON.parse(t)),t}function S(t,e,i){if(t.element.contentWindow&&t.element.contentWindow.postMessage){var n={method:e};void 0!==i&&(n.value=i);var o=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));o>=8&&o<10&&(n=JSON.stringify(n)),t.element.contentWindow.postMessage(n,t.origin)}}function _(t,e){e=E(e);var i=[],n=void 0;if(e.event){if("error"===e.event)m(t,e.data.method).forEach((function(i){var n=new Error(e.data.message);n.name=e.data.name,i.reject(n),g(t,e.data.method,i)}));i=m(t,"event:"+e.event),n=e.data}else if(e.method){var o=function(t,e){var i=m(t,e);if(i.length<1)return!1;var n=i.shift();return g(t,e,n),n}(t,e.method);o&&(i.push(o),n=e.value)}i.forEach((function(e){try{if("function"==typeof e)return void e.call(t,n);e.resolve(n)}catch(t){}}))}var C=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function k(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var z=new WeakMap,T=new WeakMap,I=function(){function t(e){var i=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(k(this,t),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),"undefined"!=typeof document&&"string"==typeof e&&(e=document.getElementById(e)),!o(e))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==e.nodeName){var s=e.querySelector("iframe");s&&(e=s)}if("IFRAME"===e.nodeName&&!r(e.getAttribute("src")||""))throw new Error("The player element passed isnât a Vimeo embed.");if(z.has(e))return z.get(e);this.element=e,this.origin="*";var l=new d((function(t,o){var s=function(e){if(r(e.origin)&&i.element.contentWindow===e.source){"*"===i.origin&&(i.origin=e.origin);var n=E(e.data),o="event"in n&&"ready"===n.event,s="method"in n&&"ping"===n.method;if(o||s)return i.element.setAttribute("data-ready","true"),void t();_(i,n)}};if(window.addEventListener?window.addEventListener("message",s,!1):window.attachEvent&&window.attachEvent("onmessage",s),"IFRAME"!==i.element.nodeName){var l=w(e,n);b(a(l),l).then((function(t){var n=x(t,e);return i.element=n,i._originalElement=e,y(e,n),z.set(i.element,i),t})).catch((function(t){return o(t)}))}}));return T.set(this,l),z.set(this.element,this),"IFRAME"===this.element.nodeName&&S(this,"ping"),this}return C(t,[{key:"callMethod",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new d((function(n,o){return e.ready().then((function(){p(e,t,{resolve:n,reject:o}),S(e,t,i)})).catch((function(t){o(t)}))}))}},{key:"get",value:function(t){var e=this;return new d((function(n,o){return t=i(t,"get"),e.ready().then((function(){p(e,t,{resolve:n,reject:o}),S(e,t)}))}))}},{key:"set",value:function(t,e){var n=this;return d.resolve(e).then((function(e){if(t=i(t,"set"),null==e)throw new TypeError("There must be a value to set.");return n.ready().then((function(){return new d((function(i,o){p(n,t,{resolve:i,reject:o}),S(n,t,e)}))}))}))}},{key:"on",value:function(t,e){if(!t)throw new TypeError("You must pass an event name.");if(!e)throw new TypeError("You must pass a callback function.");if("function"!=typeof e)throw new TypeError("The callback must be a function.");0===m(this,"event:"+t).length&&this.callMethod("addEventListener",t).catch((function(){})),p(this,"event:"+t,e)}},{key:"off",value:function(t,e){if(!t)throw new TypeError("You must pass an event name.");if(e&&"function"!=typeof e)throw new TypeError("The callback must be a function.");g(this,"event:"+t,e)&&this.callMethod("removeEventListener",t).catch((function(t){}))}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=T.get(this)||new d((function(t,e){e("Unknown player. Probably unloaded.")}));return d.resolve(t)}},{key:"addCuePoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:e})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,e){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:e})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new d((function(e){T.delete(t),z.delete(t.element),t._originalElement&&(z.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&"IFRAME"===t.element.nodeName&&t.element.remove(),e()}))}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(t){return this.set("autopause",t)}},{key:"getColor",value:function(){return this.get("color")}},{key:"setColor",value:function(t){return this.set("color",t)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(t){return this.set("currentTime",t)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(t){return this.set("loop",t)}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(t){return this.set("playbackRate",t)}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(t){return this.set("volume",t)}}]),t}();return e||!window.Vimeo||window.Vimeo.Player||(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=[].slice.call(t.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),i=function(t){"console"in window&&console.error&&console.error("There was an error creating an embed: "+t)};e.forEach((function(t){try{if(null!==t.getAttribute("data-vimeo-defer"))return;var e=w(t);b(a(e),e).then((function(e){return x(e,t)})).catch(i)}catch(t){i(t)}}))}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=function(e){if(r(e.origin)&&e.data&&"spacechange"===e.data.event)for(var i=t.querySelectorAll("iframe"),n=0;n<i.length;n++)if(i[n].contentWindow===e.source){i[n].parentElement.style.paddingBottom=e.data.data[0].bottom+"px";break}};window.addEventListener?window.addEventListener("message",e,!1):window.attachEvent&&window.attachEvent("onmessage",e)}()),I}))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("timers").setImmediate)},{timers:50}
10],12:[function(t,e,i){ 11/*! 12 * getStyleProperty v1.0.4 13 * original by kangax 14 * http://perfectionkills.com/feature-testing-css-properties/ 15 * MIT license 16 */ 17!function(t){"use strict";var n="Webkit Moz ms Ms O".split(" "),o=document.documentElement.style;function s(t){if(t){if("string"==typeof o[t])return t;var e;t=t.charAt(0).toUpperCase()+t.slice(1);for(var i=0,s=n.length;i<s;i++)if(e=n[i]+t,"string"==typeof o[e])return e}}"function"==typeof define&&define.amd?define((function(){return s})):"object"==typeof i?e.exports=s:t.getStyleProperty=s}(window)},{}],13:[function(t,e,i){!function(t){"use strict";var n,o=function(){if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0,n=e.length;i<n;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();function s(t,e){return t[o](e)}function r(t){t.parentNode||document.createDocumentFragment().appendChild(t)}if(o){var a=s(document.createElement("div"),"div");n=a?s:function(t,e){return r(t),s(t,e)}}else n=function(t,e){r(t);for(var i=t.parentNode.querySelectorAll(e),n=0,o=i.length;n<o;n++)if(i[n]===t)return!0;return!1};"function"==typeof define&&define.amd?define((function(){return n})):"object"==typeof i?e.exports=n:window.matchesSelector=n}(Element.prototype)},{}],14:[function(t,e,i){ 18/*! 19 * docReady v1.0.4 20 * Cross browser DOMContentLoaded event emitter 21 * MIT license 22 */ 23!function(n){"use strict";var o=n.document,s=[];function r(t){"function"==typeof t&&(r.isReady?t():s.push(t))}function a(t){var e="readystatechange"===t.type&&"complete"!==o.readyState;r.isReady||e||l()}function l(){r.isReady=!0;for(var t=0,e=s.length;t<e;t++){(0,s[t])()}}function c(t){return"complete"===o.readyState?l():(t.bind(o,"DOMContentLoaded",a),t.bind(o,"readystatechange",a),t.bind(n,"load",a)),r}r.isReady=!1,"function"==typeof define&&define.amd?define(["eventie/eventie"],c):"object"==typeof i?e.exports=c(t("eventie")):n.docReady=c(n.eventie)}(window)},{eventie:16}],15:[function(t,e,i){!function(t,i){"function"==typeof define&&define.amd?define(i):"object"==typeof e&&e.exports?e.exports=i():t.EvEmitter=i()}("undefined"!=typeof window?window:this,(function(){"use strict";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){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var s=i[o];n&&n[s]&&(this.off(t,s),delete n[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}))},{}],16:[function(t,e,i){ 24/*! 25 * eventie v1.0.6 26 * event binding helper 27 * eventie.bind( elem, 'click', myFn ) 28 * eventie.unbind( elem, 'click', myFn ) 29 * MIT license 30 */ 31!function(t){"use strict";var n=document.documentElement,o=function(){};function s(e){var i=t.event;return i.target=i.target||i.srcElement||e,i}n.addEventListener?o=function(t,e,i){t.addEventListener(e,i,!1)}:n.attachEvent&&(o=function(t,e,i){t[e+i]=i.handleEvent?function(){var e=s(t);i.handleEvent.call(i,e)}:function(){var e=s(t);i.call(t,e)},t.attachEvent("on"+e,t[e+i])});var r=function(){};n.removeEventListener?r=function(t,e,i){t.removeEventListener(e,i,!1)}:n.detachEvent&&(r=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(n){t[e+i]=void 0}});var a={bind:o,unbind:r};"function"==typeof define&&define.amd?define(a):"object"==typeof i?e.exports=a:t.eventie=a}(window)},{}],17:[function(t,e,i){!function(){"use strict"; 32/** 33 * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs. 34 * 35 * @codingstandard ftlabs-jsv2 36 * @copyright The Financial Times Limited [All Rights Reserved] 37 * @license MIT License (see LICENSE.txt) 38 */function t(e,i){var o;if(i=i||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=i.touchBoundary||10,this.layer=e,this.tapDelay=i.tapDelay||200,this.tapTimeout=i.tapTimeout||700,!t.notNeeded(e)){for(var s=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],r=0,a=s.length;r<a;r++)this[s[r]]=l(this[s[r]],this);n&&(e.addEventListener("mouseover",this.onMouse,!0),e.addEventListener("mousedown",this.onMouse,!0),e.addEventListener("mouseup",this.onMouse,!0)),e.addEventListener("click",this.onClick,!0),e.addEventListener("touchstart",this.onTouchStart,!1),e.addEventListener("touchmove",this.onTouchMove,!1),e.addEventListener("touchend",this.onTouchEnd,!1),e.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(e.removeEventListener=function(t,i,n){var o=Node.prototype.removeEventListener;"click"===t?o.call(e,t,i.hijacked||i,n):o.call(e,t,i,n)},e.addEventListener=function(t,i,n){var o=Node.prototype.addEventListener;"click"===t?o.call(e,t,i.hijacked||(i.hijacked=function(t){t.propagationStopped||i(t)}),n):o.call(e,t,i,n)}
vendor: 5,395 bytes, line 38
38),"function"==typeof e.onclick&&(o=e.onclick,e.addEventListener("click",(function(t){o(t)}),!1),e.onclick=null)}function l(t,e){return function(){return t.apply(e,arguments)}}}var i=navigator.userAgent.indexOf("Windows Phone")>=0,n=navigator.userAgent.indexOf("Android")>0&&!i,o=/iP(ad|hone|od)/.test(navigator.userAgent)&&!i,s=o&&/OS 4_\d(_\d)?/.test(navigator.userAgent),r=o&&/OS [6-7]_\d/.test(navigator.userAgent),a=navigator.userAgent.indexOf("BB10")>0;t.prototype.needsClick=function(t){switch(t.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(t.disabled)return!0;break;case"input":if(o&&"file"===t.type||t.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(t.className)},t.prototype.needsFocus=function(t){switch(t.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!n;case"input":switch(t.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!t.disabled&&!t.readOnly;default:return/\bneedsfocus\b/.test(t.className)}},t.prototype.sendClick=function(t,e){var i,n;document.activeElement&&document.activeElement!==t&&document.activeElement.blur(),n=e.changedTouches[0],(i=document.createEvent("MouseEvents")).initMouseEvent(this.determineEventType(t),!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),i.forwardedTouchEvent=!0,t.dispatchEvent(i)},t.prototype.determineEventType=function(t){return n&&"select"===t.tagName.toLowerCase()?"mousedown":"click"},t.prototype.focus=function(t){var e;o&&t.setSelectionRange&&0!==t.type.indexOf("date")&&"time"!==t.type&&"month"!==t.type?(e=t.value.length,t.setSelectionRange(e,e)):t.focus()},t.prototype.updateScrollParent=function(t){var e,i;if(!(e=t.fastClickScrollParent)||!e.contains(t)){i=t;do{if(i.scrollHeight>i.offsetHeight){e=i,t.fastClickScrollParent=i;break}i=i.parentElement}while(i)}e&&(e.fastClickLastScrollTop=e.scrollTop)},t.prototype.getTargetElementFromEventTarget=function(t){return t.nodeType===Node.TEXT_NODE?t.parentNode:t},t.prototype.onTouchStart=function(t){var e,i,n;if(t.targetTouches.length>1)return!0;if(e=this.getTargetElementFromEventTarget(t.target),i=t.targetTouches[0],o){if((n=window.getSelection()).rangeCount&&!n.isCollapsed)return!0;if(!s){if(i.identifier&&i.identifier===this.lastTouchIdentifier)return t.preventDefault(),!1;this.lastTouchIdentifier=i.identifier,this.updateScrollParent(e)}}return this.trackingClick=!0,this.trackingClickStart=t.timeStamp,this.targetElement=e,this.touchStartX=i.pageX,this.touchStartY=i.pageY,t.timeStamp-this.lastClickTime<this.tapDelay&&t.preventDefault(),!0},t.prototype.touchHasMoved=function(t){var e=t.changedTouches[0],i=this.touchBoundary;return Math.abs(e.pageX-this.touchStartX)>i||Math.abs(e.pageY-this.touchStartY)>i},t.prototype.onTouchMove=function(t){return!this.trackingClick||((this.targetElement!==this.getTargetElementFromEventTarget(t.target)||this.touchHasMoved(t))&&(this.trackingClick=!1,this.targetElement=null),!0)},t.prototype.findControl=function(t){return void 0!==t.control?t.control:t.htmlFor?document.getElementById(t.htmlFor):t.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},t.prototype.onTouchEnd=function(t){var e,i,a,l,c,u=this.targetElement;if(!this.trackingClick)return!0;if(t.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(t.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=t.timeStamp,i=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,r&&(c=t.changedTouches[0],(u=document.elementFromPoint(c.pageX-window.pageXOffset,c.pageY-window.pageYOffset)||u).fastClickScrollParent=this.targetElement.fastClickScrollParent),"label"===(a=u.tagName.toLowerCase())){if(e=this.findControl(u)){if(this.focus(u),n)return!1;u=e}}else if(this.needsFocus(u))return t.timeStamp-i>100||o&&window.top!==window&&"input"===a?(this.targetElement=null,!1):(this.focus(u),this.sendClick(u,t),o&&"select"===a||(this.targetElement=null,t.preventDefault()),!1);return!(!o||s||!(l=u.fastClickScrollParent)||l.fastClickLastScrollTop===l.scrollTop)||(this.needsClick(u)||(t.preventDefault(),this.sendClick(u,t)),!1)},t.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},t.prototype.onMouse=function(t){return!this.targetElement||(!!t.forwardedTouchEvent||(!t.cancelable||(!(!this.needsClick(this.targetElement)||this.cancelNextClick)||(t.stopImmediatePropagation?t.stopImmediatePropagation():t.propagationStopped=!0,t.stopPropagation(),t.preventDefault(),!1))))},t.prototype.onClick=function(t){var e;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===t.target.type&&0===t.detail||((e=this.onMouse(t))||(this.targetElement=null),e)},t.prototype.destroy=function(){var t=this.layer;n&&(t.removeEventListener("mouseover",this.onMouse,!0),t.removeEventListener("mousedown",this.onMouse,!0),t.removeEventListener("mouseup",this.onMouse,!0)),t.removeEventListener("click",this.onClick,!0),t.removeEventListener("touchstart",this.onTouchStart,!1),t.removeEventListener("touchmove",this.onTouchMove,!1),t.removeEventListener("touchend",this.onTouchEnd,!1),t.removeEventListener("touchcancel",this.onTouchCancel,!1)},t.notNeeded=function(t){var e,i,o;if(void 0===window.ontouchstart)return!0;
38if(i=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!n)return!0;if(e=document.querySelector("meta[name=viewport]")){if(-1!==e.content.indexOf("user-scalable=no"))return!0;if(i>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(a&&(o=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/))[1]>=10&&o[2]>=3&&(e=document.querySelector("meta[name=viewport]"))){if(-1!==e.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===t.style.msTouchAction||"manipulation"===t.style.touchAction||(!!(+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]>=27&&(e=document.querySelector("meta[name=viewport]"))&&(-1!==e.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))||("none"===t.style.touchAction||"manipulation"===t.style.touchAction))},t.attach=function(e,i){return new t(e,i)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define((function(){return t})):void 0!==e&&e.exports?(e.exports=t.attach,e.exports.FastClick=t):window.FastClick=t}()},{}],18:[function(t,e,i){!function(n,o){"use strict";"function"==typeof define&&define.amd?define(["doc-ready/doc-ready","matches-selector/matches-selector"],(function(t,e){return o(n,t,e)})):"object"==typeof i?e.exports=o(n,t("doc-ready"),t("desandro-matches-selector")):n.fizzyUIUtils=o(n,n.docReady,n.matchesSelector)}(window,(function(t,e,i){"use strict";var n,o={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},s=Object.prototype.toString;o.isArray=function(t){return"[object Array]"==s.call(t)},o.makeArray=function(t){var e=[];if(o.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0,n=t.length;i<n;i++)e.push(t[i]);else e.push(t);return e},o.indexOf=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},o.removeFrom=function(t,e){var i=o.indexOf(t,e);-1!=i&&t.splice(i,1)},o.isElement="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1==t.nodeType&&"string"==typeof t.nodeName},o.setText=function(t,e){t[n=n||(void 0!==document.documentElement.textContent?"textContent":"innerText")]=e},o.getParent=function(t,e){for(;t!=document.body;)if(t=t.parentNode,i(t,e))return t},o.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},o.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},o.filterFindElements=function(t,e){for(var n=[],s=0,r=(t=o.makeArray(t)).length;s<r;s++){var a=t[s];if(o.isElement(a))if(e){i(a,e)&&n.push(a);for(var l=a.querySelectorAll(e),c=0,u=l.length;c<u;c++)n.push(l[c])}else n.push(a)}return n},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)}},o.toDashed=function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,i){return e+"-"+i})).toLowerCase()};var r=t.console;return o.htmlInit=function(i,n){e((function(){for(var e=o.toDashed(n),s=document.querySelectorAll(".js-"+e),a="data-"+e+"-options",l=0,c=s.length;l<c;l++){var u,h=s[l],d=h.getAttribute(a);try{u=d&&JSON.parse(d)}catch(t){r&&r.error("Error parsing "+a+" on "+h.nodeName.toLowerCase()+(h.id?"#"+h.id:"")+": "+t);continue}var f=new i(h,u),p=t.jQuery;p&&p.data(h,n,f)}}))},o}))},{"desandro-matches-selector":13,"doc-ready":14}],19:[function(t,e,i){ 39/*! 40 * Flickity sync v2.0.0 41 * enable sync for Flickity 42 */ 43!function(i,n){"function"==typeof define&&define.amd?define(["flickity/js/index","fizzy-ui-utils/utils"],n):"object"==typeof e&&e.exports?e.exports=n(t("flickity"),t("fizzy-ui-utils")):i.Flickity=n(i.Flickity,i.fizzyUIUtils)}(window,(function(t,e){"use strict";return t.createMethods.push("_createSync"),t.prototype._createSync=function(){this.syncers={};var t=this.options.sync;if(this.on("destroy",this.unsyncAll),t){var e=this;setTimeout((function(){e.sync(t)}))}},t.prototype.sync=function(i){i=e.getQueryElement(i);var n=t.data(i);n&&(this._syncCompanion(n),n._syncCompanion(this))},t.prototype._syncCompanion=function(t){var e=this;function i(){var i=e.selectedIndex;t.selectedIndex!=i&&t.select(i)}this.on("select",i),this.syncers[t.guid]={flickity:t,listener:i}},t.prototype.unsync=function(i){i=e.getQueryElement(i);var n=t.data(i);this._unsync(n)},t.prototype._unsync=function(t){t&&(this._unsyncCompanion(t),t._unsyncCompanion(this))},t.prototype._unsyncCompanion=function(t){var e=t.guid,i=this.syncers[e];this.off("select",i.listener),delete this.syncers[e]},t.prototype.unsyncAll=function(){for(var t in this.syncers){var e=this.syncers[t];this._unsync(e.flickity)}},t}))},{"fizzy-ui-utils":21,flickity:27}
43],20:[function(t,e,i){!function(t,i){"use strict";"function"==typeof define&&define.amd?define(i):"object"==typeof e&&e.exports?e.exports=i():t.matchesSelector=i()}(window,(function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(e,i){return e[t](i)}}))},{}],21:[function(t,e,i){!function(i,n){"function"==typeof define&&define.amd?define(["desandro-matches-selector/matches-selector"],(function(t){return n(i,t)})):"object"==typeof e&&e.exports?e.exports=n(i,t("desandro-matches-selector")):i.fizzyUIUtils=n(i,i.matchesSelector)}(window,(function(t,e){"use strict";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}},n=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach((function(t){if(t instanceof HTMLElement)if(n){e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),s=0;s<i.length;s++)o.push(i[s])}else o.push(t)})),o},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,s=this;this[o]=setTimeout((function(){n.apply(s,e),delete s[o]}),i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,i){return e+"-"+i})).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady((function(){var s=i.toDashed(n),r="data-"+s,a=document.querySelectorAll("["+r+"]"),l=document.querySelectorAll(".js-"+s),c=i.makeArray(a).concat(i.makeArray(l)),u=r+"-options",h=t.jQuery;c.forEach((function(t){var i,s=t.getAttribute(r)||t.getAttribute(u);try{i=s&&JSON.parse(s)}catch(e){return void(o&&o.error("Error parsing "+r+" on "+t.className+": "+e))}var a=new e(t,i);h&&h.data(t,n,a)}))}))},i}))},{"desandro-matches-selector":20}],22:[function(t,e,i){!function(i,n){"function"==typeof define&&define.amd?define(["./flickity","fizzy-ui-utils/utils"],(function(t,e){return n(i,t,e)})):"object"==typeof e&&e.exports?e.exports=n(i,t("./flickity"),t("fizzy-ui-utils")):n(i,i.Flickity,i.fizzyUIUtils)}(window,(function(t,e,i){"use strict";var n=e.prototype;return n.insert=function(t,e){var i=this._makeCells(t);if(i&&i.length){var n=this.cells.length;e=void 0===e?n:e;var o=function(t){var e=document.createDocumentFragment();return t.forEach((function(t){e.appendChild(t.element)})),e}(i),s=e==n;if(s)this.slider.appendChild(o);else{var r=this.cells[e].element;this.slider.insertBefore(o,r)}if(0===e)this.cells=i.concat(this.cells);else if(s)this.cells=this.cells.concat(i);else{var a=this.cells.splice(e,n-e);this.cells=this.cells.concat(i).concat(a)}this._sizeCells(i),this.cellChange(e,!0)}},n.append=function(t){this.insert(t,this.cells.length)},n.prepend=function(t){this.insert(t,0)},n.remove=function(t){var e=this.getCells(t);if(e&&e.length){var n=this.cells.length-1;e.forEach((function(t){t.remove();var e=this.cells.indexOf(t);n=Math.min(e,n),i.removeFrom(this.cells,t)}),this),this.cellChange(n,!0)}},n.cellSizeChange=function(t){var e=this.getCell(t);if(e){e.getSize();var i=this.cells.indexOf(e);this.cellChange(i)}},n.cellChange=function(t,e){var i=this.selectedElement;this._positionCells(t),this._getWrapShiftCells(),this.setGallerySize();var n=this.getCell(i);n&&(this.selectedIndex=this.getCellSlideIndex(n)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[t]),this.select(this.selectedIndex),e&&this.positionSliderAtSelected()},e}))},{"./flickity":26,"fizzy-ui-utils":34}
43],23:[function(t,e,i){!function(i,n){"function"==typeof define&&define.amd?define(["fizzy-ui-utils/utils"],(function(t){return n(i,t)})):"object"==typeof e&&e.exports?e.exports=n(i,t("fizzy-ui-utils")):(i.Flickity=i.Flickity||{},i.Flickity.animatePrototype=n(i,i.fizzyUIUtils))}(window,(function(t,e){"use strict";var i={startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();var t=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(t),this.isAnimating){var e=this;requestAnimationFrame((function(){e.animate()}))}},positionSlider:function(){var t=this.x;this.options.wrapAround&&this.cells.length>1&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),t+=this.cursorPosition,t=this.options.rightToLeft?-t:t;var i=this.getPositionValue(t);this.slider.style.transform=this.isAnimating?"translate3d("+i+",0,0)":"translateX("+i+")";var n=this.slides[0];if(n){var o=-this.x-n.target,s=o/this.slidesWidth;this.dispatchEvent("scroll",null,[s,o])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){this.isPointerDown||Math.round(100*this.x)!=Math.round(100*t)||this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);var i=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},_shiftCells:function(t,e,i){for(var n=0;n<t.length;n++){var o=t[n],s=e>0?i:0;o.wrapShift(s),e-=o.size.outerWidth}},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e<t.length;e++)t[e].wrapShift(0)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(t){this.velocity+=t},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){if(this.isDraggable&&this.isPointerDown){var t=this.dragX-this.x-this.velocity;this.applyForce(t)}},applySelectedAttraction:function(){if(!(this.isDraggable&&this.isPointerDown)&&!this.isFreeScrolling&&this.slides.length){var t=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction;this.applyForce(t)}}};return i}))},{"fizzy-ui-utils":34}],24:[function(t,e,i){!function(i,n){"function"==typeof define&&define.amd?define(["get-size/get-size"],(function(t){return n(i,t)})):"object"==typeof e&&e.exports?e.exports=n(i,t("get-size")):(i.Flickity=i.Flickity||{},i.Flickity.Cell=n(i,i.getSize))}(window,(function(t,e){"use strict";function i(t,e){this.element=t,this.parent=e,this.create()}var n=i.prototype;return n.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-selected","false"),this.x=0,this.shift=0},n.destroy=function(){this.element.style.position="";var t=this.parent.originSide;this.element.removeAttribute("aria-selected"),this.element.style[t]=""},n.getSize=function(){this.size=e(this.element)},n.setPosition=function(t){this.x=t,this.updateTarget(),this.renderPosition(t)},n.updateTarget=n.setDefaultTarget=function(){var t="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[t]+this.size.width*this.parent.cellAlign},n.renderPosition=function(t){var e=this.parent.originSide;this.element.style[e]=this.parent.getPositionValue(t)},n.wrapShift=function(t){this.shift=t,this.renderPosition(this.x+this.parent.slideableWidth*t)},n.remove=function(){this.element.parentNode.removeChild(this.element)},i}))},{"get-size":35}],25:[function(t,e,i){!function(i,n){"function"==typeof define&&define.amd?define(["./flickity","unidragger/unidragger","fizzy-ui-utils/utils"],(function(t,e,o){return n(i,t,e,o)})):"object"==typeof e&&e.exports?e.exports=n(i,t("./flickity"),t("unidragger"),t("fizzy-ui-utils")):i.Flickity=n(i,i.Flickity,i.Unidragger,i.fizzyUIUtils)}
vendor: 5,105 bytes, line 43
43(window,(function(t,e,i,n){"use strict";n.extend(e.defaults,{draggable:">1",dragThreshold:3}),e.createMethods.push("_createDrag");var o=e.prototype;n.extend(o,i.prototype),o._touchActionValue="pan-y";var s="createTouch"in document,r=!1;o._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("childUIPointerDown",this._childUIPointerDownDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),s&&!r&&(t.addEventListener("touchmove",(function(){})),r=!0)},o.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},o.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},o.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},o.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},o.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},o._uiChangeDrag=function(){delete this.isFreeScrolling},o._childUIPointerDownDrag=function(t){t.preventDefault(),this.pointerDownFocus(t)},o.pointerDown=function(e,i){this.isDraggable?this.okayPointerDown(e)&&(this._pointerDownPreventDefault(e),this.pointerDownFocus(e),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=l(),t.addEventListener("scroll",this),this._pointerDownDefault(e,i)):this._pointerDownDefault(e,i)},o._pointerDownDefault=function(t,e){this.pointerDownPointer=e,this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])};var a={INPUT:!0,TEXTAREA:!0,SELECT:!0};function l(){return{x:t.pageXOffset,y:t.pageYOffset}}return o.pointerDownFocus=function(t){a[t.target.nodeName]||this.focus()},o._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=a[t.target.nodeName];e||i||n||t.preventDefault()},o.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},o.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},o.pointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},o.dragStart=function(e,i){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[i]))},o.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]),this._dragMove(t,e,i)},o.dragMove=function(t,e,i){if(this.isDraggable){t.preventDefault(),this.previousDragX=this.dragX;var n=this.options.rightToLeft?-1:1;this.options.wrapAround&&(i.x=i.x%this.slideableWidth);var o=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var s=Math.max(-this.slides[0].target,this.dragStartPosition);o=o>s?.5*(o+s):o;var r=Math.min(-this.getLastSlide().target,this.dragStartPosition);o=o<r?.5*(o+r):o}this.dragX=o,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",t,[e,i])}},o.dragEnd=function(t,e){if(this.isDraggable){this.options.freeScroll&&(this.isFreeScrolling=!0);var i=this.dragEndRestingSelect();if(this.options.freeScroll&&!this.options.wrapAround){var n=this.getRestingPosition();this.isFreeScrolling=-n>this.slides[0].target&&-n<this.getLastSlide().target}else this.options.freeScroll||i!=this.selectedIndex||(i+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(i),delete this.isDragSelect,this.dispatchEvent("dragEnd",t,[e])}},o.dragEndRestingSelect=function(){var t=this.getRestingPosition(),e=Math.abs(this.getSlideDistance(-t,this.selectedIndex)),i=this._getClosestResting(t,e,1),n=this._getClosestResting(t,e,-1);return i.distance<n.distance?i.index:n.index},o._getClosestResting=function(t,e,i){for(var n=this.selectedIndex,o=1/0,s=this.options.contain&&!this.options.wrapAround?function(t,e){return t<=e}:function(t,e){return t<e};s(e,o)&&(n+=i,o=e,null!==(e=this.getSlideDistance(-t,n)));)e=Math.abs(e);return{distance:o,index:n-i}},o.getSlideDistance=function(t,e){var i=this.slides.length,o=this.options.wrapAround&&i>1,s=o?n.modulo(e,i):e,r=this.slides[s];if(!r)return null;var a=o?this.slideableWidth*Math.floor(e/i):0;return t-(r.target+a)},o.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return t>0&&e>0?1:t<0&&e<0?-1:0},o.staticClick=function(t,e){var i=this.getParentCell(t.target),n=i&&i.element,o=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,o])},o.onscroll=function(){var t=l(),e=this.pointerDownScroll.x-t.x,i=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(i)>3)&&this._pointerDone()},e}))},{"./flickity":26,"fizzy-ui-utils":34,unidragger:52}
43],26:[function(t,e,i){!function(i,n){if("function"==typeof define&&define.amd)define(["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./cell","./slide","./animate"],(function(t,e,o,s,r,a){return n(i,t,e,o,s,r,a)}));else if("object"==typeof e&&e.exports)e.exports=n(i,t("ev-emitter"),t("get-size"),t("fizzy-ui-utils"),t("./cell"),t("./slide"),t("./animate"));else{var o=i.Flickity;i.Flickity=n(i,i.EvEmitter,i.getSize,i.fizzyUIUtils,o.Cell,o.Slide,o.animatePrototype)}}(window,(function(t,e,i,n,o,s,r){"use strict";var a=t.jQuery,l=t.getComputedStyle,c=t.console;function u(t,e){for(t=n.makeArray(t);t.length;)e.appendChild(t.shift())}var h=0,d={};function f(t,e){var i=n.getQueryElement(t);if(i){if(this.element=i,this.element.flickityGUID){var o=d[this.element.flickityGUID];return o.option(e),o}a&&(this.$element=a(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e),this._create()}else c&&c.error("Bad element for Flickity: "+(i||t))}f.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},f.createMethods=[];var p=f.prototype;n.extend(p,e.prototype),p._create=function(){var e=this.guid=++h;for(var i in this.element.flickityGUID=e,d[e]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&t.addEventListener("resize",this),this.options.on){var n=this.options.on[i];this.on(i,n)}f.createMethods.forEach((function(t){this[t]()}),this),this.options.watchCSS?this.watchCSS():this.activate()},p.option=function(t){n.extend(this.options,t)},p.activate=function(){if(!this.isActive){var t;this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize(),u(this._filterFindCellElements(this.element.children),this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate");var e=this.options.initialIndex;t=this.isInitActivated?this.selectedIndex:void 0!==e&&this.cells[e]?e:0,this.select(t,!1,!0),this.isInitActivated=!0,this.dispatchEvent("ready")}},p._createSlider=function(){var t=document.createElement("div");t.className="flickity-slider",t.style[this.originSide]=0,this.slider=t},p._filterFindCellElements=function(t){return n.filterFindElements(t,this.options.cellSelector)},p.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},p._makeCells=function(t){return this._filterFindCellElements(t).map((function(t){return new o(t,this)}),this)},p.getLastCell=function(){return this.cells[this.cells.length-1]},p.getLastSlide=function(){return this.slides[this.slides.length-1]},p.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},p._positionCells=function(t){t=t||0,this.maxCellHeight=t&&this.maxCellHeight||0;var e=0;if(t>0){var i=this.cells[t-1];e=i.x+i.size.outerWidth}for(var n=this.cells.length,o=t;o<n;o++){var s=this.cells[o];s.setPosition(e),e+=s.size.outerWidth,this.maxCellHeight=Math.max(s.size.outerHeight,this.maxCellHeight)}this.slideableWidth=e,this.updateSlides(),this._containSlides(),this.slidesWidth=n?this.getLastSlide().target-this.slides[0].target:0},p._sizeCells=function(t){t.forEach((function(t){t.getSize()}))},p.updateSlides=function(){if(this.slides=[],this.cells.length){var t=new s(this);this.slides.push(t);var e="left"==this.originSide?"marginRight":"marginLeft",i=this._getCanCellFit();this.cells.forEach((function(n,o){if(t.cells.length){var r=t.outerWidth-t.firstMargin+(n.size.outerWidth-n.size[e]);i.call(this,o,r)||(t.updateTarget(),t=new s(this),this.slides.push(t)),t.addCell(n)}else t.addCell(n)}),this),t.updateTarget(),this.updateSelectedSlide()}},p._getCanCellFit=function(){var t=this.options.groupCells;if(!t)return function(){return!1};if("number"==typeof t){var e=parseInt(t,10);return function(t){return t%e!=0}}var i="string"==typeof t&&t.match(/^(\d+)%$/),n=i?parseInt(i[1],10)/100:1;return function(t,e){return e<=(this.size.innerWidth+1)*n}},p._init=p.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},p.getSize=function(){this.size=i(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};var m={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}};return p.setCellAlign=function(){var t=m[this.options.cellAlign];this.cellAlign=t?t[this.originSide]:this.options.cellAlign},p.setGallerySize=function(){if(this.options.setGallerySize){var t=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=t+"px"}},p._getWrapShiftCells=function(){if(this.options.wrapAround){this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);var t=this.cursorPosition,e=this.cells.length-1;this.beforeShiftCells=this._getGapCells(t,e,-1),t=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(t,0,1)}}
43,p._getGapCells=function(t,e,i){for(var n=[];t>0;){var o=this.cells[e];if(!o)break;n.push(o),e+=i,t-=o.size.outerWidth}return n},p._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var t=this.options.rightToLeft,e=t?"marginRight":"marginLeft",i=t?"marginLeft":"marginRight",n=this.slideableWidth-this.getLastCell().size[i],o=n<this.size.innerWidth,s=this.cursorPosition+this.cells[0].size[e],r=n-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach((function(t){o?t.target=n*this.cellAlign:(t.target=Math.max(t.target,s),t.target=Math.min(t.target,r))}),this)}},p.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),a&&this.$element){var o=t+=this.options.namespaceJQueryEvents?".flickity":"";if(e){var s=a.Event(e);s.type=t,o=s}this.$element.trigger(o,i)}},p.select=function(t,e,i){if(this.isActive&&(t=parseInt(t,10),this._wrapSelect(t),(this.options.wrapAround||e)&&(t=n.modulo(t,this.slides.length)),this.slides[t])){var o=this.selectedIndex;this.selectedIndex=t,this.updateSelectedSlide(),i?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[t]),t!=o&&this.dispatchEvent("change",null,[t]),this.dispatchEvent("cellSelect")}},p._wrapSelect=function(t){var e=this.slides.length;if(!(this.options.wrapAround&&e>1))return t;var i=n.modulo(t,e),o=Math.abs(i-this.selectedIndex),s=Math.abs(i+e-this.selectedIndex),r=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&s<o?t+=e:!this.isDragSelect&&r<o&&(t-=e),t<0?this.x-=this.slideableWidth:t>=e&&(this.x+=this.slideableWidth)},p.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},p.next=function(t,e){this.select(this.selectedIndex+1,t,e)},p.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),this.selectedSlide=t,t.select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},p.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},p.selectCell=function(t,e,i){var n=this.queryCell(t);if(n){var o=this.getCellSlideIndex(n);this.select(o,e,i)}},p.getCellSlideIndex=function(t){for(var e=0;e<this.slides.length;e++){if(-1!=this.slides[e].cells.indexOf(t))return e}},p.getCell=function(t){for(var e=0;e<this.cells.length;e++){var i=this.cells[e];if(i.element==t)return i}},p.getCells=function(t){t=n.makeArray(t);var e=[];return t.forEach((function(t){var i=this.getCell(t);i&&e.push(i)}),this),e},p.getCellElements=function(){return this.cells.map((function(t){return t.element}))},p.getParentCell=function(t){var e=this.getCell(t);return e||(t=n.getParent(t,".flickity-slider > *"),this.getCell(t))},p.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var i=this.slides.length;if(1+2*t>=i)return this.getCellElements();for(var o=[],s=e-t;s<=e+t;s++){var r=this.options.wrapAround?n.modulo(s,i):s,a=this.slides[r];
43a&&(o=o.concat(a.getCellElements()))}return o},p.queryCell=function(t){return"number"==typeof t?this.cells[t]:("string"==typeof t&&(t=this.element.querySelector(t)),this.getCell(t))},p.uiChange=function(){this.emitEvent("uiChange")},p.childUIPointerDown=function(t){this.emitEvent("childUIPointerDown",[t])},p.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(f,"onresize",150),p.resize=function(){if(this.isActive){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)}},p.watchCSS=function(){this.options.watchCSS&&(-1!=l(this.element,":after").content.indexOf("flickity")?this.activate():this.deactivate())},p.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!e){var i=f.keyboardHandlers[t.keyCode];i&&i.call(this)}},f.keyboardHandlers={37:function(){var t=this.options.rightToLeft?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=this.options.rightToLeft?"previous":"next";this.uiChange(),this[t]()}},p.focus=function(){var e=t.pageYOffset;this.element.focus({preventScroll:!0}),t.pageYOffset!=e&&t.scrollTo(t.pageXOffset,e)},p.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach((function(t){t.destroy()})),this.element.removeChild(this.viewport),u(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},p.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.emitEvent("destroy"),a&&this.$element&&a.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete d[this.guid]},n.extend(p,r),f.data=function(t){var e=(t=n.getQueryElement(t))&&t.flickityGUID;return e&&d[e]},n.htmlInit(f,"flickity"),a&&a.bridget&&a.bridget("flickity",f),f.setJQuery=function(t){a=t},f.Cell=o,f}))},{"./animate":23,"./cell":24,"./slide":32,"ev-emitter":15,"fizzy-ui-utils":34,"get-size":35}],27:[function(t,e,i){ 44/*! 45 * Flickity v2.1.2 46 * Touch, responsive, flickable carousels 47 * 48 * Licensed GPLv3 for open source use 49 * or Flickity Commercial License for commercial use 50 * 51 * https://flickity.metafizzy.co 52 * Copyright 2015-2018 Metafizzy 53 */ 54var n;window,n=function(t){return t},"function"==typeof define&&define.amd?define(["./flickity","./drag","./prev-next-button","./page-dots","./player","./add-remove-cell","./lazyload"],n):"object"==typeof e&&e.exports&&(e.exports=n(t("./flickity"),t("./drag"),t("./prev-next-button"),t("./page-dots"),t("./player"),t("./add-remove-cell"),t("./lazyload")))},{"./add-remove-cell":22,"./drag":25,"./flickity":26,"./lazyload":28,"./page-dots":29,"./player":30,"./prev-next-button":31}],28:[function(t,e,i){!function(i,n){"function"==typeof define&&define.amd?define(["./flickity","fizzy-ui-utils/utils"],(function(t,e){return n(i,t,e)})):"object"==typeof e&&e.exports?e.exports=n(i,t("./flickity"),t("fizzy-ui-utils")):n(i,i.Flickity,i.fizzyUIUtils)}(window,(function(t,e,i){"use strict";e.createMethods.push("_createLazyload");var n=e.prototype;function o(t,e){this.img=t,this.flickity=e,this.load()}return n._createLazyload=function(){this.on("select",this.lazyLoad)},n.lazyLoad=function(){var t=this.options.lazyLoad;if(t){var e="number"==typeof t?t:0,n=this.getAdjacentCellElements(e),s=[];n.forEach((function(t){var e=function(t){if("IMG"==t.nodeName){var e=t.getAttribute("data-flickity-lazyload"),n=t.getAttribute("data-flickity-lazyload-src"),o=t.getAttribute("data-flickity-lazyload-srcset");if(e||n||o)return[t]}var s=t.querySelectorAll("img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]");return i.makeArray(s)}(t);s=s.concat(e)})),s.forEach((function(t){new o(t,this)}),this)}},o.prototype.handleEvent=i.handleEvent,o.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var t=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),e=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=t,e&&this.img.setAttribute("srcset",e),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},o.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},o.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},o.prototype.complete=function(t,e){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var i=this.flickity.getParentCell(this.img),n=i&&i.element;this.flickity.cellSizeChange(n),this.img.classList.add(e),this.flickity.dispatchEvent("lazyLoad",t,n)},e.LazyLoader=o,e}))},{"./flickity":26,"fizzy-ui-utils":34}
54],29:[function(t,e,i){!function(i,n){"function"==typeof define&&define.amd?define(["./flickity","tap-listener/tap-listener","fizzy-ui-utils/utils"],(function(t,e,o){return n(i,t,e,o)})):"object"==typeof e&&e.exports?e.exports=n(i,t("./flickity"),t("tap-listener"),t("fizzy-ui-utils")):n(i,i.Flickity,i.TapListener,i.fizzyUIUtils)}(window,(function(t,e,i,n){"use strict";function o(t){this.parent=t,this._create()}o.prototype=new i,o.prototype._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.on("tap",this.onTap),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.setDots(),this.bindTap(this.holder),this.parent.element.appendChild(this.holder)},o.prototype.deactivate=function(){this.parent.element.removeChild(this.holder),i.prototype.destroy.call(this)},o.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},o.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,o=n+t,s=n;s<o;s++){var r=document.createElement("li");r.className="dot",r.setAttribute("aria-label","Page dot "+(s+1)),e.appendChild(r),i.push(r)}this.holder.appendChild(e),this.dots=this.dots.concat(i)},o.prototype.removeDots=function(t){this.dots.splice(this.dots.length-t,t).forEach((function(t){this.holder.removeChild(t)}),this)},o.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot",this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected",this.selectedDot.setAttribute("aria-current","step"))},o.prototype.onTap=function(t){var e=t.target;if("LI"==e.nodeName){this.parent.uiChange();var i=this.dots.indexOf(e);this.parent.select(i)}},o.prototype.destroy=function(){this.deactivate()},e.PageDots=o,n.extend(e.defaults,{pageDots:!0}),e.createMethods.push("_createPageDots");var s=e.prototype;return s._createPageDots=function(){this.options.pageDots&&(this.pageDots=new o(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},s.activatePageDots=function(){this.pageDots.activate()},s.updateSelectedPageDots=function(){this.pageDots.updateSelected()},s.updatePageDots=function(){this.pageDots.setDots()},s.deactivatePageDots=function(){this.pageDots.deactivate()},e.PageDots=o,e}))},{"./flickity":26,"fizzy-ui-utils":34,"tap-listener":49}],30:[function(t,e,i){!function(i,n){"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter","fizzy-ui-utils/utils","./flickity"],(function(t,e,i){return n(t,e,i)})):"object"==typeof e&&e.exports?e.exports=n(t("ev-emitter"),t("fizzy-ui-utils"),t("./flickity")):n(i.EvEmitter,i.fizzyUIUtils,i.Flickity)}(window,(function(t,e,i){"use strict";function n(t){this.parent=t,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}n.prototype=Object.create(t.prototype),n.prototype.play=function(){"playing"!=this.state&&(document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()))},n.prototype.tick=function(){if("playing"==this.state){var t=this.parent.options.autoPlay;t="number"==typeof t?t:3e3;var e=this;this.clear(),this.timeout=setTimeout((function(){e.parent.next(!0),e.tick()}),t)}},n.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},n.prototype.clear=function(){clearTimeout(this.timeout)},n.prototype.pause=function(){"playing"==this.state&&(this.state="paused",this.clear())},n.prototype.unpause=function(){"paused"==this.state&&this.play()},n.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},n.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},e.extend(i.defaults,{pauseAutoPlayOnHover:!0}),i.createMethods.push("_createPlayer");var o=i.prototype;return o._createPlayer=function(){this.player=new n(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},o.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},o.playPlayer=function(){this.player.play()},o.stopPlayer=function(){this.player.stop()},o.pausePlayer=function(){this.player.pause()},o.unpausePlayer=function(){this.player.unpause()},o.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},o.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},o.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},i.Player=n,i}))},{"./flickity":26,"ev-emitter":15,"fizzy-ui-utils":34}
54],31:[function(t,e,i){!function(i,n){"function"==typeof define&&define.amd?define(["./flickity","tap-listener/tap-listener","fizzy-ui-utils/utils"],(function(t,e,o){return n(i,t,e,o)})):"object"==typeof e&&e.exports?e.exports=n(i,t("./flickity"),t("tap-listener"),t("fizzy-ui-utils")):n(i,i.Flickity,i.TapListener,i.fizzyUIUtils)}(window,(function(t,e,i,n){"use strict";var o="http://www.w3.org/2000/svg";function s(t,e){this.direction=t,this.parent=e,this._create()}s.prototype=Object.create(i.prototype),s.prototype._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==t;var e=this.element=document.createElement("button");e.className="flickity-button flickity-prev-next-button",e.className+=this.isPrevious?" previous":" next",e.setAttribute("type","button"),this.disable(),e.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var i=this.createSVG();e.appendChild(i),this.on("tap",this.onTap),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},s.prototype.activate=function(){this.bindTap(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},s.prototype.deactivate=function(){this.parent.element.removeChild(this.element),i.prototype.destroy.call(this),this.element.removeEventListener("click",this)},s.prototype.createSVG=function(){var t=document.createElementNS(o,"svg");t.setAttribute("class","flickity-button-icon"),t.setAttribute("viewBox","0 0 100 100");var e=document.createElementNS(o,"path"),i=function(t){if("string"==typeof t)return t;return"M "+t.x0+",50 L "+t.x1+","+(t.y1+50)+" L "+t.x2+","+(t.y2+50)+" L "+t.x3+",50 L "+t.x2+","+(50-t.y2)+" L "+t.x1+","+(50-t.y1)+" Z"}(this.parent.options.arrowShape);return e.setAttribute("d",i),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},s.prototype.onTap=function(){if(this.isEnabled){this.parent.uiChange();var t=this.isPrevious?"previous":"next";this.parent[t]()}},s.prototype.handleEvent=n.handleEvent,s.prototype.onclick=function(t){var e=document.activeElement;e&&e==this.element&&this.onTap(t,t)},s.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},s.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},s.prototype.update=function(){var t=this.parent.slides;if(this.parent.options.wrapAround&&t.length>1)this.enable();else{var e=t.length?t.length-1:0,i=this.isPrevious?0:e;this[this.parent.selectedIndex==i?"disable":"enable"]()}},s.prototype.destroy=function(){this.deactivate()},n.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");var r=e.prototype;return r._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new s(-1,this),this.nextButton=new s(1,this),this.on("activate",this.activatePrevNextButtons))},r.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},r.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=s,e}))},{"./flickity":26,"fizzy-ui-utils":34,"tap-listener":49}],32:[function(t,e,i){!function(t,i){"function"==typeof define&&define.amd?define(i):"object"==typeof e&&e.exports?e.exports=i():(t.Flickity=t.Flickity||{},t.Flickity.Slide=i())}(window,(function(){"use strict";function t(t){this.parent=t,this.isOriginLeft="left"==t.originSide,this.cells=[],this.outerWidth=0,this.height=0}var e=t.prototype;return e.addCell=function(t){if(this.cells.push(t),this.outerWidth+=t.size.outerWidth,this.height=Math.max(t.size.outerHeight,this.height),1==this.cells.length){this.x=t.x;var e=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=t.size[e]}},e.updateTarget=function(){var t=this.isOriginLeft?"marginRight":"marginLeft",e=this.getLastCell(),i=e?e.size[t]:0,n=this.outerWidth-(this.firstMargin+i);this.target=this.x+this.firstMargin+n*this.parent.cellAlign},e.getLastCell=function(){return this.cells[this.cells.length-1]},e.select=function(){this.changeSelected(!0)},e.unselect=function(){this.changeSelected(!1)},e.changeSelected=function(t){var e=t?"add":"remove";
54this.cells.forEach((function(i){i.element.classList[e]("is-selected"),i.element.setAttribute("aria-selected",t.toString())}))},e.getCellElements=function(){return this.cells.map((function(t){return t.element}))},t}))},{}],33:[function(t,e,i){arguments[4][20][0].apply(i,arguments)},{dup:20}],34:[function(t,e,i){arguments[4][21][0].apply(i,arguments)},{"desandro-matches-selector":33,dup:21}],35:[function(t,e,i){ 55/*! 56 * getSize v2.0.3 57 * measure size of elements 58 * MIT license 59 */ 60!function(t,i){"function"==typeof define&&define.amd?define(i):"object"==typeof e&&e.exports?e.exports=i():t.getSize=i()}(window,(function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],n=i.length;function o(t){var i=getComputedStyle(t);return i||e("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),i}var s,r=!1;function a(e){if(function(){if(!r){r=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var n=o(e);s=200==Math.round(t(n.width)),a.isBoxSizeOuter=s,i.removeChild(e)}}(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var l=o(e);if("none"==l.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<n;e++){t[i[e]]=0}return t}();var c={};c.width=e.offsetWidth,c.height=e.offsetHeight;for(var u=c.isBorderBox="border-box"==l.boxSizing,h=0;h<n;h++){var d=i[h],f=l[d],p=parseFloat(f);c[d]=isNaN(p)?0:p}var m=c.paddingLeft+c.paddingRight,g=c.paddingTop+c.paddingBottom,y=c.marginLeft+c.marginRight,v=c.marginTop+c.marginBottom,w=c.borderLeftWidth+c.borderRightWidth,b=c.borderTopWidth+c.borderBottomWidth,x=u&&s,E=t(l.width);!1!==E&&(c.width=E+(x?0:m+w));var S=t(l.height);return!1!==S&&(c.height=S+(x?0:g+b)),c.innerWidth=c.width-(m+w),c.innerHeight=c.height-(g+b),c.outerWidth=c.width+y,c.outerHeight=c.height+v,c}}return a}))},{}],36:[function(t,e,i){ 61/*! 62 * getSize v1.2.2 63 * measure size of elements 64 * MIT license 65 */ 66!function(n,o){"use strict";function s(t){var e=parseFloat(t);return-1===t.indexOf("%")&&!isNaN(e)&&e}var r="undefined"==typeof console?function(){}:function(t){console.error(t)},a=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];function l(t){var e,i,o,l=!1;function c(t,e){if(n.getComputedStyle||-1===e.indexOf("%"))return e;var i=t.style,o=i.left,s=t.runtimeStyle,r=s&&s.left;return r&&(s.left=t.currentStyle.left),i.left=e,e=i.pixelLeft,i.left=o,r&&(s.left=r),e}return function(u){if(function(){if(!l){l=!0;var a,c=n.getComputedStyle;if(a=c?function(t){return c(t,null)}:function(t){return t.currentStyle},e=function(t){var e=a(t);return e||r("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e},i=t("boxSizing")){var u=document.createElement("div");u.style.width="200px",u.style.padding="1px 2px 3px 4px",u.style.borderStyle="solid",u.style.borderWidth="1px 2px 3px 4px",u.style[i]="border-box";var h=document.body||document.documentElement;h.appendChild(u);var d=e(u);o=200===s(d.width),h.removeChild(u)}}}(),"string"==typeof u&&(u=document.querySelector(u)),u&&"object"==typeof u&&u.nodeType){var h=e(u);if("none"===h.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=a.length;e<i;e++){t[a[e]]=0}return t}();var d={};d.width=u.offsetWidth,d.height=u.offsetHeight;for(var f=d.isBorderBox=!(!i||!h[i]||"border-box"!==h[i]),p=0,m=a.length;p<m;p++){var g=a[p],y=h[g];y=c(u,y);var v=parseFloat(y);d[g]=isNaN(v)?0:v}var w=d.paddingLeft+d.paddingRight,b=d.paddingTop+d.paddingBottom,x=d.marginLeft+d.marginRight,E=d.marginTop+d.marginBottom,S=d.borderLeftWidth+d.borderRightWidth,_=d.borderTopWidth+d.borderBottomWidth,C=f&&o,k=s(h.width);!1!==k&&(d.width=k+(C?0:w+S));var z=s(h.height);return!1!==z&&(d.height=z+(C?0:b+_)),d.innerWidth=d.width-(w+S),d.innerHeight=d.height-(b+_),d.outerWidth=d.width+x,d.outerHeight=d.height+E,d}}}"function"==typeof define&&define.amd?define(["get-style-property/get-style-property"],l):"object"==typeof i?e.exports=l(t("desandro-get-style-property")):n.getSize=l(n.getStyleProperty)}(window)},{"desandro-get-style-property":12}
66],37:[function(t,e,i){ 67/*! 68 * imagesLoaded v3.2.0 69 * JavaScript is all like "You images are done yet or what?" 70 * MIT License 71 */ 72!function(i,n){"use strict";"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],(function(t,e){return n(i,t,e)})):"object"==typeof e&&e.exports?e.exports=n(i,t("wolfy87-eventemitter"),t("eventie")):i.imagesLoaded=n(i,i.EventEmitter,i.eventie)}(window,(function(t,e,i){"use strict";var n=t.jQuery,o=t.console;function s(t,e){for(var i in e)t[i]=e[i];return t}var r=Object.prototype.toString;function a(t){var e=[];if(function(t){return"[object Array]"==r.call(t)}(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}function l(t,e,i){if(!(this instanceof l))return new l(t,e,i);"string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=a(t),this.options=s({},this.options),"function"==typeof e?i=e:s(this.options,e),i&&this.on("always",i),this.getImages(),n&&(this.jqDeferred=new n.Deferred);var o=this;setTimeout((function(){o.check()}))}l.prototype=new e,l.prototype.options={},l.prototype.getImages=function(){this.images=[];for(var t=0;t<this.elements.length;t++){var e=this.elements[t];this.addElementImages(e)}},l.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&c[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 s=t.querySelectorAll(this.options.background);for(n=0;n<s.length;n++){var r=s[n];this.addElementBackgroundImages(r)}}}};var c={1:!0,9:!0,11:!0};l.prototype.addElementBackgroundImages=function(t){for(var e=u(t),i=/url\(['"]*([^'"\)]+)['"]*\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[1];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}};var u=t.getComputedStyle||function(t){return t.currentStyle};function h(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return l.prototype.addImage=function(t){var e=new h(t);this.images.push(e)},l.prototype.addBackground=function(t,e){var i=new d(t,e);this.images.push(i)},l.prototype.check=function(){var t=this;if(this.progressedCount=0,this.hasAnyBroken=!1,this.images.length)for(var e=0;e<this.images.length;e++){var i=this.images[e];i.once("progress",n),i.check()}else this.complete();function n(e,i,n){setTimeout((function(){t.progress(e,i,n)}))}},l.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emit("progress",this,t,e),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&o&&o.log("progress: "+i,t,e)},l.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emit(t,this),this.emit("always",this),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},h.prototype=new e,h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,i.bind(this.proxyImage,"load",this),i.bind(this.proxyImage,"error",this),i.bind(this.img,"load",this),i.bind(this.img,"error",this),this.proxyImage.src=this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t,this.emit("progress",this,this.img,e)},h.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){i.unbind(this.proxyImage,"load",this),i.unbind(this.proxyImage,"error",this),i.unbind(this.img,"load",this),i.unbind(this.img,"error",this)},d.prototype=new h,d.prototype.check=function(){i.bind(this.img,"load",this),i.bind(this.img,"error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWi
72dth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){i.unbind(this.img,"load",this),i.unbind(this.img,"error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emit("progress",this,this.element,e)},l.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((n=e).fn.imagesLoaded=function(t,e){return new l(this,t,e).jqDeferred.promise(n(this))})},l.makeJQueryPlugin(),l}))},{eventie:16,"wolfy87-eventemitter":54}],38:[function(t,e,i){ 73/*! 74 * Isotope v2.2.2 75 * 76 * Licensed GPLv3 for open source use 77 * or Isotope Commercial License for commercial use 78 * 79 * http://isotope.metafizzy.co 80 * Copyright 2015 Metafizzy 81 */ 82!function(n,o){"use strict";"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","matches-selector/matches-selector","fizzy-ui-utils/utils","./item","./layout-mode","./layout-modes/masonry","./layout-modes/fit-rows","./layout-modes/vertical"],(function(t,e,i,s,r,a){return o(n,t,e,i,s,r,a)})):"object"==typeof i?e.exports=o(n,t("outlayer"),t("get-size"),t("desandro-matches-selector"),t("fizzy-ui-utils"),t("./item"),t("./layout-mode"),t("./layout-modes/masonry"),t("./layout-modes/fit-rows"),t("./layout-modes/vertical")):n.Isotope=o(n,n.Outlayer,n.getSize,n.matchesSelector,n.fizzyUIUtils,n.Isotope.Item,n.Isotope.LayoutMode)}(window,(function(t,e,i,n,o,s,r){"use strict";var a=t.jQuery,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},c=document.documentElement.textContent?function(t){return t.textContent}:function(t){return t.innerText},u=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});u.Item=s,u.LayoutMode=r,u.prototype._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)},u.prototype.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},u.prototype._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0,n=t.length;i<n;i++){var o=t[i];o.id=this.itemGUID++}return this._updateItemsSortData(t),t},u.prototype._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)},u.prototype.layout=function(){this._isLayoutInited||!this.options.isInitLayout?this._layout():this.arrange()},u.prototype._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},u.prototype.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches;var i=this;function n(){i.reveal(e.needReveal),i.hide(e.needHide)}this._bindArrangeComplete(),this._isInstant?this._noTransition(n):n(),this._sort(),this._layout()},u.prototype._init=u.prototype.arrange,u.prototype._getIsInstant=function(){var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;return this._isInstant=t,t},u.prototype._bindArrangeComplete=function(){var t,e,i,n=this;function o(){t&&e&&i&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}this.once("layoutComplete",(function(){t=!0,o()})),this.once("hideComplete",(function(){e=!0,o()})),this.once("revealComplete",(function(){i=!0,o()}))},u.prototype._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],n=[],o=[],s=this._getFilterTest(e),r=0,a=t.length;r<a;r++){var l=t[r];if(!l.isIgnored){var c=s(l);c&&i.push(l),c&&l.isHidden?n.push(l):c||l.isHidden||o.push(l)}}return{matches:i,needReveal:n,needHide:o}},u.prototype._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)}},u.prototype.updateSortData=function(t){var e;t?(t=o.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},u.prototype._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=h(i)}},u.prototype._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var h=function(t){if("string"!=typeof t)return t;var e=l(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&&c(i)}}(n&&n[1],i),s=u.sortDataParsers[e[1]];return t=s?function(t){return t&&s(o(t))}:function(t){return t&&o(t)}};u.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},u.prototype._sort=function(){var t=this.options.sortBy;if(t){var e=function(t,e){return function(i,n){for(var o=0,s=t.length;o<s;o++){var r=t[o],a=i.sortData[r],l=n.sortData[r];if(a>l||a<l)return(a>l?1:-1)*((void 0!==e[r]?e[r]: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)}},u.prototype._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},u.prototype._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},u.prototype._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},u.prototype._manageStamp=function(t){this._mode()._manageStamp(t)},u.prototype._getContainerSize=function(){return this._mode()._getContainerSize()},u.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()},u.prototype.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},u.prototype.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)}},u.prototype._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},u.prototype.insert=function(t){var e=this.addItems(t);if(e.length){var i,n,o=e.length;for(i=0;i<o;i++)n=e[i],this.element.appendChild(n.element);var s=this._filter(e).matches;for(i=0;i<o;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<o;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var d=u.prototype.remove;return u.prototype.remove=function(t){t=o.makeArray(t);var e=this.getItems(t);d.call(this,t);var i=e&&e.length;if(i)for(var n=0;n<i;n++){var s=e[n];o.removeFrom(this.filteredItems,s)}},u.prototype.shuffle=function(){for(var t=0,e=this.items.length;t<e;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},u.prototype._noTransition=function(t){var e=this.options.transitionDuration;this.options.transitionDuration=0;var i=t.call(this);return this.options.transitionDuration=e,i},u.prototype.getFilteredItemElements=function(){for(var t=[],e=0,i=this.filteredItems.length;e<i;e++)t.push(this.filteredItems[e].element);return t},u}))},{"./item":39,"./layout-mode":40,"./layout-modes/fit-rows":41,"./layout-modes/masonry":42,"./layout-modes/vertical":43,"desandro-matches-selector":13,"fizzy-ui-utils":18,"get-size":36,outlayer:47}
82],39:[function(t,e,i){!function(n,o){"use strict";"function"==typeof define&&define.amd?define(["outlayer/outlayer"],o):"object"==typeof i?e.exports=o(t("outlayer")):(n.Isotope=n.Isotope||{},n.Isotope.Item=o(n.Outlayer))}(window,(function(t){"use strict";function e(){t.Item.apply(this,arguments)}e.prototype=new t.Item,e.prototype._create=function(){this.id=this.layout.itemGUID++,t.Item.prototype._create.call(this),this.sortData={}},e.prototype.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 i=e.prototype.destroy;return e.prototype.destroy=function(){i.apply(this,arguments),this.css({display:""})},e}))},{outlayer:47}],40:[function(t,e,i){!function(n,o){"use strict";"function"==typeof define&&define.amd?define(["get-size/get-size","outlayer/outlayer"],o):"object"==typeof i?e.exports=o(t("get-size"),t("outlayer")):(n.Isotope=n.Isotope||{},n.Isotope.LayoutMode=o(n.getSize,n.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)}return function(){for(var t=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"],n=0,o=t.length;n<o;n++){var s=t[n];i.prototype[s]=r(s)}function r(t){return function(){return e.prototype[t].apply(this.isotope,arguments)}}}(),i.prototype.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},i.prototype._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},i.prototype.getColumnWidth=function(){this.getSegmentSize("column","Width")},i.prototype.getRowHeight=function(){this.getSegmentSize("row","Height")},i.prototype.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]}},i.prototype.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},i.prototype.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},i.prototype.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=new i,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i}))},{"get-size":36,outlayer:47}],41:[function(t,e,i){!function(n,o){"use strict";"function"==typeof define&&define.amd?define(["../layout-mode"],o):"object"==typeof i?e.exports=o(t("../layout-mode")):o(n.Isotope.LayoutMode)}(window,(function(t){"use strict";var e=t.create("fitRows");return e.prototype._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},e.prototype._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},e.prototype._getContainerSize=function(){return{height:this.maxY}},e}))},{"../layout-mode":40}],42:[function(t,e,i){ 83/*! 84 * Masonry layout mode 85 * sub-classes Masonry 86 * http://masonry.desandro.com 87 */ 88!function(n,o){"use strict";"function"==typeof define&&define.amd?define(["../layout-mode","masonry/masonry"],o):"object"==typeof i?e.exports=o(t("../layout-mode"),t("masonry-layout")):o(n.Isotope.LayoutMode,n.Masonry)}(window,(function(t,e){"use strict";var i=t.create("masonry"),n=i.prototype._getElementOffset,o=i.prototype.layout,s=i.prototype._getMeasurement;!function(t,e){for(var i in e)t[i]=e[i]}(i.prototype,e.prototype),i.prototype._getElementOffset=n,i.prototype.layout=o,i.prototype._getMeasurement=s;var r=i.prototype.measureColumns;i.prototype.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=i.prototype._manageStamp;return i.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,a.apply(this,arguments)},i}))},{"../layout-mode":40,"masonry-layout":45}
88],43:[function(t,e,i){!function(n,o){"use strict";"function"==typeof define&&define.amd?define(["../layout-mode"],o):"object"==typeof i?e.exports=o(t("../layout-mode")):o(n.Isotope.LayoutMode)}(window,(function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0});return e.prototype._resetLayout=function(){this.y=0},e.prototype._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}},e.prototype._getContainerSize=function(){return{height:this.y}},e}))},{"../layout-mode":40}],44:[function(t,e,i){ 89/*! 90 Non-Sucking Autogrow 1.1.6 91 license: MIT 92 author: Roman Pushkin 93 https://github.com/ro31337/jquery.ns-autogrow 94*/ 95(function(){var t,e,i;e=window.jQuery,i=window,e.fn.autogrow=function(n){if(null==n&&(n={}),null==n.horizontal&&(n.horizontal=!0),null==n.vertical&&(n.vertical=!0),null==n.debugx&&(n.debugx=-1e4),null==n.debugy&&(n.debugy=-1e4),null==n.debugcolor&&(n.debugcolor="yellow"),null==n.flickering&&(n.flickering=!0),null==n.postGrowCallback&&(n.postGrowCallback=function(){}),null==n.verticalScrollbarWidth&&(n.verticalScrollbarWidth=t()),!1!==n.horizontal||!1!==n.vertical)return this.filter("textarea").each((function(){var t,o,s,r,a,l,c;if(!(t=e(this)).data("autogrow-enabled"))return t.data("autogrow-enabled"),a=t.height(),l=t.width(),r=1*t.css("lineHeight")||0,t.hasVerticalScrollBar=function(){return t[0].clientHeight<t[0].scrollHeight},o=e('<div class="autogrow-shadow"></div>').css({position:"absolute",display:"inline-block","background-color":n.debugcolor,top:n.debugy,left:n.debugx,"max-width":t.css("max-width"),padding:t.css("padding"),fontSize:t.css("fontSize"),fontFamily:t.css("fontFamily"),fontWeight:t.css("fontWeight"),lineHeight:t.css("lineHeight"),resize:"none","word-wrap":"break-word"}).appendTo(document.body),!1===n.horizontal?o.css({width:t.width()}):(s=t.css("font-size"),o.css("padding-right","+="+s),o.normalPaddingRight=o.css("padding-right")),c=function(e){return function(i){var s,c,u;return c=e.value.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\n /g,"<br/> ").replace(/"/g,""").replace(/'/g,"'").replace(/\n$/,"<br/> ").replace(/\n/g,"<br/>").replace(/ {2,}/g,(function(t){return Array(t.length-1).join(" ")+" "})),/(\n|\r)/.test(e.value)&&(c+="<br />",!1===n.flickering&&(c+="<br />")),o.html(c),!0===n.vertical&&(s=Math.max(o.height()+r,a),t.height(s)),!0===n.horizontal&&(
95o.css("padding-right",o.normalPaddingRight),!1===n.vertical&&t.hasVerticalScrollBar()&&o.css("padding-right","+="+n.verticalScrollbarWidth+"px"),u=Math.max(o.outerWidth(),l),t.width(u)),n.postGrowCallback(t)}}(this),t.change(c).keyup(c).keydown(c),e(i).resize(c),c()}))},t=function(){var t,e,i,n;return(t=document.createElement("p")).style.width="100%",t.style.height="200px",(e=document.createElement("div")).style.position="absolute",e.style.top="0px",e.style.left="0px",e.style.visibility="hidden",e.style.width="200px",e.style.height="150px",e.style.overflow="hidden",e.appendChild(t),document.body.appendChild(e),i=t.offsetWidth,e.style.overflow="scroll",i===(n=t.offsetWidth)&&(n=e.clientWidth),document.body.removeChild(e),i-n}}).call(this)},{}],45:[function(t,e,i){ 96/*! 97 * Masonry v3.3.2 98 * Cascading grid layout library 99 * http://masonry.desandro.com 100 * MIT License 101 * by David DeSandro 102 */ 103!function(n,o){"use strict";"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","fizzy-ui-utils/utils"],o):"object"==typeof i?e.exports=o(t("outlayer"),t("get-size"),t("fizzy-ui-utils")):n.Masonry=o(n.Outlayer,n.getSize,n.fizzyUIUtils)}(window,(function(t,e,i){"use strict";var n=t.create("masonry");return n.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0);this.maxY=0},n.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&&r<1?"round":"floor"](s),this.cols=Math.max(s,1)},n.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},n.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,n=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var o=this._getColGroup(n),s=Math.min.apply(Math,o),r=i.indexOf(o,s),a={x:this.columnWidth*r,y:s},l=s+t.size.outerHeight,c=this.cols+1-o.length,u=0;u<c;u++)this.colYs[r+u]=l;return a},n.prototype._getColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++){var o=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,o)}return e},n.prototype._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this.options.isOriginLeft?n.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 l=(this.options.isOriginTop?n.top:n.bottom)+i.outerHeight,c=r;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},n.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this.options.isFitWidth&&(t.width=this._getContainerFitWidth()),t},n.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},n}))},{"fizzy-ui-utils":18,"get-size":36,outlayer:47}],46:[function(t,e,i){!function(n,o){"use strict";"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],(function(t,e,i,s){return o(n,t,e,i,s)})):"object"==typeof i?e.exports=o(n,t("wolfy87-eventemitter"),t("get-size"),t("desandro-get-style-property"),t("fizzy-ui-utils")):(n.Outlayer={},n.Outlayer.Item=o(n,n.EventEmitter,n.getSize,n.getStyleProperty,n.fizzyUIUtils))}(window,(function(t,e,i,n,o){"use strict";var s=t.getComputedStyle,r=s?function(t){return s(t,null)}:function(t){return t.currentStyle};var a=n("transition"),l=n("transform"),c=a&&l,u=!!n("perspective"),h={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[a],d=["transform","transition","transitionDuration","transitionProperty"],f=function(){for(var t={},e=0,i=d.length;e<i;e++){var o=d[e],s=n(o);s&&s!==o&&(t[o]=s)}return t}();function p(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}o.extend(p.prototype,e.prototype),p.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},p.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},p.prototype.getSize=function(){this.size=i(this.element)},p.prototype.css=function(t){var e=this.element.style;for(var i in t){e[f[i]||i]=t[i]}},p.prototype.getPosition=function(){var t=r(this.element),e=this.layout.options,i=e.isOriginLeft,n=e.isOriginTop,o=t[i?"left":"right"],s=t[n?"top":"bottom"],a=this.layout.size,l=-1!=o.indexOf("%")?parseFloat(o)/100*a.width:parseInt(o,10),c=-1!=s.indexOf("%")?parseFloat(s)/100*a.height:parseInt(s,10);l=isNaN(l)?0:l,c=isNaN(c)?0:c,l-=i?a.paddingLeft:a.paddingRight,c-=n?a.paddingTop:a.paddingBottom,this.position.x=l,this.position.y=c},p.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={},n=e.isOriginLeft?"paddingLeft":"paddingRight",o=e.isOriginLeft?"left"
103:"right",s=e.isOriginLeft?"right":"left",r=this.position.x+t[n];i[o]=this.getXValue(r),i[s]="";var a=e.isOriginTop?"paddingTop":"paddingBottom",l=e.isOriginTop?"top":"bottom",c=e.isOriginTop?"bottom":"top",u=this.position.y+t[a];i[l]=this.getYValue(u),i[c]="",this.css(i),this.emitEvent("layout",[this])},p.prototype.getXValue=function(t){var e=this.layout.options;return e.percentPosition&&!e.isHorizontal?t/this.layout.size.width*100+"%":t+"px"},p.prototype.getYValue=function(t){var e=this.layout.options;return e.percentPosition&&e.isHorizontal?t/this.layout.size.height*100+"%":t+"px"},p.prototype._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,l=e-n,c={};c.transform=this.getTranslate(a,l),this.transition({to:c,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},p.prototype.getTranslate=function(t,e){var i=this.layout.options;return t=i.isOriginLeft?t:-t,e=i.isOriginTop?e:-e,u?"translate3d("+t+"px, "+e+"px, 0)":"translate("+t+"px, "+e+"px)"},p.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},p.prototype.moveTo=c?p.prototype._transitionTo:p.prototype.goTo,p.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},p.prototype._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},p.prototype._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 m="opacity,"+(f.transform||"transform").replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()}));p.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:m,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(h,this,!1))},p.prototype.transition=p.prototype[a?"_transition":"_nonTransition"],p.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},p.prototype.onotransitionend=function(t){this.ontransitionend(t)};var g={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};p.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=g[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return null,!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])}},p.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(h,this,!1),this.isTransitioning=!1},p.prototype._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var y={transitionProperty:"",transitionDuration:""};return p.prototype.removeTransitionStyles=function(){this.css(y)},p.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},p.prototype.remove=function(){if(a&&parseFloat(this.layout.options.transitionDuration)){var t=this;this.once("transitionEnd",(function(){t.removeElem()})),this.hide()}else this.removeElem()},p.prototype.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})},p.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},p.prototype.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},p.prototype.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})},p.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},p.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},p}))},{"desandro-get-style-property":12,"fizzy-ui-utils":18,"get-size":36,"wolfy87-eventemitter":54}
103],47:[function(t,e,i){ 104/*! 105 * Outlayer v1.4.2 106 * the brains and guts of a layout library 107 * MIT license 108 */ 109!function(n,o){"use strict";"function"==typeof define&&define.amd?define(["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],(function(t,e,i,s,r){return o(n,t,e,i,s,r)})):"object"==typeof i?e.exports=o(n,t("eventie"),t("wolfy87-eventemitter"),t("get-size"),t("fizzy-ui-utils"),t("./item")):n.Outlayer=o(n,n.eventie,n.EventEmitter,n.getSize,n.fizzyUIUtils,n.Outlayer.Item)}(window,(function(t,e,i,n,o,s){"use strict";var r=t.console,a=t.jQuery,l=function(){},c=0,u={};function h(t,e){var i=o.getQueryElement(t);if(i){this.element=i,a&&(this.$element=a(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++c;this.element.outlayerGUID=n,u[n]=this,this._create(),this.options.isInitLayout&&this.layout()}else r&&r.error("Bad element for "+this.constructor.namespace+": "+(i||t))}return h.namespace="outlayer",h.Item=s,h.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},o.extend(h.prototype,i.prototype),h.prototype.option=function(t){o.extend(this.options,t)},h.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},h.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},h.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0,s=e.length;o<s;o++){var r=new i(e[o],this);n.push(r)}return n},h.prototype._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},h.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;e<i;e++)t.push(this.items[e].element);return t},h.prototype.layout=function(){this._resetLayout(),this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},h.prototype._init=h.prototype.layout,h.prototype._resetLayout=function(){this.getSize()},h.prototype.getSize=function(){this.size=n(this.element)},h.prototype._getMeasurement=function(t,e){var i,s=this.options[t];s?("string"==typeof s?i=this.element.querySelector(s):o.isElement(s)&&(i=s),this[t]=i?n(i)[e]:s):this[t]=0},h.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},h.prototype._getItemsForLayout=function(t){for(var e=[],i=0,n=t.length;i<n;i++){var o=t[i];o.isIgnored||e.push(o)}return e},h.prototype._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){for(var i=[],n=0,o=t.length;n<o;n++){var s=t[n],r=this._getItemLayoutPosition(s);r.item=s,r.isInstant=e||s.isLayoutInstant,i.push(r)}this._processLayoutQueue(i)}},h.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},h.prototype._processLayoutQueue=function(t){for(var e=0,i=t.length;e<i;e++){var n=t[e];this._positionItem(n.item,n.x,n.y,n.isInstant)}},h.prototype._positionItem=function(t,e,i,n){n?t.goTo(e,i):t.moveTo(e,i)},h.prototype._postLayout=function(){this.resizeContainer()},h.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},h.prototype._getContainerSize=l,h.prototype._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"}},h.prototype._emitCompleteOnItems=function(t,e){var i=this;function n(){i.dispatchEvent(t+"Complete",null,[e])}var o=e.length;if(e&&o)for(var s=0,r=0,a=e.length;r<a;r++){e[r].once(t,l)}else n();function l(){++s===o&&n()}}
109,h.prototype.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),a)if(this.$element=this.$element||a(this.element),e){var o=a.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},h.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},h.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},h.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,i=t.length;e<i;e++){var n=t[e];this.ignore(n)}}},h.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;e<i;e++){var n=t[e];o.removeFrom(this.stamps,n),this.unignore(n)}},h.prototype._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)},h.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;t<e;t++){var i=this.stamps[t];this._manageStamp(i)}}},h.prototype._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)}},h.prototype._manageStamp=l,h.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,o=n(t);return{left:e.left-i.left-o.marginLeft,top:e.top-i.top-o.marginTop,right:i.right-e.right-o.marginRight,bottom:i.bottom-e.bottom-o.marginBottom}},h.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},h.prototype.bindResize=function(){this.isResizeBound||(e.bind(t,"resize",this),this.isResizeBound=!0)},h.prototype.unbindResize=function(){this.isResizeBound&&e.unbind(t,"resize",this),this.isResizeBound=!1},h.prototype.onresize=function(){this.resizeTimeout&&clearTimeout(this.resizeTimeout);var t=this;this.resizeTimeout=setTimeout((function(){t.resize(),delete t.resizeTimeout}),100)},h.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.prototype.needsResizeLayout=function(){var t=n(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},h.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},h.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},h.prototype.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)}},h.prototype.reveal=function(t){this._emitCompleteOnItems("reveal",t);for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].reveal()}},h.prototype.hide=function(t){this._emitCompleteOnItems("hide",t);for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].hide()}},h.prototype.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},h.prototype.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},h.prototype.getItem=function(t){for(var e=0,i=this.items.length;e<i;e++){var n=this.items[e];if(n.element===t)return n}},h.prototype.getItems=function(t){for(var e=[],i=0,n=(t=o.makeArray(t)).length;i<n;i++){var s=t[i],r=this.getItem(s);r&&e.push(r)}return e},h.prototype.remove=function(t){var e=this.getItems(t);if(this._emitCompleteOnItems("remove",e),e&&e.length)for(var i=0,n=e.length;i<n;i++){var s=e[i];s.remove(),o.removeFrom(this.items,s)}},h.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,i=this.items.length;e<i;e++){this.items[e].destroy()}this.unbindResize();var n=this.element.outlayerGUID;delete u[n],delete this.element.outlayerGUID,a&&a.removeData(this.element,this.constructor.namespace)},h.data=function(t){var e=(t=o.getQueryElement(t))&&t.outlayerGUID;return e&&u[e]},h.create=function(t,e){function i(){h.apply(this,arguments)}return Object.create?i.prototype=Object.create(h.prototype):o.extend(i.prototype,h.prototype),i.prototype.constructor=i,i.defaults=o.extend({},h.defaults),o.extend(i.defaults,e),i.prototype.settings={},i.namespace=t,i.data=h.data,i.Item=function(){s.apply(this,arguments)},i.Item.prototype=new s,o.htmlInit(i,t),a&&a.bridget&&a.bridget(t,i),i},h.Item=s,h}
109))},{"./item":46,eventie:16,"fizzy-ui-utils":18,"get-size":36,"wolfy87-eventemitter":54}],48:[function(t,e,i){var n,o,s=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(t){if(n===setTimeout)return setTimeout(t,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:r}catch(t){n=r}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(t){o=a}}();var c,u=[],h=!1,d=-1;function f(){h&&c&&(h=!1,c.length?u=c.concat(u):d=-1,u.length&&p())}function p(){if(!h){var t=l(f);h=!0;for(var e=u.length;e;){for(c=u,u=[];++d<e;)c&&c[d].run();d=-1,e=u.length}c=null,h=!1,function(t){if(o===clearTimeout)return clearTimeout(t);if((o===a||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(t);try{o(t)}catch(e){try{return o.call(null,t)}catch(e){return o.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function g(){}s.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];u.push(new m(t,e)),1!==u.length||h||l(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=g,s.addListener=g,s.once=g,s.off=g,s.removeListener=g,s.removeAllListeners=g,s.emit=g,s.prependListener=g,s.prependOnceListener=g,s.listeners=function(t){return[]},s.binding=function(t){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(t){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},{}],49:[function(t,e,i){ 110/*! 111 * Tap listener v2.0.0 112 * listens to taps 113 * MIT license 114 */ 115!function(i,n){"function"==typeof define&&define.amd?define(["unipointer/unipointer"],(function(t){return n(i,t)})):"object"==typeof e&&e.exports?e.exports=n(i,t("unipointer")):i.TapListener=n(i,i.Unipointer)}(window,(function(t,e){"use strict";function i(t){this.bindTap(t)}var n=i.prototype=Object.create(e.prototype);return n.bindTap=function(t){t&&(this.unbindTap(),this.tapElement=t,this._bindStartEvent(t,!0))},n.unbindTap=function(){this.tapElement&&(this._bindStartEvent(this.tapElement,!0),delete this.tapElement)},n.pointerUp=function(i,n){if(!this.isIgnoringMouseUp||"mouseup"!=i.type){var o=e.getPointerPoint(n),s=this.tapElement.getBoundingClientRect(),r=t.pageXOffset,a=t.pageYOffset;if(o.x>=s.left+r&&o.x<=s.right+r&&o.y>=s.top+a&&o.y<=s.bottom+a&&this.emitEvent("tap",[i,n]),"mouseup"!=i.type){this.isIgnoringMouseUp=!0;var l=this;setTimeout((function(){delete l.isIgnoringMouseUp}),400)}}},n.destroy=function(){this.pointerDone(),this.unbindTap()},i}))},{unipointer:53}],50:[function(t,e,i){(function(e,n){var o=t("process/browser.js").nextTick,s=Function.prototype.apply,r=Array.prototype.slice,a={},l=0;function c(t,e){this._id=t,this._clearFn=e}i.setTimeout=function(){return new c(s.call(setTimeout,window,arguments),clearTimeout)},i.setInterval=function(){return new c(s.call(setInterval,window,arguments),clearInterval)},i.clearTimeout=i.clearInterval=function(t){t.close()},c.prototype.unref=c.prototype.ref=function(){},c.prototype.close=function(){this._clearFn.call(window,this._id)},i.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},i.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},i._unrefActive=i.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},i.setImmediate="function"==typeof e?e:function(t){var e=l++,n=!(arguments.length<2)&&r.call(arguments,1);return a[e]=!0,o((function(){a[e]&&(n?t.apply(null,n):t.call(null),i.clearImmediate(e))})),e},i.clearImmediate="function"==typeof n?n:function(t){delete a[t]}}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":48,timers:50}],51:[function(t,e,i){ 116/** 117 * TinySort is a small script that sorts HTML elements. It sorts by text- or attribute value, or by that of one of it's children. 118 * @summary A nodeElement sorting script. 119 * @version 2.3.6 120 * @license MIT 121 * @author Ron Valstar <[email protected]> 122 * @copyright Ron Valstar <[email protected]> 123 * @namespace tinysort 124 */ 125!function(t,e){"use strict";"function"==typeof define&&define.amd?define("tinysort",(function(){return e})):t.tinysort=e}(this,function(){"use strict";var t,e=null,i=window,n=i.document,o=parseFloat,s=/(-?\d+\.?\d*)\s*$/g,r=/(\d+\.?\d*)\s*$/g,a=[],l=0,c=0,u=String.fromCharCode(4095),h={selector:e,order:"asc",attr:e,data:e,useVal:!1,place:"org",returns:!1,cases:!1,natural:!1,forceStrings:!1,ignoreDashes:!1,sortFunction:e,useFlex:!1,emptyEnd:!1};function d(t,e){for(var i,n=t.length,o=n;o--;)e(t[i=n-o-1],i)}function f(t,e,i){for(var n in e)(i||void 0===t[n])&&(t[n]=e[n]);return t}
125function p(t,e,i){a.push({prepare:t,sort:e,sortBy:i})}return i.Element&&((t=Element.prototype).matchesSelector=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector||function(t){for(var e=(this.parentNode||this.document).querySelectorAll(t),i=-1;e[++i]&&e[i]!=this;);return!!e[i]}),f(p,{loop:d}),f((function(t,i){O(t)&&(t=n.querySelectorAll(t)),0===t.length&&console.warn("No elements to sort");var p,m,g=n.createDocumentFragment(),y=[],v=[],w=[],b=[],x=!0,E=t.length&&t[0].parentNode,S=E.rootNode!==document,_=t.length&&(void 0===i||!1!==i.useFlex)&&!S&&-1!==getComputedStyle(E,null).display.indexOf("flex");function C(){0===arguments.length?k({}):d(arguments,(function(t){k(O(t)?{selector:t}:t)})),l=b.length}function k(t){var i=!!t.selector,n=i&&":"===t.selector[0],o=f(t||{},h);b.push(f({hasSelector:i,hasAttr:!(o.attr===e||""===o.attr),hasData:o.data!==e,hasFilter:n,sortReturnNumber:"asc"===o.order?1:-1},o))}function z(){d(t,(function(t,e){m?m!==t.parentNode&&(x=!1):m=t.parentNode;var i=b[0],n=i.hasFilter,o=i.selector,s=!o||n&&t.matchesSelector(o)||o&&t.querySelector(o)?v:w,r={elm:t,pos:e,posn:s.length};y.push(r),s.push(r)})),p=v.slice(0)}function T(t,e,i){for(var n=i(t.toString()),o=i(e.toString()),s=0;n[s]&&o[s];s++)if(n[s]!==o[s]){var r=Number(n[s]),a=Number(o[s]);return r==n[s]&&a==o[s]?r-a:n[s]>o[s]?1:-1}return n.length-o.length}function I(t){for(var e,i,n=[],o=0,s=-1,r=0;e=(i=t.charAt(o++)).charCodeAt(0);){var a=46==e||e>=48&&e<=57;a!==r&&(n[++s]="",r=a),n[s]+=i}return n}function L(t,e){var i=0;for(0!==c&&(c=0);0===i&&c<l;){var n=b[c],u=n.ignoreDashes?r:s;if(d(a,(function(t){var e=t.prepare;e&&e(n)})),n.sortFunction)i=n.sortFunction(t,e);else if("rand"==n.order)i=Math.random()<.5?1:-1;else{var h=!1,f=j(t,n),p=j(e,n),m=""===f||void 0===f,g=""===p||void 0===p;if(f===p)i=0;else if(n.emptyEnd&&(m||g))i=m&&g?0:m?1:-1;else{if(!n.forceStrings){var y=!!O(f)&&(f&&f.match(u)),v=!!O(p)&&(p&&p.match(u));if(y&&v)f.substr(0,f.length-y[0].length)==p.substr(0,p.length-v[0].length)&&(h=!0,f=o(y[0]),p=o(v[0]))}i=void 0===f||void 0===p?0:n.natural&&(isNaN(f)||isNaN(p))?T(f,p,I):f<p?-1:f>p?1:0}}d(a,(function(t){var e=t.sort;e&&(i=e(n,h,f,p,i))})),0===(i*=n.sortReturnNumber)&&c++}return 0===i&&(i=t.pos>e.pos?1:-1),i}function P(){var t=v.length===y.length;if(x&&t)_?v.forEach((function(t,e){t.elm.style.order=e})):m?m.appendChild(D()):console.warn("parentNode has been removed");else{var e=b[0].place,i="start"===e,n="end"===e,o="first"===e,s="last"===e;if("org"===e)v.forEach(M),v.forEach((function(t,e){A(p[e],t.elm)}));else if(i||n){var r=p[i?0:p.length-1],a=r&&r.elm.parentNode,l=a&&(i&&a.firstChild||a.lastChild);l&&(l!==r.elm&&(r={elm:l}),M(r),n&&a.appendChild(r.ghost),A(r,D()))}else if(o||s){A(M(p[o?0:p.length-1]),D())}}}function D(){return v.forEach((function(t){g.appendChild(t.elm)})),g}function M(t){var e=t.elm,i=n.createElement("div");return t.ghost=i,e.parentNode.insertBefore(i,e),t}function A(t,e){var i=t.ghost,n=i.parentNode;n.insertBefore(e,i),n.removeChild(i),delete t.ghost}function j(t,i){var n,o=t.elm;return i.selector&&(i.hasFilter?o.matchesSelector(i.selector)||(o=e):o=o.querySelector(i.selector)),i.hasAttr?n=o.getAttribute(i.attr):i.useVal?n=o.value||o.getAttribute("value"):i.hasData?n=o.getAttribute("data-"+i.data):o&&(n=o.textContent),O(n)&&(i.cases||(n=n.toLowerCase()),n=n.replace(/\s+/g," ")),null===n&&(n=u),n}function O(t){return"string"==typeof t}return C.apply(e,Array.prototype.slice.call(arguments,1)),z(),v.sort(L),P(),v.map((function(t){return t.elm}))}),{plugin:p,defaults:h})}())},{}],52:[function(t,e,i){ 126/*! 127 * Unidragger v2.3.0 128 * Draggable base class 129 * MIT license 130 */ 131!function(i,n){"function"==typeof define&&define.amd?define(["unipointer/unipointer"],(function(t){return n(i,t)})):"object"==typeof e&&e.exports?e.exports=n(i,t("unipointer")):i.Unidragger=n(i,i.Unipointer)}(window,(function(t,e){"use strict";function i(){}var n=i.prototype=Object.create(e.prototype);n.bindHandles=function(){this._bindHandles(!0)},n.unbindHandles=function(){this._bindHandles(!1)},n._bindHandles=function(e){for(var i=(e=void 0===e||e)?"addEventListener":"removeEventListener",n=e?this._touchActionValue:"",o=0;o<this.handles.length;o++){var s=this.handles[o];this._bindStartEvent(s,e),s[i]("click",this),t.PointerEvent&&(s.style.touchAction=n)}},n._touchActionValue="none",n.pointerDown=function(t,e){this.okayPointerDown(t)&&(this.pointerDownPointer=e,t.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e]))};var o={TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0},s={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return n.okayPointerDown=function(t){var e=o[t.target.nodeName],i=s[t.target.type],n=!e||i;
vendor: 1,086 bytes, line 131
131return n||this._pointerReset(),n},n.pointerDownBlur=function(){var t=document.activeElement;t&&t.blur&&t!=document.body&&t.blur()},n.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.emitEvent("pointerMove",[t,e,i]),this._dragMove(t,e,i)},n._dragPointerMove=function(t,e){var i={x:e.pageX-this.pointerDownPointer.pageX,y:e.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(i)&&this._dragStart(t,e),i},n.hasDragStarted=function(t){return Math.abs(t.x)>3||Math.abs(t.y)>3},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},n._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},n._dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(t,e)},n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},n._dragMove=function(t,e,i){this.isDragging&&this.dragMove(t,e,i)},n.dragMove=function(t,e,i){t.preventDefault(),this.emitEvent("dragMove",[t,e,i])},n._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventing
131Clicks}.bind(this)),this.dragEnd(t,e)},n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},n.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},n._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},i.getPointerPoint=e.getPointerPoint,i}))},{unipointer:53}],53:[function(t,e,i){ 132/*! 133 * Unipointer v2.3.0 134 * base class for doing one thing with pointer event 135 * MIT license 136 */ 137!function(i,n){"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],(function(t){return n(i,t)})):"object"==typeof e&&e.exports?e.exports=n(i,t("ev-emitter")):i.Unipointer=n(i,i.EvEmitter)}(window,(function(t,e){"use strict";function i(){}var n=i.prototype=Object.create(e.prototype);n.bindStartEvent=function(t){this._bindStartEvent(t,!0)},n.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},n._bindStartEvent=function(e,i){var n=(i=void 0===i||i)?"addEventListener":"removeEventListener",o="mousedown";t.PointerEvent?o="pointerdown":"ontouchstart"in t&&(o="touchstart"),e[n](o,this)},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.getTouch=function(t){for(var e=0;e<t.length;e++){var i=t[e];if(i.identifier==this.pointerIdentifier)return i}},n.onmousedown=function(t){var e=t.button;e&&0!==e&&1!==e||this._pointerDown(t,t)},n.ontouchstart=function(t){this._pointerDown(t,t.changedTouches[0])},n.onpointerdown=function(t){this._pointerDown(t,t)},n._pointerDown=function(t,e){t.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==e.pointerId?e.pointerId:e.identifier,this.pointerDown(t,e))},n.pointerDown=function(t,e){this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e])};var o={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};return n._bindPostStartEvents=function(e){if(e){var i=o[e.type];i.forEach((function(e){t.addEventListener(e,this)}),this),this._boundPointerEvents=i}},n._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach((function(e){t.removeEventListener(e,this)}),this),delete this._boundPointerEvents)},n.onmousemove=function(t){this._pointerMove(t,t)},n.onpointermove=function(t){t.pointerId==this.pointerIdentifier&&this._pointerMove(t,t)},n.ontouchmove=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerMove(t,e)},n._pointerMove=function(t,e){this.pointerMove(t,e)},n.pointerMove=function(t,e){this.emitEvent("pointerMove",[t,e])},n.onmouseup=function(t){this._pointerUp(t,t)},n.onpointerup=function(t){t.pointerId==this.pointerIdentifier&&this._pointerUp(t,t)},n.ontouchend=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerUp(t,e)},n._pointerUp=function(t,e){this._pointerDone(),this.pointerUp(t,e)},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e])},n._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},n._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},n.pointerDone=function(){},n.onpointercancel=function(t){t.pointerId==this.pointerIdentifier&&this._pointerCancel(t,t)},n.ontouchcancel=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerCancel(t,e)},n._pointerCancel=function(t,e){this._pointerDone(),this.pointerCancel(t,e)},n.pointerCancel=function(t,e){this.emitEvent("pointerCancel",[t,e])},i.getPointerPoint=function(t){return{x:t.pageX,y:t.pageY}},i}))},{"ev-emitter":15}],54:[function(t,e,i){(function(){"use strict";function t(){}var i=t.prototype,n=this,o=n.EventEmitter;function s(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function r(t){return function(){return this[t].apply(this,arguments)}}i.getListeners=function(t){var e,i,n=this._getEvents();if(t instanceof RegExp)for(i in e={},n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i]);else e=n[t]||(n[t]=[]);return e},i.flattenListeners=function(t){var e,i=[];for(e=0;e<t.length;e+=1)i.push(t[e].listener);return i},i.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&((e={})[t]=i),e||i},i.addListener=function(t,e){var i,n=this.getListenersAsObject(t),o="object"==typeof e;for(i in n)n.hasOwnProperty(i)&&-1===s(n[i],e)&&n[i].push(o?e:{listener:e,once:!1});return this},i.on=r("addListener"),i.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},i.once=r("addOnceListener"),i.defineEvent=function(t){return this.getListeners(t),this},i.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},i.removeListener=function(t,e){var i,n,o=this.getListenersAsObject(t);for(n in o)o.hasOwnProperty(n)&&-1!==(i=s(o[n],e))&&o[n].splice(i,1);return this},i.off=r("removeListener"),i.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},i.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)}
137,i.manipulateListeners=function(t,e,i){var n,o,s=t?this.removeListener:this.addListener,r=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)s.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(o=e[n])&&("function"==typeof o?s.call(this,n,o):r.call(this,n,o));return this},i.removeEvent=function(t){var e,i=typeof t,n=this._getEvents();if("string"===i)delete n[t];else if(t instanceof RegExp)for(e in n)n.hasOwnProperty(e)&&t.test(e)&&delete n[e];else delete this._events;return this},i.removeAllListeners=r("removeEvent"),i.emitEvent=function(t,e){var i,n,o,s=this.getListenersAsObject(t);for(o in s)if(s.hasOwnProperty(o))for(n=s[o].length;n--;)!0===(i=s[o][n]).once&&this.removeListener(t,i.listener),i.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},i.trigger=r("emitEvent"),i.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},i.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},i._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},i._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return n.EventEmitter=o,t},"function"==typeof define&&define.amd?define((function(){return t})):"object"==typeof e&&e.exports?e.exports=t:n.EventEmitter=t}).call(this)},{}]},{},[1]);
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.