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("202245417422042");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/202245417422042${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 i202245417422042=new FrameBuilder("202245417422042",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%2F202245417422042\" 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%2F202245417422042\" title=\"oEmbed Form\">\n<meta property=\"og:title\" content=\"What are your biggest concerns about distance learning?\" >\n<meta property=\"og:url\" content=\"https:\/\/form.jotform.com\/202245417422042\" >\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\/202245417422042\" \/>\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>What are your biggest concerns about distance learning?<\/title>\n<link type=\"text\/css\" rel=\"stylesheet\" href=\"https:\/\/cdn01.jotfor.ms\/stylebuilder\/static\/form-common.css?v=7d9697a\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:\/\/cdn02.jotfor.ms\/themes\/CSS\/5e6b428acc8c4e222d1beb91.css?v=3.3.54225&themeRevisionID=5f30e2a790832f3e96009402\"\/>\n<link type=\"text\/css\" rel=\"stylesheet\" href=\"https:\/\/cdn03.jotfor.ms\/css\/styles\/payment\/payment_styles.css?3.3.54225\" \/>\n<link type=\"text\/css\" rel=\"stylesheet\" href=\"https:\/\/cdn01.jotfor.ms\/css\/styles\/payment\/payment_feature.css?3.3.54225\" \/>\n<script src=\"https:\/\/cdn02.jotfor.ms\/static\/prototype.forms.js?v=3.3.54225\" type=\"text\/javascript\"><\/script>\n<script src=\"https:\/\/cdn03.jotfor.ms\/static\/jotform.forms.js?v=3.3.54225\" type=\"text\/javascript\"><\/script>\n<script src=\"https:\/\/cdn01.jotfor.ms\/js\/punycode-1.4.1.min.js?v=3.3.54225\" type=\"text\/javascript\" defer><\/script>\n<script src=\"https:\/\/cdn02.jotfor.ms\/js\/vendor\/maskedinput_5.0.9.min.js?v=3.3.54225\" type=\"text\/javascript\"><\/script>\n<script src=\"https:\/\/cdn03.jotfor.ms\/js\/vendor\/smoothscroll.min.js?v=3.3.54225\" type=\"text\/javascript\"><\/script>\n<script src=\"https:\/\/cdn01.jotfor.ms\/js\/errorNavigation.js?v=3.3.54225\" type=\"text\/javascript\"><\/script>\n<script type=\"text\/javascript\">\tJotForm.newDefaultTheme = true;\n\tJotForm.extendsNewTheme = false;\n\tJotForm.singleProduct = false;\n\tJotForm.newPaymentUIForNewCreatedForms = true;\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\tJotForm.newPaymentUI = true;\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*\/\nif (window.JotForm && JotForm.accessible) $('input_3').setAttribute('tabindex',0);\nif (window.JotForm && JotForm.accessible) $('input_8').setAttribute('tabindex',0);\n      JotForm.setPhoneMaskingValidator( 'input_7_full', '\\u0028\\u0023\\u0023\\u0023\\u0029 \\u0023\\u0023\\u0023\\u002d\\u0023\\u0023\\u0023\\u0023' );\n      JotForm.alterTexts(undefined);\n\t\/*INIT-END*\/\n\t});\n\n   clearInterval(jsTime);\n }catch(e){}}, 1000);\n\n   setTimeout(function() {\nJotForm.paymentExtrasOnTheFly([null,null,{\"name\":\"submit2\",\"qid\":\"2\",\"text\":\"Submit\",\"type\":\"control_button\"},{\"description\":\"\",\"name\":\"asYour\",\"qid\":\"3\",\"subLabel\":\"\",\"text\":\"As your child begins school from home, what are your biggest concerns for online learning?\",\"type\":\"control_textbox\"},null,{\"description\":\"\",\"name\":\"name\",\"qid\":\"5\",\"text\":\"Name\",\"type\":\"control_fullname\"},{\"description\":\"\",\"name\":\"email\",\"qid\":\"6\",\"subLabel\":\"example@example.com\",\"text\":\"Email\",\"type\":\"control_email\"},{\"description\":\"\",\"name\":\"phoneNumber\",\"qid\":\"7\",\"text\":\"Phone Number\",\"type\":\"control_phone\"},{\"description\":\"\",\"name\":\"whatHelp\",\"qid\":\"8\",\"subLabel\":\"\",\"text\":\"What help do you or your child need?\",\"type\":\"control_textbox\"}]);}, 20); \n<\/script>\n<\/head>\n<body>\n<form class=\"jotform-form\" onsubmit=\"return typeof testSubmitFunction !== 'undefined' && testSubmitFunction();\" action=\"https:\/\/submit.jotform.com\/submit\/202245417422042\" method=\"post\" name=\"form_202245417422042\" id=\"202245417422042\" accept-charset=\"utf-8\" autocomplete=\"on\"><input type=\"hidden\" name=\"formID\" value=\"202245417422042\" \/><input type=\"hidden\" id=\"JWTContainer\" value=\"\" \/><input type=\"hidden\" id=\"cardinalOrderNumber\" value=\"\" \/><input type=\"hidden\" id=\"jsExecutionTracker\" name=\"jsExecutionTracker\" value=\"build-date-1716495892757\" \/><input type=\"hidden\" id=\"submitSource\" name=\"submitSource\" value=\"unknown\" \/><input type=\"hidden\" id=\"buildDate\" name=\"buildDate\" value=\"1716495892757\" \/>\n  <div role=\"main\" class=\"form-all\">\n    <ul class=\"form-section page-section\">\n      <li class=\"form-line jf-required\" data-type=\"control_textbox\" id=\"id_3\"><label class=\"form-label form-label-top form-label-auto\" id=\"label_3\" for=\"input_3\" aria-hidden=\"false\"> As your child begins school from home, what are your biggest concerns for online learning?<span class=\"form-required\">*<\/span> <\/label>\n        <div id=\"cid_3\" class=\"form-input-wide jf-required\" data-layout=\"half\"> <input type=\"text\" id=\"input_3\" name=\"q3_asYour\" data-type=\"input-textbox\" class=\"form-textbox validate[required]\" data-defaultvalue=\"\" style=\"width:310px\" size=\"310\" data-component=\"textbox\" aria-labelledby=\"label_3\" required=\"\" value=\"\" \/> <\/div>\n      <\/li>\n      <li class=\"form-line\" data-type=\"control_textbox\" id=\"id_8\"><label class=\"form-label form-label-top form-label-auto\" id=\"label_8\" for=\"input_8\" aria-hidden=\"false\"> What help do you or your child need? <\/label>\n        <div id=\"cid_8\" class=\"form-input-wide\" data-layout=\"half\"> <input type=\"text\" id=\"input_8\" name=\"q8_whatHelp\" data-type=\"input-textbox\" class=\"form-textbox\" data-defaultvalue=\"\" style=\"width:310px\" size=\"310\" data-component=\"textbox\" aria-labelledby=\"label_8\" value=\"\" \/> <\/div>\n      <\/li>\n      <li class=\"form-line jf-required\" data-type=\"control_fullname\" id=\"id_5\"><label class=\"form-label form-label-top form-label-auto\" id=\"label_5\" for=\"first_5\" aria-hidden=\"false\"> Name<span class=\"form-required\">*<\/span> <\/label>\n        <div id=\"cid_5\" class=\"form-input-wide jf-required\" data-layout=\"full\">\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_5\" name=\"q5_name[first]\" class=\"form-textbox validate[required]\" data-defaultvalue=\"\" autoComplete=\"section-input_5 given-name\" size=\"10\" data-component=\"first\" aria-labelledby=\"label_5 sublabel_5_first\" required=\"\" value=\"\" \/><label class=\"form-sub-label\" for=\"first_5\" id=\"sublabel_5_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_5\" name=\"q5_name[last]\" class=\"form-textbox validate[required]\" data-defaultvalue=\"\" autoComplete=\"section-input_5 family-name\" size=\"15\" data-component=\"last\" aria-labelledby=\"label_5 sublabel_5_last\" required=\"\" value=\"\" \/><label class=\"form-sub-label\" for=\"last_5\" id=\"sublabel_5_last\" style=\"min-height:13px\">Last Name<\/label><\/span><\/div>\n        <\/div>\n      <\/li>\n      <li class=\"form-line jf-required\" data-type=\"control_email\" id=\"id_6\"><label class=\"form-label form-label-top form-label-auto\" id=\"label_6\" for=\"input_6\" aria-hidden=\"false\"> Email<span class=\"form-required\">*<\/span> <\/label>\n        <div id=\"cid_6\" class=\"form-input-wide jf-required\" data-layout=\"half\"> <span class=\"form-sub-label-container\" style=\"vertical-align:top\"><input type=\"email\" id=\"input_6\" name=\"q6_email\" class=\"form-textbox validate[required, Email]\" data-defaultvalue=\"\" autoComplete=\"section-input_6 email\" style=\"width:310px\" size=\"310\" data-component=\"email\" aria-labelledby=\"label_6 sublabel_input_6\" required=\"\" value=\"\" \/><label class=\"form-sub-label\" for=\"input_6\" id=\"sublabel_input_6\" style=\"min-height:13px\">example@example.com<\/label><\/span> <\/div>\n      <\/li>\n      <li class=\"form-line\" data-type=\"control_phone\" id=\"id_7\"><label class=\"form-label form-label-top form-label-auto\" id=\"label_7\" for=\"input_7_full\"> Phone Number <\/label>\n        <div id=\"cid_7\" class=\"form-input-wide\" data-layout=\"half\"> <span class=\"form-sub-label-container\" style=\"vertical-align:top\"><input type=\"tel\" id=\"input_7_full\" name=\"q7_phoneNumber[full]\" data-type=\"mask-number\" class=\"mask-phone-number form-textbox validate[Fill Mask]\" data-defaultvalue=\"\" autoComplete=\"section-input_7 tel-national\" style=\"width:310px\" data-masked=\"true\" placeholder=\"(000) 000-0000\" data-component=\"phone\" aria-labelledby=\"label_7 sublabel_7_masked\" value=\"\" \/><label class=\"form-sub-label\" for=\"input_7_full\" id=\"sublabel_7_masked\" style=\"min-height:13px\">Please enter a valid phone number.<\/label><\/span> <\/div>\n      <\/li>\n      <li class=\"form-line\" data-type=\"control_button\" id=\"id_2\">\n        <div id=\"cid_2\" class=\"form-input-wide\" data-layout=\"full\">\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 = \"old_footer\";\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=\"202245417422042\" \/>\n  <script type=\"text\/javascript\">\n    var all_spc = document.querySelectorAll(\"form[id='202245417422042'] .si\" + \"mple\" + \"_spc\");\n    for (var i = 0; i < all_spc.length; i++)\n    {\n      all_spc[i].value = \"202245417422042-202245417422042\";\n    }\n  <\/script>\n<\/form><\/body>\n<\/html><script type=\"text\/javascript\">JotForm.isNewSACL=true;<\/script>","What are your biggest concerns about distance learning?",Array);var permittedDomains=[];try{var renderURLDomain=new URL("https://form.jotform.com/202245417422042").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]!="202245417422042"){return;}
var iframe=document.getElementById("202245417422042");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);})();