websiteComponents.loader.define("website.components.button.visitor",[],(()=>(()=>{"use strict";var t,e,i={35949:(t,e,i)=>{i.d(e,{T5:()=>l,Xw:()=>s,ws:()=>c});let r=!1,n=!1,o=!1,a=!1;"undefined"!=typeof window&&"CSS"in window&&"function"==typeof CSS.supports&&(r="Animation"in window,"ViewTimeline"in window&&CSS.supports("animation-range","entry 0% exit 100%"),o="registerProperty"in CSS,a=CSS.supports("animation-timing-function","linear(0, 0.25 75%, 1)"));const s=o,c=a,l=r&&o},19371:(t,e,i)=>{i.d(e,{A:()=>n});var r=i(8154);function n(t,e,i){return(e=(0,r.A)(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}},92639:(t,e,i)=>{i.d(e,{A:()=>n});var r=i(29476);function n(t,e){if("object"!=(0,r.A)(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=(0,r.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}},8154:(t,e,i)=>{i.d(e,{A:()=>o});var r=i(29476),n=i(92639);function o(t){var e=(0,n.A)(t,"string");return"symbol"==(0,r.A)(e)?e:e+""}},29476:(t,e,i)=>{function r(t){return r="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},r(t)}i.d(e,{A:()=>r})}},r={};function n(t){var e=r[t];if(void 0!==e)return e.exports;var o=r[t]={exports:{}};return i[t].call(o.exports,o,o.exports,n),o.exports}n.m=i,n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.f={},n.e=t=>Promise.all(Object.keys(n.f).reduce(((e,i)=>(n.f[i](t,e),e)),[])),n.u=t=>(8563===t?"trigger-animation-runtime":t)+".js",n.miniCssF=t=>{},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="website-component-definitions:",n.l=(i,r,o,a)=>{if(t[i])t[i].push(r);else{var s,c;if(void 0!==o)for(var l=document.getElementsByTagName("script"),u=0;u{s.onerror=s.onload=null,clearTimeout(h);var n=t[i];if(delete t[i],s.parentNode&&s.parentNode.removeChild(s),n&&n.forEach((t=>t(r))),e)return e(r)},h=setTimeout(m.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=m.bind(null,s.onerror),s.onload=m.bind(null,s.onload),c&&document.head.appendChild(s)}},n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;n.g.importScripts&&(t=n.g.location+"");var e=n.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var i=e.getElementsByTagName("script");if(i.length)for(var r=i.length-1;r>-1&&(!t||!/^http(s?):/.test(t));)t=i[r--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t})(),(()=>{var t={5394:0};n.f.j=(e,i)=>{var r=n.o(t,e)?t[e]:void 0;if(0!==r)if(r)i.push(r[2]);else{var o=new Promise(((i,n)=>r=t[e]=[i,n]));i.push(r[2]=o);var a=n.p+n.u(e),s=new Error;n.l(a,(i=>{if(n.o(t,e)&&(0!==(r=t[e])&&(t[e]=void 0),r)){var o=i&&("load"===i.type?"missing":i.type),a=i&&i.target&&i.target.src;s.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,r[1](s)}}),"chunk-"+e,e)}};var e=(e,i)=>{var r,o,[a,s,c]=i,l=0;if(a.some((e=>0!==t[e]))){for(r in s)n.o(s,r)&&(n.m[r]=s[r]);c&&c(n)}for(e&&e(i);l{n.r(o),n.d(o,{Visitor:()=>l,default:()=>u});var t=n(19371),e=n(35949);class i{constructor(e){(0,t.A)(this,"runtime",null),e&&this.boot()}async boot(){if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;const t=document.querySelectorAll("[data-has-block-animations]");t.length&&(await this.load(),t.forEach((t=>{var e;const i=t.querySelector("script[data-block-animations]");if(!i)return;const r=JSON.parse(String(i.textContent));null===(e=this.runtime)||void 0===e||e.createAnimationTriggers(r)})))}async load(){if(this.runtime)return;const{AnimationRuntime:t}=await Promise.all([n.e(8830),n.e(3196),n.e(8563)]).then(n.bind(n,24136));this.runtime=new t}async createAnimationTriggers(t){this.runtime||await this.load(),this.runtime.createAnimationTriggers(t)}async destroyAnimationTriggers(t){this.runtime||await this.load(),this.runtime.destroyAnimationTriggers(t)}}const r=function(){return function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(e.T5)return window.__sqsAnimationRuntime||(window.__sqsAnimationRuntime=new i(t)),window.__sqsAnimationRuntime}(arguments.length>0&&void 0!==arguments[0]&&arguments[0])},a=new class{async createAnimationTriggers(t){var e;null===(e=r())||void 0===e||e.createAnimationTriggers(t)}destroyAnimationTriggers(t){var e;null===(e=r())||void 0===e||e.destroyAnimationTriggers(t)}},s=window.matchMedia("(prefers-reduced-motion: reduce)");class c{constructor(i){var r;let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,t.A)(this,"componentId",""),(0,t.A)(this,"handlePrefersReducedMotionChange",(t=>{t.matches?this.destroyAnimations():(this.parseBlockData(),this.createAnimations())})),this.root=i,this.root=i,e.T5?(this.componentId=(null===(r=this.root.closest("[data-block-id]"))||void 0===r?void 0:r.dataset.blockId)??"",n||s.addEventListener("change",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(){e.T5&&this.blockData&&a.createAnimationTriggers(this.blockData)}destroyAnimations(){s.removeEventListener("change",this.handlePrefersReducedMotionChange),this.blockData&&a.destroyAnimationTriggers(this.blockData)}updateBlockData(t){t&&(this.blockData||this.parseBlockData(),this.blockData={...this.blockData||{},...t})}getBlockData(){return this.blockData||this.parseBlockData(),this.blockData}}class l{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.root=t,this.root=t,this.animationVisitor=new c(t,e)}createAnimations(){this.animationVisitor.createAnimations()}updateBlockData(t){this.animationVisitor.updateBlockData(t)}destroyAnimations(){this.animationVisitor.destroyAnimations()}getBlockData(){return this.animationVisitor.getBlockData()}}const u=t=>new l(t)})(),o})()));