!function(v,m,y,t){"use strict";var C="slick",b="unslick",w=C+"--initialized",e=".slick:not(."+w+")",z=".slick__slider",_=".slick__arrow",P=".b-lazy[data-src]:not(.b-loaded)",x=".media__icon--close",$="is-playing",A="is-paused",D="data-thumb",L="data-b-thumb",S=m.blazy||{};function i(e){var n,i,s=v(e),a=v("> "+z,e).length?v("> "+z,e):s,o=v("> "+_,e),t=a.data(C)?v.extend({},y.slick,a.data(C)):v.extend({},y.slick),l=!("array"!==v.type(t.responsive)||!t.responsive.length)&&t.responsive,d=t.appendDots,c="blazy"===t.lazyLoad&&S,r=a.find(".media--player").length,f=a.hasClass(b);if(f||(t.appendDots=d===_?o:d||v(a)),l)for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&l[n].settings!==b&&(l[n].settings=v.extend({},y.slick,k(t),l[n].settings));function u(n){a.find(P).length&&((n=a.find(n?".slide:not(.slick-cloned) "+P:".slick-active "+P)).length||(n=a.find(".slick-cloned "+P)),n.length&&S.init&&S.init.load(n))}function h(){r&&g(),c&&u(!1)}function g(){a.removeClass(A);var n=a.find("."+$);n.length&&n.removeClass($).find(x).click()}function p(){a.addClass(A).slick("slickPause")}function k(l){return f?{}:{slide:l.slide,lazyLoad:l.lazyLoad,dotsClass:l.dotsClass,rtl:l.rtl,prevArrow:v(".slick-prev",o),nextArrow:v(".slick-next",o),appendArrows:o,customPaging:function(n,i){var s,t=n.$slides.eq(i),e=t.find("["+D+"]"),a=D;e.length||(e=t.find("["+L+"]"),a=L),e.length&&(s=(s=e.find("img").attr("alt"))?m.checkPlain(s):"Preview",s='<img alt="'+m.t(s)+'" src="'+e.attr(a)+'">',s=0<l.dotsClass.indexOf("thumbnail")?'<div class="slick-dots__thumbnail">'+s+"</div>":"");i=n.defaults.customPaging(n,i);return s?i.add(s):i}}}a.data(C,t),(t=a.data(C)).randomize&&!a.hasClass("slick-initiliazed")&&a.children().sort(function(){return.5-Math.random()}).each(function(){a.append(this)}),f||a.on("init.sl",function(n,i){d===_&&v(i.$dots).insertAfter(i.$prevArrow);i=a.find(".slick-cloned.slick-active "+P);c&&i.length&&S.init&&S.init.load(i)}),c?a.on("beforeChange.sl",function(){u(!0)}):(i=v(".media",a)).length&&(i.find("[data-src]").length||i.hasClass("b-bg"))&&i.closest(".slide__content").addClass("is-loading"),a.on("setPosition.sl",function(n,i){var s,t;i=(s=i).slideCount<=s.options.slidesToShow,t=i||!1===s.options.arrows,a.attr("id")===s.$slider.attr("id")&&(s.options.centerPadding&&"0"!==s.options.centerPadding||s.$list.css("padding",""),i&&(s.$slideTrack.width()<=s.$slider.width()||v(e).hasClass("slick--thumbnail"))&&s.$slideTrack.css({left:"",transform:""}),(s=a.find(".b-loaded ~ .b-loader")).length&&s.remove(),o.length&&v.each(["next","prev"],function(n,i){v(".slick-"+i,o)[t?"addClass":"removeClass"]("visually-hidden")}))}),a.slick(k(t)),a.parent().on("click.sl",".slick-down",function(n){n.preventDefault();n=v(this);v("html, body").stop().animate({scrollTop:v(n.data("target")).offset().top-(n.data("offset")||0)},800,v.easing&&t.easing?t.easing:"swing")}),t.mouseWheel&&a.on("mousewheel.sl",function(n,i){return n.preventDefault(),a.slick(i<0?"slickNext":"slickPrev")}),c||a.on("lazyLoaded lazyLoadError",function(n,i,s){var t;t=(s=v(t=s)).closest(".slide")||s.closest("."+b),s.parentsUntil(t).removeClass(function(n,i){return(i.match(/(\S+)loading/g)||[]).join(" ")})}),a.on("afterChange.sl",h),r&&(a.on("click.sl",x,g),a.on("click.sl",".media__icon--play",p)),s.removeClass(function(n,i){return(i.match(/(\S+)loading/g)||[]).join(" ")}),f&&a.slick(b),s.addClass(w)}m.behaviors.slick={attach:function(n){t.once(i,C,e,n)},detach:function(n,i,s){"unload"===s&&t.once.removeSafely(C,e,n)}}}(jQuery,Drupal,drupalSettings,dBlazy);