document.addEventListener('DOMContentLoaded', function(){
for(var cookieName in wpml_cookies){
var cookieData=wpml_cookies[cookieName];
document.cookie=cookieName + '=' + cookieData.value + ';expires=' + cookieData.expires + '; path=' + cookieData.path + '; SameSite=Lax';
}});
"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery('#') is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass(boolean) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css("'+e+'", value)')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={},r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s});
jQuery(document).ready(function(p){let u="",m="",h="",b="",v="",x="";jQuery(".ult-responsive").each(function(e,a){let t=jQuery(this),i=t.attr("data-responsive-json-new"),s=t.data("ultimate-target"),l="",r="",d="",n="",c="",o="";void 0===i&&null==i||p.each(JSON.parse(i),function(e,a){let i=e;void 0!==a&&null!=a&&(e=a.split(";"),jQuery.each(e,function(e,a){if(void 0!==a||null!=a){var t=a.split(":");switch(t[0]){case"large_screen":l+=i+":"+t[1]+";";break;case"desktop":r+=i+":"+t[1]+";";break;case"tablet":d+=i+":"+t[1]+";";break;case"tablet_portrait":n+=i+":"+t[1]+";";break;case"mobile_landscape":c+=i+":"+t[1]+";";break;case"mobile":o+=i+":"+t[1]+";"}}}))}),""!=o&&(x+=s+"{"+o+"}"),""!=c&&(v+=s+"{"+c+"}"),""!=n&&(b+=s+"{"+n+"}"),""!=d&&(h+=s+"{"+d+"}"),""!=r&&(m+=s+"{"+r+"}"),""!=l&&(u+=s+"{"+l+"}")});var e="<style>/** Ultimate: Media Responsive **/ ",e=(e=(e=(e=(e+=m)+("@media (max-width: 1199px){ "+h+"}"))+("@media (max-width: 991px){ "+b+"}"))+("@media (max-width: 767px){ "+v+"}"))+("@media (max-width: 479px){ "+x+"}")+"/** Ultimate: Media Responsive - **/</style>";jQuery("head").append(e)});
(c=>{function s(t,e){var i,r;r=(i=parseInt(e.outerHeight()))/2,t.css("padding-top",r+"px"),t.parent().css("margin-top",r+20+"px"),e.css("top",-i+"px")}function o(t){0<t.find(".timeline-icon-block").length&&c(".timeline-block").each(function(t,e){var i=c(this).find(".timeline-header-block"),r=c(this).find(".timeline-icon-block"),s=(r.css({position:"absolute"}),r.outerHeight()),o=r.outerWidth(),a=-o/2,a=(parseInt(i.find(".timeline-header").css("padding-left").replace(/[^\d.]/g,"")),c(this).hasClass("timeline-post-left")?(r.css({left:a,right:"auto"}),jQuery("body").hasClass("rtl")&&r.css({left:"auto",right:a})):c(this).hasClass("timeline-post-right")&&(r.css({left:"auto",right:a}),jQuery("body").hasClass("rtl"))&&r.css({left:a,right:"auto"}),i.height()),a=(r.css({top:a/2-s/2}),r.offset().left),s=c(window).width();(a<0||s<a+o)&&(r.css({position:"relative",top:"auto",left:"auto",right:"auto","text-align":"center"}),r.children().children().css({margin:"10px auto"}),i.css({padding:"0"}))})}function i(){jQuery(".ult-animation").each(function(){if(jQuery(this).attr("data-animate")){var r=jQuery(this).children("*");let s=jQuery(this).attr("data-animate"),t=jQuery(this).attr("data-animation-duration")+"s",e=jQuery(this).attr("data-animation-iteration"),i=jQuery(this).attr("data-animation-delay"),o=(jQuery(this).attr("data-opacity_start_effect"),"opacity:1;-webkit-animation-delay:"+i+"s;-webkit-animation-duration:"+t+";-webkit-animation-iteration-count:"+e+"; -moz-animation-delay:"+i+"s;-moz-animation-duration:"+t+";-moz-animation-iteration-count:"+e+"; animation-delay:"+i+"s;animation-duration:"+t+";animation-iteration-count:"+e+";");var a="opacity:1;-webkit-transition-delay: "+i+"s; -moz-transition-delay: "+i+"s; transition-delay: "+i+"s;";if(n(jQuery(this))){let t=jQuery(this).attr("style");"opacity:0;"==(t=(t=void 0===t?"test":t).replace(/ /g,""))&&0!==t.indexOf(a)&&jQuery(this).attr("style",a),jQuery.each(r,function(t,e){e=jQuery(e);let i=e.attr("style"),r=(void 0===i&&(i="test"),"");r=0==i.indexOf(o)?i:o+i,e.attr("style",r),n(e)&&e.addClass("animated").addClass(s)})}}})}function n(t){var e,i=jQuery(window).scrollTop(),r=jQuery(window).height();e=void 0===(e=jQuery(t).hasClass("ult-animate-viewport")?jQuery(t).data("opacity_start_effect"):e)||""==e?2:100-e,jQuery(t).outerHeight();return jQuery(t).offset().top-i<=r-r*(e/100)}function a(){jQuery(".ult-new-ib").each(function(t,e){var i,r,s=jQuery(this);s.hasClass("ult-ib-resp")&&(i=jQuery(document).width(),r=s.data("min-width"),i<=s.data("max-width")&&r<=i?s.find(".ult-new-ib-content").hide():s.find(".ult-new-ib-content").show())})}c.fn.vc_translate_row=function(){let u=c(window).scrollTop(),l=c(window).height();c(this).each(function(t,e){let i=c(e).attr("data-row-effect-mobile-disable");if(i=void 0===i?"false":i.toString(),"false"==("true"==(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?"true":"false")&&"true"==i?"true":"false")){var r=c(e).outerHeight(),s=c(e).offset().top-u,o=s+r,a=c(e).attr("data-parallax-content-sense")/100,n=0;o<=l-0*l&&s<=0&&!((n=r>l?(l-o)*a:-s*a)<0)||(n=0);c(e).find(".vc-row-translate-wrapper").children().each(function(t,e){jQuery(e).is(".upb_row_bg,.upb_video-wrapper,.ult-vc-seperator,.ult-easy-separator-wrapper")||c(e).css({transform:"translate3d(0,"+n+"px,0)","-webkit-transform":"translate3d(0,"+n+"px,0)","-ms-transform":"translate3d(0,"+n+"px,0)"})})}})},c.fn.vc_fade_row=function(){let a=c(window).scrollTop(),n=c(window).height();c(this).each(function(t,e){let i=c(e).attr("data-row-effect-mobile-disable");if(i=void 0===i?"false":i.toString(),"false"==("true"==(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?"true":"false")&&"true"==i?"true":"false")){var r=100-c(e).data("fadeout-percentage"),s=c(e).outerHeight(),s=c(e).offset().top-a+s;let i=1;var r=n-n*(r/100),o=(r-s)/r*1;0<o&&(i=1-o),s<=r?(i<0?i=0:1<i&&(i=1),c(e).children().each(function(t,e){c(e).is(".upb_row_bg,.upb_video-wrapper,.ult-vc-seperator")||c(e).css({opacity:i})})):c(e).children().each(function(t,e){c(e).css({opacity:i})})}})},jQuery(document).ready(function(){{let n="";c(".ult-spacer").each(function(t,e){var i=c(e).data("id"),r=(c("body").width(),c(e).data("height-mobile")),s=c(e).data("height-mobile-landscape"),o=c(e).data("height-tab"),a=c(e).data("height-tab-portrait"),e=c(e).data("height");""!=e&&(n+=" .spacer-"+i+" { height:"+e+"px } "),""==o&&"0"!=o&&0!=o||(n+=" @media (max-width: 1199px){ .spacer-"+i+" { height:"+o+"px }} "),void 0===a||""==a&&"0"!=a&&0!=a||(n+=" @media (max-width: 991px){ .spacer-"+i+" { height:"+a+"px }} "),void 0===s||""==s&&"0"!=s&&0!=s||(n+=" @media (max-width: 767px){ .spacer-"+i+" { height:"+s+"px }} "),""==r&&"0"!=r&&0!=r||(n+=" @media (max-width: 479px){ .spacer-"+i+" { height:"+r+"px }} ")}),""!=n&&(n="<style>"+n+"</style>",c("head").append(n))}}),jQuery(window).on("scroll",function(){var t=jQuery(".ult-no-mobile").length;/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&1<=t?jQuery(".ult-animation").css("opacity",1):i(),c(".vc-row-fade").vc_fade_row(),c(".vc-row-translate").vc_translate_row()}),jQuery(window).on("load",function(){jQuery(".ult-banner-block-custom-height").each(function(t,e){var i=jQuery(this).find("img"),r=jQuery(this).width(),s=jQuery(this).height();i.width();s<r&&i.css({width:"100%",height:"auto"})}),jQuery(".ult-new-ib").each(function(t,e){("ontouchstart"in window||0<navigator.MaxTouchPoints||0<navigator.msMaxTouchPoints)&&jQuery(this).find(".ult-new-ib-link").click(function(t){t.preventDefault();let e=jQuery(this).attr("href"),i=jQuery(this).data("touch-delay");null==i&&(i=200),setTimeout(function(){window.location=e},i)})});function i(){jQuery(".ifb-jq-height").each(function(){jQuery(this).find(".ifb-back").css("height","auto"),jQuery(this).find(".ifb-front").css("height","auto");var t=parseInt(jQuery(this).find(".ifb-front > div").outerHeight(!0)),e=parseInt(jQuery(this).find(".ifb-back > div").outerHeight(!0)),t=e<t?t:e;jQuery(this).find(".ifb-front").css("height",t+"px"),jQuery(this).find(".ifb-back").css("height",t+"px"),(jQuery(this).hasClass("vertical_door_flip")||jQuery(this).hasClass("horizontal_door_flip")||jQuery(this).hasClass("style_9"))&&jQuery(this).find(".ifb-flip-box").css("height",t+"px")}),jQuery(".ifb-auto-height").each(function(){var t,e;(jQuery(this).hasClass("horizontal_door_flip")||jQuery(this).hasClass("vertical_door_flip"))&&(e=parseInt(jQuery(this).find(".ifb-front > div").outerHeight()),e=(t=parseInt(jQuery(this).find(".ifb-back > div").outerHeight()))<e?e:t,jQuery(this).find(".ifb-flip-box").css("height",e+"px"))})}let t=0,e=0;-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome")?setTimeout(function(){i()},500):i(),jQuery(document).on("ultAdvancedTabClicked",function(t,e){i()}),jQuery(window).on("resize",function(){t++,setTimeout(function(){e++,t==e&&i()},500)});let r=0;jQuery(window).on("resize",function(){a(),jQuery(".csstime.smile-icon-timeline-wrap").each(function(){o(jQuery(this))}),c(".jstime .timeline-wrapper").each(function(){o(jQuery(this))}),"none"==jQuery(".smile-icon-timeline-wrap.jstime .timeline-line").css("display")?0===r&&(c(".jstime .timeline-wrapper").masonry("destroy"),r=1):1==r&&(jQuery(".jstime .timeline-wrapper").masonry({itemSelector:".timeline-block"}),setTimeout(function(){jQuery(".jstime .timeline-wrapper").masonry({itemSelector:".timeline-block",width:"401px"}),jQuery(this).find(".timeline-block").each(function(){jQuery(this).css("left","initial"),"0px"==jQuery(this).css("left")?jQuery(this).addClass("timeline-post-left"):jQuery(this).addClass("timeline-post-right")}),r=0},300))}),c(".smile-icon-timeline-wrap").each(function(){var t=jQuery(this).data("timeline-cutom-width"),t=(t&&jQuery(this).css("width",2*t+40+"px"),parseInt(jQuery(this).width()),parseInt(jQuery(this).find(".timeline-block").width()),c(".jstime .timeline-wrapper").each(function(){jQuery(this).masonry({itemSelector:".timeline-block"})}),setTimeout(function(){c(".jstime .timeline-wrapper").each(function(){jQuery(this).find(".timeline-block").each(function(){"0px"==jQuery(this).css("left")?jQuery(this).addClass("timeline-post-left"):jQuery(this).addClass("timeline-post-right"),o(jQuery(this))}),jQuery(".timeline-block").each(function(){var t=parseInt(jQuery(this).css("top"))-parseInt(jQuery(this).next().css("top"));t<14&&0<t||0==t?jQuery(this).next().addClass("time-clash-right"):-14<t&&jQuery(this).next().addClass("time-clash-left")})}),jQuery(".timeline-post-right").each(function(){var t=jQuery(this).find(".timeline-icon-block").clone();jQuery(this).find(".timeline-icon-block").remove(),jQuery(this).find(".timeline-header-block").after(t)}),jQuery(".smile-icon-timeline-wrap").each(function(){var t=jQuery(this).data("time_block_bg_color");jQuery(this).find(".timeline-block").css("background-color",t),jQuery(this).find(".timeline-post-left.timeline-block l").css("border-left-color",t),jQuery(this).find(".timeline-post-right.timeline-block l").css("border-right-color",t),jQuery(this).find(".feat-item").css("background-color",t),0<jQuery(this).find(".feat-item").find(".feat-top").length?jQuery(this).find(".feat-item l").css("border-top-color",t):jQuery(this).find(".feat-item l").css("border-bottom-color",t),jQuery(".jstime.timeline_preloader").remove(),jQuery(this).find("div").hasClass("timeline-wrapper")?jQuery(this).css("opacity","1"):jQuery(this).remove()})},1e3),jQuery(this).find(".timeline-line ").next().hasClass("timeline-separator-text")||jQuery(this).find(".timeline-line").prepend("<span></span>"),jQuery(this).data("time_sep_color")),e=jQuery(this).data("time_sep_bg_color"),i=jQuery(".smile-icon-timeline-wrap .timeline-line").css("border-right-color");jQuery(this).find(".timeline-dot").css("background-color",e),jQuery(this).find(".timeline-line span").css("background-color",e),jQuery(this).find(".timeline-line span").css("background-color",e),jQuery(this).find(".timeline-separator-text").css("color",t),jQuery(this).find(".timeline-separator-text .sep-text").css("background-color",e),jQuery(this).find(".ult-timeline-arrow s").css("border-color","rgba(255, 255, 255, 0) "+i),jQuery(this).find(".feat-item .ult-timeline-arrow s").css("border-color",i+" rgba(255, 255, 255, 0)"),jQuery(this).find(".timeline-block").css("border-color",i),jQuery(this).find(".feat-item").css("border-color",i)})}),jQuery(document).ready(function(t){var e=jQuery(".ult-no-mobile").length,e=(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&1<=e?jQuery(".ult-animation").css("opacity",1):i(),a(),jQuery(".ubtn").on("mouseenter",function(){let t=jQuery(this),e=(t.find(".ubtn-text").css("color",t.data("hover")),t.find(".ubtn-hover").css("background",t.data("hover-bg")).addClass("ubtn-hover-active"),""!=t.data("hover-bg")&&t.data("hover-bg")),i=(setTimeout(function(){!1!==e&&t.hasClass(".ubtn-fade-bg")&&t.css("background",t.data("hover-bg"))},150),t.attr("style"));var r;""!=t.data("shadow-hover")&&(t.css("box-shadow"),i+="box-shadow:"+t.data("shadow-hover")),t.attr("style",i),""!=t.data("border-hover")&&t.css("border-color",t.data("border-hover")),"none"!=t.data("shadow-click")&&(r=t.data("shd-shadow")-3,""!=t.is(".shd-left")?t.css({right:r}):""!=t.is(".shd-right")?t.css({left:r}):""!=t.is(".shd-top")?t.css({bottom:r}):""!=t.is(".shd-bottom")&&t.css({top:r}))}).on("mouseleave",function(){var t=jQuery(this),e=(t.find(".ubtn-text").removeAttr("style"),t.find(".ubtn-hover").removeClass("ubtn-hover-active"),t.css("background",t.data("bg")),t.data("border-color"));let i=t.attr("style");""!=t.data("shadow-hover")&&(i+="box-shadow:"+t.data("shadow")),t.attr("style",i),""!=t.data("border-hover")&&t.css("border-color",e),"none"!=t.data("shadow-click")&&(t.removeClass("no-ubtn-shadow"),""!=t.is(".shd-left")?t.css({right:"auto"}):""!=t.is(".shd-right")?t.css({left:"auto"}):""!=t.is(".shd-top")?t.css({bottom:"auto"}):""!=t.is(".shd-bottom")&&t.css({top:"auto"}))}),jQuery(".ubtn").on("focus blur mousedown mouseup",function(t){let e=jQuery(this);"none"!=e.data("shadow-click")&&setTimeout(function(){e.is(":focus")?(e.addClass("no-ubtn-shadow"),""!=e.is(".shd-left")?e.css({right:e.data("shd-shadow")+"px"}):""!=e.is(".shd-right")?e.css({left:e.data("shd-shadow")+"px"}):""!=e.is(".shd-top")?e.css({bottom:e.data("shd-shadow")+"px"}):""!=e.is(".shd-bottom")&&e.css({top:e.data("shd-shadow")+"px"})):(e.removeClass("no-ubtn-shadow"),""!=e.is(".shd-left")?e.css({right:"auto"}):""!=e.is(".shd-right")?e.css({left:"auto"}):""!=e.is(".shd-top")?e.css({bottom:"auto"}):""!=e.is(".shd-bottom")&&e.css({top:"auto"}))},0)}),jQuery(".ubtn").on("focusout",function(){var t=jQuery(this);t.removeClass("no-ubtn-shadow"),""!=t.is(".shd-left")?t.css({right:"auto"}):""!=t.is(".shd-right")?t.css({left:"auto"}):""!=t.is(".shd-top")?t.css({bottom:"auto"}):""!=t.is(".shd-bottom")&&t.css({top:"auto"})}),jQuery(".smile-icon-timeline-wrap.jstime").css("opacity","0"),jQuery(".jstime.timeline_preloader").css("opacity","1"),jQuery(".smile-icon-timeline-wrap.csstime .timeline-wrapper").each(function(){jQuery(".csstime .timeline-block:even").addClass("timeline-post-left"),jQuery(".csstime .timeline-block:odd").addClass("timeline-post-right")}),jQuery(".csstime .timeline-post-right").each(function(){jQuery(this).css("float","right"),jQuery("<div style='clear:both'></div>").insertAfter(jQuery(this))}),jQuery(".csstime.smile-icon-timeline-wrap").each(function(){var t=jQuery(this).data("time_block_bg_color");jQuery(this).find(".timeline-block").css("background-color",t),jQuery(this).find(".timeline-post-left.timeline-block l").css("border-left-color",t),jQuery(this).find(".timeline-post-right.timeline-block l").css("border-right-color",t),jQuery(this).find(".feat-item").css("background-color",t),0<jQuery(this).find(".feat-item").find(".feat-top").length?jQuery(this).find(".feat-item l").css("border-top-color",t):jQuery(this).find(".feat-item l").css("border-bottom-color",t),o(jQuery(this))}),jQuery(".aio-icon, .aio-icon-img, .flip-box, .ultb3-info, .icon_list_icon, .ult-banner-block, .uavc-list-icon, .ult_tabs, .icon_list_connector").each(function(){if(jQuery(this).attr("data-animation")){let e=jQuery(this).attr("data-animation"),i="delay-"+jQuery(this).attr("data-animation-delay");if(void 0===e||""===e)return!1;t(this).bsf_appear(function(){var t=jQuery(this);t.addClass("animated").addClass(e),t.addClass("animated").addClass(i)})}}),jQuery(".stats-block").each(function(){t(this).bsf_appear(function(){var t=parseFloat(jQuery(this).find(".stats-number").data("counter-value")),e=jQuery(this).find(".stats-number").data("counter-value")+" ",i=parseInt(jQuery(this).find(".stats-number").data("speed")),r=jQuery(this).find(".stats-number").data("id"),s=jQuery(this).find(".stats-number").data("separator");let o=jQuery(this).find(".stats-number").data("decimal"),a=e.split("."),n=(a=a[1]?a[1].length-1:0,!0);"none"==o&&(o="");e={useEasing:!0,useGrouping:n="none"!=s,separator:s,decimal:o};let u=new countUp(r,0,t,a,i,e);setTimeout(function(){u.start()},500)})}),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?jQuery(".ifb-flip-box").on("click",function(t){var e=jQuery(this);e.hasClass("ifb-hover")?e.removeClass("ifb-hover"):e.addClass("ifb-hover")}):jQuery(document).on("mouseenter mouseleave",".ifb-flip-box",function(t){var e=jQuery(this);e.hasClass("ifb-hover")?e.removeClass("ifb-hover"):e.addClass("ifb-hover")}),jQuery(".ifb-flip-box").each(function(t,e){jQuery(this).parent().hasClass("style_9")&&(jQuery(this).on("mouseenter",function(){jQuery(this).addClass("ifb-door-hover")}).on("mouseleave",function(){jQuery(this).removeClass("ifb-door-hover")}),jQuery(this).on("click",function(){jQuery(this).toggleClass("ifb-door-right-open"),jQuery(this).removeClass("ifb-door-hover")}))}),jQuery(document).on("click",".ifb-flip-box",function(t){t.stopPropagation(),jQuery(document).trigger("ultFlipBoxClicked",jQuery(this))}),jQuery(".vertical_door_flip .ifb-front").each(function(){jQuery(this).wrap('<div class="v_door ifb-multiple-front ifb-front-1"></div>'),jQuery(this).parent().clone().removeClass("ifb-front-1").addClass("ifb-front-2").insertAfter(jQuery(this).parent())}),jQuery(".reverse_vertical_door_flip .ifb-back").each(function(){jQuery(this).wrap('<div class="rv_door ifb-multiple-back ifb-back-1"></div>'),jQuery(this).parent().clone().removeClass("ifb-back-1").addClass("ifb-back-2").insertAfter(jQuery(this).parent())}),jQuery(".horizontal_door_flip .ifb-front").each(function(){jQuery(this).wrap('<div class="h_door ifb-multiple-front ifb-front-1"></div>'),jQuery(this).parent().clone().removeClass("ifb-front-1").addClass("ifb-front-2").insertAfter(jQuery(this).parent())}),jQuery(".reverse_horizontal_door_flip .ifb-back").each(function(){jQuery(this).wrap('<div class="rh_door ifb-multiple-back ifb-back-1"></div>'),jQuery(this).parent().clone().removeClass("ifb-back-1").addClass("ifb-back-2").insertAfter(jQuery(this).parent())}),jQuery(".style_9 .ifb-front").each(function(){jQuery(this).wrap('<div class="new_style_9 ifb-multiple-front ifb-front-1"></div>'),jQuery(this).parent().clone().removeClass("ifb-front-1").addClass("ifb-front-2").insertAfter(jQuery(this).parent())}),jQuery(".style_9 .ifb-back").each(function(){jQuery(this).wrap('<div class="new_style_9 ifb-multiple-back ifb-back-1"></div>'),jQuery(this).parent().clone().removeClass("ifb-back-1").addClass("ifb-back-2").insertAfter(jQuery(this).parent())}),/^((?!chrome).)*safari/i.test(navigator.userAgent));e&&(jQuery(".vertical_door_flip").each(function(t,e){var i=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-i/2+"px"),jQuery(this).find(".ifb-multiple-front").css("width","50.2%")}),jQuery(".horizontal_door_flip").each(function(t,e){var i=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-i/2+"px"),jQuery(this).find(".ifb-multiple-front").css("height","50.2%")}),jQuery(".reverse_vertical_door_flip").each(function(t,e){var i=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-i/2+"px")}),jQuery(".reverse_horizontal_door_flip").each(function(t,e){var i=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-i/2+"px"),jQuery(this).find(".ifb-back").css("position","inherit")})),jQuery(".square_box-icon").each(function(t,e){let i=jQuery(this);var r;(0<jQuery(this).find(".aio-icon-img").length?(r=jQuery(this).find(".aio-icon-img"),s(i,r),r.find(".img-icon")):(r=jQuery(this).find(".aio-icon"),s(i,r),jQuery(window))).on("load",function(){s(i,r)})})})})(jQuery),jQuery(document).ready(function(){function t(){jQuery(".ult-new-ib").each(function(t,e){var i,r=jQuery(this).data("min-height")||"";jQuery(this).find(".ult-new-ib-img").data("min-height"),jQuery(this).find(".ult-new-ib-img").data("max-width");""!=r&&(jQuery(this).addClass("ult-ib2-min-height"),jQuery(this).css("height",r),jQuery(this).find(".ult-new-ib-img").removeClass("ult-ib2-toggle-size"),jQuery(this).find(".ult-new-ib-img").width(),i=jQuery(this).find(".ult-new-ib-img").height(),jQuery(this).width()<=r||i<r)&&jQuery(this).find(".ult-new-ib-img").addClass("ult-ib2-toggle-size"),jQuery(this).on("mouseenter",function(){jQuery(this).find(".ult-new-ib-img").css("opacity",jQuery(this).data("hover-opacity"))}).on("mouseleave",function(){jQuery(this).find(".ult-new-ib-img").css("opacity",jQuery(this).data("opacity"))})})}jQuery(".ult-new-ib").css("opacity","1"),t(),jQuery(window).on("load",function(){t()}),jQuery(window).on("resize",function(){t()})}),jQuery(document).ready(function(){function i(){jQuery(".ultimate-map-wrapper").each(function(t,e){var i=jQuery(e).attr("id");if(void 0===i||""===i)return!1;var e=jQuery(e).find(".ultimate_google_map").attr("id"),r=jQuery("#"+e).attr("data-map_override");let s="true",o=(jQuery("#"+e).css({"margin-left":0}),jQuery("#"+e).css({right:0}),jQuery("#"+i).parent());o;if("full"==r&&(o=jQuery("body"),s="false"),"ex-full"==r&&(o=jQuery("html"),s="false"),!isNaN(r))for(t=0;t<r&&"HTML"!=o.prop("tagName");t++)o=o.parent();i=0==r||"0"==r?o.width():o.outerWidth();var a=o.offset().left-jQuery("#"+e).offset().left;jQuery("#"+e).css({width:i}),0==r&&"0"==r||jQuery("#"+e).css({"margin-left":a}),"full"==r&&jQuery("body").hasClass("rtl")&&(i=jQuery("#"+e),a=jQuery(window).width()-(i.offset().left+i.outerWidth()),jQuery("#"+e).css({right:-a}))})}i(),jQuery(window).on("load",function(){i()}),jQuery(window).on("resize",function(){i()}),jQuery(".ui-tabs").on("tabsactivate",function(t,e){0<jQuery(this).find(".ultimate-map-wrapper").length&&i()}),jQuery(".ui-accordion").on("accordionactivate",function(t,e){0<jQuery(this).find(".ultimate-map-wrapper").length&&i()}),jQuery(document).on("onUVCModalPopupOpen",function(){i()}),jQuery(document).on("UVCMapResize",function(){i()})});
(i=>{function t(){let l=0;$jh(".uvc-heading").each(function(){let t,e,h;var n=$jh(this).outerWidth(),a=$jh(this).attr("data-hline_width"),r=$jh(this).attr("data-hicon_type"),o=$jh(this).attr("data-halign"),i=$jh(this).attr("data-hspacer");if(left_rtl="left",right_rtl="right",jQuery("body").hasClass("rtl")&&(left_rtl="right",right_rtl="left"),"line_with_icon"==i){var c,s=$jh(this).attr("id"),d=(l=void 0===(l=$jh(this).attr("data-hfixer"))||""===l?0:parseInt(l),n/2),n=($jh(this).find(".dynamic_ultimate_heading_css").remove(),(h="auto"==a||n<a?n:a)/2),r=(t=("selector"==r?(e=$jh(this).find(".aio-icon").outerWidth(),$jh(this).find(".aio-icon")):(e=$jh(this).find(".aio-icon-img").outerWidth(),$jh(this).find(".aio-icon-img"))).outerHeight(),e/2),d=d-r+e+l;let i=n;t+=3,$jh(this).find(".uvc-heading-spacer").height(t),"center"==o?($jh(this).find(".aio-icon-img").css({margin:"0 auto"}),c="#"+s+" .uvc-heading-spacer.line_with_icon:before{"+right_rtl+":"+d+"px;}#"+s+" .uvc-heading-spacer.line_with_icon:after{"+left_rtl+":"+d+"px;}"):"left"==o?($jh(this).find(".aio-icon-img").css({float:o}),c=(c="")!=h?"#"+s+" .uvc-heading-spacer.line_with_icon:before{left:"+(e+l)+"px;right:auto;}#"+s+" .uvc-heading-spacer.line_with_icon:after{left:"+(i+e+l)+"px;right:auto;}":"#"+s+" .uvc-heading-spacer.line_with_icon:before{right:"+(d-e-2*l)+"px;}#"+s+" .uvc-heading-spacer.line_with_icon:after{left:"+(d-l)+"px;}"):"right"==o&&($jh(this).find(".aio-icon-img").css({float:o}),c=(c="")!=h?"#"+s+" .uvc-heading-spacer.line_with_icon:before{right:"+(e+l)+"px;left:auto;}#"+s+" .uvc-heading-spacer.line_with_icon:after{right:"+(i+e+l)+"px;left:auto;}":"#"+s+" .uvc-heading-spacer.line_with_icon:before{right:"+(d-l)+"px;}#"+s+" .uvc-heading-spacer.line_with_icon:after{left:"+(d-e-2*l)+"px;}");r=$jh(this).attr("data-hborder_style"),n=$jh(this).attr("data-hborder_color"),d=$jh(this).attr("data-hborder_height"),s='<div class="dynamic_ultimate_heading_css"><style>#'+s+" .uvc-heading-spacer.line_with_icon:before, #"+s+" .uvc-heading-spacer.line_with_icon:after{width:"+(i="auto"==a&&"center"==o?Math.floor(i-e+l):i)+"px;border-style:"+r+";border-color:"+n+";border-bottom-width:"+d+"px;}"+c+"</style></div>";$jh(this).prepend(s)}else"line_only"==i&&("right"==o||"left"==o?$jh(this).find(".uvc-heading-spacer").find(".uvc-headings-line").css({float:o}):$jh(this).find(".uvc-heading-spacer").find(".uvc-headings-line").css({margin:"0 auto"}))})}($jh=i.noConflict())(document).ready(function(i){t(),$jh(window).on("resize",function(i){t()})}),i(window).on("load",function(i){t(),jQuery(".ult_exp_section").on("select",function(){0<jQuery(this).parent().find(".uvc-heading").length&&t()})})})(jQuery);
window.bsfmodernizr=function(e,u){function t(e){c.cssText=e}function f(e,t){return typeof e===t}function p(e,t){for(var n in e){n=e[n];if(!~(""+n).indexOf("-")&&c[n]!==u)return"pfx"!=t||n}return!1}function r(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+d.join(r+" ")+r).split(" ");if(f(t,"string")||void 0===t)return p(o,t);var i,a=(e+" "+h.join(r+" ")+r).split(" "),c=t,l=n;for(i in a){var s=c[a[i]];if(s!==u)return!1===l?a[i]:f(s,"function")?s.bind(l||c):s}return!1}var n,o,i={},a=e.documentElement,c=e.createElement("bsfmodernizr").style,l="Webkit Moz O ms",d=l.split(" "),h=l.toLowerCase().split(" "),s={},m=[],v=m.slice,y={}.hasOwnProperty,g=void 0!==y&&void 0!==y.call?function(e,t){return y.call(e,t)}:function(e,t){return t in e&&void 0===e.constructor.prototype[t]};for(o in Function.prototype.bind||(Function.prototype.bind=function(n){var r=this;if("function"!=typeof r)throw new TypeError;var o=v.call(arguments,1),i=function(){var e,t;return this instanceof i?((e=function(){}).prototype=r.prototype,e=new e,t=r.apply(e,o.concat(v.call(arguments))),Object(t)===t?t:e):r.apply(n,o.concat(v.call(arguments)))};return i}),s.csstransitions=function(){return r("transition")},s)g(s,o)&&(n=o.toLowerCase(),i[n]=s[o](),m.push((i[n]?"":"no-")+n));i.addTest=function(e,t){if("object"==typeof e)for(var n in e)g(e,n)&&i.addTest(n,e[n]);else{if(e=e.toLowerCase(),i[e]!==u)return i;t="function"==typeof t?t():t,a.className+=" "+(t?"":"no-")+e,i[e]=t}return i},t("");var l=this,b=e;function E(){var e=D.elements;return"string"==typeof e?e.split(" "):e}function j(e){var t=L[e[T]];return t||(t={},k++,e[T]=k,L[k]=t),t}function C(e,t,n){return t=t||b,w?t.createElement(e):!(t=(n=n||j(t)).cache[e]?n.cache[e].cloneNode():O.test(e)?(n.cache[e]=n.createElem(e)).cloneNode():n.createElem(e)).canHaveChildren||N.test(e)||t.tagUrn?t:n.frag.appendChild(t)}function S(e){var t,n,r,o,i,a=j(e=e||b);return!D.shivCSS||x||a.hasCSS||(a.hasCSS=(o="article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}",i=(r=e).createElement("p"),r=r.getElementsByTagName("head")[0]||r.documentElement,i.innerHTML="x<style>"+o+"</style>",!!r.insertBefore(i.lastChild,r.firstChild))),w||(t=e,(n=a).cache||(n.cache={},n.createElem=t.createElement,n.createFrag=t.createDocumentFragment,n.frag=n.createFrag()),t.createElement=function(e){return D.shivMethods?C(e,t,n):n.createElem(e)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+E().join().replace(/[\w\-]+/g,function(e){return n.createElem(e),n.frag.createElement(e),'c("'+e+'")'})+");return n}")(D,n.frag)),e}var x,w,F,e=l.html5||{},N=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,O=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,T="_html5shiv",k=0,L={};try{var M=b.createElement("a");M.innerHTML="<xyz></xyz>",x="hidden"in M,w=1==M.childNodes.length||(b.createElement("a"),void 0===(F=b.createDocumentFragment()).cloneNode)||void 0===F.createDocumentFragment||void 0===F.createElement}catch(e){w=x=!0}var D={elements:e.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==e.shivCSS,supportsUnknownElements:w,shivMethods:!1!==e.shivMethods,type:"default",shivDocument:S,createElement:C,createDocumentFragment:function(e,t){if(e=e||b,w)return e.createDocumentFragment();for(var n=(t=t||j(e)).frag.cloneNode(),r=0,o=E(),i=o.length;r<i;r++)n.createElement(o[r]);return n}};return l.html5=D,S(b),i._version="2.7.1",i._domPrefixes=h,i._cssomPrefixes=d,i.testProp=function(e){return p([e])},i.testAllProps=r,i.prefixed=function(e,t,n){return t?r(e,t,n):r(e,"pfx")},a.className=a.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(" js "+m.join(" ")),i}(this.document),((e,d)=>{function f(e){return"[object Function]"==o.call(e)}function h(e){return"string"==typeof e}function p(){}function m(e){return!e||"loaded"==e||"complete"==e||"uninitialized"==e}function v(){var e=b.shift();E=1,e?e.t?y(function(){("c"==e.t?F.injectCss:F.injectJs)(e.s,0,e.a,e.x,e.e,1)},0):(e(),v()):E=0}function t(e,t,n,r,o){return E=0,t=t||"j",h(e)?(a="c"==t?x:S,c=e,t=t,l=this.i++,n=n,r=r,o=(o=o)||F.errorTimeout,s=d.createElement(a),f=u=0,p={t:t,s:c,e:n,a:r,x:o},1===w[c]&&(f=1,w[c]=[]),"object"==a?s.data=c:(s.src=c,s.type=a),s.width=s.height="0",s.onerror=s.onload=s.onreadystatechange=function(){i.call(this,f)},b.splice(l,0,p),"img"!=a&&(f||2===w[c]?(C.insertBefore(s,j?null:g),y(i,o)):w[c].push(s))):(b.splice(this.i++,0,e),1==b.length&&v()),this;function i(e){if(!u&&m(s.readyState)&&(p.r=u=1,E||v(),s.onload=s.onreadystatechange=null,e))for(var t in"img"!=a&&y(function(){C.removeChild(s)},50),w[c])w[c].hasOwnProperty(t)&&w[c][t].onload()}var a,c,l,s,u,f,p}function c(){var e=F;return e.loader={load:t,i:0},e}var n,r=d.documentElement,y=e.setTimeout,g=d.getElementsByTagName("script")[0],o={}.toString,b=[],E=0,i="MozAppearance"in r.style,j=i&&!!d.createRange().compareNode,C=j?r:g.parentNode,r=e.opera&&"[object Opera]"==o.call(e.opera),r=!!d.attachEvent&&!r,S=i?"object":r?"script":"img",x=r?"script":S,a=Array.isArray||function(e){return"[object Array]"==o.call(e)},l=[],w={},s={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e}},F=function(e){function u(e,t,n,r,o){var i=(e=>{for(var t,n,e=e.split("!"),r=l.length,o=e.pop(),i=e.length,o={url:o,origUrl:o,prefixes:e},a=0;a<i;a++)n=e[a].split("="),(t=s[n.shift()])&&(o=t(o,n));for(a=0;a<r;a++)o=l[a](o);return o})(e),a=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(t=t&&(f(t)?t:t[e]||t[r]||t[e.split("/").pop().split("?")[0]]),i.instead?i.instead(e,t,n,r,o):(w[i.url]?i.noexec=!0:w[i.url]=1,n.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":void 0,i.noexec,i.attrs,i.timeout),(f(t)||f(a))&&n.load(function(){c(),t&&t(i.origUrl,o,r),a&&a(i.origUrl,o,r),w[i.url]=2})))}function t(e,t){function n(n,e){if(n){if(h(n))u(n,c=e?c:function(){var e=[].slice.call(arguments);l.apply(this,e),s()},t,0,i);else if(Object(n)===n)for(o in r=(()=>{var e,t=0;for(e in n)n.hasOwnProperty(e)&&t++;return t})(),n)n.hasOwnProperty(o)&&(e||--r||(f(c)?c=function(){var e=[].slice.call(arguments);l.apply(this,e),s()}:c[o]=(t=>function(){var e=[].slice.call(arguments);t&&t.apply(this,e),s()})(l[o])),u(n[o],c,t,o,i))}else e||s()}var r,o,i=!!e.test,a=e.load||e.both,c=e.callback||p,l=c,s=e.complete||p;n(i?e.yep:e.nope,!!a),a&&n(a)}var n,r,o=this.yepnope.loader;if(h(e))u(e,0,o,0);else if(a(e))for(n=0;n<e.length;n++)h(r=e[n])?u(r,0,o,0):a(r)?F(r):Object(r)===r&&t(r,o);else Object(e)===e&&t(e,o)};F.addPrefix=function(e,t){s[e]=t},F.addFilter=function(e){l.push(e)},F.errorTimeout=1e4,null==d.readyState&&d.addEventListener&&(d.readyState="loading",d.addEventListener("DOMContentLoaded",n=function(){d.removeEventListener("DOMContentLoaded",n,0),d.readyState="complete"},0)),e.yepnope=c(),e.yepnope.executeStack=v,e.yepnope.injectJs=function(e,t,n,r,o,i){var a,c,l=d.createElement("script"),r=r||F.errorTimeout;for(c in l.src=e,n)l.setAttribute(c,n[c]);t=i?v:t||p,l.onreadystatechange=l.onload=function(){!a&&m(l.readyState)&&(a=1,t(),l.onload=l.onreadystatechange=null)},y(function(){a||t(a=1)},r),o?l.onload():g.parentNode.insertBefore(l,g)},e.yepnope.injectCss=function(e,t,n,r,o,i){var a,t=i?v:t||p;for(a in(r=d.createElement("link")).href=e,r.rel="stylesheet",r.type="text/css",n)r.setAttribute(a,n[a]);o||(g.parentNode.insertBefore(r,g),y(t,0))}})(this,document),bsfmodernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
window.bsfmodernizr=function(t,c){function e(t){s.cssText=t}function h(t,e){return typeof t===e}function d(t,e){for(var n in t){n=t[n];if(!~(""+n).indexOf("-")&&s[n]!==c)return"pfx"!=e||n}return!1}function r(t,e,n){var r=t.charAt(0).toUpperCase()+t.slice(1),i=(t+" "+f.join(r+" ")+r).split(" ");if(h(e,"string")||void 0===e)return d(i,e);var o,a=(t+" "+p.join(r+" ")+r).split(" "),s=e,l=n;for(o in a){var u=s[a[o]];if(u!==c)return!1===l?a[o]:h(u,"function")?u.bind(l||s):u}return!1}var n,i,o={},a=t.documentElement,s=t.createElement("bsfmodernizr").style,l="Webkit Moz O ms",f=l.split(" "),p=l.toLowerCase().split(" "),u={},g=[],m=g.slice,y={}.hasOwnProperty,v=void 0!==y&&void 0!==y.call?function(t,e){return y.call(t,e)}:function(t,e){return e in t&&void 0===t.constructor.prototype[e]};for(i in Function.prototype.bind||(Function.prototype.bind=function(n){var r=this;if("function"!=typeof r)throw new TypeError;var i=m.call(arguments,1),o=function(){var t,e;return this instanceof o?((t=function(){}).prototype=r.prototype,t=new t,e=r.apply(t,i.concat(m.call(arguments))),Object(e)===e?e:t):r.apply(n,i.concat(m.call(arguments)))};return o}),u.csstransitions=function(){return r("transition")},u)v(u,i)&&(n=i.toLowerCase(),o[n]=u[i](),g.push((o[n]?"":"no-")+n));o.addTest=function(t,e){if("object"==typeof t)for(var n in t)v(t,n)&&o.addTest(n,t[n]);else{if(t=t.toLowerCase(),o[t]!==c)return o;e="function"==typeof e?e():e,a.className+=" "+(e?"":"no-")+t,o[t]=e}return o},e("");var l=this,x=t;function b(){var t=P.elements;return"string"==typeof t?t.split(" "):t}function w(t){var e=A[t[F]];return e||(e={},_++,t[F]=_,A[_]=e),e}function C(t,e,n){return e=e||x,E?e.createElement(t):!(e=(n=n||w(e)).cache[t]?n.cache[t].cloneNode():B.test(t)?(n.cache[t]=n.createElem(t)).cloneNode():n.createElem(t)).canHaveChildren||M.test(t)||e.tagUrn?e:n.frag.appendChild(e)}function S(t){var e,n,r,i,o,a=w(t=t||x);return!P.shivCSS||k||a.hasCSS||(a.hasCSS=(i="article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}",o=(r=t).createElement("p"),r=r.getElementsByTagName("head")[0]||r.documentElement,o.innerHTML="x<style>"+i+"</style>",!!r.insertBefore(o.lastChild,r.firstChild))),E||(e=t,(n=a).cache||(n.cache={},n.createElem=e.createElement,n.createFrag=e.createDocumentFragment,n.frag=n.createFrag()),e.createElement=function(t){return P.shivMethods?C(t,e,n):n.createElem(t)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+b().join().replace(/[\w\-]+/g,function(t){return n.createElem(t),n.frag.createElement(t),'c("'+t+'")'})+");return n}")(P,n.frag)),t}var k,E,T,t=l.html5||{},M=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,B=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,F="_html5shiv",_=0,A={};try{var N=x.createElement("a");N.innerHTML="<xyz></xyz>",k="hidden"in N,E=1==N.childNodes.length||(x.createElement("a"),void 0===(T=x.createDocumentFragment()).cloneNode)||void 0===T.createDocumentFragment||void 0===T.createElement}catch(t){E=k=!0}var P={elements:t.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==t.shivCSS,supportsUnknownElements:E,shivMethods:!1!==t.shivMethods,type:"default",shivDocument:S,createElement:C,createDocumentFragment:function(t,e){if(t=t||x,E)return t.createDocumentFragment();for(var n=(e=e||w(t)).frag.cloneNode(),r=0,i=b(),o=i.length;r<o;r++)n.createElement(i[r]);return n}};return l.html5=P,S(x),o._version="2.7.1",o._domPrefixes=p,o._cssomPrefixes=f,o.testProp=function(t){return d([t])},o.testAllProps=r,o.prefixed=function(t,e,n){return e?r(t,e,n):r(t,"pfx")},a.className=a.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(" js "+g.join(" ")),o}(this.document),((t,f)=>{function h(t){return"[object Function]"==i.call(t)}function p(t){return"string"==typeof t}function d(){}function g(t){return!t||"loaded"==t||"complete"==t||"uninitialized"==t}function m(){var t=x.shift();b=1,t?t.t?y(function(){("c"==t.t?T.injectCss:T.injectJs)(t.s,0,t.a,t.x,t.e,1)},0):(t(),m()):b=0}function e(t,e,n,r,i){return b=0,e=e||"j",p(t)?(a="c"==e?k:S,s=t,e=e,l=this.i++,n=n,r=r,i=(i=i)||T.errorTimeout,u=f.createElement(a),h=c=0,d={t:e,s:s,e:n,a:r,x:i},1===E[s]&&(h=1,E[s]=[]),"object"==a?u.data=s:(u.src=s,u.type=a),u.width=u.height="0",u.onerror=u.onload=u.onreadystatechange=function(){o.call(this,h)},x.splice(l,0,d),"img"!=a&&(h||2===E[s]?(C.insertBefore(u,w?null:v),y(o,i)):E[s].push(u))):(x.splice(this.i++,0,t),1==x.length&&m()),this;function o(t){if(!c&&g(u.readyState)&&(d.r=c=1,b||m(),u.onload=u.onreadystatechange=null,t))for(var e in"img"!=a&&y(function(){C.removeChild(u)},50),E[s])E[s].hasOwnProperty(e)&&E[s][e].onload()}var a,s,l,u,c,h,d}function s(){var t=T;return t.loader={load:e,i:0},t}var n,r=f.documentElement,y=t.setTimeout,v=f.getElementsByTagName("script")[0],i={}.toString,x=[],b=0,o="MozAppearance"in r.style,w=o&&!!f.createRange().compareNode,C=w?r:v.parentNode,r=t.opera&&"[object Opera]"==i.call(t.opera),r=!!f.attachEvent&&!r,S=o?"object":r?"script":"img",k=r?"script":S,a=Array.isArray||function(t){return"[object Array]"==i.call(t)},l=[],E={},u={timeout:function(t,e){return e.length&&(t.timeout=e[0]),t}},T=function(t){function c(t,e,n,r,i){var o=(t=>{for(var e,n,t=t.split("!"),r=l.length,i=t.pop(),o=t.length,i={url:i,origUrl:i,prefixes:t},a=0;a<o;a++)n=t[a].split("="),(e=u[n.shift()])&&(i=e(i,n));for(a=0;a<r;a++)i=l[a](i);return i})(t),a=o.autoCallback;o.url.split(".").pop().split("?").shift(),o.bypass||(e=e&&(h(e)?e:e[t]||e[r]||e[t.split("/").pop().split("?")[0]]),o.instead?o.instead(t,e,n,r,i):(E[o.url]?o.noexec=!0:E[o.url]=1,n.load(o.url,o.forceCSS||!o.forceJS&&"css"==o.url.split(".").pop().split("?").shift()?"c":void 0,o.noexec,o.attrs,o.timeout),(h(e)||h(a))&&n.load(function(){s(),e&&e(o.origUrl,i,r),a&&a(o.origUrl,i,r),E[o.url]=2})))}function e(t,e){function n(n,t){if(n){if(p(n))c(n,s=t?s:function(){var t=[].slice.call(arguments);l.apply(this,t),u()},e,0,o);else if(Object(n)===n)for(i in r=(()=>{var t,e=0;for(t in n)n.hasOwnProperty(t)&&e++;return e})(),n)n.hasOwnProperty(i)&&(t||--r||(h(s)?s=function(){var t=[].slice.call(arguments);l.apply(this,t),u()}:s[i]=(e=>function(){var t=[].slice.call(arguments);e&&e.apply(this,t),u()})(l[i])),c(n[i],s,e,i,o))}else t||u()}var r,i,o=!!t.test,a=t.load||t.both,s=t.callback||d,l=s,u=t.complete||d;n(o?t.yep:t.nope,!!a),a&&n(a)}var n,r,i=this.yepnope.loader;if(p(t))c(t,0,i,0);else if(a(t))for(n=0;n<t.length;n++)p(r=t[n])?c(r,0,i,0):a(r)?T(r):Object(r)===r&&e(r,i);else Object(t)===t&&e(t,i)};T.addPrefix=function(t,e){u[t]=e},T.addFilter=function(t){l.push(t)},T.errorTimeout=1e4,null==f.readyState&&f.addEventListener&&(f.readyState="loading",f.addEventListener("DOMContentLoaded",n=function(){f.removeEventListener("DOMContentLoaded",n,0),f.readyState="complete"},0)),t.yepnope=s(),t.yepnope.executeStack=m,t.yepnope.injectJs=function(t,e,n,r,i,o){var a,s,l=f.createElement("script"),r=r||T.errorTimeout;for(s in l.src=t,n)l.setAttribute(s,n[s]);e=o?m:e||d,l.onreadystatechange=l.onload=function(){!a&&g(l.readyState)&&(a=1,e(),l.onload=l.onreadystatechange=null)},y(function(){a||e(a=1)},r),i?l.onload():v.parentNode.insertBefore(l,v)},t.yepnope.injectCss=function(t,e,n,r,i,o){var a,e=o?m:e||d;for(a in(r=f.createElement("link")).href=t,r.rel="stylesheet",r.type="text/css",n)r.setAttribute(a,n[a]);i||(v.parentNode.insertBefore(r,v),y(e,0))}})(this,document),bsfmodernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},(t=>{function n(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}var r,i;function e(t,e){(r(t,e)?o:i)(t,e)}var o="classList"in document.documentElement?(r=function(t,e){return t.classList.contains(e)},i=function(t,e){t.classList.add(e)},function(t,e){t.classList.remove(e)}):(r=function(t,e){return n(e).test(t.className)},i=function(t,e){r(t,e)||(t.className=t.className+" "+e)},function(t,e){t.className=t.className.replace(n(e)," ")}),a={hasClass:r,addClass:i,removeClass:o,toggleClass:e,has:r,add:i,remove:o,toggle:e};"function"==typeof define&&define.amd?define(a):t.classie=a})(window);var Froogaloop=(()=>{function e(t){return new e.fn.init(t)}function o(t,e,n){var r;n.contentWindow.postMessage&&(r=n.getAttribute("src").split("?")[0],t=JSON.stringify({method:t,value:e}),"//"===r.substr(0,2)&&(r=window.location.protocol+r),n.contentWindow.postMessage(t,r))}function t(t){var e,n,r,i;try{i=(r=JSON.parse(t.data)).event||r.method}catch(t){}return"ready"==i&&(l=l||!0),t.origin==u&&(t=r.value,e=r.data,r=((n=r.player_id)?s[n]:s)[i],i=[],!!r)&&(void 0!==t&&i.push(t),e&&i.push(e),n&&i.push(n),0<i.length?r.apply(null,i):r.call())}function a(t,e,n){n?(s[n]||(s[n]={}),s[n][t]=e):s[t]=e}var s={},l=!1,u="";return(e.fn=e.prototype={element:null,init:function(t){"string"==typeof t&&(t=document.getElementById(t)),this.element=t;for(var e="",n=0,r=(t=(t="//"===(t=this.element.getAttribute("src")).substr(0,2)?window.location.protocol+t:t).split("/")).length;n<r&&n<3;n++)e+=t[n],n<2&&(e+="/");return u=e,this},api:function(t,e){var n,r,i;return!(!this.element||!t)&&(r=""!==(n=this.element).id?n.id:null,i=e&&e.constructor&&e.call&&e.apply?null:e,(e=e&&e.constructor&&e.call&&e.apply?e:null)&&a(t,e,r),o(t,i,n),this)},addEvent:function(t,e){var n,r;return!!this.element&&(a(t,e,r=""!==(n=this.element).id?n.id:null),"ready"!=t?o("addEventListener",t,n):"ready"==t&&l&&e.call(null,r),this)},removeEvent:function(t){if(!this.element)return!1;var e,n=this.element;t:{if((e=""!==n.id?n.id:null)&&s[e]){if(!s[e][t]){e=!1;break t}s[e][t]=null}else{if(!s[t]){e=!1;break t}s[t]=null}e=!0}"ready"!=t&&e&&o("removeEventListener",t,n)}}).init.prototype=e.fn,window.addEventListener?window.addEventListener("message",t,!1):window.attachEvent("onmessage",t),window.Froogaloop=window.$f=e})();(t=>{function a(){}function f(t,e){return t-e}function p(t,e){t=String(t);var n,r=m,i=Array.prototype.slice.call(arguments,2),o=p.listeners(t),a=0,s=[],l={},u=[],c=g;g=t;for(var h=m=0,d=o.length;h<d;h++)"zIndex"in o[h]&&(s.push(o[h].zIndex),o[h].zIndex<0)&&(l[o[h].zIndex]=o[h]);for(s.sort(f);s[a]<0;)if(n=l[s[a++]],u.push(n.apply(e,i)),m)return m=r,u;for(h=0;h<d;h++)if("zIndex"in(n=o[h]))if(n.zIndex==s[a]){if(u.push(n.apply(e,i)),m)break;do{if((n=l[s[++a]])&&u.push(n.apply(e,i)),m)break}while(n)}else l[n.zIndex]=n;else if(u.push(n.apply(e,i)),m)break;return m=r,g=c,u.length?u:null}var g,m,d="hasOwnProperty",y=/[\.\/]/,v={n:{}};p._events=v,p.listeners=function(t){for(var e,n,r,i,o,a,s,l=t.split(y),u=[v],c=[],h=0,d=l.length;h<d;h++){for(a=[],i=0,o=u.length;i<o;i++)for(n=[(s=u[i].n)[l[h]],s["*"]],r=2;r--;)(e=n[r])&&(a.push(e),c=c.concat(e.f||[]));u=a}return c},p.on=function(t,e){if(t=String(t),"function"!=typeof e)return function(){};for(var n=t.split(y),r=v,i=0,o=n.length;i<o;i++)r=(r=r.n).hasOwnProperty(n[i])&&r[n[i]]||(r[n[i]]={n:{}});for(r.f=r.f||[],i=0,o=r.f.length;i<o;i++)if(r.f[i]==e)return a;return r.f.push(e),function(t){+t==+t&&(e.zIndex=+t)}},p.f=function(t){var e=[].slice.call(arguments,1);return function(){p.apply(null,[t,null].concat(e).concat([].slice.call(arguments,0)))}},p.stop=function(){m=1},p.nt=function(t){return t?new RegExp("(?:\\.|\\/|^)"+t+"(?:\\.|\\/|$)").test(g):g},p.nts=function(){return g.split(y)},p.off=p.unbind=function(t,e){if(t){for(var n,r,i,o=t.split(y),a=[v],s=0,l=o.length;s<l;s++)for(c=0;c<a.length;c+=i.length-2){if(i=[c,1],n=a[c].n,"*"!=o[s])n[o[s]]&&i.push(n[o[s]]);else for(r in n)n[d](r)&&i.push(n[r]);a.splice.apply(a,i)}for(s=0,l=a.length;s<l;s++)for(n=a[s];n.n;){if(e){if(n.f){for(c=0,h=n.f.length;c<h;c++)if(n.f[c]==e){n.f.splice(c,1);break}n.f.length||delete n.f}for(r in n.n)if(n.n[d](r)&&n.n[r].f){for(var u=n.n[r].f,c=0,h=u.length;c<h;c++)if(u[c]==e){u.splice(c,1);break}u.length||delete n.n[r].f}}else for(r in delete n.f,n.n)n.n[d](r)&&n.n[r].f&&delete n.n[r].f;n=n.n}}else p._events=v={n:{}}},p.once=function(t,e){function n(){return p.unbind(t,n),e.apply(this,arguments)}return p.on(t,n)},p.version="0.4.2",p.toString=function(){return"You are running Eve 0.4.2"},"undefined"!=typeof module&&module.exports?module.exports=p:"undefined"!=typeof define?define("eve",[],function(){return p}):t.eve=p})(this),((e,n)=>{"function"==typeof define&&define.amd?define(["eve"],function(t){return n(e,t)}):n(e,e.eve)})(this,function(Et,Tt){s=void 0===Tt?function(){}:Tt,u={},c=Et.requestAnimationFrame||Et.webkitRequestAnimationFrame||Et.mozRequestAnimationFrame||Et.oRequestAnimationFrame||Et.msRequestAnimationFrame||function(t){setTimeout(t,16)},l=Array.isArray||function(t){return t instanceof Array||"[object Array]"==Object.prototype.toString.call(t)},h=0,d="M"+(+new Date).toString(36),t=Date.now||function(){return+new Date},f=function(){var t,e=0;for(t in u)if(u.hasOwnProperty(t)){var n=u[t],r=n.get();if(e++,n.s=(r-n.b)/(n.dur/n.spd),1<=n.s&&(delete u[t],n.s=1,e--,(t=>{setTimeout(function(){s("mina.finish."+t.id,t)})})(n)),l(n.start))for(var i=[],o=0,a=n.start.length;o<a;o++)i[o]=+n.start[o]+(n.end[o]-n.start[o])*n.easing(n.s);else i=+n.start+(n.end-n.start)*n.easing(n.s);n.set(i)}e&&c(f)},w.time=t,w.getById=function(t){return u[t]||null},w.linear=function(t){return t},w.easeout=function(t){return Math.pow(t,1.7)},w.easein=function(t){return Math.pow(t,.48)},w.easeinout=function(t){var e,n;return 1==t?1:0==t?0:(t=.48-t/1.04,e=(n=Math.sqrt(.1734+t*t))-t,n=-n-t,3*(1-(t=Math.pow(Math.abs(e),1/3)*(e<0?-1:1)+Math.pow(Math.abs(n),1/3)*(n<0?-1:1)+.5))*t*t+t*t*t)},w.backin=function(t){return 1==t?1:t*t*(2.70158*t-1.70158)},w.backout=function(t){return 0==t?0:--t*t*(2.70158*t+1.70158)+1},w.elastic=function(t){return t==!!t?t:Math.pow(2,-10*t)*Math.sin(2*(t-.075)*Math.PI/.3)+1},w.bounce=function(t){var e=7.5625,n=2.75,e=t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375;return e};var s,u,c,l,h,d,f,Mt=Et.mina=w,t=(()=>{function s(t,e){if(t){if(t.tagName)return p(t);if(t instanceof l)return t;if(null==e)return p(t=v.doc.querySelector(t))}return new d(t=null==t?"100%":t,e=null==e?"100%":e)}function f(t,e){if(e){if("string"==typeof t&&(t=f(t)),"string"==typeof e)return"xlink:"==e.substring(0,6)?t.getAttributeNS(st,e.substring(6)):"xml:"==e.substring(0,4)?t.getAttributeNS(_,e.substring(4)):t.getAttribute(e);for(var n in e){var r;e[x](n)&&((r=b(e[n]))?"xlink:"==n.substring(0,6)?t.setAttributeNS(st,n.substring(6),r):"xml:"==n.substring(0,4)?t.setAttributeNS(_,n.substring(4),r):t.setAttribute(n,r):t.removeAttribute(n))}}else t=v.doc.createElementNS(_,t);return t}function m(t,e){return"finite"==(e=b.prototype.toLowerCase.call(e))?isFinite(t):!("array"!=e||!(t instanceof Array||Array.isArray&&Array.isArray(t)))||"null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||Z.call(t).slice(8,-1).toLowerCase()==e}function r(i,o,a){function s(){var t=Array.prototype.slice.call(arguments,0),e=t.join("␀"),n=s.cache=s.cache||{},r=s.count=s.count||[];return n[x](e)?((t,e)=>{for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return t.push(t.splice(n,1)[0])})(r,e):(1e3<=r.length&&delete n[r.shift()],r.push(e),n[e]=i.apply(o,t)),a?a(n[e]):n[e]}return s}function i(t){return t%360*M/180}function o(t){return 180*t/M%360}function y(t,e,n,r,i,o){return null==e&&"[object SVGMatrix]"==Z.call(t)?(this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.e=t.e,void(this.f=t.f)):void(null!=t?(this.a=+t,this.b=+e,this.c=+n,this.d=+r,this.e=+i,this.f=+o):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0))}function a(t){var r=[];return t=t.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(t,e,n){return n=n.split(/\s*,\s*|\s+/),"rotate"==e&&1==n.length&&n.push(0,0),"scale"==e&&(2==n.length&&n.push(0,0),1==n.length)&&n.push(n[0],0,0),r.push("skewX"==e?["m",1,0,S.tan(i(n[0])),1,0,0]:"skewY"==e?["m",1,S.tan(i(n[0])),0,1,0,0]:[e.charAt(0)].concat(n)),t}),r}function O(t,e){var n=yt(t),r=new y;if(n)for(var i=0,o=n.length;i<o;i++){var a,s,l,u,c,h=n[i],d=h.length,f=b(h[0]).toLowerCase(),p=h[0]!=f,g=p?r.invert():0;"t"==f&&2==d?r.translate(h[1],0):"t"==f&&3==d?p?(a=g.x(0,0),s=g.y(0,0),l=g.x(h[1],h[2]),u=g.y(h[1],h[2]),r.translate(l-a,u-s)):r.translate(h[1],h[2]):"r"==f?2==d?r.rotate(h[1],(c=c||e).x+c.width/2,c.y+c.height/2):4==d&&(p?(l=g.x(h[2],h[3]),u=g.y(h[2],h[3]),r.rotate(h[1],l,u)):r.rotate(h[1],h[2],h[3])):"s"==f?2==d||3==d?r.scale(h[1],h[d-1],(c=c||e).x+c.width/2,c.y+c.height/2):4==d?p?(l=g.x(h[2],h[3]),u=g.y(h[2],h[3]),r.scale(h[1],h[1],l,u)):r.scale(h[1],h[1],h[2],h[3]):5==d&&(p?(l=g.x(h[3],h[4]),u=g.y(h[3],h[4]),r.scale(h[1],h[2],l,u)):r.scale(h[1],h[2],h[3],h[4])):"m"==f&&7==d&&r.add(h[1],h[2],h[3],h[4],h[5],h[6])}return r}function z(t,e){if(null==e){var n=!0;if(!(e="linearGradient"==t.type||"radialGradient"==t.type?t.node.getAttribute("gradientTransform"):"pattern"==t.type?t.node.getAttribute("patternTransform"):t.node.getAttribute("transform")))return new y;e=a(e)}else m(e=s._.rgTransform.test(e)?b(e).replace(/\.{3}|\u2026/g,t._.transform||""):a(e),"array")&&(e=s.path?s.path.toString.call(e):b(e)),t._.transform=e;e=O(e,t.getBBox(1));return n?e:void(t.matrix=e)}function u(t){var e=s._.someDefs;return e&&vt(e.ownerDocument.documentElement,e)?e:(t=(t=null!=(t=(e=t.node.ownerSVGElement&&p(t.node.ownerSVGElement)||t.node.parentNode&&p(t.node.parentNode)||s.select("svg")||s(0,0)).select("defs"))&&t.node)||h("defs",e.node).node,s._.someDefs=t)}function D(n,r,i){function t(t){return null==t?"":t==+t?t:(f(l,{width:t}),l.getBBox().width)}function e(t){return null==t?"":t==+t?t:(f(l,{height:t}),l.getBBox().height)}function o(t,e){null==r?s[t]=e(n.attr(t)):t==r&&(s=e(null==i?n.attr(t):i))}var a=u(n),s={},l=a.querySelector(".svg---mgr");switch(l||(l=f("rect"),f(l,{width:10,height:10,class:"svg---mgr"}),a.appendChild(l)),n.type){case"rect":o("rx",t),o("ry",e);case"image":o("width",t),o("height",e);case"text":o("x",t),o("y",e);break;case"circle":o("cx",t),o("cy",e),o("r",t);break;case"ellipse":o("cx",t),o("cy",e),o("rx",t),o("ry",e);break;case"line":o("x1",t),o("x2",t),o("y1",e),o("y2",e);break;case"marker":o("refX",t),o("markerWidth",t),o("refY",e),o("markerHeight",e);break;case"radialGradient":o("fx",t),o("fy",e);break;case"tspan":o("dx",t),o("dy",e);break;default:o(r,t)}return s}function R(t){m(t,"array")||(t=Array.prototype.slice.call(arguments,0));for(var e=0,n=0,r=this.node;this[e];)delete this[e++];for(e=0;e<t.length;e++)"set"==t[e].type?t[e].forEach(function(t){r.appendChild(t.node)}):r.appendChild(t[e].node);for(var i=r.childNodes,e=0;e<i.length;e++)this[n++]=p(i[e]);return this}function l(t){if(t.snap in A)return A[t.snap];var e,n=this.id=F();try{e=t.ownerSVGElement}catch(t){}if(this.node=t,e&&(this.paper=new d(e)),this.type=t.tagName,this.anims={},this._={transform:[]},"g"==(A[t.snap=n]=this).type)for(var r in this.add=R,d.prototype)d.prototype[x](r)&&(this[r]=d.prototype[r])}function U(t){for(var e,n=0,r=t.length;n<r;n++)if(e=e||t[n])return e}function c(t){this.node=t}function h(t,e){var n=f(t),e=(e.appendChild(n),p(n));return e.type=t,e}function d(t,e){var n,r,i,o=d.prototype;if(t&&"svg"==t.tagName){if(t.snap in A)return A[t.snap];for(var a in n=new l(t),r=t.getElementsByTagName("desc")[0],i=t.getElementsByTagName("defs")[0],r||((r=f("desc")).appendChild(v.doc.createTextNode("Created with Snap")),n.node.appendChild(r)),i||(i=f("defs"),n.node.appendChild(i)),n.defs=i,o)o[x](a)&&(n[a]=o[a]);n.paper=n.root=n}else f((n=h("svg",v.doc.body)).node,{height:e,version:1.1,width:t,xmlns:_});return n}function p(t){return t&&(t instanceof l||t instanceof c?t:new("svg"==t.tagName?d:l)(t))}function G(){return this.selectAll("stop")}function V(t,e){var n=f("stop"),e={offset:+e+"%"};return t=s.color(t),e["stop-color"]=t.hex,t.opacity<1&&(e["stop-opacity"]=t.opacity),f(n,e),this.node.appendChild(n),this}function $(){var t,e,n,r;return"linearGradient"==this.type?(n=f(this.node,"x1")||0,e=f(this.node,"x2")||1,t=f(this.node,"y1")||0,r=f(this.node,"y2")||0,s._.box(n,t,S.abs(e-n),S.abs(r-t))):(e=this.node.cx||.5,n=this.node.cy||.5,r=this.node.r||0,s._.box(e-r,n-r,2*r,2*r))}function I(t,e){function n(t,e){for(var n=(e-a)/(t-s),r=s;r<t;r++)i[r].offset=+(+a+n*(r-s)).toFixed(2);s=t,a=e}var r,e=U(Tt("snap.util.grad.parse",null,e));if(!e)return null;e.params.unshift(t),r=("l"==e.type.toLowerCase()?H:X).apply(0,e.params),e.type!=e.type.toLowerCase()&&f(r.node,{gradientUnits:"userSpaceOnUse"});var i=e.stops,o=i.length,a=0,s=0;o--;for(var l=0;l<o;l++)"offset"in i[l]&&n(l,i[l].offset);for(i[o].offset=i[o].offset||100,n(o,i[o].offset),l=0;l<=o;l++){var u=i[l];r.addStop(u.color,u.offset)}return r}function H(t,e,n,r,i){t=h("linearGradient",t);return t.stops=G,t.addStop=V,t.getBBox=$,null!=e&&f(t.node,{x1:e,y1:n,x2:r,y2:i}),t}function X(t,e,n,r,i,o){t=h("radialGradient",t);return t.stops=G,t.addStop=V,t.getBBox=$,null!=e&&f(t.node,{cx:e,cy:n,r:r}),null!=i&&null!=o&&f(t.node,{fx:i,fy:o}),t}function Y(r){return function(t){Tt.stop(),t instanceof c&&1==t.node.childNodes.length&&("radialGradient"==t.node.firstChild.tagName||"linearGradient"==t.node.firstChild.tagName||"pattern"==t.node.firstChild.tagName)&&(t=t.node.firstChild,u(this).appendChild(t),t=p(t)),e=t instanceof l?"radialGradient"==t.type||"linearGradient"==t.type||"pattern"==t.type?(t.node.id||f(t.node,{id:t.id}),N(t.node.id)):t.attr(r):(e=s.color(t)).error?(n=I(u(this),t))?(n.node.id||f(n.node,{id:n.id}),N(n.node.id)):t:b(e);var e,n={};n[r]=e,f(this.node,n),this.node.style[r]=""}}s.version="0.2.0",s.toString=function(){return"Snap v"+this.version};var W,J,v={win:Et,doc:Et.document},x=((s._={}).glob=v,"hasOwnProperty"),b=String,w=parseFloat,C=parseInt,S=Math,k=S.max,E=S.min,T=S.abs,M=S.PI,Z=Object.prototype.toString,Q=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\))\s*$/i,K=/^url\(#?([^)]+)\)$/,t="\t\n\v\f\r   ᠎             　\u2028\u2029",tt=new RegExp("[,"+t+"]+"),B=(new RegExp("["+t+"]","g"),new RegExp("["+t+"]*,["+t+"]*")),et={hs:1,rg:1},nt=new RegExp("([a-z])["+t+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+t+"]*,?["+t+"]*)+)","ig"),rt=new RegExp("([rstm])["+t+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+t+"]*,?["+t+"]*)+)","ig"),it=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+t+"]*,?["+t+"]*","ig"),ot=0,at="S"+(+new Date).toString(36),F=function(){return at+(ot++).toString(36)},st="http://www.w3.org/1999/xlink",_="http://www.w3.org/2000/svg",A={},N=s.url=function(t){return"url('#"+t+"')"},lt=(s._.$=f,s._.id=F,s.format=(W=/\{([^\}]+)\}/g,J=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,function(t,r){return b(t).replace(W,function(t,e){return t=t,o=n=r,e.replace(J,function(t,e,n,r,i){e=e||r,o&&"function"==typeof(o=e in o?o[e]:o)&&i&&(o=o())}),o=(null==o||o==n?t:o)+"";var n,o})}),function(t,e){var n=v.doc.createElement("img"),r=v.doc.body;n.style.cssText="position:absolute;left:-9999em;top:-9999em",n.onload=function(){e.call(n),n.onload=n.onerror=null,r.removeChild(n)},n.onerror=ut,r.appendChild(n),n.src=t});function ut(){this.parentNode.removeChild(this)}function ct(t){return t[0]*t[0]+t[1]*t[1]}function ht(t){var e=S.sqrt(ct(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}function dt(){return"hsb("+[this.h,this.s,this.b]+")"}function ft(){return"hsl("+[this.h,this.s,this.l]+")"}function pt(t,e,n){var r;return null==e&&m(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(n=t.b,e=t.g,t=t.r),null==e&&m(t,string)&&(t=(r=s.getRGB(t)).r,e=r.g,n=r.b),(1<t||1<e||1<n)&&(t/=255,e/=255,n/=255),[t,e,n]}function gt(t,e,n,r){return t={r:t=S.round(255*t),g:e=S.round(255*e),b:n=S.round(255*n),opacity:m(r,"finite")?r:1,hex:s.rgb(t,e,n),toString:j},m(r,"finite")&&(t.opacity=r),t}s._.clone=function t(e){if("function"==typeof e||Object(e)!==e)return e;var n,r=new e.constructor;for(n in e)e[x](n)&&(r[n]=t(e[n]));return r},s._.cacher=r,s.rad=i,s.deg=o,s.angle=function t(e,n,r,i,o,a){var s,l;return null==o?(l=n-i,(s=e-r)||l?(180+180*S.atan2(-l,-s)/M+360)%360:0):t(e,n,o,a)-t(r,i,o,a)},s.is=m,s.snapTo=function(t,e,n){if(n=m(n,"finite")?n:10,m(t,"array")){for(var r=t.length;r--;)if(T(t[r]-e)<=n)return t[r]}else{var i=e%(t=+t);if(i<n)return e-i;if(t-n<i)return e-i+t}return e},(e=y.prototype).add=function(t,e,n,r,i,o){var a,s,l,u,c=[[],[],[]],h=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],d=[[t,n,i],[e,r,o],[0,0,1]];for(t&&t instanceof y&&(d=[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),a=0;a<3;a++)for(s=0;s<3;s++){for(l=u=0;l<3;l++)u+=h[a][l]*d[l][s];c[a][s]=u}return this.a=c[0][0],this.b=c[1][0],this.c=c[0][1],this.d=c[1][1],this.e=c[0][2],this.f=c[1][2],this},e.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new y(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},e.clone=function(){return new y(this.a,this.b,this.c,this.d,this.e,this.f)},e.translate=function(t,e){return this.add(1,0,0,1,t,e)},e.scale=function(t,e,n,r){return null==e&&(e=t),(n||r)&&this.add(1,0,0,1,n,r),this.add(t,0,0,e,0,0),(n||r)&&this.add(1,0,0,1,-n,-r),this},e.rotate=function(t,e,n){t=i(t),e=e||0,n=n||0;var r=+S.cos(t).toFixed(9),t=+S.sin(t).toFixed(9);return this.add(r,t,-t,r,e,n),this.add(1,0,0,1,-e,-n)},e.x=function(t,e){return t*this.a+e*this.c+this.e},e.y=function(t,e){return t*this.b+e*this.d+this.f},e.get=function(t){return+this[b.fromCharCode(97+t)].toFixed(4)},e.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},e.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},e.split=function(){var t={},e=(t.dx=this.e,t.dy=this.f,[[this.a,this.c],[this.b,this.d]]),n=(t.scalex=S.sqrt(ct(e[0])),ht(e[0]),t.shear=e[0][0]*e[1][0]+e[0][1]*e[1][1],e[1]=[e[1][0]-e[0][0]*t.shear,e[1][1]-e[0][1]*t.shear],t.scaley=S.sqrt(ct(e[1])),ht(e[1]),t.shear/=t.scaley,-e[0][1]),e=e[1][1];return e<0?(t.rotate=o(S.acos(e)),n<0&&(t.rotate=360-t.rotate)):t.rotate=o(S.asin(n)),t.isSimple=!(+t.shear.toFixed(9)||t.scalex.toFixed(9)!=t.scaley.toFixed(9)&&t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t},e.toTransformString=function(t){t=t||this.split();return t.isSimple?(t.scalex=+t.scalex.toFixed(4),t.scaley=+t.scaley.toFixed(4),t.rotate=+t.rotate.toFixed(4),(t.dx||t.dy?"t"+[+t.dx.toFixed(4),+t.dy.toFixed(4)]:"")+(1!=t.scalex||1!=t.scaley?"s"+[t.scalex,t.scaley,0,0]:"")+(t.rotate?"r"+[+t.rotate.toFixed(4),0,0]:"")):"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]},s.Matrix=y,s.getRGB=r(function(t){var e,n,r,i,o,a;return!t||(t=b(t)).indexOf("-")+1?{r:-1,g:-1,b:-1,hex:"none",error:1,toString:j}:"none"==t?{r:-1,g:-1,b:-1,hex:"none",toString:j}:(t=et[x](t.toLowerCase().substring(0,2))||"#"==t.charAt()?t:mt(t))&&(t=t.match(Q))?(t[2]&&(r=C(t[2].substring(5),16),n=C(t[2].substring(3,5),16),e=C(t[2].substring(1,3),16)),t[3]&&(r=C((o=t[3].charAt(3))+o,16),n=C((o=t[3].charAt(2))+o,16),e=C((o=t[3].charAt(1))+o,16)),t[4]&&(a=t[4].split(B),e=w(a[0]),"%"==a[0].slice(-1)&&(e*=2.55),n=w(a[1]),"%"==a[1].slice(-1)&&(n*=2.55),r=w(a[2]),"%"==a[2].slice(-1)&&(r*=2.55),"rgba"==t[1].toLowerCase().slice(0,4)&&(i=w(a[3])),a[3])&&"%"==a[3].slice(-1)&&(i/=100),t[5]?(a=t[5].split(B),e=w(a[0]),"%"==a[0].slice(-1)&&(e/=100),n=w(a[1]),"%"==a[1].slice(-1)&&(n/=100),r=w(a[2]),"%"==a[2].slice(-1)&&(r/=100),"deg"!=a[0].slice(-3)&&"°"!=a[0].slice(-1)||(e/=360),"hsba"==t[1].toLowerCase().slice(0,4)&&(i=w(a[3])),a[3]&&"%"==a[3].slice(-1)&&(i/=100),s.hsb2rgb(e,n,r,i)):t[6]?(a=t[6].split(B),e=w(a[0]),"%"==a[0].slice(-1)&&(e/=100),n=w(a[1]),"%"==a[1].slice(-1)&&(n/=100),r=w(a[2]),"%"==a[2].slice(-1)&&(r/=100),"deg"!=a[0].slice(-3)&&"°"!=a[0].slice(-1)||(e/=360),"hsla"==t[1].toLowerCase().slice(0,4)&&(i=w(a[3])),a[3]&&"%"==a[3].slice(-1)&&(i/=100),s.hsl2rgb(e,n,r,i)):(e=E(S.round(e),255),n=E(S.round(n),255),r=E(S.round(r),255),i=E(k(i,0),1),(t={r:e,g:n,b:r,toString:j}).hex="#"+(16777216|r|n<<8|e<<16).toString(16).slice(1),t.opacity=m(i,"finite")?i:1,t)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:j}},s),s.hsb=r(function(t,e,n){return s.hsb2rgb(t,e,n).hex}),s.hsl=r(function(t,e,n){return s.hsl2rgb(t,e,n).hex}),s.rgb=r(function(t,e,n,r){var i;return m(r,"finite")?"rgba("+[(i=S.round)(t),i(e),i(n),+r.toFixed(2)]+")":"#"+(16777216|n|e<<8|t<<16).toString(16).slice(1)});var P,mt=function(t){var e=v.doc.getElementsByTagName("head")[0],n="rgb(255, 0, 0)";return(mt=r(function(t){if("red"==t.toLowerCase())return n;e.style.color=n,e.style.color=t;t=v.doc.defaultView.getComputedStyle(e,"").getPropertyValue("color");return t==n?null:t}))(t)},j=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},yt=(s.color=function(t){var e;return m(t,"object")&&"h"in t&&"s"in t&&"b"in t?(e=s.hsb2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.opacity=1,t.hex=e.hex):m(t,"object")&&"h"in t&&"s"in t&&"l"in t?(e=s.hsl2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.opacity=1,t.hex=e.hex):(m(t,"string")&&(t=s.getRGB(t)),m(t,"object")&&"r"in t&&"g"in t&&"b"in t&&!("error"in t)?(e=s.rgb2hsl(t),t.h=e.h,t.s=e.s,t.l=e.l,e=s.rgb2hsb(t),t.v=e.b):((t={hex:"none"}).r=t.g=t.b=t.h=t.s=t.v=t.l=-1,t.error=1)),t.toString=j,t},s.hsb2rgb=function(t,e,n,r){var i,o,a;return m(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(n=t.b,e=t.s,r=(t=t.h).o),a=(e=n*e)*(1-T((t=(t*=360)%360/60)%2-1)),i=o=n=n-e,gt(i+=[e,a,0,0,a,e][t=~~t],o+=[a,e,e,a,0,0][t],n+=[0,0,a,e,e,a][t],r)},s.hsl2rgb=function(t,e,n,r){var i,o,a;return m(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(n=t.l,e=t.s,t=t.h),(1<t||1<e||1<n)&&(t/=360,e/=100,n/=100),a=(e=2*e*(n<.5?n:1-n))*(1-T((t=(t*=360)%360/60)%2-1)),i=o=n=n-e/2,gt(i+=[e,a,0,0,a,e][t=~~t],o+=[a,e,e,a,0,0][t],n+=[0,0,a,e,e,a][t],r)},s.rgb2hsb=function(t,e,n){var r,i;return t=(n=pt(t,e,n))[0],{h:((0==(i=(r=k(t,e=n[1],n=n[2]))-E(t,e,n))?null:r==t?(e-n)/i:r==e?(n-t)/i+2:(t-e)/i+4)+360)%6*60/360,s:0==i?0:i/r,b:r,toString:dt}},s.rgb2hsl=function(t,e,n){var r,i,o;return t=(n=pt(t,e,n))[0],r=((i=k(t,e=n[1],n=n[2]))+(o=E(t,e,n)))/2,{h:((0==(o=i-o)?null:i==t?(e-n)/o:i==e?(n-t)/o+2:(t-e)/o+4)+360)%6*60/360,s:0==o?0:r<.5?o/(2*r):o/(2-2*r),l:r,toString:ft}},s.parsePathString=function(t){var e,o,a;return t?(e=s.path(t)).arr?s.path.clone(e.arr):(o={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},a=[],(a=m(t,"array")&&m(t[0],"array")?s.path.clone(t):a).length||b(t).replace(nt,function(t,e,n){var r=[],i=e.toLowerCase();if(n.replace(it,function(t,e){e&&r.push(+e)}),"m"==i&&2<r.length&&(a.push([e].concat(r.splice(0,2))),i="l",e="m"==e?"l":"L"),"o"==i&&1==r.length&&a.push([e,r[0]]),"r"==i)a.push([e].concat(r));else for(;o[i]<=r.length&&(a.push([e].concat(r.splice(0,o[i]))),o[i]););}),a.toString=s.path.toString,e.arr=s.path.clone(a),a):null},s.parseTransformString=function(t){var i;return t?(i=[],(i=m(t,"array")&&m(t[0],"array")?s.path.clone(t):i).length||b(t).replace(rt,function(t,e,n){var r=[];e.toLowerCase(),n.replace(it,function(t,e){e&&r.push(+e)}),i.push([e].concat(r))}),i.toString=s.path.toString,i):null}),vt=(s._.svgTransform2string=a,s._.rgTransform=new RegExp("^[a-z]["+t+"]*-?\\.?\\d","i"),s._.transform2matrix=O,s._unit2px=D,v.doc.contains||v.doc.compareDocumentPosition?function(t,e){var n=9==t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t==e||!(!e||1!=e.nodeType||!(n.contains?n.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e;)if((e=e.parentNode)==t)return!0;return!1}),e=(s._.getSomeDefs=u,s.select=function(t){return p(v.doc.querySelector(t))},s.selectAll=function(t){for(var e=v.doc.querySelectorAll(t),n=(s.set||Array)(),r=0;r<e.length;r++)n.push(p(e[r]));return n},l.prototype);function xt(t){function e(n,r){var t=f(n.node,r);(t=(t=t&&t.match(i))&&t[2])&&"#"==t.charAt()&&(t=t.substring(1))&&(a[t]=(a[t]||[]).concat(function(t){var e={};e[r]=N(t),f(n.node,e)}))}for(var n,r=t.selectAll("*"),i=/^\s*url\(("|'|)(.*)\1\)\s*$/,o=[],a={},s=0,l=r.length;s<l;s++){e(n=r[s],"fill"),e(n,"stroke"),e(n,"filter"),e(n,"mask"),e(n,"clip-path"),(e=>{var t=f(e.node,"xlink:href");t&&"#"==t.charAt()&&(t=t.substring(1))&&(a[t]=(a[t]||[]).concat(function(t){e.attr("xlink:href","#"+t)}))})(n);var u=f(n.node,"id");u&&(f(n.node,{id:n.id}),o.push({old:u,id:n.id}))}for(s=0,l=o.length;s<l;s++){var c=a[o[s].old];if(c)for(var h=0,d=c.length;h<d;h++)c[h](o[s].id)}}function bt(o){return function(){var t=o?"<"+this.type:"",e=this.node.attributes,n=this.node.childNodes;if(o)for(var r=0,i=e.length;r<i;r++)t+=" "+e[r].name+'="'+e[r].value.replace(/"/g,'\\"')+'"';if(n.length){for(o&&(t+=">"),r=0,i=n.length;r<i;r++)3==n[r].nodeType?t+=n[r].nodeValue:1==n[r].nodeType&&(t+=p(n[r]).toString());o&&(t+="</"+this.type+">")}else o&&(t+="/>");return t}}function wt(){return this.string}function Ct(t,e,n,r){"function"!=typeof n||n.length||(r=n,n=Mt.linear),this.attr=t,this.dur=e,n&&(this.easing=n),r&&(this.callback=r)}e.attr=function(t,e){var n=this;if(n.node,t){if(m(t,"string")){if(!(1<arguments.length))return U(Tt("snap.util.getattr."+t,n));var r={};r[t]=e,t=r}for(var i in t)t[x](i)&&Tt("snap.util.attr."+i,n,t[i])}return n},e.getBBox=function(t){var e,n=this;return(n="use"==n.type?n.original:n).removed?{}:(e=n._,t?(e.bboxwt=s.path.get[n.type]?s.path.getBBox(n.realPath=s.path.get[n.type](n)):s._.box(n.node.getBBox()),s._.box(e.bboxwt)):(n.realPath=(s.path.get[n.type]||s.path.get.deflt)(n),e.bbox=s.path.getBBox(s.path.map(n.realPath,n.matrix)),s._.box(e.bbox)))},e.transform=function(t){var e,n,r,i=this._;return null==t?(e=new y(this.node.getCTM()),r=(n=z(this)).toTransformString(),{string:b(n)==b(this.matrix)?i.transform:r,globalMatrix:e,localMatrix:n,diffMatrix:e.clone().add(n.invert()),global:e.toTransformString(),local:r,toString:wt}):(z(this,t=t instanceof y?t.toTransformString():t),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?f(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?f(this.node,{patternTransform:this.matrix}):f(this.node,{transform:this.matrix})),this)},e.parent=function(){return p(this.node.parentNode)},e.append=e.add=function(t){if(t){var e;if("set"==t.type)return e=this,t.forEach(function(t){e.add(t)}),this;t=p(t),this.node.appendChild(t.node),t.paper=this.paper}return this},e.appendTo=function(t){return t&&(t=p(t)).append(this),this},e.prepend=function(t){var e;return t&&(e=(t=p(t)).parent(),this.node.insertBefore(t.node,this.node.firstChild),this.add&&this.add(),t.paper=this.paper,this.parent()&&this.parent().add(),e)&&e.add(),this},e.prependTo=function(t){return(t=p(t)).prepend(this),this},e.before=function(t){var n,e;return"set"==t.type?(n=this,t.forEach(function(t){var e=t.parent();n.node.parentNode.insertBefore(t.node,n.node),e&&e.add()}),this.parent().add()):(e=(t=p(t)).parent(),this.node.parentNode.insertBefore(t.node,this.node),this.parent()&&this.parent().add(),e&&e.add(),t.paper=this.paper),this},e.after=function(t){var e=(t=p(t)).parent();return this.node.nextSibling?this.node.parentNode.insertBefore(t.node,this.node.nextSibling):this.node.parentNode.appendChild(t.node),this.parent()&&this.parent().add(),e&&e.add(),t.paper=this.paper,this},e.insertBefore=function(t){t=p(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},e.insertAfter=function(t){t=p(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node.nextSibling),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},e.remove=function(){var t=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,t&&t.add(),this},e.select=function(t){return p(this.node.querySelector(t))},e.selectAll=function(t){for(var e=this.node.querySelectorAll(t),n=(s.set||Array)(),r=0;r<e.length;r++)n.push(p(e[r]));return n},e.asPX=function(t,e){return null==e&&(e=this.attr(t)),+D(this,t,e)},e.use=function(){var t,e=this.node.id;return e||(e=this.id,f(this.node,{id:e})),f((t="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?h(this.type,this.node.parentNode):h("use",this.node.parentNode)).node,{"xlink:href":"#"+e}),t.original=this,t},e.clone=function(){var t=p(this.node.cloneNode(!0));return f(t.node,"id")&&f(t.node,{id:t.id}),xt(t),t.insertAfter(this),t},e.toDefs=function(){return u(this).appendChild(this.node),this},e.pattern=function(t,e,n,r){var i=h("pattern",u(this));return m(t=null==t?this.getBBox():t,"object")&&"x"in t&&(e=t.y,n=t.width,r=t.height,t=t.x),f(i.node,{x:t,y:e,width:n,height:r,patternUnits:"userSpaceOnUse",id:i.id,viewBox:[t,e,n,r].join(" ")}),i.node.appendChild(this.node),i},e.marker=function(t,e,n,r,i,o){var a=h("marker",u(this));return m(t=null==t?this.getBBox():t,"object")&&"x"in t&&(e=t.y,n=t.width,r=t.height,i=t.refX||t.cx,o=t.refY||t.cy,t=t.x),f(a.node,{viewBox:[t,e,n,r].join(" "),markerWidth:n,markerHeight:r,orient:"auto",refX:i||0,refY:o||0,id:a.id}),a.node.appendChild(this.node),a},s.animation=function(t,e,n,r){return new Ct(t,e,n,r)},e.inAnim=function(){var t,n=[];for(t in this.anims)this.anims[x](t)&&(e=>{n.push({anim:new Ct(e._attrs,e.dur,e.easing,e._callback),curStatus:e.status(),status:function(t){return e.status(t)},stop:function(){e.stop()}})})(this.anims[t]);return n},s.animate=function(t,e,n,r,i,o){"function"!=typeof i||i.length||(o=i,i=Mt.linear);var a=Mt.time(),t=Mt(t,e,a,a+r,Mt.time,n,i);return o&&Tt.once("mina.finish."+t.id,o),t},e.stop=function(){for(var t=this.inAnim(),e=0,n=t.length;e<n;e++)t[e].stop();return this},e.animate=function(t,e,n,r){"function"!=typeof n||n.length||(r=n,n=Mt.linear),t instanceof Ct&&(r=t.callback,e=(n=t.easing).dur,t=t.attr);var i,o,a,s,l,u=[],c=[],h={},d=this;for(s in t)t[x](s)&&(d.equal?(i=(a=d.equal(s,b(t[s]))).from,o=a.to,a=a.f):(i=+d.attr(s),o=+t[s]),l=m(i,"array")?i.length:1,h[s]=((e,n,r)=>function(t){t=t.slice(e,n);return 1==t.length&&(t=t[0]),r?r(t):t})(u.length,u.length+l,a),u=u.concat(i),c=c.concat(o));var f=Mt.time(),p=Mt(u,c,f,f+e,Mt.time,function(t){var e,n={};for(e in h)h[x](e)&&(n[e]=h[e](t));d.attr(n)},n);return(d.anims[p.id]=p)._attrs=t,p._callback=r,Tt.once("mina.finish."+p.id,function(){delete d.anims[p.id],r&&r.call(d)}),Tt.once("mina.stop."+p.id,function(){delete d.anims[p.id]}),d};var L={},St=(e.data=function(t,e){var n=L[this.id]=L[this.id]||{};if(0==arguments.length)return Tt("snap.data.get."+this.id,this,n,null),n;if(1!=arguments.length)return n[t]=e,Tt("snap.data.set."+this.id,this,e,t),this;if(s.is(t,"object")){for(var r in t)t[x](r)&&this.data(r,t[r]);return this}return Tt("snap.data.get."+this.id,this,n[t],t),n[t]},e.removeData=function(t){return null==t?L[this.id]={}:L[this.id]&&delete L[this.id][t],this},e.outerSVG=e.toString=bt(1),e.innerSVG=bt(),s.parse=function(t){var e=v.doc.createDocumentFragment(),n=!0,r=v.doc.createElement("div");if((t=b(t)).match(/^\s*<\s*svg(?:\s|>)/)||(t="<svg>"+t+"</svg>",n=!1),r.innerHTML=t,t=r.getElementsByTagName("svg")[0])if(n)e=t;else for(;t.firstChild;)e.appendChild(t.firstChild);return r.innerHTML="",new c(e)},c.prototype.select=l.prototype.select,c.prototype.selectAll=l.prototype.selectAll,s.fragment=function(){for(var t=Array.prototype.slice.call(arguments,0),e=v.doc.createDocumentFragment(),n=0,r=t.length;n<r;n++){var i=t[n];i.node&&i.node.nodeType&&e.appendChild(i.node),i.nodeType&&e.appendChild(i),"string"==typeof i&&e.appendChild(s.parse(i).node)}return new c(e)},(P=d.prototype).el=function(t,e){return h(t,this.node).attr(e)},P.rect=function(t,e,n,r,i,o){var a;return null==o&&(o=i),m(t,"object")&&"x"in t?a=t:null!=t&&(a={x:t,y:e,width:n,height:r},null!=i)&&(a.rx=i,a.ry=o),this.el("rect",a)},P.circle=function(t,e,n){var r;return m(t,"object")&&"cx"in t?r=t:null!=t&&(r={cx:t,cy:e,r:n}),this.el("circle",r)},P.image=function(t,e,n,r,i){var o,a=h("image",this.node);return m(t,"object")&&"src"in t?a.attr(t):null!=t&&(o={"xlink:href":t,preserveAspectRatio:"none"},null!=e&&null!=n&&(o.x=e,o.y=n),null!=r&&null!=i?(o.width=r,o.height=i):lt(t,function(){f(a.node,{width:this.offsetWidth,height:this.offsetHeight})}),f(a.node,o)),a},P.ellipse=function(t,e,n,r){var i=h("ellipse",this.node);return m(t,"object")&&"cx"in t?i.attr(t):null!=t&&i.attr({cx:t,cy:e,rx:n,ry:r}),i},P.path=function(t){var e=h("path",this.node);return m(t,"object")&&!m(t,"array")?e.attr(t):t&&e.attr({d:t}),e},P.group=P.g=function(t){var e,n=h("g",this.node);for(e in n.add=R,P)P[x](e)&&(n[e]=P[e]);return 1==arguments.length&&t&&!t.type?n.attr(t):arguments.length&&n.add(Array.prototype.slice.call(arguments,0)),n},P.text=function(t,e,n){var r=h("text",this.node);return m(t,"object")?r.attr(t):null!=t&&r.attr({x:t,y:e,text:n||""}),r},P.line=function(t,e,n,r){var i=h("line",this.node);return m(t,"object")?i.attr(t):null!=t&&i.attr({x1:t,x2:n,y1:e,y2:r}),i},P.polyline=function(t){1<arguments.length&&(t=Array.prototype.slice.call(arguments,0));var e=h("polyline",this.node);return m(t,"object")&&!m(t,"array")?e.attr(t):null!=t&&e.attr({points:t}),e},P.polygon=function(t){1<arguments.length&&(t=Array.prototype.slice.call(arguments,0));var e=h("polygon",this.node);return m(t,"object")&&!m(t,"array")?e.attr(t):null!=t&&e.attr({points:t}),e},P.gradient=function(t){return I(this.defs,t)},P.gradientLinear=function(t,e,n,r){return H(this.defs,t,e,n,r)},P.gradientRadial=function(t,e,n,r,i){return X(this.defs,t,e,n,r,i)},P.toString=function(){var t=v.doc.createDocumentFragment(),e=v.doc.createElement("div"),n=this.node.cloneNode(!0);return t.appendChild(e),e.appendChild(n),f(n,{xmlns:_}),n=e.innerHTML,t.removeChild(t.firstChild),n},P.clear=function(){for(var t,e=this.node.firstChild;e;)t=e.nextSibling,"defs"!=e.tagName&&e.parentNode.removeChild(e),e=t},s.ajax=function(t,e,n,r){var i=new XMLHttpRequest,o=F();if(i){if(m(e,"function"))r=n,n=e,e=null;else if(m(e,"object")){var a,s=[];for(a in e)e.hasOwnProperty(a)&&s.push(encodeURIComponent(a)+"="+encodeURIComponent(e[a]));e=s.join("&")}return i.open(e?"POST":"GET",t,!0),i.setRequestHeader("X-Requested-With","XMLHttpRequest"),e&&i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),n&&(Tt.once("snap.ajax."+o+".0",n),Tt.once("snap.ajax."+o+".200",n),Tt.once("snap.ajax."+o+".304",n)),i.onreadystatechange=function(){4==i.readyState&&Tt("snap.ajax."+o+"."+i.status,r,i)},4==i.readyState||i.send(e),i}},s.load=function(t,e,n){s.ajax(t,function(t){t=s.parse(t.responseText);n?e.call(n,t):e(t)})},Tt.on("snap.util.attr.mask",function(t){var e;(t instanceof l||t instanceof c)&&(Tt.stop(),t instanceof c&&1==t.node.childNodes.length&&(t=t.node.firstChild,u(this).appendChild(t),t=p(t)),"mask"==t.type?e=t:((e=h("mask",u(this))).node.appendChild(t.node),e.node.id||f(e.node,{id:e.id})),f(this.node,{mask:N(e.id)}))}),t=function(t){var e;(t instanceof l||t instanceof c)&&(Tt.stop(),"clipPath"==t.type?e=t:((e=h("clipPath",u(this))).node.appendChild(t.node),e.node.id||f(e.node,{id:e.id})),f(this.node,{"clip-path":N(e.id)}))},Tt.on("snap.util.attr.clip",t),Tt.on("snap.util.attr.clip-path",t),Tt.on("snap.util.attr.clipPath",t),Tt.on("snap.util.attr.fill",Y("fill")),Tt.on("snap.util.attr.stroke",Y("stroke")),/^([lr])(?:\(([^)]*)\))?(.*)$/i),kt=(Tt.on("snap.util.grad.parse",function(t){var e,n,t=(t=b(t)).match(St);return t?(n=t[1],e=t[3],{type:n,params:n=1==(n=(n=t[2]).split(/\s*,\s*/).map(function(t){return+t==t?+t:t})).length&&0==n[0]?[]:n,stops:e=(e=e.split("-")).map(function(t){var e={color:(t=t.split(":"))[0]};return t[1]&&(e.offset=t[1]),e})}):null}),Tt.on("snap.util.attr.d",function(t){Tt.stop(),m(t,"array")&&m(t[0],"array")&&(t=s.path.toString.call(t)),(t=b(t)).match(/[ruo]/i)&&(t=s.path.toAbsolute(t)),f(this.node,{d:t})})(-1),Tt.on("snap.util.attr.#text",function(t){Tt.stop(),t=b(t);for(t=v.doc.createTextNode(t);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(t)})(-1),Tt.on("snap.util.attr.path",function(t){Tt.stop(),this.attr({d:t})})(-1),Tt.on("snap.util.attr.viewBox",function(t){t=m(t,"object")&&"x"in t?[t.x,t.y,t.width,t.height].join(" "):m(t,"array")?t.join(" "):t;f(this.node,{viewBox:t}),Tt.stop()})(-1),Tt.on("snap.util.attr.transform",function(t){this.transform(t),Tt.stop()})(-1),Tt.on("snap.util.attr.r",function(t){"rect"==this.type&&(Tt.stop(),f(this.node,{rx:t,ry:t}))})(-1),Tt.on("snap.util.attr.textpath",function(t){var e,n,r,i;if(Tt.stop(),"text"==this.type)if(!t&&this.textPath){for(e=this.textPath;e.node.firstChild;)this.node.appendChild(e.node.firstChild);e.remove(),delete this.textPath}else if(m(t,"string")?(i=p((r=u(this)).parentNode).path(t),r.appendChild(i.node),r=i.id,i.attr({id:r})):(t=p(t))instanceof l&&((r=t.attr("id"))||(r=t.id,t.attr({id:r}))),r)if(e=this.textPath,n=this.node,e)e.attr({"xlink:href":"#"+r});else{for(e=f("textPath",{"xlink:href":"#"+r});n.firstChild;)e.appendChild(n.firstChild);n.appendChild(e),this.textPath=p(e)}})(-1),Tt.on("snap.util.attr.text",function(t){if("text"==this.type){for(var e=this.node,r=function(t){var e=f("tspan");if(m(t,"array"))for(var n=0;n<t.length;n++)e.appendChild(r(t[n]));else e.appendChild(v.doc.createTextNode(t));return e.normalize&&e.normalize(),e};e.firstChild;)e.removeChild(e.firstChild);for(var n=r(t);n.firstChild;)e.appendChild(n.firstChild)}Tt.stop()})(-1),{"alignment-baseline":0,"baseline-shift":0,clip:0,"clip-path":0,"clip-rule":0,color:0,"color-interpolation":0,"color-interpolation-filters":0,"color-profile":0,"color-rendering":0,cursor:0,direction:0,display:0,"dominant-baseline":0,"enable-background":0,fill:0,"fill-opacity":0,"fill-rule":0,filter:0,"flood-color":0,"flood-opacity":0,font:0,"font-family":0,"font-size":0,"font-size-adjust":0,"font-stretch":0,"font-style":0,"font-variant":0,"font-weight":0,"glyph-orientation-horizontal":0,"glyph-orientation-vertical":0,"image-rendering":0,kerning:0,"letter-spacing":0,"lighting-color":0,marker:0,"marker-end":0,"marker-mid":0,"marker-start":0,mask:0,opacity:0,overflow:0,"pointer-events":0,"shape-rendering":0,"stop-color":0,"stop-opacity":0,stroke:0,"stroke-dasharray":0,"stroke-dashoffset":0,"stroke-linecap":0,"stroke-linejoin":0,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":0,"text-decoration":0,"text-rendering":0,"unicode-bidi":0,visibility:0,"word-spacing":0,"writing-mode":0});function n(e){return function(){Tt.stop();var t=v.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+e);return"none"==t?t:s(v.doc.getElementById(t.match(K)[1]))}}function q(r){return function(t){Tt.stop();var e,n="marker"+r.charAt(0).toUpperCase()+r.substring(1);""!=t&&t?"marker"==t.type&&((e=t.node.id)||f(t.node,{id:t.id}),this.node.style[n]=N(e)):this.node.style[n]="none"}}return Tt.on("snap.util.attr",function(t){var e=Tt.nt(),n={},r=(n[e=e.substring(e.lastIndexOf(".")+1)]=t,e.replace(/-(\w)/gi,function(t,e){return e.toUpperCase()})),e=e.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()});kt[x](e)?this.node.style[r]=null==t?"":t:f(this.node,n)}),Tt.on("snap.util.getattr.transform",function(){return Tt.stop(),this.transform()})(-1),Tt.on("snap.util.getattr.textpath",function(){return Tt.stop(),this.textPath})(-1),Tt.on("snap.util.getattr.marker-end",n("end"))(-1),Tt.on("snap.util.getattr.markerEnd",n("end"))(-1),Tt.on("snap.util.getattr.marker-start",n("start"))(-1),Tt.on("snap.util.getattr.markerStart",n("start"))(-1),Tt.on("snap.util.getattr.marker-mid",n("mid"))(-1),Tt.on("snap.util.getattr.markerMid",n("mid"))(-1),Tt.on("snap.util.attr.marker-end",q("end"))(-1),Tt.on("snap.util.attr.markerEnd",q("end"))(-1),Tt.on("snap.util.attr.marker-start",q("start"))(-1),Tt.on("snap.util.attr.markerStart",q("start"))(-1),Tt.on("snap.util.attr.marker-mid",q("mid"))(-1),Tt.on("snap.util.attr.markerMid",q("mid"))(-1),Tt.on("snap.util.getattr.r",function(){return"rect"==this.type&&f(this.node,"rx")==f(this.node,"ry")?(Tt.stop(),f(this.node,"rx")):void 0})(-1),Tt.on("snap.util.getattr.text",function(){var t;if("text"==this.type||"tspan"==this.type)return Tt.stop(),1==(t=function t(e){for(var n=[],r=e.childNodes,i=0,o=r.length;i<o;i++){var a=r[i];3==a.nodeType&&n.push(a.nodeValue),"tspan"==a.tagName&&(1==a.childNodes.length&&3==a.firstChild.nodeType?n.push(a.firstChild.nodeValue):n.push(t(a)))}return n}(this.node)).length?t[0]:t})(-1),Tt.on("snap.util.getattr.#text",function(){return this.node.textContent})(-1),Tt.on("snap.util.getattr.viewBox",function(){Tt.stop();var t=f(this.node,"viewBox").split(tt);return s._.box(+t[0],+t[1],+t[2],+t[3])})(-1),Tt.on("snap.util.getattr.points",function(){var t=f(this.node,"points");return Tt.stop(),t.split(tt)}),Tt.on("snap.util.getattr.path",function(){var t=f(this.node,"d");return Tt.stop(),t}),Tt.on("snap.util.getattr",function(){var t=Tt.nt(),e=(t=t.substring(t.lastIndexOf(".")+1)).replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()});return kt[x](e)?v.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue(e):f(this.node,t)}),s.getElementByPoint=function(t,e){this.canvas;var n,r,i,o,a,s=v.doc.elementFromPoint(t,e);return(s=v.win.opera&&"svg"==s.tagName&&(r=(n=s).getBoundingClientRect(),n=n.ownerDocument,i=n.body,o=(n=n.documentElement).clientTop||i.clientTop||0,a=n.clientLeft||i.clientLeft||0,o={y:r.top+(g.win.pageYOffset||n.scrollTop||i.scrollTop)-o,x:r.left+(g.win.pageXOffset||n.scrollLeft||i.scrollLeft)-a},(r=s.createSVGRect()).x=t-o.x,r.y=e-o.y,r.width=r.height=1,(n=s.getIntersectionList(r,null)).length)?n[n.length-1]:s)?p(s):null},s.plugin=function(t){t(s,l,d,v)},v.win.Snap=s})();function p(t){var e=this;if(null==t)return e.s;var n=e.s-t;e.b+=e.dur*n,e.B+=e.dur*n,e.s=t}function m(t){return null==t?this.spd:void(this.spd=t)}function y(t){var e=this;return null==t?e.dur:(e.s=e.s*t/e.dur,void(e.dur=t))}function v(){delete u[this.id],s("mina.stop."+this.id,this)}function x(){var t=this;t.pdif||(delete u[t.id],t.pdif=t.get()-t.b)}function b(){var t=this;t.pdif&&(t.b=t.get()-t.pdif,delete t.pdif,u[t.id]=t)}function w(t,e,n,r,i,o,a){t={id:d+(h++).toString(36),start:t,end:e,b:n,s:0,dur:r-n,spd:1,get:i,set:o,easing:a||w.linear,status:p,speed:m,duration:y,stop:v,pause:x,resume:b},u[t.id]=t;var s,l=0;for(s in u)if(u.hasOwnProperty(s)&&(l++,2==l))break;return 1==l&&c(f),t}return t.plugin(function(k,m){function x(e){var n=x.ps=x.ps||{};return n[e]?n[e].sleep=100:n[e]={sleep:100},setTimeout(function(){for(var t in n)n[r](t)&&t!=e&&(n[t].sleep--,!n[t].sleep)&&delete n[t]}),n[e]}function d(t,e,n,r){return null==t&&(t=e=n=r=0),null==e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:q.min(n,r)/2,r2:q.max(n,r)/2,r0:q.sqrt(n*n+r*r)/2,path:s(t,e,n,r),vb:[t,e,n,r].join(" ")}}function b(){return this.join(",").replace(l,"$1")}function w(t){t=p(t);return t.toString=b,t}function y(t,e,n,r,i,o,a,s,l){return null==l?T(t,e,n,r,i,o,a,s):C(t,e,n,r,i,o,a,s,((t,e,n,r,i,o,a,s,l)=>{if(!(l<0||T(t,e,n,r,i,o,a,s)<l)){var u,c=.5,h=1-c;for(u=T(t,e,n,r,i,o,a,s,h);.01<U(u-l);)u=T(t,e,n,r,i,o,a,s,h+=(u<l?1:-1)*(c/=2));return h}})(t,e,n,r,i,o,a,s,l))}function t(f,p){function g(t){return+(+t).toFixed(3)}return k._.cacher(function(t,e,n){for(var r,i,o,a,s,l="",u={},c=0,h=0,d=(t=P(t=t instanceof m?t.attr("d"):t)).length;h<d;h++){if("M"==(o=t[h])[0])r=+o[1],i=+o[2];else{if(e<c+(a=y(r,i,o[1],o[2],o[3],o[4],o[5],o[6]))){if(p&&!u.start){if(l+=["C"+g((s=y(r,i,o[1],o[2],o[3],o[4],o[5],o[6],e-c)).start.x),g(s.start.y),g(s.m.x),g(s.m.y),g(s.x),g(s.y)],n)return l;u.start=l,l=["M"+g(s.x),g(s.y)+"C"+g(s.n.x),g(s.n.y),g(s.end.x),g(s.end.y),g(o[5]),g(o[6])].join(),c+=a,r=+o[5],i=+o[6];continue}if(!f&&!p)return y(r,i,o[1],o[2],o[3],o[4],o[5],o[6],e-c)}c+=a,r=+o[5],i=+o[6]}l+=o.shift()+o}return u.end=l,f?c:p?u:C(r,i,o[0],o[1],o[2],o[3],o[4],o[5],1)},null,k._.clone)}function C(t,e,n,r,i,o,a,s,l){var u=1-l,c=R(u,3),h=R(u,2),d=l*l,f=d*l,p=t+2*l*(n-t)+d*(i-2*n+t),g=e+2*l*(r-e)+d*(o-2*r+e),m=n+2*l*(i-n)+d*(a-2*i+n),d=r+2*l*(o-r)+d*(s-2*o+r);return{x:c*t+3*h*l*n+3*u*l*l*i+f*a,y:c*e+3*h*l*r+3*u*l*l*o+f*s,m:{x:p,y:g},n:{x:m,y:d},start:{x:u*t+l*n,y:u*e+l*r},end:{x:u*i+l*a,y:u*o+l*s},alpha:90-180*q.atan2(p-m,g-d)/O}}function S(t,e,n,r,i,o,a,s){k.is(t,"array")||(t=[t,e,n,r,i,o,a,s]);e=f.apply(null,t);return d(e.min.x,e.min.y,e.max.x-e.min.x,e.max.y-e.min.y)}function i(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height}function E(t,e){return t=d(t),i(e=d(e),t.x,t.y)||i(e,t.x2,t.y)||i(e,t.x,t.y2)||i(e,t.x2,t.y2)||i(t,e.x,e.y)||i(t,e.x2,e.y)||i(t,e.x,e.y2)||i(t,e.x2,e.y2)||(t.x<e.x2&&t.x>e.x||e.x<t.x2&&e.x>t.x)&&(t.y<e.y2&&t.y>e.y||e.y<t.y2&&e.y>t.y)}function v(t,e,n,r,i){return t*(t*(-3*e+9*n-9*r+3*i)+6*e-12*n+6*r)-3*e+3*n}function T(t,e,n,r,i,o,a,s,l){for(var u=(l=1<(l=null==l?1:l)?1:l<0?0:l)/2,c=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],h=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],d=0,f=0;f<12;f++){var p=u*c[f]+u,g=v(p,t,n,i,a),p=v(p,e,r,o,s);d+=h[f]*q.sqrt(g*g+p*p)}return u*d}function G(t,e,n){if(!E(S(t),S(e)))return n?0:[];for(var r=~~(T.apply(0,t)/5),i=~~(T.apply(0,e)/5),o=[],a=[],s={},l=n?0:[],u=0;u<1+r;u++){var c=C.apply(0,t.concat(u/r));o.push({x:c.x,y:c.y,t:u/r})}for(u=0;u<1+i;u++)c=C.apply(0,e.concat(u/i)),a.push({x:c.x,y:c.y,t:u/i});for(u=0;u<r;u++)for(var h=0;h<i;h++){var d=o[u],f=o[u+1],p=a[h],g=a[h+1],m=U(f.x-d.x)<.001?"y":"x",y=U(g.x-p.x)<.001?"y":"x",v=((t,e,n,r,i,o,a,s)=>{if(!(D(t,n)<z(i,a)||z(t,n)>D(i,a)||D(e,r)<z(o,s)||z(e,r)>D(o,s))){var l=(t-n)*(o-s)-(e-r)*(i-a);if(l){var u=((t*r-e*n)*(i-a)-(t-n)*(i*s-o*a))/l,l=((t*r-e*n)*(o-s)-(e-r)*(i*s-o*a))/l,c=+u.toFixed(2),h=+l.toFixed(2);if(!(c<+z(t,n).toFixed(2)||c>+D(t,n).toFixed(2)||c<+z(i,a).toFixed(2)||c>+D(i,a).toFixed(2)||h<+z(e,r).toFixed(2)||h>+D(e,r).toFixed(2)||h<+z(o,s).toFixed(2)||h>+D(o,s).toFixed(2)))return{x:u,y:l}}}})(d.x,d.y,f.x,f.y,p.x,p.y,g.x,g.y);v&&s[v.x.toFixed(4)]!=v.y.toFixed(4)&&(s[v.x.toFixed(4)]=v.y.toFixed(4),m=d.t+U((v[m]-d[m])/(f[m]-d[m]))*(f.t-d.t),f=p.t+U((v[y]-p[y])/(g[y]-p[y]))*(g.t-p.t),0<=m)&&m<=1&&0<=f&&f<=1&&(n?l++:l.push({x:v.x,y:v.y,t1:m,t2:f}))}return l}function o(t,e,n){t=P(t),e=P(e);for(var r,i,o,a,s,l,u,c,h=n?0:[],d=0,f=t.length;d<f;d++){var p=t[d];if("M"==p[0])r=o=p[1],g=a=p[2];else for(var g="C"==p[0]?(r=(u=[r,g].concat(p.slice(1)))[6],u[7]):(u=[r,g,r,g,o,a,o,a],r=o,a),m=0,y=e.length;m<y;m++){var v=e[m];if("M"==v[0])i=s=v[1],x=l=v[2];else{var x="C"==v[0]?(i=(c=[i,x].concat(v.slice(1)))[6],c[7]):(c=[i,x,i,x,s,l,s,l],i=s,l),b=G(u,c,n);if(n)h+=b;else{for(var w=0,C=b.length;w<C;w++)b[w].segment1=d,b[w].segment2=m,b[w].bez1=u,b[w].bez2=c;h=h.concat(b)}}}}return h}function a(t){var e=x(t);if(e.bbox)return p(e.bbox);if(!t)return d();for(var n,r,i=0,o=0,a=[],s=[],l=0,u=(t=P(t)).length;l<u;l++)"M"==(n=t[l])[0]?(i=n[1],o=n[2],a.push(i),s.push(o)):(r=f(i,o,n[1],n[2],n[3],n[4],n[5],n[6]),a=a.concat(r.min.x,r.max.x),s=s.concat(r.min.y,r.max.y),i=n[5],o=n[6]);var c=z.apply(0,a),h=z.apply(0,s),c=d(c,h,D.apply(0,a)-c,D.apply(0,s)-h);return e.bbox=p(c),c}function s(t,e,n,r,i){return i?[["M",t+i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]]:((i=[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]]).toString=b,i)}function M(t,e,n,r,i){var o,a,s;return null==i&&null==r&&(r=n),(s=null!=i?(o=Math.PI/180,s=t+n*Math.cos(-r*o),a=t+n*Math.cos(-i*o),[["M",s,e+n*Math.sin(-r*o)],["A",n,n,0,+(180<i-r),0,a,e+n*Math.sin(-i*o)]]):[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]]).toString=b,s}function B(t){var e=x(t);if(e.abs)return w(e.abs);if(!(t=V(t,"array")&&V(t&&t[0],"array")?t:k.parsePathString(t))||!t.length)return[["M",0,0]];var n,r=[],i=0,o=0,a=0,s=0,l=0;"M"==t[0][0]&&(a=i=+t[0][1],s=o=+t[0][2],l++,r[0]=["M",i,o]);for(var u,c,h=3==t.length&&"M"==t[0][0]&&"R"==t[1][0].toUpperCase()&&"Z"==t[2][0].toUpperCase(),d=l,f=t.length;d<f;d++){if(r.push(u=[]),(n=(c=t[d])[0])!=n.toUpperCase())switch(u[0]=n.toUpperCase(),u[0]){case"A":u[1]=c[1],u[2]=c[2],u[3]=c[3],u[4]=c[4],u[5]=c[5],u[6]=+(c[6]+i),u[7]=+(c[7]+o);break;case"V":u[1]=+c[1]+o;break;case"H":u[1]=+c[1]+i;break;case"R":for(var p=[i,o].concat(c.slice(1)),g=2,m=p.length;g<m;g++)p[g]=+p[g]+i,p[++g]=+p[g]+o;r.pop(),r=r.concat(j(p,h));break;case"O":r.pop(),(p=M(i,o,c[1],c[2])).push(p[0]),r=r.concat(p);break;case"U":r.pop(),r=r.concat(M(i,o,c[1],c[2],c[3])),u=["U"].concat(r[r.length-1].slice(-2));break;case"M":a=+c[1]+i,s=+c[2]+o;default:for(g=1,m=c.length;g<m;g++)u[g]=+c[g]+(g%2?i:o)}else if("R"==n)p=[i,o].concat(c.slice(1)),r.pop(),r=r.concat(j(p,h)),u=["R"].concat(c.slice(-2));else if("O"==n)r.pop(),(p=M(i,o,c[1],c[2])).push(p[0]),r=r.concat(p);else if("U"==n)r.pop(),r=r.concat(M(i,o,c[1],c[2],c[3])),u=["U"].concat(r[r.length-1].slice(-2));else for(var y=0,v=c.length;y<v;y++)u[y]=c[y];if("O"!=(n=n.toUpperCase()))switch(u[0]){case"Z":i=a,o=s;break;case"H":i=u[1];break;case"V":o=u[1];break;case"M":a=u[u.length-2],s=u[u.length-1];default:i=u[u.length-2],o=u[u.length-1]}}return r.toString=b,e.abs=w(r),r}function F(t,e,n,r){return[t,e,n,r,n,r]}function _(t,e,n,r,i,o){return[1/3*t+2/3*n,1/3*e+2/3*r,1/3*i+2/3*n,1/3*o+2/3*r,i,o]}function A(t,e,n,r,i,o,a,s,l,u){var c=120*O/180,h=O/180*(+i||0),d=[],f=k._.cacher(function(t,e,n){return{x:t*q.cos(n)-e*q.sin(n),y:t*q.sin(n)+e*q.cos(n)}}),o=(u?(x=u[0],b=u[1],y=u[2],v=u[3]):(t=(g=f(t,e,-h)).x,e=g.y,s=(g=f(s,l,-h)).x,l=g.y,q.cos(O/180*i),q.sin(O/180*i),1<(p=(g=(t-s)/2)*g/(n*n)+(m=(e-l)/2)*m/(r*r))&&(n*=p=q.sqrt(p),r*=p),y=(p=(o==a?-1:1)*q.sqrt(U(((p=n*n)*(o=r*r)-p*m*m-o*g*g)/(p*m*m+o*g*g))))*n*m/r+(t+s)/2,x=q.asin(((e-(v=p*-r*g/n+(e+l)/2))/r).toFixed(9)),b=q.asin(((l-v)/r).toFixed(9)),(x=t<y?O-x:x)<0&&(x=2*O+x),(b=s<y?O-b:b)<0&&(b=2*O+b),a&&b<x&&(x-=2*O),!a&&x<b&&(b-=2*O)),b-x),c=(U(o)>c&&(m=b,p=s,g=l,d=A(s=y+n*q.cos(b=x+c*(a&&x<b?1:-1)),l=v+r*q.sin(b),n,r,i,0,a,p,g,[b,m,y,v])),o=b-x,q.cos(x)),i=q.sin(x),a=q.cos(b),p=q.sin(b),g=q.tan(o/4),m=4/3*n*g,y=4/3*r*g,v=[t,e],x=[t+m*i,e-y*c],b=[s+m*p,l-y*a],o=[s,l];if(x[0]=2*v[0]-x[0],x[1]=2*v[1]-x[1],u)return[x,b,o].concat(d);for(var w=[],C=0,S=(d=[x,b,o].concat(d).join().split(",")).length;C<S;C++)w[C]=C%2?f(d[C-1],d[C],h).y:f(d[C],d[C+1],h).x;return w}function N(t,e,n,r,i,o,a,s,l){var u=1-l;return{x:R(u,3)*t+3*R(u,2)*l*n+3*u*l*l*i+R(l,3)*a,y:R(u,3)*e+3*R(u,2)*l*r+3*u*l*l*o+R(l,3)*s}}function f(t,e,n,r,i,o,a,s){var l,u=i-2*n+t-(a-2*i+n),c=2*(n-t)-2*(i-n),h=t-n,d=(-c+q.sqrt(c*c-4*u*h))/2/u,f=(-c-q.sqrt(c*c-4*u*h))/2/u,p=[e,s],g=[t,a];return"1e12"<U(d)&&(d=.5),"1e12"<U(f)&&(f=.5),0<d&&d<1&&(l=N(t,e,n,r,i,o,a,s,d),g.push(l.x),p.push(l.y)),0<f&&f<1&&(l=N(t,e,n,r,i,o,a,s,f),g.push(l.x),p.push(l.y)),d=(-(c=2*(r-e)-2*(o-r))+q.sqrt(c*c-4*(u=o-2*r+e-(s-2*o+r))*(h=e-r)))/2/u,f=(-c-q.sqrt(c*c-4*u*h))/2/u,"1e12"<U(d)&&(d=.5),"1e12"<U(f)&&(f=.5),0<d&&d<1&&(l=N(t,e,n,r,i,o,a,s,d),g.push(l.x),p.push(l.y)),0<f&&f<1&&(l=N(t,e,n,r,i,o,a,s,f),g.push(l.x),p.push(l.y)),{min:{x:z.apply(0,g),y:z.apply(0,p)},max:{x:D.apply(0,g),y:D.apply(0,p)}}}function P(t,e){var n=!e&&x(t);if(!e&&n.curve)return w(n.curve);for(var o=B(t),a=e&&B(e),r={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},i={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s=function(t,e){if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(t[0]in{T:1,Q:1}||(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat(A.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":t=["C",e.x+(e.x-(e.bx||e.x)),e.y+(e.y-(e.by||e.y))].concat(t.slice(1));break;case"T":e.qx=e.x+(e.x-(e.qx||e.x)),e.qy=e.y+(e.y-(e.qy||e.y)),t=["C"].concat(_(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(_(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(F(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(F(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(F(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(F(e.x,e.y,e.X,e.Y))}return t},l=function(t,e){if(7<t[e].length){t[e].shift();for(var n=t[e];n.length;)t.splice(e++,0,["C"].concat(n.splice(0,6)));t.splice(e,1),h=D(o.length,a&&a.length||0)}},u=function(t,e,n,r,i){t&&e&&"M"==t[i][0]&&"M"!=e[i][0]&&(e.splice(i,0,["M",r.x,r.y]),n.bx=0,n.by=0,n.x=t[i][1],n.y=t[i][2],h=D(o.length,a&&a.length||0))},c=0,h=D(o.length,a&&a.length||0);c<h;c++){o[c]=s(o[c],r),l(o,c),a&&(a[c]=s(a[c],i)),a&&l(a,c),u(o,a,r,i,c),u(a,o,i,r,c);var d=o[c],f=a&&a[c],p=d.length,g=a&&f.length;r.x=d[p-2],r.y=d[p-1],r.bx=L(d[p-4])||r.x,r.by=L(d[p-3])||r.y,i.bx=a&&(L(f[g-4])||i.x),i.by=a&&(L(f[g-3])||i.y),i.x=a&&f[g-2],i.y=a&&f[g-1]}return a||(n.curve=w(o)),a?[o,a]:o}function j(t,e){for(var n=[],r=0,i=t.length;r<i-2*!e;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4==r?o[3]={x:+t[0],y:+t[1]}:i-2==r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4==r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}var e=m.prototype,V=k.is,p=k._.clone,r="hasOwnProperty",l=/,?([a-z]),?/gi,L=parseFloat,q=Math,O=q.PI,z=q.min,D=q.max,R=q.pow,U=q.abs,u=t(1),c=t(),h=t(0,1),n=k._unit2px,g={path:function(t){return t.attr("path")},circle:function(t){t=n(t);return M(t.cx,t.cy,t.r)},ellipse:function(t){t=n(t);return M(t.cx,t.cy,t.rx,t.ry)},rect:function(t){t=n(t);return s(t.x,t.y,t.width,t.height,t.rx)},image:function(t){t=n(t);return s(t.x,t.y,t.width,t.height)},text:function(t){t=t.node.getBBox();return s(t.x,t.y,t.width,t.height)},g:function(t){t=t.node.getBBox();return s(t.x,t.y,t.width,t.height)},symbol:function(t){t=t.getBBox();return s(t.x,t.y,t.width,t.height)},line:function(t){return"M"+[t.attr("x1"),t.attr("y1"),t.attr("x2"),t.attr("y2")]},polyline:function(t){return"M"+t.attr("points")},polygon:function(t){return"M"+t.attr("points")+"z"},svg:function(t){t=t.node.getBBox();return s(t.x,t.y,t.width,t.height)},deflt:function(t){t=t.node.getBBox();return s(t.x,t.y,t.width,t.height)}};k.path=x,k.path.getTotalLength=u,k.path.getPointAtLength=c,k.path.getSubpath=function(t,e,n){return this.getTotalLength(t)-n<1e-6||(t=h(t,n,1),e)?h(t,e).end:t},e.getTotalLength=function(){return this.node.getTotalLength?this.node.getTotalLength():void 0},e.getPointAtLength=function(t){return c(this.attr("d"),t)},e.getSubpath=function(t,e){return k.path.getSubpath(this.attr("d"),t,e)},k._.box=d,k.path.findDotsAtSegment=C,k.path.bezierBBox=S,k.path.isPointInsideBBox=i,k.path.isBBoxIntersect=E,k.path.intersection=function(t,e){return o(t,e)},k.path.intersectionNumber=function(t,e){return o(t,e,1)},k.path.isPointInside=function(t,e,n){var r=a(t);return i(r,e,n)&&1==o(t,[["M",e,n],["H",r.x2+10]],1)%2},k.path.getBBox=a,k.path.get=g,k.path.toRelative=function(t){var e=x(t),n=String.prototype.toLowerCase;if(e.rel)return w(e.rel);var r=[],i=0,o=0,a=0,s=0,l=0;"M"==(t=k.is(t,"array")&&k.is(t&&t[0],"array")?t:k.parsePathString(t))[0][0]&&(a=i=t[0][1],s=o=t[0][2],l++,r.push(["M",i,o]));for(var u=l,c=t.length;u<c;u++){var h=r[u]=[],d=t[u];if(d[0]!=n.call(d[0]))switch(h[0]=n.call(d[0]),h[0]){case"a":h[1]=d[1],h[2]=d[2],h[3]=d[3],h[4]=d[4],h[5]=d[5],h[6]=+(d[6]-i).toFixed(3),h[7]=+(d[7]-o).toFixed(3);break;case"v":h[1]=+(d[1]-o).toFixed(3);break;case"m":a=d[1],s=d[2];default:for(var f=1,p=d.length;f<p;f++)h[f]=+(d[f]-(f%2?i:o)).toFixed(3)}else{h=r[u]=[],"m"==d[0]&&(a=d[1]+i,s=d[2]+o);for(var g=0,m=d.length;g<m;g++)r[u][g]=d[g]}var y=r[u].length;switch(r[u][0]){case"z":i=a,o=s;break;case"h":i+=+r[u][y-1];break;case"v":o+=+r[u][y-1];break;default:i+=+r[u][y-2],o+=+r[u][y-1]}}return r.toString=b,e.rel=w(r),r},k.path.toAbsolute=B,k.path.toCubic=P,k.path.map=function(t,e){if(e)for(var n,r,i,o,a,s=0,l=(t=P(t)).length;s<l;s++)for(i=1,o=(a=t[s]).length;i<o;i+=2)n=e.x(a[i],a[i+1]),r=e.y(a[i],a[i+1]),a[i]=n,a[i+1]=r;return t},k.path.toString=b,k.path.clone=w}),t.plugin(function(t){function s(t){if(this.items=[],this.length=0,this.type="set",t)for(var e=0,n=t.length;e<n;e++)t[e]&&(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)}var l=Math.max,u=Math.min,e=s.prototype;e.push=function(){for(var t,e,n=0,r=arguments.length;n<r;n++)(t=arguments[n])&&(this[e=this.items.length]=this.items[e]=t,this.length++);return this},e.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},e.forEach=function(t,e){for(var n=0,r=this.items.length;n<r;n++)if(!1===t.call(e,this.items[n],n))return this;return this},e.remove=function(){for(;this.length;)this.pop().remove();return this},e.attr=function(t){for(var e=0,n=this.items.length;e<n;e++)this.items[e].attr(t);return this},e.clear=function(){for(;this.length;)this.pop()},e.splice=function(t,e){t=t<0?l(this.length+t,0):t,e=l(0,u(this.length-t,e));for(var n=[],r=[],i=[],o=2;o<arguments.length;o++)i.push(arguments[o]);for(o=0;o<e;o++)r.push(this[t+o]);for(;o<this.length-t;o++)n.push(this[t+o]);var a=i.length;for(o=0;o<a+n.length;o++)this.items[t+o]=this[t+o]=o<a?i[o]:n[o-a];for(o=this.items.length=this.length-=e-a;this[o];)delete this[o++];return new s(r)},e.exclude=function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]==t)return this.splice(e,1),!0;return!1},e.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},e.getBBox=function(){for(var t,e=[],n=[],r=[],i=[],o=this.items.length;o--;)this.items[o].removed||(t=this.items[o].getBBox(),e.push(t.x),n.push(t.y),r.push(t.x+t.width),i.push(t.y+t.height));return{x:e=u.apply(0,e),y:n=u.apply(0,n),x2:r=l.apply(0,r),y2:i=l.apply(0,i),width:r-e,height:i-n,cx:e+(r-e)/2,cy:n+(i-n)/2}},e.clone=function(t){t=new s;for(var e=0,n=this.items.length;e<n;e++)t.push(this.items[e].clone());return t},e.toString=function(){return"Snap‘s set"},e.type="set",t.set=function(){var t=new s;return arguments.length&&t.push.apply(t,Array.prototype.slice.call(arguments,0)),t}}),t.plugin(function(v,t){function x(t){var e=t[0];switch(e.toLowerCase()){case"t":return[e,0,0];case"m":return[e,1,0,0,1,0,0];case"r":return 4==t.length?[e,0,t[2],t[3]]:[e,0];case"s":return 5==t.length?[e,1,1,t[3],t[4]]:3==t.length?[e,1,1]:[e,1]}}function b(t){return t}function w(t){return v.rgb(t[0],t[1],t[2])}function C(t){for(var e,n,r,i,o=0,a=[],s=0,l=t.length;s<l;s++){for(r="[",i=['"'+t[s][0]+'"'],e=1,n=t[s].length;e<n;e++)i[e]="val["+o+++"]";a[s]=r+=i+"]"}return Function("val","return Snap.path.toString.call(["+a+"])")}function S(t){for(var e=[],n=0,r=t.length;n<r;n++)for(var i=1,o=t[n].length;i<o;i++)e.push(t[n][i]);return e}var k={},E=/[a-z]+$/i,T=String;k.stroke=k.fill="colour",t.prototype.equal=function(t,e){var n,r,i,o=T(this.attr(t)||""),a=this;if(o==+o&&e==+e)return{from:+o,to:+e,f:b};if("colour"==k[t])return n=v.color(o),r=v.color(e),{from:[n.r,n.g,n.b,n.opacity],to:[r.r,r.g,r.b,r.opacity],f:w};if("transform"!=t&&"gradientTransform"!=t&&"patternTransform"!=t)return"d"==t||"path"==t?{from:S((n=v.path.toCubic(o,e))[0]),to:S(n[1]),f:C(n[0])}:"points"==t?{from:n=T(o).split(","),to:r=T(e).split(","),f:function(t){return t}}:(n=o.match(E),r=T(e).match(E),n&&n==r?{from:parseFloat(o),to:parseFloat(e),f:(i=n,function(t){return+t.toFixed(3)+i})}:{from:this.asPX(t),to:this.asPX(t,e),f:b});e instanceof v.Matrix&&(e=e.toTransformString()),v._.rgTransform.test(e)||(e=v._.svgTransform2string(e));var s=o,l=e,u=function(){return a.getBBox(1)};l=T(l).replace(/\.{3}|\u2026/g,s),s=v.parseTransformString(s)||[],l=v.parseTransformString(l)||[];for(var c,h,d,f,p=Math.max(s.length,l.length),g=[],m=[],y=0;y<p;y++){if(d=s[y]||x(l[y]),f=l[y]||x(d),d[0]!=f[0]||"r"==d[0].toLowerCase()&&(d[2]!=f[2]||d[3]!=f[3])||"s"==d[0].toLowerCase()&&(d[3]!=f[3]||d[4]!=f[4])){s=v._.transform2matrix(s,u()),l=v._.transform2matrix(l,u()),g=[["m",s.a,s.b,s.c,s.d,s.e,s.f]],m=[["m",l.a,l.b,l.c,l.d,l.e,l.f]];break}for(g[y]=[],m[y]=[],c=0,h=Math.max(d.length,f.length);c<h;c++)c in d&&(g[y][c]=d[c]),c in f&&(m[y][c]=f[c])}return{from:S(g),to:S(m),f:C(g)}}}),t.plugin(function(c,t,e,o){for(var n=t.prototype,h=("createTouch"in o.doc),r=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","touchstart","touchmove","touchend","touchcancel"],d={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},f=function(t){t="y"==t?"scrollTop":"scrollLeft";return o.doc.documentElement[t]||o.doc.body[t]},a=function(){this.returnValue=!1},p=function(){return this.originalEvent.preventDefault()},s=function(){this.cancelBubble=!0},g=function(){return this.originalEvent.stopPropagation()},i=o.doc.addEventListener?function(a,s,l,u){function t(t){var e=f("y"),n=f("x");if(h&&d.hasOwnProperty(s))for(var r=0,i=t.targetTouches&&t.targetTouches.length;r<i;r++)if(t.targetTouches[r].target==a||a.contains(t.targetTouches[r].target)){var o=t;(t=t.targetTouches[r]).originalEvent=o,t.preventDefault=p,t.stopPropagation=g;break}return n=t.clientX+n,e=t.clientY+e,l.call(u,t,n,e)}var e=h&&d[s]?d[s]:s;return s!==e&&a.addEventListener(s,t,!1),a.addEventListener(e,t,!1),function(){return s!==e&&a.removeEventListener(s,t,!1),a.removeEventListener(e,t,!1),!0}}:o.doc.attachEvent?function(t,e,r,i){function n(t){t=t||o.win.event;var e=f("y"),n=f("x"),n=t.clientX+n,e=t.clientY+e;return t.preventDefault=t.preventDefault||a,t.stopPropagation=t.stopPropagation||s,r.call(i,t,n,e)}t.attachEvent("on"+e,n);return function(){return t.detachEvent("on"+e,n),!0}}:void 0,m=[],u=function(t){for(var e,n=t.clientX,r=t.clientY,i=f("y"),o=f("x"),a=m.length;a--;){if(e=m[a],h){for(var s,l=t.touches&&t.touches.length;l--;)if((s=t.touches[l]).identifier==e.el._drag.id||e.el.node.contains(s.target)){n=s.clientX,r=s.clientY,(t.originalEvent||t).preventDefault();break}}else t.preventDefault();var u=e.el.node;c._.glob,u.nextSibling,u.style.display,n+=o,r+=i,Tt("snap.drag.move."+e.el.id,e.move_scope||e.el,n-e.el._drag.x,r-e.el._drag.y,n,r,t)}},y=function(t){c.unmousemove(u).unmouseup(y);for(var e,n=m.length;n--;)(e=m[n]).el._drag={},Tt("snap.drag.end."+e.el.id,e.end_scope||e.start_scope||e.move_scope||e.el,t);m=[]},l=r.length;l--;)(r=>{c[r]=n[r]=function(t,e){return c.is(t,"function")&&(this.events=this.events||[],this.events.push({name:r,f:t,unbind:i(this.shape||this.node||o.doc,r,t,e||this)})),this},c["un"+r]=n["un"+r]=function(t){for(var e=this.events||[],n=e.length;n--;)if(e[n].name==r&&(e[n].f==t||!t))return e[n].unbind(),e.splice(n,1),e.length||delete this.events,this;return this}})(r[l]);n.hover=function(t,e,n,r){return this.mouseover(t,n).mouseout(e,r||n)},n.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var v=[];n.drag=function(r,i,o,a,s,l){function t(t,e,n){(t.originalEvent||t).preventDefault(),this._drag.x=e,this._drag.y=n,this._drag.id=t.identifier,m.length||c.mousemove(u).mouseup(y),m.push({el:this,move_scope:a,start_scope:s,end_scope:l}),i&&Tt.on("snap.drag.start."+this.id,i),r&&Tt.on("snap.drag.move."+this.id,r),o&&Tt.on("snap.drag.end."+this.id,o),Tt("snap.drag.start."+this.id,s||a||this,e,n,t)}var n;return arguments.length?(this._drag={},v.push({el:this,start:t}),this.mousedown(t),this):this.drag(function(t,e){this.attr({transform:n+(n?"T":"t")+[t,e]})},function(){n=this.transform().local})},n.undrag=function(){for(var t=v.length;t--;)v[t].el==this&&(this.unmousedown(v[t].start),v.splice(t,1),Tt.unbind("snap.drag.*."+this.id));return v.length||c.unmousemove(u).unmouseup(y),this}}),t.plugin(function(i,o,t){o.prototype;var t=t.prototype,e=/^\s*url\((.+)\)/,a=String,s=i._.$;i.filter={},t.filter=function(t){var e=this,t=("svg"!=e.type&&(e=e.paper),i.parse(a(t))),n=i._.id(),r=(e.node.offsetWidth,e.node.offsetHeight,s("filter"));return s(r,{id:n,filterUnits:"userSpaceOnUse"}),r.appendChild(t.node),e.defs.appendChild(r),new o(r)},Tt.on("snap.util.getattr.filter",function(){Tt.stop();var t=s(this.node,"filter");if(t)return(t=a(t).match(e))&&i.select(t[1])}),Tt.on("snap.util.attr.filter",function(t){var e;t instanceof o&&"filter"==t.type&&(Tt.stop(),(e=t.node.id)||(s(t.node,{id:t.id}),e=t.id),s(this.node,{filter:i.url(e)})),t&&"none"!=t||(Tt.stop(),this.node.removeAttribute("filter"))}),i.filter.blur=function(t,e){return null==t&&(t=2),i.format('<feGaussianBlur stdDeviation="{def}"/>',{def:null==e?t:[t,e]})},i.filter.blur.toString=function(){return this()},i.filter.shadow=function(t,e,n,r){return r=r||"#000","string"==typeof(n=null==n?4:n)&&(r=n,n=4),null==t&&(t=0,e=2),null==e&&(e=t),r=i.color(r),i.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>',{color:r,dx:t,dy:e,blur:n})},i.filter.shadow.toString=function(){return this()},i.filter.grayscale=function(t){return i.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{a:.2126+.7874*(1-(t=null==t?1:t)),b:.7152-.7152*(1-t),c:.0722-.0722*(1-t),d:.2126-.2126*(1-t),e:.7152+.2848*(1-t),f:.0722-.0722*(1-t),g:.2126-.2126*(1-t),h:.0722+.9278*(1-t)})},i.filter.grayscale.toString=function(){return this()},i.filter.sepia=function(t){return i.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{a:.393+.607*(1-(t=null==t?1:t)),b:.769-.769*(1-t),c:.189-.189*(1-t),d:.349-.349*(1-t),e:.686+.314*(1-t),f:.168-.168*(1-t),g:.272-.272*(1-t),h:.534-.534*(1-t),i:.131+.869*(1-t)})},i.filter.sepia.toString=function(){return this()},i.filter.saturate=function(t){return i.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1-(t=null==t?1:t)})},i.filter.saturate.toString=function(){return this()},i.filter.hueRotate=function(t){return i.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:t=t||0})},i.filter.hueRotate.toString=function(){return this()},i.filter.invert=function(t){return i.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:t=null==t?1:t,amount2:1-t})},i.filter.invert.toString=function(){return this()},i.filter.brightness=function(t){return i.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:t=null==t?1:t})},i.filter.brightness.toString=function(){return this()},i.filter.contrast=function(t){return i.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>',{amount:t=null==t?1:t,amount2:.5-t/2})},i.filter.contrast.toString=function(){return this()}}),t}),(c=>{c(".overlay-show");let i=c("div.ult-overlay");function n(t){var e,t="div.ult-overlay."+t,n=(joverlay=document.querySelector(t),(i=c(t)).hasClass("ult-open")?(i.removeClass("ult-open"),i.addClass("ult-close"),e=function(t){if(support.transitions){if("visibility"!==t.propertyName)return;this.removeEventListener(transEndEventName,e)}i.removeClass("ult-close")},support.transitions?(joverlay.addEventListener(transEndEventName,e),i.removeClass("ult-close"),r<n&&c("html").css({overflow:"auto"})):e()):i.hasClass("ult-close")||i.addClass("ult-open"),i.find(".ult_modal").outerHeight()),r=c(window).outerHeight();r<n&&c("html").css({overflow:"hidden"})}function r(t){var t="div.overlay-cornershape."+t,e=document.querySelector(t);let n=c(t);const r=Snap(e.querySelector("svg")),i=r.select("path"),o="m 0,0 1439.999975,0 0,805.99999 0,-805.99999 z ",a=" m 0,0 1439.999975,0 0,805.99999 -1439.999975,0 z  ";n.hasClass("ult-open")?(n.removeClass("ult-open"),n.addClass("ult-close"),i.animate({path:o},400,mina.linear,function(t){n.removeClass("ult-close")})):n.hasClass("ult-close")||(n.addClass("ult-open"),i.animate({path:a},400,mina.linear))}function o(t){var e,n,r,t="div.overlay-genie."+t,i=document.querySelector(t);let o=c(t),a=Snap(i.querySelector("svg")),s=a.select("path"),l=i.getAttribute("data-steps").split(";"),u=l.length;o.hasClass("ult-open")?(n=u-1,o.removeClass("ult-open"),o.addClass("ult-close"),e=function(t){o.removeClass("ult-close")},(r=function(t){--t<0||s.animate({path:l[t]},60,mina.linear,function(){0===t&&e(),r(t)})})(n)):o.hasClass("ult-close")||(n=0,o.addClass("ult-open"),(r=function(t){++t>u-1||s.animate({path:l[t]},60,mina.linear,function(){r(t)})})(n))}function a(t){var t="div.overlay-boxes."+t,e=document.querySelector(t);let n=c(t),r=[].slice.call(e.querySelectorAll("svg > path")),i=r.length,o=0;{var a=r;let t=a.length,e,n;for(;0!==t;)n=Math.floor(Math.random()*t),e=a[--t],a[t]=a[n],a[n]=e}n.hasClass("ult-open")?(n.removeClass("ult-open"),n.addClass("ult-close"),r.forEach(function(t,e){setTimeout(function(){++o,t.style.display="none",o===i&&n.removeClass("ult-close")},30*e)})):n.hasClass("ult-close")||(n.addClass("ult-open"),r.forEach(function(t,e){setTimeout(function(){t.style.display="block"},30*e)}))}function s(t){var e=c("."+t).find(".ult_modal-content").height();c(window).height()<e?c("."+t).addClass("ult_modal-auto-top"):c("."+t).removeClass("ult_modal-auto-top"),0<c("."+t).find("iframe").length&&c("."+t).find("iframe").each(function(t,e){c(e).attr("src",c(e).attr("src"))}),c(document).trigger("onUVCModalPopupOpen",t)}i.find("div.ult-overlay-close"),transEndEventNames={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"},transEndEventName=transEndEventNames[bsfmodernizr.prefixed("transition")],support={transitions:bsfmodernizr.csstransitions},c(".overlay-show-cornershape").find("path").attr("d"),c(window).on("load",function(){let e=new Array;c(".ult-onload").each(function(t){e.push(c(this)),setTimeout(function(){e[t].trigger("click")},1e3*parseInt(c(this).data("onload-delay")))}),c(".ult-vimeo iframe").each(function(t,e){c(this).attr("id");let n=c(this)[0],r=$f(n);r.addEvent("ready",function(){r.addEvent("pause"),r.addEvent("finish")})})}),c(document).ready(function(){c(".ult-overlay").each(function(){c(this).appendTo(document.body)}),c(".ult-overlay").show(),c(".overlay-show").each(function(t,e){var n=c(this).data("class-id");c("."+n).find(".ult-vimeo iframe").attr("id","video_"+n),c("."+n).find(".ult-youtube iframe").attr("id","video_"+n)});c(document).on("click",".overlay-show",function(t){t.stopPropagation(),t.preventDefault();let e=c(this).data("class-id");1!=c(this).parent().hasClass("modal-hide-mobile")&&1!=c(this).parent().hasClass("modal-hide-tablet")&&(c("."+e).find(".ult_modal-content").removeClass("ult-hide"),c("."+e).find(".ult-vimeo iframe").html(c(".ult-vimeo iframe").html()),c("."+e).addClass(c(this).data("overlay-class")),setTimeout(function(){c("body, html").addClass("ult_modal-body-open"),n(e),s(e)},500),"keypress-control-enable"!=c(this).parent().attr("data-keypress-control")&&"keypress-control-enable"!=c(this).attr("data-keypress-control")||(window.onkeydown=function(t){27==t.keyCode&&c(document).find(".ult-overlay.ult-open."+e).removeClass("ult-open")}))}),c(document).on("click",".overlay-show-cornershape",function(t){t.stopPropagation(),t.preventDefault();let e=c(this).data("class-id");c("."+e).find(".ult_modal-content").removeClass("ult-hide"),setTimeout(function(){c("."+e).addClass("overlay-cornershape"),r(e),c("body, html").addClass("ult_modal-body-open"),s(e)},300)}),c(document).on("click","div.overlay-cornershape div.ult-overlay-close",function(t){t.stopPropagation();t=c(this).parents("div.overlay-cornershape").data("class");r(t),c("body, html").removeClass("ult_modal-body-open"),c("html").css({overflow:"auto"}),c(document).trigger("onUVCModalPopUpClosed",t)}),c(document).on("click",".overlay-show-boxes",function(t){t.stopPropagation(),t.preventDefault();let e=c(this).data("class-id");c("."+e).find(".ult_modal-content").removeClass("ult-hide"),setTimeout(function(){c("."+e).addClass("overlay-boxes"),a(e),c("body, html").addClass("ult_modal-body-open"),s(e)},300)}),c(document).on("click","div.overlay-boxes div.ult-overlay-close",function(t){t.stopPropagation();t=c(this).parents("div.overlay-boxes").data("class");a(t),c("body, html").removeClass("ult_modal-body-open"),c("html").css({overflow:"auto"}),c(document).trigger("onUVCModalPopUpClosed",t)}),c(document).on("click",".overlay-show-genie",function(t){t.preventDefault();let e=c(this).data("class-id");c("."+e).find(".ult_modal-content").removeClass("ult-hide"),setTimeout(function(){c("."+e).addClass("overlay-genie"),o(e),c("body, html").addClass("ult_modal-body-open"),s(e),c("html").css({overflow:"auto"})},300)}),c(document).on("click","div.overlay-genie div.ult-overlay-close",function(t){t.stopPropagation();t=c(this).parents("div.overlay-genie").data("class");o(t),c("body, html").removeClass("ult_modal-body-open"),c("html").css({overflow:"auto"}),c(document).trigger("onUVCModalPopUpClosed",t)}),c(document).on("click",".ult-overlay .ult-overlay-close",function(t){t.stopPropagation(),n(($this=c(this)).parents(".ult-overlay").data("class")),c("body, html").removeClass("ult_modal-body-open"),$this.parent().find(".ult-vimeo").length&&$this.parent().find(".ult-vimeo iframe").each(function(t,e){var n=c(e),r=c(e).attr("src"),e=(c(e).attr("src",""),c(e).attr("src",r),n[0]);$f(e).api("pause")}),$this.parent().find(".ult-youtube").length&&$this.parent().find(".ult-youtube iframe").each(function(t,e){var n=c(e).attr("src");c(e).attr("src",""),c(e).attr("src",n)}),$this.parent().find(".ult-video-shortcode").length&&$this.parent().find(".ult-video-shortcode video").each(function(t,e){e.pause()}),c("html").css({overflow:"auto"}),c(document).trigger("onUVCModalPopUpClosed")}),c(document).on("click",".ult-overlay .ult_modal",function(t){t.stopPropagation()}),c(document).on("click",".ult-overlay",function(t){t.stopPropagation(),t.preventDefault();let e=($this=c(this)).data("class");c(document).find(".ult-modal-input-wrapper").children().each(function(){c(this).data("class-id")==e&&"overlay-control-enable"==c(this).parent(".ult-modal-input-wrapper").data("overlay-control")&&($this.find(".ult-overlay-close").trigger("click"),c("html").css({overflow:"auto"}))})})}),c(document).on("onUVCModalPopupOpen",function(){c(".ult_modal-body iframe").each(function(t,e){let n=c(this).parent().width();c(this).parent().parent().parent().hasClass("ult-small"),c(this).parent().parent().parent().hasClass("ult-medium");var r=!!c(this).parent().parent().parent().hasClass("ult-container"),i=!!c(this).parent().parent().parent().hasClass("ult-block"),o=n/10;let a=n*(9/16)+o;if(!!(!c(this).parent().hasClass("ult-youtube")&&!c(this).parent().hasClass("ult-vimeo")))return!1;r&&(o=c(window).height())<a&&(a=o-100),i&&(n=c(this).attr("width"),a=c(this).attr("height"),void 0!==n&&""!=n||(n=640),void 0!==a&&""!=a||(a=360)),c(this).css({width:n+"px",height:a+"px"})}),c(window).trigger("resize")})})(jQuery);