(()=>{function t(e){return t="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},t(e)}function e(t,e){for(var n=0;n=786||r.currentItem===r.totalItems-1?r.wrapper.style.height="auto":r.wrapper.style.height="".concat(r.qaItems[r.currentItem].offsetHeight,"px")},this.onTransitionEnd=function(t){"transform"===t.propertyName&&r.currentItem===r.totalItems-1&&(r.qaItems.forEach((function(t,e){e *"),0!==this.qaItems.length&&(this.currentItem=0,this.totalItems=this.qaItems.length,this.wrapper.addEventListener("transitionend",this.onTransitionEnd),this.qaItems.forEach((function(t,e){e0&&t.setAttribute("inert","")})),this.updateItems(),this.updateWrapperHeight(),window.addEventListener("resize",this.updateWrapperHeight),window.setTimeout(this.updateWrapperHeight,100))},(r=[{key:"updateItems",value:function(){this.wrapper.style.transform=this.wrapper.style.webkitTransform="translateX(-".concat(100*this.currentItem,"%)")}}])&&e(t.prototype,r),n&&e(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,n}(),i=function(){document.querySelectorAll(".wp-block-psg-intent-questions").forEach((function(t){new n(t)}))};/complete|interactive|loaded/.test(document.readyState)?i():document.addEventListener("DOMContentLoaded",i)})(); //# sourceMappingURL=intent-questions.js.map