1 line
83 KiB
JavaScript
1 line
83 KiB
JavaScript
|
!function(t){var e={};function o(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(n,i,function(e){return t[e]}.bind(null,i));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=93)}({0:function(t,e,o){"use strict";o.d(e,"a",(function(){return i}));var n,i=window;try{n=!!window.top.document&&window.top}catch(t){n=!1}n&&n.__Cypress__?window.parent===n?i=window:i=window.parent:n&&(i=n,window.self)},93:function(t,e,o){"use strict";o.r(e);var n=o(0);!function(t){t(".et_pb_section"),t(".et_transparent_nav");var e=t("#footer-info"),o=et_main_customizer_data.original_footer_credits,i=!1,a="";function r(e,o){var n,i=t(void 0===o?"body":o),_=i.attr("class"),a=new RegExp(e+"[^\\s]+","g");n=_.replace(a,""),i.attr("class",n.trim())}function c(){setTimeout((function(){var e=t("body"),o=t("#page-container"),n=t("#top-header"),i=t("#main-header"),_=n.length&&n.is(":visible")?n.innerHeight()+"px":"0px",a=i.length?i.innerHeight():0;e.hasClass("et_hide_nav")||window.et_is_vertical_nav||!e.hasClass("et_fixed_nav")?window.et_is_vertical_nav?(o.css("paddingTop","0px"),i.css("top","0px")):o.css("paddingTop","0px"):(o.css("paddingTop",a+_+"px"),i.css("top",_)),p()}),550)}function s(){var e=void 0===wp.customize.value("et_divi[header_style]")()?"left":wp.customize.value("et_divi[header_style]")(),o=void 0===wp.customize.value("et_divi[menu_height]")()?66:parseInt(wp.customize.value("et_divi[menu_height]")()),n=t("#fixed_menu_height").length&&void 0!==wp.customize.value("et_divi[minimized_menu_height]")()?parseInt(wp.customize.value("et_divi[minimized_menu_height]")()):40,i=void 0===wp.customize.value("et_divi[logo_height]")()?54:parseInt(wp.customize.value("et_divi[logo_height]")()),_=t("body").hasClass("rtl"),a=t("#et-top-navigation"),r=_?"paddingRight":"paddingLeft",c=30,s='<style id="logo_height_style">',d="";"left"!==e&&"slide"!==e&&"fullscreen"!==e||(s+="#logo { max-height: "+i+"%; } ",s+=".et_pb_svg_logo #logo { height: "+i+"%; } "),"centered"===e&&(s+=".et_header_style_centered #logo { max-height: "+i+"%; } ",s+=".et_pb_svg_logo.et_header_style_centered #logo { height: "+i+"%; } "),"split"===e&&(s+="body.et_header_style_split #main-header .centered-inline-logo-wrap { width: auto; height: "+(o/100*i+14)+"px; } ",s+="body.et_header_style_split #main-header.et-fixed-header .centered-inline-logo-wrap { width: auto; height: "+(n/100*i+14)+"px; } ",s+="body.et_header_style_split .centered-inline-logo-wrap #logo { height: auto; max-height: 100%; } ",s+="body.et_header_style_split .et-fixed-header .centered-inline-logo-wrap #logo { height: auto; max-height: 100%; } ",t(".et_header_style_split .centered-inline-logo-wrap").css({width:""})),window.et_is_vertical_nav&&(s+="#main-header .logo_container { width: "+i+"%; } ",s+=".et_header_style_centered #main-header .logo_container, .et_header_style_split #main-header .logo_container { margin: 0 auto; } "),x("style#logo_height_style",s+="</style>"),setTimeout((function(){("left"===e&&!window.et_is_vertical_nav||"slide"===e||"fullscreen"===e)&&(c+=t("#logo").width(),d=c),a.css(r,d+"px")}),700)}function d(t,e){if(void 0===t)return!1;var o=t.split("|");return void 0!==o[e]&&o[e]}function l(e){var o=t(window).width()>980,n=0,i=t("#main-header"),_="fixed"===e?"data-fixed-height-onload":"data-height-onload",a="fixed"===e?"main-header-clone et-fixed-header":"main-header-clone",r=i.clone().add
|