PageSourceSearch

https://monstersteamer.net/wp-content/themes/Divi/includes/builder…/build/script-library-tabs.js?ver=5.14.0

js monstersteamer.net collected 2026-10-07 15:54:10 UTC 9,593 bytes, 1 lines download raw bytes

1!function(){"use strict";var t={n:function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,{a:n}),n},d:function(e,n){for(var i in n)t.o(n,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e);var n=window.jQuery,i=t.n(n);const a=(t,e,n)=>{if(n){const i=`${e}${n}`,a=Object.getOwnPropertyDescriptor(t,i);if(a&&a.value&&"string"==typeof a.value&&a.value)return a.value}return t[e]||""},o=[{enable:!0,order:50,name:"desktop",baseDevice:!0,label:"Desktop"},{enable:!0,maxWidth:{value:"980px",default:980},order:30,name:"tablet",label:"Tablet"},{enable:!0,maxWidth:{value:"767px",default:767},order:10,name:"phone",label:"Phone"}],s=()=>{const t=window.innerWidth||document.documentElement.clientWidth,e=window?.diviBreakpointData?.enabledBreakpoints?window?.diviBreakpointData?.enabledBreakpoints:o,n=e.find((t=>t?.baseDevice))?.name??"desktop";let i,a=null,s=null;return e.forEach((e=>{if(e?.baseDevice)return;const n=e?.maxWidth?.value,o=e?.minWidth?.value;if(n&&o&&parseInt(n)>=t&&parseInt(o)<=t&&(i=e?.name),n&&!o){const o=parseInt(n);o>=t&&(null===a||o<a)&&(i=e?.name,a=o)}if(!n&&o){const n=parseInt(o);n<=t&&(null===s||n>s)&&(i=e?.name,s=n)}})),i??n},l=t=>{const e=(t=>{const e=t.trim();if(!e)return"";const n=e.split(",")[0]?.trim()??e,i=Array.from(n.matchAll(/\.([A-Za-z0-9_-]+)/g));return 0===i.length?"":i[i.length-1]?.[1]??""})(t);if(e)return e;const n=t.trim().split(",")[0]?.trim()??"";return/^[A-Za-z0-9_-]+$/.test(n)?n:""},r=t=>{if("function"!=typeof window.et_has_animation_data||!window.et_has_animation_data(t))return;const e="string"==typeof window.et_animation_breakpoint&&window.et_animation_breakpoint?window.et_animation_breakpoint:s(),n="desktop"===e?"":`_${e}`,i=[...window?.et_animation_data??[],...window?.diviElementAnimationData??[]].find((e=>{if(!e.class)return!1;const n=l(e.class);return!!n&&t.hasClass(n)}));let o=null;if(i){const t=a(i,"style",n),e=a(i,"repeat",n),s=a(i,"duration",n),l=a(i,"delay",n),r=a(i,"intensity",n),_=a(i,"starting_opacity",n),c=a(i,"speed_curve",n);t&&e&&s&&l&&r&&_&&c&&(o={"data-animation-style":t,"data-animation-repeat":"once"===e?"":"infinite","data-animation-duration":s,"data-animation-delay":l,"data-animation-intensity":r,"data-animation-starting-opacity":_,"data-animation-speed-curve":c})}o&&t.attr(o)},_=t=>{const e=new Set;return t.find("[data-animation-style]").addBack("[data-animation-style]").each(((t,n)=>{const a=i()(n);var o;(o=a,"function"==typeof window.et_has_animation_data&&window.et_has_animation_data(o)||o.hasClass("et_animated")||o.hasClass("et_had_animation"))&&e.add(n)})),"function"==typeof window.et_has_animation_data&&t.find("*").addBack().each(((t,n)=>{if(e.has(n))return;const a=i()(n);window.et_has_animation_data(a)&&(e.add(n),a.attr("data-animation-style")||r(a))})),i()(Array.from(e))},c=(t,e)=>{if("function"!=typeof window.et_animate_element)return;const n=e?.shouldTrigger??(()=>!0);t.each(((t,e)=>{const a=i()(e);(t=>{const e=t.data("et_waypoint");e&&Array.isArray(e)&&e.forEach((t=>{t?.context?.refresh&&setTimeout((()=>{t.context.refresh()}),0)}))})(a),setTimeout((()=>{n()&&a.is(":visible")&&!a.hasClass("et_had_animation")&&window.et_animate_element(a)}),0)}))},d=t=>{const e="||";let n;const i=t.split("|")[0];if(!$(`#${i}`).length)return;if(window.location.hash){n=window.location.hash.substring(1);const a=[];let o;if(-1!==n.indexOf(e,0)){const s=n.split(e);let l=!1;for(let e=0;e<s.length;e++)o=s[e].split("|")[0],o===i?(a.push(t),l=!0):a.push(s[e]);l||a.push(t)}else{o=n.split("|")[0],o!==i&&a.push(n),a.push(t)}n=a.join(e)}else n=t;const a=document.body.scrollTop;window.location.hash=n,document.body.scrollTop=a};!function(t){const e="object"==typeof window.ET_Builder,n=t("body").hasClass("et-tb"),i=t("body").hasClass("et-bfb"),a=e&&!i;function o(e){return e.find(".et_pb_group_carousel").filter((function(){return 0===t(this).closest(".et_pb_group_carousel_clone").length}))}function s(e){e.each((function(){const e=t(this),o=e.find(".et_pb_tabs_controls li"),s=n||i||a?0:e.find(".et_pb_tab_active").index(),l={use_controls:!1,use_arrows:!1,slide:".et_pb_all_tabs >
1 .et_pb_tab",tabs_animation:!0,active_slide:0!==s?s:void 0};e.et_pb_simple_tabs_slider(l).on("et_hashchange",(e=>{const{params:n}=e,i=t(`#${e.target.id}`),a=n[0];i.find(".et_pb_tabs_controls li").eq(a).hasClass("et_pb_tab_active")||i.find(".et_pb_tabs_controls li").eq(a).trigger("click")})),o.on("click",(function(){const e=t(this),n=e.closest(".et_pb_tabs").data("et_pb_simple_tabs_slider");if(n.et_animation_running)return!1;e.addClass("et_pb_tab_active").siblings().removeClass("et_pb_tab_active"),n.data("et_pb_simple_tabs_slider").et_slider_move_to(e.index());const i=e.closest(".et_pb_tabs").attr("id");if(i){const t=`${i}|${e.index()}`;d(t)}return!1})),function(t){const{hash:e}=window.location;if(""!==e){let n=e.replace("#","");n=/^tab\-/.test(n)?n:`tab-${n}`;const i=t.find(`.et_pb_tabs_controls li a[href="#${n}"]`);i.length&&i.parent().trigger("click")}}(e),function(e=t(".et_pb_tabs")){e.length&&e.each((function(){const e=t(this).find(".et_pb_tabs_controls"),n=e.find("li");let i=0;const a=t(this).parents(".et_pb_column_1_3, .et_pb_column_1_4, .et_pb_column_3_8").length>0,o=t(window).width()<768,s=a||o;s&&t(this).addClass("et_pb_tabs_vertically_stacked"),n.length&&(e.children("li").removeAttr("style"),n.each((function(){const e=t(this).outerHeight();!s&&e>i&&(i=e)}))),i&&e.children("li").css("height",`${i}px`)}))}()}))}t.et_pb_simple_tabs_slider=function(e,n){const i=t.extend({slide:".et-slide",controls:".et-pb-controllers a",control_active_class:"et-pb-active-control",fade_speed:500,tabs_animation:!0,active_slide:0},n),a=t(e);let s;if(".et_pb_all_tabs > .et_pb_tab"===i.slide){const t=a.find("> .et_pb_all_tabs").first();s=t.length?t.children(".et_pb_tab"):a.find(i.slide)}else s=a.find(i.slide);let l=i.active_slide;function r(e){if(a.et_animation_running||l===e)return;a.et_animation_running=!0;const n=s.eq(l),r=s.eq(e),d="function"==typeof window.diviModuleGroupCarouselReinitElement,u=d?o(n):t(),p=d?o(r):t();n.removeClass("et-pb-active-slide").addClass("et-pb-moved-slide").css({opacity:0,display:"none"}),u.length&&u.each((function(){const t=this.__groupCarouselInstance;t&&"function"==typeof t.destroy&&t.destroy()})),p.length&&p.each((function(){const t=this.__groupCarouselInstance;t&&"function"==typeof t.destroy&&t.destroy(),this.style.visibility="hidden"})),r.addClass("et-pb-active-slide").css({display:"block",opacity:0}
1),p.length&&(p.each((function(){window.diviModuleGroupCarouselReinitElement(this);const t=this.__groupCarouselInstance;t&&"function"==typeof t.stopAutoplay&&t.stopAutoplay();const e=this.querySelector(".et_pb_group_carousel_track");e&&(e.style.transition="none",requestAnimationFrame((function(){e.style.transition="none"})))})),requestAnimationFrame((function(){requestAnimationFrame((function(){p.each((function(){const t=this.__groupCarouselInstance,e=this.querySelector(".et_pb_group_carousel_track");if(e){const n=t&&"function"==typeof t.getSettings?t.getSettings().transitionSpeed:200;e.style.transition="none",e.offsetWidth,e.style.transition=`transform ${n}ms ease-in-out`}this.style.visibility=""})),r.find(".et_pb_group_carousel_clone .et_pb_group_carousel").each((function(){this.style.visibility=""}))}))}))),r.animate({opacity:1},i.fade_speed,(function(){l=e,a.et_animation_running=!1,r.find(".et_pb_tabs").each((function(){const e=t(this);if(e.is(a))return;const n=e.find("> .et_pb_all_tabs").first();if(!n.length)return;const i=n.children(".et_pb_tab"),o=e.find(".et_pb_tabs_controls li"),s=o.filter(".et_pb_tab_active").first();let l=-1;if(s.length)l=s.index();else{const t=i.filter(".et_pb_active_content, .et-pb-active-slide").first();l=t.length?i.index(t):0}i.css({display:"none",opacity:0}).removeClass("et_pb_active_content et-pb-active-slide");const r=i.eq(l);r.length&&(r.css({display:"block",opacity:1}).addClass("et_pb_active_content et-pb-active-slide"),o.removeClass("et_pb_tab_active"),o.eq(l).addClass("et_pb_tab_active"))}));const n=_(r);if(n.length&&c(n,{shouldTrigger:()=>r.hasClass("et-pb-active-slide")}),"function"==typeof window.set_fullwidth_portfolio_columns){const e=r.find(".et_pb_fullwidth_portfolio:visible");e.length&&e.each((function(){const e=t(this),n=e.hasClass("et_pb_fullwidth_portfolio_carousel");window.set_fullwidth_portfolio_columns(e,n)}))}p.length&&p.each((function(){if(!t(this).is(":visible"))return;const e=this.__groupCarouselInstance;e&&"function"==typeof e.startAutoplay&&e.startAutoplay()}))}))}a.et_animation_running=!1,t.data(e,"et_pb_simple_tabs_slider",a),s.eq(l).addClass("et-pb-active-slide"),a.et_slider_move_to=r,a.et_settings=i,a.find(i.controls).on("click",(function(e){e.preventDefault();r(t(this).index())}))},t.fn.et_pb_simple_tabs_slider=function(e){return this.each((function(){return t.data(this,"et_pb_simple_tabs_slider")||new t.et_pb_simple_tabs_slider(this,e)}))},t(window).on("et_pb_init_modules",(function(){s(t(".et_pb_tabs"))})),t(document).on("click","a.woocommerce-review-link",(function(){const e=t(".et_pb_tabs .et_pb_tabs_controls > li.reviews_tab").first();e.length&&!e.hasClass("et_pb_tab_active")&&e.trigger("click")})),window.initTabsModules=s}(jQuery),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryTabs=e}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.