//*! modernizr 3.3.1 (Custom Build) | MIT * * https://modernizr.com/download/?-forcetouch-touchevents-setclasses !*/ !function(e,n,t){function r(e,n){return typeof e===n}function o(){var e,n,t,o,i,s,a;for(var u in g)if(g.hasOwnProperty(u)){if(e=[],n=g[u],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(t=0;tp;p++)if(v=e[p],h=A.style[v],l(v,"-")&&(v=f(v)),A.style[v]!==t){if(i||r(o,"undefined"))return a(),"pfx"==n?v:!0;try{A.style[v]=o}catch(g){}if(A.style[v]!=h)return a(),"pfx"==n?v:!0}return a(),!1}function h(e,n,t,o,i){var s=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" "+T.join(s+" ")+s).split(" ");return r(n,"string")||r(n,"undefined")?v(a,n,o,i):(a=(e+" "+z.join(s+" ")+s).split(" "),p(a,n,t))}var y=[],g=[],_={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var t=this;setTimeout(function(){n(t[e])},0)},addTest:function(e,n,t){g.push({name:e,fn:n,options:t})},addAsyncTest:function(e){g.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=_,Modernizr=new Modernizr;var C=n.documentElement,w="svg"===C.nodeName.toLowerCase(),E=_._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];_._prefixes=E;var x=_.testStyles=u;Modernizr.addTest("touchevents",function(){var t;if("ontouchstart"in e||e.DocumentTouch&&n instanceof DocumentTouch)t=!0;else{var r=["@media (",E.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");x(r,function(e){t=9===e.offsetTop})}return t});var S=function(){function e(e,n){var o;return e?(n&&"string"!=typeof n||(n=s(n||"div")),e="on"+e,o=e in n,!o&&r&&(n.setAttribute||(n=s("div")),n.setAttribute(e,""),o="function"==typeof n[e],n[e]!==t&&(n[e]=t),n.removeAttribute(e)),o):!1}var r=!("onblur"in n.documentElement);return e}();_.hasEvent=S;var b="Moz O ms Webkit",T=_._config.usePrefixes?b.split(" "):[];_._cssomPrefixes=T;var O=function(n){var r,o=E.length,i=e.CSSRule;if("undefined"==typeof i)return t;if(!n)return!1;if(n=n.replace(/^@/,""),r=n.replace(/-/g,"_").toUpperCase()+"_RULE",r in i)return"@"+n;for(var s=0;o>s;s++){var a=E[s],u=a.toUpperCase()+"_"+r;if(u in i)return"@-"+a.toLowerCase()+"-"+n}return!1};_.atRule=O;var z=_._config.usePrefixes?b.toLowerCase().split(" "):[];_._domPrefixes=z;var N={elem:s("modernizr")};Modernizr._q.push(function(){delete N.elem});var A={style:N.elem.style};Modernizr._q.unshift(function(){delete A.style}),_.testAllProps=h;var P=_.prefixed=function(e,n,t){return 0===e.indexOf("@")?O(e):(-1!=e.indexOf("-")&&(e=f(e)),n?h(e,n,t):h(e,"pfx"))};Modernizr.addTest("forcetouch",function(){return S(P("mouseforcewillbegin",e,!1),e)?MouseEvent.WEBKIT_FORCE_AT_MOUSE_DOWN&&MouseEvent.WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN:!1}),o(),i(y),delete _.addTest,delete _.addAsyncTest;for(var j=0;j0){i--}if(m.which==40&&i .active");var j=k&&d.support.transition&&(f.length&&f.hasClass("fade")||!!g.find("> .fade").length);function i(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",false);h.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",true);if(j){h[0].offsetWidth;h.addClass("in")}else{h.removeClass("fade")}if(h.parent(".dropdown-menu").length){h.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",true)}k&&k()}f.length&&j?f.one("bsTransitionEnd",i).emulateTransitionEnd(b.TRANSITION_DURATION):i();f.removeClass("in")};function c(f){return this.each(function(){var h=d(this);var g=h.data("bs.tab");if(!g){h.data("bs.tab",(g=new b(this)))}if(typeof f=="string"){g[f]()}})}var a=d.fn.tab;d.fn.tab=c;d.fn.tab.Constructor=b;d.fn.tab.noConflict=function(){d.fn.tab=a;return this};var e=function(f){f.preventDefault();c.call(d(this),"show")};d(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery); ;/*})'"*/ ;/*})'"*/ (function($){Drupal.behaviors.menu_responsive={attach:function(context,settings){$("#header-mobile .nav-mobile").click(function(event){if(!$("body").hasClass($(this).attr("data-target"))){$("body").removeClass(function(index,css){return(css.match(/(^|\s)navmobile-\S+/g)||[]).join(" ")});$("body").addClass($(this).attr("data-target"))}else{$("body").removeClass($(this).attr("data-target"))}});if(Modernizr.touchevents){}$("#header-mobile #block-menu-menu-top .dropdown-toggle").click(function(e){e.preventDefault();setTimeout($.proxy(function(){if("ontouchstart"in document.documentElement){$(this).siblings(".dropdown-backdrop").off().remove()}},this),0)})}};Drupal.behaviors.search={attach:function(context,settings){$(".region-navigation form, .sticky-menu .navbar-default nav form").addClass("upvmForm");$(document).on("click",".upvmForm #edit-submit-search",function(e){if($(this).closest(".upvmForm").find('input[name="search_api_views_fulltext"]').val()==""){return false}$(".upvmForm #edit-submit-search").dbC});if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)){$(".lang_dropdown_form input").attr("readonly",true)}$(document).on("click",".upvmForm",function(e){if($(e.target).attr("id")=="views-exposed-form-search-search-page")$(".region-navigation form, .sticky-menu .navbar-default nav form").addClass("open");$(this).find("input[type=text]").focus();e.stopPropagation()});$(document).on("click",":not(.upvmForm)",function(e){if(!$(e.target).hasClass("auto_submit")&&$(e.target).attr("id")!="edit-submit-search")$(".region-navigation form, .sticky-menu .navbar-default nav form.open").removeClass("open")});$(document).on("click","#search-mobile",function(e){if($("#views-exposed-form-search-search-page").is(":visible")){$("#views-exposed-form-search-search-page input[type=text]").focus()}});var wto;$("#views-exposed-form-university-directory-landing select, #views-exposed-form-university-directory-members select").on("change",function(){clearTimeout(wto);wto=setTimeout(function(){$("#views-exposed-form-university-directory-landing, #views-exposed-form-university-directory-members").validateSearchForm()},100)});$("#views-exposed-form-university-directory-landing input, #views-exposed-form-university-directory-members input").on("input",function(){clearTimeout(wto);wto=setTimeout(function(){$("#views-exposed-form-university-directory-landing, #views-exposed-form-university-directory-members").validateSearchForm()},100)})}};$.fn.validateSearchForm=function(){var status_name="empty";var status_firstname="empty";var status_select="enable";var status_input="enable";var name=$("#edit-field-user-name-value").val();var firstname=$("#edit-field-user-firstname-value").val();if(name==""){status_name="empty"}else if(name.length<3){status_name="short"}else{status_name="ok"}if(firstname==""){status_firstname="empty"}else if(firstname.length<3){status_firstname="short"}else{status_firstname="ok"}$("#views-exposed-form-university-directory-landing select, #views-exposed-form-university-directory-members select").each(function(){if($(this).val()!="All"){status_select="enable";return false}else{status_select="disable"}});if(status_name=="empty"&&status_firstname=="empty"){status_input="empty"}if(status_name=="ok"||status_firstname=="ok"){status_input="ok"}if(status_input=="empty"&&status_select=="enable"||status_input=="ok"){$("#edit-submit-university-directory").removeAttr("disabled")}else{$("#edit-submit-university-directory").attr("disabled","disabled")}return this};Drupal.behaviors.scroll_to_top={attach:function(context,settings){$(function(){$(window).scroll(function(){if($(this).scrollTop()>100){$("#back-top").fadeIn()}else{$("#back-top").fadeOut()}});$("#back-top").click(function(){$("body,html").animate({scrollTop:0},800);return false})})}};Drupal.behaviors.stick_masonry={attach:function(context,settings){if(!$(".stiky-wrapper").length){$(".view-press .view-content .row .sticky-item").clone().addClass("sticky-wrapper").insertBefore(".view-press .view-content");$(".view-events .view-content .row .sticky-item").clone().addClass("sticky-wrapper").insertBefore(".view-events .view-content")}}};Drupal.behaviors.stick_menu={attach:function(context,settings){newClass="new-checkbox";if(!$(".new-checkbox").html())$(".disclaimer .form-checkbox").wrap('');if($("#edit-disclaimer").is(":checked")){$(".new-checkbox").addClass("check")}else{$(".new-checkbox").removeClass("check")}$("#edit-disclaimer").click(function(event){if($("#edit-disclaimer").is(":checked")){$(".new-checkbox").addClass("check")}else{$(".new-checkbox").removeClass("check")}});var $menu=$(".sticky-menu");$(window).scroll(function(){if($(document).scrollTop()>200){$menu.addClass("fixed")}else{$menu.removeClass("fixed")}})}};Drupal.behaviors.mosaique_masonry={attach:function(context,settings){if($(".mosaique-grid").html())$(".mosaique-grid").masonry({itemSelector:".mosaique-item",columnWidth:".mosaique-item",percentPosition:true})}};Drupal.behaviors.ipadSearch={attach:function(context,settings){if(Modernizr.touchevents){$(".upvmForm").attr("onClick","javascript:return true;")}}};Drupal.behaviors.responsive_embed={attach:function(context,settings){var $allVideos=$("video, object, embed"),$fluidEl=$(".videoWrapper");$allVideos.each(function(){$(this).attr("data-aspectRatio",this.height/this.width).removeAttr("height").removeAttr("width")});$(window).resize(function(){var newWidth=$fluidEl.width();$allVideos.each(function(){var $el=$(this);$el.width(newWidth).height(newWidth*$el.attr("data-aspectRatio"))})}).resize()}};Drupal.extlink.applyClassAndSpan=function(links,class_name){var $links_to_process;if(Drupal.settings.extlink.extImgClass){$links_to_process=$(links)}else{var links_with_images=$(links).find("img").parents("a");$links_to_process=$(links).not(links_with_images)}$links_to_process.addClass(class_name);var i;var length=$links_to_process.length;for(i=0;i '+Drupal.settings.extlink.mailtoLabel+"")}else{$link.append(' ')}}}};Drupal.behaviors.focusMenu={attach:function(context,settings){$("#page-header #block-og-menu-single-menu > div > ul").on("focus","li.dropdown",function(e){$("#block-utx-menu-menu-profile > div > ul > li").removeClass("has-focus");$("#block-og-menu-single-menu > div > ul.menu > li.has-focus").toggleClass("has-focus");var el=$(this);el.toggleClass("has-focus")});$("#block-utx-menu-menu-profile > div > ul").on("focus","li",function(e){$("#block-utx-menu-menu-profile > div > ul > li").removeClass("has-focus");var el=$(this);el.toggleClass("has-focus")});$("#block-og-menu-single-menu li.dropdown > div > ul > li.last:not(.expanded),#block-og-menu-single-menu li.dropdown > div > ul > li.last > ul > li.last").on("focusout",function(){var el=$(this);el.parents(".has-focus").removeClass("has-focus")});$("#block-utx-menu-menu-profile > div > ul > li.last.expanded.dropdown > div > ul > li.last:not(.expanded), #block-utx-menu-menu-profile > div > ul > li.first.expanded.dropdown > div > ul > li.last.expanded > ul > li.last").focusout(function(){var el=$(this);el.parents(".has-focus").removeClass("has-focus")})}}})(jQuery); ;/*})'"*/ ;/*})'"*/ (function(){if(typeof L!="undefined"){L.Control.FullScreen=L.Control.extend({options:{position:"topleft",title:"Full Screen",titleCancel:"Exit Full Screen",forceSeparateButton:false,forcePseudoFullscreen:false,fullscreenElement:false},onAdd:function(h){var f="leaflet-control-zoom-fullscreen",e,g="";if(h.zoomControl&&!this.options.forceSeparateButton){e=h.zoomControl._container}else{e=L.DomUtil.create("div","leaflet-bar")}if(this.options.content){g=this.options.content}else{f+=" fullscreen-icon"}this._createButton(this.options.title,f,g,e,this.toggleFullScreen,this);this._map.on("enterFullscreen exitFullscreen",this._toggleTitle,this);return e},_createButton:function(j,h,i,e,g,f){this.link=L.DomUtil.create("a",h,e);this.link.href="#";this.link.title=j;this.link.innerHTML=i;L.DomEvent.addListener(this.link,"click",L.DomEvent.stopPropagation).addListener(this.link,"click",L.DomEvent.preventDefault).addListener(this.link,"click",g,f);L.DomEvent.addListener(e,d.fullScreenEventName,L.DomEvent.stopPropagation).addListener(e,d.fullScreenEventName,L.DomEvent.preventDefault).addListener(e,d.fullScreenEventName,this._handleEscKey,f);L.DomEvent.addListener(document,d.fullScreenEventName,L.DomEvent.stopPropagation).addListener(document,d.fullScreenEventName,L.DomEvent.preventDefault).addListener(document,d.fullScreenEventName,this._handleEscKey,f);return this.link},toggleFullScreen:function(){var e=this._map;e._exitFired=false;if(e._isFullscreen){if(d.supportsFullScreen&&!this.options.forcePseudoFullscreen){d.cancelFullScreen(this.options.fullscreenElement?this.options.fullscreenElement:e._container)}else{L.DomUtil.removeClass(e._container,"leaflet-pseudo-fullscreen")}e.invalidateSize();e.fire("exitFullscreen");e._exitFired=true;e._isFullscreen=false}else{if(d.supportsFullScreen&&!this.options.forcePseudoFullscreen){d.requestFullScreen(this.options.fullscreenElement?this.options.fullscreenElement:e._container)}else{L.DomUtil.addClass(e._container,"leaflet-pseudo-fullscreen")}e.invalidateSize();e.fire("enterFullscreen");e._isFullscreen=true}},_toggleTitle:function(){this.link.title=this._map._isFullscreen?this.options.title:this.options.titleCancel},_handleEscKey:function(){var e=this._map;if(!d.isFullScreen(e)&&!e._exitFired){e.fire("exitFullscreen");e._exitFired=true;e._isFullscreen=false}}});L.Map.addInitHook(function(){if(this.options.fullscreenControl){this.fullscreenControl=L.control.fullscreen(this.options.fullscreenControlOptions);this.addControl(this.fullscreenControl)}});L.control.fullscreen=function(e){return new L.Control.FullScreen(e)};var d={supportsFullScreen:false,isFullScreen:function(){return false},requestFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",prefix:""},c="webkit moz o ms khtml".split(" ");if(typeof document.exitFullscreen!=="undefined"){d.supportsFullScreen=true}else{for(var b=0,a=c.length;b766){sec_block.empty();first_block.html(form_save)}else{first_block.empty();sec_block.html(form_save)}}form_save=b('[id^="views-exposed-form-university"]').first().parents(".block-views").html();first_block=b('[id^="views-exposed-form-university"]').first().parents(".block-views").empty();sec_block=b('[id^="views-exposed-form-university"]').first().parents(".block-views").empty();a();b(window).resize(function(){a()});form_categ=b('[id^="views-exposed-form-university"]').first().find("select#edit-field-statut-publiant-tid").val();b("#subfilter a").removeClass("active");b("#subfilter").find("#"+form_categ).addClass("active");b(".view-contextual-blocks .cv-container").parents(".views-row").css("display","none")}); ;/*})'"*/ ;/*})'"*/