!function(){"use strict";var e={19:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},249:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},352:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.setAutoClose=t.DEFAULT_AUTO_CLOSE_TIME=void 0;var o=n(476);t.DEFAULT_AUTO_CLOSE_TIME=500,t.setAutoClose=function(e,n,r){n&&r&&window.addEventListener("message",(0,o.getFormSubmitHandler)(e,function(){return setTimeout(r,(o="number"==typeof(e=n)?e:0,Math.max(o,t.DEFAULT_AUTO_CLOSE_TIME)));var e,o}))}},476:function(e,t,n){var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r0&&r[r.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]"):null!=e?e:r,o.dataset.testid="default-icon",o}(v.customIcon,v.buttonColor||l.buttonColor),E=function(){var e=document.createElement("div");e.className="tf-v1-spinner";var t=document.createElement("div");return t.className="tf-v1-popover-button-icon",t.dataset.testid="spinner-icon",t.append(e),t}(),P=u(),T=u("button","tf-v1-popover-close"),I=function(e,t){void 0===t&&(t={});var n=(0,i.getTextColor)(e),o=document.createElement("button");return o.className="tf-v1-popover-button",o.dataset.testid="tf-v1-popover-button",o.style.backgroundColor=e,o.style.color=n,(0,i.addAttributesToElement)(o,t),o}(v.buttonColor||l.buttonColor,v.buttonProps);(v.container||document.body).append(_),O.append(b),_.append(I),_.append(T),I.append(w);var S=function(){s&&s.parentNode&&(s.classList.add("closing"),setTimeout(function(){(0,i.unmountElement)(s)},250))};v.tooltip&&v.tooltip.length>0&&(s=function(e,t){var n=document.createElement("span");n.className="tf-v1-popover-tooltip-close",n.dataset.testid="tf-v1-popover-tooltip-close",n.innerHTML=i.closeIconSvg,n.onclick=t;var o=document.createElement("div");o.className="tf-v1-popover-tooltip-text",o.innerHTML=e;var r=document.createElement("div");return r.className="tf-v1-popover-tooltip",r.dataset.testid="tf-v1-popover-tooltip",r.appendChild(o),r.appendChild(n),r}(v.tooltip,S),_.append(s)),v.notificationDays&&(v.enableSandbox||(0,a.canBuildNotificationDot)(e))&&(d=(0,a.buildNotificationDot)(),I.append(d)),b.onload=function(e){(null==e?void 0:e.isTrusted)&&(_.classList.add("open"),O.style.opacity="1",T.style.opacity="1",c(E,P),(0,i.addCustomKeyboardListener)(M))};var j=function(){(0,i.isOpen)(O)||(S(),d&&(d.classList.add("closing"),v.notificationDays&&!v.enableSandbox&&(0,a.saveNotificationDotHideUntilTime)(e,v.notificationDays),setTimeout(function(){(0,i.unmountElement)(d)},250)),setTimeout(function(){(0,i.isInPage)(O)?(O.style.opacity="0",T.style.opacity="0",O.style.display="flex",setTimeout(function(){_.classList.add("open"),O.style.opacity="1",T.style.opacity="1"}),c(w,P)):(_.append(O),c(w,E),O.style.opacity="0",T.style.opacity="0")}))},M=function(){var n;(0,i.isOpen)(_)&&((0,i.handlePreventReopenOnClose)(v,e),null===(n=t.onClose)||void 0===n||n.call(t),setTimeout(function(){v.keepSession?O.style.display="none":(0,i.unmountElement)(O),_.classList.remove("open"),c(P,w)},250))};(0,i.setAutoClose)(h,v.autoClose,M);var C=function(){(0,i.isOpen)(O)?M():j()};return I.onclick=(0,i.invokeWithoutDefault)(C),T.onclick=(0,i.invokeWithoutDefault)(M),v.open&&!(0,i.isOpen)(O)&&(n=(0,i.handleCustomOpen)(j,v,e)),{open:j,close:M,toggle:C,refresh:y,focus:g,unmount:function(){(0,i.unmountElement)(_),v.open&&(null==n?void 0:n.remove)&&n.remove()}}}},1403:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getTextColor=void 0;var o=n(6546);t.getTextColor=function(e){if(!e)return"#FFFFFF";var t=e.startsWith("#")?(0,o.hexRgb)(e):function(e){var t={red:0,green:0,blue:0},n=e.match(/\d+/g);return n&&(t.red=parseInt(n[0],10),t.green=parseInt(n[0],10),t.blue=parseInt(n[0],10)),t}(e),n=t.red,r=t.green,i=t.blue;return Math.round((299*n+587*r+114*i)/1e3)>150?"#000000":"#FFFFFF"}},1407:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.handleFormRedirect=void 0,t.handleFormRedirect=function(e){return function(t){var n,o,r=t.url,i=t.target;if(r)switch(void 0===i?"_parent":i){case"_self":e.src=(n=e.src,(o=r).includes("#")&&o.startsWith("".concat(n,"#"))?o.includes("?")?o.replace("#","&tf-embed-ts=".concat(Date.now(),"#")):o.replace("#","?tf-embed-ts=".concat(Date.now(),"#")):o);break;case"_blank":window.open(r,"_blank");break;case"_top":var a=document.createElement("a");a.href=r,a.target="_top",document.body.appendChild(a),a.click(),document.body.removeChild(a);break;default:window.location.href=r}else console.error("Redirect failed, no URL provided")}}},1706:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.lazyInitialize=void 0,t.lazyInitialize=function(e,t){var n=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(t(),n.unobserve(e.target))})});n.observe(e)}},1915:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(3869),t),r(n(8885),t)},1947:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.refreshIframe=void 0,t.refreshIframe=function(e){if(e){var t=e.src;if(t.includes("&refresh")){var n=t.split("&refresh#");e.src=n.join("#")}else(n=t.split("#"))[0]="".concat(n[0],"&refresh"),e.src=n.join("#")}}},1949:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(478),t),r(n(7183),t),r(n(7520),t),r(n(9991),t),r(n(2807),t),r(n(3133),t)},2114:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.sleep=void 0,t.sleep=function(e){return new Promise(function(t){return setTimeout(t,e)})}},2466:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.WIDGET_ATTRIBUTE=t.SLIDER_WIDTH=t.SLIDER_POSITION=t.SLIDER_ATTRIBUTE=t.SIDETAB_ATTRIBUTE=t.POPUP_SIZE=t.POPUP_ATTRIBUTE=t.POPOVER_ATTRIBUTE=t.LIVE_EMBED_DATA_REGION_EU=t.LIVE_EMBED_DATA_REGION_ATTRIBUTE=t.LIVE_EMBED_ATTRIBUTE=t.DEFAULT_EU_DOMAIN=t.DEFAULT_DOMAIN=void 0,t.DEFAULT_DOMAIN="form.typeform.com",t.DEFAULT_EU_DOMAIN="form.typeform.eu",t.LIVE_EMBED_ATTRIBUTE="data-tf-live",t.LIVE_EMBED_DATA_REGION_ATTRIBUTE="data-tf-region",t.LIVE_EMBED_DATA_REGION_EU="eu",t.POPOVER_ATTRIBUTE="data-tf-popover",t.POPUP_ATTRIBUTE="data-tf-popup",t.POPUP_SIZE=100,t.SIDETAB_ATTRIBUTE="data-tf-sidetab",t.SLIDER_ATTRIBUTE="data-tf-slider",t.SLIDER_POSITION="right",t.SLIDER_WIDTH=800,t.WIDGET_ATTRIBUTE="data-tf-widget"},2588:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.overrideFullScreenStyles=void 0,t.overrideFullScreenStyles=function(e,t){Object.assign(e.style,{zIndex:"10001",position:"absolute",top:"0",left:"0",width:"100%",height:"100%"}),t.style.borderRadius="0",Object.assign(document.body.style,{overflow:"hidden"})}},2689:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isDefined=void 0,t.isDefined=function(e){return null!=e}},2807:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.initializeSidetabs=void 0;var o=n(4948),r=n(2466),i=n(5343);t.initializeSidetabs=function(e){var t=e.container,n=e.forceReload,a=void 0!==n&&n;(0,i.initialize)({embedElementAttribute:r.SIDETAB_ATTRIBUTE,cssFilename:"sidetab.css",container:t,forceReload:a,factoryMethod:function(e,t){(0,o.createSidetab)(e,t)}})}},3106:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.handleCustomOpen=t.handlePreventReopenOnClose=void 0;var n={remove:function(){}};t.handlePreventReopenOnClose=function(e,t){e.preventReopenOnClose&&r(t)};t.handleCustomOpen=function(e,t,r){var i=t.open,a=t.openValue,c=t.preventReopenOnClose,u=function(e,t,n,r){return function(){var i,a;if(!(r&&o(t)||"all"===n&&(a=document.querySelector(".tf-v1-popup, .tf-v1-slider, .tf-v1-popover-wrapper, .tf-v1-sidetab-wrapper"),(null==a?void 0:a.offsetHeight)||(null==a?void 0:a.offsetWidth)||(null===(i=null==a?void 0:a.getClientRects())||void 0===i?void 0:i.length))||"same"===n&&function(e){var t=document.querySelectorAll(".tf-v1-popup, .tf-v1-slider, .tf-v1-popover-wrapper, .tf-v1-sidetab-wrapper");return Array.from(t).some(function(t){var n,o=null===(n=t.querySelector("iframe"))||void 0===n?void 0:n.src;return(null==o?void 0:o.includes("typeform.com/to/".concat(e)))||(null==o?void 0:o.startsWith(e))})}(t)))return e()}}(e,r,t.respectOpenModals,c);switch(i){case"load":return u(),n;case"exit":return a?function(e,t){var n=0,o=function(r){r.clientY=i;(c>=e||u)&&(t(),document.removeEventListener("scroll",n))}return document.addEventListener("scroll",n),{remove:function(){return document.removeEventListener("scroll",n)}}}(a,u):n;default:return n}};var o=function(e){return document.cookie.includes("tf-".concat(e,"-closed=true"))},r=function(e){document.cookie="tf-".concat(e,"-closed=true;Path=/")}},3124:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.setElementSize=t.getValueWithUnits=void 0,t.getValueWithUnits=function(e){return"string"!=typeof e||e.match(/^[0-9]+$/)?"".concat(e,"px"):e},t.setElementSize=function(e,n){var o=n.width,r=n.height;return o&&(e.style.width=(0,t.getValueWithUnits)(o)),r&&(e.style.height=(0,t.getValueWithUnits)(r)),e}},3133:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.initializeLiveEmbeds=void 0;var o=n(2466),r=n(9945);t.initializeLiveEmbeds=function(e){for(var t,n=e.forceReload,i=e.onLiveEmbedLoad,a=document.querySelectorAll("[".concat(o.LIVE_EMBED_ATTRIBUTE,"]")),c=function(e){var c=a.item(e);if("true"!==c.dataset.tfLoading&&"true"!==c.dataset.tfLoaded||n){var u=c.getAttribute(o.LIVE_EMBED_ATTRIBUTE);if(!u)throw new Error("Invalid ".concat(o.LIVE_EMBED_ATTRIBUTE,"=").concat(u," for embed #").concat(e));c.dataset.tfLoading="true";var l=null!==(t=c.getAttribute(o.LIVE_EMBED_DATA_REGION_ATTRIBUTE))&&void 0!==t?t:void 0;(0,r.fetchLiveEmbed)(u,l).then(function(e){var t=e.html;c.innerHTML=t,i(c),delete c.dataset.tfLoading,c.dataset.tfLoaded="true"})}},u=0;u0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.mergeOptions=void 0,t.mergeOptions=function(){for(var e=[],t=0;t0&&r[r.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]0?e.reduce(function(e,o){var r,i=t.searchParams.get(o);return i?n(n({},e),((r={})[o]=i,r)):e},{}):{}}},3869:function(e,t,n){var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r"):null!=e?e:c,a.dataset.testid="default-icon",a}(d.customIcon,d.buttonColor||a.buttonColor,d.buttonTextColor,d.buttonTextSize),E=c(),P=c("button","tf-v1-sidetab-close");(d.container||document.body).append(h),y.append(p),h.append(_),h.append(P),_.append(w),_.append(O),setTimeout(function(){h.classList.add("ready")},250),p.onload=function(e){(null==e?void 0:e.isTrusted)&&(h.classList.add("open"),u(g,E),(0,i.addCustomKeyboardListener)(I))};var T=function(){(0,i.isOpen)(y)||((0,i.isInPage)(y)?(y.style.display="flex",h.classList.add("open"),u(w,E)):(h.append(y),u(w,g)))},I=function(){var t;(0,i.isOpen)(y)&&((0,i.handlePreventReopenOnClose)(d,e),null===(t=d.onClose)||void 0===t||t.call(d),h.classList.remove("open"),setTimeout(function(){d.keepSession?y.style.display="none":(0,i.unmountElement)(y),u(E,w)},250))};(0,i.setAutoClose)(v,d.autoClose,I);var S=function(){(0,i.isOpen)(y)?I():T()};return _.onclick=(0,i.invokeWithoutDefault)(S),P.onclick=(0,i.invokeWithoutDefault)(I),d.open&&!(0,i.isOpen)(y)&&(n=(0,i.handleCustomOpen)(T,d,e)),{open:T,close:I,toggle:S,refresh:m,focus:b,unmount:function(){(0,i.unmountElement)(h),d.open&&(null==n?void 0:n.remove)&&n.remove()}}}},5330:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isVisible=t.isInPage=t.isOpen=void 0,t.isOpen=function(e){return(0,t.isInPage)(e)&&(0,t.isVisible)(e)},t.isInPage=function(e){return!!e.parentNode},t.isVisible=function(e){return"none"!==e.style.display}},5343:function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{u(o.next(e))}catch(e){i(e)}}function c(e){try{u(o.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,c)}u((o=o.apply(e,t||[])).next())})},r=this&&this.__generator||function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(c){return function(u){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,o&&(r=2&c[0]?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,o=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]0&&(0,i.includeCss)(n),o=0,r.label=1;case 1:if(!(o\n \n