1"use strict";(self.webpackChunklycra_website=self.webpackChunklycra_website||[]).push([[8792],{8804:function(t,e,n){var r=n(4692),o=n.n(r),i=n(8221),l=n.n(i),a=n(3366),s=n(3729);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,f(r.key),r)}}function f(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}var h=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.TIMEOUT=100,this.TRANSLATION=100,this.RESIZE_TIME=300,this.CLASSES={base:"scroll-reveal",visible:"scroll-reveal--visible",hide:"scroll-reveal--hide"},this.selector=e,this.elements=null,this.timer=null,this.scrollHandler=null}var e,n,r;return e=t,(n=[{key:"init",value:function(){this.elements=o()(".".concat(this.selector)),a.A.isTablet?this.elements.addClass(this.CLASSES.visible):(this.initScroll(),this.scrollReveal(o()(window).scrollTop()))}},{key:"initScroll",value:function(){var t=this;this.scrollHandler=new s.A,this.scrollHandler.init(),this.scrollHandler.onScroll(function(e,n){e&&n<o()(document).height()&&t.scrollReveal(n)})}},{key:"scrollReveal",value:function(t){for(var e=this,n=this.elements.length,r=o()(window).height(),i=0;i<n;i++){var l=o()(this.elements[i]);l.hasClass("no-scroll-reveal")||function(){l.addClass(e.CLASSES.base);var n=l.offset().top-r,o=l.hasClass(e.CLASSES.visible),i=void 0;o||(l.css({transform:"translateY(".concat(e.TRANSLATION,"px)"),opacity:0}),t>=n&&(i=l)),i&&i.length>0&&(i.addClass(e.CLASSES.visible),i.animate({transform:"translateY(0)",opacity:1},0,function(){i.removeAttr("style")}))}()}}}])&&u(e.prototype,n),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function b(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,y(r.key),r)}}function y(t){var e=function(t,e){if("object"!=v(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==v(e)?e:e+""}var d=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$elt=e,this.SPEED=200}var e,n,r;return e=t,n=[{key:"init",value:function(){var t=this;this.$elt.each(function(e,n){var r=o()(n);window.addEventListener("scroll",function(){t.handleScroll(r)}),t.handleScroll(r)})}},{key:"handleScroll",value:function(t){var e=t.find(".parallax-background__transformation"),n=t[0].getBoundingClientRect(),r=n.height,o=n.top-window.innerHeight,i=n.bottom,l=window.innerHeight+r;if(o<0&&i>0){var a=Math.abs(o)/l*100,s=this.SPEED*a/100;e.css({top:"-".concat(this.SPEED,"px"),transform:"translateY(".concat(s.toString(),"px")})}}}],n&&b(e.prototype,n),r&&b(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();o()("body").toggleClass("ie",a.A.isIE),o()("body").toggleClass("edge",a.A.isEdge),Drupal&&function(t,e){e.behaviors.lycra_webform={attach:function(){t(document).ajaxComplete(function(){var t=new CustomEvent("lycra-webform-init",{});document.dispatchEvent(t)})}}}(jQuery,Drupal),o()(document).ready(function(){var t="base-module",e=o()(".".concat(t)).length;a.A.isTablet||new d(o()(".module-background")).init();var n=setInterval(function(){var r=o()(".".concat(t,"--ready")).length;e===r&&(clearInterval(n),new h("".concat(t)).init())},100),r=o()(window).width(),i=l()(function(){o()(window).width()!==r&&(a.A.vhFix(),o()(document).trigger(a.A.EVENTS.windowResize),r=o()(window).width())},300);o()(window).on("resize",i),i()})}},function(t){t.O(0,[3949],function(){return e=8804,t(t.s=e);var e});t.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.