1var LRM=LRM?LRM:{};+(function($){if(LRM.home_url_arr.scheme!==window.location.protocol.replace(":","")){alert("AJAX Login and Registration Popup warning: the WP settings site URL scheme and current url scheme doesn't math. "+"\n\r"+"WP settings url: "+LRM.home_url+"\n"+"Browser url: "+window.location.href+"\n\r"+"This could cause a login/registration issues! "+"Usually this happens when SSL (HTTPS) were added to the site, but HTTP version still accessible. How to set up HTTP to HTTPS redirect: https://websitesetup.org/http-to-https-wordpress/");} 2if(LRM.validate_domain&&LRM.home_url_arr.host!==window.location.host){alert("AJAX Login and Registration Popup warning: the WP settings site Domain and current url Domain doesn't math. "+"\n\r"+"WP settings domain: "+LRM.home_url_arr.host+"\n"+"Browser domain: "+window.location.host+"\n\r"+"This could cause a login/registration issues! ");} 3if($('.lrm-user-modal').length>0){lrm_init()}else{setTimeout(function(){lrm_init();},1200);} 4function is_mobile_or_tablet(){var check=false;(function(a){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4)))check=true;})(navigator.userAgent||navigator.vendor||window.opera);return check;} 5function lrm_init(){var loader_html='<span class="lrm-button-loader"> <svg version="1.1" id="L4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 40" enable-background="new 0 0 0 0" xml:space="preserve"> <circle fill="#ffffff" stroke="none" cx="30" cy="20" r="6"> <animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.1"/> </circle> <circle fill="#ffffff" stroke="none" cx="50" cy="20" r="6"> <animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.2"/> </circle> <circle fill="#ffffff" stroke="none" cx="70" cy="20" r="6"> <animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.3"/> </circle> </svg></span>';$("html").addClass("html-has-lrm");$("body").addClass("has-lrm");$(document).on('lrm_show_signup',signup_selected);$(document).on('lrm_show_register',signup_selected);$(document).on('lrm_show_signin',login_selected);$(document).on('lrm_show_login',login_selected);setTimeout(function(){if(LRM.selectors_mapping.login){$(LRM.selectors_mapping.login).off("click").on('click',function(event){event.preventDefault();$(document).trigger('lrm_show_login',[event]);return false;});} 6if(LRM.selectors_mapping.register){$(LRM.selectors_mapping.register).off("click").on('click',function(event){event.preventDefault();$(document).trigger('lrm_show_signup',[event]);return false;});} 7var hash=window.location.hash.substring(1);if(hash.length>0){if(hash==="login"){$(document).trigger('lrm_show_login');}else if(hash==="inline-login"){jQuery(".lrm-inline .lrm-switch-to--login").click();}else if(hash=="register"){$(document).trigger('lrm_show_signup');}else if(hash=="inline-register"){jQuery(".lrm-inline .lrm-switch-to--register").click();}else if(hash=="reset-password"){jQuery(".lrm-inline .lrm-switch-to--reset-password").click();}}},300);$(document).on('click','.lrm-signup',signup_selected);$(document).on('touchend click','[class*="lrm-register"]',signup_selected);$(document).on('click','.lrm-switch-to--register',signup_selected);$(document).on('click','.lrm-signin',login_selected);$(document).on('touchend click','[class*="lrm-login"]',login_selected);$(document).on('click','.lrm-switch-to--login',login_selected);$(document).on('click','.lrm-forgot-password,[data-action="login"] .lrm-form-message a,.lrm-switch-to--reset-password',function(event){event.preventDefault();forgot_password_selected(event);});$('.lrm-user-modal').on('mousedown',function(event){if($(event.target).is('.lrm-user-modal')||$(event.target).is('.lrm-close-form')){var can_close=$(document).triggerHandler('lrm/can_close_modal',event);if(can_close!==undefined&&!can_close){return false;} 8$(this).removeClass('is-visible');auto_selected_role=false;$(document).triggerHandler("lrm/close_modal",this,event,"click");}});$(document).on("keyup",function(event){if(event.which=='27'){var can_close=$(document).triggerHandler('lrm/can_close_modal',event);if(can_close!==undefined&&!can_close){return false;} 9$(".lrm-user-modal").removeClass('is-visible');auto_selected_role=false;$(document).triggerHandler("lrm/close_modal",this,event,"esc");}});$(document).on('click','.lrm-user-modal-container .hide-password',function(){var togglePass=$(this),passwordField=togglePass.parent().find('input');('password'==passwordField.attr('type'))?passwordField.attr('type','text'):passwordField.attr('type','password');
9if(togglePass.hasClass("hide-password--on")){togglePass.attr("title",togglePass.data("show"));togglePass.removeClass("hide-password--on");}else{togglePass.attr("title",togglePass.data("hide"));togglePass.addClass("hide-password--on");} 10passwordField.putCursorAtEnd();});var auto_selected_role=false;var hidden_role=false;function _save_auto_role(event){if(!event.target||$(event.target).hasClass("lrm-switch-to-link")){return;} 11var role=$(event.target).data("lrm-role");if(role!==undefined){auto_selected_role=role;} 12hidden_role=false;if($(event.target).data("lrm-role-silent")!==undefined){hidden_role=true;}} 13function login_selected(event,event_orig){if(LRM.is_user_logged_in&&!LRM.is_customize_preview){return true;} 14if(event){event.stopPropagation();event.preventDefault();} 15$(document).triggerHandler("lrm/before_display/login",this,event);_save_auto_role(event);var $formModal=$(event.target).closest(".lrm-main");if(!$formModal.length){LRM.redirect_url="";if(!event_orig){var el=event.target?event.target:this;}else{var el=event_orig.target;} 16if(el&&($(el).hasClass("lrm-redirect")||$(el).parent().hasClass("lrm-redirect"))){LRM.redirect_url=$(el).attr("href");}} 17if(!$formModal.length){$formModal=$(".lrm-user-modal");} 18_show_modal($formModal);$formModal.find('.lrm-signin-section').addClass('is-selected');$formModal.find('.lrm-signup-section').removeClass('is-selected');$formModal.find('.lrm-reset-password-section').removeClass('is-selected');$formModal.find('.lrm-switcher').children('li').eq(0).children('a').addClass('selected');$formModal.find('.lrm-switcher').children('li').eq(1).children('a').removeClass('selected');setTimeout(function(){if($(window).width()>600){$formModal.find(".lrm-signin-section input[data-autofocus]").trigger('focus');}},100);return false;} 19function signup_selected(event,event_orig){if(LRM.is_user_logged_in&&!LRM.is_customize_preview){return true;} 20if(event){event.stopPropagation();event.preventDefault();} 21$(document).triggerHandler("lrm/before_display/registration",this,event);_save_auto_role(event);var $formModal=$(event.target).closest(".lrm-main");if(!$formModal.length){LRM.redirect_url="";if(!event_orig){var el=event.target?event.target:this;}else{var el=event_orig.target;} 22if(el&&($(el).hasClass("lrm-redirect")||$(el).parent().hasClass("lrm-redirect"))){LRM.redirect_url=$(el).attr("href");}} 23if(!$formModal.length){$formModal=$(".lrm-user-modal");} 24_show_modal($formModal);$formModal.find('.lrm-signin-section').removeClass('is-selected');$formModal.find('.lrm-signup-section').addClass('is-selected');$formModal.find('.lrm-reset-password-section').removeClass('is-selected');$formModal.find('.lrm-switcher').children('li').eq(0).children('a').removeClass('selected');$formModal.find('.lrm-switcher').children('li').eq(1).children('a').addClass('selected');if($formModal.find(".fieldset--user_role")){var $user_role_wrap=$formModal.find(".fieldset--user_role");var $role_option=null,role_id;if(auto_selected_role){$role_option=$user_role_wrap.find("option[data-label='"+auto_selected_role+"']");if($role_option.length){var role_id=$role_option.val();} 25if(role_id){$user_role_wrap.find("select[name='user_role']").val(role_id);}else{console.warn("LRM user role selector: no Role was found with a label:",auto_selected_role);}}else{$user_role_wrap.find("select[name='user_role']").val("");} 26if(hidden_role&&(!auto_selected_role||(auto_selected_role&&role_id))){$user_role_wrap.hide();}else{$user_role_wrap.show();}} 27setTimeout(function(){if($(window).width()>600){$formModal.find(".lrm-signup-section input:first").trigger('focus');} 28$("#signup-password").trigger("keyup");},100);return false;} 29function forgot_password_selected(event){$(document).triggerHandler("lrm/before_display/forgot_password",this,event);var $formModal=$(event.target).closest(".lrm-main");if(!$formModal.length){$formModal=$(".lrm-user-modal");} 30_show_modal($formModal);$formModal.find('.lrm-signin-section').removeClass('is-selected');$formModal.find('.lrm-signup-section').removeClass('is-selected');$formModal.find('.lrm-reset-password-section').addClass('is-selected');setTimeout(function(){if($(window).width()>600){$formModal.find(".lrm-reset-password-section input[data-autofocus]").trigger('focus');}},100);if(event){event.preventDefault();} 31return false;} 32function _show_modal($formModal){if(window.LRM_Pro){window.LRM_Pro.modal_is_shown=true;} 33$formModal.addClass('is-visible');$(document).triggerHandler("lrm/show_modal",$formModal);} 34window.lrm_submit_form=function(event){if(LRM.is_customize_preview){alert("Not possible to submit form in Preview Mode!");return;} 35var $form=$(event.target);if($form.hasClass("rcp_form")){return true;} 36event.preventDefault();if($form.hasClass("--is-submitting")){return false;} 37if($(document).triggerHandler('lrm/do_not_submit_form',$form)){return false;} 38if($form.data("action")=="registration"&&$form.find("#acf-form-data").length>0&&window.acf&&window.acf.validation.active){if("yes"!==$form.data("lrm-acf-validated")){return;} 39$form.data("lrm-acf-validated","no");} 40$form.find(".has-error").removeClass("has-error").next("span").removeClass("is-visible");$form.find("button[type='submit']").prepend(loader_html);$form.find(".lrm-form-message").html("");$form.addClass("--is-submitting");$.ajax({type:'POST',dataType:'json',url:LRM.ajax_url,data:$form.serialize(),success:function(response){$form.find(".lrm-button-loader").remove();$form.removeClass("--is-submitting");if(response.data.message){if(!response.data.for){LRM_Form.set_message($form,response.data.message,!response.success);}else{if(0===$form.find('input[name="'+response.data.for+'"]').length){alert(response.data.message);}else{$form.find('input[name="'+response.data.for+'"]').addClass('has-error').next('.lrm-error-message').html(response.data.message).addClass('is-visible');$form.find(".lrm-form-message").removeClass("lrm-is-error").html("");}} 41if(response.data.custom_html&&response.data.custom_html_selector){$(response.data.custom_html_selector).html(response.data.custom_html);}} 42$(document).triggerHandler('lrm/ajax_response',[response,$form,$form.data("action")]);if(window.is_lrm_testing){window.lrm_response=response;return;} 43if(response.success&&response.data.logged_in){LRM.is_user_logged_in=true;$(document).triggerHandler('lrm_user_logged_in',[response,$form,$form.data("action")]);if("reload"==response.data.action){window.location.reload(true);}else if("hide"==response.data.action){$(".lrm-user-modal").removeClass('is-visible');$("body").addClass("logged-in");}} 44$(document).triggerHandler('lrm_pro/maybe_refresh_recaptcha');},error:function(jqXHR,textStatus,errorThrown){$form.find(".lrm-button-loader").remove();$form.removeClass("--is-submitting");if(jqXHR.responseText.indexOf("GF_AJAX_POSTBACK")>
440){$(document).triggerHandler('lrm_gf_ajax',[jqXHR.responseText,jqXHR.status,$form,$form.data("action")]);console.log('GF_AJAX_POSTBACK found');return;} 45if(503===jqXHR.status&&jqXHR.responseText.indexOf("ERROR")>0){LRM_Form.set_message($form,jqXHR.responseText,false);}else{alert("An error occurred, please contact with administrator... \n\rFor more details look at the console (F12 or Ctrl+Shift+I, Console tab)!");} 46if(window.console==undefined){return;} 47console.log('statusCode:',jqXHR.status);console.log('errorThrown:',errorThrown);console.log('responseText:',jqXHR.responseText);}});return false;} 48$(document).on('submit','.js-lrm-form',window.lrm_submit_form);$('body').on('keyup','#lrm-password1,#lrm-password2',function(event){var passwordStrength=LRM.checkPasswordStrength($("#lrm-password1"),null,$("#lrm-password1").parent().parent().find(".lrm-pass-strength-result"));if(typeof passwordStrength==="undefined"||passwordStrength===null){return;} 49if("yes_allow_weak"==LRM.validate_password_strength){if(!passwordStrength||passwordStrength<=2){$(".pw-weak").show() 50$(".pw-checkbox").attr("required","required");}else{$(".pw-weak").hide() 51$(".pw-checkbox").attr("required",false);}}});setTimeout(function(){if($('#lrm-password1,#lrm-password2').length>0){$('#lrm-password1,#lrm-password2').trigger('keyup');}},500);} 52$.ajaxSetup({dataFilter:function(raw_response,dataType){if('json'!==dataType||!raw_response){return raw_response;} 53if(lrm_is_valid_json(raw_response)){return raw_response;}else{var maybe_valid_json=raw_response.match(/{"success.*}/);if(null===maybe_valid_json){console.log('Unable to fix malformed JSON');}else if(lrm_is_valid_json(maybe_valid_json[0])){console.log('Fixed malformed JSON. Original:');console.log(raw_response);raw_response=maybe_valid_json[0];}else{console.log('Unable to fix malformed JSON');}} 54return raw_response;}});function lrm_is_valid_json(raw_json){try{var json=$.parseJSON(raw_json);return(json&&'object'===typeof json);}catch(e){return false;}} 55window.LRM_Form={set_message:function($form,message_html,is_error){var $message=$form.find(".lrm-form-message");if(0===$message.length&&$form.hasClass("signup-form")){$form.prepend('<div class="lrm-form-message"></div>');$message=$form.find(".lrm-form-message");} 56if(0!==$message.length){$message.html(message_html);}else{alert(message_html);} 57var modal_is_visible=$(".lrm-user-modal").hasClass('is-visible');var element_to_scroll=modal_is_visible?".lrm-user-modal":"html, body";var error_scroll_offset=$(document).triggerHandler("lrm/form/set_message_scroll_offset",[$form,modal_is_visible,$message]);if(error_scroll_offset===undefined){error_scroll_offset=modal_is_visible?25:$message.offset().top-15;} 58if("no"!==error_scroll_offset){$(element_to_scroll).animate({scrollTop:error_scroll_offset},1500);} 59if(is_error){$message.addClass("lrm-is-error");}else{$message.removeClass("lrm-is-error");}}};LRM.checkPasswordStrength=function($pass1,$pass2,$strengthResult){return LRM.loadPasswordMeter(function(){var pass1=$pass1.val();if(!pass1){$strengthResult.data('status','empty');return;} 60if("no"===LRM.validate_password_strength){if($pass2&&$pass2.val().trim()&&$pass2.val()!==$pass1.val()){$strengthResult.attr('data-status','short').html(LRM.l10n.passwords_is_mismatch);}else{$strengthResult.attr('data-status',null);} 61return null;} 62if(!$pass2){var pass2=pass1;}else{var pass2=$pass2.val();} 63var blacklistArray=["querty","password","P@ssword1","132","123"] 64var strength=0;if("lrm"===LRM.password_strength_lib){strength=LRM_Helper.PasswordMeter(pass1,blacklistArray,pass2);}else{blacklistArray=blacklistArray.concat(wp.passwordStrength.userInputBlacklist());strength=wp.passwordStrength.meter(pass1,blacklistArray,pass2);} 65switch(strength){case 2:$strengthResult.attr('data-status','bad').html(LRM.l10n.password_is_bad);break;case 3:$strengthResult.attr('data-status','good').html(LRM.l10n.password_is_good);break;case 4:$strengthResult.attr('data-status','strong').html(LRM.l10n.password_is_strong);break;case 5:if($pass2){$strengthResult.attr('data-status','short').html(LRM.l10n.passwords_is_mismatch);break;} 66default:$strengthResult.attr('data-status','short').html(LRM.l10n.password_is_short);} 67return strength;});} 68LRM.passwordMeterIsLoaded=false;LRM.passwordMeterIsLoading=false;LRM.loadPasswordMeter=function(callback){if("lrm"===LRM.password_strength_lib||LRM.passwordMeterIsLoaded){return callback();} 69window.wp=window.wp||{};var passwordStrength;!function(a){wp.passwordStrength={meter:function(b,c,d){if(a.isArray(c)||(c=[c.toString()]),b!=d&&d&&d.length>0)return 5;if("undefined"==typeof window.zxcvbn)return-1;var e=zxcvbn(b,c);return e.score},userInputBlacklist:function(){var b,c,d,e,f=[],g=[],h=["user_login","first_name","last_name","nickname","display_name","email","url","description","weblog_title","admin_email"];for(f.push(document.title),f.push(document.URL),c=h.length,b=0;b<c;b++)e=a("#"+h[b]),0!==e.length&&(f.push(e[0].defaultValue),f.push(e.val()));for(d=f.length,b=0;b<d;b++)f[b]&&(g=g.concat(f[b].replace(/\W/g," ").split(" ")));return g=a.grep(g,function(b,c){return!(""===b||4>b.length)&&a.inArray(b,g)===c})}},passwordStrength=wp.passwordStrength.meter}(jQuery);LRM.passwordMeterIsLoading=true;
69$.cachedScript(LRM.password_zxcvbn_js_src).done(function(script,textStatus){LRM.passwordMeterIsLoaded=true;callback();});}})(jQuery);jQuery.fn.putCursorAtEnd=function(){return this.each(function(){if(this.setSelectionRange){var len=jQuery(this).val().length*2;jQuery(this).trigger('focus');this.setSelectionRange(len,len);}else{jQuery(this).val(jQuery(this).val());}});};jQuery.cachedScript=function(url,options){options=jQuery.extend(options||{},{dataType:"script",cache:true,url:url});return jQuery.ajax(options);};var LRM_Helper={};LRM_Helper.setCookie=function(name,value,days){var expires="";if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));expires="; expires="+date.toUTCString();} 70document.cookie=name+"="+(value||"")+expires+"; path=/";} 71LRM_Helper.getCookie=function(name){var nameEQ=name+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' ')c=c.substring(1,c.length);if(c.indexOf(nameEQ)==0)return c.substring(nameEQ.length,c.length);} 72return null;} 73LRM_Helper.PasswordMeter=function(pass1,blacklistArr,pass2){function PasswordMeter(){this.pass1=pass1;this.pass2=pass2;this.passLength=this.pass1.length;this.tokens={letters:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",numbers:"0123456789",specialChars:"!&%/()=?^*+][#><;:,._-|"};this.letters=this.tokens.letters.split("");this.numbers=this.tokens.numbers.split("");this.specialChars=this.tokens.specialChars.split("");} 74PasswordMeter.prototype={check:function(){var self=this;if(self.pass2&&self.pass1!==self.pass2){return 5;} 75var val=self.pass1;var total=self.passLength;var totalLetters=0;var totalNumbers=0;var totalSpecialChars=0;var tokens=val.split("");var len=tokens.length;var i;for(i=0;i<len;++i){var token=tokens[i];if(self._isLetter(token)){totalLetters++;}else if(self._isNumber(token)){totalNumbers++;}else if(self._isSpecialChar(token)){totalSpecialChars++;}} 76var result=self._calculate(total,totalLetters,totalNumbers,totalSpecialChars);return Math.round(result/2.5);},_isLetter:function(token){var self=this;if(self.letters.indexOf(token)==-1){return false;} 77return true;},_isNumber:function(token){var self=this;if(self.numbers.indexOf(token)==-1){return false;} 78return true;},_isSpecialChar:function(token){var self=this;if(self.specialChars.indexOf(token)==-1){return false;} 79return true;},_calculate:function(total,letters,numbers,chars){var level=0;var l=parseInt(letters,10);var n=parseInt(numbers,10);var c=parseInt(chars,10);if(total<7){level+=1;} 80if(total>=7){level+=4;} 81if(l>0){level+=1;} 82if(n>0){level+=2;} 83if(c>0){level+=3;} 84if(jQuery.inArray(pass1,blacklistArr)>0){level=5;} 85return level;}};var pwdMeter=new PasswordMeter();return pwdMeter.check();}; 86var LRM_Pro=LRM_Pro?LRM_Pro:{};setTimeout(function(){if(LRM_Pro.reCaptcha.is_active){if(!LRM_Pro.reCaptcha.is_configured){alert("AJAX Login Modal: reCaptcha is enabled but the API keys are missing!");return;} 87if(LRM_Pro.reCaptcha.is_invisible||jQuery(".lrm-inline").length>0){LRM_reCaptcha_load();}else{jQuery(document).on("lrm/show_modal",LRM_reCaptcha_load);}}},250);function LRM_reCaptcha_load(){(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.defer=js.async=true;js.src="https://www.google.com/recaptcha/api.js?onload=LRM_reCaptcha_onloadCallback&render=explicit";fjs.parentNode.insertBefore(js,fjs);}(document,'script','lrm-recaptcha'));} 88function LRM_reCaptcha_onloadCallback(){var grecaptchas=document.querySelectorAll(".lrm-grecaptcha");for(var N=0;N<grecaptchas.length;
88N++){grecaptchas[N].setAttribute("data-widget-id",grecaptcha.render(grecaptchas[N]));}} 89function LRM_reCaptcha_submitCallback(token){jQuery("form[data-grecaptcha-execute]").submit();} 90jQuery(document).ready(function($){if(LRM_Pro.buddypress_integration_is_on){var $BP_Messages=$(".bp-messages");if($BP_Messages.length){$(".js-lrm-form .signup-form").prepend('<div class="lrm-form-message">'+$BP_Messages.find("p").html()+'</div>');$BP_Messages.remove();}else if($(".js-lrm-form #buddypress #signup_form").length){$(".js-lrm-form #buddypress #signup_form").prepend('<div class="lrm-form-message"></div>');}} 91$("#buddypress #activate-page a").on("click",function(event){event.preventDefault();jQuery(document).trigger('lrm_show_login');});$(".lrm-signup-section .um-register form").addClass("lrm-form js-lrm-form").prepend('<p class="lrm-form-message lrm-form-message--init"></p>');var $um_submits=$(".lrm-signup-section input#um-submit-btn");$.each($um_submits,function(k,el){el.outerHTML=el.outerHTML.replace(/^\<input/,'<button')+el.value+'</button>';}) 92$(document).on('lrm/ajax_response',function(event,response,$form,action){if("email-verification-pro-w-redirect"===response.data.action&&response.data.redirect_url){window.location.href=response.data.redirect_url;return;}});$(document).on("lrm_user_logged_in",function(event,response,$form,action){if(LRM.redirect_url){window.location.href=LRM.redirect_url;return;} 93if(saved_target.length){$(saved_target[1]).trigger(saved_target[0]);return;} 94if(response.data.redirect_url){window.location.href=response.data.redirect_url;return;}});setTimeout(function(){if("undefined"!=typeof(acf)){acf.add_action('submit',function($form){$form.data("lrm-acf-validated","yes");});}},100);if(LRM_Pro.woo_add_to_cart_hook){if($("body").hasClass("single-product")){$(".lrm-form-message--init").html(LRM_Pro.l10n.woo_must_register);}} 95if(LRM_Pro.woo_on_proceed_to_checkout){if($("body").hasClass("woocommerce-cart")){$(".lrm-form-message--init").html(LRM_Pro.l10n.woo_must_register);}} 96if(LRM_Pro.woo_on_proceed_to_checkout){$(".wc-proceed-to-checkout .checkout-button").on('click',function(event){if(!LRM.is_customize_preview&&LRM.is_user_logged_in){return;} 97event.preventDefault();jQuery(document).trigger('lrm_show_signup');saved_target=["click",".wc-proceed-to-checkout .checkout-button"];LRM.redirect_url=$(this).attr("href");});} 98var saved_target=[];if(LRM_Pro.woo_add_to_cart_hook){$(document).on('submit',"form.cart",function(event){if(!LRM.is_customize_preview&&LRM.is_user_logged_in){return true;} 99event.preventDefault();jQuery(document).trigger('lrm_show_signup');saved_target=["click",".single_add_to_cart_button"];});$(document).on('click',".add_to_cart_button",function(event){if(!LRM.is_customize_preview&&LRM.is_user_logged_in){return true;} 100$(this).addClass("lrm-redirect");event.preventDefault();jQuery(document).trigger('lrm_show_signup',[event]);});$(".add_to_cart_button").removeClass("ajax_add_to_cart");} 101$(document).on('lrm/do_not_submit_form',function(event,form){var $form=$(form);let action=$form.data("action");if(action!=="login"&&"no"!==LRM.validate_password_strength&&lrm_validate_password(form)<3){if(action==="password-reset"&&"yes_allow_weak"===LRM.validate_password_strength&&$(".pw-checkbox").attr("checked")){return;} 102LRM_Form.set_message($form,LRM.l10n.passwords_is_weak,true);return true;} 103$("form[data-grecaptcha-execute]").attr("data-grecaptcha-execute",null);var $is_GF=$form.find(".gform_hidden");if($is_GF.length){var GF_ID=$form.find("input[name='gform_submit']").val();} 104if($form.find(".g-recaptcha-response").length&&!$form.find(".g-recaptcha-response").val()){if($form.find(".inv-recaptcha-holder").length>0){grecaptcha.execute($form.find(".inv-recaptcha-holder").data("widget-id"));}else if($form.find(".lrm-grecaptcha").length>0){var $lrmRecaptcha=$form.find(".lrm-grecaptcha");var widgetID=$lrmRecaptcha.data("widget-id");var recaptchaResponse=grecaptcha.getResponse(widgetID);if(recaptchaResponse){return false;} 105if($lrmRecaptcha.data("size")==="invisible"){grecaptcha.execute(widgetID);$form.attr("data-grecaptcha-execute","yes");}else{LRM_Form.set_message($form,LRM_Pro.l10n.recaptcha_error,true);if($is_GF.length&&GF_ID){window["gf_submitting_"+GF_ID]=false;$form.find(".gform_ajax_spinner").remove();}}}else{LRM_Form.set_message($form,LRM_Pro.l10n.recaptcha_error,true);if($is_GF.length&&GF_ID){window["gf_submitting_"+GF_ID]=false;$form.find(".gform_ajax_spinner").remove();}} 106return true;} 107return false;});$(document).on('lrm/ajax_response',function(event,response,$form,action){if(response.success&&response.data.user_id&&"registration"===action&&LRM_Pro.hide_form_after_registration){$form.addClass("--registration-done");} 108if(!response.success&&"refresh_captcha"===response.data.action&&response.data.html){$form.find(".lrm-math-captcha-content").html(response.data.html);setTimeout(function(){$form.find("input.lrm-match-value").trigger('focus');},100);}});$(document).on('lrm_pro/maybe_refresh_recaptcha',function(){$(".lrm-signup-section #um-submit-btn").prop("disabled","");if(typeof grecaptcha!="undefined"){var captchas=[];captchas=document.querySelectorAll(".lrm-grecaptcha");if(captchas.length){for(var i=0;i<captchas.length;i++){if(captchas[i].dataset.widgetId&&grecaptcha.getResponse(captchas[i].dataset.widgetId)){grecaptcha.reset(captchas[i].dataset.widgetId);}}} 109captchas=document.querySelectorAll(".g-recaptcha");if(captchas.length){for(var i=0;i<captchas.length;i++){if(captchas[i].dataset.widgetId&&grecaptcha.getResponse(captchas[i].dataset.widgetId)){grecaptcha.reset(captchas[i].dataset.widgetId);}}} 110captchas=document.querySelectorAll(".gglcptch_recaptcha");if(captchas.length){var gindex=null;for(var i=0;i<captchas.length;i++){gindex=$(captchas[i]).data("gglcptch_index");if(gindex!==null){grecaptcha.reset(gindex);} 111gindex=null;}}}});
111$(document).on('lrm_gf_ajax',function(event,responseText,status,$form,action){$(".js-lrm-form .gform_wrapper").html(responseText);$(document).on('submit','.js-lrm-form form',window.lrm_submit_form);var $is_GF=$form.find(".gform_hidden");if($is_GF.length){var GF_ID=$form.find("input[name='gform_submit']").val();if(GF_ID){window["gf_submitting_"+GF_ID]=false;$form.find(".gform_ajax_spinner").remove();if($form.find(".ginput_recaptcha")){grecaptcha.render($form.find(".ginput_recaptcha")[0]);}}}});setTimeout(function(){if(typeof renderInvisibleReCaptcha!=="undefined"){$(".inv-recaptcha-holder").each(function(N,captcha_holder){$(captcha_holder).data("widget-id",N);});}},500);$('body').on('keyup','#signup-password,#signup-password-confirmation',function(event){lrm_validate_password(this);});function lrm_validate_password(el){var $el=$(el);var is_pass_reset=$el.is("form")&&$el.data("action")==="password-reset";var $lrm_main=is_pass_reset?$el:$(el).closest(".lrm-main");if(is_pass_reset||$lrm_main.hasClass("is-visible")){if(!is_pass_reset){var $confirmation_pass=$lrm_main.find("#signup-password-confirmation").length?$lrm_main.find("#signup-password-confirmation"):null;} 112var $pass_field=is_pass_reset?$el.find("#lrm-password1"):$lrm_main.find("#signup-password");return LRM.checkPasswordStrength($pass_field,$confirmation_pass,$pass_field.parent().parent().find(".lrm-pass-strength-result"));} 113return false;}}); 114!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function i(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function C(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $(t){return"string"==typeof t}function p(t){return"function"==typeof t}function _(t){return"number"==typeof t}function o(t){return void 0===t}function A(t){return"object"==typeof t}function B(t){return!1!==t}function e(){return"undefined"!=typeof window}function E(t){return p(t)||$(t)}function n(t){return(bt=dt(t,ee))&&ni}function R(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")}function x(t,e){return!e&&console.warn(t)}function s(t,e){return t&&(ee[t]=e)&&bt&&(bt[t]=e)||ee}function P(){return 0}function O(t){var e,i,n=t[0];if(A(n)||p(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(i=le.length;i--&&!le[i].targetTest(n););e=le[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new xe(t[i],e)))||t.splice(i,1);return t}function L(t){return t._gsap||O(pe(t))[0]._gsap}function r(t,e){var i=t[e];return p(i)?t[e]():o(i)&&t.getAttribute(e)||i}function f(t,e){return(t=t.split(",")).forEach(e)||t}function z(t){return Math.round(1e5*t)/1e5||0}function a(t,e){for(var i=e.length,n=0;t.indexOf(e[n])<0&&++n<i;);return n<i}function l(t,e,i){var n,o=_(t[1]),r=(o?2:1)+(e<2?0:1),s=t[r];if(o&&(s.duration=t[1]),s.parent=i,e){for(n=s;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=B(i.vars.inherit)&&i.parent;s.immediateRender=B(n.immediateRender),e<2?s.runBackwards=1:s.startAt=t[r-1]}return s}function F(){var t,e,i=ne.length,n=ne.slice(0);for(oe={},t=ne.length=0;t<i;t++)(e=n[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function u(t,e,i,n){ne.length&&F(),t.render(e,i,n),ne.length&&F()}function c(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(te).length<2?e:t}function d(t){return t}function G(t,e){for(var i in e)i in t||(t[i]=e[i]);return t}function h(t,e){for(var i in e)i in t||"duration"===i||"ease"===i||(t[i]=e[i])}function m(t,e){for(var i in e)t[i]=A(e[i])?m(t[i]||(t[i]={}),e[i]):e[i];return t}function N(t,e){var i,n={};for(i in t)i in e||(n[i]=t[i]);return n}function M(t){var e=t.parent||mt,i=t.keyframes?h:G;if(B(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent;return t}function g(t,e,i,n){void 0===i&&(i="_first"),void 0===n&&(n="_last");var o=e._prev,r=e._next;o?o._next=r:t[i]===e&&(t[i]=r),r?r._prev=o:t[n]===e&&(t[n]=o),e._next=e._prev=e.parent=null}function W(t,e){!t.parent||e&&!t.parent.autoRemoveChildren||t.parent.remove(t),t._act=0}function v(t){for(var e=t;e;)e._dirty=1,e=e.parent;return t}function y(t){return t._repeat?ht(t._tTime,t=t.duration()+t._rDelay)*t:0}function b(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function w(t){return t._end=z(t._start+(t._tDur/Math.abs(t._ts||t._pauseTS||Rt)||0))}function k(t,e){var i;if((e._time||e._initted&&!e._dur)&&(i=b(t.rawTime(),e),(!e._dur||de(0,e.totalDuration(),i)-e._tTime>Rt)&&e.render(i,!0)),v(t)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)0<=i.rawTime()&&i.totalTime(i._tTime),i=i._dp;t._zTime=-Rt}}function T(t,e,i,n){return e.parent&&W(e),e._start=z(i+e._delay),e._end=z(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),function(t,e,
114i,n,o){void 0===i&&(i="_first"),void 0===n&&(n="_last");var r,s=t[n];if(o)for(r=e[o];s&&s[o]>r;)s=s._prev;s?(e._next=s._next,s._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[n]=e,e._prev=s,e.parent=e._dp=t}(t,e,"_first","_last",t._sort?"_start":0),t._recent=e,n||k(t,e),t}function D(t,e,i,n){return function t(e,i){var n,o,r,s,a,l,u,c,d,h,p,f,m=e.vars,g=m.ease,v=m.startAt,y=m.immediateRender,b=m.lazy,T=m.onUpdate,D=m.onUpdateParams,S=m.callbackScope,w=m.runBackwards,C=m.yoyoEase,_=m.keyframes,A=m.autoRevert,E=e._dur,x=e._startAt,P=e._targets,M=e.parent,k=M&&"nested"===M.data?M.parent._targets:P,I="auto"===e._overwrite,H=e.timeline;if(!H||_&&g||(g="none"),e._ease=Ce(g,Gt.ease),e._yEase=C?we(Ce(!0===C?g:C,Gt.ease)):0,C&&e._yoyo&&!e._repeat&&(C=e._yEase,e._yEase=e._ease,e._ease=C),!H){if(x&&x.render(-1,!0).kill(),v){if(W(e._startAt=Ge.set(P,G({data:"isStart",overwrite:!1,parent:M,immediateRender:!0,lazy:B(b),startAt:null,delay:0,onUpdate:T,onUpdateParams:D,callbackScope:S,stagger:0},v))),y)if(0<i)A||(e._startAt=0);else if(E)return}else if(w&&E)if(x)A||(e._startAt=0);else if(i&&(y=!1),W(e._startAt=Ge.set(P,dt(N(m,ie),{overwrite:!1,data:"isFromStart",lazy:y&&B(b),immediateRender:y,stagger:0,parent:M}))),y){if(!i)return}else t(e._startAt,Rt);for(n=N(m,ie),f=(c=P[e._pt=0]?L(P[0]).harness:0)&&m[c.prop],b=E&&B(b)||b&&!E,o=0;o<P.length;o++){if(u=(a=P[o])._gsap||O(P)[o]._gsap,e._ptLookup[o]=h={},oe[u.id]&&F(),p=k===P?o:k.indexOf(a),c&&!1!==(d=new c).init(a,f||n,e,p,k)&&(e._pt=s=new Ze(e._pt,a,d.name,0,1,d.render,d,0,d.priority),d._props.forEach(function(t){h[t]=s}),d.priority&&(l=1)),!c||f)for(r in n)re[r]&&(d=Ie(r,n,e,p,a,k))?d.priority&&(l=1):h[r]=s=He.call(e,a,r,"get",n[r],p,k,0,m.stringFilter);e._op&&e._op[o]&&e.kill(a,e._op[o]),I&&e._pt&&(Be=e,mt.killTweensOf(a,h,"started"),Be=0),e._pt&&b&&(oe[u.id]=1)}l&&Qe(e),e._onInit&&e._onInit(e)}e._from=!H&&!!m.runBackwards,e._onUpdate=T,e._initted=1}(t,e),t._initted?!i&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&Dt!==ye.frame?(ne.push(t),t._lazy=[e,n],1):void 0:1}function S(t,e,i){var n=t._repeat,o=z(e);return t._dur=o,t._tDur=n?n<0?1e12:z(o*(n+1)+t._rDelay*n):o,i||v(t.parent),t.parent&&w(t),t}function I(t){return t instanceof ke?v(t):S(t,t._dur)}function H(t,e){var i,n,o=t.labels,r=t._recent||ce,s=t.duration()>=$t?r.endTime(!1):t._dur;return $(e)&&(isNaN(e)||e in o)?"<"===(i=e.charAt(0))||">"===i?("<"===i?r._start:r.endTime(0<=r._repeat))+(parseFloat(e.substr(1))||0):(i=e.indexOf("="))<0?(e in o||(o[e]=s),o[e]):(n=+(e.charAt(i-1)+e.substr(i+1)),1<i?H(t,e.substr(0,i-1))+n:s+n):null==e?s:+e}function V(t,e){return t||0===t?e(t):e}function j(t){return(t+"").substr((parseFloat(t)+"").length)}function X(t,e){return t&&A(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&A(t[0]))&&!t.nodeType&&t!==gt}function U(t){return t.sort(function(){return.5-Math.random()})}function Y(t){if(p(t))return t;var f=A(t)?t:{each:t},m=Ce(f.ease),g=f.from||0,v=parseFloat(f.base)||0,y={},e=0<g&&g<1,b=isNaN(g)||e,T=f.axis,D=g,S=g;return $(g)?D=S={center:.5,edges:.5,end:1}[g]||0:!e&&b&&(D=g[0],S=g[1]),function(t,e,i){var n,o,r,s,a,l,u,c,d,h=(i||f).length,p=y[h];if(!p){if(!(d="auto"===f.grid?0:(f.grid||[1,$t])[1])){for(u=-$t;u<(u=i[d++].getBoundingClientRect().left)&&d<h;);d--}for(p=y[h]=[],n=b?Math.min(d,h)*D-.5:g%d,o=b?h*S/d-.5:g/d|0,c=$t,l=u=0;l<h;l++)r=l%d-n,s=o-(l/d|0),p[l]=a=T?Math.abs("y"===T?s:r):Vt(r*r+s*s),u<a&&(u=a),a<c&&(c=a);"random"===g&&U(p),p.max=u-c,p.min=c,p.v=h=(parseFloat(f.amount)||parseFloat(f.each)*(h<d?h-1:T?"y"===T?h/d:d:Math.max(d,h/d))||0)*("edges"===g?-1:1),p.b=h<0?v-h:v,p.u=j(f.amount||f.each)||0,m=m&&h<0?we(m):m}return h=(p[t]-p.min)/p.max||0,z(p.b+(m?m(h):h)*p.v)+p.u}}function q(e){var i=e<1?Math.pow(10,(e+"").length-2):1;return function(t){return~~(Math.round(parseFloat(t)/e)*e*i)/i+(_(t)?0:j(t))}}function K(l,t){var u,c,e=Ut(l);return!e&&A(l)&&(u=e=l.radius||$t,l.values?(l=pe(l.values),(c=!_(l[0]))&&(u*=u)):l=q(l.increment)),V(t,e?p(l)?function(t){return c=l(t),Math.abs(c-t)<=u?c:t}:function(t){for(var e,i,n=parseFloat(c?t.x:t),o=parseFloat(c?t.y:0),r=$t,s=0,a=l.length;a--;)(e=c?(e=l[a].x-n)*e+(i=l[a].y-o)*i:Math.abs(l[a]-n))<r&&(r=e,s=a);return s=!u||r<=u?l[s]:t,c||s===t||_(t)?s:s+j(t)}:q(l))}function Q(t,e,i,n){return V(Ut(t)?!e:!0===i?!!(i=0):!n,function(){return Ut(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(n=i<1?Math.pow(10,(i+"").length-2):1)&&~~(Math.round((t+Math.random()*(e-t))/i)*i*n)/n})}function Z(e,i,t){return V(t,function(t){return e[~~i(t)]})}function J(t){for(var e,i,n,o,r=0,s="";~(e=t.indexOf("random(",r));)n=t.indexOf(")",e),o="["===t.charAt(e+7),i=t.substr(e+7,n-e-7).match(o?te:Yt),s+=t.substr(r,e-r)+Q(o?i:+i[0],+i[1],+i[2]||1e-5),r=n+1;return s+t.substr(r,t.length-r)}function tt(t,e,i){var n,o,r,s=t.labels,a=$t;for(n in s)(o=s[n]-e)<0==!!i&&o&&a>(o=Math.abs(o))&&(r=n,a=o);return r}function et(t){return W(t),t.progress()<1&&ft(t,"onInterrupt"),t}function it(t,e,i){return(6*(t=t<0?t+1:1<t?t-1:t)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)*fe+.5|0}function nt(t,e,i){var n,o,r,s,a,l,u,c,d,h,p=t?_(t)?[t>>16,t>>8&fe,t&fe]:0:me.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),me[t])p=me[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(n=t.charAt(1))+n+(o=t.charAt(2))+o+(r=t.charAt(3))+r),p=[(t=parseInt(t.substr(1),16))>>16,t>>8&fe,t&fe];else if("hsl"===t.substr(0,3))if(p=h=t.match(Yt),e){if(~t.indexOf("="))return p=t.match(qt),i&&p.length<4&&(p[3]=1),p}else s=+p[0]%360/360,a=p[1]/100,n=2*(l=p[2]/100)-(o=l<=.5?l*(a+1):l+a-l*a),3<p.length&&(p[3]*=1),p[0]=it(s+1/3,n,o),p[1]=it(s,n,o),p[2]=it(s-1/3,n,o);else p=t.match(Yt)||me.transparent;p=p.map(Number)}
114return e&&!h&&(n=p[0]/fe,o=p[1]/fe,r=p[2]/fe,l=((u=Math.max(n,o,r))+(c=Math.min(n,o,r)))/2,u===c?s=a=0:(d=u-c,a=.5<l?d/(2-u-c):d/(u+c),s=u===n?(o-r)/d+(o<r?6:0):u===o?(r-n)/d+2:(n-o)/d+4,s*=60),p[0]=~~(s+.5),p[1]=~~(100*a+.5),p[2]=~~(100*l+.5)),i&&p.length<4&&(p[3]=1),p}function ot(t){var i=[],n=[],o=-1;return t.split(ge).forEach(function(t){var e=t.match(Kt)||[];i.push.apply(i,e),n.push(o+=e.length+1)}),i.c=n,i}function rt(t,e,i){var n,o,r,s,a="",l=(t+a).match(ge),u=e?"hsla(":"rgba(",c=0;if(!l)return t;if(l=l.map(function(t){return(t=nt(t,e,1))&&u+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),i&&(r=ot(t),(n=i.c).join(a)!==r.c.join(a)))for(s=(o=t.replace(ge,"1").split(Kt)).length-1;c<s;c++)a+=o[c]+(~n.indexOf(c)?l.shift()||u+"0,0,0,0)":(r.length?r:l.length?l:i).shift());if(!o)for(s=(o=t.split(ge)).length-1;c<s;c++)a+=o[c]+l[c];return a+o[s]}function st(t){var e,i=t.join(" ");if(ge.lastIndex=0,ge.test(i))return e=ve.test(i),t[1]=rt(t[1],e),t[0]=rt(t[0],e,ot(t[1])),!0}function at(t,e,i,n){void 0===i&&(i=function(t){return 1-e(1-t)}),void 0===n&&(n=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var o,r={easeIn:e,easeOut:i,easeInOut:n};return f(t,function(t){for(var e in Te[t]=ee[t]=r,Te[o=t.toLowerCase()]=i,r)Te[o+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Te[t+"."+e]=r[e]}),r}function lt(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function ut(i,t,e){function n(t){return 1===t?1:o*Math.pow(2,-10*t)*Xt((t-s)*r)+1}var o=1<=t?t:1,r=(e||(i?.3:.45))/(t<1?t:1),s=r/zt*(Math.asin(1/o)||0),a="out"===i?n:"in"===i?function(t){return 1-n(1-t)}:lt(n);return r=zt/r,a.config=function(t,e){return ut(i,t,e)},a}function ct(e,i){function n(t){return t?--t*t*((i+1)*t+i)+1:0}void 0===i&&(i=1.70158);var t="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:lt(n);return t.config=function(t){return ct(e,t)},t}function dt(t,e){for(var i in e)t[i]=e[i];return t}function ht(t,e){return(t/=e)&&~~t===t?~~t-1:~~t}function pt(e,t,i,n,o){var r=t-e,s=n-i;return V(o,function(t){return i+(t-e)/r*s})}function ft(t,e,i){var n,o,r=t.vars,s=r[e];if(s)return n=r[e+"Params"],o=r.callbackScope||t,i&&ne.length&&F(),n?s.apply(o,n):s.call(o)}var mt,gt,vt,yt,bt,Tt,Dt,St,wt,Ct,_t,At,Et,xt,Pt,Mt,kt,It,Ht,Bt,Ot,Lt,Ft={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Gt={duration:.5,overwrite:!1,delay:0},$t=1e8,Rt=1/$t,zt=2*Math.PI,Nt=zt/4,Wt=0,Vt=Math.sqrt,jt=Math.cos,Xt=Math.sin,Ut=Array.isArray,Yt=/(?:-?\.?\d|\.)+/gi,qt=/[-+=.]*\d+[.e\-+]*\d*[e\-\+]*\d*/g,Kt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Qt=/[-+=.]*\d+(?:\.|e-|e)*\d*/gi,Zt=/\(([^()]+)\)/i,Jt=/[+-]=-?[\.\d]+/,te=/[#\-+.]*\b[a-z\d-=+%.]+/gi,ee={},ie={},ne=[],oe={},re={},se={},ae=30,le=[],ue="",ce={_start:0,endTime:P},de=function(t,e,i){return i<t?t:e<i?e:i},he=[].slice,pe=function(t,e){return!$(t)||e||!vt&&be()?Ut(t)?(i=e,void 0===n&&(n=[]),t.forEach(function(t){return $(t)&&!i||X(t,1)?n.push.apply(n,pe(t)):n.push(t)})||n):X(t)?he.call(t,0):t?[t]:[]:he.call(yt.querySelectorAll(t),0);var i,n},fe=255,me={aqua:[0,fe,fe],lime:[0,fe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,fe],navy:[0,0,128],white:[fe,fe,fe],olive:[128,128,0],yellow:[fe,fe,0],orange:[fe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[fe,0,0],pink:[fe,192,203],cyan:[0,fe,fe],transparent:[fe,fe,fe,0]},ge=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(t in me)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),ve=/hsl[a]?\(/,ye=(xt=Date.now,Pt=500,Mt=33,kt=xt(),It=kt,Bt=Ht=1/240,Et={time:0,frame:0,tick:function(){_e(!0)},wake:function(){Tt&&(!vt&&e()&&(gt=vt=window,yt=gt.document||{},ee.gsap=ni,(gt.gsapVersions||(gt.gsapVersions=[])).push(ni.version),n(bt||gt.GreenSockGlobals||!gt.gsap&>||{}),At=gt.requestAnimationFrame),Ct&&Et.sleep(),_t=At||function(t){return setTimeout(t,1e3*(Bt-Et.time)+1|0)},wt=1,_e(2))},sleep:function(){(At?gt.cancelAnimationFrame:clearTimeout)(Ct),wt=0,_t=P},lagSmoothing:function(t,e){Pt=t||1e8,Mt=Math.min(e,Pt,0)},fps:function(t){Ht=1/(t||240),Bt=Et.time+Ht},add:function(t){Ot.indexOf(t)<0&&Ot.push(t),be()},remove:function(t){var e;~(e=Ot.indexOf(t))&&Ot.splice(e,1)},_listeners:Ot=[]}),be=function(){return!wt&&ye.wake()},Te={},De=/^[\d.\-M][\d.\-,\s]/,Se=/["']/g,we=function(e){return function(t){return 1-e(1-t)}},Ce=function(t,e){return t&&(p(t)?t:Te[t]||function(t){var e=(t+"").split("("),i=Te[e[0]];return i&&1<e.length&&i.config?i.config.apply(null,~t.indexOf("{")?[function(t){for(var e,i,n,o={},r=t.substr(1,t.length-3).split(":"),s=r[0],a=1,l=r.length;a<l;a++)i=r[a],e=a!==l-1?i.lastIndexOf(","):i.length,n=i.substr(0,e),o[s]=isNaN(n)?n.replace(Se,"").trim():+n,s=i.substr(e+1).trim();return o}(e[1])]:Zt.exec(t)[1].split(",").map(c)):Te._CE&&De.test(t)?Te._CE("",t):i}(t))||e};function _e(e){var t,i,n=xt()-It,o=!0===e;Pt<n&&(kt+=n-Mt),It+=n,Et.time=(It-kt)/1e3,(0<(t=Et.time-Bt)||o)&&(Et.frame++,Bt+=t+(Ht<=t?.004:Ht-t),i=1),o||(Ct=_t(_e)),i&&Ot.forEach(function(t){return t(Et.time,n,Et.frame,e)})}function Ae(t){return t<1/2.75?Lt*t*t:t<.7272727272727273?Lt*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?Lt*(t-=2.25/2.75)*t+.9375:Lt*Math.pow(t-2.625/2.75,2)+.984375}f("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var i=e<5?e+1:e;at(t+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},function(t){return 1-Math.pow(1-t,i)},function(t){return t<.5?Math.pow(2*t,i)/2:1-Math.pow(2*(1-t),i)/2})}),Te.Linear.easeNone=Te.none=Te.Linear.easeIn,at("Elastic",ut("in"),ut("out"),ut()),Lt=7.5625,at("Bounce",function(t){return 1-Ae(1-t)},Ae),at("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),at("Circ",function(t){return-(Vt(1-t*t)-1)}),at("Sine",function(t){return 1-jt(t*Nt)}),at("Back",ct("in"),ct("out"),ct()),Te.SteppedEase=Te.steps=ee.SteppedEase={config:function(t,e){void 0===t&&(t=1);var i=1/t,n=t+(e?0:1),o=e?1:0;return function(t){return((n*de(0,.99999999,t)|0)+o)*i}}},Gt.ease=Te["quad.out"],f("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return ue+=t+","+t+"Param
114s,"});var Ee,xe=function(t,e){this.id=Wt++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:r,this.set=e?e.getSetter:Ue},Pe=((Ee=Me.prototype).delay=function(t){return t||0===t?(this._delay=t,this):this._delay},Ee.duration=function(t){return arguments.length?S(this,t):this.totalDuration()&&this._dur},Ee.totalDuration=function(t){return arguments.length?(this._dirty=0,S(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Ee.totalTime=function(t,e){if(be(),!arguments.length)return this._tTime;var i=this.parent||this._dp;if(i&&i.smoothChildTiming&&this._ts){for(this._start=z(i._time-(0<this._ts?t/this._ts:((this._dirty?this.totalDuration():this._tDur)-t)/-this._ts)),w(this),i._dirty||v(i);i.parent;)i.parent._time!==i._start+(0<=i._ts?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&T(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===Rt)&&(this._ts||(this._pTime=t),u(this,t,e)),this},Ee.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+y(this))%this._dur||(t?this._dur:0),e):this._time},Ee.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},Ee.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+y(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},Ee.iteration=function(t,e){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*i,e):this._repeat?ht(this._tTime,i)+1:1},Ee.timeScale=function(t){if(!arguments.length)return this._ts||this._pauseTS||0;if(null!==this._pauseTS)return this._pauseTS=t,this;var e=this.parent&&this._ts?b(this.parent._time,this):this._tTime;return this._ts=t,function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this.totalTime(e,!0))},Ee.paused=function(t){var e=!this._ts;return arguments.length?(e!==t&&(t?(this._pauseTS=this._ts,this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(be(),this._ts=this._pauseTS||1,this._pauseTS=null,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&(this._tTime-=Rt)&&Math.abs(this._zTime)!==Rt))),this):e},Ee.startTime=function(t){return arguments.length?(this.parent&&this.parent._sort&&T(this.parent,this,t-this._delay),this):this._start},Ee.endTime=function(t){return this._start+(B(t)?this.totalDuration():this.duration())/Math.abs(this._ts)},Ee.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?b(e.rawTime(t),this):this._tTime:this._tTime},Ee.repeat=function(t){return arguments.length?(this._repeat=t,I(this)):this._repeat},Ee.repeatDelay=function(t){return arguments.length?(this._rDelay=t,I(this)):this._rDelay},Ee.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Ee.seek=function(t,e){return this.totalTime(H(this,t),B(e))},Ee.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,B(e))},Ee.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Ee.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Ee.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Ee.resume=function(){return this.paused(!1)},Ee.reversed=function(t){var e=this._ts||this._pauseTS||0;return arguments.length?(t!==this.reversed()&&(this[null===this._pauseTS?"_ts":"_pauseTS"]=Math.abs(e)*(t?-1:1),this.totalTime(this._tTime,!0)),this):e<0},Ee.invalidate=function(){return this._initted=0,this._zTime=-Rt,this},Ee.isActive=function(t){var e,i=this.parent||this._dp,n=this._start;return!(i&&!(this._ts&&(this._initted||!t)&&i.isActive(t)&&(e=i.rawTime(!0))>=n&&e<this.endTime(!0)-Rt))}
114,Ee.eventCallback=function(t,e,i){var n=this.vars;return 1<arguments.length?(e?(n[t]=e,i&&(n[t+"Params"]=i),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},Ee.then=function(n){var o=this;return new Promise(function(e){function t(){var t=o.then;o.then=null,p(i)&&(i=i(o))&&(i.then||i===o)&&(o.then=t),e(i),o.then=t}var i=p(n)?n:d;o._initted&&1===o.totalProgress()&&0<=o._ts||!o._tTime&&o._ts<0?t():o._prom=t})},Ee.kill=function(){et(this)},Me);function Me(t,e){var i=t.parent||mt;this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=t.reversed?-1:1,S(this,+t.duration,1),this.data=t.data,wt||ye.wake(),i&&T(i,this,e||0===e?e:i._time,1),t.paused&&this.paused(!0)}G(Pe.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Rt,_prom:0,_pauseTS:null});var ke=function(n){function t(t,e){var i;return void 0===t&&(t={}),(i=n.call(this,t,e)||this).labels={},i.smoothChildTiming=!!t.smoothChildTiming,i.autoRemoveChildren=!!t.autoRemoveChildren,i._sort=B(t.sortChildren),i.parent&&k(i.parent,C(i)),i}i(t,n);var e=t.prototype;return e.to=function(t,e,i,n){return new Ge(t,l(arguments,0,this),H(this,_(e)?n:i)),this},e.from=function(t,e,i,n){return new Ge(t,l(arguments,1,this),H(this,_(e)?n:i)),this},e.fromTo=function(t,e,i,n,o){return new Ge(t,l(arguments,2,this),H(this,_(e)?o:n)),this},e.set=function(t,e,i){return e.duration=0,e.parent=this,M(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Ge(t,e,H(this,i),1),this},e.call=function(t,e,i){return T(this,Ge.delayedCall(0,t,e),H(this,i))},e.staggerTo=function(t,e,i,n,o,r,s){return i.duration=e,i.stagger=i.stagger||n,i.onComplete=r,i.onCompleteParams=s,i.parent=this,new Ge(t,i,H(this,o)),this},e.staggerFrom=function(t,e,i,n,o,r,s){return i.runBackwards=1,M(i).immediateRender=B(i.immediateRender),this.staggerTo(t,e,i,n,o,r,s)},e.staggerFromTo=function(t,e,i,n,o,r,s,a){return n.startAt=i,M(n).immediateRender=B(n.immediateRender),this.staggerTo(t,e,n,o,r,s,a)},e.render=function(t,e,i){var n,o,r,s,a,l,u,c,d,h,p,f,m=this._time,g=this._dirty?this.totalDuration():this._tDur,v=this._dur,y=this!==mt&&g-Rt<t&&0<=t?g:t<Rt?0:t,b=this._zTime<0!=t<0&&(this._initted||!v);if(y!==this._tTime||i||b){if(m!==this._time&&v&&(y+=this._time-m,t+=this._time-m),n=y,d=this._start,l=!(c=this._ts),b&&(v||(m=this._zTime),!t&&e||(this._zTime=t)),this._repeat&&(p=this._yoyo,(v<(n=z(y%(a=v+this._rDelay)))||g===y)&&(n=v),(s=~~(y/a))&&s===y/a&&(n=v,s--),p&&1&s&&(n=v-n,f=1),s!==(h=ht(this._tTime,a))&&!this._lock)){var T=p&&1&h,D=T===(p&&1&s);if(s<h&&(T=!T),m=T?0:v,this._lock=1,this.render(m,e,!v)._lock=0,!e&&this.parent&&ft(this,"onRepeat"),this.vars.repeatRefresh&&!f&&(this.invalidate()._lock=1),m!==this._time||l!=!this._ts)return this;if(D&&(this._lock=2,m=T?v+1e-4:-1e-4,this.render(m,!0),this.vars.repeatRefresh&&!f&&this.invalidate()),this._lock=0,!this._ts&&!l)return this}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=function(t,e,i){var n;if(e<i)for(n=t._first;n&&n._start<=i;){if(!n._dur&&"isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=i;){if(!n._dur&&"isPause"===n.data&&n._start<e)return n;n=n._prev}}(this,z(m),z(n)))&&(y-=n-(n=u._start)),this._tTime=y,this._time=n,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t),m||!n||e||ft(this,"onStart"),m<=n&&0<=t)for(o=this._first;o;){if(r=o._next,(o._act||n>=o._start)&&o._ts&&u!==o){if(o.parent!==this)return this.render(t,e,i);if(o.render(0<o._ts?(n-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(n-o._start)*o._ts,e,i),n!==this._time||!this._ts&&!l){u=0,r&&(y+=this._zTime=-Rt);break}}o=r}else{o=this._last;for(var S=t<0?t:n;o;){if(r=o._prev,(o._act||S<=o._end)&&o._ts&&u!==o){if(o.parent!==this)return this.render(t,e,i);if(o.render(0<o._ts?(S-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(S-o._start)*o._ts,e,i),n!==this._time||!this._ts&&!l){u=0,r&&(y+=this._zTime=S?-Rt:Rt);break}}o=r}}if(u&&!e&&(this.pause(),u.render(m<=n?0:-Rt)._zTime=m<=n?1:-1,this._ts))return this._start=d,w(this),this.render(t,e,i);this._onUpdate&&!e&&ft(this,"onUpdate",!0),(y===g&&g>=this.totalDuration()||!y&&this._ts<0)&&(d!==this._start&&Math.abs(c)===Math.abs(this._ts
114)||(!t&&v||!(t&&0<this._ts||!y&&this._ts<0)||W(this,1),e||t<0&&!m||(ft(this,y===g?"onComplete":"onReverseComplete",!0),this._prom&&this._prom())))}return this},e.add=function(t,e){var i=this;if(_(e)||(e=H(this,e)),!(t instanceof Pe)){if(Ut(t))return t.forEach(function(t){return i.add(t,e)}),v(this);if($(t))return this.addLabel(t,e);if(!p(t))return this;t=Ge.delayedCall(0,t)}return this!==t?T(this,t,e):this},e.getChildren=function(t,e,i,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===i&&(i=!0),void 0===n&&(n=-$t);for(var o=[],r=this._first;r;)r._start>=n&&(r instanceof Ge?e&&o.push(r):(i&&o.push(r),t&&o.push.apply(o,r.getChildren(!0,e,i)))),r=r._next;return o},e.getById=function(t){for(var e=this.getChildren(1,1,1),i=e.length;i--;)if(e[i].vars.id===t)return e[i]},e.remove=function(t){return $(t)?this.removeLabel(t):p(t)?this.killTweensOf(t):(g(this,t),t===this._recent&&(this._recent=this._last),v(this))},e.totalTime=function(t,e){return arguments.length?(this._forcing=1,this.parent||this._dp||!this._ts||(this._start=z(ye.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),n.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function(t,e){return this.labels[t]=H(this,e),this},e.removeLabel=function(t){return delete this.labels[t],this},e.addPause=function(t,e,i){var n=Ge.delayedCall(0,e||P,i);return n.data="isPause",this._hasPause=1,T(this,n,H(this,t))},e.removePause=function(t){var e=this._first;for(t=H(this,t);e;)e._start===t&&"isPause"===e.data&&W(e),e=e._next},e.killTweensOf=function(t,e,i){for(var n=this.getTweensOf(t,i),o=n.length;o--;)Be!==n[o]&&n[o].kill(t,e);return this},e.getTweensOf=function(t,e){for(var i,n=[],o=pe(t),r=this._first;r;)r instanceof Ge?!a(r._targets,o)||e&&!r.isActive("started"===e)||n.push(r):(i=r.getTweensOf(o,e)).length&&n.push.apply(n,i),r=r._next;return n},e.tweenTo=function(t,e){e=e||{};var i=this,n=H(i,t),o=e.startAt,r=e.onStart,s=e.onStartParams,a=Ge.to(i,G(e,{ease:"none",lazy:!1,time:n,duration:e.duration||Math.abs(n-(o&&"time"in o?o.time:i._time))/i.timeScale()||Rt,onStart:function(){i.pause();var t=e.duration||Math.abs(n-i._time)/i.timeScale();a._dur!==t&&S(a,t).render(a._time,!0,!0),r&&r.apply(a,s||[])}}));return a},e.tweenFromTo=function(t,e,i){return this.tweenTo(e,G({startAt:{time:H(this,t)}},i))},e.recent=function(){return this._recent},e.nextLabel=function(t){return void 0===t&&(t=this._time),tt(this,H(this,t))},e.previousLabel=function(t){return void 0===t&&(t=this._time),tt(this,H(this,t),1)},e.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+Rt)},e.shiftChildren=function(t,e,i){void 0===i&&(i=0);for(var n,o=this._first,r=this.labels;o;)o._start>=i&&(o._start+=t),o=o._next;if(e)for(n in r)r[n]>=i&&(r[n]+=t);return v(this)},e.invalidate=function(){var t=this._first;for(this._lock=0;t;)t.invalidate(),t=t._next;return n.prototype.invalidate.call(this)},e.clear=function(t){void 0===t&&(t=!0);for(var e,i=this._first;i;)e=i._next,this.remove(i),i=e;return this._time=this._tTime=0,t&&(this.labels={}),v(this)},e.totalDuration=function(t){var e,i,n,o,r=0,s=this,a=s._last,l=$t;if(arguments.length)return s._repeat<0?s:s.timeScale(s.totalDuration()/t);if(s._dirty){for(o=s.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),l<(n=a._start)&&s._sort&&a._ts&&!s._lock?(s._lock=1,T(s,a,n-a._delay,1)._lock=0):l=n,n<0&&a._ts&&(r-=n,(!o&&!s._dp||o&&o.smoothChildTiming)&&(s._start+=n/s._ts,s._time-=n,s._tTime-=n),s.shiftChildren(-n,!1,-1e20),l=0),r<(i=w(a))&&a._ts&&(r=i),a=e;S(s,s===mt&&s._time>r?s._time:Math.min($t,r),1),s._dirty=0}return s._tDur},t.updateRoot=function(t){if(mt._ts&&(u(mt,b(t,mt)),Dt=ye.frame),ye.frame>=ae){ae+=Ft.autoSleep||120;var e=mt._first;if((!e||!e._ts)&&Ft.autoSleep&&ye._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||ye.sleep()}}},t}(Pe);function Ie(t,e,i,n,o,r){var s,a,l,u;if(re[t]&&!1!==(s=new re[t]).init(o,s.rawVars?e[t]:function(t,e,i,n,o){if(p(t)&&(t=Oe(t,o,e,i,n)),!A(t)||t.style&&t.nodeType||Ut(t))return $(t)?Oe(t,o,e,i,n):t;var r,s={};for(r in t)s[r]=Oe(t[r],o,e,i,n);return s}(e[t],n,o,r,i),i,n,r)&&(i._pt=a=new Ze(i._pt,o,t,0,1,s.render,s,0,s.priority),i!==St))for(l=i._ptLookup[i._targets.indexOf(o)],u=s._props.length;u--;)l[s._props[u]]=a;return s}G(ke.prototype,{_lock:0,_hasPause:0,_forcing:0});function He(t,e,i,n,o,r,s,a,l){p(n)&&(n=n(o||0,t,r));var u,c=t[e],d="get"!==i?i:p(c)?l?t[e.indexOf("set")||!p(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():c,h=p(c)?l?Xe:je:Ve;if($(n)&&(~n.indexOf("random(")&&(n=J(n)),"="===n.charAt(1)&&(n=parseFloat(d)+parseFloat(n.substr(2))*("-"===n.charAt(0)?-1:1)+(j(d)||0))),d!==n)return isNaN(d+n)?(c||e in t||R(e,n),function(t,e,
114i,n,o,r,s){var a,l,u,c,d,h,p,f,m=new Ze(this._pt,t,e,0,1,Ke,null,o),g=0,v=0;for(m.b=i,m.e=n,i+="",(p=~(n+="").indexOf("random("))&&(n=J(n)),r&&(r(f=[i,n],t,e),i=f[0],n=f[1]),l=i.match(Qt)||[];a=Qt.exec(n);)c=a[0],d=n.substring(g,a.index),u?u=(u+1)%5:"rgba("===d.substr(-5)&&(u=1),c!==l[v++]&&(h=parseFloat(l[v-1])||0,m._pt={_next:m._pt,p:d||1===v?d:",",s:h,c:"="===c.charAt(1)?parseFloat(c.substr(2))*("-"===c.charAt(0)?-1:1):parseFloat(c)-h,m:u&&u<4?Math.round:0},g=Qt.lastIndex);return m.c=g<n.length?n.substring(g,n.length):"",m.fp=s,(Jt.test(n)||p)&&(m.e=0),this._pt=m}.call(this,t,e,d,n,h,a||Ft.stringFilter,l)):(u=new Ze(this._pt,t,e,+d||0,n-(d||0),"boolean"==typeof c?qe:Ye,0,h),l&&(u.fp=l),s&&u.modifier(s,this,t),this._pt=u)}var Be,Oe=function(t,e,i,n,o){return p(t)?t.call(e,i,n,o):$(t)&&~t.indexOf("random(")?J(t):t},Le=ue+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",Fe=(Le+",id,stagger,delay,duration,paused").split(","),Ge=function(w){function o(t,e,i,n){var o;"number"==typeof e&&(i.duration=e,e=i,i=null);var r,s,a,l,u,c,d,h,p=(o=w.call(this,n?e:M(e),i)||this).vars,f=p.duration,m=p.delay,g=p.immediateRender,v=p.stagger,y=p.overwrite,b=p.keyframes,T=p.defaults,D=o.parent,S=(Ut(t)?_(t[0]):"length"in e)?[t]:pe(t);if(o._targets=S.length?O(S):x("GSAP target "+t+" not found. https://greensock.com",!Ft.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=y,b||v||E(f)||E(m)){if(e=o.vars,(r=o.timeline=new ke({data:"nested",defaults:T||{}})).kill(),r.parent=C(o),b)G(r.vars.defaults,{ease:"none"}),b.forEach(function(t){return r.to(S,t,">")});else{if(l=S.length,d=v?Y(v):P,A(v))for(u in v)~Le.indexOf(u)&&((h=h||{})[u]=v[u]);for(s=0;s<l;s++){for(u in a={},e)Fe.indexOf(u)<0&&(a[u]=e[u]);a.stagger=0,h&&dt(a,h),e.yoyoEase&&!e.repeat&&(a.yoyoEase=e.yoyoEase),c=S[s],a.duration=+Oe(f,C(o),s,c,S),a.delay=(+Oe(m,C(o),s,c,S)||0)-o._delay,!v&&1===l&&a.delay&&(o._delay=m=a.delay,o._start+=m,a.delay=0),r.to(c,a,d(s,c,S))}f=m=0}f||o.duration(f=r.duration())}else o.timeline=0;return!0===y&&(Be=C(o),mt.killTweensOf(S),Be=0),D&&k(D,C(o)),(g||!f&&!b&&o._start===D._time&&B(g)&&function t(e){return!e||e._ts&&t(e.parent)}(C(o))&&"nested"!==D.data)&&(o._tTime=-Rt,o.render(Math.max(0,-m))),o}i(o,w);var t=o.prototype;return t.render=function(t,e,i){var n,o,r,s,a,l,u,c,d,h=this._time,p=this._tDur,f=this._dur,m=p-Rt<t&&0<=t?p:t<Rt?0:t;if(f){if(m!==this._tTime||!t||i||this._startAt&&this._zTime<0!=t<0){if(n=m,c=this.timeline,this._repeat){if((f<(n=z(m%(s=f+this._rDelay)))||p===m)&&(n=f),(r=~~(m/s))&&r===m/s&&(n=f,r--),(l=this._yoyo&&1&r)&&(d=this._yEase,n=f-n),a=ht(this._tTime,s),n===h&&!i&&this._initted)return this;r!==a&&(!this.vars.repeatRefresh||l||this._lock||(this._lock=i=1,this.render(s*r,!0).invalidate()._lock=0))}if(!this._initted&&D(this,n,i,e))return this._tTime=0,this;for(this._tTime=m,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=u=(d||this._ease)(n/f),this._from&&(this.ratio=u=1-u),h||!n||e||ft(this,"onStart"),o=this._pt;o;)o.r(u,o.d),o=o._next;c&&c.render(t<0?t:!n&&l?-Rt:c._dur*u,e,i)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,i),ft(this,"onUpdate")),this._repeat&&r!==a&&this.vars.onRepeat&&!e&&this.parent&&ft(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,i),!t&&f||!(t&&0<this._ts||!m&&this._ts<0)||W(this,1),e||t<0&&!h||m<p&&0<this.timeScale()||(ft(this,m===p?"onComplete":"onReverseComplete",!0),this._prom&&this._prom()))}}else!function(t,e,i,n){var o,r=t._zTime<0?0:1,s=e<0?0:1,a=t._rDelay,l=0;if(a&&t._repeat&&(l=de(0,t._tDur,e),ht(l,a)!==ht(t._tTime,a)&&(r=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),(t._initted||!D(t,e,n,i))&&(s!==r||n||t._zTime===Rt||!e&&t._zTime)){for(t._zTime=e||(i?Rt:0),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=l,i||ft(t,"onStart"),o=t._pt;o;)o.r(s,o.d),o=o._next;!s&&t._startAt&&!t._onUpdate&&t._start&&t._startAt.render(e,!0,n),t._onUpdate&&(i||ft(t,"onUpdate")),l&&t._repeat&&!i&&t.parent&&ft(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(t.ratio&&W(t,1),i||(ft(t,t.ratio?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}}(this,t,e,i);return this},t.targets=function(){return this._targets},t.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._act=this._lazy=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),w.prototype.invalidate.call(this)},t.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e)&&(this._lazy=0,this.parent))return et(this);if(this.timeline)return this.timeline.killTweensOf(t,e,Be&&!0!==Be.vars.over
vendor: 4,377 bytes, line 114
114write),this;var i,n,o,r,s,a,l,u=this._targets,c=t?pe(t):u,d=this._ptLookup,h=this._pt;if((!e||"all"===e)&&function(t,e){for(var i=t.length,n=i===e.length;n&&i--&&t[i]===e[i];);return i<0}(u,c))return et(this);for(i=this._op=this._op||[],"all"!==e&&($(e)&&(s={},f(e,function(t){return s[t]=1}),e=s),e=function(t,e){var i,n,o,r,s=t[0]?L(t[0]).harness:0,a=s&&s.aliases;if(!a)return e;for(n in i=dt({},e),a)if(n in i)for(o=(r=a[n].split(",")).length;o--;)i[r[o]]=i[n];return i}(u,e)),l=u.length;l--;)if(~c.indexOf(u[l]))for(s in n=d[l],"all"===e?(i[l]=e,r=n,o={}):(o=i[l]=i[l]||{},r=e),r)(a=n&&n[s])&&("kill"in a.d&&!0!==a.d.kill(s)||g(this,a,"_pt"),delete n[s]),"all"!==o&&(o[s]=1);return this._initted&&!this._pt&&h&&et(this),this},o.to=function(t,e,i){return new o(t,e,i)},o.from=function(t,e){return new o(t,l(arguments,1))},o.delayedCall=function(t,e,i,n){return new o(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},o.fromTo=function(t,e,i){return new o(t,l(arguments,2))},o.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new o(t,e)},o.killTweensOf=function(t,e,i){return mt.killTweensOf(t,e,i)},o}(Pe);function $e(t,e,i){return t.setAttribute(e,i)}function Re(t,e,i,n){n.mSet(t,e,n.m.call(n.tween,i,n.mt),n)}G(Ge.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),f("staggerTo,staggerFrom,staggerFromTo",function(i){Ge[i]=function(){var t=new ke,e=he.call(arguments,0);return e.splice("staggerFromTo"===i?5:4,0,0),t[i].apply(t,e)}});function ze(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next}function Ne(t,e,i,n){for(var o,r=this._pt;r;)o=r._next,r.p===n&&r.modifier(t,e,i),r=o}function We(t){for(var e,i,n=this._pt;n;)i=n._next,n.p===t&&!n.op||n.op===t?g(this,n,"_pt"):n.dep||(e=1),n=i;return!e}var Ve=function(t,e,i){return t[e]=i},je=function(t,e,i){return t[e](i)},Xe=function(t,e,i,n){return t[e](n.fp,i)},Ue=function(t,e){return p(t[e])?je:o(t[e])&&t.setAttribute?$e:Ve},Ye=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4,e)},qe=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Ke=function(t,e){var i=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*t):Math.round(1e4*(i.s+i.c*t))/1e4)+n,i=i._next;n+=e.c}e.set(e.t,e.p,n,e)},Qe=function(t){for(var e,i,n,o,r=t._pt;r;){for(e=r._next,i=n;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:o)?r._prev._next=r:n=r,(r._next=i)?i._prev=r:o=r,r=e}t._pt=n},Ze=(Je.prototype.modifier=function(t,e,i){this.mSet=this.mSet||this.set,this.set=Re,this.m=t,this.mt=i,this.tween=e},Je);function Je(t,e,i,n,o,r,s,a,l){this.t=e,this.s=n,this.c=o,this.p=i,this.r=r||Ye,this.d=s||this,this.set=a||Ve,this.pr=l||0,(this._next=t)&&(t._prev=this)}f(ue+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert",function(t){return ie[t]=1}),ee.TweenMax=ee.TweenLite=Ge,ee.TimelineLite=ee.TimelineMax=ke,mt=new ke({sortChildren:!1,defaults:Gt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Ft.stringFilter=st;var ti={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(t){return function(t){var e=(t=!t.name&&t.default||t).name,i=p(t),n=e&&!i&&t.init?function(){this._props=[]}:t,o={init:P,render:ze,add:He,kill:We,modifier:Ne,rawVars:0},r={targetTest:0,get:0,getSetter:Ue,aliases:{},register:0};if(be(),t!==n){if(re[e])return;G(n,G(N(t,o),r)),dt(n.prototype,dt(o,N(t,r))),re[n.prop=e]=n,t.targetTest&&(le.push(n),ie[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}s(e,n),t.register&&t.register(ni,n,Ze)}(t)})},timeline:function(t){return new ke(t)},getTweensOf:function(t,e){return mt.getTweensOf(t,e)},getProperty:function(n,t,e,i){$(n)&&(n=pe(n)[0]);var o=L(n||{}).get,r=e?d:c;return"native"===e&&(e=""),n?t?r((re[t]&&re[t].get||o)(n,t,e,i)):function(t,e,i){return r((re[t]&&re[t].get||o)(n,t,e,i))}:n},quickSetter:function(i,e,n){if(1<(i=pe(i)).length){var o=i.map(function(t){return ni.quickSetter(t,e,n)}),r=o.length;return function(t){for(var e=r;e--;)o[e](t)}}i=i[0]||{};var s=re[e],a=L(i),l=s?function(t){var e=new s;St._pt=0,e.init(i,n?t+n:t,St,0,[i]),e.render(1,e),St._pt&&ze(1,St)}:a.set(i,e);
114return s?l:function(t){return l(i,e,n?t+n:t,a,1)}},isTweening:function(t){return 0<mt.getTweensOf(t,!0).length},defaults:function(t){return t&&t.ease&&(t.ease=Ce(t.ease,Gt.ease)),m(Gt,t||{})},config:function(t){return m(Ft,t||{})},registerEffect:function(t){var n=t.name,i=t.effect,e=t.plugins,o=t.defaults,r=t.extendTimeline;(e||"").split(",").forEach(function(t){return t&&!re[t]&&!ee[t]&&x(n+" effect requires "+t+" plugin.")}),se[n]=function(t,e){return i(pe(t),G(e||{},o))},r&&(ke.prototype[n]=function(t,e,i){return this.add(se[n](t,A(e)?e:(i=e)&&{}),i)})},registerEase:function(t,e){Te[t]=Ce(e)},parseEase:function(t,e){return arguments.length?Ce(t,e):Te},getById:function(t){return mt.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var i,n,o=new ke(t);for(o.smoothChildTiming=B(t.smoothChildTiming),mt.remove(o),o._dp=0,o._time=o._tTime=mt._time,i=mt._first;i;)n=i._next,!e&&!i._dur&&i instanceof Ge&&i.vars.onComplete===i._targets[0]||T(o,i,i._start-i._delay),i=n;return T(mt,o,0),o},utils:{wrap:function t(e,i,n){var o=i-e;return Ut(e)?Z(e,t(0,e.length),i):V(n,function(t){return(o+(t-e)%o)%o+e})},wrapYoyo:function t(e,i,n){var o=i-e,r=2*o;return Ut(e)?Z(e,t(0,e.length-1),i):V(n,function(t){return e+(o<(t=(r+(t-e)%r)%r)?r-t:t)})},distribute:Y,random:Q,snap:K,normalize:function(t,e,i){return pt(t,e,0,1,i)},getUnit:j,clamp:function(e,i,t){return V(t,function(t){return de(e,i,t)})},splitColor:nt,toArray:pe,mapRange:pt,pipe:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function(e,i){return function(t){return e(parseFloat(t))+(i||j(t))}},interpolate:function t(e,i,n,o){var r=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!r){var s,a,l,u,c,d=$(e),h={};if(!0===n&&(o=1)&&(n=null),d)e={p:e},i={p:i};else if(Ut(e)&&!Ut(i)){for(l=[],u=e.length,c=u-2,a=1;a<u;a++)l.push(t(e[a-1],e[a]));u--,r=function(t){t*=u;var e=Math.min(c,~~t);return l[e](t-e)},n=i}else o||(e=dt(Ut(e)?[]:{},e));if(!l){for(s in i)He.call(h,e,s,"get",i[s]);r=function(t){return ze(t,h)||(d?e.p:e)}}}return V(n,r)},shuffle:U},install:n,effects:se,ticker:ye,updateRoot:ke.updateRoot,plugins:re,globalTimeline:mt,core:{PropTween:Ze,globals:s,Tween:Ge,Timeline:ke,Animation:Pe,getCache:L,_removeLinkedListItem:g}};function ei(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i}function ii(t,o){return{name:t,rawVars:1,init:function(t,n,e){e._onInit=function(t){var e,i;if($(n)&&(e={},f(n,function(t){return e[t]=1}),n=e),o){for(i in e={},n)e[i]=o(n[i]);n=e}!function(t,e){var i,n,o,r=t._targets;for(i in e)for(n=r.length;n--;)(o=(o=t._ptLookup[n][i])&&o.d)&&(o._pt&&(o=ei(o,i)),o&&o.modifier&&o.modifier(e[i],t,r[n],i))}(t,n)}}}}f("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return ti[t]=Ge[t]}),ye.add(ke.updateRoot),St=ti.to({},{duration:0});var ni=ti.registerPlugin({name:"attr",init:function(t,e,i,n,o){for(var r in e)this.add(t,"setAttribute",(t.getAttribute(r)||0)+"",e[r],n,o,0,0,r),this._props.push(r)}},{name:"endArray",init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i])}},ii("roundProps",q),ii("modifiers"),ii("snap",K))||ti;function oi(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function ri(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function si(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function ai(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)}function li(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function ui(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function ci(t,e,i){return t.style[e]=i}function di(t,e,i){return t.style.setProperty(e,i)}function hi(t,e,i){return t._gsap[e]=i}function pi(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i}function fi(t,e,i,n,o){var r=t._gsap;r.scaleX=r.scaleY=i,r.renderTransform(o,r)}function mi(t,e,i,n,o){var r=t._gsap;r[e]=i,r.renderTransform(o,r)}function gi(t,e){var i=Li.createElementNS?Li.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Li.createElement(t);return i.style?i:Li.createElement(t)}function vi(t,e,i){var n=getComputedStyle(t);
114return n[e]||n.getPropertyValue(e.replace(hn,"-$1").toLowerCase())||n.getPropertyValue(e)||!i&&vi(t,bn(e)||e,1)||""}function yi(){"undefined"==typeof window||(Oi=window,Li=Oi.document,Fi=Li.documentElement,$i=gi("div")||{style:{}},Ri=gi("div"),gn=bn(gn),vn=bn(vn),$i.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ni=!!bn("perspective"),Gi=1)}function bi(t){var e,i=gi("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,o=this.nextSibling,r=this.style.cssText;if(Fi.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=bi}catch(t){}else this._gsapBBox&&(e=this._gsapBBox());return n&&(o?n.insertBefore(this,o):n.appendChild(this)),Fi.removeChild(i),this.style.cssText=r,e}function Ti(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])}function Di(e){var i;try{i=e.getBBox()}catch(t){i=bi.call(e,!0)}return i&&(i.width||i.height)||e.getBBox===bi||(i=bi.call(e,!0)),!i||i.width||i.x||i.y?i:{x:+Ti(e,["x","cx","x1"])||0,y:+Ti(e,["y","cy","y1"])||0,width:0,height:0}}function Si(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Di(t))}function wi(t,e){if(e){var i=t.style;e in ln&&(e=gn),i.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),i.removeProperty(e.replace(hn,"-$1").toLowerCase())):i.removeAttribute(e)}}function Ci(t,e,i,n,o,r){var s=new Ze(t._pt,e,i,0,1,r?ui:li);return(t._pt=s).b=n,s.e=o,t._props.push(i),s}function _i(t,e,i,n){var o,r,s,a,l=parseFloat(i)||0,u=(i+"").trim().substr((l+"").length)||"px",c=$i.style,d=pn.test(e),h="svg"===t.tagName.toLowerCase(),p=(h?"client":"offset")+(d?"Width":"Height"),f="px"===n;return n===u||!l||Tn[n]||Tn[u]?l:(a=t.getCTM&&Si(t),"%"===n&&(ln[e]||~e.indexOf("adius"))?z(l/(a?t.getBBox()[d?"width":"height"]:t[p])*100):(c[d?"width":"height"]=100+(f?u:n),r=~e.indexOf("adius")||"em"===n&&t.appendChild&&!h?t:t.parentNode,a&&(r=(t.ownerSVGElement||{}).parentNode),r&&r!==Li&&r.appendChild||(r=Li.body),(s=r._gsap)&&"%"===n&&s.width&&d&&s.time===ye.time?z(l/s.width*100):(r===t&&(c.position="static"),r.appendChild($i),o=$i[p],r.removeChild($i),c.position="absolute",d&&"%"===n&&((s=L(r)).time=ye.time,s.width=r[p]),z(f?o*l/100:100/o*l))))}function Ai(t,e,i,n){var o;return Gi||yi(),e in mn&&"transform"!==e&&~(e=mn[e]).indexOf(",")&&(e=e.split(",")[0]),ln[e]&&"transform"!==e?(o=_n(t,n),o="transformOrigin"!==e?o[e]:An(vi(t,vn))+" "+o.zOrigin+"px"):(o=t.style[e])&&"auto"!==o&&!n&&!~(o+"").indexOf("calc(")||(o=Sn[e]&&Sn[e](t,e,i)||vi(t,e)||r(t,e)||("opacity"===e?1:0)),i&&!~(o+"").indexOf(" ")?_i(t,e,o,i)+i:o}function Ei(t,e,i,n){if(!i||"none"===i){var o=bn(e,t,1),r=o&&vi(t,o,1);r&&r!==i&&(e=o,i=r)}var s,a,l,u,c,d,h,p,f,m,g,v,y=new Ze(this._pt,t.style,e,0,1,Ke),b=0,T=0;if(y.b=i,y.e=n,i+="","auto"==(n+="")&&(t.style[e]=n,n=vi(t,e)||n,t.style[e]=i),st(s=[i,n]),n=s[1],l=(i=s[0]).match(Kt)||[],(n.match(Kt)||[]).length){for(;a=Kt.exec(n);)h=a[0],f=n.substring(b,a.index),c?c=(c+1)%5:"rgba("!==f.substr(-5)&&"hsla("!==f.substr(-5)||(c=1),h!==(d=l[T++]||"")&&(u=parseFloat(d)||0,g=d.substr((u+"").length),(v="="===h.charAt(1)?+(h.charAt(0)+"1"):0)&&(h=h.substr(2)),p=parseFloat(h),m=h.substr((p+"").length),b=Kt.lastIndex-m.length,m||(m=m||Ft.units[e]||g,b===n.length&&(n+=m,y.e+=m)),g!==m&&(u=_i(t,e,d,m)||0),y._pt={_next:y._pt,p:f||1===T?f:",",s:u,c:v?v*p:p-u,m:c&&c<4?Math.round:0});y.c=b<n.length?n.substring(b,n.length):""}else y.r="display"===e&&"none"===n?ui:li;return Jt.test(n)&&(y.e=0),this._pt=y}function xi(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i,n,o,r=e.t,s=r.style,a=e.u,l=r._gsap;if("all"===a||!0===a)s.cssText="",n=1;else for(o=(a=a.split(",")).length;-1<--o;)i=a[o],ln[i]&&(n=1,i="transformOrigin"===i?vn:gn),wi(r,i);n&&(wi(r,gn),l&&(l.svg&&r.removeAttribute("transform"),_n(r,1),l.uncache=1))}}function Pi(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t}function Mi(t){var e=vi(t,gn);return Pi(e)?wn:e.substr(7).match(qt).map(z)}function ki(t,e){var i,n,o,r,s=t._gsap||L(t),a=t.style,l=Mi(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(o=t.transform.baseVal.consolidate().matrix).a,o.b,o.
vendor: 6,856 bytes, line 114
114c,o.d,o.e,o.f]).join(",")?wn:l:(l!==wn||t.offsetParent||t===Fi||s.svg||(o=a.display,a.display="block",(i=t.parentNode)&&t.offsetParent||(r=1,n=t.nextSibling,Fi.appendChild(t)),l=Mi(t),o?a.display=o:wi(t,"display"),r&&(n?i.insertBefore(t,n):i?i.appendChild(t):Fi.removeChild(t))),e&&6<l.length?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)}function Ii(t,e,i,n,o,r){var s,a,l,u=t._gsap,c=o||ki(t,!0),d=u.xOrigin||0,h=u.yOrigin||0,p=u.xOffset||0,f=u.yOffset||0,m=c[0],g=c[1],v=c[2],y=c[3],b=c[4],T=c[5],D=e.split(" "),S=parseFloat(D[0])||0,w=parseFloat(D[1])||0;i?c!==wn&&(a=m*y-g*v)&&(l=S*(-g/a)+w*(m/a)-(m*T-g*b)/a,S=S*(y/a)+w*(-v/a)+(v*T-y*b)/a,w=l):(S=(s=Di(t)).x+(~D[0].indexOf("%")?S/100*s.width:S),w=s.y+(~(D[1]||D[0]).indexOf("%")?w/100*s.height:w)),n||!1!==n&&u.smooth?(b=S-d,T=w-h,u.xOffset=p+(b*m+T*v)-b,u.yOffset=f+(b*g+T*y)-T):u.xOffset=u.yOffset=0,u.xOrigin=S,u.yOrigin=w,u.smooth=!!n,u.origin=e,u.originIsAbsolute=!!i,t.style[vn]="0px 0px",r&&(Ci(r,u,"xOrigin",d,S),Ci(r,u,"yOrigin",h,w),Ci(r,u,"xOffset",p,u.xOffset),Ci(r,u,"yOffset",f,u.yOffset)),t.setAttribute("data-svg-origin",S+" "+w)}function Hi(t,e,i){var n=j(e);return z(parseFloat(e)+parseFloat(_i(t,"x",i+"px",n)))+n}function Bi(t,e,i){var n,o,r,s,a,l,u,c=Ri.style,d=i._gsap;for(o in c.cssText=getComputedStyle(i).cssText+";position:absolute;display:block;",c[gn]=e,Li.body.appendChild(Ri),n=_n(Ri,1),ln)(r=d[o])!==(s=n[o])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(o)<0&&(a=j(r)!==(u=j(s))?_i(i,o,r,u):parseFloat(r),l=parseFloat(s),t._pt=new Ze(t._pt,d,o,a,l-a,oi),t._pt.u=u||0,t._props.push(o));Li.body.removeChild(Ri)}Ge.version=ke.version=ni.version="3.2.4",Tt=1,e()&&be();var Oi,Li,Fi,Gi,$i,Ri,zi,Ni,Wi=Te.Power0,Vi=Te.Power1,ji=Te.Power2,Xi=Te.Power3,Ui=Te.Power4,Yi=Te.Linear,qi=Te.Quad,Ki=Te.Cubic,Qi=Te.Quart,Zi=Te.Quint,Ji=Te.Strong,tn=Te.Elastic,en=Te.Back,nn=Te.SteppedEase,on=Te.Bounce,rn=Te.Sine,sn=Te.Expo,an=Te.Circ,ln={},un=180/Math.PI,cn=Math.PI/180,dn=Math.atan2,hn=/([A-Z])/g,pn=/(?:left|right|width|margin|padding|x)/i,fn=/[\s,\(]\S/,mn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},gn="transform",vn=gn+"Origin",yn="O,Moz,ms,Ms,Webkit".split(","),bn=function(t,e,i){var n=(e||$i).style,o=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);o--&&!(yn[o]+t in n););return o<0?null:(3===o?"ms":0<=o?yn[o]:"")+t},Tn={deg:1,rad:1,turn:1},Dn={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Sn={clearProps:function(t,e,i,n,o){if("isFromStart"!==o.data){var r=t._pt=new Ze(t._pt,e,i,0,0,xi);return r.u=n,r.pr=-10,r.tween=o,t._props.push(i),1}}},wn=[1,0,0,1,0,0],Cn={},_n=function(t,e){var i=t._gsap||new xe(t);if("x"in i&&!e&&!i.uncache)return i;var n,o,r,s,a,l,u,c,d,h,p,f,m,g,v,y,b,T,D,S,w,C,_,A,E,x,P,M,k,I,H,B,O=t.style,L=i.scaleX<0,F="deg",G=vi(t,vn)||"0";return n=o=r=l=u=c=d=h=p=0,s=a=1,i.svg=!(!t.getCTM||!Si(t)),g=ki(t,i.svg),i.svg&&(A=!i.uncache&&t.getAttribute("data-svg-origin"),Ii(t,A||G,!!A||i.originIsAbsolute,!1!==i.smooth,g)),f=i.xOrigin||0,m=i.yOrigin||0,g!==wn&&(T=g[0],D=g[1],S=g[2],w=g[3],n=C=g[4],o=_=g[5],6===g.length?(s=Math.sqrt(T*T+D*D),a=Math.sqrt(w*w+S*S),l=T||D?dn(D,T)*un:0,(d=S||w?dn(S,w)*un+l:0)&&(a*=Math.cos(d*cn)),i.svg&&(n-=f-(f*T+m*S),o-=m-(f*D+m*w))):(B=g[6],I=g[7],P=g[8],M=g[9],k=g[10],H=g[11],n=g[12],o=g[13],r=g[14],u=(v=dn(B,k))*un,v&&(A=C*(y=Math.cos(-v))+P*(b=Math.sin(-v)),E=_*y+M*b,x=B*y+k*b,P=C*-b+P*y,M=_*-b+M*y,k=B*-b+k*y,H=I*-b+H*y,C=A,_=E,B=x),c=(v=dn(-S,k))*un,v&&(y=Math.cos(-v),H=w*(b=Math.sin(-v))+H*y,T=A=T*y-P*b,D=E=D*y-M*b,S=x=S*y-k*b),l=(v=dn(D,T))*un,v&&(A=T*(y=Math.cos(v))+D*(b=Math.sin(v)),E=C*y+_*b,D=D*y-T*b,_=_*y-C*b,T=A,C=E),u&&359.9<Math.abs(u)+Math.abs(l)&&(u=l=0,c=180-c),s=z(Math.sqrt(T*T+D*D+S*S)),a=z(Math.sqrt(_*_+B*B)),v=dn(C,_),d=2e-4<Math.abs(v)?v*un:0,p=H?1/(H<0?-H:H):0),i.svg&&(g=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Pi(vi(t,gn)),g&&t.setAttribute("transform",g))),90<Math.abs(d)&&Math.abs(d)<270&&(L?(s*=-1,d+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,d+=d<=0?180:-180)),i.x=((i.xPercent=n&&Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)?0:n)+"px",i.y=((i.yPercent=o&&Math.round(t.offsetHeight/2)===Math.round(-o)?-50:0)?0:o)+"px",i.z=r+"px",i.scaleX=z(s),i.scaleY=z(a),i.rotation=z(l)+F,i.rotationX=z(u)+F,i.rotationY=z(c)+F,i.skewX=d+F,i.skewY=h+F,i.transformPerspective=p+"px",(i.zOrigin=parseFloat(G.split(" ")[2])||0)&&(O[vn]=An(G)),i.xOffset=i.yOffset=0,i.force3D=Ft.force3D,i.renderTransform=i.svg?In:Ni?kn:En,i.uncache=0,i},An=function(t){return(t=t.split(" "))[0]+" "+t[1]},En=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,kn(t,e)},xn="0deg",Pn="0px",Mn=") ",kn=function(t,e){var i=e||this,n=i.xPercent,o=i.yPercent,r=i.x,s=i.y,a=i.z,l=i.rotation,u=i.rotationY,c=i.rotationX,d=i.skewX,h=i.skewY,p=i.scaleX,f=i.scaleY,m=i.transformPerspective,g=i.force3D,v=i.target,y=i.zOrigin,b="",T="auto"===g&&t&&1!==t||!0===g;if(y&&(c!==xn||u!==xn)){var D,S=parseFloat(u)*cn,w=Math.sin(S),C=Math.cos(S);S=parseFloat(c)*cn,r=Hi(v,r,w*(D=Math.cos(S))*-y),s=Hi(v,s,-Math.sin(S)*-y),a=Hi(v,a,C*D*-y+y)}m!==Pn&&(b+="perspective("+m+Mn),(n||o)&&(b+="translate("+n+"%, "+o+"%) "),!T&&r===Pn&&s===Pn&&a===Pn||(b+=a!==Pn||T?"translate3d("+r+", "+s+", "+a+") ":"translate("+r+", "+s+Mn),l!==xn&&(b+="rotate("+l+Mn),u!==xn&&(b+="rotateY("+u+Mn),c!==xn&&(b+="rotateX("+c+Mn),d===xn&&h===xn||(b+="skew("+d+", "+h+Mn),1===p&&1===f||(b+="scale("+p+", "+f+Mn),v.style[gn]=b||"translate(0, 0)"},In=function(t,e){var i,n,o,r,s,a=e||this,l=a.xPercent,u=a.yPercent,c=a.x,d=a.y,h=a.rotation,p=a.skewX,f=a.skewY,m=a.scaleX,g=a.scaleY,v=a.target,y=a.xOrigin,b=a.yOrigin,T=a.xOffset,D=a.yOffset,S=a.forceCSS,w=parseFloat(c),C=parseFloat(d);h=parseFloat(h),p=parseFloat(p),(f=parseFloat(f))&&(p+=f=parseFloat(f),h+=f),h||p?(h*=cn,p*=cn,i=Math.cos(h)*m,n=Math.sin(h)*m,o=Math.sin(h-p)*-g,r=Math.cos(h-p)*g,p&&(f*=cn,s=Math.tan(p-f),o*=s=Math.sqrt(1+s*s),r*=s,f&&(s=Math.tan(f),i*=s=Math.sqrt(1+s*s),n*=s)),i=z(i),n=z(n),o=z(o),r=z(r)):(i=m,r=g,n=o=0),(w&&!~(c+"").indexOf("px")||C&&!~(d+"").indexOf("px"))&&(w=_i(v,"x",c,"px"),C=_i(v,"y",d,"px")),(y||b||T||D)&&(w=z(w+y-(y*i+b*o)+T),C=z(C+b-(y*n+b*r)+D)),(l||u)&&(w=z(w+l/100*(s=v.getBBox()).width),C=z(C+u/100*s.height)),s="matrix("+i+","+n+","+o+","+r+","+w+","+C+")",v.setAttribute("transform",s),S&&(v.style[gn]=s)};f("padding,margin,Width,Radius",function(e,i){var t="Right",n="Bottom",o="Left",a=(i<3?["Top",t,n,o]:["Top"+o,"Top"+t,n+t,n+o]).map(function(t){return i<2?e+t:"border"+t+e});Sn[1<i?"border"+e:e]=function(e,t,i,n,o){var r,s;if(arguments.length<4)return r=a.map(function(t){return Ai(e,t,i)}),5===(s=r.join(" ")).split(r[0]).length?r[0]:s;r=(n+"").split(" "),s={},a.forEach(function(t,e){return s[t]=r[e]=r[e]||r[(e-1)/2|0]}),e.init(t,s,o)}});var Hn,Bn,On={name:"css",register:yi,targetTest:function(t){return t.style&&t.nodeType}
114,init:function(t,e,i,n,o){var r,s,a,l,u,c,d,h,p,f,m,g,v,y,b,T,D,S,w,C,_,A,E,x,P,M,k,I,H,B,O,L,F=this._props,G=t.style;for(d in Gi||yi(),e)if("autoRound"!==d&&(s=e[d],!re[d]||!Ie(d,e,i,n,t,o)))if(u=typeof s,c=Sn[d],"function"===u&&(u=typeof(s=s.call(i,n,t,o))),"string"===u&&~s.indexOf("random(")&&(s=J(s)),c)c(this,t,d,s,i)&&(b=1);else if("--"===d.substr(0,2))this.add(G,"setProperty",getComputedStyle(t).getPropertyValue(d)+"",s+"",n,o,0,0,d);else{if(r=Ai(t,d),l=parseFloat(r),(f="string"===u&&"="===s.charAt(1)?+(s.charAt(0)+"1"):0)&&(s=s.substr(2)),a=parseFloat(s),d in mn&&("autoAlpha"===d&&(1===l&&"hidden"===Ai(t,"visibility")&&a&&(l=0),Ci(this,G,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==d&&"transform"!==d&&~(d=mn[d]).indexOf(",")&&(d=d.split(",")[0])),m=d in ln)if(g||((v=t._gsap).renderTransform||_n(t),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new Ze(this._pt,G,gn,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===d)this._pt=new Ze(this._pt,v,"scaleY",v.scaleY,f?f*a:a-v.scaleY),F.push("scaleY",d),d+="X";else{if("transformOrigin"===d){L=O=B=void 0,B=(H=s).split(" "),O=B[0],L=B[1]||"50%","top"!==O&&"bottom"!==O&&"left"!==L&&"right"!==L||(H=O,O=L,L=H),B[0]=Dn[O]||O,B[1]=Dn[L]||L,s=B.join(" "),v.svg?Ii(t,s,0,y,0,this):((p=parseFloat(s.split(" ")[2])||0)!==v.zOrigin&&Ci(this,v,"zOrigin",v.zOrigin,p),Ci(this,G,d,An(r),An(s)));continue}if("svgOrigin"===d){Ii(t,s,1,y,0,this);continue}if(d in Cn){T=this,D=v,S=d,w=l,_=f,k=E=A=void 0,x=360,P=$(C=s),M=parseFloat(C)*(P&&~C.indexOf("rad")?un:1),I=w+(k=_?M*_:M-w)+"deg",P&&("short"===(A=C.split("_")[1])&&(k%=x)!=k%180&&(k+=k<0?x:-x),"cw"===A&&k<0?k=(k+36e9)%x-~~(k/x)*x:"ccw"===A&&0<k&&(k=(k-36e9)%x-~~(k/x)*x)),T._pt=E=new Ze(T._pt,D,S,w,k,ri),E.e=I,E.u="deg",T._props.push(S);continue}if("smoothOrigin"===d){Ci(this,v,"smooth",v.smooth,s);continue}if("force3D"===d){v[d]=s;continue}if("transform"===d){Bi(this,s,t);continue}}else d in G||(d=bn(d)||d);if(m||(a||0===a)&&(l||0===l)&&!fn.test(s)&&d in G)(h=(r+"").substr((l+"").length))!==(p=(s+"").substr(((a=a||0)+"").length)||(d in Ft.units?Ft.units[d]:h))&&(l=_i(t,d,r,p)),this._pt=new Ze(this._pt,m?v:G,d,l,f?f*a:a-l,"px"!==p||!1===e.autoRound||m?oi:ai),this._pt.u=p||0,h!==p&&(this._pt.b=r,this._pt.r=si);else if(d in G)Ei.call(this,t,d,r,s);else{if(!(d in t)){R(d,s);continue}this.add(t,d,t[d],s,n,o)}F.push(d)}b&&Qe(this)},get:Ai,aliases:mn,getSetter:function(t,e,i){var n=mn[e];return n&&n.indexOf(",")<0&&(e=n),e in ln&&e!==vn&&(t._gsap.x||Ai(t,"x"))?i&&zi===i?"scale"===e?pi:hi:(zi=i||{})&&("scale"===e?fi:mi):t.style&&!o(t.style[e])?ci:~e.indexOf("-")?di:Ue(t,e)},core:{_removeProperty:wi,_getMatrix:ki}};ni.utils.checkPrefix=bn,Bn=f("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(Hn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){ln[t]=1}),f(Hn,function(t){Ft.units[t]="deg",Cn[t]=1}),mn[Bn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+Hn,f("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");mn[e[1]]=Bn[e[0]]}),f("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Ft.units[t]="px"}),ni.registerPlugin(On);var Ln=ni.registerPlugin(On)||ni,Fn=Ln.core.Tween;t.Back=en,t.Bounce=on,t.CSSPlugin=On,t.Circ=an,t.Cubic=Ki,t.Elastic=tn,t.Expo=sn,t.Linear=Yi,t.Power0=Wi,t.Power1=Vi,t.Power2=ji,t.Power3=Xi,t.Power4=Ui,t.Quad=qi,t.Quart=Qi,t.Quint=Zi,t.Sine=rn,t.SteppedEase=nn,t.Strong=Ji,t.TimelineLite=ke,t.TimelineMax=ke,t.TweenLite=Ge,t.TweenMax=Fn,t.default=Ln,t.gsap=Ln,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function e(){return"undefined"!=typeof window}function i(){return n||e()&&(n=window.gsap)&&n.registerPlugin&&n}function p(t){return Math.round(1e4*t)/1e4}function f(t){return parseFloat(t||0)}function v(t,e){return f(t.getAttribute(e))}function y(t,e,i,n,o,r){return x(Math.pow((f(i)-f(t))*o,2)+Math.pow((f(n)-f(e))*r,2))}function b(t){return console.warn(t)}function T(t){return"non-scaling-stroke"===t.getAttribute("vector-effect")}function m(t){if(!(t=S(t)[0]))return 0;var e,i,n,o,r,s,a,l=t.tagName.toLowerCase(),u=t.style,c=1,d=1;T(t)&&(d=t.getScreenCTM(),c=x(d.a*d.a+d.b*d.b),d=x(d.d*d.d+d.c*d.c));try{i=t.getBBox()}catch(t){b("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var h=i||{x:0,y:0,width:0,height:0},p=h.x,f=h.y,m=h.width,g=h.height;if(i&&(m||g)||!E[l]||(m=v(t,E[l][0]),g=v(t,E[l][1]),"rect"!==l&&"line"!==l&&(m*=2,g*=2),"line"===l&&(p=v(t,"x1"),f=v(t,"y1"),m=Math.abs(m-p),g=Math.abs(g-f))),"path"===l)o=u.strokeDasharray,u.strokeDasharray="none",e=t.getTotalLength()||0,c!==d&&b("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),e*=(c+d)/2,u.strokeDasharray=o;else if("rect"===l)e=2*m*c+2*g*d;else if("line"===l)e=y(p,f,p+m,f+g,c,d);else if("polyline"===l||"polygon"===l)for(n=t.getAttribute("points").match(A)||[],"polygon"===l&&n.push(n[0],n[1]),e=0,r=2;r<n.length;r+=2)e+=y(n[r-2],n[r-1],n[r],n[r+1],c,d)||0;else"circle"!==l&&"ellipse"!==l||(s=m/2*c,a=g/2*d,e=Math.PI*(3*(s+a)-x((3*s+a)*(s+3*a))));return e||0}function g(t,e){if(!(t=S(t)[0]))return[0,0];e=e||m(t)+1;var i=w.getComputedStyle(t),n=i.strokeDasharray||"",o=f(i.strokeDashoffset),r=n.indexOf(",");return r<0&&(r=n.indexOf(" ")),e<(n=r<0?e:f(n.substr(0,r))||1e-5)&&(n=e),[Math.max(0,-o),Math.max(0,n-o)]}function D(){e()&&(w=window,_=n=i(),S=n.utils.toArray,C=-1!==((w.navigator||{}).userAgent||"").indexOf("Edge"))}var n,S,w,C,_,A=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,E={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},x=Math.sqrt,o={version:"3.2.4",name:"drawSVG",register:function(t){n=t,D()},init:function(t,e){if(!t.getBBox)return!1;_||D();var i,n,o,r,s,a,l,u,c,d,h=m(t)+1;
114return this._style=t.style,this._target=t,e+""=="true"?e="0 100%":e?-1===(e+"").indexOf(" ")&&(e="0 "+e):e="0 0",s=e,l=(i=g(t,a=h))[0],d=s.indexOf(" "),c=d<0?(u=void 0!==l?l+"":s,s):(u=s.substr(0,d),s.substr(d+1)),u=~u.indexOf("%")?f(u)/100*a:f(u),n=(c=~c.indexOf("%")?f(c)/100*a:f(c))<u?[c,u]:[u,c],this._length=p(h+10),0===i[0]&&0===n[0]?(o=Math.max(1e-5,n[1]-h),this._dash=p(h+o),this._offset=p(h-i[1]+o),this._offsetPT=this.add(this,"_offset",this._offset,p(h-n[1]+o))):(this._dash=p(i[1]-i[0])||1e-6,this._offset=p(-i[0]),this._dashPT=this.add(this,"_dash",this._dash,p(n[1]-n[0])||1e-5),this._offsetPT=this.add(this,"_offset",this._offset,p(-n[0]))),C&&(r=w.getComputedStyle(t)).strokeLinecap!==r.strokeLinejoin&&(n=f(r.strokeMiterlimit),this.add(t.style,"strokeMiterlimit",n,n+.01)),this._live=T(t)||~(e+"").indexOf("live"),this._props.push("drawSVG"),1},render:function(t,e){var i,n,o,r,s=e._pt,a=e._style;if(s){for(e._live&&(i=m(e._target)+11)!==e._length&&(n=i/e._length,e._length=i,e._offsetPT.s*=n,e._offsetPT.c*=n,e._dashPT?(e._dashPT.s*=n,e._dashPT.c*=n):e._dash*=n);s;)s.r(t,s.d),s=s._next;o=e._dash,r=e._offset,i=e._length,a.strokeDashoffset=e._offset,1!==t&&t?a.strokeDasharray=o+"px,"+i+"px":(o-r<.001&&i-o<=10&&(a.strokeDashoffset=r+1),a.strokeDasharray=r<.001&&i-o<=10?"none":r===o?"0px, 999999px":o+"px,"+i+"px")}},getLength:m,getPosition:g};i()&&n.registerPlugin(o),t.DrawSVGPlugin=o,t.default=o,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";var S=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uD
114FC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;function z(t){return i.getComputedStyle(t)}function u(t,e){var i;return o(t)?t:"string"==(i=typeof t)&&!e&&t?r.call(Y.querySelectorAll(t),0):t&&"object"==i&&"length"in t?r.call(t,0):t?[t]:[]}function N(t){return"absolute"===t.position||!0===t.absolute}function w(t,e){for(var i,n=e.length;-1<--n;)if(i=e[n],t.substr(0,i.length)===i)return i.length}function l(t,e){void 0===t&&(t="");var i=~t.indexOf("++"),n=1;return i&&(t=t.split("++").join("")),function(){return"<"+e+" style='position:relative;display:inline-block;'"+(t?" class='"+t+(i?n++:"")+"'>":">")}}function W(t,e,i){var n=t.nodeType;if(1===n||9===n||11===n)for(t=t.firstChild;t;t=t.nextSibling)W(t,e,i);else 3!==n&&4!==n||(t.nodeValue=t.nodeValue.split(e).join(i))}function V(t,e){for(var i=e.length;-1<--i;)t.push(e[i])}function j(t,e,i){for(var n;t&&t!==e;){if(n=t._next||t.nextSibling)return n.textContent.charAt(0)===i;t=t.parentNode||t._parent}}function X(t){var e,i,n=u(t.childNodes),o=n.length;for(e=0;e<o;e++)(i=n[e])._isSplit?X(i):(e&&3===i.previousSibling.nodeType?i.previousSibling.nodeValue+=3===i.nodeType?i.nodeValue:i.firstChild.nodeValue:3!==i.nodeType&&t.insertBefore(i.firstChild,i),t.removeChild(i))}function U(t,e){return parseFloat(e[t])||0}function c(t,e,i,n,o,r,s){var a,l,u,c,d,h,p,f,m,g,v,y,b=z(t),T=U("paddingLeft",b),D=-999,S=U("borderBottomWidth",b)+U("borderTopWidth",b),w=U("borderLeftWidth",b)+U("borderRightWidth",b),C=U("paddingTop",b)+U("paddingBottom",b),_=U("paddingLeft",b)+U("paddingRight",b),A=.2*U("fontSize",b),E=b.textAlign,x=[],P=[],M=[],k=e.wordDelimiter||" ",I=e.tag?e.tag:e.span?"span":"div",H=e.type||e.split||"chars,words,lines",B=o&&~H.indexOf("lines")?[]:null,O=~H.indexOf("words"),L=~H.indexOf("chars"),F=N(e),G=e.linesClass,$=~(G||"").indexOf("++"),R=[];for($&&(G=G.split("++").join("")),u=(l=t.getElementsByTagName("*")).length,d=[],a=0;a<u;a++)d[a]=l[a];if(B||F)for(a=0;a<u;a++)((h=(c=d[a]).parentNode===t)||F||L&&!O)&&(y=c.offsetTop,B&&h&&Math.abs(y-D)>A&&("BR"!==c.nodeName||0===a)&&(p=[],B.push(p),D=y),F&&(c._x=c.offsetLeft,c._y=y,c._w=c.offsetWidth,c._h=c.offsetHeight),B&&((c._isSplit&&h||!L&&h||O&&h||!O&&c.parentNode.parentNode===t&&!c.parentNode._isSplit)&&(p.push(c),c._x-=T,j(c,t,k)&&(c._wordEnd=!0)),"BR"===c.nodeName&&(c.nextSibling&&"BR"===c.nextSibling.nodeName||0===a)&&B.push([])));for(a=0;a<u;a++)h=(c=d[a]).parentNode===t,"BR"!==c.nodeName?(F&&(m=c.style,O||h||(c._x+=c.parentNode._x,c._y+=c.parentNode._y),m.left=c._x+"px",m.top=c._y+"px",m.position="absolute",m.display="block",m.width=c._w+1+"px",m.height=c._h+"px"),!O&&L?c._isSplit?(c._next=c.nextSibling,c.parentNode.appendChild(c)):c.parentNode._isSplit?(c._parent=c.parentNode,!c.previousSibling&&c.firstChild&&(c.firstChild._isFirst=!0),c.nextSibling&&" "===c.nextSibling.textContent&&!c.nextSibling.nextSibling&&R.push(c.nextSibling),c._next=c.nextSibling&&c.nextSibling._isFirst?null:c.nextSibling,c.parentNode.removeChild(c),d.splice(a--,1),u--):h||
114(y=!c.nextSibling&&j(c.parentNode,t,k),c.parentNode._parent&&c.parentNode._parent.appendChild(c),y&&c.parentNode.appendChild(Y.createTextNode(" ")),"span"===I&&(c.style.display="inline"),x.push(c)):c.parentNode._isSplit&&!c._isSplit&&""!==c.innerHTML?P.push(c):L&&!c._isSplit&&("span"===I&&(c.style.display="inline"),x.push(c))):B||F?(c.parentNode&&c.parentNode.removeChild(c),d.splice(a--,1),u--):O||t.appendChild(c);for(a=R.length;-1<--a;)R[a].parentNode.removeChild(R[a]);if(B){for(F&&(g=Y.createElement(I),t.appendChild(g),v=g.offsetWidth+"px",y=g.offsetParent===t?0:t.offsetLeft,t.removeChild(g)),m=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(f=" "===k&&(!F||!O&&!L),a=0;a<B.length;a++){for(p=B[a],(g=Y.createElement(I)).style.cssText="display:block;text-align:"+E+";position:"+(F?"absolute;":"relative;"),G&&(g.className=G+($?a+1:"")),M.push(g),u=p.length,l=0;l<u;l++)"BR"!==p[l].nodeName&&(c=p[l],g.appendChild(c),f&&c._wordEnd&&g.appendChild(Y.createTextNode(" ")),F&&(0===l&&(g.style.top=c._y+"px",g.style.left=T+y+"px"),c.style.top="0px",y&&(c.style.left=c._x-y+"px")));0===u?g.innerHTML=" ":O||L||(X(g),W(g,String.fromCharCode(160)," ")),F&&(g.style.width=v,g.style.height=c._h+"px"),t.appendChild(g)}t.style.cssText=m}F&&(s>t.clientHeight&&(t.style.height=s-C+"px",t.clientHeight<s&&(t.style.height=s+S+"px")),r>t.clientWidth&&(t.style.width=r-_+"px",t.clientWidth<r&&(t.style.width=r+w+"px"))),V(i,x),O&&V(n,P),V(o,M)}function d(t,e,i,n){var o,r,s=u(t.childNodes),a=s.length,l=N(e);if(3!==t.nodeType||1<a){for(e.absolute=!1,o=0;o<a;o++)3===(r=s[o]).nodeType&&!/\S+/.test(r.nodeValue)||(l&&3!==r.nodeType&&"inline"===z(r).display&&(r.style.display="inline-block",r.style.position="relative"),r._isSplit=!0,d(r,e,i,n));return e.absolute=l,void(t._isSplit=!0)}!function(t,e,i,n){var o,r,s,a,l,u,c,d,h=e.tag?e.tag:e.span?"span":"div",p=~(e.type||e.split||"chars,words,lines").indexOf("chars"),f=N(e),m=e.wordDelimiter||" ",g=" "!==m?"":f?"­ ":" ",v="</"+h+">",y=1,b=e.specialChars?"function"==typeof e.specialChars?e.specialChars:w:null,T=Y.createElement("div"),D=t.parentNode;for(D.insertBefore(T,t),T.textContent=t.nodeValue,D.removeChild(t),c=-1!==(o=function t(e){var i=e.nodeType,n="";if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=t(e)}else if(3===i||4===i)return e.nodeValue;return n}(t=T)).indexOf("<"),!1!==e.reduceWhiteSpace&&(o=o.replace(_," ").replace(C,"")),c&&(o=o.split("<").join("{{LT}}")),l=o.length,r=(" "===o.charAt(0)?g:"")+i(),s=0;s<l;s++)if(u=o.charAt(s),b&&(d=b(o.substr(s),e.specialChars)))u=o.substr(s,d||1),r+=p&&" "!==u?n()+u+"</"+h+">":u,s+=d-1;else if(u===m&&o.charAt(s-1)!==m&&s){for(r+=y?v:"",y=0;o.charAt(s+1)===m;)r+=g,s++;s===l-1?r+=g:")"!==o.charAt(s+1)&&(r+=g+i(),y=1)}else"{"===u&&"{{LT}}"===o.substr(s,6)?(r+=p?n()+"{{LT}}</"+h+">":"{{LT}}",s+=5):55296<=u.charCodeAt(0)&&u.charCodeAt(0)<=56319||65024<=o.charCodeAt(s+1)&&o.charCodeAt(s+1)<=65039?(a=((o.substr(s,12).split(S)||[])[1]||"").length||2,r+=p&&" "!==u?n()+o.substr(s,a)+"</"+h+">":o.substr(s,a),s+=a-1):r+=p&&" "!==u?n()+u+"</"+h+">":u;t.outerHTML=r+(y?v:""),c&&W(D,"{{LT}}","<")}(t,e,i,n)}var Y,i,n,e,C=/(?:\r|\n|\t\t)/g,_=/(?:\s\s+)/g,o=Array.isArray,r=[].slice,s=((e=a.prototype).split=function(t){this.isSplit&&this.revert(),this.vars=t=t||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var e,i,n,o=this.elements.length,r=t.tag?t.tag:t.span?"span":"div",s=l(t.wordsClass,r),a=l(t.charsClass,r);-1<--o;)n=this.elements[o],this._originals[o]=n.innerHTML,e=n.clientHeight,i=n.clientWidth,d(n,t,s,a),c(n,t,this.chars,this.words,this.lines,i,e);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},e.revert=function(){var i=this._originals;if(!i)throw"revert() call wasn't scoped properly.";return this.elements.forEach(function(t,e){return t.innerHTML=i[e]}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},a.create=function(t,e){return new a(t,e)},a);function a(t,e){n||(Y=document,i=window,n=1),this.elements=u(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},this.split(e)}s.version="3.2.4",t.SplitText=s,t.default=s,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esMo
114dule",{value:!0}):delete t.default}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function e(){return"undefined"!=typeof window}function i(){return n||e()&&(n=window.gsap)&&n.registerPlugin&&n}function s(t){return"string"==typeof t}function f(t,e){var i="x"===e?"Width":"Height",n="scroll"+i,o="client"+i;return t===m||t===d||t===h?Math.max(d[n],h[n])-(m["inner"+i]||d[o]||h[o]):t[n]-t["offset"+i]}function a(t,e){var i="scroll"+("x"===e?"Left":"Top");return t===m&&(null!=t.pageXOffset?i="page"+e.toUpperCase()+"Offset":t=null!=d[i]?d:h),function(){return t[i]}}function o(t,e){var i=p(t)[0].getBoundingClientRect(),n=!e||e===m||e===h,o=n?{top:d.clientTop-(m.pageYOffset||d.scrollTop||h.scrollTop||0),left:d.clientLeft-(m.pageXOffset||d.scrollLeft||h.scrollLeft||0)}:e.getBoundingClientRect(),r={x:i.left-o.left,y:i.top-o.top};return!n&&e&&(r.x+=a(e,"x")(),r.y+=a(e,"y")()),r}function l(t,e,i,n){return isNaN(t)||"object"==typeof t?s(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+n:"max"===t?f(e,i):Math.min(f(e,i),o(t,e)[i]):parseFloat(t)}function u(){n=i(),e()&&n&&document.body&&(m=window,h=document.body,d=document.documentElement,p=n.utils.toArray,n.config({autoKillThreshold:7}),g=n.config(),c=1)}var n,c,m,d,h,p,g,r={version:"3.2.4",name:"scrollTo",rawVars:1,register:function(t){n=t,u()},init:function(t,e,i,n,o){c||u();var r=this;r.isWin=t===m,r.target=t,r.tween=i,"object"!=typeof e?s((e={y:e}).y)&&"max"!==e.y&&"="!==e.y.charAt(1)&&(e.x=e.y):e.nodeType&&(e={y:e,x:e}),r.vars=e,r.autoKill=!!e.autoKill,r.getX=a(t,"x"),r.getY=a(t,"y"),r.x=r.xPrev=r.getX(),r.y=r.yPrev=r.getY(),null!=e.x?(r.add(r,"x",r.x,l(e.x,t,"x",r.x)-(e.offsetX||0),n,o,Math.round),r._props.push("scrollTo_x")):r.skipX=1,null!=e.y?(r.add(r,"y",r.y,l(e.y,t,"y",r.y)-(e.offsetY||0),n,o,Math.round),r._props.push("scrollTo_y")):r.skipY=1},render:function(t,e){for(var i,n,o,r,s,a=e._pt,l=e.target,u=e.tween,c=e.autoKill,d=e.xPrev,h=e.yPrev,p=e.isWin;a;)a.r(t,a.d),a=a._next;i=p||!e.skipX?e.getX():d,o=(n=p||!e.skipY?e.getY():h)-h,r=i-d,s=g.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),c&&(!e.skipX&&(s<r||r<-s)&&i<f(l,"x")&&(e.skipX=1),!e.skipY&&(s<o||o<-s)&&n<f(l,"y")&&(e.skipY=1),e.skipX&&e.skipY&&(u.kill(),e.vars.onAutoKill&&e.vars.onAutoKill.apply(u,e.vars.onAutoKillParams||[]))),p?m.scrollTo(e.skipX?i:e.x,e.skipY?n:e.y):(e.skipY||(l.scrollTop=e.y),e.skipX||(l.scrollLeft=e.x)),e.xPrev=e.x,e.yPrev=e.y},kill:function(t){var e="scrollTo"===t;!e&&"scrollTo_x"!==t||(this.skipX=1),!e&&"scrollTo_y"!==t||(this.skipY=1)}};r.max=f,r.getOffset=o,r.buildGetter=a,i()&&n.registerPlugin(r),t.ScrollToPlugin=r,t.default=r,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete t.default}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(f){"use strict";var m="animsition",g={init:function(o){o=f.extend({inClass:"fade-in",outClass:"fade-out",inDuration:1500,outDuration:800,linkElement:".animsition-link",loading:!0,loadingParentElement:"body",loadingClass:"animsition-loading",loadingInner:"",timeout:!1,timeoutCountdown:5e3,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body",transition:function(t){window.location.href=t}},o),g.settings={timer:!1,data:{inClass:"animsition-in-class",inDuration:"animsition-in-duration",outClass:"animsition-out-class",outDuration:"animsition-out-duration",overlay:"animsition-overlay"},events:{inStart:"animsition.inStart",inEnd:"animsition.inEnd",outStart:"animsition.outStart",outEnd:"animsition.outEnd"}};var t=g.supportCheck.call(this,o);return t||!(0<o.browser.length)||t&&this.length?(g.optionCheck.call(this,o)&&f("."+o.overlayClass).length<=0&&g.addOverlay.call(this,o),o.loading&&f("."+o.loadingClass).length<=0&&g.addLoading.call(this,o),this.each(function(){var n=this,t=f(this),e=f(window),i=f(document);t.data(m)||(o=f.extend({},o),t.data(m,{options:o}),o.timeout&&g.addTimer.call(n),o.onLoadEvent&&e.on("load."+m,function(){g.settings.timer&&clearTimeout(g.settings.timer),g.in.call(n)}),e.on("pageshow."+m,function(t){t.originalEvent.persisted&&g.in.call(n)}),e.on("unload."+m,function(){}),i.on("click."+m,o.linkElement,function(t){t.preventDefault();var e=f(this),i=e.attr("href");2===t.which||t.metaKey||t.shiftKey||-1!==navigator.platform.toUpperCase().indexOf("WIN")&&t.ctrlKey?window.open(i,"_blank"):g.out.call(n,e,i)}))})):("console"in window||(window.console={},window.console.log=function(t){return t}),this.length||console.log("Animsition: Element does not exist on page."),t||console.log("Animsition: Does not support this browser."),g.destroy.call(this))},addOverlay:function(t){f(t.overlayParentElement).prepend('<div class="'+t.overlayClass+'"></div>')},addLoading:function(t){f(t.loadingParentElement).append('<div class="'+t.loadingClass+'">'+t.loadingInner+"</div>")},removeLoading:function(){var t=f(this).data(m).options;f(t.loadingParentElement).children("."+t.loadingClass).fadeOut().remove()},addTimer:function(){var t=this,e=f(this).data(m).options;g.settings.timer=setTimeout(function(){g.in.call(t),f(window).off("load."+m)},e.timeoutCountdown)},supportCheck:function(t){var e=f(this),i=t.browser,n=i.length,o=!1;0===n&&(o=!0);for(var r=0;r<n;r++)if("string"==typeof e.css(i[r])){o=!0;break}return o},optionCheck:function(t){var e=f(this);return!(!t.overlay&&!e.data(g.settings.data.overlay))}
114,animationCheck:function(t,e,i){var n=f(this).data(m).options,o=typeof t,r=!e&&"number"==o,s=e&&"string"==o&&0<t.length;return r||s?t=t:e&&i?t=n.inClass:!e&&i?t=n.inDuration:e&&!i?t=n.outClass:e||i||(t=n.outDuration),t},in:function(){var t=this,e=f(this),i=e.data(m).options,n=e.data(g.settings.data.inDuration),o=e.data(g.settings.data.inClass),r=g.animationCheck.call(t,n,!1,!0),s=g.animationCheck.call(t,o,!0,!0),a=g.optionCheck.call(t,i),l=e.data(m).outClass;i.loading&&g.removeLoading.call(t),l&&e.removeClass(l),a?g.inOverlay.call(t,s,r):g.inDefault.call(t,s,r)},inDefault:function(t,e){var i=f(this);i.css({"animation-duration":e+"ms"}).addClass(t).trigger(g.settings.events.inStart).animateCallback(function(){i.removeClass(t).css({opacity:1}).trigger(g.settings.events.inEnd)})},inOverlay:function(t,e){var i=f(this),n=i.data(m).options;i.css({opacity:1}).trigger(g.settings.events.inStart),f(n.overlayParentElement).children("."+n.overlayClass).css({"animation-duration":e+"ms"}).addClass(t).animateCallback(function(){i.trigger(g.settings.events.inEnd)})},out:function(t,e){var i=this,n=f(this),o=n.data(m).options,r=t.data(g.settings.data.outClass),s=n.data(g.settings.data.outClass),a=t.data(g.settings.data.outDuration),l=n.data(g.settings.data.outDuration),u=r||s,c=a||l,d=g.animationCheck.call(i,u,!0,!1),h=g.animationCheck.call(i,c,!1,!1),p=g.optionCheck.call(i,o);n.data(m).outClass=d,p?g.outOverlay.call(i,d,h,e):g.outDefault.call(i,d,h,e)},outDefault:function(t,e,i){var n=f(this),o=n.data(m).options;n.css({"animation-duration":e+1+"ms"}).addClass(t).trigger(g.settings.events.outStart).animateCallback(function(){n.trigger(g.settings.events.outEnd),o.transition(i)})},outOverlay:function(t,e,i){var n=f(this),o=n.data(m).options,r=n.data(g.settings.data.inClass),s=g.animationCheck.call(this,r,!0,!0);f(o.overlayParentElement).children("."+o.overlayClass).css({"animation-duration":e+1+"ms"}).removeClass(s).addClass(t).trigger(g.settings.events.outStart).animateCallback(function(){n.trigger(g.settings.events.outEnd),o.transition(i)})},destroy:function(){return this.each(function(){var t=f(this);f(window).off("."+m),t.css({opacity:1}).removeData(m)})}};f.fn.animateCallback=function(e){var i="animationend webkitAnimationEnd";return this.each(function(){var t=f(this);t.on(i,function(){return t.off(i),e.call(this)})})},f.fn.animsition=function(t){return g[t]?g[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void f.error("Method "+t+" does not exist on jQuery."+m):g.init.apply(this,arguments)}}),function(t){"object"==typeof exports?module.exports=t():"function"==typeof define&&define.amd?define([],t):window.BezierEasing=t()}(function(){var p=1e-7,f=10,m="Float32Array"in this;function n(t,e){return 1-3*e+3*t}function o(t,e){return 3*e-6*t}function r(t){return 3*t}function g(t,e,i){return((n(e,i)*t+o(e,i))*t+r(e))*t}function v(t,e,i){return 3*n(e,i)*t*t+2*o(e,i)*t+r(e)}function t(r,e,s,i){if(4!==arguments.length)throw new Error("BezierEasing requires 4 arguments.");for(var t=0;t<4;++t)if("number"!=typeof arguments[t]||isNaN(arguments[t])||!isFinite(arguments[t]))throw new Error("BezierEasing arguments should be integers.");if(r<0||1<r||s<0||1<s)throw new Error("BezierEasing x values must be in [0, 1] range.");var a=m?new Float32Array(11):new Array(11);function n(t){for(var e=0,i=1;10!=i&&a[i]<=t;++i)e+=.1;var n=e+.1*((t-a[--i])/(a[i+1]-a[i])),o=v(n,r,s);return.001<=o?function(t,e){for(var i=0;i<4;++i){var n=v(e,r,s);if(0===n)return e;e-=(g(e,r,s)-t)/n}return e}(t,n):0===o?n:function(t,e,i){for(var n,o,r=0;0<(n=g(o=e+(i-e)/2,mX1,mX2)-t)?i=o:e=o,Math.abs(n)>p&&++r<f;);return o}(t,e,e+.1)}var o=!1;function l(){o=!0,r==e&&s==i||function(){for(var t=0;t<11;++t)a[t]=g(.1*t,r,s)}()}function u(t){return o||l(),r===e&&s===i?t:0===t?0:1===t?1:g(n(t),e,i)}u.getControlPoints=function(){return[{x:r,y:e},{x:s,y:i}]};var c=[r,e,s,i],d="BezierEasing("+c+")";u.toString=function(){return d};var h="cubic-bezier("+c+")";return u.toCSS=function(){return h},u}return t.css={ease:t(.25,.1,.25,1),linear:t(0,0,1,1),"ease-in":t(.42,0,1,1),"ease-out":t(0,0,.58,1),"ease-in-out":t(.42,0,.58,1)},t}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).Headroom=e()}(this,function(){"use strict";function t(){return"undefined"!=typeof window}function e(t){return t&&t.document&&function(t){return 9===t.nodeType}(t.document)}function h(t){return e(t)?function(t){var e=t.document,i=e.body,n=e.documentElement;return{scrollHeight:function(){return Math.max(i.scrollHeight,n.scrollHeight,i.offsetHeight,n.offsetHeight,i.clientHeight,n.clientHeight)}
114,height:function(){return t.innerHeight||n.clientHeight||i.clientHeight},scrollY:function(){return void 0!==t.pageYOffset?t.pageYOffset:(n||i.parentNode||i).scrollTop}}}(t):function(t){return{scrollHeight:function(){return Math.max(t.scrollHeight,t.offsetHeight,t.clientHeight)},height:function(){return Math.max(t.offsetHeight,t.clientHeight)},scrollY:function(){return t.scrollTop}}}(t)}function i(t,n,o){var e,i=function(){var e=!1;try{var t={get passive(){e=!0}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){e=!1}return e}(),r=!1,s=h(t),a=s.scrollY(),l={};function u(){var t=Math.round(s.scrollY()),e=s.height(),i=s.scrollHeight();l.scrollY=t,l.lastScrollY=a,l.direction=a<t?"down":"up",l.distance=Math.abs(t-a),l.isOutOfBounds=t<0||i<t+e,l.top=t<=n.offset,l.bottom=i<=t+e,l.toleranceExceeded=l.distance>n.tolerance[l.direction],o(l),a=t,r=!1}function c(){r||(r=!0,e=requestAnimationFrame(u))}var d=!!i&&{passive:!0,capture:!1};return t.addEventListener("scroll",c,d),u(),{destroy:function(){cancelAnimationFrame(e),t.removeEventListener("scroll",c,d)}}}function n(t,e){e=e||{},Object.assign(this,n.options,e),this.classes=Object.assign({},n.options.classes,e.classes),this.elem=t,this.tolerance=function(t){return t===Object(t)?t:{down:t,up:t}}(this.tolerance),this.initialised=!1,this.frozen=!1}return n.prototype={constructor:n,init:function(){return n.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout(function(t){t.scrollTracker=i(t.scroller,{offset:t.offset,tolerance:t.tolerance},t.update.bind(t))},100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin&&this.onPin.call(this))},freeze:function(){this.frozen=!0,this.addClass("frozen")},unfreeze:function(){this.frozen=!1,this.removeClass("frozen")},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(t){return"down"===t.direction&&!t.top&&t.toleranceExceeded},shouldPin:function(t){return"up"===t.direction&&t.toleranceExceeded||t.top},addClass:function(t){this.elem.classList.add.apply(this.elem.classList,this.classes[t].split(" "))},removeClass:function(t){this.elem.classList.remove.apply(this.elem.classList,this.classes[t].split(" "))},hasClass:function(t){return this.classes[t].split(" ").every(function(t){return this.classList.contains(t)},this.elem)},update:function(t){t.isOutOfBounds||!0!==this.frozen&&(t.top?this.top():this.notTop(),t.bottom?this.bottom():this.notBottom(),this.shouldUnpin(t)?this.unpin():this.shouldPin(t)&&this.pin())}},n.options={tolerance:{up:0,down:0},offset:0,scroller:t()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},n.cutsTheMustard=!!(t()&&function(){}.bind&&"classList"in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame),n}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var r=i[o];n&&n[r]&&(this.off(t,r),delete n[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(e,i){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("ev-emitter")):e.imagesLoaded=i(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){function o(t,e){for(var i in e)t[i]=e[i];return t}function r(t,e,i){if(!(this instanceof r))return new r(t,e,i);var n=t;return"string"==typeof t&&(n=document.querySelectorAll(t)),n?(this.elements=function(t){return Array.isArray(t)?t:"object"==typeof t&&"number"==typeof t.length?l.call(t):[t]}(n),this.options=o({},this.options),"function"==typeof e?i=e:o(this.options,e),i&&this.on("always",i),this.getImages(),s&&(this.jqDeferred=new s.Deferred),void setTimeout(this.check.bind(this))):void a.error("Bad element for imagesLoaded "+(n||t))}function i(t){this.img=t}function n(t,e){this.url=t,this.element=e,this.img=new Image}var s=e.jQuery,a=e.console,l=Array.prototype.slice;(r.prototype=Object.create(t.prototype)).options={},r.prototype.getImages=function(){this.images=[],this.elements.forEac
114h(this.addElementImages,this)},r.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&u[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var r=t.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){var s=r[n];this.addElementBackgroundImages(s)}}}};var u={1:!0,9:!0,11:!0};return r.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},r.prototype.addImage=function(t){var e=new i(t);this.images.push(e)},r.prototype.addBackground=function(t,e){var i=new n(t,e);this.images.push(i)},r.prototype.check=function(){function e(t,e,i){setTimeout(function(){n.progress(t,e,i)})}var n=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once("progress",e),t.check()}):void this.complete()},r.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&a&&a.log("progress: "+i,t,e)},r.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},(i.prototype=Object.create(t.prototype)).check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},i.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},r.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((s=t).fn.imagesLoaded=function(t,e){return new r(this,t,e).jqDeferred.promise(s(this))})},r.makeJQueryPlugin(),r}),function(f,m){function g(t,e){var i=t.getBoundingClientRect(),n=i.top,o=i.bottom,r=i.left,s=i.right,a=f.extend({tolerance:0,viewport:m},e),l=!1,u=a.viewport.jquery?a.viewport:f(a.viewport);u.length||(console.warn("isInViewport: The viewport selector you have provided matches no element on page."),console.warn("isInViewport: Defaulting to viewport as window"),u=f(m));var c=u.height(),d=u.width(),h=u[0].toString();if(u[0]!==m&&"[object Window]"!==h&&"[object DOMWindow]"!==h){var p=u[0].getBoundingClientRect();n-=p.top,o-=p.top,r-=p.left,s-=p.left,d-=g.scrollBarWidth=g.scrollBarWidth||function(t){var e,i=f("<div></div>").css({width:"100%"});return t.append(i),e=t.width()-i.width(),i.remove(),e}(u)}return a.tolerance=~~Math.round(parseFloat(a.tolerance)),a.tolerance<0&&(a.tolerance=c+a.tolerance),s<=0||d<=r?l:l=a.tolerance?n<=a.tolerance&&o>=a.tolerance:0<o&&n<=c}String.prototype.hasOwnProperty("trim")||(String.prototype.trim=function(){return this.replace(/^\s*(.*?)\s*$/,"$1")});function e(t){if(1===arguments.length&&"function"==typeof t&&(t=[t]),!(t instanceof Array))throw new SyntaxError("isInViewport: Argument(s) passed to .do/.run should be a function or an array of functions");for(var e=0;e<t.length;e++)if("function"==typeof t[e])for(var i=0;i<this.length;
114i++)t[e].call(f(this[i]));else console.warn("isInViewport: Argument(s) passed to .do/.run should be a function or an array of functions"),console.warn("isInViewport: Ignoring non-function values in array and moving on");return this}f.fn.do=function(t){return console.warn("isInViewport: .do is deprecated as it causes issues in IE and some browsers since it's a reserved word. Use $.fn.run instead i.e., $(el).run(fn)."),e(t)},f.fn.run=e;function n(t){if(t){var e=t.split(",");return 1===e.length&&isNaN(e[0])&&(e[1]=e[0],e[0]=void 0),{tolerance:e[0]?e[0].trim():void 0,viewport:e[1]?f(e[1].trim()):void 0}}return{}}f.extend(f.expr[":"],{"in-viewport":f.expr.createPseudo?f.expr.createPseudo(function(e){return function(t){return g(t,n(e))}}):function(t,e,i){return g(t,n(i[3]))}}),f.fn.isInViewport=function(i){return this.filter(function(t,e){return g(e,i)})}}(jQuery,window),function(e,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("jquery")):e.jQueryBridget=i(e,e.jQuery)}(window,function(t,e){"use strict";function i(u,o,c){(c=c||e||t.jQuery)&&(o.prototype.option||(o.prototype.option=function(t){c.isPlainObject(t)&&(this.options=c.extend(!0,this.options,t))}),c.fn[u]=function(t){return"string"!=typeof t?(function(t,n){t.each(function(t,e){var i=c.data(e,u);i?(i.option(n),i._init()):(i=new o(e,n),c.data(e,u,i))})}(this,t),this):function(t,r,s){var a,l="$()."+u+'("'+r+'")';return t.each(function(t,e){var i=c.data(e,u);if(i){var n=i[r];if(n&&"_"!=r.charAt(0)){var o=n.apply(i,s);a=void 0===a?o:a}else d(l+" is not a valid method")}else d(u+" not initialized. Cannot call methods, i.e. "+l)}),void 0!==a?a:t}(this,t,r.call(arguments,1))},n(c))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var r=Array.prototype.slice,o=t.console,d=void 0===o?function(){}:function(t){o.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var r=i[o];n&&n[r]&&(this.off(t,r),delete n[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function v(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function y(t){var e=getComputedStyle(t);return e||i("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function b(t){if(function(){if(!w){w=!0;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.boxSizing="border-box";var e=document.body||document.documentElement;e.appendChild(t);var i=y(t);T=200==Math.round(v(i.width)),b.isBoxSizeOuter=T,e.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=y(t);if("none"==e.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<S;e++){t[D[e]]=0}return t}();var i={};i.width=t.offsetWidth,i.height=t.offsetHeight;for(var n=i.isBorderBox="border-box"==e.boxSizing,o=0;o<S;o++){var r=D[o],s=e[r],a=parseFloat(s);i[r]=isNaN(a)?0:a}var l=i.paddingLeft+i.paddingRight,u=i.paddingTop+i.paddingBottom,c=i.marginLeft+i.marginRight,d=i.marginTop+i.marginBottom,h=i.borderLeftWidth+i.borderRightWidth,p=i.borderTopWidth+i.borderBottomWidth,f=n&&T,m=v(e.width);!1!==m&&(i.width=m+(f?0:l+h));var g=v(e.height);return!1!==g&&(i.height=g+(f?0:u+p)),i.innerWidth=i.width-(l+h),i.innerHeight=i.height-(u+p),i.outerWidth=i.width+c,i.outerHeight=i.height+d,i}}var T,i="undefined"==typeof console?function(){}:function(t){console.error(t)},D=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],S=D.length,w=!1;return b}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var i=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(t,e){return t[i](e)}}),function(e,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
114sandro-matches-selector/matches-selector"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("desandro-matches-selector")):e.fizzyUIUtils=i(e,e.matchesSelector)}(window,function(u,r){var c={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},e=Array.prototype.slice;c.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?e.call(t):[t]},c.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},c.getParent=function(t,e){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,r(t,e))return t},c.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},c.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},c.filterFindElements=function(t,n){t=c.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!n)return void o.push(t);r(t,n)&&o.push(t);for(var e=t.querySelectorAll(n),i=0;i<e.length;i++)o.push(e[i])}}),o},c.debounceMethod=function(t,e,n){n=n||100;var o=t.prototype[e],r=e+"Timeout";t.prototype[e]=function(){var t=this[r];clearTimeout(t);var e=arguments,i=this;this[r]=setTimeout(function(){o.apply(i,e),delete i[r]},n)}},c.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},c.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var d=u.console;return c.htmlInit=function(a,l){c.docReady(function(){var t=c.toDashed(l),o="data-"+t,e=document.querySelectorAll("["+o+"]"),i=document.querySelectorAll(".js-"+t),n=c.makeArray(e).concat(c.makeArray(i)),r=o+"-options",s=u.jQuery;n.forEach(function(e){var t,i=e.getAttribute(o)||e.getAttribute(r);try{t=i&&JSON.parse(i)}catch(t){return void(d&&d.error("Error parsing "+o+" on "+e.className+": "+t))}var n=new a(e,t);s&&s.data(e,l,n)})})},c}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var n=document.documentElement.style,o="string"==typeof n.transition?"transition":"WebkitTransition",r="string"==typeof n.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],a={transform:r,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"},l=i.prototype=Object.create(t.prototype);l.constructor=i,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.getSize=function(){this.size=e(this.element)},l.css=function(t){var e=this.element.style;for(var i in t){e[a[i]||i]=t[i]}},l.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],r=parseFloat(n),s=parseFloat(o),a=this.layout.size;-1!=n.indexOf("%")&&(r=r/100*a.width),-1!=o.indexOf("%")&&(s=s/100*a.height),r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=e?a.paddingLeft:a.paddingRight,s-=i?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},l.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var l=n?"paddingTop":"paddingBottom",u=n?"top":"bottom",c=n?"bottom":"top",d=this.position.y+t[l];e[u]=this.getYValue(d),e[c]="",this.css(e),this.emitEvent("layout",[this])},l.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},l.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},l._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!o||this.isTransitioning){var r=t-i,s=e-n,a={};a.transform=this.getTranslate(r,s),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},l.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},l.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},l._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},l.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var u="opacity,"+r.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});l.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:u,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(s,this,!1)}},l.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},l.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};l.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=c[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!null}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(s,this,!1),this.isTransitioning=!1},l._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(d)},l.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){return o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},l.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},l.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}),function(o,r){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,
114i,n){return r(o,t,e,i,n)}):"object"==typeof module&&module.exports?module.exports=r(o,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):o.Outlayer=r(o,o.EvEmitter,o.getSize,o.fizzyUIUtils,o.Outlayer.Item)}(window,function(t,e,o,r,n){"use strict";function s(t,e){var i=r.getQueryElement(t);if(i){this.element=i,u&&(this.$element=u(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(e);var n=++c;this.element.outlayerGUID=n,(d[n]=this)._create(),this._getOption("initLayout")&&this.layout()}else l&&l.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function a(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}function i(){}var l=t.console,u=t.jQuery,c=0,d={};s.namespace="outlayer",s.Item=n,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var h=s.prototype;r.extend(h,e.prototype),h.option=function(t){r.extend(this.options,t)},h._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),r.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=new i(e[o],this);n.push(r)}return n},h._filterFindItemElements=function(t){return r.filterFindElements(t,this.options.itemSelector)},h.getItemElements=function(){return this.items.map(function(t){return t.element})},h.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},h._init=h.layout,h._resetLayout=function(){this.getSize()},h.getSize=function(){this.size=o(this.element)},h._getMeasurement=function(t,e){var i,n=this.options[t];n?("string"==typeof n?i=this.element.querySelector(n):n instanceof HTMLElement&&(i=n),this[t]=i?o(i)[e]:n):this[t]=0},h.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},h._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},h._layoutItems=function(t,i){if(this._emitCompleteOnItems("layout",t),t&&t.length){var n=[];t.forEach(function(t){var e=this._getItemLayoutPosition(t);e.item=t,e.isInstant=i||t.isLayoutInstant,n.push(e)},this),this._processLayoutQueue(n)}},h._getItemLayoutPosition=function(){return{x:0,y:0}},h._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},h.updateStagger=function(){var t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],n=e&&e[2];return i.length?(i=parseFloat(i))*(p[n]||1):0}(t),this.stagger)},h._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},h._getContainerSize=i,h._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},h._emitCompleteOnItems=function(e,t){function i(){o.dispatchEvent(e+"Complete",null,[t])}function n(){++s==r&&i()}var o=this,r=t.length;if(t&&r){var s=0;t.forEach(function(t){t.once(e,n)})}else i()}
114,h.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),u)if(this.$element=this.$element||u(this.element),e){var o=u.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},h.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},h.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},h.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},h.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){r.removeFrom(this.stamps,t),this.unignore(t)},this)},h._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),r.makeArray(t)},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},h._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},h._manageStamp=i,h._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,n=o(t);return{left:e.left-i.left-n.marginLeft,top:e.top-i.top-n.marginTop,right:i.right-e.right-n.marginRight,bottom:i.bottom-e.bottom-n.marginBottom}},h.handleEvent=r.handleEvent,h.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},h.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},h.onresize=function(){this.resize()},r.debounceMethod(s,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var t=o(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},h.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},h.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},h.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},h.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var i=this.updateStagger();t.forEach(function(t,e){t.stagger(e*i),t.reveal()})}},h.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var i=this.updateStagger();t.forEach(function(t,e){t.stagger(e*i),t.hide()})}},h.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},h.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},h.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},h.getItems=function(t){t=r.makeArray(t);var i=[];return t.forEach(function(t){var e=this.getItem(t);e&&i.push(e)},this),i},h.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),r.removeFrom(this.items,t)},this)},h.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete d[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},s.data=function(t){var e=(t=r.getQueryElement(t))&&t.outlayerGUID;return e&&d[e]},s.create=function(t,e){var i=a(s);return i.defaults=r.extend({},s.defaults),r.extend(i.defaults,e),i.compatOptions=r.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=a(n),r.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var p={ms:1,s:1e3};return s.Item=n,s}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),n=i._create;i._create=function(){this.id=this.layout.itemGUID++,n.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var n=e[i];this.sortData[i]=n(this.element,this)}}};var o=i.destroy;return i.destroy=function(){o.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(e,i){"use strict";function n(t){(this.isotope=t)&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=n.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){o[t]=function(){return i.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var t=e(this.isotope.element);
vendor: 6,284 bytes, line 114
114return this.isotope.size&&t&&t.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var i=t+e,n="outer"+e;if(this._getMeasurement(i,n),!this[i]){var o=this.getFirstItemSize();this[i]=o&&o[n]||this.isotope.size["inner"+e]}},o.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&e(t.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},n.modes={},n.create=function(t,e){function i(){n.apply(this,arguments)}return(i.prototype=Object.create(o)).constructor=i,e&&(i.options=e),n.modes[i.prototype.namespace=t]=i},n}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,u){var e=t.create("masonry");e.compatOptions.fitWidth="isFitWidth";var i=e.prototype;return i._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},i.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],e=t&&t.element;this.columnWidth=e&&u(e).outerWidth||this.containerWidth}var i=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,o=n/i,r=i-n%i;o=Math[r&&r<1?"round":"floor"](o),this.cols=Math.max(o,1)},i.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,e=u(t);this.containerWidth=e&&e.innerWidth},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var n=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),o={x:this.columnWidth*n.col,y:n.y},r=n.y+t.size.outerHeight,s=i+n.col,a=n.col;a<s;a++)this.colYs[a]=r;return o},i._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},i._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++)e[n]=this._getColGroupY(n,t);return e},i._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},i._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=1<t&&i+t>this.cols?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},i._manageStamp=function(t){var e=u(t),i=this._getElementOffset(t),n=this._getOption("originLeft")?i.left:i.right,o=n+e.outerWidth,r=Math.floor(n/this.columnWidth);r=Math.max(0,r);var s=Math.floor(o/this.columnWidth);s-=o%this.columnWidth?0:1,s=Math.min(this.cols-1,s);for(var a=(this._getOption("originTop")?i.top:i.bottom)+e.outerHeight,l=r;l<=s;l++)this.colYs[l]=Math.max(a,this.colYs[l])},i._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},i._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var r in e.prototype)o[r]||(n[r]=e.prototype[r]);var s=n.measureColumns;n.measureColumns=function(){this.items=this.isotope.filteredItems,s.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(s,a){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(t,e,
114i,n,o,r){return a(s,t,e,i,n,o,r)}):"object"==typeof module&&module.exports?module.exports=a(s,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):s.Isotope=a(s,s.Outlayer,s.getSize,s.matchesSelector,s.fizzyUIUtils,s.Isotope.Item,s.Isotope.LayoutMode)}(window,function(t,i,e,n,r,o,s){var a=t.jQuery,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},u=i.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});u.Item=o,u.LayoutMode=s;var c=u.prototype;c._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),i.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],s.modes)this._initLayoutMode(t)},c.reloadItems=function(){this.itemGUID=0,i.prototype.reloadItems.call(this)},c._itemize=function(){for(var t=i.prototype._itemize.apply(this,arguments),e=0;e<t.length;e++){t[e].id=this.itemGUID++}return this._updateItemsSortData(t),t},c._initLayoutMode=function(t){var e=s.modes[t],i=this.options[t]||{};this.options[t]=e.options?r.extend(e.options,i):i,this.modes[t]=new e(this)},c.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},c._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},c.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},c._init=c.arrange,c._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},c._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e},c._bindArrangeComplete=function(){function t(){e&&i&&n&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}var e,i,n,o=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){n=!0,t()})},c._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],n=[],o=[],r=this._getFilterTest(e),s=0;s<t.length;s++){var a=t[s];if(!a.isIgnored){var l=r(a);l&&i.push(a),l&&a.isHidden?n.push(a):l||a.isHidden||o.push(a)}}return{matches:i,needReveal:n,needHide:o}},c._getFilterTest=function(e){return a&&this.options.isJQueryFiltering?function(t){return a(t.element).is(e)}:"function"==typeof e?function(t){return e(t.element)}:function(t){return n(t.element,e)}},c.updateSortData=function(t){var e;e=t?(t=r.makeArray(t),this.getItems(t)):this.items,this._getSorters(),this._updateItemsSortData(e)},c._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=d(i)}},c._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var d=function(t){if("string"!=typeof t)return t;var e=l(t).split(" "),i=e[0],n=i.match(/^\[(.+)\]$/),o=function(e,i){return e?function(t){return t.getAttribute(e)}:function(t){var e=t.querySelector(i);return e&&e.textContent}}(n&&n[1],i),r=u.sortDataParsers[e[1]];return r?function(t){return t&&r(o(t))}:function(t){return t&&o(t)}};u.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},c._sort=function(){if(this.options.sortBy){var t=r.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=function(s,a){return function(t,e){for(var i=0;i<s.length;i++){var n=s[i],o=t.sortData[n],r=e.sortData[n];if(r<o||o<r)return(r<o?1:-1)*((void 0!==a[n]?a[n]:a)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},c._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},c._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},c._resetLayout=function(){i.prototype._resetLayout.call(this),this._mode()._resetLayout()},c._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},c._manageStamp=function(t){this._mode()._manageStamp(t)},c._getContainerSize=function(){return this._mode()._getContainerSize()},c.needsResizeLayout=function(){return this._mode().needsResizeLayout()},c.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},c.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},c._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},c.insert=function(t){var e=this.addItems(t);if(e.length){var i,n,o=e.length;for(i=0;i<o;i++)n=e[i],this.element.appendChild(n.element);var r=this._filter(e).matches;for(i=0;i<o;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<o;i++)delete e[i].isLayoutInstant;this.reveal(r)}};var h=c.remove;return c.remove=function(t){t=r.makeArray(t);var e=this.getItems(t);h.call(this,t);for(var i=e&&e.length,n=0;i&&n<i;n++){var o=e[n];r.removeFrom(this.filteredItems,o)}},c.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},c._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var n=t.apply(this,e);return this.options.transitionDuration=i,n},c.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},u}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/rect",e):"object"==typeof module&&module.exports?module.exports=e():(t.Packery=t.Packery||{},t.Packery.Rect=e())}(window,function(){function a(t){for(var e in a.defaults)this[e]=a.defaults[e];for(e in t)this[e]=t[e]}a.defaults={x:0,y:0,width:0,height:0};var t=a.prototype;return t.contains=function(t){var e=t.width||0,i=t.height||0;return this.x<=t.x&&this.y<=t.y&&this.x+this.width>=t.x+e&&this.y+this.height>=t.y+i},t.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,n=t.x+t.width,o=t.y+t.height;return this.x<n&&e>t.x&&this.y<o&&i>t.y},t.getMaximalFreeRects=function(t){if(!this.overlaps(t))return!1;var e,i=[],n=this.x+this.width,o=this.y+this.height,r=t.x+t.width,s=t.y+t.height;return this.y<t.y&&(e=new a({x:this.x,y:this.y,width:this.width,height:t.y-this.y}),i.push(e)),r<n&&(e=new a({x:r,y:this.y,width:n-r,height:this.height}),i.push(e)),s<o&&(e=new a({x:this.x,y:s,width:this.width,height:o-s}),i.push(e)),this.x<t.x&&(e=new a({x:this.x,y:this.y,width:t.x-this.x,height:this.height}),i.push(e)),i},t.canFit=function(t){return this.width>=t.width&&this.height>=t.height},a}),function(t,e){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],e);else if("object"==typeof module&&module.exports)module.exports=e(require("./rect"));else{var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}}(window,function(e){function t(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=t.prototype;i.reset=function(){this.spaces=[];var t=new e({x:0,y:0,width:this.width,height:this.height});this.spaces.push(t),this.sorter=n[this.sortDirection]||n.downwardLeftToRight},i.pack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.canFit(t)){this.placeInSpace(t,i);break}}},i.columnPack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.x<=t.x&&i.x+i.width>=t.x+t.width&&i.height>=t.height-.01){t.y=i.y,this.placed(t);break}}},i.rowPack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.y<=t.y&&i.y+i.height>=t.y+t.height&&i.width>=t.width-.01){t.x=i.x,this.placed(t);break}}},i.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},i.placed=function(t){for(var e=[],i=0;i<this.spaces.length;i++){var n=this.spaces[i],o=n.getMaximalFreeRects(t);o?e.push.apply(e,o):e.push(n)}this.spaces=e,this.mergeSortSpaces()},i.mergeSortSpaces=function(){t.mergeRects(this.spaces),this.spaces.sort(this.sorter)},i.addSpace=function(t){this.spaces.push(t),this.mergeSortSpaces()},t.mergeRects=function(t){var e=0,i=t[e];t:for(;i;){for(var n=0,o=t[e+n];o;){if(o==i)n++;else{if(o.contains(i)){t.splice(e,1),i=t[e];continue t}i.contains(o)?t.splice(e+n,1):n++}o=t[e+n]}i=t[++e]}return t};var n={downwardLeftToRight:function(t,e){return t.y-e.y||t.x-e.x},rightwardTopToBottom:function(t,e){return t.x-e.x||t.y-e.y}};return t}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/item",["outlayer/outlayer","./rect"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("./rect")):t.Packery.Item=e(t.Outlayer,t.Packery.Rect)}(window,function(t,e){function i(){t.Item.apply(this,arguments)}var n="string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform",o=i.prototype=Object.create(t.Item.prototype),r=o._create;o._create=function(){r.call(this),this.rect=new e};var s=o.moveTo;return o.moveTo=function(t,e){var i=Math.abs(this.position.x-t),n=Math.abs(this.position.y-e);this.layout.dragItemCount&&!this.isPlacing&&!this.isTransitioning&&i<1&&n<1?this.goTo(t,e):s.apply(this,arguments)},o.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&n&&(this.element.style[n]="none"),this.isTransitioning=!1,this.get
114Size(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},o.disablePlacing=function(){this.isPlacing=!1},o.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},o.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",t.style.position="absolute"),t.style.width=this.size.width+"px",t.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(t)},o.positionDropPlaceholder=function(){this.dropPlaceholder.style[n]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},o.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},i}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(c,t,p,e,i){p.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var n=t.create("packery");n.Item=i;var o=n.prototype;function r(t,e){return t.position.y-e.position.y||t.position.x-e.position.x}function s(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}o._create=function(){t.prototype._create.call(this),this.packer=new e,this.shiftPacker=new e,this.isEnabled=!0,this.dragItemCount=0;var i=this;this.handleDraggabilly={dragStart:function(){i.itemDragStart(this.element)},dragMove:function(){i.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){i.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(t,e){e&&i.itemDragStart(t.currentTarget)},drag:function(t,e){e&&i.itemDragMove(t.currentTarget,e.position.left,e.position.top)},stop:function(t,e){e&&i.itemDragEnd(t.currentTarget)}}},o._resetLayout=function(){var t,e,i;this.getSize(),this._getMeasurements(),i=this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,"rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,"downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=i,this.packer.reset(),this.maxY=0,this.maxX=0},o._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},o._getItemLayoutPosition=function(t){if(this._setRectSize(t.element,t.rect),this.isShifting||0<this.dragItemCount){var e=this._getPackMethod();this.packer[e](t.rect)}else this.packer.pack(t.rect);return this._setMaxXY(t.rect),t.rect},o.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},o._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},o._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},o._setRectSize=function(t,e){var i=c(t),n=i.outerWidth,o=i.outerHeight;(n||o)&&(n=this._applyGridGutter(n,this.columnWidth),o=this._applyGridGutter(o,this.rowHeight)),e.width=Math.min(n,this.packer.width),e.height=Math.min(o,this.packer.height)},o._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return t=Math[i&&i<1?"round":"ceil"](t/e)*e},o._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},o._manageStamp=function(t){var e,i=this.getItem(t);if(i&&i.isPlacing)e=i.rect;else{var n=this._getElementOffset(t);
114e=new p({x:this._getOption("originLeft")?n.left:n.right,y:this._getOption("originTop")?n.top:n.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},o.sortItemsByPosition=function(){var t=this._getOption("horizontal")?s:r;this.items.sort(t)},o.fit=function(t,e,i){var n=this.getItem(t);n&&(this.stamp(n.element),n.enablePlacing(),this.updateShiftTargets(n),e=void 0===e?n.rect.x:e,i=void 0===i?n.rect.y:i,this.shift(n,e,i),this._bindFitEvents(n),n.moveTo(n.rect.x,n.rect.y),this.shiftLayout(),this.unstamp(n.element),this.sortItemsByPosition(),n.disablePlacing())},o._bindFitEvents=function(t){var e=this,i=0;function n(){2==++i&&e.dispatchEvent("fitComplete",null,[t])}t.once("layout",n),this.once("layoutComplete",n)},o.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},o.needsResizeLayout=function(){var t=c(this.element),e=this._getOption("horizontal")?"innerHeight":"innerWidth";return t[e]!=this.size[e]},o.resizeShiftPercentLayout=function(){var t=this._getItemsForLayout(this.items),e=this._getOption("horizontal"),i=e?"y":"x",n=e?"height":"width",o=e?"rowHeight":"columnWidth",r=e?"innerHeight":"innerWidth",s=this[o];if(s=s&&s+this.gutter){this._getMeasurements();var a=this[o]+this.gutter;t.forEach(function(t){var e=Math.round(t.rect[i]/s);t.rect[i]=e*a})}else{var l=c(this.element)[r]+this.gutter,u=this.packer[n];t.forEach(function(t){t.rect[i]=t.rect[i]/u*l})}this.shiftLayout()},o.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},o.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var o=this._getOption("originLeft"),r=this._getOption("originTop");this.stamps.forEach(function(t){var e=this.getItem(t);if(!e||!e.isPlacing){var i=this._getElementOffset(t),n=new p({x:o?i.left:i.right,y:r?i.top:i.bottom});this._setRectSize(t,n),this.shiftPacker.placed(n)}},this);var l,u=this._getOption("horizontal"),e=u?"rowHeight":"columnWidth",c=u?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var d=this[e];if(d=d&&d+this.gutter){var i=Math.ceil(t.rect[c]/d),n=Math.floor((this.shiftPacker[c]+this.gutter)/d);l=(n-i)*d;for(var s=0;s<n;s++)this._addShiftTarget(s*d,0,l)}else l=this.shiftPacker[c]+this.gutter-t.rect[c],this._addShiftTarget(0,0,l);var a=this._getItemsForLayout(this.items),h=this._getPackMethod();a.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[h](e),this._addShiftTarget(e.x,e.y,l);var i=u?e.x+e.width:e.x,n=u?e.y:e.y+e.height;if(this._addShiftTarget(i,n,l),d)for(var o=Math.round(e[c]/d),r=1;r<o;r++){var s=u?i:e.x+d*r,a=u?e.y+d*r:n;this._addShiftTarget(s,a,l)}},this)},o._addShiftTarget=function(t,e,i){var n=this._getOption("horizontal")?e:t;if(!(0!==n&&i<n)){var o=t+","+e;-1!=this.shiftTargetKeys.indexOf(o)||(this.shiftTargetKeys.push(o),this.shiftTargets.push({x:t,y:e}))}},o.shift=function(t,e,i){var n,o=1/0,r={x:e,y:i};this.shiftTargets.forEach(function(t){var e=function(t,e){var i=e.x-t.x,n=e.y-t.y;return Math.sqrt(i*i+n*n)}(t,r);e<o&&(n=t,o=e)}),t.rect.x=n.x,t.rect.y=n.y};o.itemDragMove=function(t,e,i){var n=this.isEnabled&&this.getItem(t);if(n){e-=this.size.paddingLeft,i-=this.size.paddingTop;var o=this,r=new Date;this._itemDragTime&&r-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(s,120)):(s(),this._itemDragTime=r)}function s(){o.shift(n,e,i),n.positionDropPlaceholder(),o.layout()}},o.itemDragEnd=function(t){var e=this.isEnabled&&this.getItem(t);if(e){clearTimeout(this.dragTimeout),e.element.classList.add("is-positioning-post-drag");var i=0,n=this;e.once("layout",o),this.once("layoutComplete",o),e.moveTo(e.rect.x,e.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),e.disablePlacing(),this.unstamp(e.element)}function o(){2==++i&&(e.element.classList.remove("is-positioning-post-drag"),e.hideDropPlaceholder(),n.dispatchEvent("dragItemPositioned",null,[e]))}},o.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},o.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},o._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},o.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},o.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},o._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var a=o.destroy;return o.destroy=function(){a.apply(this,arguments),this.isEnabled=!1},n.Rect=p,n.Packer=e,n}),function(t,e){"function"==typeof define&&define.amd?define(["isotope-layout/js/layout-mode","packery/js/packery"],e):"object"==typeof module&&module.exports?module.exports=e(require("isotope-layout/js/layout-mode"),require("packery")):e(t.Isotope.LayoutMode,t.Packery)}(window,function(t,e){var i=t.create("packery"),n=i.prototype,o={_getElementOffset:!0,_getMeasurement:!0};for(var r in e.prototype)o[r]||(n[r]=e.prototype[r]);var s=n._resetLayout;n._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,s.apply(this,arguments)};var a=n._getItemLayoutPosition;n._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,a.call(this,t)};var l=n.needsResizeLayout;n.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():l.call(this)};var u=n._getOption;return n._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:u.apply(this.isotope,arguments)},i}),function(i){var n={};function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}
114o.m=i,o.c=n,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=10)}([,,function(t,e){t.exports=function(t){"complete"===document.readyState||"interactive"===document.readyState?t.call():document.attachEvent?document.attachEvent("onreadystatechange",function(){"interactive"===document.readyState&&t.call()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",t)}},function(i,t,e){(function(t){var e;e="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},i.exports=e}).call(this,e(4))},function(t,e){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":i(window))&&(n=window)}t.exports=n},,,,,,function(t,e,i){t.exports=i(11)},function(t,e,i){"use strict";i.r(e);var n=i(2),o=i.n(n),r=i(3),s=i(12);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var l=r.window.jarallax;if(r.window.jarallax=s.default,r.window.jarallax.noConflict=function(){return r.window.jarallax=l,this},void 0!==r.jQuery){var u=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];Array.prototype.unshift.call(e,this);var n=s.default.apply(r.window,e);return"object"!==a(n)?n:this};u.constructor=s.default.constructor;var c=r.jQuery.fn.jarallax;r.jQuery.fn.jarallax=u,r.jQuery.fn.jarallax.noConflict=function(){return r.jQuery.fn.jarallax=c,this}}o()(function(){Object(s.default)(document.querySelectorAll("[data-jarallax]"))})},function(t,e,i){"use strict";i.r(e);var n=i(2),o=i.n(n),v=i(3);function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var s,y,c=v.window.navigator,a=-1<c.userAgent.indexOf("MSIE ")||-1<c.userAgent.indexOf("Trident/")||-1<c.userAgent.indexOf("Edge/"),d=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(c.userAgent),h=function(){for(var t="transform WebkitTransform MozTransform".split(" "),e=document.createElement("div"),i=0;i<t.length;i+=1)if(e&&void 0!==e.style[t[i]])return t[i];return!1}();function p(){y=d?(!s&&document.body&&((s=document.createElement("div")).style.cssText="position: fixed; top: -9999px; left: 0; height: 100vh; width: 0;",document.body.appendChild(s)),(s?s.clientHeight:0)||v.window.innerHeight||document.documentElement.clientHeight):v.window.innerHeight||document.documentElement.clientHeight}p(),v.window.addEventListener("resize",p),v.window.addEventListener("orientationchange",p),v.window.addEventListener("load",p),o()(function(){p()});var f=[];function m(){f.length&&(f.forEach(function(t,e){var i=t.instance,n=t.oldData,o=i.$item.getBoundingClientRect(),r={width:o.width,height:o.height,top:o.top,bottom:o.bottom,wndW:v.window.innerWidth,wndH:y},s=!n||n.wndW!==r.wndW||n.wndH!==r.wndH||n.width!==r.width||n.height!==r.height,a=s||!n||n.top!==r.top||n.bottom!==r.bottom;f[e].oldData=r,s&&i.onResize(),a&&i.onScroll()}),v.window.requestAnimationFrame(m))}function g(t,e){("object"===("undefined"==typeof HTMLElement?"undefined":u(HTMLElement))?t instanceof HTMLElement:t&&"object"===u(t)&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName)&&(t=[t]);for(var i,n=t.length,o=0,r=arguments.length,s=new Array(2<r?r-2:0),a=2;a<r;a++)s[a-2]=arguments[a];for(;o<n;o+=1)if("object"===u(e)||void 0===e?t[o].jarallax||(t[o].jarallax=new T(t[o],e)):t[o].jarallax&&(i=t[o].jarallax[e].apply(t[o].jarallax,s)),void 0!==i)return i;return t}var b=0,T=(r(D.prototype,[{key:"css",value:function(e,i){return"string"==typeof i?v.window.getComputedStyle(e).getPropertyValue(i):(i.transform&&h&&(i[h]=i.transform),Object.keys(i).forEac
114h(function(t){e.style[t]=i[t]}),e)}},{key:"extend",value:function(i){for(var t=arguments.length,n=new Array(1<t?t-1:0),e=1;e<t;e++)n[e-1]=arguments[e];return i=i||{},Object.keys(n).forEach(function(e){n[e]&&Object.keys(n[e]).forEach(function(t){i[t]=n[e][t]})}),i}},{key:"getWindowData",value:function(){return{width:v.window.innerWidth||document.documentElement.clientWidth,height:y,y:document.documentElement.scrollTop}}},{key:"initImg",value:function(){var t=this,e=t.options.imgElement;return e&&"string"==typeof e&&(e=t.$item.querySelector(e)),e instanceof Element||(t.options.imgSrc?(e=new Image).src=t.options.imgSrc:e=null),e&&(t.options.keepImg?t.image.$item=e.cloneNode(!0):(t.image.$item=e,t.image.$itemParent=e.parentNode),t.image.useImgTag=!0),!(!t.image.$item&&(null===t.image.src&&(t.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",t.image.bgImage=t.css(t.$item,"background-image")),!t.image.bgImage||"none"===t.image.bgImage))}},{key:"canInitParallax",value:function(){return h&&!this.options.disableParallax()}},{key:"init",value:function(){var t=this,e={position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden",pointerEvents:"none"},i={};if(!t.options.keepImg){var n=t.$item.getAttribute("style");if(n&&t.$item.setAttribute("data-jarallax-original-styles",n),t.image.useImgTag){var o=t.image.$item.getAttribute("style");o&&t.image.$item.setAttribute("data-jarallax-original-styles",o)}}if("static"===t.css(t.$item,"position")&&t.css(t.$item,{position:"relative"}),"auto"===t.css(t.$item,"z-index")&&t.css(t.$item,{zIndex:0}),t.image.$container=document.createElement("div"),t.css(t.image.$container,e),t.css(t.image.$container,{"z-index":t.options.zIndex}),a&&t.css(t.image.$container,{opacity:.9999}),t.image.$container.setAttribute("id","jarallax-container-".concat(t.instanceID)),t.$item.appendChild(t.image.$container),t.image.useImgTag?i=t.extend({"object-fit":t.options.imgSize,"object-position":t.options.imgPosition,"font-family":"object-fit: ".concat(t.options.imgSize,"; object-position: ").concat(t.options.imgPosition,";"),"max-width":"none"},e,i):(t.image.$item=document.createElement("div"),t.image.src&&(i=t.extend({"background-position":t.options.imgPosition,"background-size":t.options.imgSize,"background-repeat":t.options.imgRepeat,"background-image":t.image.bgImage||'url("'.concat(t.image.src,'")')},e,i))),"opacity"!==t.options.type&&"scale"!==t.options.type&&"scale-opacity"!==t.options.type&&1!==t.options.speed||(t.image.position="absolute"),"fixed"===t.image.position){var r=function(t){for(var e=[];null!==t.parentElement;)1===(t=t.parentElement).nodeType&&e.push(t);return e}(t.$item).filter(function(t){var e=v.window.getComputedStyle(t),i=e["-webkit-transform"]||e["-moz-transform"]||e.transform;return i&&"none"!==i||/(auto|scroll)/.test(e.overflow+e["overflow-y"]+e["overflow-x"])});t.image.position=r.length?"absolute":"fixed"}i.position=t.image.position,t.css(t.image.$item,i),t.image.$container.appendChild(t.image.$item),t.onResize(),t.onScroll(!0),t.options.onInit&&t.options.onInit.call(t),"none"!==t.css(t.$item,"background-image")&&t.css(t.$item,{"background-image":"none"}),t.addToParallaxList()}},{key:"addToParallaxList",value:function(){f.push({instance:this}),1===f.length&&v.window.requestAnimationFrame(m)}},{key:"removeFromParallaxList",value:function(){var i=this;f.forEach(function(t,e){t.instance.instanceID===i.instanceID&&f.splice(e,1)})}},{key:"destroy",value:function(){var t=this;t.removeFromParallaxList();var e=t.$item.getAttribute("data-jarallax-original-styles");if(t.$item.removeAttribute("data-jarallax-original-styles"),e?t.$item.setAttribute("style",e):t.$item.removeAttribute("style"),t.image.useImgTag){var i=t.image.$item.getAttribute("data-jarallax-original-styles");t.image.$item.removeAttribute("data-jarallax-original-styles"),i?t.image.$item.setAttribute("style",e):t.image.$item.removeAttribute("style"),t.image.$itemParent&&t.image.$itemParent.appendChild(t.image.$item)}t.$clipStyles&&t.$clipStyles.parentNode.removeChild(t.$clipStyles),t.image.$container&&t.image.$container.parentNode.removeChild(t.image.$container),t.options.onDestroy&&t.options.onDestroy.call(t),delete t.$item.jarallax}},{key:"clipContainer",value:function(){if("fixed"===this.image.position){var t=this,e=t.image.$container.getBoundingClientRect(),i=e.width,n=e.he
114ight;t.$clipStyles||(t.$clipStyles=document.createElement("style"),t.$clipStyles.setAttribute("type","text/css"),t.$clipStyles.setAttribute("id","jarallax-clip-".concat(t.instanceID)),(document.head||document.getElementsByTagName("head")[0]).appendChild(t.$clipStyles));var o="#jarallax-container-".concat(t.instanceID," {\n clip: rect(0 ").concat(i,"px ").concat(n,"px 0);\n clip: rect(0, ").concat(i,"px, ").concat(n,"px, 0);\n }");t.$clipStyles.styleSheet?t.$clipStyles.styleSheet.cssText=o:t.$clipStyles.innerHTML=o}}},{key:"coverImage",value:function(){var t,e=this,i=e.image.$container.getBoundingClientRect(),n=i.height,o=e.options.speed,r="scroll"===e.options.type||"scroll-opacity"===e.options.type,s=0,a=n;return r&&(o<0?(s=o*Math.max(n,y),y<n&&(s-=o*(n-y))):s=o*(n+y),1<o?a=Math.abs(s-y):o<0?a=s/o+Math.abs(s):a+=(y-n)*(1-o),s/=2),e.parallaxScrollDistance=s,t=r?(y-a)/2:(n-a)/2,e.css(e.image.$item,{height:"".concat(a,"px"),marginTop:"".concat(t,"px"),left:"fixed"===e.image.position?"".concat(i.left,"px"):"0",width:"".concat(i.width,"px")}),e.options.onCoverImage&&e.options.onCoverImage.call(e),{image:{height:a,marginTop:t},container:i}}},{key:"isVisible",value:function(){return this.isElementInViewport||!1}},{key:"onScroll",value:function(t){var e=this,i=e.$item.getBoundingClientRect(),n=i.top,o=i.height,r={},s=i;if(e.options.elementInViewport&&(s=e.options.elementInViewport.getBoundingClientRect()),e.isElementInViewport=0<=s.bottom&&0<=s.right&&s.top<=y&&s.left<=v.window.innerWidth,t||e.isElementInViewport){var a=Math.max(0,n),l=Math.max(0,o+n),u=Math.max(0,-n),c=Math.max(0,n+o-y),d=Math.max(0,o-(n+o-y)),h=Math.max(0,-n+y-o),p=1-(y-n)/(y+o)*2,f=1;if(o<y?f=1-(u||c)/o:l<=y?f=l/y:d<=y&&(f=d/y),"opacity"!==e.options.type&&"scale-opacity"!==e.options.type&&"scroll-opacity"!==e.options.type||(r.transform="translate3d(0,0,0)",r.opacity=f),"scale"===e.options.type||"scale-opacity"===e.options.type){var m=1;e.options.speed<0?m-=e.options.speed*f:m+=e.options.speed*(1-f),r.transform="scale(".concat(m,") translate3d(0,0,0)")}if("scroll"===e.options.type||"scroll-opacity"===e.options.type){var g=e.parallaxScrollDistance*p;"absolute"===e.image.position&&(g-=n),r.transform="translate3d(0,".concat(g,"px,0)")}e.css(e.image.$item,r),e.options.onScroll&&e.options.onScroll.call(e,{section:i,beforeTop:a,beforeTopEnd:l,afterTop:u,beforeBottom:c,beforeBottomEnd:d,afterBottom:h,visiblePercent:f,fromViewportCenter:p})}}},{key:"onResize",value:function(){this.coverImage(),this.clipContainer()}}]),D);function D(t,e){!function(t){if(!(t instanceof D))throw new TypeError("Cannot call a class as a function")}(this);var i=this;i.instanceID=b,b+=1,i.$item=t,i.defaults={type:"scroll",speed:.5,imgSrc:null,imgElement:".jarallax-img",imgSize:"cover",imgPosition:"50% 50%",imgRepeat:"no-repeat",keepImg:!1,elementInViewport:null,zIndex:-100,disableParallax:!1,disableVideo:!1,videoSrc:null,videoStartTime:0,videoEndTime:0,videoVolume:0,videoLoop:!0,videoPlayOnlyVisible:!0,videoLazyLoading:!0,onScroll:null,onInit:null,onDestroy:null,onCoverImage:null};var n=i.$item.dataset||{},o={};if(Object.keys(n).forEach(function(t){var e=t.substr(0,1).toLowerCase()+t.substr(1);e&&void 0!==i.defaults[e]&&(o[e]=n[t])}),i.options=i.extend({},i.defaults,o,e),i.pureOptions=i.extend({},i.options),Object.keys(i.options).forEach(function(t){"true"===i.options[t]?i.options[t]=!0:"false"===i.options[t]&&(i.options[t]=!1)}),i.options.speed=Math.min(2,Math.max(-1,parseFloat(i.options.speed))),"string"==typeof i.options.disableParallax&&(i.options.disableParallax=new RegExp(i.options.disableParallax)),i.options.disableParallax instanceof RegExp){var r=i.options.disableParallax;i.options.disableParallax=function(){return r.test(c.userAgent)}}if("function"!=typeof i.options.disableParallax&&(i.options.disableParallax=function(){return!1}),"string"==typeof i.options.disableVideo&&(i.options.disableVideo=new RegExp(i.options.disableVideo)),i.options.disableVideo instanceof RegExp){var s=i.options.disableVideo;i.options.disableVideo=function(){return s.test(c.userAgent)}}"function"!=typeof i.options.disableVideo&&(i.options.disableVideo=function(){return!1});var a=i.options.elementInViewport;a&&"object"===u(a)&&void 0!==a.length&&(a=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var i=[],n=!0,o=!1,r=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(i.push(s.value),!e||i.length!==e);n=!0);}catch(t){o=!0,r=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw r}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return l(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(t,e):void 0}}
114(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(a,1)[0]),a instanceof Element||(a=null),i.options.elementInViewport=a,i.image={src:i.options.imgSrc||null,$container:null,useImgTag:!1,position:/iPad|iPhone|iPod|Android/.test(c.userAgent)?"absolute":"fixed"},i.initImg()&&i.canInitParallax()&&i.init()}g.constructor=T,e.default=g}]),function(i){var n={};function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=i,o.c=n,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=0)}([function(t,e,i){t.exports=i(1)},function(t,e,i){"use strict";i.r(e);var n=i(2),o=i.n(n),r=i(3),s=i.n(r),a=i(5);Object(a.default)(),o()(function(){void 0!==s.a.jarallax&&s.a.jarallax(document.querySelectorAll("[data-jarallax-element]"))})},function(t,e){t.exports=function(t){"complete"===document.readyState||"interactive"===document.readyState?t.call():document.attachEvent?document.attachEvent("onreadystatechange",function(){"interactive"===document.readyState&&t.call()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",t)}},function(i,t,e){(function(t){var e;e="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},i.exports=e}).call(this,e(4))},function(t,e){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":i(window))&&(n=window)}t.exports=n},function(t,e,i){"use strict";i.r(e),i.d(e,"default",function(){return r});var n=i(3),o=i.n(n);function r(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:o.a.jarallax;if(void 0!==t){var e=t.constructor;["initImg","canInitParallax","init","destroy","clipContainer","coverImage","isVisible","onScroll","onResize"].forEach(function(m){var g=e.prototype[m];e.prototype[m]=function(){var t=this;"initImg"===m&&null!==t.$item.getAttribute("data-jarallax-element")&&(t.options.type="element",t.pureOptions.speed=t.$item.getAttribute("data-jarallax-element")||t.pureOptions.speed);for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];if("element"!==t.options.type)return g.apply(t,i);switch(t.pureOptions.threshold=t.$item.getAttribute("data-threshold")||"",m){case"init":var o=t.pureOptions.speed.split(" ");t.options.speed=t.pureOptions.speed||0,t.options.speedY=o[0]?parseFloat(o[0]):0,t.options.speedX=o[1]?parseFloat(o[1]):0;var r=t.pureOptions.threshold.split(" ");t.options.thresholdY=r[0]?parseFloat(r[0]):null,t.options.thresholdX=r[1]?parseFloat(r[1]):null,g.apply(t,i);var s=t.$item.getAttribute("data-jarallax-original-styles");return s&&t.$item.setAttribute("style",s),!0;case"onResize":var a=t.css(t.$item,"transform");t.css(t.$item,{transform:""});var l=t.$item.getBoundingClientRect();t.itemData={width:l.width,height:l.height,y:l.top+t.getWindowData().y,x:l.left},t.css(t.$item,{transform:a});break;case"onScroll":var u=t.getWindowData(),c=(u.y+u.height/2-t.itemData.y-t.itemData.height/2)/(u.height/2),d=c*t.options.speedY,h=c*t.options.speedX,p=d,f=h;null!==t.options.thresholdY&&d>t.options.thresholdY&&(p=0),null!==t.options.thresholdX&&h>t.options.thresholdX&&(f=0),t.css(t.$item,{transform:"translate3d(".concat(f,"px,").concat(p,"px,0)")});break;case"initImg":case"isVisible":case"clipContainer":case"coverImage":return!0}return g.apply(t,i)}})}}}]),function(i){var n={};function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}
114o.m=i,o.c=n,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=6)}([,,function(t,e){t.exports=function(t){"complete"===document.readyState||"interactive"===document.readyState?t.call():document.attachEvent?document.attachEvent("onreadystatechange",function(){"interactive"===document.readyState&&t.call()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",t)}},function(i,t,e){(function(t){var e;e="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},i.exports=e}).call(this,e(4))},function(t,e){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":i(window))&&(n=window)}t.exports=n},,function(t,e,i){t.exports=i(7)},function(t,e,i){"use strict";i.r(e);var n=i(8),o=i(3),r=i.n(o),s=i(2),a=i.n(s),l=i(9);r.a.VideoWorker=r.a.VideoWorker||n.default,Object(l.default)(),a()(function(){void 0!==r.a.jarallax&&r.a.jarallax(document.querySelectorAll("[data-jarallax-video]"))})},function(t,e,i){"use strict";i.r(e),i.d(e,"default",function(){return m});var n=i(3),c=i.n(n);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(){this.done=[],this.fail=[]}s.prototype={execute:function(t,e){var i=t.length;for(e=Array.prototype.slice.call(e);i;)t[--i].apply(null,e)},resolve:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];this.execute(this.done,e)},reject:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];this.execute(this.fail,e)},done:function(t){this.done.push(t)},fail:function(t){this.fail.push(t)}};var a=0,l=0,u=0,d=0,h=0,p=new s,f=new s,m=(r(g.prototype,[{key:"extend",value:function(){for(var t=arguments.length,i=new Array(t),e=0;e<t;e++)i[e]=arguments[e];var n=i[0]||{};
114return Object.keys(i).forEach(function(e){i[e]&&Object.keys(i[e]).forEach(function(t){n[t]=i[e][t]})}),n}},{key:"parseURL",value:function(t){var e,i,n,o,r,s=!(!(e=t.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/))||11!==e[1].length)&&e[1],a=!(!(i=t.match(/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/))||!i[3])&&i[3],l=(n=t.split(/,(?=mp4\:|webm\:|ogv\:|ogg\:)/),o={},r=0,n.forEach(function(t){var e=t.match(/^(mp4|webm|ogv|ogg)\:(.*)/);e&&e[1]&&e[2]&&(o["ogv"===e[1]?"ogg":e[1]]=e[2],r=1)}),!!r&&o);return s?(this.type="youtube",s):a?(this.type="vimeo",a):!!l&&(this.type="local",l)}},{key:"isValid",value:function(){return!!this.videoID}},{key:"on",value:function(t,e){this.userEventsList=this.userEventsList||[],(this.userEventsList[t]||(this.userEventsList[t]=[])).push(e)}},{key:"off",value:function(i,n){var o=this;this.userEventsList&&this.userEventsList[i]&&(n?this.userEventsList[i].forEach(function(t,e){t===n&&(o.userEventsList[i][e]=!1)}):delete this.userEventsList[i])}},{key:"fire",value:function(t){for(var e=this,i=arguments.length,n=new Array(1<i?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];this.userEventsList&&void 0!==this.userEventsList[t]&&this.userEventsList[t].forEach(function(t){t&&t.apply(e,n)})}},{key:"play",value:function(t){var e=this;e.player&&("youtube"===e.type&&e.player.playVideo&&(void 0!==t&&e.player.seekTo(t||0),c.a.YT.PlayerState.PLAYING!==e.player.getPlayerState()&&e.player.playVideo()),"vimeo"===e.type&&(void 0!==t&&e.player.setCurrentTime(t),e.player.getPaused().then(function(t){t&&e.player.play()})),"local"===e.type&&(void 0!==t&&(e.player.currentTime=t),e.player.paused&&e.player.play()))}},{key:"pause",value:function(){var e=this;e.player&&("youtube"===e.type&&e.player.pauseVideo&&c.a.YT.PlayerState.PLAYING===e.player.getPlayerState()&&e.player.pauseVideo(),"vimeo"===e.type&&e.player.getPaused().then(function(t){t||e.player.pause()}),"local"===e.type&&(e.player.paused||e.player.pause()))}},{key:"mute",value:function(){this.player&&("youtube"===this.type&&this.player.mute&&this.player.mute(),"vimeo"===this.type&&this.player.setVolume&&this.player.setVolume(0),"local"===this.type&&(this.$video.muted=!0))}},{key:"unmute",value:function(){var t=this;t.player&&("youtube"===t.type&&t.player.mute&&t.player.unMute(),"vimeo"===t.type&&t.player.setVolume&&t.player.setVolume(t.options.volume),"local"===t.type&&(t.$video.muted=!1))}},{key:"setVolume",value:function(t){var e=0<arguments.length&&void 0!==t&&t;this.player&&e&&("youtube"===this.type&&this.player.setVolume&&this.player.setVolume(e),"vimeo"===this.type&&this.player.setVolume&&this.player.setVolume(e),"local"===this.type&&(this.$video.volume=e/100))}},{key:"getVolume",value:function(e){this.player?("youtube"===this.type&&this.player.getVolume&&e(this.player.getVolume()),"vimeo"===this.type&&this.player.getVolume&&this.player.getVolume().then(function(t){e(t)}),"local"===this.type&&e(100*this.$video.volume)):e(!1)}},{key:"getMuted",value:function(e){this.player?("youtube"===this.type&&this.player.isMuted&&e(this.player.isMuted()),"vimeo"===this.type&&this.player.getVolume&&this.player.getVolume().then(function(t){e(!!t)}),"local"===this.type&&e(this.$video.muted)):e(null)}},{key:"getImageURL",value:function(e){var i=this;if(i.videoImage)e(i.videoImage);else{if("youtube"===i.type){var t=["maxresdefault","sddefault","hqdefault","0"],n=0,o=new Image;o.onload=function(){120!==(this.naturalWidth||this.width)||n===t.length-1?(i.videoImage="https://img.youtube.com/vi/".concat(i.videoID,"/").concat(t[n],".jpg"),e(i.videoImage)):(n+=1,this.src="https://img.youtube.com/vi/".concat(i.videoID,"/").concat(t[n],".jpg"))},o.src="https://img.youtube.com/vi/".concat(i.videoID,"/").concat(t[n],".jpg")}if("vimeo"===i.type){var r=new XMLHttpRequest;r.open("GET","https://vimeo.com/api/v2/video/".concat(i.videoID,".json"),!0),r.onreadystatechange=function(){if(4===this.readyState&&200<=this.status&&this.status<400){var t=JSON.parse(this.responseText);i.videoImage=t[0].thumbnail_large,e(i.videoImage)}},r.send(),r=null}}}},{key:"getIframe",value:function(t){this.getVideo(t)}},{key:"getVideo",value:function(l){var u=this;u.$video?l(u.$video):u.onAPIready(function(){var t,e;if(u.$video||((t=document.createElement("div")).style.display="none"),"youtube"===u.type){var i,n;u.playerOptions={},u.playerOptions.videoId=u.videoID,u.playerOptions.playerVars={autohide:1,rel:0,autoplay:0,playsinline:1},u.options.showContols||(u.playerOptions.playerVars.iv_load_policy=3,u.playerOptions.playerVars.modestbranding=1,u.playerOptions.playerVars.controls=0,u.playerOptions.playerVars.showinfo=0,u.playerOptions.playerVars.disablekb=1),u.playerOptions.events={onReady:function(e){u.options.mute?e.target.mute():u.options.volume&&e.target.setVolume(u.options.volume),u.options.autoplay&&u.play(u.options.startTime),u.fire("ready",e),u.options.loop&&!u.options.endTime&&(u.options.endTime=u.player.getDuration()-.1),setInterval(function(){u.getVolume(function(t){u.options.volume!==t&&(u.options.volume=t,u.fire("volumechange",e))})},150)},onStateChange:function(t){u.options.loop&&t.data===c.a.YT.PlayerState.ENDED&&u.play(u.options.startTime),i||t.data!==c.a.YT.PlayerState.PLAYING||(i=1,u.fire("started",t)),t.data===c.a.YT.PlayerState.PLAYING&&u.fire("play",t),t.data===c.a.YT.PlayerState.PAUSED&&u.fire("pause",t),t.data===c.a.YT.PlayerState.ENDED&&u.fire("ended",t),t.data===c.a.YT.PlayerState.PLAYING?n=setInterval(function(){u.fire("timeupdate",t),u.options.endTime&&u.player.getCurrentTime()>=u.options.endTime&&(u.options.loop?u.play(u.options.startTime):u.pause())},150):clearInterval(n)},onError:function(t){u.fire("error",t)}};var o=!u.$video;
114if(o){var r=document.createElement("div");r.setAttribute("id",u.playerID),t.appendChild(r),document.body.appendChild(t)}u.player=u.player||new c.a.YT.Player(u.playerID,u.playerOptions),o&&(u.$video=document.getElementById(u.playerID),u.videoWidth=parseInt(u.$video.getAttribute("width"),10)||1280,u.videoHeight=parseInt(u.$video.getAttribute("height"),10)||720)}if("vimeo"===u.type){if(u.playerOptions={id:u.videoID,autopause:0,transparent:0,autoplay:u.options.autoplay?1:0,loop:u.options.loop?1:0,muted:u.options.mute?1:0},u.options.volume&&(u.playerOptions.volume=u.options.volume),u.options.showContols||(u.playerOptions.badge=0,u.playerOptions.byline=0,u.playerOptions.portrait=0,u.playerOptions.title=0,u.playerOptions.background=1),!u.$video){var s="";Object.keys(u.playerOptions).forEach(function(t){""!==s&&(s+="&"),s+="".concat(t,"=").concat(encodeURIComponent(u.playerOptions[t]))}),u.$video=document.createElement("iframe"),u.$video.setAttribute("id",u.playerID),u.$video.setAttribute("src","https://player.vimeo.com/video/".concat(u.videoID,"?").concat(s)),u.$video.setAttribute("frameborder","0"),u.$video.setAttribute("mozallowfullscreen",""),u.$video.setAttribute("allowfullscreen",""),t.appendChild(u.$video),document.body.appendChild(t)}var a;u.player=u.player||new c.a.Vimeo.Player(u.$video,u.playerOptions),u.options.startTime&&u.options.autoplay&&u.player.setCurrentTime(u.options.startTime),u.player.getVideoWidth().then(function(t){u.videoWidth=t||1280}),u.player.getVideoHeight().then(function(t){u.videoHeight=t||720}),u.player.on("timeupdate",function(t){a||(u.fire("started",t),a=1),u.fire("timeupdate",t),u.options.endTime&&u.options.endTime&&t.seconds>=u.options.endTime&&(u.options.loop?u.play(u.options.startTime):u.pause())}),u.player.on("play",function(t){u.fire("play",t),u.options.startTime&&0===t.seconds&&u.play(u.options.startTime)}),u.player.on("pause",function(t){u.fire("pause",t)}),u.player.on("ended",function(t){u.fire("ended",t)}),u.player.on("loaded",function(t){u.fire("ready",t)}),u.player.on("volumechange",function(t){u.fire("volumechange",t)}),u.player.on("error",function(t){u.fire("error",t)})}"local"===u.type&&(u.$video||(u.$video=document.createElement("video"),u.options.showContols&&(u.$video.controls=!0),u.options.mute?u.$video.muted=!0:u.$video.volume&&(u.$video.volume=u.options.volume/100),u.options.loop&&(u.$video.loop=!0),u.$video.setAttribute("playsinline",""),u.$video.setAttribute("webkit-playsinline",""),u.$video.setAttribute("id",u.playerID),t.appendChild(u.$video),document.body.appendChild(t),Object.keys(u.videoID).forEach(function(t){var e,i,n,o;e=u.$video,i=u.videoID[t],n="video/".concat(t),(o=document.createElement("source")).src=i,o.type=n,e.appendChild(o)})),u.player=u.player||u.$video,u.player.addEventListener("playing",function(t){e||u.fire("started",t),e=1}),u.player.addEventListener("timeupdate",function(t){u.fire("timeupdate",t),u.options.endTime&&u.options.endTime&&this.currentTime>=u.options.endTime&&(u.options.loop?u.play(u.options.startTime):u.pause())}),u.player.addEventListener("play",function(t){u.fire("play",t)}),u.player.addEventListener("pause",function(t){u.fire("pause",t)}),u.player.addEventListener("ended",function(t){u.fire("ended",t)}),u.player.addEventListener("loadedmetadata",function(){u.videoWidth=this.videoWidth||1280,u.videoHeight=this.videoHeight||720,u.fire("ready"),u.options.autoplay&&u.play(u.options.startTime)}),u.player.addEventListener("volumechange",function(t){u.getVolume(function(t){u.options.volume=t}),u.fire("volumechange",t)}),u.player.addEventListener("error",function(t){u.fire("error",t)})),l(u.$video)})}},{key:"init",value:function(){this.playerID="VideoWorker-".concat(this.ID)}},{key:"loadAPI",value:function(){if(!l||!u){var t="";if("youtube"!==this.type||l||(l=1,t="https://www.youtube.com/iframe_api"),"vimeo"===this.type&&!u){if(u=1,void 0!==c.a.Vimeo)return;t="https://player.vimeo.com/api/player.js"}if(t){var e=document.createElement("script"),i=document.getElementsByTagName("head")[0];e.src=t,i.appendChild(e),e=i=null}}}},{key:"onAPIready",value:function(t){if("youtube"===this.type&&(void 0!==c.a.YT&&0!==c.a.YT.loaded||d?"object"===o(c.a.YT)&&1===c.a.YT.loaded?t():p.done(function(){t()}):(d=1,window.onYouTubeIframeAPIReady=function(){window.onYouTubeIframeAPIReady=null,p.resolve("done"),t()})),"vimeo"===this.type)if(void 0!==c.a.Vimeo||h)void 0!==c.a.Vimeo?t():f.done(function(){t()});else{h=1;var e=setInterval(function(){void 0!==c.a.Vimeo&&(clearInterval(e),f.resolve("done"),t())},20)}"local"===this.type&&t()}}]),g);function g(t,e){!function(t){if(!(t instanceof g))throw new TypeError("Cannot call a class as a function")}(this);var i=this;
114i.url=t,i.options_default={autoplay:!1,loop:!1,mute:!1,volume:100,showContols:!0,startTime:0,endTime:0},i.options=i.extend({},i.options_default,e),i.videoID=i.parseURL(t),i.videoID&&(i.ID=a,a+=1,i.loadAPI(),i.init())}},function(t,e,i){"use strict";i.r(e),i.d(e,"default",function(){return o});var s=i(8),n=i(3),l=i.n(n);function o(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:l.a.jarallax;if(void 0!==t){var e=t.constructor,n=e.prototype.onScroll;e.prototype.onScroll=function(){var i=this;n.apply(i),i.isVideoInserted||!i.video||i.options.videoLazyLoading&&!i.isElementInViewport||i.options.disableVideo()||(i.isVideoInserted=!0,i.video.getVideo(function(t){var e=t.parentNode;i.css(t,{position:i.image.position,top:"0px",left:"0px",right:"0px",bottom:"0px",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none",margin:0,zIndex:-1}),i.$video=t,"local"===i.video.type&&(i.image.src?i.$video.setAttribute("poster",i.image.src):i.image.$item&&"IMG"===i.image.$item.tagName&&i.image.$item.src&&i.$video.setAttribute("poster",i.image.$item.src)),i.image.$container.appendChild(t),e.parentNode.removeChild(e)}))};var a=e.prototype.coverImage;e.prototype.coverImage=function(){var t=this,e=a.apply(t),i=!!t.image.$item&&t.image.$item.nodeName;if(e&&t.video&&i&&("IFRAME"===i||"VIDEO"===i)){var n=e.image.height,o=n*t.image.width/t.image.height,r=(e.container.width-o)/2,s=e.image.marginTop;e.container.width>o&&(n=(o=e.container.width)*t.image.height/t.image.width,r=0,s+=(e.image.height-n)/2),"IFRAME"===i&&(n+=400,s-=200),t.css(t.$video,{width:"".concat(o,"px"),marginLeft:"".concat(r,"px"),height:"".concat(n,"px"),marginTop:"".concat(s,"px")})}return e};var i=e.prototype.initImg;e.prototype.initImg=function(){var t=i.apply(this);return this.options.videoSrc||(this.options.videoSrc=this.$item.getAttribute("data-jarallax-video")||null),this.options.videoSrc?(this.defaultInitImgResult=t,!0):t};var o=e.prototype.canInitParallax;e.prototype.canInitParallax=function(){var i=this,t=o.apply(i);if(!i.options.videoSrc)return t;var e=new s.default(i.options.videoSrc,{autoplay:!0,loop:i.options.videoLoop,showContols:!1,startTime:i.options.videoStartTime||0,endTime:i.options.videoEndTime||0,mute:i.options.videoVolume?0:1,volume:i.options.videoVolume||0});function n(){i.image.$default_item&&(i.image.$item=i.image.$default_item,i.image.$item.style.display="block",i.coverImage(),i.clipContainer(),i.onScroll())}if(e.isValid())if(this.options.disableParallax()&&(t=!0,i.image.position="absolute",i.options.type="scroll",i.options.speed=1),t){if(e.on("ready",function(){if(i.options.videoPlayOnlyVisible){var t=i.onScroll;i.onScroll=function(){t.apply(i),i.videoError||!i.options.videoLoop&&(i.options.videoLoop||i.videoEnded)||(i.isVisible()?e.play():e.pause())}}else e.play()}),e.on("started",function(){i.image.$default_item=i.image.$item,i.image.$item=i.$video,i.image.width=i.video.videoWidth||1280,i.image.height=i.video.videoHeight||720,i.coverImage(),i.clipContainer(),i.onScroll(),i.image.$default_item&&(i.image.$default_item.style.display="none")}),e.on("ended",function(){i.videoEnded=!0,n()}),e.on("error",function(){i.videoError=!0,n()}),i.video=e,!i.defaultInitImgResult&&(i.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7","local"!==e.type))return e.getImageURL(function(t){i.image.bgImage='url("'.concat(t,'")'),i.init()}),!1}else i.defaultInitImgResult||e.getImageURL(function(t){var e=i.$item.getAttribute("style");e&&i.$item.setAttribute("data-jarallax-original-styles",e),i.css(i.$item,{"background-image":'url("'.concat(t,'")'),"background-position":"center","background-size":"cover"})});return t};var r=e.prototype.destroy;e.prototype.destroy=function(){this.image.$default_item&&(this.image.$item=this.image.$default_item,delete this.image.$default_item),r.apply(this)}}}}]),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports&&"function"==typeof require?t(require("jquery")):t(jQuery)}(function(p){"use strict";var n={escapeRegExChars:function(t){return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")},createNode:function(t){var e=document.createElement("div");return e.classList.add(t,"row","small-up-1","medium-up-2"),e.style.display="none",e}},i=27,o=9,r=13,s=38,a=39,l=40,t=p.noop;function u(t,e){var i=this;i.element=t,i.el=p(t),i.suggestions=[],i.badQueries=[],i.selectedIndex=-1,i.currentValue=i.element.value,i.timeoutId=null,i.c
114achedResponse={},i.onChangeTimeout=null,i.onChange=null,i.isLocal=!1,i.suggestionsContainer=null,i.noSuggestionsContainer=null,i.options=p.extend({},u.defaults,e),i.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"},i.hint=null,i.hintValue="",i.selection=null,i.initialize(),i.setOptions(e)}u.utils=n,(p.Autocomplete=u).defaults={ajaxSettings:{},autoSelectFirst:!1,appendTo:"body",serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:function(t,e){if(!e)return t.value;var i="("+n.escapeRegExChars(e)+")";return t.value.replace(new RegExp(i,"gi"),"<strong>$1</strong>").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/<(\/?strong)>/g,"<$1>")},formatGroup:function(t,e){return'<div class="autocomplete-group">'+e+"</div>"},delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:t,onSearchComplete:t,onSearchError:t,preserveInput:!1,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:function(t,e,i){return-1!==t.value.toLowerCase().indexOf(i)},paramName:"query",transformResult:function(t){return"string"==typeof t?p.parseJSON(t):t},showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1},u.prototype={initialize:function(){var t,e=this,i="."+e.classes.suggestion,n=e.classes.selected,o=e.options;e.element.setAttribute("autocomplete","off"),e.noSuggestionsContainer=p('<div class="columns autocomplete-no-suggestion post"></div>').html(this.options.noSuggestionNotice).get(0),e.suggestionsContainer=u.utils.createNode(o.containerClass),(t=p(e.suggestionsContainer)).appendTo(o.appendTo||"body"),"auto"!==o.width&&t.css("width",o.width),t.on("mouseover.autocomplete",i,function(){e.activate(p(this).data("index"))}),t.on("mouseout.autocomplete",function(){e.selectedIndex=-1,t.children("."+n).removeClass(n)}),t.on("click.autocomplete",i,function(){e.select(p(this).data("index"))}),t.on("click.autocomplete",function(){clearTimeout(e.blurTimeoutId)}),e.fixPositionCapture=function(){e.visible&&e.fixPosition()},p(window).on("resize.autocomplete",e.fixPositionCapture),e.el.on("keydown.autocomplete",function(t){e.onKeyPress(t)}),e.el.on("keyup.autocomplete",function(t){e.onKeyUp(t)}),e.el.on("blur.autocomplete",function(){e.onBlur()}),e.el.on("focus.autocomplete",function(){e.onFocus()}),e.el.on("change.autocomplete",function(t){e.onKeyUp(t)}),e.el.on("input.autocomplete",function(t){e.onKeyUp(t)})},onFocus:function(){this.fixPosition(),this.el.val().length>=this.options.minChars&&this.onValueChange()},onBlur:function(){this.blurTimeoutId=setTimeout(function(){},200)},abortAjax:function(){this.currentRequest&&(this.currentRequest.abort(),this.currentRequest=null)},setOptions:function(t){var e=this.options;this.options=p.extend({},e,t),this.isLocal=p.isArray(e.lookup),this.isLocal&&(e.lookup=this.verifySuggestionsFormat(e.lookup)),e.orientation=this.validateOrientation(e.orientation,"bottom")},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){this.disabled=!0,clearTimeout(this.onChangeTimeout),this.abortAjax()},enable:function(){this.disabled=!1},fixPosition:function(){var t=p(this.suggestionsContainer),e=t.parent().get(0);if(e===document.body||this.options.forceFixPosition){var i=this.options.orientation,n=t.outerHeight(),o=this.el.outerHeight(),r=this.el.offset(),s={top:r.top,left:r.left};if("auto"===i){var a=p(window).height(),l=p(window).scrollTop(),u=-l+r.top-n,c=l+a-(r.top+o+n);i=Math.max(u,c)===u?"top":"bottom"}if(s.top+="top"===i?-n:o,e!==document.body){var d,h=t.css("opacity");this.visible||t.css("opacity",0).show(),d=t.offsetParent().offset(),s.top-=d.top,s.left-=d.left,this.visible||t.css("opacity",h).hide()}"auto"===this.options.width&&(s.width=this.el.outerWidth()+"px"),t.css(s)}},isCursorAtEnd:function(){var t,e=this.el.val().length,i=this.element.selectionStart;return"number"==typeof i?i===e:!document.selection||((t=document.selection.createRange()).moveStart("character",-e),e===t.text.length)},onKeyPress:function(t){var e=this;if(e.disabled||e.visible||t.which!==l||!e.currentValue){if(!e.disabled&&e.visible){switch(t.which){case i:e.el.val(e.currentValue),p(".results-found").remove(),e.hide();break;case a:if(e.hint&&e.options.onHint&&e.isCursorAtEnd()){e.selectHint();break}return;case o:if(e.hint&&e.options.onHint)return void e.selectHint();if(-1===e.selectedIndex)return void e.hide();if(e.select(e.selectedIndex),!1===e.options.tabDisabled)return;break;case r:if(-1===e.selectedIndex)return void e.hide();e.select(e.selectedIndex);break;case s:e.moveUp();break;case l:e.moveDown();break;default:return}t.stopImmediatePropagation(),t.preventDefault()}}else e.suggest()},onKeyUp:function(t){var e=this;if(!e.disabled){switch(t.which){case s:case l:return}clearTimeout(e.onChangeTimeout),e.currentValue!==e.el.val()&&(e.findBestHint(),0<e.options.deferRequestBy?e.onChangeTimeout=setTimeout(function(){e.onValueChange()},e.options.deferRequestBy):e.onValueChange())}},onValueChange:function(){var t=this,e=t.options,i=t.el.val(),n=t.getQuery(i);t.selection&&t.currentValue!==n&&(t.selection=null,(e.onInvalidateSelection||p.no
114op).call(t.element)),clearTimeout(t.onChangeTimeout),t.currentValue=i,t.selectedIndex=-1,e.triggerSelectOnValidInput&&t.isExactMatch(n)?t.select(0):n.length<e.minChars?(p(".results-found").remove(),t.hide()):t.getSuggestions(n)},isExactMatch:function(t){var e=this.suggestions;return 1===e.length&&e[0].value.toLowerCase()===t.toLowerCase()},getQuery:function(t){var e,i=this.options.delimiter;return i?(e=t.split(i),p.trim(e[e.length-1])):t},getSuggestionsLocal:function(e){var t,i=this.options,n=e.toLowerCase(),o=i.lookupFilter,r=parseInt(i.lookupLimit,10);return t={suggestions:p.grep(i.lookup,function(t){return o(t,e,n)})},r&&t.suggestions.length>r&&(t.suggestions=t.suggestions.slice(0,r)),t},getSuggestions:function(n){var t,e,i,o,r=this,s=r.options,a=s.serviceUrl;s.params[s.paramName]=n,!1!==s.onSearchStart.call(r.element,s.params)&&(e=s.ignoreParams?null:s.params,p.isFunction(s.lookup)?s.lookup(n,function(t){r.suggestions=t.suggestions,r.suggest(),s.onSearchComplete.call(r.element,n,t.suggestions)}):(t=r.isLocal?r.getSuggestionsLocal(n):(p.isFunction(a)&&(a=a.call(r.element,n)),i=a+"?"+p.param(e||{}),r.cachedResponse[i]))&&p.isArray(t.suggestions)?(r.suggestions=t.suggestions,r.suggest(),s.onSearchComplete.call(r.element,n,t.suggestions)):r.isBadQuery(n)?s.onSearchComplete.call(r.element,n,[]):(r.abortAjax(),o={url:a,data:e,type:s.type,dataType:s.dataType},p.extend(o,s.ajaxSettings),r.currentRequest=p.ajax(o).done(function(t){var e;r.currentRequest=null,e=s.transformResult(t,n),r.processResponse(e,n,i),s.onSearchComplete.call(r.element,n,e.suggestions)}).fail(function(t,e,i){s.onSearchError.call(r.element,n,t,e,i)})))},isBadQuery:function(t){if(!this.options.preventBadQueries)return!1;for(var e=this.badQueries,i=e.length;i--;)if(0===t.indexOf(e[i]))return!0;return!1},hide:function(){var t=this,e=p(t.suggestionsContainer);p.isFunction(t.options.onHide)&&t.visible&&t.options.onHide.call(t.element,e),t.visible=!1,t.selectedIndex=-1,clearTimeout(t.onChangeTimeout),p(".results-found").remove(),p(t.suggestionsContainer).hide(),t.signalHint(null)},suggest:function(){if(this.suggestions.length){var i,t=this,n=t.options,o=n.groupBy,r=n.formatResult,s=t.getQuery(t.currentValue),a=t.classes.suggestion,e=t.classes.selected,l=p(t.suggestionsContainer),u=p(t.noSuggestionsContainer),c=n.beforeRender,d="";n.triggerSelectOnValidInput&&t.isExactMatch(s)?t.select(0):(p.each(t.suggestions,function(t,e){o&&(d+=function(t){var e=t.data[o];return i===e?"":(i=e,n.formatGroup(t,i))}(e,0)),d+='<div class="columns '+a+'" data-index="'+t+'">'+r(e,s,t)+"</div>"}),this.adjustContainerWidth(),u.detach(),l.html(d),p.isFunction(c)&&c.call(t.element,l,t.suggestions),t.fixPosition(),p(".results-found").remove(),t.suggestions[0].empty||l.before('<div class="results-found">'+t.suggestions.length+" "+themeajax.l10n.results_found+"</div>"),l.show(),n.autoSelectFirst&&(t.selectedIndex=0,l.scrollTop(0),l.children("."+a).first().addClass(e)),t.visible=!0,t.findBestHint())}else this.options.showNoSuggestionNotice?this.noSuggestions():(p(".results-found").remove(),this.hide())},noSuggestions:function(){var t=this.options.beforeRender,e=p(this.suggestionsContainer),i=p(this.noSuggestionsContainer);this.adjustContainerWidth(),i.detach(),p(".results-found").remove(),e.empty(),e.append(i),p.isFunction(t)&&t.call(this.element,e,this.suggestions),this.fixPosition(),e.show(),this.visible=!0},adjustContainerWidth:function(){var t,e=this.options,i=p(this.suggestionsContainer);"auto"===e.width?(t=this.el.outerWidth(),i.css("width",0<t?t:300)):"flex"===e.width&&i.css("width","")},findBestHint:function(){var n=this.el.val().toLowerCase(),o=null;n&&(p.each(this.suggestions,function(t,e){var i=0===e.value.toLowerCase().indexOf(n);return i&&(o=e),!i}),this.signalHint(o))},signalHint:function(t){var e="";t&&(e=this.currentValue+t.value.substr(this.currentValue.length)),this.hintValue!==e&&(this.hintValue=e,this.hint=t,(this.options.onHint||p.noop)(e))},verifySuggestionsFormat:function(t){return t.length&&"string"==typeof t[0]?p.map(t,function(t){return{value:t,data:null}}):t},validateOrientation:function(t,e){return t=p.trim(t||"").toLowerCase(),-1===p.inArray(t,["auto","bottom","top"])&&(t=e),t}
114,processResponse:function(t,e,i){var n=this.options;t.suggestions=this.verifySuggestionsFormat(t.suggestions),n.noCache||(this.cachedResponse[i]=t,n.preventBadQueries&&!t.suggestions.length&&this.badQueries.push(e)),e===this.getQuery(this.currentValue)&&(this.suggestions=t.suggestions,this.suggest())},activate:function(t){var e,i=this.classes.selected,n=p(this.suggestionsContainer),o=n.find("."+this.classes.suggestion);return n.find("."+i).removeClass(i),this.selectedIndex=t,-1!==this.selectedIndex&&o.length>this.selectedIndex?(e=o.get(this.selectedIndex),p(e).addClass(i),e):null},selectHint:function(){var t=p.inArray(this.hint,this.suggestions);this.select(t)},select:function(t){this.hide(),this.onSelect(t)},moveUp:function(){var t=this;if(-1!==t.selectedIndex)return 0===t.selectedIndex?(p(t.suggestionsContainer).children().first().removeClass(t.classes.selected),t.selectedIndex=-1,t.el.val(t.currentValue),void t.findBestHint()):void t.adjustScroll(t.selectedIndex-1)},moveDown:function(){this.selectedIndex!==this.suggestions.length-1&&this.adjustScroll(this.selectedIndex+1)},adjustScroll:function(t){var e=this,i=e.activate(t);if(i){var n,o,r,s=p(i).outerHeight();n=i.offsetTop,r=(o=p(e.suggestionsContainer).scrollTop())+e.options.maxHeight-s,n<o?p(e.suggestionsContainer).scrollTop(n):r<n&&p(e.suggestionsContainer).scrollTop(n-e.options.maxHeight+s),e.options.preserveInput||e.el.val(e.getValue(e.suggestions[t].value)),e.signalHint(null)}},onSelect:function(t){var e=this,i=e.options.onSelect,n=e.suggestions[t];e.currentValue=e.getValue(n.value),e.currentValue===e.el.val()||e.options.preserveInput||e.el.val(e.currentValue),e.signalHint(null),e.suggestions=[],e.selection=n,p.isFunction(i)&&i.call(e.element,n)},getValue:function(t){var e,i,n=this.options.delimiter;return n?1===(i=(e=this.currentValue).split(n)).length?t:e.substr(0,e.length-i[i.length-1].length)+t:t},dispose:function(){this.el.off(".autocomplete").removeData("autocomplete"),p(window).off("resize.autocomplete",this.fixPositionCapture),p(this.suggestionsContainer).remove()}},p.fn.devbridgeAutocomplete=function(i,n){var o="autocomplete";return arguments.length?this.each(function(){var t=p(this),e=t.data(o);"string"==typeof i?e&&"function"==typeof e[i]&&e[i](n):(e&&e.dispose&&e.dispose(),e=new u(this,i),t.data(o,e))}):this.first().data(o)},p.fn.autocomplete||(p.fn.autocomplete=p.fn.devbridgeAutocomplete)}),function(e){e.fn.downCount=function(t,u){var c=e.extend({date:null,offset:null},t);c.date||e.error("Date is not defined."),Date.parse(c.date)||e.error("Incorrect date format, it should look like this, 12/24/2012 12:00:00.");var d=this,h=function(){var t=new Date,e=t.getTime()+6e4*t.getTimezoneOffset();return new Date(e+36e5*c.offset)};var p=setInterval(function(){var t=new Date(c.date)-h();if(t<0)return clearInterval(p),void(u&&"function"==typeof u&&u());var e=Math.floor(t/864e5),i=Math.floor(t%864e5/36e5),n=Math.floor(t%36e5/6e4),o=Math.floor(t%6e4/1e3),r=1===(e=2<=String(e).length?e:"0"+e)?"day":"days",s=1===(i=2<=String(i).length?i:"0"+i)?"hour":"hours",a=1===(n=2<=String(n).length?n:"0"+n)?"minute":"minutes",l=1===(o=2<=String(o).length?o:"0"+o)?"second":"seconds";d.find(".days").text(e),d.find(".hours").text(i),d.find(".minutes").text(n),d.find(".seconds").text(o),d.find(".days_ref").text(r),d.find(".hours_ref").text(s),d.find(".minutes_ref").text(a),d.find(".seconds_ref").text(l)},1e3)}}(jQuery),function(o){o&&(o.fn.headroom=function(n){return this.each(function(){var t=o(this),e=t.data("headroom"),i="object"==typeof n&&n;i=o.extend(!0,{},Headroom.options,i),e||((e=new Headroom(this,i)).init(),t.data("headroom",e)),"string"==typeof n&&(e[n](),"destroy"===n&&t.removeData("headroom"))})},o("[data-headroom]").each(function(){var t=o(this);t.headroom(t.data())}))}(window.Zepto||window.jQuery),function(p){var n={data:[],tag:"img",mode:"display",LS_Variable:"__HotspotPlugin_LocalStorage",hiddenClass:"hidden",interactivity:"hover",done_btnId:"HotspotPlugin_Done",remove_btnId:"HotspotPlugin_Remove",sync_btnId:"HotspotPlugin_Server",done_btnClass:"btn btn-success HotspotPlugin_Done",remove_bt
114nClass:"vc_ui-button-default HotspotPlugin_Remove",sync_btnClass:"btn btn-info HotspotPlugin_Server",hotspotClass:"HotspotPlugin_Hotspot",hotspotAuxClass:"HotspotPlugin_inc",hotspotOverlayClass:"HotspotPlugin_Overlay",popupTitle:"Tooltip content",saveText:"Save",closeText:"Close",dataStuff:[{property:"Title",default:"Hotspot Title"},{property:"Message",default:"Hotspot Content"}]},a=1;function e(t,e){this.config=p.extend(!0,{},n,e),this.element=t,this.imageEl=t.find(this.config.tag),this.imageParent=this.imageEl.parent(),this.broadcast="";var i=this;p.each(this.config,function(t,e){"function"==typeof e&&i.element.on(t+".thb_hotspot",function(){e(i.broadcast)})}),this.init()}e.prototype.init=function(){if(this.getData(),"admin"===this.config.mode){var t=new Image,e=this;t.src=p(this.imageEl).attr("src"),t.onload=function(){var l=e.imageEl[0].height,u=e.imageEl[0].width;p("<span/>",{html:"<p>This is Admin-mode. Click this Panel to Store Messages</p>"}).addClass(e.config.hotspotOverlayClass).appendTo(e.imageParent);var c=e,d=[],h=a;if(e.element.delegate("span","click",function(t){t.preventDefault(),h++;for(var e=p(this).offset(),i=(t.pageX-e.left)/u*100,n=(t.pageY-e.top)/l*100,o=c.config.dataStuff,r={index:h,x:i,y:n},s=0;s<o.length;s++){var a=o[s];r[a.property]=a.default}d.push(r),c.storeData(d),d=[],c.popupWindow(h),p("body").trigger("ihwt-hotspot-updated")}),e.element.delegate(".thb_hotspot","click",function(t){var e=p(this).find("> div").data("index"),i=c.getItemData(e)[0];c.popupWindow(e,i)}),e.element.delegate(".delete-item","click",function(t){t.preventDefault(),t.stopPropagation();var e=p(this).parent().data("index");c.removeItem(e),setTimeout(function(){c.updateView()},0)}),void 0!==p.fn.draggable){var t={containment:"parent",stop:function(t,e){var i=+p(t.target).find("> div").data("index"),n={};n.x=e.position.left/u*100,n.y=e.position.top/l*100,c.updateData(n,i)}};0<p(".thb_hotspot").length&&(p(".thb_hotspot").draggable(t),p("body").on("ihwt-hotspot-updated",function(){p(".thb_hotspot:not(.ui-draggable-handle)").draggable(t)}))}}}},e.prototype.popupWindow=function(o,t){for(var r=this,s=this.config.dataStuff,e="",i=this.config.popupTitle,n=this.config.saveText,a=this.config.closeText,l=0;l<s.length;l++){var u=s[l],c=void 0!==t&&void 0!==t[u.property]?t[u.property]:u.default,d="";"Title"===u.property&&(d='<label class="wpb_element_label">'+u.property+'</label><input type="text" class="ihwt-hotspot-'+u.property+'" value="'+c+'" />'),"Product"===u.property&&(d+='<label class="wpb_element_label">Enter WooCommerce Product ID</label><input type="text" class="ihwt-hotspot-'+u.property+'" value="'+c+'" /><span class="vc_description vc_clearfix">If a WooCommerce Product ID is entered, Title & Message are not used.</span>'),"Message"===u.property&&(d='<label class="wpb_element_label">'+u.property+'</label><textarea class="ihwt-hotspot-'+u.property+'">'+c+"</textarea>"),"Position"===u.property&&(d='<label class="wpb_element_label">Tooltip Position</label><select class="wpb_vc_param_value wpb-input wpb-select thb_tooltip_position dropdown ihwt-hotspot-'+u.property+'">',["top","left","right","bottom"].forEach(function(t){d+='<option value="'+t+'" '+(t===c?'selected="selected"':"")+">"+t+"</option>"}),d+="</select>"),e+='<div class="vc_shortcode-param vc_column">'+d+"</div>"}var h='<div class="vc_ui-panel vc_active thb-hotspot-popup">'+('<div class="vc_ui-panel-window-inner"><div class="vc_ui-panel-header-container vc_ui-panel-header-o-stacked-bottom"><div class="vc_ui-panel-header"><div class="vc_ui-panel-header-controls"><button type="button" class="vc_general vc_ui-control-button vc_ui-close-button" data-vc-ui-element="button-close"><i class="vc-composer-icon vc-c-icon-close"></i></button></div><h3 class="vc_ui-panel-header-heading" data-vc-ui-element="panel-title">'+i+"<h3></div></div>")+'<div class="vc_ui-panel-content-container"><div class="vc_ui-panel-content vc_properties-list vc_edit_form_elements">'+e+"</div></div>"+('<div class="vc_ui-panel-footer-container" data-vc-ui-element="panel-footer"><div class="vc_ui-panel-footer"><div class="vc_ui-button-group"><a href="#" title="'+a+'" class="vc_general vc_ui-button vc_ui-button-default vc_ui-button-shape-rounded vc_ui-button-fw ihwt-hotspot-close">'+a+'</a><a href="#" title="'+n+'" class="vc_general vc_ui-button vc_ui-button-action vc_ui-button-shape-rounded vc_ui-button-fw ihwt-hotspot-save">'+n+"</a></div></div></div>")+"</div></div>";p("body").append(h),p(".ihwt-hotspot-save").on("click",function(){for(var t=p(this).parents(".thb-hotspot-popup"),e={},i=0;i<s.length;i++){var n=s[i];
114e[n.property]=t.find(".ihwt-hotspot-"+n.property).val()}return p(".thb-hotspot-popup").remove(),r.updateData(e,o),r.updateView(),!1}),p("body").on("click",".ihwt-hotspot-close, .thb-hotspot-popup .vc_ui-close-button",function(){return p(".thb-hotspot-popup").remove(),!1})},e.prototype.getItemData=function(i){if(""!==i){var t=decodeURIComponent(p(this.config.LS_Variable).val()),n=[],o=[];return t&&(n=JSON.parse(t)),p.each(n,function(t){var e=n[t];e.index===i&&o.push(e)}),o}},e.prototype.getData=function(){null===(""===p(this.config.LS_Variable).val()||p(this.config.LS_Variable).val())&&0===this.config.data.length||("admin"!==this.config.mode||""!==p(this.config.LS_Variable).val()&&null!==p(this.config.LS_Variable).val())&&(this.beautifyData(),p("body").trigger("ihwt-hotspot-initialized"))},e.prototype.beautifyData=function(){var t,e=this;if("admin"!==this.config.mode&&0!==this.config.data.length)t=this.config.data;else{var i=decodeURIComponent(p(this.config.LS_Variable).val());t=JSON.parse(i)}for(var n=t.length-1;0<=n;n--){var o=t[n];n===t.length-1&&(a=o.index);var r="";r="none"===this.config.interactivity?p('<div id="ihwt-hotspot-dot-'+o.index+'" class="thb-hotspot-content" data-index="'+o.index+'">'+(n+1)+'<i class="delete-item vc-composer-icon vc-c-icon-close"></i></div>'):p('<div id="ihwt-hotspot-dot-'+o.index+'" class="thb-hotspot-content" data-index="'+o.index+'">'+(n+1)+'<i class="delete-item vc-composer-icon vc-c-icon-close"></i></div>').addClass(this.config.hiddenClass),p.each(o,function(t,e){"string"==typeof e&&p("<div/>",{html:e}).addClass("thb-hotspot-param Hotspot_"+t).appendTo(r)});var s=p("<div/>",{html:r}).css({top:o.y+"%",left:o.x+"%"}).addClass(this.config.hotspotClass).appendTo(this.element);"click"===e.config.interactivity?(s.on(e.config.interactivity,function(t){p(this).children("div").toggleClass(e.config.hiddenClass)}),r.css("display","block")):r.removeClass(this.config.hiddenClass),"none"===this.config.interactivity&&r.css("display","block")}},e.prototype.storeData=function(i){if(0!==i.length){var t=decodeURIComponent(p(this.config.LS_Variable).val()),n=[];t&&(n=JSON.parse(t)),p.each(i,function(t){var e=i[t];n.push(e)}),p(this.config.LS_Variable).val(encodeURIComponent(JSON.stringify(n))),this.broadcast="Saved to LocalStorage",this.element.trigger("afterSave.hotspot")}},e.prototype.updateData=function(i,t){if(0!==i.length&&""!==t){var e=decodeURIComponent(p(this.config.LS_Variable).val()),n=[];e&&(n=JSON.parse(e)),p.each(n,function(e){n[e].index===t&&p.each(n[e],function(t){void 0!==i[t]&&void 0!==n[e][t]&&(n[e][t]=i[t])})}),p(this.config.LS_Variable).val(encodeURIComponent(JSON.stringify(n))),this.broadcast="Saved to LocalStorage",this.element.trigger("afterSave.hotspot")}},e.prototype.removeItem=function(i){if(""!==i){var t=decodeURIComponent(p(this.config.LS_Variable).val()),n=[],o=[];t&&(n=JSON.parse(t)),p.each(n,function(t){var e=n[t];e.index!==i&&o.push(e)}),p(this.config.LS_Variable).val(encodeURIComponent(JSON.stringify(o))),this.broadcast="Saved to LocalStorage",this.element.trigger("afterSave.hotspot")}},e.prototype.removeData=function(){null!==p(this.config.LS_Variable).val&&confirm("Are you sure you want delete all spots?")&&(p(this.config.LS_Variable).val(""),this.broadcast="Removed successfully",this.element.trigger("afterRemove.hotspot"),this.updateView())},e.prototype.updateView=function(){0<this.element.find(".thb_hotspot").length&&this.element.find(".thb_hotspot").remove(),this.beautifyData(),p("body").trigger("ihwt-hotspot-updated")},p.fn.hotspot=function(t){return new e(this,t),this}}(jQuery),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):jQuery&&!jQuery.fn.hoverIntent&&t(jQuery)}(function(l){"use strict";function u(t){o=t.pageX,r=t.pageY}var o,r,c={interval:100,sensitivity:6,timeout:0},d=0,h=function(t,e,i,n){if(Math.sqrt((i.pX-o)*(i.pX-o)+(i.pY-r)*(i.pY-r))<n.sensitivity)return e.off(i.event,u),delete i.timeoutId,i.isActive=!0,t.pageX=o,t.pageY=r,delete i.pX,delete i.pY,n.over.apply(e[0],[t]);
114i.pX=o,i.pY=r,i.timeoutId=setTimeout(function(){h(t,e,i,n)},n.interval)};l.fn.hoverIntent=function(t,e,i){var s=d++,a=l.extend({},c);l.isPlainObject(t)?(a=l.extend(a,t),l.isFunction(a.out)||(a.out=a.over)):a=l.isFunction(e)?l.extend(a,{over:t,out:e,selector:i}):l.extend(a,{over:t,out:t,selector:e});function n(t){var e=l.extend({},t),i=l(this),n=i.data("hoverIntent");n||i.data("hoverIntent",n={});var o=n[s];o||(n[s]=o={id:s}),o.timeoutId&&(o.timeoutId=clearTimeout(o.timeoutId));var r=o.event="mousemove.hoverIntent.hoverIntent"+s;if("mouseenter"===t.type){if(o.isActive)return;o.pX=e.pageX,o.pY=e.pageY,i.off(r,u).on(r,u),o.timeoutId=setTimeout(function(){h(e,i,o,a)},a.interval)}else{if(!o.isActive)return;i.off(r,u),o.timeoutId=setTimeout(function(){!function(t,e,i,n){delete e.data("hoverIntent")[i.id],n.apply(e[0],[t])}(e,i,o,a.out)},a.timeout)}}return this.on({"mouseenter.hoverIntent":n,"mouseleave.hoverIntent":n},a.selector)}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(c){function t(){}function d(t,e){m.ev.on("mfp"+t+i,e)}function h(t,e,i,n){var o=document.createElement("div");return o.className="mfp-"+t,i&&(o.innerHTML=i),n?e&&e.appendChild(o):(o=c(o),e&&o.appendTo(e)),o}function p(t,e){m.ev.triggerHandler("mfp"+t,e),m.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),m.st.callbacks[t]&&m.st.callbacks[t].apply(m,c.isArray(e)?e:[e]))}function f(t){return t===e&&m.currTemplate.closeBtn||(m.currTemplate.closeBtn=c(m.st.closeMarkup.replace("%title%",m.st.tClose)),e=t),m.currTemplate.closeBtn}function r(){c.magnificPopup.instance||((m=new t).init(),c.magnificPopup.instance=m)}var m,n,g,o,v,e,a="Close",l="BeforeClose",y="MarkupParse",i=".mfp",b="mfp-ready",s="mfp-removing",u="mfp-prevent-close",T=!!window.jQuery,D=c(window);t.prototype={constructor:t,init:function(){var t=navigator.appVersion;m.isLowIE=m.isIE8=document.all&&!document.addEventListener,m.isAndroid=/android/gi.test(t),m.isIOS=/iphone|ipad|ipod/gi.test(t),m.supportsTransition=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}(),m.probablyMobile=m.isAndroid||m.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),g=c(document),m.popupsCache={}},open:function(t){var e;if(!1===t.isObj){m.items=t.items.toArray(),m.index=0;var i,n=t.items;for(e=0;e<n.length;e++)if((i=n[e]).parsed&&(i=i.el[0]),i===t.el[0]){m.index=e;break}}else m.items=c.isArray(t.items)?t.items:[t.items],m.index=t.index||0;if(!m.isOpen){m.types=[],v="",t.mainEl&&t.mainEl.length?m.ev=t.mainEl.eq(0):m.ev=g,t.key?(m.popupsCache[t.key]||(m.popupsCache[t.key]={}),m.currTemplate=m.popupsCache[t.key]):m.currTemplate={},m.st=c.extend(!0,{},c.magnificPopup.defaults,t),m.fixedContentPos="auto"===m.st.fixedContentPos?!m.probablyMobile:m.st.fixedContentPos,m.st.modal&&(m.st.closeOnContentClick=!1,m.st.closeOnBgClick=!1,m.st.showCloseBtn=!1,m.st.enableEscapeKey=!1),m.bgOverlay||(m.bgOverlay=h("bg").on("click.mfp",function(){m.close()}),m.wrap=h("wrap").attr("tabindex",-1).on("click.mfp",function(t){m._checkIfClose(t.target)&&m.close()}),m.container=h("container",m.wrap)),m.contentContainer=h("content"),m.st.preloader&&(m.preloader=h("preloader",m.container,m.st.tLoading));var o=c.magnificPopup.modules;for(e=0;e<o.length;e++){var r=o[e];r=r.charAt(0).toUpperCase()+r.slice(1),m["init"+r].call(m)}p("BeforeOpen"),m.st.showCloseBtn&&(m.st.closeBtnInside?(d(y,function(t,e,i,n){i.close_replaceWith=f(n.type)}),v+=" mfp-close-btn-in"):m.wrap.append(f())),m.st.alignTop&&(v+=" mfp-align-top"),m.fixedContentPos?m.wrap.css({overflow:m.st.overflowY,overflowX:"hidden",overflowY:m.st.overflowY}):m.wrap.css({top:D.scrollTop(),position:"absolute"}),!1!==m.st.fixedBgPos&&("auto"!==m.st.fixedBgPos||m.fixedContentPos)||m.bgOverlay.css({height:g.height(),position:"absolute"}),m.st.enableEscapeKey&&g.on("keyup.mfp",function(t){27===t.keyCode&&m.close()}),D.on("resize.mfp",function(){m.updateSize()}),m.st.closeOnContentClick||(v+=" mfp-auto-cursor"),v&&m.wrap.addClass(v);var s=m.wH=D.height(),a={};if(m.fixedContentPos&&m._hasScrollBar(s)){var l=m._getScrollbarSize();l&&(a.marginRight=l)}m.fixedContentPos&&(m.isIE7?c("body, html").css("overflow","hidden"):a.overflow="hidden");var u=m.st.mainClass;return m.isIE7&&(u+=" mfp-ie7"),u&&m._addClassToMFP(u),m.updateItemHTML(),p("BuildControls"),c("html").css(a),m.bgOverlay.add(m.wrap).prependTo(m.st.prepe
114ndTo||c(document.body)),m._lastFocusedEl=document.activeElement,setTimeout(function(){m.content?(m._addClassToMFP(b),m._setFocus()):m.bgOverlay.addClass(b),g.on("focusin.mfp",m._onFocusIn)},16),m.isOpen=!0,m.updateSize(s),p("Open"),t}m.updateItemHTML()},close:function(){m.isOpen&&(p(l),m.isOpen=!1,m.st.removalDelay&&!m.isLowIE&&m.supportsTransition?(m._addClassToMFP(s),setTimeout(function(){m._close()},m.st.removalDelay)):m._close())},_close:function(){p(a);var t=s+" "+b+" ";if(m.bgOverlay.detach(),m.wrap.detach(),m.container.empty(),m.st.mainClass&&(t+=m.st.mainClass+" "),m._removeClassFromMFP(t),m.fixedContentPos){var e={marginRight:""};m.isIE7?c("body, html").css("overflow",""):e.overflow="",c("html").css(e)}g.off("keyup.mfp focusin.mfp"),m.ev.off(i),m.wrap.attr("class","mfp-wrap").removeAttr("style"),m.bgOverlay.attr("class","mfp-bg"),m.container.attr("class","mfp-container"),!m.st.showCloseBtn||m.st.closeBtnInside&&!0!==m.currTemplate[m.currItem.type]||m.currTemplate.closeBtn&&m.currTemplate.closeBtn.detach(),m.st.autoFocusLast&&m._lastFocusedEl&&c(m._lastFocusedEl).focus(),m.currItem=null,m.content=null,m.currTemplate=null,m.prevHeight=0,p("AfterClose")},updateSize:function(t){if(m.isIOS){var e=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*e;m.wrap.css("height",i),m.wH=i}else m.wH=t||D.height();m.fixedContentPos||m.wrap.css("height",m.wH),p("Resize")},updateItemHTML:function(){var t=m.items[m.index];m.contentContainer.detach(),m.content&&m.content.detach(),t.parsed||(t=m.parseEl(m.index));var e=t.type;if(p("BeforeChange",[m.currItem?m.currItem.type:"",e]),m.currItem=t,!m.currTemplate[e]){var i=!!m.st[e]&&m.st[e].markup;p("FirstMarkupParse",i),m.currTemplate[e]=!i||c(i)}o&&o!==t.type&&m.container.removeClass("mfp-"+o+"-holder");var n=m["get"+e.charAt(0).toUpperCase()+e.slice(1)](t,m.currTemplate[e]);m.appendContent(n,e),t.preloaded=!0,p("Change",t),o=t.type,m.container.prepend(m.contentContainer),p("AfterChange")},appendContent:function(t,e){(m.content=t)?m.st.showCloseBtn&&m.st.closeBtnInside&&!0===m.currTemplate[e]?m.content.find(".mfp-close").length||m.content.append(f()):m.content=t:m.content="",p("BeforeAppend"),m.container.addClass("mfp-"+e+"-holder"),m.contentContainer.append(m.content)},parseEl:function(t){var e,i=m.items[t];if((i=i.tagName?{el:c(i)}:(e=i.type,{data:i,src:i.src})).el){for(var n=m.types,o=0;o<n.length;o++)if(i.el.hasClass("mfp-"+n[o])){e=n[o];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=e||m.st.type||"inline",i.index=t,i.parsed=!0,m.items[t]=i,p("ElementParse",i),m.items[t]},addGroup:function(e,i){function t(t){t.mfpEl=this,m._openClick(t,e,i)}var n="click.magnificPopup";(i=i||{}).mainEl=e,i.items?(i.isObj=!0,e.off(n).on(n,t)):(i.isObj=!1,i.delegate?e.off(n).on(n,i.delegate,t):(i.items=e).off(n).on(n,t))},_openClick:function(t,e,i){if((void 0!==i.midClick?i.midClick:c.magnificPopup.defaults.midClick)||!(2===t.which||t.ctrlKey||t.metaKey||t.altKey||t.shiftKey)){var n=void 0!==i.disableOn?i.disableOn:c.magnificPopup.defaults.disableOn;if(n)if(c.isFunction(n)){if(!n.call(m))return!0}else if(D.width()<n)return!0;t.type&&(t.preventDefault(),m.isOpen&&t.stopPropagation()),i.el=c(t.mfpEl),i.delegate&&(i.items=e.find(i.delegate)),m.open(i)}},updateStatus:function(t,e){if(m.preloader){n!==t&&m.container.removeClass("mfp-s-"+n),e||"loading"!==t||(e=m.st.tLoading);var i={status:t,text:e};p("UpdateStatus",i),t=i.status,e=i.text,m.preloader.html(e),m.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),m.container.addClass("mfp-s-"+t),n=t}},_checkIfClose:function(t){if(!c(t).hasClass(u)){var e=m.st.closeOnContentClick,i=m.st.closeOnBgClick;if(e&&i)return!0;if(!m.content||c(t).hasClass("mfp-close")||m.preloader&&t===m.preloader[0])return!0;if(t===m.content[0]||c.contains(m.content[0],t)){if(e)return!0}else if(i&&c.contains(document,t))return!0;return!1}},_addClassToMFP:function(t){m.bgOverlay.addClass(t),m.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),m.wrap.removeClass(t)},_hasScrollBar:function(t){return(m.isIE7?g.height():document.body.scrollHeight)>(t||D.height())},_setFocus:function(){(m.st.focus?m.content.find(m.st.focus).eq(0):m.wrap).focus()},_onFocusIn:function(t){return t.target===m.wrap[0]||c.contains(m.wrap[0],t.target)?void 0:(m._setFocus(),!1)},_parseMarkup:function(o,t,e){var r;e.data&&(t=c.extend(e.data,t)),p(y,[o,t,e]),c.each(t,function(t,e){if(void 0===e||!1===e)return!0;
114if(1<(r=t.split("_")).length){var i=o.find(".mfp-"+r[0]);if(0<i.length){var n=r[1];"replaceWith"===n?i[0]!==e[0]&&i.replaceWith(e):"img"===n?i.is("img")?i.attr("src",e):i.replaceWith(c("<img>").attr("src",e).attr("class",i.attr("class"))):i.attr(r[1],e)}}else o.find(".mfp-"+t).html(e)})},_getScrollbarSize:function(){if(void 0===m.scrollbarSize){var t=document.createElement("div");t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),m.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return m.scrollbarSize}},c.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(t,e){return r(),(t=t?c.extend(!0,{},t):{}).isObj=!0,t.index=e||0,this.instance.open(t)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(t,e){e.options&&(c.magnificPopup.defaults[t]=e.options),c.extend(this.proto,e.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},c.fn.magnificPopup=function(t){r();var e=c(this);if("string"==typeof t)if("open"===t){var i,n=T?e.data("magnificPopup"):e[0].magnificPopup,o=parseInt(arguments[1],10)||0;i=n.items?n.items[o]:(i=e,n.delegate&&(i=i.find(n.delegate)),i.eq(o)),m._openClick({mfpEl:i},e,n)}else m.isOpen&&m[t].apply(m,Array.prototype.slice.call(arguments,1));else t=c.extend(!0,{},t),T?e.data("magnificPopup",t):e[0].magnificPopup=t,m.addGroup(e,t);return e};function S(){_&&(C.after(_.addClass(w)).detach(),_=null)}var w,C,_,A="inline";c.magnificPopup.registerModule(A,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){m.types.push(A),d(a+"."+A,function(){S()})},getInline:function(t,e){if(S(),t.src){var i=m.st.inline,n=c(t.src);if(n.length){var o=n[0].parentNode;o&&o.tagName&&(C||(w=i.hiddenClass,C=h(w),w="mfp-"+w),_=n.after(C).detach().removeClass(w)),m.updateStatus("ready")}else m.updateStatus("error",i.tNotFound),n=c("<div>");return t.inlineElement=n}return m.updateStatus("ready"),m._parseMarkup(e,{},t),e}}});function E(){P&&c(document.body).removeClass(P)}function x(){E(),m.req&&m.req.abort()}var P,M="ajax";c.magnificPopup.registerModule(M,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){m.types.push(M),P=m.st.ajax.cursor,d(a+"."+M,x),d("BeforeChange.ajax",x)},getAjax:function(o){P&&c(document.body).addClass(P),m.updateStatus("loading");var t=c.extend({url:o.src,success:function(t,e,i){var n={data:t,xhr:i};p("ParseAjax",n),m.appendContent(c(n.data),M),o.finished=!0,E(),m._setFocus(),setTimeout(function(){m.wrap.addClass(b)},16),m.updateStatus("ready"),p("AjaxContentAdded")},error:function(){E(),o.finished=o.loadError=!0,m.updateStatus("error",m.st.ajax.tError.replace("%url%",o.src))}},m.st.ajax.settings);return m.req=c.ajax(t),""}}});var k;c.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var t=m.st.image,e=".image";m.types.push("image"),d("Open"+e,function(){"image"===m.currItem.type&&t.cursor&&c(document.body).addClass(t.cursor)}),d(a+e,function(){t.cursor&&c(document.body).removeClass(t.cursor),D.off("resize.mfp")}),d("Resize"+e,m.resizeImage),m.isLowIE&&d("AfterChange",m.resizeImage)},resizeImage:function(){var t=m.currItem;if(t&&t.img&&m.st.image.verticalFit){var e=0;m.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",m.wH-e)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,k&&clearInterval(k),t.isCheckingImgSize=!1,p("ImageHasSize",t),t.imgHidden&&(m.content&&m.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],o=function(t){k&&clearInterval(k),k=setInterval(function(){return 0<n.naturalWi
114dth?void m._onImageHasSize(e):(200<i&&clearInterval(k),void(3===++i?o(10):40===i?o(50):100===i&&o(500)))},t)};o(1)},getImage:function(t,e){var i=0,n=function(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===m.currItem&&(m._onImageHasSize(t),m.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,p("ImageLoadComplete")):++i<200?setTimeout(n,100):o())},o=function(){t&&(t.img.off(".mfploader"),t===m.currItem&&(m._onImageHasSize(t),m.updateStatus("error",r.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)},r=m.st.image,s=e.find(".mfp-img");if(s.length){var a=document.createElement("img");a.className="mfp-img",t.el&&t.el.find("img").length&&(a.alt=t.el.find("img").attr("alt")),t.img=c(a).on("load.mfploader",n).on("error.mfploader",o),a.src=t.src,s.is("img")&&(t.img=t.img.clone()),0<(a=t.img[0]).naturalWidth?t.hasSize=!0:a.width||(t.hasSize=!1)}return m._parseMarkup(e,{title:function(t){if(t.data&&void 0!==t.data.title)return t.data.title;var e=m.st.image.titleSrc;if(e){if(c.isFunction(e))return e.call(m,t);if(t.el)return t.el.attr(e)||""}return""}(t),img_replaceWith:t.img},t),m.resizeImage(),t.hasSize?(k&&clearInterval(k),t.loadError?(e.addClass("mfp-loading"),m.updateStatus("error",r.tError.replace("%url%",t.src))):(e.removeClass("mfp-loading"),m.updateStatus("ready"))):(m.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,e.addClass("mfp-loading"),m.findImageSize(t))),e}}});var I;c.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,r=m.st.zoom;if(r.enabled&&m.supportsTransition){function e(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+r.duration/1e3+"s "+r.easing,n={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return n["-webkit-"+o]=n["-moz-"+o]=n["-o-"+o]=n[o]=i,e.css(n),e}function i(){m.content.css("visibility","visible")}var n,o,s=r.duration;d("BuildControls.zoom",function(){if(m._allowZoom()){if(clearTimeout(n),m.content.css("visibility","hidden"),!(t=m._getItemToZoom()))return void i();(o=e(t)).css(m._getOffset()),m.wrap.append(o),n=setTimeout(function(){o.css(m._getOffset(!0)),n=setTimeout(function(){i(),setTimeout(function(){o.remove(),t=o=null,p("ZoomAnimationEnded")},16)},s)},16)}}),d(l+".zoom",function(){if(m._allowZoom()){if(clearTimeout(n),m.st.removalDelay=s,!t){if(!(t=m._getItemToZoom()))return;o=e(t)}o.css(m._getOffset(!0)),m.wrap.append(o),m.content.css("visibility","hidden"),setTimeout(function(){o.css(m._getOffset())},16)}}),d(a+".zoom",function(){m._allowZoom()&&(i(),o&&o.remove(),t=null)})}},_allowZoom:function(){return"image"===m.currItem.type},_getItemToZoom:function(){return!!m.currItem.hasSize&&m.currItem.img},_getOffset:function(t){var e,i=(e=t?m.currItem.img:m.st.zoom.opener(m.currItem.el||m.currItem)).offset(),n=parseInt(e.css("padding-top"),10),o=parseInt(e.css("padding-bottom"),10);i.top-=c(window).scrollTop()-n;var r={width:e.width(),height:(T?e.innerHeight():e[0].offsetHeight)-o-n};return void 0===I&&(I=void 0!==document.createElement("p").style.MozTransform),I?r["-moz-transform"]=r.transform="translate("+i.left+"px,"+i.top+"px)":(r.left=i.left,r.top=i.top),r}}});function H(t){if(m.currTemplate[B]){var e=m.currTemplate[B].find("iframe");e.length&&(t||(e[0].src="//about:blank"),m.isIE8&&e.css("display",t?"block":"none"))}}var B="iframe";c.magnificPopup.registerModule(B,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){m.types.push(B),d("BeforeChange",function(t,e,i){e!==i&&(e===B?H():i===B&&H(!0))}),d(a+"."+B,function(){H()})},getIframe:function(t,e){var i=t.src,n=m.st.iframe;c.each(n.patterns,function(){return-1<i.indexOf(this.index)?(this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id
114)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1):void 0});var o={};return n.srcAction&&(o[n.srcAction]=i),m._parseMarkup(e,o,t),m.updateStatus("ready"),e}}});function O(t){var e=m.items.length;return e-1<t?t-e:t<0?e+t:t}function L(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)}c.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=m.st.gallery,t=".mfp-gallery";return m.direction=!0,!(!r||!r.enabled)&&(v+=" mfp-gallery",d("Open"+t,function(){r.navigateByImgClick&&m.wrap.on("click"+t,".mfp-img",function(){return 1<m.items.length?(m.next(),!1):void 0}),g.on("keydown"+t,function(t){37===t.keyCode?m.prev():39===t.keyCode&&m.next()})}),d("UpdateStatus"+t,function(t,e){e.text&&(e.text=L(e.text,m.currItem.index,m.items.length))}),d(y+t,function(t,e,i,n){var o=m.items.length;i.counter=1<o?L(r.tCounter,n.index,o):""}),d("BuildControls"+t,function(){if(1<m.items.length&&r.arrows&&!m.arrowLeft){var t=r.arrowMarkup,e=m.arrowLeft=c(t.replace(/%title%/gi,r.tPrev).replace(/%dir%/gi,"left")).addClass(u),i=m.arrowRight=c(t.replace(/%title%/gi,r.tNext).replace(/%dir%/gi,"right")).addClass(u);e.click(function(){m.prev()}),i.click(function(){m.next()}),m.container.append(e.add(i))}}),d("Change"+t,function(){m._preloadTimeout&&clearTimeout(m._preloadTimeout),m._preloadTimeout=setTimeout(function(){m.preloadNearbyImages(),m._preloadTimeout=null},16)}),void d(a+t,function(){g.off(t),m.wrap.off("click"+t),m.arrowRight=m.arrowLeft=null}))},next:function(){m.direction=!0,m.index=O(m.index+1),m.updateItemHTML()},prev:function(){m.direction=!1,m.index=O(m.index-1),m.updateItemHTML()},goTo:function(t){m.direction=t>=m.index,m.index=t,m.updateItemHTML()},preloadNearbyImages:function(){var t,e=m.st.gallery.preload,i=Math.min(e[0],m.items.length),n=Math.min(e[1],m.items.length);for(t=1;t<=(m.direction?n:i);t++)m._preloadItem(m.index+t);for(t=1;t<=(m.direction?i:n);t++)m._preloadItem(m.index-t)},_preloadItem:function(t){if(t=O(t),!m.items[t].preloaded){var e=m.items[t];e.parsed||(e=m.parseEl(t)),p("LazyLoad",e),"image"===e.type&&(e.img=c('<img class="mfp-img" />').on("load.mfploader",function(){e.hasSize=!0}).on("error.mfploader",function(){e.hasSize=!0,e.loadError=!0,p("LazyLoadError",e)}).attr("src",e.src)),e.preloaded=!0}}}});var F="retina";c.magnificPopup.registerModule(F,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){if(1<window.devicePixelRatio){var i=m.st.retina,n=i.ratio;1<(n=isNaN(n)?n():n)&&(d("ImageHasSize."+F,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/n,width:"100%"})}),d("ElementParse."+F,function(t,e){e.src=i.replaceSrc(e,n)}))}}}}),r()}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(t.jQuery)}(this,function(u){"use strict";var n="vide",o={volume:1,playbackRate:1,muted:!0,loop:!0,playsinline:"",autoplay:!0,position:"50% 50%",posterType:"detect",resizing:!0,bgColor:"transparent",className:""},c="Not implemented";function r(t){var e,i,n,o,r,s,a,l={};for(a=0,s=(r=t.replace(/\s*:\s*/g,":").replace(/\s*,\s*/g,",").split(",")).length;a<s&&(-1===(i=r[a]).search(/^(http|https|ftp):\/\//)&&-1!==i.search(":"));a++)e=i.indexOf(":"),n=i.substring(0,e),"string"==typeof(o=(o=i.substring(e+1))||void 0)&&(o="true"===o||"false"!==o&&o),"string"==typeof o&&(o=isNaN(o)?o:+o),l[n]=o;return null==n&&null==o?t:l}function s(t,e,i){if(this.$element=u(t),"string"==typeof e&&(e=r(e)),i?"string"==typeof i&&(i=r(i)):i={},"string"==typeof e)e=e.replace(/\.\w*$/,"");else if("object"==typeof e)for(var n in e)e.hasOwnProperty(n)&&(e[n]=e[n]);this.settings=u.extend({},o,i),this.path=e;try{this.init()}catch(t){if(t.message!==c)throw t}}s.prototype.init=function(){var t,e,i=this,n=i.path,o=n,r=i.$element,s=i.settings,a=function(t){var e,i,n,o=(t=""+t).split(/\s+/),r="50%",s="50%";for(n=0,e=o.length;n<e;
114n++)"left"===(i=o[n])?r="0%":"right"===i?r="100%":"top"===i?s="0%":"bottom"===i?s="100%":"center"===i?0===n?r="50%":s="50%":0===n?r=i:s=i;return{x:r,y:s}}(s.position),l=s.posterType;e=i.$wrapper=u("<div>").addClass(s.className).css({position:"absolute","z-index":0,top:0,left:0,bottom:0,right:0,overflow:"hidden","-webkit-background-size":"cover","-moz-background-size":"cover","-o-background-size":"cover","background-size":"cover","background-color":s.bgColor,"background-repeat":"no-repeat","background-position":a.x+" "+a.y}),"object"==typeof n&&(n.poster?o=n.poster:n.mp4?o=n.mp4:n.webm?o=n.webm:n.ogv&&(o=n.ogv)),"none"!==l&&e.css("background-image","url("+o+")"),"static"===r.css("position")&&r.css("position","relative"),r.prepend(e),t=i.$video=u('<video><source src="'+n.mp4+'" type="video/mp4"></video>');try{t.prop({autoplay:s.autoplay,loop:s.loop,volume:s.volume,preload:"auto",muted:s.muted,defaultMuted:s.muted,playbackRate:s.playbackRate,defaultPlaybackRate:s.playbackRate})}catch(t){throw new Error(c)}t.attr("playsinline",s.playsinline),t.css({margin:"auto",position:"absolute","z-index":0,top:a.y,left:a.x,"-webkit-transform":"translate(-"+a.x+", -"+a.y+")","-ms-transform":"translate(-"+a.x+", -"+a.y+")","-moz-transform":"translate(-"+a.x+", -"+a.y+")",transform:"translate(-"+a.x+", -"+a.y+")",visibility:"hidden",opacity:0}).one("canplaythrough.vide",function(){i.resize()}).one("canplay playing.vide",function(){t.css({visibility:"visible"}).animate({opacity:1})}),r.on("resize.vide",function(){s.resizing&&i.resize()}),e.append(t)},s.prototype.getVideoObject=function(){return this.$video[0]},s.prototype.resize=function(){if(this.$video){var t=this.$wrapper,e=this.$video,i=e[0],n=i.videoHeight,o=i.videoWidth,r=t.height(),s=t.width();r/n<s/o?e.css({width:s+2,height:"auto"}):e.css({width:"auto",height:r+2})}},s.prototype.destroy=function(){delete u.vide.lookup[this.index],this.$video&&this.$video.off(n),this.$element.off(n).removeData(n),this.$wrapper.remove()},u.vide={lookup:[]},u.fn.vide=function(t,e){var i;return this.each(function(){(i=u.data(this,n))&&i.destroy(),(i=new s(this,t,e)).index=u.vide.lookup.push(i)-1,u.data(this,n,i)}),this},u(document).ready(function(){var t=u(window);t.on("resize.vide",function(){for(var t,e=u.vide.lookup.length,i=0;i<e;i++)(t=u.vide.lookup[i])&&t.settings.resizing&&t.resize()}),t.on("unload.vide",function(){return!1}),u(document).find("[data-vide-bg]").each(function(t,e){var i=u(e),n=i.data("vide-options"),o=i.data("vide-bg");i.vide(o,n)})})}),function(t){var e;if("function"==typeof define&&define.amd&&(define(t),e=!0),"object"==typeof exports&&(module.exports=t(),e=!0),!e){var i=window.Cookies,n=window.Cookies=t();n.noConflict=function(){return window.Cookies=i,n}}}(function(){function a(){for(var t=0,e={};t<arguments.length;t++){var i=arguments[t];for(var n in i)e[n]=i[n]}return e}function u(t){return t.replace(/(%[0-9A-Z]{2}
114)+/g,decodeURIComponent)}return function t(l){function s(){}function i(t,e,i){if("undefined"!=typeof document){"number"==typeof(i=a({path:"/"},s.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var n=JSON.stringify(e);/^[\{\[]/.test(n)&&(e=n)}catch(t){}e=l.write?l.write(e,t):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var o="";for(var r in i)i[r]&&(o+="; "+r,!0!==i[r]&&(o+="="+i[r].split(";")[0]));return document.cookie=t+"="+e+o}}function e(t,e){if("undefined"!=typeof document){for(var i={},n=document.cookie?document.cookie.split("; "):[],o=0;o<n.length;o++){var r=n[o].split("="),s=r.slice(1).join("=");e||'"'!==s.charAt(0)||(s=s.slice(1,-1));try{var a=u(r[0]);if(s=(l.read||l)(s,a)||u(s),e)try{s=JSON.parse(s)}catch(t){}if(i[a]=s,t===a)break}catch(t){}}return t?i[t]:i}}return s.set=i,s.get=function(t){return e(t,!1)},s.getJSON=function(t){return e(t,!0)},s.remove=function(t,e){i(t,"",a(e,{expires:-1}))},s.defaults={},s.withConverter=t,s}(function(){})}),function(t){var e=function(n,p,a){"use strict";var f,m;if(function(){var t,e={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in m=n.lazySizesConfig||n.lazysizesConfig||{},e)t in m||(m[t]=e[t])}(),!p||!p.getElementsByClassName)return{init:function(){},cfg:m,noSupport:!0};function r(t,e){return nt[e]||(nt[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),nt[e].test(t[K]("class")||"")&&nt[e]}function d(t,e){r(t,e)||t.setAttribute("class",(t[K]("class")||"").trim()+" "+e)}function h(t,e){var i;(i=r(t,e))&&t.setAttribute("class",(t[K]("class")||"").replace(i," "))}function g(t,e,i,n,o){var r=p.createEvent("Event");return(i=i||{}).instance=f,r.initEvent(e,!n,!o),r.detail=i,t.dispatchEvent(r),r}function v(t,e){var i;!Y&&(i=n.picturefill||m.pf)?(e&&e.src&&!t[K]("srcset")&&t.setAttribute("srcset",e.src),i({reevaluate:!0,elements:[t]})):e&&e.src&&(t.src=e.src)}function s(t,e){return(getComputedStyle(t,null)||{})[e]}function l(t,e,i){for(i=i||t.offsetWidth;i<m.minSize&&e&&!t._lazysizesWidth;)i=e.offsetWidth,e=e.parentNode;return i}function u(i,t){return t?function(){st(i)}:function(){var t=this,e=arguments;st(function(){i.apply(t,e)})}}function t(t){function e(){i=null,t()}var i,n,o=function(){var t=a.now()-n;t<99?Z(o,99-t):(tt||e)(e)};return function(){n=a.now(),i=i||Z(o,99)}}var i,c,e,y,b,T,D,o,S,w,C,_,A,E,x,P,M,k,I,H,B,O,L,F,G,$,R,z,N,W,V,j,X,U=p.documentElement,Y=n.HTMLPictureElement,q="addEventListener",K="getAttribute",Q=n[q].bind(n),Z=n.setTimeout,J=n.requestAnimationFrame||Z,tt=n.requestIdleCallback,et=/^picture$/i,it=["load","error","lazyincluded","_lazyloaded"],nt={},ot=Array.prototype.forEach,rt=function(e,i,t){var n=t?q:"removeEventListener";t&&rt(e,i),it.forEach(function(t){e[n](t,i)})},st=(j=[],X=V=[],bt._lsFlush=yt,bt),at=(P=/^img$/i,M=/^iframe$/i,k="onscroll"in n&&!/(gle|ing)bot/.test(navigator.userAgent),H=I=0,B=-1,O=function(t){function e(){i=!1,n=a.now(),t()}var i,n=0,o=m.throttleDelay,r=m.ricTimeout,s=tt&&49<r?function(){tt(e,{timeout:r}),r!==m.ricTimeout&&(r=m.ricTimeout)}:u(function(){Z(e)},!0);return function(t){var e;(t=!0===t)&&(r=33),i||(i=!0,(e=o-(a.now()-n))<0&&(e=0),t||e<9?s():Z(s,e))}}(ft),L=u(mt),F=function(t){L({target:t.target})},G=u(function(e,t,i,n,o){var r,s,a,l,u,c;(u=g(e,"lazybeforeunveil",t)).defaultPrevented||(n&&(i?d(e,m.autosizesClass):e.setAttribute("sizes",n)),s=e[K](m.srcsetAttr),r=e[K](m.srcAttr),o&&(l=(a=e.parentNode)&&et.test(a.nodeName||"")),c=t.firesLoad||"src"in e&&(s||r||l),u={target:e},d(e,m.loadingClass),c&&(clearTimeout(T),T=Z(dt,2500),rt(e,F,!0)),l&&ot.call(a.getElementsByTagName("source"),gt),s?e.setAttribute("srcset",s):r&&!l&&(M.test(e.nodeName)?function(e,i){try{e.contentWindow.location.replace(i)}catch(t){e.src=i}}(e,r):e.src=r),o&&(s||l)&&v(e,{src:r}
114)),e._lazyRace&&delete e._lazyRace,h(e,m.lazyClass),st(function(){var t=e.complete&&1<e.naturalWidth;c&&!t||(t&&d(e,"ls-is-cached"),mt(u),e._lazyCache=!0,Z(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&H--},!0)}),$=function(t){if(!t._lazyRace){var e,i=P.test(t.nodeName),n=i&&(t[K](m.sizesAttr)||t[K]("sizes")),o="auto"==n;(!o&&b||!i||!t[K]("src")&&!t.srcset||t.complete||r(t,m.errorClass)||!r(t,m.lazyClass))&&(e=g(t,"lazyunveilread").detail,o&<.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,H++,G(t,e,o,n,i))}},R=t(function(){m.loadMode=3,O()}),z=function(){b||(a.now()-o<999?Z(z,999):(b=!0,m.loadMode=3,O(),Q("scroll",vt,!0)))},{_:function(){o=a.now(),f.elements=p.getElementsByClassName(m.lazyClass),y=p.getElementsByClassName(m.lazyClass+" "+m.preloadClass),Q("scroll",O,!0),Q("resize",O,!0),Q("pageshow",function(t){if(t.persisted){var e=p.querySelectorAll("."+m.loadingClass);e.length&&e.forEach&&J(function(){e.forEach(function(t){t.complete&&$(t)})})}}),n.MutationObserver?new MutationObserver(O).observe(U,{childList:!0,subtree:!0,attributes:!0}):(U[q]("DOMNodeInserted",O,!0),U[q]("DOMAttrModified",O,!0),setInterval(O,999)),Q("hashchange",O,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(t){p[q](t,O,!0)}),/d$|^c/.test(p.readyState)?z():(Q("load",z),p[q]("DOMContentLoaded",O),Z(z,2e4)),f.elements.length?(ft(),st._lsFlush()):O()},checkElems:O,unveil:$,_aLSL:vt}),lt=(c=u(function(t,e,i,n){var o,r,s;if(t._lazysizesWidth=n,n+="px",t.setAttribute("sizes",n),et.test(e.nodeName||""))for(r=0,s=(o=e.getElementsByTagName("source")).length;r<s;r++)o[r].setAttribute("sizes",n);i.detail.dataAttr||v(t,i.detail)}),{_:function(){i=p.getElementsByClassName(m.autosizesClass),Q("resize",e)},checkElems:e=t(function(){var t,e=i.length;if(e)for(t=0;t<e;t++)ct(i[t])}),updateElem:ct}),ut=function(){!ut.i&&p.getElementsByClassName&&(ut.i=!0,lt._(),at._())};function ct(t,e,i){var n,o=t.parentNode;o&&(i=l(t,o,i),(n=g(t,"lazybeforesizes",{width:i,dataAttr:!!e})).defaultPrevented||(i=n.detail.width)&&i!==t._lazysizesWidth&&c(t,o,n,i))}function dt(t){H--,t&&!(H<0)&&t.target||(H=0)}function ht(t){return null==x&&(x="hidden"==s(p.body,"visibility")),x||!("hidden"==s(t.parentNode,"visibility")&&"hidden"==s(t,"visibility"))}function pt(t,e){var i,n=t,o=ht(t);for(C-=e,E+=e,_-=e,A+=e;o&&(n=n.offsetParent)&&n!=p.body&&n!=U;)(o=0<(s(n,"opacity")||1))&&"visible"!=s(n,"overflow")&&(i=n.getBoundingClientRect(),o=A>i.left&&_<i.right&&E>i.top-1&&C<i.bottom+1);return o}function ft(){var t,e,i,n,o,r,s,a,l,u,c,d,h=f.elements;if((D=m.loadMode)&&H<8&&(t=h.length)){for(e=0,B++;e<t;e++)if(h[e]&&!h[e]._lazyRace)if(!k||f.prematureUnveil&&f.prematureUnveil(h[e]))$(h[e]);else if((a=h[e][K]("data-expand"))&&(r=1*a)||(r=I),u||(u=!m.expand||m.expand<1?500<U.clientHeight&&500<U.clientWidth?500:370:m.expand,c=(f._defEx=u)*m.expFactor,d=m.hFac,x=null,I<c&&H<1&&2<B&&2<D&&!p.hidden?(I=c,B=0):I=1<D&&1<B&&H<6?u:0),l!==r&&(S=innerWidth+r*d,w=innerHeight+r,s=-1*r,l=r),i=h[e].getBoundingClientRect(),(E=i.bottom)>=s&&(C=i.top)<=w&&(A=i.right)>=s*d&&(_=i.left)<=S&&(E||A||_||C)&&(m.loadHidden||ht(h[e]))&&(b&&H<3&&!a&&(D<3||B<4)||pt(h[e],r))){if($(h[e]),o=!0,9<H)break}else!o&&b&&!n&&H<4&&B<4&&2<D&&(y[0]||m.preloadAfterLoad)&&(y[0]||!a&&(E||A||_||C||"auto"!=h[e][K](m.sizesAttr)))&&(n=y[0]||h[e]);n&&!o&&$(n)}}function mt(t){var e=t.target;e._lazyCache?delete e._lazyCache:(dt(t),d(e,m.loadedClass),h(e,m.loadingClass),rt(e,F),g(e,"lazyloaded"))}function gt(t){var e,i=t[K](m.srcsetAttr);(e=m.customMedia[t[K]("data-media")||t[K]("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i)}function vt(){3==m.loadMode&&(m.loadMode=2),R()}function yt(){var t=X;for(X=V.length?j:V,W=!(N=!0);t.length;)t.shift()();N=!1}function bt(t,e){N&&!e?t.apply(this,arguments):(X.push(t),W||(W=!0,(p.hidden?Z:J)(yt)))}return Z(function(){m.init&&ut()}),f={cfg:m,autoSizer:lt,loader:at,init:ut,uP:v,aC:d,rC:h,hC:r,fire:g,gW:l,rAF:st}}(t,t.document,Date);t.lazySizes=e,"object"==typeof module&&module.exports&&(module.exports=e)}("undefined"!=typeof window?window:{}),function(t,d){(function(){if("undefined"!=typeof module&&module.exports)return function(t){module.exports=t()};if("function"==typeof define&&define.amd)return define;if("undefined"!=typeof window)return function(t){window.MobileDetect=t()};throw new Error("unknown environment")})()(function(){"use strict";function e(t,e){return null!=t&&null!=e&&t.toLowerCase()===e.toLowerCase()}function i(t,e){var i,n,o=t.length;if(!o||!e)return!1;for(i=e.toLowerCase(),n=0;n<o;++n)if(i===t[n].toLowerCase())return!0;return!1}function a(t){for(var e in t)c.call(t,e)&&(t[e]=new RegExp(t[e],"i"))}function s(t,e){this.ua=function(t){return(t||"").substr(0,500)}(t),this._cache={},this.maxPhoneWidth=e||600}var l,u={mobileDetectRules:{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5
vendor: 5,742 bytes, line 114
114|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-
vendor: 4,719 bytes, line 114
114I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708
114",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304F|TB-X304L|TB-8703F|Tab2A7-10F",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612|SOT31",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MI
114D810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfVie
114wTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",
114NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Puffin:"Puffin",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|P
114LAYSTATION|Xbox)\\b",Watch:"SM-V700"}},detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i}},c=Object.prototype.hasOwnProperty;return u.FALLBACK_PHONE="UnknownPhone",u.FALLBACK_TABLET="UnknownTablet",u.FALLBACK_MOBILE="UnknownMobile",l="isArray"in Array?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},function(){var t,e,i,n,o,r,s=u.mobileDetectRules;for(t in s.props)if(c.call(s.props,t)){for(e=s.props[t],l(e)||(e=[e]),o=e.length,n=0;n<o;++n)0<=(r=(i=e[n]).indexOf("[VER]"))&&(i=i.substring(0,r)+"([\\w._\\+]+)"+i.substring(r+5)),e[n]=new RegExp(i,"i");s.props[t]=e}a(s.oss),a(s.phones),a(s.tablets),a(s.uas),a(s.utils),s.oss0={WindowsPhoneOS:s.oss.WindowsPhoneOS,WindowsMobileOS:s.oss.WindowsMobileOS}}(),u.findMatch=function(t,e){for(var i in t)if(c.call(t,i)&&t[i].test(e))return i;return null},u.findMatches=function(t,e){var i=[];for(var n in t)c.call(t,n)&&t[n].test(e)&&i.push(n);return i},u.getVersionStr=function(t,e){var i,n,o,r,s=u.mobileDetectRules.props;if(c.call(s,t))for(o=(i=s[t]).length,n=0;n<o;++n)if(null!==(r=i[n].exec(e)))return r[1];return null},u.getVersion=function(t,e){var i=u.getVersionStr(t,e);return i?u.prepareVersionNo(i):NaN},u.prepareVersionNo=function(t){var e;return 1===(e=t.split(/[a-z._ \/\-]/i)).length&&(t=e[0]),1<e.length&&(t=e[0]+".",e.shift(),t+=e.join("")),Number(t)},u.isMobileFallback=function(t){return u.detectMobileBrowsers.fullPattern.test(t)||u.detectMobileBrowsers.shortPattern.test(t.substr(0,4))},u.isTabletFallback=function(t){return u.detectMobileBrowsers.tabletPattern.test(t)},u.prepareDetectionCache=function(t,e,i){var n,o,r;if(t.mobile===d)return(o=u.findMatch(u.mobileDetectRules.tablets,e))?(t.mobile=t.tablet=o,void(t.phone=null)):(n=u.findMatch(u.mobileDetectRules.phones,e))?(t.mobile=t.phone=n,void(t.tablet=null)):void(u.isMobileFallback(e)?(r=s.isPhoneSized(i))===d?(t.mobile=u.FALLBACK_MOBILE,t.tablet=t.phone=null):r?(t.mobile=t.phone=u.FALLBACK_PHONE,t.tablet=null):(t.mobile=t.tablet=u.FALLBACK_TABLET,t.phone=null):u.isTabletFallback(e)?(t.mobile=t.tablet=u.FALLBACK_TABLET,t.phone=null):t.mobile=t.tablet=t.phone=null)},u.mobileGrade=function(t){var e=null!==t.mobile();return t.os("iOS")&&4.3<=t.version("iPad")||t.os("iOS")&&3.1<=t.version("iPhone")||t.os("iOS")&&3.1<=t.version("iPod")||2.1<t.version("Android")&&t.is("Webkit")||7<=t.version("Windows Phone OS")||t.is("BlackBerry")&&6<=t.version("BlackBerry")||t.match("Playbook.*Tablet")||1.4<=t.ver
114sion("webOS")&&t.match("Palm|Pre|Pixi")||t.match("hp.*TouchPad")||t.is("Firefox")&&12<=t.version("Firefox")||t.is("Chrome")&&t.is("AndroidOS")&&4<=t.version("Android")||t.is("Skyfire")&&4.1<=t.version("Skyfire")&&t.is("AndroidOS")&&2.3<=t.version("Android")||t.is("Opera")&&11<t.version("Opera Mobi")&&t.is("AndroidOS")||t.is("MeeGoOS")||t.is("Tizen")||t.is("Dolfin")&&2<=t.version("Bada")||(t.is("UC Browser")||t.is("Dolfin"))&&2.3<=t.version("Android")||t.match("Kindle Fire")||t.is("Kindle")&&3<=t.version("Kindle")||t.is("AndroidOS")&&t.is("NookTablet")||11<=t.version("Chrome")&&!e||5<=t.version("Safari")&&!e||4<=t.version("Firefox")&&!e||7<=t.version("MSIE")&&!e||10<=t.version("Opera")&&!e?"A":t.os("iOS")&&t.version("iPad")<4.3||t.os("iOS")&&t.version("iPhone")<3.1||t.os("iOS")&&t.version("iPod")<3.1||t.is("Blackberry")&&5<=t.version("BlackBerry")&&t.version("BlackBerry")<6||5<=t.version("Opera Mini")&&t.version("Opera Mini")<=6.5&&(2.3<=t.version("Android")||t.is("iOS"))||t.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||11<=t.version("Opera Mobi")&&t.is("SymbianOS")?"B":(t.version("BlackBerry")<5||t.match("MSIEMobile|Windows CE.*Mobile")||t.version("Windows Mobile"),"C")},u.detectOS=function(t){return u.findMatch(u.mobileDetectRules.oss0,t)||u.findMatch(u.mobileDetectRules.oss,t)},u.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},s.prototype={constructor:s,mobile:function(){return u.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return u.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return u.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===d&&(this._cache.userAgent=u.findMatch(u.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===d&&(this._cache.userAgents=u.findMatches(u.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===d&&(this._cache.os=u.detectOS(this.ua)),this._cache.os},version:function(t){return u.getVersion(t,this.ua)},versionStr:function(t){return u.getVersionStr(t,this.ua)},is:function(t){return i(this.userAgents(),t)||e(t,this.os())||e(t,this.phone())||e(t,this.tablet())||i(u.findMatches(u.mobileDetectRules.utils,this.ua),t)},match:function(t){return t instanceof RegExp||(t=new RegExp(t,"i")),t.test(this.ua)},isPhoneSized:function(t){return s.isPhoneSized(t||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===d&&(this._cache.grade=u.mobileGrade(this)),this._cache.grade}},s.isPhoneSized="undefined"!=typeof window&&window.screen?function(t){return t<0?d:u.getDeviceSmallerSide()<=t}:function(){},s._impl=u,s.version="1.4.2 2018-06-10",s})}(),function(){var l,t,s,u,x,o,c,d,n,h,i,e,p,P,r,a,f,m,g,v=[].slice;function y(t){var e,i,n,o,r,s,a,l,u,c=this;if(this.options=t,this.el=this.options.el,null!=this.el.odometer)return this.el.odometer;for(e in this.el.odometer=this,a=y.options)n=a[e],null==this.options[e]&&(this.options[e]=n);null==(o=this.options).duration&&(o.duration=2e3),this.MAX_VALUES=this.options.duration/(1e3/30)/2|0,this.resetFormat(),this.value=this.cleanValue(null!=(l=this.options.value)?l:""),this.renderInside(),this.render();try{for(r=0,s=(u=["innerHTML","innerText","textContent"]).length;r<s;r++)i=u[r],null!=this.el[i]&&function(e){Object.defineProperty(c.el,e,{get:function(){var t;return"innerHTML"===e?c.inside.outerHTML:null!=(t=c.inside.innerText)?t:c.inside.textContent},set:function(t){return c.update(t)}})}(i)}catch(t){t,this.watchForMutations()}}l=/^\(?([^)]*)\)?(?:(.)(d+))?$/,e=document.createElement("div").style,u=null!=e.transition||null!=e.webkitTransition||null!=e.mozTransition||null!=e.oTransition,h=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,o=function(t){var e;return(e=document.createElement("div")).innerHTML=t,e.children[0]},n=function(t,e){return t.className=t.className.replace(new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi")," ")},x=function(t,e){return n(t,e),t.className+=" "+e},p=function(t,e){var i;return null!=document.createEvent?((i=document.createEvent("HTMLEvents")).initEvent(e,!0,!0),t.dispatchEvent(i)):void 0},d=function(){var t,e;return null!=(t=null!=(e=window.performance)&&"function"==typeof e.now?e.now():void 0)?t:+new Date},i=function(t,e){return null==e&&(e=0),e?(t*=Math.pow(10,e),t+=.5,t=Math.floor(t),t/=Math.pow(10,e)):Math.round(t)},P=function(t){return t<0?Math.ceil(t):Math.floor(t)},a=!(c=function(t){return t-i(t)}),(r=function(){var t,e,i,n,o;if(!a&&null!=window.jQuery){for(a=!0,o=[],e=0,i=(n=["html","text"]).length;e<i;e++)t=n[e],o.push(function(t){var i;return i=window.jQuery.fn[t],window.jQuery.fn[t]=function(t){var e;return null==t||null==(null!=(e=this[0])?e.odometer:void 0)?i.apply(this,arguments):this[0].odometer.update(t)}}(t));return o}})(),setTimeout(r,0),y.prototype.renderInside=function(){return this.inside=document.createElement("div"),this.inside.className="odometer-inside",this.el.innerHTML="",this.el.appendChild(this.inside)},y.prototype.watchForMutations=function(){var i=this;if(null!=t)try{return null==this.observer&&(this.observer=new t(function(t){var e;return e=i.el.innerText,i.renderInside(),i.render(i.value),i.update(e)})),this.watchMutations=!0,this.startWatchingMutations()}catch(t){}},y.prototype.startWatchingMutations=function(){return this.watchMutations?this.observer.observe(this.el,{childList:!0}):void 0},y.prototype.stopWatchingMutations=function(){var t;return null!=(t=this.observer)?t.disconnect():void 0},y.prototype.cleanValue=function(t){var e;return"string"==typeof t&&(t=(t=(t=t.replace(null!=(e=this.format.radix)?e:".","<radix>")).replace(/[.,]/g,"")).replace("<radix>","."),t=parseFloat(t,10)||0),i(t,this.format.precision)},y.prototype.bindTransitionEnd=function(){var t,e,i,n,o,r,s=this;if(!this.transitionEndBound){for(this.transitionEndBound=!0,e=!1,r=[],i=0,n=(o="transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd".split(" ")).length;i<n;i++)t=o[i],r.push(this.el.addEventListener(t,function(){return e||(e=!0,setTimeout(function(){return s.render(),e=!1,p(s.el,"odometerdone")},0)),!0},!1));return r}},y.prototype.resetFormat=function(){var t,e,i,n,o,r,s,a;if(t=(t=null!=(s=this.options.format)?s:"(,ddd).dd")||"d",!(i=l.exec(t)))throw new Error("Odometer: Unparsable digit format");return r=(a=i.slice(1,4))[0],o=a[1],n=(null!=(e=a[2])?e.length:void 0)||0,this.format={repeating:r,radix:o,precision:n}},y.prototype.render=function(t){var e,i,n,o,r,s,a;for(null==t&&(t=this.value),this.stopWatchingMutations(),this.resetFormat(),this.inside.innerHTML="",r=this.options.theme,o=[],s=0,a=(e=this.el.className.split(" ")).length;s<a;s++)(i=e[s]).length&&((n=/^odometer-theme-(.+)$/.exec(i))?r=n[1]:/^odometer(-|$)/.test(i)||o.push(i));return o.push("odometer"),u||o.push("odometer-no-transitions"),r?o.push("odometer-theme-"+r):o.push("odometer-auto-theme"),this.el.className=o.join(" "),this.ribbons={},this.formatDigits(t),this.startWatchingMutations()},y.prototype.formatDigits=function(t){var e,i,n,o,r,s,a,l,u;if(this.digits=[],this.options.formatFunction)for(o=0,s=(l=this.options.formatFunction(t).split("").reverse()).length;o<s;o++)(i=l[o]).match(/0-9/)?((e=this.renderDigit()).querySelector(".odometer-value").innerHTML=i,this.digits.push(e),this.insertDigit(e)):this.addSpacer(i);else for(n=!this.format.precision||!c(t)||!1,r=0,a=(u=t.toString().split("").reverse()).length;r<a;
114r++)"."===(e=u[r])&&(n=!0),this.addDigit(e,n)},y.prototype.update=function(t){var e,i=this;return(e=(t=this.cleanValue(t))-this.value)?(n(this.el,"odometer-animating-up odometer-animating-down odometer-animating"),x(this.el,0<e?"odometer-animating-up":"odometer-animating-down"),this.stopWatchingMutations(),this.animate(t),this.startWatchingMutations(),setTimeout(function(){return i.el.offsetHeight,x(i.el,"odometer-animating")},0),this.value=t):void 0},y.prototype.renderDigit=function(){return o('<span class="odometer-digit"><span class="odometer-digit-spacer">8</span><span class="odometer-digit-inner"><span class="odometer-ribbon"><span class="odometer-ribbon-inner"><span class="odometer-value"></span></span></span></span></span>')},y.prototype.insertDigit=function(t,e){return null!=e?this.inside.insertBefore(t,e):this.inside.children.length?this.inside.insertBefore(t,this.inside.children[0]):this.inside.appendChild(t)},y.prototype.addSpacer=function(t,e,i){var n;return(n=o('<span class="odometer-formatting-mark"></span>')).innerHTML=t,i&&x(n,i),this.insertDigit(n,e)},y.prototype.addDigit=function(t,e){var i,n,o,r;if(null==e&&(e=!0),"-"===t)return this.addSpacer(t,null,"odometer-negation-mark");if("."===t)return this.addSpacer(null!=(r=this.format.radix)?r:".",null,"odometer-radix-mark");if(e)for(o=!1;;){if(!this.format.repeating.length){if(o)throw new Error("Bad odometer format without digits");this.resetFormat(),o=!0}if(i=this.format.repeating[this.format.repeating.length-1],this.format.repeating=this.format.repeating.substring(0,this.format.repeating.length-1),"d"===i)break;this.addSpacer(i)}return(n=this.renderDigit()).querySelector(".odometer-value").innerHTML=t,this.digits.push(n),this.insertDigit(n)},y.prototype.animate=function(t){return u&&"count"!==this.options.animation?this.animateSlide(t):this.animateCount(t)},y.prototype.animateCount=function(i){var n,o,r,s,a,l=this;if(o=+i-this.value)return s=r=d(),n=this.value,(a=function(){var t,e;return d()-s>l.options.duration?(l.value=i,l.render(),void p(l.el,"odometerdone")):(50<(t=d()-r)&&(r=d(),e=t/l.options.duration,n+=o*e,l.render(Math.round(n))),null!=h?h(a):setTimeout(a,50))})()},y.prototype.getDigitCount=function(){var t,e,i,n,o,r;for(t=o=0,r=(n=1<=arguments.length?v.call(arguments,0):[]).length;o<r;t=++o)i=n[t],n[t]=Math.abs(i);return e=Math.max.apply(Math,n),Math.ceil(Math.log(e+1)/Math.log(10))},y.prototype.getFractionalDigitCount=function(){var t,e,i,n,o,r,s;for(e=/^\-?\d*\.(\d*?)0*$/,t=r=0,s=(o=1<=arguments.length?v.call(arguments,0):[]).length;r<s;t=++r)n=o[t],o[t]=n.toString(),i=e.exec(o[t]),o[t]=null==i?0:i[1].length;return Math.max.apply(Math,o)},y.prototype.resetDigits=function(){return this.digits=[],this.ribbons=[],this.inside.innerHTML="",this.resetFormat()},y.prototype.animateSlide=function(t){var e,i,n,o,r,s,a,l,u,c,d,h,p,f,m,g,v,y,b,T,D,S,w,C,_,A,E;if(g=this.value,(l=this.getFractionalDigitCount(g,t))&&(t*=Math.pow(10,l),g*=Math.pow(10,l)),n=t-g){for(this.bindTransitionEnd(),o=this.getDigitCount(g,t),r=[],d=b=e=0;0<=o?b<o:o<b;d=0<=o?++b:--b){if(v=P(g/Math.pow(10,o-d-1)),s=(a=P(t/Math.pow(10,o-d-1)))-v,Math.abs(s)>this.MAX_VALUES){for(c=[],h=s/(this.MAX_VALUES+this.MAX_VALUES*e*.5),i=v;0<s&&i<a||s<0&&a<i;)c.push(Math.round(i)),i+=h;c[c.length-1]!==a&&c.push(a),e++}else c=function(){E=[];for(var t=v;v<=a?t<=a:a<=t;v<=a?t++:t--)E.push(t);return E}.apply(this);for(d=T=0,S=c.length;T<S;d=++T)u=c[d],c[d]=Math.abs(u%10);r.push(c)}for(this.resetDigits(),d=D=0,w=(A=r.reverse()).length;D<w;d=++D)for(c=A[d],this.digits[d]||this.addDigit(" ",l<=d),null==(y=this.ribbons)[d]&&(y[d]=this.digits[d].querySelector(".odometer-ribbon-inner")),this.ribbons[d].innerHTML="",n<0&&(c=c.reverse()),p=_=0,C=c.length;_<C;p=++_)u=c[p],(m=document.createElement("div")).className="odometer-value",m.innerHTML=u,this.ribbons[d].appendChild(m),p===c.length-1&&x(m,"odometer-last-value"),0===p&&x(m,"odometer-first-value");return v<0&&this.addDigit("-"),null!=(f=this.inside.querySelector(".odometer-radix-mark"))&&f.parent.removeChild(f),l?this.addSpacer(this.format.radix,this.digits[l-1],"odometer-radix-mark"):void 0}},(s=y).options=null!=(m=window.odometerOptions)?m:{},setTimeout(function(){var t,e,i,n,o;if(window.odometerOptions){for(t in o=[],n=window.odometerOptions)e=n[t],o.push(null!=(i=s.options)[t]?(i=s.options)[t]:i[t]=e);return o}},0),s.init=function(){var t,e,i,n,o,r;if(null!=document.querySelectorAll){for(r=[],i=0,n=(e=document.querySelectorAll(s.options.selector||".odometer")).length;i<n;i++)t=e[i],r.push(t.odometer=new s({el:t,value:null!=(o=t.innerText)?o:t.textContent}));return r}},null!=(null!=(g=document.documentElement)?g.doScroll:void 0)&&null!=document.createEventObject?(f=document.onreadystatechange,document.onreadystatechange=function(){return"complete"===document.readyState&&!1!==s.options.auto&&s.init(),null!=f?f.apply(this,arguments):void 0}):document.addEventListener("DOMContentLoaded",function(){return!1!==s.options.auto?s.init():void 0},!1),"function"==typeof define&&define.amd?define([],function(){return s}):"undefined"!=typeof exports&&null!==exports?module.exports=s:window.Odometer=s}
114.call(this),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.PerfectScrollbar=e()}(this,function(){"use strict";function m(t){return getComputedStyle(t)}function c(t,e){for(var i in e){var n=e[i];"number"==typeof n&&(n+="px"),t.style[i]=n}return t}function d(t){var e=document.createElement("div");return e.className=t,e}function s(t,e){if(!l)throw new Error("No element matching method supported");return l.call(t,e)}function n(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function o(t,e){return Array.prototype.filter.call(t.children,function(t){return s(t,e)})}function v(t,e){var i=t.element.classList,n=b.state.scrolling(e);i.contains(n)?clearTimeout(u[e]):i.add(n)}function y(t,e){u[e]=setTimeout(function(){return t.isAlive&&t.element.classList.remove(b.state.scrolling(e))},t.settings.scrollingThreshold)}function h(t){if("function"==typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}function a(t,e,i,n,o){var r=i[0],s=i[1],a=i[2],l=i[3],u=i[4],c=i[5];void 0===n&&(n=!0),void 0===o&&(o=!1);var d=t.element;t.reach[l]=null,d[a]<1&&(t.reach[l]="start"),d[a]>t[r]-t[s]-1&&(t.reach[l]="end"),e&&(d.dispatchEvent(h("ps-scroll-"+l)),e<0?d.dispatchEvent(h("ps-scroll-"+u)):0<e&&d.dispatchEvent(h("ps-scroll-"+c)),n&&function(t,e){v(t,e),y(t,e)}(t,l)),t.reach[l]&&(e||o)&&d.dispatchEvent(h("ps-"+l+"-reach-"+t.reach[l]))}function p(t){return parseInt(t,10)||0}function r(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function e(e,t){function i(t){p[c]=f+g*(t[s]-m),v(e,d),T(e),t.stopPropagation(),t.preventDefault()}function n(){y(e,d),e[h].classList.remove(b.state.clicking),e.event.unbind(e.ownerDocument,"mousemove",i)}var o=t[0],r=t[1],s=t[2],a=t[3],l=t[4],u=t[5],c=t[6],d=t[7],h=t[8],p=e.element,f=null,m=null,g=null;e.event.bind(e[l],"mousedown",function(t){f=p[c],m=t[s],g=(e[r]-e[o])/(e[a]-e[u]),e.event.bind(e.ownerDocument,"mousemove",i),e.event.once(e.ownerDocument,"mouseup",n),e[h].classList.add(b.state.clicking),t.stopPropagation(),t.preventDefault()})}function i(t){this.element=t,this.handlers={}}var l="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector),b={main:"ps",element:{thumb:function(t){return"ps__thumb-"+t},rail:function(t){return"ps__rail-"+t},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(t){return"ps--active-"+t},scrolling:function(t){return"ps--scrolling-"+t}}},u={x:null,y:null},t={isEmpty:{configurable:!0}};i.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},i.prototype.unbind=function(e,i){var n=this;this.handlers[e]=this.handlers[e].filter(function(t){return!(!i||t===i)||(n.element.removeEventListener(e,t,!1),!1)})},i.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},t.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every(function(t){return 0===e.handlers[t].length})},Object.defineProperties(i.prototype,t);function f(){this.eventElements=[]}f.prototype.eventElement=function(e){var t=this.eventElements.filter(function(t){return t.element===e})[0];return t||(t=new i(e),this.eventElements.push(t)),t},f.prototype.bind=function(t,e,i){this.eventElement(t).bind(e,i)},f.prototype.unbind=function(t,e,i){var n=this.eventElement(t);n.unbind(e,i),n.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(n),1)},f.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]},f.prototype.once=function(t,e,i){var n=this.eventElement(t),o=function(t){n.unbind(e,o),i(t)};n.bind(e,o)};function g(t,e,i,n,o){var r;if(void 0===n&&(n=!0),void 0===o&&(o=!1),"top"===e)r=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");r=["contentWidth","containerWidth","scrollLeft","x","left","right"]}a(t,i,r,n,o)}function T(t){var e=t.element,i=Math.floor(e.scrollTop);t.containerWidth=e.clientWidth,t.containerHeight=e.clientHeight,t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(o(e,b.element.rail("x")).forEac
114h(function(t){return n(t)}),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(o(e,b.element.rail("y")).forEach(function(t){return n(t)}),e.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset<t.contentWidth?(t.scrollbarXActive=!0,t.railXWidth=t.containerWidth-t.railXMarginWidth,t.railXRatio=t.containerWidth/t.railXWidth,t.scrollbarXWidth=r(t,p(t.railXWidth*t.containerWidth/t.contentWidth)),t.scrollbarXLeft=p((t.negativeScrollAdjustment+e.scrollLeft)*(t.railXWidth-t.scrollbarXWidth)/(t.contentWidth-t.containerWidth))):t.scrollbarXActive=!1,!t.settings.suppressScrollY&&t.containerHeight+t.settings.scrollYMarginOffset<t.contentHeight?(t.scrollbarYActive=!0,t.railYHeight=t.containerHeight-t.railYMarginHeight,t.railYRatio=t.containerHeight/t.railYHeight,t.scrollbarYHeight=r(t,p(t.railYHeight*t.containerHeight/t.contentHeight)),t.scrollbarYTop=p(i*(t.railYHeight-t.scrollbarYHeight)/(t.contentHeight-t.containerHeight))):t.scrollbarYActive=!1,t.scrollbarXLeft>=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),function(t,e){var i={width:e.railXWidth},n=Math.floor(t.scrollTop);e.isRtl?i.left=e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:i.left=t.scrollLeft,e.isScrollbarXUsingBottom?i.bottom=e.scrollbarXBottom-n:i.top=e.scrollbarXTop+n,c(e.scrollbarXRail,i);var o={top:n,height:e.railYHeight};e.isScrollbarYUsingRight?e.isRtl?o.right=e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth:o.right=e.scrollbarYRight-t.scrollLeft:e.isRtl?o.left=e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:o.left=e.scrollbarYLeft+t.scrollLeft,c(e.scrollbarYRail,o),c(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),c(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(e,t),t.scrollbarXActive?e.classList.add(b.state.active("x")):(e.classList.remove(b.state.active("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=0),t.scrollbarYActive?e.classList.add(b.state.active("y")):(e.classList.remove(b.state.active("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)}function D(t,e){var i,n,o=this;if(void 0===e&&(e={}),"string"==typeof t&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var r in(this.element=t).classList.add(b.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},e)o.settings[r]=e[r];function s(){return t.classList.add(b.state.focus)}function a(){return t.classList.remove(b.state.focus)}this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null,this.isRtl="rtl"===m(t).direction,this.isNegativeScroll=(n=t.scrollLeft,t.scrollLeft=-1,i=t.scrollLeft<0,t.scrollLeft=n,i),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new f,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=d(b.element.rail("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=d(b.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",s),this.event.bind(this.scrollbarX,"blur",a),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var l=m(this.scrollbarXRail);this.scrollbarXBottom=parseInt(l.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=p(l.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=p(l.borderLeftWidth)+p(l.borderRightWidth),c(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=p(l.marginLeft)+p(l.marginRight),c(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=d(b.element.rail("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=d(b.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",s),this.event.bind(this.scrollbarY,"blur",a),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var u=m(this.scrollbarYRail);this.scrollbarYRight=parseInt(u.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=p(u.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var e=m(t);return p(e.width)+p(e.paddingLeft)+p(e.paddingRight)+p(e.borderLeftWidth)+p(e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=p(u.borderTopWidth)+p(u.borderBottomWidth),c(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=p(u.marginTop)+p(u.marginBottom),c(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null}
114,this.isAlive=!0,this.settings.handlers.forEach(function(t){return w[t](o)}),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",function(t){return o.onScroll(t)}),T(this)}var S={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)},w={"click-rail":function(i){i.event.bind(i.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),i.event.bind(i.scrollbarYRail,"mousedown",function(t){var e=t.pageY-window.pageYOffset-i.scrollbarYRail.getBoundingClientRect().top>i.scrollbarYTop?1:-1;i.element.scrollTop+=e*i.containerHeight,T(i),t.stopPropagation()}),i.event.bind(i.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),i.event.bind(i.scrollbarXRail,"mousedown",function(t){var e=t.pageX-window.pageXOffset-i.scrollbarXRail.getBoundingClientRect().left>i.scrollbarXLeft?1:-1;i.element.scrollLeft+=e*i.containerWidth,T(i),t.stopPropagation()})},"drag-thumb":function(t){e(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),e(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(o){var r=o.element;o.event.bind(o.ownerDocument,"keydown",function(t){if(!(t.isDefaultPrevented&&t.isDefaultPrevented()||t.defaultPrevented)&&(s(r,":hover")||s(o.scrollbarX,":focus")||s(o.scrollbarY,":focus"))){var e=document.activeElement?document.activeElement:o.ownerDocument.activeElement;if(e){if("IFRAME"===e.tagName)e=e.contentDocument.activeElement;else for(;e.shadowRoot;)e=e.shadowRoot.activeElement;if(function(t){return s(t,"input,[contenteditable]")||s(t,"select,[contenteditable]")||s(t,"textarea,[contenteditable]")||s(t,"button,[contenteditable]")}(e))return}var i=0,n=0;switch(t.which){case 37:i=t.metaKey?-o.contentWidth:t.altKey?-o.containerWidth:-30;break;case 38:n=t.metaKey?o.contentHeight:t.altKey?o.containerHeight:30;break;case 39:i=t.metaKey?o.contentWidth:t.altKey?o.containerWidth:30;break;case 40:n=t.metaKey?-o.contentHeight:t.altKey?-o.containerHeight:-30;break;case 32:n=t.shiftKey?o.containerHeight:-o.containerHeight;break;case 33:n=o.containerHeight;break;case 34:n=-o.containerHeight;break;case 36:n=o.contentHeight;break;case 35:n=-o.contentHeight;break;default:return}o.settings.suppressScrollX&&0!==i||o.settings.suppressScrollY&&0!==n||(r.scrollTop-=n,r.scrollLeft+=i,T(o),function(t,e){var i=Math.floor(r.scrollTop);if(0===t){if(!o.scrollbarYActive)return!1;if(0===i&&0<e||i>=o.contentHeight-o.containerHeight&&e<0)return!o.settings.wheelPropagation}var n=r.scrollLeft;if(0===e){if(!o.scrollbarXActive)return!1;if(0===n&&t<0||n>=o.contentWidth-o.containerWidth&&0<t)return!o.settings.wheelPropagation}return!0}(i,n)&&t.preventDefault())}})},wheel:function(a){function t(t){var e=function(t){var e=t.deltaX,i=-1*t.deltaY;return void 0!==e&&void 0!==i||(e=-1*t.wheelDeltaX/6,i=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,i*=10),e!=e&&i!=i&&(e=0,i=t.wheelDelta),t.shiftKey?[-i,-e]:[e,i]}(t),i=e[0],n=e[1];if(!function(t,e,i){if(!S.isWebKit&&l.querySelector("select:focus"))return!0;if(!l.contains(t))return!1;for(var n=t;n&&n!==l;){if(n.classList.contains(b.element.consuming))return!0;var o=m(n);if([o.overflow,o.overflowX,o.overflowY].join("").match(/(scroll|auto)/)){var r=n.scrollHeight-n.clientHeight;if(0<r&&!(0===n.scrollTop&&0<i||n.scrollTop===r&&i<0))return!0;var s=n.scrollWidth-n.clientWidth;if(0<s&&!(0===n.scrollLeft&&e<0||n.scrollLeft===s&&0<e))return!0}n=n.parentNode}return!1}(t.target,i,n)){var o=!1;a.settings.useBothWheelAxes?a.scrollbarYActive&&!a.scrollbarXActive?(n?l.scrollTop-=n*a.settings.wheelSpeed:l.scrollTop+=i*a.settings.wheelSpeed,o=!0):a.scrollbarXActive&&!a.scrollbarYActive&&(i?l.scrollLeft+=i*a.settings.wheelSpeed:l.scrollLeft-=n*a.settings.wheelSpeed,o=!0):(l.scrollTop-=n*a.settings.wheelSpeed,l.scrollLeft+=i*a.settings.wheelSpeed),T(a),(o=o||function(t,e){var i=Math.floor(l.scrollTop),n=0===l.scrollTop,o=i+l.offsetHeight===l.scrollHeight,r=0===l.scrollLeft,s=l.scrollLeft+l.offsetWidth===l.scrollWidth;return!(Math.abs(e)>Math.abs(t)?n||o:r||s)||!a.settings.wheelPropagation}(i,n))&&!t.ctrlKey&&(t.stopPropagation(),t.preventDefault())}}var l=a.element;void 0!==window.onwheel?a.event.bind(l,"wheel",t):void 0!==window.onmousewheel&&a.event.bind(l,"mousewheel",t)},touch:function(a){function l(t,e){d.scrollTop-=e,d.scrollLeft-=t,T(a)}function u(t){return t.targetTouches?t.targetTouches[0]:t}function c(t){return!(t.pointerType&&"pen"===t.pointerType&&0===t.buttons||(!t.targetTouches||1!==t.targetTouches.length)&&(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))}function t(t){if(c(t)){var e=u(t);h.pageX=e.pageX,h.pageY=e.pageY,p=(new Date).getTime(),null!==n&&clearInterval(n)}}function e(t){if(c(t)){var e=u(t),i={pageX:e.pageX,pageY:e.pageY},n=i.pageX-h.pageX,o=i.pageY-h.pageY;
114if(function(t,e,i){if(!d.contains(t))return!1;for(var n=t;n&&n!==d;){if(n.classList.contains(b.element.consuming))return!0;var o=m(n);if([o.overflow,o.overflowX,o.overflowY].join("").match(/(scroll|auto)/)){var r=n.scrollHeight-n.clientHeight;if(0<r&&!(0===n.scrollTop&&0<i||n.scrollTop===r&&i<0))return!0;var s=n.scrollLeft-n.clientWidth;if(0<s&&!(0===n.scrollLeft&&e<0||n.scrollLeft===s&&0<e))return!0}n=n.parentNode}return!1}(t.target,n,o))return;l(n,o),h=i;var r=(new Date).getTime(),s=r-p;0<s&&(f.x=n/s,f.y=o/s,p=r),function(t,e){var i=Math.floor(d.scrollTop),n=d.scrollLeft,o=Math.abs(t),r=Math.abs(e);if(o<r){if(e<0&&i===a.contentHeight-a.containerHeight||0<e&&0===i)return 0===window.scrollY&&0<e&&S.isChrome}else if(r<o&&(t<0&&n===a.contentWidth-a.containerWidth||0<t&&0===n))return!0;return!0}(n,o)&&t.preventDefault()}}function i(){a.settings.swipeEasing&&(clearInterval(n),n=setInterval(function(){a.isInitialized?clearInterval(n):f.x||f.y?Math.abs(f.x)<.01&&Math.abs(f.y)<.01?clearInterval(n):(l(30*f.x,30*f.y),f.x*=.8,f.y*=.8):clearInterval(n)},10))}if(S.supportsTouch||S.supportsIePointer){var d=a.element,h={},p=0,f={},n=null;S.supportsTouch?(a.event.bind(d,"touchstart",t),a.event.bind(d,"touchmove",e),a.event.bind(d,"touchend",i)):S.supportsIePointer&&(window.PointerEvent?(a.event.bind(d,"pointerdown",t),a.event.bind(d,"pointermove",e),a.event.bind(d,"pointerup",i)):window.MSPointerEvent&&(a.event.bind(d,"MSPointerDown",t),a.event.bind(d,"MSPointerMove",e),a.event.bind(d,"MSPointerUp",i)))}}};return D.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,c(this.scrollbarXRail,{display:"block"}),c(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=p(m(this.scrollbarXRail).marginLeft)+p(m(this.scrollbarXRail).marginRight),this.railYMarginHeight=p(m(this.scrollbarYRail).marginTop)+p(m(this.scrollbarYRail).marginBottom),c(this.scrollbarXRail,{display:"none"}),c(this.scrollbarYRail,{display:"none"}),T(this),g(this,"top",0,!1,!0),g(this,"left",0,!1,!0),c(this.scrollbarXRail,{display:""}),c(this.scrollbarYRail,{display:""}))},D.prototype.onScroll=function(t){this.isAlive&&(T(this),g(this,"top",this.element.scrollTop-this.lastScrollTop),g(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},D.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),n(this.scrollbarX),n(this.scrollbarY),n(this.scrollbarXRail),n(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},D.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")},D}),function(i){"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof module&&module.exports?module.exports=function(t,e){return void 0===e&&(e="undefined"!=typeof window?require("jquery"):require("jquery")(t)),i(e),e}:i(jQuery)}(function(c){var t=function(){if(c&&c.fn&&c.fn.select2&&c.fn.select2.amd)var t=c.fn.select2.amd;var e,i,n,p,r,s,f,m,g,v,y,b,o,a,T;return t&&t.requirejs||(t?i=t:t={},g={},v={},y={},b={},o=Object.prototype.hasOwnProperty,a=[].slice,T=/\.js$/,f=function(t,e){var i,n=u(t),o=n[0],r=e[1];return t=n[1],o&&(i=C(o=l(o,r))),o?t=i&&i.normalize?i.normalize(t,function(e){return function(t){return l(t,e)}}(r)):l(t,r):(o=(n=u(t=l(t,r)))[0],t=n[1],o&&(i=C(o))),{f:o?o+"!"+t:t,n:t,pr:o,p:i}},m={require:function(t){return S(t)},exports:function(t){var e=g[t];return void 0!==e?e:g[t]={}},module:function(t){return{id:t,uri:"",exports:g[t],config:function(t){return function(){return y&&y.config&&y.config[t]||{}}}(t)}}},r=function(t,e,i,n){var o,r,s,a,l,u,c,d=[],h=typeof i;if(u=_(n=n||t),"undefined"==h||"function"==h){for(e=!e.length&&i.length?["require","exports","module"]:e,l=0;l<e.length;l+=1)if("require"===(r=(a=f(e[l],u)).f))d[l]=m.require(t);else if("exports"===r)d[l]=m.exports(t),c=!0;else if("module"===r)o=d[l]=m.module(t);else if(D(g,r)||D(v,r)||D(b,r))d[l]=C(r);else{if(!a.p)throw new Error(t+" missing "+r);a.p.load(a.n,S(n,!0),w(r),{}),d[l]=g[r]}
114s=i?i.apply(g[t],d):void 0,t&&(o&&o.exports!==p&&o.exports!==g[t]?g[t]=o.exports:s===p&&c||(g[t]=s))}else t&&(g[t]=i)},e=i=s=function(t,e,i,n,o){if("string"==typeof t)return m[t]?m[t](e):C(f(t,_(e)).f);if(!t.splice){if((y=t).deps&&s(y.deps,y.callback),!e)return;e.splice?(t=e,e=i,i=null):t=p}return e=e||function(){},"function"==typeof i&&(i=n,n=o),n?r(p,t,e,i):setTimeout(function(){r(p,t,e,i)},4),s},s.config=function(t){return s(t)},e._defined=g,(n=function(t,e,i){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(i=e,e=[]),D(g,t)||D(v,t)||(v[t]=[t,e,i])}).amd={jQuery:!0},t.requirejs=e,t.require=i,t.define=n),t.define("almond",function(){}),t.define("jquery",[],function(){var t=c||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t}),t.define("select2/utils",["jquery"],function(r){function c(t){var e=t.prototype,i=[];for(var n in e)"function"==typeof e[n]&&"constructor"!==n&&i.push(n);return i}var t={Extend:function(t,e){function i(){this.constructor=t}var n={}.hasOwnProperty;for(var o in e)n.call(e,o)&&(t[o]=e[o]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t}};t.Decorate=function(n,o){function r(){var t=Array.prototype.unshift,e=o.prototype.constructor.length,i=n.prototype.constructor;0<e&&(t.call(arguments,n.prototype.constructor),i=o.prototype.constructor),i.apply(this,arguments)}var t=c(o),e=c(n);o.displayName=n.displayName,r.prototype=new function(){this.constructor=r};for(var i=0;i<e.length;i++){var s=e[i];r.prototype[s]=n.prototype[s]}function a(t){var e=function(){};t in r.prototype&&(e=r.prototype[t]);var i=o.prototype[t];return function(){return Array.prototype.unshift.call(arguments,e),i.apply(this,arguments)}}for(var l=0;l<t.length;l++){var u=t[l];r.prototype[u]=a(u)}return r};function e(){this.listeners={}}return e.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},e.prototype.trigger=function(t){var e=Array.prototype.slice,i=e.call(arguments,1);this.listeners=this.listeners||{},null==i&&(i=[]),0===i.length&&i.push({}),(i[0]._type=t)in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},e.prototype.invoke=function(t,e){for(var i=0,n=t.length;i<n;i++)t[i].apply(this,e)},t.Observable=e,t.generateChars=function(t){for(var e="",i=0;i<t;i++)e+=Math.floor(36*Math.random()).toString(36);return e},t.bind=function(t,e){return function(){t.apply(e,arguments)}},t._convertData=function(t){for(var e in t){var i=e.split("-"),n=t;if(1!==i.length){for(var o=0;o<i.length;o++){var r=i[o];(r=r.substring(0,1).toLowerCase()+r.substring(1))in n||(n[r]={}),o==i.length-1&&(n[r]=t[e]),n=n[r]}delete t[e]}}return t},t.hasScroll=function(t,e){var i=r(e),n=e.style.overflowX,o=e.style.overflowY;return(n!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===n||"scroll"===o||i.innerHeight()<e.scrollHeight||i.innerWidth()<e.scrollWidth)},t.escapeMarkup=function(t){var e={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},t.appendMany=function(t,e){if("1.7"===r.fn.jquery.substr(0,3)){var i=r();r.map(e,function(t){i=i.add(t)}),e=i}t.append(e)},t}),t.define("select2/results",["jquery","./utils"],function(h,t){function n(t,e,i){this.$element=t,this.data=i,this.options=e,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=h('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var e=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=h('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),n=this.options.get("translations").get(t.message);i.append(e(n(t.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];
114if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var i=0;i<t.results.length;i++){var n=t.results[i],o=this.option(n);e.push(o)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(t,e){e.find(".select2-results").append(t)},n.prototype.sort=function(t){return this.options.get("sorter")(t)},n.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");0<e.length?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var e=this;this.data.current(function(t){var n=h.map(t,function(t){return t.id.toString()});e.$results.find(".select2-results__option[aria-selected]").each(function(){var t=h(this),e=h.data(this,"data"),i=""+e.id;null!=e.element&&e.element.selected||null==e.element&&-1<h.inArray(i,n)?t.attr("aria-selected","true"):t.attr("aria-selected","false")})})},n.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},i=this.option(e);i.className+=" loading-results",this.$results.prepend(i)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(t){var e=document.createElement("li");e.className="select2-results__option";var i={role:"treeitem","aria-selected":"false"};for(var n in t.disabled&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==t.id&&delete i["aria-selected"],null!=t._resultId&&(e.id=t._resultId),t.title&&(e.title=t.title),t.children&&(i.role="group",i["aria-label"]=t.text,delete i["aria-selected"]),i){var o=i[n];e.setAttribute(n,o)}if(t.children){var r=h(e),s=document.createElement("strong");s.className="select2-results__group",h(s),this.template(t,s);for(var a=[],l=0;l<t.children.length;l++){var u=t.children[l],c=this.option(u);a.push(c)}var d=h("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});d.append(a),r.append(s),r.append(d)}else this.template(t,e);return h.data(e,"data",t),e},n.prototype.bind=function(e,t){var l=this,i=e.id+"-results";this.$results.attr("id",i),e.on("results:all",function(t){l.clear(),l.append(t.data),e.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),e.on("results:append",function(t){l.append(t.data),e.isOpen()&&l.setClasses()}),e.on("query",function(t){l.hideMessages(),l.showLoading(t)}),e.on("select",function(){e.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),e.on("unselect",function(){e.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),e.on("open",function(){l.$results.attr("aria-expanded","true"),l.$results.attr("aria-hidden","false"),l.setClasses(),l.ensureHighlightVisible()}),e.on("close",function(){l.$results.attr("aria-expanded","false"),l.$results.attr("aria-hidden","true"),l.$results.removeAttr("aria-activedescendant")}),e.on("results:toggle",function(){var t=l.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),e.on("results:select",function(){var t=l.getHighlightedResults();if(0!==t.length){var e=t.data("data");"true"==t.attr("aria-selected")?l.trigger("close",{}):l.trigger("select",{data:e})}}),e.on("results:previous",function(){var t=l.getHighlightedResults(),e=l.$results.find("[aria-selected]"),i=e.index(t);if(0!==i){var n=i-1;0===t.length&&(n=0);var o=e.eq(n);o.trigger("mouseenter");var r=l.$results.offset().top,s=o.offset().top,a=l.$results.scrollTop()+(s-r);0===n?l.$results.scrollTop(0):s-r<0&&l.$results.scrollTop(a)}}),e.on("results:next",function(){var t=l.getHighlightedResults(),e=l.$results.find("[aria-selected]"),i=e.index(t)+1;if(!(i>=e.length)){var n=e.eq(i);n.trigger("mouseenter");var o=l.$results.offset().top+l.$results.outerHeight(!1),r=n.offset().top+n.outerHeight(!1),s=l.$results.scrollTop()+r-o;0===i?l.$results.scrollTop(0):o<r&&l.$results.scrollTop(s)}}),e.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),e.on("results:message",function(t){l.displayMessage(t)}),h.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=l.$results.scrollTop(),i=l.$results.get(0).scrollHeight-e+t.deltaY,n=0<t.deltaY&&e-t.deltaY<=0,o=t.deltaY<0&&i<=l.$results.height();n?(l.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):o&&(l.$results.scrollTop(l.$results.get(0).scrollHeight-l.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(t){var e=h(this),i=e.data("data");"true"!==e.attr("aria-selected")?l.trigger("select",{originalEvent:t,data:i}):l.options.get("multiple")?l.trigger("unselect",{originalEvent:t,data:i}):l.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(t){var e=h(this).data("data");l.getHighlightedResults().removeClass("select2-results__option--highlighted"),l.trigger("results:focus",{data:e,element:h(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),i=this.$results.offset().top,n=t.offset().top,o=this.$results.scrollTop()+(n-i),r=n-i;o-=2*t.outerHeight(!1),e<=2?this.$results.scrollTop(0):(r>this.$results.outerHeight()||r<0)&&this.$results.scrollTop(o)}},n.prototype.template=function(t,e){var i=this.options.get("templateResult"),n=this.options.get("escapeMarkup"),o=i(t,e);null==o?e.style.display="none":"string"==typeof o?e.innerHTML=n(o):h(e).append(o)},n}),t.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(i,t,o){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=i('<sp
114an class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t},n.prototype.bind=function(t,e){var i=this,n=(t.id,t.id+"-results");this.container=t,this.$selection.on("focus",function(t){i.trigger("focus",t)}),this.$selection.on("blur",function(t){i._handleBlur(t)}),this.$selection.on("keydown",function(t){i.trigger("keypress",t),t.which===o.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){i.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){i.update(t.data)}),t.on("open",function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",n),i._attachCloseHandler(t)}),t.on("close",function(){i.$selection.attr("aria-expanded","false"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.focus(),i._detachCloseHandler(t)}),t.on("enable",function(){i.$selection.attr("tabindex",i._tabindex)}),t.on("disable",function(){i.$selection.attr("tabindex","-1")})},n.prototype._handleBlur=function(t){var e=this;window.setTimeout(function(){document.activeElement==e.$selection[0]||i.contains(e.$selection[0],document.activeElement)||e.trigger("blur",t)},1)},n.prototype._attachCloseHandler=function(t){i(document.body).on("mousedown.select2."+t.id,function(t){var e=i(t.target).closest(".select2");i(".select2.select2-container--open").each(function(){var t=i(this);this!=e[0]&&t.data("element").select2("close")})})},n.prototype._detachCloseHandler=function(t){i(document.body).off("mousedown.select2."+t.id)},n.prototype.position=function(t,e){e.find(".selection").append(t)},n.prototype.destroy=function(){this._detachCloseHandler(this.container)},n.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},n}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,i,n){function o(){o.__super__.constructor.apply(this,arguments)}return i.Extend(o,e),o.prototype.render=function(){var t=o.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},o.prototype.bind=function(e,t){var i=this;o.__super__.bind.apply(this,arguments);var n=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(t){1===t.which&&i.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),e.on("focus",function(t){e.isOpen()||i.$selection.focus()}),e.on("selection:update",function(t){i.update(t.data)})},o.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},o.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},o.prototype.selectionContainer=function(){return t("<span></span>")},o.prototype.update=function(t){if(0!==t.length){var e=t[0],i=this.$selection.find(".select2-selection__rendered"),n=this.display(e,i);i.empty().append(n),i.prop("title",e.title||e.text)}else this.clear()},o}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(n,t,a){function o(t,e){o.__super__.constructor.apply(this,arguments)}return a.Extend(o,t),o.prototype.render=function(){var t=o.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},o.prototype.bind=function(t,e){var i=this;o.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){i.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(t){if(!i.options.get("disabled")){var e=n(this).parent().data("data");i.trigger("unselect",{originalEvent:t,data:e})}})},o.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},o.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},o.prototype.selectionContainer=function(){return n('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>')},o.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],i=0;i<t.length;i++){var n=t[i],o=this.selectionContainer(),r=this.display(n,o);o.append(r),o.prop("title",n.title||n.text),o.data("data",n),e.push(o)}var s=this.$selection.find(".select2-selection__rendered");a.appendMany(s,e)}},o}),t.define("select2/selection/placeholder",["../utils"],function(t){function e(t,e,i){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i)}return e.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},e.prototype.createPlaceholder=function(t,e){var i=this.selectionContainer();return i.html(this.display(e)),i.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),i},e.prototype.update=function(t,e){var i=1==e.length&&e[0].id!=this.placeholder.id;if(1<e.length||i)return t.call(this,e);this.clear();var n=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(n)},e}
114),t.define("select2/selection/allowClear",["jquery","../keys"],function(n,o){function t(){}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){n._handleClear(t)}),e.on("keypress",function(t){n._handleKeyboardClear(t,e)})},t.prototype._handleClear=function(t,e){if(!this.options.get("disabled")){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){e.stopPropagation();for(var n=i.data("data"),o=0;o<n.length;o++){var r={data:n[o]};if(this.trigger("unselect",r),r.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},t.prototype._handleKeyboardClear=function(t,e,i){i.isOpen()||e.which!=o.DELETE&&e.which!=o.BACKSPACE||this._handleClear(e)},t.prototype.update=function(t,e){if(t.call(this,e),!(0<this.$selection.find(".select2-selection__placeholder").length||0===e.length)){var i=n('<span class="select2-selection__clear">×</span>');i.data("data",e),this.$selection.find(".select2-selection__rendered").prepend(i)}},t}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(n,t,s){function e(t,e,i){t.call(this,e,i)}return e.prototype.render=function(t){var e=n('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=e,this.$search=e.find("input");var i=t.call(this);return this._transferTabIndex(),i},e.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("open",function(){n.$search.trigger("focus")}),e.on("close",function(){n.$search.val(""),n.$search.removeAttr("aria-activedescendant"),n.$search.trigger("focus")}),e.on("enable",function(){n.$search.prop("disabled",!1),n._transferTabIndex()}),e.on("disable",function(){n.$search.prop("disabled",!0)}),e.on("focus",function(t){n.$search.trigger("focus")}),e.on("results:focus",function(t){n.$search.attr("aria-activedescendant",t.id)}),this.$selection.on("focusin",".select2-search--inline",function(t){n.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){n._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),n.trigger("keypress",t),n._keyUpPrevented=t.isDefaultPrevented(),t.which===s.BACKSPACE&&""===n.$search.val()){var e=n.$searchContainer.prev(".select2-selection__choice");if(0<e.length){var i=e.data("data");n.searchRemoveChoice(i),t.preventDefault()}}});var o=document.documentMode,r=o&&o<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){r?n.$selection.off("input.search input.searchcheck"):n.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(r&&"input"===t.type)n.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=s.SHIFT&&e!=s.CTRL&&e!=s.ALT&&e!=s.TAB&&n.handleSearch(t)}})},e.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},e.prototype.update=function(t,e){var i=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),i&&this.$search.focus()},e.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";t=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").innerWidth():.75*(this.$search.val().length+1)+"em",this.$search.css("width",t)},e}),t.define("select2/selection/eventRelay",["jquery"],function(s){function t(){}
vendor: 4,291 bytes, line 114
114return t.prototype.bind=function(t,e,i){var n=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting"],r=["opening","closing","selecting","unselecting"];t.call(this,e,i),e.on("*",function(t,e){if(-1!==s.inArray(t,o)){e=e||{};var i=s.Event("select2:"+t,{params:e});n.$element.trigger(i),-1!==s.inArray(t,r)&&(e.prevented=i.isDefaultPrevented())}})},t}),t.define("select2/translation",["jquery","require"],function(e,i){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(t){if(!(t in n._cache)){var e=i(t);n._cache[t]=e}return new n(n._cache[t])},n}),t.define("select2/diacritics",[],function(){return{"â¶":"A","A":"A","Ã":"A","Ã":"A","Ã":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ä":"A","Ä":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ç ":"A","Ã":"A","Ç":"A","Ả":"A","Ã
":"A","Ǻ":"A","Ç":"A","È":"A","È":"A","Ạ":"A","Ậ":"A","Ặ":"A","á¸":"A","Ä":"A","Ⱥ":"A","Ɐ":"A","ê²":"AA","Ã":"AE","Ǽ":"AE","Ç¢":"AE","ê´":"AO","ê¶":"AU","ê¸":"AV","êº":"AV","ê¼":"AY","â·":"B","ï¼¢":"B","á¸":"B","á¸":"B","á¸":"B","É":"B","Æ":"B","Æ":"B","â¸":"C","ï¼£":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ã":"C","á¸":"C","Æ":"C","È»":"C","ê¾":"C","â¹":"D","D":"D","á¸":"D","Ä":"D","á¸":"D","á¸":"D","á¸":"D","á¸":"D","Ä":"D","Æ":"D","Æ":"D","Æ":"D","ê¹":"D","DZ":"DZ","Ç":"DZ","Dz":"Dz","Ç
":"Dz","âº":"E","ï¼¥":"E","Ã":"E","Ã":"E","Ã":"E","á»":"E","Ế":"E","á»":"E","á»":"E","Ẽ":"E","Ä":"E","á¸":"E","á¸":"E","Ä":"E","Ä":"E","Ã":"E","Ẻ":"E","Ä":"E","È":"E","È":"E","Ẹ":"E","á»":"E","Ȩ":"E","á¸":"E","Ä":"E","á¸":"E","á¸":"E","Æ":"E","Æ":"E","â»":"F","F":"F","á¸":"F","Æ":"F","ê»":"F","â¼":"G","ï¼§":"G","Ç´":"G","Ä":"G","Ḡ":"G","Ä":"G","Ä ":"G","Ǧ":"G","Ä¢":"G","Ǥ":"G","Æ":"G","ê ":"G","ê½":"G","ê¾":"G","â½":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","È":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","â±§":"H","â±µ":"H","ê":"H","â¾":"I","I":"I","Ã":"I","Ã":"I","Ã":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ã":"I","Ḯ":"I","á»":"I","Ç":"I","È":"I","È":"I","á»":"I","Ä®":"I","Ḭ":"I","Æ":"I","â¿":"J","J":"J","Ä´":"J","É":"J","â":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Æ":"K","Ⱪ":"K","ê":"K","ê":"K","ê":"K","ê¢":"K","â":"L","L":"L","Ä¿":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ä»":"L","Ḽ":"L","Ḻ":"L","Å":"L","Ƚ":"L","â±¢":"L","â± ":"L","ê":"L","ê":"L","ê":"L","Ç":"LJ","Ç":"Lj","â":"M","ï¼":"M","Ḿ":"M","á¹":"M","á¹":"M","â±®":"M","Æ":"M","â":"N","ï¼®":"N","Ǹ":"N","Å":"N","Ã":"N","á¹":"N","Å":"N","á¹":"N","Å
":"N","á¹":"N","á¹":"N","È ":"N","Æ":"N","ê":"N","ê¤":"N","Ç":"NJ","Ç":"Nj","â":"O","O":"O","Ã":"O","Ã":"O","Ã":"O","á»":"O","á»":"O","á»":"O","á»":"O","Ã":"O","á¹":"O","Ȭ":"O","á¹":"O","Å":"O","á¹":"O","á¹":"O","Å":"O","È®":"O","Ȱ":"O","Ã":"O","Ȫ":"O","á»":"O","Å":"O","Ç":"O","È":"O","È":"O","Æ ":"O","á»":"O","á»":"O","á» ":"O","á»":"O","Ợ":"O","á»":"O","á»":"O","Ǫ":"O","Ǭ":"O","Ã":"O","Ǿ":"O","Æ":"O","Æ":"O","ê":"O","ê":"O","Æ¢":"OI","ê":"OO","È¢":"OU","â
":"P","ï¼°":"P","á¹":"P","á¹":"P","Ƥ":"P","â±£":"P","ê":"P","ê":"P","ê":"P","â":"Q","ï¼±":"Q","ê":"Q","ê":"Q","É":"Q","â":"R","ï¼²":"R","Å":"R","á¹":"R","Å":"R","È":"R","È":"R","á¹":"R","á¹":"R","Å":"R","á¹":"R","É":"R","Ɽ":"R","ê":"R","ê¦":"R","ê":"R","â":"S","ï¼³":"S","áº":"S","Å":"S","Ṥ":"S","Å":"S","á¹ ":"S","Å ":"S","Ṧ":"S","á¹¢":"S","Ṩ":"S","È":"S","Å":"S","â±¾":"S","ê¨":"S","ê":"S","â":"T","ï¼´":"T","Ṫ":"T","Ť":"T","Ṭ":"T","È":"T","Å¢":"T","á¹°":"T","á¹®":"T","Ŧ":"T","Ƭ":"T","Æ®":"T","Ⱦ":"T","ê":"T","ê¨":"TZ","â":"U","ï¼µ":"U","Ã":"U","Ã":"U","Ã":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ã":"U","Ç":"U","Ç":"U","Ç":"U","Ç":"U","Ủ":"U","Å®":"U","Ű":"U","Ç":"U","È":"U","È":"U","Ư":"U","Ừ":"U","Ứ":"U","á»®":"U","Ử":"U","á»°":"U","Ụ":"U","á¹²":"U","Ų":"U","á¹¶":"U","á¹´":"U","É":"U","â":"V","ï¼¶":"V","á¹¼":"V","á¹¾":"V","Ʋ":"
114V","ê":"V","É
":"V","ê ":"VY","â":"W","ï¼·":"W","áº":"W","áº":"W","Å´":"W","áº":"W","áº":"W","áº":"W","â±²":"W","â":"X","X":"X","áº":"X","áº":"X","â":"Y","ï¼¹":"Y","Ỳ":"Y","Ã":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","áº":"Y","Ÿ":"Y","á»¶":"Y","á»´":"Y","Ƴ":"Y","É":"Y","Ỿ":"Y","â":"Z","Z":"Z","Ź":"Z","áº":"Z","Å»":"Z","Ž":"Z","áº":"Z","áº":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","ê¢":"Z","â":"a","ï½":"a","áº":"a","à ":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","Ä":"a","Ä":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","Ç¡":"a","ä":"a","Ç":"a","ả":"a","Ã¥":"a","Ç»":"a","Ç":"a","È":"a","È":"a","ạ":"a","áº":"a","ặ":"a","á¸":"a","Ä
":"a","â±¥":"a","É":"a","ê³":"aa","æ":"ae","ǽ":"ae","Ç£":"ae","êµ":"ao","ê·":"au","ê¹":"av","ê»":"av","ê½":"ay","â":"b","ï½":"b","á¸":"b","á¸
":"b","á¸":"b","Æ":"b","Æ":"b","É":"b","â":"c","ï½":"c","Ä":"c","Ä":"c","Ä":"c","Ä":"c","ç":"c","á¸":"c","Æ":"c","ȼ":"c","ê¿":"c","â":"c","â":"d","ï½":"d","á¸":"d","Ä":"d","á¸":"d","á¸":"d","á¸":"d","á¸":"d","Ä":"d","Æ":"d","É":"d","É":"d","êº":"d","dz":"dz","Ç":"dz","â":"e","ï½
":"e","è":"e","é":"e","ê":"e","á»":"e","ế":"e","á»
":"e","á»":"e","ẽ":"e","Ä":"e","á¸":"e","á¸":"e","Ä":"e","Ä":"e","ë":"e","ẻ":"e","Ä":"e","È
":"e","È":"e","ẹ":"e","á»":"e","È©":"e","á¸":"e","Ä":"e","á¸":"e","á¸":"e","É":"e","É":"e","Ç":"e","â":"f","ï½":"f","á¸":"f","Æ":"f","ê¼":"f","â":"g","ï½":"g","ǵ":"g","Ä":"g","ḡ":"g","Ä":"g","Ä¡":"g","ǧ":"g","Ä£":"g","Ç¥":"g","É ":"g","ê¡":"g","áµ¹":"g","ê¿":"g","â":"h","ï½":"h","Ä¥":"h","ḣ":"h","ḧ":"h","È":"h","ḥ":"h","ḩ":"h","ḫ":"h","áº":"h","ħ":"h","ⱨ":"h","â±¶":"h","É¥":"h","Æ":"hv","â":"i","ï½":"i","ì":"i","Ã":"i","î":"i","Ä©":"i","Ä«":"i","Ä":"i","ï":"i","ḯ":"i","á»":"i","Ç":"i","È":"i","È":"i","á»":"i","į":"i","á¸":"i","ɨ":"i","ı":"i","â":"j","ï½":"j","ĵ":"j","ǰ":"j","É":"j","â":"k","ï½":"k","ḱ":"k","Ç©":"k","ḳ":"k","Ä·":"k","ḵ":"k","Æ":"k","ⱪ":"k","ê":"k","ê":"k","ê
":"k","ê£":"k","â":"l","ï½":"l","Å":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","Å¿":"l","Å":"l","Æ":"l","É«":"l","ⱡ":"l","ê":"l","ê":"l","ê":"l","Ç":"lj","â":"m","ï½":"m","ḿ":"m","á¹":"m","á¹":"m","ɱ":"m","ɯ":"m","â":"n","ï½":"n","ǹ":"n","Å":"n","ñ":"n","á¹
":"n","Å":"n","á¹":"n","Å":"n","á¹":"n","á¹":"n","Æ":"n","ɲ":"n","Å":"n","ê":"n","ê¥":"n","Ç":"nj","â":"o","ï½":"o","ò":"o","ó":"o","ô":"o","á»":"o","á»":"o","á»":"o","á»":"o","õ":"o","á¹":"o","È":"o","á¹":"o","Å":"o","á¹":"o","á¹":"o","Å":"o","ȯ":"o","ȱ":"o","ö":"o","È«":"o","á»":"o","Å":"o","Ç":"o","È":"o","È":"o","Æ¡":"o","á»":"o","á»":"o","ỡ":"o","á»":"o","ợ":"o","á»":"o","á»":"o","Ç«":"o","Ç":"o","ø":"o","Ç¿":"o","É":"o","ê":"o","ê":"o","ɵ":"o","Æ£":"oi","È£":"ou","ê":"oo","â":"p","ï½":"p","á¹":"p","á¹":"p","Æ¥":"p","áµ½":"p","ê":"p","ê":"p","ê":"p","â ":"q","ï½":"q","É":"q","ê":"q","ê":"q","â¡":"r","ï½":"r","Å":"r","á¹":"r","Å":"r","È":"r","È":"r","á¹":"r","á¹":"r","Å":"r","á¹":"r","É":"r","ɽ":"r","ê":"r","ê§":"r","ê":"r","â¢":"s","ï½":"s","Ã":"s","Å":"s","á¹¥":"s","Å":"s","ṡ":"s","Å¡":"s","á¹§":"s","á¹£":"s","ṩ":"s","È":"s","Å":"s","È¿":"s","ê©":"s","ê
":"s","áº":"s","â£":"t","ï½":"t","ṫ":"t","áº":"t","Å¥":"t","á¹":"t","È":"t","Å£":"t","á¹±":"t","ṯ":"t","ŧ":"t","Æ":"t","Ê":"t","ⱦ":"t","ê":"t","ê©":"tz","â¤":"u","ï½":"u","ù":"u","ú":"u","û":"u","Å©":"u","á¹¹":"u","Å«":"u","á¹»":"u","Å":"u","ü":"u","Ç":"u","Ç":"u","Ç":"u","Ç":"u","á»§":"u","ů":"u","ű":"u","Ç":"u","È":"u","È":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","á»":"u","á»±":"u","ụ":"u","á¹³":"u","ų":"u","á¹·":"u","á¹µ":"u","Ê":"u","â¥":"v","ï½":"v","á¹½":"v","ṿ":"v","Ê":"v","ê":"v","Ê":"v","ê¡":"vy","â¦":"w","ï½":"w","áº":"w","áº":"w","ŵ":"w","áº":"w","áº
":"w","áº":"w","áº":"w","â±³":"w","â§":"x","ï½":"x","áº":"x","áº":"x","â¨":"y","ï½":"y","ỳ":"y","ý":"y","Å·":"y","ỹ":"y","ȳ":"y","áº":"y","ÿ":"y","á»·":"y","áº":"y","ỵ":"y","Æ´":"y","É":"y","ỿ":"y","â©":"z","ï½":"z","ź":"z","áº":"z","ż":"z","ž":"z","áº":"z","áº":"z","ƶ":"z","È¥":"z","É":"z","ⱬ":"z","ê£":"z","Î":"Î","Î":"Î","Î":"Î","Î":"Î","Ϊ":"Î","Î":"Î","Î":"Î¥","Ϋ":"Î¥","Î":"Ω","ά":"α","Î":"ε","ή":"η","ί":"ι","Ï":"ι","Î":"ι","Ï":"ο","Ï":"Ï
","Ï":"Ï
","ΰ":"Ï
","Ï":"Ï","Ï":"Ï"}}),t.define("select2/data/base",["../utils"],function(n){function i(t,e){i.__super__.constructor.call(this)}return n.Extend(i,n.Observable),i.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},i.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},i.prototype.bind=function(t,e){},i.prototype.destroy=function(){},i.prototype.generateResultId=function(t,e){var i=t.id+"-result-";return i+=n.generateChars(4),null!=e.id?i+="-"+e.id.toString():i+="-"+n.generateChars(4),i},i}),t.define("select2/data/select",["./base","../utils","jquery"],function(t,e,a){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,t),i.prototype.current=function(t){var i=[],n=this;this.$element.find(":selected").each(function(){var t=a(this),e=n.item(t);i.push(e)}),t(i)},i.prototype.select=function(o){var r=this;if(o.selected=!0,a(o.element).is("option"))return o.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(t){var e=[];(o=[o]).push.apply(o,t);for(var i=0;i<o.length;i++){var n=o[i].id;-1===a.inArray(n,e)&&e.push(n)}r.$element.val(e),r.$element.trigger("change")});else{var t=o.id;this.$element.val(t),this.$element.trigger("change")}},i.prototype.unselect=function(o){var r=this;if(this.$element.prop("multiple")){if(o.selected=!1,a(o.element).is("option"))return o.element.selected=!1,void this.$element.trigger("change");this.current(function(t){for(var e=[],i=0;i<t.length;i++){var n=t[i].id;n!==o.id&&-1===a.inArray(n,e)&&e.push(n)}r.$element.val(e),r.$element.trigger("change")})}},i.prototype.bind=function(t,e){var i=this;(this.container=t).on("select",function(t){i.select(t.data)}),t.on("unselect",function(t){i.unselect(t.data)})},i.prototype.destroy=function(){this.$element.find("*").each(function(){a.removeData(this,"data")})},i.prototype.query=function(n,t){var o=[],r=this;this.$element.children().each(function(){var t=a(this);if(t.is("option")||t.is("optgroup")){var e=r.item(t),i=r.matches(n,e);null!==i&&o.push(i)}}),t({results:o})},i.prototype.addOptions=function(t){e.appendMany(this.$element,t)},i.prototype.option=function(t){var e;t.children?(e=document.createElement("optgroup")).label=t.text:void 0!==(e=document.createElement("option")).textContent?e.textContent=t.text:e.innerText=t.text,void 0!==t.id&&(e.value=t.id),t.disabled&&(e.disabled=!0),t.selected&&(e.selected=!0),t.title&&(e.title=t.title);var i=a(e),n=this._normalizeItem(t);return n.element=e,a.data(e,"data",n),i},i.prototype.item=function(t){var e={};if(null!=(e=a.data(t[0],"data")))return e;if(t.is("option"))e={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){e={text:t.prop("label"),children:[],title:t.prop("title")};for(var i=t.children("option"),n=[],o=0;o<i.length;o++){var r=a(i[o]),s=this.item(r);n.push(s)}e.children=n}return(e=this._normalizeItem(e)).element=t[0],a.data(t[0],"data",e),e},i.prototype._normalizeItem=function(t){a.isPlainObject(t)||(t={id:t,text:t});return null!=(t=a.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),a.extend({},{selected:!1,disabled:!1},t)},i.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},i}),t.define("select2/data/array",["./select","../utils","jquery"],function(t,f,m){function n(t,e){var i=e.get("data")||[];n.__super__.constructor.call(this,t,e),this.addOptions(this.convertToOptions(i))}return f.Extend(n,t),n.prototype.select=function(i){var t=this.$element.find("option").filter(function(t,e){return e.value==i.id.toString()});0===t.length&&(t=this.option(i),this.addOptions(t)),n.__super__.select.call(this,i)},n.prototype.convertToOptions=function(t){function e(t){return function(){return m(this).val()==t.id}}for(var i=this,n=this.$element.find("option"),o=n.map(function(){return i.item(m(this)).id}).get(),r=[],s=0;s<t.length;s++){var a=this._normalizeItem(t[s]);if(0<=m.inArray(a.id,o)){var l=n.filter(e(a)),u=this.item(l),c=m.extend(!0,{},a,u),d=this.option(c);l.replaceWith(d)}else{var h=this.option(a);if(a.children){var p=this.convertToOptions(a.children);f.appendMany(h,p)}r.push(h)}}return r},n}),t.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,r){function i(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype._applyDefaults=function(t){var e={data:function(t){return r.extend({},t,{q:t.term})}
114,transport:function(t,e,i){var n=r.ajax(t);return n.then(e),n.fail(i),n}};return r.extend({},e,t,!0)},i.prototype.processResults=function(t){return t},i.prototype.query=function(i,n){function t(){var t=e.transport(e,function(t){var e=o.processResults(t,i);o.options.get("debug")&&window.console&&console.error&&(e&&e.results&&r.isArray(e.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),n(e)},function(){t.status&&"0"===t.status||o.trigger("results:message",{message:"errorLoading"})});o._request=t}var o=this;null!=this._request&&(r.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var e=r.extend({type:"GET"},this.ajaxOptions);"function"==typeof e.url&&(e.url=e.url.call(this.$element,i)),"function"==typeof e.data&&(e.data=e.data.call(this.$element,i)),this.ajaxOptions.delay&&null!=i.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(t,this.ajaxOptions.delay)):t()},i}),t.define("select2/data/tags",["jquery"],function(c){function t(t,e,i){var n=i.get("tags"),o=i.get("createTag");void 0!==o&&(this.createTag=o);var r=i.get("insertTag");if(void 0!==r&&(this.insertTag=r),t.call(this,e,i),c.isArray(n))for(var s=0;s<n.length;s++){var a=n[s],l=this._normalizeItem(a),u=this.option(l);this.$element.append(u)}}return t.prototype.query=function(t,u,c){var d=this;this._removeOldTags(),null!=u.term&&null==u.page?t.call(this,u,function t(e,i){for(var n=e.results,o=0;o<n.length;o++){var r=n[o],s=null!=r.children&&!t({results:r.children},!0);if((r.text||"").toUpperCase()===(u.term||"").toUpperCase()||s)return!i&&(e.data=n,void c(e))}if(i)return!0;var a=d.createTag(u);if(null!=a){var l=d.option(a);l.attr("data-select2-tag",!0),d.addOptions([l]),d.insertTag(n,a)}e.results=n,c(e)}):t.call(this,u,c)},t.prototype.createTag=function(t,e){var i=c.trim(e.term);return""===i?null:{id:i,text:i}},t.prototype.insertTag=function(t,e,i){e.unshift(i)},t.prototype._removeOldTags=function(t){this._lastTag,this.$element.find("option[data-select2-tag]").each(function(){this.selected||c(this).remove()})},t}),t.define("select2/data/tokenizer",["jquery"],function(d){function t(t,e,i){var n=i.get("tokenizer");void 0!==n&&(this.tokenizer=n),t.call(this,e,i)}return t.prototype.bind=function(t,e,i){t.call(this,e,i),this.$search=e.dropdown.$search||e.selection.$search||i.find(".select2-search__field")},t.prototype.query=function(t,e,i){var n=this;e.term=e.term||"";var o=this.tokenizer(e,this.options,function(t){var e=n._normalizeItem(t);if(!n.$element.find("option").filter(function(){return d(this).val()===e.id}).length){var i=n.option(e);i.attr("data-select2-tag",!0),n._removeOldTags(),n.addOptions([i])}!function(t){n.trigger("select",{data:t})}(e)});o.term!==e.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.focus()),e.term=o.term),t.call(this,e,i)},t.prototype.tokenizer=function(t,e,i,n){for(var o=i.get("tokenSeparators")||[],r=e.term,s=0,a=this.createTag||function(t){return{id:t.term,text:t.term}};s<r.length;){var l=r[s];if(-1!==d.inArray(l,o)){var u=r.substr(0,s),c=a(d.extend({},e,{term:u}));null!=c?(n(c),r=r.substr(s+1)||"",s=0):s++}else s++}return{term:r}},t}),t.define("select2/data/minimumInputLength",[],function(){function t(t,e,i){this.minimumInputLength=i.get("minimumInputLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){e.term=e.term||"",e.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):t.call(this,e,i)},t}),t.define("select2/data/maximumInputLength",[],function(){function t(t,e,i){this.maximumInputLength=i.get("maximumInputLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){e.term=e.term||"",0<this.maximumInputLength&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,i)},t}),t.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,i){this.maximumSelectionLength=i.get("maximumSelectionLength"),t.call(this,e,i)}return t.prototype.query=function(i,n,o){var r=this;this.current(function(t){var e=null!=t?t.length:0;0<r.maximumSelectionLength&&e>=r.maximumSelectionLength?r.trigger("results:message",{message:"maximumSelected",args:{maximum:r.maximumSelectionLength}}):i.call(r,n,o)})},t}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t},i.prototype.bind=function(){},i.prototype.position=function(t,e){},i.prototype.destroy=function(){this.$dropdown.remove()},i}),t.define("select2/dropdown/search",["jquery","../utils"],function(o,t){function e(){}return e.prototype.render=function(t){var e=t.call(this),i=o('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=i,this.$search=i.find("input"),e.prepend(i),e}
vendor: 4,324 bytes, line 114
114,e.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),this.$search.on("keydown",function(t){n.trigger("keypress",t),n._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(t){o(this).off("keyup")}),this.$search.on("keyup input",function(t){n.handleSearch(t)}),e.on("open",function(){n.$search.attr("tabindex",0),n.$search.focus(),window.setTimeout(function(){n.$search.focus()},0)}),e.on("close",function(){n.$search.attr("tabindex",-1),n.$search.val("")}),e.on("focus",function(){e.isOpen()||n.$search.focus()}),e.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(n.showSearch(t)?n.$searchContainer.removeClass("select2-search--hide"):n.$searchContainer.addClass("select2-search--hide"))})},e.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},e.prototype.showSearch=function(t,e){return!0},e}),t.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,i,n){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i,n)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var i=e.slice(0),n=e.length-1;0<=n;n--){var o=e[n];this.placeholder.id===o.id&&i.splice(n,1)}return i},t}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(o){function t(t,e,i,n){this.lastParams={},t.call(this,e,i,n),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("query",function(t){n.lastParams=t,n.loading=!0}),e.on("query:append",function(t){n.lastParams=t,n.loading=!0}),this.$results.on("scroll",function(){var t=o.contains(document.documentElement,n.$loadingMore[0]);!n.loading&&t&&n.$results.offset().top+n.$results.outerHeight(!1)+50>=n.$loadingMore.offset().top+n.$loadingMore.outerHeight(!1)&&n.loadMore()})},t.prototype.loadMore=function(){this.loading=!0;var t=o.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},t.prototype.createLoadingMore=function(){var t=o('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),e=this.options.get("translations").get("loadingMore");return t.html(e(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(f,a){function t(t,e,i){this.$dropdownParent=i.get("dropdownParent")||f(document.body),t.call(this,e,i)}return t.prototype.bind=function(t,e,i){var n=this,o=!1;t.call(this,e,i),e.on("open",function(){n._showDropdown(),n._attachPositioningHandler(e),o||(o=!0,e.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}))}),e.on("close",function(){n._hideDropdown(),n._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},t.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},t.prototype.position=function(t,e,i){e.attr("class",i.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=i},t.prototype.render=function(t){var e=f("<span></span>"),i=t.call(this);return e.append(i),this.$dropdownContainer=e},t.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},t.prototype._attachPositioningHandler=function(t,e){var i=this,n="scroll.select2."+e.id,o="resize.select2."+e.id,r="orientationchange.select2."+e.id,s=this.$container.parents().filter(a.hasScroll);s.each(function(){f(this).data("select2-scroll-position",{x:f(this).scrollLeft(),y:f(this).scrollTop()})}),s.on(n,function(t){var e=f(this).data("select2-scroll-position");f(this).scrollTop(e.y)}),f(window).on(n+" "+o+" "+r,function(t){i._positionDropdown(),i._resizeDropdown()})},t.prototype._detachPositioningHandler=function(t,e){var i="scroll.
114select2."+e.id,n="resize.select2."+e.id,o="orientationchange.select2."+e.id;this.$container.parents().filter(a.hasScroll).off(i),f(window).off(i+" "+n+" "+o)},t.prototype._positionDropdown=function(){var t=f(window),e=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),n=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var r={height:this.$container.outerHeight(!1)};r.top=o.top,r.bottom=o.top+r.height;var s=this.$dropdown.outerHeight(!1),a=t.scrollTop(),l=t.scrollTop()+t.height(),u=a<o.top-s,c=l>o.bottom+s,d={left:o.left,top:r.bottom},h=this.$dropdownParent;"static"===h.css("position")&&(h=h.offsetParent());var p=h.offset();d.top-=p.top,d.left-=p.left,e||i||(n="below"),c||!u||e?!u&&c&&e&&(n="below"):n="above",("above"==n||e&&"below"!==n)&&(d.top=r.top-p.top-s),null!=n&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+n),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+n)),this.$dropdownContainer.css(d)},t.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},t.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},t}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,i,n){this.minimumResultsForSearch=i.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,i,n)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var i=0,n=0;n<e.length;n++){var o=e[n];o.children?i+=t(o.children):i++}return i}(e.data.results)<this.minimumResultsForSearch)&&t.call(this,e)},t}),t.define("select2/dropdown/selectOnClose",[],function(){function t(){}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("close",function(t){n._handleSelectOnClose(t)})},t.prototype._handleSelectOnClose=function(t,e){if(e&&null!=e.originalSelect2Event){var i=e.originalSelect2Event;if("select"===i._type||"unselect"===i._type)return}var n=this.getHighlightedResults();if(!(n.length<1)){var o=n.data("data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o})}},t}),t.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("select",function(t){n._selectTriggered(t)}),e.on("unselect",function(t){n._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var i=e.originalEvent;i&&i.ctrlKey||this.trigger("close",{originalEvent:i,originalSelect2Event:e})},t}),t.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,i="Please delete "+e+" character";return 1!=e&&(i+="s"),i},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more resultsâ¦"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searchingâ¦"}}}),t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(f,m,g,v,y,b,T,D,S,w,C,e,_,A,E,x,P,M,k,I,H,B,O,L,F,G,$,R,t){function i(){this.reset()}return i.prototype.apply=function(e){if(null==(e=f.extend(!0,{},this.defaults,e)).dataAdapter){if(null!=e.ajax?e.dataAdapter=E:null!=e.data?e.dataAdapter=A:e.dataAdapter=_,0<e.minimumInputLength&&(e.dataAdapter=w.Decorate(e.dataAdapter,M)),0<e.maximumInputLength&&(e.dataAdapter=w.Decorate(e.dataAdapter,k)),0<e.maximumSelectionLength&&(e.dataAdapter=w.Decorate(e.dataAdapter,I)),e.tags&&(e.dataAdapter=w.Decorate(e.dataAdapter,x)),null==e.tokenSeparators&&null==e.tokenizer||(e.dataAdapter=w.Decorate(e.dataAdapter,P)),null!=e.query){var t=m(e.amdBase+"compat/query");e.dataAdapter=w.Decorate(e.dataAdapter,t)}if(null!=e.initSelection){var i=m(e.amdBase+"compat/initSelection");e.dataAdapter=w.Decorate(e.dataAdapter,i)}}if(null==e.resultsAdapter&&(e.resultsAdapter=g,null!=e.ajax&&(e.resultsAdapter=w.Decorate(e.resultsAdapter,L)),null!=e.placeholder&&(e.resultsAdapter=w.Decorate(e.resultsAdapter,O)),e.selectOnClose&&(e.resultsAdapter=w.Decorate(e.resultsAdapter,$))),null==e.dropdownAdapter){if(e.multiple)e.dropdownAdapter=H;else{var n=w.Decorate(H,B);e.dropdownAdapter=n}if(0!==e.minimumResultsForSearch&&(e.dropdownAdapter=w.Decorate(e.dropdownAdapter,G)),e.closeOnSelect&&(e.dropdownAdapter=w.Decorate(e.dropdownAdapter,R)),null!=e.dropdownCssClass||null!=e.dropdownCss||null!=e.adaptDropdownCssClass){var o=m(e.amdBase+"compat/dropdownCss");e.dropdownAdapter=w.Decorate(e.dropdownAdapter,o)}e.dropdownAdapter=w.Decorate(e.dropdownAdapter,F)}if(null==e.selectionAdapter){if(e.multiple?e.selectionAdapter=y:e.selectionAdapter=v,null!=e.placeholder&&(e.selectionAdapter=w.Decorate(e.selectionAdapter,b)),e.allowClear&&(e.selectionAdapter=w.Decorate(e.selectionAdapter,T)),e.multiple&&(e.selectionAdapter=w.Decorate(e.selectionAdapter,D)),null!=e.containerCssClass||null!=e.containerCss||null!=e.adaptC
114ontainerCssClass){var r=m(e.amdBase+"compat/containerCss");e.selectionAdapter=w.Decorate(e.selectionAdapter,r)}e.selectionAdapter=w.Decorate(e.selectionAdapter,S)}if("string"==typeof e.language)if(0<e.language.indexOf("-")){var s=e.language.split("-")[0];e.language=[e.language,s]}else e.language=[e.language];if(f.isArray(e.language)){var a=new C;e.language.push("en");for(var l=e.language,u=0;u<l.length;u++){var c=l[u],d={};try{d=C.loadPath(c)}catch(t){try{c=this.defaults.amdLanguageBase+c,d=C.loadPath(c)}catch(t){e.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+c+'" could not be automatically loaded. A fallback will be used instead.');continue}}a.extend(d)}e.translations=a}else{var h=C.loadPath(this.defaults.amdLanguageBase+"en"),p=new C(e.language);p.extend(h),e.translations=p}return e},i.prototype.reset=function(){function a(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return e[t]||t})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:w.escapeMarkup,language:t,matcher:function t(e,i){if(""===f.trim(e.term))return i;if(i.children&&0<i.children.length){for(var n=f.extend(!0,{},i),o=i.children.length-1;0<=o;o--)null==t(e,i.children[o])&&n.children.splice(o,1);return 0<n.children.length?n:t(e,n)}var r=a(i.text).toUpperCase(),s=a(e.term).toUpperCase();return-1<r.indexOf(s)?i:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},i.prototype.set=function(t,e){var i={};i[f.camelCase(t)]=e;var n=w._convertData(i);f.extend(this.defaults,n)},new i}),t.define("select2/options",["require","jquery","./defaults","./utils"],function(n,r,o,s){function t(t,e){if(this.options=t,null!=e&&this.fromElement(e),this.options=o.apply(this.options),e&&e.is("input")){var i=n(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=s.Decorate(this.options.dataAdapter,i)}}return t.prototype.fromElement=function(t){var e=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.language&&(t.prop("lang")?this.options.language=t.prop("lang").toLowerCase():t.closest("[lang]").prop("lang")&&(this.options.language=t.closest("[lang]").prop("lang"))),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),t.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),t.data("data",t.data("select2Tags")),t.data("tags",!0)),t.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",t.data("ajaxUrl")),t.data("ajax--url",t.data("ajaxUrl")));var i;i=r.fn.jquery&&"1."==r.fn.jquery.substr(0,2)&&t[0].dataset?r.extend(!0,{},t[0].dataset,t.data()):t.data();var n=r.extend(!0,{},i);for(var o in n=s._convertData(n))-1<r.inArray(o,e)||(r.isPlainObject(this.options[o])?r.extend(this.options[o],n[o]):this.options[o]=n[o]);return this},t.prototype.get=function(t){return this.options[t]},t.prototype.set=function(t,e){this.options[t]=e},t}),t.define("select2/core",["jquery","./options","./utils","./keys"],function(o,u,i,n){var c=function(t,e){null!=t.data("select2")&&t.data("select2").destroy(),this.$element=t,this.id=this._generateId(t),e=e||{},this.options=new u(e,t),c.__super__.constructor.call(this);var i=t.attr("tabindex")||0;t.data("old-tabindex",i),t.attr("tabindex","-1");var n=this.options.get("dataAdapter");this.dataAdapter=new n(t,this.options);var o=this.render();this._placeContainer(o);var r=this.options.get("selectionAdapter");this.selection=new r(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,o);var s=this.options.get("dropdownAdapter");this.dropdown=new s(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,o);var a=this.options.get("resultsAdapter");this.results=new a(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var l=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){l.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),t.data("select2",this)};return i.Extend(c,i.Observable),c.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+i.generateChars(2):i.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},c.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},c.prototype._resolveWidth=function(t,e){var i=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var n=this._resolveWidth(t,"style");return null!=n?n:this._resolveWidth(t,"element")}if("element"==e){var o=t.outerWidth(!1);return o<=0?"auto":o+"px"}if("style"!=e)return e;var r=t.attr("style");if("string"!=typeof r)return null;for(var s=r.split(";"),a=0,l=s.length;a<l;a+=1){var u=s[a].replace(/\s/g,"").match(i);if(null!==u&&1<=u.length)return u[1]}return null},c.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},c.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",function(){e.dataAdapter.current(function(t){e.trigger("selection:update",{data:t})})}),this.$element.on("focus.select2",function(t){e.trigger("focus",t)}),this._syncA=i.bind(this._syncAttributes,this),this._syncS=i.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=t?(this._observer=new t(function(t){o.each(t,e._syncA),o.each(t,e._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1))},c.prototype._registerDataEvents=function(){var i=this;this.dataAdapter.on("*",function(t,e){i.trigger(t,e)})},c.prototype._registerSelectionEvents=function(){var i=this,n=["toggle","focus"];this.selection.on("toggle",function(){i.toggleDropdown()}),this.selection.on("focus",function(t){i.focus(t)}),this.selection.on("*",function(t,e){-1===o.inArray(t,n)&&i.trigger(t,e)})},c.prototype._registerDropdownEvents=function(){var i=this;this.dropdown.on("*",function(t,e){i.trigger(t,e)})},c.prototype._registerResultsEvents=function(){var i=this;this.results.on("*",function(t,e){i.trigger(t,e)})},c.prototype._registerEvents=function(){var i=this;this.on("open",function(){i.$container.addClass("select2-container--open")}),this.on("close",function(){i.$container.removeClass("select2-container--open")}),this.on("enable",function(){i.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){i.$container.addClass("select2-container--disabled")}),this.on("blur",function(){i.$container.removeClass("select2-container--focus")}),this.on("query",function(e){i.isOpen()||i.trigger("open",{}),this.dataAdapter.query(e,function(t){i.trigger("results:all",{data:t,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(t){i.trigger("results:append",{data:t,query:e})})}),this.on("keypress",function(t){var e=t.which;i.isOpen()?e===n.ESC||e===n.TAB||e===n.UP&&t.altKey?(i.close(),t.preventDefault()):e===n.ENTER?(i.trigger("results:select",{}),t.preventDefault()):e===n.SPACE&&t.ctrlKey?(i.trigger("results:toggle",{}),t.preventDefault()):e===n.UP?(i.trigger("results:previous",{}),t.preventDefault()):e===n.DOWN&&(i.trigger("results:next",{}),t.preventDefault()):(e===n.ENTER||e===n.SPACE||e===n.DOWN&&t.altKey)&&(i.open(),t.preventDefault())})},c.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},c.prototype._syncSubtree=function(t,e){var i=!1,n=this;if(!t||!t.target||"OPTION"===t.target.nodeName||"OPTGROUP"===t.target.nodeName){if(e)if(e.addedNodes&&0<e.addedNodes.length)for(var o=0;o<e.addedNodes.length;o++){e.addedNodes[o].selected&&(i=!0)}else e.removedNodes&&0<e.removedNodes.length&&(i=!0);else i=!0;i&&this.dataAdapter.current(function(t){n.trigger("selection:update",{data:t})})}},c.prototype.trigger=function(t,e){var i=c.__super__.trigger,n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===e&&(e={}),t in n){var o=n[t],r={prevented:!1,name:t,args:e};if(i.call(this,o,r),r.prevented)return void(e.prevented=!0)}i.call(this,t,e)},c.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},c.prototype.open=function(){this.isOpen()||this.trigger("query",{})},c.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},c.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},c.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")}
114,c.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},c.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=t&&0!==t.length||(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},c.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},c.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var e=t[0];o.isArray(e)&&(e=o.map(e,function(t){return t.toString()})),this.$element.val(e).trigger("change")},c.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},c.prototype.render=function(){var t=o('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),t.data("element",this.$element),t},c}),t.define("jquery-mousewheel",["jquery"],function(t){return t}),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(o,t,r,e){if(null==o.fn.select2){var s=["open","close","destroy"];o.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var t=o.extend(!0,{},e);new r(o(this),t)}),this;if("string"!=typeof e)throw new Error("Invalid arguments for Select2: "+e);var i,n=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=o(this).data("select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),i=t[e].apply(t,n)}),-1<o.inArray(e,s)?this:i}}return null==o.fn.select2.defaults&&(o.fn.select2.defaults=e),r}),{define:t.define,require:t.require};function D(t,e){return o.call(t,e)}function l(t,e){var i,n,o,r,s,a,l,u,c,d,h,p=e&&e.split("/"),f=y.map,m=f&&f["*"]||{};if(t){for(s=(t=t.split("/")).length-1,y.nodeIdCompat&&T.test(t[s])&&(t[s]=t[s].replace(T,"")),"."===t[0].charAt(0)&&p&&(t=p.slice(0,p.length-1).concat(t)),c=0;c<t.length;c++)if("."===(h=t[c]))t.splice(c,1),c-=1;else if(".."===h){if(0===c||1===c&&".."===t[2]||".."===t[c-1])continue;0<c&&(t.splice(c-1,2),c-=2)}t=t.join("/")}if((p||m)&&f){for(c=(i=t.split("/")).length;0<c;c-=1){if(n=i.slice(0,c).join("/"),p)for(d=p.length;0<d;d-=1)if((o=f[p.slice(0,d).join("/")])&&(o=o[n])){r=o,a=c;break}if(r)break;!l&&m&&m[n]&&(l=m[n],u=c)}!r&&l&&(r=l,a=u),r&&(i.splice(0,a,r),t=i.join("/"))}return t}function S(e,i){return function(){var t=a.call(arguments,0);return"string"!=typeof t[0]&&1===t.length&&t.push(null),s.apply(p,t.concat([e,i]))}}function w(e){return function(t){g[e]=t}}function C(t){if(D(v,t)){var e=v[t];delete v[t],b[t]=!0,r.apply(p,e)}if(!D(g,t)&&!D(b,t))throw new Error("No "+t);return g[t]}function u(t){var e,i=t?t.indexOf("!"):-1;return-1<i&&(e=t.substring(0,i),t=t.substring(i+1,t.length)),[e,t]}function _(t){return t?u(t):[]}}(),e=t.require("jquery.select2");return c.fn.select2.amd=t,e}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(u){"use strict";var o,r=window.Slick||{};o=0,(r=function(t,e){var i,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:u(t),appendDots:u(t),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return u('<button type="button" />').text(e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
114sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},u.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=u(t),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,i=u(t).data("slick")||{},n.options=u.extend({},n.defaults,e,i),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,void 0!==document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=u.proxy(n.autoPlay,n),n.autoPlayClear=u.proxy(n.autoPlayClear,n),n.autoPlayIterator=u.proxy(n.autoPlayIterator,n),n.changeSlide=u.proxy(n.changeSlide,n),n.clickHandler=u.proxy(n.clickHandler,n),n.selectHandler=u.proxy(n.selectHandler,n),n.setPosition=u.proxy(n.setPosition,n),n.swipeHandler=u.proxy(n.swipeHandler,n),n.dragHandler=u.proxy(n.dragHandler,n),n.keyHandler=u.proxy(n.keyHandler,n),n.instanceUid=o++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},r.prototype.addSlide=r.prototype.slickAdd=function(t,e,i){var n=this;if("boolean"==typeof e)i=e,e=null;else if(e<0||e>=n.slideCount)return!1;n.unload(),"number"==typeof e?0===e&&0===n.$slides.length?u(t).appendTo(n.$slideTrack):i?u(t).insertBefore(n.$slides.eq(e)):u(t).insertAfter(n.$slides.eq(e)):!0===i?u(t).prependTo(n.$slideTrack):u(t).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each(function(t,e){u(e).attr("data-slick-index",t)}),n.$slidesCache=n.$slides,n.reinit()},r.prototype.animateHeight=function(){if(1===this.options.slidesToShow&&!0===this.options.adaptiveHeight&&!1===this.options.vertical){var t=this.$slides.eq(this.currentSlide).outerHeight(!0);this.$list.animate({height:t},this.options.speed)}},r.prototype.animateSlide=function(t,e){var i={},n=this;n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(t=-t),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:t},n.options.speed,n.options.easing,e):n.$slideTrack.animate({top:t},n.options.speed,n.options.easing,e):!1===n.cssTransitions?(!0===n.options.rtl&&(n.currentLeft=-n.currentLeft),u({animStart:n.currentLeft}).animate({animStart:t},{duration:n.options.speed,easing:n.options.easing,step:function(t){t=Math.ceil(t),!1===n.options.vertical?i[n.animType]="translate("+t+"px, 0px)":i[n.animType]="translate(0px,"+t+"px)",n.$slideTrack.css(i)},complete:function(){e&&e.call()}})):(n.applyTransition(),t=Math.ceil(t),!1===n.options.vertical?i[n.animType]="translate3d("+t+"px, 0px, 0px)":i[n.animType]="translate3d(0px,"+t+"px, 0px)",n.$slideTrack.css(i),e&&setTimeout(function(){n.disableTransition(),e.call()},n.options.speed))},r.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t&&null!==t&&(t=u(t).not(this.$slider)),t},r.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=u(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},r.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},r.prototype.autoPlay=function(){this.autoPlayClear(),this.slideCount>this.options.slidesToShow&&(this.autoPlayTimer=setInterval(this.autoPlayIterator,this.options.autoplaySpeed))},r.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},r.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;
114t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},r.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=u(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=u(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},r.prototype.buildDots=function(){var t,e,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(i.$slider.addClass("slick-dotted"),e=u("<ul />").addClass(i.options.dotsClass),t=0;t<=i.getDotCount();t+=1)e.append(u("<li />").append(i.options.customPaging.call(this,i,t)));i.$dots=e.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active")}},r.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,e){u(e).attr("data-slick-index",t).data("originalStyling",u(e).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?u('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),u("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},r.prototype.buildRows=function(){var t,e,i,n,o,r,s,a=this;if(n=document.createDocumentFragment(),r=a.$slider.children(),0<a.options.rows){for(s=a.options.slidesPerRow*a.options.rows,o=Math.ceil(r.length/s),t=0;t<o;t++){var l=document.createElement("div");for(e=0;e<a.options.rows;e++){var u=document.createElement("div");for(i=0;i<a.options.slidesPerRow;i++){var c=t*s+(e*a.options.slidesPerRow+i);r.get(c)&&u.appendChild(r.get(c))}l.appendChild(u)}n.appendChild(l)}a.$slider.empty().append(n),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},r.prototype.checkResponsive=function(t,e){var i,n,o,r=this,s=!1,a=r.$slider.width(),l=window.innerWidth||u(window).width();if("window"===r.respondTo?o=l:"slider"===r.respondTo?o=a:"min"===r.respondTo&&(o=Math.min(l,a)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(i in n=null,r.breakpoints)r.breakpoints.hasOwnProperty(i)&&(!1===r.originalSettings.mobileFirst?o<r.breakpoints[i]&&(n=r.breakpoints[i]):o>r.breakpoints[i]&&(n=r.breakpoints[i]));null!==n?null!==r.activeBreakpoint?n===r.activeBreakpoint&&!e||(r.activeBreakpoint=n,"unslick"===r.breakpointSettings[n]?r.unslick(n):(r.options=u.extend({},r.originalSettings,r.breakpointSettings[n]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),s=n):(r.activeBreakpoint=n,"unslick"===r.breakpointSettings[n]?r.unslick(n):(r.options=u.extend({},r.originalSettings,r.breakpointSettings[n]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),s=n):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t),s=n),t||!1===s||r.$slider.trigger("breakpoint",[r,s])}},r.prototype.changeSlide=function(t,e){var i,n,o=this,r=u(t.currentTarget);switch(r.is("a")&&t.preventDefault(),r.is("li")||(r=r.closest("li")),i=o.slideCount%o.options.slidesToScroll!=0?0:(o.slideCount-o.currentSlide)%o.options.slidesToScroll,t.data.message){case"previous":n=0==i?o.options.slidesToScroll:o.options.slidesToShow-i,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide-n,!1,e);break;case"next":n=0==i?o.options.slidesToScroll:i,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide+n,!1,e);break;case"index":var s=0===t.data.index?0:t.data.index||r.index()*o.options.slidesToScroll;o.slideHandler(o.checkNavigable(s),!1,e),r.children().trigger("focus");break;default:return}},r.prototype.checkNavigable=function(t){var e,i;if(i=0,t>(e=this.getNavigableIndexes())[e.length-1])t=e[e.length-1];else for(var n in e){if(t<e[n]){t=i;break}i=e[n]}return t},r.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(u("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",u.proxy(t.
114interrupt,t,!0)).off("mouseleave.slick",u.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),u(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&u(t.$slideTrack).children().off("click.slick",t.selectHandler),u(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),u(window).off("resize.slick.slick-"+t.instanceUid,t.resize),u("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),u(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},r.prototype.cleanUpSlideEvents=function(){this.$list.off("mouseenter.slick",u.proxy(this.interrupt,this,!0)),this.$list.off("mouseleave.slick",u.proxy(this.interrupt,this,!1))},r.prototype.cleanUpRows=function(){var t;0<this.options.rows&&((t=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(t))},r.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},r.prototype.destroy=function(t){var e=this;e.autoPlayClear(),e.touchObject={},e.cleanUpEvents(),u(".slick-cloned",e.$slider).detach(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.$prevArrow.length&&(e.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove()),e.$nextArrow&&e.$nextArrow.length&&(e.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove()),e.$slides&&(e.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){u(this).attr("style",u(this).data("originalStyling"))}),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.detach(),e.$list.detach(),e.$slider.append(e.$slides)),e.cleanUpRows(),e.$slider.removeClass("slick-slider"),e.$slider.removeClass("slick-initialized"),e.$slider.removeClass("slick-dotted"),e.unslicked=!0,t||e.$slider.trigger("destroy",[e])},r.prototype.disableTransition=function(t){var e={};e[this.transitionType]="",!1===this.options.fade?this.$slideTrack.css(e):this.$slides.eq(t).css(e)},r.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},r.prototype.fadeSlideOut=function(t){!1===this.cssTransitions?this.$slides.eq(t).animate({opacity:0,zIndex:this.options.zIndex-2},this.options.speed,this.options.easing):(this.applyTransition(t),this.$slides.eq(t).css({opacity:0,zIndex:this.options.zIndex-2}))},r.prototype.filterSlides=r.prototype.slickFilter=function(t){null!==t&&(this.$slidesCache=this.$slides,this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.filter(t).appendTo(this.$slideTrack),this.reinit())},r.prototype.focusHandler=function(){var i=this;i.$slider.off("focus.slick blur.slick").on("focus.slick","*",function(t){var e=u(this);setTimeout(function(){i.options.pauseOnFocus&&e.is(":focus")&&(i.focussed=!0,i.autoPlay())}
114,0)}).on("blur.slick","*",function(t){u(this),i.options.pauseOnFocus&&(i.focussed=!1,i.autoPlay())})},r.prototype.getCurrent=r.prototype.slickCurrentSlide=function(){return this.currentSlide},r.prototype.getDotCount=function(){var t=this,e=0,i=0,n=0;if(!0===t.options.infinite)if(t.slideCount<=t.options.slidesToShow)++n;else for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)n=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else n=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return n-1},r.prototype.getLeft=function(t){var e,i,n,o,r=this,s=0;return r.slideOffset=0,i=r.$slides.first().outerHeight(!0),!0===r.options.infinite?(r.slideCount>r.options.slidesToShow&&(r.slideOffset=r.slideWidth*r.options.slidesToShow*-1,o=-1,!0===r.options.vertical&&!0===r.options.centerMode&&(2===r.options.slidesToShow?o=-1.5:1===r.options.slidesToShow&&(o=-2)),s=i*r.options.slidesToShow*o),r.slideCount%r.options.slidesToScroll!=0&&t+r.options.slidesToScroll>r.slideCount&&r.slideCount>r.options.slidesToShow&&(s=t>r.slideCount?(r.slideOffset=(r.options.slidesToShow-(t-r.slideCount))*r.slideWidth*-1,(r.options.slidesToShow-(t-r.slideCount))*i*-1):(r.slideOffset=r.slideCount%r.options.slidesToScroll*r.slideWidth*-1,r.slideCount%r.options.slidesToScroll*i*-1))):t+r.options.slidesToShow>r.slideCount&&(r.slideOffset=(t+r.options.slidesToShow-r.slideCount)*r.slideWidth,s=(t+r.options.slidesToShow-r.slideCount)*i),r.slideCount<=r.options.slidesToShow&&(s=r.slideOffset=0),!0===r.options.centerMode&&r.slideCount<=r.options.slidesToShow?r.slideOffset=r.slideWidth*Math.floor(r.options.slidesToShow)/2-r.slideWidth*r.slideCount/2:!0===r.options.centerMode&&!0===r.options.infinite?r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)-r.slideWidth:!0===r.options.centerMode&&(r.slideOffset=0,r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)),e=!1===r.options.vertical?t*r.slideWidth*-1+r.slideOffset:t*i*-1+s,!0===r.options.variableWidth&&(n=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(t):r.$slideTrack.children(".slick-slide").eq(t+r.options.slidesToShow),e=!0===r.options.rtl?n[0]?-1*(r.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===r.options.centerMode&&(n=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(t):r.$slideTrack.children(".slick-slide").eq(t+r.options.slidesToShow+1),e=!0===r.options.rtl?n[0]?-1*(r.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,e+=(r.$list.width()-n.outerWidth())/2)),e},r.prototype.getOption=r.prototype.slickGetOption=function(t){return this.options[t]},r.prototype.getNavigableIndexes=function(){var t,e=this,i=0,n=0,o=[];for(t=!1===e.options.infinite?e.slideCount:(i=-1*e.options.slidesToScroll,n=-1*e.options.slidesToScroll,2*e.slideCount);i<t;)o.push(i),i=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return o},r.prototype.getSlick=function(){return this},r.prototype.getSlideCount=function(){var o,r,t,s=this;return t=!0===s.options.centerMode?Math.floor(s.$list.width()/2):0,r=-1*s.swipeLeft+t,!0===s.options.swipeToSlide?(s.$slideTrack.find(".slick-slide").each(function(t,e){var i,n;if(i=u(e).outerWidth(),n=e.offsetLeft,!0!==s.options.centerMode&&(n+=i/2),r<n+i)return o=e,!1}),Math.abs(u(o).attr("data-slick-index")-s.currentSlide)||1):s.options.slidesToScroll},r.prototype.goTo=r.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:parseInt(t)}},e)},r.prototype.init=function(t){var e=this;u(e.$slider).hasClass("slick-initialized")||(u(e.$slider).addClass("slick-initialized"),e.buildRows(),e.buildOut(),e.setProps(),e.startLoad(),e.loadSlider(),e.initializeEvents(),e.updateArrows(),e.updateDots(),e.checkResponsive(!0),e.focusHandler()),t&&e.$slider.trigger("init",[e]),!0===e.options.accessibility&&e.initADA(),e.options.autoplay&&(e.paused=!1,e.autoPlay())},r.prototype.initADA=function(){var n=this,i=Math.ceil(n.slideCount/n.options.slidesToShow),o=n.getNavigableIndexes().filter(function(t){return 0<=t&&t<n.slideCount});n.$slides.add(n.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==n.$dots&&(n.$slides.not(n.$slideTrack.find(".slick-cloned")).each(function(t){var e=o.indexOf(t);if(u(this).attr({role:"tabpanel",id:"slick-slide"+n.instanceUid+t,tabindex:-1}),-1!==e){var i="slick-slide-control"+n.instanceUid+e;u("#"+i).length&&u(this).attr({"aria-describedby":i})}}),n.$dots.attr("role","tablist").find("li").each(function(t){var e=o[t];u(this).attr({role:"presentation"}),u(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+n.instanceUid+t,"aria-controls":"slick-slide"+n.instanceUid+e,"aria-label":t+1+" of "+i,"aria-selected":null,tabindex:"-1"})}).eq(n.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var t=n.currentSlide,e=t+n.options.slidesToShow;t<e;t++)n.options.focusOnChange?n.$slides.eq(t).attr({tabindex:"0"}):n.$slides.eq(t).removeAttr("tabindex");n.activateADA()},r.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow.on("keydown.slick",t.keyHandler),t.$nextArrow.on("keydown.slick",t.keyHandler)))},r.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&(u("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&t.slideCount>t.options.slidesToShow&&u("li",t.$dots).on("mouseenter.slick",u.proxy(t.
114interrupt,t,!0)).on("mouseleave.slick",u.proxy(t.interrupt,t,!1))},r.prototype.initSlideEvents=function(){this.options.pauseOnHover&&(this.$list.on("mouseenter.slick",u.proxy(this.interrupt,this,!0)),this.$list.on("mouseleave.slick",u.proxy(this.interrupt,this,!1)))},r.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),u(document).on(t.visibilityChange,u.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&u(t.$slideTrack).children().on("click.slick",t.selectHandler),u(window).on("orientationchange.slick.slick-"+t.instanceUid,u.proxy(t.orientationChange,t)),u(window).on("resize.slick.slick-"+t.instanceUid,u.proxy(t.resize,t)),u("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),u(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),u(t.setPosition)},r.prototype.initUI=function(){!0===this.options.arrows&&this.slideCount>this.options.slidesToShow&&(this.$prevArrow.show(),this.$nextArrow.show()),!0===this.options.dots&&this.slideCount>this.options.slidesToShow&&this.$dots.show()},r.prototype.keyHandler=function(t){t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===this.options.accessibility?this.changeSlide({data:{message:!0===this.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===this.options.accessibility&&this.changeSlide({data:{message:!0===this.options.rtl?"previous":"next"}}))},r.prototype.lazyLoad=function(){function t(t){u("img[data-lazy]",t).each(function(){var t=u(this),e=u(this).attr("data-lazy"),i=u(this).attr("data-srcset"),n=u(this).attr("data-sizes")||r.$slider.attr("data-sizes"),o=document.createElement("img");o.onload=function(){t.animate({opacity:0}
114,100,function(){i&&(t.attr("srcset",i),n&&t.attr("sizes",n)),t.attr("src",e).animate({opacity:1},200,function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,t,e])})},o.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,e])},o.src=e})}var e,i,n,r=this;if(!0===r.options.centerMode?n=!0===r.options.infinite?(i=r.currentSlide+(r.options.slidesToShow/2+1))+r.options.slidesToShow+2:(i=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),r.options.slidesToShow/2+1+2+r.currentSlide):(i=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,n=Math.ceil(i+r.options.slidesToShow),!0===r.options.fade&&(0<i&&i--,n<=r.slideCount&&n++)),e=r.$slider.find(".slick-slide").slice(i,n),"anticipated"===r.options.lazyLoad)for(var o=i-1,s=n,a=r.$slider.find(".slick-slide"),l=0;l<r.options.slidesToScroll;l++)o<0&&(o=r.slideCount-1),e=(e=e.add(a.eq(o))).add(a.eq(s)),o--,s++;t(e),r.slideCount<=r.options.slidesToShow?t(r.$slider.find(".slick-slide")):r.currentSlide>=r.slideCount-r.options.slidesToShow?t(r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow)):0===r.currentSlide&&t(r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow))},r.prototype.loadSlider=function(){this.setPosition(),this.$slideTrack.css({opacity:1}),this.$slider.removeClass("slick-loading"),this.initUI(),"progressive"===this.options.lazyLoad&&this.progressiveLazyLoad()},r.prototype.next=r.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},r.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},r.prototype.pause=r.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},r.prototype.play=r.prototype.slickPlay=function(){this.autoPlay(),this.options.autoplay=!0,this.paused=!1,this.focussed=!1,this.interrupted=!1},r.prototype.postSlide=function(t){var e=this;!e.unslicked&&(e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.slideCount>e.options.slidesToShow&&e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),!0===e.options.accessibility&&(e.initADA(),e.options.focusOnChange))&&u(e.$slides.get(e.currentSlide)).attr("tabindex",0).focus()},r.prototype.prev=r.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},r.prototype.preventDefault=function(t){t.preventDefault()},r.prototype.progressiveLazyLoad=function(t){t=t||1;var e,i,n,o,r,s=this,a=u("img[data-lazy]",s.$slider);a.length?(e=a.first(),i=e.attr("data-lazy"),n=e.attr("data-srcset"),o=e.attr("data-sizes")||s.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){n&&(e.attr("srcset",n),o&&e.attr("sizes",o)),e.attr("src",i).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===s.options.adaptiveHeight&&s.setPosition(),s.$slider.trigger("lazyLoaded",[s,e,i]),s.progressiveLazyLoad()},r.onerror=function(){t<3?setTimeout(function(){s.progressiveLazyLoad(t+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,e,i]),s.progressiveLazyLoad())},r.src=i):s.$slider.trigger("allImagesLoaded",[s])},r.prototype.refresh=function(t){var e,i,n=this;i=n.slideCount-n.options.slidesToShow,!n.options.infinite&&n.currentSlide>i&&(n.currentSlide=i),n.slideCount<=n.options.slidesToShow&&(n.currentSlide=0),e=n.currentSlide,n.destroy(!0),u.extend(n,n.initials,{currentSlide:e}),n.init(),t||n.changeSlide({data:{message:"index",index:e}},!1)},r.prototype.registerBreakpoints=function(){var t,e,i,n=this,o=n.options.responsive||null;if("array"===u.type(o)&&o.length){for(t in n.respondTo=n.options.respondTo||"window",o)if(i=n.breakpoints.length-1,o.hasOwnProperty(t)){for(e=o[t].breakpoint;0<=i;)n.breakpoints[i]&&n.breakpoints[i]===e&&n.breakpoints.splice(i,1),i--;n.breakpoints.push(e),n.breakpointSettings[e]=o[t].settings}n.breakpoints.sort(function(t,e){return n.options.mobileFirst?t-e:e-t})}},r.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&u(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.o
vendor: 2,275 bytes, line 114
114ptions.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},r.prototype.resize=function(){var t=this;u(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=u(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},r.prototype.removeSlide=r.prototype.slickRemove=function(t,e,i){var n=this;return t="boolean"==typeof t?!0===(e=t)?0:n.slideCount-1:!0===e?--t:t,!(n.slideCount<1||t<0||t>n.slideCount-1)&&(n.unload(),!0===i?n.$slideTrack.children().remove():n.$slideTrack.children(this.options.slide).eq(t).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,void n.reinit())},r.prototype.setCSS=function(t){var e,i,n=this,o={};!0===n.options.rtl&&(t=-t),e="left"==n.positionProp?Math.ceil(t)+"px":"0px",i="top"==n.positionProp?Math.ceil(t)+"px":"0px",o[n.positionProp]=t,!1===n.transformsEnabled||(!(o={})===n.cssTransitions?o[n.animType]="translate("+e+", "+i+")":o[n.animType]="translate3d("+e+", "+i+", 0px)"),n.$slideTrack.css(o)},r.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},r.prototype.setFade=function(){var i,n=this;n.$slides.each(function(t,e){i=n.slideWidth*t*-1,!0===n.options.rtl?u(e).css({position:"relative",right:i,top:0,zIndex:n.options.zIndex-2,opacity:0}
114):u(e).css({position:"relative",left:i,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},r.prototype.setHeight=function(){if(1===this.options.slidesToShow&&!0===this.options.adaptiveHeight&&!1===this.options.vertical){var t=this.$slides.eq(this.currentSlide).outerHeight(!0);this.$list.css("height",t)}},r.prototype.setOption=r.prototype.slickSetOption=function(){var t,e,i,n,o,r=this,s=!1;if("object"===u.type(arguments[0])?(i=arguments[0],s=arguments[1],o="multiple"):"string"===u.type(arguments[0])&&(n=arguments[1],s=arguments[2],"responsive"===(i=arguments[0])&&"array"===u.type(arguments[1])?o="responsive":void 0!==arguments[1]&&(o="single")),"single"===o)r.options[i]=n;else if("multiple"===o)u.each(i,function(t,e){r.options[t]=e});else if("responsive"===o)for(e in n)if("array"!==u.type(r.options.responsive))r.options.responsive=[n[e]];else{for(t=r.options.responsive.length-1;0<=t;)r.options.responsive[t].breakpoint===n[e].breakpoint&&r.options.responsive.splice(t,1),t--;r.options.responsive.push(n[e])}s&&(r.unload(),r.reinit())},r.prototype.setPosition=function(){this.setDimensions(),this.setHeight(),!1===this.options.fade?this.setCSS(this.getLeft(this.currentSlide)):this.setFade(),this.$slider.trigger("setPosition",[this])},r.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},r.prototype.setSlideClasses=function(t){var e,i,n,o,r=this;if(i=r.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),r.$slides.eq(t).addClass("slick-current"),!0===r.options.centerMode){var s=r.options.slidesToShow%2==0?1:0;e=Math.floor(r.options.slidesToShow/2),!0===r.options.infinite&&(e<=t&&t<=r.slideCount-1-e?r.$slides.slice(t-e+s,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(n=r.options.slidesToShow+t,i.slice(n-e+1+s,n+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-r.options.slidesToShow).addClass("slick-center"):t===r.slideCount-1&&i.eq(r.options.slidesToShow).addClass("slick-center")),r.$slides.eq(t).addClass("slick-center")}else 0<=t&&t<=r.slideCount-r.options.slidesToShow?r.$slides.slice(t,t+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=r.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(o=r.slideCount%r.options.slidesToShow,n=!0===r.options.infinite?r.options.slidesToShow+t:t,r.options.slidesToShow==r.options.slidesToScroll&&r.slideCount-t<r.options.slidesToShow?i.slice(n-(r.options.slidesToShow-o),n+o).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==r.options.lazyLoad&&"anticipated"!==r.options.lazyLoad||r.lazyLoad()},r.prototype.setupInfinite=function(){var t,e,i,n=this;if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(e=null,n.slideCount>n.options.slidesToShow)){for(i=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,t=n.slideCount;t>n.slideCount-i;t-=1)e=t-1,u(n.$slides[e]).clone(!0).attr("id","").attr("data-slick-index",e-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(t=0;t<i+n.slideCount;t+=1)e=t,u(n.$slides[e]).clone(!0).attr("id","").attr("data-slick-index",e+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each(function(){u(this).attr("id","")})}},r.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},r.prototype.selectHandler=function(t){var e=u(t.target).is(".slick-slide")?u(t.target):u(t.target).parents(".slick-slide"),i=parseInt(e.attr("data-slick-index"));return i=i||0,this.slideCount<=this.options.slidesToShow?void this.slideHandler(i,!1,!0):void this.slideHandler(i)}
114,r.prototype.slideHandler=function(t,e,i){var n,o,r,s,a,l=null,u=this;if(e=e||!1,!(!0===u.animating&&!0===u.options.waitForAnimate||!0===u.options.fade&&u.currentSlide===t))return!1===e&&u.asNavFor(t),n=t,l=u.getLeft(n),s=u.getLeft(u.currentSlide),u.currentLeft=null===u.swipeLeft?s:u.swipeLeft,!1===u.options.infinite&&!1===u.options.centerMode&&(t<0||t>u.getDotCount()*u.options.slidesToScroll)?void(!1===u.options.fade&&(n=u.currentSlide,!0!==i&&u.slideCount>u.options.slidesToShow?u.animateSlide(s,function(){u.postSlide(n)}):u.postSlide(n))):!1===u.options.infinite&&!0===u.options.centerMode&&(t<0||t>u.slideCount-u.options.slidesToScroll)?void(!1===u.options.fade&&(n=u.currentSlide,!0!==i&&u.slideCount>u.options.slidesToShow?u.animateSlide(s,function(){u.postSlide(n)}):u.postSlide(n))):(u.options.autoplay&&clearInterval(u.autoPlayTimer),o=n<0?u.slideCount%u.options.slidesToScroll!=0?u.slideCount-u.slideCount%u.options.slidesToScroll:u.slideCount+n:n>=u.slideCount?u.slideCount%u.options.slidesToScroll!=0?0:n-u.slideCount:n,u.animating=!0,u.$slider.trigger("beforeChange",[u,u.currentSlide,o]),r=u.currentSlide,u.currentSlide=o,u.setSlideClasses(u.currentSlide),u.options.asNavFor&&((a=(a=u.getNavTarget()).slick("getSlick")).slideCount<=a.options.slidesToShow&&a.setSlideClasses(u.currentSlide)),u.updateDots(),u.updateArrows(),!0===u.options.fade?(!0!==i?(u.fadeSlideOut(r),u.fadeSlide(o,function(){u.postSlide(o)})):u.postSlide(o),void u.animateHeight()):void(!0!==i&&u.slideCount>u.options.slidesToShow?u.animateSlide(l,function(){u.postSlide(o)}):u.postSlide(o)))},r.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},r.prototype.swipeDirection=function(){var t,e,i,n;return t=this.touchObject.startX-this.touchObject.curX,e=this.touchObject.startY-this.touchObject.curY,i=Math.atan2(e,t),(n=Math.round(180*i/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&0<=n?!1===this.options.rtl?"left":"right":n<=360&&315<=n?!1===this.options.rtl?"left":"right":135<=n&&n<=225?!1===this.options.rtl?"right":"left":!0===this.options.verticalSwiping?35<=n&&n<=135?"down":"up":"vertical"},r.prototype.swipeEnd=function(t){var e,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1;if(n.interrupted=!1,n.shouldClick=!(10<n.touchObject.swipeLength),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(e),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},r.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},r.prototype.swipeMove=function(t){var e,i,n,o,r,s,a=this;return r=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!a.dragging||a.scrolling||r&&1!==r.length)&&(e=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==r?r[0].pageX:t.clientX,a.touchObject.curY=void 0!==r?r[0].pageY:t.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),s=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&4<s?!(a.scrolling=!0):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=s),i=a.swipeDirection(),void 0!==t.originalEvent&&4<a.touchObject.swipeLength&&(a.swiping=!0,t.preventDefault()),o=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(o=a.touchObject.curY>a.touchObject.startY?1:-1),n=a.touchObject.swipeLength,(a.touchObject.edgeHit=!1)===a.options.infinite&&(0===a.currentSlide&&"right"===i||a.currentSlide>=a.getDotCount()&&"left"===i)&&(n=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=e+n*o:a.swipeLeft=e+n*(a.$list.height()/a.listWidth)*o,!0===a.options.verticalSwiping&&(a.swipeLeft=e+n*o),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))))},r.prototype.swipeStart=function(t){var e,i=this;return i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow?!(i.touchObject={}):(void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,void(i.dragging=!0))},r.prototype.unfilterSlides=r.prototype.slickUnfilter=function(){null!==this.$slidesCache&&(this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.appendTo(this.$slideTrack),this.reinit())},r.prototype.unload=function(){var t=this;u(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
114,r.prototype.unslick=function(t){this.$slider.trigger("unslick",[this,t]),this.destroy()},r.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode?(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},r.prototype.updateDots=function(){null!==this.$dots&&(this.$dots.find("li").removeClass("slick-active").end(),this.$dots.find("li").eq(Math.floor(this.currentSlide/this.options.slidesToScroll)).addClass("slick-active"))},r.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},u.fn.slick=function(){var t,e,i=arguments[0],n=Array.prototype.slice.call(arguments,1),o=this.length;for(t=0;t<o;t++)if("object"==typeof i||void 0===i?this[t].slick=new r(this[t],i):e=this[t].slick[i].apply(this[t].slick,n),void 0!==e)return e;return this}}),function(o){"use strict";function r(t,e){this.el=o(t),this.options=o.extend({},o.fn.typed.defaults,e),this.isInput=this.el.is("input"),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.attr(this.attr):this.el.text(),this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()}r.prototype={constructor:r,init:function(){var e=this;e.timeout=setTimeout(function(){for(var t=0;t<e.strings.length;++t)e.sequence[t]=t;e.shuffle&&(e.sequence=e.shuffleArray(e.sequence)),e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos)},e.startDelay)},build:function(){var i=this;if(!0===this.showCursor&&(this.cursor=o('<span class="typed-cursor">'+this.cursorChar+"</span>"),this.el.after(this.cursor)),this.stringsElement){this.strings=[],this.stringsElement.hide(),console.log(this.stringsElement.children());var t=this.stringsElement.children();o.each(t,function(t,e){i.strings.push(o(e).html())})}this.init()},typewrite:function(r,s){if(!0!==this.stop){var t=Math.round(70*Math.random())+this.typeSpeed,a=this;a.timeout=setTimeout(function(){var t=0,e=r.substr(s);if("^"===e.charAt(0)){var i=1;/^\^\d+/.test(e)&&(i+=(e=/\d+/.exec(e)[0]).length,t=parseInt(e)),r=r.substring(0,s)+r.substring(s+i)}if("html"===a.contentType){var n=r.substr(s).charAt(0);if("<"===n||"&"===n){var o;for(o="<"===n?">":";";r.substr(s+1).charAt(0)!==o&&(r.substr(s).charAt(0),!(++s+1>r.length)););s++,o}}a.timeout=setTimeout(function(){if(s===r.length){if(a.options.onStringTyped(a.arrayPos),a.arrayPos===a.strings.length-1&&(a.options.callback(),a.curLoop++,!1===a.loop||a.curLoop===a.loopCount))return;a.timeout=setTimeout(function(){a.backspace(r,s)},a.backDelay)}else{0===s&&a.options.preStringTyped(a.arrayPos);var t=r.substr(0,s+1);a.attr?a.el.attr(a.attr,t):a.isInput?a.el.val(t):"html"===a.contentType?a.el.html(t):a.el.text(t),s++,a.typewrite(r,s)}},t)},t)}},backspace:function(e,i){if(!0!==this.stop){var t=Math.round(70*Math.random())+this.backSpeed,n=this;n.timeout=setTimeout(function(){if("html"===n.contentType&&">"===e.substr(i).charAt(0)){for(;"<"!==e.substr(i-1).charAt(0)&&(e.substr(i).charAt(0),!(--i<0)););i--,"<"}var t=e.substr(0,i);n.attr?n.el.attr(n.attr,t):n.isInput?n.el.val(t):"html"===n.contentType?n.el.html(t):n.el.text(t),i>n.stopNum?(i--,n.backspace(e,i)):i<=n.stopNum&&(n.arrayPos++,n.arrayPos===n.strings.length?(n.arrayPos=0,n.shuffle&&(n.sequence=n.shuffleArray(n.sequence)),n.init()):n.typewrite(n.strings[n.sequence[n.arrayPos
114]],i))},t)}},shuffleArray:function(t){var e,i,n=t.length;if(n)for(;--n;)e=t[i=Math.floor(Math.random()*(n+1))],t[i]=t[n],t[n]=e;return t},reset:function(){clearInterval(this.timeout),this.el.attr("id"),this.el.empty(),void 0!==this.cursor&&this.cursor.remove(),this.strPos=0,this.arrayPos=0,this.curLoop=0,this.options.resetCallback()}},o.fn.typed=function(n){return this.each(function(){var t=o(this),e=t.data("typed"),i="object"==typeof n&&n;e&&e.reset(),t.data("typed",e=new r(this,i)),"string"==typeof n&&e[n]()})},o.fn.typed.defaults={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window.jQuery); 115/*! This file is auto-generated */ 116!function(n,t){var r,e;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("underscore",t):(n="undefined"!=typeof globalThis?globalThis:n||self,r=n._,(e=n._=t()).noConflict=function(){return n._=r,e})}(this,function(){var n="1.13.7",t="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},e=Array.prototype,V=Object.prototype,F="undefined"!=typeof Symbol?Symbol.prototype:null,P=e.push,f=e.slice,s=V.toString,q=V.hasOwnProperty,r="undefined"!=typeof ArrayBuffer,u="undefined"!=typeof DataView,U=Array.isArray,W=Object.keys,z=Object.create,L=r&&ArrayBuffer.isView,$=isNaN,C=isFinite,K=!{toString:null}.propertyIsEnumerable("toString"),J=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],G=Math.pow(2,53)-1;function l(u,o){return o=null==o?u.length-1:+o,function(){for(var n=Math.max(arguments.length-o,0),t=Array(n),r=0;r<n;r++)t[r]=arguments[r+o];switch(o){case 0:return u.call(this,t);case 1:return u.call(this,arguments[0],t);case 2:return u.call(this,arguments[0],arguments[1],t)}for(var e=Array(o+1),r=0;r<o;r++)e[r]=arguments[r];return e[o]=t,u.apply(this,e)}}function o(n){var t=typeof n;return"function"==t||"object"==t&&!!n}function H(n){return void 0===n}function Q(n){return!0===n||!1===n||"[object Boolean]"===s.call(n)}function i(n){var t="[object "+n+"]";return function(n){return s.call(n)===t}}var X=i("String"),Y=i("Number"),Z=i("Date"),nn=i("RegExp"),tn=i("Error"),rn=i("Symbol"),en=i("ArrayBuffer"),a=i("Function"),t=t.document&&t.document.childNodes,p=a="function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof t?function(n){return"function"==typeof n||!1}:a,t=i("Object"),un=u&&(!/\[native code\]/.test(String(DataView))||t(new DataView(new ArrayBuffer(8)))),a="undefined"!=typeof Map&&t(new Map),u=i("DataView");var h=un?function(n){return null!=n&&p(n.getInt8)&&en(n.buffer)}:u,v=U||i("Array");function y(n,t){return null!=n&&q.call(n,t)}var on=i("Arguments"),an=(!function(){on(arguments)||(on=function(n){return y(n,"callee")})}(),on);function fn(n){return Y(n)&&$(n)}function cn(n){return function(){return n}}function ln(t){return function(n){n=t(n);return"number"==typeof n&&0<=n&&n<=G}}function sn(t){return function(n){return null==n?void 0:n[t]}}var d=sn("byteLength"),pn=ln(d),hn=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var vn=r?function(n){return L?L(n)&&!h(n):pn(n)&&hn.test(s.call(n))}:cn(!1),g=sn("length");function yn(n,t){t=function(t){for(var r={},n=t.length,e=0;e<n;++e)r[t[e]]=!0;return{contains:function(n){return!0===r[n]},push:function(n){return r[n]=!0,t.push(n)}}}(t);var r=J.length,e=n.constructor,u=p(e)&&e.prototype||V,o="constructor";for(y(n,o)&&!t.contains(o)&&t.push(o);r--;)(o=J[r])in n&&n[o]!==u[o]&&!t.contains(o)&&t.push(o)}function b(n){if(!o(n))return[];if(W)return W(n);var t,r=[];for(t in n)y(n,t)&&r.push(t);return K&&yn(n,r),r}function dn(n,t){var r=b(t),e=r.length;if(null==n)return!e;for(var u=Object(n),o=0;o<e;o++){var i=r[o];if(t[i]!==u[i]||!(i in u))return!1}return!0}function m(n){return n instanceof m?n:this instanceof m?void(this._wrapped=n):new m(n)}function gn(n){return new Uint8Array(n.buffer||n,n.byteOffset||0,d(n))}m.VERSION=n,m.prototype.valueOf=m.prototype.toJSON=m.prototype.value=function(){return this._wrapped},m.prototype.toString=function(){return String(this._wrapped)};var bn="[object DataView]";function mn(n,t,r,e){var u;return n===t?0!==n||1/n==1/t:null!=n&&null!=t&&(n!=n?t!=t:("function"==(u=typeof n)||"object"==u||"object"==typeof t)&&function n(t,r,e,u){t instanceof m&&(t=t._wrapped);r instanceof m&&(r=r._wrapped);var o=s.call(t);if(o!==s.call(r))return!1;if(un&&"[object Object]"==o&&h(t)){if(!h(r))return!1;o=bn}switch(o){case"[object RegExp]":case"[object String]":return""+t==""+r;case"[object Number]":return+t!=+t?+r!=+r:0==+t?1/+t==1/r:+t==+r;case"[object Date]":case"[object Boolean]":return+t==+r;case"[object Symbol]":return F.valueOf.call(t)===F.valueOf.call(r);case"[object ArrayBuffer]":case bn:return n(gn(t),gn(r),e,u)}o="[object Array]"===o;if(!o&&vn(t)){var i=d(t);if(i!==d(r))return!1;if(t.buffer===r.buffer&&t.byteOffset===r.byteOffset)return!0;o=!0}if(!o){if("object"!=typeof t||"object"!=typeof r)return!1;var i=t.constructor,a=r.constructor;if(i!==a&&!(p(i)&&i instanceof i&&p(a)&&a instanceof a)&&"constructor"in t&&"constructor"in r)return!1}e=e||[];u=u||[];var f=e.length;for(;f--;)if(e[f]===t)return u[f]===r;e.push(t);u.push(r);if(o){if((f=t.length)!==r.length)return!1;for(;f--;)if(!mn(t[f],r[f],e,u))return!1}else{var c,l=b(t);if(f=l.length,b(r).length!==f)return!1;for(;f--;)if(c=l[f],!y(r,c)||!mn(t[c],r[c],e,u))return!1}e.pop();u.pop();return!0}(n,t,r,e))}function c(n){if(!o(n))return[];var t,r=[];for(t in n)r.push(t);return K&&yn(n,r),r}function jn(e){var u=g(e);return function(n){if(null==n)return!1;var t=c(n);if(g(t))return!1;for(var r=0;r<u;r++)if(!p(n[e[r]]))return!1;return e!==_n||!p(n[wn])}}
vendor: 11,818 bytes, line 116
116var wn="forEach",t=["clear","delete"],u=["get","has","set"],U=t.concat(wn,u),_n=t.concat(u),r=["add"].concat(t,wn,"has"),u=a?jn(U):i("Map"),t=a?jn(_n):i("WeakMap"),U=a?jn(r):i("Set"),a=i("WeakSet");function j(n){for(var t=b(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=n[t[u]];return e}function An(n){for(var t={},r=b(n),e=0,u=r.length;e<u;e++)t[n[r[e]]]=r[e];return t}function xn(n){var t,r=[];for(t in n)p(n[t])&&r.push(t);return r.sort()}function Sn(f,c){return function(n){var t=arguments.length;if(c&&(n=Object(n)),!(t<2||null==n))for(var r=1;r<t;r++)for(var e=arguments[r],u=f(e),o=u.length,i=0;i<o;i++){var a=u[i];c&&void 0!==n[a]||(n[a]=e[a])}return n}}var On=Sn(c),w=Sn(b),Mn=Sn(c,!0);function En(n){var t;return o(n)?z?z(n):((t=function(){}).prototype=n,n=new t,t.prototype=null,n):{}}function Bn(n){return v(n)?n:[n]}function _(n){return m.toPath(n)}function Nn(n,t){for(var r=t.length,e=0;e<r;e++){if(null==n)return;n=n[t[e]]}return r?n:void 0}function In(n,t,r){n=Nn(n,_(t));return H(n)?r:n}function Tn(n){return n}function A(t){return t=w({},t),function(n){return dn(n,t)}}function kn(t){return t=_(t),function(n){return Nn(n,t)}}function x(u,o,n){if(void 0===o)return u;switch(null==n?3:n){case 1:return function(n){return u.call(o,n)};case 3:return function(n,t,r){return u.call(o,n,t,r)};case 4:return function(n,t,r,e){return u.call(o,n,t,r,e)}}return function(){return u.apply(o,arguments)}}function Dn(n,t,r){return null==n?Tn:p(n)?x(n,t,r):(o(n)&&!v(n)?A:kn)(n)}function Rn(n,t){return Dn(n,t,1/0)}function S(n,t,r){return m.iteratee!==Rn?m.iteratee(n,t):Dn(n,t,r)}function Vn(){}function Fn(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))}m.toPath=Bn,m.iteratee=Rn;var O=Date.now||function(){return(new Date).getTime()};function Pn(t){function r(n){return t[n]}var n="(?:"+b(t).join("|")+")",e=RegExp(n),u=RegExp(n,"g");return function(n){return e.test(n=null==n?"":""+n)?n.replace(u,r):n}}var r={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},qn=Pn(r),r=Pn(An(r)),Un=m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Wn=/(.)^/,zn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ln=/\\|'|\r|\n|\u2028|\u2029/g;function $n(n){return"\\"+zn[n]}var Cn=/^\s*(\w|\$)+\s*$/;var Kn=0;function Jn(n,t,r,e,u){return e instanceof t?(e=En(n.prototype),o(t=n.apply(e,u))?t:e):n.apply(r,u)}var M=l(function(u,o){function i(){for(var n=0,t=o.length,r=Array(t),e=0;e<t;e++)r[e]=o[e]===a?arguments[n++]:o[e];for(;n<arguments.length;)r.push(arguments[n++]);return Jn(u,i,this,this,r)}var a=M.placeholder;return i}),Gn=(M.placeholder=m,l(function(t,r,e){var u;if(p(t))return u=l(function(n){return Jn(t,u,r,this,e.concat(n))});throw new TypeError("Bind must be called on a function")})),E=ln(g);function B(n,t,r,e){if(e=e||[],t||0===t){if(t<=0)return e.concat(n)}else t=1/0;for(var u=e.length,o=0,i=g(n);o<i;o++){var a=n[o];if(E(a)&&(v(a)||an(a)))if(1<t)B(a,t-1,r,e),u=e.length;else for(var f=0,c=a.length;f<c;)e[u++]=a[f++];else r||(e[u++]=a)}return e}var Hn=l(function(n,t){var r=(t=B(t,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var e=t[r];n[e]=Gn(n[e],n)}return n});var Qn=l(function(n,t,r){return setTimeout(function(){return n.apply(null,r)},t)}),Xn=M(Qn,m,1);function Yn(n){return function(){return!n.apply(this,arguments)}}function Zn(n,t){var r;return function(){return 0<--n&&(r=t.apply(this,arguments)),n<=1&&(t=null),r}}var nt=M(Zn,2);function tt(n,t,r){t=S(t,r);for(var e,u=b(n),o=0,i=u.length;o<i;o++)if(t(n[e=u[o]],e,n))return e}function rt(o){return function(n,t,r){t=S(t,r);for(var e=g(n),u=0<o?0:e-1;0<=u&&u<e;u+=o)if(t(n[u],u,n))return u;return-1}}var et=rt(1),ut=rt(-1);function ot(n,t,r,e){for(var u=(r=S(r,e,1))(t),o=0,i=g(n);o<i;){var a=Math.floor((o+i)/2);r(n[a])<u?o=a+1:i=a}return o}function it(o,i,a){return function(n,t,r){var e=0,u=g(n);if("number"==typeof r)0<o?e=0<=r?r:Math.max(r+u,e):u=0<=r?Math.min(r+1,u):r+u+1;else if(a&&r&&u)return n[r=a(n,t)]===t?r:-1;if(t!=t)return 0<=(r=i(f.call(n,e,u),fn))?r+e:-1;for(r=0<o?e:u-1;0<=r&&r<u;r+=o)if(n[r]===t)return r;return-1}}var at=it(1,et,ot),ft=it(-1,ut);function ct(n,t,r){t=(E(n)?et:tt)(n,t,r);if(void 0!==t&&-1!==t)return n[t]}function N(n,t,r){if(t=x(t,r),E(n))for(u=0,o=n.length;u<o;u++)t(n[u],u,n);else for(var e=b(n),u=0,o=e.length;u<o;u++)t(n[e[u]],e[u],n);return n}function I(n,t,r){t=S(t,r);for(var e=!E(n)&&b(n),u=(e||n).length,o=Array(u),i=0;i<u;i++){var a=e?e[i]:i;o[i]=t(n[a],a,n)}return o}function lt(f){return function(n,t,r,e){var u=3<=arguments.length;return function(n,t,r,e){var u=!E(n)&&b(n),o=(u||n).length,i=0<f?0:o-1;for(e||(r=n[u?u[i]:i],i+=f);0<=i&&i<o;i+=f){var a=u?u[i]:i;r=t(r,n[a],a,n)}return r}(n,x(t,e,4),r,u)}}var st=lt(1),pt=lt(-1);function T(n,e,t){var u=[];return e=S(e,t),N(n,function(n,t,r){e(n,t,r)&&u.push(n)}),u}function ht(n,t,r){t=S(t,r);for(var e=!E(n)&&b(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;if(!t(n[i],i,n))return!1}return!0}function vt(n,t,r){t=S(t,r);for(var e=!E(n)&&b(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;if(t(n[i],i,n))return!0}return!1}function k(n,t,r,e){return E(n)||(n=j(n)),0<=at(n,t,r="number"==typeof r&&!e?r:0)}var yt=l(function(n,r,e){var u,o;return p(r)?o=r:(r=_(r),u=r.slice(0,-1),r=r[r.length-1]),I(n,function(n){var t=o;if(!t){if(null==(n=u&&u.length?Nn(n,u):n))return;t=n[r]}return null==t?t:t.apply(n,e)})});function dt(n,t){return I(n,kn(t))}function gt(n,e,t){var r,u,o=-1/0,i=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=E(n)?n:j(n)).length;a<f;a++)null!=(r=n[a])&&o<r&&(o=r);else e=S(e,t),N(n,function(n,t,r){u=e(n,t,r),(i<u||u===-1/0&&o===-1/0)&&(o=n,i=u)});return o}var bt=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function mt(n){return n?v(n)?f.call(n):X(n)?n.match(bt):E(n)?I(n,Tn):j(n):[]}function jt(n,t,r){if(null==t||r)return(n=E(n)?n:j(n))[Fn(n.length-1)];for(var e=mt(n),r=g(e),u=(t=Math.max(Math.min(t,r),0),r-1),o=0;o<t;o++){var i=Fn(o,u),a=e[o];e[o]=e[i],e[i]=a}return e.slice(0,t)}function D(o,t){return function(r,e,n){var u=t?[[],[]]:{};return e=S(e,n),N(r,function(n,t){t=e(n,t,r);o(u,n,t)}),u}}var wt=D(function(n,t,r){y(n,r)?n[r].push(t):n[r]=[t]}),_t=D(function(n,t,r){n[r]=t}),At=D(function(n,t,r){y(n,r)?n[r]++:n[r]=1}),xt=D(function(n,t,r){n[r?0:1].push(t)},!0);function St(n,t,r){return t in r}var Ot=l(function(n,t){var r={},e=t[0];if(null!=n){p(e)?(1<t.length&&(e=x(e,t[1])),t=c(n)):(e=St,t=B(t,!1,!1),n=Object(n));for(var u=0,o=t.length;u<o;u++){var i=t[u],a=n[i];e(a,i,n)&&(r[i]=a)}}return r}),Mt=l(function(n,r){var t,e=r[0];return p(e)?(e=Yn(e),1<r.length&&(t=r[1])):(r=I(B(r,!1,!1),String),e=function(n,t){return!k(r,t)}),Ot(n,e,t)});function Et(n,t,r){return f.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))}function Bt(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[0]:Et(n,n.length-t)}function R(n,t,r){return f.call(n,null==t||r?1:t)}var Nt=l(function(n,t){return t=B(t,!0,!0),T(n,function(n){return!k(t,n)})}),It=l(function(n,t){return Nt(n,t)});function Tt(n,t,r,e){Q(t)||(e=r,r=t,t=!1),null!=r&&(r=S(r,e));for(var u=[],o=[],i=0,a=g(n);i<a;i++){var f=n[i],c=r?r(f,i,n):f;t&&!r?(i&&o===c||u.push(f),o=c):r?k(o,c)||(o.push(c),u.push(f)):k(u,f)||u.push(f)}return u}var kt=l(function(n){return Tt(B(n,!0,!0))});function Dt(n){for(var t=n&>(n,g).length||0,r=Array(t),e=0;e<t;e++)r[e]=dt(n,e);return r}var Rt=l(Dt);function Vt(n,t){return n._chain?m(t).chain():t}function Ft(r){return N(xn(r),function(n){var t=m[n]=r[n];m.prototype[n]=function(){var n=[this._wrapped];return P.apply(n,arguments),Vt(this,t.apply(m,n))}}),m}N(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var r=e[t];m.prototype[t]=function(){var n=this._wrapped;return null!=n&&(r.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0]),Vt(this,n)}}),N(["concat","join","slice"],function(n){var t=e[n];m.prototype[n]=function(){var n=this._wrapped;return Vt(this,n=null!=n?t.apply(n,arguments):n)}});n=Ft({__proto__:null,VERSION:n,restArguments:l,isObject:o,isNull:function(n){return null===n},isUndefined:H,isBoolean:Q,isElement:function(n){return!(!n||1!==n.nodeType)},isString:X,isNumber:Y,isDate:Z,isRegExp:nn,isError:tn,isSymbol:rn,isArrayBuffer:en,isDataView:h,isArray:v,isFunction:p,isArguments:an,isFinite:function(n){return!rn(n)&&C(n)&&!isNaN(parseFloat(n))},isNaN:fn,isTypedArray:vn,isEmpty:function(n){var t;return null==n||("number"==typeof(t=g(n))&&(v(n)||X(n)||an(n))?0===t:0===g(b(n)))},isMatch:dn,isEqual:function(n,t){return mn(n,t)},isMap:u,isWeakMap:t,isSet:U,isWeakSet:a,keys:b,allKeys:c,values:j,pairs:function(n){for(var t=b(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=[t[u],n[t[u]]];return e},invert:An,functions:xn,methods:xn,extend:On,extendOwn:w,assign:w,defaults:Mn,create:function(n,t){return n=En(n),t&&w(n,t),n},clone:function(n){return o(n)?v(n)?n.slice():On({},n):n},tap:function(n,t){return t(n),n},get:In,has:function(n,t){for(var r=(t=_(t)).length,e=0;e<r;e++){var u=t[e];if(!y(n,u))return!1;n=n[u]}return!!r},mapObject:function(n,t,r){t=S(t,r);for(var e=b(n),u=e.length,o={},i=0;i<u;i++){var a=e[i];o[a]=t(n[a],a,n)}return o},identity:Tn,constant:cn,noop:Vn,toPath:Bn,property:kn,propertyOf:function(t){return null==t?Vn:function(n){return In(t,n)}},matcher:A,matches:A,times:function(n,t,r){var e=Array(Math.max(0,n));t=x(t,r,1);for(var u=0;u<n;u++)e[u]=t(u);return e},random:Fn,now:O,escape:qn,unescape:r,templateSettings:Un,template:function(o,n,t){n=Mn({},n=!n&&t?t:n,m.templateSettings);var r,t=RegExp([(n.escape||Wn).source,(n.interpolate||Wn).source,(n.evaluate||Wn).source].join("|")+"|$","g"),i=0,a="__p+='";if(o.replace(t,function(n,t,r,e,u){return a+=o.slice(i,u).replace(Ln,$n),i=u+n.length,t?a+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":e&&(a+="';\n"+e+"\n__p+='"),n}),a+="';\n",t=n.variable){if(!Cn.test(t))throw new Error("variable is not a bare identifier: "+t)}else a="with(obj||{}){\n"+a+"}\n",t="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t,"_",a)}catch(n){throw n.source=a,n}function e(n){return r.call(this,n,m)}return e.source="function("+t+"){\n"+a+"}",e},result:function(n,t,r){var e=(t=_(t)).length;if(!e)return p(r)?r.call(n):r;for(var u=0;u<e;u++){var o=null==n?void 0:n[t[u]];void 0===o&&(o=r,u=e),n=p(o)?o.call(n):o}return n},uniqueId:function(n){var t=++Kn+"";return n?n+t:t},chain:function(n){return(n=m(n))._chain=!0,n},iteratee:Rn,partial:M,bind:Gn,bindAll:Hn,memoize:function(e,u){function o(n){var t=o.cache,r=""+(u?u.apply(this,arguments):n);return y(t,r)||(t[r]=e.apply(this,arguments)),t[r]}return o.cache={},o},delay:Qn,defer:Xn,throttle:function(r,e,u){function o(){l=!1===u.leading?0:O(),i=null,c=r.apply(a,f),i||(a=f=null)}function n(){var n=O(),t=(l||!1!==u.leading||(l=n),e-(n-l));return a=this,f=arguments,t<=0||e<t?(i&&(clearTimeout(i),i=null),l=n,c=r.apply(a,f),i||(a=f=null)):i||!1===u.trailing||(i=setTimeout(o,t)),c}var i,a,f,c,l=0;return u=u||{},n.cancel=function(){clearTimeout(i),l=0,i=a=f=null},n},debounce:function(t,r,e){function u(){var n=O()-i;n<r?o=setTimeout(u,r-n):(o=null,e||(f=t.apply(c,a)),o||(a=c=null))}var o,i,a,f,c,n=l(function(n){return c=this,a=n,i=O(),o||(o=setTimeout(u,r),e&&(f=t.apply(c,a))),f});return n.cancel=function(){clearTimeout(o),o=a=c=null},n},wrap:function(n,t){return M(t,n)},negate:Yn,compose:function(){var r=arguments,e=r.length-1;return function(){for(var n=e,t=r[e].apply(this,arguments);n--;)t=r[n].call(this,t);return t}},after:function(n,t){return function(){if(--n<1)return t.apply(this,arguments)}},before:Zn,once:nt,findKey:tt,findIndex:et,findLastIndex:ut,sortedIndex:ot,
116indexOf:at,lastIndexOf:ft,find:ct,detect:ct,findWhere:function(n,t){return ct(n,A(t))},each:N,forEach:N,map:I,collect:I,reduce:st,foldl:st,inject:st,reduceRight:pt,foldr:pt,filter:T,select:T,reject:function(n,t,r){return T(n,Yn(S(t)),r)},every:ht,all:ht,some:vt,any:vt,contains:k,includes:k,include:k,invoke:yt,pluck:dt,where:function(n,t){return T(n,A(t))},max:gt,min:function(n,e,t){var r,u,o=1/0,i=1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=E(n)?n:j(n)).length;a<f;a++)null!=(r=n[a])&&r<o&&(o=r);else e=S(e,t),N(n,function(n,t,r){((u=e(n,t,r))<i||u===1/0&&o===1/0)&&(o=n,i=u)});return o},shuffle:function(n){return jt(n,1/0)},sample:jt,sortBy:function(n,e,t){var u=0;return e=S(e,t),dt(I(n,function(n,t,r){return{value:n,index:u++,criteria:e(n,t,r)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(e<r||void 0===r)return 1;if(r<e||void 0===e)return-1}return n.index-t.index}),"value")},groupBy:wt,indexBy:_t,countBy:At,partition:xt,toArray:mt,size:function(n){return null==n?0:(E(n)?n:b(n)).length},pick:Ot,omit:Mt,first:Bt,head:Bt,take:Bt,initial:Et,last:function(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[n.length-1]:R(n,Math.max(0,n.length-t))},rest:R,tail:R,drop:R,compact:function(n){return T(n,Boolean)},flatten:function(n,t){return B(n,t,!1)},without:It,uniq:Tt,unique:Tt,union:kt,intersection:function(n){for(var t=[],r=arguments.length,e=0,u=g(n);e<u;e++){var o=n[e];if(!k(t,o)){for(var i=1;i<r&&k(arguments[i],o);i++);i===r&&t.push(o)}}return t},difference:Nt,unzip:Dt,transpose:Dt,zip:Rt,object:function(n,t){for(var r={},e=0,u=g(n);e<u;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},range:function(n,t,r){null==t&&(t=n||0,n=0),r=r||(t<n?-1:1);for(var e=Math.max(Math.ceil((t-n)/r),0),u=Array(e),o=0;o<e;o++,n+=r)u[o]=n;return u},chunk:function(n,t){if(null==t||t<1)return[];for(var r=[],e=0,u=n.length;e<u;)r.push(f.call(n,e,e+=t));return r},mixin:Ft,default:m});return n._=n}); 117window.onpageshow=function(t){t.persisted&&window.location.reload()},function(b,y){"use strict";var c=b(document),x=b(y),w=b("body"),i=b("#wpadminbar"),d=b(".click-capture"),o=b(".header"),h=b("#wrapper"),p=b("#mobile-menu"),t=(b(".mobile-toggle-holder"),new BezierEasing(.35,.3,.2,.85)),n=new MobileDetect(y.navigator.userAgent),C=C||{};gsap.defaults({ease:t}),gsap.config({nullTargetWarn:!1}),y.lazySizesConfig=y.lazySizesConfig||{},y.lazySizesConfig.expand=1e3,y.lazySizesConfig.loadMode=1,y.lazySizesConfig.loadHidden=!1,C={activeSlider:!1,menuscroll:b("#menu-scroll"),h_offset:0,init:function(){var e,a=this;function t(){for(e in a)if(a.hasOwnProperty(e)){var t=a[e];void 0!==t.selector&&void 0!==t.init&&0<b(t.selector).length&&t.init()}}if("on"!==themeajax.settings.page_transition||w.hasClass("compose-mode")||w.hasClass("elementor-editor-active"))t();else{var i=-1<b.inArray(themeajax.settings.page_transition_style,["thb-swipe-left"]);b(".thb-page-transition-on").animsition({inClass:themeajax.settings.page_transition_style+"-in",outClass:themeajax.settings.page_transition_style+"-out",inDuration:parseInt(themeajax.settings.page_transition_in_speed,10),outDuration:parseInt(themeajax.settings.page_transition_out_speed,10),touchSupport:!1,overlay:i,overlayClass:"thb-page-transition-overlay",linkElement:'.animsition-link,a[href]:not([target=" _blank"]):not([target="_blank"]):not([href^="'+themeajax.settings.current_url+'#"]):not([href^="#"]):not([href*="javascript"]):not([href*=".rar"]):not([href*=".zip"]):not([href*=".jpg"]):not([href*=".jpeg"]):not([href*=".gif"]):not([href*=".png"]):not([href*=".mov"]):not([href*=".swf"]):not([href*=".mp4"]):not([href*=".flv"]):not([href*=".avi"]):not([href*=".mp3"]):not([href^="tel:"]):not([href^="mailto:"]):not([class="no-animation"]):not(.ajax_add_to_cart):not([class*="ftg-lightbox"]):not(.wpcf7-submit):not(.comment-reply-link):not(.mfp-image):not(.mfp-video):not(.add_to_wishlist):not(.remove_from_cart_button):not([id*="cancel-comment-reply-link"]):not(.do-not-animate):not(.mfp-inline):not(.remove):not([href^="'+location.protocol+"//"+location.host+location.pathname+'#"])'}).on("animsition.inStart",function(){_.delay(function(){t()},parseInt(themeajax.settings.page_transition_in_speed,10)/.8)})}},beforeHeader:{selector:".thb_before_header",init:function(){var t=b(this.selector),e=b(".thb_before_header_inner",t),a=t.data("parallax");n.mobile()||"off"===a||x.on("scroll",function(){x.scrollTop()>x.outerHeight()/2||gsap.set(e,{y:x.scrollTop()/2})})}},newsletterPopup:{selector:".newsletter-popup",init:function(){b(this.selector);if("1"!==Cookies.get("newsletter_popup")){if("off"===themeajax.settings.newsletter)return;_.delay(function(){b.magnificPopup.open({type:"inline",items:{src:"#
117newsletter-popup",type:"inline"},mainClass:"mfp newsletter-popup mfp-zoom-in",tLoading:themeajax.l10n.lightbox_loading,removalDelay:400,fixedBgPos:!0,fixedContentPos:!0,closeBtnInside:!0,closeMarkup:'<button title="%title%" class="mfp-close"><span>'+themeajax.svg.close_arrow+"</span></button>",callbacks:{close:function(){Cookies.set("newsletter_popup","1",{expires:parseInt(themeajax.settings.newsletter_length,10)})}}})},1e3*parseInt(themeajax.settings.newsletter_delay,10))}}},cookieBar:{selector:".thb-cookie-bar",init:function(){var t=b(this.selector),e=b(".button-accept",t),a=b(".thb-mobile-close",t);"hide"!==Cookies.get("thb-theissue-cookiebar")&&gsap.to(t,{duration:.5,opacity:"1",y:"0%"}),e.on("click",function(){return Cookies.set("thb-theissue-cookiebar","hide",{expires:30}),gsap.to(t,{duration:.5,opacity:"0",y:"100%"}),!1}),a.on("click",function(){return gsap.to(t,{duration:.5,opacity:"0",y:"100%"}),!1})}},header:{selector:".header",light:!1,init:function(){var t=this,e=150;b(".thb_before_header").length&&x.on("resize.before-header",function(){e=150+b(".thb_before_header").outerHeight()}).trigger("resize.before-header"),"on"===themeajax.settings.fixed_header_scroll&&b(".header.fixed:not(.header-mobile)").headroom({offset:e}),x.on("resize.mobile-header",function(){(n.mobile()||x.width()<1024)&&(b(".mobile-header-holder").css({height:function(){return b(".header.header-mobile").outerHeight()+"px"}}),"on"!==themeajax.settings.fixed_header_scroll||b(".header.header-mobile").hasClass("headroom")||b(".header.header-mobile").headroom({offset:50}))}).trigger("resize.mobile-header"),x.on("scroll.mobile-header",function(){x.scrollTop()>e?b(".header.header-mobile").addClass("fixed"):b(".header.header-mobile").removeClass("fixed")}).trigger("scroll.mobile-header"),x.on("scroll.fixed-header",function(){t.scroll(e)}).trigger("scroll.fixed-header")},scroll:function(t){var e="fixed-enabled";t<x.scrollTop()?b(".header.fixed").addClass(e):b(".header.fixed").removeClass(e)}},fullMenu:{selector:".thb-full-menu",init:function(){var t=b(this.selector),e=(t.find("a"),t.find("li.menu-item-has-children")),a=t.find("li.menu-item-has-children.menu-item-mega-parent");e.each(function(){var t=b(this),e=t.find(">.sub-menu, .sub-menu.thb_mega_menu"),a=e.find(">li>a"),i=(t.find(".thb_mega_menu li"),gsap.timeline({paused:!0}));i.to(e,{duration:.5,autoAlpha:1,display:"block"},"start"),a.length&&i.to(a,{duration:.1,opacity:1,stagger:.03},"start"),t.hoverIntent(function(){t.addClass("sfHover"),i.timeScale(1).restart()},function(){t.removeClass("sfHover"),i.timeScale(1.5).reverse()})}),t.each(function(){var t=b(this),e=b(".header.thb-main-header").find(".thb-navbar");x.on("resize.resizeMegaMenu",_.debounce(function(){!function(t,e){t.find(".thb_mega_menu_holder").length&&t.find(".thb_mega_menu_holder").css({width:function(){return parseInt(e.outerWidth(),10)},left:function(){return t.parents(".header").hasClass("style6")||t.parents(".header").hasClass("style9")?0:t.parents(".header").hasClass("style3")||t.parents(".header").hasClass("style10")||t.parents(".header").hasClass("main-header-style3")||t.parents(".header").hasClass("main-header-style10")?(t.find(".thb_mega_menu_holder").outerWidth()-e.find(".full-menu").outerWidth())/2*-1:-1*(t.parents(".header").find(".full-menu").offset().left-e.offset().left)}})}(t,e)},30)).trigger("resize.resizeMegaMenu")}),a.each(function(){var t=b(this),i=t.find(".thb_mega_menu>li"),o=t.find(".category-children>.tab-holder");i.first().addClass("active"),i.on("hover",function(){var t=b(this),e=t.index(),a=o.filter(":nth-child("+(e+1)+")");i.removeClass("active"),t.addClass("active"),TweenLite.set(o,{display:"none"}),TweenLite.set(a,{display:"flex"}),a.find(".thb-carousel").length&&a.find(".thb-carousel").slick("setPosition")})})}},mobileMenu:{selector:"#mobile-menu",init:function(){var t=b(this.selector);("thb-submenu"===t.data("behaviour")?t.find(".thb-mobile-menu li.menu-item-has-children>a"):t.find(".thb-mobile-menu li.menu-item-has-children>a .thb-arrow")).on("click",function(t){var e=b(this),a=e.parents("a").length?e.parents("a"):e,i=a.next(".sub-menu");a.hasClass("active")?(a.removeClass("active"),i.slideUp("200")):(a.addClass("active"),i.slideDown("200")),t.stopPropagation(),t.preventDefault()})}},hashLinks:{selector:'a[href*="#"]',init:function(){b(this.selector).on("click",function(t){var e,a,i=b(this),o=i.attr("href");if(!(i.parents("ul.commentlist").length||i.parents(".woocommerce-tabs").length||i.hasClass("comment-reply-link")||"cancel-comment-reply-link"===i.attr("id")||i.hasClass("page-numbers"))){if
117(o&&(a=(e=-1!==o.indexOf("#")?o.substring(o.indexOf("#")+1):"")&&b("#"+e).length?b("#"+e).offset().top-b("#wpadminbar").outerHeight():0),b(".fixed-header-on").length&&"on"!==themeajax.settings.fixed_header_scroll){var n=b(".header>.row").outerHeight()+(parseInt(themeajax.settings.fixed_header_padding.top,10)||0)+(parseInt(themeajax.settings.fixed_header_padding.bottom,10)||0);n&&(a-=n)}e&&a&&(a="footer"===e?"max":a,i.parents(".thb-mobile-menu").length&&C.mobile_toggle.mobileTl.reverse(),b("#"+e).hasClass("vc_tta-panel")||gsap.to(x,{duration:.5,scrollTo:{y:a,autoKill:!1}}),t.preventDefault())}})}},custom_scroll:{selector:".custom_scroll",init:function(){b(this.selector).each(function(){var t=b(this),e=new PerfectScrollbar(t[0],{suppressScrollX:!0});"menu-scroll"===t.attr("id")&&(C.menuscroll=e)})}},shop_toggle:{selector:"#thb-shop-filters",init:function(){var t=b(this.selector),e=b("#side-filters"),a=gsap.timeline({paused:!0,reversed:!0,onStart:function(){h.addClass("open-filters")},onReverseComplete:function(){h.removeClass("open-filters")}}),i=b(".widgets",e),o=b(".thb-mobile-close",e);a.to(e,{duration:.3,x:"0"},"start").to(o,{duration:.3,scale:1},"start+=0.2").from(i,{duration:.4,autoAlpha:0,stagger:.1},.1,"start+=0.2"),t.on("click",function(){return a.reversed()?a.timeScale(1).play():a.timeScale(1.2).reverse(),!1}),c.keyup(function(t){27===t.keyCode&&0<a.progress()&&a.reverse()}),d.add(o).on("click",function(){return 0<a.progress()&&a.reverse(),!1})}},mobile_toggle:{selector:".mobile-toggle-holder",init:function(){var t=b(this.selector),e=gsap.timeline({paused:!0,reversed:!0,onStart:function(){h.addClass("open-menu")},onComplete:function(){C.menuscroll.update()},onReverseComplete:function(){h.removeClass("open-menu")}}),a=b(".thb-mobile-menu>li",p),i=b(".thb-secondary-menu>li",p),o=b(".menu-footer>*",p),n=b(".socials>a",p),s=b(".thb-mobile-close",p),r=themeajax.settings.mobile_menu_animation_speed,l="start+="+r/3*2;r=0===r?.005:r,e.to(p,{duration:r,x:"0"},"start").to(s,{duration:r,scale:1},l).from(a,{duration:r/3*4,autoAlpha:0,stagger:r/3},l).from(i.add(o).add(n),{duration:r,autoAlpha:0,stagger:r/3},l),t.on("click",function(){return e.reversed()?e.timeScale(1).play():e.timeScale(1.2).reverse(),!1}),c.keyup(function(t){27===t.keyCode&&0<e.progress()&&e.reverse()}),d.add(s).on("click",function(){return 0<e.progress()&&e.reverse(),!1})}},search:{selector:".thb-search-holder",init:function(){var t=b(this.selector),e=b(".thb-search-popup"),a=b(".thb-mobile-close",e),i=b(".thb-close-text",e),o=gsap.timeline({paused:!0});o.to(e,{duration:.5,autoAlpha:1},"start").to(a,{duration:.3,scale:1},"start+=0.2"),t.on("click",function(){return o.play(),!1}),i.add(a).on("click",function(){return 0<o.progress()&&o.reverse(),!1}),c.on("keyup",function(t){27===t.keyCode&&0<o.progress()&&o.reverse()})}},autoComplete:{selector:".thb-search-popup",init:function(){var a=b(this.selector),t=b(".search-field",a),e=a.data("security");"on"===themeajax.settings.general_search_ajax&&t.autocomplete({minChars:3,appendTo:b(".thb-autocomplete-wrapper",a),containerClass:"thb-results-container",triggerSelectOnValidInput:!1,serviceUrl:themeajax.url+"?action=thb_ajax_search",tabDisabled:!0,showNoSuggestionNotice:!1,params:{security:e},onSearchStart:function(){b(".thb-autocomplete-wrapper",a).addClass("thb-loading")},formatResult:function(t,e){return'<div class="small-12 columns"><a href="'+t.url+'"><figure class="post-gallery">'+t.thumbnail+'</figure><div class="post-title"><h6>'+t.value+"</h6></div></a></div>"},onSelect:function(t){-1!==t.id&&(y.location.href=t.url)},onSearchComplete:function(t,e){b(".thb-autocomplete-wrapper",a).removeClass("thb-loading"),e.length&&b(".thb-results-container").append(b('<div class="thb-search-btn"><a href="'+themeajax.settings.site_url+"?s="+t+'" class="btn style2 small">'+themeajax.l10n.results_all+"</a></div>"))}})}},pinIt:{selector:".thb-pinit-on",init:function(t){var e=this;b(e.selector).length&&(b("#wrapper").imagesLoaded(function(){e.check(b(".post-detail .post-content-container img:not(.attachment-woocommerce_thumbnail):not(.thb-pinned)"))}),b(".post-detail .post-content-container img:not(.attachment-woocommerce_thumbnail):not(.thb-pinned)").on("lazyloaded",function(){e.check(b(this))}))},check:function(t){t.each(function(){var t=b(this),e="thb-pinned";if(!t.hasClass(e)&&!t.hasClass("attachment-woocommerce_thumbnail")&&100<t.width()&&100<t.height()){var a,i=t.parent(),o=t.parents(".post[data-url]").data("url");
117if(i.is("a")){var n=i.attr("href");void 0!==n&&n.match(/\.(gif|jpeg|jpg|png)/)&&(a=n),i.closest("figure").length||i.wrap('<figure class="thb-pin-it-container"></figure>'),i=i.parent()}else i.is("figure")||i.closest("figure").length||t.wrap('<figure class="thb-pin-it-container"></figure>'),i=t.parent();t.closest("figure").hasClass("thb-pin-it-container")||t.closest("figure").addClass("thb-pin-it-container"),a=a||(t.is("img")?void 0!==t.data("src")?t.data("src"):t.attr("src"):void 0!==i.find("img").data("src")?i.find("img").data("src"):i.find("img").attr("src"));var s=i;i.is("figure")||(s=i.closest("figure"));var r=s.find(".wp-caption-text").text()?s.find(".wp-caption-text").text():s.find("img").attr("alt"),l="";r&&(l="&description="+encodeURIComponent(r));["alignnone","aligncenter","alignleft","alignright"].forEach(function(t){if(i.find("img").hasClass(t)){i.find("img").removeClass(t),i.find("img").closest("figure").addClass(t);var e=i.find("img").attr("width");"NaN"!==parseInt(e)&&i.find("img").closest("figure").width(e)}}),b('<a class="thb-pin-it" href="https://pinterest.com/pin/create/bookmarklet/?url='+encodeURIComponent(o)+"&media="+encodeURIComponent(a)+l+'&is_video=false" target="_blank"><i class="thb-icon-pinterest"></i>'+themeajax.l10n.pinit+"</a>").appendTo(i).addClass("thb-pin-it-ready").on("click",function(){var t=screen.width/2-320,e=screen.height/2-220-100;return y.open(b(this).attr("href"),"mywin","left="+t+",top="+e+",width=640,height=440,toolbar=0"),!1}),t.addClass(e)}})}},slick:{selector:".thb-carousel",init:function(t){(t||b(this.selector)).each(function(){var s=b(this),t=s.data("columns")?s.data("columns"):3,e=2<t.length?parseInt(t.substr(t.length-1)):t,a=s.find(".columns"),i=2<t.length?5===e?5:12/e:t,o=!!s.data("fade"),n=!0===s.data("navigation"),r=!0===s.data("autoplay"),l=!0===s.data("pagination"),c=!!s.data("center")&&(!!(a.length>i&&i%2)&&s.data("center")),d=!1!==s.data("infinite"),h=s.data("autoplay-speed")?s.data("autoplay-speed"):4e3,p=!!s.data("disablepadding")&&s.data("disablepadding"),u=!0===s.data("vertical"),f=s.data("asnavfor"),g=!0===s.data("adaptive"),m=w.hasClass("rtl");s.hasClass("slick-initialized")||s.hasClass("bottom-arrows")&&s.append('<div class="slick-bottom-arrows"><div class="slick-dots-wrapper"></div></div>'),(s.hasClass("overflow-visible-only")||s.hasClass("overflow-visible"))&&s.parents(".wpb_row:not(.vc_inner)").css("overflow","hidden");var v={dots:l,arrows:n,infinite:d,speed:1e3,rows:0,fade:o,centerPadding:"10%",centerMode:c,slidesToShow:i,adaptiveHeight:g,slidesToScroll:1,rtl:m,slide:":not(.slick-dots-wrapper):not(.slick-bottom-arrows):not(.post-gallery):not(.btn)",cssEase:"cubic-bezier(0.35, 0.3, 0.2, 0.85)",autoplay:r,autoplaySpeed:h,touchThreshold:themeajax.settings.touch_threshold,pauseOnHover:!0,accessibility:!1,focusOnSelect:!0,customPaging:function(t,e){return s.hasClass("text-pagination")?e+1+' <span class="slick-of">'+themeajax.l10n.just_of+" "+t.$slides.length+"</span>":b('<button type="button">'+(e+1)+themeajax.svg.pagination+"</button>")},prevArrow:'<button type="button" class="slick-nav slick-prev">'+themeajax.svg.prev_arrow+"</button>",nextArrow:'<button type="button" class="slick-nav slick-next">'+themeajax.svg.next_arrow+"</button>",responsive:[{breakpoint:1441,settings:{slidesToShow:i<6?i:u?i-1:6,centerPadding:p?0:"40px"}},{breakpoint:1201,settings:{slidesToShow:i<4?i:u?i-1:4,centerPadding:p?0:"40px"}},{breakpoint:1025,settings:{slidesToShow:i<3?i:u?i-1:3,centerPadding:p?0:"40px"}},{breakpoint:641,settings:{slidesToShow:1}}]};s.hasClass("thb-post-carousel-style3")&&(v.variableWidth=!0,v.responsive=!1),s.hasClass("bottom-arrows")&&(v.appendArrows=s.find(".slick-bottom-arrows"),v.appendDots=s.find(".slick-bottom-arrows>.slick-dots-wrapper")),f&&b(f).is(":visible")&&(v.asNavFor=f),s.data("fade")&&(v.fade=!0),s.hasClass("thb-background-hover")&&(s.on("init",function(t,e){var a=s.parents(".thb-post-background").find(".post-background-gallery .wp-post-image");e.$slides.on("hover",function(){var t=b(this).data("slick-index"),e=a.eq(t);gsap.to(a.not(e),{duration:.5,autoAlpha:0}),e&&gsap.to(e,{duration:.5,autoAlpha:.8})})}),s.on("beforeChange",function(t,e,a,i){var o=s.parents(".thb-post-background").find(".post-background-gallery .wp-post-image"),n=o.eq(i);gsap.to(o.not(n),{duration:.5,autoAlpha:0}),n&&gsap.to(n,{duration:.5,autoAlpha:.8})})),s.hasClass("product-images")&&"undefined"!=typeof wc_single_product_params&&y.wc_single_product_params.zoom_enabled&&b.fn.zoom&&s.on("afterChange",function(t,e,a){var i=e.$slides.eq(a),o=i.width(),n=!1;if(i.find("img").data("large_image_width")>o&&(n=!0),n){var s=b.extend({touch:!1},y.wc_single_product_params.zoom_options);"ontouchstart"in y&&(s.on="click"),i.trigger("zoom.destroy"),i.zoom(s),i.trigger("mouseenter.zoom")}}),s.hasClass("product-thumbnails")&&(v.vertical=!0,v.responsive[2].settings.vertical=!1,v.responsive[2].settings.slidesToShow=4,v.responsive[3].settings.vertical=!1,v.responsive[3].settings.slidesToShow=4),s.hasClass("products")&&(v.responsive[3].settings.slidesToShow=2),c&&s.on("init",function(){s.addClass("centered")}),s.on("init breakpoint",function(t,e){s.hasClass("bottom-arrows")&&s.hasClass("has-carousel-button")&&s.find(".btn").appendTo(s.find(".slick-dots-wrapper")),lazySizes&&lazySizes.loader.checkElems(),x.trigger("scroll.thb-animation")}),s.on("breakpoint",function(t,e,a){e.$slides.data("thb-animated",!1),x.trigger("scroll.thb-animation")}),s.on("beforeChange",function(t,e,a,i){var o=e.$slides.eq(i);o.find(".post-gallery.thb-parallax")&&w.hasClass("thb-parallax-on")&&o.find(".has-post-thumbnail .post-gallery.thb-parallax .wp-post-image").length&&o.find(".has-post-thumbnail .post-gallery.thb-parallax").jarallax("onScroll")}),s.on("afterChange",function(t,e,a){e.$slides&&x.trigger("scroll.thb-animation"),lazySizes&&lazySizes.loader.checkElems()}),s.slick(v)})}},fixedMe:{selector:".thb-sticky-separator",init:function(t){var e=t||b(this.selector),a=o.outerHeight();i.outerHeight();e.each(function(){var t=b(this);t.parents();if(t.hasClass("thb-sticky-separator")&&!t.data("fixed-enabled")){t.nextAll().wrapAll('<div class="thb-fixed" />').parents(".thb-fixed:not(.thb-sticky-separator)");t.remove(),t.data("fixed-enabled",!0)}})}},trendingTabs:{selector:".thb-trending",init:function(){b(this.selector).each(function(){var t=b(this),a=t.data("security"),i=b(".thb-trending-content",t),o=b(".thb-trending-content-inner",t),n=b(".thb-trending-tabs a",t);if(t.hasClass("disabled"))return!1;n.on("click",function(){var t=b(this),e=t.data("time");if(t.hasClass("active"))return!1;b.ajax(themeajax.url,{method:"POST",data:{action:"thb_trending",security:a,time:e},beforeSend:function(){i.addClass("thb-loading"),n.removeClass("active"),t.addClass("active")},success:function(t){i.removeClass("thb-loading");var e=b.parseHTML(b.trim(t));e.length;o.empty().append(e),gsap.set(e,{autoAlpha:0}),gsap.to(e,{duration:.25,autoAlpha:1,stagger:.1})}})})})}},select2:{selector:'.thb-select2, select.orderby, .widget [name="archive-dropdown"], .widget_categories #cat',init:function(){b(this.selector).select2()}},searchFields:{selector:".search-fields select",init:function(){b(this.selector).on("change",function(){var t=b(this).val();return t&&(y.location=t),!1})}},accordion:{selector:".thb-accordion",init:function(){b(this.selector).each(function(){var t=b(this),a=t.hasClass("has-accordion"),i=t.find(".vc_tta-panel"),e=i.eq(0);a&&e.addClass("active").find(".vc_tta-panel-body").show(),t.on("click",".vc_tta-panel-heading a",function(){var e=b(this),t=e.parents(".vc_tta-panel");return a&&(i.removeClass("active"),i.not(t).find(".vc_tta-panel-body").slide
117Up("400")),b(this).parents(".vc_tta-panel").toggleClass("active"),t.find(".vc_tta-panel-body").slideToggle("400",function(){if(a){var t=e.parents(".vc_tta-panel-heading").offset().top-b("#wpadminbar").outerHeight();gsap.to(x,{duration:.5,scrollTo:{y:t,autoKill:!1}})}_.delay(function(){x.trigger("scroll.thb-animation")},400)}),!1})})}},freeScroll:{selector:".thb-freescroll",init:function(){b(this.selector).each(function(){var e=b(this),t=e.data("direction"),a=e.data("pause");e.flickity({prevNextButtons:!1,wrapAround:!0,pageDots:!1,freeScroll:!0,adaptiveHeight:!0,imagesLoaded:!0});var i=e.data("flickity");function o(){"thb-left-to-right"===t?i.x++:i.x--,i.integratePhysics(),i.settle(i.x),i.paused||(i.raf=y.requestAnimationFrame(o))}i.paused=!0,a&&e.on("mouseenter",function(){n.mobile()||n.tablet()||(i.paused=!0)}).on("mouseleave",function(){n.mobile()||n.tablet()||(i.paused=!1,o())}),x.on("scroll.flkty",function(t){e.is(":in-viewport")?i.paused&&(i.paused=!1,o()):i.paused=!0}).trigger("scroll.flkty"),e.find("img").on("lazyloaded",function(){e.flickity("resize")}),e.find("img").on("imagesLoaded",function(){e.flickity("resize")})})}},countdown:{selector:".thb-countdown",init:function(){b(this.selector).each(function(){var t=b(this),e=t.data("date"),a=t.attr("offset");t.downCount({date:e,offset:a})})}},tabs:{selector:".thb-tabs",init:function(){b(this.selector).each(function(){var n=b(this),s=(n.hasClass("has-accordion"),n.data("animation")),t=n.data("active-section")?n.data("active-section"):1,r=n.find(".vc_tta-panel"),l=(r.eq(0),b('<div class="thb-tab-menu" />').prependTo(n));r.each(function(){b(this).find(".vc_tta-panel-heading").appendTo(l)}),b(".vc_tta-panel-heading",l).eq(0).find("a").addClass("active"),r.eq(0).addClass("visible"),x.on("resize.tabs",function(){var t=r.filter(":visible").height()+l.outerHeight(!0);n.css("height",t)}).trigger("resize.tabs"),b(this).on("click",".vc_tta-panel-heading a",function(t){var e=b(this),a=s?"300":0,i=(parseInt(a),e.parents(".vc_tta-panel-heading").index()),o=r.eq(i);return r.not(o).fadeOut(a,function(){n.height();var t=o.height()+l.outerHeight(!0);o.fadeIn(a,function(){x.trigger("scroll.thb-animation"),o.find(".thb-carousel")&&o.find(".thb-carousel").slick("setPosition"),o.find(".thb-masonry")&&(o.find(".thb-masonry").isotope("layout"),x.trigger("resize")),o.find(".thb-post-grid")&&o.find(".thb-post-grid").imagesLoaded(function(){x.trigger("resize.tabs")})}),n.css({height:t})}),n.find(".vc_tta-panel-heading a").removeClass("active"),e.addClass("active"),!1}),1<t&&(n.find(".vc_tta-panel-heading a").removeClass("active"),n.find(".vc_tta-panel-heading").eq(t-1).find("a").addClass("active"),n.find(".vc_tta-panel").removeClass("visible"),n.find(".vc_tta-panel").eq(t-1).addClass("visible"))})}},shareArticleDetail:{selector:".social-button-holder, .thb-tweet-actions, .thb-post-bottom",init:function(){b(this.selector).find(".social:not(.whatsapp), .post-social-share:not(.whatsapp)").on("click",function(){var t=screen.width/2-320,e=screen.height/2-220-100;return y.open(b(this).attr("href"),"mywin","left="+t+",top="+e+",width=640,height=440,toolbar=0"),!1})}},isotope:{selector:".thb-masonry",init:function(){b(this.selector).each(function(t){var i,o,e=b(this),a=(e.find(".columns"),e.data("thb-animation")),n={layoutMode:"packery",percentPosition:!0,itemSelector:".columns",transitionDuration:0,originLeft:!w.hasClass("rtl"),hiddenStyle:{},visibleStyle:{}},s=.5,r=s/5;e.data("grid_type");(o="thb-fade"===a?{opacity:1}:"thb-scale"===a?{opacity:1,scale:1}:"thb-none"===a?(r=s=0,{opacity:1}):"thb-vertical-flip"===a?{opacity:1,y:0,rotationX:"0deg"}:"thb-reveal-left"===a?(.5,r=.3,{opacity:s=1}):{y:0,opacity:1}).duration=s,o.stagger=r,e.addClass("thb-loaded"),e.on("layoutComplete",function(t,e){var a=_.map(e,"element");x.on("scroll.masonry-animation",_.debounce(function(){if(i=b(a).filter(":in-viewport").filter(function(){return void 0===b(this).data("thb-in-viewport")})){var t=i;i.data("thb-in-viewport",!0),i.find(".post").length&&gsap.to(i.find(".post"),o,function(){t.addClass("thb-added"),t.data("thb-in-viewport",!0),!1})}},20)).trigger("scroll.masonry-animation")}).isotope(n).isotope("layout"),e.imagesLoaded(function(){e.isotope("layout")})})}},comments:{selector:"#comment-toggle",init:function(){b(this.selector).on("click",function(){return b(this).parents("#comments").find(".comments-container").slideToggle("400",function(){x.trigger("resize.sticky-resize")}),!1})}},plyr:{selector:".flex-video, .wp-video video",init:function(){var t=b(this.selector),e=themeajax.settings.thb_custom_video_player,a=themeajax.settings.viai_publisher_id,i={playsinline:!0,hideControls:!1,clickToPlay:!0,fullscreen:{enabled:!0,fallback:!0,iosNative:!0}};a&&""!==a&&(i.ads={enabled:!0,publisherId:a}),"on"===e&&t.each(function(){new Plyr(b(this),i)})}},videoPlaylist:{selector:".thb-video-playlist",init:function(){var e=b(this.selector);e.each(function(){var t=b(this),a=t.find(".thb-video-holder"),i=t.find(".thumbnail-style6"),o=t.data("security");i.eq(0).addClass("video-active"),e.on("click",".thumbnail-style6",function(){var t=b(this),e=t.data("id");return t.hasClass("video-active")||(i.removeClass("video-active"),t.addClass("video-active"),a.addClass("thb-loading"),b.post(themeajax.url,{security:o,action:"thb-parse-embed",post_ID:e},function(t){t.success&&(a.html(t.data.body),y.FB&&FB.XFBML.parse(),C.plyr.init(
117)),a.removeClass("thb-loading")})),!1})})}},jarallax:{selector:".thb-parallax-on .thb-parallax",init:function(t){(t||b(this.selector)).each(function(){var t=b(this),e={speed:.8,imgElement:".wp-post-image"};t.parents(".post").hasClass("format-video")&&(e.videoSrc=t.data("video")),t.jarallax(e)})}},magnificInline:{selector:".mfp-inline",init:function(){var t=b(this.selector);t.magnificPopup({type:"inline",tLoading:themeajax.l10n.lightbox_loading,mainClass:"mfp-zoom-in",fixedBgPos:!0,fixedContentPos:!0,removalDelay:400,closeBtnInside:!0,closeMarkup:'<button title="%title%" class="mfp-close"><span>'+themeajax.svg.close_arrow+"</span></button>",callbacks:{close:function(){t.hasClass("newsletter-popup")&&Cookies.set("newsletter_popup","1",{expires:parseInt(themeajax.settings.newsletter_length,10)})}}})}},vcMediaGrid:{selector:".vc_grid-container",init:function(){b(this.selector);x.on("grid:items:added",function(t,e){b(e).data("vc-grid-settings");b(e).find(".mfp-image").length&&b(e).addClass("mfp-gallery"),C.magnificGallery.init(b(e))})}},magnificGallery:{selector:".mfp-gallery, .post-content .gallery, .post-content .wp-block-gallery",init:function(t){(t||b(this.selector)).each(function(){var t=b(this),e='a:not(.thb-pin-it)[href$=".png"],a:not(.thb-pin-it)[href$=".jpg"],a:not(.thb-pin-it)[href$=".jpeg"],a:not(.thb-pin-it)[href$=".gif"]';t.hasClass("vc_grid-container")&&(e="a.mfp-image"),t.magnificPopup({delegate:e,type:"image",tLoading:themeajax.l10n.lightbox_loading,mainClass:"mfp-zoom-in",removalDelay:400,fixedContentPos:!0,closeBtnInside:!1,closeMarkup:'<button title="%title%" class="mfp-close"><span>'+themeajax.svg.close_arrow+"</span></button>",gallery:{enabled:!0,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir% mfp-prevent-close">'+themeajax.svg.prev_arrow+"</button>",tCounter:'<span class="mfp-counter">'+themeajax.l10n.of+"</span>"},image:{verticalFit:!0,titleSrc:function(t){return t.img.attr("alt")}},callbacks:{imageLoadComplete:function(){var t=this;_.delay(function(){t.wrap.addClass("mfp-image-loaded")},10)},beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")},open:function(){b.magnificPopup.instance.next=function(){var t=this;t.wrap.removeClass("mfp-image-loaded"),setTimeout(function(){b.magnificPopup.proto.next.call(t)},125)},b.magnificPopup.instance.prev=function(){var t=this;this.wrap.removeClass("mfp-image-loaded"),setTimeout(function(){b.magnificPopup.proto.prev.call(t)},125)}}}})})}},magnificImage:{selector:".mfp-image",init:function(){var t=b(this.selector),a=[],i=[],o={type:"image",mainClass:"mfp-zoom-in",tLoading:themeajax.l10n.lightbox_loading,removalDelay:400,fixedContentPos:!0,closeBtnInside:!1,closeMarkup:'<button title="%title%" class="mfp-close"><span>'+themeajax.svg.close_arrow+"</span></button>",callbacks:{imageLoadComplete:function(){var t=this;_.delay(function(){t.wrap.addClass("mfp-image-loaded")},10)},beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")}}},n={type:"image",tLoading:themeajax.l10n.lightbox_loading,mainClass:"mfp-zoom-in",removalDelay:400,fixedContentPos:!0,gallery:{enabled:!0,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir% mfp-prevent-close">'+themeajax.svg.prev_arrow+"</button>",tCounter:'<span class="mfp-counter">'+themeajax.l10n.of+"</span>"},image:{verticalFit:!0,titleSrc:function(t){return t.img.attr("alt")}},callbacks:{imageLoadComplete:function(){var t=this;_.delay(function(){t.wrap.addClass("mfp-image-loaded")},10)},beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")},open:function(){b.magnificPopup.instance.next=function(){var t=this;t.wrap.removeClass("mfp-image-loaded"),setTimeout(function(){b.magnificPopup.proto.next.call(t)},125)},b.magnificPopup.instance.prev=function(){var t=this;this.wrap.removeClass("mfp-image-loaded"),setTimeout(function(){b.magnificPopup.proto.prev.call(t)},125)}}}};t.each(function(){var t=b(this),e=t.data("thb-group");t.parents(".blocks-gallery-item").length||(e&&""!==e?i.push(e):t.magnificPopup(o))});var e=_.uniq(i);b.each(e,function(t,e){a.push(b('.mfp-image[data-thb-group="'+e+'"]'))}),e.length&&b.each(a,function(t,e){e.magnificPopup(n)})}},magnificVideo:{selector:".mfp-video",init:function(){b(this.selector).magnificPopup({type:"iframe",t
117Loading:themeajax.l10n.lightbox_loading,closeBtnInside:!1,closeMarkup:'<button title="%title%" class="mfp-close"><span>'+themeajax.svg.close_arrow+"</span></button>",mainClass:"mfp-zoom-in",removalDelay:400,fixedContentPos:!1})}},lightboxGallery:{selector:".thb-lightbox-button",init:function(){b(this.selector).each(function(){var t=b(this),i=[],e=b(t.data("href")),o=b(".post-gallery-content",e),n=o.eq(0).find(".thb-gallery-grid");t.data("click-attached")||(t.data("click-attached",!0),o.each(function(t){var e=b(this),a=b(".lightbox-grid",e);0<t&&n.clone().appendTo(e.find(".image")),i.push({src:b(this)}),a.on("click",function(){e.find(".image").toggleClass("gridActive")})}),t.on("click",function(){return b.magnificPopup.open({mainClass:"mfp-zoom-in post-gallery-lightbox",closeBtnInside:!0,items:i,removalDelay:400,overflowY:"hidden",tLoading:themeajax.l10n.lightbox_loading,gallery:{enabled:!0,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir% mfp-prevent-close">'+themeajax.svg.prev_arrow+"</button>",tCounter:'<span class="mfp-counter">'+themeajax.l10n.of+"</span>"},closeMarkup:'<button title="%title%" class="mfp-close">'+themeajax.svg.close_arrow+"</button>",callbacks:{imageLoadComplete:function(){var t=this;_.delay(function(){t.wrap.addClass("mfp-image-loaded")},10)},beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")},open:function(){var t=b.magnificPopup.instance;b(".lightbox-close").on("click",function(){return t.close(),!1}),b(".thb-gallery-arrow.prev").on("click",function(){return t.prev(),!1}),b(".thb-gallery-arrow.next").on("click",function(){return t.next(),!1}),t.next=function(){this.wrap.removeClass("mfp-image-loaded"),b.magnificPopup.proto.next.call(this)},t.prev=function(){this.wrap.removeClass("mfp-image-loaded"),b.magnificPopup.proto.prev.call(this)}},close:function(){o.find(".image").removeClass("gridActive"),b(".thb-gallery-arrow.prev").off("click"),b(".thb-gallery-arrow.next").off("click")},change:function(){var a=b.magnificPopup.instance;this.content.find(".thb-grid-image").filter(function(){return void 0===b(this).data("thb-assigned")}).on("click",function(){var t=b(this),e=t.parent().index();return a.goTo(e),t.data("thb-assigned",!0),!1}),setTimeout(function(){o.find(".image").removeClass("gridActive")},125)}}}),!1}))})}},verticalGalleries:{selector:".smart-list-v3",init:function(){b(this.selector).each(function(){var e=b(this),o=b(".smart-list-item",e),n=o.length;o.each(function(){var t=b(this),e=b(".arrow.to_top:not(.disabled)",t),a=b(".arrow.to_bottom:not(.disabled)",t),i=o.index(t);e.on("click",function(){if(0<i){var t=o.eq(i-1).offset().top-b("#wpadminbar").outerHeight()-b(".header.fixed").outerHeight()-20;gsap.to(x,{duration:.5,scrollTo:{y:t,autoKill:!1}})}return!1}),a.on("click",function(){if(i<n){var t=o.eq(i+1).offset().top-b("#wpadminbar").outerHeight()-b(".header.fixed").outerHeight()-20;gsap.to(x,{duration:.5,scrollTo:{y:t,autoKill:!1}})}return!1})}),c.keyup(function(t){40===t.keyCode?b(".smart-list-item:in-viewport",e).last().find(".arrow.to_bottom").trigger("click"):38===t.keyCode&&b(".smart-list-item:in-viewport",e).last().find(".arrow.to_top").trigger("click")})})}},reactions:{selector:".thb-article-reactions",init:function(){b(this.selector).each(function(){var t=b(this),e=b(".thb-reaction",t),o=t.data("post-id"),n="thb-reactions-"+o;t.data("thb-initialized")||(t.data("thb-initialized",!0),e.on("click",function(){var a=b(this),t=a.hasClass("active"),i=a.data("slug");return a.hasClass("thb-reaction-loading")||b.ajax(themeajax.url,{method:"POST",data:{action:"thb_save_post_reactions",post_id:o,reaction:i,is_active:t},beforeSend:function(){a.addClass("thb-reaction-loading")},success:function(t){a.toggleClass("active"),a.removeClass("thb-reaction-loading");var e=JSON.parse(t);a.find(".thb-reaction-count").html(e[i]),Cookies.set(n,e,{expires:30})}}),!1}))})}},articleScroll:{selector:"#infinite-article",pagetitle:b("#page-title"),org_post_url:y.location.href,org_post_title:document.title,org_shares:!1,top:0,init:function(){var e=this,h=b(e.selector),t=h.data("security"),a=h.data("infinite"),i=h.find(".post-detail:first-child"),p=(i.find(".thb-social-fixed"),i.data("id")),u=p,f=!1,o=b(".footer").outerHeight()+b(".
117subfooter").outerHeight(),n=themeajax.settings.infinite_count,s=b('<div class="thb-preloader">'+themeajax.svg.preloader+"</div>"),g=0,r=_.debounce(function(){e.location_change()},10),l=_.debounce(function(){(!n||g<parseInt(n,10))&&x.scrollTop()>=c.height()-x.height()-o-400&&!1===f&&p===u&&(h.addClass("thb-loading"),b.ajax(themeajax.url,{method:"POST",data:{security:t,action:"thb_infinite_ajax",post_id:u},beforeSend:function(){f=!(p=null),s.appendTo(h)},success:function(t){g++,f=!1;var e,a,i,o,n,s=b.parseHTML(t),r=b(s).find(".adsbygoogle"),l=b(s).find(".twitter-tweet, .twitter-timeline"),c=b(s).find(".instagram-media");if(h.removeClass("thb-loading"),h.find(".thb-preloader").remove(),s){if(p=b(s).find(".post-detail").data("id"),u=p,b(s).appendTo(h),C.shareArticleDetail.init(),C.fixedMe.init(),C.jarallax.init(),C.slick.init(),C.magnificImage.init(),C.magnificGallery.init(),C.magnificVideo.init(),C.lightboxGallery.init(),C.verticalGalleries.init(),C.newsletter.init(),C.reactions.init(),C.animation.init(),C.pinIt.init(),C.retinaJS.init(),C.plyr.init(),void 0!==y.instgrm)y.instgrm.Embeds.process();else if(c.length&&void 0===y.instgrm){var d=document.createElement("script");d.src="//platform.instagram.com/en_US/embeds.js",d.onload=function(){y.instgrm.Embeds.process()},w.append(d)}void 0!==y.twttr?twttr.widgets.load(document.getElementById("infinite-article")):l.length&&void 0===y.twttr&&(y.twttr=(e=document,a="twitter-wjs",o=e.getElementsByTagName("script")[0],n=y.twttr||{},e.getElementById(a)||((i=e.createElement("script")).id=a,i.src="https://platform.twitter.com/widgets.js",o.parentNode.insertBefore(i,o),n._e=[],n.ready=function(t){n._e.push(t)}),n)),void 0!==y.addthis&&addthis.toolbox(),void 0!==y.atnt&&y.atnt(),void 0!==y.googletag&&googletag.pubads().refresh(),void 0!==y.adsbygoogle&&r.length&&r.each(function(){(adsbygoogle=y.adsbygoogle||[]).push({})}),void 0!==y.FB&&FB.init({status:!0,cookie:!0,xfbml:!0,version:"v2.8"}),b(document.body).trigger("thb_after_infinite_load")}else p=null;x.trigger("resize.sticky-resize")}}))},50);"on"===a?(x.on("scroll.infinite",r),x.on("scroll.infinite",l),gsap.set(b(".indicator-fill",".header.fixed"),{drawSVG:"0% 0%"}),b(".thb-reading-indicator",".header.fixed").on("click",function(){if(b(".fixed-header-on").length&&"on"!==themeajax.settings.fixed_header_scroll){var t=b(".header.fixed-article>.row").outerHeight()+(parseInt(themeajax.settings.fixed_header_padding.top,10)||0)+(parseInt(themeajax.settings.fixed_header_padding.bottom,10)||0);t&&(e.top-=t)}return gsap.to(x,2,{duration:2,scrollTo:{y:e.top,autoKill:!1}}),!1})):x.on("scroll.infinite",function(){e.borderWidth(b(".post-detail-row").offset().top,b(".post-detail-row").outerHeight(!0))})},location_change:function(){var t,e,a,i=this,c=(b(i.selector),x.scrollTop()),d=c+x.height(),h=[];if(b(".post-detail-row").each(function(){var t,e=b(this),a=e.find(".post-detail"),i=a.data("id"),o=e.offset().top,n=e.outerHeight(!0),s=a.data("url"),r=a.find(".post-title h1").text(),l=e.find(".thb-social-fixed");t=o+n,o<c&&d<t?h.push({id:i,top:o,bottom:t,post_url:s,post_title:r,alength:n,shares:l}):c<o&&o<d?h.push({id:i,top:o,bottom:t,post_url:s,post_title:r,alength:n,shares:l}):c<t&&t<d&&h.push({id:i,top:o,bottom:t,post_url:s,post_title:r,alength:n,shares:l})}),0===h.length)e=i.org_post_url,t=i.org_post_title,a=i.org_shares;else if(1===h.length){var o=h.pop();e=o.post_url,t=o.post_title,a=o.shares,i.borderWidth(o.top,o.alength)}else e=h[0].post_url,t=h[0].post_title,a=h[0].shares,i.borderWidth(h[0].top,h[0].alength);i.updateURL(e,t,a)},updateURL:function(t,e,a){y.location.href!==t&&(""!==t&&(history.replaceState(null,null,t),document.title=e,this.pagetitle.html(e),a&&(b(".header.fixed").find(".fixed-article-shares").empty().append(a.clone()),C.shareArticleDetail.init())),b(document.body).trigger("thb_after_location_change"),this.updateGA(t))},updateGA:function(t){if("undefined"!=typeof _gaq)_gaq.push(["_trackPageview",t]);else if("undefined"!=typeof ga){var e=/.+?\:\/\/.+?(\/.+?)(?:#|\?|$)/.exec(t)[1];ga("send","pageview",e)}void 0!==y.reinvigorate&&void 0!==y.reinvigorate.ajax_track&&reinvigorate.ajax_track(t),"undefined"!=typeof googletag&&googletag.pubads().refresh()},borderWidth:function(t,e){var a=x.scrollTop(),i=(b(".footer").outerHeight(),b(".subfooter").outerHeight(),(a-t+b("#
117wpadminbar").outerHeight())/e);this.top=t+e,gsap.set(b(".indicator-fill",".header.fixed"),{drawSVG:"0% "+100*i+"%"})}},retinaJS:{selector:"img.retina_size:not(.retina_active)",init:function(){b(this.selector).each(function(){b(this).attr("width",function(){return b(this).attr("width")/2}).addClass("retina_active")})}},paginationStyle2:{selector:".pagination-style2",init:function(){b(this.selector).each(function(){var n=b(this),t=n.data("security"),e=b(n.data("loadmore")),a=n.data("rand"),i=(e.text(),"thb_postajax_"+a),s=y[i].loop,r=y[i].style,l=y[i].columns,c=y[i].excerpts,d=y[i].count,h=y[i].featured_index,p=y[i].thb_i,u=2,f=!1,g=n.hasClass("thb-masonry")?"thb_masonry_posts":"thb_posts";e.on("click",function(){var i=b(this),o=i.text();return!1===f&&(i.html(themeajax.l10n.loading).addClass("loading"),b.ajax(themeajax.url,{method:"POST",data:{action:g,security:t,count:d,loop:s,columns:l,style:r,excerpts:c,featured_index:h,thb_i:p,page:u++},beforeSend:function(){f=!0},success:function(t){var e=b.parseHTML(b.trim(t)),a=e?e.length:0;""===t||"undefined"===t||"No More Posts"===t||"No $args array created"===t?i.html(themeajax.l10n.nomore).removeClass("loading").off("click"):(n.data("isotope")?(b(e).appendTo(n).hide(),n.isotope("appended",b(e)),b(e).imagesLoaded(function(){n.isotope("layout"),gsap.fromTo(b(e),{autoAlpha:0,y:20},{duration:.5,autoAlpha:1,y:0,stagger:.15,onComplete:function(){f=!1}})})):(b(e).insertBefore(i.parents(".masonry_loader")),gsap.fromTo(b(e),{autoAlpha:0,y:20},{duration:.5,autoAlpha:1,y:0,stagger:.15,onComplete:function(){f=!1}})),C.jarallax.init(),x.trigger("resize.sticky-resize"),b(e).imagesLoaded(function(){x.trigger("resize.sticky-resize")}),n.parents(".vc_tta-panel-body")&&x.trigger("resize.tabs"),a<d?i.html(themeajax.l10n.nomore).removeClass("loading"):i.html(o).removeClass("loading"))}})),!1})})}},paginationStyle3:{selector:".pagination-style3",init:function(){var v=b(this.selector);v.each(function(){var i=b(this),t=i.data("security"),e=b(i.data("loadmore")),a=i.data("rand"),o=(e.text(),"thb_postajax_"+a),n=y[o].loop,s=y[o].style,r=y[o].columns,l=y[o].excerpts,c=y[o].count,d=y[o].featured_index,h=y[o].thb_i,p=2,u=!1,f=i.hasClass("thb-masonry")?"thb_masonry_posts":"thb_posts",g=b('<div class="thb-preloader">'+themeajax.svg.preloader+"</div>"),m=_.debounce(function(){!1===u&&x.scrollTop()+x.height()+150>=v.offset().top+v.outerHeight()&&b.ajax(themeajax.url,{method:"POST",data:{action:f,security:t,count:c,loop:n,columns:r,style:s,excerpts:l,featured_index:d,thb_i:h,page:p++},beforeSend:function(){u=!0,g.appendTo(v)},success:function(t){var e=b.parseHTML(b.trim(t)),a=e?e.length:0;""===t||"undefined"===t||"No More Posts"===t||"No $args array created"===t?x.off("scroll",m):(i.find(".thb-preloader").remove(),i.data("isotope")?(b(e).appendTo(i).hide(),i.isotope("appended",b(e)),b(e).imagesLoaded(function(){i.isotope("layout"),gsap.fromTo(b(e),{autoAlpha:0,y:20},{duration:.5,autoAlpha:1,y:0,stagger:.15,onComplete:function(){u=!1}})})):(b(e).appendTo(i),gsap.fromTo(b(e),{autoAlpha:0,y:20},{duration:.5,autoAlpha:1,y:0,stagger:.15,onComplete:function(){u=!1}})),C.jarallax.init(),x.trigger("resize.sticky-resize"),b(e).imagesLoaded(function(){x.trigger("resize.sticky-resize")}),c<=a&&x.on("scroll",m))}})},30);x.on("scroll",m)})}},animation:{selector:".animation, .thb-counter, .thb-iconbox, .thb-fadetype, .thb-sl
117idetype, .thb-progressbar, .thb-autotype",init:function(){var t=this,e=b(t.selector);x.on("scroll.thb-animation",function(){t.control(e,!0)}).trigger("scroll.thb-animation")},container:function(t){var e=b(this.selector,t);this.control(e,!1)},control:function(t,e){var a=0,i=.15,o=.5;(e?t.filter(":in-viewport"):t).each(function(){var t=b(this),e={autoAlpha:1,x:0,y:0,z:0,rotationZ:"0deg",rotationX:"0deg",rotationY:"0deg",delay:a*i};i=t.hasClass("thb-client")||t.hasClass("thb-counter")||t.hasClass("thb-iconlist-li")?(o=.2,.05):t.hasClass("thb-team-member")?(o=.4,.1):(o=.5,.15),!0!==t.data("thb-animated")&&(t.data("thb-animated",!0),t.hasClass("thb-iconbox")?C.iconbox.control(t,a*i):t.hasClass("thb-counter")?C.counter.control(t,a*i):t.hasClass("portfolio-title")?C.portfolioTitle.control(t,a*i):t.hasClass("thb-autotype")?C.autoType.control(t,a*i):t.hasClass("thb-fadetype")?C.fadeType.control(t,a*i):t.hasClass("thb-slidetype")?C.slideType.control(t,a*i):t.hasClass("thb-progressbar")?C.progressBar.control(t,a*i):(t.hasClass("scale")&&(e.scale=1),e.duration=o,gsap.to(t,e)),a++)})}},perspective:{selector:".perspective-enabled",init:function(){var i=b(this.selector),o=x.scrollTop();requestAnimationFrame(function t(){var e=x.scrollTop(),a=e+x.height()+"px";o!==e&&(gsap.set(i,{"perspective-origin":"50% "+a}),o=e),requestAnimationFrame(t)})}},autoType:{selector:".thb-autotype",control:function(t,e,a){if(void 0===t.data("thb-in-viewport")||a){t.data("thb-in-viewport",!0);var i=t.find(".thb-autotype-entry"),o=i.data("strings"),n=i.data("speed")?i.data("speed"):50,s=1===i.data("thb-loop"),r=1===i.data("thb-cursor");i.typed({strings:o,loop:s,showCursor:r,cursorChar:"|",contentType:"html",typeSpeed:n,backDelay:1e3})}}},fadeType:{selector:".thb-fadetype",control:function(t,e,a){if(void 0===t.data("thb-in-viewport")||a){t.data("thb-in-viewport",!0);var i=new SplitText(b(".thb-fadetype-entry",t),{type:"chars"}),o=gsap.timeline({onComplete:function(){i.revert()}}),n={};if(o.set(t,{visibility:"visible"}),t.hasClass("thb-fadetype-style1"))n={duration:.25,autoAlpha:0,y:10,rotationX:"-90deg",delay:e,stagger:.05},o.from(i.chars,n);else if(t.hasClass("thb-fadetype-style2"))for(var s=i.chars.length,r=0;r<s;r++){var l=i.chars[r],c=.5*Math.random();o.from(l,{duration:2,opacity:0,ease:Linear.easeNone},c).from(l,{duration:2,yPercent:-50,ease:Expo.easeOut},c)}}}},progressBar:{selector:".thb-progressbar",control:function(t,e,a){if(void 0===t.data("thb-in-viewport")||a){var i=t.find(".thb-progress"),o=i.data("progress");gsap.timeline().to(t,{duration:.6,autoAlpha:1,delay:e}).to(i.find("span"),{duration:1,scaleX:o/100})}}},slideType:{selector:".thb-slidetype",control:function(t,e,a){if(void 0===t.data("thb-in-viewport")||a){t.data("thb-in-viewport",!0);var i,o,n=t.data("style"),s=gsap.timeline({onComplete:function(){"style1"!==n&&i.revert()}}),r=.25,l=.05;"style1"===n?(o=t.find(".thb-slidetype-entry .lines"),r=.65,l=.15):"style2"===n?(o=(i=new SplitText(t.find(".thb-slidetype-entry"),{type:"words"})).words,r=.65,l=.15):"style3"===n&&(o=(i=new SplitText(t.find(".thb-slidetype-entry"),{type:"chars"})).chars),s.set(t,{visibility:"visible"}).from(o,{duration:r,y:"200%",delay:e,stagger:l},"+=0")}}},counter:{selector:".thb-counter",control:function(t,e){if(void 0===t.data("thb-in-viewport")){t.data("thb-in-viewport",!0);var a=t,i=a.find(".h1:not(.counter-text), .counter:not(.counter-text)").eq(0),o=i[0],n=i.data("count"),s=i.data("speed"),r=a.data("separator"),l={el:o,value:0,duration:s,theme:"minimal"};a.hasClass("single-decimal")?l.format="(,ddd).d":r&&""!==r||(l.format="");var c=new Odometer(l);gsap.set(a,{visibility:"visible"}),setTimeout(function(){c.update(n)},e)}}},iconbox:{selector:".thb-iconbox",control:function(t,e){if(void 0===t.data("thb-in-viewport")&&!t.hasClass("animation-off")){t.data("thb-in-viewport",!0);var a=t,i=""!==a.data("animation_speed")?a.data("animation_speed"):1.5,o=a.find("svg"),n=a.find("img:not(.thb_image_hover)"),s=o.find("path, circle, rect, ellipse"),r=a.find("h5"),l=a.find("p"),c=a.find(".thb-iconbox-line"),d=a.find(".thb-iconbox-line em"),h=gsap.timeline({delay:e,paused:!0,clearProps:"all"}),p=[];r.length&&p.push(r),l.length&&p.push(l),n.length&&p.push(n),a.hasClass("left")||a.hasClass("right")||a.find(".thb-read-more").length&&p.push(a.find(".thb-read-more")),h.set(a,{visibility:"visible"}).set(o,{visibility:"visible"}).from(s,{duration:i,drawSVG:"0%"},"s").fromTo(p,{autoAlpha:0,y:"20px"},{duration:i/2,autoAlpha:1,y:"0px",stagger:.1}),d.length&&h.to(d,{duration:i/2,scale:"1"}),c.length&&h.to(c,{duration:i/2,scaleX:"1"}),h.play()}}},contactMap:{selector:".contact_map:not(.disabled)",init:function(){var g=this;b(g.selector).each(function(){var p,e=b(this),t=e.data("map-zoom"),a=e.data("map-style"),i=e.data("map-type"),o=e.data("pan-control"),n=e.data("zoom-control"),s=e.data("maptype-control"),r=e.data("scale-control"),l=e.data("streetview-control"),c=e.find(".thb-location"),d=e.next(".expand"),h=e.width(),u=new google.maps.LatLngBounds,f={styles:a,zoom:t,draggable:!("ontouchend"in document),scrollwheel:!1,panControl:o,zoomControl:n,mapTypeControl:s,scaleControl:r,streetViewControl:l,fullscreenControl:!1,mapTypeId:i,gestureHandling:"cooperative"};d&&d.toggle(function(){var t=e.parents(".row").width();return e.parents(".contact_map_parent").css("overflow","visible"),gsap.to(e,{duration:1,width:t,onUpdate:function(){google.maps.event.trigger(p,"resize"),p.setCenter(u.getCenter())}}),!1},function(){return gsap.to(e,{duration:1,width:h,onUpdate:function(){google.maps.event.trigger(p,"resize"),p.setCenter(u.getCenter())},onComplete:function(){e.parents(".contact_map_parent").css("overflow","hidden")}}),!1}),p=new google.maps.Map(e[0],f),c.each(function(t){!function(t,e){var a=e.data("option"),i=a.latitude,o=a.longitude,n=new google.maps.LatLng(i,o),s=a.marker_image,r=
117a.marker_size,l=a.retina_marker,c=a.marker_title,d=a.marker_description,h=new Image;u.extend(n),h.src=s,e.data("rendered",!0),b(h).on("load",function(){g.setMarkers(t,p,n,s,r,c,d,l)})}(t,b(this))}),google.maps.event.addListenerOnce(p,"tilesloaded",function(){0<t?(p.setCenter(u.getCenter()),p.setZoom(t)):(p.setCenter(u.getCenter()),p.fitBounds(u))}),x.on("resize.google_map",_.debounce(function(){p.setCenter(u.getCenter())},50)).trigger("resize.google_map")})},setMarkers:function(t,i,o,n,s,e,a,r){var l="<h3>"+e+"</h3><div>"+a+"</div>",c=new google.maps.InfoWindow({content:l});function d(t,e){this.latlng=t,this.setMap(e)}r&&(s[0]=s[0]/2,s[1]=s[1]/2),(d.prototype=new google.maps.OverlayView).draw=function(){var t=this.div_;t||(t=this.div_=b('<div class="thb_pin"><div class="pulse"></div><div class="shadow"></div><div class="pin-wrap"><img src="'+n+'" width="'+s[0]+'" height="'+s[1]+'"/></div></div>'),this.pinShadow=this.div_.find(".shadow"),this.pulse=this.div_.find(".pulse"),this.div_[0].style.position="absolute",this.div_[0].style.cursor="pointer",this.getPanes().overlayImage.appendChild(this.div_[0]),google.maps.event.addDomListener(t[0],"click",function(t){c.setPosition(o),c.open(i)}));var e=this.getProjection().fromLatLngToDivPixel(o);if(e){var a=(s[0]-40)/2;this.div_[0].style.left=e.x-s[0]/2+"px",this.div_[0].style.top=e.y-s[1]/2+"px",this.div_[0].style.width=s[0]+"px",this.div_[0].style.height=s[1]+"px",this.pinShadow[0].style.marginLeft=a+"px",this.pulse[0].style.marginLeft=a+"px"}},d.prototype.remove=function(){this.div_&&(this.div_.parentNode.removeChild(this.div_),this.div_=null)},d.prototype.getPosition=function(){return this.latlng};new d(o,i)}},ajaxAddToCart:{selector:".ajax_add_to_cart",init:function(){b(this.selector);w.on("added_to_cart",function(t,e,a,i){i.text(themeajax.l10n.added)}),w.on("wc_fragments_refreshed added_to_cart",function(){lazySizes&&lazySizes.loader.checkElems()})}},loginForm:{selector:".thb-overflow-container",init:function(){var e=b(this.selector),t=b("ul",e),a=b("a",t);a.on("click",function(){var t=b(this);return t.hasClass("active")||(a.removeClass("active"),t.addClass("active"),b(".thb-form-container",e).toggleClass("register-active")),!1})}},productAjaxAddtoCart:{selector:".thb-single-product-ajax-on.single-product .product-type-variable form.cart, .thb-single-product-ajax-on.single-product .product-type-simple form.cart",init:function(){var t=b(this.selector),o=b(".single_add_to_cart_button",t);"undefined"!=typeof wc_add_to_cart_params&&"yes"===wc_add_to_cart_params.cart_redirect_after_add||c.on("submit","body.single-product form.cart",function(t){t.preventDefault();var e=b(this),i=o.text();if(!o.is(".disabled")&&!o.is(".wc-variation-selection-needed")){var a={product_id:e.find("[name*='add-to-cart']").val(),product_variation_data:e.serialize()};b.ajax({method:"POST",data:a.product_variation_data,dataType:"html",url:wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%","add-to-cart="+a.product_id+"&thb-ajax-add-to-cart=1"),cache:!1,headers:{"cache-control":"no-cache"},beforeSend:function(){w.trigger("adding_to_cart"),o.addClass("disabled").text(themeajax.l10n.adding_to_cart)},success:function(t){var e=b.parseHTML(t),a={".float_count":b(e).find(".float_count").html(),".thb_prod_ajax_to_cart_notices":b(e).find(".thb_prod_ajax_to_cart_notices").html(),".widget_shopping_cart_content":b(e).find(".widget_shopping_cart_content").html()};b.each(a,function(t,e){b(t).html(e)}),w.trigger("wc_fragments_refreshed"),o.removeClass("disabled").text(i)},error:function(t){w.trigger("wc_fragments_ajax_error"),o.removeClass("disabled").text(i)}})}})}},variations:{selector:"form.variations_form",init:function(){var t=b(this.selector),a=b("#product-images"),e=b("#product-thumbnails"),i=b(".first",a),o=b("img",i),n=b("a",i),s=n.attr("href"),r=o.attr("src"),l=b(".first img",e),c=l.attr("src"),d=b("p.price",".product-information").eq(0),h=d.html();t.on("show_variation",function(t,e){e.price_html&&d.html(e.price_html),e.hasOwnProperty("image")&&e.image.src&&(o.attr("src",e.image.src).attr("srcset",""),l.attr("src",e.image.thumb_src).attr("srcset",""),n.attr("href",e.image.full_src),a.hasClass("slick-initialized")&&a.slick("slickGoTo",0),"undefined"!=typeof wc_single_product_params&&"1"===wc_single_product_params.zoom_enabled&&o.attr("data-src",e.image.full_src))}).on("reset_image",function(){d.html(h),o.attr("src",r).attr("srcset",""),l.attr("src",c).attr("srcset",""),n.attr("href",s),"undefined"!=typeof wc_single_product_params&&"1"===wc_single_product_params.zoom_enabled&&o.attr("data-src",r)}),t.find(".single_variation").is(":visible")&&t.find(".single_variation .woocommerce-variation-
117price").html()&&d.html(t.find(".single_variation .woocommerce-variation-price").html())}},quantity:{selector:".quantity:not(.hidden)",init:function(){var t=this;b(t.selector);t.initialize(),w.on("updated_cart_totals",function(){t.initialize(),lazySizes&&lazySizes.loader.checkElems()})},initialize:function(){b("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").addClass("buttons_added").append('<input type="button" value="+" class="plus" />').prepend('<input type="button" value="-" class="minus" />').end().find('input[type="number"]').attr("type","text"),b(".plus, .minus").on("click",function(){var t=b(this).closest(".quantity").find(".qty"),e=parseFloat(t.val()),a=parseFloat(t.attr("max")),i=parseFloat(t.attr("min")),o=t.attr("step");return e&&""!==e&&"NaN"!==e||(e=0),""!==a&&"NaN"!==a||(a=""),""!==i&&"NaN"!==i||(i=0),"any"!==o&&""!==o&&void 0!==o&&"NaN"!==parseFloat(o)||(o=1),b(this).is(".plus")?a&&(a===e||a<e)?t.val(a):t.val(e+parseFloat(o)):i&&(i===e||e<i)?t.val(i):0<e&&t.val(e-parseFloat(o)),t.trigger("change"),!1})}},archiveLoading:{selector:".archive-pagination-container",thb_loading:!1,scrollInfinite:!1,href:!1,init:function(){var t=b(this.selector),e=t.data("pagination-style")||"style1";b(".pagination").length&&(w.hasClass("archive")||w.hasClass("blog")||w.hasClass("search-results"))&&("style2"===e?this.loadButton(t):"style3"===e&&this.loadInfinite(t))},loadButton:function(a){var i=this;b(".pagination").before('<div class="text-center masonry_loader"><a class="thb_load_more btn pill-radius large black">'+themeajax.l10n.loadmore+"</a></div>"),0===b(".pagination a.next").length&&b(".masonry_loader").addClass("is-hidden"),b(".pagination").hide(),w.on("click",".thb_load_more:not(.no-ajax)",function(t){var e=b(this);return i.href=b(".pagination a.next").attr("href"),!1===i.thb_loading&&(e.html(themeajax.l10n.loading).addClass("loading"),i.loadPosts(e,a)),!1})},loadInfinite:function(t){var e=this;0===b(".pagination a.next").length&&b(".masonry_loader").addClass("is-hidden"),b(".pagination").hide(),e.scrollInfinite=_.debounce(function(){!1===e.thb_loading&&x.scrollTop()+x.height()+150>=t.offset().top+t.outerHeight()&&(e.href=b(".pagination a.next").attr("href"),e.loadPosts(!1,t,!0))},30),x.on("scroll",e.scrollInfinite)},loadPosts:function(i,o,n){var s=this;b.ajax(s.href,{method:"GET",beforeSend:function(){s.thb_loading=!0,n&&(gsap.to(b(".pagination").next(".thb-preloader"),{duration:.5,autoAlpha:1}),x.off("scroll",s.scrollInfinite))},success:function(t){var e=b(t),a=b(e.find(".archive-pagination-container").html());b(".pagination").html(e.find(".pagination").html()),i?e.find(".pagination .next").length?i.html(themeajax.l10n.loadmore).removeClass("loading"):i.html(themeajax.l10n.nomore).removeClass("loading").addClass("no-ajax"):n&&(gsap.to(b(".pagination").next(".thb-preloader"),{duration:.5,autoAlpha:0}),e.find(".pagination .next").length&&x.on("scroll",s.scrollInfinite)),a.appendTo(o),o.data("isotope")&&(a.hide(),o.isotope("appended",a),o.imagesLoaded(function(){o.isotope("layout")})),s.thb_loading=!1}})}},shopLoading:{selector:".post-type-archive-product ul.products.thb-main-products",thb_loading:!1,scrollInfinite:!1,href:!1,init:function(){var t=b(this.selector),e=themeajax.settings.shop_product_listing_pagination;b(".woocommerce-pagination").length&&w.hasClass("post-type-archive-product")&&("style2"===e?this.loadButton(t):"style3"===e&&this.loadInfinite(t))},loadButton:function(a){var i=this;b(".woocommerce-pagination").before('<div class="thb_load_more_container pagination-space text-center"><a class="thb_load_more btn pill-radius large black">'+themeajax.l10n.loadmore+"</a></div>"),0===b(".woocommerce-pagination a.next").length&&b(".thb_load_more_container").addClass("is-hidden"),b(".woocommerce-pagination").hide(),w.on("click",".thb_load_more:not(.no-ajax)",function(t){var e=b(this);return i.href=b(".woocommerce-pagination a.next").attr("href"),!1===i.thb_loading&&(e.html(themeajax.l10n.loading).addClass("loading"),i.loadProducts(e,a)),!1})},loadInfinite:function(t){var e=this;0===b(".woocommerce-pagination a.next").length&&b(".thb_load_more_container").addClass("is-hidden"),b(".woocommerce-pagination").hide(),e.scrollInfinite=_.debounce(function(){!1===e.thb_loading&&x.scrollTop()+x.height()+150>=t.offset().top+t.outerHeight()&&(e.href=b(".woocommerce-pagination a.next").attr("href"),e.loadProducts(!1,t,!0))},30),x.on("scroll",e.scrollInfinite)},loadProducts:function(i,o,n){var s=this;b.ajax(s.href,{method:"GET",beforeSend:function(){s.thb_loading=!0,n&&x.off("scroll",s.scrollInfinite)},success:function(t){var e=b(t),a=e.find("ul.products.thb-main-products li");b(".woocommerce-pagination").html(e.find(".woocommerce-pagination").html()),i?e.find(".woocommerce-pagination .next").length?i.html(themeajax.l10n.loadmore).removeClass("loading"):i.html(themeajax.l10n.nomore_products).removeClass("loading").addClass("no-ajax"):n&&e.find(".woocommerce-pagination .next").length&&x.on("scroll",s.scrollInfinite),a.length&&(a.addClass("will-animate").appendTo(o),gsap.set(a,{opacity:0,y:30}),gsap.to(a,{duration:.3,y:0,opacity:1,stagger:.15})),s.thb_loading=!1}})}},newsletter:{selector:".newsletter-form:not(.thb-active)",init:function(){var t=b(this.selector),e=themeajax.settings.newsletter_mailchimp?"thb_subscribe_mailchimp":"thb_subscribe_emails";t.each(function(){var a=b(this),t={security:a.data("security"),action:e,privacy:!1};a.addClass("thb-active"),a.on("submit",function(){return a.next(".thb-custom-c
117heckbox").length&&(t.privacy=!0,t.checked=a.next(".thb-custom-checkbox").find(".thb-newsletter-privacy").is(":checked")),t.email=a.find(".widget_subscribe").val(),b.ajax(themeajax.url,{method:"POST",data:t,beforeSend:function(){a.addClass("thb-loading")},success:function(t){var e=b.parseHTML(b.trim(t));a.removeClass("thb-loading"),b(e).appendTo(w),_.delay(function(){b(e).remove()},8e3)}}),!1})})}},widget_nav_menu:{selector:".widget_nav_menu, .widget_pages",init:function(){b(this.selector).find(".menu-item-has-children, .page_item_has_children").each(function(){var t=b(this),e=b(">a",t);e.append('<div class="thb-arrow"><i class="thb-icon-down-open-mini"></i></div>'),b(".thb-arrow",t).on("click",function(t){var e=b(this).parents("a"),a=e.next(".sub-menu, .children");e.hasClass("active")?(e.removeClass("active"),a.slideUp("200")):(e.addClass("active"),a.slideDown("200")),t.stopPropagation(),t.preventDefault()}),"#"===e.attr("href")&&e.on("click",function(t){var e=b(this),a=e.next(".sub-menu");e.hasClass("active")?(e.removeClass("active"),a.slideUp("200")):(e.addClass("active"),a.slideDown("200")),t.preventDefault()})})}},pricingStyle2:{selector:".thb-pricing-table.style2",init:function(t){b(this.selector).each(function(){var t=b(this),e=b(".pricing-container",t),a=b(".pricing-style2-highlight",t),i=a.parents(".pricing-container");function o(t){var e=t;gsap.set(a,{left:e.position().left,width:e.outerWidth(),height:e.parents(".thb-pricing-column").outerHeight(),top:e.position().top})}e.on("mouseenter",function(){o(b(this))}).on("mouseleave",function(){o(i)}),x.on("resize.move_highlight",function(){o(i)}).trigger("resize.move_highlight"),t.addClass("active")})}},toBottom:{selector:".scroll-bottom",init:function(){var t=b(this.selector);b(".header>.row").outerHeight(),parseInt(themeajax.settings.fixed_header_padding.top,10),parseInt(themeajax.settings.fixed_header_padding.bottom,10);t.each(function(){var o=b(this);o.on("click",function(){var t=o.parents(".post-gallery").length?o.parents(".post-gallery"):o.closest(".row"),e=t.outerHeight(),a=b("#wpadminbar").outerHeight(),i=t.offset().top+e;return i-=a,gsap.to(x,{duration:1,scrollTo:{y:i,autoKill:!1}}),!1})})}},darkMode:{selector:".thb-light-toggle",init:function(){var a=b(this.selector);w.hasClass("thb-dark-mode-on");a.on("click",function(){var t=b(this),e=!1;return t.hasClass("active")?(a.removeClass("active"),w.removeClass("thb-dark-mode-on"),e=!1,o.removeClass("dark-header"),b(".subheader, .footer, .subfooter").removeClass("dark").addClass("light")):(a.addClass("active"),w.addClass("thb-dark-mode-on"),e=!0,o.addClass("dark-header"),b(".subheader, .footer, .subfooter").removeClass("light").addClass("dark")),b(".header .logoimg").each(function(){var t=b(this),e=t.attr("src"),a=t.data("logo-alt");t.attr("src",a),t.data("logo-alt",e)}),b.ajax(themeajax.url,{method:"POST",data:{action:"thb_dark_mode",dark_mode_on:e}}),!1})}},toTop:{selector:"#scroll_to_top",init:function(){var t=this;b(t.selector).on("click",function(){return gsap.to(x,{duration:1,scrollTo:{y:0,autoKill:!1}}),!1}),x.scroll(_.debounce(function(){t.control()},20))},control:function(){var t=b(this.selector);100<x.scrollTop()?t.addClass("active"):t.removeClass("active")}},right_click:{selector:".right-click-on",init:function(){var t=b("#right_click_content"),e=gsap.timeline({paused:!0,onStart:function(){t.css("display","flex")},onReverseComplete:function(){t.css("display","none")}}),a=t.find(".columns>*");e.to(t,{duration:.25,opacity:1},"start"),a.length&&e.from(a,{duration:.5,y:20,opacity:0,stagger:.1}),x.on("contextmenu",function(t){if(3===t.which)return e.play(),!1}),c.keyup(function(t){27===t.keyCode&&e.reverse()}),t.on("click",function(){e.reverse()})}}},c.ready(function(){b("#vc_inline-anchor").length?x.on("vc_reload",function(){C.init()}):C.init()})}(jQuery,this); 118/*! 119 * WPBakery Page Builder v6.0.0 (https://wpbakery.com) 120 * Copyright 2011-2020 Michael M, WPBakery 121 * License: Commercial. More details: http://go.wpbakery.com/licensing 122 */ 123document.documentElement.className+=" js_active ",document.documentElement.className+="ontouchstart"in document.documentElement?" vc_mobile ":" vc_desktop ",function(){for(var prefix=["-webkit-","-moz-","-ms-","-o-",""],i=0;i<prefix.length;i++)prefix[i]+"transform"in document.documentElement.style&&(document.documentElement.className+=" vc_transform ")}(),function(){"function"!=typeof window.vc_js&&(window.vc_js=function(){"use strict";vc_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBo
123x(),vc_googleMapsPointer(),vc_ttaActivation(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function($parent){($parent?$parent.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){var this_element=jQuery(this),sliderTimeout=1e3*parseInt(this_element.attr("data-interval"),10),sliderFx=this_element.attr("data-flex_fx"),slideshow=!0;0==sliderTimeout&&(slideshow=!1),this_element.is(":visible")&&this_element.flexslider({animation:sliderFx,slideshow:slideshow,slideshowSpeed:sliderTimeout,sliderSpeed:800,smoothHeight:!0})})}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){0<jQuery(".wpb_googleplus").length&&function(){var po=document.createElement("script");po.type="text/javascript",po.async=!0,po.src="https://apis.google.com/js/plusone.js";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(po,s)}()}),"function"!=typeof window.vc_pinterest&&(window.vc_pinterest=function(){0<jQuery(".wpb_pinterest").length&&function(){var po=document.createElement("script");po.type="text/javascript",po.async=!0,po.src="https://assets.pinterest.com/js/pinit.js";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(po,s)}()}),"function"!=typeof window.vc_progress_bar&&(window.vc_progress_bar=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".vc_progress_bar").each(function(){var $el=jQuery(this);$el.vcwaypoint(function(){$el.find(".vc_single_bar").each(function(index){var bar=jQuery(this).find(".vc_bar"),val=bar.data("percentage-value");setTimeout(function(){bar.css({width:val+"%"})},200*index)})},{offset:"85%"})})}),"function"!=typeof window.vc_waypoints&&(window.vc_waypoints=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".wpb_animate_when_almost_visible:not(.wpb_start_animation)").each(function(){var $el=jQuery(this);$el.vcwaypoint(function(){$el.addClass("wpb_start_animation animated")},{offset:"85%"})})}),"function"!=typeof window.vc_toggleBehaviour&&(window.vc_toggleBehaviour=function($el){function event(e){e&&e.preventDefault&&e.preventDefault();var element=jQuery(this).closest(".vc_toggle"),content=element.find(".vc_toggle_content");element.hasClass("vc_toggle_active")?content.slideUp({duration:300,complete:function(){element.removeClass("vc_toggle_active")}}):content.slideDown({duration:300,complete:function(){element.addClass("vc_toggle_active")}})}$el?$el.hasClass("vc_toggle_title")?$el.unbind("click").on("click",event):$el.find(".vc_toggle_title").off("click").on("click",event):jQuery(".vc_toggle_title").off("click").on("click",event)}),"function"!=typeof window.vc_tabsBehaviour&&(window.vc_tabsBehaviour=function($tab){if(jQuery.ui){var $call=$tab||jQuery(".wpb_tabs, .wpb_tour"),ver=jQuery.ui&&jQuery.ui.version?jQuery.ui.version.split("."):"1.10",old_version=1===parseInt(ver[0],10)&&parseInt(ver[1],10)<9;$call.each(function(index){var $tabs,interval=jQuery(this).attr("data-interval"),tabs_array=[];if($tabs=jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({show:function(event,ui){wpb_prepare_tab_content(event,ui)},activate:function(event,ui){wpb_prepare_tab_content(event,ui)}}),interval&&0<interval)try{$tabs.tabs("rotate",1e3*interval)}catch(err){window.console&&window.console.warn&&console.warn("tabs behaviours error",err)}jQuery(this).find(".wpb_tab").each(function(){tabs_array.push(this.id)}),jQuery(this).find(".wpb_tabs_nav li").on("click",function(e){return e&&e.preventDefault&&e.preventDefault(),old_version?$tabs.tabs("select",jQuery("a",this).attr("href")):$tabs.tabs("option","active",jQuery(this).index()),!1}),jQuery(this).find(".wpb_prev_slide a, .wpb_next_slide a").on("click",function(e){var index,length;e&&e.preventDefault&&e.preventDefault(),old_version?(index=$tabs.tabs("option","selected"),jQuery(this).parent().hasClass("wpb_next_slide")?index++:index--,index<0?index=$tabs.tabs("length")-1:index>=$tabs.tabs("length")&&(index=0),$tabs.tabs("select",index)):(index=$tabs.tabs("option","active"),length=$tabs.find(".wpb_tab").length,index=jQuery(this).parent().hasClass("wpb_next_slide")?length<=index+1?0:index+1:index-1<0?length-1:index-1,$tabs.tabs("option","active",index))})})}}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(index){var $tabs,active_tab,collapsible,$this=jQuery(this);$this.attr("data-interval"),collapsible=!1===(active_tab=!isNaN(jQuery(this).data("active-tab"))&&0<parseInt($this.data("active-tab"),10)&&parseInt($this.data("active-tab"),10)-1)||"yes"===$this.data("c
123ollapsible"),$tabs=$this.find(".wpb_accordion_wrapper").accordion({header:"> div > h3",autoHeight:!1,heightStyle:"content",active:active_tab,collapsible:collapsible,navigation:!0,activate:vc_accordionActivate,change:function(event,ui){void 0!==jQuery.fn.isotope&&ui.newContent.find(".isotope").isotope("layout"),vc_carouselBehaviour(ui.newPanel)}}),!0===$this.data("vcDisableKeydown")&&($tabs.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var layout_modes={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var $container=jQuery(this),$thumbs=$container.find(".wpb_thumbnails"),layout_mode=$thumbs.attr("data-layout-mode");$thumbs.isotope({itemSelector:".isotope-item",layoutMode:void 0===layout_modes[layout_mode]?"fitRows":layout_modes[layout_mode]}),$container.find(".categories_filter a").data("isotope",$thumbs).on("click",function(e){e&&e.preventDefault&&e.preventDefault();var $thumbs=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),$thumbs.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).bind("load resize",function(){$thumbs.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function($parent){($parent?$parent.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var $this=jQuery(this);if(!0!==$this.data("carousel_enabled")&&$this.is(":visible")){$this.data("carousel_enabled",!0);getColumnsCount(jQuery(this));jQuery(this).hasClass("columns_count_1")&&0;var carousel_li=jQuery(this).find(".wpb_thumbnails-fluid li");carousel_li.css({"margin-right":carousel_li.css("margin-left"),"margin-left":0});var fluid_ul=jQuery(this).find("ul.wpb_thumbnails-fluid");fluid_ul.width(fluid_ul.width()+300),jQuery(window).on("resize",function(){screen_size!=(screen_size=getSizeName())&&window.setTimeout(function(){location.reload()},20)})}})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(index){var $imagesGrid,this_element=jQuery(this);if(this_element.hasClass("wpb_slider_nivo")){var sliderTimeout=1e3*this_element.attr("data-interval");0===sliderTimeout&&(sliderTimeout=9999999999),this_element.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:sliderTimeout,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"})}else this_element.hasClass("wpb_image_grid")&&(jQuery.fn.imagesLoaded?$imagesGrid=this_element.find(".wpb_image_grid_ul").imagesLoaded(function(){$imagesGrid.isotope({itemSelector:".isotope-item",layoutMode:"fitRows"})}):this_element.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows"}))})}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1<location.href.indexOf("#!prettyPhoto")&&(location.hash="")},social_tools:""})}catch(err){window.console&&window.console.warn&&window.console.warn("vc_prettyPhoto initialize error",err)}}),"function"!=typeof window.vc_google_fonts&&(window.vc_google_fonts=function(){return window.console&&window.console.warn&&window.console.warn("function vc_google_fonts is deprecated, no need to use it"),!1}),window.vcParallaxSkroll=!1,"function"!=typeof window.vc_rowBehaviour&&(window.vc_rowBehaviour=function(){var vcSkrollrOptions,callSkrollInit,$=window.jQuery;function fullWidthRow(){var $elements=$('[data-vc-full-width="true"]');$.each($elements,function(key,item){var $el=$(this);$el.addClass("vc_hidden");var $el_full=$el.next(".vc_row-full-width");if($el_full.length||($el_full=$el.parent().next(".vc_row-full-width")),$el_full.length){var padding,paddingRight,el_margin_left=parseInt($el.css("margin-left"),10),el_margin_right=parseInt($el.css("margin-right"),10),offset=0-$el_full.offset().left-el_margin_left,width=$(window).width();if("rtl"===$el.css("direction")&&(offset-=$el_full.width(),offset+=width,offset+=el_margin_left,offset+=el_margin_right),$el.css({position:"relative",left:offset,"box-sizing":"border-box",width:width}),!$el.data("vcStretchContent"))"rtl"===$el.css("direction")?((padding=offset)<0&&(padding=0),(paddingRight=offset)<0&&(paddingRight=0)):((padding=-1*offset)<0&&(padding=0),(paddingRight=width-padding-$el_full.width()+el_margin_left+el_margin_right)<0&&(paddingRight=0)),$el.css({"padding-left":padding+"px","padding-right":paddingRight+"px"});$el.attr("data-vc-full-width-init","true"),$el.removeClass("vc_hidden"),$(document).trigger("vc-full-width-row-single",{el:$el,offset:offset,marginLeft:el_margin_left,marginRight:el_margin_right,elFull:$el_full,width:width})}}),$(document).trigger("vc-full-width-row",$elements)}function fullHeightRow(){var windowHeight,offsetTop,fullHeight,$element=$(".vc_row-o-full-height:first");$element.length&&(windowHeight=$(window).height(),(offsetTop=$element.offset().top)<windowHeight&&(fullHeight=100-offsetTop/(windowHeight/100),$element.css("min-height",fullHeight+"vh")));$(document).trigger("vc-full-height-row",$element)}$(window).off("resize.vcRowBehaviour").on("resize.vcRowBehaviour",fullWidthRow).on("resize.vcRowBehaviour",fullHeightRow),fullWidthRow(),fullHeightRow(),(0<window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./))&&$(".vc_row-o-full-height").each(function(){"flex"===$(this).css("display")&&$(this).wrap('<div class="vc_ie-flexbox-fixer"></div>')}
123),vc_initVideoBackgrounds(),callSkrollInit=!1,window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),$(".vc_parallax-inner").remove(),$("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),$("[data-vc-parallax]").each(function(){var skrollrSize,skrollrStart,$parallaxElement,parallaxImage,youtubeId;callSkrollInit=!0,"on"===$(this).data("vcParallaxOFade")&&$(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),skrollrSize=100*$(this).data("vcParallax"),($parallaxElement=$("<div />").addClass("vc_parallax-inner").appendTo($(this))).height(skrollrSize+"%"),parallaxImage=$(this).data("vcParallaxImage"),(youtubeId=vcExtractYoutubeId(parallaxImage))?insertYoutubeVideoAsBackground($parallaxElement,youtubeId):void 0!==parallaxImage&&$parallaxElement.css("background-image","url("+parallaxImage+")"),skrollrStart=-(skrollrSize-100),$parallaxElement.attr("data-bottom-top","top: "+skrollrStart+"%;").attr("data-top-bottom","top: 0%;")}),callSkrollInit&&window.skrollr&&(vcSkrollrOptions={forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}},window.vcParallaxSkroll=skrollr.init(vcSkrollrOptions),window.vcParallaxSkroll)}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(el){for(var find=!1,i=1;!1===find;){if(el.hasClass("columns_count_"+i))return find=!0,i;i++}});var screen_size=getSizeName();function getSizeName(){var screen_w=jQuery(window).width();return 1170<screen_w?"desktop_wide":960<screen_w&&screen_w<1169?"desktop":768<screen_w&&screen_w<959?"tablet":300<screen_w&&screen_w<767?"mobile":screen_w<300?"mobile_portrait":""}"function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(event,ui){var $ui_panel,$google_maps,panel=ui.panel||ui.newPanel,$pie_charts=panel.find(".vc_pie_chart:not(.vc_ready)"),$round_charts=panel.find(".vc_round-chart"),$line_charts=panel.find(".vc_line-chart"),$carousel=panel.find('[data-ride="vc_carousel"]');if(vc_carouselBehaviour(),vc_plugin_flexslider(panel),ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var grid=jQuery(this).data("vcGrid");grid&&grid.gridBuilder&&grid.gridBuilder.setMasonry&&grid.gridBuilder.setMasonry()}),panel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&panel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var grid=jQuery(this).data("vcGrid");grid&&grid.gridBuilder&&grid.gridBuilder.setMasonry&&grid.gridBuilder.setMasonry()}),$pie_charts.length&&jQuery.fn.vcChat&&$pie_charts.vcChat(),$round_charts.length&&jQuery.fn.vcRoundChart&&$round_charts.vcRoundChart({reload:!1}),$line_charts.length&&jQuery.fn.vcLineChart&&$line_charts.vcLineChart({reload:!1}),$carousel.length&&jQuery.fn.carousel&&$carousel.carousel("resizeAction"),$ui_panel=panel.find(".isotope, .wpb_image_grid_ul"),$google_maps=panel.find(".wpb_gmaps_widget"),0<$ui_panel.length&&$ui_panel.isotope("layout"),$google_maps.length&&!$google_maps.is(".map_ready")){var $frame=$google_maps.find("iframe");$frame.attr("src",$frame.attr("src")),$google_maps.addClass("map_ready")}panel.parents(".isotope").length&&panel.parents(".isotope").each(function(){jQuery(this).isotope("layout")})}),"function"!=typeof window.vc_ttaActivation&&(window.vc_ttaActivation=function(){jQuery("[data-vc-accordion]").on("show.vc.accordion",function(e){var $=window.jQuery,ui={};ui.newPanel=$(this).data("vc.accordion").getTarget(),window.wpb_prepare_tab_content(e,ui)})}),"function"!=typeof window.vc_accordionActivate&&(window.vc_accordionActivate=function(event,ui){if(ui.newPanel.length&&ui.newHeader.length){var $pie_charts=ui.newPanel.find(".vc_pie_chart:not(.vc_ready)"),$round_charts=ui.newPanel.find(".vc_round-chart"),$line_charts=ui.newPanel.find(".vc_line-chart"),$carousel=ui.newPanel.find('[data-ride="vc_carousel"]');
123void 0!==jQuery.fn.isotope&&ui.newPanel.find(".isotope, .wpb_image_grid_ul").isotope("layout"),ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var grid=jQuery(this).data("vcGrid");grid&&grid.gridBuilder&&grid.gridBuilder.setMasonry&&grid.gridBuilder.setMasonry()}),vc_carouselBehaviour(ui.newPanel),vc_plugin_flexslider(ui.newPanel),$pie_charts.length&&jQuery.fn.vcChat&&$pie_charts.vcChat(),$round_charts.length&&jQuery.fn.vcRoundChart&&$round_charts.vcRoundChart({reload:!1}),$line_charts.length&&jQuery.fn.vcLineChart&&$line_charts.vcLineChart({reload:!1}),$carousel.length&&jQuery.fn.carousel&&$carousel.carousel("resizeAction"),ui.newPanel.parents(".isotope").length&&ui.newPanel.parents(".isotope").each(function(){jQuery(this).isotope("layout")})}}),"function"!=typeof window.initVideoBackgrounds&&(window.initVideoBackgrounds=function(){return window.console&&window.console.warn&&window.console.warn("this function is deprecated use vc_initVideoBackgrounds"),vc_initVideoBackgrounds()}),"function"!=typeof window.vc_initVideoBackgrounds&&(window.vc_initVideoBackgrounds=function(){jQuery("[data-vc-video-bg]").each(function(){var youtubeUrl,youtubeId,$element=jQuery(this);$element.data("vcVideoBg")?(youtubeUrl=$element.data("vcVideoBg"),(youtubeId=vcExtractYoutubeId(youtubeUrl))&&($element.find(".vc_video-bg").remove(),insertYoutubeVideoAsBackground($element,youtubeId)),jQuery(window).on("grid:items:added",function(event,$grid){$element.has($grid).length&&vcResizeVideoBackground($element)})):$element.find(".vc_video-bg").remove()})}),"function"!=typeof window.insertYoutubeVideoAsBackground&&(window.insertYoutubeVideoAsBackground=function($element,youtubeId,counter){if("undefined"==typeof YT||void 0===YT.Player)return 100<(counter=void 0===counter?0:counter)?void console.warn("Too many attempts to load YouTube api"):void setTimeout(function(){insertYoutubeVideoAsBackground($element,youtubeId,counter++)},100);var $container=$element.prepend('<div class="vc_video-bg vc_hidden-xs"><div class="inner"></div></div>').find(".inner");new YT.Player($container[0],{width:"100%",height:"100%",videoId:youtubeId,playerVars:{playlist:youtubeId,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,wmode:"transparent"},events:{onReady:function(event){event.target.mute().setLoop(!0)}}}),vcResizeVideoBackground($element),jQuery(window).bind("resize",function(){vcResizeVideoBackground($element)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function($element){var iframeW,iframeH,marginLeft,marginTop,containerW=$element.innerWidth(),containerH=$element.innerHeight();containerW/containerH<16/9?(iframeW=containerH*(16/9),iframeH=containerH,marginLeft=-Math.round((iframeW-containerW)/2)+"px",marginTop=-Math.round((iframeH-containerH)/2)+"px"):(iframeH=(iframeW=containerW)*(9/16),marginTop=-Math.round((iframeH-containerH)/2)+"px",marginLeft=-Math.round((iframeW-containerW)/2)+"px"),iframeW+="px",iframeH+="px",$element.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:marginLeft,marginTop:marginTop,width:iframeW,height:iframeH})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(url){if(void 0===url)return!1;var id=url.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/);return null!==id&&id[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var $=window.jQuery,$wpbGmapsWidget=$(".wpb_gmaps_widget");$wpbGmapsWidget.on("click",function(){$("iframe",this).css("pointer-events","auto")}),$wpbGmapsWidget.on("mouseleave",function(){$("iframe",this).css("pointer-events","none")}),$(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(hoverBox){hoverBox.each(function(){var $this=jQuery(this),perspective=4*$this.width()+"px";$this.css("perspective",perspective)})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(hoverBox){hoverBox.each(function(){var $this=jQuery(this),hoverBo
123xInner=$this.find(".vc-hoverbox-inner");hoverBoxInner.css("min-height",0);var frontHeight=$this.find(".vc-hoverbox-front-inner").outerHeight(),backHeight=$this.find(".vc-hoverbox-back-inner").outerHeight(),hoverBoxHeight=backHeight<frontHeight?frontHeight:backHeight;hoverBoxHeight<250&&(hoverBoxHeight=250),hoverBoxInner.css("min-height",hoverBoxHeight+"px")})}),"function"!=typeof window.vc_prepareHoverBox&&(window.vc_prepareHoverBox=function(){var hoverBox=jQuery(".vc-hoverbox");vc_setHoverBoxHeight(hoverBox),vc_setHoverBoxPerspective(hoverBox)}),jQuery(document).ready(window.vc_prepareHoverBox),jQuery(window).resize(window.vc_prepareHoverBox),jQuery(document).ready(function($){window.vc_js()})}(window.jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.