1function calculateColumnWidth(t,e){return t>1920?.25*e.width():t>=1255&&t<=1920?e.hasClass("js-website-setup-griditem")?.3333333333*e.width():.25*e.width():t>768&&t<1255?.5*e.width():e.width()}function getItemDimensions(t){return{width:t.data("width")||1024,height:t.data("height")||683}}function setItemDimensions(t,e,i){t.width(e),t.height(e/(i.width/i.height))}function initializeIsotope(t,e){t.isotope({itemSelector:".grid-item",transitionDuration:"0s",masonry:{isFitWidth:!0,gutter:e}})}function setupFilters(t){$(".filter-button-group").on("click",'input[type="button"]',function(){var e=$(this),i=e.attr("data-filter");t.isotope({filter:i}),$(".filter-button-group input").removeClass("filter-active"),e.addClass("filter-active")})}!function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null},n=document.createElement("div"),o=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];return n.className="fit-vids-style",n.innerHTML="­<style> .fluid-width-video-wrapper { width: 100%; position: relative; padding: 0; } .fluid-width-video-wrapper iframe, .fluid-width-video-wrapper object, .fluid-width-video-wrapper embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } </style>",o.parentNode.insertBefore(n,o),e&&t.extend(i,e),this.each(function(){var e=["iframe[src*='player.vimeo.com']","iframe[src*='www.youtube.com']","iframe[src*='www.kickstarter.com']","object","embed"];i.customSelector&&e.push(i.customSelector),t(this).find(e.join(",")).each(function(){var e=t(this);if(!("embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){var i=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("id")){var n="fitvid"+Math.floor(999999*Math.random());e.attr("id",n)}e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*i+"%"),e.removeAttr("height").removeAttr("width")}})})}}(jQuery),function(t){var e={},n={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,wrapperClass:"bx-wrapper",touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,autoSlideForOnePage:!1,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){},onSliderResize:function(){}};t.fn.bxSlider=function(o){if(0==this.length)return this;if(this.length>1)return this.each(function(){t(this).bxSlider(o)}),this;var s={},r=this;e.el=this;var a=t(window).width(),l=t(window).height(),c=function(){s.settings=t.extend({},n,o),s.settings.slideWidth=parseInt(s.settings.slideWidth),s.children=r.children(s.settings.slideSelector),s.children.length<s.settings.minSlides&&(s.settings.minSlides=s.children.length),s.children.length<s.settings.maxSlides&&(s.settings.maxSlides=s.children.length),s.settings.randomStart&&(s.settings.startSlide=Math.floor(Math.random()*s.children.length)),s.active={index:s.settings.startSlide},s.carousel=s.settings.minSlides>1||s.settings.maxSlides>1,s.carousel&&(s.settings.preloadImages="all"),s.minThreshold=s.settings.minSlides*s.settings.slideWidth+(s.settings.minSlides-1)*s.settings.slideMargin,s.maxThreshold=s.settings.maxSlides*s.settings.slideWidth+(s.settings.maxSlides-1)*s.settings.slideMargin,s.working=!1,s.c
1ontrols={},s.interval=null,s.animProp="vertical"==s.settings.mode?"top":"left",s.usingCSS=s.settings.useCSS&&"fade"!=s.settings.mode&&function(){var t=document.createElement("div"),e=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return s.cssPrefix=e[i].replace("Perspective","").toLowerCase(),s.animProp="-"+s.cssPrefix+"-transform",!0;return!1}(),"vertical"==s.settings.mode&&(s.settings.maxSlides=s.settings.minSlides),r.data("origStyle",r.attr("style")),r.children(s.settings.slideSelector).each(function(){t(this).data("origStyle",t(this).attr("style"))}),d()},d=function(){r.wrap('<div class="'+s.settings.wrapperClass+'"><div class="bx-viewport"></div></div>'),s.viewport=r.parent(),s.loader=t('<div class="bx-loading" />'),s.viewport.prepend(s.loader),r.css({width:"horizontal"==s.settings.mode?100*s.children.length+215+"%":"auto",position:"relative"}),s.usingCSS&&s.settings.easing?r.css("-"+s.cssPrefix+"-transition-timing-function",s.settings.easing):s.settings.easing||(s.settings.easing="swing");g();s.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),s.viewport.parent().css({maxWidth:f()}),s.settings.pager||s.viewport.parent().css({margin:"0 auto 0px"}),s.children.css({float:"horizontal"==s.settings.mode?"left":"none",listStyle:"none",position:"relative"}),s.children.css("width",m()),"horizontal"==s.settings.mode&&s.settings.slideMargin>0&&s.children.css("marginRight",s.settings.slideMargin),"vertical"==s.settings.mode&&s.settings.slideMargin>0&&s.children.css("marginBottom",s.settings.slideMargin),"fade"==s.settings.mode&&(s.children.css({position:"absolute",zIndex:0,display:"none"}),s.children.eq(s.settings.startSlide).css({zIndex:s.settings.slideZIndex,display:"block"})),s.controls.el=t('<div class="bx-controls" />'),s.settings.captions&&_(),s.active.last=s.settings.startSlide==v()-1,s.settings.video&&r.fitVids();var e=s.children.eq(s.settings.startSlide);"all"==s.settings.preloadImages&&(e=s.children),s.settings.ticker?s.settings.pager=!1:(s.settings.pager&&$(),s.settings.controls&&S(),s.settings.auto&&s.settings.autoControls&&C(),(s.settings.controls||s.settings.autoControls||s.settings.pager)&&s.viewport.after(s.controls.el)),u(e,p)},u=function(e,i){var n=e.find("img, iframe").length;if(0!=n){var o=0;e.find("img, iframe").each(function(){t(this).one("load",function(){++o==n&&i()}).each(function(){this.complete&&t(this).load()})})}else i()},p=function(){if(s.settings.infiniteLoop&&"fade"!=s.settings.mode&&!s.settings.ticker){var e="vertical"==s.settings.mode?s.settings.minSlides:s.settings.maxSlides,i=s.children.slice(0,e).clone().addClass("bx-clone"),n=s.children.slice(-e).clone().addClass("bx-clone");r.append(i).prepend(n)}s.loader.remove(),w(),"vertical"==s.settings.mode&&(s.settings.adaptiveHeight=!0),s.viewport.height(h()),r.redrawSlider(),s.settings.onSliderLoad(s.active.index),s.initialized=!0,s.settings.responsive&&t(window).bind("resize",R),s.settings.auto&&s.settings.autoStart&&(v()>1||s.settings.autoSlideForOnePage)&&P(),s.settings.ticker&&D(),s.settings.pager&&A(s.settings.startSlide),s.settings.controls&&O(),s.settings.touchEnabled&&!s.settings.ticker&&q()},h=function(){var e=0,n=t();if("vertical"==s.settings.mode||s.settings.adaptiveHeight)if(s.carousel){var o=1==s.settings.moveSlides?s.active.index:s.active.index*y();for(n=s.children.eq(o),i=1;i<=s.settings.maxSlides-1;i++)n=o+i>=s.children.length?n.add(s.children.eq(i-1)):n.add(s.children.eq(o+i))}else n=s.children.eq(s.active.index);else n=s.children;return"vertical"==s.settings.mode?(n.each(function(i){e+=t(this).outerHeight()}),s.settings.slideMargin>0&&(e+=s.settings.slideMargin*(s.settings.minSlides-1))):e=Math.max.apply(Math,n.map(function(){return t(this).outerHeight(!1)}).get()),"border-box"==s.viewport.css("box-sizing")?e+=parseFloat(s.viewport.css("padding-top"))+parseFloat(s.viewport.css("padding-bottom"))+parseFloat(s.viewport.css("border-top-width"))+parseFloat(s.viewport.css("border-bottom-width")):"padding-box"==s.viewport.css("box-sizing")&&(e+=parseFloat(s.viewport.css("padding-top"))+parseFloat(s.viewport.css("padding-bottom"))),e},f=function(){var t="100%";return s.settings.slideWidth>0&&(t="horizontal"==s.settings.mode?s.settings.maxSlides*s.settings.slideWidth+(s.settings.maxSlides-1)*s.settings.slideMargin:s.settings.slideWidth),t},m=function(){var t=s.settings.slideWidth,e=s.viewport.width();return 0==s.settings.slideWidth||s.settings.slideWidth>e&&!s.carousel||"vertical"==s.settings.mode?t=e:s.settings.maxSlides>1&&"horizontal"==s.settings.mode&&(e>s.maxThreshold||e<s.minThreshold&&(t=(e-s.settings.slideMargin*(s.settings.minSlides-1))/s.settings.minSlides)),t},g=function(){var t=1;if("horizontal"==s.settings.mode&&s.settings.slideWidth>0)if(s.viewport.width()<s.minThreshold)t=s.settings.minSlides;else if(s.viewport.width()>s.maxThreshold)t=s.settings.maxSlides;else{var e=s.children.first().width()+s.settings.slideMargin;t=Math.floor((s.viewport.width()+s.settings.slideMargin)/e)}else"vertical"==s.settings.mode&&(t=s.settings.minSlides);return t},v=function(){var t=0;if(s.settings.moveSlides>0)if(s.settings.infiniteLoop)t=Math.ceil(s.children.length/y());else for(var e=0,i=0;e<s.children.length;)++t,e=i+g(),i+=s.settings.moveSlides<=g()?s.settings.moveSlides:g();else t=Math.ceil(s.children.length/g());return t},y=function(){return s.settings.moveSlides>0&&s.settings.moveSlides<=g()?s.settings.moveSlides:g()},w=function(){if(s.children.length>s.settings.maxSlides&&s.active.last&&!s.settings.infiniteLoop){if("horizontal"==s.settings.mode){var t=s.children.last(
1),e=t.position();b(-(e.left-(s.viewport.width()-t.outerWidth())),"reset",0)}else if("vertical"==s.settings.mode){var i=s.children.length-s.settings.minSlides;e=s.children.eq(i).position();b(-e.top,"reset",0)}}else{e=s.children.eq(s.active.index*y()).position();s.active.index==v()-1&&(s.active.last=!0),null!=e&&("horizontal"==s.settings.mode?b(-e.left,"reset",0):"vertical"==s.settings.mode&&b(-e.top,"reset",0))}},b=function(t,e,i,n){if(s.usingCSS){var o="vertical"==s.settings.mode?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)";r.css("-"+s.cssPrefix+"-transition-duration",i/1e3+"s"),"slide"==e?(r.css(s.animProp,o),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),j()})):"reset"==e?r.css(s.animProp,o):"ticker"==e&&(r.css("-"+s.cssPrefix+"-transition-timing-function","linear"),r.css(s.animProp,o),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),b(n.resetValue,"reset",0),M()}))}else{var a={};a[s.animProp]=t,"slide"==e?r.animate(a,i,s.settings.easing,function(){j()}):"reset"==e?r.css(s.animProp,t):"ticker"==e&&r.animate(a,speed,"linear",function(){b(n.resetValue,"reset",0),M()})}},x=function(){for(var e="",i=v(),n=0;n<i;n++){var o="";s.settings.buildPager&&t.isFunction(s.settings.buildPager)?(o=s.settings.buildPager(n),s.pagerEl.addClass("bx-custom-pager")):(o=n+1,s.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+n+'" class="bx-pager-link">'+o+"</a></div>"}s.pagerEl.html(e)},$=function(){s.settings.pagerCustom?s.pagerEl=t(s.settings.pagerCustom):(s.pagerEl=t('<div class="bx-pager" />'),s.settings.pagerSelector?t(s.settings.pagerSelector).html(s.pagerEl):s.controls.el.addClass("bx-has-pager").append(s.pagerEl),x()),s.pagerEl.on("click","a",L)},S=function(){s.controls.next=t('<a class="bx-next" href="">'+s.settings.nextText+"</a>"),s.controls.prev=t('<a class="bx-prev" href="">'+s.settings.prevText+"</a>"),s.controls.next.bind("click",E),s.controls.prev.bind("click",T),s.settings.nextSelector&&t(s.settings.nextSelector).append(s.controls.next),s.settings.prevSelector&&t(s.settings.prevSelector).append(s.controls.prev),s.settings.nextSelector||s.settings.prevSelector||(s.controls.directionEl=t('<div class="bx-controls-direction" />'),s.controls.directionEl.append(s.controls.prev).append(s.controls.next),s.controls.el.addClass("bx-has-controls-direction").append(s.controls.directionEl))},C=function(){s.controls.start=t('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+s.settings.startText+"</a></div>"),s.controls.stop=t('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+s.settings.stopText+"</a></div>"),s.controls.autoEl=t('<div class="bx-controls-auto" />'),s.controls.autoEl.on("click",".bx-start",I),s.controls.autoEl.on("click",".bx-stop",k),s.settings.autoControlsCombine?s.controls.autoEl.append(s.controls.start):s.controls.autoEl.append(s.controls.start).append(s.controls.stop),s.settings.autoControlsSelector?t(s.settings.autoControlsSelector).html(s.controls.autoEl):s.controls.el.addClass("bx-has-controls-auto").append(s.controls.autoEl),z(s.settings.autoStart?"stop":"start")},_=function(){s.children.each(function(e){var i=t(this).find("img:first").attr("title");null!=i&&(""+i).length&&t(this).append('<div class="bx-caption"><span>'+i+"</span></div>")})},E=function(t){s.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},T=function(t){s.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},I=function(t){r.startAuto(),t.preventDefault()},k=function(t){r.stopAuto(),t.preventDefault()},L=function(e){s.settings.auto&&r.stopAuto();var i=t(e.currentTarget);if(void 0!==i.attr("data-slide-index")){var n=parseInt(i.attr("data-slide-index"));n!=s.active.index&&r.goToSlide(n),e.preventDefault()}},A=function(e){var i=s.children.length;if("short"==s.settings.pagerType)return s.settings.maxSlides>1&&(i=Math.ceil(s.children.length/s.settings.maxSlides)),void s.pagerEl.html(e+1+s.settings.pagerShortSeparator+i);s.pagerEl.find("a").removeClass("active"),s.pagerEl.each(function(i,n){t(n).find("a").eq(e).addClass("active")})},j=function(){if(s.settings.infiniteLoop){var t="";0==s.active.index?t=s.children.eq(0).position():s.active.index==v()-1&&s.carousel?t=s.children.eq((v()-1)*y()).position():s.active.index==s.children.length-1&&(t=s.children.eq(s.children.length-1).position()),t&&("horizontal"==s.settings.mode?b(-t.left,"reset",0):"vertical"==s.settings.mode&&b(-t.top,"reset",0))}s.working=!1,s.settings.onSlideAfter(s.children.eq(s.active.index),s.oldIndex,s.active.index)},z=function(t){s.settings.autoControlsCombine?s.controls.autoEl.html(s.controls[t]):(s.controls.autoEl.find("a").removeClass("active"),s.controls.autoEl.find("a:not(.bx-"+t+")").addClass("active"))}
1,O=function(){1==v()?(s.controls.prev.addClass("disabled"),s.controls.next.addClass("disabled")):!s.settings.infiniteLoop&&s.settings.hideControlOnEnd&&(0==s.active.index?(s.controls.prev.addClass("disabled"),s.controls.next.removeClass("disabled")):s.active.index==v()-1?(s.controls.next.addClass("disabled"),s.controls.prev.removeClass("disabled")):(s.controls.prev.removeClass("disabled"),s.controls.next.removeClass("disabled")))},P=function(){if(s.settings.autoDelay>0)setTimeout(r.startAuto,s.settings.autoDelay);else r.startAuto();s.settings.autoHover&&r.hover(function(){s.interval&&(r.stopAuto(!0),s.autoPaused=!0)},function(){s.autoPaused&&(r.startAuto(!0),s.autoPaused=null)})},D=function(){var e=0;if("next"==s.settings.autoDirection)r.append(s.children.clone().addClass("bx-clone"));else{r.prepend(s.children.clone().addClass("bx-clone"));var i=s.children.first().position();e="horizontal"==s.settings.mode?-i.left:-i.top}b(e,"reset",0),s.settings.pager=!1,s.settings.controls=!1,s.settings.autoControls=!1,s.settings.tickerHover&&!s.usingCSS&&s.viewport.hover(function(){r.stop()},function(){var e=0;s.children.each(function(i){e+="horizontal"==s.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});var i=s.settings.speed/e,n="horizontal"==s.settings.mode?"left":"top",o=i*(e-Math.abs(parseInt(r.css(n))));M(o)}),M()},M=function(t){speed=t||s.settings.speed;var e={left:0,top:0},i={left:0,top:0};"next"==s.settings.autoDirection?e=r.find(".bx-clone").first().position():i=s.children.first().position();var n="horizontal"==s.settings.mode?-e.left:-e.top,o="horizontal"==s.settings.mode?-i.left:-i.top;b(n,"ticker",speed,{resetValue:o})},q=function(){s.touch={start:{x:0,y:0},end:{x:0,y:0}},s.viewport.bind("touchstart",W)},W=function(t){if(s.working)t.preventDefault();else{s.touch.originalPos=r.position();var e=t.originalEvent;s.touch.start.x=e.changedTouches[0].pageX,s.touch.start.y=e.changedTouches[0].pageY,s.viewport.bind("touchmove",N),s.viewport.bind("touchend",H)}},N=function(t){var e=t.originalEvent,i=Math.abs(e.changedTouches[0].pageX-s.touch.start.x),n=Math.abs(e.changedTouches[0].pageY-s.touch.start.y);if((3*i>n&&s.settings.preventDefaultSwipeX||3*n>i&&s.settings.preventDefaultSwipeY)&&t.preventDefault(),"fade"!=s.settings.mode&&s.settings.oneToOneTouch){var o=0;if("horizontal"==s.settings.mode){var r=e.changedTouches[0].pageX-s.touch.start.x;o=s.touch.originalPos.left+r}else{r=e.changedTouches[0].pageY-s.touch.start.y;o=s.touch.originalPos.top+r}b(o,"reset",0)}},H=function(t){s.viewport.unbind("touchmove",N);var e=t.originalEvent,i=0;if(s.touch.end.x=e.changedTouches[0].pageX,s.touch.end.y=e.changedTouches[0].pageY,"fade"==s.settings.mode){(n=Math.abs(s.touch.start.x-s.touch.end.x))>=s.settings.swipeThreshold&&(s.touch.start.x>s.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var n=0;"horizontal"==s.settings.mode?(n=s.touch.end.x-s.touch.start.x,i=s.touch.originalPos.left):(n=s.touch.end.y-s.touch.start.y,i=s.touch.originalPos.top),!s.settings.infiniteLoop&&(0==s.active.index&&n>0||s.active.last&&n<0)?b(i,"reset",200):Math.abs(n)>=s.settings.swipeThreshold?(n<0?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):b(i,"reset",200)}s.viewport.unbind("touchend",H)},R=function(e){if(s.initialized){var i=t(window).width(),n=t(window).height();a==i&&l==n||(a=i,l=n,r.redrawSlider(),s.settings.onSliderResize.call(r,s.active.index))}};return r.goToSlide=function(e,i){if(!s.working&&s.active.index!=e)if(s.working=!0,s.oldIndex=s.active.index,e<0?s.active.index=v()-1:e>=v()?s.active.index=0:s.active.index=e,s.settings.onSlideBefore(s.children.eq(s.active.index),s.oldIndex,s.active.index),"next"==i?s.settings.onSlideNext(s.children.eq(s.active.index),s.oldIndex,s.active.index):"prev"==i&&s.settings.onSlidePrev(s.children.eq(s.active.index),s.oldIndex,s.active.index),s.active.last=s.active.index>=v()-1,s.settings.pager&&A(s.active.index),s.settings.controls&&O(),"fade"==s.settings.mode)s.settings.adaptiveHeight&&s.viewport.height()!=h()&&s.viewport.animate({height:h()},s.settings.adaptiveHeightSpeed),s.children.filter(":visible").fadeOut(s.settings.speed).css({zIndex:0}),s.children.eq(s.active.index).css("zIndex",s.settings.slideZIndex+1).fadeIn(s.settings.speed,function(){t(this).css("zIndex",s.settings.slideZIndex),j()});else{s.settings.adaptiveHeight&&s.viewport.height()!=h()&&s.viewport.animate({height:h()},s.settings.adaptiveHeightSpeed);var n=0,o={left:0,top:0};if(!s.settings.infiniteLoop&&s.carousel&&s.active.last)if("horizontal"==s.settings.mode){o=(l=s.children.eq(s.children.length-1)).position(),n=s.viewport.width()-l.outerWidth()}else{var a=s.children.length-s.settings.minSlides;o=s.children.eq(a).position()}else if(s.carousel&&s.active.last&&"prev"==i){var l,c=1==s.settings.moveSlides?s.settings.maxSlides-y():(v()-1)*y()-(s.
1children.length-s.settings.maxSlides);o=(l=r.children(".bx-clone").eq(c)).position()}else if("next"==i&&0==s.active.index)o=r.find("> .bx-clone").eq(s.settings.maxSlides).position(),s.active.last=!1;else if(e>=0){var d=e*y();o=s.children.eq(d).position()}if(void 0!==o){var u="horizontal"==s.settings.mode?-(o.left-n):-o.top;b(u,"slide",s.settings.speed)}}},r.goToNextSlide=function(){if(s.settings.infiniteLoop||!s.active.last){var t=parseInt(s.active.index)+1;r.goToSlide(t,"next")}},r.goToPrevSlide=function(){if(s.settings.infiniteLoop||0!=s.active.index){var t=parseInt(s.active.index)-1;r.goToSlide(t,"prev")}},r.startAuto=function(t){s.interval||(s.interval=setInterval(function(){"next"==s.settings.autoDirection?r.goToNextSlide():r.goToPrevSlide()},s.settings.pause),s.settings.autoControls&&1!=t&&z("stop"))},r.stopAuto=function(t){s.interval&&(clearInterval(s.interval),s.interval=null,s.settings.autoControls&&1!=t&&z("start"))},r.getCurrentSlide=function(){return s.active.index},r.getCurrentSlideElement=function(){return s.children.eq(s.active.index)},r.getSlideCount=function(){return s.children.length},r.redrawSlider=function(){s.children.add(r.find(".bx-clone")).width(m()),s.viewport.css("height",h()),s.settings.ticker||w(),s.active.last&&(s.active.index=v()-1),s.active.index>=v()&&(s.active.last=!0),s.settings.pager&&!s.settings.pagerCustom&&(x(),A(s.active.index))},r.destroySlider=function(){s.initialized&&(s.initialized=!1,t(".bx-clone",this).remove(),s.children.each(function(){null!=t(this).data("origStyle")?t(this).attr("style",t(this).data("origStyle")):t(this).removeAttr("style")}),null!=t(this).data("origStyle")?this.attr("style",t(this).data("origStyle")):t(this).removeAttr("style"),t(this).unwrap().unwrap(),s.controls.el&&s.controls.el.remove(),s.controls.next&&s.controls.next.remove(),s.controls.prev&&s.controls.prev.remove(),s.pagerEl&&s.settings.controls&&s.pagerEl.remove(),t(".bx-caption",this).remove(),s.controls.autoEl&&s.controls.autoEl.remove(),clearInterval(s.interval),s.settings.responsive&&t(window).unbind("resize",R))},r.reloadSlider=function(t){null!=t&&(o=t),r.destroySlider(),c()},c(),this}}(jQuery),function(t){var e=!0;t.flexslider=function(i,n){var o=t(i);void 0===n.rtl&&"rtl"==t("html").attr("dir")&&(n.rtl=!0),o.vars=t.extend({},t.flexslider.defaults,n);var s,r=o.vars.namespace,a=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,l=("ontouchstart"in window||a||window.DocumentTouch&&document instanceof DocumentTouch)&&o.vars.touch,c="click touchend MSPointerUp keyup",d="",u="vertical"===o.vars.direction,p=o.vars.reverse,h=o.vars.itemWidth>0,f="fade"===o.vars.animation,m=""!==o.vars.asNavFor,g={};t.data(i,"flexslider",o),g={init:function(){o.animating=!1,o.currentSlide=parseInt(o.vars.startAt?o.vars.startAt:0,10),isNaN(o.currentSlide)&&(o.currentSlide=0),o.animatingTo=o.currentSlide,o.atEnd=0===o.currentSlide||o.currentSlide===o.last,o.containerSelector=o.vars.selector.substr(0,o.vars.selector.search(" ")),o.slides=t(o.vars.selector,o),o.container=t(o.containerSelector,o),o.count=o.slides.length,o.syncExists=t(o.vars.sync).length>0,"slide"===o.vars.animation&&(o.vars.animation="swing"),o.prop=u?"top":o.vars.rtl?"marginRight":"marginLeft",o.args={},o.manualPause=!1,o.stopped=!1,o.started=!1,o.startTimeout=null,o.transitions=!o.vars.video&&!f&&o.vars.useCSS&&function(){var t=document.createElement("div"),e=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return o.pfx=e[i].replace("Perspective","").toLowerCase(),o.prop="-"+o.pfx+"-transform",!0;return!1}(),o.isFirefox=navigator.userAgent.toLowerCase().indexOf("firefox")>-1,o.ensureAnimationEnd="",""!==o.vars.controlsContainer&&(o.controlsContainer=t(o.vars.controlsContainer).length>0&&t(o.vars.controlsContainer)),""!==o.vars.manualControls&&(o.manualControls=t(o.vars.manualControls).length>0&&t(o.vars.manualControls)),""!==o.vars.customDirectionNav&&(o.customDirectionNav=2===t(o.vars.customDirectionNav).length&&t(o.vars.customDirectionNav)),o.vars.randomize&&(o.slides.sort(function(){return Math.round(Math.random())-.5}),o.container.empty().append(o.slides)),o.doMath(),o.setup("init"),o.vars.c
vendor: 16,977 bytes, line 1
1ontrolNav&&g.controlNav.setup(),o.vars.directionNav&&g.directionNav.setup(),o.vars.keyboard&&(1===t(o.containerSelector).length||o.vars.multipleKeyboard)&&t(document).bind("keyup",function(t){var e=t.keyCode;if(!o.animating&&(39===e||37===e)){var i=o.vars.rtl?37===e?o.getTarget("next"):39===e&&o.getTarget("prev"):39===e?o.getTarget("next"):37===e&&o.getTarget("prev");o.flexAnimate(i,o.vars.pauseOnAction)}}),o.vars.mousewheel&&o.bind("mousewheel",function(t,e,i,n){t.preventDefault();var s=e<0?o.getTarget("next"):o.getTarget("prev");o.flexAnimate(s,o.vars.pauseOnAction)}),o.vars.pausePlay&&g.pausePlay.setup(),o.vars.slideshow&&o.vars.pauseInvisible&&g.pauseInvisible.init(),o.vars.slideshow&&(o.vars.pauseOnHover&&o.hover(function(){o.manualPlay||o.manualPause||o.pause()},function(){o.manualPause||o.manualPlay||o.stopped||o.play()}),o.vars.pauseInvisible&&g.pauseInvisible.isHidden()||(o.vars.initDelay>0?o.startTimeout=setTimeout(o.play,o.vars.initDelay):o.play())),m&&g.asNav.setup(),l&&o.vars.touch&&g.touch(),(!f||f&&o.vars.smoothHeight)&&t(window).bind("resize orientationchange focus",g.resize),o.find("img").attr("draggable","false"),setTimeout(function(){o.vars.start(o)},200)},asNav:{setup:function(){o.asNav=!0,o.animatingTo=Math.floor(o.currentSlide/o.move),o.currentItem=o.currentSlide,o.slides.removeClass(r+"active-slide").eq(o.currentItem).addClass(r+"active-slide"),a?(i._slider=o,o.slides.each(function(){var e=this;e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",function(t){t.preventDefault(),t.currentTarget._gesture&&t.currentTarget._gesture.addPointer(t.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var i=t(this),n=i.index();t(o.vars.asNavFor).data("flexslider").animating||i.hasClass("active")||(o.direction=o.currentItem<n?"next":"prev",o.flexAnimate(n,o.vars.pauseOnAction,!1,!0,!0))})})):o.slides.on(c,function(e){e.preventDefault();var i=t(this),n=i.index();(o.vars.rtl?-1*(i.offset().right-t(o).scrollLeft()):i.offset().left-t(o).scrollLeft())<=0&&i.hasClass(r+"active-slide")?o.flexAnimate(o.getTarget("prev"),!0):t(o.vars.asNavFor).data("flexslider").animating||i.hasClass(r+"active-slide")||(o.direction=o.currentItem<n?"next":"prev",o.flexAnimate(n,o.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){o.manualControls?g.controlNav.setupManual():g.controlNav.setupPaging()},setupPaging:function(){var e,i,n="thumbnails"===o.vars.controlNav?"control-thumbs":"control-paging",s=1;if(o.controlNavScaffold=t('<ol class="'+r+"control-nav "+r+n+'"></ol>'),o.pagingCount>1)for(var a=0;a<o.pagingCount;a++){if(void 0===(i=o.slides.eq(a)).attr("data-thumb-alt")&&i.attr("data-thumb-alt",""),e=t("<a></a>").attr("href","#").text(s),"thumbnails"===o.vars.controlNav&&(e=t("<img/>").attr("src",i.attr("data-thumb"))),""!==i.attr("data-thumb-alt")&&e.attr("alt",i.attr("data-thumb-alt")),"thumbnails"===o.vars.controlNav&&!0===o.vars.thumbCaptions){var l=i.attr("data-thumbcaption");if(""!==l&&void 0!==l){var u=t("<span></span>").addClass(r+"caption").text(l);e.append(u)}}var p=t("<li>");e.appendTo(p),p.append("</li>"),o.controlNavScaffold.append(p),s++}o.controlsContainer?t(o.controlsContainer).append(o.controlNavScaffold):o.append(o.controlNavScaffold),g.controlNav.set(),g.controlNav.active(),o.controlNavScaffold.delegate("a, img",c,function(e){if(e.preventDefault(),""===d||d===e.type){var i=t(this),n=o.controlNav.index(i);i.hasClass(r+"active")||(o.direction=n>o.currentSlide?"next":"prev",o.flexAnimate(n,o.vars.pauseOnAction))}""===d&&(d=e.type),g.setToClearWatchedEvent()})},setupManual:function(){o.controlNav=o.manualControls,g.controlNav.active(),o.controlNav.bind(c,function(e){if(e.preventDefault(),""===d||d===e.type){var i=t(this),n=o.controlNav.index(i);i.hasClass(r+"active")||(n>o.currentSlide?o.direction="next":o.direction="prev",o.flexAnimate(n,o.vars.pauseOnAction))}""===d&&(d=e.type),g.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===o.vars.controlNav?"img":"a";o.controlNav=t("."+r+"control-nav li "+e,o.controlsContainer?o.controlsContainer:o)},active:function(){o.controlNav.removeClass(r+"active").eq(o.animatingTo).addClass(r+"active")},update:function(e,i){o.pagingCount>1&&"add"===e?o.controlNavScaffold.append(t('<li><a href="#">'+o.count+"</a></li>")):1===o.pagingCount?o.controlNavScaffold.find("li").remove():o.controlNav.eq(i).closest("li").remove(),g.controlNav.set(),o.pagingCount>1&&o.pagingCount!==o.controlNav.length?o.update(i,e):g.controlNav.active()}},directionNav:{setup:function(){var e=t('<ul class="'+r+'direction-nav"><li class="'+r+'nav-prev"><a class="'+r+'prev" href="#">'+o.vars.prevText+'</a></li><li class="'+r+'nav-next"><a class="'+r+'next" href="#">'+o.vars.nextText+"</a></li></ul>");o.customDirectionNav?o.directionNav=o.customDirectionNav:o.controlsContainer?(t(o.controlsContainer).append(e),o.directionNav=t("."+r+"direction-nav li a",o.controlsContainer)):(o.append(e),o.directionNav=t("."+r+"direction-nav li a",o)),g.directionNav.update(),o.directionNav.bind(c,function(e){var i;e.preventDefault(),""!==d&&d!==e.type||(i=t(this).hasClass(r+"next")?o.getTarget("next"):o.getTarget("prev"),o.flexAnimate(i,o.vars.pauseOnAction)),""===d&&(d=e.type),g.setToClearWatchedEvent()})},update:function(){var t=r+"disabled";1===o.pagingCount?o.directionNav.addClass(t).attr("tabindex","-1"):o.vars.animationLoop?o.directionNav.removeClass(t).removeAttr("tabindex"):0===o.animatingTo?o.directionNav.removeClass(t).filter("."+r+"prev").addClass(t).attr("tabindex","-1"):o.animatingTo===o.last?o.directionNav.removeClass(t).filter("."+r+"next").addClass(t).attr("tabindex","-1"):o.directionNav.removeClass(t).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=t('<div class="'+r+'pauseplay"><a href="#"></a></div>');o.controlsContainer?(o.controlsContainer.append(e),o.pausePlay=t("."+r+"pauseplay a",o.controlsContainer)):(o.append(e),o.pausePlay=t("."+r+"pauseplay a",o)),g.pausePlay.update(o.vars.slideshow?r+"pause":r+"play"),o.pausePlay.bind(c,function(e){e.preventDefault(),""!==d&&d!==e.type||(t(this).hasClass(r+"pause")?(o.manualPause=!0,o.manualPlay=!1,o.pause()):(o.manualPause=!1,o.manualPlay=!0,o.play())),""===d&&(d=e.type),g.setToClearWatchedEvent()})},update:function(t){"play"===t?o.pausePlay.removeClass(r+"pause").addClass(r+"play").html(o.vars.playText):o.pausePlay.removeClass(r+"play").addClass(r+"pause").html(o.vars.pauseText)}},touch:function(){var t,e,n,s,r,l,c,d,m,g=!1,v=0,y=0,w=0;if(a){i.style.msTouchAction="none",i._gesture=new MSGesture,i._gesture.target=i,i.addEventListener("MSPointerDown",function(t){t.stopPropagation(),o.animating?t.preventDefault():(o.pause(),i._gesture.addPointer(t.pointerId),w=0,s=u?o.h:o.w,l=Number(new Date),n=h&&p&&o.animatingTo===o.last?0:h&&p?o.limit-(o.itemW+o.vars.itemMargin)*o.move*o.animatingTo:h&&o.currentSlide===o.last?o.limit:h?(o.itemW+o.vars.itemMargin)*o.move*o.currentSlide:p?(o.last-o.currentSlide+o.cloneOffset)*s:(o.currentSlide+o.cloneOffset)*s)},!1),i._slider=o,i.addEventListener("MSGestureChange",function(t){t.stopPropagation();var e=t.target._slider;if(!e)return;var o=-t.translationX,a=-t.translationY;if(w+=u?a:o,r=(e.vars.rtl?-1:1)*w,g=u?Math.abs(w)<Math.abs(-o):Math.abs(w)<Math.abs(-a),t.detail===t.MSGESTURE_FLAG_INERTIA)return void setImmediate(function(){i._gesture.stop()});(!g||Number(new Date)-l>500)&&(t.preventDefault(),!f&&e.transitions&&(e.vars.animationLoop||(r=w/(0===e.currentSlide&&w<0||e.currentSlide===e.last&&w>0?Math.abs(w)/s+2:1)),e.setProps(n+r,"setTouch")))},!1),i.addEventListener("MSGestureEnd",function(i){i.stopPropagation();var o=i.target._slider;if(!o)return;if(o.animatingTo===o.currentSlide&&!g&&null!==r){var a=p?-r:r,c=a>0?o.getTarget("next"):o.getTarget("prev");o.canAdvance(c)&&(Number(new Date)-l<550&&Math.abs(a)>50||Math.abs(a)>s/2)?o.flexAnimate(c,o.vars.pauseOnAction):f||o.flexAnimate(o.currentSlide,o.vars.pauseOnAction,!0)}t=null,e=null,r=null,n=null,w=0},!1)}else c=function(r){o.animating?r.preventDefault():(window.navigator.msPointerEnabled||1===r.touches.length)&&(o.pause(),s=u?o.h:o.w,l=Number(new Date),v=r.touches[0].pageX,y=r.touches[0].pageY,n=h&&p&&o.animatingTo===o.last?0:h&&p?o.limit-(o.itemW+o.vars.itemMargin)*o.move*o.animatingTo:h&&o.currentSlide===o.last?o.limit:h?(o.itemW+o.vars.itemMargin)*o.move*o.currentSlide:p?(o.last-o.currentSlide+o.cloneOffset)*s:(o.currentSlide+o.cloneOffset)*s,t=u?y:v,e=u?v:y,i.addEventListener("touchmove",d,!1),i.addEventListener("touchend",m,!1))},d=function(i){v=i.touches[0].pageX,y=i.touches[0].pageY,r=u?t-y:(o.vars.rtl?-1:1)*(t-v);(!(g=u?Math.abs(r)<Math.abs(v-e):Math.abs(r)<Math.abs(y-e))||Number(new Date)-l>500)&&(i.preventDefault(),!f&&o.transitions&&(o.vars.animationLoop||(r/=0===o.currentSlide&&r<0||o.currentSlide===o.last&&r>0?Math.abs(r)/s+2:1),o.setProps(n+r,"setTouch")))},m=function(a){if(i.removeEventListener("touchmove",d,!1),o.animatingTo===o.currentSlide&&!g&&null!==r){var c=p?-r:r,u=c>0?o.getTarget("next"):o.getTarget("prev");o.canAdvance(u)&&(Number(new Date)-l<550&&Math.abs(c)>50||Math.abs(c)>s/2)?o.flexAnimate(u,o.vars.pauseOnAction):f||o.flexAnimate(o.currentSlide,o.vars.pauseOnAction,!0)}i.removeEventListener("touchend",m,!1),t=null,e=null,r=null,n=null},i.addEventListener("touchstart",c,!1)},resize:function(){!o.animating&&o.is(":visible")&&(h||o.doMath(),f?g.smoothHeight():h?(o.slides.width(o.computedW),o.update(o.pagingCount),o.setProps()):u?(o.viewport.height(o.h),o.setProps(o.h,"setTotal")):(o.vars.smoothHeight&&g.smoothHeight(),o.newSlides.width(o.computedW),o.setProps(o.computedW,"setTotal")))},smoothHeight:function(t){if(!u||f){var e=f?o:o.viewport;t?e.animate({height:o.slides.eq(o.animatingTo).innerHeight()},t):e.innerHeight(o.slides.eq(o.animatingTo).innerHeight())}},sync:function(e){var i=t(o.vars.sync).data("flexslider"),n=o.animatingTo;switch(e){case"animate":i.flexAnimate(n,o.vars.pauseOnAction,!1,!0);break;case"play":i.playing||i.asNav||i.play();break;case"pause":i.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=t(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var t=g.pauseInvisible.getHiddenProp();if(t){var e=t.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(e,function(){g.pauseInvisible.isHidden()?o.startTimeout?clearTimeout(o.startTimeout):o.pause():o.started?o.play():o.vars.initDelay>0?setTimeout(o.play,o.vars.initDelay):o.play()})}},isHidden:function(){var t=g.pauseInvisible.getHiddenProp();return!!t&&document[t]},getHiddenProp:function(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)if(t[e]+"Hidden"in document)return t[e]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(s),s=setTimeout(function(){d=""},3e3)}},o.flexAnimate=function(e,i,n,s,a){if(o.vars.animationLoop||e===o.currentSlide||(o.direction=e>o.currentSlide?"next":"prev"),m&&1===o.pagingCount&&(o.direction=o.currentItem<e?"next":"prev"),!o.animating&&(o.canAdvance(e,a)||n)&&o.is(":visible")){if(m&&s){var c=t(o.vars.asNavFor).data("flexslider");if(o.atEnd=0===e||e===o.count-1,c.flexAnimate(e,!0,!1,!0,a),o.direction=o.currentItem<e?"next":"prev",c.direction=o.direction,Math.ceil((e+1)/o.visible)-1===o.currentSlide||0===e)return o.currentItem=e,o.slides.removeClass(r+"active-slide").eq(e).addClass(r+"active-slide"),!1;o.currentItem=e,o.slides.removeClass(r+"active-slide").eq(e).addClass(r+"active-slide"),e=Math.floor(e/o.visible)}if(o.animating=!0,o.animatingTo=e,i&&o.pause(),o.vars.before(o),o.syncExists&&!a&&g.sync("animate"),o.vars.controlNav&&g.controlNav.active(),h||o.slides.removeClass(r+"active-slide").eq(e).addClass(r+"active-slide"),o.atEnd=0===e||e===o.last,o.vars.directionNav&&g.directionNav.update(),e===o.last&&(o.vars.end(o),o.vars.animationLoop||o.pause()),f)l?(o.slides.eq(o.currentSlide).css({opacity:0,zIndex:1}),o.slides.eq(e).css({opacity:1,zIndex:2}),o.wrapup(w)):(o.slides.eq(o.currentSlide).css({zIndex:1}).animate({opacity:0},o.vars.animationSpeed,o.vars.easing),o.slides.eq(e).css({zIndex:2}).animate({opacity:1},o.vars.animationSpeed,o.vars.easing,o.wrapup));else{var d,v,y,w=u?o.slides.filter(":first").height():o.computedW;h?(d=o.vars.itemMargin,v=(y=(o.itemW+d)*o.move*o.animatingTo)>o.limit&&1!==o.visible?o.limit:y):v=0===o.currentSlide&&e===o.count-1&&o.vars.animationLoop&&"next"!==o.direction?p?(o.count+o.cloneOffset)*w:0:o.currentSlide===o.last&&0===e&&o.vars.animationLoop&&"prev"!==o.direction?p?0:(o.count+1)*w:p?(o.count-1-e+o.cloneOffset)*w:(e+o.cloneOffset)*w,o.setProps(v,"",o.vars.animationSpeed),o.transitions?(o.vars.animationLoop&&o.atEnd||(o.animating=!1,o.currentSlide=o.animatingTo),o.container.unbind("webkitTransitionEnd transitionend"),o.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(o.ensureAnimationEnd),o.wrapup(w)}),clearTimeout(o.ensureAnimationEnd),o.ensureAnimationEnd=setTimeout(function(){o.wrapup(w)},o.vars.animationSpeed+100)):o.container.animate(o.args,o.vars.animationSpeed,o.vars.easing,function(){o.wrapup(w)})}o.vars.smoothHeight&&g.smoothHeight(o.vars.animationSpeed)}},o.wrapup=function(t){f||h||(0===o.currentSlide&&o.animatingTo===o.last&&o.vars.animationLoop?o.setProps(t,"jumpEnd"):o.currentSlide===o.last&&0===o.animatingTo&&o.vars.animationLoop&&o.setProps(t,"jumpStart")),o.animating=!1,o.currentSlide=o.animatingTo,o.vars.after(o)},o.animateSlides=function(){!o.animating&&e&&o.flexAnimate(o.getTarget("next"))},o.pause=function(){clearInterval(o.animatedSlides),o.animatedSlides=null,o.playing=!1,o.vars.pausePlay&&g.pausePlay.update("play"),o.syncExists&&g.sync("pause")},o.play=function(){o.playing&&clearInterval(o.animatedSlides),o.animatedSlides=o.animatedSlides||setInterval(o.animateSlides,o.vars.slideshowSpeed),o.started=o.playing=!0,o.vars.pausePlay&&g.pausePlay.update("pause"),o.syncExists&&g.sync("play")},o.stop=function(){o.pause(),o.stopped=!0},o.canAdvance=function(t,e){var i=m?o.pagingCount-1:o.last;return!!e||(!(!m||o.currentItem!==o.count-1||0!==t||"prev"!==o.direction)||(!m||0!==o.currentItem||t!==o.pagingCount-1||"next"===o.direction)&&(!(t===o.currentSlide&&!m)&&(!!o.vars.animationLoop||(!o.atEnd||0!==o.currentSlide||t!==i||"next"===o.direction)&&(!o.atEnd||o.currentSlide!==i||0!==t||"next"!==o.direction))))},o.getTarget=function(t){return o.direction=t,"next"===t?o.currentSlide===o.last?0:o.currentSlide+1:0===o.currentSlide?o.last:o.currentSlide-1},o.setProps=function(t,e,i){var n,s=(n=t||(o.itemW+o.vars.itemMargin)*o.move*o.animatingTo,function(){if(h)return"setTouch"===e?t:p&&o.animatingTo===o.last?0:p?o.limit-(o.itemW+o.vars.itemMargin)*o.move*o.animatingTo:o.animatingTo===o.last?o.limit:n;switch(e){case"setTotal":return p?(o.count-1-o.currentSlide+o.cloneOffset)*t:(o.currentSlide+o.cloneOffset)*t;case"setTouch":default:return t;case"jumpEnd":return p?t:o.count*t;case"jumpStart":return p?o.count*t:t}}()*(o.vars.rtl?1:-1)+"px");o.transitions&&(s=o.isFirefox?u?"translate3d(0,"+s+",0)":"translate3d("+parseInt(s)+"px,0,0)":u?"translate3d(0,"+s+",0)":"translate3d("+(o.vars.rtl?-1:1)*parseInt(s)+"px,0,0)",i=void 0!==i?i/1e3+"s":"0s",o.container.css("-"+o.pfx+"-transition-duration",i),o.container.css("transition-duration",i)),o.args[o.prop]=s,(o.transitions||void 0===i)&&o.container.css(o.args),o.container.css("transform",s)},o.setup=function(e){var i,n;f?(o.vars.rtl?o.slides.css({width:"100%",float:"right",marginLeft:"-100%",position:"relative"}):o.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===e&&(l?o.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+o.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(o.currentSlide).css({opacity:1,zIndex:2}):0==o.vars.fadeFirstSlide?o.slides.css({opacity:0,display:"block",zIndex:1}).eq(o.currentSlide).css({zIndex:2}).css({opacity:1}):o.slides.css({opacity:0,display:"block",zIndex:1}).eq(o.currentSlide).css({zIndex:2}).animate({opacity:1},o.vars.animationSpeed,o.vars.easing)),o.vars.smoothHeight&&g.smoothHeight()):("init"===e&&(o.viewport=t('<div class="'+r+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(o).append(o.container),o.cloneCount=0,o.cloneOffset=0,p&&(n=t.makeArray(o.slides).reverse(),o.slides=t(n),o.container.empty().append(o.slides))),o.vars.animationLoop&&!h&&(o.cloneCount=2,o.cloneOffset=1,"init"!==e&&o.container.find(".clone").remove(),o.container.append(g.uniqueID(o.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(g.uniqueID(o.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),o.newSlides=t(o.vars.selector,o),i=p?o.count-1-o.currentSlide+o.cloneOffset:o.currentSlide+o.cloneOffset,u&&!h?(o.container.height(200*(o.count+o.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){o.newSlides.css({display:"block"}),o.doMath(),o.viewport.height(o.h),o.setProps(i*o.h,"init")}
1,"init"===e?100:0)):(o.container.width(200*(o.count+o.cloneCount)+"%"),o.setProps(i*o.computedW,"init"),setTimeout(function(){o.doMath(),o.vars.rtl&&o.isFirefox?o.newSlides.css({width:o.computedW,marginRight:o.computedM,float:"right",display:"block"}):o.newSlides.css({width:o.computedW,marginRight:o.computedM,float:"left",display:"block"}),o.vars.smoothHeight&&g.smoothHeight()},"init"===e?100:0)));h||o.slides.removeClass(r+"active-slide").eq(o.currentSlide).addClass(r+"active-slide"),o.vars.init(o)},o.doMath=function(){var t=o.slides.first(),e=o.vars.itemMargin,i=o.vars.minItems,n=o.vars.maxItems;o.w=void 0===o.viewport?o.width():o.viewport.width(),o.isFirefox&&(o.w=o.width()),o.h=t.height(),o.boxPadding=t.outerWidth()-t.width(),h?(o.itemT=o.vars.itemWidth+e,o.itemM=e,o.minW=i?i*o.itemT:o.w,o.maxW=n?n*o.itemT-e:o.w,o.itemW=o.minW>o.w?(o.w-e*(i-1))/i:o.maxW<o.w?(o.w-e*(n-1))/n:o.vars.itemWidth>o.w?o.w:o.vars.itemWidth,o.visible=Math.floor(o.w/o.itemW),o.move=o.vars.move>0&&o.vars.move<o.visible?o.vars.move:o.visible,o.pagingCount=Math.ceil((o.count-o.visible)/o.move+1),o.last=o.pagingCount-1,o.limit=1===o.pagingCount?0:o.vars.itemWidth>o.w?o.itemW*(o.count-1)+e*(o.count-1):(o.itemW+e)*o.count-o.w-e):(o.itemW=o.w,o.itemM=e,o.pagingCount=o.count,o.last=o.count-1),o.computedW=o.itemW-o.boxPadding,o.computedM=o.itemM},o.update=function(t,e){o.doMath(),h||(t<o.currentSlide?o.currentSlide+=1:t<=o.currentSlide&&0!==t&&(o.currentSlide-=1),o.animatingTo=o.currentSlide),o.vars.controlNav&&!o.manualControls&&("add"===e&&!h||o.pagingCount>o.controlNav.length?g.controlNav.update("add"):("remove"===e&&!h||o.pagingCount<o.controlNav.length)&&(h&&o.currentSlide>o.last&&(o.currentSlide-=1,o.animatingTo-=1),g.controlNav.update("remove",o.last))),o.vars.directionNav&&g.directionNav.update()},o.addSlide=function(e,i){var n=t(e);o.count+=1,o.last=o.count-1,u&&p?void 0!==i?o.slides.eq(o.count-i).after(n):o.container.prepend(n):void 0!==i?o.slides.eq(i).before(n):o.container.append(n),o.update(i,"add"),o.slides=t(o.vars.selector+":not(.clone)",o),o.setup(),o.vars.added(o)},o.removeSlide=function(e){var i=isNaN(e)?o.slides.index(t(e)):e;o.count-=1,o.last=o.count-1,isNaN(e)?t(e,o.slides).remove():u&&p?o.slides.eq(o.last).remove():o.slides.eq(e).remove(),o.doMath(),o.update(i,"remove"),o.slides=t(o.vars.selector+":not(.clone)",o),o.setup(),o.vars.removed(o)},g.init()},t(window).blur(function(t){e=!1}).focus(function(t){e=!0}),t.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,isFirefox:!1,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){},rtl:!1},t.fn.flexslider=function(e){if(void 0===e&&(e={}),"object"==typeof e)return this.each(function(){var i=t(this),n=e.selector?e.selector:".slides > li",o=i.find(n);1===o.length&&!1===e.allowOneSlide||0===o.length?(o.fadeIn(400),e.start&&e.start(i)):void 0===i.data("flexslider")&&new t.flexslider(this,e)});var i=t(this).data("flexslider");switch(e){case"play":i.play();break;case"pause":i.pause();break;case"stop":i.stop();break;case"next":i.flexAnimate(i.getTarget("next"),!0);break;case"prev":case"previous":i.flexAnimate(i.getTarget("prev"),!0);break;default:"number"==typeof e&&i.flexAnimate(e,!0)}}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;return function(){var t,i,n;e&&e.requirejs||(e?i=e:e={},function(e){function o(t,e){return w.call(t,e)}function s(t,e){var i,n,o,s,r,a,l,c,d,u,p,h=e&&e.split("/"),f=v.map,m=f&&f["*"]||{};if(t&&"."===t.charAt(0))if(e){for(r=(t=t.split("/")).length-1,v.nodeIdCompat&&x.test(t[r])&&(t[r]=t[r].replace(x,"")),t=h.slice(0,h.length-1).concat(t),d=0;d<t.length;d+=1)if("."===(p=t[d]))t.splice(d,1),d-=1;else if(".."===p){if(1===d&&(".."===t[2]||".."===t[0]))break;d>0&&(t.splice(d-1,2),d-=2)}t=t.join("/")}
1else 0===t.indexOf("./")&&(t=t.substring(2));if((h||m)&&f){for(d=(i=t.split("/")).length;d>0;d-=1){if(n=i.slice(0,d).join("/"),h)for(u=h.length;u>0;u-=1)if((o=f[h.slice(0,u).join("/")])&&(o=o[n])){s=o,a=d;break}if(s)break;!l&&m&&m[n]&&(l=m[n],c=d)}!s&&l&&(s=l,a=c),s&&(i.splice(0,a,s),t=i.join("/"))}return t}function r(t,i){return function(){var n=b.call(arguments,0);return"string"!=typeof n[0]&&1===n.length&&n.push(null),p.apply(e,n.concat([t,i]))}}function a(t){return function(e){m[t]=e}}function l(t){if(o(g,t)){var i=g[t];delete g[t],y[t]=!0,u.apply(e,i)}if(!o(m,t)&&!o(y,t))throw new Error("No "+t);return m[t]}function c(t){var e,i=t?t.indexOf("!"):-1;return i>-1&&(e=t.substring(0,i),t=t.substring(i+1,t.length)),[e,t]}function d(t){return function(){return v&&v.config&&v.config[t]||{}}}var u,p,h,f,m={},g={},v={},y={},w=Object.prototype.hasOwnProperty,b=[].slice,x=/\.js$/;h=function(t,e){var i,n=c(t),o=n[0];return t=n[1],o&&(i=l(o=s(o,e))),o?t=i&&i.normalize?i.normalize(t,function(t){return function(e){return s(e,t)}}(e)):s(t,e):(o=(n=c(t=s(t,e)))[0],t=n[1],o&&(i=l(o))),{f:o?o+"!"+t:t,n:t,pr:o,p:i}},f={require:function(t){return r(t)},exports:function(t){var e=m[t];return void 0!==e?e:m[t]={}},module:function(t){return{id:t,uri:"",exports:m[t],config:d(t)}}},u=function(t,i,n,s){var c,d,u,p,v,w,b=[],x=typeof n;if(s=s||t,"undefined"===x||"function"===x){for(i=!i.length&&n.length?["require","exports","module"]:i,v=0;v<i.length;v+=1)if("require"===(d=(p=h(i[v],s)).f))b[v]=f.require(t);else if("exports"===d)b[v]=f.exports(t),w=!0;else if("module"===d)c=b[v]=f.module(t);else if(o(m,d)||o(g,d)||o(y,d))b[v]=l(d);else{if(!p.p)throw new Error(t+" missing "+d);p.p.load(p.n,r(s,!0),a(d),{}),b[v]=m[d]}u=n?n.apply(m[t],b):void 0,t&&(c&&c.exports!==e&&c.exports!==m[t]?m[t]=c.exports:u===e&&w||(m[t]=u))}else t&&(m[t]=n)},t=i=p=function(t,i,n,o,s){if("string"==typeof t)return f[t]?f[t](i):l(h(t,i).f);if(!t.splice){if((v=t).deps&&p(v.deps,v.callback),!i)return;i.splice?(t=i,i=n,n=null):t=e}return i=i||function(){},"function"==typeof n&&(n=o,o=s),o?u(e,t,i,n):setTimeout(function(){u(e,t,i,n)},4),p},p.config=function(t){return p(t)},t._defined=m,n=function(t,e,i){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(i=e,e=[]),o(m,t)||o(g,t)||(g[t]=[t,e,i])},n.amd={jQuery:!0}}(),e.requirejs=t,e.require=i,e.define=n)}(),e.define("almond",function(){}),e.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(t){function e(t){var e=t.prototype,i=[];for(var n in e){"function"==typeof e[n]&&"constructor"!==n&&i.push(n)}return i}var i={Extend:function(t,e){function i(){this.constructor=t}var n={}.hasOwnProperty;for(var o in e)n.call(e,o)&&(t[o]=e[o]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},Decorate:function(t,i){function n(){var e=Array.prototype.unshift,n=i.prototype.constructor.length,o=t.prototype.constructor;n>0&&(e.call(arguments,t.prototype.constructor),o=i.prototype.constructor),o.apply(this,arguments)}var o=e(i),s=e(t);i.displayName=t.displayName,n.prototype=new function(){this.constructor=n};for(var r=0;r<s.length;r++){var a=s[r];n.prototype[a]=t.prototype[a]}for(var l=function(t){var e=function(){};t in n.prototype&&(e=n.prototype[t]);var o=i.prototype[t];return function(){return Array.prototype.unshift.call(arguments,e),o.apply(this,arguments)}},c=0;c<o.length;c++){var d=o[c];n.prototype[d]=l(d)}return n}},n=function(){this.listeners={}};return n.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},n.prototype.trigger=function(t){var e=Array.prototype.slice;this.listeners=this.listeners||{},t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},n.prototype.invoke=function(t,e){for(var i=0,n=t.length;n>i;i++)t[i].apply(this,e)}
1,i.Observable=n,i.generateChars=function(t){for(var e="",i=0;t>i;i++){e+=Math.floor(36*Math.random()).toString(36)}return e},i.bind=function(t,e){return function(){t.apply(e,arguments)}},i._convertData=function(t){for(var e in t){var i=e.split("-"),n=t;if(1!==i.length){for(var o=0;o<i.length;o++){var s=i[o];(s=s.substring(0,1).toLowerCase()+s.substring(1))in n||(n[s]={}),o==i.length-1&&(n[s]=t[e]),n=n[s]}delete t[e]}}return t},i.hasScroll=function(e,i){var n=t(i),o=i.style.overflowX,s=i.style.overflowY;return(o!==s||"hidden"!==s&&"visible"!==s)&&("scroll"===o||"scroll"===s||(n.innerHeight()<i.scrollHeight||n.innerWidth()<i.scrollWidth))},i.escapeMarkup=function(t){var e={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},i.appendMany=function(e,i){if("1.7"===t.fn.jquery.substr(0,3)){var n=t();t.map(i,function(t){n=n.add(t)}),i=n}e.append(i)},i}),e.define("select2/results",["jquery","./utils"],function(t,e){function i(t,e,n){this.$element=t,this.data=n,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(e){var i=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=t('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),o=this.options.get("translations").get(e.message);n.append(i(o(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var i=0;i<t.results.length;i++){var n=t.results[i],o=this.option(n);e.push(o)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(t,e){e.find(".select2-results").append(t)},i.prototype.sort=function(t){return this.options.get("sorter")(t)},i.prototype.setClasses=function(){var e=this;this.data.current(function(i){var n=t.map(i,function(t){return t.id.toString()}),o=e.$results.find(".select2-results__option[aria-selected]");o.each(function(){var e=t(this),i=t.data(this,"data"),o=""+i.id;null!=i.element&&i.element.selected||null==i.element&&t.inArray(o,n)>-1?e.attr("aria-selected","true"):e.attr("aria-selected","false")});var s=o.filter("[aria-selected=true]");s.length>0?s.first().trigger("mouseenter"):o.first().trigger("mouseenter")})},i.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},i=this.option(e);i.className+=" loading-results",this.$results.prepend(i)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(e){var i=document.createElement("li");i.className="select2-results__option";var n={role:"treeitem","aria-selected":"false"};for(var o in e.disabled&&(delete n["aria-selected"],n["aria-disabled"]="true"),null==e.id&&delete n["aria-selected"],null!=e._resultId&&(i.id=e._resultId),e.title&&(i.title=e.title),e.children&&(n.role="group",n["aria-label"]=e.text,delete n["aria-selected"]),n){var s=n[o];i.setAttribute(o,s)}if(e.children){var r=t(i),a=document.createElement("strong");a.className="select2-results__group",t(a),this.template(e,a);for(var l=[],c=0;c<e.children.length;c++){var d=e.children[c],u=this.option(d);l.push(u)}var p=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});p.append(l),r.append(a),r.append(p)}else this.template(e,i);return t.data(i,"data",e),i},i.prototype.bind=function(e,i){var n=this,o=e.id+"-results";this.$results.attr("id",o),e.on("results:all",function(t){n.clear(),n.append(t.data),e.isOpen()&&n.setClasses()}),e.on("results:append",function(t){n.append(t.data),e.isOpen()&&n.setClasses()}),e.on("query",function(t){n.hideMessages(),n.showLoading(t)}
vendor: 4,686 bytes, line 1
1),e.on("select",function(){e.isOpen()&&n.setClasses()}),e.on("unselect",function(){e.isOpen()&&n.setClasses()}),e.on("open",function(){n.$results.attr("aria-expanded","true"),n.$results.attr("aria-hidden","false"),n.setClasses(),n.ensureHighlightVisible()}),e.on("close",function(){n.$results.attr("aria-expanded","false"),n.$results.attr("aria-hidden","true"),n.$results.removeAttr("aria-activedescendant")}),e.on("results:toggle",function(){var t=n.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),e.on("results:select",function(){var t=n.getHighlightedResults();if(0!==t.length){var e=t.data("data");"true"==t.attr("aria-selected")?n.trigger("close",{}):n.trigger("select",{data:e})}}),e.on("results:previous",function(){var t=n.getHighlightedResults(),e=n.$results.find("[aria-selected]"),i=e.index(t);if(0!==i){var o=i-1;0===t.length&&(o=0);var s=e.eq(o);s.trigger("mouseenter");var r=n.$results.offset().top,a=s.offset().top,l=n.$results.scrollTop()+(a-r);0===o?n.$results.scrollTop(0):0>a-r&&n.$results.scrollTop(l)}}),e.on("results:next",function(){var t=n.getHighlightedResults(),e=n.$results.find("[aria-selected]"),i=e.index(t)+1;if(!(i>=e.length)){var o=e.eq(i);o.trigger("mouseenter");var s=n.$results.offset().top+n.$results.outerHeight(!1),r=o.offset().top+o.outerHeight(!1),a=n.$results.scrollTop()+r-s;0===i?n.$results.scrollTop(0):r>s&&n.$results.scrollTop(a)}}),e.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),e.on("results:message",function(t){n.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=n.$results.scrollTop(),i=n.$results.get(0).scrollHeight-e+t.deltaY,o=t.deltaY>0&&e-t.deltaY<=0,s=t.deltaY<0&&i<=n.$results.height();o?(n.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):s&&(n.$results.scrollTop(n.$results.get(0).scrollHeight-n.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(e){var i=t(this),o=i.data("data");return"true"===i.attr("aria-selected")?void(n.options.get("multiple")?n.trigger("unselect",{originalEvent:e,data:o}):n.trigger("close",{})):void n.trigger("select",{originalEvent:e,data:o})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(e){var i=t(this).data("data");n.getHighlightedResults().removeClass("select2-results__option--highlighted"),n.trigger("results:focus",{data:i,element:t(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),i=this.$results.offset().top,n=t.offset().top,o=this.$results.scrollTop()+(n-i),s=n-i;o-=2*t.outerHeight(!1),2>=e?this.$results.scrollTop(0):(s>this.$results.outerHeight()||0>s)&&this.$results.scrollTop(o)}},i.prototype.template=function(e,i){var n=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),s=n(e,i);null==s?i.style.display="none":"string"==typeof s?i.innerHTML=o(s):t(i).append(s)},i}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(t,e,i){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),this.$selection=e,e},n.prototype.bind=function(t,e){var n=this,o=(t.id,t.id+"-results");this.container=t,this.$selection.on("focus",function(t){n.trigger("focus",t)}),this.$selection.on("blur",function(t){n._handleBlur(t)}),this.$selection.on("keydown",function(t){n.trigger("keypress",t),t.which===i.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){n.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){n.update(t.data)}),t.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",o),n._attachCloseHandler(t)}),t.on("close",function(){n.$selection.attr("aria-expanded","fal
1se"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.focus(),n._detachCloseHandler(t)}),t.on("enable",function(){n.$selection.attr("tabindex",n._tabindex)}),t.on("disable",function(){n.$selection.attr("tabindex","-1")})},n.prototype._handleBlur=function(e){var i=this;window.setTimeout(function(){document.activeElement==i.$selection[0]||t.contains(i.$selection[0],document.activeElement)||i.trigger("blur",e)},1)},n.prototype._attachCloseHandler=function(e){t(document.body).on("mousedown.select2."+e.id,function(e){var i=t(e.target).closest(".select2");t(".select2.select2-container--open").each(function(){var e=t(this);this!=i[0]&&e.data("element").select2("close")})})},n.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},n.prototype.position=function(t,e){e.find(".selection").append(t)},n.prototype.destroy=function(){this._detachCloseHandler(this.container)},n.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},n}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,i,n){function o(){o.__super__.constructor.apply(this,arguments)}return i.Extend(o,e),o.prototype.render=function(){var t=o.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},o.prototype.bind=function(t,e){var i=this;o.__super__.bind.apply(this,arguments);var n=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(t){1===t.which&&i.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),t.on("selection:update",function(t){i.update(t.data)})},o.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},o.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},o.prototype.selectionContainer=function(){return t("<span></span>")},o.prototype.update=function(t){if(0!==t.length){var e=t[0],i=this.$selection.find(".select2-selection__rendered"),n=this.display(e,i);i.empty().append(n),i.prop("title",e.title||e.text)}else this.clear()},o}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,i){function n(t,e){n.__super__.constructor.apply(this,arguments)}return i.Extend(n,e),n.prototype.render=function(){var t=n.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},n.prototype.bind=function(e,i){var o=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){o.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!o.options.get("disabled")){var i=t(this).parent().data("data");o.trigger("unselect",{originalEvent:e,data:i})}})},n.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},n.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},n.prototype.selectionContainer=function(){return t('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation"><span class="select2-selection_icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M193.94 256 296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z"/></svg></span></span></li>')},n.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],n=0;n<t.length;n++){var o=t[n],s=this.selectionContainer(),r=this.display(o,s);s.append(r),s.prop("title",o.title||o.text),s.data("data",o),e.push(s)}var a=this.$selection.find(".select2-selection__rendered");i.appendMany(a,e)}},n}),e.define("select2/selection/placeholder",["../utils"],function(t){function e(t,e,i){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i)}return e.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},e.prototype.createPlaceholder=function(t,e){var i=this.selectionContainer();return i.html(this.display(e)),i.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),i},e.prototype.update=function(t,e){var i=1==e.length&&e[0].id!=this.placeholder.id;if(e.length>1||i)return t.call(this,e);this.clear();var n=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(n)},e}
vendor: 5,631 bytes, line 1
1),e.define("select2/selection/allowClear",["jquery","../keys"],function(t,e){function i(){}return i.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){n._handleClear(t)}),e.on("keypress",function(t){n._handleKeyboardClear(t,e)})},i.prototype._handleClear=function(t,e){if(!this.options.get("disabled")){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){e.stopPropagation();for(var n=i.data("data"),o=0;o<n.length;o++){var s={data:n[o]};if(this.trigger("unselect",s),s.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},i.prototype._handleKeyboardClear=function(t,i,n){n.isOpen()||(i.which==e.DELETE||i.which==e.BACKSPACE)&&this._handleClear(i)},i.prototype.update=function(e,i){if(e.call(this,i),!(this.$selection.find(".select2-selection__placeholder").length>0||0===i.length)){var n=t('<span class="select2-selection__clear">×</span>');n.data("data",i),this.$selection.find(".select2-selection__rendered").prepend(n)}},i}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,i){function n(t,e,i){t.call(this,e,i)}return n.prototype.render=function(e){var i=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=i,this.$search=i.find("input");var n=e.call(this);return this._transferTabIndex(),n},n.prototype.bind=function(t,e,n){var o=this;t.call(this,e,n),e.on("open",function(){o.$search.trigger("focus")}),e.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")}),e.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex()}),e.on("disable",function(){o.$search.prop("disabled",!0)}),e.on("focus",function(t){o.$search.trigger("focus")}),e.on("results:focus",function(t){o.$search.attr("aria-activedescendant",t.id)}),this.$selection.on("focusin",".select2-search--inline",function(t){o.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){o._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented(),t.which===i.BACKSPACE&&""===o.$search.val()){var e=o.$searchContainer.prev(".select2-selection__choice");if(e.length>0){var n=e.data("data");o.searchRemoveChoice(n),t.preventDefault()}}});var s=document.documentMode,r=s&&11>=s;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){return r?void o.$selection.off("input.search input.searchcheck"):void o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(r&&"input"===t.type)o.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=i.SHIFT&&e!=i.CTRL&&e!=i.ALT&&e!=i.TAB&&o.handleSearch(t)}})},n.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},n.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},n.prototype.update=function(t,e){var i=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),i&&this.$search.focus()},n.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},n.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";""!==this.$search.attr("placeholder")?t=this.$selection.find(".select2-selection__rendered").innerWidth():t=.75*(this.$search.val().length+1)+"em";this.$search.css("width",t)},n}),e.define("select2/selection/eventRelay",["jquery"],function(t){function e(){}return e.prototype.bind=function(e,i,n){var o=this,s=["open","opening","close","closing","select","selecting","unselect","unselecting"],r=["opening","closing","selecting","unselecting"];e.call(this,i,n),i.on("*",function(e,i){if(-1!==t.inArray(e,s)){i=i||{};var n=t.Event("select2:"+e,{params:i});o.$element.trigger(n),-1!==t.inArray(e,r)&&(i.prevented=n.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,e){function i(t){this.dict=t||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(t){return this.dict[t]},i.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},i._cache={},i.loadPath=function(t){if(!(t in i._cache)){var n=e(t);i._cache[t]=n}return new i(i._cache[t])},i}),e.define("select2/diacritics",[],function(){return{"ââ¶":"A","A":"A","Ãâ¬":"A","ÃÂ":"A","Ãâ":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","ÃÆ":"A","Ãâ¬":"A","Ãâ":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","æ":"A","à ":"A","Ãâ":"A","Þ":"A","Ả":"A","Ãâ¦":"A","ú":"A","ÃÂ":"A","Ãâ¬":"A","Ãâ":"A","Ạ":"A","Ậ":"A","Ặ":"A","á¸â¬":"A","Ãâ":"A","ú":"A","Ɐ":"A","êŲ":"AA","Ãâ "
1:"AE","ü":"AE","â":"AE","êÅ´":"AO","êŶ":"AU","êŸ":"AV","êź":"AV","êż":"AY","ââ·":"B","ï¼¢":"B","á¸â":"B","á¸â":"B","á¸â ":"B","ÃÆ":"B","Ãâ":"B","ÃÂ":"B","ââ¸":"C","ï¼£":"C","Ãâ ":"C","ÃË":"C","ÃÅ ":"C","ÃÅ":"C","Ãâ¡":"C","á¸Ë":"C","Ãâ¡":"C","û":"C","êž":"C","ââ¹":"D","D":"D","Ḋ":"D","ÃŽ":"D","á¸Å":"D","á¸Â":"D","á¸â":"D","Ḏ":"D","ÃÂ":"D","Ãâ¹":"D","ÃÅ ":"D","Ãâ°":"D","ê¹":"D","ñ":"DZ","Ãâ":"DZ","ò":"Dz","Ãâ¦":"Dz","ââº":"E","ï¼¥":"E","ÃË":"E","Ãâ°":"E","ÃÅ ":"E","á»â¬":"E","Ế":"E","á»â":"E","á»â":"E","Ẽ":"E","Ãâ":"E","á¸â":"E","á¸â":"E","Ãâ":"E","Ãâ":"E","Ãâ¹":"E","Ẻ":"E","ÃÅ¡":"E","Ãâ":"E","Ãâ ":"E","Ẹ":"E","á»â ":"E","è":"E","á¸Å":"E","ÃË":"E","á¸Ë":"E","Ḛ":"E","ÃÂ":"E","ÃŽ":"E","ââ»":"F","F":"F","Ḟ":"F","Ãâ":"F","ê»":"F","ââ¼":"G","ï¼§":"G","ô":"G","ÃÅ":"G","Ḡ":"G","Þ":"G","à ":"G","æ":"G","â":"G","ä":"G","Ãâ":"G","êž ":"G","ê½":"G","ê¾":"G","ââ½":"H","H":"H","ä":"H","Ḣ":"H","Ḧ":"H","Þ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","æ":"H","â±§":"H","â±µ":"H","êžÂ":"H","ââ¾":"I","I":"I","ÃÅ":"I","ÃÂ":"I","ÃŽ":"I","è":"I","ê":"I","ì":"I","ð":"I","ÃÂ":"I","Ḯ":"I","á»Ë":"I","ÃÂ":"I","ÃË":"I","ÃÅ ":"I","Ị":"I","î":"I","Ḭ":"I","Ãâ":"I","ââ¿":"J","J":"J","ô":"J","ÃË":"J","âââ¬":"K","K":"K","Ḱ":"K","è":"K","Ḳ":"K","ö":"K","Ḵ":"K","ÃË":"K","Ⱪ":"K","êÂâ¬":"K","êÂâ":"K","êÂâ":"K","Ꞣ":"K","ââÂ":"L","L":"L","ÿ":"L","ù":"L","ý":"L","Ḷ":"L","Ḹ":"L","û":"L","Ḽ":"L","Ḻ":"L","Ã
Â":"L","ý":"L","â±¢":"L","â± ":"L","êÂË":"L","êÂâ ":"L","êžâ¬":"L","Ãâ¡":"LJ","ÃË":"Lj","âââ":"M","ï¼Â":"M","Ḿ":"M","á¹â¬":"M","á¹â":"M","â±®":"M","ÃÅ":"M","ââÆ":"N","ï¼®":"N","ø":"N","Ã
Æ":"N","Ãâ":"N","á¹â":"N","Ã
â¡":"N","á¹â ":"N","Ã
â¦":"N","Ṋ":"N","á¹Ë":"N","à ":"N","ÃÂ":"N","êžÂ":"N","Ꞥ":"N","ÃÅ ":"NJ","Ãâ¹":"Nj","âââ":"O","O":"O","Ãâ":"O","Ãâ":"O","Ãâ":"O","á»â":"O","á»Â":"O","á»â":"O","á»â":"O","Ãâ¢":"O","á¹Å":"O","ì":"O","Ṏ":"O","Ã
Å":"O","á¹Â":"O","á¹â":"O","Ã
Ž":"O","î":"O","ð":"O","Ãâ":"O","ê":"O","Ỏ":"O","Ã
Â":"O","Ãâ":"O","ÃÅ":"O","ÃŽ":"O","à ":"O","á»Å":"O","Ớ":"O","á» ":"O","Ở":"O","Ợ":"O","á»Å":"O","á»Ë":"O","ê":"O","ì":"O","ÃË":"O","þ":"O","Ãâ ":"O","ß":"O","êÂÅ ":"O","êÂÅ":"O","â":"OI","êÂŽ":"OO","â":"OU","âââ¦":"P","ï¼°":"P","á¹â":"P","á¹â":"P","ä":"P","â±£":"P","êÂÂ":"P","êÂâ":"P","êÂâ":"P","âââ ":"Q","ï¼±":"Q","êÂâ":"Q","êÂË":"Q","ÃÅ ":"Q","âââ¡":"R","ï¼²":"R","Ã
â":"R","á¹Ë":"R","Ã
Ë":"R","ÃÂ":"R","Ãâ":"R","Ṛ":"R","á¹Å":"R","Ã
â":"R","Ṟ":"R","ÃÅ":"R","Ɽ":"R","êÂÅ¡":"R","Ꞧ":"R","êžâ":"R","ââË":"S","ï¼³":"S","ẞ":"S","Ã
Å¡":"S","Ṥ":"S","Ã
Å":"S","á¹ ":"S","Ã
":"S","Ṧ":"S","á¹¢":"S","Ṩ":"S","ÃË":"S","Ã
ž":"S","â±¾":"S","Ꞩ":"S","êžâ":"S","âââ°":"T","ï¼´":"T","Ṫ":"T","Ã
¤":"T","Ṭ":"T","ÃÅ¡":"T","Ã
¢":"T","á¹°":"T","á¹®":"T","Ã
¦":"T","ì":"T","î":"T","þ":"T","êžâ ":"T","êŨ":"TZ","ââÅ ":"U","ï¼µ":"U","Ãâ¢":"U","ÃÅ¡":"U","Ãâº":"U","Ã
¨":"U","Ṹ":"U","Ã
ª":"U","Ṻ":"U","Ã
¬":"U","ÃÅ":"U","Ãâº":"U","Ãâ":"U","Ãâ¢":"U","Ãâ¢":"U","Ủ":"U","Ã
®":"U","Ã
°":"U","Ãâ":"U","Ãâ":"U","Ãâ":"U","ï":"U","Ừ":"U","Ứ":"U","á»®":"U","Ử":"U","á»°":"U","Ụ":"U","á¹²":"U","Ã
²":"U","á¹¶":"U","á¹´":"U","Ãâ":"U","âââ¹":"V","ï¼¶":"V","á¹¼":"V","á¹¾":"V","ò":"V","êž":"V","Ãâ¦":"V","ê ":"VY","ââÅ":"W","ï¼·":"W","áºâ¬":"W","áºâ":"W","Ã
´":"W","áºâ ":"W","áºâ":"W","áºË":"W","â±²":"W","ââÂ":"X","X":"X","Ẋ":"X","áºÅ":"X","ââŽ":"Y","ï¼¹":"Y","Ỳ":"Y","ÃÂ":"Y","Ã
¶":"Y","Ỹ":"Y","ò":"Y","Ẏ":"Y","Ã
¸":"Y","á»¶":"Y","á»´":"Y","ó":"Y","ÃŽ":"Y","Ỿ":"Y","ââÂ":"Z","Z":"Z","Ã
¹":"Z","áºÂ":"Z","Ã
»":"Z","Ã
½":"Z","áºâ":"Z","áºâ":"Z","õ":"Z","ä":"Z","Ɀ":"Z","Ⱬ":"Z","ê¢":"Z","ââÂ":"a","ï½Â":"a","ẚ":"a","à ":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ÃÂ":"a","ÃÆ":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ç":"a","á":"a","ä":"a","ß":"a","ả":"a","ÃÂ¥":"a","û":"a","ÃŽ":"a","ÃÂ":"a","ÃÆ":"a","ạ":"a","áºÂ":"a","ặ":"a","á¸Â":"a","Ãâ¦":"a","â±¥":"a","ÃÂ":"a","êų":"aa","æ":"ae","ý":"ae","ã":"ae","êŵ":"ao","êÅ·":"au","êŹ":"av","êÅ»":"av","êŽ":"ay","âââ":"b","ï½â":"b","á¸Æ":"b","á¸â¦":"b","á¸â¡":"b","Ãâ¬":"b","ÃÆ":"b","Ãâ":"b","âââ":"c","ï½Æ":"c","Ãâ¡":"c","Ãâ°":"c","Ãâ¹":"c","ÃÂ":"c","ç":"c","á¸â°":"c","ÃË":"c","ü":"c","êÅ¿":"c","ââ â":"c","âââ":"d","ï½â":"d","á¸â¹":"d","ÃÂ":"d","á¸Â":"d","á¸â":"d","á¸â":"d","á¸Â":"d","Ãâ":"d","ÃÅ":"d","Ãâ":"d","Ãâ":"d","êº":"d","ó":"dz","Ãâ ":"dz","âââ":"e","ï½â¦":"e","è":"e","é":"e","ê":"e","á»Â":"e","ế":"e","á»â¦":"e","á»Æ":"e","ẽ":"e","Ãâ":"e","á¸â¢":"e","á¸â":"e","Ãâ¢":"e","Ãâ":"e","ë":"e","ẻ":"e","Ãâº":"e","Ãâ¦":"e","Ãâ¡":"e","ẹ":"e","á»â¡":"e","é":"e","á¸Â":"e","Ãâ¢":"e","á¸â¢":"e","á¸âº":"e","Ãâ¡":"e","Ãâº":"e","ÃÂ":"e","âââ¢":"f","ï½â ":"f","ḟ":"f","Ãâ":"f","ê¼":"f","âââ":"g","ï½â¡":"g","õ":"g","ÃÂ":"g","ḡ":"g","ß":"g","á":"g","ç":"g","ã":"g","ÃÂ¥":"g","à ":"g","êž¡":"g","áµ¹":"g","ê¿":"g","âââ":"h","ï½Ë":"h","ÃÂ¥":"h","ḣ":"h","ḧ":"h","ß":"h","ḥ":"h","ḩ":"h","ḫ":"h","áºâ":"h","ç":"h","ⱨ":"h","â±¶":"h","ÃÂ¥"
1:"h","Ãâ¢":"hv","ââË":"i","ï½â°":"i","ì":"i","ÃÂ":"i","î":"i","é":"i","ë":"i","ÃÂ":"i","ï":"i","ḯ":"i","á»â°":"i","ÃÂ":"i","Ãâ°":"i","Ãâ¹":"i","á»â¹":"i","ï":"i","á¸Â":"i","è":"i","ñ":"i","âââ¢":"j","j":"j","õ":"j","ð":"j","Ãâ°":"j","ââÅ¡":"k","ï½â¹":"k","ḱ":"k","é":"k","ḳ":"k","÷":"k","ḵ":"k","Ãâ¢":"k","ⱪ":"k","êÂÂ":"k","ÃªÂÆ":"k","êÂâ¦":"k","ꞣ":"k","âââº":"l","ï½Å":"l","Ã
â¬":"l","ú":"l","þ":"l","ḷ":"l","ḹ":"l","ü":"l","ḽ":"l","ḻ":"l","Ã
¿":"l","Ã
â":"l","ÃÅ¡":"l","ë":"l","ⱡ":"l","êÂâ°":"l","êžÂ":"l","êÂâ¡":"l","Ãâ°":"lj","ââÅ":"m","ï½Â":"m","ḿ":"m","á¹Â":"m","á¹Æ":"m","ñ":"m","ï":"m","ââÂ":"n","n":"n","ù":"n","Ã
â":"n","ñ":"n","á¹â¦":"n","Ã
Ë":"n","á¹â¡":"n","Ã
â ":"n","á¹â¹":"n","á¹â°":"n","Þ":"n","ò":"n","Ã
â°":"n","êžâ":"n","ꞥ":"n","ÃÅ":"nj","ââž":"o","ï½Â":"o","ò":"o","ó":"o","ô":"o","á»â":"o","á»â":"o","á»â":"o","á»â¢":"o","õ":"o","á¹Â":"o","ÃÂ":"o","á¹Â":"o","Ã
Â":"o","á¹â":"o","á¹â":"o","Ã
Â":"o","ï":"o","ñ":"o","ö":"o","ë":"o","á»Â":"o","Ã
â":"o","Ãâ":"o","ÃÂ":"o","ÃÂ":"o","á":"o","á»Â":"o","á»âº":"o","ỡ":"o","ở":"o","ợ":"o","á»Â":"o","á»â¢":"o","ë":"o","ÃÂ":"o","ø":"o","ÿ":"o","Ãâ":"o","êÂâ¹":"o","êÂÂ":"o","õ":"o","ã":"oi","ã":"ou","êÂÂ":"oo","ââŸ":"p","ï½Â":"p","á¹â¢":"p","á¹â":"p","ÃÂ¥":"p","áµ½":"p","êÂâ":"p","êÂâ":"p","êÂâ¢":"p","ââ ":"q","ï½â":"q","Ãâ¹":"q","êÂâ":"q","êÂâ¢":"q","ââ¡":"r","ï½â":"r","Ã
â¢":"r","á¹â¢":"r","Ã
â¢":"r","Ãâ":"r","Ãâ":"r","á¹âº":"r","á¹Â":"r","Ã
â":"r","ṟ":"r","ÃÂ":"r","ý":"r","êÂâº":"r","êž§":"r","êžÆ":"r","ââ¢":"s","ï½â":"s","ß":"s","Ã
âº":"s","á¹¥":"s","Ã
Â":"s","ṡ":"s","Ã
¡":"s","á¹§":"s","á¹£":"s","ṩ":"s","Ãâ¢":"s","Ã
Ÿ":"s","ÿ":"s","êž©":"s","êžâ¦":"s","áºâº":"s","ââ£":"t","ï½â":"t","ṫ":"t","áºâ":"t","Ã
Â¥":"t","á¹Â":"t","Ãâº":"t","Ã
£":"t","á¹±":"t","ṯ":"t","Ã
§":"t","ÃÂ":"t","ÃË":"t","ⱦ":"t","êžâ¡":"t","êÅ©":"tz","ââ¤":"u","ï½â¢":"u","ù":"u","ú":"u","û":"u","Ã
©":"u","á¹¹":"u","Ã
«":"u","á¹»":"u","Ã
Â":"u","ü":"u","ÃÅ":"u","ÃË":"u","Ãâ":"u","ÃÅ¡":"u","á»§":"u","Ã
¯":"u","Ã
±":"u","Ãâ":"u","Ãâ¢":"u","Ãâ":"u","ð":"u","ừ":"u","ứ":"u","ữ":"u","á»Â":"u","á»±":"u","ụ":"u","á¹³":"u","Ã
³":"u","á¹·":"u","á¹µ":"u","Ãâ°":"u","ââÂ¥":"v","ï½â":"v","á¹½":"v","ṿ":"v","Ãâ¹":"v","êŸ":"v","ÃÅ":"v","ê¡":"vy","ââ¦":"w","ï½â":"w","áºÂ":"w","áºÆ":"w","Ã
µ":"w","áºâ¡":"w","áºâ¦":"w","áºË":"w","áºâ°":"w","â±³":"w","ââ§":"x","ï½Ë":"x","áºâ¹":"x","áºÂ":"x","ââ¨":"y","ï½â¢":"y","ỳ":"y","ý":"y","Ã
·":"y","ỹ":"y","ó":"y","áºÂ":"y","ÿ":"y","á»·":"y","áºâ¢":"y","ỵ":"y","ô":"y","ÃÂ":"y","ỿ":"y","ââ©":"z","z":"z","Ã
º":"z","áºâ":"z","Ã
¼":"z","Ã
¾":"z","áºâ":"z","áºâ¢":"z","ö":"z","ÃÂ¥":"z","Ãâ¬":"z","ⱬ":"z","ê£":"z","Ãâ ":"Ãâ","ÃË":"Ãâ¢","Ãâ°":"Ãâ","ÃÅ ":"Ãâ¢","ê":"Ãâ¢","ÃÅ":"ß","ÃŽ":"ÃÂ¥","ë":"ÃÂ¥","ÃÂ":"é","ì":"ñ","ÃÂ":"õ","î":"÷","ï":"ù","ÃÅ ":"ù","ÃÂ":"ù","ÃÅ":"ÿ","ÃÂ":"Ãâ¦","Ãâ¹":"Ãâ¦","ð":"Ãâ¦","Ãâ°":"Ãâ°","Ãâ":"ÃÆ"}}),e.define("select2/data/base",["../utils"],function(t){function e(t,i){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(t,e){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,i){var n=e.id+"-result-";return(n+=t.generateChars(4))+(null!=i.id?"-"+i.id.toString():"-"+t.generateChars(4))},e}),e.define("select2/data/select",["./base","../utils","jquery"],function(t,e,
1i){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,t),n.prototype.current=function(t){var e=[],n=this;this.$element.find(":selected").each(function(){var t=i(this),o=n.item(t);e.push(o)}),t(e)},n.prototype.select=function(t){var e=this;if(t.selected=!0,i(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(n){var o=[];(t=[t]).push.apply(t,n);for(var s=0;s<t.length;s++){var r=t[s].id;-1===i.inArray(r,o)&&o.push(r)}e.$element.val(o),e.$element.trigger("change")});else{var n=t.id;this.$element.val(n),this.$element.trigger("change")}},n.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple"))return t.selected=!1,i(t.element).is("option")?(t.element.selected=!1,void this.$element.trigger("change")):void this.current(function(n){for(var o=[],s=0;s<n.length;s++){var r=n[s].id;r!==t.id&&-1===i.inArray(r,o)&&o.push(r)}e.$element.val(o),e.$element.trigger("change")})},n.prototype.bind=function(t,e){var i=this;this.container=t,t.on("select",function(t){i.select(t.data)}),t.on("unselect",function(t){i.unselect(t.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){i.removeData(this,"data")})},n.prototype.query=function(t,e){var n=[],o=this;this.$element.children().each(function(){var e=i(this);if(e.is("option")||e.is("optgroup")){var s=o.item(e),r=o.matches(t,s);null!==r&&n.push(r)}}),e({results:n})},n.prototype.addOptions=function(t){e.appendMany(this.$element,t)},n.prototype.option=function(t){var e;t.children?(e=document.createElement("optgroup")).label=t.text:void 0!==(e=document.createElement("option")).textContent?e.textContent=t.text:e.innerText=t.text,t.id&&(e.value=t.id),t.disabled&&(e.disabled=!0),t.selected&&(e.selected=!0),t.title&&(e.title=t.title);var n=i(e),o=this._normalizeItem(t);return o.element=e,i.data(e,"data",o),n},n.prototype.item=function(t){var e={};if(null!=(e=i.data(t[0],"data")))return e;if(t.is("option"))e={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){e={text:t.prop("label"),children:[],title:t.prop("title")};for(var n=t.children("option"),o=[],s=0;s<n.length;s++){var r=i(n[s]),a=this.item(r);o.push(a)}e.children=o}return(e=this._normalizeItem(e)).element=t[0],i.data(t[0],"data",e),e},n.prototype._normalizeItem=function(t){i.isPlainObject(t)||(t={id:t,text:t});return null!=(t=i.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),i.extend({},{selected:!1,disabled:!1},t)},n.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},n}),e.define("select2/data/array",["./select","../utils","jquery"],function(t,e,i){function n(t,e){var i=e.get("data")||[];n.__super__.constructor.call(this,t,e),this.addOptions(this.convertToOptions(i))}return e.Extend(n,t),n.prototype.select=function(t){var e=this.$element.find("option").filter(function(e,i){return i.value==t.id.toString()});0===e.length&&(e=this.option(t),this.addOptions(e)),n.__super__.select.call(this,t)},n.prototype.convertToOptions=function(t){function n(t){return function(){return i(this).val()==t.id}}for(var o=this,s=this.$element.find("option"),r=s.map(function(){return o.item(i(this)).id}).get(),a=[],l=0;l<t.length;l++){var c=this._normalizeItem(t[l]);if(i.inArray(c.id,r)>=0){var d=s.filter(n(c)),u=this.item(d),p=i.extend(!0,{},c,u),h=this.option(p);d.replaceWith(h)}else{var f=this.option(c);if(c.children){var m=this.convertToOptions(c.children);e.appendMany(f,m)}a.push(f)}}return a},n}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,i){function n(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,t,e)}return e.Extend(n,t),n.prototype._applyDefaults=function(t){var e={data:function(t){return i.extend({},t,{q:t.term})},transport:function(t,e,n){var o=i.ajax(t);return o.then(e),o.fail(n),o}};return i.extend({},e,t,!0)},n.prototype.processResults=function(t){return t},n.prototype.query=function(t,e){function n(){var n=s.transport(s,function(n){var s=o.processResults(n,t);o.options.get("debug")&&window.console&&console.error&&(s&&s.results&&i.isArray(s.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(s)},function(){o.trigger("results:message",{message:"errorLoading"})});o._request=n}var o=this;null!=this._request&&(i.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var s=i.extend({type:"GET"},this.ajaxOptions);"function"==typeof s.url&&(s.url=s.url.call(this.$element,t)),"function"==typeof s.data&&(s.data=s.data.call(this.$element,t)),this.ajaxOptions.delay&&""!==t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(n,this.ajaxOptions.delay)):n()},n}),e.define("select2/data/tags",["jquery"],function(t){function e(e,i,n){var o=n.get("tags"),s=n.get("createTag");void 0!==s&&(this.createTag=s);var r=n.get("insertTag");if(void 0!==r&&(this.insertTag=r),e.call(this,i,n),t.isArray(o))for(var a=0;a<o.length;a++){var l=o[a],c=this._normalizeItem(l),d=this.option(c);this.$element.append(d)}}
1return e.prototype.query=function(t,e,i){var n=this;return this._removeOldTags(),null==e.term||null!=e.page?void t.call(this,e,i):void t.call(this,e,function t(o,s){for(var r=o.results,a=0;a<r.length;a++){var l=r[a],c=null!=l.children&&!t({results:l.children},!0);if(l.text===e.term||c)return!s&&(o.data=r,void i(o))}if(s)return!0;var d=n.createTag(e);if(null!=d){var u=n.option(d);u.attr("data-select2-tag",!0),n.addOptions([u]),n.insertTag(r,d)}o.results=r,i(o)})},e.prototype.createTag=function(e,i){var n=t.trim(i.term);return""===n?null:{id:n,text:n}},e.prototype.insertTag=function(t,e,i){e.unshift(i)},e.prototype._removeOldTags=function(e){(this._lastTag,this.$element.find("option[data-select2-tag]")).each(function(){this.selected||t(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(t){function e(t,e,i){var n=i.get("tokenizer");void 0!==n&&(this.tokenizer=n),t.call(this,e,i)}return e.prototype.bind=function(t,e,i){t.call(this,e,i),this.$search=e.dropdown.$search||e.selection.$search||i.find(".select2-search__field")},e.prototype.query=function(t,e,i){var n=this;e.term=e.term||"";var o=this.tokenizer(e,this.options,function(t){n.trigger("select",{data:t})});o.term!==e.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.focus()),e.term=o.term),t.call(this,e,i)},e.prototype.tokenizer=function(e,i,n,o){for(var s=n.get("tokenSeparators")||[],r=i.term,a=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};a<r.length;){var c=r[a];if(-1!==t.inArray(c,s)){var d=r.substr(0,a),u=l(t.extend({},i,{term:d}));null!=u?(o(u),r=r.substr(a+1)||"",a=0):a++}else a++}return{term:r}},e}),e.define("select2/data/minimumInputLength",[],function(){function t(t,e,i){this.minimumInputLength=i.get("minimumInputLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){return e.term=e.term||"",e.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):void t.call(this,e,i)},t}),e.define("select2/data/maximumInputLength",[],function(){function t(t,e,i){this.maximumInputLength=i.get("maximumInputLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){return e.term=e.term||"",this.maximumInputLength>0&&e.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):void t.call(this,e,i)},t}),e.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,i){this.maximumSelectionLength=i.get("maximumSelectionLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){var n=this;this.current(function(o){var s=null!=o?o.length:0;return n.maximumSelectionLength>0&&s>=n.maximumSelectionLength?void n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):void t.call(n,e,i)})},t}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},i.prototype.bind=function(){},i.prototype.position=function(t,e){},i.prototype.destroy=function(){this.$dropdown.remove()},i}),e.define("select2/dropdown/search",["jquery","../utils"],function(t,e){function i(){}return i.prototype.render=function(e){var i=e.call(this),n=t('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),i.prepend(n),i},i.prototype.bind=function(e,i,n){var o=this;e.call(this,i,n),this.$search.on("keydown",function(t){o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(e){t(this).off("keyup")}),this.$search.on("keyup input",function(t){o.handleSearch(t)}),i.on("open",function(){o.$search.attr("tabindex",0),o.$search.focus(),window.setTimeout(function(){o.$search.focus()},0)}),i.on("close",function(){o.$search.attr("tabindex",-1),o.$search.val("")}
1),i.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(o.showSearch(t)?o.$searchContainer.removeClass("select2-search--hide"):o.$searchContainer.addClass("select2-search--hide"))})},i.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},i.prototype.showSearch=function(t,e){return!0},i}),e.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,i,n){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i,n)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var i=e.slice(0),n=e.length-1;n>=0;n--){var o=e[n];this.placeholder.id===o.id&&i.splice(n,1)}return i},t}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(t){function e(t,e,i,n){this.lastParams={},t.call(this,e,i,n),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&this.$results.append(this.$loadingMore)},e.prototype.bind=function(e,i,n){var o=this;e.call(this,i,n),i.on("query",function(t){o.lastParams=t,o.loading=!0}),i.on("query:append",function(t){o.lastParams=t,o.loading=!0}),this.$results.on("scroll",function(){var e=t.contains(document.documentElement,o.$loadingMore[0]);!o.loading&&e&&(o.$results.offset().top+o.$results.outerHeight(!1)+50>=o.$loadingMore.offset().top+o.$loadingMore.outerHeight(!1)&&o.loadMore())})},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),i=this.options.get("translations").get("loadingMore");return e.html(i(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function i(e,i,n){this.$dropdownParent=n.get("dropdownParent")||t(document.body),e.call(this,i,n)}return i.prototype.bind=function(t,e,i){var n=this,o=!1;t.call(this,e,i),e.on("open",function(){n._showDropdown(),n._attachPositioningHandler(e),o||(o=!0,e.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}))}),e.on("close",function(){n._hideDropdown(),n._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},i.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},i.prototype.position=function(t,e,i){e.attr("class",i.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=i},i.prototype.render=function(e){var i=t("<span></span>"),n=e.call(this);return i.append(n),this.$dropdownContainer=i,i},i.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},i.prototype._attachPositioningHandler=function(i,n){var o=this,s="scroll.select2."+n.id,r="resize.select2."+n.id,a="orientationchange.select2."+n.id,l=this.$container.parents().filter(e.hasScroll);l.each(function(){t(this).data("select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}),l.on(s,function(e){var i=t(this).data("select2-scroll-position");t(this).scrollTop(i.y)}),t(window).on(s+" "+r+" "+a,function(t){o._positionDropdown(),o._resizeDropdown()})},i.prototype._detachPositioningHandler=function(i,n){var o="scroll.select2."+n.id,s="resize.select2."+n.id,r="orientationchange.select2."+n.id;this.$container.parents().filter(e.hasScroll).off(o),t(window).off(o+" "+s+" "+r)},i.prototype._positionDropdown=function(){var e=t(window),i=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),o=null,s=this.$container.offset();s.bottom=s.top+this.$container.outerHeight(!1);var r={height:this.$container.outerHeight(!1)};r.top=s.top,r.bottom=s.top+r.height;var a=this.$dropdown.outerHeight(!1),l=e.scrollTop(),c=e.scrollTop()+e.height(),d=l<s.top-a,u=c>s.bottom+a,p={left:s.left,top:r.bottom},h=this.$dropdownParent;"static"===h.css("position")&&(h=h.offsetParent());var f=h.offset();p.top-=f.top,p.left-=f.left,i||n||(o="below"),u||!d||i?!d&&u&&i&&(o="below"):o="above",("above"==o||i&&"below"!==o)&&(p.top=r.top-a),null!=o&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+o),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+o)),this.$dropdownContainer.css(p)},i.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.width="auto"),this.$dropdown.css(t)},i.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},i}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(e){for(var i=0,n=0;n<e.length;n++){var o=e[n];o.children?i+=t(o.children):i++}return i}function e(t,e,i,n){this.minimumResultsForSearch=i.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,i,n)}return e.prototype.showSearch=function(e,i){return!(t(i.data.results)<this.minimumResultsForSearch)&&e.call(this,i)},e}),e.define("select2/dropdown/selectOnClose",[],function(){function t(){}
vendor: 4,709 bytes, line 1
1return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("close",function(){n._handleSelectOnClose()})},t.prototype._handleSelectOnClose=function(){var t=this.getHighlightedResults();if(!(t.length<1)){var e=t.data("data");null!=e.element&&e.element.selected||null==e.element&&e.selected||this.trigger("select",{data:e})}},t}),e.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("select",function(t){n._selectTriggered(t)}),e.on("unselect",function(t){n._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var i=e.originalEvent;i&&i.ctrlKey||this.trigger("close",{})},t}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,i="Please delete "+e+" character";return 1!=e&&(i+="s"),i},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more resultsââ¬Â¦"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(t,e,i,n,o,s,r,a,l,c,d,u,p,h,f,m,g,v,y,w,b,x,$,S,C,_,E,T,I){function k(){this.reset()}return k.prototype.apply=function(u){if(null==(u=t.extend(!0,{},this.defaults,u)).dataAdapter){if(null!=u.ajax?u.dataAdapter=f:null!=u.data?u.dataAdapter=h:u.dataAdapter=p,u.minimumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,v)),u.maximumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,y)),u.maximumSelectionLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,w)),u.tags&&(u.dataAdapter=c.Decorate(u.dataAdapter,m)),(null!=u.tokenSeparators||null!=u.tokenizer)&&(u.dataAdapter=c.Decorate(u.dataAdapter,g)),null!=u.query){var I=e(u.amdBase+"compat/query");u.dataAdapter=c.Decorate(u.dataAdapter,I)}if(null!=u.initSelection){var k=e(u.amdBase+"compat/initSelection");u.dataAdapter=c.Decorate(u.dataAdapter,k)}}if(null==u.resultsAdapter&&(u.resultsAdapter=i,null!=u.ajax&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,S)),null!=u.placeholder&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,$)),u.selectOnClose&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,E))),null==u.dropdownAdapter){if(u.multiple)u.dropdownAdapter=b;else{var L=c.Decorate(b,x);u.dropdownAdapter=L}if(0!==u.minimumResultsForSearch&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,_)),u.closeOnSelect&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,T)),null!=u.dropdownCssClass||null!=u.dropdownCss||null!=u.adaptDropdownCssClass){var A=e(u.amdBase+"compat/dropdownCss");u.dropdownAdapter=c.Decorate(u.dropdownAdapter,A)}u.dropdownAdapter=c.Decorate(u.dropdownAdapter,C)}if(null==u.selectionAdapter){if(u.multiple?u.selectionAdapter=o:u.selectionAdapter=n,null!=u.placeholder&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,s)),u.allowClear&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,r)),u.multiple&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,a)),null!=u.containerCssClass||null!=u.containerCss||null!=u.adaptContainerCssClass){var j=e(u.amdBase+"compat/containerCss");u.selectionAdapter=c.Decorate(u.selectionAdapter,j)}u.selectionAdapter=c.Decorate(u.selectionAdapter,l)}if("string"==typeof u.language)if(u.language.indexOf("-")>0){var z=u.language.split("-")[0];u.language=[u.language,z]}else u.language=[u.language];if(t.isArray(u.language)){var O=new d;u.language.push("en");for(var P=u.language,D=0;D<P.length;D++){var M=P[D],q={};try{q=d.loadPath(M)}catch(t){try{M=this.defaults.amdLanguageBase+M,q=d.loadPath(M)}catch(t){u.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+M+'" could not be automatically loaded. A fallback will be used instead.');continue}}O.extend(q)}u.translations=O}else{var W=d.loadPath(this.defaults.amdLanguageBase+"en"),N=new d(u.language);N.extend(W),u.translations=N}return u},k.prototype.reset=function(){function e(t){return t.replace(/[^\u
10000-\u007E]/g,function(t){return u[t]||t})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:I,matcher:function i(n,o){if(""===t.trim(n.term))return o;if(o.children&&o.children.length>0){for(var s=t.extend(!0,{},o),r=o.children.length-1;r>=0;r--){null==i(n,o.children[r])&&s.children.splice(r,1)}return s.children.length>0?s:i(n,s)}var a=e(o.text).toUpperCase(),l=e(n.term).toUpperCase();return a.indexOf(l)>-1?o:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},k.prototype.set=function(e,i){var n={};n[t.camelCase(e)]=i;var o=c._convertData(n);t.extend(this.defaults,o)},new k}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(t,e,i,n){function o(e,o){if(this.options=e,null!=o&&this.fromElement(o),this.options=i.apply(this.options),o&&o.is("input")){var s=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=n.Decorate(this.options.dataAdapter,s)}}return o.prototype.fromElement=function(t){var i=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.language&&(t.prop("lang")?this.options.language=t.prop("lang").toLowerCase():t.closest("[lang]").prop("lang")&&(this.options.language=t.closest("[lang]").prop("lang"))),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),t.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),t.data("data",t.data("select2Tags")),t.data("tags",!0)),t.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",t.data("ajaxUrl")),t.data("ajax--url",t.data("ajaxUrl")));var o;o=e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset?e.extend(!0,{},t[0].dataset,t.data()):t.data();var s=e.extend(!0,{},o);for(var r in s=n._convertData(s))e.inArray(r,i)>-1||(e.isPlainObject(this.options[r])?e.extend(this.options[r],s[r]):this.options[r]=s[r]);return this},o.prototype.get=function(t){return this.options[t]},o.prototype.set=function(t,e){this.options[t]=e},o}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,e,i,n){var o=function(t,i){null!=t.data("select2")&&t.data("select2").destroy(),this.$element=t,this.id=this._generateId(t),i=i||{},this.options=new e(i,t),o.__super__.constructor.call(this);var n=t.attr("tabindex")||0;t.data("old-tabindex",n),t.attr("tabindex","-1");var s=this.options.get("dataAdapter");this.dataAdapter=new s(t,this.options);var r=this.render();this._placeContainer(r);var a=this.options.get("selectionAdapter");this.selection=new a(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,r);var l=this.options.get("dropdownAdapter");this.dropdown=new l(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,r);var c=this.options.get("resultsAdapter");this.results=new c(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var d=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){d.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),t.data("select2",this)};return i.Extend(o,i.Observable),o.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+i.generateChars(2):i.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},o.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},o.prototype._resolveWidth=function(t,e){var i=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var n=this._resolveWidth(t,"style");return null!=n?n:this._resolveWidth(t,"element")}if("element"==e){var o=t.outerWidth(!1);return 0>=o?"auto":o+"px"}if("style"==e){var s=t.attr("style");if("string"!=typeof s)return null;for(var r=s.split(";"),a=0,l=r.length;l>a;a+=1){var c=r[a].replace(/\s/g,"").match(i);if(null!==c&&c.length>=1)return c[1]}return null}return e},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",function(){e.dataAdapter.current(function(t){e.trigger("selection:update",{data:t})})}),this._sync=i.bind(this._syncAttributes,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._sync);var n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=n?(this._observer=new n(function(i){t.each(i,e._sync)}),this._observer.observe(this.$element[0],{attributes:!0,subtree:!1})):this.$element[0].addEventListener&&this.$element[0].addEventListener("DOMAttrModified",e._sync,!1)},o.prototype._registerDataEvents=function(){var t=this;
vendor: 5,111 bytes, line 1
1this.dataAdapter.on("*",function(e,i){t.trigger(e,i)})},o.prototype._registerSelectionEvents=function(){var e=this,i=["toggle","focus"];this.selection.on("toggle",function(){e.toggleDropdown()}),this.selection.on("focus",function(t){e.focus(t)}),this.selection.on("*",function(n,o){-1===t.inArray(n,i)&&e.trigger(n,o)})},o.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",function(e,i){t.trigger(e,i)})},o.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",function(e,i){t.trigger(e,i)})},o.prototype._registerEvents=function(){var t=this;this.on("open",function(){t.$container.addClass("select2-container--open")}),this.on("close",function(){t.$container.removeClass("select2-container--open")}),this.on("enable",function(){t.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){t.$container.addClass("select2-container--disabled")}),this.on("blur",function(){t.$container.removeClass("select2-container--focus")}),this.on("query",function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,function(i){t.trigger("results:all",{data:i,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(i){t.trigger("results:append",{data:i,query:e})})}),this.on("keypress",function(e){var i=e.which;t.isOpen()?i===n.ESC||i===n.TAB||i===n.UP&&e.altKey?(t.close(),e.preventDefault()):i===n.ENTER?(t.trigger("results:select",{}),e.preventDefault()):i===n.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):i===n.UP?(t.trigger("results:previous",{}),e.preventDefault()):i===n.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(i===n.ENTER||i===n.SPACE||i===n.DOWN&&e.altKey)&&(t.open(),e.preventDefault())})},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},o.prototype.trigger=function(t,e){var i=o.__super__.trigger,n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===e&&(e={}),t in n){var s=n[t],r={prevented:!1,name:t,args:e};if(i.call(this,s,r),r.prevented)return void(e.prevented=!0)}i.call(this,t,e)},o.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||this.trigger("query",{})},o.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},o.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},o.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},o.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},o.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==t||0===t.length)&&(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},o.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var i=e[0];t.isArray(i)&&(i=t.map(i,function(t){return t.toString()})),this.$element.val(i).trigger("change")},o.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._sync),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&this.$element[0].removeEventListener("DOMAttrModified",this._sync,!1),this._sync=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),e.data("element",this.$element),e},o}),e.define("jquery-mousewheel",["jquery"],function(t){return t}),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(t,e,
1i,n){if(null==t.fn.select2){var o=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var n=t.extend(!0,{},e);new i(t(this),n)}),this;var n;if("string"==typeof e)return this.each(function(){var i=t(this).data("select2");null==i&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2.");var o=Array.prototype.slice.call(arguments,1);n=i[e].apply(i,o)}),t.inArray(e,o)>-1?this:n;throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=n),i}),{define:e.define,require:e.require}}(),i=e.require("jquery.select2");return t.fn.select2.amd=e,i}),function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){"use strict";i(1),window.Origami={fastclick:i(2),"o-autoinit":i(4)}},function(t,e){t.exports={name:"__MAIN__",dependencies:{fastclick:"fastclick#*","o-autoinit":"o-autoinit#^1.0.0"}}},function(t,e,i){t.exports=i(3)},function(t,e){"use strict";!function(){function e(t,i){function o(t,e){return function(){return t.apply(e,arguments)}}var s;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=t,this.tapDelay=i.tapDelay||200,this.tapTimeout=i.tapTimeout||700,!e.notNeeded(t)){for(var r=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],a=this,l=0,c=r.length;c>l;l++)a[r[l]]=o(a[r[l]],a);n&&(t.addEventListener("mouseover",this.onMouse,!0),t.addEventListener("mousedown",this.onMouse,!0),t.addEventListener("mouseup",this.onMouse,!0)),t.addEventListener("click",this.onClick,!0),t.addEventListener("touchstart",this.onTouchStart,!1),t.addEventListener("touchmove",this.onTouchMove,!1),t.addEventListener("touchend",this.onTouchEnd,!1),t.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(t.removeEventListener=function(e,i,n){var o=Node.prototype.removeEventListener;"click"===e?o.call(t,e,i.hijacked||i,n):o.call(t,e,i,n)},t.addEventListener=function(e,i,n){var o=Node.prototype.addEventListener;"click"===e?o.call(t,e,i.hijacked||(i.hijacked=function(t){t.propagationStopped||i(t)}),n):o.call(t,e,i,n)}),"function"==typeof t.onclick&&(s=t.onclick,t.addEventListener("click",function(t){s(t)},!1),t.onclick=null)}}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;e.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)},e.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)}},e.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)},e.prototype.determineEventType=function(t){return n&&"select"===t.tagName.toLowerCase()?"mousedown":"click"},e.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()},e.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)},e.prototype.getTargetElementFromEventTarget=function(t){return t.nodeType===Node.TEXT_NODE?t.parentNode:t},e.prototype.onTouchStart=function(t){var e,i,n;if(t.targetTouches.length>1)return!0;
1if(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},e.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},e.prototype.onTouchMove=function(t){return!this.trackingClick||((this.targetElement!==this.getTargetElementFromEventTarget(t.target)||this.touchHasMoved(t))&&(this.trackingClick=!1,this.targetElement=null),!0)},e.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")},e.prototype.onTouchEnd=function(t){var e,i,a,l,c,d=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],(d=document.elementFromPoint(c.pageX-window.pageXOffset,c.pageY-window.pageYOffset)||d).fastClickScrollParent=this.targetElement.fastClickScrollParent),"label"===(a=d.tagName.toLowerCase())){if(e=this.findControl(d)){if(this.focus(d),n)return!1;d=e}}else if(this.needsFocus(d))return t.timeStamp-i>100||o&&window.top!==window&&"input"===a?(this.targetElement=null,!1):(this.focus(d),this.sendClick(d,t),o&&"select"===a||(this.targetElement=null,t.preventDefault()),!1);return!(!o||s||(l=d.fastClickScrollParent,!l||l.fastClickLastScrollTop===l.scrollTop))||(this.needsClick(d)||(t.preventDefault(),this.sendClick(d,t)),!1)},e.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},e.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)))},e.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)},e.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)},e.notNeeded=function(t){var e,i,o;if(void 0===window.ontouchstart)return!0;if(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]"),e&&(-1!==e.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth)))||("none"===t.style.touchAction||"manipulation"===t.style.touchAction))},e.attach=function(t,i){return new e(t,i)},void 0!==t&&t.exports?(t.exports=e.attach,t.exports.FastClick=e):window.FastClick=e}()}
1,function(t,e,i){t.exports=i(5)},function(t,e){"use strict";function i(t){t in n||(n[t]=!0,document.dispatchEvent(new CustomEvent("o."+t)))}var n={};if(window.addEventListener("load",i.bind(null,"load")),window.addEventListener("load",i.bind(null,"DOMContentLoaded")),document.addEventListener("DOMContentLoaded",i.bind(null,"DOMContentLoaded")),document.onreadystatechange=function(){"complete"===document.readyState?(i("DOMContentLoaded"),i("load")):"interactive"!==document.readyState||document.attachEvent||i("DOMContentLoaded")},"complete"===document.readyState?(i("DOMContentLoaded"),i("load")):"interactive"!==document.readyState||document.attachEvent||i("DOMContentLoaded"),document.attachEvent){var o=!1,s=50;try{o=null==window.frameElement&&document.documentElement}catch(t){}o&&o.doScroll&&function t(){if(!("DOMContentLoaded"in n)){try{o.doScroll("left")}catch(e){return 5e3>s?setTimeout(t,s*=1.2):void 0}i("DOMContentLoaded")}}()}}]),function(t){function e(){}function i(t){function i(e){e.prototype.option||(e.prototype.option=function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))})}function o(e,i){t.fn[e]=function(o){if("string"==typeof o){for(var r=n.call(arguments,1),a=0,l=this.length;l>a;a++){var c=this[a],d=t.data(c,e);if(d)if(t.isFunction(d[o])&&"_"!==o.charAt(0)){var u=d[o].apply(d,r);if(void 0!==u)return u}else s("no such method '"+o+"' for "+e+" instance");else s("cannot call methods on "+e+" prior to initialization; attempted to call '"+o+"'")}return this}return this.each(function(){var n=t.data(this,e);n?(n.option(o),n._init()):(n=new i(this,o),t.data(this,e,n))})}}if(t){var s="undefined"==typeof console?e:function(t){console.error(t)};return t.bridget=function(t,e){i(e),o(t,e)},t.bridget}}var n=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):"object"==typeof exports?i(require("jquery")):i(t.jQuery)}(window),function(t){function e(e){var i=t.event;return i.target=i.target||i.srcElement||e,i}var i=document.documentElement,n=function(){};i.addEventListener?n=function(t,e,i){t.addEventListener(e,i,!1)}:i.attachEvent&&(n=function(t,i,n){t[i+n]=n.handleEvent?function(){var i=e(t);n.handleEvent.call(n,i)}:function(){var i=e(t);n.call(t,i)},t.attachEvent("on"+i,t[i+n])});var o=function(){};i.removeEventListener?o=function(t,e,i){t.removeEventListener(e,i,!1)}:i.detachEvent&&(o=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(n){t[e+i]=void 0}});var s={bind:n,unbind:o};"function"==typeof define&&define.amd?define("eventie/eventie",s):"object"==typeof exports?module.exports=s:t.eventie=s}(window),function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var n=t.prototype,o=this,s=o.EventEmitter;n.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},n.flattenListeners=function(t){var e,i=[];for(e=0;t.length>e;e+=1)i.push(t[e].listener);return i},n.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&((e={})[t]=i),e||i},n.addListener=function(t,i){var n,o=this.getListenersAsObject(t),s="object"==typeof i;for(n in o)o.hasOwnProperty(n)&&-1===e(o[n],i)&&o[n].push(s?i:{listener:i,once:!1});return this},n.on=i("addListener"),n.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},n.once=i("addOnceListener"),n.defineEvent=function(t){return this.getListeners(t),this},n.defineEvents=function(t){for(var e=0;t.length>e;e+=1)this.defineEvent(t[e]);return this},n.removeListener=function(t,i){var n,o,s=this.getListenersAsObject(t);for(o in s)s.hasOwnProperty(o)&&(-1!==(n=e(s[o],i))&&s[o].splice(n,1));return this},n.off=i("removeListener"),n.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},n.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},n.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},n.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},n.removeAllListeners=i("removeEvent"),n.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},n.trigger=i("emitEvent"),n.emit=function(t){var e=Array.prototype.slice.call(arguments,1
1);return this.emitEvent(t,e)},n.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},n._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},n._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return o.EventEmitter=s,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:o.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof n[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,o=0,s=i.length;s>o;o++)if(e=i[o]+t,"string"==typeof n[e])return e}}var i="Webkit Moz ms Ms O".split(" "),n=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return e}):"object"==typeof exports?module.exports=e:t.getStyleProperty=e}(window),function(t){function e(t){var e=parseFloat(t);return-1===t.indexOf("%")&&!isNaN(e)&&e}function i(i){function s(){if(!d){d=!0;var o=t.getComputedStyle;if(a=function(){var t=o?function(t){return o(t,null)}:function(t){return t.currentStyle};return function(e){var i=t(e);return i||n("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),i}}(),l=i("boxSizing")){var s=document.createElement("div");s.style.width="200px",s.style.padding="1px 2px 3px 4px",s.style.borderStyle="solid",s.style.borderWidth="1px 2px 3px 4px",s.style[l]="border-box";var r=document.body||document.documentElement;r.appendChild(s);var u=a(s);c=200===e(u.width),r.removeChild(s)}}}function r(e,i){if(t.getComputedStyle||-1===i.indexOf("%"))return i;var n=e.style,o=n.left,s=e.runtimeStyle,r=s&&s.left;return r&&(s.left=e.currentStyle.left),n.left=i,i=n.pixelLeft,n.left=o,r&&(s.left=r),i}var a,l,c,d=!1;return function(t){if(s(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var i=a(t);if("none"===i.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=o.length;i>e;e++)t[o[e]]=0;return t}();var n={};n.width=t.offsetWidth,n.height=t.offsetHeight;for(var d=n.isBorderBox=!(!l||!i[l]||"border-box"!==i[l]),u=0,p=o.length;p>u;u++){var h=o[u],f=i[h];f=r(t,f);var m=parseFloat(f);n[h]=isNaN(m)?0:m}var g=n.paddingLeft+n.paddingRight,v=n.paddingTop+n.paddingBottom,y=n.marginLeft+n.marginRight,w=n.marginTop+n.marginBottom,b=n.borderLeftWidth+n.borderRightWidth,x=n.borderTopWidth+n.borderBottomWidth,$=d&&c,S=e(i.width);!1!==S&&(n.width=S+($?0:g+b));var C=e(i.height);return!1!==C&&(n.height=C+($?0:v+x)),n.innerWidth=n.width-(g+b),n.innerHeight=n.height-(v+x),n.outerWidth=n.width+y,n.outerHeight=n.height+w,n}}}var n="undefined"==typeof console?function(){}:function(t){console.error(t)},o=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],i):"object"==typeof exports?module.exports=i(require("desandro-get-style-property")):t.getSize=i(t.getStyleProperty)}(window),function(t){function e(t){"function"==typeof t&&(e.isReady?t():r.push(t))}function i(t){var i="readystatechange"===t.type&&"complete"!==s.readyState;e.isReady||i||n()}function n(){e.isReady=!0;for(var t=0,i=r.length;i>t;t++){(0,r[t])()}}function o(o){return"complete"===s.readyState?n():(o.bind(s,"DOMContentLoaded",i),o.bind(s,"readystatechange",i),o.bind(t,"load",i)),e}var s=t.document,r=[];e.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],o):"object"==typeof exports?module.exports=o(require("eventie")):t.docReady=o(t.eventie)}(window),function(t){function e(t,e){return t[o](e)}function i(t){t.parentNode||document.createDocumentFragment().appendChild(t)}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;n>i;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();if(o){var s=e(document.createElement("div"),"div");n=s?e:function(t,n){return i(t),e(t,n)}}else n=function(t,e){i(t);for(var n=t.parentNode.querySelectorAll(e),o=0,s=n.length;s>o;o++)if(n[o]===t)return!0;return!1};"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return n}):"object"==typeof exports?module.exports=n:window.matchesSelector=n}(Element.prototype),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["doc-ready/doc-ready","matches-selector/matches-selector"],function(i,n){return e(t,i,n)}):"object"==typeof exports?module.exports=e(t,require("doc-ready"),require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.docReady,t.matchesSelector)}
1(window,function(t,e,i){var n={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},o=Object.prototype.toString;n.isArray=function(t){return"[object Array]"==o.call(t)},n.makeArray=function(t){var e=[];if(n.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0,o=t.length;o>i;i++)e.push(t[i]);else e.push(t);return e},n.indexOf=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,n=t.length;n>i;i++)if(t[i]===e)return i;return-1},n.removeFrom=function(t,e){var i=n.indexOf(t,e);-1!=i&&t.splice(i,1)},n.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},n.setText=function(){var t;return function(e,i){e[t=t||(void 0!==document.documentElement.textContent?"textContent":"innerText")]=i}}(),n.getParent=function(t,e){for(;t!=document.body;)if(t=t.parentNode,i(t,e))return t},n.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.filterFindElements=function(t,e){for(var o=[],s=0,r=(t=n.makeArray(t)).length;r>s;s++){var a=t[s];if(n.isElement(a))if(e){i(a,e)&&o.push(a);for(var l=a.querySelectorAll(e),c=0,d=l.length;d>c;c++)o.push(l[c])}else o.push(a)}return o},n.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)}},n.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var s=t.console;return n.htmlInit=function(i,o){e(function(){for(var e=n.toDashed(o),r=document.querySelectorAll(".js-"+e),a="data-"+e+"-options",l=0,c=r.length;c>l;l++){var d,u=r[l],p=u.getAttribute(a);try{d=p&&JSON.parse(p)}catch(t){s&&s.error("Error parsing "+a+" on "+u.nodeName.toLowerCase()+(u.id?"#"+u.id:"")+": "+t);continue}var h=new i(u,d),f=t.jQuery;f&&f.data(u,o,h)}})},n}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],function(i,n,o,s){return e(t,i,n,o,s)}):"object"==typeof exports?module.exports=e(t,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils")):(t.Outlayer={},t.Outlayer.Item=e(t,t.EventEmitter,t.getSize,t.getStyleProperty,t.fizzyUIUtils))}(window,function(t,e,i,n,o){function s(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var r=t.getComputedStyle,a=r?function(t){return r(t,null)}:function(t){return t.currentStyle},l=n("transition"),c=n("transform"),d=l&&c,u=!!n("perspective"),p={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[l],h=["transform","transition","transitionDuration","transitionProperty"],f=function(){for(var t={},e=0,i=h.length;i>e;e++){var o=h[e],s=n(o);s&&s!==o&&(t[o]=s)}return t}();o.extend(s.prototype,e.prototype),s.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},s.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},s.prototype.getSize=function(){this.size=i(this.element)},s.prototype.css=function(t){var e=this.element.style;for(var i in t){e[f[i]||i]=t[i]}},s.prototype.getPosition=function(){var t=a(this.element),e=this.layout.options,i=e.isOriginLeft,n=e.isOriginTop,o=parseInt(t[i?"left":"right"],10),s=parseInt(t[n?"top":"bottom"],10);o=isNaN(o)?0:o,s=isNaN(s)?0:s;var r=this.layout.size;o-=i?r.paddingLeft:r.paddingRight,s-=n?r.paddingTop:r.paddingBottom,this.position.x=o,this.position.y=s},s.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={},n=e.isOriginLeft?"paddingLeft":"paddingRight",o=e.isOriginLeft?"left":"right",s=e.isOriginLeft?"right":"left",r=this.position.x+t[n];r=e.percentPosition&&!e.isHorizontal?r/t.width*100+"%":r+"px",i[o]=r,i[s]="";var a=e.isOriginTop?"paddingTop":"paddingBottom",l=e.isOriginTop?"top":"bottom",c=e.isOriginTop?"bottom":"top",d=this.position.y+t[a];d=e.percentPosition&&e.isHorizontal?d/t.height*100+"%":d+"px",i[l]=d,i[c]="",this.css(i),this.emitEvent("layout",[this])};var m=u?function(t,e){return"translate3d("+t+"px, "+e+"px, 0)"}:function(t,e){return"translate("+t+"px, "+e+"px)"};s.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={},d=this.layout.options;a=d.isOriginLeft?a:-a,l=d.isOriginTop?l:-l,c.transform=m(a,l),this.transition({to:c,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},s.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},s.prototype.moveTo=d?s.prototype._transitionTo:s.prototype.goTo,s.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},s.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)},s.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;0}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var g=c&&o.toDashed(c)+",opacity";s.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:g,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(p,this,!1))},s.prototype.transition=s.prototype[l?"_transition":"_nonTransition"],s.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},s.prototype.onotransitionend=function(t){this.ontransitionend(t)};var v={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};s.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=v[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},s.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(p,this,!1),this.isTransitioning=!1},s.prototype._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var y={transitionProperty:"",transitionDuration:""};return s.prototype.removeTransitionStyles=function(){this.css(y)},s.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},s.prototype.remove=function(){if(l&&parseFloat(this.layout.options.transitionDuration)){var t=this;this.once("transitionEnd",function(){t.removeElem()}),this.hide()}else this.removeElem()},s.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})},s.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},s.prototype.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},s.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})},s.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},s.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},s}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,s,r){return e(t,i,n,o,s,r)}):"object"==typeof exports?module.exports=e(t,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.eventie,t.EventEmitter,t.getSize,t.f
1izzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o,s){function r(t,e){var i=o.getQueryElement(t);if(i){this.element=i,l&&(this.$element=l(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++d;this.element.outlayerGUID=n,u[n]=this,this._create(),this.options.isInitLayout&&this.layout()}else a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||t))}var a=t.console,l=t.jQuery,c=function(){},d=0,u={};return r.namespace="outlayer",r.Item=s,r.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(r.prototype,i.prototype),r.prototype.option=function(t){o.extend(this.options,t)},r.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()},r.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},r.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0,s=e.length;s>o;o++){var r=new i(e[o],this);n.push(r)}return n},r.prototype._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},r.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;i>e;e++)t.push(this.items[e].element);return t},r.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},r.prototype._init=r.prototype.layout,r.prototype._resetLayout=function(){this.getSize()},r.prototype.getSize=function(){this.size=n(this.element)},r.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},r.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},r.prototype._getItemsForLayout=function(t){for(var e=[],i=0,n=t.length;n>i;i++){var o=t[i];o.isIgnored||e.push(o)}return e},r.prototype._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){for(var i=[],n=0,o=t.length;o>n;n++){var s=t[n],r=this._getItemLayoutPosition(s);r.item=s,r.isInstant=e||s.isLayoutInstant,i.push(r)}this._processLayoutQueue(i)}},r.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},r.prototype._processLayoutQueue=function(t){for(var e=0,i=t.length;i>e;e++){var n=t[e];this._positionItem(n.item,n.x,n.y,n.isInstant)}},r.prototype._positionItem=function(t,e,i,n){n?t.goTo(e,i):t.moveTo(e,i)},r.prototype._postLayout=function(){this.resizeContainer()},r.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},r.prototype._getContainerSize=c,r.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"}},r.prototype._emitCompleteOnItems=function(t,e){function i(){o.emitEvent(t+"Complete",[e])}function n(){++r===s&&i()}var o=this,s=e.length;if(e&&s)for(var r=0,a=0,l=e.length;l>a;a++){e[a].once(t,n)}else i()},r.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},r.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},r.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,i=t.length;i>e;e++){var n=t[e];this.ignore(n)}}},r.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;i>e;e++){var n=t[e];o.removeFrom(this.stamps,n),this.unignore(n)}},r.prototype._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)):void 0},r.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect
1();for(var t=0,e=this.stamps.length;e>t;t++){var i=this.stamps[t];this._manageStamp(i)}}},r.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)}},r.prototype._manageStamp=c,r.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}},r.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},r.prototype.bindResize=function(){this.isResizeBound||(e.bind(t,"resize",this),this.isResizeBound=!0)},r.prototype.unbindResize=function(){this.isResizeBound&&e.unbind(t,"resize",this),this.isResizeBound=!1},r.prototype.onresize=function(){this.resizeTimeout&&clearTimeout(this.resizeTimeout);var t=this;this.resizeTimeout=setTimeout(function(){t.resize(),delete t.resizeTimeout},100)},r.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},r.prototype.needsResizeLayout=function(){var t=n(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},r.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},r.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},r.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)}},r.prototype.reveal=function(t){this._emitCompleteOnItems("reveal",t);for(var e=t&&t.length,i=0;e&&e>i;i++){t[i].reveal()}},r.prototype.hide=function(t){this._emitCompleteOnItems("hide",t);for(var e=t&&t.length,i=0;e&&e>i;i++){t[i].hide()}},r.prototype.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},r.prototype.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},r.prototype.getItem=function(t){for(var e=0,i=this.items.length;i>e;e++){var n=this.items[e];if(n.element===t)return n}},r.prototype.getItems=function(t){for(var e=[],i=0,n=(t=o.makeArray(t)).length;n>i;i++){var s=t[i],r=this.getItem(s);r&&e.push(r)}return e},r.prototype.remove=function(t){var e=this.getItems(t);if(this._emitCompleteOnItems("remove",e),e&&e.length)for(var i=0,n=e.length;n>i;i++){var s=e[i];s.remove(),o.removeFrom(this.items,s)}},r.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,i=this.items.length;i>e;e++){this.items[e].destroy()}this.unbindResize();var n=this.element.outlayerGUID;delete u[n],delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},r.data=function(t){var e=(t=o.getQueryElement(t))&&t.outlayerGUID;return e&&u[e]},r.create=function(t,e){function i(){r.apply(this,arguments)}return Object.create?i.prototype=Object.create(r.prototype):o.extend(i.prototype,r.prototype),i.prototype.constructor=i,i.defaults=o.extend({},r.defaults),o.extend(i.defaults,e),i.prototype.settings={},i.namespace=t,i.data=r.data,i.Item=function(){s.apply(this,arguments)},i.Item.prototype=new s,o.htmlInit(i,t),l&&l.bridget&&l.bridget(t,i),i},r.Item=s,r}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],e):"object"==typeof exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){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}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){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(){function t(t){return function(){return e.prototype[t].apply(this.isotope,arguments)}}for(var n=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"],o=0,s=n.length;s>o;o++){var r=n[o];i.prototype[r]=t(r)}}(),i.prototype.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);
1return 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}),function(t,e){"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size","fizzy-ui-utils/utils"],e):"object"==typeof exports?module.exports=e(require("outlayer"),require("get-size"),require("fizzy-ui-utils")):t.Masonry=e(t.Outlayer,t.getSize,t.fizzyUIUtils)}(window,function(t,e,i){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&&1>r?"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&&1>e?"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,d=0;c>d;d++)this.colYs[r+d]=l;return a},n.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;i>n;n++){var o=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,o)}return e},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;a>=c;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}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],e):"object"==typeof exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){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}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){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}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){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}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","matches-selector/matches-selector","fizzy-ui-utils/utils","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],function(i,n,o,s,r,a){return e(t,i,n,o,s,r,a)}):"object"==typeof exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("./item"),require("./layout-mode"),require("./layout-modes/masonry"),require("./layout-modes/fit-rows"),require("./layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}
1(window,function(t,e,i,n,o,s,r){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},d=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});d.Item=s,d.LayoutMode=r,d.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)},d.prototype.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},d.prototype._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0,n=t.length;n>i;i++){t[i].id=this.itemGUID++}return this._updateItemsSortData(t),t},d.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)},d.prototype.layout=function(){return!this._isLayoutInited&&this.options.isInitLayout?void this.arrange():void this._layout()},d.prototype._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},d.prototype.arrange=function(t){function e(){n.reveal(i.needReveal),n.hide(i.needHide)}this.option(t),this._getIsInstant();var i=this._filter(this.items);this.filteredItems=i.matches;var n=this;this._bindArrangeComplete(),this._isInstant?this._noTransition(e):e(),this._sort(),this._layout()},d.prototype._init=d.prototype.arrange,d.prototype._getIsInstant=function(){var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;return this._isInstant=t,t},d.prototype._bindArrangeComplete=function(){function t(){e&&i&&n&&o.emitEvent("arrangeComplete",[o.filteredItems])}var e,i,n,o=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){n=!0,t()})},d.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;a>r;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}},d.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)}},d.prototype.updateSortData=function(t){var e;t?(t=o.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},d.prototype._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=u(i)}},d.prototype._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&e>i;i++){t[i].updateSortData()}};var u=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=d.sortDataParsers[e[1]];return s?function(t){return t&&s(o(t))}:function(t){return t&&o(t)}};d.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},d.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;s>o;o++){var r=t[o],a=i.sortData[r],l=n.sortData[r];if(a>l||l>a)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)}},d.prototype._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw Error("No layout mode: "+t);return e.options=this.options[t],e},d.prototype._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},d.prototype._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},d.prototype._manageStamp=function(t){this._mode()._manageStamp(t)},d.prototype._getContainerSize=function(){return this._mode()._getContainerSize()},d.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()},d.prototype.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},d.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)}},d.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},d.prototype.insert=function(t){var e=this.addItems(t);if(e.length){var i,n,o=e.length;for(i=0;o>i;i++)n=e[i],this.element.appendChild(n.element);var s=this._filter(e).matches;for(i=0;o>i;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;o>i;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var p=d.prototype.remove;return d.prototype.remove=function(t){t=o.makeArray(t);var e=this.getItems(t);p.call(this,t);var i=e&&e.length;if(i)for(var n=0;i>n;n++){var s=e[n];o.removeFrom(this.filteredItems,s)}},d.prototype.shuffle=function(){for(var t=0,e=this.items.length;e>t;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},d.prototype._noTransition=function(t){var e=this.options.transitionDuration;this.options.transitionDuration=0;var i=t.call(this);return this.options.transitionDuration=e,i},d.prototype.getFilteredItemElements=function(){for(var t=[],e=0,i=this.filteredItems.length;i>e;e++)t.push(this.filteredItems[e].element);return t},d}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},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}),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){function i(t,e){for(var i in e)t[i]=e[i];return t}
1function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);var s=t;return"string"==typeof t&&(s=document.querySelectorAll(t)),s?(this.elements=function(t){return Array.isArray(t)?t:"object"==typeof t&&"number"==typeof t.length?l.call(t):[t]}(s),this.options=i({},this.options),"function"==typeof e?o=e:i(this.options,e),o&&this.on("always",o),this.getImages(),r&&(this.jqDeferred=new r.Deferred),void setTimeout(this.check.bind(this))):void a.error("Bad element for imagesLoaded "+(s||t))}function o(t){this.img=t}function s(t,e){this.url=t,this.element=e,this.img=new Image}var r=t.jQuery,a=t.console,l=Array.prototype.slice;n.prototype=Object.create(e.prototype),n.prototype.options={},n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},n.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&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};return n.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},n.prototype.addImage=function(t){var e=new o(t);this.images.push(e)},n.prototype.addBackground=function(t,e){var i=new s(t,e);this.images.push(i)},n.prototype.check=function(){function t(t,i,n){setTimeout(function(){e.progress(t,i,n)})}var e=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&a&&a.log("progress: "+i,t,e)},n.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},o.prototype=Object.create(e.prototype),o.prototype.check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},o.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},o.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},o.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},o.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},o.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},o.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype=Object.create(o.prototype),s.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((r=e).fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(r(this))})},n.makeJQueryPlugin(),n}),window.Common={bannerContainer:".js-banner-container"},Common.dynamicThemes=function(){var t,e=$(".theme-layout-grid"),i=[],n=50;function o(){var t,e=window.innerWidth;return t=e,(t=window.innerWidth)>2500?"25%":t>1925&&t<=2500||t>1200&&t<=1925||t>
1768&&t<=1200?"33.33%":"100%"}window.innerWidth<=640&&(n=25),$(".js-grid-padding").css({"margin-right":-n}),t=o();var s={};$(window).resize(function(){t=o(),s.gridResizer(t)}),(s.gridResizer=function(t){$(".grid-item").each(function(e,i){var o=$(this).data("width"),s=$(this).data("height");0!=s&&0!=o||(s=1e3,o=750),$(this).css({width:"calc("+t+" - "+n+"px)"}),$(this).children(".js-grid-image").height($(this).width()/(o/s)),$(this).children(".js-grid-image").css({outerWidth:"calc("+t+" - "+n+"px)"}),$(this).css({"margin-bottom":n})})})(t),$(".js-example-title").each(function(t){i.push($(this).innerHeight())}),e.isotope({itemSelector:".grid-item",percentPosition:!0,transitionDuration:"0s",masonry:{columnWidth:".grid-sizer",gutter:n}}),$(".filter-button-group").on("click",'input[type="button"]',function(){var t=$(this).attr("data-filter");e.isotope({filter:t}),$(".filter-button-group input").removeClass("filter-active"),$(this).addClass("filter-active"),$(".js_themes_section_title").text($(this).val())})},Common.dynamicExamples=function(){var t,e,i,n,o=$(".example-grid"),s=25;n=$(window).width(),$("#themes-example").find(".example-grid").outerWidth(n-s),n>1920||n>=1255&&n<=1920?i=.25*$(".example-grid").width():n>768&&n<1255?i=.5*$(".example-grid").width():n<=768&&(i=.5*$(".example-grid").width(),s=5);var r=i-s;$("#themes-example").find(".grid-item").each(function(){t=$(this).data("width"),0!=(e=$(this).data("height"))&&0!=t||(e=683,t=1024),$(this).width(r),$(this).height(r/(t/e))}),o.isotope({itemSelector:".grid-item",masonry:{isFitWidth:!0,gutter:s}}),$(".filter-button-group").on("click",'input[type="button"]',function(){var t=$(this).attr("data-filter");o.isotope({filter:t}),$(".filter-button-group input").removeClass("filter-active"),$(this).addClass("filter-active")})},Common.dynamicshowcase=function(){var t=$(".example-grid"),e=$("#themes-example"),i=$(window).width(),n=i<=768?5:60;e.find(".example-grid").outerWidth(i-n);var o=calculateColumnWidth(i,t)-n;e.find(".grid-item").each(function(){var t=$(this),e=getItemDimensions(t);setItemDimensions(t,o,e)}),t.imagesLoaded(function(){initializeIsotope(t,n),t.animate({opacity:1},200)}),setupFilters(t)},Common.dynamicClients=function(){var t,e,i=$(".js-grid-client"),n=40;function o(){var t,e=window.innerWidth;return t=e,(t=window.innerWidth)>2500||t>1925&&t<=2500?"25%":t>1200&&t<=1925?"33.333%":t>768&&t<=1200?"50%":"100%"}window.innerWidth<=640&&(n=20),e=o();var s={};$(window).resize(function(){e=o(),s.gridResizer(e),$(".js-grid-items").each(function(t,e){$(this).data("width"),$(this).data("height"),$(this).innerHeight()})}),(s.gridResizer=function(e){$(".js-grid-items").each(function(i,o){t=$(this).data("width"),0!=$(this).data("height")&&0!=t||(t=1024),$(this).css({width:"calc("+e+" - "+n+"px)",padding:"30px 25px 30px"}),$(this).css({"margin-bottom":n})})})(e),$(".js-grid-items").each(function(t,e){$(this).data("width"),$(this).data("height"),$(this).innerHeight()}),i.isotope({percentPosition:!0,itemSelector:".js-grid-items",transitionDuration:"0s",masonry:{columnWidth:".grid-sizer",gutter:n}})},Common.dynamicHomeExamples=function(){var t=$(".home-grid");gridHeight=$(".grid-item").width(),$("#photographer").find(".grid-item").each(function(){$(this).height(gridHeight)}),t.isotope({itemSelector:".grid-item",masonry:{isFitWidth:!0,gutter:30}})},Common.dynamicBanner=function(){var t=$(window).width(),e=$(Common.bannerContainer).data("width")/$(Common.bannerContainer).data("height");t<=480?$(Common.bannerContainer).css("min-height",t/e*3):t<=767?$(Common.bannerContainer).css("min-height",t/e*2):$(Common.bannerContainer).css("min-height",t/e)},Common.mobileMenu=function(){$(".js-mob-menu").on("click",function(){$("body").addClass("modal-open"),$(".small-nav-overlay").addClass("small-nav-active"),$(".nav").addClass("nav-active"),$(".logo-absolute").addClass("svg-white"),$(".website-navcontainer, .js-mobilemenu-container-wrapper").addClass("active")}),$(".nav-close").on("click",function(){$(".nav").removeClass("nav-active"),$(".small-nav-overlay").removeClass("small-nav-active"),$("body").removeClass("modal-open"),$(".logo-absolute").removeClass("svg-white"),$(".website-navcontainer, .js-mobilemenu-container-wrapper").removeClass("active")}),$(".js-dropdown-mobilemenu-grid-item-link").on("click",function(t){t.preventDefault(),console.log("click menu");
1var e=$(this),i=e.next(".js-dropdown-mobilemenu-grid-item-content");$(".js-dropdown-mobilemenu-grid-item-link").not(e).removeClass("active"),$(".js-dropdown-mobilemenu-grid-item-content").not(i).removeClass("active").height(0),e.toggleClass("active"),i.toggleClass("active"),setTimeout(function(){if(i.hasClass("active")){var t=i.find(".dropdown-mobilemenu-grid-item-content-height").outerHeight(!0);i.height(t)}else i.height(0)},10)})},Common.Aos=function(){AOS.init({once:!0,offset:200,duration:600,easing:"ease-in-sine",delay:100,disable:function(){return window.innerWidth<1024}})},Common.Prograssbar=function(){window.onscroll=function(){var t,e,i;$(this).scrollTop()>60?(t=document.body.scrollTop||document.documentElement.scrollTop,e=document.documentElement.scrollHeight-document.documentElement.clientHeight,i=t/e*100,document.getElementById("myBar").style.width=i+"%",$(".progress-container").css("display","block"),$("body").addClass("header-bg-white-only")):($(".progress-container").css("display","none"),$("body").removeClass("header-bg-white-only"))}},Common.PostSidebar=function(){$(window).scroll(function(){var t=$("#header").innerHeight(),e=$(".wrap").innerHeight(),i=e-$(".blog-post-right").height(),n=e-$(".blog-post-left").height(),o=$(".js-blog-post-title").innerHeight()+100,s=$(window).scrollTop()-(t+o);$(window).scrollTop()>=t+o?($(".blog-post-right").addClass("fixed"),$(".pixpa-social-share-article").addClass("fixed")):($(".blog-post-right").removeClass("fixed"),$(".pixpa-social-share-article").removeClass("fixed")),s>=n?$(".pixpa-social-share-article").addClass("bottom"):$(".pixpa-social-share-article").removeClass("bottom"),s>=i?$(".blog-post-right").addClass("bottom"):$(".blog-post-right").removeClass("bottom")})},Common.PostleftSidebar=function(){$(window).scroll(function(){var t=$("#header").innerHeight(),e=$(".wrap").innerHeight(),i=$(".blog-post-left").height(),n=e-$(".blog-post-right").height(),o=i,s=$(".js-blog-post-title").innerHeight()+80,r=$(window).scrollTop()-t;$(".js-blog-sidebar-tab").innerHeight(),$(".js-blog-sidebar-subscribe").innerHeight();if($(".js-blog-sidebar-featured-tab").length>0)$(".js-blog-sidebar-featured-tab").innerHeight();else;var a=t+s;$(window).scrollTop()>=t+s?$(".pixpa-social-share-article").addClass("fixed"):$(".pixpa-social-share-article").removeClass("fixed"),r>=o?$(".pixpa-social-share-article").addClass("bottom"):$(".pixpa-social-share-article").removeClass("bottom"),$(window).scrollTop()>=a?$(".js-blog-sidebar-sticky").addClass("fixed"):$(".js-blog-sidebar-sticky").removeClass("fixed"),r>=n?$(".js-blog-sidebar-sticky").addClass("bottom"):$(".js-blog-sidebar-sticky").removeClass("bottom")})},Common.helpIframe=function(){$(".js-help-iframe-btn").on("click",function(t){$(".js-help-iframe").addClass("active"),$("body").css("overflow","hidden");
1var e=$(this).attr("data-url");$(".js-help-show-iframe").attr("src",e),$(".js-help-show-link").attr("href",e)}),$(".js-iframe-close-btn").on("click",function(){$("body").css("overflow",""),$(".js-help-iframe").removeClass("active")})},Common.modalOverlayHeight=function(){var t=$(window).height()-100,e=t-100;$(".js-modal-overlay-fixed").css("max-height",t),$(".js-body-overflow").css("max-height",e)},Common.weglotLanguage=function(){$(".js-pixpa-weglot-language a").on("click",function(){var t=$(this).attr("data-value");const e=["en","es","fr","de","pt","nl","it","ja","no","pl","ru","sv","tr","da","th","cs","fi","ko","uk","id","ms"],i=location.href,n=new URL(i).pathname;let o=!1,s=n;for(const i of e)if(n.includes("/"+i+"/")){o=!0,s=s.replace("/"+i+"/","/"+t+"/");break}if(o){const t=i.replace(n,s);location.href=t}else{const e=location.origin+"/"+t+n;location.href=e}$(".js-pixpa-weglot-input").html(""),$(".js-pixpa-weglot-input").append(t)})},Common.init=function(){Common.dynamicBanner(),$(window).resize(function(){Common.dynamicBanner()});var t=0,e=$(".laptop_screen img").length;setInterval(function(){$(".laptop_screen img, .ipad_screen img, .iphone_screen img").fadeOut(1e3),t=t<e-1?t+1:0,$($(".laptop_screen img")[t]).stop().fadeIn(1e3),$($(".ipad_screen img")[t]).stop().fadeIn(1e3),$($(".iphone_screen img")[t]).stop().fadeIn(1e3)},5e3);$(".bxslider").length>0&&void 0===window.slider&&(window.slider=$(".bxslider").bxSlider({mode:"fade",speed:600,auto:!0})),window.sliders=$("#slider1, #slider2, #slider3").bxSlider({auto:!0,pause:3e3}),window.sliders=$(".bxSlider-home").bxSlider({auto:!0,pager:!0,speed:500,pagerCustom:".bx-pager"}),$(window).scroll(function(){$(this).scrollTop()>200?$(".top-scroller").fadeIn():$(".top-scroller").fadeOut()}),$(window).scroll(function(){var t=window.innerWidth<=1024?82:47,e=$("#header"),i=$("body, html"),n=$("#header .logo"),o=($("#header").hasClass("announcementbarfixed"),$(".js-announcementbar-wrapper")),s=$(".announcementbarfixed");if($(this).scrollTop()>t){if(e.addClass("top-fixed-sticky"),n.removeClass("logo-svg-white"),e.hasClass("announcementbarfixed")){e.removeClass("announcementbar");var r=o.innerHeight();s.css("top","")}i.hasClass("header-bg-white")&&i.removeClass("header-bg-active")}else{if(e.hasClass("announcementbarfixed")){e.addClass("announcementbar");r=o.innerHeight();s.css("top",r)}e.removeClass("top-fixed-sticky"),n.addClass("logo-svg-white"),i.hasClass("header-bg-white")&&i.addClass("header-bg-active")}}),$(".top-scroller").click(function(){return $("html, body").animate({scrollTop:0},700),!1}),$(window).scroll(function(){var t=$("#header-wrap").height(),e=$(".top-fixed-sticky").innerHeight();$(this).scrollTop()>t?($(".featured-nav").addClass("scroll-fixed-sticky"),$(".featured-nav").css("top",e)):($(".featured-nav").removeClass("scroll-fixed-sticky"),$(".featured-nav").css("top","0"))}),$(".featured-nav li a").click(function(t){$(".featured-nav li").removeClass("active");var e=$(this).parent();e.hasClass("active")||e.addClass("active")}),$(".blog-example").length>0&&void 0===window.slider_example&&(window.slider_example=$(".blog-example").bxSlider({slideWidth:290,minSlides:1,maxSlides:4,moveSlides:4,slideMargin:45})),$(".themes-slider, .home-grid-layout").length>0&&void 0===window.theme_slider&&(window.theme_slider=$(".themes-slider, .home-grid-layout").bxSlider({auto:!0,slideWidth:400,minSli
1des:1,maxSlides:4,moveSlides:1,slideMargin:10})),$(".quote-slider").length>0&&void 0===window.quote_slider&&(window.quote_slider=$(".quote-slider").bxSlider({auto:!0})),$(".start-free-trail").click(function(t){return window.location="http://studio.pixpa.com/start",!0}),$(".js-view-themes-colors").on("click",function(){var t=$(this).data("themesname"),e=$(this).data("url"),i=$(this).data("darkthemes");$(".js-themes-name").text(t),$(".js-themes-url").attr("src",e),$(".js-themes-url-newtab").attr("href",e),$(".js-light-themes, .js-dark-themes").remove(),$(".append-light-themes").append('<a href="javascript:void(0);" class="js-light-themes active" data-lightthemes="'+e+'"> Light</a>'),""!=i&&$(".append-dark-themes").append('<a href="javascript:void(0);" class="js-dark-themes" data-darkthemes="'+i+'"> Dark</a>'),""==i?$(".themes-color-options").hide():$(".themes-color-options").show(),$(".themes-overlay-wrapper").show(),$("body").addClass("body-hidden")}),$("body").on("click",".js-light-themes",function(){var t=$(this).data("lightthemes");$(".js-themes-url").attr("src",t),$(".js-themes-url-newtab").attr("href",t),$(this).addClass("active"),$(".js-dark-themes").removeClass("active")}),$("body").on("click",".js-dark-themes",function(){var t=$(this).data("darkthemes");$(".js-themes-url").attr("src",t),$(".js-themes-url-newtab").attr("href",t),$(this).addClass("active"),$(".js-light-themes").removeClass("active")}),$(".js-themes-modal-close").on("click",function(){$(".js-light-themes, .js-dark-themes").remove(),$(".js-themes-url").attr("src",""),$(".js-dark-themes").removeClass("active"),$(".js-light-themes").addClass("active"),$(".themes-overlay-wrapper").hide(),$("body").removeClass("body-hidden")}),$(".js-overlay-text-modal").click(function(){$(".overlay-pricing-modal").show(),$(".overlay-wrapper.overlay-pricing-modal .overlay-modal").show()}),$(".js-get-free-demo").click(function(){$(".overlay-wrapper").show(),$(".overlay-container").addClass("overlay-black"),$(".overlay-modal").hide(),$(".overlay-modal.freedemo").show()}),$(".js-student-signup-btn").click(function(){$(".overlay-wrapper").show(),$(".overlay-modal").show(),$(".overlay-modal.js-signup-modal").hide()}),$(".js-modal-close").click(function(){$(".overlay-wrapper").hide(),$(".overlay-modal").hide(),$(".overlay-modal.freedemo").hide(),$(".overlay-container").removeClass("overlay-black")}),$(".close").click(function(){$(".overlay").fadeToggle("fast"),$(".signup-form").fadeToggle("fast")}),jQuery.fn.extend({ensureLoad:function(t){return this.each(function(){this.complete?t.call(this):$(this).load(t)})}}),$(".grid-item img, .js-banner-container img").ensureLoad(function(){$(this).fadeIn()});var i=$(window).width();i>=768&&$(window).scroll(function(){$(".img-parent, .img-parent-responsive").css("position","fixed")}),i>=1024&&$(window).scroll(function(){$(this).scrollTop()>60?$(".js-section-submenu").addClass("topsubmenu-fixed-sticky"):$(".js-section-submenu").removeClass("topsubmenu-fixed-sticky")}),$(".js-section-submenu-mobile").off("click"),$(".js-section-submenu-mobile").on("click",function(){$(this).toggleClass("rotate"),$(".js-section-submenu-item").slideToggle()}),i<1024&&($(".js-filter-submenu-mobile").off("click"),$(".js-filter-submenu-mobile").on("click",function(){$(this).toggleClass("rotate"),$(".js-filter-submenu-item").slideToggle()}),$(".js-filter-themes-submenu-mobile").off("click"),$(".js-filter-themes-submenu-mobile").on("click",function(){$(this).toggleClass("rotate"),$(this).parent().find(".dropdown").slideToggle()}),$(".js-filter-submenu-item input").off("click"),$(".js-filter-submenu-item input").on("click",function(){var t=$(this).val();$(".js-filter-submenu-mobile").find(".js-filter-submenu-val").text(t),$(".js-filter-submenu-item").slideToggle(),$(".js-filter-submenu-mobile").removeClass("rotate")}))},Common.recaptchaJs=function(t,e){$(t).submit(function(i){var n=$(this);""==$(t).find("#g_captcha_token").val()&&(i.preventDefault(),Common.grecaptcha(e,function(e){$(t).find("#g_captcha_token").val(e),$(n).submit()}))})},Common.grecaptcha=function(t,e){grecaptcha.enterprise.ready(function(){gre
1captcha.enterprise.execute(t,{action:"submit"}).then(function(t){e(t)})})},Common.cookieConsentBar=function(){-1!=document.cookie.search("pixpa-cookies-wrapper=1")&&$(".js-pixpa-cookies-wrapper").removeClass("active"),$(".js-pixpa-cookies-wrapper-btn").on("click",function(){$(".js-pixpa-cookies-wrapper").removeClass("active");var t=new Date,e=t.getTime();e+=6048e5,t.setTime(e),document.cookie="pixpa-cookies-wrapper=1; expires="+t.toUTCString()+"; path=/"})},Common.pixpaScrollTop=function(){var t=$(".js-scroll-top-btn");$(window).scroll(function(){$(window).scrollTop()>300?t.addClass("show"):t.removeClass("show")}),t.on("click",function(t){t.preventDefault(),$("html, body").animate({scrollTop:0},"300")})},Common.footerMenuHeading=function(){window.innerWidth<=767&&$(".js-footer-heading").on("click",function(){$(this).parent().siblings().find("ul").removeClass("active"),$(this).parent().siblings().find("ul").hide(),$(this).parent().siblings().find(".js-footer-heading").removeClass("active"),$(this).toggleClass("active"),$(this).parent().find("ul").slideToggle("fast"),$(this).parent().find("ul").toggleClass("active")})},Common.dynamicClassJs=function(){var t=setInterval(function(){$(".js-imageproxy-background-image-source").length<=0?clearInterval(t):$(".js-imageproxy-background-image-source").each(function(){var t=$(this).attr("src");$(this).parent().css("background","url("+t+")"),$(this).remove()})},5e3)},Common.homePageImageSliderHorizontal=function(){if(Common.dynamicClassJs(),window.innerWidth>767){var t=window.innerWidth+250;$("#js-pixpa-showcase-img-slider-01, #js-pixpa-showcase-img-slider-02").css({width:t}),$(window).scroll(function(){function t(t){const e=function(t){"undefined"!=typeof jQuery&&t instanceof jQuery&&(t=t[0]);var e=t.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight,n=window.innerWidth||document.documentElement.clientWidth;return e.left>=0&&e.top>=0&&e.left+e.width<=n&&e.top+e.height<=i}(t),i=function(t){"undefined"!=typeof jQuery&&t instanceof jQuery&&(t=t[0]);var e=t.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight,n=window.innerWidth||document.documentElement.clientWidth,o=e.top<=i&&e.top+e.height>=0,s=e.left<=n&&e.left+e.width>=0;return o&&s}(t);console.clear(),console.log("Fully in viewport: "+e),console.log("Partially in viewport: "+i);const n=$(this).scrollTop()/20,o=$(this).scrollTop()/50,s=window.innerWidth+250;i&&($("#js-pixpa-showcase-img-slider-01").css({width:s,left:"100px",transform:"translate3d("+n+"px, 0px, 0)","-webkit-transform":"translate3d(-"+n+"px, 0px, 0)"}),$("#js-pixpa-showcase-img-slider-02").css({width:s,right:"-"+o+"px"}))}($("#js-pixpa-showcase-img-slider-01").length||$("#js-pixpa-showcase-img-slider-02").length)&&(t(document.getElementById("js-pixpa-showcase-img-slider-01")),t(document.getElementById("js-pixpa-showcase-img-slider-02")))})}},Common.setupCustomSelectxx=function(t){t.forEach(function(t){var e=$("#"+t);function i(t){e.next(".select2").find(".select2-selection__rendered").text(t)}e.select2({templateResult:function(t){var e=$("<span>"+t.text+"</span>");return $(t.element).data("svg")&&e.prepend($(t.element).data("svg")),e},minimumResultsForSearch:-1}),e.on("select2:open",function(){$(".select2-container").addClass("select-with-image")}),e.on("change",function(){i($(this).find(":selected").data("text"))}),i(e.find(":selected").attr("data-svg")+" "+e.find(":selected").data("text"))})},Common.setupCustomSelect=function(t){t.forEach(function(t){var e=$("#"+t);e.select2({templateResult:function(t){var e=$("<span>"+t.text+"</span>");return $(t.element).data("svg")&&e.prepend($(t.element).data("svg")),e},minimumResultsForSearch:-1}),e.on("select2:open",function(){$(".select2-container").addClass("select-with-image")}),e.on("change",function(){var t=$(this).find(":selected");n((t.data("svg")||"")+" "+(t.text()||""))});var i=e.find(":selected");function n(t){e.next(".select2").find(".select2-selection__rendered").html(t)}n((i.data("svg")||"")+" "+(i.text()||""))})},Common.faqTitle=function(){$(".js-faq-title").on("click",function(){const t=$(this).parent();t.siblings().find(".js-faq-descriptions").removeClass("active"),t.siblings().find(".js-faq-descriptions").hide(),t.siblings().find(".js-faq-title").removeClass("active"),$(this).toggleClass("active"),t.find(".js-faq-descriptions").slideToggle("fast"),t.find(".js-faq-descriptions").toggleClass("active")})};
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.