PageSourceSearch

https://www.operadeparis.fr/dist/chunks/stacked_slider.74d441fb3c41eb6aabab.js

js operadeparis.fr collected 2026-10-02 02:22:08 UTC 3,907 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkonp=self.webpackChunkonp||[]).push([[3606],{31997(t,e,n){function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}const o=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Object.assign({tilt:"tilt",transition:"transition",captured:"captured",init:"stacked-slider"},n),o=[],a=!1;function s(){o.forEach(function(t){return t()}),o.length=0,t.classList.remove(i.init),Array.from(u()).forEach(function(t){t.removeAttribute("aria-hidden")})}function c(){a&&s(),a=!0,t.classList.add(i.init);var e=l();Array.from(u()).forEach(function(t){t!==e&&t.setAttribute("aria-hidden","true")});var n=null,c=!1,d=!1,v=new IntersectionObserver(function(e){var o=r(e,1)[0];!c&&o.isIntersecting&&(t.addEventListener("animationend",function(){d=!1,t.classList.remove(i.tilt)},{once:!0}),n=setTimeout(function(){d=!0,t.classList.add(i.tilt)},500)),o.isIntersecting||(c=!1)},{threshold:1});v.observe(t),o.push(function(){clearTimeout(n),v.disconnect()});var f=!1,m=!1,p=null,h=null,y=null,L=null;function E(t){m&&t.preventDefault()}function b(t){f=!0,h=t.screenX,y=t.screenY}function A(e){if(f){L=e.screenX;var n=Math.abs(e.screenY-y),r=Math.abs(L-h);!m&&r>n&&r>3&&(c=!0,m=!0,w(),t.classList.add(i.captured),d&&(d=!1,t.classList.remove(i.tilt)))}}function g(n){var r=L-h;f=!1,h=null,y=null,m&&(m=!1,L=null,cancelAnimationFrame(p),t.classList.remove(i.captured),function(n){e.classList.add(i.transition),e.addEventListener("transitionend",function(){e.classList.remove(i.transition)},{once:!0}),n>-100?e.style.removeProperty("transform"):(e.style.setProperty("transform","translateX(".concat(-window.innerWidth,"px)")),e.addEventListener("transitionend",function(){e.style.removeProperty("transform"),t.removeChild(e),t.appendChild(e),e.setAttribute("aria-hidden","true"),(e=l()).removeAttribute("aria-hidden"),e.addEventListener("transitionend",function(){e.classList.remove(i.transition)}),e.classList.add(i.transition)},{once:!0}))}(r))}function w(){p=requestAnimationFrame(function(){var t=Math.min(0,L-h);e.style.setProperty("transform","translateX(".concat(t,"px)")),w()})}t.addEventListener("pointerdown",b),t.addEventListener("pointerup",g),t.addEventListener("pointercancel",g),t.addEventListener("pointermove",A),t.addEventListener("click",E),t.addEventListener("touchstart",E),t.addEventListener("touchmove",E),o.push(function(){e.classList.remove(i.transition),e.style.removeProperty("transform"),cancelAnimationFrame(p),t.classList.remove(i.captured),t.removeEventListener("pointerdown",b),t.removeEventListener("pointerup",g),t.removeEventListener("pointercancel",g),t.removeEventListener("pointermove",A),t.removeEventListener("click",E),t.removeEventListener("touchstart",E),t.removeEventListener("touchmove",E)})}function l(){return e?t.querySelector(e):t.firstElementChild}function u(){return e?t.querySelectorAll(e):t.children}return c(),{destroy:s,init:c}};n.d(e,["default",0,o])}}]);

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.