PageSourceSearch

https://imexcargo.com/wp-content/cache/asset-cleanup/one/js/body-3f332807a539470022824a7b9b6ead8d63030631.js

js imexcargo.com collected 2026-10-04 10:33:53 UTC 239,081 bytes, 715 lines download raw bytes

1/*!/wp-content/plugins/floating-button/public/assets/js/script.min.js*/
2/* [inline: before] */var FloatingButton_1 = {"element":"floatBtn-1","pageId":85759}
3;/* [/inline: before] */
4"use strict";class FloatingButton{constructor(t){const e={showAfterTimer:!1,hideAfterTimer:!1,showAfterPosition:!1,hideAfterPosition:!1,uncheckedBtn:!1,uncheckedSubBtn:!1,hideBtns:!1,touch:!1,fontSize:parseFloat(window.getComputedStyle(document.body).getPropertyValue("font-size")),fontSizeStep:10};this.settings={...e,...t},this.element=document.getElementById(this.settings.element)}displayMenu(){this.showMenu()}showMenu(){this.element.classList.remove("is-hidden")}run(){this.displayMenu()}static initialize(t){const e=new FloatingButton(t);return e.run(),e}}document.addEventListener("DOMContentLoaded",(function(){for(let t in window)if(t.indexOf("FloatingButton_")>=0){const e=window[t];new FloatingButton(e),FloatingButton.initialize(e)}}));
5/*!/wp-content/plugins/uncode-privacy/assets/js/js-cookie.min.js*/
6(function(factory){var registeredInModuleLoader=false;if(typeof define==="function"&&define.amd){define(factory);registeredInModuleLoader=true}if(typeof exports==="object"){module.exports=factory();registeredInModuleLoader=true}if(!registeredInModuleLoader){var OldCookies=window.Cookies;var api=window.Cookies=factory();api.noConflict=function(){window.Cookies=OldCookies;return api}}})(function(){function extend(){var i=0;var result={};for(;i<arguments.length;i++){var attributes=arguments[i];for(var key in attributes){result[key]=attributes[key]}}return result}function init(converter){function api(key,value,attributes){var result;if(typeof document==="undefined"){return}if(arguments.length>1){attributes=extend({path:"/"},api.defaults,attributes);if(typeof attributes.expires==="number"){var expires=new Date;expires.setMilliseconds(expires.getMilliseconds()+attributes.expires*864e5);attributes.expires=expires}attributes.expires=attributes.expires?attributes.expires.toUTCString():"";try{result=JSON.stringify(value);if(/^[\{\[]/.test(result)){value=result}}catch(e){}if(!converter.write){value=encodeURIComponent(String(value)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent)}else{value=converter.write(value,key)}key=encodeURIComponent(String(key));key=key.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent);key=key.replace(/[\(\)]/g,escape);var stringifiedAttributes="";for(var attributeName in attributes){if(!attributes[attributeName]){continue}stringifiedAttributes+="; "+attributeName;if(attributes[attributeName]===true){continue}stringifiedAttributes+="="+attributes[attributeName]}return document.cookie=key+"="+value+stringifiedAttributes}if(!key){result={}}var cookies=document.cookie?document.cookie.split("; "):[];var rdecode=/(%[0-9A-Z]{2})+/g;var i=0;for(;i<cookies.length;i++){var parts=cookies[i].split("=");var cookie=parts.slice(1).join("=");if(!this.json&&cookie.charAt(0)==='"'){cookie=cookie.slice(1,-1)}try{var name=parts[0].replace(rdecode,decodeURIComponent);cookie=converter.read?converter.read(cookie,name):converter(cookie,name)||cookie.replace(rdecode,decodeURIComponent);if(this.json){try{cookie=JSON.parse(cookie)}catch(e){}}if(key===name){result=cookie;break}if(!key){result[name]=cookie}}catch(e){}}return result}api.set=api;api.get=function(key){return api.call(api,key)};api.getJSON=function(){return api.apply({json:true},[].slice.call(arguments))};api.defaults={};api.remove=function(key,attributes){api(key,"",extend(attributes,{expires:-1}))};api.withConverter=init;return api}return init(function(){})});
7/*!/wp-content/plugins/uncode-privacy/assets/js/uncode-privacy-public.min.js*/
8(function($){"use strict";var query_args=location.search,base_url=location.protocol+"//"+location.host+location.pathname;if(-1!==query_args.indexOf("notify=1")){window.history.replaceState({},document.title,base_url)}window.uncode_toolkit_privacy_has_consent=function(consent){var consentSwitch=$("#gdpr-consent-"+consent);if(consentSwitch.length){if(consentSwitch.attr("data-default-on")==="true"&&consentSwitch.prop("checked")){return true}}if(Cookies.get("uncode_privacy[consent_types]")){var consentArray=JSON.parse(Cookie
8s.get("uncode_privacy[consent_types]"));if(consentArray.indexOf(consent)>-1){return true}}return false};$(function(){if(Uncode_Privacy_Parameters.logs_enabled==="yes"){$.ajax({url:Uncode_Privacy_Parameters.ajax_url,data:{action:"uncode_privacy_init_session",nonce_uncode_privacy_session:Uncode_Privacy_Parameters.nonce_uncode_privacy_session},type:"post",error:function(data){if(Uncode_Privacy_Parameters.enable_debug==true){console.log("Init session failed (1)")}},success:function(response){if(response&&response.success===false){if(Uncode_Privacy_Parameters.enable_debug==true){console.log("Init session failed (2)")}}else if(response&&response.success===true){if(Uncode_Privacy_Parameters.enable_debug==true){console.log("Init session ok")}}else{if(Uncode_Privacy_Parameters.enable_debug==true){console.log("Init session failed (3)")}}}})}if(!Cookies.get("uncode_privacy[privacy_bar]")){if($(".gdpr.gdpr-privacy-bar").hasClass("gdpr-privacy-bar--float")){$(".gdpr.gdpr-privacy-bar").show()}else{$(".gdpr.gdpr-privacy-bar").delay(1e3).slideDown(600)}}$(document).on("click",".gdpr.gdpr-privacy-bar .gdpr-agreement",function(){var _this=$(this);$("#uncode_privacy_save_cookies_from_banner").val(true);$("#uncode_privacy_save_cookies_from_banner_button").val("accept");if(_this.hasClass("gdpr-submit-consent")){if(_this.hasClass("gdpr-submit-accept-all")){var switches=$(".gdpr-privacy-preferences-frm").find(".gdpr-consent-switch");switches.each(function(){var _this=$(this);_this.prop("checked",true)})}$(".gdpr-privacy-preferences-frm").submit()}else{var secureFlag=location.protocol==="https:"?true:false;Cookies.set("uncode_privacy[privacy_bar]",1,{expires:365,secure:secureFlag})}$(".gdpr.gdpr-privacy-bar").addClass("gdpr-hide-bar")});$(document).on("click",".gdpr.gdpr-privacy-bar .gdpr-reject",function(){var has_switch_on=false;var switches=$(".gdpr-privacy-preferences-frm").find(".gdpr-consent-switch");$("#uncode_privacy_save_cookies_from_banner").val(true);$("#uncode_privacy_save_cookies_from_banner_button").val("reject");switches.each(function(){var _this=$(this);if(_this.prop("checked")){has_switch_on=true}_this.removeAttr("checked")});if(has_switch_on){$(".gdpr-privacy-preferences-frm").submit()}else{var secureFlag=location.protocol==="https:"?true:false;Cookies.set("uncode_privacy[privacy_bar]",1,{expires:365,secure:secureFlag})}$(".gdpr.gdpr-privacy-bar").addClass("gdpr-hide-bar")});$(document).on("submit",".gdpr-privacy-preferences-frm",function(){var secureFlag=location.protocol==="https:"?true:false;Cookies.set("uncode_privacy[privacy_bar]",1,{expires:365,secure:secureFlag})});$(document).on("click",".gdpr-preferences",function(){var type=$(this).data("type");$(".gdpr-overlay").fadeIn();$("body").addClass("gdpr-noscroll");$(".gdpr.gdpr-privacy-preferences .gdpr-wrapper").fadeIn()});$(document).on("click",".gdpr.gdpr-privacy-preferences .gdpr-close, .gdpr-overlay",function(){$(".gdpr-overlay").fadeOut();$("body").removeClass("gdpr-noscroll");$(".gdpr.gdpr-privacy-preferences .gdpr-wrapper").fadeOut()});$("body").on("click",".gdpr-preferences",function(e){e.preventDefault();$(window).trigger("gdprOpen")}).on("click",".gdpr.gdpr-privacy-preferences .gdpr-close, .gdpr-overlay",function(){$(window).trigger("gdprClose")});var switches=$(".gdpr-switch").find("input");function add_active_color(el){el.next().css("background",Uncode_Privacy_Parameters.accent_color)}function add_default_color(el){el.next().css("background","#ccc")}switches.each(function(){var _this=$(this);if($("body").hasClass("logged-in")){if(_this.prop("checked")){add_active_color(_this)}}_this.on("change",function(){if(_this.prop("checked")){add_active_color(_this)}else{add_default_color(_this)}})});if(!$("body").hasClass("logged-in")){switches.each(function(){var _this=$(this);var type=_this.attr("name")=="user_consents[]"?"consent":"cookie";if(type=="consent"){var is_allowed=uncode_toolkit_privacy_has_consent(_this.val());if(is_allowed){_this.prop("checked",true);add_active_color(_this)}else{_this.prop("checked",false);add_default_color(_this)}}})}var banner_links=$(".gdpr-privacy-bar .gdpr-content").find("a");banner_links.each(function(){add_link_color($(this))});function add_link_color(el){el.css("color",Uncode_Privacy_Parameters.accent_color)}})})(jQuery);
9/*!/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-consent-mode-755f1678e260138d789e.js*/
10(()=>{var n={243(n,t,r){n=r.nmd(n),function(){var r,e="Expected a function",u="__lodash_hash_undefined__",i="__lodash_placeholder__",o=32,f=128,a=1/0,c=9007199254740991,l=NaN,s=4294967295,h=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",o],["partialRight",64],["rearg",256]],p="[object Arguments]",v="[object Array]",_="[object Boolean]",g="[object Date]",y="[object Error]",d="[object Function]",b="[object GeneratorFunction]",w="[object Map]",m="[object Number]",x="[object Object]",j="[object Promise]",A="[object RegExp]",k="[object Set]",O="[object String]",E="[object Symbol]",I="[object WeakMap]",R="[object ArrayBuffer]",S="[object DataView]",z="[object Float32Array]",T="[object Float64Array
vendor: 5,155 bytes, line 10
10]",C="[object Int8Array]",L="[object Int16Array]",W="[object Int32Array]",U="[object Uint8Array]",B="[object Uint8ClampedArray]",$="[object Uint16Array]",D="[object Uint32Array]",M=/\b__p \+= '';/g,F=/\b(__p \+=) '' \+/g,N=/(__e\(.*?\)|\b__t\)) \+\n'';/g,P=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,Z=RegExp(P.source),K=RegExp(q.source),V=/<%-([\s\S]+?)%>/g,G=/<%([\s\S]+?)%>/g,H=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,Q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,X=/[\\^$.*+?()[\]{}|]/g,nn=RegExp(X.source),tn=/^\s+/,rn=/\s/,en=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,un=/\{\n\/\* \[wrapped with (.+)\] \*/,on=/,? & /,fn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,an=/[()=,{}\[\]\/\s]/,cn=/\\(\\)?/g,ln=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sn=/\w*$/,hn=/^[-+]0x[0-9a-f]+$/i,pn=/^0b[01]+$/i,vn=/^\[object .+?Constructor\]$/,_n=/^0o[0-7]+$/i,gn=/^(?:0|[1-9]\d*)$/,yn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,dn=/($^)/,bn=/['\n\r\u2028\u2029\\]/g,wn="\\ud800-\\udfff",mn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xn="\\u2700-\\u27bf",jn="a-z\\xdf-\\xf6\\xf8-\\xff",An="A-Z\\xc0-\\xd6\\xd8-\\xde",kn="\\ufe0e\\ufe0f",On="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",En="["+wn+"]",In="["+On+"]",Rn="["+mn+"]",Sn="\\d+",zn="["+xn+"]",Tn="["+jn+"]",Cn="[^"+wn+On+Sn+xn+jn+An+"]",Ln="\\ud83c[\\udffb-\\udfff]",Wn="[^"+wn+"]",Un="(?:\\ud83c[\\udde6-\\uddff]){2}",Bn="[\\ud800-\\udbff][\\udc00-\\udfff]",$n="["+An+"]",Dn="\\u200d",Mn="(?:"+Tn+"|"+Cn+")",Fn="(?:"+$n+"|"+Cn+")",Nn="(?:['’](?:d|ll|m|re|s|t|ve))?",Pn="(?:['’](?:D|LL|M|RE|S|T|VE))?",qn="(?:"+Rn+"|"+Ln+")?",Zn="["+kn+"]?",Kn=Zn+qn+"(?:"+Dn+"(?:"+[Wn,Un,Bn].join("|")+")"+Zn+qn+")*",Vn="(?:"+[zn,Un,Bn].join("|")+")"+Kn,Gn="(?:"+[Wn+Rn+"?",Rn,Un,Bn,En].join("|")+")",Hn=RegExp("['’]","g"),Jn=RegExp(Rn,"g"),Yn=RegExp(Ln+"(?="+Ln+")|"+Gn+Kn,"g"),Qn=RegExp([$n+"?"+Tn+"+"+Nn+"(?="+[In,$n,"$"].join("|")+")",Fn+"+"+Pn+"(?="+[In,$n+Mn,"$"].join("|")+")",$n+"?"+Mn+"+"+Nn,$n+"+"+Pn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Sn,Vn].join("|"),"g"),Xn=RegExp("["+Dn+wn+mn+kn+"]"),nt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,tt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,et={};et[z]=et[T]=et[C]=et[L]=et[W]=et[U]=et[B]=et[$]=et[D]=!0,et[p]=et[v]=et[R]=et[_]=et[S]=et[g]=et[y]=et[d]=et[w]=et[m]=et[x]=et[A]=et[k]=et[O]=et[I]=!1;var ut={};ut[p]=ut[v]=ut[R]=ut[S]=ut[_]=ut[g]=ut[z]=ut[T]=ut[C]=ut[L]=ut[W]=ut[w]=ut[m]=ut[x]=ut[A]=ut[k]=ut[O]=ut[E]=ut[U]=ut[B]=ut[$]=ut[D]=!0,ut[y]=ut[d]=ut[I]=!1;var it={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ot=parseFloat,ft=parseInt,at="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis,ct="object"==typeof self&&self&&self.Object===Object&&self,lt=at||ct||Function("return this")(),st=t&&!t.nodeType&&t,ht=st&&n&&!n.nodeType&&n,pt=ht&&ht.exports===st,vt=pt&&at.process,_t=function(){try{return ht&&ht.require&&ht.require("util").types||vt&&vt.binding&&vt.binding("util")}catch(n){}}(),gt=_t&&_t.isArrayBuffer,yt=_t&&_t.isDate,dt=_t&&_t.isMap,bt=_t&&_t.isRegExp,wt=_t&&_t.isSet,mt=_t&&_t.isTypedArray;function xt(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function jt(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u<i;){var o=n[u];t(e,o,r(o),n)}return e}function At(n,t){for(var r=-1,e=null==n?0:n.length;++r<e&&!1!==t(n[r],r,n););return n}function kt(n,t){for(var r=null==n?0:n.length;r--&&!1!==t(n[r],r,n););return n}function Ot(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(!t(n[r],r,n))return!1;return!0}function Et(n,t){for(var r=-1,e=null==n?0:n.length,u=0,i=[];++r<e;){var o=n[r];t(o,r,n)&&(i[u++]=o)}return i}function It(n,t){return!(null==n||!n.length)&&$t(n,t,0)>-1}function Rt(n,t,r){for(var e=-1,u=null==n?0:n.length;++e<u;)if(r(t,n[e]))return!0;return!1}function St(n,t){for(var r=-1,e=null==n?0:n.length,u=Array(e);++r<e;)u[r]=t(n[r],r,n);return u}function zt(n,t){for(var r=-1,e=t.length,u=n.length;++r<e;)n[u+r]=t[r];return n}function Tt(n,t,r,e){var u=-1,i=null==n?0:n.length;for(e&&i&&(r=n[++u]);++u<i;)r=t(r,n[u],u,n);return r}function Ct(n,t,r,e){var u=null==n?0:n.length;for(e&&u&&(r=n[--u]);u--;)r=t(r,n[u],u,n);return r}function Lt(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(t(n[r],r,n))return!0;return!1}var Wt=Nt("length");function Ut(n,t,r){var e;return r(n,function(n,r,u){if(t(n,r,u))return e=r,!1}),e}function Bt(n,t,r,e){for(var u=n.length,i=r+(e?1:-1);e?i--:++i<u;
vendor: 11,623 bytes, line 10
10)if(t(n[i],i,n))return i;return-1}function $t(n,t,r){return t==t?function(n,t,r){for(var e=r-1,u=n.length;++e<u;)if(n[e]===t)return e;return-1}(n,t,r):Bt(n,Mt,r)}function Dt(n,t,r,e){for(var u=r-1,i=n.length;++u<i;)if(e(n[u],t))return u;return-1}function Mt(n){return n!=n}function Ft(n,t){var r=null==n?0:n.length;return r?Zt(n,t)/r:l}function Nt(n){return function(t){return null==t?r:t[n]}}function Pt(n){return function(t){return null==n?r:n[t]}}function qt(n,t,r,e,u){return u(n,function(n,u,i){r=e?(e=!1,n):t(r,n,u,i)}),r}function Zt(n,t){for(var e,u=-1,i=n.length;++u<i;){var o=t(n[u]);o!==r&&(e=e===r?o:e+o)}return e}function Kt(n,t){for(var r=-1,e=Array(n);++r<n;)e[r]=t(r);return e}function Vt(n){return n?n.slice(0,lr(n)+1).replace(tn,""):n}function Gt(n){return function(t){return n(t)}}function Ht(n,t){return St(t,function(t){return n[t]})}function Jt(n,t){return n.has(t)}function Yt(n,t){for(var r=-1,e=n.length;++r<e&&$t(t,n[r],0)>-1;);return r}function Qt(n,t){for(var r=n.length;r--&&$t(t,n[r],0)>-1;);return r}var Xt=Pt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),nr=Pt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function tr(n){return"\\"+it[n]}function rr(n){return Xn.test(n)}function er(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function ur(n,t){return function(r){return n(t(r))}}function ir(n,t){for(var r=-1,e=n.length,u=0,o=[];++r<e;){var f=n[r];f!==t&&f!==i||(n[r]=i,o[u++]=r)}return o}function or(n){var t=-1,r=Array(n.size);return n.forEach(function(n){r[++t]=n}),r}function fr(n){var t=-1,r=Array(n.size);return n.forEach(function(n){r[++t]=[n,n]}),r}function ar(n){return rr(n)?function(n){for(var t=Yn.lastIndex=0;Yn.test(n);)++t;return t}(n):Wt(n)}function cr(n){return rr(n)?function(n){return n.match(Yn)||[]}(n):function(n){return n.split("")}(n)}function lr(n){for(var t=n.length;t--&&rn.test(n.charAt(t)););return t}var sr=Pt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),hr=function n(t){var rn,wn=(t=null==t?lt:hr.defaults(lt.Object(),t,hr.pick(lt,tt))).Array,mn=t.Date,xn=t.Error,jn=t.Function,An=t.Math,kn=t.Object,On=t.RegExp,En=t.String,In=t.TypeError,Rn=wn.prototype,Sn=jn.prototype,zn=kn.prototype,Tn=t["__core-js_shared__"],Cn=Sn.toString,Ln=zn.hasOwnProperty,Wn=0,Un=(rn=/[^.]+$/.exec(Tn&&Tn.keys&&Tn.keys.IE_PROTO||""))?"Symbol(src)_1."+rn:"",Bn=zn.toString,$n=Cn.call(kn),Dn=lt._,Mn=On("^"+Cn.call(Ln).replace(X,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fn=pt?t.Buffer:r,Nn=t.Symbol,Pn=t.Uint8Array,qn=Fn?Fn.allocUnsafe:r,Zn=ur(kn.getPrototypeOf,kn),Kn=kn.create,Vn=zn.propertyIsEnumerable,Gn=Rn.splice,Yn=Nn?Nn.isConcatSpreadable:r,Xn=Nn?Nn.iterator:r,it=Nn?Nn.toStringTag:r,at=function(){try{var n=ai(kn,"defineProperty");return n({},"",{}),n}catch(n){}}(),ct=t.clearTimeout!==lt.clearTimeout&&t.clearTimeout,st=mn&&mn.now!==lt.Date.now&&mn.now,ht=t.setTimeout!==lt.setTimeout&&t.setTimeout,vt=An.ceil,_t=An.floor,Wt=kn.getOwnPropertySymbols,Pt=Fn?Fn.isBuffer:r,pr=t.isFinite,vr=Rn.join,_r=ur(kn.keys,kn),gr=An.max,yr=An.min,dr=mn.now,br=t.parseInt,wr=An.random,mr=Rn.reverse,xr=ai(t,"DataView"),jr=ai(t,"Map"),Ar=ai(t,"Promise"),kr=ai(t,"Set"),Or=ai(t,"WeakMap"),Er=ai(kn,"create"),Ir=Or&&new Or,Rr={},Sr=Ui(xr),zr=Ui(jr),Tr=Ui(Ar),Cr=Ui(kr),Lr=Ui(Or),Wr=Nn?Nn.prototype:r,Ur=Wr?Wr.valueOf:r,Br=Wr?Wr.toString:r;function $r(n){if(nf(n)&&!Po(n)&&!(n instanceof Nr)){if(n instanceof Fr)return n;if(Ln.call(n,"__wrapped__"))return Bi(n)}return new Fr(n)}var Dr=function(){function n(){}return function(t){if(!Xo(t))return{};if(Kn)return Kn(t);n.prototype=t;var e=new n;return n.prototype=r,e}}();function Mr(){}function Fr(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function Nr(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=s,this.__views__=[]}function Pr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function qr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function Zr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function Kr(n){var t=-1,r=null==n?0:n.length;for(this.__data__=new Zr;++t<r;)this.add(n[t])}function Vr(n){var t=this.__data__=new qr(n);this.size=t.size}function Gr(n,t){var r=Po(n),e=!r&&No(n),u=!r&&!e&&Vo(n),i=!r&&!e&&!u&&cf(n),o=r||e||u||i,f=o?Kt(n.length,En):[],a=f.length;for(var c in n)!t&&!Ln.call(n,c)||o&&("length"==c||u&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_i(c,a))||f.push(c);return f}function Hr(n){var t=n.length;return t?n[Ze(0,t-1)]:r}function Jr(n,t){return zi(Ou(n),ie(t,0,n.length))}function Yr(n){return zi(Ou(n))}function Qr(n,t,e){(e!==r&&!Do(n[t],e)||e===r&&!(t in n))&&ee(n,t,e)}function Xr(n,t,e){var u=n[t];Ln.call(n,t)&&Do(u,e)&&(e!==r||t in n)||ee(n,t,e)}function ne(n,t){for(var r=n.length;r--;)if(Do(n[r][0],t))return r;return-1}function te(n,t,r,e){return le(n,function(n,u,i){t(e,n,r(n),i)}),e}function re(n,t){return n&&Eu(t,zf(t),n)}function ee(n,t,r){"__proto__"==t&&at?at(n,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):n[t]=r}function ue(n,t){for(var e=-1,u=t.length,i=wn(u),o=null==n;++e<u;)i[e]=o?r:Of(n,t[e]);return i}function ie(n,t,e){return n==n&&(e!==r&&(n=n<=e?n:e),t!==r&&(n=n>=t?n:t)),n}function oe(n,t,e,u,i,o){var f,a=1&t,c=2&t,l=4&t;if(e&&(f=i?e(n,u,i,o):e(n)),f!==r)return f;if(!Xo(n))return n;var s=Po(n);if(s){if(f=function(n){var t=n.length,r=new n.constructor(t);return t&&"string"==typeof n[0]&&Ln.call(n,"index")&&(r.index=n.index,r.input=n.input),r}(n),!a)return Ou(n,f)}else{var h=si(n),v=h==d||h==b;if(Vo(n))return wu(n,a);if(h==x||h==p||v&&!i){if(f=c||v?{}:pi(n),!a)return c?function(n,t){return Eu(n,li(n),t)}(n,function(n,t){return n&&Eu(t,Tf(t),n)}(f,n)):function(n,t){return Eu(n,ci(n),t)}(n,re(f,n))}else{if(!ut[h])return i?n:{};f=function(n,t,r){var e,u=n.constructor;switch(t){case R:return mu(n);case _:case g:return new u(+n);case S:return function(n,t){var r=t?mu(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}(n,r);case z:case T:case C:case L:case W:case U:case B:case $:case D:return xu(n,r);case w:return new u;case m:case O:return new u(n);case A:return function(n){var t=new n.constructor(n.source,sn.exec(n));return t.lastIndex=n.lastIndex,t}(n);case k:return new u;case E:return e=n,Ur?kn(Ur.call(e)):{}}}(n,h,a)}}o||(o=new Vr);var y=o.get(n);if(y)return y;o.set(n,f),of(n)?n.forEach(function(r){f.add(oe(r,t,e,r,n,o))}):tf(n)&&n.forEach(function(r,u){f.set(u,oe(r,t,e,u,n,o))});var j=s?r:(l?c?ti:ni:c?Tf:zf)(n);return At(j||n,function(r,u){j&&(r=n[u=r]),Xr(f,u,oe(r,t,e,u,n,o))}),f}function fe(n,t,e){var u=e.length;if(null==n)return!u;for(n=kn(n);u--;){var i=e[u],o=t[i],f=n[i];if(f===r&&!(i in n)||!o(f))return!1}return!0}function ae(n,t,u){if("function"!=typeof n)throw new In(e);return Ei(function(){n.apply(r,u)},t)}function ce(n,t,r,e){var u=-1,i=It,o=!0,f=n.length,a=[],c=t.length;if(!f)return a;r&&(t=St(t,Gt(r))),e?(i=Rt,o=!1):t.length>=200&&(i=Jt,o=!1,t=new Kr(t));n:for(;++u<f;){var l=n[u],s=null==r?l:r(l);if(l=e||0!==l?l:0,o&&s==s){for(var h=c;h--;)if(t[h]===s)continue n;a.push(l)}else i(t,s,e)||a.push(l)}return a}$r.templateSettings={escape:V,evaluate:G,interpolate:H,variable:"",imports:{_:$r}},$r.prototype=Mr.prototype,$r.prototype.constructor=$r,Fr.prototype=Dr(Mr.prototype),Fr.prototype.constructor=Fr,Nr.prototype=Dr(Mr.prototype),Nr.prototype.constructor=Nr,Pr.prototype.clear=function(){this.__data__=Er?Er(null):{},this.size=0},Pr.prototype.delete=function(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t},Pr.prototype.get=function(n){var t=this.__data__;if(Er){var e=t[n];return e===u?r:e}return Ln.call(t,n)?t[n]:r},Pr.prototype.has=function(n){var t=this.__data__;return Er?t[n]!==r:Ln.call(t,n)},Pr.prototype.set=function(n,t){var e=this.__data__;return this.size+=this.has(n)?0:1,e[n]=Er&&t===r?u:t,this},qr.prototype.clear=function(){this.__data__=[],this.size=0},qr.prototype.delete=function(n){var t=this.__data__,r=ne(t,n);return!(r<0||(r==t.length-1?t.pop():Gn.call(t,r,1),--this.size,0))},qr.prototype.get=function(n){var t=this.__data__,e=ne(t,n);return e<0?r:t[e][1]},qr.prototype.has=function(n){return ne(this.__data__,n)>-1},qr.prototype.set=function(n,t){var r=this.__data__,e=ne(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Pr,map:new(jr||qr),string:new Pr}},Zr.prototype.delete=function(n){var t=oi(this,n).delete(n);return this.size-=t?1:0,t},Zr.prototype.get=function(n){return oi(this,n).get(n)},Zr.prototype.has=function(n){return oi(this,n).has(n)},Zr.prototype.set=function(n,t){var r=oi(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Kr.prototype.add=Kr.prototype.push=function(n){return this.__data__.set(n,u),this},Kr.prototype.has=function(n){return this.__data__.has(n)},Vr.prototype.clear=function(){this.__data__=new qr,this.size=0},Vr.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},Vr.prototype.get=function(n){return this.__data__.get(n)},Vr.prototype.has=function(n){return this.__data__.has(n)},Vr.prototype.set=function(n,t){var r=this.__data__;if(r instanceof qr){var e=r.__data__;if(!jr||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(n,t),this.size=r.size,this};var le=Su(de),se=Su(be,!0);function he(n,t){var r=!0;return le(n,function(n,e,u){return r=!!t(n,e,u)}),r}function pe(n,t,e){for(var u=-1,i=n.length;++u<i;){var o=n[u],f=t(o);if(null!=f&&(a===r?f==f&&!af(f):e(f,a)))var a=f,c=o}return c}function ve(n,t){var r=[];return le(n,function(n,e,u){t(n,e,u)&&r.push(n)}),r}function _e(n,t,r,e,u){var i=-1,o=n.length;for(r||(r=vi),u||(u=[]);++i<o;){var f=n[i];t>0&&r(f)?t>1?_e(f,t-1,r,e,u):zt(u,f):e||(u[u.length]=f)}return u}var ge=zu(),ye=zu(!0);function de(n,t){return n&&ge(n,t,zf)}function be(n,t){return n&&ye(n,t,zf)}function we(n,t){return Et(t,function(t){return Jo(n[t])})}function me(n,t){for(var e=0,u=(t=gu(t,n)).length;null!=n&&e<u;)n=n[Wi(t[e++])];return e&&e==u?n:r}function xe(n,t,r){var e=t(n);return Po(n)?e:zt(e,r(n))}
vendor: 1,821 bytes, line 10
10function je(n){return null==n?n===r?"[object Undefined]":"[object Null]":it&&it in kn(n)?function(n){var t=Ln.call(n,it),e=n[it];try{n[it]=r;var u=!0}catch(n){}var i=Bn.call(n);return u&&(t?n[it]=e:delete n[it]),i}(n):function(n){return Bn.call(n)}(n)}function Ae(n,t){return n>t}function ke(n,t){return null!=n&&Ln.call(n,t)}function Oe(n,t){return null!=n&&t in kn(n)}function Ee(n,t,e){for(var u=e?Rt:It,i=n[0].length,o=n.length,f=o,a=wn(o),c=1/0,l=[];f--;){var s=n[f];f&&t&&(s=St(s,Gt(t))),c=yr(s.length,c),a[f]=!e&&(t||i>=120&&s.length>=120)?new Kr(f&&s):r}s=n[0];var h=-1,p=a[0];n:for(;++h<i&&l.length<c;){var v=s[h],_=t?t(v):v;if(v=e||0!==v?v:0,!(p?Jt(p,_):u(l,_,e))){for(f=o;--f;){var g=a[f];if(!(g?Jt(g,_):u(n[f],_,e)))continue n}p&&p.push(_),l.push(v)}}return l}function Ie(n,t,e){var u=null==(n=Ai(n,t=gu(t,n)))?n:n[Wi(Gi(t))];return null==u?r:xt(u,n,e)}function Re(n){return nf(n)&&je(n)==p}function Se(n,t,e,u,i){return n===t||(null==n||null==t||!nf(n)&&!nf(t)?n!=n&&t!=t:function(n,t,e,u,i,o){var f=Po(n),a=Po(t),c=f?v:si(n),l=a?v:si(t),s=(c=c==p?x:c)==x,h=(l=l==p?x:l)==x,d=c==l;if(d&&Vo(n)){if(!Vo(t))return!1;f=!0,s=!1}if(d&&!s)return o||(o=new Vr),f||cf(n)?Qu(n,t,e,u,i,o):function(n,t,r,e,u,i,o){switch(r){case S:if(n.byteLength!=t.byteLength||n.byteOffset!=t.byteOffset)return!1;n=n.buffer,t=t.buffer;case R:return!(n.byteLength!=t.byteLength||!i(new Pn(n),new Pn(t)));case _:case g:case m:return Do(+n,+t);case y:return n.name==t.name&&n.message==t.message;case A:case O:return n==t+"";case w:var f=er;case k:var a=1&e;if(f||(f=or),n.size!=t.size&&!a)return!1;var c=o.get(n);if(c)return c==t;e|=2,o.set(n,t);var l=Qu(f(n),f(t),e,u,i,o);return o.delete(n),l;case E:if(Ur)return Ur.call(n)==Ur.call(t)}return!1}(n,t,c,e,u,i,o);if(!(1&e)){var b=s&&Ln.call(n,"__wrapped__"),j=h&&Ln.call(t,"__wrapped__");
vendor: 31,087 bytes, line 10
10if(b||j){var I=b?n.value():n,z=j?t.value():t;return o||(o=new Vr),i(I,z,e,u,o)}}return!!d&&(o||(o=new Vr),function(n,t,e,u,i,o){var f=1&e,a=ni(n),c=a.length;if(c!=ni(t).length&&!f)return!1;for(var l=c;l--;){var s=a[l];if(!(f?s in t:Ln.call(t,s)))return!1}var h=o.get(n),p=o.get(t);if(h&&p)return h==t&&p==n;var v=!0;o.set(n,t),o.set(t,n);for(var _=f;++l<c;){var g=n[s=a[l]],y=t[s];if(u)var d=f?u(y,g,s,t,n,o):u(g,y,s,n,t,o);if(!(d===r?g===y||i(g,y,e,u,o):d)){v=!1;break}_||(_="constructor"==s)}if(v&&!_){var b=n.constructor,w=t.constructor;b==w||!("constructor"in n)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(v=!1)}return o.delete(n),o.delete(t),v}(n,t,e,u,i,o))}(n,t,e,u,Se,i))}function ze(n,t,e,u){var i=e.length,o=i,f=!u;if(null==n)return!o;for(n=kn(n);i--;){var a=e[i];if(f&&a[2]?a[1]!==n[a[0]]:!(a[0]in n))return!1}for(;++i<o;){var c=(a=e[i])[0],l=n[c],s=a[1];if(f&&a[2]){if(l===r&&!(c in n))return!1}else{var h=new Vr;if(u)var p=u(l,s,c,n,t,h);if(!(p===r?Se(s,l,3,u,h):p))return!1}}return!0}function Te(n){return!(!Xo(n)||(t=n,Un&&Un in t))&&(Jo(n)?Mn:vn).test(Ui(n));var t}function Ce(n){return"function"==typeof n?n:null==n?ea:"object"==typeof n?Po(n)?$e(n[0],n[1]):Be(n):ha(n)}function Le(n){if(!wi(n))return _r(n);var t=[];for(var r in kn(n))Ln.call(n,r)&&"constructor"!=r&&t.push(r);return t}function We(n,t){return n<t}function Ue(n,t){var r=-1,e=Zo(n)?wn(n.length):[];return le(n,function(n,u,i){e[++r]=t(n,u,i)}),e}function Be(n){var t=fi(n);return 1==t.length&&t[0][2]?xi(t[0][0],t[0][1]):function(r){return r===n||ze(r,n,t)}}function $e(n,t){return yi(n)&&mi(t)?xi(Wi(n),t):function(e){var u=Of(e,n);return u===r&&u===t?Ef(e,n):Se(t,u,3)}}function De(n,t,e,u,i){n!==t&&ge(t,function(o,f){if(i||(i=new Vr),Xo(o))!function(n,t,e,u,i,o,f){var a=ki(n,e),c=ki(t,e),l=f.get(c);if(l)Qr(n,e,l);else{var s=o?o(a,c,e+"",n,t,f):r,h=s===r;if(h){var p=Po(c),v=!p&&Vo(c),_=!p&&!v&&cf(c);s=c,p||v||_?Po(a)?s=a:Ko(a)?s=Ou(a):v?(h=!1,s=wu(c,!0)):_?(h=!1,s=xu(c,!0)):s=[]:ef(c)||No(c)?(s=a,No(a)?s=yf(a):Xo(a)&&!Jo(a)||(s=pi(c))):h=!1}h&&(f.set(c,s),i(s,c,u,o,f),f.delete(c)),Qr(n,e,s)}}(n,t,f,e,De,u,i);else{var a=u?u(ki(n,f),o,f+"",n,t,i):r;a===r&&(a=o),Qr(n,f,a)}},Tf)}function Me(n,t){var e=n.length;if(e)return _i(t+=t<0?e:0,e)?n[t]:r}function Fe(n,t,r){t=t.length?St(t,function(n){return Po(n)?function(t){return me(t,1===n.length?n[0]:n)}:n}):[ea];var e=-1;t=St(t,Gt(ii()));var u=Ue(n,function(n,r,u){var i=St(t,function(t){return t(n)});return{criteria:i,index:++e,value:n}});return function(n){var t=n.length;for(n.sort(function(n,t){return function(n,t,r){for(var e=-1,u=n.criteria,i=t.criteria,o=u.length,f=r.length;++e<o;){var a=ju(u[e],i[e]);if(a)return e>=f?a:a*("desc"==r[e]?-1:1)}return n.index-t.index}(n,t,r)});t--;)n[t]=n[t].value;return n}(u)}function Ne(n,t,r){for(var e=-1,u=t.length,i={};++e<u;){var o=t[e],f=me(n,o);r(f,o)&&Je(i,gu(o,n),f)}return i}function Pe(n,t,r,e){var u=e?Dt:$t,i=-1,o=t.length,f=n;for(n===t&&(t=Ou(t)),r&&(f=St(n,Gt(r)));++i<o;)for(var a=0,c=t[i],l=r?r(c):c;(a=u(f,l,a,e))>-1;)f!==n&&Gn.call(f,a,1),Gn.call(n,a,1);return n}function qe(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;_i(u)?Gn.call(n,u,1):au(n,u)}}return n}function Ze(n,t){return n+_t(wr()*(t-n+1))}function Ke(n,t){var r="";if(!n||t<1||t>c)return r;do{t%2&&(r+=n),(t=_t(t/2))&&(n+=n)}while(t);return r}function Ve(n,t){return Ii(ji(n,t,ea),n+"")}function Ge(n){return Hr(Mf(n))}function He(n,t){var r=Mf(n);return zi(r,ie(t,0,r.length))}function Je(n,t,e,u){if(!Xo(n))return n;for(var i=-1,o=(t=gu(t,n)).length,f=o-1,a=n;null!=a&&++i<o;){var c=Wi(t[i]),l=e;if("__proto__"===c||"constructor"===c||"prototype"===c)return n;if(i!=f){var s=a[c];(l=u?u(s,c,a):r)===r&&(l=Xo(s)?s:_i(t[i+1])?[]:{})}Xr(a,c,l),a=a[c]}return n}var Ye=Ir?function(n,t){return Ir.set(n,t),n}:ea,Qe=at?function(n,t){return at(n,"toString",{configurable:!0,enumerable:!1,value:na(t),writable:!0})}:ea;function Xe(n){return zi(Mf(n))}function nu(n,t,r){var e=-1,u=n.length;t<0&&(t=-t>u?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=wn(u);++e<u;)i[e]=n[e+t];return i}function tu(n,t){var r;return le(n,function(n,e,u){return!(r=t(n,e,u))}),!!r}function ru(n,t,r){var e=0,u=null==n?e:n.length;if("number"==typeof t&&t==t&&u<=2147483647){for(;e<u;){var i=e+u>>>1,o=n[i];null!==o&&!af(o)&&(r?o<=t:o<t)?e=i+1:u=i}return u}return eu(n,t,ea,r)}function eu(n,t,e,u){var i=0,o=null==n?0:n.length;if(0===o)return 0;for(var f=(t=e(t))!=t,a=null===t,c=af(t),l=t===r;i<o;){var s=_t((i+o)/2),h=e(n[s]),p=h!==r,v=null===h,_=h==h,g=af(h);if(f)var y=u||_;else y=l?_&&(u||p):a?_&&p&&(u||!v):c?_&&p&&!v&&(u||!g):!v&&!g&&(u?h<=t:h<t);y?i=s+1:o=s}return yr(o,4294967294)}function uu(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var o=n[r],f=t?t(o):o;if(!r||!Do(f,a)){var a=f;i[u++]=0===o?0:o}}return i}function iu(n){return"number"==typeof n?n:af(n)?l:+n}function ou(n){if("string"==typeof n)return n;if(Po(n))return St(n,ou)+"";if(af(n))return Br?Br.call(n):"";var t=n+"";return"0"==t&&1/n==-1/0?"-0":t}function fu(n,t,r){var e=-1,u=It,i=n.length,o=!0,f=[],a=f;if(r)o=!1,u=Rt;else if(i>=200){var c=t?null:Ku(n);if(c)return or(c);o=!1,u=Jt,a=new Kr}else a=t?[]:f;n:for(;++e<i;){var l=n[e],s=t?t(l):l;if(l=r||0!==l?l:0,o&&s==s){for(var h=a.length;h--;)if(a[h]===s)continue n;t&&a.push(s),f.push(l)}else u(a,s,r)||(a!==f&&a.push(s),f.push(l))}return f}function au(n,t){var r=-1,e=(t=gu(t,n)).length;if(!e)return!0;for(;++r<e;){var u=Wi(t[r]);if("__proto__"===u&&!Ln.call(n,"__proto__"))return!1;if(("constructor"===u||"prototype"===u)&&r<e-1)return!1}var i=Ai(n,t);return null==i||delete i[Wi(Gi(t))]}function cu(n,t,r,e){return Je(n,t,r(me(n,t)),e)}function lu(n,t,r,e){for(var u=n.length,i=e?u:-1;(e?i--:++i<u)&&t(n[i],i,n););return r?nu(n,e?0:i,e?i+1:u):nu(n,e?i+1:0,e?u:i)}function su(n,t){var r=n;return r instanceof Nr&&(r=r.value()),Tt(t,function(n,t){return t.func.apply(t.thisArg,zt([n],t.args))},r)}function hu(n,t,r){var e=n.length;if(e<2)return e?fu(n[0]):[];for(var u=-1,i=wn(e);++u<e;)for(var o=n[u],f=-1;++f<e;)f!=u&&(i[u]=ce(i[u]||o,n[f],t,r));return fu(_e(i,1),t,r)}function pu(n,t,e){for(var u=-1,i=n.length,o=t.length,f={};++u<i;){var a=u<o?t[u]:r;e(f,n[u],a)}return f}function vu(n){return Ko(n)?n:[]}function _u(n){return"function"==typeof n?n:ea}function gu(n,t){return Po(n)?n:yi(n,t)?[n]:Li(df(n))}var yu=Ve;function du(n,t,e){var u=n.length;return e=e===r?u:e,!t&&e>=u?n:nu(n,t,e)}var bu=ct||function(n){return lt.clearTimeout(n)};function wu(n,t){if(t)return n.slice();var r=n.length,e=qn?qn(r):new n.constructor(r);return n.copy(e),e}function mu(n){var t=new n.constructor(n.byteLength);return new Pn(t).set(new Pn(n)),t}function xu(n,t){var r=t?mu(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function ju(n,t){if(n!==t){var e=n!==r,u=null===n,i=n==n,o=af(n),f=t!==r,a=null===t,c=t==t,l=af(t);if(!a&&!l&&!o&&n>t||o&&f&&c&&!a&&!l||u&&f&&c||!e&&c||!i)return 1;if(!u&&!o&&!l&&n<t||l&&e&&i&&!u&&!o||a&&e&&i||!f&&i||!c)return-1}return 0}function Au(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,a=t.length,c=gr(i-o,0),l=wn(a+c),s=!e;++f<a;)l[f]=t[f];for(;++u<o;)(s||u<i)&&(l[r[u]]=n[u]);for(;c--;)l[f++]=n[u++];return l}function ku(n,t,r,e){for(var u=-1,i=n.length,o=-1,f=r.length,a=-1,c=t.length,l=gr(i-f,0),s=wn(l+c),h=!e;++u<l;)s[u]=n[u];for(var p=u;++a<c;)s[p+a]=t[a];for(;++o<f;)(h||u<i)&&(s[p+r[o]]=n[u++]);return s}function Ou(n,t){var r=-1,e=n.length;for(t||(t=wn(e));++r<e;)t[r]=n[r];return t}function Eu(n,t,e,u){var i=!e;e||(e={});for(var o=-1,f=t.length;++o<f;){var a=t[o],c=u?u(e[a],n[a],a,e,n):r;c===r&&(c=n[a]),i?ee(e,a,c):Xr(e,a,c)}return e}function Iu(n,t){return function(r,e){var u=Po(r)?jt:te,i=t?t():{};return u(r,n,ii(e,2),i)}}function Ru(n){return Ve(function(t,e){var u=-1,i=e.length,o=i>1?e[i-1]:r,f=i>2?e[2]:r;for(o=n.length>3&&"function"==typeof o?(i--,o):r,f&&gi(e[0],e[1],f)&&(o=i<3?r:o,i=1),t=kn(t);++u<i;){var a=e[u];a&&n(t,a,u,o)}return t})}function Su(n,t){return function(r,e){if(null==r)return r;if(!Zo(r))return n(r,e);for(var u=r.length,i=t?u:-1,o=kn(r);(t?i--:++i<u)&&!1!==e(o[i],i,o););return r}}function zu(n){return function(t,r,e){for(var u=-1,i=kn(t),o=e(t),f=o.length;f--;){var a=o[n?f:++u];if(!1===r(i[a],a,i))break}return t}}function Tu(n){return function(t){var e=rr(t=df(t))?cr(t):r,u=e?e[0]:t.charAt(0),i=e?du(e,1).join(""):t.slice(1);return u[n]()+i}}function Cu(n){return function(t){return Tt(Yf(Pf(t).replace(Hn,"")),n,"")}}function Lu(n){return function(){var t=arguments;switch(t.length){case 0:return new n;case 1:return new n(t[0]);case 2:return new n(t[0],t[1]);case 3:return new n(t[0],t[1],t[2]);case 4:return new n(t[0],t[1],t[2],t[3]);case 5:return new n(t[0],t[1],t[2],t[3],t[4]);case 6:return new n(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new n(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Dr(n.prototype),e=n.apply(r,t);return Xo(e)?e:r}}function Wu(n){return function(t,e,u){var i=kn(t);if(!Zo(t)){var o=ii(e,3);t=zf(t),e=function(n){return o(i[n],n,i)}}var f=n(t,e,u);return f>-1?i[o?t[f]:f]:r}}function Uu(n){return Xu(function(t){var u=t.length,i=u,o=Fr.prototype.thru;for(n&&t.reverse();i--;){var f=t[i];if("function"!=typeof f)throw new In(e);if(o&&!a&&"wrapper"==ei(f))var a=new Fr([],!0)}for(i=a?i:u;++i<u;){var c=ei(f=t[i]),l="wrapper"==c?ri(f):r;a=l&&di(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?a[ei(l[0])].apply(a,l[3]):1==f.length&&di(f)?a[c]():a.thru(f)}return function(){var n=arguments,r=n[0];if(a&&1==n.length&&Po(r))return a.plant(r).value();for(var e=0,i=u?t[e].apply(this,n):r;++e<u;)i=t[e].call(this,i);return i}})}function Bu(n,t,e,u,i,o,a,c,l,s){var h=t&f,p=1&t,v=2&t,_=24&t,g=512&t,y=v?r:Lu(n);return function f(){for(var d=arguments.length,b=wn(d),w=d;w--;)b[w]=arguments[w];if(_)var m=ui(f),x=function(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;return e}(b,m);if(u&&(b=Au(b,u,i,_)),o&&(b=ku(b,o,a,_)),d-=x,_&&d<s){var j=ir(b,m);return qu(n,t,Bu,f.placeholder,e,b,j,c,l,s-d)}var A=p?e:this,k=v?A[n]:n;return d=b.length,c?b=function(n,t){for(var e=n.length,u=yr(t.length,e),i=Ou(n);u--;){var o=t[u];n[u]=_i(o,e)?i[o]:r}return n}(b,c):g&&d>1&&b.reverse(),h&&l<d&&(b.length=l),this&&this!==lt&&this instanceof f&&(k=y||Lu(k)),k.apply(A,b)}}function $u(n,t){return function(r,e){return function(n,t,r,e){return de(n,function(n,u,i){t(e,r(n),u,i)}),e}(r,n,t(e),{})}}function Du(n,t){return function(e,u){var i;if(e===r&&u===r)return t;if(e!==r&&(i=e),u!==r){if(i===r)return u;"string"==typeof e||"string"==typeof u?(e=ou(e),u=ou(u)):(e=iu(e),u=iu(u)),i=n(e,u)}return i}}function Mu(n){return Xu(function(t){return t=St(t,Gt(ii())),Ve(function(r){var e=this;return n(t,function(n){return xt(n,e,r)})})})}function Fu(n,t){var e=(t=t===r?" ":ou(t)).length;if(e<2)return e?Ke(t,n):t;var u=Ke(t,vt(n/ar(t)));return rr(t)?du(cr(u),0,n).join(""):u.slice(0,n)}function Nu(n){return function(t,e,u){return u&&"number"!=typeof u&&gi(t,e,u)&&(e=u=r),t=pf(t),e===r?(e=t,t=0):e=pf(e),function(n,t,r,e){for(var u=-1,i=gr(vt((t-n)/(r||1)),0),o=wn(i);i--;)o[e?i:++u]=n,n+=r;return o}(t,e,u=u===r?t<e?1:-1:pf(u),n)}}function Pu(n){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=gf(t),r=gf(r)),n(t,r)}}function qu(n,t,e,u,i,f,a,c,l,s){var h=8&t;t|=h?o:64,4&(t&=~(h?64:o))||(t&=-4);var p=[n,t,i,h?f:r,h?a:r,h?r:f,h?r:a,c,l,s],v=e.apply(r,p);return di(n)&&Oi(v,p),v.placeholder=u,Ri(v,n,t)}function Zu(n){var t=An[n];return function(n,r){if(n=gf(n),(r=null==r?0:yr(vf(r),292))&&pr(n)){var e=(df(n)+"e").split("e");return+((e=(df(t(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return t(n)}}var Ku=kr&&1/or(new kr([,-0]))[1]==a?function(n){return new kr(n)}:aa;function Vu(n){return function(t){var r=si(t);return r==w?er(t):r==k?fr(t):function(n,t){return St(t,function(t){return[t,n[t]]})}(t,n(t))}}function Gu(n,t,u,a,c,l,s,h){var p=2&t;if(!p&&"function"!=typeof n)throw new In(e);var v=a?a.length:0;if(v||(t&=-97,a=c=r),s=s===r?s:gr(vf(s),0),h=h===r?h:vf(h),v-=c?c.length:0,64&t){var _=a,g=c;a=c=r}var y=p?r:ri(n),d=[n,t,u,a,c,_,g,l,s,h];if(y&&function(n,t){var r=n[1],e=t[1],u=r|e,o=u<131,a=e==f&&8==r||e==f&&256==r&&n[7].length<=t[8]||384==e&&t[7].length<=t[8]&&8==r;if(!o&&!a)return n;1&e&&(n[2]=t[2],u|=1&r?0:4);var c=t[3];if(c){var l=n[3];n[3]=l?Au(l,c,t[4]):c,n[4]=l?ir(n[3],i):t[4]}(c=t[5])&&(l=n[5],n[5]=l?ku(l,c,t[6]):c,n[6]=l?ir(n[5],i):t[6]),(c=t[7])&&(n[7]=c),e&f&&(n[8]=null==n[8]?t[8]:yr(n[8],t[8])),null==n[9]&&(n[9]=t[9]),n[0]=t[0],n[1]=u}(d,y),n=d[0],t=d[1],u=d[2],a=d[3],c=d[4],!(h=d[9]=d[9]===r?p?0:n.length:gr(d[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)b=8==t||16==t?function(n,t,e){var u=Lu(n);return function i(){for(var o=arguments.length,f=wn(o),a=o,c=ui(i);a--;)f[a]=arguments[a];var l=o<3&&f[0]!==c&&f[o-1]!==c?[]:ir(f,c);return(o-=l.length)<e?qu(n,t,Bu,i.placeholder,r,f,l,r,r,e-o):xt(this&&this!==lt&&this instanceof i?u:n,this,f)}}(n,t,h):t!=o&&33!=t||c.length?Bu.apply(r,d):function(n,t,r,e){var u=1&t,i=Lu(n);return function t(){for(var o=-1,f=arguments.length,a=-1,c=e.length,l=wn(c+f),s=this&&this!==lt&&this instanceof t?i:n;++a<c;)l[a]=e[a];for(;f--;)l[a++]=arguments[++o];return xt(s,u?r:this,l)}}(n,t,u,a);else var b=function(n,t,r){var e=1&t,u=Lu(n);return function t(){return(this&&this!==lt&&this instanceof t?u:n).apply(e?r:this,arguments)}}(n,t,u);return Ri((y?Ye:Oi)(b,d),n,t)}function Hu(n,t,e,u){return n===r||Do(n,zn[e])&&!Ln.call(u,e)?t:n}function Ju(n,t,e,u,i,o){return Xo(n)&&Xo(t)&&(o.set(t,n),De(n,t,r,Ju,o),o.delete(t)),n}function Yu(n){return ef(n)?r:n}function Qu(n,t,e,u,i,o){var f=1&e,a=n.length,c=t.length;if(a!=c&&!(f&&c>a))return!1;var l=o.get(n),s=o.get(t);if(l&&s)return l==t&&s==n;var h=-1,p=!0,v=2&e?new Kr:r;for(o.set(n,t),o.set(t,n);++h<a;){var _=n[h],g=t[h];if(u)var y=f?u(g,_,h,t,n,o):u(_,g,h,n,t,o);if(y!==r){if(y)continue;p=!1;break}if(v){if(!Lt(t,function(n,t){if(!Jt(v,t)&&(_===n||i(_,n,e,u,o)))return v.push(t)})){p=!1;break}}else if(_!==g&&!i(_,g,e,u,o)){p=!1;break}}return o.delete(n),o.delete(t),p}function Xu(n){return Ii(ji(n,r,Pi),n+"")}function ni(n){return xe(n,zf,ci)}function ti(n){return xe(n,Tf,li)}var ri=Ir?function(n){return Ir.get(n)}:aa;function ei(n){for(var t=n.name+"",r=Rr[t],e=Ln.call(Rr,t)?r.length:0;e--;){var u=r[e],i=u.func;if(null==i||i==n)return u.name}return t}function ui(n){return(Ln.call($r,"placeholder")?$r:n).placeholder}function ii(){var n=$r.iteratee||ua;return n=n===ua?Ce:n,arguments.length?n(arguments[0],arguments[1]):n}function oi(n,t){var r,e,u=n.__data__;return("string"==(e=typeof(r=t))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?u["string"==typeof t?"string":"hash"]:u.map}function fi(n){for(var t=zf(n),r=t.length;r--;){var e=t[r],u=n[e];t[r]=[e,u,mi(u)]}return t}function ai(n,t){var e=function(n,t){return null==n?r:n[t]}(n,t);return Te(e)?e:r}var ci=Wt?function(n){return null==n?[]:(n=kn(n),Et(Wt(n),function(t){return Vn.call(n,t)}))}:_a,li=Wt?function(n){for(var t=[];n;)zt(t,ci(n)),n=Zn(n);return t}:_a,si=je;function hi(n,t,r){for(var e=-1,u=(t=gu(t,n)).length,i=!1;++e<u;){var o=Wi(t[e]);if(!(i=null!=n&&r(n,o)))break;n=n[o]}return i||++e!=u?i:!!(u=null==n?0:n.length)&&Qo(u)&&_i(o,u)&&(Po(n)||No(n))}function pi(n){return"function"!=typeof n.constructor||wi(n)?{}:Dr(Zn(n))}function vi(n){return Po(n)||No(n)||!!(Yn&&n&&n[Yn])}function _i(n,t){var r=typeof n;return!!(t=t??c)&&("number"==r||"symbol"!=r&&gn.test(n))&&n>-1&&n%1==0&&n<t}function gi(n,t,r){if(!Xo(r))return!1;var e=typeof t;return!!("number"==e?Zo(r)&&_i(t,r.length):"string"==e&&t in r)&&Do(r[t],n)}function yi(n,t){if(Po(n))return!1;var r=typeof n;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=n&&!af(n))||Y.test(n)||!J.test(n)||null!=t&&n in kn(t)}function di(n){var t=ei(n),r=$r[t];if("function"!=typeof r||!(t in Nr.prototype))return!1;if(n===r)return!0;var e=ri(r);return!!e&&n===e[0]}(xr&&si(new xr(new ArrayBuffer(1)))!=S||jr&&si(new jr)!=w||Ar&&si(Ar.resolve())!=j||kr&&si(new kr)!=k||Or&&si(new Or)!=I)&&(si=function(n){var t=je(n),e=t==x?n.constructor:r,u=e?Ui(e):"";if(u)switch(u){case Sr:return S;case zr:return w;case Tr:return j;case Cr:return k;case Lr:return I}return t});var bi=Tn?Jo:ga;function wi(n){var t=n&&n.constructor;return n===("function"==typeof t&&t.prototype||zn)}function mi(n){return n==n&&!Xo(n)}function xi(n,t){return function(e){return null!=e&&e[n]===t&&(t!==r||n in kn(e))}}function ji(n,t,e){return t=gr(t===r?n.length-1:t,0),function(){for(var r=arguments,u=-1,i=gr(r.length-t,0),o=wn(i);++u<i;)o[u]=r[t+u];u=-1;for(var f=wn(t+1);++u<t;)f[u]=r[u];return f[t]=e(o),xt(n,this,f)}}function Ai(n,t){return t.length<2?n:me(n,nu(t,0,-1))}function ki(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]}var Oi=Si(Ye),Ei=ht||function(n,t){return lt.setTimeout(n,t)},Ii=Si(Qe);function Ri(n,t,r){var e=t+"";return Ii(n,function(n,t){var r=t.length;if(!r)return n;var e=r-1;return t[e]=(r>1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(en,"{\n/* [wrapped with "+t+"] */\n")}(e,function(n,t){return At(h,function(r){var e="_."+r[0];t&r[1]&&!It(n,e)&&n.push(e)}),n.sort()}(function(n){var t=n.match(un);return t?t[1].split(on):[]}(e),r)))}function Si(n){var t=0,e=0;return function(){var u=dr(),i=16-(u-e);if(e=u,i>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(r,arguments)}}function zi(n,t){var e=-1,u=n.length,i=u-1;for(t=t===r?u:t;++e<t;){var o=Ze(e,i),f=n[o];n[o]=n[e],n[e]=f}return n.length=t,n}var Ti,Ci,Li=(Ti=Co(function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(Q,function(n,r,e,u){t.push(e?u.replace(cn,"$1"):r||n)}),t},function(n){return 500===Ci.size&&Ci.clear(),n}),Ci=Ti.cache,Ti);function Wi(n){if("string"==typeof n||af(n))return n;var t=n+"";return"0"==t&&1/n==-1/0?"-0":t}function Ui(n){if(null!=n){try{return Cn.call(n)}catch(n){}try{return n+""}catch(n){}}return""}function Bi(n){if(n instanceof Nr)return n.clone();var t=new Fr(n.__wrapped__,n.__chain__);return t.__actions__=Ou(n.__actions__),t.__index__=n.__index__,t.__values__=n.__values__,t}var $i=Ve(function(n,t){return Ko(n)?ce(n,_e(t,1,Ko,!0)):[]}),Di=Ve(function(n,t){var e=Gi(t);return Ko(e)&&(e=r),Ko(n)?ce(n,_e(t,1,Ko,!0),ii(e,2)):[]}),Mi=Ve(function(n,t){var e=Gi(t);return Ko(e)&&(e=r),Ko(n)?ce(n,_e(t,1,Ko,!0),r,e):[]});function Fi(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:vf(r);return u<0&&(u=gr(e+u,0)),Bt(n,ii(t,3),u)}function Ni(n,t,e){var u=null==n?0:n.length;if(!u)return-1;var i=u-1;return e!==r&&(i=vf(e),i=e<0?gr(u+i,0):yr(i,u-1)),Bt(n,ii(t,3),i,!0)}function Pi(n){return null!=n&&n.length?_e(n,1):[]}function qi(n){return n&&n.length?n[0]:r}var Zi=Ve(function(n){var t=St(n,vu);return t.length&&t[0]===n[0]?Ee(t):[]}),Ki=Ve(function(n){var t=Gi(n),e=St(n,vu);return t===Gi(e)?t=r:e.pop(),e.length&&e[0]===n[0]?Ee(e,ii(t,2)):[]}),Vi=Ve(function(n){var t=Gi(n),e=St(n,vu);return(t="function"==typeof t?t:r)&&e.pop(),e.length&&e[0]===n[0]?Ee(e,r,t):[]});function Gi(n){var t=null==n?0:n.length;return t?n[t-1]:r}var Hi=Ve(Ji);function Ji(n,t){return n&&n.length&&t&&t.length?Pe(n,t):n}var Yi=Xu(function(n,t){var r=null==n?0:n.length,e=ue(n,t);return qe(n,St(t,function(n){return _i(n,r)?+n:n}).sort(ju)),e});function Qi(n){return null==n?n:mr.call(n)}var Xi=Ve(function(n){return fu(_e(n,1,Ko,!0))}),no=Ve(function(n){var t=Gi(n);return Ko(t)&&(t=r),fu(_e(n,1,Ko,!0),ii(t,2))}),to=Ve(function(n){var t=Gi(n);return t="function"==typeof t?t:r,fu(_e(n,1,Ko,!0),r,t)});function ro(n){if(!n||!n.length)return[];var t=0;return n=Et(n,function(n){if(Ko(n))return t=gr(n.length,t),!0}),Kt(t,function(t){return St(n,Nt(t))})}function eo(n,t){if(!n||!n.length)return[];var e=ro(n);return null==t?e:St(e,function(n){return xt(t,r,n)})}var uo=Ve(function(n,t){return Ko(n)?ce(n,t):[]}),io=Ve(function(n){return hu(Et(n,Ko))}),oo=Ve(function(n){var t=Gi(n);return Ko(t)&&(t=r),hu(Et(n,Ko),ii(t,2))}),fo=Ve(function(n){var t=Gi(n);return t="function"==typeof t?t:r,hu(Et(n,Ko),r,t)}),ao=Ve(ro),co=Ve(function(n){var t=n.length,e=t>1?n[t-1]:r;return e="function"==typeof e?(n.pop(),e):r,eo(n,e)});function lo(n){var t=$r(n);return t.__chain__=!0,t}function so(n,t){return t(n)}var ho=Xu(function(n){var t=n.length,e=t?n[0]:0,u=this.__wrapped__,i=function(t){return ue(t,n)};return!(t>1||this.__actions__.length)&&u instanceof Nr&&_i(e)?((u=u.slice(e,+e+(t?1:0))).__actions__.push({func:so,args:[i],thisArg:r}),new Fr(u,this.__chain__).thru(function(n){return t&&!n.length&&n.push(r),n})):this.thru(i)}),po=Iu(function(n,t,r){Ln.call(n,r)?++n[r]:ee(n,r,1)}),vo=Wu(Fi),_o=Wu(Ni);function go(n,t){return(Po(n)?At:le)(n,ii(t,3))}function yo(n,t){return(Po(n)?kt:se)(n,ii(t,3))}var bo=Iu(function(n,t,r){Ln.call(n,r)?n[r].push(t):ee(n,r,[t])}),wo=Ve(function(n,t,r){var e=-1,u="function"==typeof t,i=Zo(n)?wn(n.length):[];return le(n,function(n){i[++e]=u?xt(t,n,r):Ie(n,t,r)}),i}),mo=Iu(function(n,t,r){ee(n,r,t)});function xo(n,t){return(Po(n)?St:Ue)(n,ii(t,3))}var jo=Iu(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]}),Ao=Ve(function(n,t){if(null==n)return[];var r=t.length;return r>1&&gi(n,t[0],t[1])?t=[]:r>2&&gi(t[0],t[1],t[2])&&(t=[t[0]]),Fe(n,_e(t,1),[])}),ko=st||function(){return lt.Date.now()};function Oo(n,t,e){return t=e?r:t,t=n&&null==t?n.length:t,Gu(n,f,r,r,r,r,t)}function Eo(n,t){var u;if("function"!=typeof t)throw new In(e);return n=vf(n),function(){return--n>0&&(u=t.apply(this,arguments)),n<=1&&(t=r),u}}var Io=Ve(function(n,t,r){var e=1;if(r.length){var u=ir(r,ui(Io));e|=o}return Gu(n,e,t,r,u)}),Ro=Ve(function(n,t,r){var e=3;if(r.length){var u=ir(r,ui(Ro));e|=o}return Gu(t,e,n,r,u)});function So(n,t,u){var i,o,f,a,c,l,s=0,h=!1,p=!1,v=!0;if("function"!=typeof n)throw new In(e);function _(t){var e=i,u=o;return i=o=r,s=t,a=n.apply(u,e)}function g(n){var e=n-l;return l===r||e>=t||e<0||p&&n-s>=f}function y(){var n=ko();if(g(n))return d(n);c=Ei(y,function(n){var r=t-(n-l);return p?yr(r,f-(n-s)):r}(n))}function d(n){return c=r,v&&i?_(n):(i=o=r,a)}function b(){var n=ko(),e=g(n);if(i=arguments,o=this,l=n,e){if(c===r)return function(n){return s=n,c=Ei(y,t),h?_(n):a}(l);if(p)return bu(c),c=Ei(y,t),_(l)}return c===r&&(c=Ei(y,t)),a}return t=gf(t)||0,Xo(u)&&(h=!!u.leading,f=(p="maxWait"in u)?gr(gf(u.maxWait)||0,t):f,v="trailing"in u?!!u.trailing:v),b.cancel=function(){c!==r&&bu(c),s=0,i=l=o=c=r},b.flush=function(){return c===r?a:d(ko())},b}var zo=Ve(function(n,t){return ae(n,1,t)}),To=Ve(function(n,t,r){return ae(n,gf(t)||0,r)});function Co(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new In(e);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(Co.Cache||Zr),r}function Lo(n){if("function"!=typeof n)throw new In(e);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}Co.Cache=Zr;var Wo=yu(function(n,t){var r=(t=1==t.length&&Po(t[0])?St(t[0],Gt(ii())):St(_e(t,1),Gt(ii()))).length;return Ve(function(e){for(var u=-1,i=yr(e.length,r);++u<i;)e[u]=t[u].call(this,e[u]);return xt(n,this,e)})}),Uo=Ve(function(n,t){var e=ir(t,ui(Uo));return Gu(n,o,r,t,e)}),Bo=Ve(function(n,t){var e=ir(t,ui(Bo));return Gu(n,64,r,t,e)}),$o=Xu(function(n,t){return Gu(n,256,r,r,r,t)});function Do(n,t){return n===t||n!=n&&t!=t}var Mo=Pu(Ae),Fo=Pu(function(n,t){return n>=t}),No=Re(function(){return arguments}())?Re:function(n){return nf(n)&&Ln.call(n,"callee")&&!Vn.call(n,"callee")},Po=wn.isArray,qo=gt?Gt(gt):function(n){return nf(n)&&je(n)==R};function Zo(n){return null!=n&&Qo(n.length)&&!Jo(n)}function Ko(n){return nf(n)&&Zo(n)}var Vo=Pt||ga,Go=yt?Gt(yt):function(n){return nf(n)&&je(n)==g};function Ho(n){if(!nf(n))return!1;var t=je(n);return t==y||"[object DOMException]"==t||"string"==typeof n.message&&"string"==typeof n.name&&!ef(n)}function Jo(n){if(!Xo(n))return!1;var t=je(n);return t==d||t==b||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Yo(n){return"number"==typeof n&&n==vf(n)}function Qo(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=c}function Xo(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function nf(n){return null!=n&&"object"==typeof n}var tf=dt?Gt(dt):function(n){return nf(n)&&si(n)==w};function rf(n){return"number"==typeof n||nf(n)&&je(n)==m}function ef(n){if(!nf(n)||je(n)!=x)return!1;var t=Zn(n);if(null===t)return!0;var r=Ln.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Cn.call(r)==$n}var uf=bt?Gt(bt):function(n){return nf(n)&&je(n)==A},of=wt?Gt(wt):function(n){return nf(n)&&si(n)==k};function ff(n){return"string"==typeof n||!Po(n)&&nf(n)&&je(n)==O}function af(n){return"symbol"==typeof n||nf(n)&&je(n)==E}var cf=mt?Gt(mt):function(n){return nf(n)&&Qo(n.length)&&!!et[je(n)]},lf=Pu(We),sf=Pu(function(n,t){return n<=t});function hf(n){if(!n)return[];if(Zo(n))return ff(n)?cr(n):Ou(n);if(Xn&&n[Xn])return function(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}(n[Xn]());var t=si(n);return(t==w?er:t==k?or:Mf)(n)}function pf(n){return n?(n=gf(n))===a||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}function vf(n){var t=pf(n),r=t%1;return t==t?r?t-r:t:0}function _f(n){return n?ie(vf(n),0,s):0}function gf(n){if("number"==typeof n)return n;if(af(n))return l;if(Xo(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=Xo(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=Vt(n);var r=pn.test(n);return r||_n.test(n)?ft(n.slice(2),r?2:8):hn.test(n)?l:+n}function yf(n){return Eu(n,Tf(n))}function df(n){return null==n?"":ou(n)}var bf=Ru(function(n,t){if(wi(t)||Zo(t))Eu(t,zf(t),n);else for(var r in t)Ln.call(t,r)&&Xr(n,r,t[r])}),wf=Ru(function(n,t){Eu(t,Tf(t),n)}),mf=Ru(function(n,t,r,e){Eu(t,Tf(t),n,e)}),xf=Ru(function(n,t,r,e){Eu(t,zf(t),n,e)}),jf=Xu(ue),Af=Ve(function(n,t){n=kn(n);var e=-1,u=t.length,i=u>2?t[2]:r;for(i&&gi(t[0],t[1],i)&&(u=1);++e<u;)for(var o=t[e],f=Tf(o),a=-1,c=f.length;++a<c;){var l=f[a],s=n[l];(s===r||Do(s,zn[l])&&!Ln.call(n,l))&&(n[l]=o[l])}return n}),kf=Ve(function(n){return n.push(r,Ju),xt(Lf,r,n)});function Of(n,t,e){var u=null==n?r:me(n,t);return u===r?e:u}function Ef(n,t){return null!=n&&hi(n,t,Oe)}var If=$u(function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=Bn.call(t)),n[t]=r},na(ea)),Rf=$u(function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=Bn.call(t)),Ln.call(n,t)?n[t].push(r):n[t]=[r]},ii),Sf=Ve(Ie);function zf(n){return Zo(n)?Gr(n):Le(n)}function Tf(n){return Zo(n)?Gr(n,!0):function(n){if(!Xo(n))return function(n){var t=[];if(null!=n)for(var r in kn(n))t.push(r);return t}(n);var t=wi(n),r=[];for(var e in n)("constructor"!=e||!t&&Ln.call(n,e))&&r.push(e);return r}(n)}var Cf=Ru(function(n,t,r){De(n,t,r)}),Lf=Ru(function(n,t,r,e){De(n,t,r,e)}),Wf=Xu(function(n,t){var r={};if(null==n)return r;var e=!1;t=St(t,function(t){return t=gu(t,n),e||(e=t.length>1),t}),Eu(n,ti(n),r),e&&(r=oe(r,7,Yu));for(var u=t.length;u--;)au(r,t[u]);return r}),Uf=Xu(function(n,t){return null==n?{}:function(n,t){return Ne(n,t,function(t,r){return Ef(n,r)})}(n,t)});function Bf(n,t){if(null==n)return{};var r=St(ti(n),function(n){return[n]});return t=ii(t),Ne(n,r,function(n,r){return t(n,r[0])})}var $f=Vu(zf),Df=Vu(Tf);function Mf(n){return null==n?[]:Ht(n,zf(n))}var Ff=Cu(function(n,t,r){return t=t.toLowerCase(),n+(r?Nf(t):t)});function Nf(n){return Jf(df(n).toLowerCase())}function Pf(n){return(n=df(n))&&n.replace(yn,Xt).replace(Jn,"")}var qf=Cu(function(n,t,r){return n+(r?"-":"")+t.toLowerCase()}),Zf=Cu(function(n,t,r){return n+(r?" ":"")+t.toLowerCase()}),Kf=Tu("toLowerCase"),Vf=Cu(function(n,t,r){return n+(r?"_":"")+t.toLowerCase()}),Gf=Cu(function(n,t,r){return n+(r?" ":"")+Jf(t)}),Hf=Cu(function(n,t,r){return n+(r?" ":"")+t.toUpperCase()}),Jf=Tu("toUpperCase");function Yf(n,t,e){return n=df(n),(t=e?r:t)===r?function(n){return nt.test(n)}(n)?function(n){return n.match(Qn)||[]}(n):function(n){return n.match(fn)||[]}(n):n.match(t)||[]}var Qf=Ve(function(n,t){try{return xt(n,r,t)}catch(n){return Ho(n)?n:new xn(n)}}),Xf=Xu(function(n,t){return At(t,function(t){t=Wi(t),ee(n,t,Io(n[t],n))}),n});function na(n){return function(){return n}}var ta=Uu(),ra=Uu(!0);function ea(n){return n}function ua(n){return Ce("function"==typeof n?n:oe(n,1))}var ia=Ve(function(n,t){return function(r){return Ie(r,n,t)}}),oa=Ve(function(n,t){return function(r){return Ie(n,r,t)}});function fa(n,t,r){var e=zf(t),u=we(t,e);null!=r||Xo(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=we(t,zf(t)));var i=!(Xo(r)&&"chain"in r&&!r.chain),o=Jo(n);return At(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=Ou(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,zt([this.value()],arguments))})}),n}function aa(){}var ca=Mu(St),la=Mu(Ot),sa=Mu(Lt);function ha(n){return yi(n)?Nt(Wi(n)):function(n){return function(t){return me(t,n)}}(n)}var pa=Nu(),va=Nu(!0);function _a(){return[]}function ga(){return!1}var ya,da=Du(function(n,t){return n+t},0),ba=Zu("ceil"),wa=Du(function(n,t){return n/t},1),ma=Zu("floor"),xa=Du(function(n,t){return n*t},1),ja=Zu("round"),Aa=Du(function(n,t){return n-t},0);return $r.after=function(n,t){if("function"!=typeof t)throw new In(e);return n=vf(n),function(){if(--n<1)return t.apply(this,arguments)}},$r.ary=Oo,$r.assign=bf,$r.assignIn=wf,$r.assignInWith=mf,$r.assignWith=xf,$r.at=jf,$r.before=Eo,$r.bind=Io,$r.bindAll=Xf,$r.bindKey=Ro,$r.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return Po(n)?n:[n]},$r.chain=lo,$r.chunk=function(n,t,e){t=(e?gi(n,t,e):t===r)?1:gr(vf(t),0);var u=null==n?0:n.length;if(!u||t<1)return[];for(var i=0,o=0,f=wn(vt(u/t));i<u;)f[o++]=nu(n,i,i+=t);return f},$r.compact=function(n){for(var t=-1,r=null==n?0:n.length,e=0,u=[];++t<r;){var i=n[t];i&&(u[e++]=i)}return u},$r.concat=function(){var n=arguments.length;if(!n)return[];for(var t=wn(n-1),r=arguments[0],e=n;e--;)t[e-1]=arguments[e];return zt(Po(r)?Ou(r):[r],_e(t,1))},$r.cond=function(n){var t=null==n?0:n.length,r=ii();return n=t?St(n,function(n){if("function"!=typeof n[1])throw new In(e);return[r(n[0]),n[1]]}):[],Ve(function(r){for(var e=-1;++e<t;){var u=n[e];if(xt(u[0],this,r))return xt(u[1],this,r)}})},$r.conforms=function(n){return function(n){var t=zf(n);return function(r){return fe(r,n,t)}}(oe(n,1))},$r.constant=na,$r.countBy=po,$r.create=function(n,t){var r=Dr(n);return null==t?r:re(r,t)},$r.curry=function n(t,e,u){var i=Gu(t,8,r,r,r,r,r,e=u?r:e);return i.placeholder=n.placeholder,i},$r.curryRight=function n(t,e,u){var i=Gu(t,16,r,r,r,r,r,e=u?r:e);return i.placeholder=n.placeholder,i},$r.debounce=So,$r.defaults=Af,$r.defaultsDeep=kf,$r.defer=zo,$r.delay=To,$r.difference=$i,$r.differenceBy=Di,$r.differenceWith=Mi,$r.drop=function(n,t,e){var u=null==n?0:n.length;return u?nu(n,(t=e||t===r?1:vf(t))<0?0:t,u):[]},$r.dropRight=function(n,t,e){var u=null==n?0:n.length;return u?nu(n,0,(t=u-(t=e||t===r?1:vf(t)))<0?0:t):[]},$r.dropRightWhile=function(n,t){return n&&n.length?lu(n,ii(t,3),!0,
vendor: 13,251 bytes, line 10
10!0):[]},$r.dropWhile=function(n,t){return n&&n.length?lu(n,ii(t,3),!0):[]},$r.fill=function(n,t,e,u){var i=null==n?0:n.length;return i?(e&&"number"!=typeof e&&gi(n,t,e)&&(e=0,u=i),function(n,t,e,u){var i=n.length;for((e=vf(e))<0&&(e=-e>i?0:i+e),(u=u===r||u>i?i:vf(u))<0&&(u+=i),u=e>u?0:_f(u);e<u;)n[e++]=t;return n}(n,t,e,u)):[]},$r.filter=function(n,t){return(Po(n)?Et:ve)(n,ii(t,3))},$r.flatMap=function(n,t){return _e(xo(n,t),1)},$r.flatMapDeep=function(n,t){return _e(xo(n,t),a)},$r.flatMapDepth=function(n,t,e){return e=e===r?1:vf(e),_e(xo(n,t),e)},$r.flatten=Pi,$r.flattenDeep=function(n){return null!=n&&n.length?_e(n,a):[]},$r.flattenDepth=function(n,t){return null!=n&&n.length?_e(n,t=t===r?1:vf(t)):[]},$r.flip=function(n){return Gu(n,512)},$r.flow=ta,$r.flowRight=ra,$r.fromPairs=function(n){for(var t=-1,r=null==n?0:n.length,e={};++t<r;){var u=n[t];ee(e,u[0],u[1])}return e},$r.functions=function(n){return null==n?[]:we(n,zf(n))},$r.functionsIn=function(n){return null==n?[]:we(n,Tf(n))},$r.groupBy=bo,$r.initial=function(n){return null!=n&&n.length?nu(n,0,-1):[]},$r.intersection=Zi,$r.intersectionBy=Ki,$r.intersectionWith=Vi,$r.invert=If,$r.invertBy=Rf,$r.invokeMap=wo,$r.iteratee=ua,$r.keyBy=mo,$r.keys=zf,$r.keysIn=Tf,$r.map=xo,$r.mapKeys=function(n,t){var r={};return t=ii(t,3),de(n,function(n,e,u){ee(r,t(n,e,u),n)}),r},$r.mapValues=function(n,t){var r={};return t=ii(t,3),de(n,function(n,e,u){ee(r,e,t(n,e,u))}),r},$r.matches=function(n){return Be(oe(n,1))},$r.matchesProperty=function(n,t){return $e(n,oe(t,1))},$r.memoize=Co,$r.merge=Cf,$r.mergeWith=Lf,$r.method=ia,$r.methodOf=oa,$r.mixin=fa,$r.negate=Lo,$r.nthArg=function(n){return n=vf(n),Ve(function(t){return Me(t,n)})},$r.omit=Wf,$r.omitBy=function(n,t){return Bf(n,Lo(ii(t)))},$r.once=function(n){return Eo(2,n)},$r.orderBy=function(n,t,e,u){return null==n?[]:(Po(t)||(t=null==t?[]:[t]),Po(e=u?r:e)||(e=null==e?[]:[e]),Fe(n,t,e))},$r.over=ca,$r.overArgs=Wo,$r.overEvery=la,$r.overSome=sa,$r.partial=Uo,$r.partialRight=Bo,$r.partition=jo,$r.pick=Uf,$r.pickBy=Bf,$r.property=ha,$r.propertyOf=function(n){return function(t){return null==n?r:me(n,t)}},$r.pull=Hi,$r.pullAll=Ji,$r.pullAllBy=function(n,t,r){return n&&n.length&&t&&t.length?Pe(n,t,ii(r,2)):n},$r.pullAllWith=function(n,t,e){return n&&n.length&&t&&t.length?Pe(n,t,r,e):n},$r.pullAt=Yi,$r.range=pa,$r.rangeRight=va,$r.rearg=$o,$r.reject=function(n,t){return(Po(n)?Et:ve)(n,Lo(ii(t,3)))},$r.remove=function(n,t){var r=[];if(!n||!n.length)return r;var e=-1,u=[],i=n.length;for(t=ii(t,3);++e<i;){var o=n[e];t(o,e,n)&&(r.push(o),u.push(e))}return qe(n,u),r},$r.rest=function(n,t){if("function"!=typeof n)throw new In(e);return Ve(n,t=t===r?t:vf(t))},$r.reverse=Qi,$r.sampleSize=function(n,t,e){return t=(e?gi(n,t,e):t===r)?1:vf(t),(Po(n)?Jr:He)(n,t)},$r.set=function(n,t,r){return null==n?n:Je(n,t,r)},$r.setWith=function(n,t,e,u){return u="function"==typeof u?u:r,null==n?n:Je(n,t,e,u)},$r.shuffle=function(n){return(Po(n)?Yr:Xe)(n)},$r.slice=function(n,t,e){var u=null==n?0:n.length;return u?(e&&"number"!=typeof e&&gi(n,t,e)?(t=0,e=u):(t=null==t?0:vf(t),e=e===r?u:vf(e)),nu(n,t,e)):[]},$r.sortBy=Ao,$r.sortedUniq=function(n){return n&&n.length?uu(n):[]},$r.sortedUniqBy=function(n,t){return n&&n.length?uu(n,ii(t,2)):[]},$r.split=function(n,t,e){return e&&"number"!=typeof e&&gi(n,t,e)&&(t=e=r),(e=e===r?s:e>>>0)?(n=df(n))&&("string"==typeof t||null!=t&&!uf(t))&&!(t=ou(t))&&rr(n)?du(cr(n),0,e):n.split(t,e):[]},$r.spread=function(n,t){if("function"!=typeof n)throw new In(e);return t=null==t?0:gr(vf(t),0),Ve(function(r){var e=r[t],u=du(r,0,t);return e&&zt(u,e),xt(n,this,u)})},$r.tail=function(n){var t=null==n?0:n.length;return t?nu(n,1,t):[]},$r.take=function(n,t,e){return n&&n.length?nu(n,0,(t=e||t===r?1:vf(t))<0?0:t):[]},$r.takeRight=function(n,t,e){var u=null==n?0:n.length;return u?nu(n,(t=u-(t=e||t===r?1:vf(t)))<0?0:t,u):[]},$r.takeRightWhile=function(n,t){return n&&n.length?lu(n,ii(t,3),!1,!0):[]},$r.takeWhile=function(n,t){return n&&n.length?lu(n,ii(t,3)):[]},$r.tap=function(n,t){return t(n),n},$r.throttle=function(n,t,r){var u=!0,i=!0;if("function"!=typeof n)throw new In(e);return Xo(r)&&(u="leading"in r?!!r.leading:u,i="trailing"in r?!!r.trailing:i),So(n,t,{leading:u,maxWait:t,trailing:i})},$r.thru=so,$r.toArray=hf,$r.toPairs=$f,$r.toPairsIn=Df,$r.toPath=function(n){return Po(n)?St(n,Wi):af(n)?[n]:Ou(Li(df(n)))},$r.toPlainObject=yf,$r.transform=function(n,t,r){var e=Po(n),u=e||Vo(n)||cf(n);if(t=ii(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:Xo(n)&&Jo(i)?Dr(Zn(n)):{}}return(u?At:de)(n,function(n,e,u){return t(r,n,e,u)}),r},$r.unary=function(n){return Oo(n,1)},$r.union=Xi,$r.unionBy=no,$r.unionWith=to,$r.uniq=function(n){return n&&n.length?fu(n):[]},$r.uniqBy=function(n,t){return n&&n.length?fu(n,ii(t,2)):[]},$r.uniqWith=function(n,t){return t="function"==typeof t?t:r,n&&n.length?fu(n,r,t):[]},$r.unset=function(n,t){return null==n||au(n,t)},$r.unzip=ro,$r.unzipWith=eo,$r.update=function(n,t,r){return null==n?n:cu(n,t,_u(r))},$r.updateWith=function(n,t,e,u){return u="function"==typeof u?u:r,null==n?n:cu(n,t,_u(e),u)},$r.values=Mf,$r.valuesIn=function(n){return null==n?[]:Ht(n,Tf(n))},$r.without=uo,$r.words=Yf,$r.wrap=function(n,t){return Uo(_u(t),n)},$r.xor=io,$r.xorBy=oo,$r.xorWith=fo,$r.zip=ao,$r.zipObject=function(n,t){return pu(n||[],t||[],Xr)},$r.zipObjectDeep=function(n,t){return pu(n||[],t||[],Je)},$r.zipWith=co,$r.entries=$f,$r.entriesIn=Df,$r.extend=wf,$r.extendWith=mf,fa($r,$r),$r.add=da,$r.attempt=Qf,$r.camelCase=Ff,$r.capitalize=Nf,$r.ceil=ba,$r.clamp=function(n,t,e){return e===r&&(e=t,t=r),e!==r&&(e=(e=gf(e))==e?e:0),t!==r&&(t=(t=gf(t))==t?t:0),ie(gf(n),t,e)},$r.clone=function(n){return oe(n,4)},$r.cloneDeep=function(n){return oe(n,5)},$r.cloneDeepWith=function(n,t){return oe(n,5,t="function"==typeof t?t:r)},$r.cloneWith=function(n,t){return oe(n,4,t="function"==typeof t?t:r)},$r.conformsTo=function(n,t){return null==t||fe(n,t,zf(t))},$r.deburr=Pf,$r.defaultTo=function(n,t){return null==n||n!=n?t:n},$r.divide=wa,$r.endsWith=function(n,t,e){n=df(n),t=ou(t);var u=n.length,i=e=e===r?u:ie(vf(e),0,u);return(e-=t.length)>=0&&n.slice(e,i)==t},$r.eq=Do,$r.escape=function(n){return(n=df(n))&&K.test(n)?n.replace(q,nr):n},$r.escapeRegExp=function(n){return(n=df(n))&&nn.test(n)?n.replace(X,"\\$&"):n},$r.every=function(n,t,e){var u=Po(n)?Ot:he;return e&&gi(n,t,e)&&(t=r),u(n,ii(t,3))},$r.find=vo,$r.findIndex=Fi,$r.findKey=function(n,t){return Ut(n,ii(t,3),de)},$r.findLast=_o,$r.findLastIndex=Ni,$r.findLastKey=function(n,t){return Ut(n,ii(t,3),be)},$r.floor=ma,$r.forEach=go,$r.forEachRight=yo,$r.forIn=function(n,t){return null==n?n:ge(n,ii(t,3),Tf)},$r.forInRight=function(n,t){return null==n?n:ye(n,ii(t,3),Tf)},$r.forOwn=function(n,t){return n&&de(n,ii(t,3))},$r.forOwnRight=function(n,t){return n&&be(n,ii(t,3))},$r.get=Of,$r.gt=Mo,$r.gte=Fo,$r.has=function(n,t){return null!=n&&hi(n,t,ke)},$r.hasIn=Ef,$r.head=qi,$r.identity=ea,$r.includes=function(n,t,r,e){n=Zo(n)?n:Mf(n),r=r&&!e?vf(r):0;var u=n.length;return r<0&&(r=gr(u+r,0)),ff(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&$t(n,t,r)>-1},$r.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:vf(r);return u<0&&(u=gr(e+u,0)),$t(n,t,u)},$r.inRange=function(n,t,e){return t=pf(t),e===r?(e=t,t=0):e=pf(e),function(n,t,r){return n>=yr(t,r)&&n<gr(t,r)}(n=gf(n),t,e)},$r.invoke=Sf,$r.isArguments=No,$r.isArray=Po,$r.isArrayBuffer=qo,$r.isArrayLike=Zo,$r.isArrayLikeObject=Ko,$r.isBoolean=function(n){return!0===n||!1===n||nf(n)&&je(n)==_},$r.isBuffer=Vo,$r.isDate=Go,$r.isElement=function(n){return nf(n)&&1===n.nodeType&&!ef(n)},$r.isEmpty=function(n){if(null==n)return!0;if(Zo(n)&&(Po(n)||"string"==typeof n||"function"==typeof n.splice||Vo(n)||cf(n)||No(n)))return!n.length;var t=si(n);if(t==w||t==k)return!n.size;if(wi(n))return!Le(n).length;for(var r in n)if(Ln.call(n,r))return!1;return!0},$r.isEqual=function(n,t){return Se(n,t)},$r.isEqualWith=function(n,t,e){var u=(e="function"==typeof e?e:r)?e(n,t):r;return u===r?Se(n,t,r,e):!!u},$r.isError=Ho,$r.isFinite=function(n){return"number"==typeof n&&pr(n)},$r.isFunction=Jo,$r.isInteger=Yo,$r.isLength=Qo,$r.isMap=tf,$r.isMatch=function(n,t){return n===t||ze(n,t,fi(t))},$r.isMatchWith=function(n,t,e){return e="function"==typeof e?e:r,ze(n,t,fi(t),e)},$r.isNaN=function(n){return rf(n)&&n!=+n},$r.isNative=function(n){if(bi(n))throw new xn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Te(n)},$r.isNil=function(n){return null==n},$r.isNull=function(n){return null===n},$r.isNumber=rf,$r.isObject=Xo,$r.isObjectLike=nf,$r.isPlainObject=ef,$r.isRegExp=uf,$r.isSafeInteger=function(n){return Yo(n)&&n>=-9007199254740991&&n<=c},$r.isSet=of,$r.isString=ff,$r.isSymbol=af,$r.isTypedArray=cf,$r.isUndefined=function(n){return n===r},$r.isWeakMap=function(n){return nf(n)&&si(n)==I},$r.isWeakSet=function(n){return nf(n)&&"[object WeakSet]"==je(n)},$r.join=function(n,t){return null==n?"":vr.call(n,t)},$r.kebabCase=qf,$r.last=Gi,$r.lastIndexOf=function(n,t,e){var u=null==n?0:n.length;if(!u)return-1;var i=u;return e!==r&&(i=(i=vf(e))<0?gr(u+i,0):yr(i,u-1)),t==t?function(n,t,r){for(var e=r+1;e--;)if(n[e]===t)return e;return e}(n,t,i):Bt(n,Mt,i,!0)},$r.lowerCase=Zf,$r.lowerFirst=Kf,$r.lt=lf,$r.lte=sf,$r.max=function(n){return n&&n.length?pe(n,ea,Ae):r},$r.maxBy=function(n,t){return n&&n.length?pe(n,ii(t,2),Ae):r},$r.mean=function(n){return Ft(n,ea)},$r.meanBy=function(n,t){return Ft(n,ii(t,2))},$r.min=function(n){return n&&n.length?pe(n,ea,We):r},$r.minBy=function(n,t){return n&&n.length?pe(n,ii(t,2),We):r},$r.stubArray=_a,$r.stubFalse=ga,$r.stubObject=function(){return{}},$r.stubString=function(){return""},$r.stubTrue=function(){return!0},$r.multiply=xa,$r.nth=function(n,t){return n&&n.length?Me(n,vf(t)):r},$r.noConflict=function(){return lt._===this&&(lt._=Dn),this},$r.noop=aa,$r.now=ko,$r.pad=function(n,t,r){n=df(n);var e=(t=vf(t))?ar(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return Fu(_t(u),r)+n+Fu(vt(u),r)},$r.padEnd=function(n,t,r){n=df(n);var e=(t=vf(t))?ar(n):0;return t&&e<t?n+Fu(t-e,r):n},$r.padStart=function(n,t,r){n=df(n);var e=(t=vf(t))?ar(n):0;return t&&e<t?Fu(t-e,r)+n:n},$r.parseInt=function(n,t,r){return r||null==t?t=0:t&&(t=+t),br(df(n).replace(tn,""),t||0)},$r.random=function(n,t,e){if(e&&"boolean"!=typeof e&&gi(n,t,e)&&(t=e=r),e===r&&("boolean"==typeof t?(e=t,t=r):"boolean"==typeof n&&(e=n,n=r)),n===r&&t===r?(n=0,t=1):(n=pf(n),t===r?(t=n,n=0):t=pf(t)),n>t){var u=n;n=t,t=u}if(e||n%1||t%1){var i=wr();return yr(n+i*(t-n+ot("1e-"+((i+"").length-1))),t)}return Ze(n,t)},$r.reduce=function(n,t,r){var e=Po(n)?Tt:qt,u=arguments.length<3;return e(n,ii(t,4),r,u,le)},$r.reduceRight=function(n,t,r){var e=Po(n)?Ct:qt,u=arguments.length<3;return e(n,ii(t,4),r,u,se)},$r.repeat=function(n,t,e){return t=(e?gi(n,t,e):t===r)?1:vf(t),Ke(df(n),t)},$r.replace=function(){var n=arguments,t=df(n[0]);return n.length<3?t:t.replace(n[1],n[2])},$r.result=function(n,t,e){var u=-1,i=(t=gu(t,n)).length;for(i||(i=1,n=r);++u<i;){var o=null==n?r:n[Wi(t[u])];o===r&&(u=i,o=e),n=Jo(o)?o.call(n):o}return n},$r.round=ja,$r.runInContext=n,$r.sample=function(n){return(Po(n)?Hr:Ge)(n)},$r.size=function(n){if(null==n)return 0;if(Zo(n))return ff(n)?ar(n):n.length;var t=si(n);return t==w||t==k?n.size:Le(n).length},$r.snakeCase=Vf,$r.some=function(n,t,e){var u=Po(n)?Lt:tu;return e&&gi(n,t,e)&&(t=r),u(n,ii(t,3))},$r.sortedIndex=function(n,t){return ru(n,t)},$r.sortedIndexBy=function(n,t,r){return eu(n,t,ii(r,2))},$r.sortedIndexOf=function(n,t){var r=null==n?0:n.length;if(r){var e=ru(n,t);if(e<r&&Do(n[e],t))return e}return-1},$r.sortedLastIndex=function(n,t){return ru(n,t,!0)},$r.sortedLastIndexBy=function(n,t,r){return eu(n,t,ii(r,2),!0)},$r.sortedLastIndexOf=function(n,t){if(null!=n&&n.length){var r=ru(n,t,!0)-1;if(Do(n[r],t))return r}return-1},$r.startCase=Gf,$r.startsWith=function(n,t,r){return n=df(n),r=null==r?0:ie(vf(r),0,n.length),t=ou(t),n.slice(r,r+t.length)==t},$r.subtract=Aa,$r.sum=function(n){return n&&n.length?Zt(n,ea):0},$r.sumBy=function(n,t){return n&&n.length?Zt(n,ii(t,2)):0},$r.template=function(n,t,e){var u=$r.templateSettings;e&&gi(n,t,e)&&(t=r),n=df(n),t=xf({},t,u,Hu);var i=xf({},t.imports,u.imports,Hu),o=zf(i),f=Ht(i,o);At(o,function(n){if(an.test(n))throw new xn("Invalid `imports` option passed into `_.template`")});var a,c,l=0,s=t.interpolate||dn,h="__p += '",p=On((t.escape||dn).source+"|"+s.source+"|"+(s===H?ln:dn).source+"|"+(t.evaluate||dn).source+"|$","g"),v="//# sourceURL="+(Ln.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+"\n";n.replace(p,function(t,r,e,u,i,o){return e||(e=u),h+=n.slice(l,o).replace(bn,tr),r&&(a=!0,h+="' +\n__e("+r+") +\n'"),i&&(c=!0,h+="';\n"+i+";\n__p += '"),e&&(h+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),l=o+t.length,t}),h+="';\n";var _=Ln.call(t,"variable")&&t.variable;if(_){if(an.test(_))throw new xn("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(c?h.replace(M,""):h).replace(F,"$1").replace(N,"$1;"),h="function("+(_||"obj")+") {\n"+(_?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(c?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";
10\n")+h+"return __p\n}";var g=Qf(function(){return jn(o,v+"return "+h).apply(r,f)});if(g.source=h,Ho(g))throw g;return g},$r.times=function(n,t){if((n=vf(n))<1||n>c)return[];var r=s,e=yr(n,s);t=ii(t),n-=s;for(var u=Kt(e,t);++r<n;)t(r);return u},$r.toFinite=pf,$r.toInteger=vf,$r.toLength=_f,$r.toLower=function(n){return df(n).toLowerCase()},$r.toNumber=gf,$r.toSafeInteger=function(n){return n?ie(vf(n),-9007199254740991,c):0===n?n:0},$r.toString=df,$r.toUpper=function(n){return df(n).toUpperCase()},$r.trim=function(n,t,e){if((n=df(n))&&(e||t===r))return Vt(n);if(!n||!(t=ou(t)))return n;var u=cr(n),i=cr(t);return du(u,Yt(u,i),Qt(u,i)+1).join("")},$r.trimEnd=function(n,t,e){if((n=df(n))&&(e||t===r))return n.slice(0,lr(n)+1);if(!n||!(t=ou(t)))return n;var u=cr(n);return du(u,0,Qt(u,cr(t))+1).join("")},$r.trimStart=function(n,t,e){if((n=df(n))&&(e||t===r))return n.replace(tn,"");if(!n||!(t=ou(t)))return n;var u=cr(n);return du(u,Yt(u,cr(t))).join("")},$r.truncate=function(n,t){var e=30,u="...";if(Xo(t)){var i="separator"in t?t.separator:i;e="length"in t?vf(t.length):e,u="omission"in t?ou(t.omission):u}var o=(n=df(n)).length;if(rr(n)){var f=cr(n);o=f.length}if(e>=o)return n;var a=e-ar(u);if(a<1)return u;var c=f?du(f,0,a).join(""):n.slice(0,a);if(i===r)return c+u;if(f&&(a+=c.length-a),uf(i)){if(n.slice(a).search(i)){var l,s=c;for(i.global||(i=On(i.source,df(sn.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,h===r?a:h)}}else if(n.indexOf(ou(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+u},$r.unescape=function(n){return(n=df(n))&&Z.test(n)?n.replace(P,sr):n},$r.uniqueId=function(n){var t=++Wn;return df(n)+t},$r.upperCase=Hf,$r.upperFirst=Jf,$r.each=go,$r.eachRight=yo,$r.first=qi,fa($r,(ya={},de($r,function(n,t){Ln.call($r.prototype,t)||(ya[t]=n)}),ya),{chain:!1}),$r.VERSION="4.18.1",At(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){$r[n].placeholder=$r}),At(["drop","take"],function(n,t){Nr.prototype[n]=function(e){e=e===r?1:gr(vf(e),0);var u=this.__filtered__&&!t?new Nr(this):this.clone();return u.__filtered__?u.__takeCount__=yr(e,u.__takeCount__):u.__views__.push({size:yr(e,s),type:n+(u.__dir__<0?"Right":"")}),u},Nr.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),At(["filter","map","takeWhile"],function(n,t){var r=t+1,e=1==r||3==r;Nr.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:ii(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),At(["head","last"],function(n,t){var r="take"+(t?"Right":"");Nr.prototype[n]=function(){return this[r](1).value()[0]}}),At(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");Nr.prototype[n]=function(){return this.__filtered__?new Nr(this):this[r](1)}}),Nr.prototype.compact=function(){return this.filter(ea)},Nr.prototype.find=function(n){return this.filter(n).head()},Nr.prototype.findLast=function(n){return this.reverse().find(n)},Nr.prototype.invokeMap=Ve(function(n,t){return"function"==typeof n?new Nr(this):this.map(function(r){return Ie(r,n,t)})}),Nr.prototype.reject=function(n){return this.filter(Lo(ii(n)))},Nr.prototype.slice=function(n,t){n=vf(n);var e=this;return e.__filtered__&&(n>
vendor: 4,386 bytes, line 10
100||t<0)?new Nr(e):(n<0?e=e.takeRight(-n):n&&(e=e.drop(n)),t!==r&&(e=(t=vf(t))<0?e.dropRight(-t):e.take(t-n)),e)},Nr.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Nr.prototype.toArray=function(){return this.take(s)},de(Nr.prototype,function(n,t){var e=/^(?:filter|find|map|reject)|While$/.test(t),u=/^(?:head|last)$/.test(t),i=$r[u?"take"+("last"==t?"Right":""):t],o=u||/^find/.test(t);i&&($r.prototype[t]=function(){var t=this.__wrapped__,f=u?[1]:arguments,a=t instanceof Nr,c=f[0],l=a||Po(t),s=function(n){var t=i.apply($r,zt([n],f));return u&&h?t[0]:t};l&&e&&"function"==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){t=_?t:new Nr(this);var g=n.apply(t,f);return g.__actions__.push({func:so,args:[s],thisArg:r}),new Fr(g,h)}return v&&_?n.apply(this,f):(g=this.thru(s),v?u?g.value()[0]:g.value():g)})}),At(["pop","push","shift","sort","splice","unshift"],function(n){var t=Rn[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);$r.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(Po(u)?u:[],n)}return this[r](function(r){return t.apply(Po(r)?r:[],n)})}}),de(Nr.prototype,function(n,t){var r=$r[t];if(r){var e=r.name+"";Ln.call(Rr,e)||(Rr[e]=[]),Rr[e].push({name:t,func:r})}}),Rr[Bu(r,2).name]=[{name:"wrapper",func:r}],Nr.prototype.clone=function(){var n=new Nr(this.__wrapped__);return n.__actions__=Ou(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=Ou(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=Ou(this.__views__),n},Nr.prototype.reverse=function(){if(this.__filtered__){var n=new Nr(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},Nr.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=Po(n),e=t<0,u=r?n.length:0,i=function(n,t,r){for(var e=-1,u=r.length;++e<u;){var i=r[e],o=i.size;switch(i.type){case"drop":n+=o;break;case"dropRight":t-=o;break;case"take":t=yr(t,n+o);break;case"takeRight":n=gr(n,t-o)}}return{start:n,end:t}}(0,u,this.__views__),o=i.start,f=i.end,a=f-o,c=e?f:o-1,l=this.__iteratees__,s=l.length,h=0,p=yr(a,this.__takeCount__);if(!r||!e&&u==a&&p==a)return su(n,this.__actions__);var v=[];n:for(;a--&&h<p;){for(var _=-1,g=n[c+=t];++_<s;){var y=l[_],d=y.iteratee,b=y.type,w=d(g);if(2==b)g=w;else if(!w){if(1==b)continue n;break n}}v[h++]=g}return v},$r.prototype.at=ho,$r.prototype.chain=function(){return lo(this)},$r.prototype.commit=function(){return new Fr(this.value(),this.__chain__)},$r.prototype.next=function(){this.__values__===r&&(this.__values__=hf(this.value()));var n=this.__index__>=this.__values__.length;return{done:n,value:n?r:this.__values__[this.__index__++]}},$r.prototype.plant=function(n){for(var t,e=this;e instanceof Mr;){var u=Bi(e);u.__index__=0,u.__values__=r,t?i.__wrapped__=u:t=u;var i=u;e=e.__wrapped__}return i.__wrapped__=n,t},$r.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof Nr){var t=n;return this.__actions__.length&&(t=new Nr(this)),(t=t.reverse()).__actions__.push({func:so,args:[Qi],thisArg:r}),new Fr(t,this.__chain__)}return this.thru(Qi)},$r.prototype.toJSON=$r.prototype.valueOf=$r.prototype.value=function(){return su(this.__wrapped__,this.__actions__)},$r.prototype.first=$r.prototype.head,Xn&&($r.prototype[Xn]=function(){return this}),$r}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(lt._=hr,define(function(){return hr})):ht?((ht.exports=hr)._=hr,st._=hr):lt._=hr}.call(this)}},t={};function r(e){var u=t[e];if(void 0!==u)return u.exports;var i=t[e]={id:e,loaded:!1,exports:{}};return n[e].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return r.d(t,{a:t}),t},r.d=(n,t)=>{for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),r.nmd=n=>(n.paths=[],n.children||(n.children=[]),n),(()=>{"use strict";var n=r(243);function t(n,t){(null==t||t>n.length)&&(t=n.length);for(var r=0,e=Array(t);r<t;r++)e[r]=n[r];return e}!function(){function r(){var r;if(!globalThis.wp_consent_type&&!globalThis.wp_fallback_consent_type)return;const e={};let u=!1;var i,o;Object.entries(null!==(r=globalThis._googlesitekitConsentCategoryMap)&&void 0!==r?r:{}
10).forEach(n=>{let r=(a=2,function(n){if(Array.isArray(n))return n}(f=n)||function(n,t){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var e,u,i,o,f=[],a=!0,c=!1;try{if(i=(r=r.call(n)).next,0===t){if(Object(r)!==r)return;a=!1}else for(;!(a=(e=i.call(r)).done)&&(f.push(e.value),f.length!==t);a=!0);}catch(n){c=!0,u=n}finally{try{if(!a&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw u}}return f}}(f,a)||function(n,r){if(n){if("string"==typeof n)return t(n,r);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?t(n,r):void 0}}(f,a)||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.")}()),i=r[0],o=r[1];var f,a;globalThis.wp_has_consent&&globalThis.wp_has_consent(i)&&(o.forEach(n=>{e[n]="granted"}),u=u||!!o.length)}),u&&!(0,n.isEqual)(e,globalThis._googlesitekitConsents)&&(null===(i=(o=globalThis).gtag)||void 0===i||i.call(o,"consent","update",e),globalThis._googlesitekitConsents=e)}globalThis.document.addEventListener("wp_listen_for_consent_change",function(n){if(n.detail){const e={};let u=!1;var t,r;Object.keys(n.detail).forEach(t=>{var r;const i=null===(r=globalThis._googlesitekitConsentCategoryMap)||void 0===r?void 0:r[t];if(i){const r="allow"===n.detail[t]?"granted":"denied";i.forEach(n=>{e[n]=r}),u=!!i.length}}),u&&(null===(t=(r=globalThis).gtag)||void 0===t||t.call(r,"consent","update",e))}}),globalThis.document.addEventListener("wp_consent_type_defined",r),globalThis.document.addEventListener("DOMContentLoaded",()=>{globalThis.waitfor_consent_hook||r()})}()})()})();
11/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__global-js-v8cdf343edef0cde5c20ae5f7aedccad0a2487be7.js*/
12/*!/wp-content/themes/uncode/library/js/global.js*/
13(function(){"use strict";var UNCODE=window.UNCODE||{};window.UNCODE=UNCODE})()
14;
15/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__lib__lenis-js-v2badc795cd5e64fff496d3e5fcebdea1d588dbe9.js*/
16/*!/wp-content/themes/uncode/library/js/lib/lenis.js*/
17"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}
18function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;if("value" in descriptor)descriptor.writable=!0;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor)}}
19function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:!1});return Constructor}
20function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return _typeof(key)==="symbol"?key:String(key)}
21function _toPrimitive(input,hint){if(_typeof(input)!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==undefined){var res=prim.call(input,hint||"default");if(_typeof(res)!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}
22function _typeof(obj){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}(function(global,factory){(typeof exports==="undefined"?"undefined":_typeof(exports))==='object'&&typeof module!=='undefined'?module.exports=factory():typeof define==='function'&&define.amd?define(factory):(global=typeof globalThis!=='undefined'?globalThis:global||self,global.Lenis=factory())})(void 0,function(){'use strict';var version="1.1.9";function clamp(min,input,max){return Math.max(min,Math.min(input,max))}
23function lerp(x,y,t){return(1-t)*x+t*y}
24function damp(x,y,lambda,dt){return lerp(x,y,1-Math.exp(-lambda*dt))}
25function modulo(n,d){return(n%d+d)%d}
26var Animate=function(){function Animate(){_classCallCheck(this,Animate);this.isRunning=!1;this.value=0;this.from=0;this.to=0;this.duration=0;this.currentTime=0}
27_createClass(Animate,[{key:"advance",value:function advance(deltaTime){var _a;if(!this.isRunning)return;var completed=!1;if(this.duration&&this.easing){this.currentTime+=deltaTime;var linearProgress=clamp(0,this.currentTime/this.duration,1);completed=linearProgress>=1;var easedProgress=completed?1:this.easing(linearProgress);this.value=this.from+(this.to-this.from)*easedProgress}else if(this.lerp){this.value=damp(this.value,this.to,this.lerp*60,deltaTime);if(Math.round(this.value)===this.to){this.value=this.to;completed=!0}}else{this.value=this.to;completed=!0}
28if(completed){this.stop()}(_a=this.onUpdate)===null||_a===void 0?void 0:_a.call(this,this.value,completed)}},{key:"stop",value:function stop(){this.isRunning=!1}},{key:"fromTo",value:function fromTo(from,to,_ref){var lerp=_ref.lerp,duration=_ref.duration,easing=_ref.easing,onStart=_ref.onStart,onUpdate=_ref.onUpdate;this.from=this.value=from;this.to=to;this.lerp=lerp;this.duration=duration;this.easing=easing;this.currentTime=0;this.isRunning=!0;onStart===null||onStart===void 0?void 0:onStart();this.onUpdate=onUpdate}}]);return Animate}();function debounce(callback,delay){var timer;return function(){var args=arguments;var context=this;clearTimeout(timer);timer=setTimeout(function(){callback.apply(context,args)},delay)}}
29var Dimensions=function(){function Dimensions(){var _this=this;var _ref2=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},wrapper=_ref2.wrapper,content=_ref2.content,_ref2$autoResize=_ref2.autoResize,autoResize=_ref2$autoResize===void 0?!0:_ref2$autoResize,_ref2$debounce=_ref2.debounce,debounceValue=_ref2$debounce===void 0?250:_ref2$debounce;_classCallCheck(this,Dimensions);this.width=0;this.height=0;this.scrollWidth=0;this.scrollHeight=0;this.resize=function(){_this.onWrapperResize();_this.onContentResize()};this.onWrapperResize=function(){if(_this.wrapper===window){_this.width=window.innerWidth;_this.height=window.innerHeight}else if(_this.wrapper instanceof HTMLElement){_this.width=_this.wrapper.clientWidth;_this.height=_this.wrapper.clientHeight}};this.onContentResize=function(){if(_this.wrapper===window){_this.scrollHeight=_this.content.scrollHeight;_this.scrollWidth=_this.content.scrollWidth}else if(_this.wrapper instanceof HTMLElement){_this.scrollHeight=_this.wrapper.scrollHeight;_this.scrollWidth=_this.wrapper.scrollWidth}};this.wrapper=wrapper;this.content=content;if(autoResize){this.debouncedResize=debounce(this.resize,debounceValue);if(this.wrapper===window){window.addEventListener('resize',this.debouncedResize,!1)}else{this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize);this.wrapperResizeObserver.observe(this.wrapper)}
30this.contentResizeObserver=new ResizeObserver(this.debouncedResize);this.contentResizeObserver.observe(this.content)}
31this.resize()}
32_createClass(Dimensions,[{key:"destroy",value:function destroy(){var _a,_b;(_a=this.wrapperResizeObserver)===null||_a===void 0?void 0:_a.disconnect();(_b=this.contentResizeObserver)===null||_b===void 0?void 0:_b.disconnect();window.removeEventListener('resize',this.debouncedResize,!1)}},{key:"limit",get:function get(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}}]);return Dimensions}();var Emitter=function(){function Emitter(){_classCallCheck(this,Emitter);this.events={}}
33_createClass(Emitter,[{key:"emit",value:function emit(event){var callbacks=this.events[event]||[];for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key]}
34for(var i=0,length=callbacks.length;i<length;
34i++){callbacks[i].apply(callbacks,args)}}},{key:"on",value:function on(event,callback){var _this2=this;var _a;((_a=this.events[event])===null||_a===void 0?void 0:_a.push(callback))||(this.events[event]=[callback]);return function(){var _a;_this2.events[event]=(_a=_this2.events[event])===null||_a===void 0?void 0:_a.filter(function(i){return callback!==i})}}},{key:"off",value:function off(event,callback){var _a;this.events[event]=(_a=this.events[event])===null||_a===void 0?void 0:_a.filter(function(i){return callback!==i})}},{key:"destroy",value:function destroy(){this.events={}}}]);return Emitter}();var LINE_HEIGHT=100/6;var VirtualScroll=function(){function VirtualScroll(element,_ref3){var _this3=this;var _ref3$wheelMultiplier=_ref3.wheelMultiplier,wheelMultiplier=_ref3$wheelMultiplier===void 0?1:_ref3$wheelMultiplier,_ref3$touchMultiplier=_ref3.touchMultiplier,touchMultiplier=_ref3$touchMultiplier===void 0?1:_ref3$touchMultiplier;_classCallCheck(this,VirtualScroll);this.lastDelta={x:0,y:0};this.windowWidth=0;this.windowHeight=0;this.onTouchStart=function(event){var _ref4=event.targetTouches?event.targetTouches[0]:event,clientX=_ref4.clientX,clientY=_ref4.clientY;_this3.touchStart.x=clientX;_this3.touchStart.y=clientY;_this3.lastDelta={x:0,y:0};_this3.emitter.emit('scroll',{deltaX:0,deltaY:0,event:event})};this.onTouchMove=function(event){var _a,_b,_c,_d;var _ref5=event.targetTouches?event.targetTouches[0]:event,clientX=_ref5.clientX,clientY=_ref5.clientY;var deltaX=-(clientX-((_b=(_a=_this3.touchStart)===null||_a===void 0?void 0:_a.x)!==null&&_b!==void 0?_b:0))*_this3.touchMultiplier;var deltaY=-(clientY-((_d=(_c=_this3.touchStart)===null||_c===void 0?void 0:_c.y)!==null&&_d!==void 0?_d:0))*_this3.touchMultiplier;_this3.touchStart.x=clientX;_this3.touchStart.y=clientY;_this3.lastDelta={x:deltaX,y:deltaY};_this3.emitter.emit('scroll',{deltaX:deltaX,deltaY:deltaY,event:event})};this.onTouchEnd=function(event){_this3.emitter.emit('scroll',{deltaX:_this3.lastDelta.x,deltaY:_this3.lastDelta.y,event:event})};this.onWheel=function(event){var deltaX=event.deltaX,deltaY=event.deltaY,deltaMode=event.deltaMode;var multiplierX=deltaMode===1?LINE_HEIGHT:deltaMode===2?_this3.windowWidth:1;var multiplierY=deltaMode===1?LINE_HEIGHT:deltaMode===2?_this3.windowHeight:1;deltaX*=multiplierX;deltaY*=multiplierY;deltaX*=_this3.wheelMultiplier;deltaY*=_this3.wheelMultiplier;_this3.emitter.emit('scroll',{deltaX:deltaX,deltaY:deltaY,event:event})};this.onWindowResize=function(){_this3.windowWidth=window.innerWidth;_this3.windowHeight=window.innerHeight};this.element=element;this.wheelMultiplier=wheelMultiplier;this.touchMultiplier=touchMultiplier;this.touchStart={x:null,y:null};this.emitter=new Emitter();window.addEventListener('resize',this.onWindowResize,!1);this.onWindowResize();this.element.addEventListener('wheel',this.onWheel,{passive:!1});this.element.addEventListener('touchstart',this.onTouchStart,{passive:!1});this.element.addEventListener('touchmove',this.onTouchMove,{passive:!1});this.element.addEventListener('touchend',this.onTouchEnd,{passive:!1})}
35_createClass(VirtualScroll,[{key:"on",value:function on(event,callback){return this.emitter.on(event,callback)}},{key:"destroy",value:function destroy(){this.emitter.destroy();window.removeEventListener('resize',this.onWindowResize,!1);this.element.removeEventListener('wheel',this.onWheel);this.element.removeEventListener('touchstart',this.onTouchStart);this.element.removeEventListener('touchmove',this.onTouchMove);this.element.removeEventListener('touchend',this.onTouchEnd)}}]);return VirtualScroll}();var Lenis=function(){function Lenis(){var _this4=this;var _ref6=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},_ref6$wrapper=_ref6.wrapper,wrapper=_ref6$wrapper===void 0?window:_ref6$wrapper,_ref6$content=_ref6.content,content=_ref6$content===void 0?document.documentElement:_ref6$content,_ref6$wheelEventsTarg=_ref6.wheelEventsTarget,wheelEventsTarget=_ref6$wheelEventsTarg===void 0?wrapper:_ref6$wheelEventsTarg,_ref6$eventsTarget=_ref6.eventsTarget,eventsTarget=_ref6$eventsTarget===void 0?wheelEventsTarget:_ref6$eventsTarget,_ref6$smoothWheel=_ref6.smoothWheel,smoothWheel=_ref6$smoothWheel===void 0?!0:_ref6$smoothWheel,_ref6$syncTouch=_ref6.syncTouch,syncTouch=_ref6$syncTouch===void 0?!1:_ref6$syncTouch,_ref6$syncTouchLerp=_ref6.syncTouchLerp,syncTouchLerp=_ref6$syncTouchLerp===void 0?0.075:_ref6$syncTouchLerp,_ref6$touchInertiaMul=_ref6.touchInertiaMultiplier,touchInertiaMultiplier=_ref6$touchInertiaMul===void 0?35:_ref6$touchInertiaMul,duration=_ref6.duration,_ref6$easing=_ref6.easing,easing=_ref6$easing===void 0?function(t){return Math.min(1,1.001-Math.pow(2,-10*t))}:_ref6$easing,_ref6$lerp=_ref6.lerp,lerp=_ref6$lerp===void 0?0.1:_ref6$lerp,_ref6$infinite=_ref6.infinite,infinite=_ref6$infinite===void 0?!1:_ref6$infinite,_ref6$orientation=_ref6.orientation,orientation=_ref6$orientation===void 0?'vertical':_ref6$orientation,_ref6$gestureOrientat=_ref6.gestureOrientation,gestureOrientation=_ref6$gestureOrientat===void 0?'vertical':_ref6$gestureOrientat,_ref6$touchMultiplier=_ref6.touchMultiplier,touchMultiplier=_ref6$touchMultiplier===void 0?1:_ref6$touchMultiplier,_ref6$wheelMultiplier=_ref6.wheelMultiplier,wheelMultiplier=_ref6$wheelMultiplier===void 0?1:_ref6$wheelMultiplier,_ref6$autoResize=_ref6.autoResize,autoResize=_ref6$autoResize===void 0?!0:_ref6$autoResize,prevent=_ref6.prevent,virtualScroll=_ref6.virtualScroll,_ref6$__experimental_=_ref6.__experimental__naiveDimensions,__experimental__naiveDimensions=_ref6$__experimental_===void 0?!1:_ref6$__experimental_;_classCallCheck(this,Lenis);this.__isScrolling=!1;this.__isStopped=!1;this.__isLocked=!1;this.userData={};this.lastVelocity=0;this.velocity=0;this.direction=0;this.onPointerDown=function(event){if(event.button===1){_this4.reset()}};this.onVirtualScroll=function(data){if(typeof _this4.options.virtualScroll==='function'&&_this4.options.virtualScroll(data)===!1)return;var deltaX=data.deltaX,deltaY=data.deltaY,event=data.event;_this4.emitter.emit('virtual-scroll',{deltaX:deltaX,deltaY:deltaY,event:event});if(event.ctrlKey)return;var isTouch=event.type.includes('touch');var isWheel=event.type.includes('wheel');_this4.isTouching=event.type==='touchstart'||event.type==='touchmove';var isTapToStop=_this4.options.syncTouch&&isTouch&&event.type==='touchstart'&&!_this4.isStopped&&!_this4.isLocked;if(isTapToStop){_this4.reset();return}
36var isClick=deltaX===0&&deltaY===0;var isUnknownGesture=_this4.options.gestureOrientation==='vertical'&&deltaY===0||_this4.options.gestureOrientation==='horizontal'&&deltaX===0;if(isClick||isUnknownGesture){return}
37var composedPath=event.composedPath();composedPath=composedPath.slice(0,composedPath.indexOf(_this4.rootElement));var prevent=_this4.options.prevent;if(!!composedPath.find(function(node){var _a,_b,_c,_d,_e;return node instanceof Element&&(typeof prevent==='function'&&(prevent===null||prevent===void 0?void 0:prevent(node))||((_a=node.hasAttribute)===null||_a===void 0?void 0:_a.call(node,'data-lenis-prevent'))||isTouch&&((_b=node.hasAttribute)===null||_b===void 0?void 0:_b.call(node,'data-lenis-prevent-touch'))||isWheel&&((_c=node.hasAttribute)===null||_c===void 0?void 0:_c.call(node,'data-lenis-prevent-wheel'))||((_d=node.classList)===null||_d===void 0?void 0:_d.contains('lenis'))&&!((_e=node.classList)===null||_e===void 0?void 0:_e.contains('lenis-stopped')))}))return;if(_this4.isStopped||_this4.isLocked){event.preventDefault();return}
38var isSmooth=_this4.options.syncTouch&&isTouch||_this4.options.smoothWheel&&isWheel;if(!isSmooth){_this4.isScrolling='native';_this4.animate.stop();return}
39event.preventDefault();var delta=deltaY;if(_this4.options.gestureOrientation==='both'){delta=Math.abs(deltaY)>Math.abs(deltaX)?deltaY:deltaX}else if(_this4.options.gestureOrientation==='horizontal'){delta=deltaX}
40var syncTouch=isTouch&&_this4.options.syncTouch;var isTouchEnd=isTouch&&event.type==='touchend';var hasTouchInertia=isTouchEnd&&Math.abs(delta)>5;
40if(hasTouchInertia){delta=_this4.velocity*_this4.options.touchInertiaMultiplier}
41_this4.scrollTo(_this4.targetScroll+delta,Object.assign({programmatic:!1},syncTouch?{lerp:hasTouchInertia?_this4.options.syncTouchLerp:1}:{lerp:_this4.options.lerp,duration:_this4.options.duration,easing:_this4.options.easing}))};this.onNativeScroll=function(){clearTimeout(_this4.__resetVelocityTimeout);delete _this4.__resetVelocityTimeout;if(_this4.__preventNextNativeScrollEvent){delete _this4.__preventNextNativeScrollEvent;return}
42if(_this4.isScrolling===!1||_this4.isScrolling==='native'){var lastScroll=_this4.animatedScroll;_this4.animatedScroll=_this4.targetScroll=_this4.actualScroll;_this4.lastVelocity=_this4.velocity;_this4.velocity=_this4.animatedScroll-lastScroll;_this4.direction=Math.sign(_this4.animatedScroll-lastScroll);_this4.isScrolling='native';_this4.emit();if(_this4.velocity!==0){_this4.__resetVelocityTimeout=setTimeout(function(){_this4.lastVelocity=_this4.velocity;_this4.velocity=0;_this4.isScrolling=!1;_this4.emit()},400)}}};window.lenisVersion=version;if(!wrapper||wrapper===document.documentElement||wrapper===document.body){wrapper=window}
43this.options={wrapper:wrapper,content:content,wheelEventsTarget:wheelEventsTarget,eventsTarget:eventsTarget,smoothWheel:smoothWheel,syncTouch:syncTouch,syncTouchLerp:syncTouchLerp,touchInertiaMultiplier:touchInertiaMultiplier,duration:duration,easing:easing,lerp:lerp,infinite:infinite,gestureOrientation:gestureOrientation,orientation:orientation,touchMultiplier:touchMultiplier,wheelMultiplier:wheelMultiplier,autoResize:autoResize,prevent:prevent,virtualScroll:virtualScroll,__experimental__naiveDimensions:__experimental__naiveDimensions};this.animate=new Animate();this.emitter=new Emitter();this.dimensions=new Dimensions({wrapper:wrapper,content:content,autoResize:autoResize});this.updateClassName();this.userData={};this.time=0;this.velocity=this.lastVelocity=0;this.isLocked=!1;this.isStopped=!1;this.isScrolling=!1;this.targetScroll=this.animatedScroll=this.actualScroll;this.options.wrapper.addEventListener('scroll',this.onNativeScroll,!1);this.options.wrapper.addEventListener('pointerdown',this.onPointerDown,!1);this.virtualScroll=new VirtualScroll(eventsTarget,{touchMultiplier:touchMultiplier,wheelMultiplier:wheelMultiplier});this.virtualScroll.on('scroll',this.onVirtualScroll)}
44_createClass(Lenis,[{key:"destroy",value:function destroy(){this.emitter.destroy();this.options.wrapper.removeEventListener('scroll',this.onNativeScroll,!1);this.options.wrapper.removeEventListener('pointerdown',this.onPointerDown,!1);this.virtualScroll.destroy();this.dimensions.destroy();this.cleanUpClassName()}},{key:"on",value:function on(event,callback){return this.emitter.on(event,callback)}},{key:"off",value:function off(event,callback){return this.emitter.off(event,callback)}},{key:"setScroll",value:function setScroll(scroll){if(this.isHorizontal){this.rootElement.scrollLeft=scroll}else{this.rootElement.scrollTop=scroll}}},{key:"resize",value:function resize(){this.dimensions.resize()}},{key:"emit",value:function emit(){this.emitter.emit('scroll',this)}},{key:"reset",value:function reset(){this.isLocked=!1;this.isScrolling=!1;this.animatedScroll=this.targetScroll=this.actualScroll;this.lastVelocity=this.velocity=0;this.animate.stop()}},{key:"start",value:function start(){if(!this.isStopped)return;this.isStopped=!1;this.reset()}},{key:"stop",value:function stop(){if(this.isStopped)return;this.isStopped=!0;this.animate.stop();this.reset()}},{key:"raf",value:function raf(time){var deltaTime=time-(this.time||time);this.time=time;this.animate.advance(deltaTime*0.001)}},{key:"scrollTo",value:function scrollTo(target){var _this5=this;var _ref7=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},_ref7$offset=_ref7.offset,offset=_ref7$offset===void 0?0:_ref7$offset,_ref7$immediate=_ref7.immediate,immediate=_ref7$immediate===void 0?!1:_ref7$immediate,_ref7$lock=_ref7.lock,lock=_ref7$lock===void 0?!1:_ref7$lock,_ref7$duration=_ref7.duration,duration=_ref7$duration===void 0?this.options.duration:_ref7$duration,_ref7$easing=_ref7.easing,easing=_ref7$easing===void 0?this.options.easing:_ref7$easing,_ref7$lerp=_ref7.lerp,lerp=_ref7$lerp===void 0?this.options.lerp:_ref7$lerp,_onStart=_ref7.onStart,onComplete=_ref7.onComplete,_ref7$force=_ref7.force,force=_ref7$force===void 0?!1:_ref7$force,_ref7$programmatic=_ref7.programmatic,programmatic=_ref7$programmatic===void 0?!0:_ref7$programmatic,_ref7$userData=_ref7.userData,userData=_ref7$userData===void 0?{}:_ref7$userData;if((this.isStopped||this.isLocked)&&!force)return;if(typeof target==='string'&&['top','left','start'].includes(target)){target=0}else if(typeof target==='string'&&['bottom','right','end'].includes(target)){target=this.limit}else{var node;if(typeof target==='string'){node=document.querySelector(target)}else if(target instanceof HTMLElement&&(target===null||target===void 0?void 0:target.nodeType)){node=target}
45if(node){if(this.options.wrapper!==window){var wrapperRect=this.rootElement.getBoundingClientRect();offset-=this.isHorizontal?wrapperRect.left:wrapperRect.top}
46var rect=node.getBoundingClientRect();target=(this.isHorizontal?rect.left:rect.top)+this.animatedScroll}}
47if(typeof target!=='number')return;target+=offset;target=Math.round(target);if(this.options.infinite){if(programmatic){this.targetScroll=this.animatedScroll=this.scroll}}else{target=clamp(0,target,this.limit)}
48if(target===this.targetScroll)return;this.userData=userData;if(immediate){this.animatedScroll=this.targetScroll=target;this.setScroll(this.scroll);this.reset();this.preventNextNativeScrollEvent();
48this.emit();onComplete===null||onComplete===void 0?void 0:onComplete(this);this.userData={};return}
49if(!programmatic){this.targetScroll=target}
50this.animate.fromTo(this.animatedScroll,target,{duration:duration,easing:easing,lerp:lerp,onStart:function onStart(){if(lock)_this5.isLocked=!0;_this5.isScrolling='smooth';_onStart===null||_onStart===void 0?void 0:_onStart(_this5)},onUpdate:function onUpdate(value,completed){_this5.isScrolling='smooth';_this5.lastVelocity=_this5.velocity;_this5.velocity=value-_this5.animatedScroll;_this5.direction=Math.sign(_this5.velocity);_this5.animatedScroll=value;_this5.setScroll(_this5.scroll);if(programmatic){_this5.targetScroll=value}
51if(!completed)_this5.emit();if(completed){_this5.reset();_this5.emit();onComplete===null||onComplete===void 0?void 0:onComplete(_this5);_this5.userData={};_this5.preventNextNativeScrollEvent()}}})}},{key:"preventNextNativeScrollEvent",value:function preventNextNativeScrollEvent(){var _this6=this;this.__preventNextNativeScrollEvent=!0;requestAnimationFrame(function(){delete _this6.__preventNextNativeScrollEvent})}},{key:"rootElement",get:function get(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}},{key:"limit",get:function get(){if(this.options.__experimental__naiveDimensions){if(this.isHorizontal){return this.rootElement.scrollWidth-this.rootElement.clientWidth}else{return this.rootElement.scrollHeight-this.rootElement.clientHeight}}else{return this.dimensions.limit[this.isHorizontal?'x':'y']}}},{key:"isHorizontal",get:function get(){return this.options.orientation==='horizontal'}},{key:"actualScroll",get:function get(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}},{key:"scroll",get:function get(){return this.options.infinite?modulo(this.animatedScroll,this.limit):this.animatedScroll}},{key:"progress",get:function get(){return this.limit===0?1:this.scroll/this.limit}},{key:"isScrolling",get:function get(){return this.__isScrolling},set:function set(value){if(this.__isScrolling!==value){this.__isScrolling=value;this.updateClassName()}}},{key:"isStopped",get:function get(){return this.__isStopped},set:function set(value){if(this.__isStopped!==value){this.__isStopped=value;this.updateClassName()}}},{key:"isLocked",get:function get(){return this.__isLocked},set:function set(value){if(this.__isLocked!==value){this.__isLocked=value;this.updateClassName()}}},{key:"isSmooth",get:function get(){return this.isScrolling==='smooth'}},{key:"className",get:function get(){var className='lenis';if(this.isStopped)className+=' lenis-stopped';if(this.isLocked)className+=' lenis-locked';if(this.isScrolling)className+=' lenis-scrolling';if(this.isScrolling==='smooth')className+=' lenis-smooth';return className}},{key:"updateClassName",value:function updateClassName(){this.cleanUpClassName();this.rootElement.className="".concat(this.rootElement.className," ").concat(this.className).trim()}},{key:"cleanUpClassName",value:function cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,'').trim()}}]);return Lenis}();return Lenis})
52;
53/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__utils-js-v084bc0d7ddec7318ad27d833880616425013f3f0.js*/
54/*!/wp-content/themes/uncode/library/js/utils.js*/
55(function($){"use strict";window.requestAnimFrame=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback,element){window.setTimeout(callback,1000/60)}})();window.requestTimeout=function(fn,delay){if(!window.requestAnimationFrame&&!window.webkitRequestAnimationFrame&&!(window.mozRequestAnimationFrame&&window.mozCancelRequestAnimationFrame)&&!window.oRequestAnimationFrame&&!window.msRequestAnimationFrame)
56return window.setTimeout(fn,delay);var start=new Date().getTime(),handle=new Object();function loop(){var current=new Date().getTime(),delta=current-start;delta>=delay?fn.call():handle.value=requestAnimFrame(loop)};
56handle.value=requestAnimFrame(loop);return handle};window.clearRequestTimeout=function(handle){if(typeof handle!=='undefined'){window.cancelAnimationFrame?window.cancelAnimationFrame(handle.value):window.webkitCancelAnimationFrame?window.webkitCancelAnimationFrame(handle.value):window.webkitCancelRequestAnimationFrame?window.webkitCancelRequestAnimationFrame(handle.value):window.mozCancelRequestAnimationFrame?window.mozCancelRequestAnimationFrame(handle.value):window.oCancelRequestAnimationFrame?window.oCancelRequestAnimationFrame(handle.value):window.msCancelRequestAnimationFrame?window.msCancelRequestAnimationFrame(handle.value):clearTimeout(handle)}};function uncodeVisibilityChange(){if(document.hidden){window.dispatchEvent(new CustomEvent('is-blur'))}else{window.dispatchEvent(new CustomEvent('is-focus'))}}
57document.addEventListener('visibilitychange',uncodeVisibilityChange,!1);if(SiteParameters.smoothScroll==='on'&&!SiteParameters.is_frontend_editor){window.lenis=new Lenis({duration:1})
58UNCODE.hDoc=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight);function raf(time){window.lenis.raf(time)
59requestAnimationFrame(raf)
60window.dispatchEvent(new CustomEvent('lenis-scroll'));if(SiteParameters.uncode_smooth_scroll_safe){var newHdoc=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight);if(UNCODE.hDoc!==newHdoc){UNCODE.hDoc=newHdoc;window.lenis.resize()}}}
61requestAnimationFrame(raf)
62$(window).on('unmodal-open uncode-sidecart-open',function(){window.lenis.stop()});$(window).on('uncode-sidecart-closed',function(){window.lenis.start()});$(document).on('unmodal-close',function(){window.lenis.start()})}
63if(typeof ScrollTrigger!=='undefined'&&ScrollTrigger!==null&&typeof ScrollTrigger.config==='function'){ScrollTrigger.config({ignoreMobileResize:!0})}
64var checkScrollTriggerRefresh;$(function(){$(document).on('uncode-scrolltrigger-refresh',function(){clearRequestTimeout(checkScrollTriggerRefresh);checkScrollTriggerRefresh=requestTimeout(function(){ScrollTrigger.refresh();$('.scroll-refresh-hidden').removeClass('opacity_0')},500)})});UNCODE.checkImgLoad=function(src,cb,err,el){var img=new Image();img.onload=function(){var result=(img.width>0)&&(img.height>0);cb(el)};img.onerror=function(){err()};img.src=src};UNCODE.betterResize=function(){var setResize,doubleResize=!0,oldW=UNCODE.wwidth,oldH=UNCODE.wheight,setCTA;$(window).on('resize orientationchange',function(){if(oldW===UNCODE.wwidth){return}else{oldW=UNCODE.wwidth;$(window).trigger('wwResize')}
65if(oldH===UNCODE.wheight){return}else{oldH=UNCODE.wheight;$(window).trigger('whResize')}});$(window).on('resize orientationchange',function(){clearRequestTimeout(setCTA);setCTA=requestTimeout(function(){$(window).trigger('resize-int')},100)})};UNCODE.shuffle=function(array){var currentIndex=array.length,randomIndex;while(currentIndex>0){randomIndex=Math.floor(Math.random()*currentIndex);currentIndex--;[array[currentIndex],array[randomIndex]]=[array[randomIndex],array[currentIndex]]}
66return array};Number.isInteger=Number.isInteger||function(value){return typeof value==="number"&&isFinite(value)&&Math.floor(value)===value};UNCODE.utils=function(){$(document).on('mouseover','a',function(){if(!$(this).hasClass('star')){$(this).attr('data-title',$(this).attr('title'));$(this).removeAttr('title')}});$(document).on('mouseout','a',function(){if(!$(this).hasClass('star')){$(this).attr('title',$(this).attr('data-title'));$(this).removeAttr('data-title')}});this.get_scroll_offset=function(e){var scroll_offset=0,target,trigger;if(Number.isInteger(e)!==!0&&typeof e!=='undefined'&&typeof e.target!=='undefined'&&typeof e.currentTarget!=='undefined'){target=e.target;trigger=e.currentTarget}
67if($('.menu-hide').length||$('.menu-hide-vertical').length){if(UNCODE.bodyTop>UNCODE.wheight/2){UNCODE.hideMenu(100)}}
68if(!$('body').hasClass('vmenu')||UNCODE.wwidth<UNCODE.mediaQuery){if(!($('.menu-desktop-trans
68parent').length&&UNCODE.wwidth>UNCODE.mediaQuery)){if(($('.menu-sticky').length&&!$('.menu-hide').length&&!UNCODE.isMobile)||($('.menu-sticky-mobile').length&&UNCODE.isMobile&&!$('.menu-mobile-transparent').length)){if(!$('.menu-hided').length){if($('body').hasClass('hmenu-center')){scroll_offset+=~~$('.menu-sticky .menu-container').outerHeight()}else{scroll_offset+=~~$('.logo-container:visible').outerHeight()}}}else if($('.menu-sticky .menu-container:not(.menu-hide)').length&&!$('.menu-shrink').length&&UNCODE.wwidth>UNCODE.mediaQuery){var shrink=typeof $('.navbar-brand').data('padding-shrink')!=='undefined'?$('.navbar-brand').data('padding-shrink')*2:36;scroll_offset+=(~~$('.menu-sticky .menu-container').outerHeight())-($('.navbar-brand').data('minheight')+shrink)}else{if(($('.menu-sticky').length&&!$('.menu-hide').length)||($('.menu-sticky-vertical').length&&!$('.menu-hide-vertical').length)){scroll_offset+=UNCODE.menuMobileHeight}else{if(typeof target!=='undefined'&&target.closest('.main-menu-container')!=null&&UNCODE.wwidth<UNCODE.mediaQuery&&!$('body').hasClass('vmenu')&&!$('body').hasClass('menu-mobile-transparent')&&!$('.menu-sticky').length){}else{if($(trigger)[0]!==$(document)[0]&&$(trigger).length&&typeof $(trigger).offset()!=='undefined'&&window.scrollY>($(trigger).offset().top+UNCODE.menuMobileHeight)){scroll_offset+=UNCODE.menuMobileHeight}}}}}}
69scroll_offset+=UNCODE.bodyBorder;return scroll_offset}
70if(!UNCODE.isFullPage){$(document).on('click','a[href*="#"]:not(.woocommerce-review-link):not(.one-dot-link)',function(e){var hash=(e.currentTarget).hash,is_scrolltop=$(e.currentTarget).hasClass('scroll-top')?!0:!1,anchor='';if($(e.currentTarget).data('toggle')=='tab'||$(e.currentTarget).data('toggle')=='collapse')return;if($(e.currentTarget).hasClass('woocommerce-review-link')&&$('.wootabs .tab-content').length){e.preventDefault();if(!$('#tab-reviews').is(':visible')){$('a[href="#tab-reviews"]').trigger('click')}
71var calc_scroll=$('.wootabs .tab-content').offset().top;calc_scroll-=UNCODE.get_scroll_offset(e);if(!($('.menu-desktop-transparent').length&&UNCODE.wwidth>UNCODE.mediaQuery)&&!($('.menu-mobile-transparent').length&&UNCODE.wwidth<=UNCODE.mediaQueryMobile)){var shrink=typeof $('.navbar-brand').data('padding-shrink')!=='undefined'?$('.navbar-brand').data('padding-shrink')*2:36;if($('.menu-sticky .menu-container:not(.menu-hide)').length&&$('.menu-shrink').length){scrollTo+=UNCODE.menuHeight-($('.navbar-brand').data('minheight')+shrink)}}
72var bodyTop=document.documentElement.scrollTop||document.body.scrollTop,delta=bodyTop-calc_scroll,scrollSpeed=(SiteParameters.constant_scroll=='on')?Math.abs(delta)/parseFloat(SiteParameters.scroll_speed):SiteParameters.scroll_speed;if(scrollSpeed<1000&&SiteParameters.constant_scroll=='on')scrollSpeed=1000;requestTimeout(function(){if(scrollSpeed==0){$('html, body').scrollTop(calc_scroll);UNCODE.scrolling=!1}else{$('html, body').on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:calc_scroll},scrollSpeed,'easeInOutCubic',function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove");UNCODE.scrolling=!1})}},200);return}
73if(hash!=undefined){var specialFormat=/[ !@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/;var anchor=this.hash.slice(1);if(!specialFormat.test(hash)&&location.pathname.replace(/^\//g,'')==this.pathname.replace(/^\//g,'')&&location.hostname==this.hostname){if(!specialFormat.test(hash)){if($(hash).length)
74anchor=$(hash);}}}
75if(is_scrolltop||anchor!=''){if(is_scrolltop){e.preventDefault();var bodyTop=document.documentElement.scrollTop||document.body.scrollTop,scrollSpeed=(SiteParameters.constant_scroll=='on')?Math.abs(bodyTop)/parseFloat(SiteParameters.scroll_speed):SiteParameters.scroll_speed;if(scrollSpeed<1000&&SiteParameters.constant_scroll=='on')scrollSpeed=1000;if(scrollSpeed==0){$('html, body').scrollTop(0);UNCODE.scrolling=!1}else{$('html, body').on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:0},scrollSpeed,'easeInOutCubic',function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove");UNCODE.scrolling=!1})}}else{var scrollSection=(typeof anchor==='string')?$('[data-name="'+anchor+'"]'):anchor;$.each($('.menu-container .menu-item > a, .widget_nav_menu .menu-smart .menu-item > a, #uncode-mobile-menu-block .menu-item > a'),function(index,val){var get_href=$(val).attr('href');if(get_href!=undefined){if(get_href.substring(get_href.indexOf('#')+1)==anchor)$(val).parent().addClass('active');else $(val).parent().removeClass('active')}});if(scrollSection.length){if($('body').hasClass('uncode-scroll-no-history')){e.preventDefault()}
76if(UNCODE.menuOpened){if(UNCODE.wwidth<UNCODE.mediaQuery){window.dispatchEvent(UNCODE.menuMobileTriggerEvent)}else{$('.mmb-container-overlay .overlay-close').trigger('click');$('.mmb-container .trigger-overlay.close')[0].dispatchEvent(new Event("click"))}}
77var calc_scroll=scrollSection.offset().top,getOffset=UNCODE.get_scroll_offset(e),$logo=$('.logo-container:visible'),logoH,$menu=$('#masthead .menu-container'),menuH;calc_scroll-=isNaN(getOffset)?0:getOffset;var bodyTop=document.documentElement.scrollTop||document.body.scrollTop,delta=bodyTop-calc_scroll,scrollSpeed=(SiteParameters.constant_scroll=='on')?Math.abs(delta)/parseFloat(SiteParameters.scroll_speed):SiteParameters.scroll_speed;if(scrollSpeed<1000&&SiteParameters.constant_scroll=='on')scrollSpeed=1000;
77if(!($('.menu-desktop-transparent').length&&UNCODE.wwidth>UNCODE.mediaQuery)&&!($('.menu-mobile-transparent').length&&UNCODE.wwidth<=UNCODE.mediaQueryMobile)){if($('.menu-sticky .menu-container:not(.menu-hide)').length&&!$('.menu-shrink').length&&!$('body').hasClass('vmenu')&&UNCODE.wwidth>UNCODE.mediaQuery){logoH=$logo.outerHeight(),menuH=$menu.outerHeight();if(calc_scroll<(logoH+menuH)){calc_scroll=0}}}
78if(UNCODE.menuStickyMobileOverlay===!1&&UNCODE.isMobile){calc_scroll=calc_scroll-parseFloat($('.overlay.overlay-menu').outerHeight())}
79if(scrollSpeed==0){$('html, body').scrollTop(calc_scroll);UNCODE.scrolling=!1}else{$('html, body').on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:(delta>0)?calc_scroll-0.1:calc_scroll},scrollSpeed,'easeInOutCubic',function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove");UNCODE.scrolling=!1;if((getOffset!=UNCODE.get_scroll_offset(e)&&!($('.menu-desktop-transparent').length&&UNCODE.wwidth>UNCODE.mediaQuery)&&!($('.menu-mobile-transparent').length&&UNCODE.wwidth<=UNCODE.mediaQueryMobile))||$('.menu-hided').length){calc_scroll=scrollSection.offset().top;getOffset=UNCODE.get_scroll_offset(e);calc_scroll-=getOffset;$('html, body').on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:(delta>0)?calc_scroll-0.1:calc_scroll},scrollSpeed,'easeInOutCubic',function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove");UNCODE.scrolling=!1})}})}}}}});$('.header-scrolldown').on('click',function(event){event.preventDefault();var pageHeader=$(event.target).closest('#page-header'),pageHeaderTop=pageHeader.offset().top,pageHeaderHeight=pageHeader.outerHeight(),scrollSpeed=(SiteParameters.constant_scroll=='on')?Math.abs(pageHeaderTop+pageHeaderHeight)/parseFloat(SiteParameters.scroll_speed):SiteParameters.scroll_speed;if(scrollSpeed<1000&&SiteParameters.constant_scroll=='on')scrollSpeed=1000;var calc_scroll=pageHeaderTop+pageHeaderHeight,getOffset=UNCODE.get_scroll_offset(event);calc_scroll-=getOffset;if(!($('.menu-desktop-transparent').length&&UNCODE.wwidth>UNCODE.mediaQuery)&&!($('.menu-mobile-transparent').length&&UNCODE.wwidth<=UNCODE.mediaQueryMobile)){var shrink=typeof $('.navbar-brand').data('padding-shrink')!=='undefined'?$('.navbar-brand').data('padding-shrink')*2:36;if($('.menu-sticky .menu-container:not(.menu-hide)').length&&$('.menu-shrink').length){scrollTo+=UNCODE.menuHeight-($('.navbar-brand').data('minheight')+shrink)}}
80if(scrollSpeed==0){$('html, body').scrollTop(calc_scroll);UNCODE.scrolling=!1}else{$('html, body').on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:calc_scroll},scrollSpeed,'easeInOutCubic',function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove");UNCODE.scrolling=!1;if(getOffset!=UNCODE.get_scroll_offset(event)||$('.menu-hided').length){calc_scroll=pageHeaderTop+pageHeaderHeight;getOffset=UNCODE.get_scroll_offset(event);calc_scroll-=getOffset;$('html, body').on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:calc_scroll},scrollSpeed,'easeInOutCubic',function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove");UNCODE.scrolling=!1})}})}})}
81$(document).on('mouseenter','.col-link',function(e){var uncol=$(e.target).prev('.uncol'),el=uncol.find('.column-background');if(el){$('.btn-container .btn',uncol).addClass('active');var elOverlay=$(el[0]).find('.block-bg-overlay');if(elOverlay.length){var getOpacity=$(elOverlay).css('opacity');if(getOpacity!=1){getOpacity=Math.round(getOpacity*100)/100;var newOpacity=getOpacity+.1;$(elOverlay).data('data-opacity',getOpacity);$(elOverlay).css('opacity',newOpacity)}}}}).on('mouseleave','.col-link',function(e){var uncol=$(e.target).prev('.uncol'),el=uncol.find('.column-background');$('.btn-container .btn',uncol).removeClass('active');if(el){var elOverlay=$(el[0]).find('.block-bg-overlay');if(elOverlay.length){var getOpacity=$(elOverlay).data('data-opacity');$(elOverlay).css('opacity',getOpacity)}}});var fixAdminBar=function(){if($('html').hasClass('admin-mode')&&!SiteParameters.is_frontend_editor){var getAdminBar=$('#wpadminbar');if(getAdminBar.length){if(getAdminBar.css('position')!=='hidden'){var getAdminBarHeight=getAdminBar.height();if(getAdminBar.css('position')==='fixed'){$('html').css({'margin-top':getAdminBarHeight+'px','padding-top':UNCODE.bodyBorder+'px'});$('.body-borders .top-border').css({'margin-top':getAdminBarHeight+'px'})}else{$('html').css({'padding-top':UNCODE.bodyBorder+'px','margin-top':'0px'});$('.body-borders .top-border').css({'margin-top':'0px'})}}}}};window.addEventListener('load',fixAdminBar);window.addEventListener('resize',fixAdminBar);var beforePrint=function(){window.dispatchEvent(new CustomEvent('resize'));window.dispatchEvent(UNCODE.boxEvent)};if(window.matchMedia){var mediaQueryList=window.matchMedia('print');mediaQueryList.addListener(function(mql){if(mql.matches){beforePrint()}})}
82window.onbeforeprint=beforePrint;var safariSrcSet=function(){if(!SiteParameters.is_frontend_editor){$('html.safari img[sizes]').each(function(){var $img=$(this),sizeImg=parseInt($img.attr('sizes'));if(typeof(sizeImg)==='number'){$img.attr('sizes',(sizeImg)+'px')}})}};window.addEventListener('load',safariSrcSet)}
83UNCODE.lettering=function(){var setCTA;var highlightStill=function(){var $heading_texts=$('.heading-text:not(.animate_inner_when_almost_visible)');$.each($heading_texts,function(key,el){var $heading=$(el);if(!$('.heading-text-highlight-inner[data-animated="yes"]',$heading).length){return}
84if(UNCODE.isUnmodalOpen&&!el.closest('#unmodal-content')){return}
85var waypoint=new Waypoint({context:UNCODE.isUnmodalOpen?document.getElementById('unmodal-content'):window,element:el,handler:function(){var $anims=$('.heading-text-highlight-inner[data-animated="yes"]',this.element),anims_l=$anims.length;$anims.each(function(_key_,_el_){var $anim=$(_el_);if(!$anim.hasClass('heading-text-highlight-animated')){$anim.addClass('heading-text-highlight-animated');if($heading.data('animate')===!0){$anim.css({'-webkit-transition-duration':'0ms','-moz-transition-duration':'0ms','-o-transition-duration':'0ms','transition-duration':'0ms',})}else{$anim.css({'-webkit-transition-delay':((_key_+2)*200)+'ms','-moz-transition-delay':((_key_+2)*200)+'ms','-o-transition-delay':((_key_+2)*200)+'ms','transition-delay':((_key_+2)*200)+'ms',})}}});$anims.last().one('webkitTransitionEnd oTransitionEnd mozTransitionEnd msTransitionEnd transitionEnd',function(e){$heading.data('animate',!0)});$anims.removeAttr('data-animated')},offset:'100%'})});Waypoint.refreshAll();$(document.body).trigger('uncode_waypoints');if(typeof ScrollTrigger!=='undefined'&&ScrollTrigger!==null){$(document).trigger('uncode-scrolltrigger-refresh')}}
86requestTimeout(function(){highlightStill();$(window).on('wwResize',function(){clearRequestTimeout(setCTA);setCTA=requestTimeout(highlightStill,100)})},400)};UNCODE.isUnmodalOpen=!1;var manageVideoSize=function(){var setVideoFit;$('.wp-block-embed').each(function(){var $this=$(this);if($('iframe',$this).length){var $iframe=$('> iframe, > a > iframe',$this),w=parseFloat($iframe.attr('width')),h=parseFloat($iframe.attr('height')),url=$iframe.attr('src'),ratio,frW;if(typeof url!='undefined'&&url.indexOf('soundcloud')==-1&&h!==0){ratio=h/w;var setResizeiFto,resizeiFrame=function(){frW=$iframe.width();$iframe.css({height:frW*ratio})};resizeiFrame();$(window).on('wwResize load',function(){clearRequestTimeout(setResizeiFto);setResizeiFto=requestTimeout(function(){resizeiFrame()},10)})}}})};manageVideoSize();UNCODE.vivus=function(icon,time,delay,file){if(typeof Vivus!=='undefined'){var icon_options={type:'delayed',pathTimingFunction:Vivus.EASE_OUT,animTimingFunction:Vivus.LINEAR,duration:time,}
87if(delay){icon_options.delayStart=delay}
88if(file){icon_options.file=file}
89new Vivus(icon,icon_options)}};UNCODE.lastURL='';UNCODE.getURLParams=function(current_location,is_string){var params={};if(is_string){var url=current_location.split('?')[1]}else{var url=current_location.search;url=url.substring(1)}
90if(url){var parts=url.split('&');for(var i=0;i<parts.length;i++){var nv=parts[i].split('=');if(!nv[0]){continue}
91params[nv[0]]=nv[1]||!0}}
92return params}
93UNCODE.hasEqualURLParams=function(obj1,obj2){for(var i in obj1){if(obj1.hasOwnProperty(i)){if(!obj2.hasOwnProperty(i)){return!1}
94if(obj1[i]!=obj2[i]){return!1}}}
95for(var i in obj2){if(obj2.hasOwnProperty(i)){if(!obj1.hasOwnProperty(i)){return!1}
96if(obj1[i]!=obj2[i]){return!1}}}
97return!0}
98UNCODE.magnetic=function(){$(document).on('mousemove','.un-magnetic-zone',function(e){var $zone=$(this),zoneOff=$zone.offset(),$mgntcEl=$('.un-magnetic-el',this),elBound=this.getBoundingClientRect(),maxSize=Math.max($zone.outerWidth(),$zone.outerHeight());var Xvalue=e.pageX-(zoneOff.left+maxSize/2),Yvalue=e.pageY-(zoneOff.top+maxSize/2);$mgntcEl.each(function(key,val){var magneticValue=$(val).attr('data-mgntc')||0.5;val.animate({transform:'translate('+(Xvalue*magneticValue)+'%, '+(Yvalue*magneticValue)+'%)',},{duration:500,fill:'forwards',})})})
99$(document).on('mouseleave','.un-magnetic-zone',function(e){var $mgntcEl=$('.un-magnetic-el',this);$mgntcEl.each(function(key,val){val.animate({transform:'translate(0)',},{duration:500,fill:'forwards',})})})}})(jQuery)
100;
101/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__menusystem-js-v075cefe54a60c162d767940cd55a4fd7cf805cb5.js*/
102/*!/wp-content/themes/uncode/library/js/menuSystem.js*/
103(function($){"use strict";UNCODE.animateSubInside=function(_this,remove){if(typeof remove!=='undefined'&&remove===!0){$(document).trigger('sub-menu-slide-up');$('.animate_when_almost_visible, .translate_when_almost_visible',_this).each(function(){$(this).removeClass('start_animation').css({'animation-delay':'0s','transition-delay':'0s'})})}else{$.each($('.translate_when_almost_visible:not(.start_animation), .animate_when_almost_visible:not(.start_animation):not(.t-inside):not(.drop-image-separator), .index-scroll .animate_when_almost_visible, .tmb-media .animate_when_almost_visible:not(.start_animation), .animate_when_almost_visible.has-rotating-text, .custom-grid-container .animate_when_almost_visible:not(.start_animation)',_this),function(index,val){var element=$(val),delayAttr=element.attr('data-delay');if(delayAttr==undefined)delayAttr=0;element.css({'animation-delay':delayAttr+'ms','transition-delay':delayAttr+'ms'});element.addClass('start_animation')});
103document.dispatchEvent(new CustomEvent('sub-menu-slide-down'))}};UNCODE.menuToggleAnimation=function(){var $block=$('body'),$menuBlocks=$('.menu.unmenu-block',$block),$allSeqs=$('[data-delay-seq]',$block);$allSeqs.each(function(key,seq){$(seq).removeAttr('data-delay')});$menuBlocks.each(function(key,menu){var $animatesHidden=$('.translate_when_almost_visible',menu).filter(':hidden');$animatesHidden.each(function(key_,seq){$(seq).removeClass('translate_when_almost_visible').addClass('not_translate_when_almost_visible')});var $animatesVisibile=$('.not_translate_when_almost_visible',menu).filter(':visible');$animatesVisibile.each(function(key_,seq){$(seq).removeClass('not_translate_when_almost_visible').addClass('translate_when_almost_visible')});var $delaySequentials=$('[data-delay-seq]',menu).filter(':visible'),delay=parseFloat($delaySequentials.first().attr('data-delay-seq')),interval=parseFloat($delaySequentials.first().attr('data-interval'));$delaySequentials.each(function(_key,seq){$(seq).attr('data-delay',delay+(interval*_key))})})};$(document).on('unblock-toggles-init',UNCODE.menuToggleAnimation);UNCODE.menuSystem=function(){function menuMobile(){var $body=$('body'),scrolltop,$mobileToggleButton=$('.mobile-menu-button, .uncode-close-offcanvas-mobile:not(.vc_element)'),$masthead=$('#masthead'),$menuBlock=$('#uncode-mobile-menu-block'),$box,$el,$el_transp,elHeight,offCanvasAnim,check,animating=!1,stickyMobile=!1,menuClose=new CustomEvent('menuMobileClose'),menuOpen=new CustomEvent('menuMobileOpen');UNCODE.menuOpened=!1;$mobileToggleButton.on('click',function(event){event.stopPropagation();var btn=this;if($(btn).hasClass('overlay-close'))return;event.preventDefault();$('.overlay-search.open .menu-close-dd',$masthead).trigger('click');if(UNCODE.wwidth<=UNCODE.mediaQuery){$box=$(this).closest('.box-container').find('.main-menu-container:not(.no-mobile):not(.main-wrapper *)');$el=$(this).closest('.box-container').find('.menu-horizontal-inner:not(.row-brand):not(.main-wrapper *), .menu-sidebar-inner:not(.main-wrapper *)');$el_transp=$('.menu-absolute.menu-transparent');if(UNCODE.isMobile){if($('.menu-wrapper.menu-sticky, .menu-wrapper.menu-hide-only, .main-header .menu-sticky-vertical, .main-header .menu-hide-only-vertical, .menu-mobile-centered, .menu-sticky-mobile').length){stickyMobile=!0;elHeight=window.innerHeight-UNCODE.menuMobileHeight-(UNCODE.bodyBorder*2)-UNCODE.adminBarHeight+1}else{elHeight=0;$.each($box.find('> div'),function(index,val){elHeight+=$(val).outerHeight()})}}else{elHeight=0;$.each($el,function(index,val){elHeight+=$(val).outerHeight()})}
104var open=function(){clearTimeout(offCanvasAnim);if(!animating){$body.addClass('open-overlay-menu').addClass('opening-overlay-menu');scrolltop=$(window).scrollTop();window.dispatchEvent(menuOpen);animating=!0;UNCODE.menuOpened=!0;if($('body[class*="vmenu-"], body.hmenu-center').length&&($('.menu-hide, .menu-sticky, .menu-transparent').length)){if($body.hasClass('menu-sticky-mobile')||($('#masthead.menu-transparent').length&&!UNCODE.isMobile)){$('.main-header > .vmenu-container').css({position:'fixed',top:($('.menu-container').outerHeight()+UNCODE.bodyBorder+UNCODE.adminBarHeight)+'px'})}
105if($('body.menu-offcanvas').length){$('.menu-container:not(.sticky-element):not(.grid-filters)').css({position:'fixed'});$('.vmenu-container.menu-container:not(.sticky-element):not(.grid-filters)').css({position:'fixed',top:(UNCODE.menuMobileHeight+UNCODE.bodyBorder+UNCODE.adminBarHeight)+'px'})}else{if($('.menu-hide, .menu-sticky').length){if(UNCODE.wwidth>=960&&$('.menu-sticky').length){$('.menu-container:not(.sticky-element):not(.grid-filters)').css({position:'fixed'})}}}}
106if($('body.hmenu-center').length&&((!UNCODE.isMobile&&$('.menu-hide, .menu-sticky').length)||(UNCODE.isMobile&&$('.menu-sticky-mobile').length))){$('.menu-container:not(.sticky-element):not(.grid-filters)').css({position:'fixed',top:(UNCODE.menuMobileHeight+UNCODE.bodyBorder+UNCODE.adminBarHeight)+'px'})}
107$box.addClass('open-items');if($el_transp.length&&$('body.menu-mobile-transparent').length){$el_transp.addClass('is_mobile_open')}
108if(!$('body').hasClass('menu-mobile-off-canvas')){btn.classList.add('close');$box.animate({height:elHeight},600,"easeInOutCirc",function(){animating=!1;if(!stickyMobile)$box.css('height','auto');})}else{animating=!1}
109if($menuBlock.length){UNCODE.animateSubInside($menuBlock)}}};var close=function(){clearTimeout(offCanvasAnim);if(!animating){window.dispatchEvent(menuClose);animating=!0;UNCODE.menuOpened=!1;if(!$('body').hasClass('menu-mobile-off-canvas')){btn.classList.remove('close');btn.classList.add('closing')}
110$box.addClass('close');requestTimeout(function(){$box.removeClass('close');$box.removeClass('open-items');btn.classList.remove('closing');if($el_transp.length){$el_transp.removeClass('is_mobile_open')}},500);$body.removeClass('opening-overlay-menu');if(!$('body').hasClass('menu-mobile-off-canvas')){$box.animate({height:0},{duration:600,easing:"easeInOutCirc",complete:function(elements){$(elements).css('height','');animating=!1;if($('body[class*="vmenu-"]').length&&UNCODE.wwidth>=960){$('.main-header > .vmenu-container').add('.menu-container:not(.sticky-element):not(.grid-filters)').css('position','relative')}
111$body.removeClass('open-overlay-menu');if($menuBlock.length){UNCODE.animateSubInside($menuBlock,!0)}}})}else{animating=!1;offCanvasAnim=setTimeout(function(){$body.removeClass('open-overlay-menu');if($menuBlock.length){UNCODE.animateSubInside($menuBlock,!0)}},1000)}}};check=(!UNCODE.menuOpened)?open():close()}});$('html').on('click',function(event){if($('body').hasClass('menu-mobile-off-canvas')&&UNCODE.wwidth<960&&UNCODE.menuOpened&&event.clientX<SiteParameters.menu_mobile_offcanvas_gap){$('.uncode-close-offcanvas-mobile:visible').trigger('click')}});window.addEventListener('menuMobileTrigged',function(e){$('.mobile-menu-button.close, .opening-overlay-menu .uncode-close-offcanvas-mobile').trigger('click')});window.addEventListener('orientationchange',function(e){$('#logo-container-mobile .mobile-menu-button.close').trigger('click')});window.addEventListener("resize",function(){if($(window).width()<UNCODE.mediaQuery){if(UNCODE.isMobile){var $box=$('.box-container .main-menu-container'),$el=$('.box-container .menu-horizontal-inner:not(.no-mobile), .box-container .menu-sidebar-inner:not(.no-mobile)');if($($box).length&&$($box).hasClass('open-items')&&$($box).css('height')!='auto'&&!$('body').hasClass('menu-mobile-off-canvas')){if($('.menu-wrapper.menu-sticky, .menu-wrapper.menu-hide-only').length){elHeight=0;$.each($el,function(index,val){elHeight+=$(val).outerHeight()});elHeight=window.innerHeight-$('.menu-wrapper.menu-sticky .menu-container .row-menu-inner, .menu-wrapper.menu-hide-only .menu-container .row-menu-inner').height()-(UNCODE.bodyBorder*2)+1;$($box).css('height',elHeight+'px')}}}}else{$('.menu-hide-vertical').removeAttr('style');$('.menu-container-mobile').removeAttr('style');$('.vmenu-container.menu-container').removeAttr('style');if(UNCODE.menuOpened){$('.open-items').removeClass('open-items');$('.is_mobile_open').removeClass('is_mobile_open');$('.open-overlay-menu').removeClass('open-overlay-menu');$('.opening-overlay-menu').removeClass('opening-overlay-menu')}}});$(window).on('scroll',function(){if($body.hasClass('opening-overlay-menu')&&$body.hasClass('menu-mobile-off-canvas')&&UNCODE.wwidth<960){$(window).scrollTop(scrolltop);return!1}})};function menuOffCanvas(){var menuClose=new CustomEvent('menuCanvasClose'),menuOpen=new CustomEvent('menuCanvasOpen');$('.menu-primary .menu-button-offcanvas:not(.menu-close-search)').on('click',function(event){if($(window).width()>UNCODE.mediaQuery){if($('body.vmenu-offcanvas-overlay').length){if($(event.currentTarget).hasClass('off-close')){$(event.currentTarget).removeClass('off-close');requestTimeout(function(){window.dispatchEvent(menuClose)},500)}else{$(event.currentTarget).addClass('off-close');window.dispatchEvent(menuOpen)}}else{if($(event.currentTarget).hasClass('close')){$(event.currentTarget).removeClass('close');$(event.currentTarget).addClass('closing');requestTimeout(function(){$(event.currentTarget).removeClass('closing');window.dispatchEvent(menuClose)},500)}else{$(event.currentTarget).addClass('close');window.dispatchEvent(menuOpen)}}}
112$('body').toggleClass('off-opened')});$('body').on('click.menu-off-canvas-mobile',function(e){if($(window).width()>UNCODE.mediaQuery&&$('body.menu-offcanvas.vmenu-offcanvas-overlay.off-opened').length){var $vMenuCont=$
112('#masthead .vmenu-container'),$close_menu=$('.uncode-close-offcanvas-overlay',$vMenuCont),vmenu_h=parseFloat($vMenuCont.outerHeight()),vmenu_w=parseFloat($vMenuCont.outerWidth()),vmenu_off=$vMenuCont.offset(),vmenu_l=parseFloat(vmenu_off.left),vmenu_t=parseFloat(vmenu_off.top),vmenu_r=vmenu_l+vmenu_w,vmenu_b=vmenu_t+vmenu_h,close_h=parseFloat($close_menu.outerHeight()),close_w=parseFloat($close_menu.outerWidth()),close_off=$close_menu.offset(),close_l=parseFloat(close_off.left),close_t=parseFloat(close_off.top),close_r=close_l+close_w,close_b=close_t+close_h;if(!(e.clientX>vmenu_l&&e.clientX<vmenu_r)||(e.clientX>close_l&&e.clientX<close_r)){$('.menu-primary .menu-button-offcanvas:not(.menu-close-search)').trigger('click')}}})};function menuOverlay(){if($('.overlay').length){$('.overlay').removeClass('hidden')}
113if(($('.overlay-sequential').length>0&&UNCODE.wwidth>=UNCODE.mediaQuery)||($('.menu-mobile-animated').length>0&&UNCODE.wwidth<UNCODE.mediaQuery)){$('.overlay-sequential .menu-smart > li, .menu-sticky .menu-container .menu-smart > li, .menu-hide.menu-container .menu-smart > li, .vmenu-container .menu-smart > li, .uncode-menu-additional-text').each(function(index,el){var transDelay=(index/20)+0.1;if($('body').hasClass('menu-mobile-centered')&&$(window).width()<UNCODE.mediaQuery)
114transDelay=transDelay+0.3;$(this)[0].setAttribute('style','-webkit-transition-delay:'+transDelay+'s; -moz-transition-delay:'+transDelay+'s; -ms-transition-delay:'+transDelay+'s; -o-transition-delay:'+transDelay+'s; transition-delay:'+transDelay+'s')})}};var $secondary_parent;function menuAppend(){var $menuBlock=$('#uncode-mobile-menu-block').length;if($menuBlock){return}
115var $body=$('body'),$menuCont=$('.menu-container:not(.vmenu-container)'),$vMenuCont=$('.menu-container.vmenu-container'),$cta=$('.navbar-cta'),$socials=$('.navbar-social:not(.appended-navbar)'),$ul=$('.navbar-main ul.menu-primary-inner'),$ulCta,$ulSocials,$navLast,$firstMenu=$('.main-menu-container:first-child',$menuCont),$secondMenu=$('.main-menu-container:last-child',$menuCont),$firstNav=$('.navbar-nav:not(.uncode-close-offcanvas-mobile):first-child',$firstMenu),$secondNav=$('.navbar-nav:not(.uncode-close-offcanvas-mobile):first-child',$secondMenu),$ulFirst=$('> ul',$firstNav),setCTA,appendCTA=function(){return!0},appendSocials=function(){return!0},appendSplit=function(){return!0};if(($body.hasClass('menu-offcanvas')||$body.hasClass('menu-overlay')||$body.hasClass('hmenu-center-split'))&&$cta.length){$ulCta=$('> ul',$cta);$ulCta.parent().addClass('mobile-hidden').addClass('tablet-hidden');appendCTA=function(){if(UNCODE.wwidth<UNCODE.mediaQuery){$ul.after($ulCta)}else{$cta.append($ulCta)}}}
116if(!$body.hasClass('cta-not-appended')){appendCTA()}
117var $smartSocial=$menuCont.add($vMenuCont).find('.menu-smart-social');$smartSocial.each(function(){var $_smartSocial=$(this);$('> li',$_smartSocial).each(function(){var $li=$(this);if($li.hasClass('mobile-hidden')){$_smartSocial.addClass('mobile-hidden')}else{$_smartSocial.removeClass('mobile-hidden');return!1}});$('> li',$_smartSocial).each(function(){var $li=$(this);if($li.hasClass('tablet-hidden')){$_smartSocial.addClass('tablet-hidden')}else{$_smartSocial.removeClass('tablet-hidden');return!1}})});if(($body.hasClass('hmenu-center-split')||$body.hasClass('menu-overlay-center')||$body.hasClass('menu-offcanvas')||$body.hasClass('vmenu'))&&$socials.length){$ulSocials=$('> ul',$socials).addClass('menu-smart-social');if($body.hasClass('hmenu-center-split')){$navLast=$('.menu-horizontal-inner .navbar-nav-last',$menuCont)}else{$navLast=$('.navbar-nav-last',$vMenuCont)}
118if(!$navLast.length){var _navLast=$('<div class="nav navbar-nav navbar-social navbar-nav-last appended-navbar" />');if($body.hasClass('hmenu-center-split')){$('.menu-horizontal-inner',$menuCont).append(_navLast);$navLast=$('.menu-horizontal-inner .navbar-nav-last',$menuCont)}else{$('.menu-sidebar-inner',$vMenuCont).last().append(_navLast);$navLast=$('.navbar-nav-last',$vMenuCont)}}
119appendSocials=function(){if(!$body.hasClass('menu-overlay-center')){if(UNCODE.wwidth<UNCODE.mediaQuery){$socials.addClass('mobile-hidden').addClass('tablet-hidden')
120if(!$('> ul.menu-smart-social li',$socials).length){$('> ul.menu-smart-social li',$socials).remove()}
121$navLast.append($ulSocials)}else{if(!$('> ul.menu-smart-social li',$navLast).length){$('> ul.menu-smart-social li',$navLast).remove()}
122$socials.append($ulSocials)}}}
123appendSocials()}
124if($vMenuCont.length){var $accordion_secondary=$('.menu-accordion-secondary',$vMenuCont)}else{var $accordion_secondary=$('.menu-accordion-secondary',$menuCont)}
125if($accordion_secondary.length){var $accordion_secondary_ph=$vMenuCont.add($menuCont).find('.accordion-secondary-ph');if(UNCODE.wwidth<UNCODE.mediaQuery){if(!$accordion_secondary_ph.length){$accordion_secondary.after('<span class="accordion-secondary-ph" />')}
126if($vMenuCont.length){$('.menu-sidebar-inner',$vMenuCont).first().find('.menu-accordion:not(.menu-accordion-secondary):not(.menu-accordion-extra-icons)').last().after($accordion_secondary)}else{if($('.navbar-nav.navbar-cta:not(.mobile-hidden)',$menuCont).length){$('.navbar-nav.navbar-cta',$menuCont).after($accordion_secondary)}
126else{$('.navbar-nav.navbar-main',$menuCont).after($accordion_secondary)}}}else{if(typeof $accordion_secondary_ph!=='undefined'&&$accordion_secondary_ph.length){$accordion_secondary_ph.before($accordion_secondary)}}}
127if($vMenuCont.length){var $extra_icons=$('.menu-accordion-extra-icons',$vMenuCont)}else{var $extra_icons=$('.navbar-extra-icons',$menuCont)}
128if($extra_icons.length){if($vMenuCont.length){if($('li:not(.social-icon)',$extra_icons).length){if(UNCODE.wwidth<UNCODE.mediaQuery){var $not_social=$('> ul > li:not(.social-icon)',$extra_icons),$primary_after=$('.menu-accordion-primary-after',$vMenuCont);$not_social.each(function(){if(!$primary_after.length){$('.menu-accordion-primary',$vMenuCont).after('<div class="menu-accordion menu-accordion-primary-after" />');$primary_after=$('.menu-accordion-primary-after',$vMenuCont);$primary_after.append('<ul class="menu-smart sm sm-vertical menu-smart-social" />')}
129var $extra_li=$(this);$primary_after.find('> ul').append($extra_li)})}else{var $primary_after=$('.menu-accordion-primary-after',$vMenuCont),$not_social=$('> ul > li:not(.social-icon)',$primary_after);$not_social.each(function(){var $extra_li=$(this);$extra_icons.find('> ul').append($extra_li)})}}}else{if(!$body.hasClass('hmenu-center-double')){if(UNCODE.wwidth<UNCODE.mediaQuery){var $not_social=$('> ul > li:not(.social-icon)',$extra_icons),$primary_after=$('.nav.navbar-main-after',$menuCont);if(!$primary_after.length&&$not_social.length){if($('.navbar-nav.navbar-cta:not(.mobile-hidden)',$menuCont).length){$('.navbar-nav.navbar-cta',$menuCont).after('<div class="nav navbar-main-after" />')}else{$('.navbar-nav.navbar-main',$menuCont).after('<div class="nav navbar-main-after" />')}
130$primary_after=$('.nav.navbar-main-after',$menuCont);$primary_after.append('<ul class="menu-smart sm menu-smart-social" role="menu" />')}
131var tablet_hidden=!0,mobile_hidden=!0;$not_social.each(function(){var $extra_li=$(this);$primary_after.find('> ul').append($extra_li);if(!$extra_li.hasClass('tablet-hidden')){tablet_hidden=!1}
132if(!$extra_li.hasClass('mobile-hidden')){mobile_hidden=!1}});if(tablet_hidden===!0&&$not_social.length){$primary_after.addClass('tablet-hidden')}
133if(mobile_hidden===!0&&$not_social.length){$primary_after.addClass('mobile-hidden')}}else{var $primary_after=$('.nav.navbar-main-after',$menuCont);if($primary_after.length){var $not_social=$('> ul > li:not(.social-icon)',$primary_after);$not_social.each(function(){var $extra_li=$(this);$extra_icons.find('> ul').append($extra_li)});$primary_after.remove()}}}}}
134if(($body.hasClass('hmenu-center-double'))){appendSplit=function(){if(UNCODE.wwidth<UNCODE.mediaQuery){if($extra_icons.length){if($('li:not(.social-icon):not(.tablet-hidden):not(.mobile-hidden)',$extra_icons).length){var $not_social=$('> ul > li:not(.social-icon)',$extra_icons),$append_ul=$('<ul class="menu-smart sm sm-vertical append-extra-icons" />');$not_social.each(function(){var $extra_li=$(this);$append_ul.append($extra_li)});if($secondNav.length){$secondNav.append($append_ul)}else{$('.menu-horizontal-inner',$menuCont).prepend($append_ul)}}}
135if($secondNav.length){$secondNav.prepend($ulFirst)}else{$('.menu-horizontal-inner',$menuCont).prepend($ulFirst)}
136$firstMenu.hide()}else{$firstNav.append($ulFirst);var $append_ul=$('.menu-horizontal-inner ul.append-extra-icons',$menuCont).eq(0);if($append_ul.length){var $not_social=$('> li:not(.social-icon)',$append_ul);$not_social.each(function(){var $extra_li=$(this);$extra_icons.find('> ul').append($extra_li)})}
137$('.menu-horizontal-inner ul.append-extra-icons',$menuCont).remove();$('.menu-horizontal-inner > .menu-primary-inner',$menuCont).remove();$firstMenu.css({'display':'table-cell'})}}}
138appendSplit();$(window).on('wwResize',function(){clearRequestTimeout(setCTA);setCTA=requestTimeout(function(){appendCTA();appendSocials();appendSplit()},10)})}
139menuMobile();menuOffCanvas();menuAppend();menuOverlay();var stickyDropdownSearch=function(){var $masthead=$('#masthead'),$ddSearch=$('.overlay.overlay-search',$masthead),$styles=$('#stickyDropdownSearch').remove();if($('body.hmenu-center.menu-sticky-mobile').length&&$ddSearch.length){var $menuWrapper=$('.menu-wrapper'),$navbar=$('.menu-container-mobile',$menuWrapper),navbarH=$navbar.outerHeight(),_css;_css='<style id="stickyDropdownSearch">';_css+='@media (max-width: 959px) {';_css+='body.hmenu-center.menu-sticky-mobile #masthead .overlay.overlay-search {';_css+='margin-top: '+parseFloat(navbarH)+'px !important;';_css+='}';_css+='body.hmenu-center.menu-sticky-mobile .navbar.is_stuck + #masthead .overlay.overlay-search {';_css+='position: fixed;';_css+='top: 0;';_css+='}';_css+='</style>';$(_css).appendTo($('head'))}}
140stickyDropdownSearch();var setMenuOverlay;$(window).on('wwResize',function(){if($('.overlay').length&&$(window).width()>1024){$('.overlay').addClass('hidden')}
141clearRequestTimeout(setMenuOverlay);setMenuOverlay=requestTimeout(function(){menuOverlay();menuAppend();stickyDropdownSearch()},150)});UNCODE.menuMegaBlock();UNCODE.menuSmartInit();$(window).on('wwResize',function(){UNCODE.menuSmartInit()});$(window).on('menuOpen',function(){var $overlay=$('.overlay.overlay-unblock');if($overlay.length){UNCODE.animateSubInside($overlay)}});$(window).on('menuClosed',function(){var $overlay=$('.overlay.overlay-unblock');if($overlay.length){UNCODE.animateSubInside($overlay,!0);var $smartMenus=$overlay.find('.menu-smart');$smartMenus.each(function(key,smartMenu){$(smartMenu).smartmenus('menuHideAll')}
141)}})};UNCODE.menuSmartInit=function(){var $menusmart=$('[class*="menu-smart"]'),$masthead=$('#masthead'),$hMenu=$('.menu-horizontal-inner',$masthead),$focus=$('.overlay-menu-focus'),$uls_anim=$('> li> ul[role="menu"]',$menusmart),showTimeout=50,hideTimeout=50,showTimeoutFunc,hideTimeoutFunc,subMenuRT;if(typeof $masthead.attr('data-menu-anim')!=='undefined'&&$masthead.attr('data-menu-anim')!==''){var menu_anim=$masthead.attr('data-menu-anim');if(UNCODE.wwidth>=UNCODE.mediaQuery){$uls_anim.each(function(){var $ul_anim=$(this);if(!$('> li[data-block]',$ul_anim).length){$ul_anim.addClass('animate_when_almost_visible');$ul_anim.addClass(menu_anim)}else{var dataB=$('> li[data-block]',$ul_anim).attr('data-block');if(dataB!=='no-anim'&&!dataB.includes('slight-anim')){$ul_anim.addClass('animate_when_almost_visible');$ul_anim.addClass(dataB)}}})}else{$uls_anim.each(function(){var $ul_anim=$(this);if(!$('> li[data-block]',$ul_anim).length){$ul_anim.removeClass('animate_when_almost_visible');$ul_anim.removeClass(menu_anim)}else{var dataB=$('> li[data-block]',$ul_anim).attr('data-block');$ul_anim.removeClass('animate_when_almost_visible');$ul_anim.removeClass(dataB)}})}}
142$('> li.menu-item-has-children',$menusmart).hover(function(){$(this).data('hover',!0)},function(){$(this).data('hover',!1)});$('> li.menu-item-has-children',$menusmart).each(function(){var $a=$('> a',this).attr('aria-haspopup','true').attr('aria-expanded','false')});$('> li.menu-item a[href="#"]',$menusmart).on('click',function(e){e.preventDefault()});if($(window).width()>=UNCODE.mediaQuery&&$('.overlay-menu-focus').length){var $notLis=$('> .nav > ul > li a',$hMenu),$menuA=$('a',$masthead).not($notLis),$hoverSelector=$('> .nav > ul > li',$hMenu).has('> ul'),showFuncCond=function(){return!0};if($('body').hasClass('focus-megamenu')){$hoverSelector=$('> .nav > ul > li',$hMenu).has('.need-focus');showFuncCond=function($ul){return $ul.hasClass('need-focus')}}else if($('body').hasClass('focus-links')){$hoverSelector=$('> .nav > ul > li',$hMenu).add($menuA)}
143$hoverSelector.hover(function(){clearRequestTimeout(hideTimeoutFunc);showTimeoutFunc=requestTimeout(function(){$('body').addClass('navbar-hover')},showTimeout*2)},function(){hideTimeoutFunc=requestTimeout(function(){if(!$('.overlay-search.open',$masthead).length){$('body').removeClass('navbar-hover')}},hideTimeout*2)})}else{showFuncCond=function(){return!1}}
144if($menusmart.length>0){var objShowTimeout;$menusmart.smartmenus({subIndicators:!1,subIndicatorsPos:'append',showOnClick:SiteParameters.menuShowOnClick,subIndicatorsText:'',showTimeout:showTimeout,hideTimeout:hideTimeout,scrollStep:8,showFunction:function($ul,complete){$(document).trigger('un-menu-show',$ul);clearRequestTimeout(showTimeoutFunc);$ul.fadeIn(0,'linear',function(){complete();if($ul.hasClass('vc_row')){$ul.css({'display':'table'})}
145if($('.overlay-menu-focus').length&&$ul.hasClass('need-focus')){$('body').addClass('open-megamenu')}
146if($('.overlay-menu-focus').length&&showFuncCond($ul)&&$(window).width()>=UNCODE.mediaQuery&&$ul.closest('.main-menu-container').length){$('body').addClass('navbar-hover')}
147var showed=0;$('.animate_when_almost_visible, .translate_when_almost_visible',$ul).each(function(index,val){var $element=$(this),delayAttr=$element.attr('data-delay');if(!$element.closest('.owl-carousel').length&&!$element.closest('.cssgrid-animate-sequential').length){if(delayAttr==undefined)delayAttr=0;requestTimeout(function(){$element.addClass('start_animation')},delayAttr)}else if($element.closest('.cssgrid-animate-sequential').length){var grid=$element.closest('.cssgrid-animate-sequential');var delay=index,delayAttr=parseInt($element.attr('data-delay'));if(isNaN(delayAttr))delayAttr=100;delay-=showed;objShowTimeout=requestTimeout(function(){$element.removeClass('zoom-reverse').addClass('start_animation');showed=index},delay*delayAttr)}});if($ul.is('.animate_when_almost_visible')){$ul.addClass('start_animation')}}).addClass('open-animated')},hideFunction:function($ul,complete){if($('.overlay-menu-focus').length&&$ul.hasClass('need-focus')&&!$('.overlay-search.open',$masthead).length){$('body').removeClass('open-megamenu')}
148var fixIE=$('html.ie').length;if(fixIE){var $rowParent=$($ul).closest('.main-menu-container');$rowParent.height('auto')}
149$ul.fadeOut(0,'linear',function(){complete();$ul.removeClass('open-animated');
149if($ul.closest('li.menu-item-has-children').data('hover')===!1){$('body').removeClass('open-submenu')}
150$('.animate_when_almost_visible, .translate_when_almost_visible',$ul).each(function(){$(this).removeClass('start_animation')});if($ul.is('.animate_when_almost_visible')){$ul.removeClass('start_animation')}});$ul.find('.start_animation').each(function(index,val){clearRequestTimeout(subMenuRT);$(val).removeClass('start_animation')});$(document).trigger('un-menu-hide',$ul);clearRequestTimeout(objShowTimeout)},collapsibleShowFunction:function($ul,complete){$ul.slideDown(400,'easeInOutCirc',function(){UNCODE.animateSubInside($ul);complete()})},collapsibleHideFunction:function($ul,complete){$ul.slideUp(200,'easeInOutCirc',function(){complete()});$(document).trigger('sub-menu-slide-up')},hideOnClick:SiteParameters.menuHideOnClick,});if($('body').hasClass('menu-accordion-active')){$menusmart.each(function(key,menu){$(menu).addClass('menu-smart-init');$(menu).smartmenus('itemActivate',$(menu).find('.current-menu-item > a').eq(-1))})}
151$menusmart.each(function(key,menu){$(menu).on('beforecollapse.smapi',function(e,$sub){if($('> .trigger-window-resize',$sub).length){window.dispatchEvent(new Event('resize'));$(window).trigger('uncode.re-layout')}else if($('> .trigger-box-resize',$sub).length){window.dispatchEvent(new CustomEvent('boxResized'))}
152return!1})});$(document).on('uncode.smartmenu-appended',function(){requestTimeout(function(){$menusmart.smartmenus('refresh')},1000)})}
153$('.main-menu-container').each(function(){var $main_cont=$(this),$uls=$('ul:not(.nav-tabs)',$main_cont);$uls.each(function(){var $ul=$(this),mobile_hidden=!0,tablet_hidden=!0;$('> li:not(.hidden)',$ul).each(function(){if(!$(this).hasClass('mobile-hidden')){mobile_hidden=!1;return!1}});$('> li:not(.hidden)',$ul).each(function(){if(!$(this).hasClass('tablet-hidden')){tablet_hidden=!1;return!1}});if(mobile_hidden){$ul.addClass('mobile-hidden')}
154if(tablet_hidden){$ul.addClass('tablet-hidden')}});var $divUlsMB=$('div:has(>ul.mobile-hidden)');$divUlsMB.each(function(){var $divUlMB=$(this),div_mobile_hidden=!0,div_tablet_hidden=!0;$('> ul:not(.hidden)',$divUlMB).each(function(){if(!$(this).hasClass('mobile-hidden')){div_mobile_hidden=!1;return!1}});$('> ul:not(.hidden)',$divUlMB).each(function(){if(!$(this).hasClass('tablet-hidden')){div_tablet_hidden=!1;return!1}});if(div_mobile_hidden){$divUlMB.addClass('mobile-hidden')}
155if(div_tablet_hidden){$divUlMB.addClass('tablet-hidden')}})});var overlaySearchButton=function(){var $search_wrap=$('.overlay.overlay-search, .widget_search');$search_wrap.each(function(){var $form=$('form',this),$icon=$('i',$form);$icon.on('click',function(){$form.submit()})})};overlaySearchButton()}
156UNCODE.menuMegaBlock=function(){var $megaBlocks=$('.megamenu-block-wrapper');if(!$megaBlocks.length){return}
157$megaBlocks.each(function(){var $megaLi=$(this),dataLi=$megaLi.attr('data-block'),$megaUl=$megaLi.closest('ul').addClass('block-wrapper-parent unmenu-inner-ul'),$innerUl=$megaLi.find('ul').addClass('unmenu-inner-ul');$megaUl.addClass(dataLi);$('img',$megaLi).removeAttr('loading')})}
158UNCODE.unBlockMenu=function(){var $unBlockMenus=$('.menu.unmenu-block');$unBlockMenus.each(function(){var $unBlockMenu=$(this),$lastOnes;if(!$unBlockMenu.hasClass('first-grid')){$lastOnes=$('ul',$unBlockMenu).last();$lastOnes.each(function(){var _cols=$(this).css('grid-template-columns');if(_cols.split(' ').length>1&&!_cols.startsWith('repeat(1,')){$unBlockMenu.addClass('has-last-ones');$(this).addClass('last-one')}else{var $parentLi=$(this).closest('li'),$siblingLi=$parentLi.next();if(!$siblingLi.length){$unBlockMenu.addClass('has-last-ones');$(this).addClass('last-one')}}})}else{var checkGrids=function(){$unBlockMenu.find('.last-ul').removeClass('last-one');var _cols=$unBlockMenu.css('grid-template-columns'),cols=_cols.match(/^repeat\(\s*(\d+)\s*,/)?parseInt(_cols.match[1],10):_cols.split(' ').length,$lis=$('> li',$unBlockMenu),totLi=$lis.length,lastRowCount=totLi-(totLi%cols||cols),$lastLis=$lis.slice(cols).addClass('last-lis'),$lastRowLis=$lis.slice(lastRowCount);$lastRowLis.each(function(){var $lastRowLi=$(this);$lastRowLi.find('ul').last().addClass('last-one')})}
159$(window).on('wwResize',checkGrids);checkGrids()}});var $tgglBlocks=$('.unmenu-collapse');$tgglBlocks.each(function(key,val){var $acc=$(val),$titles=$('.menu-item-has-children > *:first-child',$acc),run=!0;var checkRun=function(){if($acc.hasClass('unmenu-collapse-mobile')&&UNCODE.wwidth>=UNCODE.mediaQuery){run=!1}else{run=!0}
160if($titles.length){$titles.each(function(_key,_val){var $title=$(_val),$sub=$title.closest('li').find('> ul.un-submenu');$sub.each(function(key,val){if(run){var total=$sub.length;var completed=0;$(val).slideUp({duration:1,complete:function(){$(this).addClass('toggle-init');completed++;if(completed===total){$(document).trigger('unblock-toggles-init');$(document.body).trigger('uncode_waypoints')}}})}else{$(val).show()}})})}else{$(document).trigger('unblock-toggles-init');console.log('check');$(document.body).trigger('uncode_waypoints')}}
161checkRun();$(window).on('wwResize menuClosed',checkRun);if($titles.length){$titles.each(function(_key,_val){var $title=$(_val),$sub=$title.closest('li').find('> ul.un-submenu'),$menu=$sub.closest('.menu.unmenu-block'),$ulS;$title.off('click').on('click',function(e){e.preventDefault();$ulS=$menu.find('ul:visible').not($sub).not($sub.parents('ul'))
162if(run){if($sub.is(':visible')){$sub.slideUp(200,'easeInOutCirc',function(){$.each($('.start_animation',$sub),function(index,val){var element=$(val);element.removeClass('start_animation')});$sub.parents('li').eq(0).addClass('un-submenu-closed').removeClass('un-submenu-open');$(document).trigger('sub-menu-slide-up')})}else{$ulS.slideUp({duration:200,easing:'easeInOutCirc',start:function(){var _this=$(this);_this.parents('li').eq(0).addClass('un-submenu-closed').removeClass('un-submenu-open');$(document).trigger('sub-menu-slide-up')}});$sub.slideDown({duration:400,easing:'easeInOutCirc',start:function(){var _this=$(this);_this.css('height',0);if(_this.hasClass('is-grid')){_this.css('display','grid')}
163UNCODE.animateSubInside(_this)
164_this.parents('li').eq(0).addClass('un-submenu-open').removeClass('un-submenu-closed')}})}}})});if($acc.closest('#masthead').length){$(window).on('menuMobileClose menuCanvasClose unmodal-close uncode-sidecart-closed',function(){$acc.find('ul.un-submenu').slideUp(200,'easeInOutCirc')})}}})};UNCODE.mobileMenuBlockSkins=function(){var $mobileBlock=$('#uncode-mobile-menu-block'),$parentDark=$mobileBlock.closest('.submenu-dark'),$parentLight=$mobileBlock.closest('.submenu-light');if($parentDark.length){var $cols=$('.uncol.style-light:not(.style-spec):not(.style-run)',$mobileBlock);$cols.each(function(key,val){var $col=$(val).removeClass('style-light').addClass('style-dark style-run')})}
165if($parentLight.length){var $cols=$('.uncol.style-dark:not(.style-spec):not(.style-run)',$mobileBlock);$cols.each(function(key,val){var $col=$(val).removeClass('style-dark').addClass('style-light style-run')})}}})(jQuery)
166;
167/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__disablehoverscroll-js-v49ae89fd925e72381c4708fe3482c61d0cd7a004.js*/
168/*!/wp-content/themes/uncode/library/js/disableHoverScroll.js*/
169(function($){"use strict";UNCODE.is_scrolling=!1;UNCODE.disableHoverScroll=function(){if(!UNCODE.isMobile&&!UNCODE.isFullPage&&!SiteParameters.is_frontend_editor&&(!SiteParameters.smoothScroll||SiteParameters.smoothScrollDisableHover)){var body=document.body,timer;window.addEventListener('scroll',function(){var delay=(body.classList.contains('bg-changer-init'))?SiteParameters.bg_changer_time:300;clearRequestTimeout(timer);if(body.classList&&!body.classList.contains('disable-hover')){body.classList.add('disable-hover');window.dispatchEvent(new CustomEvent('disable-hover'))}
170UNCODE.is_scrolling=!0;timer=requestTimeout(function(){if(body.classList){body.classList.remove('disable-hover');window.dispatchEvent(new CustomEvent('enable-hover'))}
171UNCODE.is_scrolling=!1},delay)},!1)}}})(jQuery)
172;
173/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__animations-js-v57cd6957c739f960a0c42f66525e260827f8dcb0.js*/
174/*!/wp-content/themes/uncode/library/js/animations.js*/
175(function($){"use strict";UNCODE.animations=function(){var runWaypoints_TO,runWaypoints_carousel_TO,runWaypoints_delay=0,highlightComplexFunc=function($wrap,ev){var $lines=$('.heading-line-wrap',$wrap),not_animate=!1;if($wrap.data('animate')===!0){not_animate=!0}
176var $rotatingTxt=$('.uncode-rotating-text-start',$wrap);if($rotatingTxt.length&&$rotatingTxt.attr('data-animated')!=='true'){return}
177$lines.each(function(_key,_value){var $line=$(_value),$inners=$('.split-word-inner',$line),$highlights=$('.heading-text-highlight-inner',$line);var highlitInnerFunc=function(ev){var delay=0;$highlights.each(function(h_key,high){var $highlight=$(high),$split=$highlight.closest('.split-word:not(.uncode-rotating-span)'),$nextSplit=$split.nextUntil(),$next=$('.heading-text-highlight-inner',$nextSplit),countCh=$split.text().length;$highlight.css({'-webkit-transition-duration':(30*countCh)+'ms','-moz-transition-duration':(30*countCh)+'ms','-o-transition-duration':(30*countCh)+'ms','transition-duration':(30*countCh)+'ms',});delay+=(30*countCh);$next.css({'-webkit-transition-delay':delay+'ms','-moz-transition-delay':delay+'ms','-o-transition-delay':delay+'ms','transition-delay':delay+'ms',})});$highlights.removeAttr('data-animated');
177if(_key+1===$lines.length){$wrap.data('animate',!0)}};if($('.heading-text-highlight-inner[data-animated="yes"]',$line).length){if(not_animate){$highlights.each(function(h_key,high){var $highlight=$(high);$highlight.css({'-webkit-transition-duration':'0ms','-moz-transition-duration':'0ms','-o-transition-duration':'0ms','transition-duration':'0ms',})});$highlights.removeAttr('data-animated')}else{if(typeof ev!=='undefined'&&ev.type==='defer-highlights'){highlitInnerFunc()}else{$inners.last().one('webkitAnimationEnd oanimationend mozAnimationEnd msAnimationEnd animationEnd',highlitInnerFunc)}}}})};$.each($('.header-content-inner'),function(index,val){var element=$(val),transition='';if(element.hasClass('top-t-bottom'))transition='top-t-bottom';if(element.hasClass('bottom-t-top'))transition='bottom-t-top';if(element.hasClass('left-t-right'))transition='left-t-right';if(element.hasClass('right-t-left'))transition='right-t-left';if(element.hasClass('zoom-in'))transition='zoom-in';if(element.hasClass('zoom-out'))transition='zoom-out';if(element.hasClass('alpha-anim'))transition='alpha-anim';if(element.hasClass('slight-anim'))transition='slight-anim';if(transition!=''){$(val).removeClass(transition);var container=element,containerDelay=container.attr('data-delay'),containerSpeed=container.attr('data-speed'),items=$('.header-title > *, .post-info',container);$.each(items,function(index,val){var element=$(val),delayAttr=(containerDelay!=undefined)?containerDelay:400;if(!element.hasClass('animate_when_almost_visible')&&!element.hasClass('translate_when_almost_visible')){delayAttr=Number(delayAttr)+(400*index);if(containerSpeed!=undefined)element.attr('data-speed',containerSpeed);element.addClass(transition+' animate_when_almost_visible').attr('data-delay',delayAttr)}});container.css('opacity',1)}});function animate_css_grids_on_load(){$('.cssgrid-system').each(function(){var grid=$(this);var sequential=grid.hasClass('cssgrid-animate-sequential')?!0:!1;UNCODE.animate_css_grids(grid,grid.find('.tmb-grid'),0,sequential,!1)})}
178var delayAdd=0;window.waypoint_animation=function(ev){$.each($('.translate_when_almost_visible:not(.start_animation), .animate_when_almost_visible:not(.start_animation):not(.t-inside):not(.drop-image-separator), .tmb-linear .animate_when_almost_visible:not(.start_animation), .index-scroll .animate_when_almost_visible, .tmb-media .animate_when_almost_visible:not(.start_animation), .animate_when_almost_visible.has-rotating-text, .custom-grid-container .animate_when_almost_visible:not(.start_animation)').filter(function(){var $el=$(this);if(!$el.is('[data-delay-seq]'))return!0;return $el.is('[data-delay]')}),function(index,val){if($(val).hasClass('el-text-split')||(($(val).closest('.unscroll-horizontal').length||$(val).closest('.index-scroll').length||$(val).closest('.tab-pane:not(.active)').length||$(val).closest('.panel:not(.active-group)').length||$(val).closest('.un-submenu').length||$(val).closest('#uncode-mobile-menu-block').length||$(val).closest('.has-unblock').length)&&!SiteParameters.is_frontend_editor)){return!0}
179if(UNCODE.isUnmodalOpen&&!val.closest('#unmodal-content')){return}
180var run=!0,$carousel=$(val).closest('.owl-carousel'),marquee=$(val).closest('.tmb-linear').length;if($carousel.length){run=!1}
181if($(val).closest('.megamenu-block-wrapper').length){run=!1}
182if(run){new Waypoint({context:UNCODE.isUnmodalOpen?document.getElementById('unmodal-content'):window,element:val,handler:function(){var element=$(this.element),index=element.index(),delayAttr=element.attr('data-delay');if(delayAttr==undefined)delayAttr=0;requestTimeout(function(){element.addClass('start_animation')},delayAttr);if(!UNCODE.isUnmodalOpen){this.destroy()}},offset:UNCODE.isFullPage?'100%':'90%'})}});$.each($('.animate_inner_when_almost_visible'),function(index,val){if(UNCODE.isUnmodalOpen&&!val.closest('#unmodal-content')){return}
183var run=!0,$carousel=$(val).closest('.owl-carousel');if($carousel.length){run=!1}
184if(run){new Waypoint({context:UNCODE.isUnmodalOpen?document.getElementById('unmodal-content'):window,element:val,handler:function(){var $element=$(this.element),$childs=$('.animate_when_parent_almost_visible',$element);$childs.each(function(key,el){var $child=$(el),delaySpeed=$child.attr('data-speed'),delayAttr=$child.attr('data-delay'),intervalAttr=$child.attr('data-interval');if(delayAttr==undefined){delayAttr=50*key}
185requestTimeout(function(){$child.addClass('start_animation');if($child.hasClass('anim-line-checker')){$child.on('webkitAnimationEnd oanimationend mozAnimationEnd msAnimationEnd animationEnd',function(e){var $line=$child.closest('.heading-line-wrap')})}
186var $wrapText=$child.closest('.animate_inner_when_almost_visible');highlightComplexFunc($wrapText,ev);if($child.hasClass('anim-tot-checker')){$child.on('webkitAnimationEnd oanimationend mozAnimationEnd msAnimationEnd animationEnd',function(e){if($child.hasClass('anim-tot-checker')){$wrapText.addClass('already-animated');$element.trigger('already-animated')}})}},delayAttr)});$element.addClass('start_animation');if(!UNCODE.isUnmodalOpen){this.destroy()}},offset:UNCODE.isFullPage?'100%':'90%'})}})}
187window.waypoint_carousel_animation=function(ev){$.each($('.owl-carousel').find('.animate_when_almost_visible:not(.start_animation):not(.t-inside):not(.drop-image-separator), .tmb-media .animate_when_almost_visible:not(.start_animation)'),function(index,val){if($(val).hasClass('el-text-split')){return!0}
188if(UNCODE.isUnmodalOpen&&!val.closest('#unmodal-content')){return}
189var run=!0,$carousel=$(val).closest('.owl-carousel'),$first_item=$(val).closest('.owl-item[data-index="1"]'),$all_first=$('.owl-item[data-index="1"]',$carousel);if(!($first_item.length&&$first_item.attr('data-already-reached')!=='true')&&$carousel.attr('data-front-edited')!=='true'){run=!1}
190if(run){new Waypoint({context:UNCODE.isUnmodalOpen?document.getElementById('unmodal-content'):window,element:val,handler:function(){var element=$(this.element),index=element.index(),delayAttr=element.attr('data-delay');if(delayAttr==undefined)delayAttr=0;requestTimeout(function(){if($first_item.length&&$first_item.attr('data-already-reached')!=='true'){$all_first.attr('data-already-reached','true')}
191element.addClass('start_animation')},delayAttr);
191if(!UNCODE.isUnmodalOpen){this.destroy()}},offset:UNCODE.isFullPage?'100%':'90%'})}});$.each($('.owl-carousel').find('.animate_inner_when_almost_visible'),function(index,val){if(UNCODE.isUnmodalOpen&&!val.closest('#unmodal-content')){return}
192var run=!0,$carousel=$(val).closest('.owl-carousel'),$first_item=$(val).closest('.owl-item[data-index="1"]'),$all_first=$('.owl-item[data-index="1"]',$carousel);if(!($first_item.length&&$first_item.attr('data-already-reached')!=='true')&&$carousel.attr('data-front-edited')!=='true'){run=!1}
193if(run){new Waypoint({context:UNCODE.isUnmodalOpen?document.getElementById('unmodal-content'):window,element:val,handler:function(){var $element=$(this.element),$childs=$('.animate_when_parent_almost_visible',$element);$childs.each(function(key,el){var $child=$(el),delaySpeed=$child.attr('data-speed'),delayAttr=$child.attr('data-delay'),intervalAttr=$child.attr('data-interval');if(delayAttr==undefined){delayAttr=50*key}
194requestTimeout(function(){if($first_item.length&&$first_item.attr('data-already-reached')!=='true'){$all_first.attr('data-already-reached','true')}
195$child.addClass('start_animation');if($child.hasClass('anim-line-checker')){$child.on('webkitAnimationEnd oanimationend mozAnimationEnd msAnimationEnd animationEnd',function(e){var $line=$child.closest('.heading-line-wrap')})}
196var $wrapText=$child.closest('.animate_inner_when_almost_visible');highlightComplexFunc($wrapText,ev);if($child.hasClass('anim-tot-checker')){$child.on('webkitAnimationEnd oanimationend mozAnimationEnd msAnimationEnd animationEnd',function(e){if($child.hasClass('anim-tot-checker')){$wrapText.addClass('already-animated')}})}},delayAttr)});$element.addClass('start_animation');if(!UNCODE.isUnmodalOpen){this.destroy()}},offset:UNCODE.isFullPage?'100%':'90%'})}})}
197var runWaypoints=function(ev){if(typeof runWaypoints_TO!=='undefined'&&runWaypoints_TO!==''){runWaypoints_delay=400}
198clearRequestTimeout(runWaypoints_TO);runWaypoints_TO=requestTimeout(function(){window.waypoint_animation(ev)},runWaypoints_delay);clearRequestTimeout(runWaypoints_carousel_TO);runWaypoints_carousel_TO=requestTimeout(function(){window.waypoint_carousel_animation(ev)},400)};runWaypoints();animate_css_grids_on_load();$(document.body).on('uncode_waypoints defer-highlights',function(ev){runWaypoints(ev)});if($('body').hasClass('compose-mode')&&typeof window.parent.vc!=='undefined'){window.parent.vc.events.on('shortcodeView:updated',runWaypoints);window.parent.vc.events.on('shortcodeView:ready',runWaypoints)}};UNCODE.animate_css_grids=function(container,elements,startIndex,sequential,filtering){var $allItems=elements.length-startIndex,showed=0,index=0,use_index=!1;if(filtering){if(sequential){use_index=!0}
199sequential=!1}
200$.each(elements,function(index,val){var $this=$(val),elInner=$('> .t-inside',val);if((UNCODE.isUnmodalOpen&&!val.closest('#unmodal-content'))||$(val).closest('.un-submenu').length||$(val).closest('uncode-mobile-menu-block').length){return}
201if(val[0])val=val[0];if(elInner.hasClass('animate_when_almost_visible')&&!elInner.hasClass('force-anim')){new Waypoint({context:UNCODE.isUnmodalOpen?document.getElementById('unmodal-content'):window,element:val,handler:function(){var element=$('> .t-inside',this.element),parent=$(this.element);var _index=use_index?index:0;var delay=(!sequential)?_index:((startIndex!==0)?index-$allItems:index),delayAttr=parseInt(element.attr('data-delay'));if(isNaN(delayAttr))delayAttr=100;if(sequential||use_index){delay-=showed}
202var objTimeout=requestTimeout(function(){element.removeClass('zoom-reverse').addClass('start_animation');showed=index},delay*delayAttr);parent.data('objTimeout',objTimeout);if(!UNCODE.isUnmodalOpen){this.destroy()}},offset:UNCODE.isFullPage?'100%':'90%'})}
203index++})}})(jQuery)
204;
205/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__taphover-js-vb0443975489dd5e4a8a8fc8bc9ff7bbce2b78e62.js*/
206/*!/wp-content/themes/uncode/library/js/tapHover.js*/
207(function($){"use strict";UNCODE.tapHover=function(){var isTouch=('ontouchstart' in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0);if(isTouch){var $el=$('.tmb:not(.tmb-no-double-tap)').find('.t-entry-v
207isual-cont > a, .drop-hover-link'),elClass="hover";$(window).on('click',function(){$el.removeClass(elClass)});$el.on('click',function(e){e.stopPropagation();var link=$(this);if(!link.hasClass(elClass)){e.preventDefault();link.addClass("hover");$el.not(this).removeClass(elClass);return!1}})}}})(jQuery)
208;
209/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__preventdoubletransition-js-vd45bacf7c5d41dcdb0799713b5c4212a1e5b67d9.js*/
210/*!/wp-content/themes/uncode/library/js/preventDoubleTransition.js*/
211(function($){"use strict";UNCODE.preventDoubleTransition=function(){$('.sticky-element .animate_when_almost_visible').each(function(){var $el=$(this).one('webkitAnimationEnd mozAnimationEnd oAnimationEnd animationEnd',function(e){$el.addClass('do_not_reanimate')})})}})(jQuery)
212;
213/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__printscreen-js-vf1ecd9102cdb7d95561fdee0d20bd00971cb1764.js*/
214/*!/wp-content/themes/uncode/library/js/printScreen.js*/
215(function($){"use strict";UNCODE.printScreen=function(){var inlineMediaStyle=null,setResize;function changeMediaStyle(){clearRequestTimeout(setResize);setResize=requestTimeout(function(){var $head=document.getElementsByTagName('head')[0],$newStyle=document.createElement('style'),winW=window.innerWidth,printH=window.innerHeight;$newStyle.setAttribute('type','text/css');$newStyle.setAttribute('media','print');$newStyle.appendChild(document.createTextNode('@page { size: '+winW+'px '+printH+'px; margin: 0; }'));if(inlineMediaStyle!=null){$head.replaceChild($newStyle,inlineMediaStyle)}else{$head.appendChild($newStyle)}
216inlineMediaStyle=$newStyle},1000)}
217changeMediaStyle();window.addEventListener('resize',changeMediaStyle)}})(jQuery)
218;
219/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__changeskinonscroll-js-v8de06d35c7043dc9f6b3405254c81ebdb7766e19.js*/
220/*!/wp-content/themes/uncode/library/js/changeSkinOnScroll.js*/
221(function($){"use strict";UNCODE.changeSkinOnScroll=function(){if(UNCODE.isFullPage&&!UNCODE.isFullPageSnap){return}
222var $masthead=$('#masthead'),transDesktop,transMobile,changeSkin,checkTransparencyAndChange=function($col){transDesktop=$masthead.hasClass('menu-desktop-transparent')&&UNCODE.wwidth>=UNCODE.mediaQuery;transMobile=$masthead.hasClass('menu-mobile-transparent')&&UNCODE.wwidth<UNCODE.mediaQuery;changeSkin=$masthead.hasClass('menu-change-skin');if(!transDesktop&&!transMobile){return!1}
223if(!changeSkin){return!1}
224if($col.hasClass('style-light')){$masthead.removeClass('style-dark-override').addClass('style-light-override');return!1}else if($col.hasClass('style-dark')){$masthead.removeClass('style-light-override').addClass('style-dark-override');return!1}};var prev_row='normal',odd=!0,$rows=$('.vc_row[data-parent]:visible:not(.overlay-menu *):not(#uncode-mobile-menu-block *):not(.block-wrapper-parent *)');$.each($rows,function(index,row){var $row=$(row),$col=$('.uncol',$row).first(),$slider=$('.uncode-slider',$row);if($row.closest('li.menu-item').length){return}
225var wayDown=new Waypoint({context:UNCODE.isUnmodalOpen?document.getElementById('unmodal-content'):window,element:row,handler:function(direction){if(direction=='down'&&(prev_row!=='normal'||!row.hasAttribute('data-bg-changer'))){if($slider.length){$col=$('.owl-item.index-active .uncol',$slider).first()}
226checkTransparencyAndChange($col)}
227if(odd===!1){if(row.hasAttribute('data-bg-changer')){prev_row='bg-changer'}else{prev_row='normal'}
228odd=!0}else{odd=!1}},offset:function(){return UNCODE.menuHeight/2}});var wayUp=new Waypoint({context:UNCODE.isUnmodalOpen?document.getElementById('unmodal-content'):window,element:row,handler:function(direction){if(direction=='up'&&(prev_row!=='normal'||!row.hasAttribute('data-bg-changer'))){if($slider.length){$col=$('.owl-item.index-active .uncol',$slider).first()}
229checkTransparencyAndChange($col)}
230if(odd===!1){if(row.hasAttribute('data-bg-changer')){prev_row='bg-changer'}else{prev_row='normal'}
231odd=!0}else{odd=!1}},offset:function(){return-row.clientHeight+(UNCODE.menuHeight/2)}})})}})(jQuery)
232;
233/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__rowparallax-js-v1faefb1bea3c0dfd23db78518a8e289b0f075ae7.js*/
234/*!/wp-content/themes/uncode/library/js/rowParallax.js*/
235(function($){"use strict";UNCODE.rowParallax=function(){if(SiteParameters.is_frontend_editor||SiteParameters.smoothScroll!=='on'){return}
236var $rows=$('.parallax-move'),stableHeight=UNCODE.wheight;$rows.each(function(){var $row=$(this),_row=$row[0],dataMove=$row.attr('data-parallax-move'),dataSafe=$row.attr('data-parallax-safe'),rowInViewport=!1,trans;if($row.find('.parallax-move').length){return}
237dataSafe=typeof dataSafe==='undefined'?'':dataSafe;dataMove=typeof dataMove==='undefined'||dataMove===''?3:dataMove;dataMove=dataMove/10;if('IntersectionObserver' in window){var observer=new IntersectionObserver(function(entries){entries.forEac
237h(function(entry){if(entry.isIntersecting){rowInViewport=!0}else{rowInViewport=!1}})},{root:document,});observer.observe(_row)}else{rowInViewport=!0}
238var loopRAF=function(){if(rowInViewport){var bound=_row.getBoundingClientRect(),bound_top=bound.top,bound_height=bound.height,move=!0,scrolled=window.pageYOffset||window.document.documentElement.scrollTop,docH=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight),fromBottom=docH-(scrolled+bound_top+bound_height);if(bound_height>stableHeight&&dataSafe==='yes'){$row.find('>div').css({'transform':'none'});move=!1}
239if(UNCODE.wwidth<SiteParameters.smoothScrollQuery){$row.find('>div').css({'transform':'none'});move=!1}
240if(move){if(fromBottom<stableHeight){trans=(stableHeight-(bound_top+bound_height+fromBottom))*(dataMove)}else if(scrolled+bound_top<stableHeight){trans=scrolled*(dataMove)}else{trans=(((stableHeight/2)-(bound_top+(bound_height/2)))*dataMove)}
241$row.find('>div').css({'transform':'translateY('+(trans)+'px) translateZ(0)',})}}
242requestAnimationFrame(loopRAF)};requestAnimationFrame(loopRAF)});$(window).on('load resize',function(e){if(!UNCODE.isMobile){stableHeight=UNCODE.wheight}});$(window).on('load wwResize',function(e){if(UNCODE.isMobile){stableHeight=UNCODE.wheight}})}})(jQuery)
243;
244/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__lib__jquery-waypoints-js-vd6187e230d0e5f0ae052e3dd091b28bfb0a5405f.js*/
245/*!/wp-content/themes/uncode/library/js/lib/jquery.waypoints.js*/
246/*!
247Waypoints - 4.0.1
248Copyright © 2011-2016 Caleb Troughton
249Licensed under the MIT license.
250https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
251*/
252(function(){'use strict'
253var keyCounter=0
254var allWaypoints={}
255function Waypoint(options){if(!options){throw new Error('No options passed to Waypoint constructor')}
256if(!options.element){throw new Error('No element option passed to Waypoint constructor')}
257if(!options.handler){throw new Error('No handler option passed to Waypoint constructor')}
258this.key='waypoint-'+keyCounter
259this.options=Waypoint.Adapter.extend({},Waypoint.defaults,options)
260this.element=this.options.element
261this.adapter=new Waypoint.Adapter(this.element)
262this.callback=options.handler
263this.axis=this.options.horizontal?'horizontal':'vertical'
264this.enabled=this.options.enabled
265this.triggerPoint=null
266this.group=Waypoint.Group.findOrCreate({name:this.options.group,axis:this.axis})
267this.context=Waypoint.Context.findOrCreateByElement(this.options.context)
268if(Waypoint.offsetAliases[this.options.offset]){this.options.offset=Waypoint.offsetAliases[this.options.offset]}
269this.group.add(this)
270this.context.add(this)
271allWaypoints[this.key]=this
272keyCounter+=1}
273Waypoint.prototype.queueTrigger=function(direction){this.group.queueTrigger(this,direction)}
274Waypoint.prototype.trigger=function(args){if(!this.enabled){return}
275if(this.callback){this.callback.apply(this,args)}}
276Waypoint.prototype.destroy=function(){this.context.remove(this)
277this.group.remove(this)
278delete allWaypoints[this.key]}
279Waypoint.prototype.disable=function(){this.enabled=!1
280return this}
281Waypoint.prototype.enable=function(){this.context.refresh()
282this.enabled=!0
283return this}
284Waypoint.prototype.next=function(){return this.group.next(this)}
285Waypoint.prototype.previous=function(){return this.group.previous(this)}
286Waypoint.invokeAll=function(method){var allWaypointsArray=[]
287for(var waypointKey in allWaypoints){allWaypointsArray.push(allWaypoints[waypointKey])}
288for(var i=0,end=allWaypointsArray.length;i<end;i++){allWaypointsArray[i][method]()}}
289Waypoint.destroyAll=function(){Waypoint.invokeAll('destroy')}
290Waypoint.disableAll=function(){Waypoint.invokeAll('disable')}
291Waypoint.enableAll=function(){Waypoint.Context.refreshAll()
292for(var waypointKey in allWaypoints){allWaypoints[waypointKey].enabled=!0}
293return this}
294Waypoint.refreshAll=function(){Waypoint.Context.refreshAll()}
295Waypoint.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight}
296Waypoint.viewportWidth=function(){return document.documentElement.clientWidth}
297Waypoint.adapters=[]
298Waypoint.defaults={context:window,continuous:!0,enabled:!0,group:'default',horizontal:!1,offset:0}
299Waypoint.offsetAliases={'bottom-in-view':function(){return this.context.
299innerHeight()-this.adapter.outerHeight()},'right-in-view':function(){return this.context.innerWidth()-this.adapter.outerWidth()}}
300window.Waypoint=Waypoint}());(function(){'use strict'
301function requestAnimationFrameShim(callback){window.setTimeout(callback,1000/60)}
302var keyCounter=0
303var contexts={}
304var Waypoint=window.Waypoint
305var oldWindowLoad=window.onload
306function Context(element){this.element=element
307this.Adapter=Waypoint.Adapter
308this.adapter=new this.Adapter(element)
309this.key='waypoint-context-'+keyCounter
310this.didScroll=!1
311this.didResize=!1
312this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()}
313this.waypoints={vertical:{},horizontal:{}}
314element.waypointContextKey=this.key
315contexts[element.waypointContextKey]=this
316keyCounter+=1
317if(!Waypoint.windowContext){Waypoint.windowContext=!0
318Waypoint.windowContext=new Context(window)}
319this.createThrottledScrollHandler()
320this.createThrottledResizeHandler()}
321Context.prototype.add=function(waypoint){var axis=waypoint.options.horizontal?'horizontal':'vertical'
322this.waypoints[axis][waypoint.key]=waypoint
323this.refresh()}
324Context.prototype.checkEmpty=function(){var horizontalEmpty=this.Adapter.isEmptyObject(this.waypoints.horizontal)
325var verticalEmpty=this.Adapter.isEmptyObject(this.waypoints.vertical)
326var isWindow=this.element==this.element.window
327if(horizontalEmpty&&verticalEmpty&&!isWindow){this.adapter.off('.waypoints')
328delete contexts[this.key]}}
329Context.prototype.createThrottledResizeHandler=function(){var self=this
330function resizeHandler(){self.handleResize()
331self.didResize=!1}
332this.adapter.on('resize.waypoints',function(){if(!self.didResize){self.didResize=!0
333Waypoint.requestAnimationFrame(resizeHandler)}})}
334Context.prototype.createThrottledScrollHandler=function(){var self=this
335function scrollHandler(){self.handleScroll()
336self.didScroll=!1}
337this.adapter.on('scroll.waypoints',function(){if(!self.didScroll||Waypoint.isTouch){self.didScroll=!0
338Waypoint.requestAnimationFrame(scrollHandler)}})}
339Context.prototype.handleResize=function(){Waypoint.Context.refreshAll()}
340Context.prototype.handleScroll=function(){var triggeredGroups={}
341var axes={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:'right',backward:'left'},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:'down',backward:'up'}}
342for(var axisKey in axes){var axis=axes[axisKey]
343var isForward=axis.newScroll>axis.oldScroll
344var direction=isForward?axis.forward:axis.backward
345for(var waypointKey in this.waypoints[axisKey]){var waypoint=this.waypoints[axisKey][waypointKey]
346if(waypoint.triggerPoint===null){continue}
347var wasBeforeTriggerPoint=axis.oldScroll<waypoint.triggerPoint
348var nowAfterTriggerPoint=axis.newScroll>=waypoint.triggerPoint
349var crossedForward=wasBeforeTriggerPoint&&nowAfterTriggerPoint
350var crossedBackward=!wasBeforeTriggerPoint&&!nowAfterTriggerPoint
351if(crossedForward||crossedBackward){waypoint.queueTrigger(direction)
352triggeredGroups[waypoint.group.id]=waypoint.group}}}
353for(var groupKey in triggeredGroups){triggeredGroups[groupKey].flushTriggers()}
354this.oldScroll={x:axes.horizontal.newScroll,y:axes.vertical.newScroll}}
355Context.prototype.innerHeight=function(){if(this.element==this.element.window){return Waypoint.viewportHeight()}
356return this.adapter.innerHeight()}
357Context.prototype.remove=function(waypoint){delete this.waypoints[waypoint.axis][waypoint.key]
358this.checkEmpty()}
359Context.prototype.innerWidth=function(){if(this.element==this.element.window){return Waypoint.viewportWidth()}
360return this.adapter.innerWidth()}
361Context.prototype.destroy=function(){var allWaypoints=[]
362for(var axis in this.waypoints){for(var waypointKey in this.waypoints[axis]){allWaypoints.push(this.waypoints[axis][waypointKey])}}
363for(var i=0,end=allWaypoints.length;i<end;i++){allWaypoints[i].destroy()}}
364Context.prototype.refresh=function(){var isWindow=this.element==this.element.window
365var contextOffset=isWindow?undefined:this.adapter.offset()
366var triggeredGroups={}
367var axes
368this.handleScroll()
369axes={horizontal:{contextOffset:isWindow?0:contextOffset.left,contextScroll:isWindow?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:'right',backward:'left',offsetProp:'left'},vertical:{contextOffset:isWindow?0:contextOffset.top,contextScroll:isWindow?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:'down',backward:'up',offsetProp:'top'}}
370for(var axisKey in axes){var axis=axes[axisKey]
371for(var waypointKey in this.waypoints[axisKey]){var waypoint=this.waypoints[axisKey][waypointKey]
372var adjustment=waypoint.options.offset
373var oldTriggerPoint=waypoint.triggerPoint
374var elementOffset=0
375var freshWaypoint=oldTriggerPoint==null
376var contextModifier,wasBeforeScroll,nowAfterScroll
377var triggeredBackward,triggeredForward
378if(waypoint.element!==waypoint.element.window){elementOffset=waypoint.adapter.offset()[axis.offsetProp]}
379if(typeof adjustment==='function'){adjustment=adjustment.apply(waypoint)}else if(typeof adjustment==='string'){adjustment=parseFloat(adjustment)
380if(waypoint.options.offset.indexOf('%')>-1){adjustment=Math.ceil(axis.contextDimension*adjustment/100)}}
381contextModifier=axis.contextScroll-axis.contextOffset
382waypoint.triggerPoint=Math.floor(elementOffset+contextModifier-adjustment)
383wasBeforeScroll=oldTriggerPoint<axis.oldScroll
384nowAfterScroll=waypoint.triggerPoint>=axis.oldScroll
385triggeredBackward=wasBeforeScroll&&nowAfterScroll
386triggeredForward=!wasBeforeScroll&&!nowAfterScroll
387if(!freshWaypoint&&triggeredBackward){waypoint.queueTrigger(axis.backward)
388triggeredGroups[waypoint.group.id]=waypoint.group}else if(!freshWaypoint&&triggeredForward){waypoint.queueTrigger(axis.forward)
389triggeredGroups[waypoint.group.id]=waypoint.group}else if(freshWaypoint&&axis.oldScroll>=waypoint.triggerPoint){waypoint.queueTrigger(axis.forward)
390triggeredGroups[waypoint.group.id]=waypoint.group}}}
391Waypoint.requestAnimationFrame(function(){for(var groupKey in triggeredGroups){triggeredGroups[groupKey].flushTriggers()}})
392return this}
393Context.findOrCreateByElement=function(element){return Context.findByElement(element)||new Context(element)}
394Context.refreshAll=function(){for(var contextId in contexts){contexts[contextId].refresh()}}
395Context.findByElement=function(element){return contexts[element.waypointContextKey]}
396window.onload=function(){if(oldWindowLoad){oldWindowLoad()}
397Context.refreshAll()}
398Waypoint.requestAnimationFrame=function(callback){var requestFn=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||requestAnimationFrameShim
399requestFn.call(window,callback)}
400Waypoint.Context=Context}());(function(){'use strict'
401function byTriggerPoint(a,b){return a.triggerPoint-b.triggerPoint}
402function byReverseTriggerPoint(a,b){return b.triggerPoint-a.triggerPoint}
403var groups={vertical:{},horizontal:{}}
404var Waypoint=window.Waypoint
405function Group(options){this.name=options.name
406this.axis=options.axis
407this.id=this.name+'-'+this.axis
408this.waypoints=[]
409this.clearTriggerQueues()
410groups[this.axis][this.name]=this}
411Group.prototype.add=function(waypoint){this.waypoints.push(waypoint)}
412Group.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}}
413Group.prototype.flushTriggers=function(){for(var direction in this.triggerQueues){var waypoints=this.triggerQueues[direction]
414var reverse=direction==='up'||direction==='left'
415waypoints.sort(reverse?byReverseTriggerPoint:byTriggerPoint)
416for(var i=0,end=waypoints.length;i<end;i+=1){var waypoint=waypoints[i]
417if(waypoint.options.continuous||i===waypoints.length-1){waypoint.trigger([direction])}}}
418this.clearTriggerQueues()}
419Group.prototype.next=function(waypoint){this.waypoints.sort(byTriggerPoint)
420var index=Waypoint.Adapter.inArray(waypoint,this.waypoints)
421var isLast=index===this.waypoints.length-1
422return isLast?null:this.waypoints[index+1]}
423Group.prototype.previous=function(waypoint){this.waypoints.sort(byTriggerPoint)
424var index=Waypoint.Adapter.inArray(waypoint,this.waypoints)
425return index?this.waypoints[index-1]:null}
426Group.prototype.queueTrigger=function(waypoint,direction){this.triggerQueues[direction].push(waypoint)}
427Group.prototype.remove=function(waypoint){var index=Waypoint.Adapter.inArray(waypoint,this.waypoints)
428if(index>-1){this.waypoints.splice(index,1)}}
429Group.prototype.first=function(){return this.waypoints[0]}
430Group.prototype.last=function(){return this.waypoints[this.waypoints.length-1]}
431Group.findOrCreate=function(options){return groups[options.axis][options.name]||new Group(options)}
432Waypoint.Group=Group}());(function(){'use strict'
433var $=window.jQuery
434var Waypoint=window.Waypoint
435function JQueryAdapter(element){this.$element=$(element)}
436$.each(['innerHeight','innerWidth','off','offset','on','outerHeight','outerWidth','scrollLeft','scrollTop'],function(i,method){JQueryAdapter.prototype[method]=function(){var args=Array.prototype.slice.call(arguments)
437return this.$element[method].apply(this.$element,args)}})
438$.each(['extend','inArray','isEmptyObject'],function(i,method){JQueryAdapter[method]=$[method]})
439Waypoint.adapters.push({name:'jquery',Adapter:JQueryAdapter})
440Waypoint.Adapter=JQueryAdapter}());(function(){'use strict'
441var Waypoint=window.Waypoint
442function createExtension(framework){return function(){var waypoints=[]
443var overrides=arguments[0]
444if(framework.isFunction(arguments[0])){overrides=framework.extend({},arguments[1])
445overrides.handler=arguments[0]}
446this.each(function(){var options=framework.extend({},overrides,{element:this})
447if(typeof options.context==='string'){options.context=framework(this).closest(options.context)[0]}
448waypoints.push(new Waypoint(options))})
449return waypoints}}
450if(window.jQuery){window.jQuery.fn.waypoint=createExtension(window.jQuery)}
451if(window.Zepto){window.Zepto.fn.waypoint=createExtension(window.Zepto)}}())
452;
453/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__lib__jquery-smartmenus-js-va79940ff2f67647a33f09d185b05bea7599ed7ea.js*/
454/*!/wp-content/themes/uncode/library/js/lib/jquery.smartmenus.js*/
455(function($){var menuTrees=[],IE=!!window.createPopup,IElt9=IE&&!document.defaultView,IElt8=IE&&!document.querySelector,IE6=IE&&typeof document.documentElement.currentStyle.minWidth=='undefined',mouse=!1,mouseDetectionEnabled=!1;function initMouseDetection(disable){if(!mouseDetectionEnabled&&!disable){var firstTime=!0,lastMove=null;$(document).bind({'mousemove.smartmenus_mouse':function(e){var thisMove={x:e.pageX,y:e.pageY,timeStamp:new Date().getTime()};if(lastMove){var deltaX=Math.abs(lastMove.x-thisMove.x),deltaY=Math.abs(lastMove.y-thisMove.y);if((deltaX>0||deltaY>0)&&deltaX<=2&&deltaY<=2&&thisMove.timeStamp-lastMove.timeStamp<=300){mouse=!0;if(firstTime){var $a=$(e.target).closest('a');if($a.is('a')){$.each(menuTrees,function(){if($.contains(this.$root[0],$a[0])){this.itemEnter({currentTarget:$a[0]});return!1}})}
456firstTime=!1}}}
457lastMove=thisMove},'touchstart.smartmenus_mouse pointerover.smartmenus_mouse MSPointerOver.smartmenus_mouse':function(e){if(!/^(4|mouse|pen)$/.test(e.originalEvent.pointerType)){mouse=!1}}});mouseDetectionEnabled=!0}else if(mouseDetectionEnabled&&disable){$(document).unbind('.smartmenus_mouse');mouseDetectionEnabled=!1}};$.SmartMenus=function(elm,options){this.$root=$(elm);this.opts=options;this.rootId='';this.$subArrow=null;this.subMenus=[];this.activatedItems=[];this.visibleSubMenus=[];this.showTimeout=0;this.hideTimeout=0;this.scrollTimeout=0;this.clickActivated=!1;this.zIndexInc=0;this.$firstLink=null;this.$firstSub=null;this.disabled=!1;this.$disableOverlay=null;this.lastLevel=0;this.init()};$.extend($.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){while(menuTrees.length){menuTrees[0].destroy()}
458initMouseDetection(!0)},prototype:{init:function(refresh){var self=this;if(!refresh){menuTrees.push(this);this.rootId=(new Date().getTime()+Math.random()+'').replace(/\D/g,'');if(this.$root.hasClass('sm-rtl')){this.opts.rightToLeftSubMenus=!0}
459this.$root.data('smartmenus',this).attr('data-smartmenus-id',this.rootId).dataSM('level',1).bind({'mouseover.smartmenus':$.proxy(this.rootOver,this),'mouseout.smartmenus':$.proxy(this.rootOut,this)}).delegate('a, div.logo-container',{'mouseenter.smartmenus':$.proxy(this.itemEnter,this),'mouseleave.
459smartmenus':$.proxy(this.itemLeave,this),'mousedown.smartmenus':$.proxy(this.itemDown,this),'focus.smartmenus':$.proxy(this.itemFocus,this),'blur.smartmenus':$.proxy(this.itemBlur,this),'click.smartmenus':$.proxy(this.itemClick,this),'touchend.smartmenus':$.proxy(this.itemTouchEnd,this)});var eNamespace='.smartmenus'+this.rootId;if(this.opts.hideOnClick){$(document).on('touchstart'+eNamespace,$.proxy(this.docTouchStart,this)).on('touchmove'+eNamespace,$.proxy(this.docTouchMove,this)).on('touchend'+eNamespace,$.proxy(this.docTouchEnd,this)).on('click'+eNamespace,$.proxy(this.docClick,this))}
460$(window).on('resize'+eNamespace+' orientationchange'+eNamespace,$.proxy(this.winResize,this));var $vmenu=$('body.vmenu .vmenu-container');if(!$vmenu.length&&UNCODE.wwidth>UNCODE.mediaQuery){$(window).on('scroll'+eNamespace+' orientationchange'+eNamespace,$.proxy(this.winResize,this))}
461if(this.opts.subIndicators){this.$subArrow=$('<span/>').addClass('sub-arrow');if(this.opts.subIndicatorsText){this.$subArrow.html(this.opts.subIndicatorsText)}}
462initMouseDetection()}
463this.$firstSub=this.$root.find('ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)').each(function(){self.menuInit($(this))}).eq(0);this.$firstLink=this.$root.find('a').eq(0);if(this.opts.markCurrentItem){var reDefaultDoc=/(index|default)\.[^#\?\/]*/i,reHash=/#.*/,locHref=window.location.href.replace(reDefaultDoc,''),locHrefNoHash=locHref.replace(reHash,'');this.$root.find('a').each(function(){var href=this.href.replace(reDefaultDoc,''),$this=$(this);if(href==locHref||href==locHrefNoHash){$this.addClass('current');if(self.opts.markCurrentTree){$this.parents('li').each(function(){var $this=$(this);if($this.dataSM('sub')){$this.children('a').addClass('current')}})}}})}},destroy:function(){this.menuHideAll();this.$root.removeData('smartmenus').removeAttr('data-smartmenus-id').removeDataSM('level').unbind('.smartmenus').undelegate('.smartmenus');var eNamespace='.smartmenus'+this.rootId;$(document).unbind(eNamespace);$(window).unbind(eNamespace);if(this.opts.subIndicators){this.$subArrow=null}
464var self=this;$.each(this.subMenus,function(){if(this.hasClass('mega-menu')){this.find('ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)').removeDataSM('in-mega')}
465if(this.dataSM('shown-before')){if(IElt8){this.children().css({styleFloat:'',width:''})}
466if(self.opts.subMenusMinWidth||self.opts.subMenusMaxWidth){if(!IE6){this.css({width:'',minWidth:'',maxWidth:''}).removeClass('sm-nowrap')}else{this.css({width:'',overflowX:'',overflowY:''}).children().children('a').css('white-space','')}}
467if(this.dataSM('scroll-arrows')){this.dataSM('scroll-arrows').remove()}
468this.css({zIndex:'',top:'',left:'',marginLeft:'',marginTop:'',display:''})}
469if(self.opts.subIndicators){this.dataSM('parent-a').removeClass('has-submenu').children('span.sub-arrow').remove()}
470this.removeDataSM('shown-before').removeDataSM('ie-shim').removeDataSM('scroll-arrows').removeDataSM('parent-a').removeDataSM('level').removeDataSM('beforefirstshowfired').parent().removeDataSM('sub')});if(this.opts.markCurrentItem){this.$root.find('a.current').removeClass('current')}
471this.$root=null;this.$firstLink=null;this.$firstSub=null;if(this.$disableOverlay){this.$disableOverlay.remove();this.$disableOverlay=null}
472menuTrees.splice($.inArray(this,menuTrees),1)},disable:function(noOverlay){if(!this.disabled){this.menuHideAll();if(!noOverlay&&!this.opts.isPopup&&this.$root.is(':visible')){var pos=this.$root.offset();this.$disableOverlay=$('<div class="sm-jquery-disable-overlay"/>').css({position:'absolute',top:pos.top,left:pos.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex()+1,opacity:0}).appendTo(document.body)}
473this.disabled=!0}},docClick:function(e){if(this.visibleSubMenus.length&&!$.contains(this.$root[0],e.target)||$(e.target).is('a:not([data-filter])')){this.menuHideAll($(e.target))}},docTouchEnd:function(e){if(!this.lastTouch){return}
474if(this.visibleSubMenus.length&&(this.lastTouch.x2===undefined||this.lastTouch.x1==this.lastTouch.x2)&&(this.lastTouch.y2===undefined||this.lastTouch.y1==this.lastTouch.y2)&&(!this.lastTouch.target||!$.contains(this.$root[0],this.lastTouch.target))){if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}
475var self=this;this.hideTimeout=setTimeout(function(){self.menuHideAll($(e.target))},350)}
476this.lastTouch=null},docTouchMove:function(e){if(!this.lastTouch){return}
477var touchPoint=e.originalEvent.touches[0];this.lastTouch.x2=touchPoint.pageX;this.lastTouch.y2=touchPoint.pageY},docTouchStart:function(e){var touchPoint=e.originalEvent.touches[0];this.lastTouch={x1:touchPoint.pageX,y1:touchPoint.pageY,target:touchPoint.target}},enable:function(){if(this.disabled){if(this.$disableOverlay){this.$disableOverlay.remove();this.$disableOverlay=null}
478this.disabled=!1}},getHeight:function($elm){return this.getOffset($elm,!0)},getOffset:function($elm,height){var old,$win=$(window),winW=$win.width();if($elm.css('display')=='none'){old={position:$elm[0].style.position,visibility:$elm[0].style.visibility};$elm.css({position:'absolute',visibility:'hidden'}).show();if(($('body').hasClass('menu-mobile-off-canvas')&&winW<960&&$elm.closest('.main-menu-container').length)||(($('body').hasClass('vmenu-offcanvas-overlay')||$('body').hasClass('vmenu'))&&winW>=960&&$elm.closest('.main-menu-container').length&&!$elm.closest('.menu-horizontal-inner').length)){$elm.closest('li').addClass('smartmenu-open-item')}}
479var defaultView=$elm[0].ownerDocument.defaultView,compStyle=defaultView&&defaultView.getComputedStyle&&defaultView.getComputedStyle($elm[0],null),val=compStyle&&parseFloat(compStyle[height?'height':'width']);if(val){val+=parseFloat(compStyle[height?'paddingTop':'paddingLeft'])+parseFloat(compStyle[height?'paddingBottom':'paddingRight'])+parseInt(compStyle[height?'borderTopWidth':'borderLeftWidth'])+parseInt(compStyle[height?'borderBottomWidth':'borderRightWidth'])}else{val=height?$elm[0].offsetHeight:$elm[0].offsetWidth}
480if(old){$elm.hide().css(old)}
481return val},getWidth:function($elm){return this.getOffset($elm)},getStartZIndex:function(){var zIndex=parseInt(this.$root.css('z-index'));return!isNaN(zIndex)?zIndex:1},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function($a){return this.handleEvents()&&!this.isLinkInMegaMenu($a)},isCollapsible:function(){return this.$firstSub.css('position')=='static'},isCSSOn:function(){return this.$firstLink.css('display')=='block'||this.$firstLink.css('display')=='flex'||this.$firstLink.css('display')=='inline-flex'||this.$firstLink.css('display')=='table-cell'||this.$firstLink.css('display')=='inline'},isFixed:function(){return this.$root.css('position')=='fixed'},isLinkInMegaMenu:function($a){return!$a.parent().parent().dataSM('level')},isTouchMode:function(){return!mouse||this.isCollapsible()},itemActivate:function($a,$show){var $li=$a.parent(),$ul=$li.parent(),level=$ul.dataSM('level'),winh=$(window).height();if(level>1&&(!this.activatedItems[level-2]||this.activatedItems[level-2][0]!=$ul.dataSM('parent-a')[0])){var self=this;$($ul.parentsUntil('[data-smartmenus-id]','ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)').get().reverse()).add($ul).each(function(){self.itemActivate($(this).dataSM('parent-a'))})}
482if(this.visibleSubMenus.length>level){for(var i=this.visibleSubMenus.length-1,l=!this.activatedItems[level-1]||this.activatedItems[level-1][0]!=$a[0]?level-1:level;i>l;i--){this.lastLevel=level;if(typeof $show==='undefined'&&this.isCollapsible()){this.menuHide(this.visibleSubMenus[i],$a);return}else{this.menuHide(this.visibleSubMenus[i])}}}
483this.activatedItems[level-1]=$a;this.visibleSubMenus[level-1]=$ul;if(this.$root.triggerHandler('activate.smapi',$a[0])===!1){return}
484var $sub=$li.dataSM('sub');if($sub&&(this.isTouchMode()||(!this.opts.showOnClick||this.clickActivated))){var aRect=$a[0].getBoundingClientRect();if((aRect.y<0||aRect.y>winh)&&this.isCollapsible()&&(this.lastLevel===this.activatedItems.length)){setTimeout(function(){var currentScroll=$a.closest('.main-menu-container').scrollTop();$a.closest('.main-menu-container').scrollTop(currentScroll+aRect.y)},1)}
485this.menuShow($sub)}},itemBlur:function(e){var $a=$(e.currentTarget);if(!this.handleItemEvents($a)){return}
486this.$root.triggerHandler('blur.smapi',$a[0])},itemClick:function(e){var $a=$(e.currentTarget);if(!this.handleItemEvents($a)){return}
487$a.removeDataSM('mousedown');if(this.$root.triggerHandler('click.smapi',$a[0])===!1){return!1}
488var $sub=$a.parent().dataSM('sub');if(this.isTouchMode()){if($a.dataSM('href')){$a.attr('href',$a.dataSM('href')).removeDataSM('href')}
489if($sub&&(!$sub.dataSM('shown-before')||!$sub.is(':visible'))){this.itemActivate($a);if($sub.is(':visible')){return!1}}}else if(this.opts.showOnClick&&$a.parent().parent().dataSM('level')==1&&$sub){this.clickActivated=!0;this.menuShow($sub);return!1}
490if($a.hasClass('disabled')){return!1}
491if(this.$root.triggerHandler('select.smapi',$a[0])===!1){return!1}},itemDown:function(e){var $a=$(e.currentTarget);if(!this.handleItemEvents($a)){return}
492$a.dataSM('mousedown',!0)},itemEnter:function(e){var $a=$(e.currentTarget);if(!this.handleItemEvents($a)){return}
493if(!this.isTouchMode()){if(this.showTimeout){clearTimeout(this.showTimeout);this.showTimeout=0}
494var self=this;this.showTimeout=setTimeout(function(){self.itemActivate($a)},this.opts.showOnClick&&$a.parent().parent().dataSM('level')==1?1:this.opts.showTimeout)}
495this.$root.triggerHandler('mouseenter.smapi',$a[0])},itemFocus:function(e){var $a=$(e.currentTarget);if(!this.handleItemEvents($a)){return}
496if((!this.isTouchMode()||!$a.dataSM('mousedown'))&&(!this.activatedItems.length||this.activatedItems[this.activatedItems.length-1][0]!=$a[0])){this.itemActivate($a)}
497this.$root.triggerHandler('focus.smapi',$a[0])},itemLeave:function(e){var $a=$(e.currentTarget);if(!this.handleItemEvents($a)){return}
498if(!this.isTouchMode()){if($a[0].blur){$a[0].blur()}
499if(this.showTimeout){clearTimeout(this.showTimeout);this.showTimeout=0}}
500$a.removeDataSM('mousedown');
500this.$root.triggerHandler('mouseleave.smapi',$a[0])},itemTouchEnd:function(e){var $a=$(e.currentTarget);if(!this.handleItemEvents($a)){return}
501var $sub=$a.parent().dataSM('sub');if($a.attr('href').charAt(0)!=='#'&&$sub&&(!$sub.dataSM('shown-before')||!$sub.is(':visible'))){$a.dataSM('href',$a.attr('href'));$a.attr('href','#')}},menuFixLayout:function($ul){if(!$ul.dataSM('shown-before')){$ul.hide().dataSM('shown-before',!0);if(IElt8){$ul.children().css({styleFloat:'left',width:'100%'})}}},menuHide:function($sub,$show){if(this.$root.triggerHandler('beforehide.smapi',$sub[0])===!1){return}
502$sub.stop(!0,!0);if($sub.is(':visible')){var self=this;var complete=function(){if(IElt9){$sub.parent().css('z-index','')}else{$sub.css('z-index','')}
503if(typeof $show!=='undefined'){self.itemActivate($show,!0)}};if(this.isCollapsible()){if(this.opts.collapsibleHideFunction){this.opts.collapsibleHideFunction.call(this,$sub,complete)}else{$sub.hide(this.opts.collapsibleHideDuration,complete)}}else{if(this.opts.hideFunction){this.opts.hideFunction.call(this,$sub,complete)}else{$sub.hide(this.opts.hideDuration,complete)}}
504if($sub.dataSM('ie-shim')){$sub.dataSM('ie-shim').remove()}
505if($sub.dataSM('scroll')){$sub.unbind('.smartmenus_scroll').removeDataSM('scroll').dataSM('scroll-arrows').hide()}
506$sub.dataSM('parent-a').removeClass('highlighted');var level=$sub.dataSM('level');this.activatedItems.splice(level-1,1);this.visibleSubMenus.splice(level-1,1);this.$root.triggerHandler('hide.smapi',$sub[0])}},menuHideAll:function($item){if($item!=undefined&&$item.parent().hasClass('menu-item')&&!$item.parent().hasClass('menu-item-has-children'))return;var $win=$(window),winW=$win.width();if(this.showTimeout){clearTimeout(this.showTimeout);this.showTimeout=0}
507for(var i=this.visibleSubMenus.length-1;i>0;i--){if(this.visibleSubMenus[i].closest('.smartmenu-open-item').length){if($item!=undefined&&$item.closest('.smartmenu-open-item').length){this.menuHide(this.visibleSubMenus[i]);$(this.visibleSubMenus[i]).closest('.smartmenu-open-item').removeClass('smartmenu-open-item')}else{return}}else{this.menuHide(this.visibleSubMenus[i])}}
508if(this.opts.isPopup){this.$root.stop(!0,!0);if(this.$root.is(':visible')){if(this.opts.hideFunction){this.opts.hideFunction.call(this,this.$root)}else{this.$root.hide(this.opts.hideDuration)}
509if(this.$root.dataSM('ie-shim')){this.$root.dataSM('ie-shim').remove()}}}
510this.activatedItems=[];this.visibleSubMenus=[];this.clickActivated=!1;this.zIndexInc=0},menuIframeShim:function($ul){if(IE&&this.opts.overlapControlsInIE&&!$ul.dataSM('ie-shim')){$ul.dataSM('ie-shim',$('<iframe/>').attr({src:'javascript:0',tabindex:-9}).css({position:'absolute',top:'auto',left:'0',opacity:0,border:'0'}))}},menuInit:function($ul){if(!$ul.dataSM('in-mega')){this.subMenus.push($ul);if($ul.hasClass('mega-menu')){$ul.find('ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)').dataSM('in-mega',!0)}
511var level=2,par=$ul[0];while(par!=null&&par.parentNode!=null&&(par=par.parentNode.parentNode)!=this.$root[0]){level++}
512$ul.dataSM('parent-a',$ul.prevAll('a').eq(-1)).dataSM('level',level).parent().dataSM('sub',$ul);if(this.opts.subIndicators){$ul.dataSM('parent-a').addClass('has-submenu')[this.opts.subIndicatorsPos](this.$subArrow.clone())}}
513if($('.vc_row[data-parent].has-bg',$ul).length&&!$('.vc_row[data-parent]:not(.has-bg)',$ul).length){$ul.addClass('has-bg-items')}},menuPosition:function($sub){var fixIE=$('html.ie').length;var $a=$sub.dataSM('parent-a'),$li=$sub.parent(),$ul=$sub.parent().parent(),$container=$ul.closest('.row-menu-inner').length?($('body').hasClass('megamenu-side-to-side')?$ul.closest('.row-menu'):$ul.closest('.row-menu-inner')):$ul.closest('.uncol'),level=$sub.dataSM('level'),subW=this.getWidth($sub),subH=this.getHeight($sub),itemOffset=$a.offset(),itemX=itemOffset.left,itemY=itemOffset.top,itemW=this.getWidth($a),itemH=this.getHeight($a),$win=$(window),winX=$win.scrollLeft(),winY=$win.scrollTop(),winW=$win.width(),winH=$win.height(),containerW=$container.width(),containerOffsetX=containerW+((winW-containerW)/2),horizontalParent=$ul.hasClass('sm')&&!$ul.hasClass('sm-vertical'),subOffsetX=level==2?this.opts.mainMenu
513SubOffsetX:this.opts.subMenusSubOffsetX,subOffsetY=level==2?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY,x,y,leftPos;if(horizontalParent){x=this.opts.rightToLeftSubMenus?itemW-subW-subOffsetX:subOffsetX;y=this.opts.bottomToTopSubMenus?-subH-subOffsetY:itemH+subOffsetY}else{x=this.opts.rightToLeftSubMenus?subOffsetX-subW:subW-subOffsetX;y=this.opts.bottomToTopSubMenus?itemH-subOffsetY-subH:subOffsetY}
514if(this.opts.keepInViewport&&!this.isCollapsible()){if(this.isFixed()){itemX-=winX;itemY-=winY;winX=winY=0}
515var absX=itemX+x,absY=itemY+y;if(this.opts.rightToLeftSubMenus&&absX<winX){x=horizontalParent?winX-absX+x:itemW-subOffsetX}else if(!this.opts.rightToLeftSubMenus&&absX+subW>winX+containerOffsetX){x=horizontalParent?winX+containerOffsetX-subW-absX+x:subOffsetX-subW}
516if(!horizontalParent){if(subH<winH&&absY+subH>winY+winH){y+=winY+winH-subH-absY}else if(subH>=winH||absY<winY){y+=winY-absY}}
517if(mouse&&(horizontalParent&&(absY+subH>winY+winH+0.49||absY<winY)||!horizontalParent&&subH>winH+0.49)){var self=this;if(!$sub.dataSM('scroll-arrows')){$sub.dataSM('scroll-arrows',$([$('<span class="scroll-up"><span class="scroll-up-arrow"></span></span>')[0],$('<span class="scroll-down"><span class="scroll-down-arrow"></span></span>')[0]]).bind({mouseenter:function(){self.menuScroll($sub,$(this).hasClass('scroll-up'))},mouseleave:function(e){self.menuScrollStop($sub);self.menuScrollOut($sub,e)},'mousewheel DOMMouseScroll':function(e){e.preventDefault()}}).insertAfter($sub))}
518var vportY=winY-(itemY+itemH);$sub.dataSM('scroll',{vportY:vportY,subH:subH,winH:winH,step:1}).bind({'mouseover.smartmenus_scroll':function(e){self.menuScrollOver($sub,e)},'mouseout.smartmenus_scroll':function(e){self.menuScrollOut($sub,e)},'mousewheel.smartmenus_scroll DOMMouseScroll.smartmenus_scroll':function(e){self.menuScrollMousewheel($sub,e)}}).dataSM('scroll-arrows').css({top:'auto',left:'0',marginLeft:x+(parseInt($sub.css('border-left-width'))||0),width:this.getWidth($sub)-(parseInt($sub.css('border-left-width'))||0)-(parseInt($sub.css('border-right-width'))||0),zIndex:this.getStartZIndex()+this.zIndexInc}).eq(0).css('margin-top',vportY).end().eq(1).css('margin-top',vportY+winH-this.getHeight($sub.dataSM('scroll-arrows').eq(1))).end().eq(horizontalParent&&this.opts.bottomToTopSubMenus?0:1).show()}}
519if(!$sub.closest('.menu-accordion').length){var rightPos='auto';if($sub.closest('.grid-filters').length){if($sub.closest('.text-right').length){leftPos='0px';rightPos='auto'}else{leftPos='auto';rightPos='0px'}
520x=0}else{if($sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)').length&&$sub.closest('.row-menu').is('.limit-width')&&level===2){var parentContW=$sub.closest('.menu-container').width();$sub.css({width:parentContW});$sub.addClass('need-focus');leftPos=-1*(parseFloat($sub.closest('ul.menu-smart').offset().left)-parseFloat($sub.closest('.menu-container').offset().left));x=0}else if($sub.hasClass('mega-menu-inner')||$sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)').length){$sub.css({width:containerW});$sub.addClass('need-focus');leftPos=-1*(parseFloat($sub.closest('ul.menu-smart').offset().left)-parseFloat($sub.closest('.row-menu').offset().left));if(!$('body').hasClass('megamenu-side-to-side')){leftPos+=parseFloat($sub.closest('.row-menu-inner').css('paddingLeft'))}
521x=0}else{if($sub.is('.block-wrapper-parent')&&!$sub.find('.col-custom-width').length&&!$sub.find('.row-parent-limit').length&&level===2){leftPos=($li.position().left-((UNCODE.wwidth-$sub.outerWidth())/2))+'px'}else{leftPos=(level>2?$li.position().left-parseFloat($li.closest('ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)').css('paddingLeft')):$li.position().left)+'px'}
522x=(level>2&&x>=0)?x+1:x-1}}}
523$sub.css({top:(level>2)?$a[0].offsetTop:(fixIE?itemH:'100%'),left:leftPos,right:rightPos,marginLeft:x,marginTop:(level>2)?0:y-itemH+($sub.closest('.menu-borders').length&&!$sub.closest('.menu-borders.needs-after').length?1:0)});this.menuIframeShim($sub);if($sub.dataSM('ie-shim')){$sub.dataSM('ie-shim').css({zIndex:$sub.css('z-index'),width:subW,height:subH,marginLeft:x,marginTop:y-itemH+($sub.closest('.menu-mini').length?0:1)})}},menuScroll:function($sub,up,wheel){var y=parseFloat($sub.css('margin-top')),scroll=$sub.dataSM('scroll'),navH=$('.navbar-main').outerHeight(),end=scroll.vportY+(up?navH+54:scroll.winH-scroll.subH),step=wheel||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor($sub.dataSM('scroll').step);
523$sub.add($sub.dataSM('ie-shim')).css('margin-top',Math.abs(end-y)>step?y+(up?step:-step):end);y=parseFloat($sub.css('margin-top'));if(up&&y+scroll.subH>scroll.vportY+scroll.winH||!up&&y<scroll.vportY){$sub.dataSM('scroll-arrows').eq(up?1:0).show()}
524if(!wheel&&this.opts.scrollAccelerate&&$sub.dataSM('scroll').step<this.opts.scrollStep){$sub.dataSM('scroll').step+=0.5}
525if(Math.abs(y-end)<1){$sub.dataSM('scroll-arrows').eq(up?0:1).hide();$sub.dataSM('scroll').step=1}else if(!wheel){var self=this;this.scrollTimeout=setTimeout(function(){self.menuScroll($sub,up)},this.opts.scrollInterval)}},menuScrollMousewheel:function($sub,e){var $closestSub=$(e.target).closest('ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)');while($closestSub.dataSM('in-mega')){$closestSub=$closestSub.parent().closest('ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)')}
526if($closestSub[0]==$sub[0]){var up=(e.originalEvent.wheelDelta||-e.originalEvent.detail)>0;if($sub.dataSM('scroll-arrows').eq(up?0:1).is(':visible')){this.menuScroll($sub,up,!0)}}
527if(!$sub.hasClass('mega-menu-inner')&&!$sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)')){e.preventDefault()}},menuScrollOut:function($sub,e){var reClass=/^scroll-(up|down)/,$closestSub=$(e.relatedTarget).closest('ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)');while($closestSub.dataSM('in-mega')){$closestSub=$closestSub.parent().closest('ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)')}
528if(!reClass.test((e.relatedTarget||'').className)&&($sub[0]!=e.relatedTarget&&!$.contains($sub[0],e.relatedTarget)||$closestSub[0]!=$sub[0])){$sub.dataSM('scroll-arrows').css('visibility','hidden')}},menuScrollOver:function($sub,e){var reClass=/^scroll-(up|down)/,$closestSub=$(e.target).closest('ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)');while($closestSub.dataSM('in-mega')){$closestSub=$closestSub.parent().closest('ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)')}
529if(!reClass.test(e.target.className)&&$closestSub[0]==$sub[0]){$sub.dataSM('scroll-arrows').css('visibility','visible')}},menuScrollStop:function($sub){if(this.scrollTimeout){clearTimeout(this.scrollTimeout);this.scrollTimeout=0;$sub.dataSM('scroll').step=1}},menuShow:function($sub){if(!$sub.dataSM('beforefirstshowfired')){$sub.dataSM('beforefirstshowfired',!0);if(this.$root.triggerHandler('beforefirstshow.smapi',$sub[0])===!1){return}}
530if(this.isCollapsible()){this.$root.triggerHandler('beforecollapse.smapi',$sub[0])}
531if(this.$root.triggerHandler('beforeshow.smapi',$sub[0])===!1){return}
532this.menuFixLayout($sub);$sub.stop(!0,!0);if(!$sub.is(':visible')){$sub.css({'visibility':'visible','pointer-events':'auto',});var zIndex=this.getStartZIndex()+(++this.zIndexInc);if(IElt9){$sub.parent().css('z-index',zIndex)}else{$sub.css('z-index',zIndex)}
533if(this.opts.keepHighlighted||this.isCollapsible()){if($sub.dataSM('parent-a').attr('data-type')!='title')
534$sub.dataSM('parent-a').addClass('highlighted');}
535if(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth){if(!IElt8){$sub.css({width:($sub.hasClass('mega-menu-inner')||$sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)'))?$('.box-container').outerWidth()+'px':'auto',minWidth:'',maxWidth:''}).addClass('sm-nowrap');if(this.opts.subMenusMinWidth){$sub.css('min-width',this.opts.subMenusMinWidth)}
536if(this.opts.subMenusMaxWidth){var noMaxWidth=this.getWidth($sub);if(!$sub.hasClass('mega-menu-inner')&&!$sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)')){$sub.css('max-width',this.opts.subMenusMaxWidth)}
537if(noMaxWidth>this.getWidth($sub)){$sub.removeClass('sm-nowrap').css('width',this.opts.subMenusMaxWidth)}}}else{$sub.children().css('styleFloat','none');if(IE6){$sub.width(this.opts.subMenusMinWidth?this.opts.subMenusMinWidth:1).children().children('a').css('white-space','nowrap')}else{$sub.css({width:($sub.hasClass('mega-menu-inner')||$sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)'))?$('.box-container').outerWidth()+'px':'auto',minWidth:'',maxWidth:''}).addClass('sm-nowrap');if(this.opts.subMenusMinWidth){$sub.css('min-width',this.opts.subMenusMinWidth)}}
538if(this.opts.subMenusMaxWidth){var noMaxWidth=$sub.width();if(IE6){var maxWidth=$sub.css({width:this.opts.subMenusMaxWidth,overflowX:'hidden',overflowY:'hidden'}).width();if(noMaxWidth>maxWidth){$sub.css({width:maxWidth,overflowX:'visible',overflowY:'visible'}).children().children('a').css('white-space','')}
538else{$sub.css({width:noMaxWidth,overflowX:'visible',overflowY:'visible'})}}else{if(!$sub.hasClass('mega-menu-inner')&&!$sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)')){$sub.css('max-width',this.opts.subMenusMaxWidth)}
539if(noMaxWidth>$sub.width()){$sub.removeClass('sm-nowrap').css('width',this.opts.subMenusMaxWidth)}else{$sub.width(noMaxWidth)}}}else{$sub.width($sub.width())}
540$sub.children().css('styleFloat','left')}}
541if(((($sub.hasClass('mega-menu-inner')||$sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)'))&&$('body').hasClass('scrollable-megamenu')))&&UNCODE.wwidth>UNCODE.mediaQuery){var $nav=$('.navbar-main'),navH=0,navTop=0,$vmenu=$('body.vmenu .vmenu-container, body.menu-overlay .vmenu-container, body.menu-offcanvas .vmenu-container');if($nav.length&&typeof $nav[0]!=='undefined'){var navRect=$nav[0].getBoundingClientRect();navH=navRect.height;navTop=navRect.top}
542if(!$vmenu.length){$sub.css({maxHeight:UNCODE.wheight-navH});if($('.megamenu-block-wrapper',$sub).length){$sub.find('> li').addClass('has-scroll').css({maxHeight:UNCODE.wheight-navH})}}}
543this.menuPosition($sub);if($sub.dataSM('ie-shim')){$sub.dataSM('ie-shim').insertBefore($sub)}
544var complete=function(){$sub.css('overflow','')};if(this.isCollapsible()){if(this.opts.collapsibleShowFunction){this.opts.collapsibleShowFunction.call(this,$sub,complete)}else{$sub.show(this.opts.collapsibleShowDuration,complete)}}else{if(this.opts.showFunction){this.opts.showFunction.call(this,$sub,complete)}else{$sub.show(this.opts.showDuration,complete)}}
545this.visibleSubMenus[$sub.dataSM('level')-1]=$sub;this.$root.triggerHandler('show.smapi',$sub[0])}},popupHide:function(noHideTimeout){if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}
546var self=this;this.hideTimeout=setTimeout(function(){self.menuHideAll()},noHideTimeout?1:this.opts.hideTimeout)},popupShow:function(left,top){if(!this.opts.isPopup){alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.');return}
547if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}
548this.menuFixLayout(this.$root);this.$root.stop(!0,!0);if(!this.$root.is(':visible')){this.$root.css({left:left,top:top});this.menuIframeShim(this.$root);if(this.$root.dataSM('ie-shim')){this.$root.dataSM('ie-shim').css({zIndex:this.$root.css('z-index'),width:this.getWidth(this.$root),height:this.getHeight(this.$root),left:left,top:top}).insertBefore(this.$root)}
549if(this.opts.showFunction){this.opts.showFunction.call(this,this.$root)}else{this.$root.show(this.opts.showDuration)}
550this.visibleSubMenus[0]=this.$root}},refresh:function(){this.menuHideAll();this.$root.find('ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)').each(function(){var $this=$(this);if($this.dataSM('scroll-arrows')){$this.dataSM('scroll-arrows').remove()}}).removeDataSM('in-mega').removeDataSM('shown-before').removeDataSM('ie-shim').removeDataSM('scroll-arrows').removeDataSM('parent-a').removeDataSM('level').removeDataSM('beforefirstshowfired');this.$root.find('a.has-submenu').removeClass('has-submenu').parent().removeDataSM('sub');if(this.opts.subIndicators){this.$root.find('span.sub-arrow').remove()}
551if(this.opts.markCurrentItem){this.$root.find('a.current').removeClass('current')}
552this.subMenus=[];this.init(!0)},rootOut:function(e){if(!this.handleEvents()||this.isTouchMode()||e.target==this.$root[0]){return}
553if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}
554if(!this.opts.showOnClick||!this.opts.hideOnClick){var self=this;this.hideTimeout=setTimeout(function(){self.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(e){if(!this.handleEvents()||this.isTouchMode()||e.target==this.$root[0]){return}
555if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}},winResize:function(e){if(!this.handleEvents()){if(this.$disableOverlay){var pos=this.$root.offset();this.$disableOverlay.css({top:pos.top,left:pos.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}
556return}
557if(!this.isCollapsible()&&(!('onorientationchange' in window)||e.type=='orientationchange')){if(this.activatedItems.length){this.activatedItems[this.activatedItems.length-1][0].blur()}
558this.menuHideAll()}}}});$.fn.dataSM=function(key,val){if(val){return this.data(key+'_smartmenus',val)}
559return this.data(key+'_smartmenus')}
560$.fn.removeDataSM=function(key){return this.removeData(key+'_smartmenus')}
561$.fn.smartmenus=function(options){if(typeof options=='string'){var args=arguments,method=options;Array.prototype.shift.call(args);return this.each(function(){var smartmenus=$(this).data('smartmenus');if(smartmenus&&smartmenus[method]){smartmenus[method].apply(smartmenus,args)}})}
562var opts=$.extend({},$.fn.smartmenus.defaults,options);return this.each(function(){new $.SmartMenus(this,opts)})}
563$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:!1,subMenusMaxWidth:!1,subIndicators:!0,subIndicatorsPos:'prepend',subIndicatorsText:'+',scrollStep:30,scrollInterval:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function($ul,complete){$ul.fadeOut(200,complete)},collapsibleShowDuration:0,collapsibleShowFunction:function($ul,complete){$ul.slideDown(200,complete)},collapsibleHideDuration:0,collapsibleHideFunction:function($ul,complete){$ul.slideUp(200,complete)},showOnClick:!1,hideOnClick:!0,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,overlapControlsInIE:!0}})(jQuery)
564;
565/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__lib__jquery-easing-js-vfc03ff4bb9633aa37ce821f9954accd8e3f31a1b.js*/
566/*!/wp-content/themes/uncode/library/js/lib/jquery.easing.js*/
567(function(factory){if(typeof define==="function"&&define.amd){define(['jquery'],function($){return factory($)})}else if(typeof module==="object"&&typeof module.exports==="object"){module.exports=factory(require('jquery'))}else{factory(jQuery)}})(function($){if(typeof $.easing!=='undefined'){$.easing.jswing=$.easing.swing}
568var pow=Math.pow,sqrt=Math.sqrt,sin=Math.sin,cos=Math.cos,PI=Math.PI,c1=1.70158,c2=c1*1.525,c3=c1+1,c4=(2*PI)/3,c5=(2*PI)/4.5;function bounceOut(x){var n1=7.5625,d1=2.75;if(x<1/d1){return n1*x*x}else if(x<2/d1){return n1*(x-=(1.5/d1))*x+.75}else if(x<2.5/d1){return n1*(x-=(2.25/d1))*x+.9375}else{return n1*(x-=(2.625/d1))*x+.984375}}
569$.extend($.easing,{def:'easeOutQuad',swing:function(x){return $.easing[$.easing.def](x)},easeInQuad:function(x){return x*x},easeOutQuad:function(x){return 1-(1-x)*(1-x)},easeInOutQuad:function(x){return x<0.5?2*x*x:1-pow(-2*x+2,2)/2},easeInCubic:function(x){return x*x*x},easeOutCubic:function(x){return 1-pow(1-x,3)},easeInOutCubic:function(x){return x<0.5?4*x*x*x:1-pow(-2*x+2,3)/2},easeInQuart:function(x){return x*x*x*x},easeOutQuart:function(x){return 1-pow(1-x,4)},easeInOutQuart:function(x){return x<0.5?8*x*x*x*x:1-pow(-2*x+2,4)/2},easeInQuint:function(x){return x*x*x*x*x},easeOutQuint:function(x){return 1-pow(1-x,5)},easeInOutQuint:function(x){return x<0.5?16*x*x*x*x*x:1-pow(-2*x+2,5)/2},easeInSine:function(x){return 1-cos(x*PI/2)},easeOutSine:function(x){return sin(x*PI/2)},easeInOutSine:function(x){return-(cos(PI*x)-1)/2},easeInExpo:function(x){return x===0?0:pow(2,10*x-10)},easeOutExpo:function(x){return x===1?1:1-pow(2,-10*x)},easeInOutExpo:function(x){return x===0?0:x===1?1:x<0.5?pow(2,20*x-10)/2:(2-pow(2,-20*x+10))/2},easeInCirc:function(x){return 1-sqrt(1-pow(x,2))},easeOutCirc:function(x){return sqrt(1-pow(x-1,2))},easeInOutCirc:function(x){return x<0.5?(1-sqrt(1-pow(2*x,2)))/2:(sqrt(1-pow(-2*x+2,2))+1)/2},easeInElastic:function(x){return x===0?0:x===1?1:-pow(2,10*x-10)*sin((x*10-10.75)*c4)},easeOutElastic:function(x){return x===0?0:x===1?1:pow(2,-10*x)*sin((x*10-0.75)*c4)+1},easeInOutElastic:function(x){return x===0?0:x===1?1:x<0.5?-(pow(2,20*x-10)*sin((20*x-11.125)*c5))/2:pow(2,-20*x+10)*sin((20*x-11.125)*c5)/2+1},easeInBack:function(x){return c3*x*x*x-c1*x*x},easeOutBack:function(x){return 1+c3*pow(x-1,3)+c1*pow(x-1,2)},easeInOutBack:function(x){return x<0.5?(pow(2*x,2)*((c2+1)*2*x-c2))/2:(pow(2*x-2,2)*((c2+1)*(x*2-2)+c2)+2)/2},easeInBounce:function(x){return 1-bounceOut(1-x)},easeOutBounce:bounceOut,easeInOutBounce:function(x){return x<0.5?(1-bounceOut(1-2*x))/2:(1+bounceOut(2*x-1))/2}});return $})
570;
571/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__lib__jquery-mousewheel-js-v4904561b850a09990d2795f43de7a770ead8b3b6.js*/
572/*!/wp-content/themes/uncode/library/js/lib/jquery.mousewheel.js*/
573/*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net)
574 * Licensed under the MIT License (LICENSE.txt).
575 *
576 * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
577 * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
578 * Thanks to: Seamus Leahy for adding deltaX and deltaY
579 *
580 * Version: 3.0.6
581 *
582 * Requires: 1.2.2+
583 */
584(function($){var types=['DOMMouseScroll','mousewheel'];if($.event.fixHooks){for(var i=types.length;i;){$.event.fixHooks[types[--i]]=$.event.mouseHooks}}
585$.event.special.mousewheel={setup:function(){if(this.addEventListener){for(var i=types.length;i;){this.addEventListener(types[--i],handler,!1)}}else{this.onmousewheel=handler}},teardown:function(){if(this.removeEventListener){for(var i=types.length;i;){this.removeEventListener(types[--i],handler,!1)}}else{this.onmousewheel=null}}};$.fn.extend({mousewheel:function(fn){return fn?this.bind("mousewheel",fn):this.trigger("mousewheel")},unmousewheel:function(fn){return this.unbind("mousewheel",fn)}});function handler(event){var orgEvent=event||window.event,args=[].slice.call(arguments,1
585),delta=0,returnValue=!0,deltaX=0,deltaY=0;event=$.event.fix(orgEvent);event.type="mousewheel";if(orgEvent.wheelDelta){delta=orgEvent.wheelDelta/120}
586if(orgEvent.detail){delta=-orgEvent.detail/3}
587deltaY=delta;if(orgEvent.axis!==undefined&&orgEvent.axis===orgEvent.HORIZONTAL_AXIS){deltaY=0;deltaX=-1*delta}
588if(orgEvent.wheelDeltaY!==undefined){deltaY=orgEvent.wheelDeltaY/120}
589if(orgEvent.wheelDeltaX!==undefined){deltaX=-1*orgEvent.wheelDeltaX/120}
590args.unshift(event,delta,deltaX,deltaY);return($.event.dispatch||$.event.handle).apply(this,args)}})(jQuery)
591;
592/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__lib__jquery-sticky-kit-js-v0e9a2c5b90cef1decad7fb4add460431f8643e5b.js*/
593/*!/wp-content/themes/uncode/library/js/lib/jquery.sticky-kit.js*/
594(function(){var $,win;$=this.jQuery||window.jQuery;win=$(window);$.fn.stick_in_parent=function(opts){var doc,elm,enable_bottoming,fn,i,inner_scrolling,len,manual_spacer,offset_top,outer_width,parent_selector,recalc_every,sticky_class;if(opts==null){opts={}}
595sticky_class=opts.sticky_class,inner_scrolling=opts.inner_scrolling,recalc_every=opts.recalc_every,parent_selector=opts.parent,offset_top=opts.offset_top,manual_spacer=opts.spacer,enable_bottoming=opts.bottoming;if(offset_top==null){offset_top=0}
596if(parent_selector==null){parent_selector=void 0}
597if(inner_scrolling==null){inner_scrolling=!0}
598if(sticky_class==null){sticky_class="is_stuck"}
599doc=$(document);if(enable_bottoming==null){enable_bottoming=!0}
600outer_width=function(el){var _el,computed,w;if(window.getComputedStyle){_el=el[0];computed=window.getComputedStyle(el[0]);w=parseFloat(computed.getPropertyValue("width"))+parseFloat(computed.getPropertyValue("margin-left"))+parseFloat(computed.getPropertyValue("margin-right"));if(computed.getPropertyValue("box-sizing")!=="border-box"){w+=parseFloat(computed.getPropertyValue("border-left-width"))+parseFloat(computed.getPropertyValue("border-right-width"))+parseFloat(computed.getPropertyValue("padding-left"))+parseFloat(computed.getPropertyValue("padding-right"))}
601return w}else{return el.outerWidth(!0)}};fn=function(elm,padding_bottom,parent_top,parent_height,top,height,el_float,detached){var bottomed,detach,fixed,last_pos,last_scroll_height,offset,parent,recalc,recalc_and_tick,recalc_counter,spacer,tick;if(elm.data("sticky_kit")){return}
602elm.data("sticky_kit",!0);last_scroll_height=doc.height();parent=elm.parent();if(parent_selector!=null){parent=parent.closest(parent_selector)}
603if(!parent.length){throw "failed to find stick parent"}
604fixed=!1;bottomed=!1;spacer=manual_spacer!=null?manual_spacer&&elm.closest(manual_spacer):$("<div />");if(spacer){spacer.css('position',elm.css('position'))}
605recalc=function(){var border_top,padding_top,restore;if(detached){return}
606last_scroll_height=doc.height();border_top=parseInt(parent.css("border-top-width"),10);padding_top=parseInt(parent.css("padding-top"),10);padding_bottom=parseInt(parent.css("padding-bottom"),10);parent_top=parent.offset().top+border_top+padding_top;parent_height=parent.height();if(fixed){fixed=!1;bottomed=!1;if(manual_spacer==null){elm.insertAfter(spacer);spacer.detach()}
607elm.css({position:"",top:"",width:"",bottom:""}).removeClass(sticky_class);restore=!0}
608top=elm.offset().top-(parseInt(elm.css("margin-top"),10)||0)-offset_top;height=elm.outerHeight(!0);el_float=elm.css("float");if(spacer){spacer.css({width:outer_width(elm),height:height,display:elm.css("display"),"vertical-align":elm.css("vertical-align"),"float":el_float})}
609if(restore){return tick()}};recalc();if(height===parent_height){return}
610last_pos=void 0;offset=offset_top;recalc_counter=recalc_every;tick=function(){var css,delta,recalced,scroll,will_bottom,win_height;if(detached){return}
611recalced=!1;if(recalc_counter!=null){recalc_counter-=1;if(recalc_counter<=0){recalc_counter=recalc_every;recalc();recalced=!0}}
612if(!recalced&&doc.height()!==last_scroll_height){recalc();recalced=!0}
613scroll=win.scrollTop();if(last_pos!=null){delta=scroll-last_pos}
614last_pos=scroll;if(fixed){if(enable_bottoming){will_bottom=scroll+height+offset>parent_height+parent_top;if(bottomed&&!will_bottom){bottomed=!1;elm.css({position:"fixed",bottom:"",top:offset}).trigger("sticky_kit:unbottom")}}
615if(scroll<top){fixed=!1;offset=offset_top;if(manual_spacer==null){if(el_float==="left"||el_float==="right"){elm.insertAfter(spacer)}
616spacer.detach()}
617css={position:"",width:"",top:""};elm.css(css).removeClass(sticky_class).trigger("sticky_kit:unstick")}
618if(inner_scrolling){win_height=win.height();if(height+offset_top>win_height){if(!bottomed){offset-=delta;offset=Math.max(win_height-height,offset);offset=Math.min(offset_top,offset);if(fixed){elm.css({top:offset+"px"})}}}}}else{if(scroll>top){fixed=!0;css={position:"fixed",top:offset};css.width=elm.css("box-sizing")==="border-box"?elm.outerWidth()+"px":elm.width()+"px";elm.css(css).addClass(sticky_class);if(manual_spacer==null){elm.after(spacer);if(el_float==="left"||el_float==="right"){spacer.append(elm)}}
619elm.trigger("sticky_kit:stick")}}
620if(fixed&&enable_bottoming){if(will_bottom==null){will_bottom=scroll+height+offset>parent_height+parent_top}
621if(!bottomed&&will_bottom){bottomed=!0;if(parent.css("position")==="static"){parent.css({position:"relative"})}
622return elm.css({position:"absolute",bottom:padding_bottom,top:"auto"}).trigger("sticky_kit:bottom")}}};recalc_and_tick=function(){recalc();return tick()};detach=function(){detached=!0;win.off("touchmove",tick);win.off("scroll",tick);win.off("resize",recalc_and_tick);$(document.body).off("sticky_kit:recalc",recalc_and_tick);elm.off("sticky_kit:detach",detach);elm.removeData("sticky_kit");elm.css({position:"",bottom:"",top:"",width:""});parent.position("position","");if(fixed){if(manual_spacer==null){if(el_float==="left"||el_float==="right"){elm.insertAfter(spacer)}
623spacer.remove()}
624return elm.removeClass(sticky_class)}};win.on("touchmove",tick);win.on("scroll",tick);win.on("resize",recalc_and_tick);$(document.body).on("sticky_kit:recalc",recalc_and_tick);elm.on("sticky_kit:detach",detach);return setTimeout(tick,0)};for(i=0,len=this.length;i<len;i++){elm=this[i];fn($(elm))}
625return this}}).call(this)
626;
627/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__stickyelements-js-v37a302e0711d08bfe4138c7b963b34c9e3f620b4.js*/
628/*!/wp-content/themes/uncode/library/js/stickyElements.js*/
629(function($){"use strict";UNCODE.stickyElements=function(){var isMobile_wide=UNCODE.isMobile&&UNCODE.wwidth<1024;if(!isMobile_wide){var $pageHeader=$('#page-header'),$headerRow=$('.vc_row',$pageHeader),$headerSection=$headerRow.closest('section[data-parent]'),startSticky=!1;if($headerRow.hasClass('sticky-element')&&!$headerSection.length){$headerRow.removeClass('sticky-element');$pageHeader.addClass('sticky-element');startSticky=!0}
630var calculateOffset=function(el){var getRowPadding=(!$(el).hasClass('with-bg'))?$(el).closest('.row-parent').css("padding-top"):0,sideOffset=(getRowPadding!=undefined&&getRowPadding!=0)?parseInt(getRowPadding.replace("px","")):0,shrink=typeof $('.navbar-brand').data('padding-shrink')!=='undefined'?$('.navbar-brand').data('padding-shrink')*2:0,elTop=window.pageYOffset+el.getBoundingClientRect().top;sideOffset+=UNCODE.bodyBorder;if(UNCODE.adminBarHeight>0)sideOffset+=UNCODE.adminBarHeight;if($('.menu-sticky .menu-container:not(.menu-hide)').length&&elTop>sideOffset){if($('.menu-shrink').length){sideOffset+=parseFloat($('.navbar-brand').data('minheight'))+shrink}else{sideOffset+=($('body.hmenu-center').length?$('#masthead .menu-container').outerHeight():parseInt(UNCODE.menuMobileHeight))}}
631return sideOffset},initStickyElement=function($els){if($('body').hasClass('vc-safe-mode')){return!0}
632if(typeof $els==='undefined'){$els=$('.sticky-element')}
633$.each($els,function(index,element){if($(element).closest('.tab-pane').length){var $paneParent=$(element).closest('.tab-pane');if(!$paneParent.hasClass('active')){return!0}}
634$(element).stick_in_parent({sticky_class:'is_stucked',offset_top:calculateOffset(element),bottoming:!0,inner_scrolling:SiteParameters.sticky_elements==='on'})})};var oldW=UNCODE.wwidth,oldH=UNCODE.wHeight;requestTimeout(function(){if($('.sticky-element').length){if($(window).width()>UNCODE.mediaQuery){initStickyElement();if(startSticky===!0){$('#page-header').trigger('sticky_kit:recalc')}}
635$(window).on('resize lateral_resize',function(event){if(oldW!==UNCODE.wwidth||oldH!==UNCODE.wHeight){$(".sticky-element").trigger("sticky_kit:detach");if($(window).width()>UNCODE.mediaQuery){initStickyElement()}
636oldW=UNCODE.wwidth;oldH=UNCODE.wHeight}})}},1000);if($('.sticky-element').length){$(window).on('uncode_wc_variation_gallery_loaded',function(event){requestTimeout(function(){$(document.body).trigger("sticky_kit:recalc")},100)})}
637var $panels=$('.panel-collapse');if($panels.length){$panels.each(function(){var $panel=$(this);$panel.on('shown.bs.collapse hidden.bs.collapse',function(){$(document.body).trigger("sticky_kit:recalc")})})}
638$('.nav-tabs a').on('shown.bs.tab',function(e){var $tabs=$(e.target).closest('.tab-container'),$panel=$('.tab-pane.active',$tabs),$els=$(e.target).nextAll(".sticky-element");$els.trigger("sticky_kit:detach");initStickyElement($els)});$(window).on('vc-safe-mode-on',function(){$(".sticky-element").trigger("sticky_kit:detach")});$(window).on('vc-safe-mode-off',function(){initStickyElement()})}}})(jQuery)
639;
640/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__lib__transition-js-va87f99450b4c2ba6ec8144e803529e5759dc940c.js*/
641/*!/wp-content/themes/uncode/library/js/lib/transition.js*/
642+function($){'use strict';function transitionEnd(){var el=document.createElement('bootstrap')
643var transEndEventNames={WebkitTransition:'webkitTransitionEnd',MozTransition:'transitionend',OTransition:'oTransitionEnd otransitionend',transition:'transitionend'}
644for(var name in transEndEventNames){if(el.style[name]!==undefined){return{end:transEndEventNames[name]}}}
645return!1}
646$.fn.emulateTransitionEnd=function(duration){var called=!1,$el=this
647$(this).one($.support.transition.end,function(){called=!0})
648var callback=function(){if(!called)$($el).trigger($.support.transition.end)}
649setTimeout(callback,duration)
650return this}
651$(function(){$.support.transition=transitionEnd()})}(jQuery)
652;
653/*!/wp-content/cache/asset-cleanup/one/js/item/uncode__library__js__app-loader-js-vb9f8dc9527163ed9bcd0bae389dcf3a397be41e8.js*/
654/*!/wp-content/themes/uncode/library/js/app-loader.js*/
655(function($){"use strict";UNCODE.init=function(){var wfl_check=!1,wfl_request,waypoint_request;UNCODE.preventDoubleTransition();UNCODE.betterResize();UNCODE.utils();UNCODE.unBlockMenu();UNCODE.mobileMenuBlockSkins();UNCODE.magnetic();if(typeof UNCODE.accessibility!=='undefined'){UNCODE.accessibility()}
656if(typeof UNCODE.rowParallax!=='undefined'){UNCODE.rowParallax()}
657if(typeof UNCODE.changeSkinOnScroll!=='undefined'){UNCODE.changeSkinOnScroll()}
658if(typeof UNCODE.share!=='undefined'){UNCODE.share()}
659if(typeof UNCODE.tooltip!=='undefined'){UNCODE.tooltip()}
660if(typeof UNCODE.counters!=='undefined'){UNCODE.counters()}
661if(typeof UNCODE.countdowns!=='undefined'){UNCODE.countdowns()}
662if(typeof UNCODE.tabs!=='undefined'){UNCODE.tabs()}
663if(typeof UNCODE.collapse!=='undefined'){UNCODE.collapse()}
664if(typeof UNCODE.bigText!=='undefined'){UNCODE.bigText()}
665UNCODE.menuSystem();if(typeof UNCODE.bgChanger!=='undefined'){UNCODE.bgChanger()}
666if(typeof UNCODE.magicCursor!=='undefined'){UNCODE.magicCursor()}
667if(typeof UNCODE.magneticCursor!=='undefined'){UNCODE.magneticCursor()}
668if(typeof UNCODE.dropImage!=='undefined'){UNCODE.dropImage()}
669if(typeof UNCODE.postTable!=='undefined'){UNCODE.postTable()}
670if(typeof UNCODE.rotatingTxt!=='undefined'){UNCODE.rotatingTxt()}
671if(typeof UNCODE.okvideo!=='undefined'){UNCODE.okvideo();window.addEventListener("uncode-more-items-loaded",function(){UNCODE.okvideo("uncode-more-items-loaded")})}
672if(typeof UNCODE.backgroundSelfVideos!=='undefined'){UNCODE.backgroundSelfVideos()}
673UNCODE.tapHover();if(typeof UNCODE.isotopeLayout!=='undefined'){UNCODE.isotopeLayout()}
674if(typeof UNCODE.justifiedGallery!=='undefined'){UNCODE.justifiedGallery()}
675if(typeof UNCODE.cssGrid!=='undefined'){UNCODE.cssGrid()}
676if(typeof UNCODE.linearGrid!=='undefined'){UNCODE.linearGrid()}
677if(typeof UNCODE.lightbox!=='undefined'&&!SiteParameters.lbox_enhanced){UNCODE.lightbox()}
678if(typeof UNCODE.lightgallery!=='undefined'&&SiteParameters.lbox_enhanced){$(window).on('load more-items-loaded',function(){UNCODE.lightgallery()})}
679if(typeof UNCODE.carousel!=='undefined'){UNCODE.carousel($('body'))}
680if(typeof UNCODE.lettering!=='undefined'){UNCODE.lettering()}
681UNCODE.animations();if(typeof UNCODE.stickyElements!=='undefined'&&!SiteParameters.is_frontend_editor){UNCODE.stickyElements()}
682if(typeof UNCODE.twentytwenty!=='undefined'){UNCODE.twentytwenty()}
683UNCODE.disableHoverScroll();UNCODE.printScreen();if(typeof UNCODE.particles!=='undefined'){UNCODE.particles()}
684if(typeof UNCODE.filters!=='undefined'){UNCODE.filters()}
685if(typeof UNCODE.ajax_filters!=='undefined'){UNCODE.ajax_filters()}
686if(typeof UNCODE.widgets!=='undefined'){UNCODE.widgets()}
687if(typeof UNCODE.unmodal!=='undefined'){UNCODE.unmodal()}
688if(typeof UNCODE.checkScrollForTabs!=='undefined'){if(!UNCODE.isFullPage){UNCODE.checkScrollForTabs()}}
689if(typeof UNCODE.onePage!=='undefined'){UNCODE.onePage(UNCODE.isMobile)}
690if(typeof UNCODE.fullPage!=='undefined'){$(document).ready(function(){UNCODE.fullPage()})}
691if(typeof UNCODE.skewIt!=='undefined'){UNCODE.skewIt()}
692if(typeof UNCODE.rotateIt!=='undefined'){UNCODE.rotateIt()}
693if(typeof UNCODE.textMarquee!=='undefined'){UNCODE.textMarquee()}
694if(typeof UNCODE.stickyScroll!=='undefined'){UNCODE.stickyScroll()}
695if(typeof UNCODE.stickyTrigger!=='undefined'){UNCODE.stickyTrigger()}
696if(typeof UNCODE.areaTextReveal!=='undefined'){UNCODE.areaTextReveal()}
697if(typeof UNCODE.thumbsReveal!=='undefined'){UNCODE.thumbsReveal()}
698if(typeof UNCODE.verticalText!=='undefined'){UNCODE.verticalText()}
699if(typeof UNCODE.videoThumbs!=='undefined'){UNCODE.videoThumbs()}
700if(typeof UNCODE.revslider!=='undefined'){UNCODE.revslider()}
701if(typeof UNCODE.layerslider!=='undefined'){UNCODE.layerslider()}
702if(typeof UNCODE.lottie!=='undefined'){UNCODE.lottie()}
703if(typeof UNCODE.inlineImgs!=='undefined'){UNCODE.inlineImgs()}
704if(typeof UNCODE.animatedBgGradient!=='undefined'){UNCODE.animatedBgGradient()}
705if(typeof UNCODE.readMoreCol!=='undefined'){UNCODE.readMoreCol()}
706if(typeof UNCODE.multibg!=='undefined'){UNCODE.multibg()}
707if(typeof UNCODE.flexEqual!=='undefined'){UNCODE.flexEqual()}
708if(typeof UNCODE.wrapperMarquee!=='undefined'){UNCODE.wrapperMarquee()}
709if(typeof UNCODE.wrapperSticky!=='undefined'){UNCODE.wrapperSticky()}
710if(typeof UNCODE.mouseTrail!=='undefined'){UNCODE.mouseTrail()}
711if(typeof UNCODE.magneticPattern!=='undefined'){UNCODE.magneticPattern()}
712if(typeof UNCODE.thumbDrop!=='undefined'){UNCODE.thumbDrop()}
713$(window).on('load',function(){clearRequestTimeout(waypoint_request);waypoint_request=requestTimeout(function(){Waypoint.refreshAll()},1000)});$(window).one('load',function(){if(typeof UNCODE.parallax!=='undefined'){UNCODE.parallax()}})}
714if(!SiteParameters.is_frontend_editor){UNCODE.init()}})(jQuery)
715;

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.