File: /var/www/html/wpamazingsecret/wp-content/themes/porto/js/admin/customizer-preview.min.js
jQuery(document).ready((function(t){"use strict";function o(o){void 0!==window.parent.jQuery.redux&&e.forEach((function(e){(t(e.target).is(o)||o.find(t(e.target)).length)&&(e.type||(e.type="control"),t(e.target).portoTooltip({position:e.pos,text:e.text,target:e.target,init:function(o){!function(o,e){if(o.elementID&&"custom"!=o.type)o.type||(o.type="section"),window.parent.wp.customize[o.type](o.elementID).focus(),"section"==o.type&&window.parent.wp.customize[o.type](o.elementID).contentContainer?window.parent.jQuery("body").trigger("initReduxFields",[window.parent.wp.customize[o.type](o.elementID).contentContainer]):"control"==o.type&&window.parent.wp.customize[o.type](o.elementID).container&&window.parent.jQuery("body").trigger("initReduxFields",[window.parent.wp.customize[o.type](o.elementID).container.closest(".control-section")]);else if("custom"==o.type&&o.elementID){window.parent.wp.customize.section("porto_header_layouts")&&window.parent.wp.customize.section("porto_header_layouts").focus();var r=t(o.target,".header-wrapper").index(e),n=!!e.closest(".visible-for-sm:visible").length;t(".porto-header-builder .header-wrapper-"+(n?"mobile":"desktop")+" .header-builder-wrapper",window.parent.document).find('[data-id="'+o.elementID+'"]').eq(r).trigger("click")}}(e,o)}}))}))}t(document.body).on("mouseenter",".porto-tooltip",(function(){t(this).stop(!0,!0).show();var o=t(this).data("triggerObj");o&&o.addClass("porto-tooltip-active")})).on("mouseleave",".porto-tooltip",(function(){t(this).stop().fadeOut(400);var o=t(this).data("triggerObj");o&&o.removeClass("porto-tooltip-active")})),t(document.body).on("click",".porto-tooltip",(function(){var o=t(this).data("initCall");o&&o.call(this,t(this).data("triggerObj"))})),t.fn.portoTooltip=function(o){return o.target=escape(o.target.replace(/"/g,"")),t('.porto-tooltip[data-target="'+o.target+'"]').remove(),t(this).each((function(){if(!t(this).hasClass("porto-tooltip-initialized")){var e=t(this),r=t('<div class="porto-tooltip" data-target="'+o.target+'" style="display: none; position: absolute; z-index: 9999;">'+o.text+"</div>").appendTo("body");r.data("triggerObj",e),o.init&&r.data("initCall",o.init),e.mouseenter((function(){r.text(o.text),"top"==o.position?r.css("top",e.offset().top-r.outerHeight()/2).css("left",e.offset().left+e.outerWidth()/2-r.outerWidth()/2):"bottom"==o.position?r.css("top",e.offset().top+e.outerHeight()-r.outerHeight()/2).css("left",e.offset().left+e.outerWidth()/2-r.outerWidth()/2):"left"==o.position?r.css("top",e.offset().top+e.outerHeight()/2-r.outerHeight()/2).css("left",e.offset().left-r.outerWidth()/2):"right"==o.position&&r.css("top",e.offset().top+e.outerHeight()/2-r.outerHeight()/2).css("left",e.offset().left+e.outerWidth()-r.outerWidth()/2),r.stop().fadeIn(100),e.addClass("porto-tooltip-active")})).mouseleave((function(){r.stop(!0,!0).fadeOut(400),e.removeClass("porto-tooltip-active")})).addClass("porto-tooltip-initialized")}}))},"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.widgetsPreview&&wp.customize.widgetsPreview.WidgetPartial&&(wp.customize.preview.bind("active",(function(){t("style#porto-style-inline-css").clone().attr("id","porto-style-inline-css-temp").appendTo("head")})),wp.customize.selectiveRefresh.bind("partial-content-rendered",(function(e){o(e.container),t(".partial-refreshing").remove(),t("style#porto-style-inline-css-temp").remove(),t("style#porto-style-inline-css").clone().attr("id","porto-style-inline-css-temp").appendTo("head"),"header-wrapper"==e.partial.id||"header"==e.partial.id?("side"==wp.customize.instance("porto_header_builder[type]").get()?(t(".header-wrapper").addClass("header-side-nav side-nav-wrap"),t(".page-wrapper").addClass("side-nav"),t(document.body).addClass("body-side")):(t(".header-wrapper").removeClass("header-side-nav").removeClass("side-nav-wrap"),t(".page-wrapper").removeClass("side-nav"),t(document.body).removeClass("body-side")),t("#header .main-menu").length&&void 0!==theme.MegaMenu&&theme.MegaMenu.initialize(t("#header .main-menu")),t("#header .sidebar-menu").length&&void 0!==theme.SidebarMenu&&(theme.SidebarMenu.initialize(t("#header .sidebar-menu"),t(".widget_sidebar_menu .widget-title .toggle"),t("#main-toggle-menu .menu-title")),t(".sidebar-menu.side-menu-accordion").themeAccordionMenu({open_one:!0})),t(".header-side-nav #header").length&&void 0!==theme.SideNav&&theme.SideNav.initialize(t(".header-side-nav #header")),void 0!==theme.StickyHeader&&theme.StickyHeader.initialize(t("#header")),void 0!==theme.Search&&theme.Search.initialize(t("#header .searchform-popup"),t("#header .searchform"))):"searchform"==e.partial.id?void 0!==theme.Search&&theme.Search.initialize(t("#header .searchform-popup")):"refresh_css_header"==e.partial.id||"refresh_css_header_builder"==e.partial.id||("breadcrumb"==e.partial.id?t("#breadcrumbs-boxed #breadcrumbs-boxed").length&&(t("#breadcrumbs-boxed #breadcrumbs-boxed").children().appendTo(t("#breadcrumbs-boxed #breadcrumbs-boxed").closest("#breadcrumbs-boxed")),t("#breadcrumbs-boxed #breadcrumbs-boxed").remove()):"single-post"!=e.partial.id&&"single-portfolio"!=e.partial.id||!e.container.length?"archive-product"!=e.partial.id&&"single-product"!=e.partial.id&&"single-product-related"!=e.partial.id&&"single-product-upsells"!=e.partial.id||!e.container.length||(porto_init(),"function"==typeof porto_woocommerce_init&&porto_woocommerce_init(),theme.WooProductImageSlider.initialize(e.container.find(".product-image-slider"))):(e.container.find(".porto-carousel:not(.manual)").each((function(){var o=t(this),e=o.data("plugin-options");o.on("initialized.owl.carousel refreshed.owl.carousel",(function(t){o.find(".owl-item.cloned").length&&o.find(".porto-lazyload:not(.lazy-load-loaded)").themePluginLazyLoad({}).data("__lazyload")})).themeCarousel(e)})),e.container.find(".porto-lazyload").filter((function(){return!(t(this).data("__lazyload")||t(this).closest(".owl-carousel").length&&t(this).closest(".owl-carousel").find(".owl-item.cloned").length)})).themePluginLazyLoad({effect:"fadeIn",effect_speed:400}),e.container.find("[data-bs-tooltip]").tooltip())),"breadcrumb"!=e.partial.id&&"footer"!=e.partial.id||e.container.length&&void 0!==e.container.data("plugin-parallax")&&e.container.themeParallax(e.container.data("plugin-options")),"breadcrumb"==e.partial.id&&(t(".page-top.d-none").length?t("div#main").addClass("no-breadcrumbs"):t("div#main").removeClass("no-breadcrumbs"))})));var e=[{target:"#header .custom-html",text:"HTML",elementID:"html",pos:"top",type:"custom"},{target:"#header .porto-block",text:"Porto Block",elementID:"porto_block",pos:"top",type:"custom"},{target:".porto-html-block",text:"HTML Block",elementID:"html-blocks",pos:"top",type:"section"},{target:"#header .logo",text:"Logo",elementID:"logo-icons",pos:"bottom",type:"section"},{target:"#header .header-top",text:"Header Top",elementID:"porto_settings[header-top-bg-color]",pos:"bottom",type:"control"},{target:"#header .header-main",text:"Header Main",elementID:"porto_settings[header-bg]",pos:"top",type:"control"},{target:"#header .header-bottom",text:"Header Bottom",elementID:"porto_settings[header-bottom-text-color]",pos:"bottom",type:"control"},{target:"#header .header-top .top-links",text:"Header Top Links",elementID:"porto_settings[header-top-link-color]",pos:"bottom",type:"control"},{target:".menu-custom-block",text:"Custom Menu",elementID:"porto_settings[menu-block]",pos:"bottom",type:"control"},{target:"#header",text:"Header",elementID:"skin-header",pos:"bottom",type:"section"},{target:"#header .main-menu",text:"Main Menu",elementID:"skin-main-menu",pos:"bottom",type:"section"},{target:".page-top",text:"Breadcrumbs",elementID:"header-breadcrumb",pos:"bottom",type:"section"},{target:"#footer",text:"Footer",elementID:"footer-settings",pos:"top",type:"section"},{target:".mobile-toggle",text:"Mobile Menu",elementID:"mobile-panel-settings",pos:"bottom",type:"section"},{target:"#header .view-switcher",text:"Language Switcher",elementID:"skin-view-currency-switcher",pos:"bottom",type:"section"},{target:"#header .currency-switcher",text:"Currency Switcher",elementID:"skin-view-currency-switcher",pos:"bottom",type:"section"},{target:"#header .searchform-popup",text:"Search Form",elementID:"skin-search-form",pos:"bottom",type:"section"},{target:"#mini-cart",text:"Mini Cart",elementID:"skin-mini-cart",pos:"bottom",type:"section"},{target:".product .labels .onhot",text:"Hot Label",elementID:"porto_settings[hot-color]",pos:"bottom",type:"control"},{target:".product .labels .onsale",text:"Sale Label",elementID:"porto_settings[sale-color]",pos:"bottom",type:"control"},{target:".product .labels .onnew",text:"New Label",elementID:"porto_settings[new-bgc]",pos:"bottom",type:"control"},{target:".yith-wcwl-add-to-wishlist a, .yith-wcwl-add-to-wishlist span",text:"Wishlist",elementID:"porto_settings[wishlist-color]",pos:"bottom",type:"control"},{target:".add_to_cart_button, .add_to_cart_read_more",text:"Add To Cart Button",elementID:"porto_settings[add-to-cart-font]",pos:"bottom",type:"control"},{target:"#header .welcome-msg",text:"Wecome Message",elementID:"porto_settings[welcome-msg]",pos:"bottom",type:"control"},{target:"#header .header-contact",text:"Contact Info",elementID:"porto_settings[header-contact-info]",pos:"bottom",type:"control"},{target:"#header .share-links",text:"Social Links",elementID:"porto_settings[show-header-socials]",pos:"bottom",type:"control"},{target:"#footer .logo",text:"Footer Logo",elementID:"porto_settings[footer-logo]",pos:"top",type:"control"},{target:"#footer .footer-ribbon",text:"Footer Ribbon",elementID:"porto_settings[footer-ribbon]",pos:"bottom",type:"control"},{target:"#footer .footer-copyright",text:"Copyright",elementID:"porto_settings[footer-copyright]",pos:"top",type:"control"},{target:"#footer .footer-payment-img",text:"Payment Image",elementID:"porto_settings[footer-payments-image]",pos:"top",type:"control"},{target:'.content-bottom-wrapper > .row > [class*="col-"]:nth-child(1)',text:"Content Bottom 1",elementID:"sidebar-widgets-content-bottom-1",pos:"top",type:"section"},{target:'.content-bottom-wrapper > .row > [class*="col-"]:nth-child(2)',text:"Content Bottom 2",elementID:"sidebar-widgets-content-bottom-2",pos:"top",type:"section"},{target:'.content-bottom-wrapper > .row > [class*="col-"]:nth-child(3)',text:"Content Bottom 3",elementID:"sidebar-widgets-content-bottom-3",pos:"top",type:"section"},{target:'.content-bottom-wrapper > .row > [class*="col-"]:nth-child(4)',text:"Content Bottom 4",elementID:"sidebar-widgets-content-bottom-4",pos:"top",type:"section"},{target:'.footer-main > .container > .row > [class*="col-"]:nth-child(1)',text:"Footer Widget 1",elementID:"sidebar-widgets-footer-column-1",pos:"top",type:"section"},{target:'.footer-main > .container > .row > [class*="col-"]:nth-child(2)',text:"Footer Widget 2",elementID:"sidebar-widgets-footer-column-2",pos:"top",type:"section"},{target:'.footer-main > .container > .row > [class*="col-"]:nth-child(3)',text:"Footer Widget 3",elementID:"sidebar-widgets-footer-column-3",pos:"top",type:"section"},{target:'.footer-main > .container > .row > [class*="col-"]:nth-child(4)',text:"Footer Widget 4",elementID:"sidebar-widgets-footer-column-4",pos:"top",type:"section"},{target:".footer-top > .container",text:"Footer Top Widget",elementID:"sidebar-widgets-footer-top",pos:"top",type:"section"},{target:".footer-bottom .widget",text:"Footer Bottom Widget",elementID:"sidebar-widgets-footer-bottom",pos:"top",type:"section"},{target:".sidebar.porto-blog-sidebar",text:"Blog Sidebar",elementID:"sidebar-widgets-blog-sidebar",pos:"top",type:"section"},{target:".sidebar.porto-home-sidebar",text:"Home Sidebar",elementID:"sidebar-widgets-home-sidebar",pos:"top",type:"section"},{target:".sidebar.porto-woo-category-sidebar",text:"Woo Category Sidebar",elementID:"sidebar-widgets-woo-category-sidebar",pos:"top",type:"section"},{target:".sidebar.porto-woo-category-filter-sidebar",text:"Woo Category Filter",elementID:"sidebar-widgets-woo-category-filter-sidebar",pos:"top",type:"section"},{target:".sidebar.porto-woo-product-sidebar",text:"Woo Product Sidebar",elementID:"sidebar-widgets-woo-product-sidebar",pos:"top",type:"section"},{target:"body.page .page-share",text:"Page Share",elementID:"porto_settings[page-share]",pos:"bottom",type:"control"},{target:"body.blog #main",text:"Blog Layout",elementID:"porto_settings[post-archive-layout]",pos:"top",type:"control"},{target:".blog-posts article.post",text:"Blog Post Layout",elementID:"porto_settings[post-layout]",pos:"top",type:"control"},{target:".single-post #main",text:"Single Post Page Layout",elementID:"porto_settings[post-single-layout]",pos:"top",type:"control"},{target:".single-post article.post",text:"Single Post Layout",elementID:"porto_settings[post-content-layout]",pos:"top",type:"control"},{target:".related-posts .post-item",text:"Related Post Style",elementID:"porto_settings[post-related-style]",pos:"top",type:"control"},{target:".post-type-archive-portfolio #main",text:"Portfolio Page Layout",elementID:"porto_settings[portfolio-archive-layout]",pos:"top",type:"control"},{target:".post-type-archive-portfolio .portfolio-row .portfolio",text:"Portfolio Layout",elementID:"porto_settings[portfolio-layout]",pos:"top",type:"control"},{target:".single-portfolio #main",text:"Single Portfolio Page Layout",elementID:"porto_settings[portfolio-single-layout]",pos:"top",type:"control"},{target:".single-portfolio article.portfolio",text:"Single Portfolio Layout",elementID:"porto_settings[portfolio-content-layout]",pos:"top",type:"control"},{target:".related-portfolios .portfolio-item",text:"Related Portfolio Layout",elementID:"porto_settings[portfolio-related-style]",pos:"top",type:"control"},{target:".page-events",text:"Event Layout",elementID:"porto_settings[event-archive-layout]",pos:"top",type:"control"},{target:".post-type-archive-member #main",text:"Member Page Layout",elementID:"porto_settings[member-archive-layout]",pos:"top",type:"control"},{target:".member-row .member",text:"Member View Type",elementID:"porto_settings[member-view-type]",pos:"top",type:"control"},{target:".single-member #main",text:"Single Member Page Layout",elementID:"porto_settings[member-single-layout]",pos:"top",type:"control"},{target:".post-type-archive-faq #main",text:"Faq Page Layout",elementID:"porto_settings[faq-archive-layout]",pos:"top",type:"control"},{target:"body.archive.woocommerce-page #main",text:"Shop Page Layout",elementID:"porto_settings[product-archive-layout]",pos:"top",type:"control"},{target:"ul.products li.product-col",text:"Product Layout",elementID:"porto_settings[category-addlinks-pos]",pos:"top",type:"control"},{target:".single-product #main",text:"Single Product Page Layout",elementID:"porto_settings[product-single-layout]",pos:"top",type:"control"},{target:".single-product #content > .product",text:"Single Product Layout",elementID:"porto_settings[product-single-content-layout]",pos:"top",type:"control"},{target:".single-product .variations",text:"Product Variation Mode",elementID:"porto_settings[product_variation_display_mode]",pos:"top",type:"control"},{target:".single-product .product-images",text:"Product Image",elementID:"porto_settings[product-thumbs]",pos:"top",type:"control"},{target:".woocommerce-cart #content",text:"Cart Page Version",elementID:"porto_settings[cart-version]",pos:"top",type:"control"},{target:".woocommerce-checkout #content",text:"Checkout Page Version",elementID:"porto_settings[checkout-version]",pos:"top",type:"control"},{target:"#footer .follow-us .share-links",text:"Follow Us Widget",elementID:"porto_settings[footer-social-bg-color]",pos:"bottom",type:"control"}];function r(o,e){o=o.replace("[","").replace("]",""),t("style#customize-"+o).length?t("style#customize-"+o).text(e):t("head").append('<style id="customize-'+o+'">'+e+"</style>")}function n(t){var o=t.replace("#","");return parseInt(3==o.length?o.substring(0,1).hex.substring(0,1):o.substring(0,2),16)+","+parseInt(3==o.length?o.substring(1,2).hex.substring(1,2):o.substring(2,4),16)+","+parseInt(3==o.length?o.substring(2,3).hex.substring(2,3):o.substring(4,6),16)}function i(){return theme.rtl}o(t(document.body)),wp.customize("porto_header_builder[custom_css]",(function(t){t.bind((function(t){r("porto_header_builder[custom_css]",t)}))})),wp.customize.instance("porto_header_builder[custom_css]")&&r("porto_header_builder[custom_css]",wp.customize.instance("porto_header_builder[custom_css]").get());t.each({top:[".page-wrapper","before","prev"],banner:[".header-wrapper","after","next"],"content-top":["div#main","prepend","children"],"content-inner-top":["div.main-content","prepend","children"],"content-inner-bottom":["div.main-content","append","children"],"content-bottom":["div#main","append","children"],bottom:[".page-wrapper","after","next"]},(function(e,r){wp.customize("porto_settings[html-"+e+"]",(function(n){n.bind((function(n){t(r[0])[r[2]](".porto-block-html-"+e).length||(t(r[0])[r[1]]('<div class="porto-html-block porto-block-html-'+e+'"></div>'),o(t(r[0])[r[2]](".porto-block-html-"+e).parent())),t(r[0])[r[2]](".porto-block-html-"+e).html(n)}))}))}));t.each({"body-bg":"body","content-bg":"#main","content-bottom-bg":"#main .content-bottom-wrapper","header-wrap-bg":".header-wrapper","header-bg":"#header .header-main","breadcrumbs-bg":".page-top","footer-bg":"#footer","footer-main-bg":"#footer .footer-main","footer-top-bg":".footer-top","footer-bottom-bg":"#footer .footer-bottom"},(function(o,e){wp.customize("porto_settings["+o+"]",(function(n){n.bind((function(n){var i="";n&&t.each(n,(function(t,o){o&&"object"!=typeof o&&(i+="background-image"==t?t+": url("+o+");":t+": "+o+";")})),i&&(i=e+"{ "+i+"}"),r("porto_settings["+o+"]",i)}))}))}));var a=document.getElementById("porto-plugins-inline-css");if(a&&"undefined"!=typeof porto_cp_vars&&porto_cp_vars.css_vars){for(var s=null,p=0;p<document.styleSheets.length;p++)if(a===document.styleSheets[p].ownerNode){s=document.styleSheets[p];break}if(s){var c=JSON.parse(porto_cp_vars.css_vars);Object.keys(c).map((function(t){for(var o=c[t],e="",n=0;n<s.rules.length;n++)if(s.rules[n].selectorText==t){e=s.rules[n].style;break}e&&o.forEach((function(t){var o=t[0];wp.customize("porto_settings["+o+"]",(function(n){n.bind((function(n){var i="";if(t.length>=2&&t[1]&&(i=t[1]),3===t.length&&"typography"==t[2]){var a=o.replace("-font",""),s={"font-family":"ff","font-weight":"fw","font-size":"fs","line-height":"lh","letter-spacing":"ls",color:"color"};Object.keys(s).map((function(t){var o="--porto-"+a+"-"+s[t];e.setProperty(o,n[t]+i)})),"body"==a&&n.color&&e.setProperty("--porto-body-color-light-5",n.color)}else{e.setProperty("--porto-"+("skin-color"==o||"skin-color-inverse"==o?o.replace("skin","primary"):o),n+i);var p="";if("grid-gutter-width"==o)e.setProperty("--porto-column-spacing",n/2+i),e.setProperty("--porto-res-spacing",n/2+i),e.setProperty("--porto-fluid-spacing",n+i),e.setProperty("--porto-container-spacing",n/2+i),p+="@media (max-width: 991px) {",p+="}",n>20&&(p+="@media (max-width: 575px) {",p+="}");else if("skin-color"==o||"secondary-color"==o||"tertiary-color"==o||"quaternary-color"==o||"dark-color"==o||"light-color"==o){var c="skin-color"==o?"primary":o.replace("-color","");e.setProperty("--porto-"+c+"-dark-5",m(n,-5)),e.setProperty("--porto-"+c+"-dark-10",m(n,-10)),e.setProperty("--porto-"+c+"-dark-15",m(n,-15)),e.setProperty("--porto-"+c+"-dark-20",m(n,-20)),e.setProperty("--porto-"+c+"-light-5",m(n,5)),e.setProperty("--porto-"+c+"-light-7",m(n,7)),e.setProperty("--porto-"+c+"-light-10",m(n,10))}else if("css-type"==o||"color-dark"==o)if("css-type"!=o||n){var d="color-dark"==o?n:wp.customize.instance("porto_settings[color-dark]").get(),l=m(d,2),g=m(d,5),u=m(d,8),h=m(d,3);e.setProperty("--porto-bgc","#000"),e.setProperty("--porto-body-bg",d),e.setProperty("--porto-color-price","#eee"),e.setProperty("--porto-widget-bgc",g),e.setProperty("--porto-title-bgc",u),e.setProperty("--porto-widget-bc","transparent"),e.setProperty("--porto-input-bc",g),e.setProperty("--porto-slide-bgc",d),e.setProperty("--porto-heading-color","#fff"),e.setProperty("--porto-heading-light-8",m("#fff",-8)),e.setProperty("--porto-normal-bg",g),e.setProperty("--porto-gray-bg",h),e.setProperty("--porto-gray-1",g),e.setProperty("--porto-gray-2",u),e.setProperty("--porto-gray-3",u),e.setProperty("--porto-gray-4","#999"),e.setProperty("--porto-gray-5",g),e.setProperty("--porto-gray-6",g),e.setProperty("--porto-gray-7",l),e.setProperty("--porto-gray-8",g),e.setProperty("--porto-light-1",u),e.setProperty("--porto-light-2",h),e.setProperty("--porto-normal-bc","rgba(255, 255, 255, .06)"),e.setProperty("--porto-label-bg1","rgba(0, 0, 0, .9)")}else e.setProperty("--porto-bgc","#fff"),e.setProperty("--porto-body-bg","#fff"),e.setProperty("--porto-color-price","#444"),e.setProperty("--porto-widget-bgc","#fbfbfb"),e.setProperty("--porto-title-bgc","#f5f5f5"),e.setProperty("--porto-widget-bc","#ddd"),e.setProperty("--porto-input-bc","rgba(0, 0, 0, 0.08)"),e.setProperty("--porto-slide-bgc","#e7e7e7"),e.setProperty("--porto-heading-color","#222529"),e.setProperty("--porto-heading-light-8",m("#222529",8)),e.setProperty("--porto-normal-bg","#fff"),e.setProperty("--porto-gray-bg","#dfdfdf"),e.setProperty("--porto-gray-1","#f4f4f4"),e.setProperty("--porto-gray-2","#e7e7e7"),e.setProperty("--porto-gray-3","#f4f4f4"),e.setProperty("--porto-gray-4","#ccc"),e.setProperty("--porto-gray-5","#e7e7e7"),e.setProperty("--porto-gray-6","#999"),e.setProperty("--porto-gray-7","#f4f4f4"),e.setProperty("--porto-gray-8","#f1f1f1"),e.setProperty("--porto-light-1","#fff"),e.setProperty("--porto-light-2","#fff"),e.setProperty("--porto-normal-bc","rgba(0, 0, 0, .06)"),e.setProperty("--porto-label-bg1","rgba(255, 255, 255, .9)");p&&r("porto_settings["+o+"]",p)}}))}))}))})),wp.customize("porto_header_builder[custom_css]",(function(t){t.bind((function(t){r("porto_header_builder[custom_css]",t)}))}))}}["logo-width","logo-width-sticky","logo-width-wide","logo-width-tablet","logo-width-mobile"].forEach((function(t){wp.customize("porto_settings["+t+"]",(function(o){o.bind((function(o){var e="logo-width-sticky"==t?o:wp.customize.instance("porto_settings[logo-width-sticky]").get();e=e?parseInt(e,10):80;var n="",i="px",a=wp.customize.instance("porto_settings[container-width]").get(),s=wp.customize.instance("porto_settings[grid-gutter-width]").get(),p="logo-width"==t?o:wp.customize.instance("porto_settings[logo-width]").get(),c="logo-width-wide"==t?o:wp.customize.instance("porto_settings[logo-width-wide]").get(),d="logo-width-tablet"==t?o:wp.customize.instance("porto_settings[logo-width-tablet]").get(),l="logo-width-mobile"==t?o:wp.customize.instance("porto_settings[logo-width-mobile]").get();p||(p=170),c||(c=250),n+="#header .logo {",n+="--porto-logo-mw: "+(p+i)+";",n+="--porto-sticky-logo-mw: "+(wp.customize.instance("porto_settings[change-header-logo]").get()?e:1.25*e)+"px;",n+="}",n+=".side-header-narrow-bar-logo {",n+="--porto-side-logo-mw: "+(p+i)+";",n+="}",n+="@media (min-width:"+(parseInt(a,10)+parseInt(s,10))+"px) {",n+="#header .logo {--porto-logo-mw:"+c+"px}",n+="}",n+="@media (max-width: 991px) {",n+="#header .logo {--porto-logo-mw:"+(d||110)+"px}",n+="}",n+="@media (max-width: 767px) {",n+="#header .logo {--porto-logo-mw:"+(l||110)+"px}",r("porto_settings[logo-width]",n+="}")}))}))}));t.each({"body-bg-gcolor":"body","header-wrap-bg-gcolor":".header-wrapper","header-bg-gcolor":"#header .header-main","content-bg-gcolor":"#main","content-bottom-bg-gcolor":"#main .content-bottom-wrapper","breadcrumbs-bg-gcolor":".page-top","footer-bg-gcolor":"#footer","footer-main-bg-gcolor":"#footer .footer-main","footer-top-bg-gcolor":".footer-top","footer-bottom-bg-gcolor":"#footer .footer-bottom"},(function(t,o){wp.customize("porto_settings["+t+"]",(function(e){e.bind((function(e){var n="";e&&e.from&&e.to&&(n+="background-image: -moz-linear-gradient(top, "+e.from+", "+e.to+");",n+="background-image: -webkit-gradient(linear, 0 0, 0 100%, from("+e.from+"), to("+e.to+"));",n+="background-image: -webkit-linear-gradient(top, "+e.from+", "+e.to+");",n+="background-image: linear-gradient(to bottom, "+e.from+", "+e.to+");",n=o+"{ "+(n+="background-repeat: repeat-x;")+"}"),r("porto_settings["+t+"]",n)}))}))})),wp.customize("porto_settings[content-bottom-padding]",(function(t){t.bind((function(t){var o="";(t["padding-top"]||t["padding-bottom"])&&(o+="#main .content-bottom-wrapper {",t["padding-top"]&&(o+="padding-top: "+t["padding-top"]+"px;"),t["padding-bottom"]&&(o+="padding-bottom: "+t["padding-bottom"]+"px;"),o+="}"),r("porto_settings[content-bottom-padding]",o)}))})),wp.customize("porto_settings[header-text-color]",(function(t){t.bind((function(t){r("porto_settings[header-text-color]","#header, #header .header-main .header-contact .nav-top > li > a, #header .top-links > li.menu-item:before{color:"+t+"}")}))})),wp.customize("porto_settings[header-margin]",(function(o){o.bind((function(o){var e=wp.customize.instance("porto_settings[logo-overlay]").get();if(t("body").hasClass("rtl")){var n=o["margin-left"];o["margin-left"]=o["margin-right"],o["margin-right"]=n}t.each(o,(function(t,e){""==e&&(o[t]="0")}));var i="@media (min-width: 992px) {";i+="#header { margin: "+o["margin-top"]+"px "+o["margin-right"]+"px "+o["margin-bottom"]+"px "+o["margin-left"]+"px;}",o["margin-top"]&&e&&e.url&&(i+="#header.logo-overlay-header .overlay-logo { top: -"+o["margin-top"]+"px }",i+="#header.logo-overlay-header.sticky-header .overlay-logo { top: -"+(90+o["margin-top"])+"px }"),r("porto_settings[header-margin]",i+="}")}))})),wp.customize("porto_settings[header-main-padding]",(function(t){t.bind((function(t){var o="";(t["padding-top"]||t["padding-bottom"])&&(o+="#header .header-main .header-left, #header .header-main .header-center, #header .header-main .header-right, .fixed-header #header .header-main .header-left, .fixed-header #header .header-main .header-right, .fixed-header #header .header-main .header-center {",t["padding-top"]&&(o+="padding-top: "+t["padding-top"]+";"),t["padding-bottom"]&&(o+="padding-bottom: "+t["padding-bottom"]+";"),o+="}"),r("porto_settings[header-main-padding]",o)}))})),wp.customize("porto_settings[header-main-padding-mobile]",(function(t){t.bind((function(t){var o="";(t["padding-top"]||t["padding-bottom"])&&(o+="@media (max-width: 991px) { #header .header-main .header-left, #header .header-main .header-center, #header .header-main .header-right {",t["padding-top"]&&(o+="padding-top: "+t["padding-top"]+"px;"),t["padding-bottom"]&&(o+="padding-bottom: "+t["padding-bottom"]+"px;"),o+="} }"),r("porto_settings[header-main-padding-mobile]",o)}))})),wp.customize("porto_settings[header-opacity]",(function(t){t.bind((function(t){t=""==(t=t.replace("%",""))?.8:parseFloat(t)/100;var o=wp.customize.instance("porto_settings[header-bg]").get(),e="";o["background-color"]&&"transparent"!=o["background-color"]&&(e+=".fixed-header #header .header-main { background-color: rgba("+n(o["background-color"])+","+t+"); }",e+="@media (min-width: 992px) {",e+=".header-wrapper.header-side-nav.fixed-header #header { background-color: rgba("+n(o["background-color"])+","+t+"); }",e+="}"),r("porto_settings[header-opacity]",e)}))})),wp.customize("porto_settings[searchform-opacity]",(function(t){t.bind((function(t){t=""==(t=t.replace("%",""))?.8:parseFloat(t)/100;var o=wp.customize.instance("porto_settings[searchform-bg-color]").get(),e=wp.customize.instance("porto_settings[searchform-border-color]").get(),i=".fixed-header #header .searchform {";o&&"transparent"!=o&&(i+="background-color: rgba("+n(o)+","+t+");"),e&&"transparent"!=e&&(i+="border-color: rgba("+n(e)+","+t+");"),r("porto_settings[searchform-opacity]",i+"}")}))}));t.each({"menuwrap-opacity":["mainmenu-wrap-bg-color",".fixed-header #header .main-menu-wrap"],"menu-opacity":["mainmenu-bg-color",".fixed-header #header .main-menu"],"footer-opacity":["footer-bottom-bg",".footer-wrapper.fixed #footer .footer-bottom"]},(function(t,o){wp.customize("porto_settings["+t+"]",(function(e){e.bind((function(e){e=""==(e=e.replace("%",""))?.8:parseFloat(e)/100;var i=wp.customize.instance("porto_settings["+o[0]+"]").get();void 0!==i["background-color"]&&(i=i["background-color"]),r("porto_settings["+t+"]",i&&"transparent"!=i?o[1]+"{ background-color: rgba("+n(i)+","+e+") }":"")}))}))})),wp.customize("porto_settings[header-fixed-show-bottom]",(function(o){o.bind((function(o){"1"==o&&t(".header-wrapper").hasClass("fixed-header")?t(".header-wrapper").addClass("header-transparent-bottom-border"):t(".header-wrapper").removeClass("header-transparent-bottom-border")}))})),wp.customize("porto_settings[header-top-bg-color]",(function(t){t.bind((function(t){r("porto_settings[header-top-bg-color]",".header-top { background-color: "+t+"; }")}))})),wp.customize("porto_settings[header-top-height]",(function(t){t.bind((function(t){r("porto_settings[header-top-height]",t?".header-top { min-height: "+t+"px; }":"")}))})),wp.customize("porto_settings[header-top-font-size]",(function(t){t.bind((function(t){r("porto_settings[header-top-font-size]",t?"#header .header-top { font-size: "+t+"px; }":"")}))})),wp.customize("porto_settings[header-bottom-height]",(function(t){t.bind((function(t){r("porto_settings[header-bottom-height]",t?".header-bottom { min-height: "+t+"px; }":"")}))})),wp.customize("porto_settings[header-top-bottom-border]",(function(t){t.bind((function(t){r("porto_settings[header-top-bottom-border]",t["border-top"]?".header-top { border-bottom: "+t["border-top"]+" solid "+t["border-color"]+"; }":".header-top { border-bottom: none; }")}))})),wp.customize("porto_settings[header-top-text-color]",(function(t){t.bind((function(t){r("porto_settings[header-top-text-color]","#header .header-top, .header-top .top-links > li.menu-item:after { color: "+t+" }")}))})),wp.customize("porto_settings[header-top-link-color]",(function(t){t.bind((function(t){var o="";t&&t.regular&&(o+="#header .header-top .header-contact a, #header .header-top .top-links > li.menu-item > a, .header-top .welcome-msg a, #header:not(.header-corporate) .header-top .share-links > a, #header.header-19 .searchform-popup .search-toggle { color: "+t.regular+" }"),t&&t.hover&&(o+="#header .header-top .header-contact a:hover, #header .header-top .top-links > li.menu-item.active > a, #header .header-top .top-links > li.menu-item:hover > a, #header .header-top .top-links > li.menu-item > a.active, #header .header-top .top-links > li.menu-item.has-sub:hover > a, .header-top .welcome-msg a:hover, #header:not(.header-corporate) .header-top .share-links > a:hover, #header.header-19 .searchform-popup .search-toggle:hover { color: "+t.hover+" }"),r("porto_settings[header-top-link-color]",o)}))})),wp.customize("porto_settings[header-top-menu-padding]",(function(t){t.bind((function(t){var o="";t["padding-top"]&&(o+="padding-top: "+t["padding-top"]+"px;"),t["padding-bottom"]&&(o+="padding-bottom: "+t["padding-bottom"]+"px;"),t["padding-left"]&&(o+="padding-left: "+t["padding-left"]+"px;"),t["padding-right"]&&(o+="padding-right: "+t["padding-right"]+"px;"),o&&(o="#header .header-top .top-links > li.menu-item > a {"+o+"}"),r("porto_settings[header-top-menu-padding]",o)}))})),wp.customize("porto_settings[header-top-menu-hide-sep]",(function(t){t.bind((function(t){var o="";"0"==t?(o+="#header .header-top .top-links > li.menu-item:first-child > a { padding-"+(i()?"right":"left")+": 0; }",o+="#header .header-top .top-links > li.menu-item:last-child:after { display: none; }"):(o+='#header .top-links > li.menu-item:after { content: ""; display: none; }',o+="#header .header-top .gap { visibility: hidden; }"),r("porto_settings[header-top-menu-hide-sep]",o)}))})),wp.customize("porto_settings[header-bottom-bg-color]",(function(t){t.bind((function(t){r("porto_settings[header-bottom-bg-color]",".header-bottom { background-color: "+t+"; }")}))})),wp.customize("porto_settings[header-bottom-container-bg-color]",(function(t){t.bind((function(t){r("porto_settings[header-bottom-container-bg-color]",".header-bottom > .container { background-color: "+t+"; }")}))})),wp.customize("porto_settings[header-bottom-text-color]",(function(t){t.bind((function(t){r("porto_settings[header-bottom-text-color]","#header .header-bottom { color: "+t+"; }")}))})),wp.customize("porto_settings[header-bottom-link-color]",(function(t){t.bind((function(t){var o="";t.regular&&(o+="#header .header-bottom a { color: "+t.regular+"; }"),t.hover&&(o+="#header .header-bottom a:hover { color: "+t.hover+"; }"),r("porto_settings[header-bottom-link-color]",o)}))})),wp.customize("porto_settings[side-social-bg-color]",(function(t){t.bind((function(t){"header_builder"!=wp.customize.instance("porto_settings[header-type-select]").get()&&"side"==wp.customize.instance("porto_settings[header-type]").get()&&r("porto_settings[side-social-bg-color]",".header-wrapper #header .share-links a { background-color: "+t+"; }")}))})),wp.customize("porto_settings[side-social-color]",(function(t){t.bind((function(t){"header_builder"!=wp.customize.instance("porto_settings[header-type-select]").get()&&"side"==wp.customize.instance("porto_settings[header-type]").get()&&r("porto_settings[side-social-color]",".header-wrapper #header .share-links a { color: "+t+"; }")}))})),wp.customize("porto_settings[side-copyright-color]",(function(t){t.bind((function(t){"header_builder"!=wp.customize.instance("porto_settings[header-type-select]").get()&&"side"==wp.customize.instance("porto_settings[header-type]").get()&&r("porto_settings[side-copyright-color]",".header-wrapper #header .header-copyright { color: "+t+"; }")}))})),wp.customize("porto_settings[mainmenu-wrap-bg-color]",(function(t){t.bind((function(t){r("porto_settings[mainmenu-wrap-bg-color]",".main-menu-wrap { background-color: "+t+"}")}))}));t.each({"mainmenu-wrap-padding":".main-menu-wrap","mainmenu-wrap-padding-sticky":"#header.sticky-header .main-menu-wrap, #header.sticky-header .header-main.sticky .header-left, #header.sticky-header .header-main.sticky .header-center, #header.sticky-header .header-main.sticky .header-right"},(function(t,o){wp.customize("porto_settings["+t+"]",(function(e){e.bind((function(e){var n="";e["padding-top"]&&(n+="padding-top: "+e["padding-top"]+"px;"),e["padding-bottom"]&&(n+="padding-bottom: "+e["padding-bottom"]+"px;"),e["padding-left"]&&(n+="padding-"+(i()?"right":"left")+": "+e["padding-left"]+"px;"),e["padding-right"]&&(n+="padding-"+(i()?"left":"right")+": "+e["padding-right"]+"px;"),n&&(n=o+"{"+n+"}"),r("porto_settings["+t+"]",n)}))}))})),wp.customize("porto_settings[mainmenu-toplevel-link-color-sticky]",(function(t){t.bind((function(t){var o="";t.regular&&(o+="#header.sticky-header .main-menu > li.menu-item > a, #header.sticky-header .main-menu > li.menu-custom-content a { color: "+t.regular+" }"),t.hover&&(o+="#header.sticky-header .main-menu > li.menu-item:hover > a, #header.sticky-header .main-menu > li.menu-item.active:hover > a, #header.sticky-header .main-menu > li.menu-custom-content:hover a { color: "+t.hover+" }"),t.active&&(o+="#header.sticky-header .main-menu > li.menu-item.active > a, #header.sticky-header .main-menu > li.menu-custom-content.active a { color: "+t.active+" }"),r("porto_settings[mainmenu-toplevel-link-color-sticky]",o)}))})),wp.customize("porto_settings[mainmenu-toplevel-alink-color]",(function(t){t.bind((function(t){r("porto_settings[mainmenu-toplevel-alink-color]","#header .main-menu > li.menu-item.active > a { color: "+t+"}")}))})),wp.customize("porto_settings[mainmenu-toplevel-abg-color]",(function(t){t.bind((function(t){r("porto_settings[mainmenu-toplevel-abg-color]","#header .main-menu > li.menu-item.active > a { background-color: "+t+"}")}))})),wp.customize("porto_settings[menu-popup-text-transform]",(function(t){t.bind((function(t){r("porto_settings[menu-popup-text-transform]",".popup .sub-menu { text-transform: "+t+" }")}))})),wp.customize("porto_settings[mainmenu-popup-heading-color]",(function(t){t.bind((function(t){r("porto_settings[mainmenu-popup-heading-color]","#header .main-menu .wide li.sub > a, .side-nav-wrap .sidebar-menu .wide li.sub > a { color: "+t+" }")}))})),wp.customize("porto_settings[mainmenu-tip-bg-color]",(function(t){t.bind((function(t){r("porto_settings[mainmenu-tip-bg-color]",".mega-menu .tip, .sidebar-menu .tip, .accordion-menu .tip, .menu-custom-block .tip { background: "+t+" }")}))})),wp.customize("porto_settings[menu-custom-text-color]",(function(t){t.bind((function(t){r("porto_settings[menu-custom-text-color]","#header .menu-custom-block, #header .menu-custom-block span { color: "+t+" }")}))})),wp.customize("porto_settings[menu-custom-link]",(function(t){t.bind((function(t){var o="";t.regular&&(o+="#header .menu-custom-block a { color: "+t.regular+" }"),t.hover&&(o+="#header .menu-custom-block a:hover { color: "+t.hover+" }"),r("porto_settings[menu-custom-link]",o)}))})),wp.customize("porto_settings[breadcrumbs-top-border]",(function(t){t.bind((function(t){r("porto_settings[breadcrumbs-top-border]",".page-top { border-top: "+t["border-top"]+" solid "+t["border-color"]+"; }")}))})),wp.customize("porto_settings[breadcrumbs-bottom-border]",(function(t){t.bind((function(t){r("porto_settings[breadcrumbs-bottom-border]",".page-top { border-bottom: "+t["border-top"]+" solid "+t["border-color"]+"; }")}))})),wp.customize("porto_settings[breadcrumbs-padding]",(function(t){t.bind((function(t){var o="";t["padding-top"]&&(o+="padding-top: "+t["padding-top"]+"px;"),t["padding-bottom"]&&(o+="padding-bottom: "+t["padding-bottom"]+"px;"),t["padding-left"]&&(o+="padding-"+(i()?"right":"left")+": "+t["padding-left"]+"px;"),t["padding-right"]&&(o+="padding-"+(i()?"left":"right")+": "+t["padding-right"]+"px;"),o&&(o=".page-top > .container {"+o+"}"),o+=".page-top .sort-source { ",t["padding-left"]&&(o+="padding-left: "+t["padding-left"]+"px;",o+="margin-left: -"+t["padding-left"]+"px;"),t["padding-right"]&&(o+="padding-right: "+t["padding-right"]+"px;",o+="margin-right: -"+t["padding-right"]+"px;"),r("porto_settings[breadcrumbs-padding]",o+="}")}))})),wp.customize("porto_settings[breadcrumbs-text-color]",(function(t){t.bind((function(t){var o="";t&&(o+=".page-top ul.breadcrumb > li, .page-top ul.breadcrumb > li .delimiter, .page-top .yoast-breadcrumbs, .page-top .breadcrumbs-wrap { color: "+t+"; }"),r("porto_settings[breadcrumbs-text-color]",o)}))})),wp.customize("porto_settings[breadcrumbs-link-color]",(function(t){t.bind((function(t){var o="";t&&(o+=".page-top ul.breadcrumb > li a, .page-top .yoast-breadcrumbs a, .page-top .breadcrumbs-wrap a, .page-top .product-nav .product-link { color: "+t+"; }"),r("porto_settings[breadcrumbs-link-color]",o)}))})),wp.customize("porto_settings[breadcrumbs-title-color]",(function(t){t.bind((function(t){var o="";t&&(o+=".page-top .page-title, .page-top .sort-source > li > a { color: "+t+" }"),r("porto_settings[breadcrumbs-title-color]",o)}))})),wp.customize("porto_settings[breadcrumbs-subtitle-color]",(function(t){t.bind((function(t){var o="";t&&(o+=".page-top .page-sub-title { color: "+t+" }"),r("porto_settings[breadcrumbs-subtitle-color]",o)}))})),wp.customize("porto_settings[breadcrumbs-subtitle-margin]",(function(o){o.bind((function(o){if(t("body").hasClass("rtl")){var e=o["margin-left"];o["margin-left"]=o["margin-right"],o["margin-right"]=e}t.each(o,(function(t,e){""==e&&(o[t]="0")})),r("porto_settings[breadcrumbs-subtitle-margin]",".page-top .page-sub-title { margin: "+o["margin-top"]+"px "+o["margin-right"]+"px "+o["margin-bottom"]+"px "+o["margin-left"]+"px;}")}))})),wp.customize("porto_settings[footer-heading-color]",(function(t){t.bind((function(t){var o="";t&&(o+="#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6, #footer .widget-title, #footer h1 a, #footer h2 a, #footer h3 a, #footer h4 a, #footer h5 a, #footer h6 a, #footer .widget-title a {color:"+t+"}"),r("porto_settings[footer-heading-color]",o)}))})),wp.customize("porto_settings[footer-label-color]",(function(t){t.bind((function(t){var o="";t&&(o+="#footer .widget.contact-info .contact-details strong{color:"+t+"}"),r("porto_settings[footer-label-color]",o)}))})),wp.customize("porto_settings[footer-text-color]",(function(t){t.bind((function(t){var o="";t&&(o+="#footer, #footer p, #footer .widget > div > ul li, #footer .widget > ul li{color:"+t+"}",o+="#footer .widget .tagcloud a, #footer .widget > div > ul, #footer .widget > ul, #footer .widget > div > ul li, #footer .widget > ul li, #footer .post-item-small{border-color:rgba("+n(t)+",0.3)}"),r("porto_settings[footer-text-color]",o)}))})),wp.customize("porto_settings[footer-link-color]",(function(t){t.bind((function(t){var o="";t&&t.regular&&(o+="#footer a, #footer .tooltip-icon{color:"+t.regular+"}",o+="#footer .tooltip-icon{border-color:"+t.regular+"}"),t&&t.hover&&(o+="#footer a:hover{color:"+t.hover+"}"),r("porto_settings[footer-link-color]",o)}))})),wp.customize("porto_settings[footer-ribbon-text-color]",(function(t){t.bind((function(t){var o="";t&&(o+="#footer .footer-ribbon, #footer .footer-ribbon a, #footer .footer-ribbon a:hover, #footer .footer-ribbon a:focus{color:"+t+"}"),r("porto_settings[footer-ribbon-text-color]",o)}))})),wp.customize("porto_settings[footer-top-padding]",(function(t){t.bind((function(t){var o="";(t["padding-top"]||t["padding-bottom"])&&(o+=".footer-top {",t["padding-top"]&&(o+="padding-top: "+t["padding-top"]+"px;"),t["padding-bottom"]&&(o+="padding-bottom: "+t["padding-bottom"]+"px;"),o+="}"),r("porto_settings[footer-top-padding]",o)}))})),wp.customize("porto_settings[footer-bottom-text-color]",(function(t){t.bind((function(t){var o="";t&&(o+="#footer .footer-bottom, #footer .footer-bottom p, #footer .footer-bottom .widget > div > ul li, #footer .footer-bottom .widget > ul li{color:"+t+"}"),r("porto_settings[footer-bottom-text-color]",o)}))})),wp.customize("porto_settings[footer-bottom-link-color]",(function(t){t.bind((function(t){var o="";t&&t.regular&&(o+="#footer .footer-bottom a{color:"+t.regular+"}"),t&&t.hover&&(o+="#footer .footer-bottom a:hover{color:"+t.hover+"}"),r("porto_settings[footer-bottom-link-color]",o)}))})),wp.customize("porto_settings[footer-social-bg-color]",(function(t){t.bind((function(t){var o="";t&&"transparent"!=t?o+=".footer .share-links a:not(:hover), .footer-top .share-links a:not(:hover) {background:"+t+"}":t&&"transparent"==t&&(o+=".footer .share-links a, .footer-top .share-links a {background:"+t+"}"),r("porto_settings[footer-social-bg-color]",o)}))})),wp.customize("porto_settings[footer-social-link-color]",(function(t){t.bind((function(t){var o="",e=wp.customize.instance("porto_settings[footer-social-bg-color]").get();t&&(e&&"transparent"!=e?o+=".footer .share-links a:not(:hover),.footer-top .share-links a:not(:hover){color:"+t+"}":e&&"transparent"==e&&(o+=".footer .share-links a, .footer-top .share-links a{color:"+t+"}")),r("porto_settings[footer-social-link-color]",o)}))})),wp.customize("porto_settings[footer-copyright]",(function(o){o.bind((function(o){t("#footer .footer-copyright").text(o)}))})),wp.customize("porto_settings[mobile-menu-toggle-text-color]",(function(t){t.bind((function(t){r("porto_settings[mobile-menu-toggle-text-color]","#header .mobile-toggle {color:"+t+"}")}))})),wp.customize("porto_settings[mobile-menu-toggle-bg-color]",(function(t){t.bind((function(t){r("porto_settings[mobile-menu-toggle-bg-color]","#header .mobile-toggle {background-color:"+(t||wp.customize.instance("porto_settings[skin-color]").get())+"}")}))})),wp.customize("porto_settings[panel-bg-color]",(function(t){t.bind((function(t){var o="";if(t){var e=wp.customize.instance("porto_settings[mobile-panel-type]").get();o+="side"==e?"#side-nav-panel":"#nav-panel .mobile-nav-wrap",o+="{background-color:"+t+"}",o+="side"==e?"#side-nav-panel .accordion-menu li.menu-item.active > a,#side-nav-panel .menu-custom-block a:hover":"#nav-panel .menu-custom-block a:hover",o+="{background-color:rgba("+n(t)+",0.95)}"}r("porto_settings[panel-bg-color]",o)}))})),wp.customize("porto_settings[panel-text-color]",(function(t){t.bind((function(t){var o="";t&&("side"==wp.customize.instance("porto_settings[mobile-panel-type]").get()?o+="#side-nav-panel, #side-nav-panel .welcome-msg, #side-nav-panel .accordion-menu, #side-nav-panel .menu-custom-block, #side-nav-panel .menu-custom-block span":o+="#nav-panel, #nav-panel .welcome-msg, #nav-panel .accordion-menu, #nav-panel .menu-custom-block, #nav-panel .menu-custom-block span",o+="{color:"+t+"}"),r("porto_settings[panel-text-color]",o)}))})),wp.customize("porto_settings[panel-border-color]",(function(t){t.bind((function(t){var o="";t&&("side"==wp.customize.instance("porto_settings[mobile-panel-type]").get()?o+="#side-nav-panel .accordion-menu li:not(:last-child)":o+="#nav-panel .accordion-menu li",o+="{border-bottom-color:"+t+"}"),r("porto_settings[panel-border-color]",o)}))})),wp.customize("porto_settings[panel-link-hbgcolor]",(function(t){t.bind((function(t){var o="";t&&!wp.customize.instance("porto_settings[mobile-panel-type]").get()&&(o+="#nav-panel .accordion-menu .sub-menu li:not(.active):hover > a{background:"+t+"}"),r("porto_settings[panel-link-hbgcolor]",o)}))})),wp.customize("porto_settings[panel-link-color]",(function(t){t.bind((function(t){var o=wp.customize.instance("porto_settings[mobile-panel-type]").get(),e="";if(t.regular||(t.regular="side"==o?"#fff":"#333"),"side"==o)e+="#side-nav-panel .accordion-menu li.menu-item > a, #side-nav-panel .menu-custom-block a{color:"+t.regular+"}";else{e+="#nav-panel .accordion-menu li.menu-item > a, #nav-panel .accordion-menu .arrow, #nav-panel .menu-custom-block a{color:"+t.regular+"}";var n=wp.customize.instance("porto_settings[skin-color]").get();n&&(e+="#nav-panel .accordion-menu > li.menu-item > a, #nav-panel .accordion-menu > li.menu-item > .arrow{color:"+n+"}")}t.hover&&(e+="side"==o?"#side-nav-panel .accordion-menu li.menu-item.active > a, #side-nav-panel .menu-custom-block a:hover":"#nav-panel .accordion-menu li.menu-item:hover > a, #nav-panel .accordion-menu .arrow:hover, #nav-panel .menu-custom-block a:hover",e+="{color:"+t.hover+"}"),r("porto_settings[panel-link-color]",e)}))})),wp.customize("porto_settings[switcher-bg-color]",(function(t){t.bind((function(t){r("porto_settings[switcher-bg-color]",t?"#header .porto-view-switcher > li.menu-item > a {background-color:"+t+"}":"")}))})),wp.customize("porto_settings[switcher-top-level-hover]",(function(t){t.bind((function(t){var o="";"1"==t&&(o+="#header .porto-view-switcher > li.menu-item:hover > a, #header .porto-view-switcher > li.menu-item > a.active {color:"+wp.customize.instance("porto_settings[switcher-link-color]").get().hover+";background:"+wp.customize.instance("porto_settings[switcher-hbg-color]").get()+"}"),r("porto_settings[switcher-top-level-hover]",o)}))})),wp.customize("porto_settings[switcher-link-color]",(function(t){t.bind((function(t){var o="";t&&t.regular&&(o+="#header .porto-view-switcher > li.menu-item:before, #header .porto-view-switcher > li.menu-item > a { color: "+t.regular+" }"),t&&t.hover&&(wp.customize.instance("porto_settings[switcher-top-level-hover]").get()&&(o+="#header .porto-view-switcher > li.menu-item:hover > a, #header .porto-view-switcher > li.menu-item > a.active {color:"+t+"}"),o+="#header .porto-view-switcher .narrow li.menu-item > a, #header .porto-view-switcher .narrow li.menu-item > a.active, #header .porto-view-switcher .narrow li.menu-item:hover > a { color: "+t.hover+" }"),r("porto_settings[switcher-link-color]",o)}))})),wp.customize("porto_settings[account-dropdown-bgc]",(function(t){t.bind((function(t){r("porto_settings[account-dropdown-bgc]",t?"ul.account-dropdown .narrow ul.sub-menu {background-color:"+t+"}":"")}))})),wp.customize("porto_settings[account-dropdown-hbgc]",(function(t){t.bind((function(t){r("porto_settings[account-dropdown-hbgc]",t?"ul.account-dropdown .sub-menu li.menu-item:hover > a, ul.account-dropdown .sub-menu li.menu-item.active > a, ul.account-dropdown .sub-menu li.menu-item.is-active > a {background-color:"+t+"}":"")}))})),wp.customize("porto_settings[account-dropdown-lc]",(function(t){t.bind((function(t){var o="";t&&t.regular&&(o+=".account-dropdown .sub-menu li.menu-item:before, .account-dropdown .sub-menu li.menu-item > a { color: "+t.regular+" }"),t&&t.hover&&(o+="ul.account-dropdown .sub-menu li.menu-item:hover > a, ul.account-dropdown .sub-menu li.menu-item.active > a, ul.account-dropdown .sub-menu li.menu-item.is-active > a { color: "+t.hover+" }"),r("porto_settings[account-dropdown-lc]",o)}))})),wp.customize("porto_settings[searchform-border-color]",(function(t){t.bind((function(t){var o="",e=wp.customize.instance("porto_settings[searchform-opacity]").get().replace("%","");e=""==e?.8:parseFloat(e)/100,t&&"transparent"!=t&&(o+=".fixed-header #header .searchform{border-color: rgba("+n(t)+","+e+")}"),t&&(o+="#header .searchform, .fixed-header #header.sticky-header .searchform, #header .searchform input, #header .searchform select, #header .searchform .selectric, #header .searchform .selectric-hover .selectric, #header .searchform .selectric-open .selectric, #header .searchform .autocomplete-suggestions, #header .searchform .selectric-items","simple"==wp.customize.instance("porto_settings[search-layout]").get()&&(o+=",#header .searchform .searchform-fields"),o+="{border-color:"+t+"}"),r("porto_settings[searchform-border-color]",o)}))})),wp.customize("porto_settings[searchform-popup-border-color]",(function(t){t.bind((function(t){var o="";t&&"simple"!=wp.customize.instance("porto_settings[search-layout]").get()&&(o+="#header .searchform-popup .search-toggle:after { border-bottom-color: "+t+" }",o+="#header .search-popup .searchform { border-color: "+t+" }",o+="@media (max-width: 991px) {",o+="#header .searchform { border-color: "+t+" }",o+="}"),r("porto_settings[searchform-popup-border-color]",o)}))})),wp.customize("porto_settings[searchform-hover-color]",(function(t){t.bind((function(t){r("porto_settings[searchform-hover-color]","#header .searchform button { color: "+t+"}")}))})),wp.customize("porto_settings[sticky-searchform-popup-border-color]",(function(t){t.bind((function(t){var o="";t&&"simple"!=wp.customize.instance("porto_settings[search-layout]").get()&&(o="#header.sticky-header .searchform-popup .searchform { border-color: "+t+"} #header.sticky-header .searchform-popup .search-toggle:after { border-bottom-color: "+t+"}"),r("porto_settings[sticky-searchform-popup-border-color]",o)}))})),wp.customize("porto_settings[sticky-searchform-toggle-color]",(function(t){t.bind((function(t){r("porto_settings[sticky-searchform-toggle-text-color]",t&&t.regular?"#header.sticky-header .searchform-popup .search-toggle { color: "+t.regular+"}":""),r("porto_settings[sticky-searchform-toggle-hover-color]",t&&t.hover?"#header.sticky-header .searchform-popup .search-toggle:hover { color: "+t.hover+"}":"")}))})),wp.customize("porto_settings[minicart-icon-color]",(function(t){t.bind((function(t){r("porto_settings[minicart-icon-color]",t?"#mini-cart .cart-subtotal, #mini-cart .minicart-icon { color: "+t+"}":"")}))})),wp.customize("porto_settings[minicart-item-color]",(function(t){t.bind((function(t){r("porto_settings[minicart-item-color]",t?"#mini-cart .cart-items, #mini-cart .cart-items-text { color: "+t+"}":"")}))})),wp.customize("porto_settings[minicart-item-bg-color]",(function(t){t.bind((function(t){r("porto_settings[minicart-item-bg-color]",t?"#mini-cart .cart-items { background-color: "+t+"}":"")}))})),wp.customize("porto_settings[minicart-bg-color]",(function(t){t.bind((function(t){r("porto_settings[minicart-bg-color]",t?"#mini-cart { background: "+t+"}":"")}))})),wp.customize("porto_settings[minicart-popup-border-color]",(function(t){t.bind((function(t){r("porto_settings[minicart-popup-border-color]",t?"#mini-cart .cart-popup { border: 1px solid "+t+"} #mini-cart .cart-popup:after{ border-bottom-color: "+t+"}":"")}))})),wp.customize("porto_settings[sticky-minicart-icon-color]",(function(t){t.bind((function(t){r("porto_settings[sticky-minicart-icon-color]",t?".sticky-header #mini-cart .cart-subtotal, .sticky-header #mini-cart .minicart-icon { color: "+t+"}":"")}))})),wp.customize("porto_settings[sticky-minicart-item-color]",(function(t){t.bind((function(t){r("porto_settings[sticky-minicart-item-color]",t?".sticky-header #mini-cart .cart-items, .sticky-header #mini-cart .cart-items-text { color: "+t+"}":"")}))})),wp.customize("porto_settings[sticky-minicart-item-bg-color]",(function(t){t.bind((function(t){r("porto_settings[sticky-minicart-item-bg-color]",t?".sticky-header #mini-cart .cart-items { background-color: "+t+"}":"")}))})),wp.customize("porto_settings[sticky-minicart-bg-color]",(function(t){t.bind((function(t){r("porto_settings[sticky-minicart-bg-color]",t?".sticky-header #mini-cart { background: "+t+"}":"")}))})),wp.customize("porto_settings[sticky-minicart-popup-border-color]",(function(t){t.bind((function(t){r("porto_settings[sticky-minicart-popup-border-color]",t?".sticky-header #mini-cart .cart-popup { border: 1px solid "+t+"} .sticky-header #mini-cart .cart-popup:after{ border-bottom-color: "+t+"}":"")}))})),wp.customize("porto_settings[css-code]",(function(t){t.bind((function(t){r("porto_settings[css-code]",t)}))})),wp.customize("porto_settings[sticky-header-effect]",(function(o){o.bind((function(o){"reveal"==o?t(".header-wrapper").addClass("header-reveal"):t(".header-wrapper").removeClass("header-reveal")}))})),wp.customize("porto_settings[show-sticky-logo]",(function(t){t.bind((function(t){r("porto_settings[show-sticky-logo]","1"==t?"":"#header.sticky-header .logo { display: none !important; }")}))})),wp.customize("porto_settings[show-sticky-searchform]",(function(t){t.bind((function(t){r("porto_settings[show-sticky-searchform]","1"==t?"":"#header.sticky-header .searchform-popup { display: none !important; }")}))})),wp.customize("porto_settings[show-sticky-minicart]",(function(t){t.bind((function(t){r("porto_settings[show-sticky-minicart]","1"==t?"":"#header.sticky-header #mini-cart { display: none !important; }")}))})),wp.customize("porto_settings[show-sticky-menu-custom-content]",(function(t){t.bind((function(t){r("porto_settings[show-sticky-menu-custom-content]","1"==t?"":"#header.sticky-header .menu-custom-content { display: none !important; }")}))})),wp.customize("porto_settings[mobile-panel-pos]",(function(o){o.bind((function(o){o?t("#side-nav-panel").attr("class","").addClass(o):t("#side-nav-panel").attr("class","");var e=o?i()?"panel-left"==o?"right":"left":o.replace("panel-",""):i()?"right":"left";r("porto_settings[mobile-panel-pos]","html.panel-opened { margin-"+e+": 260px !important; margin-"+("left"==e?"right":"left")+": -260px !important; }")}))})),wp.customize("porto_settings[menu-arrow]",(function(o){o.bind((function(o){"1"==o?t(".top-links.mega-menu, .top-links.accordion-menu, .main-menu.mega-menu").addClass("show-arrow"):t(".top-links.mega-menu, .top-links.accordion-menu, .main-menu.mega-menu").removeClass("show-arrow")}))})),wp.customize("porto_settings[menu-type]",(function(o){o.bind((function(o){t(".main-menu.mega-menu, .main-menu-wrap").removeClass("menu-flat").removeClass("menu-flat-border").removeClass("side").removeClass("menu-hover-line").removeClass("menu-hover-underline"),o&&t(".main-menu.mega-menu, .main-menu-wrap").addClass(o)}))}));function d(t,o,e){return e<0?e+=1:e>1&&(e-=1),6*e<1?t+(o-t)*e*6:2*e<1?o:3*e<2?t+(o-t)*(2/3-e)*6:t}function l(t,o){var e,r,n,i,a,s,p,c,l,m,g=(e=t,r=(e=Number.parseInt(e.slice(1),16))%256,n=(e/=256)%256,i=e/=256,a=Math.min(i,n,r),s=Math.max(i,n,r),p=a+s,c=Number(s-a),l=0,m=0,c&&(m=p<255?c/p:c/(510-p),i==s?l=60*(n-r)/c:n==s?l=60*(r-i)/c+120:r==s&&(l=60*(i-n)/c+240)),[(l+360)%360,100*m,p/5.1]);g[2]+=o;var u=function(t,o,e){t<0&&(t+=360);var r=t/360,n=Math.min(100,Math.max(0,o))/100,i=Math.min(100,Math.max(0,e))/100,a=i<=.5?i*(n+1):i+n-i*n,s=2*i-a,p=255*d(s,a,r+1/3),c=255*d(s,a,r),l=255*d(s,a,r-1/3);return[Math.ceil(p),Math.ceil(c),Math.ceil(l)]}(g[0],g[1],g[2]);return"rgb("+u[0]+","+u[1]+","+u[2]+")"}function m(t,o){return t&&"transparent"!=t?l(t,o):"transparent"}t.each(["home","blog","shop","wishlist","account","cart"],(function(o,e){wp.customize("porto_settings[sticky-icon-"+e+"]",(function(o){o.bind((function(o){o&&t(".porto-sticky-navbar .sticky-icon.link-"+e+" i").attr("class",o)}))}))})),wp.customize("porto_settings[menu-align]",(function(o){o.bind((function(o){t(".main-menu-wrap > #main-menu").length&&(t(".main-menu-wrap > #main-menu").removeClass("centered"),o&&t(".main-menu-wrap > #main-menu").addClass(o))}))})),wp.customize("porto_settings[menu-sidebar-title]",(function(o){o.bind((function(o){t("#main-sidebar-menu .widget-title").length&&t("#main-sidebar-menu .widget-title").contents().filter((function(){return 1!==this.nodeType})).eq(0).replaceWith(o)}))})),wp.customize("porto_settings[menu-sidebar-toggle]",(function(o){o.bind((function(o){"1"==o?t("#main-sidebar-menu .widget-title .toggle").length?t("#main-sidebar-menu .widget-title .toggle").show():(t("#main-sidebar-menu .widget-title").append('<div class="toggle"></div>'),void 0!==theme.SidebarMenu&&theme.SidebarMenu.initialize(t("#main-sidebar-menu .sidebar-menu"),t("#main-sidebar-menu .widget-title .toggle"),t("#main-toggle-menu .menu-title"))):t("#main-sidebar-menu .widget-title .toggle").hide()}))})),wp.customize("porto_settings[menu-title]",(function(o){o.bind((function(o){t("#main-sidebar-menu .widget-title").length&&t("#main-sidebar-menu .widget-title").contents().filter((function(){return 1!==this.nodeType})).eq(0).replaceWith(o)}))})),wp.customize("porto_settings[blog-content_top]",(function(o){o.bind((function(o){t("#content-top").length||t("div#main").prepend('<div id="content-top"></div>')}))})),wp.customize("porto_settings[blog-content_inner_top]",(function(o){o.bind((function(o){t("#content-inner-top").length||t(".main-content-wrap > .main-content").prepend('<div id="content-inner-top"></div>')}))})),wp.customize("porto_settings[blog-content_inner_bottom]",(function(o){o.bind((function(o){t("#content-inner-bottom").length||t(".main-content-wrap > .main-content").append('<div id="content-inner-bottom"></div>')}))})),wp.customize("porto_settings[blog-content_bottom]",(function(o){o.bind((function(o){t("#content-bottom").length||t("div#main").append('<div id="content-bottom"></div>')}))})),wp.customize("porto_settings[portfolio-title]",(function(o){o.bind((function(o){t(".post-type-archive-portfolio #content > .portfolio-archive-title").html(o)}))})),wp.customize("porto_settings[woo-account-login-style]",(function(o){o.bind((function(o){"link"==o?t("body").removeClass("login-popup"):t("body").addClass("login-popup")}))})),wp.customize("porto_settings[woo-show-product-border]",(function(t){t.bind((function(t){r("porto_settings[woo-show-product-border]","1"==t?".product-image { border: 1px solid #ddd; width: 99.9999%; }":"")}))})),wp.customize("porto_settings[category-view-mode]",(function(o){o.bind((function(o){t(".gridlist-toggle").length&&("list"==o?t(".gridlist-toggle #list:not(.active)").click():t(".gridlist-toggle #grid:not(.active)").click())}))})),wp.customize("porto_settings[product-quickview-label]",(function(o){o.bind((function(o){t("ul.products li.product-col .add-links .quickview").text(o).attr("title",o)}))})),wp.customize("porto_settings[product-related]",(function(o){o.bind((function(o){"0"==o?t(".single-product .related.products").remove():t(".single-product .related.products").length||("left_sidebar"==window.parent.wp.customize.instance("porto_settings[product-single-content-layout]").get()?t(".single-product .site-main > .product").append('<div class="related products d-none"></div>'):t(".single-product div#main").append('<div class="related products d-none"></div>'))}))})),wp.customize("porto_settings[product-upsells]",(function(o){o.bind((function(o){"0"==o?t(".single-product .upsells.products").remove():t(".single-product .upsells.products").length||t(".single-product .site-main > .product").append('<div class="upsells products d-none"></div>')}))})),wp.customize("porto_settings[product-hot-label]",(function(o){o.bind((function(o){t("ul.products li.product-col .labels .onhot, .single-product .labels .onhot").text(o)}))})),wp.customize("porto_settings[product-new-label]",(function(o){o.bind((function(o){t("ul.products li.product-col .labels .onnew, .single-product .labels .onnew").text(o)}))})),wp.customize("porto_settings[product-thumbs-count]",(function(t){t.bind((function(t){theme.product_thumbs_count=t?parseInt(t):4}))})),wp.customize("porto_settings[product-zoom]",(function(t){t.bind((function(t){var o=window.parent.wp.customize.instance("porto_settings[product-single-content-layout]").get();"extended"!=o&&"full_width"!=o||(t="0"),theme.product_zoom="1"==t}))})),wp.customize("porto_settings[product-zoom-mobile]",(function(t){t.bind((function(t){theme.product_zoom_mobile="1"==t}))})),wp.customize("porto_settings[product-image-popup]",(function(t){t.bind((function(t){theme.product_image_popup="1"==t&&"fadeOut"}))})),wp.customize("porto_settings[zoom-type]",(function(t){t.bind((function(t){js_porto_vars.zoom_type=t}))})),wp.customize("porto_settings[zoom-scroll]",(function(t){t.bind((function(t){js_porto_vars.zoom_scroll=t}))})),wp.customize("porto_settings[zoom-lens-size]",(function(t){t.bind((function(t){js_porto_vars.zoom_lens_size=t}))})),wp.customize("porto_settings[zoom-lens-shape]",(function(t){t.bind((function(t){js_porto_vars.zoom_lens_shape=t}))})),wp.customize("porto_settings[zoom-contain-lens]",(function(t){t.bind((function(t){js_porto_vars.zoom_contain_lens=t}))})),wp.customize("porto_settings[zoom-lens-border]",(function(t){t.bind((function(t){js_porto_vars.zoom_lens_border=t}))})),wp.customize("porto_settings[zoom-border]",(function(t){t.bind((function(t){js_porto_vars.zoom_border="inner"==js_porto_vars.zoom_type?0:t}))})),wp.customize("porto_settings[zoom-border-color]",(function(t){t.bind((function(t){js_porto_vars.zoom_border_color=t}))})),wp.customize("porto_settings[product-crosssell]",(function(o){o.bind((function(o){"0"==o?t(".woocommerce-cart .cross-sells").remove():t(".woocommerce-cart .cross-sells").length||("v2"==window.parent.wp.customize.instance("porto_settings[cart-version]").get()?t(".woocommerce-cart .page-content > .woocommerce").append('<div class="cross-sells d-none"></div>'):t(".woocommerce-cart .page-content > .woocommerce > .cart-collaterals").prepend('<div class="cross-sells d-none"></div>'))}))}))}));