PageSourceSearch

https://static.designboom.com/wp-content/themes/designboom/res/js/d__b_app_archive.js?ver=build-20260920112802

js designboom.com collected 2026-09-24 08:03:33 UTC 67,992 bytes, 1 lines download raw bytes

1(()=>{var t={9741:(t,e,i)=>{var n,s;!function(r,o){"use strict";void 0===(s="function"==typeof(n=o)?n.call(e,i,e,t):n)||(t.exports=s)}(window,(function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(e,i){return e[t](i)}}))},7158:function(t,e,i){var n,s;"undefined"!=typeof window&&window,void 0===(s="function"==typeof(n=function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],s=0;s<i.length;s++){var r=i[s];n&&n[r]&&(this.off(t,r),delete n[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})?n.call(e,i,e,t):n)||(t.exports=s)},9047:(t,e,i)=>{var n,s;!function(r,o){n=[i(9741)],s=function(t){return function(t,e){"use strict";var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},n=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var s=[];return t.forEach((function(t){if(t instanceof HTMLElement)if(n){e(t,n)&&s.push(t);for(var i=t.querySelectorAll(n),r=0;r<i.length;r++)s.push(i[r])}else s.push(t)})),s},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s];clearTimeout(t);var e=arguments,r=this;this[s]=setTimeout((function(){n.apply(r,e),delete r[s]}),i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,i){return e+"-"+i})).toLowerCase()};var s=t.console;return i.htmlInit=function(e,n){i.docReady((function(){var r=i.toDashed(n),o="data-"+r,a=document.querySelectorAll("["+o+"]"),l=document.querySelectorAll(".js-"+r),c=i.makeArray(a).concat(i.makeArray(l)),h=o+"-options",d=t.jQuery;c.forEach((function(t){var i,r=t.getAttribute(o)||t.getAttribute(h);try{i=r&&JSON.parse(r)}catch(e){return void(s&&s.error("Error parsing "+o+" on "+t.className+": "+e))}var a=new e(t,i);d&&d.data(t,n,a)}))}))},i}(r,t)}.apply(e,n),void 0===s||(t.exports=s)}(window)},3597:(t,e,i)=>{var n,s;window,n=[i(7217),i(9047)],void 0===(s=function(t,e){return function(t,e,i){"use strict";function n(t){var e=document.createDocumentFragment();return t.forEach((function(t){e.appendChild(t.element)})),e}var s=e.prototype;return s.insert=function(t,e){var i=this._makeCells(t);if(i&&i.length){var s=this.cells.length;e=void 0===e?s:e;var r=n(i),o=e==s;if(o)this.slider.appendChild(r);else{var a=this.cells[e].element;this.slider.insertBefore(r,a)}if(0===e)this.cells=i.concat(this.cells);else if(o)this.cells=this.cells.concat(i);else{var l=this.cells.splice(e,s-e);this.cells=this.cells.concat(i).concat(l)}this._sizeCells(i),this.cellChange(e,!0)}},s.append=function(t){this.insert(t,this.cells.length)},s.prepend=function(t){this.insert(t,0)},s.remove=function(t){var e=this.getCells(t);if(e&&e.length){var n=this.cells.length-1;e.forEach((function(t){t.remove();var e=this.cells.indexOf(t);n=Math.min(e,n),i.removeFrom(this.cells,t)}),this),this.cellChange(n,!0)}},s.cellSizeChange=function(t){var e=this.getCell(t);if(e){e.getSize();var i=this.cells.indexOf(e);this.cellChange(i)}},s.cellChange=function(t,e){var i=this.selectedElement;this._positionCells(t),this._getWrapShiftCells(),this.setGallerySize();var n=this.getCell(i);n&&(this.selectedIndex=this.getCellSlideIndex(n)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[t]),this.select(this.selectedIndex),e&&this.positionSliderAtSelected()},e}(0,t,e)}.apply(e,n))||(t.exports=s)}
1,7880:(t,e,i)=>{var n,s;window,n=[i(9047)],void 0===(s=function(t){return function(t,e){"use strict";var i={startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();var t=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(t),this.isAnimating){var e=this;requestAnimationFrame((function(){e.animate()}))}},positionSlider:function(){var t=this.x;this.options.wrapAround&&this.cells.length>1&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,t=this.options.rightToLeft?-t:t;var i=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+i+",0,0)":"translateX("+i+")"},dispatchScrollEvent:function(){var t=this.slides[0];if(t){var e=-this.x-t.target,i=e/this.slidesWidth;this.dispatchEvent("scroll",null,[i,e])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){!this.isPointerDown&&Math.round(100*this.x)==Math.round(100*t)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);var i=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},_shiftCells:function(t,e,i){for(var n=0;n<t.length;n++){var s=t[n],r=e>0?i:0;s.wrapShift(r),e-=s.size.outerWidth}},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e<t.length;e++)t[e].wrapShift(0)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(t){this.velocity+=t},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){if(this.isDraggable&&this.isPointerDown){var t=this.dragX-this.x-this.velocity;this.applyForce(t)}},applySelectedAttraction:function(){if((!this.isDraggable||!this.isPointerDown)&&!this.isFreeScrolling&&this.slides.length){var t=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction;this.applyForce(t)}}};return i}(0,t)}.apply(e,n))||(t.exports=s)},7229:(t,e,i)=>{var n,s;window,n=[i(6131)],void 0===(s=function(t){return function(t,e){"use strict";function i(t,e){this.element=t,this.parent=e,this.create()}var n=i.prototype;return n.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0,this.element.style[this.parent.originSide]=0},n.destroy=function(){this.unselect(),this.element.style.position="";var t=this.parent.originSide;this.element.style[t]="",this.element.style.transform="",this.element.removeAttribute("aria-hidden")},n.getSize=function(){this.size=e(this.element)},n.setPosition=function(t){this.x=t,this.updateTarget(),this.renderPosition(t)},n.updateTarget=n.setDefaultTarget=function(){var t="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[t]+this.size.width*this.parent.cellAlign},n.renderPosition=function(t){var e="left"===this.parent.originSide?1:-1,i=this.parent.options.percentPosition?t*e*(this.parent.size.innerWidth/this.size.width):t*e;this.element.style.transform="translateX("+this.parent.getPositionValue(i)+")"},n.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},n.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},n.wrapShift=function(t){this.shift=t,this.renderPosition(this.x+this.parent.slideableWidth*t)},n.remove=function(){this.element.parentNode.removeChild(this.element)},i}(0,t)}.apply(e,n))||(t.exports=s)},9690:(t,e,i)=>{var n,s;
1!function(r,o){n=[i(7217),i(4842),i(9047)],s=function(t,e,i){return function(t,e,i,n){"use strict";n.extend(e.defaults,{draggable:">1",dragThreshold:3}),e.createMethods.push("_createDrag");var s=e.prototype;n.extend(s,i.prototype),s._touchActionValue="pan-y",s._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable)},s.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},s.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},s.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},s.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},s.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},s._uiChangeDrag=function(){delete this.isFreeScrolling},s.pointerDown=function(e,i){this.isDraggable?this.okayPointerDown(e)&&(this._pointerDownPreventDefault(e),this.pointerDownFocus(e),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=o(),t.addEventListener("scroll",this),this._pointerDownDefault(e,i)):this._pointerDownDefault(e,i)},s._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])};var r={INPUT:!0,TEXTAREA:!0,SELECT:!0};function o(){return{x:t.pageXOffset,y:t.pageYOffset}}return s.pointerDownFocus=function(t){r[t.target.nodeName]||this.focus()},s._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=r[t.target.nodeName];e||i||n||t.preventDefault()},s.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},s.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},s.pointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},s.dragStart=function(e,i){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[i]))},s.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]),this._dragMove(t,e,i)},s.dragMove=function(t,e,i){if(this.isDraggable){t.preventDefault(),this.previousDragX=this.dragX;var n=this.options.rightToLeft?-1:1;this.options.wrapAround&&(i.x%=this.slideableWidth);var s=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var r=Math.max(-this.slides[0].target,this.dragStartPosition);s=s>r?.5*(s+r):s;var o=Math.min(-this.getLastSlide().target,this.dragStartPosition);s=s<o?.5*(s+o):s}this.dragX=s,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",t,[e,i])}},s.dragEnd=function(t,e){if(this.isDraggable){this.options.freeScroll&&(this.isFreeScrolling=!0);var i=this.dragEndRestingSelect();if(this.options.freeScroll&&!this.options.wrapAround){var n=this.getRestingPosition();this.isFreeScrolling=-n>this.slides[0].target&&-n<this.getLastSlide().target}else this.options.freeScroll||i!=this.selectedIndex||(i+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(i),delete this.isDragSelect,this.dispatchEvent("dragEnd",t,[e])}},s.dragEndRestingSelect=function(){var t=this.getRestingPosition(),e=Math.abs(this.getSlideDistance(-t,this.selectedIndex)),i=this._getClosestResting(t,e,1),n=this._getClosestResting(t,e,-1);return i.distance<n.distance?i.index:n.index},s._getClosestResting=function(t,e,i){for(var n=this.selectedIndex,s=1/0,r=this.options.contain&&!this.options.wrapAround?function(t,e){return t<=e}:function(t,e){return t<e};r(e,s)&&(n+=i,s=e,null!==(e=this.getSlideDistance(-t,n)));)e=Math.abs(e);return{distance:s,index:n-i}},s.getSlideDistance=function(t,e){var i=this.slides.length,s=this.options.wrapAround&&i>1,r=s?n.modulo(e,i):e,o=this.slides[r];if(!o)return null;var a=s?this.slideableWidth*Math.floor(e/i):0;return t-(o.target+a)},s.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return t>0&&e>0?1:t<0&&e<0?-1:0},s.staticClick=function(t,e){var i=this.getParentCell(t.target),n=i&&i.element,s=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,s])},s.onscroll=function(){var t=o(),e=this.pointerDownScroll.x-t.x,i=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(i)>3)&&this._pointerDone()},e}(r,t,e,i)}.apply(e,n),void 0===s||(t.exports=s)}(window)},7217:(t,e,i)=>{var n,s;!function(r,o){n=[i(7158),i(6131),i(9047),i(7229),i(9714),i(7880)],s=function(t,e,
1i,n,s,o){return function(t,e,i,n,s,r,o){"use strict";var a=t.jQuery,l=t.getComputedStyle,c=t.console;function h(t,e){for(t=n.makeArray(t);t.length;)e.appendChild(t.shift())}var d=0,u={};function p(t,e){var i=n.getQueryElement(t);if(i){if(this.element=i,this.element.flickityGUID){var s=u[this.element.flickityGUID];return s&&s.option(e),s}a&&(this.$element=a(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e),this._create()}else c&&c.error("Bad element for Flickity: "+(i||t))}p.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},p.createMethods=[];var f=p.prototype;n.extend(f,e.prototype),f._create=function(){var e=this.guid=++d;for(var i in this.element.flickityGUID=e,u[e]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&t.addEventListener("resize",this),this.options.on){var n=this.options.on[i];this.on(i,n)}p.createMethods.forEach((function(t){this[t]()}),this),this.options.watchCSS?this.watchCSS():this.activate()},f.option=function(t){n.extend(this.options,t)},f.activate=function(){this.isActive||(this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize(),h(this._filterFindCellElements(this.element.children),this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready"))},f._createSlider=function(){var t=document.createElement("div");t.className="flickity-slider",t.style[this.originSide]=0,this.slider=t},f._filterFindCellElements=function(t){return n.filterFindElements(t,this.options.cellSelector)},f.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},f._makeCells=function(t){return this._filterFindCellElements(t).map((function(t){return new s(t,this)}),this)},f.getLastCell=function(){return this.cells[this.cells.length-1]},f.getLastSlide=function(){return this.slides[this.slides.length-1]},f.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},f._positionCells=function(t){t=t||0,this.maxCellHeight=t&&this.maxCellHeight||0;var e=0;if(t>0){var i=this.cells[t-1];e=i.x+i.size.outerWidth}for(var n=this.cells.length,s=t;s<n;s++){var r=this.cells[s];r.setPosition(e),e+=r.size.outerWidth,this.maxCellHeight=Math.max(r.size.outerHeight,this.maxCellHeight)}this.slideableWidth=e,this.updateSlides(),this._containSlides(),this.slidesWidth=n?this.getLastSlide().target-this.slides[0].target:0},f._sizeCells=function(t){t.forEach((function(t){t.getSize()}))},f.updateSlides=function(){if(this.slides=[],this.cells.length){var t=new r(this);this.slides.push(t);var e="left"==this.originSide?"marginRight":"marginLeft",i=this._getCanCellFit();this.cells.forEach((function(n,s){if(t.cells.length){var o=t.outerWidth-t.firstMargin+(n.size.outerWidth-n.size[e]);i.call(this,s,o)||(t.updateTarget(),t=new r(this),this.slides.push(t)),t.addCell(n)}else t.addCell(n)}),this),t.updateTarget(),this.updateSelectedSlide()}},f._getCanCellFit=function(){var t=this.options.groupCells;if(!t)return function(){return!1};if("number"==typeof t){var e=parseInt(t,10);return function(t){return t%e!=0}}var i="string"==typeof t&&t.match(/^(\d+)%$/),n=i?parseInt(i[1],10)/100:1;return function(t,e){return e<=(this.size.innerWidth+1)*n}},f._init=f.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},f.getSize=function(){this.size=i(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};var g={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}};f.setCellAlign=function(){var t=g[this.options.cellAlign];this.cellAlign=t?t[this.originSide]:this.options.cellAlign},f.setGallerySize=function(){if(this.options.setGallerySize){var t=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=t+"px"}},f._getWrapShiftCells=function(){if(this.options.wrapAround){this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);var t=this.cursorPosition,e=this.cells.length-1;this.beforeShiftCells=this._getGapCells(t,e,-1),t=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(t,0,1)}}
1,f._getGapCells=function(t,e,i){for(var n=[];t>0;){var s=this.cells[e];if(!s)break;n.push(s),e+=i,t-=s.size.outerWidth}return n},f._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var t=this.options.rightToLeft,e=t?"marginRight":"marginLeft",i=t?"marginLeft":"marginRight",n=this.slideableWidth-this.getLastCell().size[i],s=n<this.size.innerWidth,r=this.cursorPosition+this.cells[0].size[e],o=n-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach((function(t){s?t.target=n*this.cellAlign:(t.target=Math.max(t.target,r),t.target=Math.min(t.target,o))}),this)}},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),a&&this.$element){var s=t+=this.options.namespaceJQueryEvents?".flickity":"";if(e){var r=new a.Event(e);r.type=t,s=r}this.$element.trigger(s,i)}},f.select=function(t,e,i){if(this.isActive&&(t=parseInt(t,10),this._wrapSelect(t),(this.options.wrapAround||e)&&(t=n.modulo(t,this.slides.length)),this.slides[t])){var s=this.selectedIndex;this.selectedIndex=t,this.updateSelectedSlide(),i?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[t]),t!=s&&this.dispatchEvent("change",null,[t]),this.dispatchEvent("cellSelect")}},f._wrapSelect=function(t){var e=this.slides.length;if(!(this.options.wrapAround&&e>1))return t;var i=n.modulo(t,e),s=Math.abs(i-this.selectedIndex),r=Math.abs(i+e-this.selectedIndex),o=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&r<s?t+=e:!this.isDragSelect&&o<s&&(t-=e),t<0?this.x-=this.slideableWidth:t>=e&&(this.x+=this.slideableWidth)},f.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},f.next=function(t,e){this.select(this.selectedIndex+1,t,e)},f.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),this.selectedSlide=t,t.select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},f.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},f.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(t&&"string"==typeof t)if(this.queryCell(t))return void this.selectCell(t,!1,!0);var e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)}},f.selectCell=function(t,e,i){var n=this.queryCell(t);if(n){var s=this.getCellSlideIndex(n);this.select(s,e,i)}},f.getCellSlideIndex=function(t){for(var e=0;e<this.slides.length;e++){if(-1!=this.slides[e].cells.indexOf(t))return e}},f.getCell=function(t){for(var e=0;e<this.cells.length;e++){var i=this.cells[e];if(i.element==t)return i}},f.getCells=function(t){t=n.makeArray(t);var e=[];return t.forEach((function(t){var i=this.getCell(t);i&&e.push(i)}),this),e},f.getCellElements=function(){return this.cells.map((function(t){return t.element}))},f.getParentCell=function(t){var e=this.getCell(t);return e||(t=n.getParent(t,".flickity-slider > *"),this.getCell(t))},f.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var i=this.slides.length;if(1+2*t>=i)return this.getCellElements();for(var s=[],r=e-t;r<=e+t;r++){var o=this.options.wrapAround?n.modulo(r,i):r,a=this.slides[o];a&&(s=s.concat(a.getCellElements()))}return s},f.queryCell=function(t){if("number"==typeof t)return this.cells[t];if("string"==typeof t){if(t.match(/^[#.]?[\d/]/))return;t=this.element.querySelector(t)}return this.getCell(t)},f.uiChange=function(){this.emitEvent("uiChange")},f.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},f.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(p,"onresize",150),f.resize=function(){if(this.isActive&&!this.isAnimating&&!this.isDragging){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)}},f.watchCSS=function(){this.options.watchCSS&&(-1!=l(this.element,":after").content.indexOf("flickity")?this.activate():this.deactivate())},f.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!e){var i=p.keyboardHandlers[t.keyCode];i&&i.call(this)}},p.keyboardHandlers={37:function(){var t=this.options.rightToLeft?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=this.options.rightToLeft?"previous":"next";this.uiChange(),this[t]()}}
1,f.focus=function(){var e=t.pageYOffset;this.element.focus({preventScroll:!0}),t.pageYOffset!=e&&t.scrollTo(t.pageXOffset,e)},f.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach((function(t){t.destroy()})),this.element.removeChild(this.viewport),h(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},f.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),a&&this.$element&&a.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete u[this.guid]},n.extend(f,o),p.data=function(t){var e=(t=n.getQueryElement(t))&&t.flickityGUID;return e&&u[e]},n.htmlInit(p,"flickity"),a&&a.bridget&&a.bridget("flickity",p);return p.setJQuery=function(t){a=t},p.Cell=s,p.Slide=r,p}(r,t,e,i,n,s,o)}.apply(e,n),void 0===s||(t.exports=s)}(window)},2442:(t,e,i)=>{var n,s,r;window,s=[i(7217),i(9690),i(2410),i(7573),i(8516),i(3597),i(7227)],void 0===(r="function"==typeof(n=function(t){return t})?n.apply(e,s):n)||(t.exports=r)},7227:(t,e,i)=>{var n,s;window,n=[i(7217),i(9047)],void 0===(s=function(t,e){return function(t,e,i){"use strict";e.createMethods.push("_createLazyload");var n=e.prototype;function s(t){if("IMG"==t.nodeName){var e=t.getAttribute("data-flickity-lazyload"),n=t.getAttribute("data-flickity-lazyload-src"),s=t.getAttribute("data-flickity-lazyload-srcset");if(e||n||s)return[t]}var r="img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]",o=t.querySelectorAll(r);return i.makeArray(o)}function r(t,e){this.img=t,this.flickity=e,this.load()}return n._createLazyload=function(){this.on("select",this.lazyLoad)},n.lazyLoad=function(){var t=this.options.lazyLoad;if(t){var e="number"==typeof t?t:0,i=this.getAdjacentCellElements(e),n=[];i.forEach((function(t){var e=s(t);n=n.concat(e)})),n.forEach((function(t){new r(t,this)}),this)}},r.prototype.handleEvent=i.handleEvent,r.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var t=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),e=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=t,e&&this.img.setAttribute("srcset",e),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},r.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},r.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},r.prototype.complete=function(t,e){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var i=this.flickity.getParentCell(this.img),n=i&&i.element;this.flickity.cellSizeChange(n),this.img.classList.add(e),this.flickity.dispatchEvent("lazyLoad",t,n)},e.LazyLoader=r,e}(0,t,e)}.apply(e,n))||(t.exports=s)},7573:(t,e,i)=>{var n,s;window,n=[i(7217),i(4704),i(9047)],void 0===(s=function(t,e,i){return function(t,e,i,n){"use strict";function s(t){this.parent=t,this._create()}s.prototype=Object.create(i.prototype),s.prototype._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},s.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},s.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},s.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},s.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,s=n+t,r=n;r<s;r++){var o=document.createElement("li");o.className="dot",o.setAttribute("aria-label","Page dot "+(r+1)),e.appendChild(o),i.push(o)}this.holder.appendChild(e),this.dots=this.dots.concat(i)},s.prototype.removeDots=function(t){this.dots.splice(this.dots.length-t,t).forEach((function(t){this.holder.removeChild(t)}),this)},s.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot",this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected",this.selectedDot.setAttribute("aria-current","step"))},s.prototype.onTap=s.prototype.onClick=function(t){var e=t.target;if("LI"==e.nodeName){this.parent.uiChange();var i=this.dots.indexOf(e);this.parent.select(i)}},s.prototype.destroy=function(){this.deactivate(),this.allOff()},e.PageDots=s,n.extend(e.defaults,{pageDots:!0}),e.createMethods.push("_createPageDots");var r=e.prototype;return r._createPageDots=function(){this.options.pageDots&&(this.pageDots=new s(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},r.activatePageDots=function(){this.pageDots.activate()},r.updateSelectedPageDots=function(){this.pageDots.updateSelected()},r.updatePageDots=function(){this.pageDots.setDots()},r.deactivatePageDots=function(){this.pageDots.deactivate()},e.PageDots=s,e}(0,t,e,i)}.apply(e,n))||(t.exports=s)},8516:(t,e,i)=>{var n,s;
1window,n=[i(7158),i(9047),i(7217)],void 0===(s=function(t,e,i){return function(t,e,i){"use strict";function n(t){this.parent=t,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}n.prototype=Object.create(t.prototype),n.prototype.play=function(){"playing"!=this.state&&(document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()))},n.prototype.tick=function(){if("playing"==this.state){var t=this.parent.options.autoPlay;t="number"==typeof t?t:3e3;var e=this;this.clear(),this.timeout=setTimeout((function(){e.parent.next(!0),e.tick()}),t)}},n.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},n.prototype.clear=function(){clearTimeout(this.timeout)},n.prototype.pause=function(){"playing"==this.state&&(this.state="paused",this.clear())},n.prototype.unpause=function(){"paused"==this.state&&this.play()},n.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},n.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},e.extend(i.defaults,{pauseAutoPlayOnHover:!0}),i.createMethods.push("_createPlayer");var s=i.prototype;return s._createPlayer=function(){this.player=new n(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},s.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},s.playPlayer=function(){this.player.play()},s.stopPlayer=function(){this.player.stop()},s.pausePlayer=function(){this.player.pause()},s.unpausePlayer=function(){this.player.unpause()},s.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},s.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},s.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},i.Player=n,i}(t,e,i)}.apply(e,n))||(t.exports=s)},2410:(t,e,i)=>{var n,s;window,n=[i(7217),i(4704),i(9047)],void 0===(s=function(t,e,i){return function(t,e,i,n){"use strict";var s="http://www.w3.org/2000/svg";function r(t,e){this.direction=t,this.parent=e,this._create()}function o(t){return"string"==typeof t?t:"M "+t.x0+",50 L "+t.x1+","+(t.y1+50)+" L "+t.x2+","+(t.y2+50)+" L "+t.x3+",50  L "+t.x2+","+(50-t.y2)+" L "+t.x1+","+(50-t.y1)+" Z"}r.prototype=Object.create(i.prototype),r.prototype._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==t;var e=this.element=document.createElement("button");e.className="flickity-button flickity-prev-next-button",e.className+=this.isPrevious?" previous":" next",e.setAttribute("type","button"),this.disable(),e.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var i=this.createSVG();e.appendChild(i),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},r.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},r.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},r.prototype.createSVG=function(){var t=document.createElementNS(s,"svg");t.setAttribute("class","flickity-button-icon"),t.setAttribute("viewBox","0 0 100 100");var e=document.createElementNS(s,"path"),i=o(this.parent.options.arrowShape);return e.setAttribute("d",i),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},r.prototype.handleEvent=n.handleEvent,r.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var t=this.isPrevious?"previous":"next";this.parent[t]()}},r.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},r.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},r.prototype.update=function(){var t=this.parent.slides;if(this.parent.options.wrapAround&&t.length>1)this.enable();else{var e=t.length?t.length-1:0,i=this.isPrevious?0:e;this[this.parent.selectedIndex==i?"disable":"enable"]()}},r.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");var a=e.prototype;return a._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new r(-1,this),this.nextButton=new r(1,this),this.on("activate",this.activatePrevNextButtons))},a.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},a.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=r,e}(0,t,e,i)}.apply(e,n))||(t.exports=s)},9714:(t,e,i)=>{var n,s;window,void 0===(s="function"==typeof(n=function(){"use strict";function t(t){this.parent=t,this.isOriginLeft="left"==t.originSide,this.cells=[],this.outerWidth=0,this.height=0}var e=t.prototype;return e.addCell=function(t){if(this.cells.push(t),this.outerWidth+=t.size.outerWidth,this.height=Math.max(t.size.outerHeight,this.height),1==this.cells.length){this.x=t.x;var e=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=t.size[e]}},e.updateTarget=function(){var t=this.isOriginLeft?"marginRight":"marginLeft",e=this.getLastCell(),i=e?e.size[t]:0,n=this.outerWidth-(this.firstMargin+i);this.target=this.x+this.firstMargin+n*this.parent.cellAlign},e.getLastCell=function(){return this.cells[this.cells.length-1]}
1,e.select=function(){this.cells.forEach((function(t){t.select()}))},e.unselect=function(){this.cells.forEach((function(t){t.unselect()}))},e.getCellElements=function(){return this.cells.map((function(t){return t.element}))},t})?n.call(e,i,e,t):n)||(t.exports=s)},6131:(t,e,i)=>{var n,s;window,void 0===(s="function"==typeof(n=function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(){}var i="undefined"==typeof console?e:function(t){console.error(t)},n=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],s=n.length;function r(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<s;e++)t[n[e]]=0;return t}function o(t){var e=getComputedStyle(t);return e||i("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}var a,l=!1;function c(){if(!l){l=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var n=o(e);a=200==Math.round(t(n.width)),h.isBoxSizeOuter=a,i.removeChild(e)}}function h(e){if(c(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var i=o(e);if("none"==i.display)return r();var l={};l.width=e.offsetWidth,l.height=e.offsetHeight;for(var h=l.isBorderBox="border-box"==i.boxSizing,d=0;d<s;d++){var u=n[d],p=i[u],f=parseFloat(p);l[u]=isNaN(f)?0:f}var g=l.paddingLeft+l.paddingRight,v=l.paddingTop+l.paddingBottom,m=l.marginLeft+l.marginRight,y=l.marginTop+l.marginBottom,b=l.borderLeftWidth+l.borderRightWidth,w=l.borderTopWidth+l.borderBottomWidth,_=h&&a,S=t(i.width);!1!==S&&(l.width=S+(_?0:g+b));var E=t(i.height);return!1!==E&&(l.height=E+(_?0:v+w)),l.innerWidth=l.width-(g+b),l.innerHe
1ight=l.height-(v+w),l.outerWidth=l.width+m,l.outerHeight=l.height+y,l}}return h})?n.call(e,i,e,t):n)||(t.exports=s)},4842:(t,e,i)=>{var n,s;!function(r,o){n=[i(4704)],s=function(t){return function(t,e){"use strict";function i(){}var n=i.prototype=Object.create(e.prototype);n.bindHandles=function(){this._bindHandles(!0)},n.unbindHandles=function(){this._bindHandles(!1)},n._bindHandles=function(e){for(var i=(e=void 0===e||e)?"addEventListener":"removeEventListener",n=e?this._touchActionValue:"",s=0;s<this.handles.length;s++){var r=this.handles[s];this._bindStartEvent(r,e),r[i]("click",this),t.PointerEvent&&(r.style.touchAction=n)}},n._touchActionValue="none",n.pointerDown=function(t,e){this.okayPointerDown(t)&&(this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},t.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e]))};var s={TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0},r={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return n.okayPointerDown=function(t){var e=s[t.target.nodeName],i=r[t.target.type],n=!e||i;return n||this._pointerReset(),n},n.pointerDownBlur=function(){var t=document.activeElement;t&&t.blur&&t!=document.body&&t.blur()},n.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.emitEvent("pointerMove",[t,e,i]),this._dragMove(t,e,i)},n._dragPointerMove=function(t,e){var i={x:e.pageX-this.pointerDownPointer.pageX,y:e.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(i)&&this._dragStart(t,e),i},n.hasDragStarted=function(t){return Math.abs(t.x)>3||Math.abs(t.y)>3},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},n._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},n._dragStart=function(t,e){this.isDragging=!0,this.isPreventing
1Clicks=!0,this.dragStart(t,e)},n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},n._dragMove=function(t,e,i){this.isDragging&&this.dragMove(t,e,i)},n.dragMove=function(t,e,i){t.preventDefault(),this.emitEvent("dragMove",[t,e,i])},n._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},n.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},n._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},i.getPointerPoint=e.getPointerPoint,i}(r,t)}.apply(e,n),void 0===s||(t.exports=s)}(window)},4704:(t,e,i)=>{var n,s;!function(r,o){n=[i(7158)],s=function(t){return function(t,e){"use strict";function i(){}function n(){}var s=n.prototype=Object.create(e.prototype);s.bindStartEvent=function(t){this._bindStartEvent(t,!0)},s.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},s._bindStartEvent=function(e,i){var n=(i=void 0===i||i)?"addEventListener":"removeEventListener",s="mousedown";"ontouchstart"in t?s="touchstart":t.PointerEvent&&(s="pointerdown"),e[n](s,this)},s.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},s.getTouch=function(t){for(var e=0;e<t.length;e++){var i=t[e];if(i.identifier==this.pointerIdentifier)return i}},s.onmousedown=function(t){var e=t.button;e&&0!==e&&1!==e||this._pointerDown(t,t)},s.ontouchstart=function(t){this._pointerDown(t,t.changedTouches[0])},s.onpointerdown=function(t){this._pointerDown(t,t)},s._pointerDown=function(t,e){t.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==e.pointerId?e.pointerId:e.identifier,this.pointerDown(t,e))},s.pointerDown=function(t,e){this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e])};var r={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};return s._bindPostStartEvents=function(e){if(e){var i=r[e.type];i.forEach((function(e){t.addEventListener(e,this)}),this),this._boundPointerEvents=i}},s._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach((function(e){t.removeEventListener(e,this)}),this),delete this._boundPointerEvents)},s.onmousemove=function(t){this._pointerMove(t,t)},s.onpointermove=function(t){t.pointerId==this.pointerIdentifier&&this._pointerMove(t,t)},s.ontouchmove=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerMove(t,e)},s._pointerMove=function(t,e){this.pointerMove(t,e)},s.pointerMove=function(t,e){this.emitEvent("pointerMove",[t,e])},s.onmouseup=function(t){this._pointerUp(t,t)},s.onpointerup=function(t){t.pointerId==this.pointerIdentifier&&this._pointerUp(t,t)},s.ontouchend=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerUp(t,e)},s._pointerUp=function(t,e){this._pointerDone(),this.pointerUp(t,e)},s.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e])},s._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},s._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},s.pointerDone=i,s.onpointercancel=function(t){t.pointerId==this.pointerIdentifier&&this._pointerCancel(t,t)},s.ontouchcancel=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerCancel(t,e)},s._pointerCancel=function(t,e){this._pointerDone(),this.pointerCancel(t,e)},s.pointerCancel=function(t,e){this.emitEvent("pointerCancel",[t,e])},n.getPointerPoint=function(t){return{x:t.pageX,y:t.pageY}},n}(r,t)}.apply(e,n),void 0===s||(t.exports=s)}(window)},7665:()=>{var t=function(){window.removeEventListener("scroll",t);let e=document.getElementById("d__b_deep");e&&e.setAttribute("src",e.dataset.src)};window.addEventListener("db_engine_loaded",t)},6407:()=>{const t=function(t,e=!1){loadJS(`${d__b_data.site_url}wp-content/themes/designboom/res/js/components/${t}.js?v=${d__b_data.version}`,e)}
1;let e=function(){const e=function(e,i,n){n&&window.removeEventListener("scroll",n),"JS"===e?t(i):"CSS"===e&&function(t){loadCSS(`${d__b_data.site_url}wp-content/themes/designboom/res/css/${t}.css?v=${d__b_data.version}`)}(i)},i=function(){e("JS","double-page",i)},n=function(){e("JS","load-more",n)},s=function(){e("JS","load-more-competitions",s)},r=function(){e("JS","reading-scrollbar",r)};document.querySelector("#single-post")&&db_utils.onSafeScroll(r),db_utils.findAll(".block--dp").length&&db_utils.onSafeScroll(i),db_utils.findAll(".db--lm").length&&db_utils.onSafeScroll(n),db_utils.findAll(".db--lm-c").length&&db_utils.onSafeScroll(s),db_utils.findAll(".block-now--dp").length&&t("double-page","loadDoublePage")};window.addEventListener("db_engine_loaded",(()=>{const e=document.querySelector("#aplayer .play-btn");if(e){const i=function(n){e.removeEventListener("click",i),t("tts-audio-player",(()=>{new TTS_Player("aplayer",{autoload:!0,volume:60}).play()}))};e.addEventListener("click",i)}})),window.addEventListener("db_defered_start",(()=>{e()}))},807:()=>{!function(t,e){var i={setup_type:"unknown",components:{},part:{},setup:function(){e.body.classList.remove("preload"),this.setup_globals(),t.dispatchEvent(this.events.engine_loaded),setTimeout((function(){t.dispatchEvent(t.db_engine.events.defered_start)}),1e3),new ResizeObserver((()=>{let t=e.documentElement.clientWidth/100;e.documentElement.style.setProperty("--vw",`${t}px`)})).observe(e.documentElement)},setup_globals:function(){this.setup_type=d__b_data.setup_type,this.part={overlay:e.querySelector("#db-overlay"),view:e.querySelector("#db-view"),header:e.querySelector("#db-header"),footer:e.querySelector("#db-footer"),"aside-menu":e.querySelector("#aside-menu"),navbar:e.querySelector("#db-navbar"),navbar_holder:e.querySelector(".nav-holder"),navbar_togglers:e.querySelectorAll(".bar-toggler"),toggle_targets:e.querySelectorAll(".toggle-target")},this.events={engine_loaded:new CustomEvent("db_engine_loaded"),defered_start:new CustomEvent("db_defered_start"),refresh_carousels:new CustomEvent("db_refresh_carousels",{carousel:!1}),refresh_adv:new CustomEvent("db_refresh_adv",{action:""})},this.timestamp=(new Date).getTime()},common_inits:function(){const i=e.querySelectorAll("a");for(const n of i)n.classList.contains("piks-toggler")?n.addEventListener("click",(function(t){const i=e.querySelector(n.dataset.target);return!!i&&(i.classList.contains("wall")?(i.classList.remove("wall"),i.classList.add("post-content")):(i.classList.remove("post-content"),i.classList.add("wall")),n.classList.toggle("open"),t.preventDefault(),!1)})):n.classList.contains("bar-logo-link")?n.addEventListener("click",(function(e){if(e.offsetX<0)return e.preventDefault(),t.location=d__b_data.site_url+"about-us/",!1})):""!==n.hash&&"_blank"!==n.target&&n.href.startsWith(d__b_data.site_url)&&n.addEventListener("click",(function(i){const n=this.getAttribute("href"),s=new URL(n,t.location.origin);if(s.pathname===t.location.pathname){const t=e.querySelector(s.hash);t&&(i.preventDefault(),t.scrollIntoView({behavior:"smooth"}))}}));e.querySelectorAll("[data-for]").forEach((t=>{let i=e.getElementById(t.dataset.for);t.addEventListener("click",(function(t){i.click()}),!1)})),e.querySelectorAll(".p--p-iframe-video, .p--p-iframe").forEach((t=>{t.addEventListener("click",(function(e){let i=t.querySelector("iframe");i.getAttribute("src")||(i.setAttribute("src",i.getAttribute("data-src")),i.classList.remove("poster"),i.removeAttribute("style"))}),!1)}))}};t.db_engine=i,t.addEventListener("db_defered_start",(()=>{i.common_inits()}))}(window,document)},7171:()=>{!function(){if(document.body.classList.contains("consent"))return;const t=db_utils.findAll(".gam-l");if(!t.length)return;const e=document.querySelector("#gam-bb"),i=document.querySelector("#gam-box"),n=document.querySelector("#main-sidebar"),s=document.querySelector("#gam-bb .counter"),r=document.querySelector("#gam-bb .close"),o=db_utils.getViewport().x,a=document.querySelector("#gam-script"),l=document.querySelector("#gam-fuse");let c=null,h=null!==a;const d=function(){n&&n.style.removeProperty("z-index"),null!==c&&clearInterval(c),e&&e.parentNode.removeChild(e)},u=function(){let t=parseInt(s.innerHTML);s.innerHTML=--t,0===t&&d()},p=function(){let t=function(){let t=document.querySelector(".box-sidebar");return t||(t=document.getElementById("#db-main")),t}();t&&new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting?(s.innerHTML=7,e.classList.add("ready"),db_utils.getViewport().x>d__b_data.media_queries.small&&(n&&n.style.setProperty("z-index",100),c=setInterval(u,1e3))):(n&&n.style.removeProperty("z-index"),e.classList.remove("ready"),c&&clearInterval(c))}))}),{rootMargin:"0px 0px -100% 0px"}).observe(t)},f=function(t){var e=new MutationObserver((function(e,n){if(null!==i&&i.firstChild)if("midban"===t.id)n.disconnect();else{const e=i.querySelector("iframe");e&&(n.disconnect(),function(t,e){const n=parseInt(t.height);if(n>0){const t=(e.classList.contains("mobile")?window.innerWidth:i.clientWidth)/n;e.style.setProperty("--ratio",t)}p()}(e,t))}}));e.observe(t,{attributes:!0,childList:!0,subtree:!0})},g=function(){window.removeEventListener("scroll",g),window.removeEventListener("resize",g),loadJS("https://securepubads.g.doubleclick.net/tag/js/gpt.js"),h=!0};var v;window.googletag=window.googletag||{cmd:[]},l&&(h=!0),function(){if(h)return!0;for(let e of t)if(db_utils.isInViewport(e,!0))return g(),!0;return!1}()||(db_utils.onSafeScroll(g),window.addEventListener("resize",g)),v=l,e&&(v?function(t,e){const n=e>d__b_data.media_queries.small?"DB_Billboard_Fluid":"DB_Mobile_Fluid",s=e>d__b_data.media_queries.small?"desktop":"mobile";i.setAttribute("data-fuse",n),t.classList.add(s)}(e,o):function(t,e){const n=e>d__b_data.media_queries.small?"desktop":"mobile",s=t.getAttribute("data-"+n),r=["fluid"];"mobile"===n?r.push([500,300]):r.push([840,300]),googletag.cmd.push((function(){googletag.defineSlot(s,r,i.id).addService(googletag.pubads()),googletag.pubads().enableSingleRequest(),googletag.enableServices()})),googletag.cmd.push((function(){googletag.display(i.id)})),t.classList.add(n)}(e,o),f(e),r&&r.addEventListener("click",(function(t){t.preventDefault(),d()}),!1))}()},8754:()=>{!function(){if(!document.body.classList.contains("consent")&&void 0!==window.adsbygoogle){var t=db_utils.debounce((function(){db_utils.getViewport().x>=d__b_data.media_queries.large&&e()}),250),e=function(){loadJS("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"),window.removeEventListener("resize",t),window.removeEventListener("scroll",e)};db_utils.getViewport().x<d__b_data.media_queries.large?window.addEventListener("resize",t):db_utils.onSafeScroll(e)}}()},7679:()=>
1{var t=function(t,e,i){let n=db_utils.findAll(t);if(!n.length)return;let s=new IntersectionObserver((t=>{t.forEach((t=>{if(t.intersectionRatio>0){!1!==i(t.target,t)&&e.single&&s.unobserve(t.target)}}))}),e);return n.forEach((t=>{s.observe(t)})),n};window.lazyload_observer=t,window.addEventListener("db_engine_loaded",(()=>{new t(".deferred-video",{rootMargin:"400px",single:!0},(function(t){if("IFRAME"==t.tagName){if(t.dataset.src)return t.src=t.dataset.src,!0}else if(t.firstChild.dataset.src)return t.firstChild.src=t.firstChild.dataset.src,!0;return!1})),new t(".lazyvideo",{rootMargin:"400px",single:!0},(function(t){for(var e in t.children){var i=t.children[e];"string"==typeof i.tagName&&"SOURCE"===i.tagName&&(i.src=i.dataset.src)}return t.load(),t.classList.remove("lazyvideo"),!0})),new t("[data-bg]",{single:!0,rootMargin:"400px"},(function(t){if(!db_utils.is_visible(t))return!1;var e=t.getAttribute("data-bg");return!!e&&(t.style.backgroundImage="url("+e+")",!0)}));let e=!1;new t(".twl",{rootMargin:"100px",single:!0},(function(t){return e||(e=!0,loadJS(t.dataset.src),e)}))})),window.addEventListener("db_defered_start",(()=>{new t(".shake-me",{rootMargin:"-40%",single:!1},(function(t){const e=t.dataset.fx;if(!e)return!0;const i=n=>{t&&(t.removeEventListener("animationend",i),t.classList.remove(e))};return t.classList.contains(e)||(t.classList.add(e),t.addEventListener("animationend",i)),!0}))})),window.addEventListener("db_defered_start",(()=>{const e=".double-video",i=db_utils.findAll(e);if(!i.length)return;const n=function(t){let e=t.dataset.dsrc,i=t.dataset.dwidth,n=t.dataset.dheight;return db_utils.getViewport().x<=d__b_data.media_queries.small&&(e=t.dataset.msrc,i=t.dataset.mwidth,n=t.dataset.mheight),t.src!=e&&(t.src=e),t.getAttribute("width")!=i&&t.setAttribute("width",i),t.getAttribute("height")!=n&&t.setAttribute("height",n),!0};new t(e,{rootMargin:"200px",single:!0},n);const s=db_utils.debounce((function(){i.forEach((t=>n(t)))}),100);window.addEventListener("resize",s),window.addEventListener("orientationchange",s)}))},5762:()=>{function t(t,e,i){let n=`<img src="${e.img_url}" alt="${e.title}" width="500" height="400" />`,s=t.querySelector(".p--p-pic a");s.setAttribute("href",e.link),s.setAttribute("title",e.title),s.innerHTML=n;let r=t.querySelector(".p--p-title a");r.setAttribute("href",e.link),r.setAttribute("title",e.title),r.textContent=e.title,t.querySelector(".price").innerHTML=e.price,t.querySelector(".by").textContent="by "+e.by,t.querySelector(".from").textContent="from "+e.from,i.appendChild(t)}function e(t,e,i){let n=t.querySelector(".p--p-pic a");n.setAttribute("href",e.link),n.setAttribute("title",e.title);let s=t.querySelector(".p--p-pic a img");s.setAttribute("src",e.thumb),s.setAttribute("alt",e.title);let r=t.querySelector(".p--p-title a");r.setAttribute("href",e.link),r.setAttribute("title",e.title),r.textContent=e.title,t.querySelector(".deadline").innerHTML=e.label_dead_line,i.appendChild(t)}function i(t,e,i){let n=t.querySelector(".p--p-pic a");n.setAttribute("href",e.link),n.setAttribute("title",e.title);let s=t.querySelector(".p--p-pic a img");s.setAttribute("src",e.thumb),s.setAttribute("alt",e.title);let r=t.querySelector(".p--p-title a");r.setAttribute("href",e.link),r.setAttribute("title",e.title),r.textContent=e.title,t.querySelector(".line-1").innerHTML=e.line_1,t.querySelector(".line-2").innerHTML=e.line_2,i.appendChild(t)}function n(n){let s=n.dataset.type;if(!s)return!0;const r=d__b_data[s].url;return db_utils.fetch(r,!1,(function(r){switch(r=db_utils.shuffle(r),s){case"shop_products":!function(e,i){var n,s=d__b_data.shop_products.count;let r=document.querySelector("#shopbar-item");for(n=0;n<s;n++)t(r.content.firstElementChild.cloneNode(!0),e[n],i)}(r,n);break;case"competitions":!function(t,i){var n,s=d__b_data.competitions.count;let r=document.querySelector("#competition-item");for(n=0;n<s;n++)e(r.content.firstElementChild.cloneNode(!0),t[n],i)}(r,n);break;case"events":case"courses":!function(t,e,n){var s,r=d__b_data[n].count;let o=document.querySelector("#product-item");for(s=0;s<r;s++)i(o.content.firstElementChild.cloneNode(!0),t[s],e)}(r,n,s)}n.classList.add("carousel"),db_engine.events.refresh_carousels.carousel=n,window.dispatchEvent(db_engine.events.refresh_carousels)})),!0}var s=function(){window.removeEventListener("scroll",s),new lazyload_observer(".lazy-bar",{rootMargin:"500px",single:!0},n)};db_utils.onSafeScroll(s)},3604:()=>{!function(t,e){var i=t.db_engine,n=!0,s=!1;polyfill_features.length>0&&(n=!1,loadJS("https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?ver
1sion=4.8.0&features="+polyfill_features.join(",")+"&flags=gated,always&ua=chrome/50",(function(){n=!0,r()})));var r=function(){if(n&&!s)return i.setup(),void(s=!0)};t.dboomReady(r)}(window,document)},2055:()=>{!function(t,e,i){function n(){var t=i.part.navbar.offsetHeight;i.part["aside-menu"].style.top=t+"px",i.part.overlay.style.top=t+"px"}function s(s){s.preventDefault()||s.stopPropagation(),n();let l=this,c=(i.part[l.dataset.target],l.classList.contains("has-overlay")),h=!l.classList.contains("open"),d=e.body.classList.contains("target-open"),u=i.part.overlay.classList.contains("open"),p=!1,f=!1;return c||i.part.overlay.classList.remove("open"),h&&"search-bar"==l.dataset.target&&e.getElementById("db-nsf-fld").focus(),h&&c&&!u&&i.part.overlay.classList.add("open"),h&&!d&&(e.body.classList.add("target-open"),t.addEventListener("keyup",r),t.addEventListener("mouseup",o),t.addEventListener("resize",a)),"aside-menu"!=l.dataset.target||i.part.navbar.classList.contains("fixed")||(h?(i.part.navbar_holder.style.height=i.part.navbar.offsetHeight+"px",i.part.navbar.classList.add("menu-fixed")):(i.part.navbar.classList.remove("menu-fixed"),i.part.navbar_holder.style.height="auto")),i.part.toggle_targets.forEach((t=>{f=!1,p=e.querySelector('[data-target="'+t.id+'"]'),t.classList.contains("open")&&t.id!=l.dataset.target&&t.classList.remove("open"),t.id==l.dataset.target&&(h?(t.classList.add("open"),f=!0):(t.classList.remove("open"),"aside-menu"==t.id&&setTimeout((function(){t.scrollTop=0}),100))),p&&(f?p.classList.add("open"):p.classList.remove("open"))})),e.body.className=e.body.className.replace(/\btarget-name-\S+/g,""),h?e.body.classList.add("target-name-"+l.dataset.target):(i.part.overlay.classList.remove("open"),e.body.classList.remove("target-open")),!1}function r(n){if(n&&27!=("which"in n?n.which:n.keyCode))return;t.removeEventListener("keyup",r),t.removeEventListener("mouseup",o),t.removeEventListener("resize",o);const s=e.querySelector(".toggle-target.open"),a=e.querySelector(".bar-toggler.open");s&&(s.classList.remove("open"),"aside-menu"==s.id&&setTimeout((function(){s.scrollTop=0}),100)),a&&a.classList.remove("open"),i.part.navbar.classList.contains("menu-fixed")&&(i.part.navbar.classList.remove("menu-fixed"),i.part.navbar_holder.style.height="auto"),i.part.overlay.classList.remove("open"),e.body.classList.remove("target-open"),e.body.className=e.body.className.replace(/\btarget-name-\S+/g,"")}function o(t){var n=e.querySelector("aside.open");if(n){var s=i.part.view.querySelector('.bar-toggler[data-target="'+n.id+'"]');s&&n!=t.target&&s!=t.target&&(t.target.closest(`#${s.id}`)||t.target.closest(`#${n.id}`)||r(null))}}function a(){const t=e.querySelector(".toggle-target.open");t&&(("aside-menu"!=t.id||db_utils.getViewport().x>900)&&r(null))}function l(i){let n,s=t.scrollY,r=!1;var o=function(e){n=t.scrollY,r||(t.requestAnimationFrame((function(){a(n),r=!1})),r=!0)},a=function(t){s-t>500&&(e.removeEventListener("scroll",o),i.classList.remove("sticky"))};i.classList.contains("sticky")?a(0):(db_utils.onSafeScroll(o),i.classList.add("sticky"))}t.addEventListener("db_engine_loaded",(()=>{if(n(),!i.part.navbar.classList.contains("nofix")){new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting?(i.part.navbar.classList.remove("fixed"),i.part.navbar_holder.style.height="auto",e.documentElement.style.removeProperty("--r-bar-blend")):(i.part.navbar_holder.style.height=i.part.navbar.offsetHeight+"px",i.part.navbar.classList.add("fixed"),e.documentElement.style.setProperty("--r-bar-blend","multiply")),r(null)}))})).observe(i.part.header)}i.part.navbar_togglers.forEach((t=>{t.addEventListener("click",s)}))})),t.addEventListener("db_defered_start",(()=>{!function(){const t=e.getElementById("footer-newsletter-toggler"),i=e.getElementById("footer-contacts-toggler");var n,s=e.getElementById("footer-contacts");t&&t.addEventListener("click",(function(i){return i.preventDefault(),s&&s.classList.contains("sticky")&&l(s),(n=e.getElementById("nlbox-footer"))?l(n):db_utils.fetchText(d__b_data.site_url+"wp-content/themes/designboom/templates/common/footer-newsletter-box.html",(function(i){var s=(new DOMParser).parseFromString(i,"text/html");t.parentNode.append(s.body.firstChild),l(n=e.getElementById("nlbox-footer"))})),!1}),!1),i&&i.addEventListener("click",(function(t){return t.preventDefault(),n&&n.classList.contains("sticky")&&l(n),l(s),!1}),!1)}()}))}(window,document,window.db_engine)},7816:()=>{var t=[];
1Element.prototype.matches||t.push("Element.prototype.matches"),Element.prototype.closest||t.push("Element.prototype.closest"),Object.assign||t.push("Object.assign"),Object.keys||t.push("Object.keys"),Array.from||t.push("Array.from"),Array.prototype.forEach||t.push("Array.prototype.forEach"),"function"!=typeof window.matchMedia&&t.push("matchMedia"),"function"!=typeof window.fetch&&t.push("fetch"),"undefined"==typeof HTMLTemplateElement&&t.push("HTMLTemplateElement"),"classList"in document.createElement("_")||t.push("Element.prototype.classList"),"Promise"in window||t.push("Promise"),"IntersectionObserver"in window||t.push("IntersectionObserver"),"IntersectionObserverEntry"in window||t.push("IntersectionObserverEntry"),"HTMLPictureElement"in window||t.push("HTMLPictureElement"),"scrollBehavior"in document.documentElement.style||(t.push("smoothscroll"),t.push("scrollIntoView"),t.push("scroll")),window.polyfill_features=t},650:(t,e,i)=>{const n=i(2442);window.Flickity=n;var s=function(t){const e=t.querySelectorAll("img"),i=t.querySelectorAll("source");var n,s,r=window.native_lazyload?"src":"data-src",o=window.native_lazyload?"srcset":"data-srcset";e.forEach((t=>{n=t.getAttribute("static-src"),s=t.getAttribute("static-srcset"),n&&(t.setAttribute(r,n),t.removeAttribute("static-src"),t.classList.remove("static-lazyload"),t.classList.add("lazyload"),window.native_lazyload&&t.setAttribute("loading","lazy")),s&&(t.setAttribute(o,s),t.removeAttribute("static-srcset"))})),i.forEach((t=>{n=t.getAttribute("static-src"),s=t.getAttribute("static-srcset"),n&&(t.setAttribute(r,n),t.removeAttribute("static-src")),s&&(t.setAttribute(o,s),t.removeAttribute("static-srcset"))}))},r=function(t){var e=document.querySelector(t);if(e&&!e.classList.contains("unhero")){s(e);var i={autoPlay:7e3,pauseAutoPlayOnHover:!1,wrapAround:!0,prevNextButtons:!1,pageDots:!1,adaptiveHeight:!1,selectedAttraction:.007,friction:.17,accessibility:!1,watchCSS:".hero-slider-cover"==t},r=db_utils.getViewport().x;r>=1200&&(i.draggable=!1),r<768&&(i.autoPlay=!1);var o=document.querySelector(".hero-fixed-counter"),a=new n(e,i);o&&(a.on("change",(function(t){var e=a.selectedIndex+1;o.textContent=e+"/"+a.slides.length})),i.autoPlay&&a.next())}},o=function(){var t=document.querySelector("#hwc-cover");if(t){var e=t.querySelector(".picture-link"),i=t.querySelector(".caption-link"),n=t.querySelector("img"),s=db_utils.getViewport().x,r=s>=768?e.dataset.href:e.dataset.mhref,o=s>=768?e.dataset.title:e.dataset.mtitle;e.setAttribute("href",r),e.setAttribute("title",o),i.setAttribute("href",r),i.setAttribute("title",o),n.setAttribute("alt",o)}},a=function(){window.removeEventListener("scroll",a);var t={prevNextButtons:!0,pageDots:!1,wrapAround:!0};new lazyload_observer(".pikker-slider",{rootMargin:"200px",single:!0},(function(e){s(e);var i=document.querySelector(".pikker-badge span"),r=new n(e,t);return i&&r.on("change",(function(t){var e=r.selectedIndex+1;i.textContent=e+"/"+r.slides.length})),!0}))},l=function(){window.removeEventListener("scroll",l);var t={autoPlay:!1,prevNextButtons:!0,pageDots:!1,adaptiveHeight:!1,freeScroll:!0,reeScrollFriction:.03,cellAlign:"left",watchCSS:!0,imagesLoaded:!0,accessibility:!1};function e(e){if(!e.classList.contains("flickity-enabled")){new n(e,t);var i=db_utils.findAll(".p--popular",e);i.length&&i.forEach((t=>t.style.height="100%"))}return!0}new lazyload_observer(".carousel",{rootMargin:"200px",single:!0},e),window.addEventListener("db_refresh_carousels",(t=>{e(t.carousel)}))};window.addEventListener("db_defered_start",(()=>{!function(t){if(t=document.querySelector(t)){var e=db_utils.debounce(o,100);window.addEventListener("resize",e),window.addEventListener("orientationchange",o),o()}}("#hwc-cover"),function(t){if(document.querySelector(t)){var e=!1,i=function(s){if(e)return window.removeEventListener("resize",n),void window.removeEventListener("orientationchange",i);s&&null!=s||(s=50),db_utils.getViewport().x>=768&&(setTimeout((function(){r(t)}),s),e=!0)},n=db_utils.debounce(i,100);window.addEventListener("resize",n),window.addEventListener("orientationchange",i
1),i(6e3)}}(".hero-slider-cover"),setTimeout((function(){r(".hero-slider")}),6e3)})),db_utils.onSafeScroll(l),db_utils.onSafeScroll(a),window.addEventListener("db_defered_start",(()=>{var t=db_utils.findAll(".button-slick");if(!(t.length<1)){var e={autoPlay:3e3,prevNextButtons:!1,pageDots:!1,adaptiveHeight:!1,draggable:!1,wrapAround:!0,accessibility:!1};t.forEach((t=>{t.classList.contains("flickity-enabled")||new n(t,e)}))}}))},7759:()=>{function t(t){var e=Math.min(570,screen.width),i=Math.min(570,screen.height),n=(screen.width-e)/2,s="menubar=no,toolbar=no,status=no,copyhistory=no,width="+e+",height="+i+",top="+(screen.height-i)/2+",left="+n;t.scloader?(setTimeout((()=>{window.open(t.scloader.dataset[t.btn.dataset.social],t.btn.getAttribute("title"),s)}),100),t.scloader.classList.remove("open")):setTimeout((()=>{window.open(t.url,t.btn.getAttribute("title"),s)}),100)}var e=function(t){let e=db_utils.findAll(t+".open");e.length&&e.forEach((t=>{t.classList.remove("open")}))};window.addEventListener("db_engine_loaded",(()=>{let i=!1;document.addEventListener("click",(function(n){let s=n.target.closest(".scl-btn");if(s){n.preventDefault();let e=n.target.closest(".scl");if(!e)return function(e){const i=e.closest(".custom-sb");if(!i)return;const n=encodeURIComponent(i.getAttribute("data-url")),s=encodeURIComponent(i.getAttribute("data-title"));let r="";switch(e.getAttribute("data-social")){case"facebook":r=`https://www.facebook.com/sharer/sharer.php?u=${n}`;break;case"twitter":r=`https://twitter.com/intent/tweet?url=${n}&text=${s}`;break;case"pinterest":r=`https://pinterest.com/pin/create/button/?url=${n}&media=${document.querySelector("img")?encodeURIComponent(document.querySelector("img").src):""}&description=${s}`;break;default:return}t({btn:e,url:r})}(s),!1;var r={scloader:e,btn:s};return db_utils.fetch(d__b_data.ajax_url,{action:"dbcosmo_social_share",pid:e.dataset.pid,s:s.dataset.social},(function(t){})),t(r),!1}if(s=n.target.closest(".conn-wrapper"),s){if("A"==n.target.tagName)return!0;n.preventDefault(),i=s.classList.contains("open"),e(".scl"),e(".conn-wrapper"),i||s.classList.add("open")}return!1}),!1)}))},688:()=>{!function(t,e){const i={},n=s((function(t,e,i){return setTimeout((function(){return t.apply(null,i)}),e)}));function s(t,e){return e=null==e?t.length-1:+e,function(){for(var i=Math.max(arguments.length-e,0),n=Array(i),s=0;s<i;s++)n[s]=arguments[s+e];switch(e){case 0:return t.call(this,n);case 1:return t.call(this,arguments[0],n);case 2:return t.call(this,arguments[0],arguments[1],n)}var r=Array(e+1);for(s=0;s<e;s++)r[s]=arguments[s];return r[e]=n,t.apply(this,r)}}i.getCookie=function(t){let i=`; ${e.cookie}`.split(`; ${t}=`);if(2===i.length)return i.pop().split(";").shift()},i.getViewport=function(){var i=t,n=e,s=n.documentElement,r=n.getElementsByTagName("body")[0];return{x:i.innerWidth||s.clientWidth||r.clientWidth,y:i.innerHeight||s.clientHeight||r.clientHeight}},i.is_visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},i.isInViewport=(e,i=!1)=>{const{top:n,left:s,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:a,innerWidth:l}=t;return i?(n>0&&n<a||r>0&&r<a)&&(s>0&&s<l||o>0&&o<l):n>=0&&s>=0&&r<=a&&o<=l},i.onSafeScroll=function(i){t.scrollY>0||0==t.scrollY&&t.innerHeight>=e.body.offsetHeight?i():t.addEventListener("scroll",i)},i.postData=function(t,e,i,n){const s=Object.keys(t).map((e=>`${e}=${t[e]}`)).join("&");fetch(d__b_data.ajax_url,{method:"POST",credentials:"same-origin",headers:new Headers({"Content-Type":"application/x-www-form-urlencoded"}),body:s}).then((t=>t.json())).then((t=>{e(t,i)})).catch((t=>{console.log("error catch",t),n&&n(!1,i)}))},i.fetch=function(t,e,i,n){let s=t;e&&(s=t+"?"+new URLSearchParams(e)),fetch(s,{method:"get"}).then((t=>t.json())).then((t=>{i(t)})).catch((t=>{n&&n(!1)}))},i.fetchText=function(t,e){fetch(t,{method:"get"}).then((t=>t.text())).then((t=>{e(t)})).catch((t=>{}))},i.findAll=function(t,i){return i||(i=e),Array.from(i.querySelectorAll(t))},i.shuffle=function(t){for(var e,i,n=t.length;0!==n;)i=Math.floor(Math.random()*n),e=t[n-=1],t[n]=t[i],t[i]=e;return t}
1,i.debounce=function(t,e,i){var r,o,a=function(e,i){r=null,i&&(o=t.apply(e,i))},l=s((function(s){if(r&&clearTimeout(r),i){var l=!r;r=setTimeout(a,e),l&&(o=t.apply(this,s))}else r=n(a,e,this,s);return o}));return l.cancel=function(){clearTimeout(r),r=null},l},t.db_utils=i}(window,document)}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={exports:{}};return t[n].call(r.exports,r,r.exports,i),r.exports}i(7816),i(688),i(807),i(3604),i(6407),i(7171),i(2055),i(7679),i(650),i(7759),i(5762),i(8754),i(7665)})();

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.