var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); (function($){if(typeof _wpcf7=='undefined'||_wpcf7===null){_wpcf7={};} _wpcf7=$.extend({cached:0},_wpcf7);$.fn.wpcf7InitForm=function(){this.ajaxForm({beforeSubmit:function(arr,$form,options){$form.wpcf7ClearResponseOutput();$form.find('[aria-invalid]').attr('aria-invalid','false');$form.find('img.ajax-loader').css({visibility:'visible'});return true;},beforeSerialize:function($form,options){$form.find('[placeholder].placeheld').each(function(i,n){$(n).val('');});return true;},data:{'_wpcf7_is_ajax_call':1},dataType:'json',success:$.wpcf7AjaxSuccess,error:function(xhr,status,error,$form){var e=$('
').text(error.message);$form.after(e);}});if(_wpcf7.cached){this.wpcf7OnloadRefill();} this.wpcf7ToggleSubmit();this.find('.wpcf7-submit').wpcf7AjaxLoader();this.find('.wpcf7-acceptance').click(function(){$(this).closest('form').wpcf7ToggleSubmit();});this.find('.wpcf7-exclusive-checkbox').wpcf7ExclusiveCheckbox();this.find('.wpcf7-list-item.has-free-text').wpcf7ToggleCheckboxFreetext();this.find('[placeholder]').wpcf7Placeholder();if(_wpcf7.jqueryUi&&!_wpcf7.supportHtml5.date){this.find('input.wpcf7-date[type="date"]').each(function(){$(this).datepicker({dateFormat:'yy-mm-dd',minDate:new Date($(this).attr('min')),maxDate:new Date($(this).attr('max'))});});} if(_wpcf7.jqueryUi&&!_wpcf7.supportHtml5.number){this.find('input.wpcf7-number[type="number"]').each(function(){$(this).spinner({min:$(this).attr('min'),max:$(this).attr('max'),step:$(this).attr('step')});});} this.find('.wpcf7-character-count').wpcf7CharacterCount();this.find('.wpcf7-validates-as-url').change(function(){$(this).wpcf7NormalizeUrl();});};$.wpcf7AjaxSuccess=function(data,status,xhr,$form){if(!$.isPlainObject(data)||$.isEmptyObject(data)){return;} var $responseOutput=$form.find('div.wpcf7-response-output');$form.wpcf7ClearResponseOutput();$form.find('.wpcf7-form-control').removeClass('wpcf7-not-valid');$form.removeClass('invalid spam sent failed');if(data.captcha){$form.wpcf7RefillCaptcha(data.captcha);} if(data.quiz){$form.wpcf7RefillQuiz(data.quiz);} if(data.invalids){$.each(data.invalids,function(i,n){$form.find(n.into).wpcf7NotValidTip(n.message);$form.find(n.into).find('.wpcf7-form-control').addClass('wpcf7-not-valid');$form.find(n.into).find('[aria-invalid]').attr('aria-invalid','true');});$responseOutput.addClass('wpcf7-validation-errors');$form.addClass('invalid');$(data.into).trigger('wpcf7:invalid');$(data.into).trigger('invalid.wpcf7');}else if(1==data.spam){$form.find('[name="g-recaptcha-response"]').each(function(){if(''==$(this).val()){var $recaptcha=$(this).closest('.wpcf7-form-control-wrap');$recaptcha.wpcf7NotValidTip(_wpcf7.recaptchaEmpty);}});$responseOutput.addClass('wpcf7-spam-blocked');$form.addClass('spam');$(data.into).trigger('wpcf7:spam');$(data.into).trigger('spam.wpcf7');}else if(1==data.mailSent){$responseOutput.addClass('wpcf7-mail-sent-ok');$form.addClass('sent');if(data.onSentOk){$.each(data.onSentOk,function(i,n){eval(n)});} $(data.into).trigger('wpcf7:mailsent');$(data.into).trigger('mailsent.wpcf7');}else{$responseOutput.addClass('wpcf7-mail-sent-ng');$form.addClass('failed');$(data.into).trigger('wpcf7:mailfailed');$(data.into).trigger('mailfailed.wpcf7');} if(data.onSubmit){$.each(data.onSubmit,function(i,n){eval(n)});} $(data.into).trigger('wpcf7:submit');$(data.into).trigger('submit.wpcf7');if(1==data.mailSent){$form.resetForm();} $form.find('[placeholder].placeheld').each(function(i,n){$(n).val($(n).attr('placeholder'));});$responseOutput.append(data.message).slideDown('fast');$responseOutput.attr('role','alert');$.wpcf7UpdateScreenReaderResponse($form,data);};$.fn.wpcf7ExclusiveCheckbox=function(){return this.find('input:checkbox').click(function(){var name=$(this).attr('name');$(this).closest('form').find('input:checkbox[name="'+name+'"]').not(this).prop('checked',false);});};$.fn.wpcf7Placeholder=function(){if(_wpcf7.supportHtml5.placeholder){return this;} return this.each(function(){$(this).val($(this).attr('placeholder'));$(this).addClass('placeheld');$(this).focus(function(){if($(this).hasClass('placeheld')) $(this).val('').removeClass('placeheld');});$(this).blur(function(){if(''==$(this).val()){$(this).val($(this).attr('placeholder'));$(this).addClass('placeheld');}});});};$.fn.wpcf7AjaxLoader=function(){return this.each(function(){var loader=$('').attr({src:_wpcf7.loaderUrl,alt:_wpcf7.sending}).css('visibility','hidden');$(this).after(loader);});};$.fn.wpcf7ToggleSubmit=function(){return this.each(function(){var form=$(this);if(this.tagName.toLowerCase()!='form'){form=$(this).find('form').first();} if(form.hasClass('wpcf7-acceptance-as-validation')){return;} var submit=form.find('input:submit');if(!submit.length)return;var acceptances=form.find('input:checkbox.wpcf7-acceptance');if(!acceptances.length)return;submit.removeAttr('disabled');acceptances.each(function(i,n){n=$(n);if(n.hasClass('wpcf7-invert')&&n.is(':checked')||!n.hasClass('wpcf7-invert')&&!n.is(':checked')){submit.attr('disabled','disabled');}});});};$.fn.wpcf7ToggleCheckboxFreetext=function(){return this.each(function(){var $wrap=$(this).closest('.wpcf7-form-control');if($(this).find(':checkbox, :radio').is(':checked')){$(this).find(':input.wpcf7-free-text').prop('disabled',false);}else{$(this).find(':input.wpcf7-free-text').prop('disabled',true);} $wrap.find(':checkbox, :radio').change(function(){var $cb=$('.has-free-text',$wrap).find(':checkbox, :radio');var $freetext=$(':input.wpcf7-free-text',$wrap);if($cb.is(':checked')){$freetext.prop('disabled',false).focus();}else{$freetext.prop('disabled',true);}});});};$.fn.wpcf7CharacterCount=function(){return this.each(function(){var $count=$(this);var name=$count.attr('data-target-name');var down=$count.hasClass('down');var starting=parseInt($count.attr('data-starting-value'),10);var maximum=parseInt($count.attr('data-maximum-value'),10);var minimum=parseInt($count.attr('data-minimum-value'),10);var updateCount=function($target){var length=$target.val().length;var count=down?starting-length:length;$count.attr('data-current-value',count);$count.text(count);if(maximum&&maximum'+message+'');if($into.is('.use-floating-validation-tip *')){$('.wpcf7-not-valid-tip',$into).mouseover(function(){$(this).wpcf7FadeOut();});$(':input',$into).focus(function(){$('.wpcf7-not-valid-tip',$into).not(':hidden').wpcf7FadeOut();});}});};$.fn.wpcf7FadeOut=function(){return this.each(function(){$(this).animate({opacity:0},'fast',function(){$(this).css({'z-index':-100});});});};$.fn.wpcf7OnloadRefill=function(){return this.each(function(){var url=$(this).attr('action');if(0');$.each(data.invalids,function(i,n){if(n.idref){var $li=$('
  • ').append($('').attr('href','#'+n.idref).append(n.message));}else{var $li=$('
  • ').append(n.message);} $invalids.append($li);});$response.append($invalids);} $response.attr('role','alert').focus();}};$.wpcf7SupportHtml5=function(){var features={};var input=document.createElement('input');features.placeholder='placeholder'in input;var inputTypes=['email','url','tel','number','range','date'];$.each(inputTypes,function(index,value){input.setAttribute('type',value);features[value]=input.type!=='text';});return features;};$(function(){_wpcf7.supportHtml5=$.wpcf7SupportHtml5();$('div.wpcf7 > form').wpcf7InitForm();});})(jQuery);;(function(a){if(typeof define==="function"&&define.amd&&define.amd.jQuery){define(["jquery"],a)}else{a(jQuery)}}(function(e){var o="left",n="right",d="up",v="down",c="in",w="out",l="none",r="auto",k="swipe",s="pinch",x="tap",i="doubletap",b="longtap",A="horizontal",t="vertical",h="all",q=10,f="start",j="move",g="end",p="cancel",a="ontouchstart"in window,y="TouchSwipe";var m={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,triggerOnTouchEnd:true,triggerOnTouchLeave:false,allowPageScroll:"auto",fallbackToMouseEvents:true,excludedElements:"label, button, input, select, textarea, a, .noSwipe"};e.fn.swipe=function(D){var C=e(this),B=C.data(y);if(B&&typeof D==="string"){if(B[D]){return B[D].apply(this,Array.prototype.slice.call(arguments,1))}else{e.error("Method "+D+" does not exist on jQuery.swipe")}}else{if(!B&&(typeof D==="object"||!D)){return u.apply(this,arguments)}}return C};e.fn.swipe.defaults=m;e.fn.swipe.phases={PHASE_START:f,PHASE_MOVE:j,PHASE_END:g,PHASE_CANCEL:p};e.fn.swipe.directions={LEFT:o,RIGHT:n,UP:d,DOWN:v,IN:c,OUT:w};e.fn.swipe.pageScroll={NONE:l,HORIZONTAL:A,VERTICAL:t,AUTO:r};e.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:h};function u(B){if(B&&(B.allowPageScroll===undefined&&(B.swipe!==undefined||B.swipeStatus!==undefined))){B.allowPageScroll=l}if(B.click!==undefined&&B.tap===undefined){B.tap=B.click}if(!B){B={}}B=e.extend({},e.fn.swipe.defaults,B);return this.each(function(){var D=e(this);var C=D.data(y);if(!C){C=new z(this,B);D.data(y,C)}})}function z(a0,aq){var av=(a||!aq.fallbackToMouseEvents),G=av?"touchstart":"mousedown",au=av?"touchmove":"mousemove",R=av?"touchend":"mouseup",P=av?null:"mouseleave",az="touchcancel";var ac=0,aL=null,Y=0,aX=0,aV=0,D=1,am=0,aF=0,J=null;var aN=e(a0);var W="start";var T=0;var aM=null;var Q=0,aY=0,a1=0,aa=0,K=0;var aS=null;try{aN.bind(G,aJ);aN.bind(az,a5)}catch(ag){e.error("events not supported "+G+","+az+" on jQuery.swipe")}this.enable=function(){aN.bind(G,aJ);aN.bind(az,a5);return aN};this.disable=function(){aG();return aN};this.destroy=function(){aG();aN.data(y,null);return aN};this.option=function(a8,a7){if(aq[a8]!==undefined){if(a7===undefined){return aq[a8]}else{aq[a8]=a7}}else{e.error("Option "+a8+" does not exist on jQuery.swipe.options")}return null};function aJ(a9){if(ax()){return}if(e(a9.target).closest(aq.excludedElements,aN).length>0){return}var ba=a9.originalEvent?a9.originalEvent:a9;var a8,a7=a?ba.touches[0]:ba;W=f;if(a){T=ba.touches.length}else{a9.preventDefault()}ac=0;aL=null;aF=null;Y=0;aX=0;aV=0;D=1;am=0;aM=af();J=X();O();if(!a||(T===aq.fingers||aq.fingers===h)||aT()){ae(0,a7);Q=ao();if(T==2){ae(1,ba.touches[1]);aX=aV=ap(aM[0].start,aM[1].start)}if(aq.swipeStatus||aq.pinchStatus){a8=L(ba,W)}}else{a8=false}if(a8===false){W=p;L(ba,W);return a8}else{ak(true)}return null}function aZ(ba){var bd=ba.originalEvent?ba.originalEvent:ba;if(W===g||W===p||ai()){return}var a9,a8=a?bd.touches[0]:bd;var bb=aD(a8);aY=ao();if(a){T=bd.touches.length}W=j;if(T==2){if(aX==0){ae(1,bd.touches[1]);aX=aV=ap(aM[0].start,aM[1].start)}else{aD(bd.touches[1]);aV=ap(aM[0].end,aM[1].end);aF=an(aM[0].end,aM[1].end)}D=a3(aX,aV);am=Math.abs(aX-aV)}if((T===aq.fingers||aq.fingers===h)||!a||aT()){aL=aH(bb.start,bb.end);ah(ba,aL);ac=aO(bb.start,bb.end);Y=aI();aE(aL,ac);if(aq.swipeStatus||aq.pinchStatus){a9=L(bd,W)}if(!aq.triggerOnTouchEnd||aq.triggerOnTouchLeave){var a7=true;if(aq.triggerOnTouchLeave){var bc=aU(this);a7=B(bb.end,bc)}if(!aq.triggerOnTouchEnd&&a7){W=ay(j)}else{if(aq.triggerOnTouchLeave&&!a7){W=ay(g)}}if(W==p||W==g){L(bd,W)}}}else{W=p;L(bd,W)}if(a9===false){W=p;L(bd,W)}}function I(a7){var a8=a7.originalEvent;if(a){if(a8.touches.length>0){C();return true}}if(ai()){T=aa}a7.preventDefault();aY=ao();Y=aI();if(a6()){W=p;L(a8,W)}else{if(aq.triggerOnTouchEnd||(aq.triggerOnTouchEnd==false&&W===j)){W=g;L(a8,W)}else{if(!aq.triggerOnTouchEnd&&a2()){W=g;aB(a8,W,x)}else{if(W===j){W=p;L(a8,W)}}}}ak(false);return null}function a5(){T=0;aY=0;Q=0;aX=0;aV=0;D=1;O();ak(false)}function H(a7){var a8=a7.originalEvent;if(aq.triggerOnTouchLeave){W=ay(g);L(a8,W)}}function aG(){aN.unbind(G,aJ);aN.unbind(az,a5);aN.unbind(au,aZ);aN.unbind(R,I);if(P){aN.unbind(P,H)}ak(false)}function ay(bb){var ba=bb;var a9=aw();var a8=aj();var a7=a6();if(!a9||a7){ba=p}else{if(a8&&bb==j&&(!aq.triggerOnTouchEnd||aq.triggerOnTouchLeave)){ba=g}else{if(!a8&&bb==g&&aq.triggerOnTouchLeave){ba=p}}}return ba}function L(a9,a7){var a8=undefined;if(F()||S()){a8=aB(a9,a7,k)}else{if((M()||aT())&&a8!==false){a8=aB(a9,a7,s)}}if(aC()&&a8!==false){a8=aB(a9,a7,i)}else{if(al()&&a8!==false){a8=aB(a9,a7,b)}else{if(ad()&&a8!==false){a8=aB(a9,a7,x)}}}if(a7===p){a5(a9)}if(a7===g){if(a){if(a9.touches.length==0){a5(a9)}}else{a5(a9)}}return a8}function aB(ba,a7,a9){var a8=undefined;if(a9==k){aN.trigger("swipeStatus",[a7,aL||null,ac||0,Y||0,T]);if(aq.swipeStatus){a8=aq.swipeStatus.call(aN,ba,a7,aL||null,ac||0,Y||0,T);if(a8===false){return false}}if(a7==g&&aR()){aN.trigger("swipe",[aL,ac,Y,T]);if(aq.swipe){a8=aq.swipe.call(aN,ba,aL,ac,Y,T);if(a8===false){return false}}switch(aL){case o:aN.trigger("swipeLeft",[aL,ac,Y,T]);if(aq.swipeLeft){a8=aq.swipeLeft.call(aN,ba,aL,ac,Y,T)}break;case n:aN.trigger("swipeRight",[aL,ac,Y,T]);if(aq.swipeRight){a8=aq.swipeRight.call(aN,ba,aL,ac,Y,T)}break;case d:aN.trigger("swipeUp",[aL,ac,Y,T]);if(aq.swipeUp){a8=aq.swipeUp.call(aN,ba,aL,ac,Y,T)}break;case v:aN.trigger("swipeDown",[aL,ac,Y,T]);if(aq.swipeDown){a8=aq.swipeDown.call(aN,ba,aL,ac,Y,T)}break}}}if(a9==s){aN.trigger("pinchStatus",[a7,aF||null,am||0,Y||0,T,D]);if(aq.pinchStatus){a8=aq.pinchStatus.call(aN,ba,a7,aF||null,am||0,Y||0,T,D);if(a8===false){return false}}if(a7==g&&a4()){switch(aF){case c:aN.trigger("pinchIn",[aF||null,am||0,Y||0,T,D]);if(aq.pinchIn){a8=aq.pinchIn.call(aN,ba,aF||null,am||0,Y||0,T,D)}break;case w:aN.trigger("pinchOut",[aF||null,am||0,Y||0,T,D]);if(aq.pinchOut){a8=aq.pinchOut.call(aN,ba,aF||null,am||0,Y||0,T,D)}break}}}if(a9==x){if(a7===p||a7===g){clearTimeout(aS);if(V()&&!E()){K=ao();aS=setTimeout(e.proxy(function(){K=null;aN.trigger("tap",[ba.target]);if(aq.tap){a8=aq.tap.call(aN,ba,ba.target)}},this),aq.doubleTapThreshold)}else{K=null;aN.trigger("tap",[ba.target]);if(aq.tap){a8=aq.tap.call(aN,ba,ba.target)}}}}else{if(a9==i){if(a7===p||a7===g){clearTimeout(aS);K=null;aN.trigger("doubletap",[ba.target]);if(aq.doubleTap){a8=aq.doubleTap.call(aN,ba,ba.target)}}}else{if(a9==b){if(a7===p||a7===g){clearTimeout(aS);K=null;aN.trigger("longtap",[ba.target]);if(aq.longTap){a8=aq.longTap.call(aN,ba,ba.target)}}}}}return a8}function aj(){var a7=true;if(aq.threshold!==null){a7=ac>=aq.threshold}return a7}function a6(){var a7=false;if(aq.cancelThreshold!==null&&aL!==null){a7=(aP(aL)-ac)>=aq.cancelThreshold}return a7}function ab(){if(aq.pinchThreshold!==null){return am>=aq.pinchThreshold}return true}function aw(){var a7;if(aq.maxTimeThreshold){if(Y>=aq.maxTimeThreshold){a7=false}else{a7=true}}else{a7=true}return a7}function ah(a7,a8){if(aq.allowPageScroll===l||aT()){a7.preventDefault()}else{var a9=aq.allowPageScroll===r;switch(a8){case o:if((aq.swipeLeft&&a9)||(!a9&&aq.allowPageScroll!=A)){a7.preventDefault()}break;case n:if((aq.swipeRight&&a9)||(!a9&&aq.allowPageScroll!=A)){a7.preventDefault()}break;case d:if((aq.swipeUp&&a9)||(!a9&&aq.allowPageScroll!=t)){a7.preventDefault()}break;case v:if((aq.swipeDown&&a9)||(!a9&&aq.allowPageScroll!=t)){a7.preventDefault()}break}}}function a4(){var a8=aK();var a7=U();var a9=ab();return a8&&a7&&a9}function aT(){return!!(aq.pinchStatus||aq.pinchIn||aq.pinchOut)}function M(){return!!(a4()&&aT())}function aR(){var ba=aw();var bc=aj();var a9=aK();var a7=U();var a8=a6();var bb=!a8&&a7&&a9&&bc&&ba;return bb}function S(){return!!(aq.swipe||aq.swipeStatus||aq.swipeLeft||aq.swipeRight||aq.swipeUp||aq.swipeDown)}function F(){return!!(aR()&&S())}function aK(){return((T===aq.fingers||aq.fingers===h)||!a)}function U(){return aM[0].end.x!==0}function a2(){return!!(aq.tap)}function V(){return!!(aq.doubleTap)}function aQ(){return!!(aq.longTap)}function N(){if(K==null){return false}var a7=ao();return(V()&&((a7-K)<=aq.doubleTapThreshold))}function E(){return N()}function at(){return((T===1||!a)&&(isNaN(ac)||ac===0))}function aW(){return((Y>aq.longTapThreshold)&&(ac=0)){return o}else{if((a9<=360)&&(a9>=315)){return o}else{if((a9>=135)&&(a9<=225)){return n}else{if((a9>45)&&(a9<135)){return v}else{return d}}}}}function ao(){var a7=new Date();return a7.getTime()}function aU(a7){a7=e(a7);var a9=a7.offset();var a8={left:a9.left,right:a9.left+a7.outerWidth(),top:a9.top,bottom:a9.top+a7.outerHeight()};return a8}function B(a7,a8){return(a7.x>a8.left&&a7.xa8.top&&a7.y.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%;}';div.className='fit-vids-style';div.id='fit-vids-style';div.style.display='none';div.innerHTML=cssStyles;ref.parentNode.insertBefore(div,ref);} if(options){$.extend(settings,options);} return this.each(function(){var selectors=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];if(settings.customSelector){selectors.push(settings.customSelector);} var $allVideos=$(this).find(selectors.join(','));$allVideos=$allVideos.not("object object");$allVideos.each(function(){var $this=$(this);if(this.tagName.toLowerCase()==='embed'&&$this.parent('object').length||$this.parent('.fluid-width-video-wrapper').length){return;} var height=(this.tagName.toLowerCase()==='object'||($this.attr('height')&&!isNaN(parseInt($this.attr('height'),10))))?parseInt($this.attr('height'),10):$this.height(),width=!isNaN(parseInt($this.attr('width'),10))?parseInt($this.attr('width'),10):$this.width(),aspectRatio=height/width;if(!$this.attr('id')){var videoID='fitvid'+Math.floor(Math.random()*999999);$this.attr('id',videoID);} $this.wrap('
    ').parent('.fluid-width-video-wrapper').css('padding-top',(aspectRatio*100)+"%");$this.removeAttr('height').removeAttr('width');});});};})(window.jQuery||window.Zepto);;var Swiper=function(f,b){function g(a,b){return document.querySelectorAll?(b||document).querySelectorAll(a):jQuery(a,b)}function h(){var c=A-m;b.freeMode&&(c=A-m);b.slidesPerView>a.slides.length&&(c=0);0>c&&(c=0);return c}function k(){function c(c){var d=new Image;d.onload=function(){a.imagesLoaded++;a.imagesLoaded==a.imagesToLoad.length&&(a.reInit(),b.onImagesReady&&a.fireCallback(b.onImagesReady,a))};d.src=c}var d=a.h.addEventListener;a.browser.ie10?(d(a.wrapper,a.touchEvents.touchStart,B),d(document,a.touchEvents.touchMove,C),d(document,a.touchEvents.touchEnd,D)):(a.support.touch&&(d(a.wrapper,"touchstart",B),d(a.wrapper,"touchmove",C),d(a.wrapper,"touchend",D)),b.simulateTouch&&(d(a.wrapper,"mousedown",B),d(document,"mousemove",C),d(document,"mouseup",D)));b.autoResize&&d(window,"resize",a.resizeFix);q();a._wheelEvent=!1;if(b.mousewheelControl){void 0!==document.onmousewheel&&(a._wheelEvent="mousewheel");try{WheelEvent("wheel"),a._wheelEvent="wheel"}catch(e){}a._wheelEvent||(a._wheelEvent="DOMMouseScroll");a._wheelEvent&&d(a.container,a._wheelEvent,P)}b.keyboardControl&&d(document,"keydown",Q);if(b.updateOnImagesReady)for(a.imagesToLoad=g("img",a.container),d=0;d=v&&r[0]<=v+g&&r[1]>=h&&r[1]<=h+m&&(e=!0)}if(!e)return}if(l){if(37==b||39==b)c.preventDefault?c.preventDefault():c.returnValue=!1;39==b&&a.swipeNext();37==b&&a.swipePrev()}else{if(38==b||40==b)c.preventDefault?c.preventDefault():c.returnValue=!1;40==b&&a.swipeNext();38==b&&a.swipePrev()}}function P(c){var d=a._wheelEvent,e=0;if(c.detail)e=-c.detail;else if("mousewheel"==d)if(b.mousewheelControlForceToAxis)if(l)if(Math.abs(c.wheelDeltaX)>Math.abs(c.wheelDeltaY))e=c.wheelDeltaX;else return;else if(Math.abs(c.wheelDeltaY)>Math.abs(c.wheelDeltaX))e=c.wheelDeltaY;else return;else e=c.wheelDelta;else if("DOMMouseScroll"==d)e=-c.detail;else if("wheel"==d)if(b.mousewheelControlForceToAxis)if(l)if(Math.abs(c.deltaX)>Math.abs(c.deltaY))e=-c.deltaX;else return;else if(Math.abs(c.deltaY)>Math.abs(c.deltaX))e=-c.deltaY;else return;else e=Math.abs(c.deltaX)>Math.abs(c.deltaY)?-c.deltaX:-c.deltaY;if(b.freeMode){if(d=a.getWrapperTranslate()+e,0e?a.swipeNext():a.swipePrev()),V=(new Date).getTime();b.autoplay&&a.stopAutoplay(!0);c.preventDefault?c.preventDefault():c.returnValue=!1;return!1}function T(c){a.allowSlideClick&&(W(c),a.fireCallback(b.onSlideClick,a,c))}function U(c){W(c);a.fireCallback(b.onSlideTouch,a,c)}function W(c){if(c.currentTarget)a.clickedSlide=c.currentTarget;else{c=c.srcElement;do if(-1Math.abs(d- a.touches.startX)));"undefined"!==typeof y||l||(y=!!(y||Math.abs(e-a.touches.startY)c?m/2:a.positions.current*c),a.positions.current<-h()&&(d=(a.touches.current-a.touches.start)*b.touchRatio+(h()+a.positions.start),c=(m+d)/m,d=a.positions.current-d*(1-c)/2,e=-h()-m/2,a.positions.current=d=c?e:d)),b.resistance&&"100%"==b.resistance&&(0b.moveStartThreshold||N?(N=!0,a.setWrapperTranslate(a.positions.current)):a.positions.current=a.positions.start:a.setWrapperTranslate(a.positions.current),(b.freeMode||b.watchActiveIndex)&&a.updateActiveSlide(a.positions.current),b.grabCursor&&(a.container.style.cursor="move",a.container.style.cursor="grabbing",a.container.style.cursor="-moz-grabbin",a.container.style.cursor="-webkit-grabbing"),G||(G=a.touches.current),J||(J=(new Date).getTime()),a.velocity=(a.touches.current-G)/((new Date).getTime()- J)/2,2>Math.abs(a.touches.current-G)&&(a.velocity=0),G=a.touches.current,J=(new Date).getTime(),a.callPlugins("onTouchMoveEnd"),b.onTouchMove&&a.fireCallback(b.onTouchMove,a),!1}}function D(c){y&&a.swipeReset();if(!b.onlyExternal&&a.isTouched){a.isTouched=!1;b.grabCursor&&(a.container.style.cursor="move",a.container.style.cursor="grab",a.container.style.cursor="-moz-grab",a.container.style.cursor="-webkit-grab");a.positions.current||0===a.positions.current||(a.positions.current=a.positions.start);b.followFinger&&a.setWrapperTranslate(a.positions.current);a.times.end=(new Date).getTime();a.touches.diff=a.touches.current-a.touches.start;a.touches.abs=Math.abs(a.touches.diff);a.positions.diff=a.positions.current-a.positions.start;a.positions.abs=Math.abs(a.positions.diff);var d=a.positions.diff,e=a.positions.abs;c=a.times.end-a.times.start;5>e&&300>c&&!1==a.allowLinks&&(b.freeMode||0==e||a.swipeReset(),b.preventLinks&&(a.allowLinks=!0),b.onSlideClick&&(a.allowSlideClick=!0));setTimeout(function(){b.preventLinks&&(a.allowLinks=!0);b.onSlideClick&&(a.allowSlideClick=!0)},100);var f=h();if(!a.isMoved&&b.freeMode)a.isMoved=!1,b.onTouchEnd&&a.fireCallback(b.onTouchEnd,a);else if(!a.isMoved||0p&&(d=p),g=0,I=v=!0):d=0);0!=a.velocity&&(e=Math.abs((d-a.positions.current)/a.velocity));a.setWrapperTranslate(d);a.setWrapperTransition(e);b.momentumBounce&&v&&a.wrapperTransitionEnd(function(){I&&(b.onMomentumBounce&&a.fireCallback(b.onMomentumBounce,a),a.callPlugins("onMomentumBounce"),a.setWrapperTranslate(g),a.setWrapperTransition(300))});a.updateActiveSlide(d)}(!b.freeModeFluid||300<=c)&&a.updateActiveSlide(a.positions.current);b.onTouchEnd&&a.fireCallback(b.onTouchEnd,a)}else{H=0>d?"toNext":"toPrev";"toNext"==H&&300>=c&&(30>e||!b.shortSwipes?a.swipeReset():a.swipeNext(!0));"toPrev"==H&&300>=c&&(30>e||!b.shortSwipes?a.swipeReset():a.swipePrev(!0));f=0;if("auto"==b.slidesPerView){for(var d=Math.abs(a.getWrapperTranslate()),k=v=0;kd){f=p;break}f>m&&(f=m)}else f=s*b.slidesPerView;"toNext"==H&&300=0.5*f?a.swipeNext(!0):a.swipeReset());"toPrev"==H&&300=0.5*f?a.swipePrev(!0):a.swipeReset());if(b.onTouchEnd)b.onTouchEnd(a)}a.callPlugins("onTouchEnd")}}function K(c,d,e){function f(){g+=l*(+new Date-h)/(1E3/60);(k="toNext"==m?g>c:gc?"toNext":"toPrev",k="toNext"==m?g>c:gm){for(w=0;w<=Math.floor(t/(m+a.wrapperLeft));w++)0===w?a.snapGrid.push(p+a.wrapperLeft):a.snapGrid.push(p+a.wrapperLeft+m*w);a.slidesGrid.push(p+a.wrapperLeft)}else a.snapGrid.push(k),a.slidesGrid.push(k);k+=t/2+u/2}else{if(t>m)for(w=0;w<=Math.floor(t/m);w++)a.snapGrid.push(p+ m*w);else a.snapGrid.push(p);a.slidesGrid.push(p)}p+=t;g+=f;h+=q}b.calculateHeight&&(a.height=n);l?(A=g+a.wrapperRight+a.wrapperLeft,e.style.width=g+"px",e.style.height=a.height+"px"):(A=h+a.wrapperTop+a.wrapperBottom,e.style.width=a.width+"px",e.style.height=h+"px")}else if(b.scrollContainer)e.style.width="",e.style.height="",n=a.slides[0].getWidth(!0),g=a.slides[0].getHeight(!0),A=l?n:g,e.style.width=n+"px",e.style.height=g+"px",s=l?n:g;else{if(b.calculateHeight){g=n=0;l||(a.container.style.height="");e.style.height="";for(r=0;r=a.snapGrid[e]&&-ca.snapGrid[e]&&-c=a.snapGrid[e]&&-c=a.snapGrid[a.snapGrid.length-1]&&(d=-a.snapGrid[a.snapGrid.length-1]);c<=-h()&&(d=-h())}else d=0>c?Math.round(c/d)*d:0;b.scrollContainer&&(d=0>c?c:0);d<-h()&&(d=-h());b.scrollContainer&&m>s&&(d=0);if(d==c)return!1;K(d,"reset");return!0};a.swipeTo=function(c,d,e){c=parseInt(c,10);a.callPlugins("onSwipeTo",{index:c,speed:d});b.loop&&(c+=a.loopedSlides);var f=a.getWrapperTranslate();if(!(c>a.slides.length-1||0>c)){var g;g="auto"==b.slidesPerView?-a.slidesGrid[c]:-c*s;g<-h()&&(g=-h());if(g==f)return!1;K(g,"to",{index:c,speed:d,runCallbacks:!1===e?!1:!0});return!0}};a._queueStartCallbacks=!1;a._queueEndCallbacks=!1;a.updateActiveSlide=function(c){if(a.initialized&&0!=a.slides.length){a.previousIndex=a.activeIndex;"undefined"==typeof c&&(c=a.getWrapperTranslate());0a.activeIndex){for(var d=0;da.slidesGrid[d]&&-ca.activeIndex&&(a.activeIndex=0);if(a.slides[a.activeIndex]){a.calcVisibleSlides(c);e=RegExp("\\s*"+b.slideActiveClass);f=RegExp("\\s*"+b.slideVisibleClass);for(d=0;d=a.slides.length-2*d&&(a.activeLoopIndex=a.slides.length-2*d-a.activeLoopIndex),0>a.activeLoopIndex&&(a.activeLoopIndex=a.slides.length-2*d+a.activeLoopIndex)):a.activeLoopIndex=a.activeIndex;b.pagination&&a.updatePagination(c)}}};a.createPagination=function(c){b.paginationClickable&&a.paginationButtons&&X();a.paginationContainer=b.pagination.nodeType?b.pagination:g(b.pagination)[0];if(b.createPagination){var d="",e=a.slides.length;b.loop&&(e-=2*a.loopedSlides);for(var f=0;f";a.paginationContainer.innerHTML=d}a.paginationButtons=g("."+b.paginationElementClass,a.paginationContainer);c||a.updatePagination();a.callPlugins("onCreatePagination");if(b.paginationClickable)for(c=a.paginationButtons,d=0;da.slides.length)&&g("."+b.paginationActiveClass,a.paginationContainer)){var d=a.paginationButtons;if(0!=d.length){for(var e=0;eh&&(h=a.slides.length-2*a.loopedSlides+h);b.loop&&h>=a.slides.length-2*a.loopedSlides&&(h=a.slides.length-2*a.loopedSlides-h,h=Math.abs(h));c.push(h)}for(e=0;e=-c&&g<=-c+m&&(k=!0),e<=-c&&g>=-c+m&&(k=!0)):(g>-c&&g<=-c+m&&(k=!0),e>=-c&&e<-c+m&&(k=!0),e<-c&&g>-c+m&&(k=!0));k&&d.push(a.slides[h])}0==d.length&&(d=[a.slides[a.activeIndex]]);a.visibleSlides=d};var E=void 0;a.startAutoplay=function(){if("undefined"!==typeof E)return!1;b.autoplay&&(a.callPlugins("onAutoplayStart"),O())};a.stopAutoplay=function(c){E&&clearTimeout(E);E=void 0;c&&!b.autoplayDisableOnInteraction&&a.wrapperTransitionEnd(function(){O()});a.callPlugins("onAutoplayStop")};a.loopCreated=!1;a.removeLoopedSlides=function(){if(a.loopCreated)for(var b=0;ba.slides.length&&(a.loopedSlides=a.slides.length);var c="",d="",e,f="",g=a.slides.length,h=Math.floor(a.loopedSlides/g),k=a.loopedSlides%g;for(e=0;e=g&&(l=e-g*Math.floor(e/g));f+=a.slides[l].outerHTML}for(e=0;e=a.slides.length-a.loopedSlides)&&a.slides[e].setData("looped",!0);a.callPlugins("onCreateLoop")}};a.fixLoop=function(){var c;a.activeIndexa.slides.length-2*b.slidesPerView&&(c=-a.slides.length+a.activeIndex+a.loopedSlides,a.swipeTo(c,0,!1))};a.loadSlides=function(){var c="";a.activeLoaderIndex=0;for(var d=b.loader.slides,e=b.loader.loadAllSlides?d.length:b.slidesPerView*(1+b.loader.surroundGroups),f=0;f'+d[f]+"");a.wrapper.innerHTML=c;a.calcSlides(!0);b.loader.loadAllSlides||a.wrapperTransitionEnd(a.reloadSlides,!0)};a.reloadSlides=function(){var c=b.loader.slides,d=parseInt(a.activeSlide().data("swiperindex"),10);if(!(0>d||d>c.length-1)){a.activeLoaderIndex=d;var e=Math.max(0,d-b.slidesPerView*b.loader.surroundGroups),f=Math.min(d+b.slidesPerView*(1+b.loader.surroundGroups)-1,c.length-1);0'+c[d]+"";a.wrapper.innerHTML=g}else{for(var g=1E3,h=0,d=0;df?a.wrapper.removeChild(a.slides[d]):(g=Math.min(k,g),h=Math.max(k,h))}for(d=e;d<=f;d++)dh&&(e=document.createElement(b.slideElement),e.className=b.slideClass,e.setAttribute("data-swiperindex",d),e.innerHTML=c[d],a.wrapper.appendChild(e))}a.reInit(!0)}};a.calcSlides();0f}(),ie10:window.navigator.msPointerEnabled}};(window.jQuery||window.Zepto)&&function(f){f.fn.swiper=function(b){b=new Swiper(f(this)[0],b);f(this).data("swiper",b);return b}}(window.jQuery||window.Zepto);"undefined"!==typeof module&&(module.exports=Swiper);;eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('7(B 3i.3E!=="9"){3i.3E=9(e){9 t(){}t.5v=e;q 5c t}}(9(e,t,n,r){b i={1J:9(t,n){b r=d;r.$k=e(n);r.6=e.3K({},e.3A.2c.6,r.$k.w(),t);r.29=t;r.3U()},3U:9(){b t=d;7(B t.6.2M==="9"){t.6.2M.P(d,[t.$k])}7(B t.6.2I==="2F"){b n=t.6.2I;9 r(e){7(B t.6.3F==="9"){t.6.3F.P(d,[e])}m{b n="";1C(b r 2f e["h"]){n+=e["h"][r]["1K"]}t.$k.2h(n)}t.2Y()}e.5G(n,r)}m{t.2Y()}},2Y:9(e){b t=d;t.$k.w("h-4p",t.$k.2s("2t")).w("h-4K",t.$k.2s("J"));t.$k.A({2z:0});t.2A=t.6.v;t.4L();t.5R=0;t.1M;t.1P()},1P:9(){b e=d;7(e.$k.1S().S===0){q c}e.1O();e.3H();e.$X=e.$k.1S();e.G=e.$X.S;e.4M();e.$I=e.$k.16(".h-1K");e.$L=e.$k.16(".h-1h");e.2H="Y";e.15=0;e.1W=[0];e.p=0;e.4I();e.4G()},4G:9(){b e=d;e.2V();e.31();e.4D();e.35();e.4C();e.4A();e.2x();e.4z();7(e.6.2w!==c){e.4w(e.6.2w)}7(e.6.Q===j){e.6.Q=5i}e.1e();e.$k.16(".h-1h").A("4v","4r");7(!e.$k.2p(":33")){e.34()}m{e.$k.A("2z",1)}e.56=c;e.2o();7(B e.6.39==="9"){e.6.39.P(d,[e.$k])}},2o:9(){b e=d;7(e.6.1I===j){e.1I()}7(e.6.1A===j){e.1A()}e.4n();7(B e.6.3n==="9"){e.6.3n.P(d,[e.$k])}},3o:9(){b e=d;7(B e.6.3p==="9"){e.6.3p.P(d,[e.$k])}e.34();e.2V();e.31();e.4m();e.35();e.2o();7(B e.6.3t==="9"){e.6.3t.P(d,[e.$k])}},4i:9(e){b t=d;19(9(){t.3o()},0)},34:9(){b e=d;7(e.$k.2p(":33")===c){e.$k.A({2z:0});18(e.1r);18(e.1M)}m{q c}e.1M=4g(9(){7(e.$k.2p(":33")){e.4i();e.$k.4f({2z:1},2J);18(e.1M)}},5O)},4M:9(){b e=d;e.$X.5N(\'\').3G(\'\');e.$k.16(".h-1h").3G(\'\');e.1U=e.$k.16(".h-1h-4d");e.$k.A("4v","4r")},1O:9(){b e=d;b t=e.$k.1V(e.6.1O);b n=e.$k.1V(e.6.28);7(!t){e.$k.K(e.6.1O)}7(!n){e.$k.K(e.6.28)}},2V:9(){b t=d;7(t.6.2Z===c){q c}7(t.6.4b===j){t.6.v=t.2A=1;t.6.17=c;t.6.1q=c;t.6.21=c;t.6.24=c;t.6.25=c;t.6.26=c;q c}b n=e(t.6.4a).1m();7(n>(t.6.1q[0]||t.2A)){t.6.v=t.2A}7(B t.6.17!=="3b"&&t.6.17!==c){t.6.17.5x(9(e,t){q e[0]-t[0]});1C(b r 2f t.6.17){7(B t.6.17[r]!=="3b"&&t.6.17[r][0]<=n){t.6.v=t.6.17[r][1]}}}m{7(n<=t.6.1q[0]&&t.6.1q!==c){t.6.v=t.6.1q[1]}7(n<=t.6.21[0]&&t.6.21!==c){t.6.v=t.6.21[1]}7(n<=t.6.24[0]&&t.6.24!==c){t.6.v=t.6.24[1]}7(n<=t.6.25[0]&&t.6.25!==c){t.6.v=t.6.25[1]}7(n<=t.6.26[0]&&t.6.26!==c){t.6.v=t.6.26[1]}}7(t.6.v>t.G&&t.6.49===j){t.6.v=t.G}},4C:9(){b n=d,r;7(n.6.2Z!==j){q c}b i=e(t).1m();n.3f=9(){7(e(t).1m()!==i){7(n.6.Q!==c){18(n.1r)}5o(r);r=19(9(){i=e(t).1m();n.3o()},n.6.48)}};e(t).47(n.3f)},4m:9(){b e=d;e.2j(e.p);7(e.6.Q!==c){e.3l()}},46:9(){b t=d;b n=0;b r=t.G-t.6.v;t.$I.2i(9(i){b s=e(d);s.A({1m:t.N}).w("h-1K",3q(i));7(i%t.6.v===0||i===r){7(!(i>r)){n+=1}}s.w("h-1L",n)})},45:9(){b e=d;b t=0;b t=e.$I.S*e.N;e.$L.A({1m:t*2,V:0});e.46()},31:9(){b e=d;e.44();e.45();e.43();e.3x()},44:9(){b e=d;e.N=1N.5a(e.$k.1m()/e.6.v)},3x:9(){b e=d;b t=(e.G*e.N-e.6.v*e.N)*-1;7(e.6.v>e.G){e.C=0;t=0;e.3D=0}m{e.C=e.G-e.6.v;e.3D=t}q t},42:9(){q 0},43:9(){b t=d;t.H=[0];t.2C=[];b n=0;b r=0;1C(b i=0;i\').4Q("4P",!t.F.13).5E(t.$k)}7(t.6.1s===j){t.3Z()}7(t.6.2b===j){t.3Y()}},3Y:9(){b t=d;b n=e(\'\');t.D.1k(n);t.1w=e("",{"J":"h-1l",2h:t.6.2T[0]||""});t.1y=e("",{"J":"h-Y",2h:t.6.2T[1]||""});n.1k(t.1w).1k(t.1y);n.z("2W.D 1Z.D",\'M[J^="h"]\',9(e){e.1n()});n.z("2a.D 2n.D",\'M[J^="h"]\',9(n){n.1n();7(e(d).1V("h-Y")){t.Y()}m{t.1l()}})},3Z:9(){b t=d;t.1o=e(\'\');t.D.1k(t.1o);t.1o.z("2a.D 2n.D",".h-1p",9(n){n.1n();7(3q(e(d).w("h-1p"))!==t.p){t.1i(3q(e(d).w("h-1p")),j)}})},3T:9(){b t=d;7(t.6.1s===c){q c}t.1o.2h("");b n=0;b r=t.G-t.G%t.6.v;1C(b i=0;i",{"J":"h-1p"});b u=e("<3Q>",{54:t.6.38===j?n:"","J":t.6.38===j?"h-5l":""});o.1k(u);o.w("h-1p",r===i?s:i);o.w("h-1L",n);t.1o.1k(o)}}t.3a()},3a:9(){b t=d;7(t.6.1s===c){q c}t.1o.16(".h-1p").2i(9(n,r){7(e(d).w("h-1L")===e(t.$I[t.p]).w("h-1L")){t.1o.16(".h-1p").Z("2d");e(d).K("2d")}})},3d:9(){b e=d;7(e.6.2b===c){q c}7(e.6.2e===c){7(e.p===0&&e.C===0){e.1w.K("1b");e.1y.K("1b")}m 7(e.p===0&&e.C!==0){e.1w.K("1b");e.1y.Z("1b")}m 7(e.p===e.C){e.1w.Z("1b");e.1y.K("1b")}m 7(e.p!==0&&e.p!==e.C){e.1w.Z("1b");e.1y.Z("1b")}}},35:9(){b e=d;e.3T();e.3d();7(e.D){7(e.6.v>=e.G){e.D.3N()}m{e.D.3L()}}},5g:9(){b e=d;7(e.D){e.D.3j()}},Y:9(e){b t=d;7(t.1G){q c}t.p+=t.6.14===j?t.6.v:1;7(t.p>t.C+(t.6.14==j?t.6.v-1:0)){7(t.6.2e===j){t.p=0;e="2k"}m{t.p=t.C;q c}}t.1i(t.p,e)},1l:9(e){b t=d;7(t.1G){q c}7(t.6.14===j&&t.p>0&&t.p=r.C){e=r.C}m 7(e<=0){e=0}r.p=r.h.p=e;7(r.6.2w!==c&&n!=="4e"&&r.6.v===1&&r.F.1u===j){r.1B(0);7(r.F.1u===j){r.1H(r.H[e])}m{r.1x(r.H[e],1)}r.2q();r.4k();q c}b i=r.H[e];7(r.F.1u===j){r.1T=c;7(t===j){r.1B("1D");19(9(){r.1T=j},r.6.1D)}m 7(t==="2k"){r.1B(r.6.2u);19(9(){r.1T=j},r.6.2u)}m{r.1B("1j");19(9(){r.1T=j},r.6.1j)}r.1H(i)}m{7(t===j){r.1x(i,r.6.1D)}m 7(t==="2k"){r.1x(i,r.6.2u)}m{r.1x(i,r.6.1j)}}r.2q()},2j:9(e){b t=d;7(B t.6.1F==="9"){t.6.1F.P(d,[t.$k])}7(e>=t.C||e===-1){e=t.C}m 7(e<=0){e=0}t.1B(0);7(t.F.1u===j){t.1H(t.H[e])}m{t.1x(t.H[e],1)}t.p=t.h.p=e;t.2q()},2q:9(){b e=d;e.1W.2D(e.p);e.15=e.h.15=e.1W[e.1W.S-2];e.1W.55(0);7(e.15!==e.p){e.3a();e.3d();e.2o();7(e.6.Q!==c){e.3l()}}7(B e.6.3z==="9"&&e.15!==e.p){e.6.3z.P(d,[e.$k])}},W:9(){b e=d;e.3k="W";18(e.1r)},3l:9(){b e=d;7(e.3k!=="W"){e.1e()}},1e:9(){b e=d;e.3k="1e";7(e.6.Q===c){q c}18(e.1r);e.1r=4g(9(){e.Y(j)},e.6.Q)},1B:9(e){b t=d;7(e==="1j"){t.$L.A(t.2y(t.6.1j))}m 7(e==="1D"){t.$L.A(t.2y(t.6.1D))}m 7(B e!=="2F"){t.$L.A(t.2y(e))}},2y:9(e){b t=d;q{"-1R-1a":"2B "+e+"1z 2r","-27-1a":"2B "+e+"1z 2r","-o-1a":"2B "+e+"1z 2r",1a:"2B "+e+"1z 2r"}},3I:9(){q{"-1R-1a":"","-27-1a":"","-o-1a":"",1a:""}},3J:9(e){q{"-1R-O":"1g("+e+"T, E, E)","-27-O":"1g("+e+"T, E, E)","-o-O":"1g("+e+"T, E, E)","-1z-O":"1g("+e+"T, E, E)",O:"1g("+e+"T, E,E)"}},1H:9(e){b t=d;t.$L.A(t.3J(e))},3M:9(e){b t=d;t.$L.A({V:e})},1x:9(e,t){b n=d;n.2g=c;n.$L.W(j,j).4f({V:e},{59:t||n.6.1j,3O:9(){n.2g=j}})},4L:9(){b e=d;b r="1g(E, E, E)",i=n.5f("M");i.2t.3P=" -27-O:"+r+"; -1z-O:"+r+"; -o-O:"+r+"; -1R-O:"+r+"; O:"+r;b s=/1g\\(E, E, E\\)/g,o=i.2t.3P.5k(s),u=o!==1d&&o.S===1;b a="5z"2f t||5C.4U;e.F={1u:u,13:a}},4A:9(){b e=d;7(e.6.22!==c||e.6.23!==c){e.3R();e.3S()}},3H:9(){b e=d;b t=["s","e","x"];e.12={};7(e.6.22===j&&e.6.23===j){t=["2W.h 1Z.h","2P.h 3V.h","2a.h 3W.h 2n.h"]}m 7(e.6.22===c&&e.6.23===j){t=["2W.h","2P.h","2a.h 3W.h"]}m 7(e.6.22===j&&e.6.23===c){t=["1Z.h","3V.h","2n.h"]}e.12["3X"]=t[0];e.12["2O"]=t[1];e.12["2N"]=t[2]},3S:9(){b t=d;t.$k.z("5A.h",9(e){e.1n()});t.$k.z("1Z.40",9(t){q e(t.1f).2p("5F, 5H, 5Q, 5S")})},3R:9(){9 o(e){7(e.2L){q{x:e.2L[0].2K,y:e.2L[0].41}}m{7(e.2K!==r){q{x:e.2K,y:e.41}}m{q{x:e.52,y:e.53}}}}9 u(t){7(t==="z"){e(n).z(i.12["2O"],f);e(n).z(i.12["2N"],l)}m 7(t==="R"){e(n).R(i.12["2O"]);e(n).R(i.12["2N"])}}9 a(n){b n=n.3B||n||t.3w;7(n.5d===3){q c}7(i.G<=i.6.v){q}7(i.2g===c&&!i.6.3v){q c}7(i.1T===c&&!i.6.3v){q c}7(i.6.Q!==c){18(i.1r)}7(i.F.13!==j&&!i.$L.1V("3s")){i.$L.K("3s")}i.11=0;i.U=0;e(d).A(i.3I());b r=e(d).2l();s.3g=r.V;s.3e=o(n).x-r.V;s.3c=o(n).y-r.5y;u("z");s.2m=c;s.30=n.1f||n.4c}9 f(r){b r=r.3B||r||t.3w;i.11=o(r).x-s.3e;i.2S=o(r).y-s.3c;i.U=i.11-s.3g;7(B i.6.2R==="9"&&s.2Q!==j&&i.U!==0){s.2Q=j;i.6.2R.P(i,[i.$k])}7(i.U>8||i.U<-8&&i.F.13===j){r.1n?r.1n():r.5M=c;s.2m=j}7((i.2S>10||i.2S<-10)&&s.2m===c){e(n).R("2P.h")}b u=9(){q i.U/5};b a=9(){q i.3D+i.U/5};i.11=1N.3x(1N.42(i.11,u()),a());7(i.F.1u===j){i.1H(i.11)}m{i.3M(i.11)}}9 l(n){b n=n.3B||n||t.3w;n.1f=n.1f||n.4c;s.2Q=c;7(i.F.13!==j){i.$L.Z("3s")}7(i.U<0){i.1t=i.h.1t="V"}m{i.1t=i.h.1t="2G"}7(i.U!==0){b r=i.4h();i.1i(r,c,"4e");7(s.30===n.1f&&i.F.13!==j){e(n.1f).z("3u.4j",9(t){t.4S();t.4T();t.1n();e(n.1f).R("3u.4j")});b o=e.4O(n.1f,"4V")["3u"];b a=o.4W();o.4X(0,0,a)}}u("R")}b i=d;b s={3e:0,3c:0,4Y:0,3g:0,2l:1d,4Z:1d,50:1d,2m:1d,51:1d,30:1d};i.2g=j;i.$k.z(i.12["3X"],".h-1h",a)},4h:9(){b e=d,t;t=e.4l();7(t>e.C){e.p=e.C;t=e.C}m 7(e.11>=0){t=0;e.p=0}q t},4l:9(){b t=d,n=t.6.14===j?t.2C:t.H,r=t.11,i=1d;e.2i(n,9(s,o){7(r-t.N/20>n[s+1]&&r-t.N/20(n[s+1]||n[s]-t.N)&&t.3m()==="2G"){7(t.6.14===j){i=n[s+1]||n[n.S-1];t.p=e.4o(i,t.H)}m{i=n[s+1];t.p=s+1}}});q t.p},3m:9(){b e=d,t;7(e.U<0){t="2G";e.2H="Y"}m{t="V";e.2H="1l"}q t},4I:9(){b e=d;e.$k.z("h.Y",9(){e.Y()});e.$k.z("h.1l",9(){e.1l()});e.$k.z("h.1e",9(t,n){e.6.Q=n;e.1e();e.36="1e"});e.$k.z("h.W",9(){e.W();e.36="W"});e.$k.z("h.1i",9(t,n){e.1i(n)});e.$k.z("h.2j",9(t,n){e.2j(n)})},2x:9(){b e=d;7(e.6.2x===j&&e.F.13!==j&&e.6.Q!==c){e.$k.z("57",9(){e.W()});e.$k.z("58",9(){7(e.36!=="W"){e.1e()}})}},1I:9(){b t=d;7(t.6.1I===c){q c}1C(b n=0;n=t.p}m{u=j}7(u&&s=n.$X.S||i===-1){n.$X.1E(-1).5X(e)}m{n.$X.1E(i).5Y(e)}n.1P()},5Z:9(e){b t=d,n;7(t.$k.1S().S===0){q c}7(e===r||e===-1){n=-1}m{n=e}t.1Q();t.$X.1E(n).3j();t.1P()}};e.3A.2c=9(t){q d.2i(9(){7(e(d).w("h-1J")===j){q c}e(d).w("h-1J",j);b n=3i.3E(i);n.1J(t,d);e.w(d,"2c",n)})};e.3A.2c.6={v:5,17:c,1q:[60,4],21:[61,3],24:[62,2],25:c,26:[63,1],4b:c,49:c,1j:2J,1D:64,2u:65,Q:c,2x:c,2b:c,2T:["1l","Y"],2e:j,14:c,1s:j,38:c,2Z:j,48:2J,4a:t,1O:"h-66",28:"h-28",1I:c,4t:j,4x:"4y",1A:c,2I:c,3F:c,3v:j,22:j,23:j,37:c,2w:c,3p:c,3t:c,2M:c,39:c,1F:c,3z:c,3n:c,2R:c,3r:c}})(67,68,69)',62,382,'||||||options|if||function||var|false|this||||owl||true|elem||else|||currentItem|return|||||items|data|||on|css|typeof|maximumItem|owlControls|0px|browser|itemsAmount|positionsInArray|owlItems|class|addClass|owlWrapper|div|itemWidth|transform|apply|autoPlay|off|length|px|newRelativeX|left|stop|userItems|next|removeClass||newPosX|ev_types|isTouch|scrollPerPage|prevItem|find|itemsCustom|clearInterval|setTimeout|transition|disabled|loaded|null|play|target|translate3d|wrapper|goTo|slideSpeed|append|prev|width|preventDefault|paginationWrapper|page|itemsDesktop|autoPlayInterval|pagination|dragDirection|support3d|visibleItems|buttonPrev|css2slide|buttonNext|ms|autoHeight|swapSpeed|for|paginationSpeed|eq|beforeMove|isTransition|transition3d|lazyLoad|init|item|roundPages|checkVisible|Math|baseClass|setVars|unWrap|webkit|children|isCss3Finish|wrapperOuter|hasClass|prevArr|src|origin|mousedown||itemsDesktopSmall|mouseDrag|touchDrag|itemsTablet|itemsTabletSmall|itemsMobile|moz|theme|userOptions|touchend|navigation|owlCarousel|active|rewindNav|in|isCssFinish|html|each|jumpTo|rewind|position|sliding|mouseup|eachMoveUpdate|is|afterGo|ease|attr|style|rewindSpeed|100|transitionStyle|stopOnHover|addCssSpeed|opacity|orignalItems|all|pagesInArray|push|endCurrent|string|right|playDirection|jsonPath|200|pageX|touches|beforeInit|end|move|touchmove|dragging|startDragging|newPosY|navigationText|get|updateItems|touchstart|completeImg|logIn|responsive|targetElement|calculateAll|clearTransStyle|visible|watchVisibility|updateControls|hoverStatus|addClassActive|paginationNumbers|afterInit|checkPagination|undefined|offsetY|checkNavigation|offsetX|resizer|relativePos|height|Object|remove|apStatus|checkAp|moveDirection|afterAction|updateVars|beforeUpdate|Number|afterLazyLoad|grabbing|afterUpdate|click|dragBeforeAnimFinish|event|max|unwrap|afterMove|fn|originalEvent|endPrev|maximumPixels|create|jsonSuccess|wrap|eventTypes|removeTransition|doTranslate|extend|show|css2move|hide|complete|cssText|span|gestures|disabledEvents|updatePagination|loadContent|mousemove|touchcancel|start|buildButtons|buildPagination|disableTextSelect|pageY|min|loops|calculateWidth|appendWrapperSizes|appendItemsSizes|resize|responsiveRefreshRate|itemsScaleUp|responsiveBaseWidth|singleItem|srcElement|outer|drag|animate|setInterval|getNewPosition|reload|disable|singleItemTransition|closestItem|updatePosition|onVisibleItems|inArray|originalStyles|continue|block|loading|lazyFollow|lazyPreload|display|transitionTypes|lazyEffect|fade|owlStatus|moveEvents|naturalWidth|response|buildControls|outClass|inClass|onStartup|abs|customEvents|perspective|originalClasses|checkBrowser|wrapItems|clearEvents|_data|clickable|toggleClass|controls|stopImmediatePropagation|stopPropagation|msMaxTouchPoints|events|pop|splice|baseElWidth|minSwipe|maxSwipe|dargging|clientX|clientY|text|shift|onstartup|mouseover|mouseout|duration|round|lazyOwl|new|which|checked|createElement|destroyControls|buttons|5e3|removeAttr|match|numbers|fadeIn|400|clearTimeout|prop|tagName|DIV|background|image|url|prototype|img|sort|top|ontouchstart|dragstart|out|navigator|relative|appendTo|input|getJSON|textarea|webkitAnimationEnd|oAnimationEnd|MSAnimationEnd|animationend|returnValue|wrapAll|500|baseElement|select|wrapperWidth|option|destroy|removeData|reinit|addItem|after|before|removeItem|1199|979|768|479|800|1e3|carousel|jQuery|window|document'.split('|'),0,{})); /* * Fresco - A Beautiful Responsive Lightbox - v1.3.0 * (c) 2012-2013 Nick Stakenburg * * http://www.frescojs.com * * License: http://www.frescojs.com/license */ eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(G($){G 1e(i){H t={};1X(H e 4C i)t[e]=i[e]+"1e";P t}G 5k(){H i=x.2I();P i.L>i.K?"2Y":"3H"}G 6i(i){P 5l.7B.2B(5l,i.3t(","))}G 6j(){1X(H i="",t=6i("9A,97,9B,6k,9C,9D");!/^([a-5m-Z])+/.6l(i);)i=13[t]().9E(36).5n(2,5);P i}G 6i(i){P 5l.7B.2B(5l,i.3t(","))}G 5o(i){16.6m&&6m[6m.5o?"5o":"9F"](i)}G 6n(i,t){U(!26.7C)P t(!1,1),2C 0;H e={K:i.K,L:i.L},s={K:43,L:43},o=1,n=1;e.K>s.K&&(o=s.K/e.K),e.L>s.L&&(n=s.L/e.L);H a=13.2e(o,n);1>a&&(e.K*=a,e.L*=a);H h=1Y 6o,r=$("<4D>").2q(e)[0],d=r.6p("2d");d.9G=.8,d.9H(i,0,0,e.K,e.L),h.3I=G(){t(h,a)};5p{h.3k=r.6q("1p/7D")}5q(u){t(!1,1)}}G 5r(i,t){1X(H e 4C t)t[e]&&t[e].7E&&t[e].7E===9I?(i[e]=$.1f({},i[e])||{},5r(i[e],t[e])):i[e]=t[e];P i}G 3u(i,t){P 5r($.1f({},i),t)}G 44(){F.1A.2B(F,k.2k(1M))}G 6r(){F.1A.2B(F,k.2k(1M))}G 6s(){F.1A.2B(F,k.2k(1M))}G 6t(){F.1A.2B(F,k.2k(1M))}G 6u(){F.1A.2B(F,k.2k(1M))}G 46(){F.1A.2B(F,k.2k(1M))}G 6v(){F.1A.2B(F,k.2k(1M))}G 4E(i){H t={Y:"1p"};P $.1h(E,G(e,s){H o=s.1b(i);o&&(t=o,t.Y=e,t.1w=i)}),t}G 5s(i){H t=(i||"").9J(/\\?.*/g,"").6w(/\\.([^.]{3,4})$/);P t?t[1].6x():1o}H j=16.6y||{};$.1f(j,{6z:"1.3.0"}),j.3J={7F:{1t:{1q:{1i:0,19:0,1G:9K,5t:!0},1N:{1i:0,19:6A,2J:6B},1c:{1i:43,2Z:0,28:6A,2J:6B},1T:{7G:43,7H:43},16:{1i:9L,19:6A,1v:9M},Q:{1i:6B,19:43,2J:9N}},5u:{Q:{1i:7I,19:7I,2J:9O}},2v:"4F",5v:{1u:!0,47:!0,5w:!0},2K:!1,3K:"1U-1K",1P:{1Z:!0},1v:!1,3L:!0,7J:{4F:{48:20,3v:20},K:{48:0,3v:0},L:{48:0,3v:0},4G:{48:0,3v:0}},1c:!0,11:{K:{2Y:.8,3H:.6}},Q:"29",1Q:{5x:1,4H:1,9P:1,9Q:1,2Y:0,2K:0},2a:{5x:1,31:1,9R:1,6C:1,9S:3,2K:0,9T:1,9U:0},5y:{1p:{},1Q:{K:7K},2a:{K:7K,L:9V}}},7L:{},2f:{},7M:{}};H k=9W.32.9X,2L={5z:G(i){P i&&1==i.7N},12:{9Y:G(){G i(i){1X(H t=i;t&&t.7O;)t=t.7O;P t}P G(t){H e=i(t);P!(!e||!e.4I)}}()}};(G(){G i(i){H t;U(i.3l.7P?t=i.3l.7P/9Z:i.3l.7Q&&(t=-i.3l.7Q/3),t){H e=$.a0("2f:5A");$(i.2D).a1(e,t),e.a2()&&i.2r(),e.a3()&&i.2l()}}$(2o.4J).1x("5A a4",i)})();H q=G(){H i=0,t=6j()+6j();P G(e){1X(e=e||t,i++;$("#"+e+i)[0];)i++;P e+i}}(),3w={};(G(){H i={};$.1h(["a5","a6","a7","a8","a9"],G(t,e){i[e]=G(i){P 13.7R(i,t+2)}}),$.1f(i,{aa:G(i){P 1-13.ab(i*13.ac/2)}}),$.1h(i,G(i,t){3w["ad"+i]=t,3w["ae"+i]=G(i){P 1-t(1-i)},3w["af"+i]=G(i){P.5>i?t(2*i)/2:1-t(-2*i+2)/2}}),$.1h(3w,G(i,t){$.3w[i]||($.3w[i]=t)})})();H x={2I:G(){H i={L:$(16).L(),K:$(16).K()};P 1a.4K&&(i.K=16.ag,i.L=16.3M),i}},3x={3y:G(i){H t=$.1f({2v:"4F"},1M[1]||{});t.2M||(t.2M=$.1f({},R.21));H e=t.2M,s=$.1f({},i),o=1,n=5;t.3m&&(e.K-=2*t.3m,e.L-=2*t.3m);H a={L:!0,K:!0};2E(t.2v){1D"4G":a={};1D"K":1D"L":a={},a[t.2v]=!0}1X(;n>0&&(a.K&&s.K>e.K||a.L&&s.L>e.L);){H h=1,r=1;a.K&&s.K>e.K&&(h=e.K/s.K),a.L&&s.L>e.L&&(r=e.L/s.L);H o=13.2e(h,r);s={K:13.3N(i.K*o),L:13.3N(i.L*o)},n--}P s.K=13.1B(s.K,0),s.L=13.1B(s.L,0),s}},1a=G(i){G t(t){H e=ah(t+"([\\\\d.]+)").5B(i);P e?4L(e[1]):!0}P{1m:!(!16.ai||-1!==i.33("6D"))&&t("aj "),6D:i.33("6D")>-1&&(!!16.6E&&6E.6z&&4L(6E.6z())||7.55),49:i.33("7S/")>-1&&t("7S/"),7T:i.33("7T")>-1&&-1===i.33("ak")&&t("al:"),4K:!!i.6w(/am.*an.*ao/),6F:i.33("6F")>-1&&t("6F/"),7U:i.33("7V")>-1&&t("7V/"),3z:i.33("3z")>-1&&t("3z "),5C:i.33("5C")>-1&&t("5C/")}}(7W.ap),26=G(){G i(i){P e(i,"7X")}G t(i,t){1X(H e 4C i)U(2C 0!==s.3A[i[e]])P"7X"==t?i[e]:!0;P!1}G e(i,e){H s=i.aq(0).7Y()+i.5n(1),n=(i+" "+o.ar(s+" ")+s).3t(" ");P t(n,e)}H s=2o.6G("X"),o="as at O au av".3t(" ");P{4D:G(){H i=2o.6G("4D");P!(!i.6p||!i.6p("2d"))}(),11:G(){5p{P!!("aw"4C 16||16.7Z&&2o ax 7Z)}5q(i){P!1}}(),6H:!(!16.6H||1a.1m&&9>1a.1m),17:{80:e("80"),ay:i}}}();26.2N=26.11&&(1a.4K||1a.3z||1a.5C||1a.7U||!/^(az|aA|aB)/.6l(7W.aC)),26.7C=26.4D&&G(){H i=2o.6G("4D");P i.6q&&0===i.6q("1p/6I").33("1b:1p/6I")}();H y={3O:{22:{6J:"1.4.4",6K:16.22&&22.aD.aE}},81:G(){G i(i){1X(H e=i.6w(t),s=e&&e[1]&&e[1].3t(".")||[],o=0,n=0,a=s.1n;a>n;n++)o+=4M(s[n]*13.7R(10,6-2*n));P e&&e[3]?o-1:o}H t=/^(\\d+(\\.?\\d+){0,3})([A-82-aF-]+[A-82-aG-9]+)?/;P G(t){(!F.3O[t].6K||i(F.3O[t].6K)= "+F.3O[t].6J))}}()},3n={4a:G(i){P{4b:i?"4b":"5D",5E:i?"5E":"aI",5F:i?"5F":"aJ"}}(26.2N),1x:G(i){G t(t){G s(t){U(e.2l&&t.2l(),p){l=t.3l.5G?t.3l.5G[0]:t,d=(1Y 6L).6M(),h=l.34,r=l.35,n=h-m,a=r-v;H s=(1Y 6L).6M();g&&(e.aK&&13.4c(n)s-p)||(w&&(w=!1,g=!1,m=l.34,v=l.35,n=h-m,a=r-v),"G"==$.Y(e.1G)&&e.1G({2D:i,x:n,y:a}))}}G o(){U(u.4d(3n.4a.4b),p&&d){H t=!1;e.84>d-p&&13.4c(c-h)>e.85&&13.4c(f-r)h?"1u":"47",x:n,y:a})),"G"==$.Y(e.4N)&&e.4N({2D:i,88:t,x:n,y:a})}p=d=1o}H n,a,h,r,d,u=$(F),p=(1Y 6L).6M(),l=t.3l.5G?t.3l.5G[0]:t,c=l.34,f=l.35,m=l.34,v=l.35,w=!0,g=!0;e.2r&&t.aM(),"G"==$.Y(e.3P)&&e.3P({2D:i}),u.1b("I-4b",s).1b("I-5F",o),u.1x(3n.4a.4b,s).aN(3n.4a.5F,o)}H e=$.1f({85:15,86:75,6N:10,89:!1,aO:!1,84:aP,2r:!1,2l:!1,3P:!1,1G:!1,4N:!1,4e:!1},1M[1]||{});$(i).1b("I-5E",t),$(i).1x(3n.4a.5E,t)},4d:G(i){H t={3P:0,1G:0,4N:0};$.1h(t,G(e){t[e]=$(i).1b("I-11"+e),t[e]&&$(i).4d(3n.4a["11"+e],t[e]).aQ("I-11"+e)})}},1s={1I:G(i,t,e){"G"==$.Y(t)&&(e=t,t={}),t=$.1f({3Q:!1,Y:!1,aR:aS,38:!0},t||{});H s=1s.1C.1I(i),o=t.Y||4E(i).Y,n={Y:o,4f:e};U(!s){H a;(a=1s.3B.1I(i))&&a.1g&&(s=a,1s.1C.23(i,a.1g,a.1b))}U(s)e&&e($.1f({},s.1g),s.1b);24 2E(t.3Q&&1s.1N.2g(i),o){1D"1p":H h=1Y 6o;h.3I=G(){h.3I=G(){},s={1g:{K:h.K,L:h.L}},n.1p=h,t.38?6n(h,G(o,a){n.38=o,n.4O=a,1s.1C.23(i,s.1g,n),t.3Q&&1s.1N.2g(i),e&&e(s.1g,n)}):(1s.1C.23(i,s.1g,n),t.3Q&&1s.1N.2g(i),e&&e(s.1g,n))},h.3k=i,t.3Q&&1s.1N.23(i,{1p:h,Y:o});2O;1D"1Q":H r=4E(i).3o,d="4P"+(16.2P&&"4Q:"==16.2P.4R?"s":"")+":",u=$.8a(d+"//web.archive.org/web/20160430172648/http://1q.3a/4H/8b.8c?1w="+d+"//web.archive.org/web/20160430172648/http://1q.3a/"+r+"&4f=?",$.V(G(s){H o={1g:{K:s.K,L:s.L}};1s.1C.23(i,o.1g,n),t.3Q&&1s.1N.2g(i),e&&e(o.1g,n)},F));t.3Q&&1s.1N.23(i,{5H:u,Y:o})}}};1s.6O=G(){P F.1A.2B(F,k.2k(1M))},$.1f(1s.6O.32,{1A:G(){F.1C=[]},1I:G(i){1X(H t=1o,e=0;F.1C.1n>e;e++)F.1C[e]&&F.1C[e].1w==i&&(t=F.1C[e]);P t},23:G(i,t,e){F.1R(i),F.1C.2h({1w:i,1g:t,1b:e})},1R:G(i){1X(H t=0;F.1C.1n>t;t++)F.1C[t]&&F.1C[t].1w==i&&4g F.1C[t]},aT:G(i){H t=1I(i.1w);t?$.1f(t,i):F.1C.2h(i)}}),1s.1C=1Y 1s.6O,1s.44=G(){P F.1A.2B(F,k.2k(1M))},$.1f(1s.44.32,{1A:G(){F.1C=[]},23:G(i,t){F.2g(i),F.1C.2h({1w:i,1b:t})},1I:G(i){1X(H t=1o,e=0;F.1C.1n>e;e++)F.1C[e]&&F.1C[e].1w==i&&(t=F.1C[e]);P t},2g:G(i){1X(H t=F.1C,e=0;t.1n>e;e++)U(t[e]&&t[e].1w==i&&t[e].1b){H s=t[e].1b;2E(s.Y){1D"1p":s.1p&&s.1p.3I&&(s.1p.3I=G(){});2O;1D"1Q":s.5H&&(s.5H.aU(),s.5H=1o)}4g t[e]}}}),1s.1N=1Y 1s.44,1s.3L=G(i,t,e){U("G"==$.Y(t)&&(e=t,t={}),t=$.1f({38:!0,6P:!1},t||{}),!t.6P||!1s.3B.1I(i)){H s;U((s=1s.3B.1I(i))&&s.1g)P"G"==$.Y(e)&&e($.1f({},s.1g),s.1b),2C 0;H o={1w:i,1b:{Y:"1p"}},n=1Y 6o;o.1b.1p=n,n.3I=G(){n.3I=G(){},o.1g={K:n.K,L:n.L},t.38?6n(n,G(i,t){$.1f(o.1b,{38:i,4O:t}),"G"==$.Y(e)&&e(o.1g,o.1b)}):"G"==$.Y(e)&&e(o.1g,o.1b)},1s.3B.1C.1O(o),n.3k=i}},1s.3B={1I:G(i){P 1s.3B.1C.1I(i)},8d:G(i){H t=F.1I(i);P t&&t.1g}},1s.3B.1C=G(){G i(i){1X(H t=1o,s=0,o=e.1n;o>s;s++)e[s]&&e[s].1w&&e[s].1w==i&&(t=e[s]);P t}G t(i){e.2h(i)}H e=[];P{1I:i,1O:t}}();H z=G(){G i(i,s,o){i=i||{},o=o||{},i.3R=i.3R||(j.3J[A.4h]?A.4h:"2f"),1a.1m&&7>1a.1m&&(i.3R="7M");H n=i.3R?$.1f({},j.3J[i.3R]||j.3J[A.4h]):{},a=3u(e,n);s&&a.5y[s]&&(a=3u(a.5y[s],a),4g a.5y);H h=3u(a,i);U(26.2N?h.Q="11":"11"==h.Q&&(h.Q="11"!=a.Q?a.Q:"11"!=e.Q?e.Q:"11"!=t.Q?t.Q:"29"),h.2v?"6Q"==$.Y(h.2v)&&(h.2v="4F"):h.2v="4G","11"==h.Q&&(h.2v="4F"),h.31&&(h.31="4S"==$.Y(h.31)?3u(a.31||e.31||t.31,{Y:h.31}):3u(t.31,h.31)),!h.1t||26.2N&&!h.5u?(h.1t={},$.1h(t.1t,G(i,t){$.1h(h.1t[i]=$.1f({},t),G(t){h.1t[i][t]=0})})):26.2N&&h.5u&&(h.1t=3u(h.1t,h.5u)),1a.1m&&9>1a.1m&&5r(h.1t,{1q:{1i:0,19:0},1c:{2Z:0},16:{1i:0,19:0},Q:{1i:0,19:0}}),("11"==h.Q||1a.1m&&7>1a.1m)&&(h.1c=!1),h.5v&&"1p"!=s&&$.1f(h.5v,{1u:!1,47:!1}),!h.1d&&"6Q"!=$.Y(h.1d)){H r=!1;2E(s){1D"2a":H d="4P"+(16.2P&&"4Q:"==16.2P.4R?"s":"")+":";r=d+"//web.archive.org/web/20160430172648/http://5i.2a.3a/6R/"+o.3o+"/0.8e";2O;1D"1p":1D"1Q":r=!0}h.1d=r}P h}H t=j.3J.7F,e=3u(t,j.3J.7L);P{6S:i}}();$.1f(44.32,{1A:G(i){F.4i=i,F.M=$.1f({1c:C,2m:"I-1N"},1M[1]||{}),F.M.1c&&(F.1c=F.M.1c),F.2s(),F.3b()},2s:G(){U($(2o.4I).T(F.12=$("").N(F.M.2m).19().T(F.4T=$("").N(F.M.2m+"-4T").T($("").N(F.M.2m+"-2w")).T($("").N(F.M.2m+"-2F")))),1a.1m&&7>1a.1m){H i=F.12[0].3A;i.1v="6T",i.4j("1y","((!!16.22 ? 22(16).4U() + (.5 * 22(16).L()) : 0) + \'1e\')"),i.4j("1u","((!!16.22 ? 22(16).5J() + (.5 * 22(16).K()): 0) + \'1e\')")}},4k:G(i){F.12[0].2m=F.M.2m+" "+F.M.2m+"-"+i},3b:G(){F.12.1x("1V",$.V(G(){F.4i.19()},F))},3P:G(i){F.6U();H t=R.W&&R.W[R.14-1];F.12.1H(1,0).3S(t?t.J.M.1t.1N.1i:0,1,i)},1H:G(i,t){H e=R.W&&R.W[R.14-1];F.12.1H(1,0).2J(t?0:e?e.J.M.1t.1N.aV:0).4V(e.J.M.1t.1N.19,i)},6U:G(){H i=0;U(F.1c){F.1c.2x();H i=F.1c.1J.1c.L}F.4T.17({"2b-1y":(F.4i.J.M.1c?i*-.5:0)+"1e"})}}),$.1f(6r.32,{1A:G(i){F.M=$.1f({2m:"I-1P"},1M[1]||{}),F.4i=i,F.2s(),1a.1m&&9>1a.1m&&$(16).1x("1L",$.V(G(){F.12&&F.12.2t(":1E")&&F.1B()},F)),F.6V()},2s:G(){U(F.12=$("").N(F.M.2m).T(F.2w=$("").N(F.M.2m+"-2w")),$(2o.4I).3T(F.12),1a.1m&&7>1a.1m){F.12.17({1v:"6T"});H i=F.12[0].3A;i.4j("1y","((!!16.22 ? 22(16).4U() : 0) + \'1e\')"),i.4j("1u","((!!16.22 ? 22(16).5J() : 0) + \'1e\')")}F.12.19(),F.12.1x("1V",$.V(G(){H i=F.4i.J;U(i){H t=i.M;U(t.1P&&!t.1P.1Z||"11"==t.Q)P}F.4i.19()},F)),F.12.1x("2f:5A",G(i){i.2l()})},4k:G(i){F.12[0].2m=F.M.2m+" "+F.M.2m+"-"+i},aW:G(i){F.M=i,F.6V()},6V:G(){F.1B()},1i:G(i){F.1B(),F.12.1H(1,0);H t=R.W&&R.W[R.14-1];P F.4l(1,t?t.J.M.1t.16.1i:0,i),F},19:G(i){H t=R.W&&R.W[R.14-1];P F.12.1H(1,0).4V(t?t.J.M.1t.16.19||0:0,"8f",i),F},4l:G(i,t,e){F.12.3S(t||0,i,"8f",e)},8g:G(){H i={};P $.1h(["K","L"],G(t,e){H s=e.5n(0,1).7Y()+e.5n(1),o=2o.4J;i[e]=(1a.1m?13.1B(o["4T"+s],o["4m"+s]):1a.49?2o.4I["4m"+s]:o["4m"+s])||0}),i},1B:G(){1a.4K&&1a.49&&8h.18>1a.49&&F.12.17(1e(F.8g())),1a.1m&&9>1a.1m&&F.12.17(1e({L:$(16).L(),K:$(16).K()}))}}),$.1f(6s.32,{1A:G(){F.2u={},F.5K=0},23:G(i,t,e){U("4S"==$.Y(i)&&F.2g(i),"G"==$.Y(i)){1X(e=t,t=i;F.2u["8i"+F.5K];)F.5K++;i="8i"+F.5K}F.2u[i]=16.4W($.V(G(){t&&t(),F.2u[i]=1o,4g F.2u[i]},F),e)},1I:G(i){P F.2u[i]},2g:G(i){i||($.1h(F.2u,$.V(G(i,t){16.4X(t),F.2u[i]=1o,4g F.2u[i]},F)),F.2u={}),F.2u[i]&&(16.4X(F.2u[i]),F.2u[i]=1o,4g F.2u[i])}}),$.1f(6t.32,{1A:G(){F.6W={}},23:G(i,t){F.6W[i]=t},1I:G(i){P F.6W[i]||!1}});H A={4h:"2f",1A:G(){F.3C=[],F.3C.6X=$({}),F.3C.8j=$({}),F.2y=1Y 6t,F.3D=1Y 6s,F.2s(),F.3b(),F.4k(F.4h)},2s:G(){U(F.1P=1Y 6r(F),$(2o.4I).3T(F.12=$("").N("I-16").T(F.2Q=$("").N("I-2Q").19().T(F.2p=$("").N("I-2p").T(F.1G=$("").N("I-2p-1G"))).T(F.1c=$("").N("I-1c")).T(F.1T=$("").N("I-11")))),F.1N=1Y 44(F),1a.1m&&7>1a.1m){H i=F.12[0].3A;i.1v="6T",i.4j("1y","((!!16.22 ? 22(16).4U() : 0) + \'1e\')"),i.4j("1u","((!!16.22 ? 22(16).5J() : 0) + \'1e\')")}U(1a.1m){9>1a.1m&&F.12.N("I-aX");1X(H t=6;9>=t;t++)t>1a.1m&&F.12.N("I-aY"+t)}26.11&&F.12.N("I-11-1W"),26.2N&&F.12.N("I-aZ-11-1W"),F.12.1b("8k-8l",F.12[0].2m),C.1A(F.12),R.1A(F.12),D.1A(F.12),B.1A(),F.12.19()},4k:G(i,t){t=t||{},i&&(t.3R=i),F.1P.4k(i);H e=F.12.1b("8k-8l");P F.12[0].2m=e+" I-16-"+i,F},6Y:G(i){j.3J[i]&&(F.4h=i)},3b:G(){$(2o.4J).3p(".2f[4Y]","1V",G(i,t){i.2r(),i.2l();H t=i.b0;R.3E({x:i.34,y:i.35}),5L.1i(t)}),$(2o.4J).1x("1V",G(i){R.3E({x:i.34,y:i.35})}),F.12.3p(".I-Q-2i, .I-25-2i","1V",$.V(G(i){i.2r()},F)),$(2o.4J).3p(".I-1P, .I-Q, .I-1j, .I-2Q","1V",$.V(G(i){H t=A.J;U(t){H e=t.M;U(e.1P&&!e.1P.1Z||"11"==e.Q)P}i.2l(),i.2r(),A.19()},F)),F.12.1x("2f:5A",G(i){i.2l()})},28:G(i,t){H e=$.1f({},1M[2]||{});F.4n(),F.2n=!0;H s=2>i.1n;U($.1h(i,G(i,t){P t.M.1d?2C 0:(s=!0,!1)}),s&&$.1h(i,G(i,t){t.M.1d=!1,t.M.1c=!1}),2>i.1n){H o=i[0].M.3K;o&&"1Z"!=o&&(i[0].M.3K="1Z")}F.4o=i,C.28(i),D.28(i),R.28(i),B.1W={5w:!0},t&&F.2G(t,$.V(G(){F.2n&&(F.2n=!1,e.4f&&e.4f())},F))},8m:G(){U(!F.2y.1I("4Z")){H i=$("5M, 6Z, b1"),t=[];i.1h(G(i,e){H s;$(e).2t("6Z, 5M")&&(s=$(e).2z(\'70[b2="8n"]\')[0])&&s.8o&&"8p"==s.8o.6x()||$(e).2t("[8n=\'8p\']")||t.2h({12:e,2R:$(e).17("2R")})}),$.1h(t,G(i,t){$(t.12).17({2R:"8q"})}),F.2y.23("4Z",t)}},8r:G(){H i=F.2y.1I("4Z");i&&i.1n>0&&$.1h(i,G(i,t){$(t.12).17({2R:t.2R})}),F.2y.23("4Z",1o)},b3:G(){H i=F.2y.1I("4Z");i&&$.1h(i,$.V(G(i,t){H e;(e=$(t.12).71(".b4-1q")[0])&&e==F.1q[0]&&$(t.12).17({2R:t.2R})},F))},1i:G(){H i=G(){};P G(t){H e=R.W&&R.W[R.14-1],s=F.3C.6X,o=e&&e.J.M.1t.16.19||0;U(F.2y.1I("1E"))P"G"==$.Y(t)&&t(),2C 0;F.2y.23("1E",!0),s.3U([]),F.8m(),e&&"G"==$.Y(e.J.M.8s)&&e.J.M.8s.2k(j);H n=2;s.3U($.V(G(i){e.J.M.1P&&F.1P.1i($.V(G(){1>--n&&i()},F)),F.3D.23("1i-16",$.V(G(){F.8t(G(){1>--n&&i()})},F),o>1?13.2e(.5*o,50):1)},F)),i(),s.3U($.V(G(i){B.4p(),i()},F)),"G"==$.Y(t)&&s.3U($.V(G(i){t(),i()}),F)}}(),8t:G(i){R.1L(),F.12.1i(),F.2Q.1H(!0);H t=R.W&&R.W[R.14-1];P F.4l(1,t.J.M.1t.16.1i,$.V(G(){i&&i()},F)),F},19:G(){H i=R.W&&R.W[R.14-1],t=F.3C.6X;t.3U([]),F.72(),F.1N.1H(1o,!0);H e=1;t.3U($.V(G(t){H s=i.J.M.1t.16.19||0;F.2Q.1H(!0,!0).4V(s,"5N",$.V(G(){F.12.19(),R.8u(),1>--e&&(F.73(),t())},F)),i.J.M.1P&&(e++,F.3D.23("19-1P",$.V(G(){F.1P.19($.V(G(){1>--e&&(F.73(),t())},F))},F),s>1?13.2e(.5*s,b5):1))},F))},73:G(){F.2y.23("1E",!1),F.8r(),B.3V();H i=R.W&&R.W[R.14-1];i&&"G"==$.Y(i.J.M.8v)&&i.J.M.8v.2k(j),F.3D.2g(),F.4n()},4n:G(){H i=$.1f({74:!1,76:!1},1M[0]||{});"G"==$.Y(i.76)&&i.76.2k(j),F.72(),F.3D.2g(),F.1v=-1,F.4o=1o,C.2g(),R.8w(),F.b6=!1,F.2n=!1,A.2y.23("51",!1),F.51&&($(F.51).1H().1R(),F.51=1o),F.77&&($(F.77).1H().1R(),F.77=1o),"G"==$.Y(i.74)&&i.74.2k(j)},4l:G(i,t,e){F.2Q.1H(!0,!0).3S(t||0,i||1,"78",e)},72:G(){F.3C.8j.3U([]),F.2Q.1H(!0)},2G:G(i,t){i&&F.1v!=i&&(F.3D.2g("51"),F.14,F.1v=i,F.J=F.4o[i-1],F.4k(F.J.M&&F.J.M.3R,F.J.M),R.2G(i,t),D.2G(i))}};1a.3z&&3>1a.3z&&$.1h(A,G(i,t){"G"==$.Y(t)&&(A[i]=G(){P F})});H B={1W:!1,52:{1u:37,47:39,5w:27},4p:G(){F.79()},3V:G(){F.1W=!1},1A:G(){F.79(),$(2o).b7($.V(F.8x,F)).b8($.V(F.8y,F)),B.3V()},79:G(){H i=R.W&&R.W[R.14-1];F.1W=i&&i.J.M.5v},8x:G(i){U(F.1W&&A.12.2t(":1E")){H t=F.7a(i.52);U(t&&(!t||!F.1W||F.1W[t]))2E(i.2l(),i.2r(),t){1D"1u":R.1U();2O;1D"47":R.1K()}}},8y:G(i){U(F.1W&&A.4o){H t=F.7a(i.52);U(t&&(!t||!F.1W||F.1W[t]))2E(t){1D"5w":A.19()}}},7a:G(i){1X(H t 4C F.52)U(F.52[t]==i)P t;P 1o}},R={1A:G(i){i&&(F.12=i,F.14=-1,F.2H=[],F.2S=0,F.2T=[],F.4q=[],F.3C=[],F.3C.3c=$({}),F.2p=F.12.2z(".I-2p:4r"),F.1G=F.12.2z(".I-2p-1G:4r"),F.8z=F.12.2z(".I-8z:4r"),F.5O(5k()),F.53(),F.3b())},5O:G(){H i={2Y:"3H",3H:"2Y"};P G(t){F.2p.N("I-2p-"+t).2A("I-2p-"+i[t])}}(),3b:G(){$(16).1x("1L",$.V(G(){A.2y.1I("1E")&&(F.1L(),F.7b())},F)),$(16).1x("8A",$.V(G(){F.5O(5k()),A.2y.1I("1E")&&(F.1L(),F.7b())},F)),F.2p.3p(".I-1l","1V",$.V(G(i){i.2r(),F.3E({x:i.34,y:i.35});H t=$(i.2D).71(".I-1l").1b("1l");F[t]()},F))},b9:G(){3n.1x(F.2p,{3P:$.V(G(){U(!(F.W&&1>=F.W.1n)){H i=4L(F.1G.17("1u"));F.1G.1b("I-8B-1u",i)}},F),1G:$.V(G(i){U(!(F.W&&1>=F.W.1n)){H t=i.x,e=.4*F.21.K;1==F.14&&t>e||F.14==F.W.1n&&-1*e>t||F.1G.17({1u:F.1G.1b("I-8B-1u")+t+"1e"})}},F),4e:$.V(G(i){F.W&&1>=F.W.1n||F["47"==i.87?"1U":"1K"]()},F),4N:$.V(G(i){F.W&&1>=F.W.1n||i.88||(i.x&&13.4c(i.x)>.5*F.21.K?F[i.x>0?"1U":"1K"]():F.3d(F.14),F.ba=1o)},F),89:!0,2r:!0,2l:!0})},8w:G(){3n.4d(F.2p)},28:G(i){F.W&&($.1h(F.W,G(i,t){t.1R()}),F.W=1o,F.7c=!1,F.2T=[],F.4q=[]),F.2S=0,F.1G.8C("3A"),F.W=[],5P=!1,$.1h(i,$.V(G(i,t){5P=5P||"11"==t.M.Q,F.W.2h(1Y 6u(t,i+1))},F)),F[(5P?"1x":"4d")+"3n"](),F.53()},8D:G(i){1a.1m&&9>1a.1m?(F.3E({x:i.34,y:i.35}),F.1v()):F.5Q=4W($.V(G(){F.3E({x:i.34,y:i.35}),F.1v()},F),30)},8E:G(){F.5Q&&(4X(F.5Q),F.5Q=1o)},8F:G(){26.2N||F.54||F.12.1x("5D",F.54=$.V(F.8D,F))},8G:G(){!26.2N&&F.54&&(F.12.4d("5D",F.54),F.54=1o,F.8E())},7b:G(){F.3d(F.14,1o,!0)},3d:G(i,t,e){F.7c||(e=!0,F.7c=!0),F.53();H s=F.W[i-1];U("11"==s.J.M.Q){H o=.5*F.1F.K-.5*F.21.K;o-=(i-1)*F.21.K;H n=e?0:s.J.M.1t.1q.1G,a=4L(F.1G.17("1u")),h=13.4c(a-o);U(F.21.K>h){H r=h/F.21.K;n=13.4s(n*r)}$.1h(F.W,G(i,t){16.5R&&t.3e&&t.56?(t.3e.bb(),t.8H=1o,t.5S(),t.7d()):t.7e&&t.56&&(t.7e.4H("bc"),t.8H=1o,t.5S(),t.7f())}),F.1G.1H().5T({1u:o+"1e"},{7g:e?0:s.J.M.1t.1q.1G,3w:"5N",8I:G(){t&&t()}})}},2G:G(i,t){F.8J(),F.14=i;H e=F.W[i-1],s=e.J.M.Q,o=1;"11"==s?(o++,F.3d(i,G(){"G"==$.Y(e.J.M.5U)&&1>--o&&e.J.M.5U.2k(j,i)})):F.1G.T(e.1j),F.2p.2z(".I-1j").2A("I-1j-4t"),e.1j.N("I-1j-4t"),C.2G(i),e.28($.V(G(){!e||e&&!e.J||F.1i(i,G(){e&&e.J&&(t&&t(),"G"==$.Y(e.J.M.5U)&&1>--o&&e.J.M.5U.2k(j,i))})},F)),F.8K()},8K:G(){U(F.W&&F.W.1n>1){H i=F.57(),t=i.1U,e=i.1K,s={1U:t!=F.14&&F.W[t-1],1K:e!=F.14&&F.W[e-1]};1==F.14&&(s.1U=1o),F.14==F.W.1n&&(s.1K=1o);H o,n=(o=F.W[F.14-1])&&o.J&&"11"==o.J.M.Q;U(n){1X(H a=5,h=13.4s(F.14/a)*a+1,r=0;a>r;r++){H d=h+r,u=F.W[d-1],p=u&&u.J;p&&-1>=$.5V(d,F.4q)&&(F.4q.2h(d),d!=F.14&&u.28(1o,!0))}H l=h-1,c=h+a;$.1h([l-1,l,c,c+1],$.V(G(i,t){H e=F.W[t-1],s=e&&e.J;s&&-1>=$.5V(t,F.4q)&&(F.4q.2h(t),t!=F.14&&e.28(1o,!0))},F))}24 $.1h(s,$.V(G(i,t){H e=t&&t.J;e&&"1p"==e.Y&&e.M.3L&&1s.3L(e.1w,{6P:!0})},F))}},57:G(){U(!F.W)P{};H i=F.14,t=F.W.1n,e=1>=i?t:i-1,s=i>=t?1:i+1;P{1U:e,1K:s}},8L:G(){H i=R.W&&R.W[R.14-1];P i&&i.J.M.2K&&F.W&&F.W.1n>1||1!=F.14},1U:G(i){H t=F.8L();U(i||t)A.2G(F.57().1U);24{H e;!t&&(e=R.W&&R.W[R.14-1])&&"11"==e.J.M.Q&&F.3d(F.14)}},8M:G(){H i=R.W&&R.W[R.14-1];P i&&i.J.M.2K&&F.W&&F.W.1n>1||F.W&&F.W.1n>1&&1!=F.57().1K},1K:G(i){H t=F.8M();U(i||t)A.2G(F.57().1K);24{H e;!t&&(e=R.W&&R.W[R.14-1])&&"11"==e.J.M.Q&&F.3d(F.14)}},8N:G(i){F.8O(i)||F.2H.2h(i)},8P:G(i){F.2H=$.8Q(F.2H,G(t){P t!=i})},8O:G(i){P $.5V(i,F.2H)>-1},3E:G(i){i.y-=$(16).4U(),i.x-=$(16).5J();H t={y:13.2e(13.1B(i.y/F.1F.L,0),1),x:13.2e(13.1B(i.x/F.1F.K,0),1)},e=20,s={x:"K",y:"L"},o={};$.1h("x y".3t(" "),$.V(G(i,n){o[n]=13.2e(13.1B(e/F.1F[s[n]],0),1),t[n]*=1+2*o[n],t[n]-=o[n],t[n]=13.2e(13.1B(t[n],0),1)},F)),F.8R(t)},8R:G(i){F.7h=i},1v:G(){1>F.2T.1n||$.1h(F.2T,G(i,t){t.1v()})},1L:G(){1a.1m&&7>1a.1m||C.1L(),F.53(),F.2p.17(1e(F.1F)),$.1h(F.W,G(i,t){t.1L()}),F.W[0]&&"11"==F.W[0].J.M.Q&&($.1h(F.W,G(i,t){t.1j.17({K:R.5W+"1e"})}),F.1G.17({K:R.5W*F.W.1n+"1e"}))},53:G(){H i=x.2I(),t=F.W&&F.W[0].J.M.Q;C.1E()&&(C.2x(),i.L-=C.1J.1c.L),D.1E()&&(D.2x(),i.L-=D.1J.1r.L);H e=$.1f({},i);2E(F.2S=0,t){1D"29":$.1h(F.W,$.V(G(i,t){H e=t.1Z;F.W.1n>1&&(t.7i&&(e=e.1O(t.7i)),t.4u&&(e=e.1O(t.4u)));H s=0;t.5X(G(){$.1h(e,G(i,t){s=13.1B(s,$(t).2U(!0))})}),F.2S=13.1B(F.2S,s)||0},F)),e.K-=2*(F.2S||0);2O;1D"11":H s=5k();F.W&&F.W[0].1j;H o=F.1G.2q("3A");F.1G.8C("3A");H n,a;F.2p.17(1e({L:e.L})),$.1h(F.W,$.V(G(t,e){H s=e.1j;U(s.1b("2Y"))n=13.4s(i.K*s.1b("2Y")),a=13.4s(i.K*s.1b("3H"));24{H o=e.J.M.11.K;s.1b("2Y",13.1B(o.2Y,.5)).1b("3H",13.1B(o.3H,.5))}},F)),F.5O(s),F.5W="2Y"==s?n:a,$.1f(e,{K:F.5W||0}),F.1G.2q("3A",o)}F.1F=i,F.21=e},bd:G(){P{1U:F.14-1>0,1K:F.14+1<=F.W.1n}},1i:G(i,t){H e=[];$.1h(F.W,G(t,s){s.14!=i&&e.2h(s)});H s=e.1n+1,o=F.W[F.14-1];C[o.J.M.1c?"1i":"19"](),D["11"==o.J.M.Q?"1i":"19"](),("11"!=o.J.M.Q||"1p"!=o.J.Y)&&F.1L();H n=o.J.M.1t.1q.5t;$.1h(e,$.V(G(e,o){o.19($.V(G(){n?t&&1>=s--&&t():2>=s--&&F.W[i-1].1i(t)},F))},F)),n&&F.W[i-1].1i(G(){t&&1>=s--&&t()})},8u:G(){$.1h(F.2H,$.V(G(i,t){F.W[t-1].19()},F)),C.19(),F.3E({x:0,y:0})},bf:G(i){$.1h(F.W,$.V(G(t,e){e.1v!=i&&e.19()},F))},8S:G(i){F.8T(i)||(F.2T.2h(F.W[i-1]),1==F.2T.1n&&F.8F())},bg:G(){F.2T=[]},7j:G(i){F.2T=$.8Q(F.2T,G(t){P t.14!=i}),1>F.2T.1n&&F.8G()},8T:G(i){H t=!1;P $.1h(F.2T,G(e,s){P s.14==i?(t=!0,!1):2C 0}),t},2M:G(){H i=F.1F;P A.bh&&(i.K-=bi),i},8J:G(){$.1h(F.W,$.V(G(i,t){t.7k()},F))}};$.1f(6u.32,{1A:G(i,t){F.J=i,F.14=t,F.1F={},F.2s()},1R:G(){F.5Y(),F.58&&(R.7j(F.14),F.58=!1),F.4n(),F.1j.1R(),F.1j=1o,F.Q&&(F.Q.1R(),F.Q=1o),F.J=1o,F.1F={},F.7k()},2s:G(){H i=F.J.M.Q,t=A.4o.1n;U(R.1G.T(F.1j=$("").N("I-1j").T(F.25=$("").N("I-25").N("I-25-2V-Q-"+i).N("I-25-2V-Y-"+F.J.Y))),F.25.T(F.4v=$("").N("I-25-2i").T(F.7l=$("").N("I-25-3f").T(F.5Z=$("").N("I-25-8U-3m").T(F.3g=$("").N("I-25-1r"))))),"1p"==F.J.Y&&"11"!=i&&(F.3q=$("").N("I-7m-1p")),"11"==i)F.1j.N("I-1j-11").1i(),"1p"==F.J.Y&&"1Z"==F.J.M.3K&&(F.1j.N("I-1j-3h-1Z"),F.3g.1x("1V",G(i){i.2l(),i.2r(),A.19()}));24{F.1j.1i();H e=F.J.M.3K;U("1p"==F.J.Y&&("1K"==e&&(F.J.M.2K||!F.J.M.2K&&F.14!=A.4o.1n)||"1Z"==e)&&F.1j.N("I-1j-3h-"+e.6x()),"29"==i?F.1j.3T(F.Q=$("").N("I-Q I-Q-29")):F.1j.T(F.Q=$("").N("I-Q I-Q-2W")),F.4v.1x("1V",$.V(G(i){i.2D==F.4v[0]&&F.J.M.1P&&F.J.M.1P.1Z&&A.19()},F)),"29"==F.J.M.Q?F.Q.T(F.2j=$("").N("I-Q-1r-29")):(F.Q.T(F.7n=$("").N("I-Q-2i").T(F.60=$("").N("I-Q-3f").T(F.7o=$("").N("I-Q-8U-3m").T(F.8V=$("").N("I-Q-bj").T(F.2j=$("").N("I-Q-1r")))))),F.3q&&F.2j.T(F.3q.61())),t>1&&(F.2j.T(F.3W=$("").N("I-1l I-1l-1K").T(F.4u=$("").N("I-1l-1S").T($("").N("I-1l-1S-2F"))).1b("1l","1K")),F.14!=t||F.J.M.2K||(F.3W.N("I-1l-59"),F.4u.N("I-1l-1S-59")),F.2j.T(F.3X=$("").N("I-1l I-1l-1U").T(F.62=$("").N("I-1l-1S").T($("").N("I-1l-1S-2F"))).1b("1l","1U")),1!=F.14||F.J.M.2K||(F.3X.N("I-1l-59"),F.62.N("I-1l-1S-59"))),F.3q&&"2W"==F.J.M.Q&&F.2j.2z(".I-1l").3T(F.3q.61()),F.1j.N("I-2X-1k"),(F.J.1k||"2W"==F.J.M.Q&&!F.J.1k)&&(F["2W"==F.J.M.Q?"2j":"1j"].T(F.1z=$("").N("I-1z I-1z-"+F.J.M.Q).T(F.bk=$("").N("I-1z-2w")).T(F.63=$("").N("I-1z-3f"))),F.1z.1x("1V",G(i){i.2r()})),F.J.1k&&(F.1j.2A("I-2X-1k").N("I-2V-1k"),F.63.T(F.1k=$("").N("I-1k").64(F.J.1k))),t>1&&F.J.M.1v){H s=F.14+" / "+t;F.1j.N("I-2V-1v");H i=F.J.M.Q;F["2W"==i?"63":"2j"]["2W"==i?"3T":"T"](F.7i=$("").N("I-1v").T($("").N("I-1v-2w")).T($("<3Y>").N("I-1v-bl").64(s)))}F.2j.T(F.1Z=$("").N("I-1Z").1x("1V",G(){A.19()}).T($("<3Y>").N("I-1Z-2w")).T($("<3Y>").N("I-1Z-2F"))),"1p"==F.J.Y&&"1Z"==F.J.M.3K&&F["29"==F.J.M.Q?"3g":"60"].1x("1V",G(i){i.2l(),i.2r(),A.19()}),F.1j.19()}},7p:G(i){U(!F.J.1k)P 0;"29"==F.J.M.Q&&(i=13.2e(i,R.21.K));H t,e=F.1z.17("K");P F.1z.17({K:i+"1e"}),t=4L(F.1z.17("L")),F.1z.17({K:e}),t},5X:G(i,t){H e=[],s=A.12.1O(A.2Q).1O(F.1j).1O(F.Q);t&&(s=s.1O(t)),$.1h(s,G(i,t){e.2h({1E:$(t).2t(":1E"),12:$(t).1i()})}),i(),$.1h(e,G(i,t){t.1E||t.12.19()})},3Z:G(){F.2x();H i=F.1F.1B,t=F.J.M.Q,e=F.7q,s=F.8W,o=F.65,n=3x.3y(i,{2v:e,Q:t,3m:o}),a=$.1f({},n);U(o&&(a=3x.3y(a,{2M:n,Q:t}),n.K+=2*o,n.L+=2*o),s.48||s.3v){H h=$.1f({},R.21);o&&(h.K-=2*o,h.L-=2*o),h={K:13.1B(h.K-2*s.48,0),L:13.1B(h.L-2*s.3v,0)},a=3x.3y(a,{2v:e,2M:h,Q:t})}H r={1k:!0},d=!1;U("29"==t){H s={L:n.L-a.L,K:n.K-a.K},u=$.1f({},a);F.1k&&F.1j.40("I-2X-1k");H p;U(F.1k){p=F.1k,F.1z.2A("I-2X-1k");H l=F.1j.40("I-2X-1k");F.1j.2A("I-2X-1k");H c=F.1j.40("I-2V-1k");F.1j.N("I-2V-1k")}A.12.17({2R:"1E"}),F.5X($.V(G(){1X(H i=0,n=2;n>i;){r.L=F.7p(a.K);H h=.5*(R.21.L-2*o-(s.3v?2*s.3v:0)-a.L);r.L>h&&(a=3x.3y(a,{2M:$.1f({},{K:a.K,L:13.1B(a.L-r.L,0)}),2v:e,Q:t})),i++}r.L=F.7p(a.K);H d=x.2I();(66>=d.L&&67>=d.K||66>=d.K&&67>=d.L||r.L>=.5*a.L||r.L>=.6*a.K)&&(r.1k=!1,r.L=0,a=u)},F),p),A.12.17({2R:"1E"}),l&&F.1j.N("I-2X-1k"),c&&F.1j.N("I-2V-1k");H f={L:n.L-a.L,K:n.K-a.K};n.L+=s.L-f.L,n.K+=s.K-f.K,a.L!=u.L&&(d=!0)}24 r.L=0;H m={K:a.K+2*o,L:a.L+2*o};r.L&&(n.L+=r.L),"2W"==t&&(r.L=0);H v={2i:{1g:n},3f:{1g:m},1r:{1g:a,2M:m,2b:{1y:.5*(n.L-m.L)-.5*r.L,1u:.5*(n.K-m.K)}},1q:{1g:a},1z:r};"29"==t&&(v.1z.1y=v.1r.2b.1y,r.K=13.2e(a.K,R.21.K));H h=$.1f({},R.21);P"29"==t&&(v.25={1g:{K:R.21.K},1v:{1u:.5*(R.1F.K-R.21.K)}}),v.Q={2i:{1g:{K:13.2e(n.K,h.K),L:13.2e(n.L,h.L)}},3f:{1g:m},1r:{1g:{K:13.2e(v.1r.1g.K,h.K-2*o),L:13.2e(v.1r.1g.L,h.L-2*o)},2b:{1y:v.1r.2b.1y+o,1u:v.1r.2b.1u+o}}},v},2x:G(){H i=$.1f({},F.1F.1B),t=4M(F.5Z.17("3m-1y-K"));F.65=t,t&&(i.K-=2*t,i.L-=2*t);H e=F.J.M.2v;"bm"==e?e=i.K>i.L?"L":i.L>i.K?"K":"4G":e||(e="4G"),F.7q=e;H s=F.J.M.7J[F.7q];F.8W=s},7r:G(){F.5a&&(4X(F.5a),F.5a=1o)},7k:G(){F.5a&&F.2n&&!F.3F&&(F.7r(),F.2n=!1)},28:G(i,t){P F.3F||F.2n?(F.3F&&F.68(i),2C 0):(t||1s.1C.1I(F.J.1w)||1s.3B.8d(F.J.1w)||A.1N.3P(),F.2n=!0,F.5a=4W($.V(G(){2E(F.7r(),F.J.Y){1D"1p":H e=F.J.M.Q;1s.1I(F.J.1w,{38:"11"!=e},$.V(G(s,o){U(F.J){F.1F.8X=s,F.1F.1B=s,F.3F=!0,F.2n=!1,F.2x();H n=F.3Z();F.1F.2i=n.2i.1g,F.1F.1q=n.1q.1g,F.1q=$("<5I>").2q({3k:F.J.1w}).N("I-1q I-1q-1p"),F.3g.T(F.1q),"11"==e&&F.1q.1x("8Y",G(i){i.2l()});H a;F.3g.T(a=$("").N("I-1q-1p-1P")),F.3q&&a.T(F.3q.61());H h;"29"==F.J.M.Q&&((h=F.J.M.3K)&&"1K"==h||"1U-1K"==h)&&(F.J.M.2K||F.14==R.W.1n||F.3g.T($("").N("I-3h-1l I-3h-1K").1b("1l","1K")),"1U-1K"!=h||F.J.M.2K||1==F.14||F.3g.T($("").N("I-3h-1l I-3h-1U").1b("1l","1U")),F.3q&&F.3g.2z(".I-3h-1l").1h($.V(G(i,t){H e=$(t).1b("1l");$(t).3T(F.3q.61().1b("1l",e))},F)),F.1j.3p(".I-3h-1l","1V",G(i){H t=$(i.2D).1b("1l");R[t]()}),F.1j.3p(".I-3h-1l","8Z",$.V(G(i){H t=$(i.2D).1b("1l"),e=t&&F["2L"+t+"69"];e&&F["2L"+t+"69"].N("I-1l-1S-4t")},F)).3p(".I-3h-1l","90",$.V(G(i){H t=$(i.2D).1b("1l"),e=t&&F["2L"+t+"69"];e&&F["2L"+t+"69"].2A("I-1l-1S-4t")},F))),F.1j.2z(".I-7m-1p").1h($.V(G(i,t){H e=$("<5I>").N("I-7m-1p").2q({3k:F.J.1w}).17({bn:0}),s=$(t).1b("1l");o.38&&!26.2N&&e.1O(F.1q).1x("8Y",$.V(G(i){U("11"==F.J.M.Q)P i.2l(),2C 0;H t=i.3l,e=t.bo||{};U(o.38&&e.91){H s=t.34||0,n=t.35||0,a=F.1q.4T();s=13.3N(s-a.1u),n=13.3N(n-a.1y),1>o.4O&&(s*=o.4O,n*=o.4O),e.91(o.38,s,n)}24 e.92?e.92(F.1q[0]):i.2l()},F)),s&&e.1b("1l",s),$(t).bp(e)},F)),F.68(i,t)}},F));2O;1D"2a":H s={K:F.J.M.K,L:F.J.M.L};F.J.M.2a&&F.J.M.2a.6C&&(F.J.3i.93=s.K>bq?"br":"bs"),F.7s(s,i);2O;1D"1Q":H s={K:F.J.M.K,L:F.J.M.L};1s.1I(F.J.1w,$.V(G(t){U(F.J){H e=s.K,o=s.L,n=t.K,a=t.L,h=!1;(h=e&&!o||o&&!e)||e&&o?(h&&(e&&!o?s.L=e*a/n:s.K=o*n/a),s=3x.3y(t,{2M:s})):s=t,F.7s(s,i)}},F))}},F),10),2C 0)},7s:G(i,t){F.1F.8X=i,F.1F.1B=i,F.3F=!0,F.2n=!1,F.2x();H e=F.3Z();F.1F.2i=e.2i.1g,F.1F.1q=e.1q.1g,F.3g.T(F.1q=$("").N("I-1q I-1q-"+F.J.Y)),"11"!=F.J.M.Q||"2a"!=F.J.Y&&"1Q"!=F.J.Y||(F.1L(),("2a"==F.J.Y&&16.5R||"1Q"==F.J.Y&&26.6H)&&F.1i()),F.68(t)},68:G(i){H t=F.J.M.Q;F.1L(),"2W"==t&&F.7o.1x("8Z",$.V(F.5b,F)).1x("90",$.V(F.6a,F)),F.Q&&(26.2N?F.25.1x("1V",$.V(G(){F.2j.2t(":1E")||F.5b(),F.5c()},F)):F.Q.3p(".I-Q-3f","5D",$.V(G(){F.2j.2t(":1E")||F.5b(),F.5c()},F)));H e;R.W&&(e=R.W[R.14-1])&&(e.J.1w==F.J.1w||"11"==e.J.M.Q)&&A.1N.1H(),i&&i()},1L:G(){U(F.1q){H i=F.3Z(),t=F.J.M.Q;F.1F.2i=i.2i.1g,F.1F.1q=i.1q.1g,F.4v.17(1e(i.2i.1g)),"2W"==t&&F.7n.17(1e(i.Q.2i.1g)),F.3g.1O(F.5Z).17(1e(i.1r.1g));H e=0;2E("29"==F.J.M.Q&&i.1z.1k&&(e=i.1z.L),F.5Z.17({"7t-94":e+"1e"}),F.7l.17(1e({K:i.3f.1g.K,L:i.3f.1g.L+e})),i.2i.1g.K>("29"==F.J.M.Q?i.25.1g.K:x.2I().K)?F.25.N("I-95-4e"):F.25.2A("I-95-4e"),t){1D"29":F.1k&&F.1z.17(1e({K:i.1z.K}));2O;1D"2W":F.2j.1O(F.7o).1O(F.8V).17(1e(i.Q.1r.1g)),F.60.17(1e(i.Q.3f.1g));H s=0;U(F.1k){H o=F.1j.40("I-2X-1k"),n=F.1j.40("I-2V-1k");F.1j.2A("I-2X-1k"),F.1j.N("I-2V-1k");H s=0;F.5X($.V(G(){s=F.1z.bt()},F),F.2j.1O(F.1k));H a=x.2I();(s>=.45*i.1r.1g.L||66>=a.L&&67>=a.K||66>=a.K&&67>=a.L)&&(i.1z.1k=!1),o&&F.1j.N("I-2X-1k"),n||F.1j.2A("I-2V-1k")}}U(F.1k){H h=i.1z.1k;F.1k[h?"1i":"19"](),F.1j[(h?"1R":"1O")+"4w"]("I-2X-1k"),F.1j[(h?"1O":"1R")+"4w"]("I-2V-1k")}F.7l.1O(F.60).17(1e(i.1r.2b));H r=R.21,d=F.1F.2i;U(F.6b={y:d.L-r.L,x:d.K-r.K},F.58=F.6b.x>0||F.6b.y>0,R[(F.58?"23":"1R")+"bu"](F.14),1a.1m&&8>1a.1m&&"1p"==F.J.Y&&F.1q.17(1e(i.1r.1g)),/^(1Q|2a)$/.6l(F.J.Y)){H u=i.1r.1g;F.3e?F.3e.bv(u.K,u.L):F.3r&&F.3r.2q(u)}}F.1v()},1v:G(){U(F.1q){H i=R.7h,t=R.21,e=F.1F.2i,s={1y:0,1u:0},o=F.6b;s.1y=o.y>0?0-i.y*o.y:.5*t.L-.5*e.L,s.1u=o.x>0?0-i.x*o.x:.5*t.K-.5*e.K,26.2N&&(o.y>0&&(s.1y=0),o.x>0&&(s.1u=0),F.4v.17({1v:"bw"})),F.bx=s,F.4v.17({1y:s.1y+"1e",1u:s.1u+"1e"});H n=$.1f({},s);0>n.1y&&(n.1y=0),0>n.1u&&(n.1u=0);H a=F.J.M.Q;2E(a){1D"29":H h=F.3Z();U(F.25.17(1e(h.25.1g)).17(1e(h.25.1v)),F.J.1k){H r=s.1y+h.1r.2b.1y+h.1r.1g.L+F.65;r>R.21.L-h.1z.L&&(r=R.21.L-h.1z.L);H d=R.2S+s.1u+h.1r.2b.1u+F.65;R.2S>d&&(d=R.2S),d+h.1z.K>R.2S+h.25.1g.K&&(d=R.2S),F.1z.17({1y:r+"1e",1u:d+"1e"})}2O;1D"2W":F.7n.17({1u:n.1u+"1e",1y:n.1y+"1e"})}}},by:G(i){F.1g=i},7d:G(){H i=1a.1m&&8>1a.1m,t=F.3Z(),e=t.1r.1g,s=$.1f({},F.J.M.2a||{}),o="4P"+(16.2P&&"4Q:"==16.2P.4R?"s":"")+":";U("11"==F.J.M.Q&&(s.5x=0),16.5R){H n;F.1q.T(F.5d=$("").T(n=$("")[0])),F.3e=1Y 5R.bz(n,{L:e.L,K:e.K,bA:F.J.3i.3o,bB:s,bC:i?{}:{bD:$.V(G(i){U(F.J.M.2a.6C)5p{i.2D.bE(F.J.3i.93)}5q(t){}F.1L()},F),bF:$.V(G(i){i.1b>-1&&(F.56=!0)},F)}})}24{H a=$.70(s);F.1q.T(F.3r=$("<96 98 99 9a>").2q({3k:o+"//web.archive.org/web/20160430172648/http://bg.2a.3a/5M/"+F.J.3i.3o+"?"+a,L:e.L,K:e.K,9b:0}))}},7f:G(){H i=F.3Z(),t=i.1r.1g,e=$.1f({},F.J.M.1Q||{});"11"==F.J.M.Q&&(e.5x=0);H s="4P"+(16.2P&&"4Q:"==16.2P.4R?"s":"")+":",o=q()+"1Q";e.bH=o,e.4H=1;H n=$.70(e);F.1q.T(F.3r=$("<96 98 99 9a>").2q({3k:s+"//web.archive.org/web/20160430172648/http://3e.1q.3a/bI/"+F.J.3i.3o+"?"+n,3o:o,L:t.L,K:t.K,9b:0})),16.bJ&&$f(F.3r[0]).9c("9d",$.V(G(i){F.7e=$f(i).9c("bK",$.V(G(){F.56=!0},F))},F))},9e:G(){2E(F.J.Y){1D"2a":F.7d();2O;1D"1Q":F.7f()}},1i:G(i){U("11"==F.J.M.Q){U(F.9f)P i&&i(),2C 0;F.9f=!0}F.9e(),R.8N(F.14),F.1j.1H(1,0),F.Q&&(F.Q.1H(1,0),F.5b(1o,!0)),F.58&&R.8S(F.14),F.4l(1,13.1B(F.J.M.1t.1q.1i,1a.1m&&9>1a.1m?0:10),$.V(G(){i&&i()},F))},9g:G(){F.J&&F.1q&&"11"!=F.J.M.Q&&F.5S()},5S:G(){U(F.56=!1,F.3r&&(F.3r.1R(),F.3r=1o),F.3e){5p{F.3e.bL()}5q(i){}F.3e=1o}F.5d&&(F.5d.1R(),F.5d=1o),("2a"==F.J.Y||"1Q"==F.J.Y)&&(F.1q.64(""),F.5d=1o,F.3e=1o,F.3r=1o)},4n:G(i){R.7j(F.14),R.8P(F.14),F.9g(i)},19:G(i){U("11"==F.J.M.Q)P i&&i(),2C 0;H t=13.1B(F.J.M.1t.1q.19||0,1a.1m&&9>1a.1m?0:10),e=F.J.M.1t.1q.5t?"bM":"78";F.1j.1H(1,0).4V(t,e,$.V(G(){F.4n(),i&&i()},F))},4l:G(i,t,e){H s=F.J.M.1t.1q.5t?"bN":"5N";F.1j.1H(1,0).3S(t||0,i,s,e)},5b:G(i,t){F.Q&&(t?(F.2j.1i(),F.5c(),"G"==$.Y(i)&&i()):F.2j.1H(1,0).3S(t?0:F.J.M.1t.Q.1i,1,"5N",$.V(G(){F.5c(),"G"==$.Y(i)&&i()},F)))},6a:G(i,t){F.Q&&"29"!=F.J.M.Q&&(t?(F.2j.19(),"G"==$.Y(i)&&i()):F.2j.1H(1,0).4V(t?0:F.J.M.1t.Q.19,"78",G(){"G"==$.Y(i)&&i()}))},5Y:G(){F.5e&&(4X(F.5e),F.5e=1o)},5c:G(){F.5Y(),F.5e=4W($.V(G(){F.6a()},F),F.J.M.1t.Q.2J)},bO:G(){F.5Y(),F.5e=4W($.V(G(){F.6a()},F),F.J.M.1t.Q.2J)}}),$.1f(46.32,{1A:G(a){H b=1M[1]||{},d={};U("4S"==$.Y(a))a={1w:a};24 U(a&&1==a.7N){H c=$(a);a={12:c[0],1w:c.2q("4Y"),1k:c.1b("2f-1k"),4x:c.1b("2f-4x"),5f:c.1b("2f-5f"),Y:c.1b("2f-Y"),M:c.1b("2f-M")&&7u("({"+c.1b("2f-M")+"})")||{}}}U(a&&(a.5f||(a.5f=5s(a.1w)),!a.Y)){H d=4E(a.1w);a.3i=d,a.Y=d.Y}P a.3i||(a.3i=4E(a.1w)),a.M=a&&a.M?$.1f(!0,$.1f({},b),$.1f({},a.M)):$.1f({},b),a.M=z.6S(a.M,a.Y,a.3i),$.1f(F,a),F}});H C={1A:G(i){F.12=i,F.2c=[],F.1J={1d:{L:0,2U:0},1c:{L:0}},F.1c=F.12.2z(".I-1c:4r"),F.2s(),F.19(),F.3b()},2s:G(){F.1c.T(F.1r=$("").N("I-1c-1r").T(F.5g=$("").N("I-1c-5g").T(F.3X=$("").N("I-1c-1l I-1c-1l-1U").T(F.62=$("").N("I-1c-1l-1S").T($("").N("I-1c-1l-1S-2w")).T($("").N("I-1c-1l-1S-2F")))).T(F.41=$("").N("I-1c-bP").T(F.2Z=$("").N("I-1c-2Z"))).T(F.3W=$("").N("I-1c-1l I-1c-1l-1K").T(F.4u=$("").N("I-1c-1l-1S").T($("").N("I-1c-1l-1S-2w")).T($("").N("I-1c-1l-1S-2F")))))),F.1L()},3b:G(){F.5g.3p(".I-1d","1V",$.V(G(i){i.2r();H t=$(i.2D).71(".I-1d")[0],e=-1;F.5g.2z(".I-1d").1h(G(i,s){s==t&&(e=i+1)}),e&&(F.7v(e),A.2G(e))},F)),F.5g.1x("1V",G(i){i.2r()}),F.3X.1x("1V",$.V(F.9h,F)),F.3W.1x("1V",$.V(F.9i,F))},28:G(i){U(F.2g(),F.2c=[],!(2>i.1n)){H t=!1;$.1h(i,$.V(G(i,e){P"11"==e.M.Q?(t=!0,!1):2C 0},F)),t||($.1h(i,$.V(G(i,t){F.2c.2h(1Y 6v(F.2Z,t,i+1))},F)),1a.1m&&7>1a.1m||F.1L())}},2g:G(){$.1h(F.2c,G(i,t){t.1R()}),F.2c=[],F.14=-1,F.3j=-1},2x:G(){H i=A.12,t=A.2Q,e=F.1J,s=i.2t(":1E");s||i.1i();H o=t.2t(":1E");o||t.1i();H n=F.1c.3M()-(4M(F.1c.17("7t-1y"))||0)-(4M(F.1c.17("7t-94"))||0);e.1d.L=n;H a=F.2Z.2z(".I-1d:4r"),h=!!a[0],r=0;h||F.41.T(a=$("").N("I-1d").T($("").N("I-1d-1r"))),r=4M(a.17("2b-1u")),h||a.1R(),e.1d.2U=n+2*r,e.1c.L=F.1c.3M(),e.3c={1U:F.3X.2U(!0),1K:F.3W.2U(!0)};H d=x.2I().K,u=e.1d.2U,p=F.2c.1n;e.3c.1W=p*u/d>1;H l=d,c=e.3c.1U+e.3c.1K;e.3c.1W&&(l-=c),l=13.4s(l/u)*u;H f=p*u;l>f&&(l=f);H m=l+(e.3c.1W?c:0);e.3G=l/u,F.5h="6c",1>=e.3G&&(l=d,m=d,e.3c.1W=!1,F.5h="6U"),e.7w=13.5i(p*u/l),e.1c.K=l,e.1r={K:m},o||t.19(),s||i.19()},3V:G(){F.4y=!0},4p:G(){F.4y=!1},1W:G(){P!F.4y},1i:G(){2>F.2c.1n||(F.4p(),F.1c.1i(),F.2H=!0)},19:G(){F.3V(),F.1c.19(),F.2H=!1},1E:G(){P!!F.2H},1L:G(){F.2x();H i=F.1J;$.1h(F.2c,G(i,t){t.1L()}),F.3X[i.3c.1W?"1i":"19"](),F.3W[i.3c.1W?"1i":"19"]();H t=i.1c.K;1a.1m&&9>1a.1m&&(A.3D.2g("9j-9k-1c"),A.3D.23("9j-9k-1c",$.V(G(){F.2x();H t=i.1c.K;F.41.17({K:t+"1e"}),F.2Z.17({K:F.2c.1n*i.1d.2U+1+"1e"})},F),bQ)),F.41.17({K:t+"1e"}),F.2Z.17({K:F.2c.1n*i.1d.2U+1+"1e"});H e=i.1r.K+1;U(F.1r.17({K:e+"1e","2b-1u":-.5*e+"1e"}),F.3X.1O(F.3W).17({L:i.1d.L+"1e"}),F.14&&F.3d(F.14,!0),1a.1m&&9>1a.1m){H s=A.12,o=A.2Q,n=s.2t(":1E");n||s.1i();H a=o.2t(":1E");a||o.1i(),F.41.L("6k%"),F.41.17({L:F.41.3M()+"1e"}),F.1c.2z(".I-1d-1P-3m").19(),a||o.19(),n||s.19()}},7x:G(i){U(!(1>i||i>F.1J.7w||i==F.3j)){H t=F.1J.3G*(i-1)+1;F.3d(t)}},9h:G(){F.7x(F.3j-1)},9i:G(){F.7x(F.3j+1)},bR:G(){H i=x.2I();P i},2G:G(i){U(!(1a.1m&&7>1a.1m)){H t=0>F.14;1>i&&(i=1);H e=F.2c.1n;i>e&&(i=e),F.14=i,F.7v(i),("6c"!=F.5h||F.3j!=13.5i(i/F.1J.3G))&&F.3d(i,t)}},3d:G(i,t){F.2x();H e,s=x.2I().K,o=.5*s,n=F.1J.1d.2U;U("6c"==F.5h){H a=13.5i(i/F.1J.3G);F.3j=a,e=-1*n*(F.3j-1)*F.1J.3G;H h="I-1c-1l-1S-59";F.62[(2>a?"1O":"1R")+"4w"](h),F.4u[(a>=F.1J.7w?"1O":"1R")+"4w"](h)}24 e=o+-1*(n*(i-1)+.5*n);H r=R.W&&R.W[R.14-1];F.2Z.1H(1,0).5T({1u:e+"1e"},t?0:r?r.J.M.1t.1c.2Z:0,$.V(G(){F.9l()},F))},9l:G(){H i,t;U(F.14&&F.1J.1d.2U&&!(1>F.2c.1n)){U("6c"==F.5h){U(1>F.3j)P;i=(F.3j-1)*F.1J.3G+1,t=13.2e(i-1+F.1J.3G,F.2c.1n)}24{H e=13.5i(x.2I().K/F.1J.1d.2U);i=13.1B(13.4s(13.1B(F.14-.5*e,0)),1),t=13.5i(13.2e(F.14+.5*e)),t>F.2c.1n&&(t=F.2c.1n)}1X(H s=i;t>=s;s++)F.2c[s-1].28()}},7v:G(i){$.1h(F.2c,G(i,t){t.9m()});H t=i&&F.2c[i-1];t&&t.9n()},bS:G(){F.14&&F.2G(F.14)}};$.1f(6v.32,{1A:G(i,t,e){F.12=i,F.J=t,F.bT={},F.14=e,F.2s()},2s:G(){H i=F.J.M;F.12.T(F.1d=$("").N("I-1d").T(F.9o=$("").N("I-1d-1r"))),"1p"==F.J.Y&&F.1d.N("I-28-1d").1b("1d",{J:F.J,3k:i.1d||F.J.1w});H t=i.1d&&i.1d.2F;t&&F.1d.T($("").N("I-1d-2F I-1d-2F-"+t));H e;F.1d.T(e=$("").N("I-1d-1P").T($("").N("I-1d-1P-2w")).T(F.1N=$("").N("I-1d-1N").T($("").N("I-1d-1N-2w")).T($("").N("I-1d-1N-2F"))).T($("").N("I-1d-1P-3m"))),F.1d.T($("").N("I-1d-bU"))},1R:G(){F.1d.1R(),F.1d=1o,F.bV=1o,F.2n=!1},28:G(){U(!F.3F&&!F.2n&&C.1E()){F.2n=!0;H i=F.J.M.1d,t=i&&"6Q"==$.Y(i)?F.J.1w:i||F.J.1w;U(F.4z=t,t)U("1Q"==F.J.Y)U(t==i)1s.3L(F.4z,{Y:"1p"},$.V(F.6d,F));24{H e="4P"+(16.2P&&"4Q:"==16.2P.4R?"s":"")+":";$.8a(e+"//web.archive.org/web/20160430172648/http://1q.3a/4H/8b.8c?1w="+e+"//web.archive.org/web/20160430172648/http://1q.3a/"+F.J.3i.3o+"&4f=?",$.V(G(i){i&&i.9p?(F.4z=i.9p,1s.3L(F.4z,{Y:"1p"},$.V(F.6d,F))):(F.3F=!0,F.2n=!1,F.1N.1H(1,0).2J(F.J.M.1t.1c.2J).3S(F.J.M.1t.1c.28,0))},F))}24 1s.3L(F.4z,{Y:"1p"},$.V(F.6d,F))}},6d:G(i){F.1d&&F.2n&&(F.3F=!0,F.2n=!1,F.1F=i,F.1p=$("<5I>").2q({3k:F.4z}),F.9o.3T(F.1p),F.1L(),F.1N.1H(1,0).2J(F.J.M.1t.1c.2J).3S(F.J.M.1t.1c.28,0))},1L:G(){H i=C.1J.1d.L;U(F.1d.17({K:i+"1e",L:i+"1e"}),F.1p){H t,e={K:i,L:i},s=13.1B(e.K,e.L),o=$.1f({},F.1F);U(o.K>e.K&&o.L>e.L){t=3x.3y(o,{2M:e});H n=1,a=1;t.K1&&(t.K*=h,t.L*=h),$.1h("K L".3t(" "),G(i,e){t[e]=13.3N(t[e])})}24 t=3x.3y(o.K").N("I-11-1r").T(F.bW=$("").N("I-11-2w")).T(F.1z=$("").N("I-11-1z").T(F.63=$("").N("I-11-1z-3f").T(F.bX=$("").N("I-11-1k-1r").T(F.1k=$("").N("I-11-1k"))))).T(F.1Z=$("").N("I-11-1S I-11-1Z").T($("<3Y>").N("I-11-1S-2w")).T($("<3Y>").N("I-11-1S-2F"))).T(F.4A=$("").N("I-11-1S I-11-4A").T($("<3Y>").N("I-11-1S-2w")).T($("<3Y>").N("I-11-1S-2F"))))},3b:G(){F.1Z.1x("1V",G(){A.19()}),$(16).1x("1L 8A",$.V(G(){A.2y.1I("1E")&&F.1L()},F)),F.4A.1x("1V",$.V(G(){F[F.6f?"6g":"9q"]()},F)),F.1T.1x("4b",$.V(G(i){F.6h||i.2l()},F))},1i:G(){F.4p(),F.1T.1i(),F.2H=!0},19:G(){F.3V(),F.1T.19(),F.2H=!1},1E:G(){P!!F.2H},2x:G(){H i=A.12,t=A.2Q,e=F.1J;F.1T.17({2R:"8q"});H s=F.4A.1O(F.1Z);$.1h(s,$.V(G(i,t){H e=$(t);e.1b("9r-2b-1y",e.17("2b-1y")),e.17({"2b-1y":0})},F));H o=i.2t(":1E");o||i.1i();H n=t.2t(":1E");n||t.1i();H a=F.9s();a&&F.3s(!1);H h=F.1T.3M();a&&F.3s(!0),e.1r.L=h,a||F.3s(!0);H r=F.1T.3M(),d=r>h;e.42=d,a&&F.3s(!0),d&&(F.3s(!0),r=F.1T.3M()),e.1r.7y=r,F.3s(a),$.1h(s,$.V(G(i,t){H e=$(t);e.17({"2b-1y":e.1b("9r-2b-1y")})},F)),F.1T.17({2R:"1E"}),n||t.19(),o||i.19()},bY:G(){P F.1T.40("I-11-9t")},7z:G(i){F.1T[(i?"1O":"1R")+"4w"]("I-11-9t")},9s:G(){P F.1T.40("I-11-42")},3s:G(i){F.1T[(i?"1O":"1R")+"4w"]("I-11-42")},3V:G(){F.4y=!0},4p:G(){F.4y=!1},1W:G(){P!F.4y},28:G(i){F.2g(),$.1h(i,$.V(G(i,t){F.6e.2h(t)},F))},2g:G(){F.6e=[],F.J=1o,F.14=-1,F.3j=-1},2G:G(i){U(i!=F.14){H t=F.6e[i-1];U("11"==t.M.Q){F.J=t;H e=t.1k||"";F.1k.64(e),F.1L(),F.6g(!0)}}},1L:G(){F.6g(!0),F.2x()},9q:G(i){F.3s(!0),F.7z(!0),F.6f=!0,F.4A.N("I-11-9u");H t=x.2I(),e=-1*13.2e(t.L,F.1J.1r.7y||0);F.1J.1r.7y>t.L?(F.1z.17({L:t.L+"1e"}).N("I-11-42-4m"),F.6h=!0):(F.1z.17({L:"9v"}).2A("I-11-42-4m"),F.6h=!1),F.1T.1H(1,0).5T({"2b-1y":e+"1e"},{7g:i?0:F.J.M.1t.1T.7G})},6g:G(i){F.6f=!1,F.4A.2A("I-11-9u"),F.1z.4U(0),F.1z.17({L:"9v"}).2A("I-11-42-4m"),F.6h=!1,F.1T.1H(1,0).5T({"2b-1y":-1*(F.1J.1r.L||0)+"1e"},{7g:i?0:F.J.M.1t.1T.7H,8I:$.V(G(){F.3s(!1),F.7z(F.1J.42)},F)})}},5L={1i:G(b){H c=1M[1]||{},1v=1M[2];1M[1]&&"bZ"==$.Y(1M[1])&&(1v=1M[1],c=z.6S({}));H d=[],9w;2E(9w=$.Y(b)){1D"4S":1D"6Z":H f=1Y 46(b,c),5j="1b-2f-4x-M";U(f.4x){U(2L.5z(b)){H g=$(\'.2f[1b-2f-4x="\'+$(b).1b("2f-4x")+\'"]\'),h={};g.c0("["+5j+"]").1h(G(i,a){$.1f(h,7u("({"+($(a).2q(5j)||"")+"})"))}),g.1h(G(i,t){1v||t!=b||(1v=i+1),d.2h(1Y 46(t,$.1f({},h,c)))})}}24{H h={};2L.5z(b)&&$(b).2t("["+5j+"]")&&($.1f(h,7u("({"+($(b).2q(5j)||"")+"})")),f=1Y 46(b,$.1f({},h,c))),d.2h(f)}2O;1D"9x":$.1h(b,G(i,t){H e=1Y 46(t,c);d.2h(e)})}(!1v||1>1v)&&(1v=1),1v>d.1n&&(1v=d.1n),R.7h||R.3E({x:0,y:0}),A.28(d,1v,{4f:G(){A.1i(G(){})}})}};$.1f(j,{1A:G(){y.81("22"),A.1A()},1i:G(){5L.1i.2B(5L,k.2k(1M))},19:G(){A.19()},6Y:G(i){A.6Y(i)}}),(1a.3z&&3>1a.3z||1a.4K&&1a.49&&8h.18>1a.49)&&(j.1i=G(){G i(t){H e,s=$.Y(t);U("4S"==s)e=t;24 U("9x"==s&&t[0])e=i(t[0]);24 U(2L.5z(t)&&$(t).2q("4Y"))H e=$(t).2q("4Y");24 e=t.1w?t.1w:!1;P e}P G(t){H e=i(t);e&&(16.2P.4Y=e)}}());H E={1p:{9y:"c1 c2 6I 8e 7D",4B:G(i){P $.5V(5s(i),F.9y.3t(" "))>-1},1b:G(i){P F.4B()?{5f:5s(i)}:!1}},2a:{4B:G(i){H t=/(2a\\.3a|9z\\.be)\\/c3\\?(?=.*6R?=([a-5m-7A-9-2L]+))(?:\\S+)?$/.5B(i);P t&&t[2]?t[2]:(t=/(2a\\.3a|9z\\.be)\\/(6R?\\/|u\\/|5M\\/)?([a-5m-7A-9-2L]+)(?:\\S+)?$/i.5B(i),t&&t[3]?t[3]:!1)},1b:G(i){H t=F.4B(i);P t?{3o:t}:!1}},1Q:{4B:G(i){H t=/(1Q\\.3a)\\/([a-5m-7A-9-2L]+)(?:\\S+)?$/i.5B(i);P t&&t[2]?t[2]:!1},1b:G(i){H t=F.4B(i);P t?{3o:t}:!1}}};$(2o).9d(G(){j.1A()}),16.6y=j})(22);',62,748,'|||||||||||||||||||||||||||||||||||||||||this|function|var|fr|view|width|height|options|addClass||return|ui|Frames||append|if|proxy|_frames|div|type|||touch|element|Math|_position||window|css||hide|Browser|data|thumbnails|thumbnail|px|extend|dimensions|each|show|frame|caption|side|IE|length|null|image|content|wrapper|Dimensions|effects|left|position|url|bind|top|info|initialize|max|cache|case|visible|_dimensions|move|stop|get|_vars|next|resize|arguments|loading|add|overlay|vimeo|remove|button|touchCaption|previous|click|enabled|for|new|close||_boxDimensions|jQuery|set|else|box|Support||load|outside|youtube|margin|_thumbnails||min|fresco|clear|push|spacer|ui_wrapper|call|preventDefault|className|_loading|document|frames|attr|stopPropagation|build|is|_timeouts|fit|background|updateVars|states|find|removeClass|apply|void|target|switch|icon|setPosition|_visible|viewport|delay|loop|_|bounds|mobileTouch|break|location|bubble|visibility|_sideWidth|_tracking|outerWidth|has|inside|no|portrait|slide||controls|prototype|indexOf|pageX|pageY|||dragImage||com|startObserving|sides|moveTo|player|padder|box_wrapper|onclick|_data|_page|src|originalEvent|border|Touch|id|delegate|download_image|player_iframe|setOverflowClass|split|deepExtendClone|vertical|easing|Fit|within|Android|style|preloaded|queues|timeouts|setXY|_loaded|ipp|landscape|onload|skins|onClick|preload|innerHeight|round|scripts|start|track|skin|fadeTo|prepend|queue|disable|_next|_previous|span|getLayout|hasClass|_thumbs|overflow|200|Loading||View|right|horizontal|WebKit|_events|touchmove|abs|unbind|swipe|callback|delete|defaultSkin|Window|setExpression|setSkin|setOpacity|scroll|_reset|views|enable|_preloaded|first|floor|active|_next_button|box_spacer|Class|group|_disabled|_url|more|detect|in|canvas|getURIData|both|none|api|body|documentElement|MobileSafari|parseFloat|parseInt|end|dragScale|http|https|protocol|string|offset|scrollTop|fadeOut|setTimeout|clearTimeout|href|overlapping||_m|keyCode|updateDimensions|_handleTracking||_playing|getSurroundingIndexes|_track|disabled|_loadTimer|showUI|startUITimer|player_div|_ui_timer|extension|slider|_mode|ceil|_dgo|getOrientation|String|zA|substr|warn|try|catch|deepExtend|detectExtension|sync|touchEffects|keyboard|esc|autoplay|initialTypeOptions|isElement|mousewheel|exec|IEMobile|mousemove|touchstart|touchend|touches|xhr|img|scrollLeft|_count|_Fresco|embed|easeInSine|setOrientation|isTouch|_tracking_timer|YT|_removeVideo|animate|afterPosition|inArray|_touchWidth|_whileVisible|clearUITimer|box_outer_border|ui_padder|clone|_previous_button|info_padder|html|_border|320|568|afterLoad|_button|hideUI|overlap|page|_afterLoad|_views|_expanded|collapse|_scrolling|sfcc|rs|100|test|console|createDragImage|Image|getContext|toDataURL|Overlay|Timeouts|States|Frame|Thumbnail|match|toLowerCase|Fresco|version|300|250|hd|Opera|opera|Chrome|createElement|postMessage|jpeg|required|available|Date|getTime|scrollSupressionThreshold|Cache|once|boolean|vi|create|absolute|center|draw|_states|showhide|setDefaultSkin|object|param|closest|stopQueues|_hide|after||before|_s|easeOutSine|fetchOptions|getKeyByKeyCode|updateMove|_touched|insertYoutubeVideo|froogaloop|insertVimeoVideo|duration|_xyp|_pos|removeTracking|clearLoad|box_padder|download|ui_spacer|ui_outer_border|_getInfoHeight|_fit|clearLoadTimer|_movieLoaded|padding|eval|setActive|pages|moveToPage|overflowHeight|setPaddedClass|Z0|fromCharCode|canvasToDataUrlPNG|png|constructor|base|slideOut|slideIn|175|spacing|640|reset|IE6|nodeType|parentNode|wheelDelta|detail|pow|AppleWebKit|Gecko|ChromeMobile|CrMo|navigator|prefix|toUpperCase|DocumentTouch|pointerEvents|check|Za|notified|durationThreshold|horizontalDistanceThreshold|verticalDistanceThreshold|direction|swiped|supressX|getJSON|oembed|json|getDimensions|jpg|easeInOutSine|getScrollDimensions|533|timeout_|update|class|skinless|hideOverlapping|wmode|value|transparent|hidden|restoreOverlapping|onShow|_show|hideAll|afterHide|unbindTouch|onkeydown|onkeyup|uis|orientationchange|original|removeAttr|handleTracking|clearTrackingTimer|startTracking|stopTracking|playing|complete|clearLoads|preloadSurroundingImages|mayPrevious|mayNext|setVisible|isVisible|setHidden|grep|setXYP|setTracking|isTracking|outer|ui_toggle|_spacing|_max|dragstart|mouseenter|mouseleave|setDragImage|addElement|quality|bottom|prevent|iframe||webkitAllowFullScreen|mozallowfullscreen|allowFullScreen|frameborder|addEvent|ready|_preShow|_shown|_postHide|previousPage|nextPage|ie|resizing|loadCurrentPage|deactivate|activate|thumbnail_wrapper|thumbnail_url|expand|restore|hasOverflowClass|padded|less|auto|object_type|array|extensions|youtu|114|110|111|109|toString|log|globalAlpha|drawImage|Object|replace|350|440|180|3e3|5e3|title|byline|enablejsapi|iv_load_policy|modestbranding|rel|360|Array|slice|isAttached|120|Event|trigger|isPropagationStopped|isDefaultPrevented|DOMMouseScroll|Quad|Cubic|Quart|Quint|Expo|Sine|cos|PI|easeIn|easeOut|easeInOut|innerWidth|RegExp|attachEvent|MSIE|KHTML|rv|Apple|Mobile|Safari|userAgent|charAt|join|Webkit|Moz|ms|Khtml|ontouchstart|instanceof|prefixed|Win|Mac|Linux|platform|fn|jquery|z_|z0|requires|mousedown|mouseup|suppresX|suppresY|stopImmediatePropagation|one|supressY|1e3|removeData|lifetime|3e5|inject|abort|dela|setOptions|oldIE|ltIE|mobile|currentTarget|select|name|restoreOverlappingWithinContent|fs|150|_pinchZoomed|keydown|keyup|bindTouch|_startMoveTime|stopVideo|unload|pn||hideAllBut|clearTracking|_scrollbarWidth|scrollbarWidth|toggle|info_background|text|smart|opacity|dataTransfer|replaceWith|720|hd1080|hd720|outerHeight|Tracking|setSize|relative|_style|setDimensions|Player|videoId|playerVars|events|onReady|setPlaybackQuality|onStateChange|www|player_id|video|Froogaloop|play|destroy|easeInQuad|easeOutQuart|hideUIDelayed|thumbs|500|adjustToViewport|refresh|_dimension|state|thumbnail_image|drag|caption_wrapper|hasPaddedClass|number|filter|bmp|gif|watch'.split('|'),0,{}));;!function(a){"undefined"==typeof a.fn.each2&&a.extend(a.fn,{each2:function(b){for(var c=a([0]),d=-1,e=this.length;++dc;c+=1)if(r(a,b[c]))return c;return-1}function q(){var b=a(l);b.appendTo("body");var c={width:b.width()-b[0].clientWidth,height:b.height()-b[0].clientHeight};return b.remove(),c}function r(a,c){return a===c?!0:a===b||c===b?!1:null===a||null===c?!1:a.constructor===String?a+""==c+"":c.constructor===String?c+""==a+"":!1}function s(b,c){var d,e,f;if(null===b||b.length<1)return[];for(d=b.split(c),e=0,f=d.length;f>e;e+=1)d[e]=a.trim(d[e]);return d}function t(a){return a.outerWidth(!1)-a.width()}function u(c){var d="keyup-change-value";c.on("keydown",function(){a.data(c,d)===b&&a.data(c,d,c.val())}),c.on("keyup",function(){var e=a.data(c,d);e!==b&&c.val()!==e&&(a.removeData(c,d),c.trigger("keyup-change"))})}function v(c){c.on("mousemove",function(c){var d=i;(d===b||d.x!==c.pageX||d.y!==c.pageY)&&a(c.target).trigger("mousemove-filtered",c)})}function w(a,c,d){d=d||b;var e;return function(){var b=arguments;window.clearTimeout(e),e=window.setTimeout(function(){c.apply(d,b)},a)}}function x(a,b){var c=w(a,function(a){b.trigger("scroll-debounced",a)});b.on("scroll",function(a){p(a.target,b.get())>=0&&c(a)})}function y(a){a[0]!==document.activeElement&&window.setTimeout(function(){var d,b=a[0],c=a.val().length;a.focus();var e=b.offsetWidth>0||b.offsetHeight>0;e&&b===document.activeElement&&(b.setSelectionRange?b.setSelectionRange(c,c):b.createTextRange&&(d=b.createTextRange(),d.collapse(!1),d.select()))},0)}function z(b){b=a(b)[0];var c=0,d=0;if("selectionStart"in b)c=b.selectionStart,d=b.selectionEnd-c;else if("selection"in document){b.focus();var e=document.selection.createRange();d=document.selection.createRange().text.length,e.moveStart("character",-b.value.length),c=e.text.length-d}return{offset:c,length:d}}function A(a){a.preventDefault(),a.stopPropagation()}function B(a){a.preventDefault(),a.stopImmediatePropagation()}function C(b){if(!h){var c=b[0].currentStyle||window.getComputedStyle(b[0],null);h=a(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:c.fontSize,fontFamily:c.fontFamily,fontStyle:c.fontStyle,fontWeight:c.fontWeight,letterSpacing:c.letterSpacing,textTransform:c.textTransform,whiteSpace:"nowrap"}),h.attr("class","select2-sizer"),a("body").append(h)}return h.text(b.val()),h.width()}function D(b,c,d){var e,g,f=[];e=a.trim(b.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&f.push(this)})),e=a.trim(c.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(g=d(this),g&&f.push(g))})),b.attr("class",f.join(" "))}function E(a,b,c,d){var e=o(a.toUpperCase()).indexOf(o(b.toUpperCase())),f=b.length;return 0>e?(c.push(d(a)),void 0):(c.push(d(a.substring(0,e))),c.push(""),c.push(d(a.substring(e,e+f))),c.push(""),c.push(d(a.substring(e+f,a.length))),void 0)}function F(a){var b={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})}function G(c){var d,e=null,f=c.quietMillis||100,g=c.url,h=this;return function(i){window.clearTimeout(d),d=window.setTimeout(function(){var d=c.data,f=g,j=c.transport||a.fn.select2.ajaxDefaults.transport,k={type:c.type||"GET",cache:c.cache||!1,jsonpCallback:c.jsonpCallback||b,dataType:c.dataType||"json"},l=a.extend({},a.fn.select2.ajaxDefaults.params,k);d=d?d.call(h,i.term,i.page,i.context):null,f="function"==typeof f?f.call(h,i.term,i.page,i.context):f,e&&"function"==typeof e.abort&&e.abort(),c.params&&(a.isFunction(c.params)?a.extend(l,c.params.call(h)):a.extend(l,c.params)),a.extend(l,{url:f,dataType:c.dataType,data:d,success:function(a){var b=c.results(a,i.page,i);i.callback(b)},error:function(a,b,c){var d={hasError:!0,jqXHR:a,textStatus:b,errorThrown:c};i.callback(d)}}),e=j.call(h,l)},f)}}function H(b){var d,e,c=b,f=function(a){return""+a.text};a.isArray(c)&&(e=c,c={results:e}),a.isFunction(c)===!1&&(e=c,c=function(){return e});var g=c();return g.text&&(f=g.text,a.isFunction(f)||(d=g.text,f=function(a){return a[d]})),function(b){var g,d=b.term,e={results:[]};return""===d?(b.callback(c()),void 0):(g=function(c,e){var h,i;if(c=c[0],c.children){h={};for(i in c)c.hasOwnProperty(i)&&(h[i]=c[i]);h.children=[],a(c.children).each2(function(a,b){g(b,h.children)}),(h.children.length||b.matcher(d,f(h),c))&&e.push(h)}else b.matcher(d,f(c),c)&&e.push(c)},a(c().results).each2(function(a,b){g(b,e.results)}),b.callback(e),void 0)}}function I(c){var d=a.isFunction(c);return function(e){var f=e.term,g={results:[]},h=d?c(e):c;a.isArray(h)&&(a(h).each(function(){var a=this.text!==b,c=a?this.text:this;(""===f||e.matcher(f,c))&&g.results.push(a?this:{id:this,text:this})}),e.callback(g))}}function J(b,c){if(a.isFunction(b))return!0;if(!b)return!1;if("string"==typeof b)return!0;throw new Error(c+" must be a string, function, or falsy value")}function K(b,c){if(a.isFunction(b)){var d=Array.prototype.slice.call(arguments,2);return b.apply(c,d)}return b}function L(b){var c=0;return a.each(b,function(a,b){b.children?c+=L(b.children):c++}),c}function M(a,c,d,e){var h,i,j,k,l,f=a,g=!1;if(!e.createSearchChoice||!e.tokenSeparators||e.tokenSeparators.length<1)return b;for(;;){for(i=-1,j=0,k=e.tokenSeparators.length;k>j&&(l=e.tokenSeparators[j],i=a.indexOf(l),!(i>=0));j++);if(0>i)break;if(h=a.substring(0,i),a=a.substring(i+l.length),h.length>0&&(h=e.createSearchChoice.call(this,h,c),h!==b&&null!==h&&e.id(h)!==b&&null!==e.id(h))){for(g=!1,j=0,k=c.length;k>j;j++)if(r(e.id(h),e.id(c[j]))){g=!0;break}g||d(h)}}return f!==a?a:void 0}function N(){var b=this;a.each(arguments,function(a,c){b[c].remove(),b[c]=null})}function O(b,c){var d=function(){};return d.prototype=new b,d.prototype.constructor=d,d.prototype.parent=b.prototype,d.prototype=a.extend(d.prototype,c),d}if(window.Select2===b){var c,d,e,f,g,h,j,k,i={x:0,y:0},c={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(a){switch(a=a.which?a.which:a){case c.LEFT:case c.RIGHT:case c.UP:case c.DOWN:return!0}return!1},isControl:function(a){var b=a.which;switch(b){case c.SHIFT:case c.CTRL:case c.ALT:return!0}return a.metaKey?!0:!1},isFunctionKey:function(a){return a=a.which?a.which:a,a>=112&&123>=a}},l="
    ",m={"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z","\u0386":"\u0391","\u0388":"\u0395","\u0389":"\u0397","\u038a":"\u0399","\u03aa":"\u0399","\u038c":"\u039f","\u038e":"\u03a5","\u03ab":"\u03a5","\u038f":"\u03a9","\u03ac":"\u03b1","\u03ad":"\u03b5","\u03ae":"\u03b7","\u03af":"\u03b9","\u03ca":"\u03b9","\u0390":"\u03b9","\u03cc":"\u03bf","\u03cd":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u03c9":"\u03c9","\u03c2":"\u03c3"};j=a(document),g=function(){var a=1;return function(){return a++}}(),d=O(Object,{bind:function(a){var b=this;return function(){a.apply(b,arguments)}},init:function(c){var d,e,f=".select2-results";this.opts=c=this.prepareOpts(c),this.id=c.id,c.element.data("select2")!==b&&null!==c.element.data("select2")&&c.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=a("",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body),this.containerId="s2id_"+(c.element.attr("id")||"autogen"+g()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",c.element.attr("title")),this.body=a("body"),D(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",c.element.attr("style")),this.container.css(K(c.containerCss,this.opts.element)),this.container.addClass(K(c.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",A),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),D(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(K(c.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",A),this.results=d=this.container.find(f),this.search=e=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",A),v(this.results),this.dropdown.on("mousemove-filtered",f,this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",f,this.bind(function(a){this._touchEvent=!0,this.highlightUnderEvent(a)})),this.dropdown.on("touchmove",f,this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",f,this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),x(80,this.results),this.dropdown.on("scroll-debounced",f,this.bind(this.loadMoreIfNeeded)),a(this.container).on("change",".select2-input",function(a){a.stopPropagation()}),a(this.dropdown).on("change",".select2-input",function(a){a.stopPropagation()}),a.fn.mousewheel&&d.mousewheel(function(a,b,c,e){var f=d.scrollTop();e>0&&0>=f-e?(d.scrollTop(0),A(a)):0>e&&d.get(0).scrollHeight-d.scrollTop()+e<=d.height()&&(d.scrollTop(d.get(0).scrollHeight-d.height()),A(a))}),u(e),e.on("keyup-change input paste",this.bind(this.updateResults)),e.on("focus",function(){e.addClass("select2-focused")}),e.on("blur",function(){e.removeClass("select2-focused")}),this.dropdown.on("mouseup",f,this.bind(function(b){a(b.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(b),this.selectHighlighted(b))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(a){a.stopPropagation()}),this.nextSearchTerm=b,a.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==c.maximumInputLength&&this.search.attr("maxlength",c.maximumInputLength);var h=c.element.prop("disabled");h===b&&(h=!1),this.enable(!h);var i=c.element.prop("readonly");i===b&&(i=!1),this.readonly(i),k=k||q(),this.autofocus=c.element.prop("autofocus"),c.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",c.searchInputPlaceholder)},destroy:function(){var a=this.opts.element,c=a.data("select2"),d=this;this.close(),a.length&&a[0].detachEvent&&a.each(function(){this.detachEvent("onpropertychange",d._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,c!==b&&(c.container.remove(),c.liveRegion.remove(),c.dropdown.remove(),a.removeClass("select2-offscreen").removeData("select2").off(".select2").prop("autofocus",this.autofocus||!1),this.elementTabIndex?a.attr({tabindex:this.elementTabIndex}):a.removeAttr("tabindex"),a.show()),N.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(a){return a.is("option")?{id:a.prop("value"),text:a.text(),element:a.get(),css:a.attr("class"),disabled:a.prop("disabled"),locked:r(a.attr("locked"),"locked")||r(a.data("locked"),!0)}:a.is("optgroup")?{text:a.attr("label"),children:[],element:a.get(),css:a.attr("class")}:void 0},prepareOpts:function(c){var d,e,f,h,i=this;if(d=c.element,"select"===d.get(0).tagName.toLowerCase()&&(this.select=e=c.element),e&&a.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in c)throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a ","
    "," ","
      ","
    ","
    "].join(""));return b},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var c,d,e;this.opts.minimumResultsForSearch>=0&&this.showSearch(!0),this.parent.opening.apply(this,arguments),this.showSearchInput!==!1&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),c=this.search.get(0),c.createTextRange?(d=c.createTextRange(),d.collapse(!1),d.select()):c.setSelectionRange&&(e=this.search.val().length,c.setSelectionRange(e,e))),""===this.search.val()&&this.nextSearchTerm!=b&&(this.search.val(this.nextSearchTerm),this.search.select()),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(a.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){a("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),N.call(this,"selection","focusser")},initContainer:function(){var b,h,d=this.container,e=this.dropdown,f=g();this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=b=d.find(".select2-choice"),this.focusser=d.find(".select2-focusser"),b.find(".select2-chosen").attr("id","select2-chosen-"+f),this.focusser.attr("aria-labelledby","select2-chosen-"+f),this.results.attr("id","select2-results-"+f),this.search.attr("aria-owns","select2-results-"+f),this.focusser.attr("id","s2id_autogen"+f),h=a("label[for='"+this.opts.element.attr("id")+"']"),this.focusser.prev().text(h.text()).attr("for",this.focusser.attr("id"));var i=this.opts.element.attr("title");this.opts.element.attr("title",i||h.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(a("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()&&229!=a.keyCode){if(a.which===c.PAGE_UP||a.which===c.PAGE_DOWN)return A(a),void 0;switch(a.which){case c.UP:case c.DOWN:return this.moveHighlight(a.which===c.UP?-1:1),A(a),void 0;case c.ENTER:return this.selectHighlighted(),A(a),void 0;case c.TAB:return this.selectHighlighted({noFocus:!0}),void 0;case c.ESC:return this.cancel(a),A(a),void 0}}})),this.search.on("blur",this.bind(function(){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.search.focus()}),0)})),this.focusser.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()&&a.which!==c.TAB&&!c.isControl(a)&&!c.isFunctionKey(a)&&a.which!==c.ESC){if(this.opts.openOnEnter===!1&&a.which===c.ENTER)return A(a),void 0;if(a.which==c.DOWN||a.which==c.UP||a.which==c.ENTER&&this.opts.openOnEnter){if(a.altKey||a.ctrlKey||a.shiftKey||a.metaKey)return;return this.open(),A(a),void 0}return a.which==c.DELETE||a.which==c.BACKSPACE?(this.opts.allowClear&&this.clear(),A(a),void 0):void 0}})),u(this.focusser),this.focusser.on("keyup-change input",this.bind(function(a){if(this.opts.minimumResultsForSearch>=0){if(a.stopPropagation(),this.opened())return;this.open()}})),b.on("mousedown touchstart","abbr",this.bind(function(a){this.isInterfaceEnabled()&&(this.clear(),B(a),this.close(),this.selection.focus())})),b.on("mousedown touchstart",this.bind(function(c){n(b),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),A(c)})),e.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),b.on("focus",this.bind(function(a){A(a)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(a.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.setPlaceholder()},clear:function(b){var c=this.selection.data("select2-data");if(c){var d=a.Event("select2-clearing");if(this.opts.element.trigger(d),d.isDefaultPrevented())return;var e=this.getPlaceholderOption();this.opts.element.val(e?e.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),b!==!1&&(this.opts.element.trigger({type:"select2-removed",val:this.id(c),choice:c}),this.triggerChange({removed:c}))}},initSelection:function(){if(this.isPlaceholderOptionSelected())this.updateSelection(null),this.close(),this.setPlaceholder();else{var c=this;this.opts.initSelection.call(null,this.opts.element,function(a){a!==b&&null!==a&&(c.updateSelection(a),c.close(),c.setPlaceholder(),c.nextSearchTerm=c.opts.nextSearchTerm(a,c.search.val()))})}},isPlaceholderOptionSelected:function(){var a;return this.getPlaceholder()===b?!1:(a=this.getPlaceholderOption())!==b&&a.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===b||null===this.opts.element.val()},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=a.find("option").filter(function(){return this.selected&&!this.disabled});b(c.optionToData(d))}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=c.val(),f=null;b.query({matcher:function(a,c,d){var g=r(e,b.id(d));return g&&(f=d),g},callback:a.isFunction(d)?function(){d(f)}:a.noop})}),b},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===b?b:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var a=this.getPlaceholder();if(this.isPlaceholderOptionSelected()&&a!==b){if(this.select&&this.getPlaceholderOption()===b)return;this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(a)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear")}},postprocessResults:function(a,b,c){var d=0,e=this;if(this.findHighlightableChoices().each2(function(a,b){return r(e.id(b.data("select2-data")),e.opts.element.val())?(d=a,!1):void 0}),c!==!1&&(b===!0&&d>=0?this.highlight(d):this.highlight(0)),b===!0){var g=this.opts.minimumResultsForSearch;g>=0&&this.showSearch(L(a.results)>=g)}},showSearch:function(b){this.showSearchInput!==b&&(this.showSearchInput=b,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!b),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!b),a(this.dropdown,this.container).toggleClass("select2-with-searchbox",b))},onSelect:function(a,b){if(this.triggerSelect(a)){var c=this.opts.element.val(),d=this.data();this.opts.element.val(this.id(a)),this.updateSelection(a),this.opts.element.trigger({type:"select2-selected",val:this.id(a),choice:a}),this.nextSearchTerm=this.opts.nextSearchTerm(a,this.search.val()),this.close(),b&&b.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),r(c,this.id(a))||this.triggerChange({added:a,removed:d})}},updateSelection:function(a){var d,e,c=this.selection.find(".select2-chosen");this.selection.data("select2-data",a),c.empty(),null!==a&&(d=this.opts.formatSelection(a,c,this.opts.escapeMarkup)),d!==b&&c.append(d),e=this.opts.formatSelectionCssClass(a,c),e!==b&&c.addClass(e),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==b&&this.container.addClass("select2-allowclear")},val:function(){var a,c=!1,d=null,e=this,f=this.data();if(0===arguments.length)return this.opts.element.val();if(a=arguments[0],arguments.length>1&&(c=arguments[1]),this.select)this.select.val(a).find("option").filter(function(){return this.selected}).each2(function(a,b){return d=e.optionToData(b),!1}),this.updateSelection(d),this.setPlaceholder(),c&&this.triggerChange({added:d,removed:f});else{if(!a&&0!==a)return this.clear(c),void 0;if(this.opts.initSelection===b)throw new Error("cannot call val() if initSelection() is not defined");this.opts.element.val(a),this.opts.initSelection(this.opts.element,function(a){e.opts.element.val(a?e.id(a):""),e.updateSelection(a),e.setPlaceholder(),c&&e.triggerChange({added:a,removed:f})})}},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(a){var c,d=!1;return 0===arguments.length?(c=this.selection.data("select2-data"),c==b&&(c=null),c):(arguments.length>1&&(d=arguments[1]),a?(c=this.data(),this.opts.element.val(a?this.id(a):""),this.updateSelection(a),d&&this.triggerChange({added:a,removed:c})):this.clear(d),void 0)}}),f=O(d,{createContainer:function(){var b=a(document.createElement("div")).attr({"class":"select2-container select2-container-multi"}).html(["
      ","
    • "," "," ","
    • ","
    ","
    ","
      ","
    ","
    "].join(""));return b},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=[];a.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(a,b){d.push(c.optionToData(b))}),b(d)}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=s(c.val(),b.separator),f=[];b.query({matcher:function(c,d,g){var h=a.grep(e,function(a){return r(a,b.id(g))}).length;return h&&f.push(g),h},callback:a.isFunction(d)?function(){for(var a=[],c=0;c0||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.open(),this.focusSearch(),b.preventDefault()))})),this.container.on("focus",b,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||""!==this.opts.element.val()){var c=this;this.opts.initSelection.call(null,this.opts.element,function(a){a!==b&&null!==a&&(c.updateSelection(a),c.close(),c.clearSearch())})}},clearSearch:function(){var a=this.getPlaceholder(),c=this.getMaxSearchWidth();a!==b&&0===this.getVal().length&&this.search.hasClass("select2-focused")===!1?(this.search.val(a).addClass("select2-default"),this.search.width(c>0?c:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),""===this.search.val()&&this.nextSearchTerm!=b&&(this.search.val(this.nextSearchTerm),this.search.select()),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(a.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(b){var c=[],d=[],e=this;a(b).each(function(){p(e.id(this),c)<0&&(c.push(e.id(this)),d.push(this))}),b=d,this.selection.find(".select2-search-choice").remove(),a(b).each(function(){e.addSelectedChoice(this)}),e.postprocessResults()},tokenize:function(){var a=this.search.val();a=this.opts.tokenizer.call(this,a,this.data(),this.bind(this.onSelect),this.opts),null!=a&&a!=b&&(this.search.val(a),a.length>0&&this.open())},onSelect:function(a,c){this.triggerSelect(a)&&""!==a.text&&(this.addSelectedChoice(a),this.opts.element.trigger({type:"selected",val:this.id(a),choice:a}),this.nextSearchTerm=this.opts.nextSearchTerm(a,this.search.val()),this.clearSearch(),this.updateResults(),(this.select||!this.opts.closeOnSelect)&&this.postprocessResults(a,!1,this.opts.closeOnSelect===!0),this.opts.closeOnSelect?(this.close(),this.search.width(10)):this.countSelectableResults()>0?(this.search.width(10),this.resizeSearch(),this.getMaximumSelectionSize()>0&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.nextSearchTerm!=b&&(this.search.val(this.nextSearchTerm),this.updateResults(),this.search.select()),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:a}),c&&c.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(c){var j,k,d=!c.locked,e=a("
  • "),f=a("
  • "),g=d?e:f,h=this.id(c),i=this.getVal();j=this.opts.formatSelection(c,g.find("div"),this.opts.escapeMarkup),j!=b&&g.find("div").replaceWith("
    "+j+"
    "),k=this.opts.formatSelectionCssClass(c,g.find("div")),k!=b&&g.addClass(k),d&&g.find(".select2-search-choice-close").on("mousedown",A).on("click dblclick",this.bind(function(b){this.isInterfaceEnabled()&&(this.unselect(a(b.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),A(b),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),g.data("select2-data",c),g.insertBefore(this.searchContainer),i.push(h),this.setVal(i)},unselect:function(b){var d,e,c=this.getVal();if(b=b.closest(".select2-search-choice"),0===b.length)throw"Invalid argument: "+b+". Must be .select2-search-choice";if(d=b.data("select2-data")){var f=a.Event("select2-removing");if(f.val=this.id(d),f.choice=d,this.opts.element.trigger(f),f.isDefaultPrevented())return!1;for(;(e=p(this.id(d),c))>=0;)c.splice(e,1),this.setVal(c),this.select&&this.postprocessResults();return b.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(d),choice:d}),this.triggerChange({removed:d}),!0}},postprocessResults:function(a,b,c){var d=this.getVal(),e=this.results.find(".select2-result"),f=this.results.find(".select2-result-with-children"),g=this;e.each2(function(a,b){var c=g.id(b.data("select2-data"));p(c,d)>=0&&(b.addClass("select2-selected"),b.find(".select2-result-selectable").addClass("select2-selected"))}),f.each2(function(a,b){b.is(".select2-result-selectable")||0!==b.find(".select2-result-selectable:not(.select2-selected)").length||b.addClass("select2-selected")}),-1==this.highlight()&&c!==!1&&g.highlight(0),!this.opts.createSearchChoice&&!e.filter(".select2-result:not(.select2-selected)").length>0&&(!a||a&&!a.more&&0===this.results.find(".select2-no-results").length)&&J(g.opts.formatNoMatches,"formatNoMatches")&&this.results.append("
  • "+K(g.opts.formatNoMatches,g.opts.element,g.search.val())+"
  • ")},getMaxSearchWidth:function(){return this.selection.width()-t(this.search)},resizeSearch:function(){var a,b,c,d,e,f=t(this.search);a=C(this.search)+10,b=this.search.offset().left,c=this.selection.width(),d=this.selection.offset().left,e=c-(b-d)-f,a>e&&(e=c-f),40>e&&(e=c-f),0>=e&&(e=a),this.search.width(Math.floor(e))},getVal:function(){var a;return this.select?(a=this.select.val(),null===a?[]:a):(a=this.opts.element.val(),s(a,this.opts.separator))},setVal:function(b){var c;this.select?this.select.val(b):(c=[],a(b).each(function(){p(this,c)<0&&c.push(this)}),this.opts.element.val(0===c.length?"":c.join(this.opts.separator)))},buildChangeDetails:function(a,b){for(var b=b.slice(0),a=a.slice(0),c=0;c0&&c--,a.splice(d,1),d--);return{added:b,removed:a}},val:function(c,d){var e,f=this;if(0===arguments.length)return this.getVal();if(e=this.data(),e.length||(e=[]),!c&&0!==c)return this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),d&&this.triggerChange({added:this.data(),removed:e}),void 0;if(this.setVal(c),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),d&&this.triggerChange(this.buildChangeDetails(e,this.data()));else{if(this.opts.initSelection===b)throw new Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(b){var c=a.map(b,f.id);f.setVal(c),f.updateSelection(b),f.clearSearch(),d&&f.triggerChange(f.buildChangeDetails(e,f.data()))})}this.clearSearch()},onSortStart:function(){if(this.select)throw new Error("Sorting of elements is not supported when attached to instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var b=[],c=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){b.push(c.opts.id(a(this).data("select2-data")))}),this.setVal(b),this.triggerChange()},data:function(b,c){var e,f,d=this;return 0===arguments.length?this.selection.children(".select2-search-choice").map(function(){return a(this).data("select2-data")}).get():(f=this.data(),b||(b=[]),e=a.map(b,function(a){return d.opts.id(a)}),this.setVal(e),this.updateSelection(b),this.clearSearch(),c&&this.triggerChange(this.buildChangeDetails(f,this.data())),void 0)}}),a.fn.select2=function(){var d,e,f,g,h,c=Array.prototype.slice.call(arguments,0),i=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],j=["opened","isFocused","container","dropdown"],k=["val","data"],l={search:"externalSearch"};return this.each(function(){if(0===c.length||"object"==typeof c[0])d=0===c.length?{}:a.extend({},c[0]),d.element=a(this),"select"===d.element.get(0).tagName.toLowerCase()?h=d.element.prop("multiple"):(h=d.multiple||!1,"tags"in d&&(d.multiple=h=!0)),e=h?new window.Select2["class"].multi:new window.Select2["class"].single,e.init(d);else{if("string"!=typeof c[0])throw"Invalid arguments to select2 plugin: "+c;if(p(c[0],i)<0)throw"Unknown method: "+c[0];if(g=b,e=a(this).data("select2"),e===b)return;if(f=c[0],"container"===f?g=e.container:"dropdown"===f?g=e.dropdown:(l[f]&&(f=l[f]),g=e[f].apply(e,c.slice(1))),p(c[0],j)>=0||p(c[0],k)>=0&&1==c.length)return!1}}),g===b?this:g},a.fn.select2.defaults={width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(a,b,c,d){var e=[];return E(a.text,c.term,e,d),e.join("")},formatSelection:function(a,c,d){return a?d(a.text):b},sortResults:function(a){return a},formatResultCssClass:function(a){return a.css},formatSelectionCssClass:function(){return b},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(a){return a==b?null:a.id},matcher:function(a,b){return o(""+b).toUpperCase().indexOf(o(""+a).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:M,escapeMarkup:F,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(a){return a},adaptDropdownCssClass:function(){return null},nextSearchTerm:function(){return b},searchInputPlaceholder:"",createSearchChoicePosition:"top",shouldFocusInput:function(a){var b="ontouchstart"in window||navigator.msMaxTouchPoints>0;return b?a.opts.minimumResultsForSearch<0?!1:!0:!0}},a.fn.select2.locales=[],a.fn.select2.locales.en={formatMatches:function(a){return 1===a?"One result is available, press enter to select it.":a+" results are available, use up and down arrow keys to navigate."},formatNoMatches:function(){return"No matches found"},formatAjaxError:function(){return"Loading failed"},formatInputTooShort:function(a,b){var c=b-a.length;return"Please enter "+c+" or more character"+(1==c?"":"s")},formatInputTooLong:function(a,b){var c=a.length-b;return"Please delete "+c+" character"+(1==c?"":"s")},formatSelectionTooBig:function(a){return"You can only select "+a+" item"+(1==a?"":"s")},formatLoadMore:function(){return"Loading more results\u2026"},formatSearching:function(){return"Searching\u2026"}},a.extend(a.fn.select2.defaults,a.fn.select2.locales.en),a.fn.select2.ajaxDefaults={transport:a.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:G,local:H,tags:I},util:{debounce:w,markMatch:E,escapeMarkup:F,stripDiacritics:o},"class":{"abstract":d,single:e,multi:f}}}}(jQuery);; /* nanoScrollerJS - v0.7.6 - (c) 2013 James Florentino; Licensed MIT */ !function(a,b,c){"use strict";var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F;x={paneClass:"pane",sliderClass:"slider",contentClass:"content",iOSNativeScrolling:!1,preventPageScrolling:!1,disableResize:!1,alwaysVisible:!1,flashDelay:1500,sliderMinHeight:20,sliderMaxHeight:null,documentContext:null,windowContext:null},s="scrollbar",r="scroll",k="mousedown",l="mousemove",n="mousewheel",m="mouseup",q="resize",h="drag",u="up",p="panedown",f="DOMMouseScroll",g="down",v="wheel",i="keydown",j="keyup",t="touchmove",d="Microsoft Internet Explorer"===b.navigator.appName&&/msie 7./i.test(b.navigator.appVersion)&&b.ActiveXObject,e=null,B=b.requestAnimationFrame,w=b.cancelAnimationFrame,D=c.createElement("div").style,F=function(){var a,b,c,d,e,f;for(d=["t","webkitT","MozT","msT","OT"],a=e=0,f=d.length;f>e;a=++e)if(c=d[a],b=d[a]+"ransform",b in D)return d[a].substr(0,d[a].length-1);return!1}(),E=function(a){return F===!1?!1:""===F?a:F+a.charAt(0).toUpperCase()+a.substr(1)},C=E("transform"),z=C!==!1,y=function(){var a,b,d;return a=c.createElement("div"),b=a.style,b.position="absolute",b.width="100px",b.height="100px",b.overflow=r,b.top="-9999px",c.body.appendChild(a),d=a.offsetWidth-a.clientWidth,c.body.removeChild(a),d},A=function(){var a,c,d;return c=b.navigator.userAgent,(a=/(?=.+Mac OS X)(?=.+Firefox)/.test(c))?(d=/Firefox\/\d{2}\./.exec(c),d&&(d=d[0].replace(/\D+/g,"")),a&&+d>23):!1},o=function(){function i(d,f){this.el=d,this.options=f,e||(e=y()),this.$el=a(this.el),this.doc=a(this.options.documentContext||c),this.win=a(this.options.windowContext||b),this.$content=this.$el.children("."+f.contentClass),this.$content.attr("tabindex",this.options.tabIndex||0),this.content=this.$content[0],this.options.iOSNativeScrolling&&null!=this.el.style.WebkitOverflowScrolling?this.nativeScrolling():this.generate(),this.createEvents(),this.addEvents(),this.reset()}return i.prototype.preventScrolling=function(a,b){if(this.isActive)if(a.type===f)(b===g&&a.originalEvent.detail>0||b===u&&a.originalEvent.detail<0)&&a.preventDefault();else if(a.type===n){if(!a.originalEvent||!a.originalEvent.wheelDelta)return;(b===g&&a.originalEvent.wheelDelta<0||b===u&&a.originalEvent.wheelDelta>0)&&a.preventDefault()}},i.prototype.nativeScrolling=function(){this.$content.css({WebkitOverflowScrolling:"touch"}),this.iOSNativeScrolling=!0,this.isActive=!0},i.prototype.updateScrollValues=function(){var a;a=this.content,this.maxScrollTop=a.scrollHeight-a.clientHeight,this.prevScrollTop=this.contentScrollTop||0,this.contentScrollTop=a.scrollTop,this.iOSNativeScrolling||(this.maxSliderTop=this.paneHeight-this.sliderHeight,this.sliderTop=0===this.maxScrollTop?0:this.contentScrollTop*this.maxSliderTop/this.maxScrollTop)},i.prototype.setOnScrollStyles=function(){var a,b=this;z?(a={},a[C]="translate(0, "+this.sliderTop+"px)"):a={top:this.sliderTop},B?this.scrollRAF||(this.scrollRAF=B(function(){b.scrollRAF=null,b.slider.css(a)})):this.slider.css(a)},i.prototype.createEvents=function(){var a=this;this.events={down:function(b){return a.isBeingDragged=!0,a.offsetY=b.pageY-a.slider.offset().top,a.pane.addClass("active"),a.doc.bind(l,a.events[h]).bind(m,a.events[u]),!1},drag:function(b){return a.sliderY=b.pageY-a.$el.offset().top-a.offsetY,a.scroll(),a.contentScrollTop>=a.maxScrollTop&&a.prevScrollTop!==a.maxScrollTop?a.$el.trigger("scrollend"):0===a.contentScrollTop&&0!==a.prevScrollTop&&a.$el.trigger("scrolltop"),!1},up:function(){return a.isBeingDragged=!1,a.pane.removeClass("active"),a.doc.unbind(l,a.events[h]).unbind(m,a.events[u]),!1},resize:function(){a.reset()},panedown:function(b){return a.sliderY=(b.offsetY||b.originalEvent.layerY)-.5*a.sliderHeight,a.scroll(),a.events.down(b),!1},scroll:function(b){a.updateScrollValues(),a.isBeingDragged||(a.iOSNativeScrolling||(a.sliderY=a.sliderTop,a.setOnScrollStyles()),null!=b&&(a.contentScrollTop>=a.maxScrollTop?(a.options.preventPageScrolling&&a.preventScrolling(b,g),a.prevScrollTop!==a.maxScrollTop&&a.$el.trigger("scrollend")):0===a.contentScrollTop&&(a.options.preventPageScrolling&&a.preventScrolling(b,u),0!==a.prevScrollTop&&a.$el.trigger("scrolltop"))))},wheel:function(b){var c;if(null!=b)return c=b.delta||b.wheelDelta||b.originalEvent&&b.originalEvent.wheelDelta||-b.detail||b.originalEvent&&-b.originalEvent.detail,c&&(a.sliderY+=-c/3),a.scroll(),!1}}},i.prototype.addEvents=function(){var a;this.removeEvents(),a=this.events,this.options.disableResize||this.win.bind(q,a[q]),this.iOSNativeScrolling||(this.slider.bind(k,a[g]),this.pane.bind(k,a[p]).bind(""+n+" "+f,a[v])),this.$content.bind(""+r+" "+n+" "+f+" "+t,a[r])},i.prototype.removeEvents=function(){var a;a=this.events,this.win.unbind(q,a[q]),this.iOSNativeScrolling||(this.slider.unbind(),this.pane.unbind()),this.$content.unbind(""+r+" "+n+" "+f+" "+t,a[r])},i.prototype.generate=function(){var a,c,d,f,g,h;return f=this.options,g=f.paneClass,h=f.sliderClass,a=f.contentClass,this.$el.find("."+g).length||this.$el.find("."+h).length||this.$el.append('
    '),this.pane=this.$el.children("."+g),this.slider=this.pane.find("."+h),0===e&&A()?(d=b.getComputedStyle(this.content,null).getPropertyValue("padding-right").replace(/\D+/g,""),c={right:-14,paddingRight:+d+14}):e&&(c={right:-e},this.$el.addClass("has-scrollbar")),null!=c&&this.$content.css(c),this},i.prototype.restore=function(){this.stopped=!1,this.iOSNativeScrolling||this.pane.show(),this.addEvents()},i.prototype.reset=function(){var a,b,c,f,g,h,i,j,k,l;return this.iOSNativeScrolling?(this.contentHeight=this.content.scrollHeight,void 0):(this.$el.find("."+this.options.paneClass).length||this.generate().stop(),this.stopped&&this.restore(),a=this.content,c=a.style,f=c.overflowY,d&&this.$content.css({height:this.$content.height()}),b=a.scrollHeight+e,k=parseInt(this.$el.css("max-height"),10),k>0&&(this.$el.height(""),this.$el.height(a.scrollHeight>k?k:a.scrollHeight)),h=this.pane.outerHeight(!1),j=parseInt(this.pane.css("top"),10),g=parseInt(this.pane.css("bottom"),10),i=h+j+g,l=Math.round(i/b*i),lthis.options.sliderMaxHeight&&(l=this.options.sliderMaxHeight),f===r&&c.overflowX!==r&&(l+=e),this.maxSliderTop=i-l,this.contentHeight=b,this.paneHeight=h,this.paneOuterHeight=i,this.sliderHeight=l,this.slider.height(l),this.events.scroll(),this.pane.show(),this.isActive=!0,a.scrollHeight===a.clientHeight||this.pane.outerHeight(!0)>=a.scrollHeight&&f!==r?(this.pane.hide(),this.isActive=!1):this.el.clientHeight===a.scrollHeight&&f===r?this.slider.hide():this.slider.show(),this.pane.css({opacity:this.options.alwaysVisible?1:"",visibility:this.options.alwaysVisible?"visible":""}),this)},i.prototype.scroll=function(){return this.isActive?(this.sliderY=Math.max(0,this.sliderY),this.sliderY=Math.min(this.maxSliderTop,this.sliderY),this.$content.scrollTop((this.paneHeight-this.contentHeight+e)*this.sliderY/this.maxSliderTop*-1),this.iOSNativeScrolling||(this.updateScrollValues(),this.setOnScrollStyles()),this):void 0},i.prototype.scrollBottom=function(a){return this.isActive?(this.reset(),this.$content.scrollTop(this.contentHeight-this.$content.height()-a).trigger(n),this):void 0},i.prototype.scrollTop=function(a){return this.isActive?(this.reset(),this.$content.scrollTop(+a).trigger(n),this):void 0},i.prototype.scrollTo=function(a){return this.isActive?(this.reset(),this.scrollTop(this.$el.find(a).get(0).offsetTop),this):void 0},i.prototype.stop=function(){return w&&this.scrollRAF&&(w(this.scrollRAF),this.scrollRAF=null),this.stopped=!0,this.removeEvents(),this.iOSNativeScrolling||this.pane.hide(),this},i.prototype.destroy=function(){return this.stopped||this.stop(),!this.iOSNativeScrolling&&this.pane.length&&this.pane.remove(),d&&this.$content.height(""),this.$content.removeAttr("tabindex"),this.$el.hasClass("has-scrollbar")&&(this.$el.removeClass("has-scrollbar"),this.$content.css({right:""})),this},i.prototype.flash=function(){var a=this;if(!this.iOSNativeScrolling&&this.isActive)return this.reset(),this.pane.addClass("flashed"),setTimeout(function(){a.pane.removeClass("flashed")},this.options.flashDelay),this},i}(),a.fn.nanoScroller=function(b){return this.each(function(){var c,d;if((d=this.nanoscroller)||(c=a.extend({},x,b),this.nanoscroller=d=new o(this,c)),b&&"object"==typeof b){if(a.extend(d.options,b),null!=b.scrollBottom)return d.scrollBottom(b.scrollBottom);if(null!=b.scrollTop)return d.scrollTop(b.scrollTop);if(b.scrollTo)return d.scrollTo(b.scrollTo);if("bottom"===b.scroll)return d.scrollBottom(0);if("top"===b.scroll)return d.scrollTop(0);if(b.scroll&&b.scroll instanceof a)return d.scrollTo(b.scroll);if(b.stop)return d.stop();if(b.destroy)return d.destroy();if(b.flash)return d.flash()}return d.reset()})},a.fn.nanoScroller.Constructor=o}(jQuery,window,document);; /* Stellar.js v0.6.2 | Copyright 2014, Mark Dalgleish | http://markdalgleish.com/projects/stellar.js | http://markdalgleish.mit-license.org */ !function(a,b,c,d){function e(b,c){this.element=b,this.options=a.extend({},g,c),this._defaults=g,this._name=f,this.init()}var f="stellar",g={scrollProperty:"scroll",positionProperty:"position",horizontalScrolling:!0,verticalScrolling:!0,horizontalOffset:0,verticalOffset:0,responsive:!1,parallaxBackgrounds:!0,parallaxElements:!0,hideDistantElements:!0,hideElement:function(a){a.hide()},showElement:function(a){a.show()}},h={scroll:{getLeft:function(a){return a.scrollLeft()},setLeft:function(a,b){a.scrollLeft(b)},getTop:function(a){return a.scrollTop()},setTop:function(a,b){a.scrollTop(b)}},position:{getLeft:function(a){return-1*parseInt(a.css("left"),10)},getTop:function(a){return-1*parseInt(a.css("top"),10)}},margin:{getLeft:function(a){return-1*parseInt(a.css("margin-left"),10)},getTop:function(a){return-1*parseInt(a.css("margin-top"),10)}},transform:{getLeft:function(a){var b=getComputedStyle(a[0])[k];return"none"!==b?-1*parseInt(b.match(/(-?[0-9]+)/g)[4],10):0},getTop:function(a){var b=getComputedStyle(a[0])[k];return"none"!==b?-1*parseInt(b.match(/(-?[0-9]+)/g)[5],10):0}}},i={position:{setLeft:function(a,b){a.css("left",b)},setTop:function(a,b){a.css("top",b)}},transform:{setPosition:function(a,b,c,d,e){a[0].style[k]="translate3d("+(b-c)+"px, "+(d-e)+"px, 0)"}}},j=function(){var b,c=/^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/,d=a("script")[0].style,e="";for(b in d)if(c.test(b)){e=b.match(c)[0];break}return"WebkitOpacity"in d&&(e="Webkit"),"KhtmlOpacity"in d&&(e="Khtml"),function(a){return e+(e.length>0?a.charAt(0).toUpperCase()+a.slice(1):a)}}(),k=j("transform"),l=a("
    ",{style:"background:#fff"}).css("background-position-x")!==d,m=l?function(a,b,c){a.css({"background-position-x":b,"background-position-y":c})}:function(a,b,c){a.css("background-position",b+" "+c)},n=l?function(a){return[a.css("background-position-x"),a.css("background-position-y")]}:function(a){return a.css("background-position").split(" ")},o=b.requestAnimationFrame||b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame||b.oRequestAnimationFrame||b.msRequestAnimationFrame||function(a){setTimeout(a,1e3/60)};e.prototype={init:function(){this.options.name=f+"_"+Math.floor(1e9*Math.random()),this._defineElements(),this._defineGetters(),this._defineSetters(),this._handleWindowLoadAndResize(),this._detectViewport(),this.refresh({firstLoad:!0}),"scroll"===this.options.scrollProperty?this._handleScrollEvent():this._startAnimationLoop()},_defineElements:function(){this.element===c.body&&(this.element=b),this.$scrollElement=a(this.element),this.$element=this.element===b?a("body"):this.$scrollElement,this.$viewportElement=this.options.viewportElement!==d?a(this.options.viewportElement):this.$scrollElement[0]===b||"scroll"===this.options.scrollProperty?this.$scrollElement:this.$scrollElement.parent()},_defineGetters:function(){var a=this,b=h[a.options.scrollProperty];this._getScrollLeft=function(){return b.getLeft(a.$scrollElement)},this._getScrollTop=function(){return b.getTop(a.$scrollElement)}},_defineSetters:function(){var b=this,c=h[b.options.scrollProperty],d=i[b.options.positionProperty],e=c.setLeft,f=c.setTop;this._setScrollLeft="function"==typeof e?function(a){e(b.$scrollElement,a)}:a.noop,this._setScrollTop="function"==typeof f?function(a){f(b.$scrollElement,a)}:a.noop,this._setPosition=d.setPosition||function(a,c,e,f,g){b.options.horizontalScrolling&&d.setLeft(a,c,e),b.options.verticalScrolling&&d.setTop(a,f,g)}},_handleWindowLoadAndResize:function(){var c=this,d=a(b);c.options.responsive&&d.bind("load."+this.name,function(){c.refresh()}),d.bind("resize."+this.name,function(){c._detectViewport(),c.options.responsive&&c.refresh()})},refresh:function(c){var d=this,e=d._getScrollLeft(),f=d._getScrollTop();c&&c.firstLoad||this._reset(),this._setScrollLeft(0),this._setScrollTop(0),this._setOffsets(),this._findParticles(),this._findBackgrounds(),c&&c.firstLoad&&/WebKit/.test(navigator.userAgent)&&a(b).load(function(){var a=d._getScrollLeft(),b=d._getScrollTop();d._setScrollLeft(a+1),d._setScrollTop(b+1),d._setScrollLeft(a),d._setScrollTop(b)}),this._setScrollLeft(e),this._setScrollTop(f)},_detectViewport:function(){var a=this.$viewportElement.offset(),b=null!==a&&a!==d;this.viewportWidth=this.$viewportElement.width(),this.viewportHeight=this.$viewportElement.height(),this.viewportOffsetTop=b?a.top:0,this.viewportOffsetLeft=b?a.left:0},_findParticles:function(){{var b=this;this._getScrollLeft(),this._getScrollTop()}if(this.particles!==d)for(var c=this.particles.length-1;c>=0;c--)this.particles[c].$element.data("stellar-elementIsActive",d);this.particles=[],this.options.parallaxElements&&this.$element.find("[data-stellar-ratio]").each(function(){var c,e,f,g,h,i,j,k,l,m=a(this),n=0,o=0,p=0,q=0;if(m.data("stellar-elementIsActive")){if(m.data("stellar-elementIsActive")!==this)return}else m.data("stellar-elementIsActive",this);b.options.showElement(m),m.data("stellar-startingLeft")?(m.css("left",m.data("stellar-startingLeft")),m.css("top",m.data("stellar-startingTop"))):(m.data("stellar-startingLeft",m.css("left")),m.data("stellar-startingTop",m.css("top"))),f=m.position().left,g=m.position().top,h="auto"===m.css("margin-left")?0:parseInt(m.css("margin-left"),10),i="auto"===m.css("margin-top")?0:parseInt(m.css("margin-top"),10),k=m.offset().left-h,l=m.offset().top-i,m.parents().each(function(){var b=a(this);return b.data("stellar-offset-parent")===!0?(n=p,o=q,j=b,!1):(p+=b.position().left,void(q+=b.position().top))}),c=m.data("stellar-horizontal-offset")!==d?m.data("stellar-horizontal-offset"):j!==d&&j.data("stellar-horizontal-offset")!==d?j.data("stellar-horizontal-offset"):b.horizontalOffset,e=m.data("stellar-vertical-offset")!==d?m.data("stellar-vertical-offset"):j!==d&&j.data("stellar-vertical-offset")!==d?j.data("stellar-vertical-offset"):b.verticalOffset,b.particles.push({$element:m,$offsetParent:j,isFixed:"fixed"===m.css("position"),horizontalOffset:c,verticalOffset:e,startingPositionLeft:f,startingPositionTop:g,startingOffsetLeft:k,startingOffsetTop:l,parentOffsetLeft:n,parentOffsetTop:o,stellarRatio:m.data("stellar-ratio")!==d?m.data("stellar-ratio"):1,width:m.outerWidth(!0),height:m.outerHeight(!0),isHidden:!1})})},_findBackgrounds:function(){var b,c=this,e=this._getScrollLeft(),f=this._getScrollTop();this.backgrounds=[],this.options.parallaxBackgrounds&&(b=this.$element.find("[data-stellar-background-ratio]"),this.$element.data("stellar-background-ratio")&&(b=b.add(this.$element)),b.each(function(){var b,g,h,i,j,k,l,o=a(this),p=n(o),q=0,r=0,s=0,t=0;if(o.data("stellar-backgroundIsActive")){if(o.data("stellar-backgroundIsActive")!==this)return}else o.data("stellar-backgroundIsActive",this);o.data("stellar-backgroundStartingLeft")?m(o,o.data("stellar-backgroundStartingLeft"),o.data("stellar-backgroundStartingTop")):(o.data("stellar-backgroundStartingLeft",p[0]),o.data("stellar-backgroundStartingTop",p[1])),h="auto"===o.css("margin-left")?0:parseInt(o.css("margin-left"),10),i="auto"===o.css("margin-top")?0:parseInt(o.css("margin-top"),10),j=o.offset().left-h-e,k=o.offset().top-i-f,o.parents().each(function(){var b=a(this);return b.data("stellar-offset-parent")===!0?(q=s,r=t,l=b,!1):(s+=b.position().left,void(t+=b.position().top))}),b=o.data("stellar-horizontal-offset")!==d?o.data("stellar-horizontal-offset"):l!==d&&l.data("stellar-horizontal-offset")!==d?l.data("stellar-horizontal-offset"):c.horizontalOffset,g=o.data("stellar-vertical-offset")!==d?o.data("stellar-vertical-offset"):l!==d&&l.data("stellar-vertical-offset")!==d?l.data("stellar-vertical-offset"):c.verticalOffset,c.backgrounds.push({$element:o,$offsetParent:l,isFixed:"fixed"===o.css("background-attachment"),horizontalOffset:b,verticalOffset:g,startingValueLeft:p[0],startingValueTop:p[1],startingBackgroundPositionLeft:isNaN(parseInt(p[0],10))?0:parseInt(p[0],10),startingBackgroundPositionTop:isNaN(parseInt(p[1],10))?0:parseInt(p[1],10),startingPositionLeft:o.position().left,startingPositionTop:o.position().top,startingOffsetLeft:j,startingOffsetTop:k,parentOffsetLeft:q,parentOffsetTop:r,stellarRatio:o.data("stellar-background-ratio")===d?1:o.data("stellar-background-ratio")})}))},_reset:function(){var a,b,c,d,e;for(e=this.particles.length-1;e>=0;e--)a=this.particles[e],b=a.$element.data("stellar-startingLeft"),c=a.$element.data("stellar-startingTop"),this._setPosition(a.$element,b,b,c,c),this.options.showElement(a.$element),a.$element.data("stellar-startingLeft",null).data("stellar-elementIsActive",null).data("stellar-backgroundIsActive",null);for(e=this.backgrounds.length-1;e>=0;e--)d=this.backgrounds[e],d.$element.data("stellar-backgroundStartingLeft",null).data("stellar-backgroundStartingTop",null),m(d.$element,d.startingValueLeft,d.startingValueTop)},destroy:function(){this._reset(),this.$scrollElement.unbind("resize."+this.name).unbind("scroll."+this.name),this._animationLoop=a.noop,a(b).unbind("load."+this.name).unbind("resize."+this.name)},_setOffsets:function(){var c=this,d=a(b);d.unbind("resize.horizontal-"+this.name).unbind("resize.vertical-"+this.name),"function"==typeof this.options.horizontalOffset?(this.horizontalOffset=this.options.horizontalOffset(),d.bind("resize.horizontal-"+this.name,function(){c.horizontalOffset=c.options.horizontalOffset()})):this.horizontalOffset=this.options.horizontalOffset,"function"==typeof this.options.verticalOffset?(this.verticalOffset=this.options.verticalOffset(),d.bind("resize.vertical-"+this.name,function(){c.verticalOffset=c.options.verticalOffset()})):this.verticalOffset=this.options.verticalOffset},_repositionElements:function(){var a,b,c,d,e,f,g,h,i,j,k=this._getScrollLeft(),l=this._getScrollTop(),n=!0,o=!0;if(this.currentScrollLeft!==k||this.currentScrollTop!==l||this.currentWidth!==this.viewportWidth||this.currentHeight!==this.viewportHeight){for(this.currentScrollLeft=k,this.currentScrollTop=l,this.currentWidth=this.viewportWidth,this.currentHeight=this.viewportHeight,j=this.particles.length-1;j>=0;j--)a=this.particles[j],b=a.isFixed?1:0,this.options.horizontalScrolling?(f=(k+a.horizontalOffset+this.viewportOffsetLeft+a.startingPositionLeft-a.startingOffsetLeft+a.parentOffsetLeft)*-(a.stellarRatio+b-1)+a.startingPositionLeft,h=f-a.startingPositionLeft+a.startingOffsetLeft):(f=a.startingPositionLeft,h=a.startingOffsetLeft),this.options.verticalScrolling?(g=(l+a.verticalOffset+this.viewportOffsetTop+a.startingPositionTop-a.startingOffsetTop+a.parentOffsetTop)*-(a.stellarRatio+b-1)+a.startingPositionTop,i=g-a.startingPositionTop+a.startingOffsetTop):(g=a.startingPositionTop,i=a.startingOffsetTop),this.options.hideDistantElements&&(o=!this.options.horizontalScrolling||h+a.width>(a.isFixed?0:k)&&h<(a.isFixed?0:k)+this.viewportWidth+this.viewportOffsetLeft,n=!this.options.verticalScrolling||i+a.height>(a.isFixed?0:l)&&i<(a.isFixed?0:l)+this.viewportHeight+this.viewportOffsetTop),o&&n?(a.isHidden&&(this.options.showElement(a.$element),a.isHidden=!1),this._setPosition(a.$element,f,a.startingPositionLeft,g,a.startingPositionTop)):a.isHidden||(this.options.hideElement(a.$element),a.isHidden=!0);for(j=this.backgrounds.length-1;j>=0;j--)c=this.backgrounds[j],b=c.isFixed?0:1,d=this.options.horizontalScrolling?(k+c.horizontalOffset-this.viewportOffsetLeft-c.startingOffsetLeft+c.parentOffsetLeft-c.startingBackgroundPositionLeft)*(b-c.stellarRatio)+"px":c.startingValueLeft,e=this.options.verticalScrolling?(l+c.verticalOffset-this.viewportOffsetTop-c.startingOffsetTop+c.parentOffsetTop-c.startingBackgroundPositionTop)*(b-c.stellarRatio)+"px":c.startingValueTop,m(c.$element,d,e)}},_handleScrollEvent:function(){var a=this,b=!1,c=function(){a._repositionElements(),b=!1},d=function(){b||(o(c),b=!0)};this.$scrollElement.bind("scroll."+this.name,d),d()},_startAnimationLoop:function(){var a=this;this._animationLoop=function(){o(a._animationLoop),a._repositionElements()},this._animationLoop()}},a.fn[f]=function(b){var c=arguments;return b===d||"object"==typeof b?this.each(function(){a.data(this,"plugin_"+f)||a.data(this,"plugin_"+f,new e(this,b))}):"string"==typeof b&&"_"!==b[0]&&"init"!==b?this.each(function(){var d=a.data(this,"plugin_"+f);d instanceof e&&"function"==typeof d[b]&&d[b].apply(d,Array.prototype.slice.call(c,1)),"destroy"===b&&a.data(this,"plugin_"+f,null)}):void 0},a[f]=function(){var c=a(b);return c.stellar.apply(c,Array.prototype.slice.call(arguments,0))},a[f].scrollProperty=h,a[f].positionProperty=i,b.Stellar=e}(jQuery,this,document);; /* * Isotope PACKAGED v2.0.1 * Filter & sort magical layouts * http://isotope.metafizzy.co */ (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 n(e,i){t.fn[e]=function(n){if("string"==typeof n){for(var s=o.call(arguments,1),a=0,u=this.length;u>a;a++){var p=this[a],h=t.data(p,e);if(h)if(t.isFunction(h[n])&&"_"!==n.charAt(0)){var f=h[n].apply(h,s);if(void 0!==f)return f}else r("no such method '"+n+"' for "+e+" instance");else r("cannot call methods on "+e+" prior to initialization; "+"attempted to call '"+n+"'")}return this}return this.each(function(){var o=t.data(this,e);o?(o.option(n),o._init()):(o=new i(this,n),t.data(this,e,o))})}}if(t){var r="undefined"==typeof console?e:function(t){console.error(t)};return t.bridget=function(t,e){i(e),n(t,e)},t.bridget}}var o=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):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,o=function(){};i.addEventListener?o=function(t,e,i){t.addEventListener(e,i,!1)}:i.attachEvent&&(o=function(t,i,o){t[i+o]=o.handleEvent?function(){var i=e(t);o.handleEvent.call(o,i)}:function(){var i=e(t);o.call(t,i)},t.attachEvent("on"+i,t[i+o])});var n=function(){};i.removeEventListener?n=function(t,e,i){t.removeEventListener(e,i,!1)}:i.detachEvent&&(n=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(o){t[e+i]=void 0}});var r={bind:o,unbind:n};"function"==typeof define&&define.amd?define("eventie/eventie",r):"object"==typeof exports?module.exports=r:t.eventie=r}(this),function(t){function e(t){"function"==typeof t&&(e.isReady?t():r.push(t))}function i(t){var i="readystatechange"===t.type&&"complete"!==n.readyState;if(!e.isReady&&!i){e.isReady=!0;for(var o=0,s=r.length;s>o;o++){var a=r[o];a()}}}function o(o){return o.bind(n,"DOMContentLoaded",i),o.bind(n,"readystatechange",i),o.bind(t,"load",i),e}var n=t.document,r=[];e.isReady=!1,"function"==typeof define&&define.amd?(e.isReady="function"==typeof requirejs,define("doc-ready/doc-ready",["eventie/eventie"],o)):t.docReady=o(t.eventie)}(this),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 o=t.prototype,n=this,r=n.EventEmitter;o.getListeners=function(t){var e,i,o=this._getEvents();if(t instanceof RegExp){e={};for(i in o)o.hasOwnProperty(i)&&t.test(i)&&(e[i]=o[i])}else e=o[t]||(o[t]=[]);return e},o.flattenListeners=function(t){var e,i=[];for(e=0;t.length>e;e+=1)i.push(t[e].listener);return i},o.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&(e={},e[t]=i),e||i},o.addListener=function(t,i){var o,n=this.getListenersAsObject(t),r="object"==typeof i;for(o in n)n.hasOwnProperty(o)&&-1===e(n[o],i)&&n[o].push(r?i:{listener:i,once:!1});return this},o.on=i("addListener"),o.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},o.once=i("addOnceListener"),o.defineEvent=function(t){return this.getListeners(t),this},o.defineEvents=function(t){for(var e=0;t.length>e;e+=1)this.defineEvent(t[e]);return this},o.removeListener=function(t,i){var o,n,r=this.getListenersAsObject(t);for(n in r)r.hasOwnProperty(n)&&(o=e(r[n],i),-1!==o&&r[n].splice(o,1));return this},o.off=i("removeListener"),o.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},o.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},o.manipulateListeners=function(t,e,i){var o,n,r=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(o=i.length;o--;)r.call(this,e,i[o]);else for(o in e)e.hasOwnProperty(o)&&(n=e[o])&&("function"==typeof n?r.call(this,o,n):s.call(this,o,n));return this},o.removeEvent=function(t){var e,i=typeof t,o=this._getEvents();if("string"===i)delete o[t];else if(t instanceof RegExp)for(e in o)o.hasOwnProperty(e)&&t.test(e)&&delete o[e];else delete this._events;return this},o.removeAllListeners=i("removeEvent"),o.emitEvent=function(t,e){var i,o,n,r,s=this.getListenersAsObject(t);for(n in s)if(s.hasOwnProperty(n))for(o=s[n].length;o--;)i=s[n][o],i.once===!0&&this.removeListener(t,i.listener),r=i.listener.apply(this,e||[]),r===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},o.trigger=i("emitEvent"),o.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},o.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},o._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},o._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return n.EventEmitter=r,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof o[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,n=0,r=i.length;r>n;n++)if(e=i[n]+t,"string"==typeof o[e])return e}}var i="Webkit Moz ms Ms O".split(" "),o=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),i=-1===t.indexOf("%")&&!isNaN(e);return i&&e}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=s.length;i>e;e++){var o=s[e];t[o]=0}return t}function o(t){function o(t){if("string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var o=r(t);if("none"===o.display)return i();var n={};n.width=t.offsetWidth,n.height=t.offsetHeight;for(var h=n.isBorderBox=!(!p||!o[p]||"border-box"!==o[p]),f=0,d=s.length;d>f;f++){var l=s[f],c=o[l];c=a(t,c);var y=parseFloat(c);n[l]=isNaN(y)?0:y}var m=n.paddingLeft+n.paddingRight,g=n.paddingTop+n.paddingBottom,v=n.marginLeft+n.marginRight,_=n.marginTop+n.marginBottom,I=n.borderLeftWidth+n.borderRightWidth,L=n.borderTopWidth+n.borderBottomWidth,z=h&&u,S=e(o.width);S!==!1&&(n.width=S+(z?0:m+I));var b=e(o.height);return b!==!1&&(n.height=b+(z?0:g+L)),n.innerWidth=n.width-(m+I),n.innerHeight=n.height-(g+L),n.outerWidth=n.width+v,n.outerHeight=n.height+_,n}}function a(t,e){if(n||-1===e.indexOf("%"))return e;var i=t.style,o=i.left,r=t.runtimeStyle,s=r&&r.left;return s&&(r.left=t.currentStyle.left),i.left=e,e=i.pixelLeft,i.left=o,s&&(r.left=s),e}var u,p=t("boxSizing");return function(){if(p){var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style[p]="border-box";var i=document.body||document.documentElement;i.appendChild(t);var o=r(t);u=200===e(o.width),i.removeChild(t)}}(),o}var n=t.getComputedStyle,r=n?function(t){return n(t,null)}:function(t){return t.currentStyle},s=["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"],o):"object"==typeof exports?module.exports=o(require("get-style-property")):t.getSize=o(t.getStyleProperty)}(window),function(t,e){function i(t,e){return t[a](e)}function o(t){if(!t.parentNode){var e=document.createDocumentFragment();e.appendChild(t)}}function n(t,e){o(t);for(var i=t.parentNode.querySelectorAll(e),n=0,r=i.length;r>n;n++)if(i[n]===t)return!0;return!1}function r(t,e){return o(t),i(t,e)}var s,a=function(){if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0,o=t.length;o>i;i++){var n=t[i],r=n+"MatchesSelector";if(e[r])return r}}();if(a){var u=document.createElement("div"),p=i(u,"div");s=p?i:r}else s=n;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return s}):window.matchesSelector=s}(this,Element.prototype),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){for(var e in t)return!1;return e=null,!0}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function n(t,n,r){function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var u=r("transition"),p=r("transform"),h=u&&p,f=!!r("perspective"),d={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[u],l=["transform","transition","transitionDuration","transitionProperty"],c=function(){for(var t={},e=0,i=l.length;i>e;e++){var o=l[e],n=r(o);n&&n!==o&&(t[o]=n)}return t}();e(a.prototype,t.prototype),a.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},a.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},a.prototype.getSize=function(){this.size=n(this.element)},a.prototype.css=function(t){var e=this.element.style;for(var i in t){var o=c[i]||i;e[o]=t[i]}},a.prototype.getPosition=function(){var t=s(this.element),e=this.layout.options,i=e.isOriginLeft,o=e.isOriginTop,n=parseInt(t[i?"left":"right"],10),r=parseInt(t[o?"top":"bottom"],10);n=isNaN(n)?0:n,r=isNaN(r)?0:r;var a=this.layout.size;n-=i?a.paddingLeft:a.paddingRight,r-=o?a.paddingTop:a.paddingBottom,this.position.x=n,this.position.y=r},a.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={};e.isOriginLeft?(i.left=this.position.x+t.paddingLeft+"px",i.right=""):(i.right=this.position.x+t.paddingRight+"px",i.left=""),e.isOriginTop?(i.top=this.position.y+t.paddingTop+"px",i.bottom=""):(i.bottom=this.position.y+t.paddingBottom+"px",i.top=""),this.css(i),this.emitEvent("layout",[this])};var y=f?function(t,e){return"translate3d("+t+"px, "+e+"px, 0)"}:function(t,e){return"translate("+t+"px, "+e+"px)"};a.prototype._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=parseInt(t,10),r=parseInt(e,10),s=n===this.position.x&&r===this.position.y;if(this.setPosition(t,e),s&&!this.isTransitioning)return this.layoutPosition(),void 0;var a=t-i,u=e-o,p={},h=this.layout.options;a=h.isOriginLeft?a:-a,u=h.isOriginTop?u:-u,p.transform=y(a,u),this.transition({to:p,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},a.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},a.prototype.moveTo=h?a.prototype._transitionTo:a.prototype.goTo,a.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},a.prototype._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},a.prototype._transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return this._nonTransition(t),void 0;var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var o=this.element.offsetHeight;o=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var m=p&&o(p)+",opacity";a.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:m,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(d,this,!1))},a.prototype.transition=a.prototype[u?"_transition":"_nonTransition"],a.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},a.prototype.onotransitionend=function(t){this.ontransitionend(t)};var g={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};a.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,o=g[t.propertyName]||t.propertyName;if(delete e.ingProperties[o],i(e.ingProperties)&&this.disableTransition(),o in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[o]),o in e.onEnd){var n=e.onEnd[o];n.call(this),delete e.onEnd[o]}this.emitEvent("transitionEnd",[this])}},a.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(d,this,!1),this.isTransitioning=!1},a.prototype._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var v={transitionProperty:"",transitionDuration:""};return a.prototype.removeTransitionStyles=function(){this.css(v)},a.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.emitEvent("remove",[this])},a.prototype.remove=function(){if(!u||!parseFloat(this.layout.options.transitionDuration))return this.removeElem(),void 0;var t=this;this.on("transitionEnd",function(){return t.removeElem(),!0}),this.hide()},a.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options;this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0})},a.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options;this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:{opacity:function(){this.isHidden&&this.css({display:"none"})}}})},a.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}var r=t.getComputedStyle,s=r?function(t){return r(t,null)}:function(t){return t.currentStyle};"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property"],n):(t.Outlayer={},t.Outlayer.Item=n(t.EventEmitter,t.getSize,t.getStyleProperty))}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){return"[object Array]"===f.call(t)}function o(t){var e=[];if(i(t))e=t;else if(t&&"number"==typeof t.length)for(var o=0,n=t.length;n>o;o++)e.push(t[o]);else e.push(t);return e}function n(t,e){var i=l(e,t);-1!==i&&e.splice(i,1)}function r(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()}function s(i,s,f,l,c,y){function m(t,i){if("string"==typeof t&&(t=a.querySelector(t)),!t||!d(t))return u&&u.error("Bad "+this.constructor.namespace+" element: "+t),void 0;this.element=t,this.options=e({},this.constructor.defaults),this.option(i);var o=++g;this.element.outlayerGUID=o,v[o]=this,this._create(),this.options.isInitLayout&&this.layout()}var g=0,v={};return m.namespace="outlayer",m.Item=y,m.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)"}},e(m.prototype,f.prototype),m.prototype.option=function(t){e(this.options,t)},m.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),e(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},m.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},m.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0,r=e.length;r>n;n++){var s=e[n],a=new i(s,this);o.push(a)}return o},m.prototype._filterFindItemElements=function(t){t=o(t);for(var e=this.options.itemSelector,i=[],n=0,r=t.length;r>n;n++){var s=t[n];if(d(s))if(e){c(s,e)&&i.push(s);for(var a=s.querySelectorAll(e),u=0,p=a.length;p>u;u++)i.push(a[u])}else i.push(s)}return i},m.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;i>e;e++)t.push(this.items[e].element);return t},m.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},m.prototype._init=m.prototype.layout,m.prototype._resetLayout=function(){this.getSize()},m.prototype.getSize=function(){this.size=l(this.element)},m.prototype._getMeasurement=function(t,e){var i,o=this.options[t];o?("string"==typeof o?i=this.element.querySelector(o):d(o)&&(i=o),this[t]=i?l(i)[e]:o):this[t]=0},m.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},m.prototype._getItemsForLayout=function(t){for(var e=[],i=0,o=t.length;o>i;i++){var n=t[i];n.isIgnored||e.push(n)}return e},m.prototype._layoutItems=function(t,e){function i(){o.emitEvent("layoutComplete",[o,t])}var o=this;if(!t||!t.length)return i(),void 0;this._itemsOn(t,"layout",i);for(var n=[],r=0,s=t.length;s>r;r++){var a=t[r],u=this._getItemLayoutPosition(a);u.item=a,u.isInstant=e||a.isLayoutInstant,n.push(u)}this._processLayoutQueue(n)},m.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},m.prototype._processLayoutQueue=function(t){for(var e=0,i=t.length;i>e;e++){var o=t[e];this._positionItem(o.item,o.x,o.y,o.isInstant)}},m.prototype._positionItem=function(t,e,i,o){o?t.goTo(e,i):t.moveTo(e,i)},m.prototype._postLayout=function(){this.resizeContainer()},m.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},m.prototype._getContainerSize=h,m.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"}},m.prototype._itemsOn=function(t,e,i){function o(){return n++,n===r&&i.call(s),!0}for(var n=0,r=t.length,s=this,a=0,u=t.length;u>a;a++){var p=t[a];p.on(e,o)}},m.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},m.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},m.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 o=t[e];this.ignore(o)}}},m.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;i>e;e++){var o=t[e];n(o,this.stamps),this.unignore(o)}},m.prototype._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o(t)):void 0},m.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;e>t;t++){var i=this.stamps[t];this._manageStamp(i)}}},m.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)}},m.prototype._manageStamp=h,m.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,o=l(t),n={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};return n},m.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},m.prototype.bindResize=function(){this.isResizeBound||(i.bind(t,"resize",this),this.isResizeBound=!0)},m.prototype.unbindResize=function(){this.isResizeBound&&i.unbind(t,"resize",this),this.isResizeBound=!1},m.prototype.onresize=function(){function t(){e.resize(),delete e.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var e=this;this.resizeTimeout=setTimeout(t,100)},m.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},m.prototype.needsResizeLayout=function(){var t=l(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},m.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},m.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},m.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)}},m.prototype.reveal=function(t){var e=t&&t.length;if(e)for(var i=0;e>i;i++){var o=t[i];o.reveal()}},m.prototype.hide=function(t){var e=t&&t.length;if(e)for(var i=0;e>i;i++){var o=t[i];o.hide()}},m.prototype.getItem=function(t){for(var e=0,i=this.items.length;i>e;e++){var o=this.items[e];if(o.element===t)return o}},m.prototype.getItems=function(t){if(t&&t.length){for(var e=[],i=0,o=t.length;o>i;i++){var n=t[i],r=this.getItem(n);r&&e.push(r)}return e}},m.prototype.remove=function(t){t=o(t);var e=this.getItems(t);if(e&&e.length){this._itemsOn(e,"remove",function(){this.emitEvent("removeComplete",[this,e])});for(var i=0,r=e.length;r>i;i++){var s=e[i];s.remove(),n(s,this.items)}}},m.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++){var o=this.items[e];o.destroy()}this.unbindResize(),delete this.element.outlayerGUID,p&&p.removeData(this.element,this.constructor.namespace)},m.data=function(t){var e=t&&t.outlayerGUID;return e&&v[e]},m.create=function(t,i){function o(){m.apply(this,arguments)}return Object.create?o.prototype=Object.create(m.prototype):e(o.prototype,m.prototype),o.prototype.constructor=o,o.defaults=e({},m.defaults),e(o.defaults,i),o.prototype.settings={},o.namespace=t,o.data=m.data,o.Item=function(){y.apply(this,arguments)},o.Item.prototype=new y,s(function(){for(var e=r(t),i=a.querySelectorAll(".js-"+e),n="data-"+e+"-options",s=0,h=i.length;h>s;s++){var f,d=i[s],l=d.getAttribute(n);try{f=l&&JSON.parse(l)}catch(c){u&&u.error("Error parsing "+n+" on "+d.nodeName.toLowerCase()+(d.id?"#"+d.id:"")+": "+c);continue}var y=new o(d,f);p&&p.data(d,t,y)}}),p&&p.bridget&&p.bridget(t,o),o},m.Item=y,m}var a=t.document,u=t.console,p=t.jQuery,h=function(){},f=Object.prototype.toString,d="object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1===t.nodeType&&"string"==typeof t.nodeName},l=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++)if(t[i]===e)return i;return-1};"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","doc-ready/doc-ready","eventEmitter/EventEmitter","get-size/get-size","matches-selector/matches-selector","./item"],s):t.Outlayer=s(t.eventie,t.docReady,t.EventEmitter,t.getSize,t.matchesSelector,t.Outlayer.Item)}(window),function(t){function e(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 o=e[i];this.sortData[i]=o(this.element,this)}}};var i=e.prototype.destroy;return e.prototype.destroy=function(){i.apply(this,arguments),this.css({display:""})},e}"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],e):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window),function(t){function e(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 o=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"],n=0,r=o.length;r>n;n++){var s=o[n];i.prototype[s]=t(s)}}(),i.prototype.needsVerticalResizeLayout=function(){var e=t(this.isotope.element),i=this.isotope.size&&e;return i&&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,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||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 o(){i.apply(this,arguments)}return o.prototype=new i,e&&(o.options=e),o.prototype.namespace=t,i.modes[t]=o,o},i}"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window),function(t){function e(t,e){var o=t.create("masonry");return o.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},o.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}this.columnWidth+=this.gutter,this.cols=Math.floor((this.containerWidth+this.gutter)/this.columnWidth),this.cols=Math.max(this.cols,1)},o.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},o.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,o=e&&1>e?"round":"ceil",n=Math[o](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var r=this._getColGroup(n),s=Math.min.apply(Math,r),a=i(r,s),u={x:this.columnWidth*a,y:s},p=s+t.size.outerHeight,h=this.cols+1-r.length,f=0;h>f;f++)this.colYs[a+f]=p;return u},o.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;i>o;o++){var n=this.colYs.slice(o,o+t);e[o]=Math.max.apply(Math,n)}return e},o.prototype._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this.options.isOriginLeft?o.left:o.right,r=n+i.outerWidth,s=Math.floor(n/this.columnWidth);s=Math.max(0,s);var a=Math.floor(r/this.columnWidth);a-=r%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var u=(this.options.isOriginTop?o.top:o.bottom)+i.outerHeight,p=s;a>=p;p++)this.colYs[p]=Math.max(u,this.colYs[p])},o.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},o.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},o}var i=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++){var n=t[i];if(n===e)return i}return-1};"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size"],e):t.Masonry=e(t.Outlayer,t.getSize)}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t,i){var o=t.create("masonry"),n=o.prototype._getElementOffset,r=o.prototype.layout,s=o.prototype._getMeasurement;e(o.prototype,i.prototype),o.prototype._getElementOffset=n,o.prototype.layout=r,o.prototype._getMeasurement=s;var a=o.prototype.measureColumns;o.prototype.measureColumns=function(){this.items=this.isotope.filteredItems,a.call(this)};var u=o.prototype._manageStamp;return o.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,u.apply(this,arguments)},o}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],i):i(t.Isotope.LayoutMode,t.Masonry)}(window),function(t){function e(t){var e=t.create("fitRows");return e.prototype._resetLayout=function(){this.x=0,this.y=0,this.maxY=0},e.prototype._getItemLayoutPosition=function(t){t.getSize(),0!==this.x&&t.size.outerWidth+this.x>this.isotope.size.innerWidth&&(this.x=0,this.y=this.maxY);var e={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=t.size.outerWidth,e},e.prototype._getContainerSize=function(){return{height:this.maxY}},e}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],e):e(t.Isotope.LayoutMode)}(window),function(t){function e(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"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],e):e(t.Isotope.LayoutMode)}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){return"[object Array]"===h.call(t)}function o(t){var e=[];if(i(t))e=t;else if(t&&"number"==typeof t.length)for(var o=0,n=t.length;n>o;o++)e.push(t[o]);else e.push(t);return e}function n(t,e){var i=f(e,t);-1!==i&&e.splice(i,1)}function r(t,i,r,u,h){function f(t,e){return function(i,o){for(var n=0,r=t.length;r>n;n++){var s=t[n],a=i.sortData[s],u=o.sortData[s];if(a>u||u>a){var p=void 0!==e[s]?e[s]:e,h=p?1:-1;return(a>u?1:-1)*h}}return 0}}var d=t.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});d.Item=u,d.LayoutMode=h,d.prototype._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),t.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var e in h.modes)this._initLayoutMode(e)},d.prototype.reloadItems=function(){this.itemGUID=0,t.prototype.reloadItems.call(this)},d.prototype._itemize=function(){for(var e=t.prototype._itemize.apply(this,arguments),i=0,o=e.length;o>i;i++){var n=e[i];n.id=this.itemGUID++}return this._updateItemsSortData(e),e},d.prototype._initLayoutMode=function(t){var i=h.modes[t],o=this.options[t]||{};this.options[t]=i.options?e(i.options,o):o,this.modes[t]=new i(this)},d.prototype.layout=function(){return!this._isLayoutInited&&this.options.isInitLayout?(this.arrange(),void 0):(this._layout(),void 0)},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){this.option(t),this._getIsInstant(),this.filteredItems=this._filter(this.items),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._filter=function(t){function e(){f.reveal(n),f.hide(r)}var i=this.options.filter;i=i||"*";for(var o=[],n=[],r=[],s=this._getFilterTest(i),a=0,u=t.length;u>a;a++){var p=t[a];if(!p.isIgnored){var h=s(p);h&&o.push(p),h&&p.isHidden?n.push(p):h||p.isHidden||r.push(p)}}var f=this;return this._isInstant?this._noTransition(e):e(),o},d.prototype._getFilterTest=function(t){return s&&this.options.isJQueryFiltering?function(e){return s(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return r(e.element,t)}},d.prototype.updateSortData=function(t){this._getSorters(),t=o(t);var e=this.getItems(t);e=e.length?e:this.items,this._updateItemsSortData(e)},d.prototype._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=l(i)}},d.prototype._updateItemsSortData=function(t){for(var e=0,i=t.length;i>e;e++){var o=t[e];o.updateSortData()}};var l=function(){function t(t){if("string"!=typeof t)return t;var i=a(t).split(" "),o=i[0],n=o.match(/^\[(.+)\]$/),r=n&&n[1],s=e(r,o),u=d.sortDataParsers[i[1]];return t=u?function(t){return t&&u(s(t))}:function(t){return t&&s(t)}}function e(t,e){var i;return i=t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&p(i)}}return 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=[].concat.apply(t,this.sortHistory),i=f(e,this.options.sortAscending);this.filteredItems.sort(i),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(){t.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){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps();var o=this._filterRevealAdded(e);this.layoutItems(i),this.filteredItems=o.concat(this.filteredItems)}},d.prototype._filterRevealAdded=function(t){var e=this._noTransition(function(){return this._filter(t)});return this.layoutItems(e,!0),this.reveal(e),t},d.prototype.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;n>i;i++)o=e[i],this.element.appendChild(o.element);var r=this._filter(e);for(this._noTransition(function(){this.hide(r)}),i=0;n>i;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;n>i;i++)delete e[i].isLayoutInstant;this.reveal(r)}};var c=d.prototype.remove;return d.prototype.remove=function(t){t=o(t);var e=this.getItems(t);if(c.call(this,t),e&&e.length)for(var i=0,r=e.length;r>i;i++){var s=e[i];n(s,this.filteredItems)}},d.prototype.shuffle=function(){for(var t=0,e=this.items.length;e>t;t++){var i=this.items[t];i.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}var s=t.jQuery,a=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},u=document.documentElement,p=u.textContent?function(t){return t.textContent}:function(t){return t.innerText},h=Object.prototype.toString,f=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++)if(t[i]===e)return i;return-1};"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","matches-selector/matches-selector","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],r):t.Isotope=r(t.Outlayer,t.getSize,t.matchesSelector,t.Isotope.Item,t.Isotope.LayoutMode)}(window); } /* FILE ARCHIVED ON 17:26:48 Apr 30, 2016 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 11:28:28 Sep 15, 2021. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 117.825 exclusion.robots: 0.144 exclusion.robots.policy: 0.138 RedisCDXSource: 1.564 esindex: 0.006 LoadShardBlock: 93.805 (3) PetaboxLoader3.datanode: 43.885 (4) CDXLines.iter: 20.266 (3) PetaboxLoader3.resolve: 105.955 (2) load_resource: 72.459 */