websiteComponents.loader.define("website.components.html.visitor",[],()=>(()=>{"use strict";var t={d:(e,o)=>{for(var i in o)t.o(o,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:o[i]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function o(t){return o="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},o(t)}function i(t,e,i){return(e=function(t){var e=function(t){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==o(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}t.r(e),t.d(e,{Visitor:()=>u,default:()=>m});let n=!1,r=!1,a=!1,s=!1;"undefined"!=typeof window&&"CSS"in window&&"function"==typeof CSS.supports&&(n="Animation"in window,"ViewTimeline"in window&&CSS.supports("animation-range","entry 0% exit 100%"),a="registerProperty"in CSS,CSS.supports("animation-timing-function","linear(0, 0.25 75%, 1)"));const l=n&&a,c=()=>window.__sqsAnimationRuntime;class d{constructor(t){var e,o,n;let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];i(this,"componentId",""),i(this,"handlePrefersReducedMotionChange",t=>{t?this.destroyAnimations():(this.parseBlockData(),this.createAnimations())}),this.root=t,this.root=t,l?(this.componentId=(null===(e=this.root.closest("[data-block-id]"))||void 0===e?void 0:e.dataset.blockId)??"",r||(this.prefersReducedMotionUnsub=null===(o=c())||void 0===o||null===(n=o.registerReducedMotionChangeHandler)||void 0===n?void 0:n.call(o,this.handlePrefersReducedMotionChange))):this.removePrerender()}removePrerender(){var t;null===(t=this.root.querySelector("style[data-block-animations-prerender]"))||void 0===t||t.remove()}parseBlockData(){const t=this.root.querySelector("script[data-block-animations]");if(!t)return void(this.blockData={animations:[],transforms:{},componentId:this.componentId});const e=JSON.parse(String(t.textContent));this.blockData=e}createAnimations(){var t;l&&this.blockData&&(null===(t=c())||void 0===t||t.createAnimationTriggers(this.blockData))}destroyAnimations(){var t,e;null===(t=this.prefersReducedMotionUnsub)||void 0===t||t.call(this),this.blockData&&(null===(e=c())||void 0===e||e.destroyAnimationTriggers(this.blockData))}updateBlockData(t){t&&(this.blockData||this.parseBlockData(),this.blockData={...this.blockData||{},...t})}getBlockData(){return this.blockData||this.parseBlockData(),this.blockData}}class u{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.root=t,this.animationVisitor=new d(t,e)}}const m=(t,e)=>new u(t,e);return e})());