Файловый менеджер - Редактировать - /home/kunzqhe/www/wp-content/themes/themify-ultra/themify/themify-builder/js/themify.builder.script.min.js
Ðазад
'use strict';let ThemifyBuilderModuleJs; (function(r,m,a,n,e,h){ThemifyBuilderModuleJs={loadedAddons:{},cssUrl:h.css_module_url,jsUrl:h.js_module_url,js_modules:h.js_modules,isBpMobile:!a.is_builder_active&&a.w<parseInt(h.breakpoints.tablet[1]),init(){a.body.triggerHandler("themify_builder_loaded");if(!a.is_builder_active){this.GridBreakPoint();this.InitScrollHighlight();const b=n.querySelectorAll("[data-sticky-active]");if(b[0])if(0<m.pageYOffset)this.stickyElementInit(b);else{const a=this;m.addEventListener("scroll",function(){a.stickyElementInit(b)}, {passive:!0,once:!0})}}},wowInit(b,d){if(""!==h.is_animation&&(!0!==this.isBpMobile||"m"!==h.is_animation)){if(!0===d)if(b[0].hasAttribute("data-tf-animation")||b[0].classList.contains("hover-wow"))var c=b;else if(b[0].parentNode&&(b[0].parentNode.hasAttribute("data-tf-animation")||b[0].parentNode.classList.contains("hover-wow")))c=[b[0].parentNode];else return;else if(b){if(c=b[0].querySelectorAll(".hover-wow,[data-tf-animation]"),b[0].classList.contains("hover-wow")||b[0].hasAttribute("data-tf-animation"))c= a.convert(c),c.push(b[0])}else c=n.querySelectorAll(".hover-wow,[data-tf-animation]");c[0]!==e&&a.loadWowJs(function(){a.trigger("tf_wow_init",[c])})}},setupFullwidthRows(b,d){if(!h.fullwidth_support){if(!0===d){if(!b[0].classList.contains("fullwidth")&&!b[0].classList.contains("fullwidth_row_container"))return;var c=b}else if(b){c=b.find(".fullwidth.module_row,.fullwidth_row_container.module_row");if(b[0].classList.contains("fullwidth")||b[0].classList.contains("fullwidth_row_container"))c=c.add(b); c=c.get()}else c=n.querySelectorAll(".fullwidth.module_row,.fullwidth_row_container.module_row");c[0]!==e&&(a.jsLazy.tb_fwr===e?a.LoadAsync(this.js_modules.fwr,function(){a.jsLazy.tb_fwr=!0;a.trigger("tb_fullwidthrows_init",[c])},null,null,function(){return!!a.jsLazy.tb_fwr}):a.trigger("tb_fullwidthrows_init",[c]))}},InitScrollHighlight(b,d){if(!(!0===d||!0===a.is_builder_active||h.scrollHighlight&&"external"===h.scrollHighlight.scroll)){d=b?0<a.selectWithParent("[data-anchor]",b).length:null!==n.querySelector("[data-anchor]"); if(!1===d){const b=m.location.hash.replace("#","");""!==b&&"#"!==b&&(d=null!==n.querySelector('[data-id="'+b+'"]'))}!0===d&&(a.jsLazy.tb_scroll_highlight===e?a.LoadAsync(this.js_modules.sh,function(){a.jsLazy.tb_scroll_highlight=!0;a.trigger("tb_init_scroll_highlight",[b])},null,null,function(){return!!a.jsLazy.tb_scroll_highlight}):a.trigger("tb_init_scroll_highlight",[b]))}},backgroundSlider(b,d){let c;if(!0===d){if(b[0].classList.contains("module"))return;c=b[0].getElementsByClassName("tb_slider")[0]; if(!c||c.parentNode!==b[0])return;c=[c]}else c=a.selectWithParent("tb_slider",b);c[0]!==e&&(a.jsLazy.tb_bgs===e?a.LoadAsync(this.js_modules.bgs,function(){a.jsLazy.tb_bgs=!0;a.trigger("tb_bgslider_init",[c])},null,null,function(){return!!a.jsLazy.tb_bgs}):a.trigger("tb_bgslider_init",[c]))},fullwidthVideo(b,d,c){let k=null;if(!0===c){if(!b[0].hasAttribute("data-fullwidthvideo"))return;k=b}else for(k=a.convert(a.selectWithParent("[data-fullwidthvideo]",b?b:d?d:null)),b=k.length-1;-1<b;--b)d=k[b].classList, d.contains("module_row")||d.contains("module_column")||d.contains("module_subrow")||d.contains("tb_slider_vid")||k.splice(b,1);k[0]!==e&&(a.jsLazy.tb_fwv===e?a.LoadAsync(this.js_modules.fwv,function(){a.jsLazy.tb_fwv=!0;a.trigger("tb_fullwidth_video_init",[k])},null,null,function(){return!!a.jsLazy.tb_fwv}):a.trigger("tb_fullwidth_video_init",[k]))},feature(b,d){let c;if(!0===d){if(!b[0].classList.contains("module-feature"))return;c=b}else c=a.selectWithParent("module-feature",b);c[0]!==e&&(a.jsLazy.tb_feature=== e?a.LoadAsync(this.js_modules.feature,function(){a.jsLazy.tb_feature=!0;a.trigger("tb_feature_init",[c])},null,null,function(){return!!a.jsLazy.tb_feature}):a.trigger("tb_feature_init",[c]))},addonLoad(b,d,c){if(m.tbLocalScript.addons&&0<Object.keys(m.tbLocalScript.addons).length){let g;if(d)if(m.tbLocalScript.addons[d]&&!0!==this.loadedAddons[d])g={},g[d]=m.tbLocalScript.addons[d];else return;else g=m.tbLocalScript.addons;const p=this;for(let f in g)if(!0!==this.loadedAddons[f]){var k=!1;k=g[f].selector? !0===c?null!==b[0].querySelector(g[f].selector)||b[0].matches(g[f].selector):null!==n.querySelector(g[f].selector):!0===c?b[0].classList.contains("module-"+f):n.getElementsByClassName("module-"+f)[0]!==e;if(!0===k){if(g[f].css){if("string"===typeof g[f].css)a.LoadCss(g[f].css,g[f].ver);else for(k=g[f].css.length-1;-1<k;--k)a.LoadCss(g[f].css[k],g[f].ver);delete m.tbLocalScript.addons[f].css}g[f].js&&a.LoadAsync(g[f].js,function(){p.loadedAddons[f]=!0;a.trigger("builder_load_module_partial",[b,d,c]); delete m.tbLocalScript.addons[f].js},g[f].ver,{before:g[f].external},function(){return!0===p.loadedAddons[f]});if(d)break}}}},loadOnAjax(b,d,c){let k=null;this.loadCssAppearance();this.rowColumnStyles(b,c);this.loadModulesCss(b,d,c);this.tabs(b,c);this.accordion(b,c);this.feature(b,c);this.backgroundSlider(b,c);this.backgroundZoomScroll(b,c);this.backgroundZooming(b,c);this.backgroundScrolling(b,c);this.menuModuleMobileStuff(b,c);this.gallery(b,c);this.overlayContentModule(b,c);!1===a.is_builder_active? (this.alertModule(b,c),c||this.stickyElementInit(a.selectWithParent("[data-sticky-active]",b))):k="module"===d&&null!==tb_app.activeModel?tb_app.activeModel.get("mod_name"):!1;a.trigger("builder_load_module_partial",[b,d,c]);this.addonLoad(b,k,c);this.initWC(b,c);"row"!==d&&d||b&&(b===e||b[0].closest(".tb_overlay_content_lp"))||this.setupFullwidthRows(b,c);this.fullwidthVideo(b,null,c);this.wowInit(b,c);this.InitScrollHighlight(b,c);this.videoPlay(b,c);this.readMoreLink(b,c)},initWC(b,a){if(!0!== a&&m.wc_single_product_params!==e&&(r(".wc-tabs-wrapper, .woocommerce-tabs, #rating",b).each(function(){this.hasAttribute("tb_done")||(this.setAttribute("tb_done",1),("rating"!==this.id||this.parentNode.getElementsByClassName("stars")[0])&&r(this).trigger("init"))}),"undefined"!==typeof r.fn.wc_product_gallery)){const a=m.wc_single_product_params;r(".woocommerce-product-gallery",b).each(function(){this.hasAttribute("tb_done")||r(this).trigger("wc-product-gallery-before-init",[this,a]).wc_product_gallery(a).trigger("wc-product-gallery-after-init", [this,a])[0].setAttribute("tb_done",1)})}},touchdropdown(b,d){if(a.isTouch){const c=!0===d?b[0].classList.contains("module-menu")?b[0].getElementsByClassName("nav")[0]:null:r(".module-menu .nav",b);c&&c[0]&&a.LoadCss(this.cssUrl+"menu_styles/sub_arrow.css",function(){a.loadDropDown(c)})}},backgroundScrolling(b,d){if(""===h.is_parallax||!0===this.isBpMobile&&"m"===h.is_parallax)return!0;let c;if(!0===d){if(!b[0].classList.contains("builder-parallax-scrolling"))return;c=b}else c=a.selectWithParent("builder-parallax-scrolling", b);c[0]!==e&&(a.jsLazy.tb_parallax===e?a.LoadAsync(this.js_modules.parallax,function(){a.jsLazy.tb_parallax=!0;a.trigger("tb_parallax_init",[c])},null,null,function(){return!!a.jsLazy.tb_parallax}):a.trigger("tb_parallax_init",[c]))},backgroundZoomScroll(b,d){let c;if(!0===d){if(!b[0].classList.contains("builder-zoom-scrolling"))return;c=b}else c=a.selectWithParent("builder-zoom-scrolling",b);c[0]!==e&&(a.jsLazy.tb_bgzs===e?a.LoadAsync(this.js_modules.bgzs,function(){a.jsLazy.tb_bgzs=!0;a.trigger("tb_bgzoom_scroll_init", [c])},null,null,function(){return!!a.jsLazy.tb_bgzs}):a.trigger("tb_bgzoom_scroll_init",[c]))},backgroundZooming(b,d){let c;if(!0===d){if(!b[0].classList.contains("builder-zooming"))return;c=b}else c=a.selectWithParent("builder-zooming",b);c[0]!==e&&(a.jsLazy.tb_bgzoom===e?a.LoadAsync(this.js_modules.bgzoom,function(){a.jsLazy.tb_bgzoom=!0;a.trigger("tb_bgzoom_init",[c])},null,null,function(){return!!a.jsLazy.tb_bgzoom}):a.trigger("tb_bgzoom_init",[c]))},gallery(b,d){let c;if(!0===d){if(!b[0].classList.contains("module-gallery"))return; c=b}else c=a.selectWithParent("module-gallery",b);c[0]!==e&&(a.jsLazy.tb_gallery===e?a.LoadAsync(this.js_modules.gallery,function(){a.jsLazy.tb_gallery=!0;a.trigger("tb_gallery_init",[c])},null,null,function(){return!!a.jsLazy.tb_gallery}):a.trigger("tb_gallery_init",[c]))},menuModuleMobileStuff(b,d){let c;if(!0===d){if(!b[0].classList.contains("module-menu"))return;c=b}else c=a.selectWithParent("module-menu",b);c[0]!==e&&(a.jsLazy.tb_menu===e?a.LoadAsync(this.js_modules.menu,function(){a.jsLazy.tb_menu= !0;a.trigger("tb_menu_init",[c])},null,null,function(){return!!a.jsLazy.tb_menu}):a.trigger("tb_menu_init",[c]),this.touchdropdown(b,d))},GridBreakPoint(){const b=h.breakpoints.tablet_landscape,d=h.breakpoints.tablet,c=h.breakpoints.mobile,e=this,g=n.querySelectorAll(".row_inner,.subrow_inner");let p=!1,f=function(f){let k="desktop";f<=c?k="mobile":f<=d[1]?k="tablet":f<=b[1]&&(k="tablet_landscape");if(k!==p){const b=(f="desktop"===k)||"desktop"===p;f?a.body[0].classList.remove("tb_responsive_mode"): (a.cssLazy.tb_responsive_mode||null===n.querySelector("[data-basecol]")||(a.cssLazy.tb_responsive_mode=!0,a.LoadCss(e.cssUrl+"responsive-column.css")),a.body[0].classList.add("tb_responsive_mode"));for(let a=g.length-1;-1<a;--a){var q=g[a].children,l=g[a].getAttribute("data-col_"+k);let c=q[0],d=q[q.length-1],e=g[a].getAttribute("data-"+k+"_dir");var h=g[a].getAttribute("data-basecol");if(b)for(let a=q.length-1;-1<a;--a){let b=q[a].getAttribute("data-w");b&&(q[a].style.width=f?b+"%":"")}c&&d&&("rtl"=== e?(c.classList.remove("first"),c.classList.add("last"),d.classList.remove("last"),d.classList.add("first"),g[a].classList.add("direction-rtl")):(c.classList.remove("last"),c.classList.add("first"),d.classList.remove("first"),d.classList.add("last"),g[a].classList.remove("direction-rtl")));if(h&&!f)if(!1!==p&&"desktop"!==p&&(g[a].classList.remove("tb_3col"),(q=g[a].getAttribute("data-col_"+p))&&g[a].classList.remove(q.replace("tb_3col","").replace("mobile","column").replace("tablet","column").trim())), l&&"-auto"!==l&&l!==k+"-auto"){if(l=g[a].getAttribute("data-col_"+k))for(g[a].classList.add("tb_grid_classes","col-count-"+h),l=l.split(" "),h=l.length-1;-1<h;--h)g[a].classList.add(l[h].replace("mobile","column").replace("tablet","column").trim())}else g[a].classList.remove("tb_grid_classes","col-count-"+h)}p=k}};f(a.w);a.on("tfsmartresize",function(b){b&&b.w!==a.w&&f(b.w)})},readMoreLink(b,d){a.jsLazy.tb_read===e&&(!0===d&&b[0].getElementsByClassName("module-text-more")[0]||!0!==d&&n.getElementsByClassName("module-text-more")[0])&& (a.jsLazy.tb_read=!0,a.LoadAsync(this.js_modules.read))},stickyElementInit(b){""===h.is_sticky||!0===this.isBpMobile&&"m"===h.is_sticky||b&&b[0]!==e&&(a.jsLazy.tb_sticky===e?a.LoadAsync(this.js_modules.sticky,function(){a.jsLazy.tb_sticky=!0;a.trigger("tb_sticky_init",[b])},null,null,function(){return!!a.jsLazy.tb_sticky}):a.trigger("tb_sticky_init",[b]))},alertModule(b,d){let c;if(!0===d){if(!b[0].classList.contains("module-alert"))return;c=b}else c=a.selectWithParent("module-alert",b);c[0]!==e&& (a.jsLazy.tb_alert===e?a.LoadAsync(this.js_modules.alert,function(){a.jsLazy.tb_alert=!0;a.trigger("tb_alert_init",[c])},null,null,function(){return!!a.jsLazy.tb_alert}):a.trigger("tb_alert_init",[c]))},tabs(b,d){let c;if(!0===d){if(!b[0].classList.contains("module-tab"))return;c=b}else c=a.selectWithParent("module-tab",b);c[0]!==e&&a.requestIdleCallback(function(){a.jsLazy.tb_tab===e?a.LoadAsync(this.js_modules.tab,function(){a.jsLazy.tb_tab=!0;a.trigger("tb_tab_init",[c,d])},null,null,function(){return!!a.jsLazy.tb_tab}): a.trigger("tb_tab_init",[c,d])}.bind(this),1200)},accordion(b,d){let c;if(!0===d){if(!b[0].classList.contains("module-accordion"))return;c=b}else c=a.selectWithParent("module-accordion",b);c[0]!==e&&a.requestIdleCallback(function(){a.jsLazy.tb_accordion===e?a.LoadAsync(this.js_modules.accordion,function(){a.jsLazy.tb_accordion=!0;a.trigger("tb_accordion_init",[c,d])},null,null,function(){return!!a.jsLazy.tb_accordion}):a.trigger("tb_accordion_init",[c,d])}.bind(this),1200)},overlayContentModule(b, d){let c;if(!0===d){if(!b[0].classList.contains("module-overlay-content"))return;c=b}else c=a.selectWithParent("module-overlay-content",b);c[0]!==e&&(a.jsLazy.tb_oc===e?a.LoadAsync(this.js_modules.oc,function(){a.jsLazy.tb_oc=!0;a.trigger("tb_overlay_content_init",[c])},null,null,function(){return!!a.jsLazy.tb_oc}):a.trigger("tb_overlay_content_init",[c]))},videoPlay(b,d){let c;if(!0===d){if(!b[0].classList.contains("module-video"))return;c=b}else c=a.selectWithParent("module-video",b);c[0]!==e&& (a.jsLazy.tb_video===e?a.LoadAsync(this.js_modules.video,function(){a.jsLazy.tb_video=!0;a.trigger("tb_video_init",[c])},null,null,function(){return!!a.jsLazy.tb_video}):a.trigger("tb_video_init",[c]))},rowColumnStyles(b,d){a.cssLazy.tb_frame===e&&(!0===d&&b[0].getElementsByClassName("tb_row_frame")[0]||!0!==d&&(a.is_builder_active||n.getElementsByClassName("tb_row_frame")[0]))&&(a.cssLazy.tb_frame=!0,a.LoadCss(this.cssUrl+"frames.css"));a.cssLazy.tb_bg_zoom===e&&(!0===d&&b[0].classList.contains("themify-bg-zoom")|| !0!==d&&(a.is_builder_active||n.getElementsByClassName("themify-bg-zoom")[0]))&&(a.cssLazy.tb_bg_zoom=!0,a.LoadCss(this.cssUrl+"bg-zoom.css"));a.cssLazy.tb_cover===e&&(!0===d&&b[0].getElementsByClassName("builder_row_cover")[0]||!0!==d&&(a.is_builder_active||n.getElementsByClassName("builder_row_cover")[0]))&&(a.cssLazy.tb_cover=!0,a.LoadCss(this.cssUrl+"cover.css"))},loadCssAppearance(){this.loadCssColors();const b=["rounded","gradient","glossy","embossed","shadow"];for(let d=b.length-1;-1<d;--d)if(a.cssLazy["tb_"+ b[d]]===e)for(let c=n.getElementsByClassName(b[d]),e=c.length-1;-1<e;--e)if("DIV"===c[e].tagName&&c[e].closest(".module")){a.cssLazy["tb_"+b[d]]=!0;a.LoadCss(this.cssUrl+"appearance/"+b[d]+".css");break}},loadCssColors(){const b="pink red yellow orange brown purple green light-purple light-green light-blue blue gray black tb_default_color default".split(" ");for(let d=b.length-1;-1<d;--d)a.cssLazy["tb_"+b[d]]===e&&null!==n.querySelector(".ui."+b[d])&&("default"===b[d]&&(a.cssLazy.tb_default=!0,b[d]= "tb_default_color"),a.cssLazy["tb_"+b[d]]=!0,a.LoadCss(this.cssUrl+"colors/"+b[d]+".css"))},loadModulesCss(b,d,c){d=["image","buttons","service-menu"];const k=!0===c?b[0].classList:null;let g=!0===c?b[0]:n;if(b&&a.is_builder_active&&m.Isotope){b=a.selectWithParent("masonry-done",b);for(var h=b.length-1;-1<h;--h){var f=Isotope.data(b[h]);f&&f.destroy();b[h].classList.remove("masonry-done")}}for(h=d.length-1;-1<h;--h){let m;b=d[h];var l={};f=b;"image"===b?(m="image-card-layout image-full-overlay image-overlay image-left image-center image-right image-top".split(" "), l.zoom="zoom"):"buttons"===b?m=["buttons-vertical","buttons-fullwidth","outline"]:"service-menu"===b&&(m=["image-horizontal","image-overlay","image-top","image-right","image-center"],f="image",l.highlight="tb-highlight-text",l.price="tb-menu-price");if(!0===c){if(k.contains("module-"+b)){for(let c in l)a.cssLazy["tb_"+b+"_"+c]===e&&g.getElementsByClassName(l[c])[0]&&(a.cssLazy["tb_"+b+"_"+c]=!0,a.LoadCss(this.cssUrl+b+"_styles/"+c+".css"));for(l=m.length-1;-1<l;--l)if(k.contains(m[l])){c=m[l].replace(f+ "-","");a.cssLazy["tb_"+b+"_"+c]===e&&(a.cssLazy["tb_"+b+"_"+c]=!0,a.LoadCss(this.cssUrl+b+"_styles/"+c+".css"));return}}}else{for(let c in l)a.cssLazy["tb_"+b+"_"+c]===e&&g.getElementsByClassName(l[c])[0]!==e&&(a.cssLazy["tb_"+b+"_"+c]=!0,a.LoadCss(this.cssUrl+b+"_styles/"+c+".css"));for(l=m.length-1;-1<l;--l){let c=m[l].replace(f+"-","");a.cssLazy["tb_"+b+"_"+c]===e&&null!==n.querySelector(".module-"+b+"."+m[l])&&(a.cssLazy["tb_"+b+"_"+c]=!0,a.LoadCss(this.cssUrl+b+"_styles/"+c+".css"))}}}}};!0=== m.loaded?ThemifyBuilderModuleJs.init():m.addEventListener("load",function(){ThemifyBuilderModuleJs.init()},{once:!0,passive:!0})})(jQuery,window,Themify,document,void 0,tbLocalScript);
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка