!function($){var escape=/["\\\x00-\x1f\x7f-\x9f]/g,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},hasOwn=Object.prototype.hasOwnProperty;$.toJSON="object"==typeof JSON&&JSON.stringify?JSON.stringify:function(t){if(null===t)return"null";var e,r,n,o,i,f,u=$.type(t);if("undefined"!==u){if("number"===u||"boolean"===u)return String(t);if("string"===u)return $.quoteString(t);if("function"==typeof t.toJSON)return $.toJSON(t.toJSON());if("date"===u)return i=t.getUTCMonth()+1,f=t.getUTCDate(),'"'+t.getUTCFullYear()+"-"+(i=i<10?"0"+i:i)+"-"+(f=f<10?"0"+f:f)+"T"+(i=(i=t.getUTCHours())<10?"0"+i:i)+":"+(f=(f=t.getUTCMinutes())<10?"0"+f:f)+":"+(i=(i=t.getUTCSeconds())<10?"0"+i:i)+"."+(f=(f=(f=t.getUTCMilliseconds())<100?"0"+f:f)<10?"0"+f:f)+'Z"';if(e=[],$.isArray(t)){for(r=0;r/i,"").replace(o,""),a=0==gformToNumber(a=gformGetPriceDifference(r,t))?"":" "+a,e=(e.attr("price",a),"option"==e[0].tagName.toLowerCase()?a:""+a+""),a=o+e;return a=window.gform_format_option_label?gform_format_option_label(a,o,e,r,t,i,n):a}function gformGetProductIds(e,t){for(var r=(jQuery(t).hasClass(e)?jQuery(t):jQuery(t).parents("."+e)).attr("class").split(" "),i=0;i{gformRegisterPriceField(gformGetProductIds("gfield_price",e))}),Object.keys(_gformPriceFields).forEach(e=>{gformCalculateTotalPrice(e),gform.state.watch(e,["products","feeds"],gformHandleProductChange),bindProductChangeEvent()})}function bindProductChangeEvent(){document.addEventListener("gform/products/product_field_changed",function(e){var t={formId:e.detail.formId,productFieldId:e.detail.productFieldId};jQuery(document).trigger("gform_price_change",[t,e.detail.htmlInput,this])})}function gformHandleProductChange(e,t,r){gformCalculateTotalPrice(e)}function gformShowPasswordStrength(e){var t=gformPasswordStrength(document.getElementById(e).value,document.getElementById(e+"_2")?document.getElementById(e+"_2").value:""),r=window.gf_text["password_"+t],i="unknown"===t?"blank":t;jQuery("#"+e+"_strength").val(t),jQuery("#"+e+"_strength_indicator").removeClass("blank mismatch short good bad strong").addClass(i).html(r)}function gformPasswordStrength(e,t){if(e.length<=0)return"blank";var r=wp.passwordStrength.hasOwnProperty("userInputDisallowedList")?wp.passwordStrength.userInputDisallowedList():wp.passwordStrength.userInputBlacklist();switch(wp.passwordStrength.meter(e,r,t)){case-1:return"unknown";case 2:return"bad";case 3:return"good";case 4:return"strong";case 5:return"mismatch";default:return"short"}}function gformToggleShowPassword(e){var t=jQuery("#"+e),r=t.parent().find("button"),i=r.find("span");switch(t.attr("type")){case"password":t.attr("type","text"),r.attr("aria-label",r.attr("data-label-hide")),i.removeClass("dashicons-hidden").addClass("dashicons-visibility");break;case"text":t.attr("type","password"),r.attr("aria-label",r.attr("data-label-show")),i.removeClass("dashicons-visibility").addClass("dashicons-hidden")}}function gformToggleCheckboxes(e){var t,r=jQuery(e),i=r.is('input[type="checkbox"]'),n=r.parent(),o=(n.find("label"),n.parent().find(".gchoice:not( .gchoice_select_all )")),n=gf_get_form_id_by_html_id(n.parents(".gfield").attr("id")),a=rgars(window,"gf_global/gfcalc/"+n);t=i?e.checked:"boolean"==typeof(i=r.data("checked"))?!i:!(1===parseInt(i)),o.each(function(){jQuery('input[type="checkbox"]',this).prop("checked",t).trigger("change"),"function"==typeof jQuery('input[type="checkbox"]',this)[0].onclick&&jQuery('input[type="checkbox"]',this)[0].onclick()}),gformToggleSelectAll(e,t?"deselect":"select"),wp.a11y.speak(t?gf_field_checkbox.strings.selected:gf_field_checkbox.strings.deselected),a&&a.runCalcs(n,a.formulaFields)}function gformToggleSelectAll(e,t){var e=jQuery(e),r=e.is('input[type="checkbox"]');(r?e.parent():e.prev()).find("label");r||(e.html("deselect"===t?e.data("label-deselect"):e.data("label-select")),e.data("checked","deselect"===t?1:0))}function gformToggleRadioOther(e){var t=gform.tools.getClosest(e,".ginput_container_radio").querySelector("input.gchoice_other_control");t&&(t.disabled="gf_other_choice"!==e.value)}function gformAddListItem(e,t){var r,i,n,e=jQuery(e);e.hasClass("gfield_icon_disabled")||(r=(e=e.parents(".gfield_list_group")).clone(),i=e.parents(".gfield_list_container"),n=r.find(":input:last").attr("tabindex"),r.find("input, select, textarea").attr("tabindex",n).not(":checkbox, :radio").val("").attr("value",""),r.find(":checkbox, :radio").prop("checked",!1),r=gform.applyFilters("gform_list_item_pre_add",r,e),e.after(r),gformToggleIcons(i,t),gformAdjustClasses(i),gformAdjustRowAttributes(i),gform.doAction("gform_list_post_item_add",r,i),wp.a11y.speak(window.gf_global.strings.newRowAdded))}function gformDeleteListItem(e,t){var r,e=jQuery(e);e.prop("disabled")||(e.prop("disabled",!0),r=(e=e.parents(".gfield_list_group")).parents(".gfield_list_container"),e.remove(),gformToggleIcons(r,t),gformAdjustClasses(r),gformAdjustRowAttributes(r),gform.doAction("gform_list_post_item_delete",r),wp.a11y.speak(window.gf_global.strings.rowRemoved))}function gformAdjustClasses(e){e.find(".gfield_list_group").each(function(e){e=(e+1)%2==0?"gfield_list_row_even":"gfield_list_row_odd";jQuery(this).removeClass("gfield_list_row_odd gfield_list_row_even").addClass(e)})}function gformAdjustRowAttributes(e){e.parents(".gform_wrapper").hasClass("gform_legacy_markup_wrapper")||e.find(".gfield_list_group").each(function(r){jQuery(this).find("input, select, textarea").each(function(e,t){t=jQuery(t);t.attr("aria-label",t.data("aria-label-template").gformFormat(r+1))});var e=jQuery(this).find(".delete_list_item");e.attr("aria-label",e.data("aria-label-template").gformFormat(r+1))})}function gformToggleIcons(e,t){var r=e.find(".gfield_list_group").length,i=e.find(".add_list_item"),n="undefined"!=typeof gf_legacy&&gf_legacy.is_legacy;1===r?e.find(".delete_list_item").prop("disabled",!0).css("visibility","hidden"):e.find(".delete_list_item").prop("disabled",!1).css("visibility","visible"),0t?(r.text(e.name+" - "+gform_gravityforms.strings.file_exceeds_limit),wp.a11y.speak(e.name+" - "+gform_gravityforms.strings.file_exceeds_limit)):r.remove())}gform.recaptcha={renderRecaptcha:function(){jQuery(".ginput_recaptcha:not(.gform-initialized)").each(function(){let e=jQuery(this),t={sitekey:e.data("sitekey"),theme:e.data("theme"),tabindex:e.data("tabindex"),"error-callback":()=>{console.error("Gravity Forms: There was an error initializing reCAPTCHA v2. Please ensure your reCAPTCHA API keys are valid."),e.attr("data-recaptcha-error","1")}};e.data("stoken")&&(t.stoken=e.data("stoken"));var r=gform.applyFilters("gform_recaptcha_callback",!1,e),r=(r&&(t.callback=r),grecaptcha.render(this.id,t));e[0].setAttribute("data-widget-id",r),t.tabindex&&e.find("iframe").attr("tabindex",t.tabindex),e.addClass("gform-initialized"),gform.doAction("gform_post_recaptcha_render",e)}),gform.recaptcha.bindRecaptchaSubmissionEvents()},isSubmissionEventsInitialized:!1,bindRecaptchaSubmissionEvents:function(){gform.recaptcha.isSubmissionEventsInitialized||(gform.recaptcha.isSubmissionEventsInitialized=!0,window.gform.utils.addAsyncFilter("gform/submission/pre_submission",async e=>((e.submissionType===gform.submission.SUBMISSION_TYPE_SUBMIT||e.submissionType===gform.submission.SUBMISSION_TYPE_NEXT)&&!e.abort&&await gform.recaptcha.maybeExecuteInvisibleRecaptcha(e),e)),window.gform.utils.addAsyncFilter("gform/ajax/pre_ajax_validation",gform.recaptcha.maybeExecuteInvisibleRecaptcha),window.gform.utils.addFilter("gform/ajax/post_ajax_submission",gform.recaptcha.handleAjaxPostSubmission),window.gform.utils.addFilter("gform/ajax/post_ajax_validation",gform.recaptcha.handleAjaxPostValidation))},maybeExecuteInvisibleRecaptcha:async function(e){var t;return gform.recaptcha.gformIsRecaptchaPending(jQuery(e.form))&&(t=gform.utils.getNode(".ginput_recaptcha",e.form,!0),await gform.recaptcha.executeRecaptcha(t.getAttribute("data-widget-id"),e.form)),e},executeRecaptcha:async function(e,i){var t=gform.utils.getNode(".ginput_recaptcha",i,!0);if("1"!==t.getAttribute("data-recaptcha-error"))return window.grecaptcha.execute(e),new Promise((t,e)=>{let r=setInterval(()=>{var e=gform.utils.getNode(".g-recaptcha-response",i,!0);e&&e.value&&(clearInterval(r),t(e.value))},100)})},handleAjaxPostValidation:function(e){return gform.recaptcha.saveRecaptchaResponse(e.validationResult.data.recaptcha_response,e.form),e},handleAjaxPostSubmission:function(e){return gform.recaptcha.saveRecaptchaResponse(e.submissionResult.data.recaptcha_response,e.form),e},saveRecaptchaResponse:function(t,r){if(t){let e=gform.tools.getNodes("input[name=g-recaptcha-response]",!0,r,!0);0===e.length?((e=document.createElement("input")).type="hidden",e.name="g-recaptcha-response",r.appendChild(e)):e=e[0],e.value=t}},gformIsRecaptchaPending:function(e){var e=e.find(".ginput_recaptcha");return!(!e.length||"invisible"!==e.data("size")||(e=e.find(".g-recaptcha-response")).length&&e.val())},needsRender:function(){return document.querySelectorAll(".ginput_recaptcha:not(.gform-initialized)")[0]},renderOnRecaptchaLoaded:function(){var e;gform.recaptcha.needsRender()&&(e=setInterval(function(){window.grecaptcha&&window.grecaptcha.render&&(this.renderRecaptcha(),clearInterval(e))},100))}},jQuery(document).on("gform_post_render",gform.recaptcha.renderOnRecaptchaLoaded),window.renderRecaptcha=gform.recaptcha.renderRecaptcha,window.gformIsRecaptchaPending=gform.recaptcha.gformIsRecaptchaPending,((g,m)=>{g.uploaders={};var _="undefined"!=typeof gform_gravityforms?gform_gravityforms.strings:{},p="undefined"!=typeof gform_gravityforms?gform_gravityforms.vars.images_url:"";m(document).on("gform_post_render",function(e,t){m("form#gform_"+t+" .gform_fileupload_multifile").each(function(){i(this)}),r||(r=!0,window.gform.utils.addFilter("gform/submission/pre_submission",e=>((()=>{let r=!1;return m.each(g.uploaders,function(e,t){if(0"+h(t)+""),setTimeout(function(){wp.a11y.speak(m("#"+e).text())},1e3)}function l(e){var t=parseInt(e.gf_vars.max_files,10);0{1}{2}{5}',t,r,_,i,o).gformFormat(t.id,h(t.name),r,_.cancel_upload,i,_.cancel),m("#"+o.settings.filelist).prepend(n),s++)}),o.refresh(),0==(t=m("form#gform_"+d+" "+(e="input:hidden[name='gform_unique_id']"))).length&&(t=m(e)),""===(r=t.val())&&(r="xxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}),t.val(r)),0'+plupload.formatSize(t.size)+"",a+=''+t.percent+"%",n=e.settings.multipart_params.form_id,i=e.settings.multipart_params.field_id,a="undefined"!=typeof gf_legacy&&gf_legacy.is_legacy?""+_.delete_file+" "+a:a+"",a=gform.applyFilters("gform_file_upload_markup",a,t,e,_,p,r),m("#"+t.id).html(a),m("#"+t.id+" span.gfield_fileupload_progressbar_progress").css("width",t.percent+"%"),100==t.percent&&(r.status&&"ok"==r.status?(r.data.id=t.id,n=i,o=r.data,(a=c(n)).unshift(o),i=n,r=a,o=s(),n=m("#gform_uploaded_files_"+d),o[i=u(i)]=r,n.val(m.toJSON(o))):f(e.settings.gf_vars.message_id,_.unknown_error+": "+t.name))))}),t.bind("FilesRemoved",function(e,t){l(e.settings)}),m("#"+e.drop_element).on({dragenter:n,dragover:n})}function h(e){return m("
").text(e).html()}})(window.gfMultiFileUploader=window.gfMultiFileUploader||{},jQuery);let gformIsSpinnerInitialized=!1;function gformInitSpinner(e,t,r=0){gformIsSpinnerInitialized||(gformIsSpinnerInitialized=!0,window.gform.utils.addFilter("gform/submission/pre_submission",e=>(gformShowSpinner(e.form.dataset.formid,t),e),3),document.addEventListener("gform/submission/submission_aborted",function(e){gformRemoveSpinner(),jQuery("#gform_ajax_spinner_"+e.detail.form.dataset.formid).remove()}))}function gformShowSpinner(e,t){t=gform.applyFilters("gform_spinner_url",t,e);t!==gform.applyFilters("gform_spinner_url",gf_global.spinnerUrl,e)?gformAddSpinner(e,t):gformInitializeSpinner(e,gform.applyFilters("gform_spinner_target_elem",jQuery("#gform_submit_button_"+e+", #gform_wrapper_"+e+" .gform_next_button, #gform_send_resume_link_button_"+e),e))}function gformInitializeSpinner(e,t,r="gform-ajax-spinner"){0==jQuery("#gform_ajax_spinner_"+e).length&&(r='',(t instanceof jQuery?t:jQuery(t)).after(r))}function gformRemoveSpinner(e="gform-ajax-spinner"){e=document.querySelectorAll('[data-js-spinner-id="'+e+'"]');e&&e.forEach(function(e){e.remove()})}function gformAddSpinner(e,t){void 0!==t&&t||(t=gform.applyFilters("gform_spinner_url",gf_global.spinnerUrl,e)),0==jQuery("#gform_ajax_spinner_"+e).length&&gform.applyFilters("gform_spinner_target_elem",jQuery("#gform_submit_button_"+e+", #gform_wrapper_"+e+" .gform_next_button, #gform_send_resume_link_button_"+e),e).after('')}function gformReInitTinymceInstance(e,t){var r,i,n;e&&t?(r=window.tinymce)?(i=r.get("input_"+e+"_"+t))?(n=jQuery.extend({},i.settings),i.remove(),r.init(n),gform.console.log("gformReInitTinymceInstance reinitialized TinyMCE on input_"+e+"_"+t+".")):gform.console.error("gformReInitTinymceInstance did not find an instance for input_"+e+"_"+t+"."):gform.console.error("gformReInitTinymceInstance requires tinymce to be available."):gform.console.error("gformReInitTinymceInstance requires a form and field id.")}function gf_raw_input_change(e,t){clearTimeout(__gf_keyup_timeout);var r=jQuery(t),i=r.attr("id"),n=gf_get_input_id_by_html_id(i),o=gf_get_form_id_by_html_id(i),i=gform.applyFilters("gform_field_meta_raw_input_change",{fieldId:n,formId:o},r,e),n=i.fieldId,o=i.formId;n&&(r=!(i=r.is(":checkbox")||r.is(":radio")||r.is("select"))||r.is("textarea"),"keyup"==e.type&&!r||"change"==e.type&&!i&&!r||("keyup"==e.type?__gf_keyup_timeout=setTimeout(function(){gf_input_change(t,o,n)},300):gf_input_change(t,o,n)))}function gf_get_input_id_by_html_id(e){var e=gf_get_ids_by_html_id(e),t=e[e.length-1];return 3==e.length&&(e.shift(),t=e.join(".")),t}function gf_get_form_id_by_html_id(e){return gf_get_ids_by_html_id(e)[0]}function gf_get_ids_by_html_id(e){for(var t=e?e.split("_"):[],r=t.length-1;0<=r;r--)gform.utils.isNumber(t[r])||t.splice(r,1);return t}function gf_input_change(e,t,r){gform.doAction("gform_input_change",e,t,r)}function gformExtractFieldId(e){var t=parseInt(e.toString().split(".")[0],10);return t||e}function gformExtractInputIndex(e){e=parseInt(e.toString().split(".")[1],10);return e||!1}jQuery(document).on("change keyup",".gfield input, .gfield select, .gfield textarea",function(e){gf_raw_input_change(e,this)});{function rgars(e,t){for(var r=t.split("/"),i=e,n=0;n li",function(){jQuery(this).find(".gform-form-toolbar__submenu").toggleClass("open"),jQuery(this).find(".has_submenu").toggleClass("submenu-open")}),jQuery("#gform-form-toolbar__menu").on("mouseleave blur","> li",function(){jQuery(".gform-form-toolbar__submenu.open").removeClass("open"),jQuery(".has_submenu.submenu-open").removeClass("submenu-open")}),jQuery("#gform-form-toolbar__menu .has_submenu").on("click",function(e){e.preventDefault()})}),jQuery(document).ready(function(){jQuery(".gform-settings-field").each(function(){1 .gform-settings-input__container").length&&jQuery(this).addClass("gform-settings-field--multiple-inputs")})}),jQuery(function(){gform.tools.trigger("gform_main_scripts_loaded")});; (t=>{t.fn.textareaCount=function(i,r){var o,l=t(this),c=0,u=i.maxCharacterSize,s=0,f=0,h={};function d(r){for(var a=0,e=0;e=i.maxCharacterSize?t.substring(0,i.maxCharacterSize):t),a=i.maxCharacterSize,p()&&(a=i.maxCharacterSize-r),i.truncate&&a 
").insertAfter(l),(o=l.next(".charleft")).addClass(i.originalStyle),e(),l.bind("keyup",function(){e()}).bind("mouseover paste",function(){setTimeout(function(){e()},10)})}})(jQuery);; /* Placeholders.js v3.0.2 */ (function(t){"use strict";function e(t,e,r){return t.addEventListener?t.addEventListener(e,r,!1):t.attachEvent?t.attachEvent("on"+e,r):void 0}function r(t,e){var r,n;for(r=0,n=t.length;n>r;r++)if(t[r]===e)return!0;return!1}function n(t,e){var r;t.createTextRange?(r=t.createTextRange(),r.move("character",e),r.select()):t.selectionStart&&(t.focus(),t.setSelectionRange(e,e))}function a(t,e){try{return t.type=e,!0}catch(r){return!1}}t.Placeholders={Utils:{addEventListener:e,inArray:r,moveCaret:n,changeType:a}}})(this),function(t){"use strict";function e(){}function r(){try{return document.activeElement}catch(t){}}function n(t,e){var r,n,a=!!e&&t.value!==e,u=t.value===t.getAttribute(V);return(a||u)&&"true"===t.getAttribute(P)?(t.removeAttribute(P),t.value=t.value.replace(t.getAttribute(V),""),t.className=t.className.replace(R,""),n=t.getAttribute(z),parseInt(n,10)>=0&&(t.setAttribute("maxLength",n),t.removeAttribute(z)),r=t.getAttribute(D),r&&(t.type=r),!0):!1}function a(t){var e,r,n=t.getAttribute(V);return""===t.value&&n?(t.setAttribute(P,"true"),t.value=n,t.className+=" "+I,r=t.getAttribute(z),r||(t.setAttribute(z,t.maxLength),t.removeAttribute("maxLength")),e=t.getAttribute(D),e?t.type="text":"password"===t.type&&K.changeType(t,"text")&&t.setAttribute(D,"password"),!0):!1}function u(t,e){var r,n,a,u,i,l,o;if(t&&t.getAttribute(V))e(t);else for(a=t?t.getElementsByTagName("input"):f,u=t?t.getElementsByTagName("textarea"):h,r=a?a.length:0,n=u?u.length:0,o=0,l=r+n;l>o;o++)i=r>o?a[o]:u[o-r],e(i)}function i(t){u(t,n)}function l(t){u(t,a)}function o(t){return function(){b&&t.value===t.getAttribute(V)&&"true"===t.getAttribute(P)?K.moveCaret(t,0):n(t)}}function c(t){return function(){a(t)}}function s(t){return function(e){return A=t.value,"true"===t.getAttribute(P)&&A===t.getAttribute(V)&&K.inArray(C,e.keyCode)?(e.preventDefault&&e.preventDefault(),!1):void 0}}function d(t){return function(){n(t,A),""===t.value&&(t.blur(),K.moveCaret(t,0))}}function v(t){return function(){t===r()&&t.value===t.getAttribute(V)&&"true"===t.getAttribute(P)&&K.moveCaret(t,0)}}function g(t){return function(){i(t)}}function p(t){t.form&&(T=t.form,"string"==typeof T&&(T=document.getElementById(T)),T.getAttribute(U)||(K.addEventListener(T,"submit",g(T)),T.setAttribute(U,"true"))),K.addEventListener(t,"focus",o(t)),K.addEventListener(t,"blur",c(t)),b&&(K.addEventListener(t,"keydown",s(t)),K.addEventListener(t,"keyup",d(t)),K.addEventListener(t,"click",v(t))),t.setAttribute(j,"true"),t.setAttribute(V,x),(b||t!==r())&&a(t)}var f,h,b,m,A,y,E,x,L,T,S,N,w,B=["text","search","url","tel","email","password","number","textarea"],C=[27,33,34,35,36,37,38,39,40,8,46],k="#ccc",I="placeholdersjs",R=RegExp("(?:^|\\s)"+I+"(?!\\S)"),V="data-placeholder-value",P="data-placeholder-active",D="data-placeholder-type",U="data-placeholder-submit",j="data-placeholder-bound",q="data-placeholder-focus",Q="data-placeholder-live",z="data-placeholder-maxlength",F=document.createElement("input"),G=document.getElementsByTagName("head")[0],H=document.documentElement,J=t.Placeholders,K=J.Utils;if(J.nativeSupport=void 0!==F.placeholder,!J.nativeSupport){for(f=document.getElementsByTagName("input"),h=document.getElementsByTagName("textarea"),b="false"===H.getAttribute(q),m="false"!==H.getAttribute(Q),y=document.createElement("style"),y.type="text/css",E=document.createTextNode("."+I+" { color:"+k+"; }"),y.styleSheet?y.styleSheet.cssText=E.nodeValue:y.appendChild(E),G.insertBefore(y,G.firstChild),w=0,N=f.length+h.length;N>w;w++)S=f.length>w?f[w]:h[w-f.length],x=S.attributes.placeholder,x&&(x=x.nodeValue,x&&K.inArray(B,S.type)&&p(S));L=setInterval(function(){for(w=0,N=f.length+h.length;N>w;w++)S=f.length>w?f[w]:h[w-f.length],x=S.attributes.placeholder,x?(x=x.nodeValue,x&&K.inArray(B,S.type)&&(S.getAttribute(j)||p(S),(x!==S.getAttribute(V)||"password"===S.type&&!S.getAttribute(D))&&("password"===S.type&&!S.getAttribute(D)&&K.changeType(S,"text")&&S.setAttribute(D,"password"),S.value===S.getAttribute(V)&&(S.value=x),S.setAttribute(V,x)))):S.getAttribute(P)&&(n(S),S.removeAttribute(V));m||clearInterval(L)},100)}K.addEventListener(t,"beforeunload",function(){J.disable()}),J.disable=J.nativeSupport?e:i,J.enable=J.nativeSupport?e:l}(this),function(t){"use strict";var e=t.fn.val,r=t.fn.prop;Placeholders.nativeSupport||(t.fn.val=function(t){var r=e.apply(this,arguments),n=this.eq(0).data("placeholder-value");return void 0===t&&this.eq(0).data("placeholder-active")&&r===n?"":r},t.fn.prop=function(t,e){return void 0===e&&this.eq(0).data("placeholder-active")&&"value"===t?"":r.apply(this,arguments)})}(jQuery);; !function(){var t={125:function(t,e,n){var r=n(590);function o(){var e,n,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.toStringTag||"@@toStringTag";function u(t,o,i,a){var c=o&&o.prototype instanceof s?o:s,u=Object.create(c.prototype);return r(u,"_invoke",function(t,r,o){var i,a,c,u=0,s=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,a=0,c=e,d.n=n,l}};function p(t,r){for(a=t,c=r,n=0;!f&&u&&!o&&n3?(o=v===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=t<2&&pr||r>v)&&(i[4]=t,i[5]=r,d.n=v,a=0))}if(o||t>1)return l;throw f=!0,r}return function(o,s,v){if(u>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,v),a=s,c=v;(n=a<2?e:c)||!f;){i||(a?a<3?(a>1&&(d.n=-1),p(a,c)):d.n=c:d.v=c);try{if(u=2,i){if(a||(o="next"),n=i[o]){if(!(n=n.call(i,c)))throw TypeError("iterator result is not an object");if(!n.done)return n;c=n.value,a<2&&(a=0)}else 1===a&&(n=i.return)&&n.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((n=(f=d.n<0)?c:t.call(r,d))!==l)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:n,done:f}}}(t,i,a),!0),u}var l={};function s(){}function f(){}function d(){}n=Object.getPrototypeOf;var p=[][a]?n(n([][a]())):(r(n={},a,function(){return this}),n),v=d.prototype=s.prototype=Object.create(p);function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,r(t,c,"GeneratorFunction")),t.prototype=Object.create(v),t}return f.prototype=d,r(v,"constructor",d),r(d,"constructor",f),f.displayName="GeneratorFunction",r(d,c,"GeneratorFunction"),r(v),r(v,c,"Generator"),r(v,a,function(){return this}),r(v,"toString",function(){return"[object Generator]"}),(t.exports=o=function(){return{w:u,m:h}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},192:function(t,e,n){var r=n(541)();t.exports=r;try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},251:function(t,e,n){var r=n(632),o=n(590);t.exports=function t(e,n){function i(t,o,a,c){try{var u=e[t](o),l=u.value;return l instanceof r?n.resolve(l.v).then(function(t){i("next",t,a,c)},function(t){i("throw",t,a,c)}):n.resolve(l).then(function(t){u.value=t,a(u)},function(t){return i("throw",t,a,c)})}catch(t){c(t)}}var a;this.next||(o(t.prototype),o(t.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),o(this,"_invoke",function(t,e,r){function o(){return new n(function(e,n){i(t,r,e,n)})}return a=a?a.then(o,o):o()},!0)},t.exports.__esModule=!0,t.exports.default=t.exports},423:function(t,e,n){var r=n(998).default;t.exports=function(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}throw new TypeError(r(t)+" is not iterable")},t.exports.__esModule=!0,t.exports.default=t.exports},541:function(t,e,n){var r=n(632),o=n(125),i=n(857),a=n(691),c=n(251),u=n(769),l=n(423);function s(){"use strict";var e=o(),n=e.m(s),f=(Object.getPrototypeOf?Object.getPrototypeOf(n):n.__proto__).constructor;function d(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))}var p={throw:1,return:2,break:3,continue:3};function v(t){var e,n;return function(r){e||(e={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(t,e){return n(r.a,p[t],e)},delegateYield:function(t,o,i){return e.resultName=o,n(r.d,l(t),i)},finish:function(t){return n(r.f,t)}},n=function(t,n,o){r.p=e.prev,r.n=e.next;try{return t(n,o)}finally{e.next=r.n}}),e.resultName&&(e[e.resultName]=r.v,e.resultName=void 0),e.sent=r.v,e.next=r.n;try{return t.call(this,e)}finally{r.p=e.prev,r.n=e.next}}}return(t.exports=s=function(){return{wrap:function(t,n,r,o){return e.w(v(t),n,r,o&&o.reverse())},isGeneratorFunction:d,mark:e.m,awrap:function(t,e){return new r(t,e)},AsyncIterator:c,async:function(t,e,n,r,o){return(d(e)?a:i)(v(t),e,n,r,o)},keys:u,values:l}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=s,t.exports.__esModule=!0,t.exports.default=t.exports},590:function(t){function e(n,r,o,i){var a=Object.defineProperty;try{a({},"",{})}catch(n){a=0}t.exports=e=function(t,n,r,o){function i(n,r){e(t,n,function(t){return this._invoke(n,r,t)})}n?a?a(t,n,{value:r,enumerable:!o,configurable:!o,writable:!o}):t[n]=r:(i("next",0),i("throw",1),i("return",2))},t.exports.__esModule=!0,t.exports.default=t.exports,e(n,r,o,i)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},632:function(t){t.exports=function(t,e){this.v=t,this.k=e},t.exports.__esModule=!0,t.exports.default=t.exports},691:function(t,e,n){var r=n(125),o=n(251);t.exports=function(t,e,n,i,a){return new o(r().w(t,e,n,i),a||Promise)},t.exports.__esModule=!0,t.exports.default=t.exports},769:function(t){t.exports=function(t){var e=Object(t),n=[];for(var r in e)n.unshift(r);return function t(){for(;n.length;)if((r=n.pop())in e)return t.value=r,t.done=!1,t;return t.done=!0,t}},t.exports.__esModule=!0,t.exports.default=t.exports},857:function(t,e,n){var r=n(691);t.exports=function(t,e,n,o,i){var a=r(t,e,n,o,i);return a.next().then(function(t){return t.done?t.value:a.next()})},t.exports.__esModule=!0,t.exports.default=t.exports},998:function(t){function e(n){return t.exports=e="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.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){"use strict";var t={};n.r(t),n.d(t,{run:function(){return te},runGroup:function(){return ee}});var e={};n.r(e),n.d(e,{getScroller:function(){return he},lock:function(){return ge},unlock:function(){return me}});var r={};n.r(r),n.d(r,{reInitChildren:function(){return Ze}});var o={};n.r(o),n.d(o,{down:function(){return Be},up:function(){return Je}});var i={};n.r(i),n.d(i,{elVisibleHeight:function(){return nn},elements:function(){return Qe},height:function(){return en},width:function(){return tn}});var a={};n.r(a),n.d(a,{clear:function(){return On},get:function(){return bn},put:function(){return wn},remove:function(){return xn}});var c={};n.r(c),n.d(c,{clear:function(){return _n},get:function(){return An},put:function(){return Sn},remove:function(){return jn}});var u={};n.r(u),n.d(u,{get:function(){return kn},remove:function(){return Tn},set:function(){return En}});var l={};function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n0&&void 0!==arguments[0]?arguments[0]:[],e=[],n=t.length;n--;e.unshift(t[n]));return e}function p(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function v(){return d((arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(function(t){return p(t)})}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){};if(n&&e){if(27===t.keyCode)return e.focus(),void r();if(9===t.keyCode){var o=v(n),i=o[0],a=o[o.length-1];t.shiftKey?document.activeElement===i&&(a.focus(),t.preventDefault()):document.activeElement===a&&(i.focus(),t.preventDefault())}}else console.error("You need to pass a container and trigger node to focusLoop.")}function g(t,e){Object.keys(e).forEach(function(n){return t.setAttribute(n,e[n])})}n.r(l),n.d(l,{addAsyncFilter:function(){return sn},addFilter:function(){return fn},animate:function(){return t},applyBrowserClasses:function(){return pe},arrayDiff:function(){return I},arrayEquals:function(){return C},arrayToInt:function(){return P},aspectRatioToPadding:function(){return L},bodyLock:function(){return e},browsers:function(){return de},capitalizeFirstLetter:function(){return M},checkNotificationPromise:function(){return yn},clipboard:function(){return ye},cloneDeep:function(){return $},consoleError:function(){return j},consoleInfo:function(){return _},consoleLog:function(){return k},consoleWarn:function(){return E},convertElements:function(){return d},cookieStorage:function(){return u},debounce:function(){return rn},deepMerge:function(){return X},delay:function(){return et},delegate:function(){return un},dragHorizontal:function(){return be},escapeHtml:function(){return nt},escapeScripts:function(){return rt},filter:function(){return ln},filterObject:function(){return K},findNestedObject:function(){return Q},fnvHash:function(){return ct},focusLoop:function(){return h},formatFileSize:function(){return tt},getAttachmentImageUrl:function(){return ot},getChildren:function(){return xe},getClosest:function(){return Oe},getConfig:function(){return it},getCoords:function(){return Se},getFocusable:function(){return v},getHiddenHeight:function(){return Ae},getNode:function(){return _e},getNodes:function(){return je},getValidLocale:function(){return at},hasClassFromArray:function(){return ke},hasScrollbar:function(){return Ee},insertAfter:function(){return Te},insertBefore:function(){return ze},isEmptyObject:function(){return ut},isEqual:function(){return st},isExternalLink:function(){return Ie},isFileLink:function(){return Ce},isFormDirty:function(){return Pe},isFunction:function(){return U},isImageLink:function(){return Le},isJestTest:function(){return A},isJson:function(){return ft},isNumber:function(){return dt},isObject:function(){return z},isRtl:function(){return Me},localStorage:function(){return a},matchesOrContainedInSelectors:function(){return Fe},mimicFn:function(){return _t},normalizeUrl:function(){return kt},objectAssign:function(){return Et},objectToAttributes:function(){return $t},objectToFormData:function(){return Tt},openNewTab:function(){return Re},parseSocial:function(){return Lt},parseUrl:function(){return Mt},popup:function(){return Ne},queryToJson:function(){return qt},ready:function(){return pn},removeClassThatContains:function(){return $e},removeFilter:function(){return dn},resize:function(){return vn},runOnce:function(){return mn},saferHtml:function(){return Ft},sanitizeLocale:function(){return Rt},sessionStorage:function(){return c},setAttributes:function(){return g},shouldLoadChunk:function(){return De},simpleBar:function(){return r},slide:function(){return o},slugify:function(){return Nt},spacerClasses:function(){return Ke},speak:function(){return S},sprintf:function(){return Zt},trigger:function(){return we},uncapitalizeFirstLetter:function(){return Vt},uniqueId:function(){return Wt},updateQueryVar:function(){return Bt},viewport:function(){return i},visible:function(){return p},vsprintf:function(){return Ht},wait:function(){return Qt}});var m={containers:[]},y={previousMessage:""},w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",e=document.createElement("div");g(e,{"aria-live":t,"aria-relevant":"additions text","aria-atomic":"true",style:"position: absolute; margin: -1px; padding: 0; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%); clip-path: inset(50%); border: 0; word-wrap: normal !important;"}),document.body.appendChild(e),m.containers.push(e)},b=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/<[^<>]+>/g," ");return y.previousMessage===t&&(t+=" "),y.previousMessage=t,t},x=function(){return m.containers.forEach(function(t){return t.textContent=""})},O=function(){m.containers.length||(w("assertive"),w("polite"))};function S(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";O(),x();var n=m.containers.filter(function(t){return t.getAttribute("aria-live")===e})[0];n&&(n.textContent=b(t))}function A(){return!!window.__TEST__}function j(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";window.console&&!A()&&console.error(t)}function _(){}function k(){}function E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";window.console&&!A()&&console.warn(t)}function T(t){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(t)}function z(t){return!(!t||"object"!==T(t)||Array.isArray(t))}var I=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=function(t){if(null!==n){if("function"==typeof n)return n(t);if(z(t))return t[n]}return t},o=new Set(t.map(r)),i=new Set(e.map(r));return{added:e.filter(function(t){return!o.has(r(t))}),removed:t.filter(function(t){return!i.has(r(t))})}};function C(t,e){return Array.isArray(t)&&Array.isArray(e)&&t.length===e.length&&t.every(function(t,n){return t===e[n]})}var P=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(function(t){return parseInt(t,10)})};function L(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(":");return parseFloat((t[1]/t[0]*100).toFixed(5))}var M=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";return t?t.charAt(0).toLocaleUpperCase(e)+t.slice(1):t};function F(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return R(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function R(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(null===t||"object"!==T(t))return t;if(e.has(t))return e.get(t);if(t instanceof Date)return new Date(t);if(Array.isArray(t)){var n=[];e.set(t,n);for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:{};n.arrayMerge=function(t){var e=V;return"combine"===t.arrayMerge?e=W:U(t.arrayMerge)&&(e=t.arrayMerge),e}(n),n.isMergeableObject=n.isMergeableObject||H,n.cloneUnlessOtherwiseSpecified=q;var r=Array.isArray(e);return r===Array.isArray(t)?r?n.arrayMerge(t,e,n):G(t,e,n):q(e,n)}Y.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,n){return Y(t,n,e)},{})};var X=Y,K=function(t,e){var n=Object.entries(t).filter(e);return Object.fromEntries(n)};function Q(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=function(t){if("object"===T(t))for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){if(o===e&&t[o]===n)return t;var i=r(t[o]);if(i)return i}return null};return r(t)}function tt(t){return t<1024?"".concat(t," Bytes"):t<1048576?"".concat((t/1024).toFixed(1)," KB"):t<1073741824?"".concat((t/1048576).toFixed(1)," MB"):"".concat((t/1073741824).toFixed(1)," GB")}function et(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,o=[];function i(t,n){e=window.setTimeout(function(){if(e=null,t(),o.length){var n=o.shift();i(n.fn,n.t)}},n)}return t={delay:function(n,r){return o.length||e?o.push({fn:n,t:r}):i(n,r),t},cancel:function(){return window.clearTimeout(e),o=[],t}},t.delay(n,r)}function nt(){return String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function rt(){return String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/)<[^<]*)*<\/script>/gi,"")}var ot=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"full";if(!t||"object"!==T(t))return console.warn("Invalid attachment object provided"),"";var r=e||n;return t.sizes&&t.sizes[r]&&t.sizes[r].url?t.sizes[r].url:r!==n&&t.sizes&&t.sizes[n]&&t.sizes[n].url?t.sizes[n].url:t.url||""};function it(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e&&t[e]?t[e]:t}var at=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";try{if(!t)throw new Error("Locale not provided");var n=new Intl.Locale(t),r=new Intl.DateTimeFormat(t).resolvedOptions().locale;if(new Intl.Locale(r).language!==n.language)throw new Error("Unsupported locale: ".concat(t));return r}catch(n){return console.warn("The locale ".concat(t," is invalid or unsupported, falling back to ").concat(e,".")),e}},ct=function(t){for(var e=String(t),n=14695981039346656037n,r=0;r=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function gt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n2&&void 0!==arguments[2]?arguments[2]:{}).ignoreNonConfigurable,o=void 0!==r&&r,i=t.name,a=ht(Reflect.ownKeys(e));try{for(a.s();!(n=a.n()).done;){var c=n.value;wt(t,e,c,o)}}catch(t){a.e(t)}finally{a.f()}return xt(t,e),jt(t,e,i),t}function kt(t){if(!t)return"";var e=t.trim();return""===e?"":/^https?:\/\//i.test(e)?e:e.startsWith("//")?"https:".concat(e):"https://".concat(e)}function Et(){for(var t={},e=0;e=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function It(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={url:"",identifier:"",platform:"",valid:!1};if(!t||"string"!=typeof t)return n;var r=t.trim();if(!r)return n;var o,i=e?e.toLowerCase():"",a=zt(Pt);try{for(a.s();!(o=a.n()).done;){var c,u=o.value,l=Ct[u],s=zt(l.urlRegexes);try{for(s.s();!(c=s.n()).done;){var f=c.value,d=r.match(f);if(d&&d[1]){var p=d[1];return n.identifier=l.normalizeIdentifier(p),l.finalizeIdentifier&&(n.identifier=l.finalizeIdentifier(n.identifier,!1)),n.url=l.urlTemplate(n.identifier,r),n.platform=u,n.valid=!0,n}}}catch(t){s.e(t)}finally{s.f()}}}catch(t){a.e(t)}finally{a.f()}if(i&&Pt.includes(i)){var v=Ct[i],h=v.normalizeIdentifier(r);if(v.handleValidationRegex&&v.handleValidationRegex.test(h))return n.identifier=h,v.finalizeIdentifier&&(n.identifier=v.finalizeIdentifier(n.identifier,!0)),n.url=v.urlTemplate(n.identifier,null),n.platform=i,n.valid=!0,n}return n}function Mt(t,e){for(var n,r=["source","scheme","authority","userInfo","user","pass","host","port","relative","path","directory","file","query","fragment"],o={},i=o["phpjs.parse_url.mode"]&&o["phpjs.parse_url.mode"].local_value||"php",a={php:/^(?:([^:\/?#]+):)?(?:\/\/()(?:(?:()(?:([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?()(?:(()(?:(?:[^?#\/]*\/)*)()(?:[^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/\/?)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/},c=a[i].exec(t),u={},l=14;l--;)c[l]&&(u[r[l]]=c[l]);return e?u[e.replace("PHP_URL_","").toLowerCase()]:("php"!==i&&(n=o["phpjs.parse_url.queryKey"]&&o["phpjs.parse_url.queryKey"].local_value||"queryKey",a=/(?:^|&)([^&=]*)=?([^&]*)/g,u[n]={},(u[r[12]]||"").replace(a,function(t,e,r){e&&(u[n][e]=r)})),u.source=null,u)}function Ft(t){for(var e=t[0],n=1;n/g,">").replace(/"/g,""").replace(/'/g,"'"),e+=t[n]}return e}var Rt=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/_/g,"-")};function Nt(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString().normalize("NFKD").toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/-$/g,"")}function $t(t){var e=[];return Object.entries(t).forEach(function(t){var n=f(t,2),r=n[0],o=n[1];if(o.length||"alt"===r)if(Array.isArray(o)){var i=o.filter(function(t){return t});e.push("".concat(r,'="').concat(i.join(" "),'"'))}else e.push("".concat(r,'="').concat(o,'"'))}),e.join(" ")}var Dt={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function Zt(t){return function(t,e){var n,r,o,i,a,c,u,l,s,f=1,d=t.length,p="";for(r=0;r=0),i.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,i.width?parseInt(i.width):0);break;case"e":n=i.precision?parseFloat(n).toExponential(i.precision):parseFloat(n).toExponential();break;case"f":n=i.precision?parseFloat(n).toFixed(i.precision):parseFloat(n);break;case"g":n=i.precision?String(Number(n.toPrecision(i.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=i.precision?n.substring(0,i.precision):n;break;case"t":n=String(!!n),n=i.precision?n.substring(0,i.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=i.precision?n.substring(0,i.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=i.precision?n.substring(0,i.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}Dt.json.test(i.type)?p+=n:(!Dt.number.test(i.type)||l&&!i.sign?s="":(s=l?"+":"-",n=n.toString().replace(Dt.sign,"")),c=i.pad_char?"0"===i.pad_char?"0":i.pad_char.charAt(1):" ",u=i.width-(s+n).length,a=i.width&&u>0?c.repeat(u):"",p+=i.align?s+n+a:"0"===c?s+a+n:a+s+n)}return p}(function(t){if(Ut[t])return Ut[t];var e,n=t,r=[],o=0;for(;n;){if(null!==(e=Dt.text.exec(n)))r.push(e[0]);else if(null!==(e=Dt.modulo.exec(n)))r.push("%");else{if(null===(e=Dt.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(e[2]){o|=1;var i=[],a=e[2],c=[];if(null===(c=Dt.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(i.push(c[1]);""!==(a=a.substring(c[0].length));)if(null!==(c=Dt.key_access.exec(a)))i.push(c[1]);else{if(null===(c=Dt.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");i.push(c[1])}e[2]=i}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:e[0],param_no:e[1],keys:e[2],sign:e[3],pad_char:e[4],align:e[5],width:e[6],precision:e[7],type:e[8]})}n=n.substring(e[0].length)}return Ut[t]=r}(t),arguments)}function Ht(t,e){return Zt.apply(null,[t].concat(e||[]))}var Ut=Object.create(null);var qt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.length?t:window.location.search.slice(1),n=e.length?e.split("&"):[],r={},o=[];return n.forEach(function(t){o=t.split("="),r[o[0]]=decodeURIComponent(o[1]||"")}),JSON.parse(JSON.stringify(r))},Vt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";return t?t.charAt(0).toLocaleLowerCase(e)+t.slice(1):t};function Wt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id";return"".concat(t.length?"".concat(t,"-"):"").concat(Math.random().toString(36).substr(2,9))}function Bt(t,e){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.location.href).split("#"),r=n[1]?"#".concat(n[1]):"",o=n[0].split("?"),i=o[0],a=o[1],c=void 0!==a?a.split("&"):[],u=!1;return c.forEach(function(n,r){n.startsWith("".concat(t,"="))&&(u=!0,e?c[r]="".concat(t,"=").concat(e):c.splice(r,1))}),!u&&e&&(c[c.length]="".concat(t,"=").concat(e)),"".concat(i).concat("?").concat(c.join("&")).concat(r)}function Jt(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}function Gt(t){return function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(t){Jt(i,r,o,a,c,"next",t)}function c(t){Jt(i,r,o,a,c,"throw",t)}a(void 0)})}}var Yt=n(192),Xt=n.n(Yt),Kt=function(){var t=Gt(Xt().mark(function t(){var e,n=arguments;return Xt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:0,t.abrupt("return",new Promise(function(t){return setTimeout(t,e)}));case 2:case"end":return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}(),Qt=Kt,te=function(){var t,e,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r){var i=o.onAnimateInit,a=void 0===i?function(){}:i,c=o.onAnimateStart,u=void 0===c?function(){}:c,l=o.onAnimateEnd,s=void 0===l?function(){}:l,f=o.delay,d=void 0===f?(null===(t=r.dataset)||void 0===t?void 0:t.animationDelay)||0:f,p=o.duration,v=void 0===p?(null===(e=r.dataset)||void 0===e?void 0:e.animationDuration)||400:p,h=o.easing,g=void 0===h?(null===(n=r.dataset)||void 0===n?void 0:n.animationEasing)||"linear":h,m=function(t,e){var n,r,o,i,a,c={},u={},l=e.distanceFrom,s=void 0===l?(null===(n=t.dataset)||void 0===n?void 0:n.translateDistanceFrom)||"20px":l,f=e.distanceTo,d=void 0===f?(null===(r=t.dataset)||void 0===r?void 0:r.translateDistanceTo)||"0px":f,p=e.opacityFrom,v=void 0===p?null===(o=t.dataset)||void 0===o?void 0:o.translateOpacityFrom:p,h=e.opacityTo,g=void 0===h?null===(i=t.dataset)||void 0===i?void 0:i.translateOpacityTo:h,m=e.types;return(void 0===m?(null===(a=t.dataset)||void 0===a?void 0:a.animationTypes)||"":m).split(" ").forEach(function(t){"fadeIn"===t&&(c.opacity=v||0,u.opacity=g||1),"fadeOut"===t&&(c.opacity=v||1,u.opacity=g||0),"translateY"===t&&(c.transform="translateY(".concat(s,")"),u.transform="translateY(".concat(d,")"))}),[c,u]}(r,o);a(),setTimeout(function(){u(),requestAnimationFrame(function(){r.animate(m,{duration:Number(v),easing:g}).onfinish=function(){!function(t,e){var n,r,o,i=e.distanceTo,a=void 0===i?(null===(n=t.dataset)||void 0===n?void 0:n.translateDistanceTo)||"0px":i,c=e.opacityTo,u=void 0===c?null===(r=t.dataset)||void 0===r?void 0:r.translateOpacityTo:c,l=e.types;(void 0===l?(null===(o=t.dataset)||void 0===o?void 0:o.animationTypes)||"":l).split(" ").forEach(function(e){"fadeIn"===e&&(t.style.opacity=u||"1",t.setAttribute("aria-hidden","false")),"fadeOut"===e&&(t.style.opacity=u||"0",t.setAttribute("aria-hidden","true")),"translateY"===e&&(t.style.transform="translateY(".concat(a,")"))})}(r,o),s()}})},d)}},ee=function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach(function(t){var e=t.target,n=t.options;te(e,n)})},ne=/(android)/i.test(window.navigator.userAgent),re=!!window.chrome,oe="undefined"!=typeof InstallTrigger,ie=document.documentMode||!1,ae=!ie&&!!window.StyleMedia,ce=!!window.navigator.userAgent.match(/(iPod|iPhone|iPad)/i),ue=!!window.navigator.userAgent.match(/(iPod|iPhone)/i),le=!!window.opera||window.navigator.userAgent.indexOf(" OPR/")>=0,se=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||!re&&!le&&"undefined"!==window.webkitAudioContext,fe=window.navigator.platform;function de(){return{android:ne,chrome:re,edge:ae,firefox:oe,ie:ie,ios:ce,iosMobile:ue,opera:le,safari:se,os:fe}}function pe(){var t=de(),e=document.body.classList;t.android?e.add("device-android"):t.ios&&e.add("device-ios"),t.edge?e.add("browser-edge"):t.chrome?e.add("browser-chrome"):t.firefox?e.add("browser-firefox"):t.ie?e.add("browser-ie"):t.opera?e.add("browser-opera"):t.safari&&e.add("browser-safari")}var ve=0,he=function(){var t=de();return t.ie||t.firefox||t.chrome&&!t.edge?document.documentElement:document.body},ge=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=he(),n=document.body.style;ve=e.scrollTop,n.overflowY="scroll",n.position="fixed",n.width="100%",t&&(n.marginTop="-".concat(ve,"px"))},me=function(){var t=he(),e=document.body.style;e.overflowY="",e.position="static",e.marginTop="0px",e.width="",t.scrollTop=ve};function ye(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(window.clipboardData&&window.clipboardData.setData)return window.clipboardData.setData("Text",t);if(document.queryCommandSupported&&document.queryCommandSupported("copy")){var e=document.createElement("textarea");e.textContent=t,e.style.position="fixed",document.body.appendChild(e),e.select();try{return document.execCommand("copy")}catch(t){return E("Copy to clipboard failed.",t),!1}finally{document.body.removeChild(e)}}}function we(){var t,e=Et({data:{},el:document,event:"",native:!0},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});if(e.native)(t=document.createEvent("HTMLEvents")).initEvent(e.event,!0,!1);else try{t=new window.CustomEvent(e.event,{detail:e.data})}catch(n){(t=document.createEvent("CustomEvent")).initCustomEvent(e.event,!0,!0,e.data)}e.el.dispatchEvent(t)}function be(t){var e={isDown:!1,moveEventTriggered:!1,startX:0,scrollLeft:0};t.addEventListener("mousedown",function(n){e.isDown=!0,t.classList.add("drag-horizontal--active"),e.startX=n.pageX-t.offsetLeft,e.scrollLeft=t.scrollLeft}),t.addEventListener("mouseleave",function(){e.isDown=!1,t.classList.remove("drag-horizontal--active")}),t.addEventListener("mouseup",function(){e.isDown=!1,t.classList.remove("drag-horizontal--active"),we({event:"gform-utils/horizontal-drag-ended",native:!1}),e.moveEventTriggered=!1}),t.addEventListener("mousemove",function(n){if(e.isDown){n.preventDefault();var r=3*(n.pageX-t.offsetLeft-e.startX);t.scrollLeft=e.scrollLeft-r,e.moveEventTriggered||(we({event:"gform-utils/horizontal-drag-started",native:!1}),e.moveEventTriggered=!0)}})}function xe(t){for(var e=[],n=t.children.length;n--;)8!==t.children[n].nodeType&&e.unshift(t.children[n]);return e}function Oe(t,e){var n,r;for(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].some(function(t){return"function"==typeof document.body[t]&&(n=t,!0)});t;){if((r=t.parentElement)&&r[n](e))return r;t=r}return null}function Se(t){var e=t.getBoundingClientRect(),n=document.body,r=document.documentElement,o=window.pageYOffset||r.scrollTop||n.scrollTop,i=window.pageXOffset||r.scrollLeft||n.scrollLeft,a=r.clientTop||n.clientTop||0,c=r.clientLeft||n.clientLeft||0,u=e.top+o-a,l=e.left+i-c;return{top:Math.round(u),left:Math.round(l),bottom:Math.round(e.bottom)}}function Ae(t){var e=t.clientWidth,n=t;n.style.visibility="hidden",n.style.height="auto",n.style.maxHeight="none",n.style.position="fixed",n.style.width="".concat(e,"px");var r=n.offsetHeight;return n.style.visibility="",n.style.height="",n.style.maxHeight="",n.style.width="",n.style.position="",n.style.zIndex="",r}function je(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3]?t:'[data-js="'.concat(t,'"]'),o=n.querySelectorAll(r);return e&&(o=d(o)),o}function _e(){var t=je(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",!1,arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,arguments.length>2&&void 0!==arguments[2]&&arguments[2]);return t.length>0?t[0]:null}function ke(t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some(function(r){return t.classList.contains("".concat(e).concat(r).concat(n))})}function Ee(t){return{vertical:t.scrollHeight>t.clientHeight,horizontal:t.scrollWidth>t.clientWidth}}function Te(t,e){e.parentNode.insertBefore(t,e.nextElementSibling)}function ze(t,e){e.parentNode.insertBefore(t,e)}function Ie(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").match(/^([^:/?#]+:)?(?:\/\/([^/?#]*))?([^?#]+)?(\?[^#]*)?(#.*)?/);return"string"==typeof t[1]&&t[1].length>0&&t[1].toLowerCase()!==window.location.protocol||"string"==typeof t[2]&&t[2].length>0&&t[2].replace(new RegExp(":(".concat({"http:":80,"https:":443}[window.location.protocol],")?$")),"")!==window.location.host}function Ce(){return-1!==(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("/").pop().indexOf(".")}function Pe(){var t;if(!window.gforms_original_json||!window.UpdateFormObject)return!1;window.UpdateFormObject();var e="1"===(null===(t=window)||void 0===t||null===(t=t.gf_legacy)||void 0===t?void 0:t.is_legacy),n=JSON.parse(JSON.stringify(JSON.parse(window.gforms_original_json))),r=JSON.parse(JSON.stringify(window.form));return e&&(n.fields.forEach(function(t,e){delete n.fields[e].layoutGroupId}),r.fields.forEach(function(t,e){delete r.fields[e].layoutGroupId})),JSON.stringify(n)!==JSON.stringify(r)}function Le(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(".").pop().toLowerCase().match(/(jpg|jpeg|png|gif|svg)/g);return t&&t.length>0||!1}function Me(){var t=document.createElement("div");document.body.appendChild(t);var e="rtl"===window.getComputedStyle(t,null).getPropertyValue("direction");return document.body.removeChild(t),e}function Fe(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"",e=document.createElement("a");e.href=t,e.target="_blank",document.body.appendChild(e),e.click(),e.remove()}function Ne(){var t=Et({event:null,url:"",center:!0,name:"_blank",specs:{menubar:0,scrollbars:0,status:1,titlebar:1,toolbar:0,top:100,left:100,width:500,height:300}},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});if(t.event&&(t.event.preventDefault(),t.url.length||(t.url=t.event.currentTarget.href)),t.url.length){t.center&&(t.specs.top=window.screen.height/2-t.specs.height/2,t.specs.left=window.screen.width/2-t.specs.width/2);var e=[];Object.entries(t.specs).forEach(function(t){var n=f(t,2),r=n[0],o=n[1],i="".concat(r,"=").concat(o);e.push(i)}),window.open(t.url,t.name,e.join())}}function $e(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n0&&void 0!==arguments[0]?arguments[0]:"";return document.querySelectorAll("[data-load-chunk-".concat(t,"]")).length>0}var Ze=function(t){var e,n=(null===(e=window)||void 0===e?void 0:e.SimpleBar)||{};n.instances&&t&&je("[data-simplebar]",!0,t,!0).forEach(function(t){var e;return null!==(e=n.instances.get(t))&&void 0!==e?e:new n(t)})},He=25,Ue=[],qe=function(t){return t<.2074?-3.8716*t*t*t+6.137*t*t+.4*t:1.1317*(t-1)*(t-1)*(t-1)-.1975*(t-1)*(t-1)+1},Ve=function(t){Ue[t]||(Ue[t]={up:null,down:null})},We=function(t){Ue[t].up&&(window.cancelAnimationFrame(Ue[t].up),Ue[t].up=null),Ue[t].down&&(window.cancelAnimationFrame(Ue[t].down),Ue[t].down=null)},Be=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:400,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=t.offsetHeight,i=Ae(t),a=null;t.style.maxHeight="0",Ve(e),We(e);var c=function(u){a||(a=u);var l=u-a,s=qe(l/n)*(i-o)+o;t.style.maxHeight="".concat(s,"px"),l2&&void 0!==arguments[2]?arguments[2]:400,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=t.offsetHeight,i=null;t.style.maxHeight="".concat(o,"px"),Ve(e),We(e);var a=function(c){i||(i=c);var u=c-i,l=qe(u/n)*(0-o)+o;t.style.maxHeight="".concat(l,"px"),u1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"gform-spacing",r={};return!t||"string"!=typeof t&&"number"!=typeof t&&!Array.isArray(t)||Array.isArray(t)&&!t.length?r:"string"==typeof t||"number"==typeof t?(r["".concat(n,"--").concat(e,"bottom-").concat(t)]=!0,r):1===t.length?(["top","right","bottom","left"].forEach(function(o){r["".concat(n,"--").concat(e).concat(o,"-").concat(t[0])]=!0}),r):2===t.length?(["top","bottom"].forEach(function(o){r["".concat(n,"--").concat(e).concat(o,"-").concat(t[0])]=!0}),["right","left"].forEach(function(o){r["".concat(n,"--").concat(e).concat(o,"-").concat(t[1])]=!0}),r):3===t.length?(r["".concat(n,"--").concat(e,"top-").concat(t[0])]=!0,["right","left"].forEach(function(o){r["".concat(n,"--").concat(e).concat(o,"-").concat(t[1])]=!0}),r["gform-spacing--".concat(e,"bottom-").concat(t[2])]=!0,r):4===t.length?(r["".concat(n,"--").concat(e,"top-").concat(t[0])]=!0,r["".concat(n,"--").concat(e,"right-").concat(t[1])]=!0,r["".concat(n,"--").concat(e,"bottom-").concat(t[2])]=!0,r["".concat(n,"--").concat(e,"left-").concat(t[3])]=!0,r):r};function Ke(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"gform-spacing",n={};return!t||"string"!=typeof t&&"number"!=typeof t&&!Array.isArray(t)&&("object"!==T(t)||Array.isArray(t))||Array.isArray(t)&&!t.length?n:(n[e]=!0,"string"==typeof t||"number"==typeof t||Array.isArray(t)?Ye(Ye({},n),Xe(t,"",e)):["","md","lg"].reduce(function(n,r){return Object.prototype.hasOwnProperty.call(t,r)?Ye(Ye({},n),Xe(t[r],r?"".concat(r,"-"):"",e)):n},n))}var Qe=function(){var t="undefined"!=typeof window&&window,e="undefined"!=typeof document&&document;return{docElem:e&&e.documentElement,win:t}},tn=function(){var t=Qe(),e=t.docElem,n=t.win,r=e.clientWidth,o=n.innerWidth;return r0?Math.min(e,n-i):Math.min(o,n))};function rn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("function"!=typeof t)throw new TypeError("Expected the first argument to be a function, got `".concat(T(t),"`"));var n,r,o,i=e.wait,a=void 0===i?0:i,c=e.maxWait,u=void 0===c?Number.Infinity:c,l=e.before,s=void 0!==l&&l,f=e.after,d=void 0===f||f;if(!s&&!d)throw new Error("Both `before` and `after` are false, function wouldn't be called.");var p=function(){for(var e=arguments.length,i=new Array(e),c=0;c0&&u!==Number.Infinity&&!r&&(r=setTimeout(function(){r=void 0,n&&(clearTimeout(n),n=void 0),d&&(o=t.apply(l,i))},u)),f&&(o=t.apply(l,i)),o};return _t(p,t),p.cancel=function(){n&&(clearTimeout(n),n=void 0),r&&(clearTimeout(r),r=void 0)},p}if("undefined"!=typeof Element&&!Element.prototype.matches){var on=Element.prototype;on.matches=on.matchesSelector||on.mozMatchesSelector||on.msMatchesSelector||on.oMatchesSelector||on.webkitMatchesSelector}function an(t,e,n,r,o){var i=cn.apply(this,arguments);return t.addEventListener(n,i,o),{destroy:function(){t.removeEventListener(n,i,o)}}}function cn(t,e,n,r){return function(n){n.delegateTarget=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}(n.target,e),n.delegateTarget&&r.call(t,n)}}var un=function(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return"function"==typeof t.addEventListener?an.apply(null,arguments):"function"==typeof n?an.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return an(t,e,n,r,o)}))};window.gform=window.gform||{},window.gform.instances=window.gform.instances||{},window.gform.instances.filters=window.gform.instances.filters||{};var ln=function(){var t=Gt(Xt().mark(function t(){var e,n,r,o,i,a,c=arguments;return Xt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=c.length>0&&void 0!==c[0]?c[0]:{},n=window.gform.instances.filters,r=Et({data:{},event:""},e),void 0===n[r.event]){t.next=19;break}(o=n[r.event]).sort(function(t,e){return t.priority-e.priority}),i=0;case 7:if(!(i2&&void 0!==arguments[2]?arguments[2]:10,!0)},fn=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=window.gform.instances.filters;void 0===o[t]&&(o[t]=[]);var i=t+"_"+o[t].length;o[t].push({tag:i,callable:e,priority:n,isAsync:r})},dn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=window.gform.instances.filters;if(void 0!==r[t])for(var o=r[t],i=o.length-1;i>=0;i--)null!==n&&n!==o[i].tag||null!==e&&parseInt(o[i].priority)!==parseInt(e)||o.splice(i,1)};function pn(t){"loading"!==document.readyState?t():document.addEventListener?document.addEventListener("DOMContentLoaded",t):document.attachEvent("onreadystatechange",function(){"loading"!==document.readyState&&t()})}function vn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;!(arguments.length>2&&void 0!==arguments[2])||arguments[2]?window.addEventListener("resize",rn(t,{wait:e})):window.removeEventListener("resize",rn(t,{wait:e}))}var hn={},gn=function(t){for(var e=String(t),n=0,r=0,o=e.length;r0&&void 0!==arguments[0]?arguments[0]:"",e=document.cookie.split(";"),n=0;n0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o="",i=e;if(n&&!isNaN(Number(n))){var a=new Date;a.setTime(a.getTime()+24*Number(n)*60*60*1e3),o=" expires="+a.toUTCString()}if(r){var c=kn(t);i=""!==c&&null!==c?c+","+e:e}document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(i)+";"+o},Tn=function(t){En(t,"",-1)};!function(){var t=window.gformComponentNamespace||"gform";window[t]=window[t]||{},window[t].utils=window[t].utils||{};var e=window[t].utils;Object.entries(l).forEach(function(t){var n=f(t,2),r=n[0],o=n[1];e[r]=o})}()}()}();; "use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[721],{17:function(t){t.exports=function(t,n){return{value:t,done:n}}},23:function(t,n,r){var e=r(9329),o=r(5376),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},78:function(t,n,r){var e=r(6733),o=r(8389),i=r(962),u=TypeError;t.exports=function(t,n){var r,c;if("string"===n&&o(r=t.toString)&&!i(c=e(r,t)))return c;if(o(r=t.valueOf)&&!i(c=e(r,t)))return c;if("string"!==n&&o(r=t.toString)&&!i(c=e(r,t)))return c;throw new u("Can't convert object to primitive value")}},79:function(t,n,r){var e=r(9617).f,o=r(6401),i=r(8979)("toStringTag");t.exports=function(t,n,r){t&&!r&&(t=t.prototype),t&&!o(t,i)&&e(t,i,{configurable:!0,value:n})}},213:function(t,n){n.f=Object.getOwnPropertySymbols},220:function(t,n,r){r.d(n,{A:function(){return o}});var e=r(2888);function o(t){var n=function(t,n){if("object"!=(0,e.A)(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,n||"default");if("object"!=(0,e.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==(0,e.A)(n)?n:n+""}},237:function(t){t.exports={}},394:function(t,n,r){var e=r(2697).IteratorPrototype,o=r(8584),i=r(8612),u=r(79),c=r(237),a=function(){return this};t.exports=function(t,n,r,f){var s=n+" Iterator";return t.prototype=o(e,{next:i(+!f,r)}),u(t,s,!1,!0),c[s]=a,t}},446:function(t,n,r){var e=r(9227),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},455:function(t,n,r){function e(t,n,r,e,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void r(t)}c.done?n(a):Promise.resolve(a).then(e,o)}function o(t){return function(){var n=this,r=arguments;return new Promise(function(o,i){var u=t.apply(n,r);function c(t){e(u,o,i,c,a,"next",t)}function a(t){e(u,o,i,c,a,"throw",t)}c(void 0)})}}r.d(n,{A:function(){return o}})},469:function(t){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?r:n)(e)}},527:function(t,n,r){r.d(n,{A:function(){return o}});var e=r(220);function o(t,n,r){return(n=(0,e.A)(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}},565:function(t,n,r){var e=r(7383),o=r(8389),i=r(4937),u=r(4272),c=Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var n=e("Symbol");return o(n)&&i(n.prototype,c(t))}},798:function(t,n,r){var e=r(4411),o=r(8389),i=e.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},877:function(t,n,r){var e=r(4411),o=r(3817),i="__core-js_shared__",u=e[i]||o(i,{});t.exports=u},962:function(t,n,r){var e=r(8389),o=r(5387),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:e(t)||t===i}:function(t){return"object"==typeof t?null!==t:e(t)}},1154:function(t,n,r){var e=r(5920),o=r(5514);t.exports=function(t,n,r){try{return e(o(Object.getOwnPropertyDescriptor(t,n)[r]))}catch(t){}}},1381:function(t,n,r){function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=Array(n);rs;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},1461:function(t,n,r){var e=r(8979),o=r(8584),i=r(9617).f,u=e("unscopables"),c=Array.prototype;void 0===c[u]&&i(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},1575:function(t,n,r){var e=r(7383),o=r(5920),i=r(8560),u=r(213),c=r(5735),a=o([].concat);t.exports=e("Reflect","ownKeys")||function(t){var n=i.f(c(t)),r=u.f;return r?a(n,r(t)):n}},1789:function(t,n,r){var e,o,i,u=r(798),c=r(4411),a=r(962),f=r(9915),s=r(6401),p=r(877),l=r(23),v=r(7285),y="Object already initialized",b=c.TypeError,m=c.WeakMap;if(u||p.state){var h=p.state||(p.state=new m);h.get=h.get,h.has=h.has,h.set=h.set,e=function(t,n){if(h.has(t))throw new b(y);return n.facade=t,h.set(t,n),n},o=function(t){return h.get(t)||{}},i=function(t){return h.has(t)}}else{var d=l("state");v[d]=!0,e=function(t,n){if(s(t,d))throw new b(y);return n.facade=t,f(t,d,n),n},o=function(t){return s(t,d)?t[d]:{}},i=function(t){return s(t,d)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!a(n)||(r=o(n)).type!==t)throw new b("Incompatible receiver, "+t+" required");return r}}}},1814:function(t,n,r){var e=r(3237),o=TypeError;t.exports=function(t){if(e(t))throw new o("Can't call method on "+t);return t}},1873:function(t,n,r){function e(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}r.d(n,{A:function(){return e}})},2103:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2170:function(t,n,r){var e=r(9227),o=Math.max,i=Math.min;t.exports=function(t,n){var r=e(t);return r<0?o(r+n,0):i(r,n)}},2411:function(t){t.exports=!1},2697:function(t,n,r){var e,o,i,u=r(9391),c=r(8389),a=r(962),f=r(8584),s=r(6371),p=r(7448),l=r(8979),v=r(2411),y=l("iterator"),b=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(e=o):b=!0),!a(e)||u(function(){var t={};return e[y].call(t)!==t})?e={}:v&&(e=f(e)),c(e[y])||p(e,y,function(){return this}),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:b}},2888:function(t,n,r){function e(t){return e="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},e(t)}r.d(n,{A:function(){return e}})},2943:function(t,n,r){var e=r(5920),o=r(9391),i=r(4512),u=Object,c=e("".split);t.exports=o(function(){return!u("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?c(t,""):u(t)}:u},3036:function(t,n,r){var e=r(6401),o=r(1575),i=r(3763),u=r(9617);t.exports=function(t,n,r){for(var c=o(n),a=u.f,f=i.f,s=0;sf;)o(e,r=n[f++])&&(~u(s,r)||a(s,r));return s}},3763:function(t,n,r){var e=r(7084),o=r(6733),i=r(4373),u=r(8612),c=r(6805),a=r(8745),f=r(6401),s=r(8669),p=Object.getOwnPropertyDescriptor;n.f=e?p:function(t,n){if(t=c(t),n=a(n),s)try{return p(t,n)}catch(t){}if(f(t,n))return u(!o(i.f,t,n),t[n])}},3809:function(t,n,r){var e=r(7084),o=r(4542),i=r(9617),u=r(5735),c=r(6805),a=r(8784);n.f=e&&!o?Object.defineProperties:function(t,n){u(t);for(var r,e=c(n),o=a(n),f=o.length,s=0;f>s;)i.f(t,r=o[s++],e[r]);return t}},3817:function(t,n,r){var e=r(4411),o=Object.defineProperty;t.exports=function(t,n){try{o(e,t,{value:n,configurable:!0,writable:!0})}catch(r){e[t]=n}return n}},3948:function(t,n,r){r.d(n,{A:function(){return o}});var e=r(1381);function o(t,n){if(t){if("string"==typeof t)return(0,e.A)(t,n);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,e.A)(t,n):void 0}}},4156:function(t,n,r){var e=r(9391),o=r(8389),i=/#|\.prototype\./,u=function(t,n){var r=a[c(t)];return r===s||r!==f&&(o(n)?e(n):!!n)},c=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=u.data={},f=u.NATIVE="N",s=u.POLYFILL="P";t.exports=u},4272:function(t,n,r){var e=r(5007);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4373:function(t,n){var r={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,o=e&&!r.call({1:2},1);n.f=o?function(t){var n=e(this,t);return!!n&&n.enumerable}:r},4411:function(t,n,r){var e=function(t){return t&&t.Math===Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof r.g&&r.g)||e("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4512:function(t,n,r){var e=r(5920),o=e({}.toString),i=e("".slice);t.exports=function(t){return i(o(t),8,-1)}},4542:function(t,n,r){var e=r(7084),o=r(9391);t.exports=e&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},4546:function(t,n,r){var e=r(8389),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||e(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},4937:function(t,n,r){var e=r(5920);t.exports=e({}.isPrototypeOf)},4983:function(t){var n=String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},5007:function(t,n,r){var e=r(5724),o=r(9391),i=r(4411).String;t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41})},5168:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},5376:function(t,n,r){var e=r(5920),o=0,i=Math.random(),u=e(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},5387:function(t){var n="object"==typeof document&&document.all,r=void 0===n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}},5514:function(t,n,r){var e=r(8389),o=r(4983),i=TypeError;t.exports=function(t){if(e(t))return t;throw new i(o(t)+" is not a function")}},5724:function(t,n,r){var e,o,i=r(4411),u=r(5168),c=i.process,a=i.Deno,f=c&&c.versions||a&&a.version,s=f&&f.v8;s&&(o=(e=s.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!o&&u&&(!(e=u.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=u.match(/Chrome\/(\d+)/))&&(o=+e[1]),t.exports=o},5735:function(t,n,r){var e=r(962),o=String,i=TypeError;t.exports=function(t){if(e(t))return t;throw new i(o(t)+" is not an object")}},5920:function(t,n,r){var e=r(6344),o=Function.prototype,i=o.call,u=e&&o.bind.bind(i,i);t.exports=e?u:function(t){return function(){return i.apply(t,arguments)}}},6344:function(t,n,r){var e=r(9391);t.exports=!e(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},6371:function(t,n,r){var e=r(6401),o=r(8389),i=r(8805),u=r(23),c=r(9731),a=u("IE_PROTO"),f=Object,s=f.prototype;t.exports=c?f.getPrototypeOf:function(t){var n=i(t);if(e(n,a))return n[a];var r=n.constructor;return o(r)&&n instanceof r?r.prototype:n instanceof f?s:null}},6401:function(t,n,r){var e=r(5920),o=r(8805),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},6454:function(t,n,r){var e=r(4411),o=r(3763).f,i=r(9915),u=r(7448),c=r(3817),a=r(3036),f=r(4156);t.exports=function(t,n){var r,s,p,l,v,y=t.target,b=t.global,m=t.stat;if(r=b?e:m?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in n){if(l=n[s],p=t.dontCallGetSet?(v=o(r,s))&&v.value:r[s],!f(b?s:y+(m?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;a(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(r,s,l,t)}}},6733:function(t,n,r){var e=r(6344),o=Function.prototype.call;t.exports=e?o.bind(o):function(){return o.apply(o,arguments)}},6746:function(t,n,r){var e=r(5920),o=r(8389),i=r(877),u=e(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},6805:function(t,n,r){var e=r(2943),o=r(1814);t.exports=function(t){return e(o(t))}},7084:function(t,n,r){var e=r(9391);t.exports=!e(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},7113:function(t,n,r){r.d(n,{A:function(){return i}});var e=r(220);function o(t,n){for(var r=0;r=n.length)return t.target=void 0,f(void 0,!0);switch(t.kind){case"keys":return f(r,!1);case"values":return f(n[r],!1)}return f([r,n[r]],!1)},"values");var b=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&p&&"values"!==b.name)try{c(b,"name",{value:"values"})}catch(t){}},8075:function(t,n,r){var e=r(5920),o=r(9391),i=r(8389),u=r(6401),c=r(7084),a=r(9470).CONFIGURABLE,f=r(6746),s=r(1789),p=s.enforce,l=s.get,v=String,y=Object.defineProperty,b=e("".slice),m=e("".replace),h=e([].join),d=c&&!o(function(){return 8!==y(function(){},"length",{value:8}).length}),g=String(String).split("String"),x=t.exports=function(t,n,r){"Symbol("===b(v(n),0,7)&&(n="["+m(v(n),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(n="get "+n),r&&r.setter&&(n="set "+n),(!u(t,"name")||a&&t.name!==n)&&(c?y(t,"name",{value:n,configurable:!0}):t.name=n),d&&r&&u(r,"arity")&&t.length!==r.arity&&y(t,"length",{value:r.arity});try{r&&u(r,"constructor")&&r.constructor?c&&y(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var e=p(t);return u(e,"source")||(e.source=h(g,"string"==typeof n?n:"")),t};Function.prototype.toString=x(function(){return i(this)&&l(this).source||f(this)},"toString")},8134:function(t,n,r){r.d(n,{A:function(){return i}});var e=r(1381);var o=r(3948);function i(t){return function(t){if(Array.isArray(t))return(0,e.A)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||(0,o.A)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},8140:function(t,n,r){r.d(n,{A:function(){return o}});var e=r(3948);function o(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var e,o,i,u,c=[],a=!0,f=!1;try{if(i=(r=r.call(t)).next,0===n){if(Object(r)!==r)return;a=!1}else for(;!(a=(e=i.call(r)).done)&&(c.push(e.value),c.length!==n);a=!0);}catch(t){f=!0,o=t}finally{try{if(!a&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(f)throw o}}return c}}(t,n)||(0,e.A)(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},8389:function(t,n,r){var e=r(5387),o=e.all;t.exports=e.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},8560:function(t,n,r){var e=r(3332),o=r(2103).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},8584:function(t,n,r){var e,o=r(5735),i=r(3809),u=r(2103),c=r(7285),a=r(7453),f=r(9511),s=r(23),p="prototype",l="script",v=s("IE_PROTO"),y=function(){},b=function(t){return"<"+l+">"+t+""},m=function(t){t.write(b("")),t.close();var n=t.parentWindow.Object;return t=null,n},h=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,n,r;h="undefined"!=typeof document?document.domain&&e?m(e):(n=f("iframe"),r="java"+l+":",n.style.display="none",a.appendChild(n),n.src=String(r),(t=n.contentWindow.document).open(),t.write(b("document.F=Object")),t.close(),t.F):m(e);for(var o=u.length;o--;)delete h[p][u[o]];return h()};c[v]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(y[p]=o(t),r=new y,y[p]=null,r[v]=t):r=h(),void 0===n?r:i.f(r,n)}},8612:function(t){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},8669:function(t,n,r){var e=r(7084),o=r(9391),i=r(9511);t.exports=!e&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},8742:function(t,n,r){var e=r(446);t.exports=function(t){return e(t.length)}},8745:function(t,n,r){var e=r(7593),o=r(565);t.exports=function(t){var n=e(t,"string");return o(n)?n:n+""}},8784:function(t,n,r){var e=r(3332),o=r(2103);t.exports=Object.keys||function(t){return e(t,o)}},8805:function(t,n,r){var e=r(1814),o=Object;t.exports=function(t){return o(e(t))}},8979:function(t,n,r){var e=r(4411),o=r(9329),i=r(6401),u=r(5376),c=r(5007),a=r(4272),f=e.Symbol,s=o("wks"),p=a?f.for||f:f&&f.withoutSetter||u;t.exports=function(t){return i(s,t)||(s[t]=c&&i(f,t)?f[t]:p("Symbol."+t)),s[t]}},9227:function(t,n,r){var e=r(469);t.exports=function(t){var n=+t;return n!=n||0===n?0:e(n)}},9329:function(t,n,r){var e=r(2411),o=r(877);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.33.3",mode:e?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE",source:"https://github.com/zloirock/core-js"})},9391:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},9470:function(t,n,r){var e=r(7084),o=r(6401),i=Function.prototype,u=e&&Object.getOwnPropertyDescriptor,c=o(i,"name"),a=c&&"something"===function(){}.name,f=c&&(!e||e&&u(i,"name").configurable);t.exports={EXISTS:c,PROPER:a,CONFIGURABLE:f}},9511:function(t,n,r){var e=r(4411),o=r(962),i=e.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},9552:function(t,n,r){var e=r(6454),o=r(6733),i=r(2411),u=r(9470),c=r(8389),a=r(394),f=r(6371),s=r(3175),p=r(79),l=r(9915),v=r(7448),y=r(8979),b=r(237),m=r(2697),h=u.PROPER,d=u.CONFIGURABLE,g=m.IteratorPrototype,x=m.BUGGY_SAFARI_ITERATORS,w=y("iterator"),O="keys",S="values",j="entries",A=function(){return this};t.exports=function(t,n,r,u,y,m,P){a(r,n,u);var E,I,_,T=function(t){if(t===y&&M)return M;if(!x&&t&&t in F)return F[t];switch(t){case O:case S:case j:return function(){return new r(this,t)}}return function(){return new r(this)}},k=n+" Iterator",C=!1,F=t.prototype,R=F[w]||F["@@iterator"]||y&&F[y],M=!x&&R||T(y),D="Array"===n&&F.entries||R;if(D&&(E=f(D.call(new t)))!==Object.prototype&&E.next&&(i||f(E)===g||(s?s(E,g):c(E[w])||v(E,w,A)),p(E,k,!0,!0),i&&(b[k]=A)),h&&y===S&&R&&R.name!==S&&(!i&&d?l(F,"name",S):(C=!0,M=function(){return o(R,this)})),y)if(I={values:T(S),keys:m?M:T(O),entries:T(j)},P)for(_ in I)(x||C||!(_ in F))&&v(F,_,I[_]);else e({target:n,proto:!0,forced:x||C},I);return i&&!P||F[w]===M||v(F,w,M,{name:y}),b[n]=M,I}},9617:function(t,n,r){var e=r(7084),o=r(8669),i=r(4542),u=r(5735),c=r(8745),a=TypeError,f=Object.defineProperty,s=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",v="writable";n.f=e?i?function(t,n,r){if(u(t),n=c(n),u(r),"function"==typeof t&&"prototype"===n&&"value"in r&&v in r&&!r[v]){var e=s(t,n);e&&e[v]&&(t[n]=r.value,r={configurable:l in r?r[l]:e[l],enumerable:p in r?r[p]:e[p],writable:!1})}return f(t,n,r)}:f:function(t,n,r){if(u(t),n=c(n),u(r),o)try{return f(t,n,r)}catch(t){}if("get"in r||"set"in r)throw new a("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},9731:function(t,n,r){var e=r(9391);t.exports=!e(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},9915:function(t,n,r){var e=r(7084),o=r(9617),i=r(8612);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},9950:function(t,n,r){var e=r(5514),o=r(3237);t.exports=function(t,n){var r=t[n];return o(r)?void 0:e(r)}}}]);; !function(){"use strict";var e,t,n,r,o,i={2:function(e,t,n){var r=n(455),o=n(9280),i=n.n(o),a=n(5798),c=n(1295),u=n(8773),s=function(e){var t=e.cloneNode(!0);return t.querySelectorAll("span").forEach(function(e){return e.remove()}),t},f=function(e,t){var n=(0,u.parseChoiceValue)(e),r=n.name,o=!0;switch(null===n.price||"price"!==t&&"currency"!==t||(r=n.price||0,o=!1),t){case"price":o&&(r=d(r)),r=!1===r?"":r;break;case"currency":r=!1===(r=m(r,!1))?"":r;break;case"numeric":return o&&(r=d(r)),!1===r?0:r;default:r=r?r.trim():""}return r},d=function(e){return new c.Ay(window.gf_global.gf_currency_config).toNumber(e)},m=function(e,t){return window.gf_global.gf_currency_config?new c.Ay(window.gf_global.gf_currency_config).toMoney(e,t):e};function l(e){if("SELECT"===e.tagName){var t=Array.from(e.options).filter(function(e){return e.selected}).map(function(e){return e.value});return e.multiple?t:t[0]||""}if("checkbox"===e.type){var n=document.querySelectorAll('input[name="'+e.name+'"]:checked');return n.length>1?Array.from(n).map(function(e){return e.value}):e.checked?e.value:""}if("radio"===e.type){var r=document.querySelector('input[name="'+e.name+'"]:checked');return r?r.value:""}return e.value||""}var g=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(r||(r=p(e,t,n)),!1===r)return"";var o=r.input;if(!r.isVisible)return"";var i,a="";switch(r.modifier){case"label":var c=r.field.querySelector(".gfield_label").cloneNode(!0);return c.querySelectorAll(".screen-reader-text").forEach(function(e){return e.remove()}),c.textContent;case"qty":if(r.field.classList.contains("gfield_price"))return!1===(i=window.gformGetProductQuantity(e,r.fieldId))||""===i?0:i}if(o.length>0&&("checkbox"===o[0].type||"radio"===o[0].type)&&(o=Array.from(o).filter(function(e){return e.checked})),1===o.length){var u=o[0];if("SELECT"!==u.tagName&&"radio"!==u.type&&"checkbox"!==u.type||""!==r.modifier)void 0===i&&(i=l(u));else{if("SELECT"===u.tagName)i=Array.from(u.options).filter(function(e){return e.selected});else if("radio"===u.type&&u.parentElement.classList.contains("gchoice_button")){var d=u.parentElement,m=Array.from(d.parentElement.children).filter(function(e){return e.classList.contains("gchoice_label")}),g=m.length>0?m[0].querySelector("label"):null;i=g?[s(g)]:[]}else{for(var v=u.nextElementSibling;v&&"LABEL"!==v.tagName;)v=v.nextElementSibling;i=v?[s(v)]:[]}if(1===i.length)i=i[0].textContent||i[0];else if(i.length>1){for(var b=[],_=0;_1){i=[];for(var w=0;w');e.insertAdjacentHTML("beforeend",n)}},N=function(){return window._phantom||window.callPhantom||window.__phantomas||window.Buffer||window.emit||window.spawn||window.webdriver||window._selenium||window._Selenium_IDE_Recorder||window.callSelenium||window.__nightmare||window.domAutomation||window.domAutomationController||window.document.__webdriver_evaluate||window.document.__selenium_evaluate||window.document.__webdriver_script_function||window.document.__webdriver_script_func||window.document.__webdriver_script_fn||window.document.__fxdriver_evaluate||window.document.__driver_unwrapped||window.document.__webdriver_unwrapped||window.document.__driver_evaluate||window.document.__selenium_unwrapped||window.document.__fxdriver_unwrapped||window.document.documentElement.getAttribute("selenium")||window.document.documentElement.getAttribute("webdriver")||window.document.documentElement.getAttribute("driver")},j=function(e){var t,n=performance.now(),r=parseInt(e.dataset.formid,10),o=r in S.formRerender?S.formRerender[r]:S.init,i=Math.max(0,Math.round(n-o)),c=(0,a.getNode)('input[name="gform_submission_speeds"]',e,!0),u=(0,a.getNode)("#gform_source_page_number_".concat(r),e,!0),s=u?parseInt(u.value,10):1;if(!c){var f=document.createElement("input");return f.type="hidden",f.name="gform_submission_speeds",f.value=JSON.stringify({pages:(0,y.A)({},s,[i])}),void e.appendChild(f)}try{t=JSON.parse(c.value.trim())}catch(e){t={}}"object"!==(0,h.A)(t)||null===t?t={pages:[]}:"object"!==(0,h.A)(t.pages)||null===t.pages?t.pages[s]=[]:Array.isArray(t.pages[s])||(t.pages[s]=[]),t.pages[s].push(i),c.value=JSON.stringify(t)},O=function(){var e;e=[],document.addEventListener("gform/post_render",function(t){var n=parseInt(t.detail.formId,10);e.includes(n)&&(S.formRerender[n]=performance.now())}),(0,a.addFilter)("gform/submission/pre_submission",function(t){if(t.abort)return t;t.submissionType!==x.z2&&t.submissionType!==x.s7||A(t.form);var n=parseInt(t.form.dataset.formid,10);return e.includes(n)||e.push(n),j(t.form),t}),(0,a.consoleInfo)("Gravity Forms Honeypot: Initialized.")},E=n(6201),I=(n(9143),n(3771),n(1162)),T=(n(2557),function(){var e=(0,r.A)(i().mark(function e(t){var n,r,o,a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=(0,I.ts)(t),n=t?(0,I.Nl)(t):null){e.next=5;break}return console.error("Unable to validate config. Config not found."),e.abrupt("return",!1);case 5:return(r=new FormData).append("gform_ajax_nonce",window.gform_theme_config.config_nonce),r.append("action","gform_validate_config"),r.append("config",JSON.stringify(n)),e.next=11,fetch(window.gform_theme_config.common.form.ajax.ajaxurl,{method:"POST",body:r});case 11:return o=e.sent,e.prev=12,e.next=15,o.json();case 15:o=e.sent,e.next=21;break;case 18:e.prev=18,e.t0=e.catch(12),o={success:!1,data:"There was an unknown error processing your request. Product config could not be validated. Please try again."};case 21:if(o.success){e.next=25;break}return a=o.data?o.data:"There was an unknown error processing your request. Product config could not be validated. Please try again.",console.error(a),e.abrupt("return",!1);case 25:return e.abrupt("return",!0);case 26:case"end":return e.stop()}},e,null,[[12,18]])}));return function(t){return e.apply(this,arguments)}}());window.gform.config=window.gform.config||{},window.gform.config.isValid=T;n(2590);var P=[],M=function(e){var t=e.querySelector('input[name="js_log"]');t||((t=document.createElement("input")).type="hidden",t.name="js_log",e.appendChild(t)),t.value=P.length>0?P.join("\n"):""},C=function(){P.length=0},F=function(e){if(q()){var t=new Date,n=t.getFullYear(),r=String(t.getMonth()+1).padStart(2,"0"),o=String(t.getDate()).padStart(2,"0"),i=String(t.getHours()).padStart(2,"0"),a=String(t.getMinutes()).padStart(2,"0"),c=String(t.getSeconds()).padStart(2,"0"),u=String(t.getMilliseconds()).padStart(3,"0");P.push("".concat(n,"-").concat(r,"-").concat(o," ").concat(i,":").concat(a,":").concat(c,".").concat(u," --\x3e ").concat(e))}},q=function(){var e;return null===(e=window.gform_theme_config)||void 0===e||null===(e=e.common)||void 0===e||null===(e=e.form)||void 0===e||null===(e=e.logging)||void 0===e?void 0:e.is_enabled},L=function(){q()&&(0,a.addAsyncFilter)("gform/submission/submission_started",function(e){var t;if(!e.abort){F("gform/submission/submission_started: Submitting form #".concat(e.form.dataset.formid," via ").concat(e.submissionMethod,". Submission type: ").concat(e.submissionType,". State data:"));var n=null!==(t=window.gform)&&void 0!==t&&null!==(t=t.state)&&void 0!==t&&t.data?window.gform.state.data[e.form.dataset.formid]:{};F(JSON.stringify(n)),M(e.form),C()}},9999)};window.gform.logger=window.gform.logger||{},window.gform.logger.log=F;var D=function(){L(),w(),O(),document.addEventListener("gform/post_render",function(e){R(e.detail.formId,e.detail.currentPage)}),(0,a.trigger)({event:"gform/theme/scripts_loaded"}),(0,a.consoleInfo)("Gravity Forms Theme: Initialized all javascript that targeted document ready.")},R=function(){var e=(0,r.A)(i().mark(function e(t,r){var o,c,u,s,f,d;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((0,E.vw)(),!document.querySelector("#gform_".concat(t,' .gfield--type-fileupload input[type="file"], #gform_').concat(t,' .gfield--input-type-fileupload input[type="file"], #gform_').concat(t,' .gfield--type-post_image input[type="file"]'))){e.next=9;break}return e.next=5,n.e(290).then(n.bind(n,6051));case 5:o=e.sent,c=o.default,(0,a.runOnce)(c)();case 9:if(!document.querySelector("#gform_".concat(t," .gfield--type-product"))){e.next=16;break}return e.next=13,n.e(157).then(n.bind(n,9845));case 13:u=e.sent,(0,u.default)(t);case 16:if(!document.querySelector("#gform_".concat(t," .gfield--type-image_choice"))){e.next=24;break}return e.next=20,n.e(952).then(n.bind(n,8398));case 20:s=e.sent,f=s.default,(0,a.runOnce)(f)();case 24:if(!document.querySelector("#gform_".concat(t," .gform_page"))){e.next=31;break}return e.next=28,n.e(145).then(n.bind(n,7943));case 28:d=e.sent,(0,d.default)(t);case 31:(0,x.Ay)(t),(0,a.consoleInfo)("Gravity Forms Theme: Initialized all `gform/post_render` form initialization based javascript."),(0,a.trigger)({event:"gform/post_init",native:!1,data:{formId:t}});case 34:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),B=function(){(0,a.ready)(D)},U=n(6443),H=n.n(U);n.p=H().public_path,B()},270:function(e,t,n){var r=n(8140),o=n(455),i=n(9280),a=n.n(i),c=n(6443),u=n.n(c),s=function(){var e=(0,o.A)(a().mark(function e(t){var n,o,i,c,s,f,d,m,l;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={},o={},i=new URL(u().common.form.ajax.ajaxurl),c=i.pathname+i.search,e.prev=4,e.next=7,fetch(c,{method:"POST",body:t});case 7:if(!(o=e.sent).ok){e.next=17;break}return e.next=11,o.text();case 11:s=e.sent,f=s.split("\x3c!-- gf:json_start --\x3e"),d=f[1].split("\x3c!-- gf:json_end --\x3e"),m=(0,r.A)(d,1),l=m[0],n=JSON.parse(l.trim()),e.next=19;break;case 17:n.success=!1,403===o.status&&(n.data={message:u().common.form.ajax.i18n.error_403,response:o});case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(4),n.success=!1;case 24:return n.success||(n.data=n.data||{message:u().common.form.ajax.i18n.unknown_error,response:o}),e.abrupt("return",n);case 26:case"end":return e.stop()}},e,null,[[4,21]])}));return function(t){return e.apply(this,arguments)}}();t.A=s},428:function(e){e.exports=window.jQuery},1162:function(e,t,n){n.d(t,{Nl:function(){return m},ts:function(){return g},zj:function(){return f}});var r=n(527),o=n(455),i=n(9280),a=n.n(i),c=n(270);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:window;return e.split("/").reduce(function(e,t){return e&&e[t]},t)},l=function(e,t){var n=e.split("/").slice(1).join("/"),r=m(n,t),o=e.split("/"),i=window;o.slice(0,-1).forEach(function(e){i[e]||(i[e]={}),i=i[e]});var a=o[o.length-1];return i[a]=r,i[a]},g=function(e){return p(e)?(e.startsWith("/")&&(e=e.substring(1)),e.endsWith("/")&&(e=e.substring(0,e.length-1)),e):(console.error('Invalid config path format. The path must be in the format of "config_name/path/to/config/item" (i.e. "gform_theme_config/common/form/product_meta").'),!1)},p=function(e){return"string"==typeof e&&e.match(/^[a-z0-9_\-/]+$/)};window.gform.config=window.gform.config||{},window.gform.config=s(s({},window.gform.config),{getConfig:f,updateConfig:l,cleanPath:g,getConfigViaAjax:d})},1295:function(e,t,n){n.d(t,{Ro:function(){return u}});var r=n(1873),o=n(7113),i=n(5798),a=function(){function e(t){(0,r.A)(this,e),this.currency=t}return(0,o.A)(e,[{key:"toNumber",value:function(t){return e.isNumeric(t)?parseFloat(t):e.cleanNumber(t,this.currency.symbol_right,this.currency.symbol_left,this.currency.decimal_separator)}},{key:"toMoney",value:function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]||(t=e.cleanNumber(t,this.currency.symbol_right,this.currency.symbol_left,this.currency.decimal_separator)),!1===t)return"";var n="";"-"===(t+="")[0]&&(t=parseFloat(t.substr(1)),n="-");var r=this.numberFormat(t,this.currency.decimals,this.currency.decimal_separator,this.currency.thousand_separator);"0.00"===r&&(n="");var o=this.currency.symbol_left?this.currency.symbol_left+this.currency.symbol_padding:"",i=this.currency.symbol_right?this.currency.symbol_padding+this.currency.symbol_right:"";return r=n+e.htmlDecode(o)+r+e.htmlDecode(i)}},{key:"getCode",value:function(){return"code"in this.currency&&""!==this.currency.code&&this.currency.code}},{key:"numberFormat",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];e=(e+"").replace(",","").replace(" ","");var i,a,c,u=isFinite(+e)?+e:0,s=isFinite(+t)?Math.abs(t):0,f="";return 0===parseInt(t)?(u+=1e-10,f=(""+Math.round(u)).split(".")):f=-1===parseInt(t)?(""+u).split("."):(i=u+=1e-10,a=s,c=Math.pow(10,a),""+Math.round(i*c)/c).split("."),f[0].length>3&&(f[0]=f[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,r)),o&&(f[1]||"").length=0&&parseInt(c,10)<=9||c===o?i+=c:"-"===c&&(u=!0);for(var f=0;f="0"&&c<="9"?a+=c:c===o&&(a+=".");return u&&(a="-"+a),!!e.isNumeric(a)&&parseFloat(a)}},{key:"isNumeric",value:function(e){return(0,i.isNumber)(e)}},{key:"getDecimalSeparator",value:function(e){var t;switch(e){case"currency":t=window.gf_global.gf_currency_config.decimal_separator;break;case"decimal_comma":t=",";break;default:t="."}return t}},{key:"htmlDecode",value:function(e){var t,n,r=e,o=r.match(/&#[0-9]{1,5};/g);if(null!=o)for(var i=0;i=-32768&&t<=65535?r.replace(n,String.fromCharCode(t)):r.replace(n,"");return r}}])}(),c=null,u=function(e){return(c=c||new a(window.gf_global.gf_currency_config)).toNumber(e)};t.Ay=a,window.gform=window.gform||{},window.gform.Currency=a},2557:function(e,t,n){n.d(t,{x:function(){return c}});var r=n(455),o=n(9280),i=n.n(o),a=n(1162),c=function(){var e=(0,r.A)(i().mark(function e(t,n){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=t.endsWith("/")?t+n:t+"/"+n,e.abrupt("return",(0,a.zj)(t,{form_ids:[n]}));case 2:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}();window.gform.config=window.gform.config||{},window.gform.config.getFormConfig=c},2590:function(e,t,n){var r=n(5798),o=function(e,t){window.jQuery(document).trigger("gform_post_render",[e,t]),(0,r.trigger)({event:"gform/postRender",native:!1,data:{formId:e,currentPage:t}}),(0,r.trigger)({event:"gform/post_render",native:!1,data:{formId:e,currentPage:t}})};t.A=o,window.gform.core=window.gform.core||{},window.gform.core.triggerPostRenderEvents=o},3771:function(e,t,n){n.d(t,{Jt:function(){return o},hZ:function(){return i},wB:function(){return a}});var r=n(5798),o=function(e,t){return f(e),(0,r.cloneDeep)(window.gform.state.data[e][t])},i=function(e,t,n){f(e);var o=window.gform.state.data[e][t];(0,r.isEqual)(o,n)||(window.gform.state.data[e][t]=(0,r.cloneDeep)(n),u(e,t,o))},a=function(e,t,n){d(e),window.gform.state.callbacks[e]=window.gform.state.callbacks[e]||[],c(e,t,n)||window.gform.state.callbacks[e].push({keys:t,callback:n})},c=function(e,t,n){return window.gform.state.callbacks[e].some(function(e){return(0,r.isEqual)(e.keys,t)&&e.callback===n})},u=function(e,t,n){d(e),window.gform.state.callbacks[e].forEach(function(r){if(r.keys.includes(t)){var o=s(e,r.keys,t,n);r.callback(e,t,o)}})},s=function(e,t,n,o){var i={};return t.forEach(function(t){var a=(0,r.cloneDeep)(window.gform.state.data[e][t]),c=n===t?(0,r.cloneDeep)(o):a;i[t]={prev:c,value:a}}),i},f=function(e){window.gform.state=window.gform.state||{},window.gform.state.data=window.gform.state.data||{},window.gform.state.data[e]=window.gform.state.data[e]||{}},d=function(e){window.gform.state=window.gform.state||{},window.gform.state.callbacks=window.gform.state.callbacks||{},window.gform.state.callbacks[e]=window.gform.state.callbacks[e]||[]};window.gform.state=window.gform.state||{get:o,set:i,watch:a}},3953:function(e,t,n){n.d(t,{Ec:function(){return C},d2:function(){return A},mj:function(){return h},s7:function(){return b},z2:function(){return w}});var r=n(8140),o=n(527),i=n(455),a=n(9280),c=n.n(a),u=n(5798),s=n(6201),f=n(428),d=n.n(f),m=n(9143);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function g(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==a[1]?a[1]:w,r=a.length>2&&void 0!==a[2]?a[2]:S,e.next=4,(0,u.filter)({event:"gform/submission/pre_submission",data:{form:t,submissionType:n,submissionMethod:r,displayConfirmation:!0,abort:!1}});case 4:if(!(o=e.sent).abort){e.next=8;break}return M(t),e.abrupt("return");case 8:i=o.displayConfirmation,o.submissionMethod!==r&&(r=D(t,o.submissionMethod)?o.submissionMethod:r),e.t0=n,e.next=e.t0===y?13:e.t0===b?15:18;break;case 13:return L(t),e.abrupt("break",18);case 15:return(0,u.getNode)("#gform_save_".concat(t.dataset.formid),t,!0).value="1",(0,u.speak)(window.gf_global.strings.formSaved),e.abrupt("break",18);case 18:return e.next=20,(0,u.filter)({event:"gform/submission/submission_started",data:{form:t,submissionType:n,submissionMethod:r}});case 20:(0,u.consoleInfo)("Gravity Forms: Performing ".concat(n," type submission for form #").concat(t.dataset.formid," via ").concat(r,".")),e.t1=r,e.next=e.t1===x?24:27;break;case 24:return e.next=26,(0,m.rV)(t.dataset.formid,i);case 26:return e.abrupt("return",e.sent);case 27:return O(t),e.abrupt("break",29);case 29:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),O=function(e){d()(e).trigger("submit",[!0])},E=function(e){var t=(0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)({},b,"gform_save_link"),_,""),h,"gform_next_button"),y,"gform_previous_button"),w,""),n=e.dataset.submissionType;if(n&&Object.keys(t).includes(n))return n;if("gform_send_resume_link_button"===e.name)return _;for(var i=e.classList,a=0,c=Object.entries(t);a1&&void 0!==arguments[1]?arguments[1]:0),(0,u.trigger)({event:"gform/submission/submission_aborted",data:{form:e},native:!1})},C=function(e){window.gformRemoveSpinner();var t=(0,u.getNodes)("#gform_ajax_spinner_".concat(e.dataset.formid),!0,document,!0);t&&t.forEach(function(e){e.remove()})},F=function(e){return!window["gf_submitting_".concat(e.dataset.formid)]&&(window["gf_submitting_".concat(e.dataset.formid)]=!0,!0)},q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;0===t?window["gf_submitting_".concat(e.dataset.formid)]=!1:setTimeout(function(){window["gf_submitting_".concat(e.dataset.formid)]=!1},t)},L=function(e){var t=document.getElementById("gform_source_page_number_".concat(e.dataset.formid));document.getElementById("gform_target_page_number_".concat(e.dataset.formid)).value=parseInt(t.value)-1},D=function(e,t){if(t===k)return console.error("Gravity Forms: The iframe submission method cannot be enabled via gform/submission/pre_submission. It must be set via the gform_form_args PHP filter."),!1;(0,u.getNode)("gform_submission_method_".concat(e.dataset.formid),e).value=t,e.removeAttribute("target");var n=(0,u.getNode)("[name=gform_ajax]",e,!0);return n&&n.remove(),!0},R=function(e){var t=(0,u.getNode)("gform_submission_method_".concat(e.dataset.formid),e);return t?t.value:S};t.Ay=function(e){N(e)},window.gform.submission=g(g({},window.gform.submission||{}),{},{handleButtonClick:A,submitForm:j,getSubmissionMethod:R,removeSpinner:C,lockSubmission:F,unlockSubmission:q,SUBMISSION_TYPE_SUBMIT:w,SUBMISSION_TYPE_NEXT:h,SUBMISSION_TYPE_PREVIOUS:y,SUBMISSION_TYPE_SAVE_AND_CONTINUE:b,SUBMISSION_TYPE_SEND_LINK:_,SUBMISSION_METHOD_IFRAME:k,SUBMISSION_METHOD_POSTBACK:S,SUBMISSION_METHOD_AJAX:x})},5798:function(e){e.exports=window.gform.utils},6201:function(e,t,n){n.d(t,{Ui:function(){return o},g_:function(){return u},lt:function(){return f},rF:function(){return s},vw:function(){return i}});var r=n(5798),o=function(e){var t=(0,r.getNode)("#gform_confirmation_wrapper_".concat(e),document,!0);if(t){var n=t.innerText;t.setAttribute("tabindex","-1"),t.focus(),t.removeAttribute("tabindex","-1"),(0,r.speak)(n,"polite")}},i=function(){var e=(0,r.getNode)(".gform_validation_errors",document,!0);!function(){var e=(0,r.getNode)(".gform_validation_errors",document,!0);if(e){var t=(0,r.getNode)("gform-focus-validation-error");t&&(t.setAttribute("tabindex","-1"),setTimeout(function(){t.focus()},0));var n=e.innerText.replaceAll(/\./g,",");(0,r.speak)(n,"assertive")}}(),e&&a(e)},a=function(e){e.querySelectorAll(".gform_validation_error_link").forEach(function(e){e.addEventListener("click",function(t){var n=e.getAttribute("href"),o=(0,r.getNode)(n,document,!0);if(o){t.preventDefault(),history.replaceState(null,"",n),o.scrollIntoView({behavior:"auto",block:"start"});var i=o.querySelector('input:not([type="hidden"]), select, textarea, button, [title="reCAPTCHA"]');i?i.focus():(o.setAttribute("tabindex","-1"),o.focus())}})})},c=function(e){if("Tab"===e.key){e.preventDefault(),document.removeEventListener("keydown",c);var t=(0,r.getNode)('.gform_wrapper form[data-active-form="true"]',document,!0);if(t){var n=t.getAttribute("data-formid"),o=(0,r.getNode)("#gform_wrapper_".concat(n),document,!0);if(!o.contains(document.activeElement)){var i=o,a=o.querySelector('.gform_page[style="display: block;"]');a&&(i=a);var u=i.querySelector('input:not([type="hidden"]), select, textarea');u?u.focus():(o.setAttribute("tabindex","-1"),o.setAttribute("role","presentation"),o.setAttribute("aria-hidden","true"),o.focus(),o.removeAttribute("aria-hidden"),o.removeAttribute("role"),o.removeAttribute("tabindex"))}}}},u=function(){(0,r.speak)("")},s=function(){document.addEventListener("keydown",c)},f=function(e){var t=e.getAttribute("data-formid"),n=document.querySelectorAll(".gform_wrapper form");n&&n.forEach(function(e){e.removeAttribute("data-active-form"),e.getAttribute("data-formid")===t&&e.setAttribute("data-active-form","true")})}},6443:function(e){e.exports=gform_theme_config},8773:function(e,t,n){n.r(t),n.d(t,{getFieldId:function(){return v},getFieldLabel:function(){return d},getFormId:function(){return p},getOptionFields:function(){return c},getProductFields:function(){return a},getProductMeta:function(){return s},getProductQuantity:function(){return f},getShippingField:function(){return u},parseChoiceValue:function(){return l}});var r=n(8134),o=n(5798),i=n(1295),a=function(e){return(0,o.getNodes)(".gfield--type-product",!0,e,!0)},c=function(e,t){var n=v(t);return(0,o.getNodes)(".gfield_option_".concat(e.dataset.formid,"_").concat(n),!0,e,!0)},u=function(e){return(0,o.getNode)(".gfield--type-shipping",e,!0)},s=function(e,t){if(!t)return[];if(m(t))return[];var n=[],r="",a="",c=null,u=null,s=null,f=v(t);switch(g(t)){case"select":u=(0,o.getNode)("select",t,!0),c=l(u.value),n.push({id:f,name:c.name,price:c.price});break;case"radio":(s=(0,o.getNodes)("input",!0,t,!0).find(function(e){return e.checked}))&&(c=l(s.value),n.push({id:f,name:c.name,price:c.price}));break;case"checkbox":(0,o.getNodes)('input[type="checkbox"]:checked',!0,t,!0).forEach(function(e){c=l(e.value),n.push({id:f,name:c.name,price:c.price})});break;case"hiddenproduct":case"calculation":case"singleproduct":r=(0,o.getNode)('input[name="input_'.concat(f,'.1"]'),t,!0).value,a=(0,i.Ro)((0,o.getNode)('input[name="input_'.concat(f,'.2"]'),t,!0).value),n.push({id:f,name:r,price:a});break;case"singleshipping":case"price":a=(0,i.Ro)((0,o.getNode)('input[name="input_'.concat(f,'"]'),t,!0).value||"0"),r=d(t),n.push({id:f,name:r,price:a})}return n},f=function(e,t){var n=v(t),r=(0,o.getNode)(".gfield_quantity_".concat(e.dataset.formid,"_").concat(n),e,!0),i=r?(0,o.getNode)("input, select",r,!0):(0,o.getNode)(".ginput_quantity, #ginput_quantity_".concat(e.dataset.formid,"_").concat(n),t,!0);return i?i.value?parseFloat(i.value):0:1},d=function(e){var t=(0,o.getNode)(".gfield_label",e,!0);return t?t.innerText:""},m=function(e){if("hidden"===e.dataset.conditionalLogic)return!0;var t=e.closest(".gform_page");return!(!t||"hidden"!==t.dataset.conditionalLogic)},l=function(e){if(!e)return{name:null,price:null};var t=e.lastIndexOf("|");return-1===t?{name:e,price:null}:{name:e.slice(0,t),price:(0,i.Ro)(e.slice(t+1))}},g=function(e){var t="gfield--input-type-",n=(0,r.A)(e.classList).find(function(e){return e.startsWith(t)});return n?n.replace(t,""):""},p=function(e){return e.closest(".gform_wrapper form").dataset.formid},v=function(e){return e.id.split("_")[2]}},9143:function(e,t,n){n.d(t,{pn:function(){return x},rV:function(){return l}});var r=n(455),o=n(9280),i=n.n(o),a=n(5798),c=n(3953),u=n(6201),s=n(2590),f=n(270),d=n(6443),m=n.n(d),l=function(){var e=(0,r.A)(i().mark(function e(t){var n,r,o,c,f,d,m,l,b=arguments;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=!(b.length>1&&void 0!==b[1])||b[1],(0,u.g_)(),window.tinymce&&window.tinymce.editors.length>0&&window.tinymce.triggerSave(),r=(0,a.getNode)("#gform_".concat(t),document,!0)){e.next=7;break}return console.error("Form "+t+" not found."),e.abrupt("return",{success:!1,data:"Form "+t+" not found."});case 7:return e.next=9,p(t,r,"gform_submit_form");case 9:if((o=e.sent).success){e.next=15;break}return(0,u.rF)(),_(t,o),g(t),e.abrupt("return",o);case 15:return c=!(!n||!o.data.confirmation_redirect&&!o.data.confirmation_markup),e.next=18,(0,a.filter)({event:"gform/ajax/post_submission_request",data:{form:r,submissionResult:o}});case 18:return f=e.sent,o=f.submissionResult,d=!1,o.data.page_markup?(w(t,r,o.data.page_number,o.data.page_markup),o.data.uploaded_files&&((0,a.getNode)("#gform_uploaded_files_".concat(t),r,!0).value=JSON.stringify(o.data.uploaded_files),(m=(0,a.getNodes)('input[type="file"]',!0,r,!0))&&m.forEach(function(e){return e.value=""})),o.data.form_unique_id&&((0,a.getNode)('input[name="gform_unique_id"]',r,!0).value=o.data.form_unique_id),o.data.page_number>0&&o.data.page_number!==o.data.source_page_number&&h(t,r,o.data.page_number),(0,u.vw)(),d=!0):o.data.form_markup?((0,a.getNode)("#gform_wrapper_".concat(t),document,!0).outerHTML=o.data.form_markup,(0,u.vw)(),d=!0):c&&(v(t,o),d=!0),e.next=24,(0,a.filter)({event:"gform/ajax/post_ajax_submission",data:{form:r,submissionResult:o}});case 24:return l=e.sent,o=l.submissionResult,g(t),d&&(0,s.A)(t,o.data.page_number),e.abrupt("return",o);case 29:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),g=function(e){window["gf_submitting_".concat(e)]=!1;var t=(0,a.getNode)("#gform_".concat(e),document,!0);t&&(0,c.Ec)(t)},p=function(){var e=(0,r.A)(i().mark(function e(t,n,r){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.A)(y(t,n,r));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}));return function(t,n,r){return e.apply(this,arguments)}}(),v=function(){var e=(0,r.A)(i().mark(function e(t,n){var r,o,c,s,f,d;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((r=n.data).confirmation_redirect||r.confirmation_markup){e.next=3;break}return e.abrupt("return");case 3:if("redirect"!==r.confirmation_type){e.next=6;break}return window.location=r.confirmation_redirect,e.abrupt("return");case 6:return e.next=8,(0,a.filter)({event:"gform/ajax/pre_display_confirmation",data:{formId:t,submissionResult:n,abort:!1}});case 8:if(!(o=e.sent).abort){e.next=11;break}return e.abrupt("return");case 11:return n=o.submissionResult,r=n.data,c=(0,a.getNode)("#gform_wrapper_".concat(t),document,!0),s=c.getAttribute("class"),f=c.getAttribute("data-form-theme"),(d=(0,a.getNode)("#gform_".concat(t),c,!0))&&d.reset(),e.next=20,x(r.confirmation_markup);case 20:c.outerHTML=e.sent,(c=(0,a.getNode)("#gform_wrapper_".concat(t),document,!0))&&(c.setAttribute("class",s),c.setAttribute("data-form-theme",f)),b(t),(0,u.Ui)(t);case 25:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),b=function(e){var t=(0,a.getNode)("#gform_send_resume_link_button_".concat(e),document,!0);t&&(t.onclick=function(){return(0,c.d2)(t)})},_=function(){var e=(0,r.A)(i().mark(function e(t,n){var r,o,c,s,f,d,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="string"==typeof n.data?n.data:n.data.message,e.next=3,(0,a.filter)({event:"gform/ajax/pre_display_error",data:{error:r,formId:t,submissionResult:n}});case 3:return o=e.sent,r=o.error||m().common.form.ajax.i18n.unknown_error,c=document.createElement("div"),s='

').concat(r,"

"),e.next=9,x(s);case 9:c.innerHTML=e.sent,f=(0,a.getNode)("#gform_wrapper_".concat(t),document,!0),(d=(0,a.getNode)(".gform_validation_errors",f,!0))&&d.remove(),l=(0,a.getNode)(".gform_heading",f,!0),f.insertBefore(c.firstChild,l),(0,u.vw)();case 16:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),w=function(e,t,n,r){var o=(0,a.getNode)("#gform_page_".concat(e,"_").concat(n),t,!0);o&&(!function(e){var t=(0,a.getNode)("#gform_".concat(e,"_validation_container"),document,!0);t&&t.remove()}(e),o.outerHTML=r)},h=function(){var e=(0,r.A)(i().mark(function e(t,n,r){var o,c,s,f;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((o=(0,a.getNodes)(".gform_page",!0,n,!0))&&0!==o.length){e.next=3;break}return e.abrupt("return");case 3:o.forEach(function(e,t){e.style.display=t+1===r?"block":"none"}),c=(0,a.getNode)("#gform_source_page_number_".concat(t),n,!0),s=(0,a.getNode)("#gform_target_page_number_".concat(t),n,!0),f=r>=o.length?0:r+1,c&&s&&(c.value=r,s.value=f),(0,u.rF)(),k(n,r,o),(0,a.trigger)({event:"gform/ajax/post_page_change",native:!1,data:{formId:t,pageNumber:r}});case 11:case"end":return e.stop()}},e)}));return function(t,n,r){return e.apply(this,arguments)}}(),y=function(e,t,n){var r=new FormData(t);r.append("gform_ajax_nonce",window.gform_theme_config.common.form.ajax.ajax_submission_nonce),r.append("action",n),r.append("form_id",e),r.append("current_page_url",encodeURIComponent(window.location.href)),r.append("ajax_referer",encodeURIComponent(document.referrer));var o=(0,a.getNode)("#gform_wrapper_".concat(e," .gform_heading"),document,!0);return o&&(r.append("display_title",(0,a.getNode)(".gform_title",o,!0)?1:0),r.append("display_description",(0,a.getNode)(".gform_description",o,!0)?1:0)),r},x=function(){var e=(0,r.A)(i().mark(function e(t){var r,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.e(567).then(n.t.bind(n,6308,23));case 2:return r=e.sent,o=r.default,e.abrupt("return",o.sanitize(t));case 5:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),k=function(e,t,n){if(n&&0!==n.length){var r=n[n.length-1],o=(0,a.getNode)("[data-submission-type='previous'],.gform_previous_button",r,!0);o&&"image"!==o.type&&(o.type=t=o)&&Object.keys(c.O).every(function(e){return c.O[e](n[u])})?n.splice(u--,1):(a=!1,o0&&e[f-1][2]>o;f--)e[f]=e[f-1];e[f]=[n,r,o]},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},c.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);c.r(o);var i={};t=t||[null,n({}),n([]),n(n)];for(var a=2&r&&e;("object"==typeof a||"function"==typeof a)&&!~t.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach(function(t){i[t]=function(){return e[t]}});return i.default=function(){return e},c.d(o,i),o},c.d=function(e,t){for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.f={},c.e=function(e){return Promise.all(Object.keys(c.f).reduce(function(t,n){return c.f[n](e,t),t},[]))},c.u=function(e){return{145:"gform-pagination",157:"gform-products",290:"gform-files",567:"vendor-theme-dompurify",952:"gform-image-choice"}[e]+"."+{145:"8bf1914e463218db3a59",157:"61fd4f7d9a7accb574ca",290:"ed52c9b3cc0e8a53b2b8",567:"58fb66e2d47e35c727b6",952:"8c715d9df63716be51ac"}[e]+".min.js"},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="gravityforms:",c.l=function(e,t,n,i){if(r[e])r[e].push(t);else{var a,u;if(void 0!==n)for(var s=document.getElementsByTagName("script"),f=0;f-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),c.p=e}(),function(){var e={593:0};c.f.j=function(t,n){var r=c.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(function(n,o){r=e[t]=[n,o]});n.push(r[2]=o);var i=c.p+c.u(t),a=new Error;c.l(i,function(n){if(c.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}},"chunk-"+t,t)}},c.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,o,i=n[0],a=n[1],u=n[2],s=0;if(i.some(function(t){return 0!==e[t]})){for(r in a)c.o(a,r)&&(c.m[r]=a[r]);if(u)var f=u(c)}for(t&&t(n);s 1 ) { keypress.push( keydowns[ e.key ][1] ); } keypresses.push( keypress ); } } delete keydowns[ e.key ]; lastKeyup = keyupTime; }, supportsPassive ? { passive: true } : false ); form.addEventListener( "focusin", function ( e ) { lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); form.addEventListener( "focusout", function ( e ) { lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); } document.addEventListener( 'mousedown', function ( e ) { lastMousedown = ( new Date() ).getTime(); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'mouseup', function ( e ) { if ( ! lastMousedown ) { // If the mousedown happened before this script was loaded, but the mouseup happened after... return; } var now = ( new Date() ).getTime(); var mouseclick = []; mouseclick.push( now - lastMousedown ); if ( lastMouseup ) { mouseclick.push( lastMousedown - lastMouseup ); } mouseclicks.push( mouseclick ); lastMouseup = now; // If the mouse has been clicked, don't record this time as an interval between keypresses. lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'mousemove', function ( e ) { if ( mousemoveTimer ) { clearTimeout( mousemoveTimer ); mousemoveTimer = null; } else { mousemoveStart = ( new Date() ).getTime(); lastMousemoveX = e.offsetX; lastMousemoveY = e.offsetY; } mousemoveTimer = setTimeout( function ( theEvent, originalMousemoveStart ) { var now = ( new Date() ).getTime() - 500; // To account for the timer delay. var mousemove = []; mousemove.push( now - originalMousemoveStart ); mousemove.push( Math.round( Math.sqrt( Math.pow( theEvent.offsetX - lastMousemoveX, 2 ) + Math.pow( theEvent.offsetY - lastMousemoveY, 2 ) ) ) ); if ( mousemove[1] > 0 ) { // If there was no measurable distance, then it wasn't really a move. mousemoves.push( mousemove ); } mousemoveStart = null; mousemoveTimer = null; }, 500, e, mousemoveStart ); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'touchmove', function ( e ) { if ( touchmoveCountTimer ) { clearTimeout( touchmoveCountTimer ); } touchmoveCountTimer = setTimeout( function () { touchmoveCount++; }, 500 ); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'touchstart', function ( e ) { lastTouchStart = ( new Date() ).getTime(); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'touchend', function ( e ) { if ( ! lastTouchStart ) { // If the touchstart happened before this script was loaded, but the touchend happened after... return; } var now = ( new Date() ).getTime(); var touchEvent = []; touchEvent.push( now - lastTouchStart ); if ( lastTouchEnd ) { touchEvent.push( lastTouchStart - lastTouchEnd ); } touchEvents.push( touchEvent ); lastTouchEnd = now; // Don't record this time as an interval between keypresses. lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'scroll', function ( e ) { if ( scrollCountTimer ) { clearTimeout( scrollCountTimer ); } scrollCountTimer = setTimeout( function () { scrollCount++; }, 500 ); }, supportsPassive ? { passive: true } : false ); } /** * For the timestamp data that is collected, don't send more than `limit` data points in the request. * Choose a random slice and send those. */ function prepare_timestamp_array_for_request( a, limit ) { if ( ! limit ) { limit = 100; } var rv = ''; if ( a.length > 0 ) { var random_starting_point = Math.max( 0, Math.floor( Math.random() * a.length - limit ) ); for ( var i = 0; i < limit && i < a.length; i++ ) { rv += a[ random_starting_point + i ][0]; if ( a[ random_starting_point + i ].length >= 2 ) { rv += "," + a[ random_starting_point + i ][1]; } rv += ";"; } } return rv; } if ( document.readyState !== 'loading' ) { init(); } else { document.addEventListener( 'DOMContentLoaded', init ); } })();;