var qsProxy = {};
function FrameBuilder(formId,appendTo,initialHeight,iframeCode,title,embedStyleJSON){this.formId=formId;this.initialHeight=initialHeight;this.iframeCode=iframeCode;this.frame=null;this.timeInterval=200;this.appendTo=appendTo||false;this.formSubmitted=0;this.frameMinWidth='100%';this.defaultHeight='';this.createFrame=function(){this.iframeDomId=document.getElementById(this.formId)?this.formId+'_'+new Date().getTime():this.formId;if(typeof $jot!=='undefined'){var iframe=document.getElementById("212414994250151");var parent=$jot(iframe).closest('.jt-feedback.u-responsive-lightbox');if(parent){this.iframeDomId='lightbox-'+this.iframeDomId;}}
var iframe=document.createElement('iframe');var titleEscaped=title.replace(/[\\"']/g,'\\$&').replace(/&amp;/g,'&');var parentURL=window.location.href;var queryParameters='';if(parentURL&&parentURL.indexOf('?')>-1){queryParameters=parentURL.substring(parentURL.indexOf('?')+1).split('&');queryParameters=queryParameters.map(x=>{const initialValue=x.substring(x.indexOf('=')+1);const encodedValue=encodeURIComponent(decodeURIComponent(initialValue));return x.replace(initialValue,encodedValue);}).join('&');}
queryParameters=`?${queryParameters?`${queryParameters}&`:''}parentURL=${encodeURIComponent(parentURL)}&jsForm=true`;Object.entries(FrameBuilder.get).forEach(([key,value])=>{if(typeof value==='object'){Object.entries(value).forEach(([valueKey,valueVal])=>{valueVal=encodeURIComponent(valueVal);queryParameters+=`&${key}[${valueKey}]=${valueVal}`;})}else{value=encodeURIComponent(value);queryParameters+=`&${key}=${value}`;}});iframe.title=titleEscaped;iframe.src=`https://form.jotform.com/212414994250151${queryParameters}`;iframe.allowtransparency=true;iframe.allow='geolocation; microphone; camera; fullscreen';iframe.name=this.formId;iframe.id=this.iframeDomId;iframe.style.width='10px';iframe.style.minWidth=this.frameMinWidth;iframe.style.display='block';iframe.style.overflow='hidden';iframe.style.height=this.initialHeight+'px';iframe.style.border='none';iframe.scrolling='no';if(this.appendTo===false){var jsformScript=document.querySelector('script[src*="jsform/'+this.formId+'"]:not([data-iframe-appended])');var scriptLocatedInHead=!!jsformScript.closest('head');if(scriptLocatedInHead){var isBodyExists=!!document.body;if(isBodyExists){document.body.appendChild(iframe);}else{document.addEventListener('DOMContentLoaded',function(){if(document.body){document.body.appendChild(iframe);}else{console.log('No body element found to append the iframe');}});}}else{jsformScript.parentNode.insertBefore(iframe,jsformScript.nextSibling);}
jsformScript.dataset.iframeAppended=true;}else{document.getElementById(this.appendTo).appendChild(iframe);}};this.createFrame();}
FrameBuilder.get=qsProxy||[];var initialHeight="LEGACY"==='CARD'?640:539;var i212414994250151=new FrameBuilder("212414994250151",false,initialHeight,"<!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01\/\/EN\" \"http:\/\/www.w3.org\/TR\/html4\/strict.dtd\">\n<html lang=\"en-US\"  class=\"supernova \"><head>\n<meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\" \/>\n<link rel=\"alternate\" type=\"application\/json+oembed\" href=\"https:\/\/www.jotform.com\/oembed\/?format=json&amp;url=https%3A%2F%2Fform.jotform.com%2F212414994250151\" title=\"oEmbed Form\">\n<link rel=\"alternate\" type=\"text\/xml+oembed\" href=\"https:\/\/www.jotform.com\/oembed\/?format=xml&amp;url=https%3A%2F%2Fform.jotform.com%2F212414994250151\" title=\"oEmbed Form\">\n<meta property=\"og:title\" content=\"Constant Contact Form from Website\" >\n<meta property=\"og:url\" content=\"https:\/\/form.jotform.com\/212414994250151\" >\n<meta property=\"og:description\" content=\"Please click the link to complete this form.\" >\n<meta name=\"slack-app-id\" content=\"AHNMASS8M\">\n<meta property=\"og:image\" content=\"https:\/\/cdn.jotfor.ms\/assets\/img\/landing\/opengraph.png\" \/>\n<link rel=\"shortcut icon\" href=\"https:\/\/cdn.jotfor.ms\/assets\/img\/favicons\/favicon-2021-light%402x.png\">\n<link rel=\"apple-touch-icon\" href=\"https:\/\/cdn.jotfor.ms\/assets\/img\/favicons\/favicon-2021-light%402x.png\">\n<script>\n          var favicon = document.querySelector('link[rel=\"shortcut icon\"]');\n          window.isDarkMode = (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches);\n          if(favicon && window.isDarkMode) {\n              favicon.href = favicon.href.replaceAll('favicon-2021-light%402x.png', 'favicon-2021-dark%402x.png');\n          }\n      <\/script><link rel=\"canonical\" href=\"https:\/\/form.jotform.com\/212414994250151\" \/>\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=1\" \/>\n<meta name=\"HandheldFriendly\" content=\"true\" \/>\n<title>Constant Contact Form from Website<\/title>\n<link href=\"https:\/\/cdn01.jotfor.ms\/static\/formCss.css?3.3.53312\" rel=\"stylesheet\" type=\"text\/css\" \/>\n<link type=\"text\/css\" rel=\"stylesheet\" href=\"https:\/\/cdn02.jotfor.ms\/stylebuilder\/static\/form-common.css?v=d01b17d\n\"\/>\n<style type=\"text\/css\">@media print{*{-webkit-print-color-adjust: exact !important;color-adjust: exact !important;}.form-section{display:inline!important}.form-pagebreak{display:none!important}.form-section-closed{height:auto!important}.page-section{position:initial!important}}<\/style>\n<link type=\"text\/css\" rel=\"stylesheet\" href=\"https:\/\/cdn03.jotfor.ms\/css\/styles\/nova.css?3.3.53312\" \/>\n<link type=\"text\/css\" rel=\"stylesheet\" href=\"https:\/\/cdn01.jotfor.ms\/themes\/CSS\/566a91c2977cdfcd478b4567.css?v=3.3.53312&themeRevisionID=5d713a7304e9ed3c13620001\"\/>\n<link type=\"text\/css\" rel=\"stylesheet\" href=\"https:\/\/cdn02.jotfor.ms\/css\/styles\/payment\/payment_feature.css?3.3.53312\" \/>\n<style type=\"text\/css\">\n    .form-label-left{\n        width:150px;\n    }\n    .form-line{\n        padding-top:12px;\n        padding-bottom:12px;\n    }\n    .form-label-right{\n        width:150px;\n    }\n    body, html{\n        margin:0;\n        padding:0;\n        background:rgba(255,255,255,0);\n    }\n\n    .form-all{\n        margin:0px auto;\n        padding-top:20px;\n        width:690px;\n        color:#000000 !important;\n        font-family:\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", Verdana, sans-serif;\n        font-size:14px;\n    }\n    .form-radio-item label, .form-checkbox-item label, .form-grading-label, .form-header{\n        color: #555;\n    }\n\n<\/style>\n\n<style type=\"text\/css\" id=\"form-designer-style\">\n    \/* Injected CSS Code *\/\n.form-label.form-label-auto {\n        \n        display: inline-block;\n        float: left;\n        text-align: left;\n      \n      }\/*PREFERENCES STYLE*\/\n    .form-all {\n      font-family: Lucida Grande, sans-serif;\n    }\n    .form-all .qq-upload-button,\n    .form-all .form-submit-button,\n    .form-all .form-submit-reset,\n    .form-all .form-submit-print {\n      font-family: Lucida Grande, sans-serif;\n    }\n    .form-all .form-pagebreak-back-container,\n    .form-all .form-pagebreak-next-container {\n      font-family: Lucida Grande, sans-serif;\n    }\n    .form-header-group {\n      font-family: Lucida Grande, sans-serif;\n    }\n    .form-label {\n      font-family: Lucida Grande, sans-serif;\n    }\n  \n    .form-label.form-label-auto {\n      \n    display: inline-block;\n    float: left;\n    text-align: left;\n  \n    }\n  \n    .form-line {\n      margin-top: 12px;\n      margin-bottom: 12px;\n    }\n  \n    .form-all {\n      max-width: 690px;\n      width: 100%;\n    }\n  \n    .form-label.form-label-left,\n    .form-label.form-label-right,\n    .form-label.form-label-left.form-label-auto,\n    .form-label.form-label-right.form-label-auto {\n      width: 150px;\n    }\n  \n    .form-all {\n      font-size: 14px\n    }\n    .form-all .qq-upload-button,\n    .form-all .qq-upload-button,\n    .form-all .form-submit-button,\n    .form-all .form-submit-reset,\n    .form-all .form-submit-print {\n      font-size: 14px\n    }\n    .form-all .form-pagebreak-back-container,\n    .form-all .form-pagebreak-next-container {\n      font-size: 14px\n    }\n  \n    .supernova .form-all, .form-all {\n      background-color: rgba(255,255,255,0);\n    }\n  \n    .form-all {\n      color: #000000;\n    }\n    .form-header-group .form-header {\n      color: #000000;\n    }\n    .form-header-group .form-subHeader {\n      color: #000000;\n    }\n    .form-label-top,\n    .form-label-left,\n    .form-label-right,\n    .form-html,\n    .form-checkbox-item label,\n    .form-radio-item label {\n      color: #000000;\n    }\n    .form-sub-label {\n      color: #1a1a1a;\n    }\n  \n    .supernova {\n      background-color: rgba(255,255,255,0);\n    }\n    .supernova body {\n      background: transparent;\n    }\n  \n    .form-textbox,\n    .form-textarea,\n    .form-dropdown,\n    .form-radio-other-input,\n    .form-checkbox-other-input,\n    .form-captcha input,\n    .form-spinner input {\n      background-color: #ffffff;\n    }\n  \n    .supernova {\n      background-image: none;\n    }\n    #stage {\n      background-image: none;\n    }\n  \n    .form-all {\n      background-image: none;\n    }\n  \n  .ie-8 .form-all:before { display: none; }\n  .ie-8 {\n    margin-top: auto;\n    margin-top: initial;\n  }\n  \n  \/*PREFERENCES STYLE*\/\/*__INSPECT_SEPERATOR__*\/\n    \/* Injected CSS Code *\/\n<\/style>\n\n<script src=\"https:\/\/cdn03.jotfor.ms\/static\/prototype.forms.js?v=3.3.53312\" type=\"text\/javascript\"><\/script>\n<script src=\"https:\/\/cdn01.jotfor.ms\/static\/jotform.forms.js?v=3.3.53312\" type=\"text\/javascript\"><\/script>\n<script src=\"https:\/\/cdn02.jotfor.ms\/js\/punycode-1.4.1.min.js?v=3.3.53312\" type=\"text\/javascript\" defer><\/script>\n<script type=\"text\/javascript\">\tJotForm.newDefaultTheme = false;\n\tJotForm.extendsNewTheme = false;\n\tJotForm.singleProduct = false;\n\tJotForm.newPaymentUIForNewCreatedForms = false;\n\tJotForm.texts = {\"confirmEmail\":\"E-mail does not match\",\"pleaseWait\":\"Please wait...\",\"validateEmail\":\"You need to validate this e-mail\",\"confirmClearForm\":\"Are you sure you want to clear the form\",\"lessThan\":\"Your score should be less than or equal to\",\"incompleteFields\":\"There are incomplete required fields. Please complete them.\",\"required\":\"This field is required.\",\"requireOne\":\"At least one field required.\",\"requireEveryRow\":\"Every row is required.\",\"requireEveryCell\":\"Every cell is required.\",\"email\":\"Enter a valid e-mail address\",\"alphabetic\":\"This field can only contain letters\",\"numeric\":\"This field can only contain numeric values\",\"alphanumeric\":\"This field can only contain letters and numbers.\",\"cyrillic\":\"This field can only contain cyrillic characters\",\"url\":\"This field can only contain a valid URL\",\"currency\":\"This field can only contain currency values.\",\"fillMask\":\"Field value must fill mask.\",\"uploadExtensions\":\"You can only upload following files:\",\"noUploadExtensions\":\"File has no extension file type (e.g. .txt, .png, .jpeg)\",\"uploadFilesize\":\"File size cannot be bigger than:\",\"uploadFilesizemin\":\"File size cannot be smaller than:\",\"gradingScoreError\":\"Score total should only be less than or equal to\",\"inputCarretErrorA\":\"Input should not be less than the minimum value:\",\"inputCarretErrorB\":\"Input should not be greater than the maximum value:\",\"maxDigitsError\":\"The maximum digits allowed is\",\"minCharactersError\":\"The number of characters should not be less than the minimum value:\",\"maxCharactersError\":\"The number of characters should not be more than the maximum value:\",\"freeEmailError\":\"Free email accounts are not allowed\",\"minSelectionsError\":\"The minimum required number of selections is \",\"maxSelectionsError\":\"The maximum number of selections allowed is \",\"pastDatesDisallowed\":\"Date must not be in the past.\",\"dateLimited\":\"This date is unavailable.\",\"dateInvalid\":\"This date is not valid. The date format is {format}\",\"dateInvalidSeparate\":\"This date is not valid. Enter a valid {element}.\",\"ageVerificationError\":\"You must be older than {minAge} years old to submit this form.\",\"multipleFileUploads_typeError\":\"{file} has invalid extension. Only {extensions} are allowed.\",\"multipleFileUploads_sizeError\":\"{file} is too large, maximum file size is {sizeLimit}.\",\"multipleFileUploads_minSizeError\":\"{file} is too small, minimum file size is {minSizeLimit}.\",\"multipleFileUploads_emptyError\":\"{file} is empty, please select files again without it.\",\"multipleFileUploads_uploadFailed\":\"File upload failed, please remove it and upload the file again.\",\"multipleFileUploads_onLeave\":\"The files are being uploaded, if you leave now the upload will be cancelled.\",\"multipleFileUploads_fileLimitError\":\"Only {fileLimit} file uploads allowed.\",\"dragAndDropFilesHere_infoMessage\":\"Drag and drop files here\",\"chooseAFile_infoMessage\":\"Choose a file\",\"maxFileSize_infoMessage\":\"Max. file size\",\"generalError\":\"There are errors on the form. Please fix them before continuing.\",\"generalPageError\":\"There are errors on this page. Please fix them before continuing.\",\"wordLimitError\":\"Too many words. The limit is\",\"wordMinLimitError\":\"Too few words.  The minimum is\",\"characterLimitError\":\"Too many Characters.  The limit is\",\"characterMinLimitError\":\"Too few characters. The minimum is\",\"ccInvalidNumber\":\"Credit Card Number is invalid.\",\"ccInvalidCVC\":\"CVC number is invalid.\",\"ccInvalidExpireDate\":\"Expire date is invalid.\",\"ccInvalidExpireMonth\":\"Expiration month is invalid.\",\"ccInvalidExpireYear\":\"Expiration year is invalid.\",\"ccMissingDetails\":\"Please fill up the credit card details.\",\"ccMissingProduct\":\"Please select at least one product.\",\"ccMissingDonation\":\"Please enter numeric values for donation amount.\",\"disallowDecimals\":\"Please enter a whole number.\",\"restrictedDomain\":\"This domain is not allowed\",\"ccDonationMinLimitError\":\"Minimum amount is {minAmount} {currency}\",\"requiredLegend\":\"All fields marked with * are required and must be filled.\",\"geoPermissionTitle\":\"Permission Denied\",\"geoPermissionDesc\":\"Check your browser's privacy settings.\",\"geoNotAvailableTitle\":\"Position Unavailable\",\"geoNotAvailableDesc\":\"Location provider not available. Please enter the address manually.\",\"geoTimeoutTitle\":\"Timeout\",\"geoTimeoutDesc\":\"Please check your internet connection and try again.\",\"selectedTime\":\"Selected Time\",\"formerSelectedTime\":\"Former Time\",\"cancelAppointment\":\"Cancel Appointment\",\"cancelSelection\":\"Cancel Selection\",\"noSlotsAvailable\":\"No slots available\",\"slotUnavailable\":\"{time} on {date} has been selected is unavailable. Please select another slot.\",\"multipleError\":\"There are {count} errors on this page. Please correct them before moving on.\",\"oneError\":\"There is {count} error on this page. Please correct it before moving on.\",\"doneMessage\":\"Well done! All errors are fixed.\",\"invalidTime\":\"Enter a valid time\",\"doneButton\":\"Done\",\"reviewSubmitText\":\"Review and Submit\",\"nextButtonText\":\"Next\",\"prevButtonText\":\"Previous\",\"seeErrorsButton\":\"See Errors\",\"notEnoughStock\":\"Not enough stock for the current selection\",\"notEnoughStock_remainedItems\":\"Not enough stock for the current selection ({count} items left)\",\"soldOut\":\"Sold Out\",\"justSoldOut\":\"Just Sold Out\",\"selectionSoldOut\":\"Selection Sold Out\",\"subProductItemsLeft\":\"({count} items left)\",\"startButtonText\":\"START\",\"submitButtonText\":\"Submit\",\"submissionLimit\":\"Sorry! Only one entry is allowed. Multiple submissions are disabled for this form.\",\"reviewBackText\":\"Back to Form\",\"seeAllText\":\"See All\",\"progressMiddleText\":\"of\",\"fieldError\":\"field has an error.\",\"error\":\"Error\"};\n\n var jsTime = setInterval(function(){try{\n   JotForm.jsForm = true;\n\tJotForm.replaceTagTest = true;\n\tJotForm.clearFieldOnHide=\"disable\";\n\tJotForm.submitError=\"jumpToFirstError\";\n\n\tJotForm.init(function(){\n\t\/*INIT-START*\/\n      JotForm.alterTexts(undefined, true);\n\t\/*INIT-END*\/\n\t});\n\n   clearInterval(jsTime);\n }catch(e){}}, 1000);\n\n   setTimeout(function() {\nJotForm.paymentExtrasOnTheFly([null,null,{\"name\":\"submit\",\"qid\":\"2\",\"text\":\"Submit\",\"type\":\"control_button\"},null,null,null,{\"name\":\"contactName\",\"qid\":\"6\",\"text\":\"Contact Name\",\"type\":\"control_fullname\"},null,{\"name\":\"email8\",\"qid\":\"8\",\"text\":\"E-mail\",\"type\":\"control_email\"},null,null,null,null,null,null,null,null,null,null,null,{\"description\":\"\",\"name\":\"input20\",\"qid\":\"20\",\"text\":\"\",\"type\":\"control_checkbox\"}]);}, 20); \n<\/script>\n<\/head>\n<body>\n<form class=\"jotform-form\" onsubmit=\"return typeof testSubmitFunction !== 'undefined' && testSubmitFunction();\" action=\"https:\/\/submit.jotform.com\/submit\/212414994250151\" method=\"post\" name=\"form_212414994250151\" id=\"212414994250151\" accept-charset=\"utf-8\" autocomplete=\"on\"><input type=\"hidden\" name=\"formID\" value=\"212414994250151\" \/><input type=\"hidden\" id=\"JWTContainer\" value=\"\" \/><input type=\"hidden\" id=\"cardinalOrderNumber\" value=\"\" \/><input type=\"hidden\" id=\"jsExecutionTracker\" name=\"jsExecutionTracker\" value=\"build-date-1713787156789\" \/><input type=\"hidden\" id=\"submitSource\" name=\"submitSource\" value=\"unknown\" \/><input type=\"hidden\" id=\"buildDate\" name=\"buildDate\" value=\"1713787156789\" \/>\n  <div role=\"main\" class=\"form-all\">\n    <ul class=\"form-section page-section\">\n      <li class=\"form-line jf-required\" data-type=\"control_email\" id=\"id_8\"><label class=\"form-label form-label-left form-label-auto\" id=\"label_8\" for=\"input_8\" aria-hidden=\"false\"> E-mail<span class=\"form-required\">*<\/span> <\/label>\n        <div id=\"cid_8\" class=\"form-input jf-required\"> <input type=\"email\" id=\"input_8\" name=\"q8_email8\" class=\"form-textbox validate[required, Email]\" data-defaultvalue=\"\" autoComplete=\"section-input_8 email\" size=\"30\" placeholder=\"ex: myname@example.com\" data-component=\"email\" aria-labelledby=\"label_8\" required=\"\" value=\"\" \/> <\/div>\n      <\/li>\n      <li class=\"form-line\" data-type=\"control_fullname\" id=\"id_6\"><label class=\"form-label form-label-left form-label-auto\" id=\"label_6\" for=\"first_6\" aria-hidden=\"false\"> Contact Name <\/label>\n        <div id=\"cid_6\" class=\"form-input\">\n          <div data-wrapper-react=\"true\"><span class=\"form-sub-label-container\" style=\"vertical-align:top\" data-input-type=\"first\"><input type=\"text\" id=\"first_6\" name=\"q6_contactName[first]\" class=\"form-textbox\" data-defaultvalue=\"\" autoComplete=\"section-input_6 given-name\" size=\"10\" data-component=\"first\" aria-labelledby=\"label_6 sublabel_6_first\" value=\"\" \/><label class=\"form-sub-label\" for=\"first_6\" id=\"sublabel_6_first\" style=\"min-height:13px\">First Name<\/label><\/span><span class=\"form-sub-label-container\" style=\"vertical-align:top\" data-input-type=\"last\"><input type=\"text\" id=\"last_6\" name=\"q6_contactName[last]\" class=\"form-textbox\" data-defaultvalue=\"\" autoComplete=\"section-input_6 family-name\" size=\"15\" data-component=\"last\" aria-labelledby=\"label_6 sublabel_6_last\" value=\"\" \/><label class=\"form-sub-label\" for=\"last_6\" id=\"sublabel_6_last\" style=\"min-height:13px\">Last Name<\/label><\/span><\/div>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" data-type=\"control_checkbox\" id=\"id_20\"><label class=\"form-label form-label-left form-label-auto\" id=\"label_20\" for=\"input_20_0\" aria-hidden=\"true\"> <\/label>\n        <div id=\"cid_20\" class=\"form-input\">\n          <div class=\"form-single-column\" role=\"group\" aria-labelledby=\"label_20\" data-component=\"checkbox\"><span class=\"form-checkbox-item\" style=\"clear:left\"><span class=\"dragger-item\"><\/span><input type=\"checkbox\" aria-describedby=\"label_20\" class=\"form-checkbox\" id=\"input_20_0\" name=\"q20_input20[]\" value=\"Please continue to send me emails from the SCLC\" \/><label id=\"label_input_20_0\" for=\"input_20_0\">Please continue to send me emails from the SCLC<\/label><\/span><\/div>\n        <\/div>\n      <\/li>\n      <li class=\"form-line\" data-type=\"control_button\" id=\"id_2\">\n        <div id=\"cid_2\" class=\"form-input-wide\">\n          <div data-align=\"auto\" class=\"form-buttons-wrapper form-buttons-auto   jsTest-button-wrapperField\"><button id=\"input_2\" type=\"submit\" class=\"form-submit-button submit-button jf-form-buttons jsTest-submitField\" data-component=\"button\" data-content=\"\">Submit<\/button><\/div>\n        <\/div>\n      <\/li>\n      <li style=\"display:none\">Should be Empty: <input type=\"text\" name=\"website\" value=\"\" type=\"hidden\" \/><\/li>\n    <\/ul>\n  <\/div>\n  <script>\n    JotForm.showJotFormPowered = \"0\";\n  <\/script>\n  <script>\n    JotForm.poweredByText = \"Powered by Jotform\";\n  <\/script><input type=\"hidden\" class=\"simple_spc\" id=\"simple_spc\" name=\"simple_spc\" value=\"212414994250151\" \/>\n  <script type=\"text\/javascript\">\n    var all_spc = document.querySelectorAll(\"form[id='212414994250151'] .si\" + \"mple\" + \"_spc\");\n    for (var i = 0; i < all_spc.length; i++)\n    {\n      all_spc[i].value = \"212414994250151-212414994250151\";\n    }\n  <\/script>\n<\/form><\/body>\n<\/html><script type=\"text\/javascript\">JotForm.isNewSACL=true;<\/script>","Constant Contact Form from Website",Array);var permittedDomains=[];try{var renderURLDomain=new URL("https://form.jotform.com/212414994250151").hostname;permittedDomains=[renderURLDomain];}catch(e){permittedDomains=['jotform.com','jotform.pro'];}
(function(){window.handleIFrameMessage=function(e){if(!e.data||!e.data.split)return;var args=e.data.split(":");if(args[2]!="212414994250151"){return;}
var iframe=document.getElementById("212414994250151");if(!iframe){return};switch(args[0]){case"scrollIntoView":if(!("nojump"in FrameBuilder.get)){iframe.scrollIntoView();}
break;case"setHeight":var height=args[1]+"px";if(window.jfDeviceType==='mobile'&&typeof $jot!=='undefined'){var parent=$jot(iframe).closest('.jt-feedback.u-responsive-lightbox');if(parent){height='100%';}}
iframe.style.height=height
break;case"setMinHeight":iframe.style.minHeight=args[1]+"px";break;case"collapseErrorPage":if(iframe.clientHeight>window.innerHeight){iframe.style.height=window.innerHeight+"px";}
break;case"reloadPage":if(iframe){location.reload();}
break;case"removeIframeOnloadAttr":iframe.removeAttribute("onload");break;case"loadScript":if(!window.isPermitted(e.origin,permittedDomains)){break;}
var src=args[1];if(args.length>3){src=args[1]+':'+args[2];}
var script=document.createElement('script');script.src=src;script.type='text/javascript';document.body.appendChild(script);break;case"exitFullscreen":if(window.document.exitFullscreen)window.document.exitFullscreen();else if(window.document.mozCancelFullScreen)window.document.mozCancelFullScreen();else if(window.document.mozCancelFullscreen)window.document.mozCancelFullScreen();else if(window.document.webkitExitFullscreen)window.document.webkitExitFullscreen();else if(window.document.msExitFullscreen)window.document.msExitFullscreen();break;case'setDeviceType':window.jfDeviceType=args[1];break;case"backgroundStyles":const backgroundStyles=new URLSearchParams(args[1]);backgroundStyles.forEach(function(value,key){iframe.style[key]=value;});var doc=iframe.contentDocument?iframe.contentDocument:(iframe.contentWindow.document||iframe.document);doc.documentElement.style.background='none';break;}
var isJotForm=window.isPermitted(e.origin,permittedDomains);if(isJotForm&&"contentWindow"in iframe&&"postMessage"in iframe.contentWindow){var urls={"docurl":encodeURIComponent(document.URL),"referrer":encodeURIComponent(document.referrer)};iframe.contentWindow.postMessage(JSON.stringify({"type":"urls","value":urls}),"*");}};window.isPermitted=function(originUrl,whitelisted_domains){var url=document.createElement('a');url.href=originUrl;var hostname=url.hostname;var result=false;if(typeof hostname!=='undefined'){whitelisted_domains.forEach(function(element){if(hostname.slice((-1*element.length-1))==='.'.concat(element)||hostname===element){result=true;}});return result;}};window.addEventListener("message",handleIFrameMessage,false);})();