PageSourceSearch

https://www.cours-ado.com/wp-content/themes/osom/assets/js/custom.min.js?ver=1.0.0

js cours-ado.com collected 2026-10-05 01:39:11 UTC 4,466 bytes, 1 lines download raw bytes

1var OsomTheme=function(t){"use strict";var e,n=t(window).width();return{init:function(){t(function(){FastClick.attach(document.body)}),t("body").fitVids(),t(".has-no-sidebar.single .post-content img.aligncenter").parent().addClass("wide-p"),t(".post-single blockquote p[style]").each(function(){t(this).attr("style").match(/text-align: left/i)&&t(this).parent().addClass("alignleft"),t(this).attr("style").match(/text-align: right/i)&&t(this).parent().addClass("alignright")}),t(".post--single a img").each(function(e){t(this).parent().css("display","block")}),this.offcanvas(),this.dropdown(),this.initFlickity(),this.masonry(),this.popup()},popup:function(){t("body").find(".gallery.gallery-popup").each(function(){t(this).magnificPopup({delegate:".gallery-icon > a",type:"image",fixedContentPos:!0,preload:[1,3],gallery:{enabled:!0,navigateByImgClick:!0,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"><svg class="mfp-prevent-close" width="32px" height="24px" viewBox="0 0 32 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M-4.4408921e-16,12 C3.07446376e-16,11.5384615 13.5384615,0 13.5384615,0 L15.6923077,1.84615385 L5.84615385,10.4615385 L32,10.4615385 L32,12 L32,13.5384615 L5.84615385,13.5384615 L15.6923077,22.1538462 L13.5384615,24 C13.5384615,24 3.07446376e-16,12.4615385 -4.4408921e-16,12 Z" stroke="none" fill="#FFFFFF" fill-rule="evenodd"></path></svg></button>'},image:{titleSrc:function(t){var e=t.el.closest("figure").find("figcaption");return e.length>0?e.html():void 0}},callbacks:{change:function(){this.isOpen&&this.wrap.addClass("mfp-open")}}})})},masonry:function(){t(".gridItems").length&&(t(".gridItems").find(".gridItem--animate").each(function(e){setTimeout(function(t){t.addClass("show")},70*e,t(this))}),t(window).on("resize orientationchange",function(){void 0!==window.salvattore&&window.salvattore.rescanMediaQueries()}))},offcanvas:function(){function e(){t("body").toggleClass("offcanvas-in"),i.toggleClass("is-active"),o=!o,i.attr("aria-expanded",function(t,e){return"true"===e?"false":"true"}),n.attr("aria-expanded",function(t,e){return"true"===e?"false":"true"})}var n=t("#offcanvas"),i=t(".hamburger"),o=!1;i.click(function(t){e()}),t(".site-wrapper").click(function(){o&&e()}),document.body.addEventListener("keyup",function(t){o&&27===t.keyCode&&e()},!1),t(document).bind("scroll touchmove mousewheel",function(t){o&&t.preventDefault()}),n.bind("scroll touchmove mousewheel",function(t){t.stopPropagation()})},dropdown:function(){function e(){a.each(function(){var e=t(this).parent().offset().left+t(this).parent().outerWidth(),n=t(this).outerWidth()+t.getScrollbarWidth();t(window).width()<e+n?t(this).addClass("edge"):t(this).removeClass("edge")})}var n=t(".menu-dropdown"),i=n.find(".menu-item-has-children"),o=n.find(".menu-item-has-children > a"),a=n.find(".menu-item-has-children > ul");if(n&&i){i.attr("data-dropdown","closed"),Modernizr.touchevents?(o.click(function(){return"opened"!=t(this).parent().attr("data-dropdown")?(t(this).parent().attr("data-dropdown","opened"),t(this).parent().siblings().attr("data-dropdown","closed"),t(this).parent().siblings().find(".menu-item-has-children").attr("data-dropdown","closed"),!1):-1!=this.href.indexOf("#")?!1:void 0}),t(".site-wrapper").scroll(function(){i.attr("data-dropdown","closed")}),t(document).click(function(){i.attr("data-dropdown","closed")})):(i.each(function(){t(this).mouseenter(function(){t(this).attr("data-dropdown","opened")}),t(this).mouseleave(function(){t(this).attr("data-dropdown","closed")})}),o.on("click",function(){return-1!=this.href.indexOf("#")?!1:void 0})),e();var s;t(window).on("resize",function(t){clearTimeout(s),s=setTimeout(function(){e()},250)})}},initFlickity:function(){var i=t(".osomFlickity"),o="M-8.8817842e-16,50 C1.55431223e-15,48.5 44,11 44,11 L51,17 L19,45 L100,45 L100,50 L100,55 L19,55 L51,83 L44,89 C44,89 1.55431223e-15,51.5 -8.8817842e-16,50 Z",a=!!i.hasClass("osomFlickity--arrows"),s=i.hasClass("osomFlickity--center")?"center":"left";if(i.length){i.flickity({cellAlign:s,wrapAround:!0,autoPlay:!1,watchCSS:!0,imagesLoaded:!0,percentPosition:!1,pageDots:!1,prevNextButtons:a,arrowShape:o});i.addClass("show"),t(window).resize(function(){t(window).width()!=n&&(n=t(window).width(),i.removeClass("show"),clearTimeout(e),e=setTimeout(function(){i.addClass("show")},400))})}}}}(jQuery);
1jQuery(function(t){OsomTheme.init()});

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.