!function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rr?1:-1,c=setTimeout((function(){o(r+u)}),l);return function(){return clearTimeout(c)}}),[i.React.Children.count(e.children),l,r,v,a]),i.React.createElement(s,{className:e.className},i.React.Children.map(e.children,(function(t,n){return i.React.createElement(d,{className:e.childClassName,style:{transition:"opacity ".concat(a,"ms, transform ").concat(a,"ms"),transform:r>n?"none":"translateY(".concat(f,"px)"),opacity:r>n?1:0}},t)})))}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function l(e){var t=function(e,t){if("object"!=f(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==f(t)?t:String(t)}function s(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var y=["src","checkForExisting"],b=i.React.useState,g=i.React.useEffect,O="undefined"!=typeof window&&void 0!==window.document,h={},w=function(e){var t=document.querySelector('script[src="'.concat(e,'"]'));if(t)return h[e]={loading:!1,error:null,scriptEl:t}};function j(e){var t=e.src,r=e.checkForExisting,o=void 0!==r&&r,i=p(e,y),u=t?h[t]:void 0;!u&&o&&t&&O&&(u=w(t));var c=n(b(u?u.loading:Boolean(t)),2),a=c[0],f=c[1],l=n(b(u?u.error:null),2),s=l[0],d=l[1];return g((function(){if(O&&t&&a&&!s){var e;!(u=h[t])&&o&&(u=w(t)),u?e=u.scriptEl:((e=document.createElement("script")).src=t,Object.keys(i).forEach((function(t){void 0===e[t]?e.setAttribute(t,i[t]):e[t]=i[t]})),u=h[t]={loading:!0,error:null,scriptEl:e});var r=function(){u&&(u.loading=!1),f(!1)},n=function(e){u&&(u.error=e),d(e)};return e.addEventListener("load",r),e.addEventListener("error",n),document.body.appendChild(e),function(){e.removeEventListener("load",r),e.removeEventListener("error",n)}}}),[t]),[a,s]}var S=gform.utils,E=/input|select|textarea|button|object/,P="a, input, select, textarea, button, object, [tabindex]";function A(e){var t=e.getAttribute("tabindex");return null===t&&(t=void 0),parseInt(t,10)}function D(e){var t=e.nodeName.toLowerCase(),r=!isNaN(A(e));return(E.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||r)&&function(e){for(var t,r=e;r&&r!==document.body;){if(t=r,!(0,S.isJestTest)()&&(t.offsetWidth<=0&&t.offsetHeight<=0||"none"===t.style.display))return!1;r=r.parentNode}return!0}(e)}function T(e){var t=A(e);return(isNaN(t)||t>=0)&&D(e)}function R(e){return Array.from(e.querySelectorAll(P)).filter(T)}var C=[],L=null,k=!1;function N(){k=!0}function x(){if(k){if(k=!1,!L)return;if(!L)return;if(L.contains(document.activeElement))return;(R(L)[0]||L).focus()}}var H=i.React.useCallback,I=i.React.useEffect,q=i.React.useRef;var F=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=q(),n=q(null),o=H((function(o){if(n.current&&n.current(),r.current&&(!function(){var e=null;try{(e=C.pop())&&setTimeout((function(){return e.focus()}))}catch(e){}}(),L=null,document.removeEventListener("focusout",N),document.removeEventListener("focusin",x)),e&&o){L=o,document.addEventListener("focusout",N,!1),document.addEventListener("focusin",x,!0),C.push(document.activeElement);var i=function(e){n.current=t.disableAriaHider?null:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body > :not(script)",r=Array.from(document.querySelectorAll(t)).map((function(t){if(!t.contains(e)){var r=t.getAttribute("aria-hidden");return null!==r&&"false"!==r||t.setAttribute("aria-hidden","true"),{node:t,ariaHidden:r}}}));return function(){r.forEach((function(e){e&&(null===e.ariaHidden?e.node.removeAttribute("aria-hidden"):e.node.setAttribute("aria-hidden",e.ariaHidden))}))}}(e);var r=null;if(t.focusSelector&&(r="string"==typeof t.focusSelector?e.querySelector(t.focusSelector):t.focusSelector),!r){var o=Array.from(e.querySelectorAll(P));!(r=o.find(T)||o.find(D)||null)&&D(e)&&(r=e)}r&&r.focus()};setTimeout((function(){o.ownerDocument&&i(o)})),r.current=o}else r.current=null}),[e,t.focusSelector,t.disableAriaHider]);return I((function(){if(e){var t=function(e){"Tab"===e.key&&r.current&&function(e,t){var r=R(e);if(r.length){if(r[t.shiftKey?0:r.length-1]===document.activeElement||e===document.activeElement){t.preventDefault();var n=r[t.shiftKey?r.length-1:0];n&&n.focus()}}else t.preventDefault()}(r.current,e)};return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)}}}),[e]),o};function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function W(e){for(var t=1;t