/* growform client2 bundle.url: https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js resolve.source: kv resolve.at: 2025-12-08T05:07:49.969Z form.source: api cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "68f10bd0eee30df397fe1248"; var FORM_BUNDLE_URL = "https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"68f10bd0eee30df397fe1248","options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true},"continueButton":{"continueText":"Next step โžก๏ธ","submitText":"See My Results ๐Ÿ‘‰","backText":"Back"},"customStyles":{"width":{"unit":"px","value":580},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":1362,"imageInitialWidth":2066,"imageHeight":1362,"imageWidth":2066,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1597337140/uploads/qmsfk98ank3wfp1ehvyg.jpg"},"headerMarginTop":10,"parentBackgroundColor":"#f3f5fa","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#00a950","bodyTextColor":"#343434","parentContainerBackgroundType":"color","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ffa659","buttonBorderColorSelected":"#ff7500","footerMarginBottom":10,"errorColor":"#ff4e4e","buttonColor":"#ff7500","buttonTextColor":"#ffffff","inputLabelColor":"#a3a3a3","inputTextColor":"#000000","defaultFont":"Poppins","sq_buttonFont":"Poppins","sq_buttonFontSize":15,"showShadows":"Yes","sq_buttonTextColor":"#343434","sq_buttonColor":"#FFFFFF","sq_buttonColorSelected":"#FFFFFF","sq_buttonBorderColor":"#DADADA","sq_buttonBorderColorSelected":"primary","sq_buttonBannerColor":"#FFFFFF","rt_buttonFont":"Poppins","rt_buttonFontSize":15,"rt_buttonColor":"#FFFFFF","rt_buttonColorSelected":"#FFFFFF","rt_buttonTextColor":"#343434","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"primary","inputLabelFont":"Poppins","inputFontSize":16,"continueSubmitButtonFontSize":20,"fullModeBackgroundColor":"#ffffff","canvasSetup":"full"},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://expressbathnow.com/thank-you-lp/ ","conditionalLogic":{"ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"single_select_483906329908131","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]},{"sortOrder":2,"rules":[{"observedField":"single_select_772541785000148","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]}]}},{"url":"https://expressbathnow.com/thank-you-lp/ ","conditionalLogic":{"ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"single_select_483906329908131","operator":"selected_option","criteria":"ed40bcd0f4f684c758e02ebc"},{"observedField":"single_select_772541785000148","operator":"selected_option","criteria":"ed40bcd0f4f684c758e02ebc"}]}]}}],"logo":null,"footer":{"component":"decorativeParagraph","decorativeParagraph":{"value":"ยฉ Express Bath 2025"}},"analyticsSettings":{"facebook":{"pixelId":" 1109250479857003"}},"actionOnSubmit":"redirect","additionalInfo":null},"fields":{"Decorative Header_52363373085874":{"type":"Decorative Header","value":"โœ… FREE In-home consultation\n\nโœ… Waived Installation Costs + $250 Off Your Project!*\n","width":12,"step":"complete","sortOrder":2,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"fontWeight":"bold","textAlign":"left"},"margins":{"marginTop":20},"stepId":"complete","conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"single_select_483906329908131","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]},{"sortOrder":2,"rules":[{"observedField":"single_select_772541785000148","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]}]}},"Decorative Header_576559560634956":{"type":"Decorative Header","value":"Congrats, you are so close! ","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"bold"},"stepId":"ff4727c9498ef9c0a6c989d9","margins":{"marginBottom":5}},"Decorative_Paragraph_194067845817258":{"type":"Decorative Paragraph","value":"PLEASE NOTE: We will be calling you to confirm your appointment. If we can't confirm the appointment, it will be canceled. Please be on the lookout for a call ๐Ÿ˜","width":12,"step":"complete","sortOrder":3,"margins":{"marginBottom":60},"stepId":"complete","fieldStyle":{"fontSize":{"value":20,"unit":"px"},"fontWeight":"bold","color":"#ff0000","textAlign":"left"},"conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"single_select_483906329908131","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]},{"sortOrder":2,"rules":[{"observedField":"single_select_772541785000148","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]}]}},"decorative_header_46751409231390":{"type":"Decorative Header","value":"What Is Your Zipcode?","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"bold","fontFamily":"Poppins"},"stepId":"ac0ce1d8634334328d03ff33","margins":{"marginBottom":5}},"decorative_header_892646863007116":{"type":"Decorative Header","value":"What are you looking for?","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"bold"},"stepId":"60c2d61a66a74bcb70ce6e49","margins":{"marginBottom":5}},"buttons_88398974892131":{"type":"Buttons","validationRules":{"required":true},"label":"Shower or Bath","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Square","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes","sq_buttonsPerRow":"3"},"options":[{"text":"New Shower","id":"19e107acfc7bf3766f864053","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750170533/uploads/cwpzqgfkk9bdcm87qckn.jpg"},{"text":"New Bath","id":"f128cec6f719be80f3f37c26","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750170558/uploads/imuxrwuaxzxrklr2oanl.jpg"},{"text":"Full Remodel","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1759514031/uploads/lfozn36hbfzxdvyb76bw.jpg","id":"938248de9fa56c60e5780331"}],"stepId":"60c2d61a66a74bcb70ce6e49","sortOrder":3,"hideLabel":true,"imageStyles":{"size":"100%"}},"decorative_header_28397019218950":{"type":"Decorative Header","value":"We Service Your Area. Let's Be Friends!","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"bold"},"stepId":"bbfece76ebce9649b8e67fb7","margins":{"marginBottom":5}},"zipcode_544228805428774":{"type":"Zipcode","label":"What is your zip code?","zipcodeFieldFormat":"zipcode_usa","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":2},"decorative_header_139345893958425":{"type":"Decorative Header","value":"Click on an option below ๐Ÿ‘‡","width":12,"stepId":"60c2d61a66a74bcb70ce6e49","sortOrder":2,"fieldStyle":{"fontSize":{"value":18,"unit":"px"},"color":"#ff0000","fontWeight":"normal"}},"name_118675157108487":{"type":"Name","label":"Name","width":12,"hideLabel":true,"options":{"Firstname":{"value":null,"errorText":null,"validationRules":{"required":true}},"Lastname":{"value":null,"errorText":null,"validationRules":{"required":true}},"Prefix":{"value":null,"errorText":null}},"stepId":"bbfece76ebce9649b8e67fb7","sortOrder":2,"hidePrefix":true,"conditionalLogic":null},"decorative_header_109867397345212":{"type":"Decorative Header","value":"What's the best phone number to share your results to? ","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":2,"fieldStyle":{"fontSize":{"value":18,"unit":"px"},"color":"#ff0000","fontWeight":"normal"}},"decorative_image_988767819943240":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1760629243/uploads/bspgp0je4hfgesuzqf28.png","width":6,"imageWidth":855,"imageHeight":330,"imageInitialHeight":330,"imageInitialWidth":855,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":2,"location":"footer"},"decorative_image_350075729726469":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750172837/uploads/w9gnl8v4n0adfexbjhh1.jpg","width":6,"imageWidth":1650,"imageHeight":870,"imageInitialHeight":870,"imageInitialWidth":1650,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":3,"location":"footer"},"decorative_header_883948081954362":{"type":"Decorative Header","value":"Nice to meet you! What's your email address?","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"bold"},"stepId":"e13af02b5f6e1f151950f1c6","margins":{"marginBottom":5}},"email_967974886894806":{"type":"Email","label":"Email","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":3,"stepId":"e13af02b5f6e1f151950f1c6","conditionalLogic":null},"decorative_header_687311617251656":{"type":"Decorative Header","value":"We will send you program details to this email. ๐Ÿ ","width":12,"stepId":"e13af02b5f6e1f151950f1c6","sortOrder":2,"fieldStyle":{"fontSize":{"value":18,"unit":"px"},"color":"#ff0000","fontWeight":"normal"}},"decorative_image_686851378806616":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1760629230/uploads/d0nq7lactiipww4cal2n.png","width":6,"imageWidth":855,"imageHeight":330,"imageInitialHeight":330,"imageInitialWidth":855,"stepId":"e13af02b5f6e1f151950f1c6","sortOrder":1,"location":"footer"},"decorative_image_602511239680986":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750172837/uploads/w9gnl8v4n0adfexbjhh1.jpg","width":6,"imageWidth":1650,"imageHeight":870,"imageInitialHeight":870,"imageInitialWidth":1650,"stepId":"e13af02b5f6e1f151950f1c6","sortOrder":2,"location":"footer"},"decorative_header_67628772436520":{"type":"Decorative Header","value":"Don't worry, we respect your privacy and will never send you an unwanted call or text ๐Ÿ˜Š","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":3,"fieldStyle":{"fontWeight":"normal","color":"#000000","fontSize":{"value":14,"unit":"px"}}},"phone_678556395746436":{"type":"Phone","label":"Phone Number","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":4,"conditionalLogic":null},"decorative_paragraph_856125264016007":{"type":"Decorative Paragraph","value":"๐Ÿ”’ Your information is secure","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":1,"location":"footer","fieldStyle":{"fontWeight":"bold"}},"decorative_paragraph_831739041844820":{"type":"Decorative Paragraph","value":"๐Ÿ‘ By clicking \"See My Results\" and submitting this form, (i) I agree Renew Home Innovations can use automated technology to call or text my phone number (provided above) or email me for marketing purposes and I may revoke this consent at any time, and (ii) I agree to the TERMS & CONDITIONS/PRIVACY POLICY, I understand that my authorization to receive calls, texts and emails via automated technology is not a condition of purchasing of any goods or services. Text message frequency varies. Msg & data rates may apply. Reply STOP to cancel. Reply HELP for assistance","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":4,"location":"footer","fieldStyle":{"fontSize":{"value":8,"unit":"px"},"textAlign":"left"}},"decorative_header_662574621439344":{"type":"Decorative Header","value":"Wait! Answer The Next 2 Questions To Book Your FREE In-Home Bath Estimate Now.","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":24,"unit":"px"},"fontWeight":"bold","color":"#ff0000"},"stepId":"f7545cd5b4ca410e1b15ae38","margins":{"marginBottom":5},"conditionalLogic":null},"decorative_header_18742718200480":{"type":"Decorative Header","value":"What is your address?","width":12,"stepId":"f7545cd5b4ca410e1b15ae38","sortOrder":2,"fieldStyle":{"fontSize":{"value":24,"unit":"px"},"color":"#000000","fontWeight":"bold"}},"decorative_header_664956520435111":{"type":"Decorative Header","value":"๐Ÿ“","width":12,"stepId":"f7545cd5b4ca410e1b15ae38","sortOrder":3,"fieldStyle":{"fontWeight":"normal","color":"#000000","fontSize":{"value":40,"unit":"px"}}},"address_668084878285861":{"type":"Address","label":"Address","width":12,"stepId":"f7545cd5b4ca410e1b15ae38","sortOrder":4,"validationRules":{"required":true}},"decorative_header_913338933727776":{"type":"Decorative Header","value":"Thank You! We have received your submission.","width":12,"stepId":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":28,"unit":"px"}},"conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"single_select_483906329908131","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]},{"sortOrder":2,"rules":[{"observedField":"single_select_772541785000148","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]}]}},"decorative_header_92444578338108":{"type":"Decorative Header","value":"โœ… FREE In-home consultation\n\nโœ… Waived Installation Costs + $250 Off Your Project!*\n","width":12,"stepId":"137cfc50ae4e7eba24b9c46f","sortOrder":2,"fieldStyle":{"textAlign":"left","fontSize":{"value":20,"unit":"px"}}},"decorative_header_797374351498337":{"type":"Decorative Header","value":"Request Your Appointment Time Below โฌ‡๏ธ","width":12,"stepId":"137cfc50ae4e7eba24b9c46f","sortOrder":1,"fieldStyle":{"fontSize":{"value":24,"unit":"px"},"textAlign":"left"}},"decorative_paragraph_742353658168938":{"type":"Decorative Paragraph","value":"โš ๏ธ After requesting an appointment, weโ€™ll contact you to confirm. Please watch for a call or text.","width":12,"stepId":"137cfc50ae4e7eba24b9c46f","sortOrder":3,"fieldStyle":{"color":"#247fff"}},"decorative_header_268411631071539":{"type":"Decorative Header","value":"

Are you a homeowner?

","width":12,"v":2,"sortOrder":1,"stepId":"392897d0f3d81bd7e9d4bc49"},"single_select_483906329908131":{"type":"Single Select","width":12,"label":"Are you a homeowner?","options":[{"text":"Yes","id":"0c24259caaa4404a4f341790"},{"text":"No","id":"ed40bcd0f4f684c758e02ebc"}],"helperText":null,"stepId":"392897d0f3d81bd7e9d4bc49","sortOrder":2,"hideLabel":false,"validationRules":{"required":true}},"decorative_header_84737175045363":{"type":"Decorative Header","value":"

Is this a single family home?

","width":12,"v":2,"sortOrder":1,"stepId":"d7d5570f1b5a08f56e0836d1"},"single_select_772541785000148":{"type":"Single Select","width":12,"label":"Is this a single family home?","options":[{"text":"Yes","id":"0c24259caaa4404a4f341790"},{"text":"No","id":"ed40bcd0f4f684c758e02ebc"}],"helperText":null,"stepId":"d7d5570f1b5a08f56e0836d1","sortOrder":2,"hideLabel":false,"validationRules":{"required":true}},"decorative_header_161572006560096":{"type":"Decorative Header","value":"

Sorry, we work exclusively with homeowners since most home improvement projects require permission from the property owner. If your situation changes in the future, feel free to reach out again. Weโ€™d love to help when the time is right!

","width":12,"v":2,"sortOrder":1,"stepId":"4924e5559ac6e4104802e88a"},"decorative_header_764619588354509":{"type":"Decorative Header","value":"

Sorry, we work exclusively with single-family homeowners. If your situation changes in the future, feel free to reach out again. Weโ€™d love to help when the time is right!

","width":12,"v":2,"sortOrder":1,"stepId":"3b4345de483be7db15a0352c"},"decorative_text_829498453714823":{"type":"Decorative Text","value":"

You May Now Exit the Form

","fieldStyle":{"fontSize":{"value":19,"unit":"px"}},"width":12,"v":2,"stepId":"complete","sortOrder":4,"conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"single_select_483906329908131","operator":"selected_option","criteria":"ed40bcd0f4f684c758e02ebc"},{"observedField":"single_select_772541785000148","operator":"selected_option","criteria":"ed40bcd0f4f684c758e02ebc"}]}]}},"checkboxes_829194543405549":{"type":"Checkboxes","label":"What time of day do you prefer to be contacted?","width":"12","options":[{"text":"Morning","id":"5fcc892604787506ceb5e093"},{"text":"Afternoon","id":"68acd10df45f27607f7c604a"},{"text":"Evening","id":"3b0005ac469b16a7511da33c"}],"stepId":"137cfc50ae4e7eba24b9c46f","sortOrder":4,"validationRules":{"required":true}},"date_207686399571305":{"type":"Date","label":"Calendar","width":12,"disablePast":true,"stepId":"137cfc50ae4e7eba24b9c46f","sortOrder":5,"validationRules":{"required":true}}},"ownedByUser":"6851707dbd68c4000c912fda","formName":"EB Bath Special Leadpage Form","personalisation":{"form_related_to":"Bathroom remodelling"},"lastEdited":"2025-10-16T15:47:19.053Z","created":"2025-10-16T15:14:24.801Z","steps":[{"id":"ac0ce1d8634334328d03ff33","name":"ZIPCODE","sortOrder":1,"copyOf":"8d53a2591d86a402dbecf0d3"},{"id":"60c2d61a66a74bcb70ce6e49","name":"WHAT ARE YOU LOOKING FOR","sortOrder":2,"copyOf":"acd45227cac332d443c4e1db"},{"id":"392897d0f3d81bd7e9d4bc49","name":"ARE YOU A HOMEOWNER?","sortOrder":3},{"id":"4924e5559ac6e4104802e88a","name":"NOT HOMEOWNER - SORRY","sortOrder":4,"conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"single_select_483906329908131","operator":"selected_option","criteria":"ed40bcd0f4f684c758e02ebc"}]}]}},{"id":"d7d5570f1b5a08f56e0836d1","name":"IS THIS A SINGLE FAMILY HOME?","sortOrder":5,"copyOf":"392897d0f3d81bd7e9d4bc49","conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"single_select_483906329908131","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]}]}},{"id":"3b4345de483be7db15a0352c","name":"NOT SINGLE FAMILY - SORRY","sortOrder":6,"copyOf":"4924e5559ac6e4104802e88a","conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"single_select_772541785000148","operator":"selected_option","criteria":"ed40bcd0f4f684c758e02ebc"}]}]}},{"id":"bbfece76ebce9649b8e67fb7","name":"NAME","sortOrder":7,"copyOf":"60c2d61a66a74bcb70ce6e49","conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"single_select_483906329908131","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]},{"sortOrder":2,"rules":[{"observedField":"single_select_772541785000148","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]}]}},{"id":"e13af02b5f6e1f151950f1c6","name":"EMAIL","sortOrder":8,"copyOf":"ff4727c9498ef9c0a6c989d9","conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"single_select_483906329908131","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]},{"sortOrder":2,"rules":[{"observedField":"single_select_772541785000148","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]}]}},{"id":"ff4727c9498ef9c0a6c989d9","name":"PHONE","sortOrder":9,"conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"single_select_483906329908131","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]},{"sortOrder":2,"rules":[{"observedField":"single_select_772541785000148","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]}]}},{"id":"f7545cd5b4ca410e1b15ae38","name":"ADDRESS","sortOrder":10,"copyOf":"ff4727c9498ef9c0a6c989d9","conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"single_select_483906329908131","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]},{"sortOrder":2,"rules":[{"observedField":"single_select_772541785000148","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]}]}},{"id":"137cfc50ae4e7eba24b9c46f","name":"CALENDAR","sortOrder":11,"conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"single_select_483906329908131","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]},{"sortOrder":2,"rules":[{"observedField":"single_select_772541785000148","operator":"selected_option","criteria":"0c24259caaa4404a4f341790"}]}]}}],"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1760629318/growform-production/form-screenshots/68f10bd0eee30df397fe1248.png","leadsCount":3,"isActive":true,"__v":0,"reportedSpam":false,"spamOcr":"What Is Your Zipcode?\nWhat is your zip code?\nNEXT STEP โ†’\nยฉExpress Bath 2025 What Is Your Zipcode ? What is your zip code ? NEXT STEP โ†’ ยฉ Express Bath 2025"},"accountIsActive":true,"accountIsFreeTrial":false}}; // ---- Utils ---- function safeJSONStringify(obj) { return JSON.stringify(obj) .replace(/<\/(script|style)/gi, '<\\/$1') .replace(//g, '--\\>') .replace(/\u2028/g, '\\u2028') .replace(/\u2029/g, '\\u2029'); } function preloadScript(href) { try { if (!href) return; if (document.querySelector('link[rel="preload"][href="' + href + '"]')) return; var l = document.createElement("link"); l.rel = "preload"; l.as = "script"; l.href = href; l.crossOrigin = ""; // allow cache reuse in iframe document.head.appendChild(l); } catch (_) {} } function parseQuery() { var out = {}; try { if (!window.location.search) return out; var usp = new URLSearchParams(window.location.search); usp.forEach(function (v, k) { out[k] = v; }); } catch (_) {} return out; } function buildIframeHTML(opts) { var html = '\n' + '\n' + '\n' + ' \n' + ' \n' + ' \n' + '\n' + '\n' + ' \n' + '
\n' + '