!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a9074178-91ec-43e0-8fe4-90d93803a9d6",e._sentryDebugIdIdentifier="sentry-dbid-a9074178-91ec-43e0-8fe4-90d93803a9d6")}catch(e){}}();var _sentryModuleMetadataGlobal="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_sentryModuleMetadataGlobal._sentryModuleMetadata=_sentryModuleMetadataGlobal._sentryModuleMetadata||{},_sentryModuleMetadataGlobal._sentryModuleMetadata[(new _sentryModuleMetadataGlobal.Error).stack]=Object.assign({},_sentryModuleMetadataGlobal._sentryModuleMetadata[(new _sentryModuleMetadataGlobal.Error).stack],{"_sentryBundlerPluginAppKey:react-frontend":!0});var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"react-frontend@2024.10.28"},(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1201],{34507:(e,t,n)=>{n.r(t),n.d(t,{default:()=>u});n(74423),n(27495),n(21699),n(25440);var o=n(96540),l=n(34164),r=n(99969),a=n(45275),i=n(47767),s=n(66394),c=n(74848);const d=e=>{let{data:t}=e;const{question:n,questionClass:d,questionAlignment:u,heading:m,useCustomQuestionColor:f,questionColor:h,answer:g,isInitiallyCollapsed:w=!1}=t.attributes,p=(0,i.zy)(),y=(0,o.useRef)(null),b=""!==p.hash&&(p.hash.replace("#","")===`faq-widget-${t.id}`||g.includes(`id="${p.hash.replace("#","")}"`));(0,o.useEffect)((()=>{b&&y.current&&(0,a.A)(y.current.offsetTop)}),[b,y.current]);const M=(0,l.A)(d,u);return(0,c.jsx)("div",{className:"widget--faq",ref:y,children:(0,c.jsx)(r.A,{id:`faq-widget-${t.id}`,title:(0,c.jsx)(s.A,{tag:m,title:n,color:f?h:"",className:M}),open:!w||b,children:g})})},u=(0,o.memo)(d,((e,t)=>e.data.id===t.data.id))},45275:(e,t,n)=>{n.d(t,{A:()=>d});n(69085),n(3362);var o=function(e,t,n,o){return new(n||(n=Promise))((function(l,r){function a(e){try{s(o.next(e))}catch(t){r(t)}}function i(e){try{s(o.throw(e))}catch(t){r(t)}}function s(e){var t;e.done?l(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,i)}s((o=o.apply(e,t||[])).next())}))};function l(e){let t=0,n=0,o=e;do{t+=o.offsetTop||0,n+=o.offsetLeft||0,o=o.offsetParent}while(o);return{top:t,left:n}}class r{constructor(e){this.element=e}getHorizontalScroll(){return this.element.scrollLeft}getVerticalScroll(){return this.element.scrollTop}getMaxHorizontalScroll(){return this.element.scrollWidth-this.element.clientWidth}getMaxVerticalScroll(){return this.element.scrollHeight-this.element.clientHeight}getHorizontalElementScrollOffset(e,t){return l(e).left-l(t).left}getVerticalElementScrollOffset(e,t){return l(e).top-l(t).top}scrollTo(e,t){this.element.scrollLeft=e,this.element.scrollTop=t}}class a{constructor(){this.element=window}getHorizontalScroll(){return window.scrollX||document.documentElement.scrollLeft}getVerticalScroll(){return window.scrollY||document.documentElement.scrollTop}getMaxHorizontalScroll(){return Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.body.clientWidth,document.documentElement.clientWidth)-window.innerWidth}getMaxVerticalScroll(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)-window.innerHeight}getHorizontalElementScrollOffset(e){return(window.scrollX||document.documentElement.scrollLeft)+e.getBoundingClientRect().left}getVerticalElementScrollOffset(e){return(window.scrollY||document.documentElement.scrollTop)+e.getBoundingClientRect().top}scrollTo(e,t){window.scrollTo(e,t)}}const i={elements:[],cancelMethods:[],add:(e,t)=>{i.elements.push(e),i.cancelMethods.push(t)},remove:(e,t)=>{const n=i.elements.indexOf(e);n>-1&&(t&&i.cancelMethods[n](),i.elements.splice(n,1),i.cancelMethods.splice(n,1))}},s="undefined"!==typeof window,c={cancelOnUserAction:!0,easing:e=>--e*e*e+1,elementToScroll:s?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};const d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(this,void 0,void 0,(function*(){if(!s)return new Promise((e=>{e(!1)}));if(!window.Promise)throw"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill.";let n,o,l,d=Object.assign(Object.assign({},c),t);const u=d.elementToScroll===window,m=!!d.elementToScroll.nodeName;if(!u&&!m)throw"Element to scroll needs to be either window or DOM element.";const f=u?document.documentElement:d.elementToScroll;"smooth"===getComputedStyle(f).getPropertyValue("scroll-behavior")&&console.warn(`${f.tagName} has "scroll-behavior: smooth" which can mess up with animated-scroll-to's animations`);const h=u?new a:new r(d.elementToScroll);if(e instanceof Element){if(l=e,m&&(!d.elementToScroll.contains(l)||d.elementToScroll.isSameNode(l)))throw"options.elementToScroll has to be a parent of scrollToElement";n=h.getHorizontalElementScrollOffset(l,d.elementToScroll),o=h.getVerticalElementScrollOffset(l,d.elementToScroll)}else if("number"===typeof e)n=h.getHorizontalScroll(),o=e;else{if(!Array.isArray(e)||2!==e.length)throw"Wrong function signature. Check documentation.\nAvailable method signatures are:\n  animateScrollTo(y:number, options)\n  animateScrollTo([x:number | null, y:number | null], options)\n  animateScrollTo(scrollToElement:Element, options)";n=null===e[0]?h.getHorizontalScroll():e[0],o=null===e[1]?h.getVerticalScroll():e[1]}n+=d.horizontalOffset,o+=d.verticalOffset;const g=h.getMaxHorizontalScroll(),w=h.getHorizontalScroll();n>g&&(n=g);const p=n-w,y=h.getMaxVerticalScroll(),b=h.getVerticalScroll();o>y&&(o=y);const M=o-b,S=Math.abs(Math.round(p/1e3*d.speed)),E=Math.abs(Math.round(M/1e3*d.speed));let _=S>E?S:E;return _<d.minDuration?_=d.minDuration:_>d.maxDuration&&(_=d.maxDuration),new Promise(((e,t)=>{let l;0===p&&0===M&&e(!0),i.remove(h.element,!0);const r=()=>{u(),cancelAnimationFrame(l),e(!1)};i.add(h.element,r);const a=d.cancelOnUserAction?r:e=>e.preventDefault(),s=d.cancelOnUserAction?{passive:!0}:{passive:!1},c=["wheel","touchstart","keydown","mousedown"],u=()=>{c.forEach((e=>{h.element.removeEventListener(e,a,s)}))};c.forEach((e=>{h.element.addEventListener(e,a,s)}));const m=Date.now(),f=()=>{var t=Date.now()-m,r=t/_;const a=Math.round(w+p*d.easing(r)),s=Math.round(b+M*d.easing(r));t<_&&(a!==n||s!==o)?(h.scrollTo(a,s),l=requestAnimationFrame(f)):(h.scrollTo(n,o),cancelAnimationFrame(l),u(),i.remove(h.element,!1),e(!0))};l=requestAnimationFrame(f)}))}))}}}]);