PageSourceSearch

https://www.actemium.ch/app/themes/actemium/dist/scripts/main_d138f6f0.js

js actemium.ch collected 2026-10-07 00:02:05 UTC 14,083 bytes, 1 lines download raw bytes

1!function(t){function e(n){if(i[n])return i[n].exports;var s=i[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,e),s.l=!0,s.exports}var i={};e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/app/themes/actemium/dist/",e(e.s=1)}([function(t,e){t.exports=jQuery},function(t,e,i){i(2),t.exports=i(11)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){var e=i(0),n=(i.n(e),i(3)),s=i(5),o=i(9),r=i(10),a=new n.a({common:s.a,home:o.a,aboutUs:r.a});t(document).ready(function(){return a.loadEvents()})}.call(e,i(0))},function(t,e,i){"use strict";var n=i(4),s=function(t){this.routes=t};s.prototype.fire=function(t,e,i){void 0===e&&(e="init"),""!==t&&this.routes[t]&&"function"==typeof this.routes[t][e]&&this.routes[t][e](i)},s.prototype.loadEvents=function(){var t=this;this.fire("common"),document.body.className.toLowerCase().replace(/-/g,"_").split(/\s+/).map(n.a).forEach(function(e){t.fire(e),t.fire(e,"finalize")}),this.fire("common","finalize")},e.a=s},function(t,e,i){"use strict";e.a=function(t){return""+t.charAt(0).toLowerCase()+t.replace(/[\W_]/g,"|").split("|").map(function(t){return""+t.charAt(0).toUpperCase()+t.slice(1)}).join("").slice(1)}},function(t,e,i){"use strict";(function(t){var n=i(6),s=i(8),o=null;e.a={init:function(){new n.a,o=Object(s.a)(),window.addEventListener("load",function(){o&&o.refresh()}),t(window).on("load",function(){function e(){function e(){n.find(".content").slideDown(500),setTimeout(function(){n.addClass("active")},300)}var i=t(this),n=i.closest(".item"),s=n.parent().find(".item"),o=s.index(n),r=s.filter(":not(:eq("+o+"))"),a=!n.parent().find(".item.active").length,h=!!n.hasClass("active"),c=0==a&&0==h;window.matchMedia("(min-width: 1200px)").matches&&(a?e():h?function(){n.removeClass("active"),n.find(".content").slideUp(500)}():c&&(!function(){r.removeClass("active"),r.find(".content").slideUp(500)}(),e()))}t("body").on("click",".module-hero-markers .marker-selector",e),t(".news-filters-container select").length>0&&t(".news-filters-container select").select2({minimumResultsForSearch:1/0})})},finalize:function(){}}}).call(e,i(0))},function(t,e,i){"use strict";var n=i(7);i.d(e,"a",function(){return n.a})},function(t,e,i){"use strict";var n=function(t,e){if(void 0===t&&(t=".js-scroll-top"),void 0===e&&(e={}),this.button="string"==typeof t?document.querySelector(t):t,this.defaultLabel=e.label||"Retour en haut de la page",this.button){var i=parseFloat(e.thresholdRatio);this.thresholdRatio=Number.isFinite(i)&&i>=0?i:1,this.ensureMarkupIntegrity();var n=window.requestAnimationFrame;this.raf="function"==typeof n?n.bind(window):function(t){return window.setTimeout(t,16)},this.viewportHeight=this.getViewportHeight(),this.thresholdValue=this.computeThreshold(),this.lastKnownScrollY=this.getScrollPosition(),this.ticking=!1,this.resizeTicking=!1,this.handleScroll=this.handleScroll.bind(this),this.updateVisibility=this.updateVisibility.bind(this),this.handleResize=this.handleResize.bind(this),this.handleClick=this.handleClick.bind(this),this.handleMotionPreferenceChange=this.handleMotionPreferenceChange.bind(this),this.handleLoad=this.handleLoad.bind(this),this.motionMediaQuery=window.matchMedia?window.matchMedia("(prefers-reduced-motion: reduce)"):null,this.prefersReducedMotion=!!this.motionMediaQuery&&this.motionMediaQuery.matches,this.motionMediaQuery&&("function"==typeof this.motionMediaQuery.addEventListener?this.motionMediaQuery.addEventListener("change",this.handleMotionPreferenceChange):"function"==typeof this.motionMediaQuery.addListener&&this.motionMediaQuery.addListener(this.handleMotionPreferenceChange)),this.hide(!0),window.addEventListener("scroll",this.handleScroll),window.addEventListener("resize",this.handleResize),window.addEventListener("load",this.handleLoad),this.button.addEventListener("click",this.handleClick),this.updateVisibility()}};
1n.prototype.getViewportHeight=function(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||0},n.prototype.getScrollPosition=function(){return"undefined"==typeof window?0:window.pageYOffset||document.documentElement&&document.documentElement.scrollTop||document.body&&document.body.scrollTop||0},n.prototype.getThresholdInput=function(){return this.button.dataset.scrollTopThreshold||""},n.prototype.computeThreshold=function(){var t=(this.getThresholdInput()||"").toString().trim().toLowerCase();if(!t)return Math.max(this.viewportHeight*this.thresholdRatio,0);var e=function(t){var e=parseFloat(t);return Number.isFinite(e)&&e>=0?e:null};if(t.endsWith("vh")){var i=e(t.slice(0,-2));if(null!==i)return Math.max((this.viewportHeight||0)*(i/100),0)}if(t.endsWith("px")){var n=e(t.slice(0,-2));if(null!==n)return n}var s=e(t);return null!==s?s:Math.max(this.viewportHeight*this.thresholdRatio,0)},n.prototype.handleMotionPreferenceChange=function(t){this.prefersReducedMotion=!!t.matches},n.prototype.handleLoad=function(){this.viewportHeight=this.getViewportHeight(),this.thresholdValue=this.computeThreshold(),this.lastKnownScrollY=this.getScrollPosition(),this.updateVisibility()},n.prototype.handleScroll=function(){var t=this;this.lastKnownScrollY=this.getScrollPosition(),this.ticking||(this.ticking=!0,this.raf(function(){t.updateVisibility(),t.ticking=!1}))},n.prototype.handleResize=function(){var t=this;this.resizeTicking||(this.resizeTicking=!0,this.raf(function(){t.viewportHeight=t.getViewportHeight(),t.thresholdValue=t.computeThreshold(),t.lastKnownScrollY=t.getScrollPosition(),t.updateVisibility(),t.resizeTicking=!1}))},n.prototype.handleClick=function(t){t.preventDefault(),this.prefersReducedMotion?window.scrollTo(0,0):window.scrollTo({top:0,behavior:"smooth"})},n.prototype.updateVisibility=function(){this.lastKnownScrollY>=this.thresholdValue?this.show():this.hide()},n.prototype.show=function(){this.isVisible||(this.isVisible=!0,this.button.classList.add("is-visible"),this.button.removeAttribute("aria-hidden"),this.button.removeAttribute("tabindex"))},n.prototype.hide=function(t){void 0===t&&(t=!1),(this.isVisible||t)&&(this.isVisible=!1,this.button.classList.remove("is-visible"),this.button.setAttribute("aria-hidden","true"),this.button.setAttribute("tabindex","-1"))},n.prototype.destroy=function(){window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("resize",this.handleResize),window.removeEventListener("load",this.handleLoad),this.button.removeEventListener("click",this.handleClick),this.motionMediaQuery&&("function"==typeof this.motionMediaQuery.removeEventListener?this.motionMediaQuery.removeEventListener("change",this.handleMotionPreferenceChange):"function"==typeof this.motionMediaQuery.removeListener&&this.motionMediaQuery.removeListener(this.handleMotionPreferenceChange))},n.prototype.ensureMarkupIntegrity=function(){if(this.button){var t=this.button.getAttribute("aria-label")||this.defaultLabel;this.button.setAttribute("aria-label",t);var e=this.button.querySelector(".icon-scroll");e||(e=document.createElement("span"),e.className="icon-scroll",this.button.insertBefore(e,this.button.firstChild||null)),e.setAttribute("aria-hidden","true"),this.setIconMarkup(e);var i=this.button.querySelector(".screen-reader-text");i||(i=document.createElement("span"),i.className="screen-reader-text",this.button.appendChild(i)),i.textContent||(i.textContent=t),this.button.dataset.scrollTopAlign||(this.button.dataset.scrollTopAlign="right"),this.button.dataset.scrollTopThreshold||(this.button.dataset.scrollTopThreshold=100*this.thresholdRatio+"vh")}},n.prototype.setIconMarkup=function(t){t&&!t.querySelector("svg.scroll-top__icon")&&(t.innerHTML=this.getIconMarkup())},n.prototype.getIconMarkup=function(){return'<svg class="scroll-top__icon" width="24" height="30" viewBox="0 0 24 30" role="presentation" focusable="false" xmlns="http://www.w3.org/2000/svg"><path class="scroll-top__chevron scroll-top__chevron--lower" opacity="0.4" d="M6.69922 12.9L11.9992 8L17.2992 12.9" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
1<path class="scroll-top__chevron scroll-top__chevron--upper" opacity="0.15" d="M6.69922 6.9L11.9992 2L17.2992 6.9" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path class="scroll-top__arrow" d="M7.48665 19.4525L10.9495 16.2371L10.9495 29.5H13.0522L13.0522 16.2371L16.5133 19.4525L18 18.0721L12.0008 12.5L6 18.0721L7.48665 19.4525Z" fill="currentColor"/></svg>'},e.a=n},function(t,e,i){"use strict";function n(t){if(void 0===t&&(t={}),"undefined"==typeof document)return{instances:[],refresh:function(){},destroy:function(){}};var e=Object.assign({selector:s,containerSelector:o,minWidth:r,offset:0},t),i=Array.prototype.slice.call(document.querySelectorAll(e.selector)),n=i.map(function(t){return new l(t,e)});return{instances:n,refresh:function(){n.forEach(function(t){return t.refresh()})},destroy:function(){n.forEach(function(t){return t.destroy()})}}}e.a=n;var s=".page-content-wrapper.with-sidebar .sidebar.is-sticky",o=".page-content-wrapper.with-sidebar",r=1024,a=function(t,e){var i=parseFloat(t);return Number.isNaN(i)?e:i},h=function(){if("undefined"==typeof document||!document.body)return 0;if(!document.body.classList.contains("admin-bar"))return 0;var t=document.getElementById("wpadminbar");return t?t.offsetHeight||0:0},c="undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){return setTimeout(t,16)},l=function(t,e){this.sidebar=t,this.options=e,this.state="default",this.currentTranslate=0,this.ticking=!1,this.active=!1,this.initialTransform=t.style.transform||"",this.onScroll=this.handleScroll.bind(this),this.onResize=this.handleResize.bind(this),this.refresh(),window.addEventListener("scroll",this.onScroll,{passive:!0}),window.addEventListener("resize",this.onResize),this.handleScroll(!0)};l.prototype.getContainer=function(){if("function"==typeof this.options.getContainer)return this.options.getContainer(this.sidebar);if(this.options.containerSelector){var t=this.sidebar.closest(this.options.containerSelector);if(t)return t}return this.sidebar.parentElement},l.prototype.resolveOffset=function(){var t=this.sidebar.getAttribute("data-sticky-offset");return(null!==t?a(t,0):"function"==typeof this.options.offset?a(this.options.offset(this.sidebar),0):a(this.options.offset,0))+h()},l.prototype.resolveMinWidth=function(){var t=this.sidebar.getAttribute("data-sticky-min-width");return null!==t?a(t,r):a(this.options.minWidth,r)},l.prototype.setupResizeObserver=function(){var t=this;"undefined"!=typeof window&&void 0!==window.ResizeObserver&&(this.resizeObserver||(this.resizeObserver=new window.ResizeObserver(function(){return t.refresh()})),this.resizeObserver.disconnect(),this.container&&this.resizeObserver.observe(this.container),this.resizeObserver.observe(this.sidebar))},l.prototype.shouldActivate=function(){return!!this.container&&(!(!this.viewportHeight||this.viewportHeight<=0)&&(!((window.innerWidth||document.documentElement.clientWidth||0)<this.minWidth)&&this.containerHeight>this.sidebarHeight+1))},l.prototype.refresh=function(){if(this.container=this.getContainer(),this.minWidth=this.resolveMinWidth(),this.offset=this.resolveOffset(),this.sidebar.style.transform=this.initialTransform,this.sidebar.classList.remove("is-fixed"),this.sidebar.classList.remove("is-stuck-bottom"),this.state="default",this.currentTranslate=0,!this.container)return void(this.active=!1);var t=this.container.getBoundingClientRect(),e=this.sidebar.getBoundingClientRect(),i=window.pageYOffset||window.scrollY||0;this.containerTop=t.top+i,this.containerHeight=this.container.offsetHeight,this.sidebarHeight=this.sidebar.offsetHeight,this.viewportHeight=window.innerHeight||document.documentElement.clientHeight||0,this.sidebarTop=e.top+i;var n=this.sidebarTop+this.sidebarHeight-this.viewportHeight+this.offset;if(this.start=Math.max(this.sidebarTop,n),this.maxTranslate=Math.max(0,this.containerTop+this.containerHeight-(this.sidebarTop+this.sidebarHeight)),this.end=this.start+this.maxTranslate,this.setupResizeObserver(),this.active=this.shouldActivate(),!this.active)return void this.reset();this.handleScroll(!0)},l.prototype.handleScroll=function(t){var e=this;if(!this.active)return void(t&&this.reset());if(!this.ticking||t){this.ticking=!0;var i=function(){var t=window.pageYOffset||window.scrollY||0,i="default",n=0;t<=e.start?(i="default",n=0):t>=e.end?(i="bottom",n=e.maxTranslate):(i="fixed",n=t-e.start),e.applyState(i,n),e.ticking=!1};t?i():c(i)}},l.prototype.handleResize=function(){this.refresh()},l.prototype.applyState=function(t,e){if(this.state!==t||this.currentTranslate!==e){if(this.state=t,this.currentTranslate=e,0===e)this.sidebar.style.transform=this.initialTransform;else{var i=(this.initialTransform?this.initialTransform+" ":"")+"translate3d(0, "+e+"px, 0)";this.sidebar.style.transform=i}"fixed"===t?(this.sidebar.classList.add("is-fixed"),this.sidebar.classList.remove("is-stuck-bottom")):"bottom"===t?(this.sidebar.classList.add("is-stuck-bottom"),this.sidebar.classList.remove("is-fixed")):(this.sidebar.classList.remove("is-fixed"),this.sidebar.classList.remove("is-stuck-bottom"))}},l.prototype.reset=function(){this.sidebar.style.transform=this.initialTransform,this.sidebar.classList.remove("is-fixed"),this.sidebar.classList.remove("is-stuck-bottom"),this.state="default",this.currentTranslate=0},l.prototype.destroy=function(){window.removeEventListener("scroll",this.onScroll),window.removeEventListener("resize",this.onResize),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.reset()}}
1,function(t,e,i){"use strict";e.a={init:function(){},finalize:function(){}}},function(t,e,i){"use strict";e.a={init:function(){}}},function(t,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.