').replace(/\s*<\/p>/g,""),children:JSON.parse((null===(r=t.querySelector("children"))||void 0===r?void 0:r.innerHTML)||"{}")})})),at.setSessionData(JSON.stringify(this.data[e.key]),e.key),[2]}}))}))})),[4,Promise.all(e)]);case 1:return r.sent(),[2,this.data]}}))}))},e}(),ct=function(){function e(e){this.RSS=e,this.createTriggerButton(),this.createFlyOut()}return e.prototype.getTriggerButtonID=function(){return"whats-new-rss-btn-".concat(this.RSS.getID())},e.prototype.getFlyoutID=function(){return"whats-new-rss-flyout-".concat(this.RSS.getID())},e.prototype.getFlyoutCloseBtnID=function(){return"whats-new-rss-flyout-close-".concat(this.RSS.getID())},e.prototype.getFlyoutMultiFeedNavID=function(){return"whats-new-rss-flyout-multi-feed-nav-".concat(this.RSS.getID())},e.prototype.setIsLoading=function(e){void 0===e&&(e=!1);var t=document.getElementById(this.getFlyoutID());e?t.classList.add("is-loading"):t.classList.remove("is-loading")},e.prototype.setNotification=function(e){var t=document.querySelector("#".concat(this.getTriggerButtonID()," .whats-new-rss-notification-badge"));e?(this.RSS.isMultiFeedRSS()?(t.innerHTML="",t.classList.add("is-multi-feed")):t.innerHTML=e>9?"9+":e.toString(),t.classList.remove("hide")):t.classList.add("hide")},e.prototype.createTriggerButton=function(){var e,t=this.RSS.getArgs().triggerButton.label;e=t?"\n\t\t\t".concat(this.RSS.getArgs().triggerButton.beforeBtn,'\n\t\t\t\n\t\t\t").concat(this.RSS.getArgs().triggerButton.afterBtn,"\n\t\t\t"):"\n\t\t\t".concat(this.RSS.getArgs().triggerButton.beforeBtn,'\n\t\t\t\n\t\t\t').concat(this.RSS.getArgs().triggerButton.afterBtn,"\n\t\t\t"),this.RSS.getElement().innerHTML+=e},e.prototype.createFlyOut=function(){var e=["whats-new-rss-flyout","closed"];this.RSS.getArgs().flyout.className&&e.push(this.RSS.getArgs().flyout.className);var t=[];this.RSS.isMultiFeedRSS()&&(t.push('"));var r=document.createElement("div");r.setAttribute("id",this.getFlyoutID()),r.setAttribute("class",e.join(" ")),r.setAttribute("role","dialog"),r.innerHTML='\n\t\t
\n\n\t\t\n\t\t'),document.body.appendChild(r)},e.prototype.setMultiFeedTabNotificationCount=function(e,t){void 0===t&&(t=0);var r=document.querySelector("#".concat(this.getFlyoutMultiFeedNavID(),' button[data-feed-key="').concat(e,'"]'));if(r){var n=r.querySelector(".new-notification-count");if(t){var o=t>9?"9+":t;n.innerHTML=o.toString()}else n.innerHTML=""}},e.prototype.innerContentWrapper=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r="");var n=["whats-new-rss-flyout-inner-content-item"];return t&&n.push("rss-new-post"),r&&n.push(r),'\n\t\t\n\t\t\t').concat(t?'New ✨':"","\n\t\t\t").concat(e,"\n\t\t
\n\t\t")},e.prototype.createExcerpt=function(e,t,r){var n=r.wordLimit,o=r.moreSymbol,s=r.readMore;if(!n)return e;var a=e.replace(/<[^>]*>/g,"").split(/\s+/),i=a.slice(0,n).join(" ");return o&&(i+=o),n>a.length?e:t&&(null==s?void 0:s.label)?"".concat(i,' ').concat(s.label,"
"):"".concat(i,"
")},e.prototype.listChildrenPosts=function(e){var t=this,r=Object.values(e);if(!r.length)return"";var n=document.createElement("details"),o=document.createElement("summary"),s=document.createElement("div");return r.forEach((function(e){var r=(new DOMParser).parseFromString(e.post_content,"text/html"),n=document.createElement("div");n.classList.add("sub-version-item"),n.innerHTML='\n\t\t\t\t\n\t\t\t\t').concat(r.documentElement.textContent,"
\n\t\t\t"),s.appendChild(n)})),o.innerHTML='See More
See Less
',n.appendChild(o),n.appendChild(s),s.classList.add("sub-version-items-wrapper"),n.classList.add("whats-new-rss-sub-version-details"),n.outerHTML},e.prototype.formatDate=function(e){if("function"==typeof this.RSS.getArgs().flyout.formatDate)return this.RSS.getArgs().flyout.formatDate(e);var t=new Date,r=e.getTime(),n=t.getTime()-r,o=36e5,s=24*o,a=7*s,i=30*s;if(n<6e4)return"Just now";if(n1?"s":""," ago")}if(n1?"s":""," ago")}if(n1?"s":""," ago")}if(n1?"s":""," ago")}var f=Math.floor(n/i);return"".concat(f," month").concat(f>1?"s":""," ago")},e}();function lt(){return ut.apply(this,arguments)}function ut(){return(ut=et(Ke().mark((function e(){return Ke().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",'.whats-new-rss-is-active{overflow:hidden}.whats-new-rss-trigger-button{display:flex;align-items:center;position:relative;width:auto;padding:5px;cursor:pointer}.whats-new-rss-trigger-button.has-label{align-items:end;gap:10px}.whats-new-rss-trigger-button.has-label .icon-badge{position:relative;line-height:1}.whats-new-rss-trigger-button.has-label .icon-badge .whats-new-rss-notification-badge{top:-12px;right:-10px}.whats-new-rss-trigger-button .whats-new-rss-notification-badge{position:absolute;top:-8px;right:-5px;width:20px;font-size:10px;line-height:20px;text-align:center;border-radius:10px;color:#fff;background:red;transition:transform .2s ease-in-out}.whats-new-rss-trigger-button .whats-new-rss-notification-badge.is-multi-feed{top:-2px;right:-2px;font-size:0;width:10px;height:10px}.whats-new-rss-trigger-button .whats-new-rss-notification-badge.hide{display:none}.whats-new-rss-trigger-button:hover .whats-new-rss-notification-badge{transform:scale(1.2)}.whats-new-rss-flyout{position:fixed;top:0;right:0;bottom:0;width:100%;z-index:99999;transition:visibility .3s ease-in-out;font-family:Arial,Helvetica,sans-serif}.whats-new-rss-flyout .lightbox-trigger,.whats-new-rss-flyout.hidden{display:none}.whats-new-rss-flyout.is-loading .whats-new-rss-flyout-inner-header__loading-icon{display:block;margin:auto}.whats-new-rss-flyout.is-loading .whats-new-rss-flyout-inner-header__loading-icon svg{display:block;background:0 0;width:25px;height:25px}.whats-new-rss-flyout .whats-new-rss-flyout-contents{position:fixed;display:flex;right:0;width:30%;height:100%;flex-direction:column;background-color:#fff;transition:transform .3s ease-in-out;z-index:9999}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 16px 24px;border-bottom:1px solid #ccc}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header button{border:none;background:0 0;font-size:30px;cursor:pointer;color:#94a3b8;padding:0;margin:0;box-shadow:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header .whats-new-rss-flyout-inner-header__title-icon-wrapper{display:flex;gap:10px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header .whats-new-rss-flyout-inner-header__title-icon-wrapper h3{margin:0;padding:0;color:#0f172a;font-weight:600;font-size:16px;line-height:24px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav{display:flex;padding:0 30px;border-bottom:1px solid #ccc;gap:2em;overflow:auto;white-space:nowrap}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button{position:relative;background:0 0;color:inherit;padding:15px 0;border-bottom:2px solid transparent}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button:focus,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button:hover{border-color:inherit}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button.selected{border-color:#5d5d5d}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button .new-notification-count{position:absolute;top:0;right:-10px;width:20px;font-size:10px;line-height:20px;text-align:center;border-radius:10px;color:#fff;background:red}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content{flex:1;overflow-y:auto}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .skeleton-container{margin:30px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item{border-bottom:1px solid #d8dfe9;padding:30px 24px;color:#475569;font-weight:400;font-size:14px;line-height:20px;display:flex;flex-direction:column;gap:13px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item>*{margin:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.skeleton-row{height:25vh;margin:40px 0;background:linear-gradient(90deg,#eee 25%,#ddd 50%,#eee 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.rss-new-post{position:relative}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.rss-new-post .new-post-badge{background:#ff3d3d;border-radius:5px;position:absolute;right:45px;padding:0 5px;color:#fff}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header{display:flex;flex-direction:column;gap:15px;padding:0 0 8px 0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header p{color:#94a3b8;margin:0;padding:0;font-weight:600;font-size:14px;line-height:16px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header h2{margin:0;color:#0f172a;font-weight:700;line-height:28px;font-size:20px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h2{font-weight:700;font-size:18px;line-height:24px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h3{font-weight:700;font-size:16px;line-height:22px;margin-top:12px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h4{font-weight:700;font-size:15px;line-height:20px;margin-top:12px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h5{font-weight:700;font-size:14px;line-height:18px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h6{font-weight:700;font-size:13px;line-height:16px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item p{padding:0;font-size:14px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item p:last-child{margin-bottom:0;padding-bottom:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item a{color:#1170ff;text-decoration:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure{margin:10px 0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure.wp-block-embed.is-type-video{position:relative;width:100%;height:0;padding-bottom:56.25%}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item img{box-sizing:border-box;height:auto;max-width:100%;vertical-align:bottom}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item video{vertical-align:middle;width:100%}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item strong{font-weight:600}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul{padding-inline-start:20px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol li,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul li{margin-bottom:5px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul{list-style-type:disc}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol{list-style-type:decimal}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details{line-height:20px;font-size:.9em;margin:10px 0;background:#f9fafb}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary{display:flex;justify-content:space-between;cursor:pointer;padding:20px 15px;height:1em;line-height:20px;font-weight:800}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary::after{content:"⌃";font-size:20px;transform:rotateX(180deg);font-weight:800}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary .text-see-more{display:block}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary .text-see-less{display:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary{border-bottom:1px solid #e2e8f0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary::after{transform:rotateX(45deg)}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary .text-see-more{display:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary .text-see-less{display:block}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item{position:relative;padding:1em;border-bottom:1px solid #e2e8f0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item .sub-version-header{display:flex;justify-content:space-between}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item .sub-version-content{margin-top:1em}.whats-new-rss-flyout .whats-new-rss-flyout-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.5);transition:all .3s ease-in-out}.whats-new-rss-flyout.closed{visibility:hidden}.whats-new-rss-flyout.closed .whats-new-rss-flyout-overlay{opacity:0;visibility:hidden}.whats-new-rss-flyout.closed .whats-new-rss-flyout-contents{transform:translateX(100%)}.whats-new-rss-flyout .whats-new-rss-flyout-inner-header__loading-icon{display:none}@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}@media screen and (max-width:1024px){.whats-new-rss-flyout .whats-new-rss-flyout-contents{width:40%}}@media screen and (max-width:768px){.whats-new-rss-flyout .whats-new-rss-flyout-contents{width:85%}}');case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function dt(){return(dt=et(Ke().mark((function e(){var t,r;return Ke().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t="whats-new-rss-styles",document.getElementById(t)){e.next=8;break}return(r=document.createElement("style")).id=t,e.next=6,lt();case 6:r.innerHTML=e.sent,document.head.appendChild(r);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}const ft=function(e){var t,r=e.selector,o=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},s=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,Ze),s=(0,n.useRef)(null);return(0,n.useEffect)((function(){var e;return function(){dt.apply(this,arguments)}(),s.current||(s.current=(e=function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&srfm_admin.breadcrumbs.map((function(e,t){return Te(Ue,{key:t,href:e.link},e.title)}))))),Te("div",{css:Le(gt||(gt=$t(["\n\t\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\t\tgap: 15px;\n\t\t\t\t\t\t"])))},Te("article",{css:Le(vt||(vt=$t(["\n\t\t\t\t\t\t\t\tcolor: #94a3b8;\n\t\t\t\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\t\t\tline-height: 20px;\n\t\t\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\t\t"])))}," ",null===(r=srfm_admin)||void 0===r?void 0:r.plugin_version,Te("span",{css:Le(bt||(bt=$t(["\n\t\t\t\t\t\t\t\t\tpadding: 2px 5px 3px 6px;\n\t\t\t\t\t\t\t\t\tborder-radius: 4px;\n\t\t\t\t\t\t\t\t\tborder: 1px solid #e2e8f0;\n\t\t\t\t\t\t\t\t\tmargin-left: 12px;\n\t\t\t\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t\t\t\t\tline-height: 11px;\n\t\t\t\t\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\t\t\t\t"])))},(0,Ve.__)("Core","sureforms"))),(null===(n=srfm_admin)||void 0===n?void 0:n.is_pro_active)&&Te(React.Fragment,null,Te("div",{css:Le(wt||(wt=$t(["\n\t\t\t\t\t\t\t\t\t\twidth: 1px;\n\t\t\t\t\t\t\t\t\t\tbackground: #e2e8f0;\n\t\t\t\t\t\t\t\t\t\theight: 20px;\n\t\t\t\t\t\t\t\t\t"])))}),Te("article",{css:Le(_t||(_t=$t(["\n\t\t\t\t\t\t\t\t\t\tcolor: #94a3b8;\n\t\t\t\t\t\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t\t\t\t\t\tline-height: 20px;\n\t\t\t\t\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\t\t\t\t"])))}," ",null===(o=srfm_admin)||void 0===o?void 0:o.pro_plugin_version,Te("span",{css:Le(xt||(xt=$t(["\n\t\t\t\t\t\t\t\t\t\t\tbackground-color: #0F172A;\n\t\t\t\t\t\t\t\t\t\t\tcolor: #ffffff;\n\t\t\t\t\t\t\t\t\t\t\tpadding: 2px 5px 3px 6px;\n\t\t\t\t\t\t\t\t\t\t\tborder-radius: 4px;\n\t\t\t\t\t\t\t\t\t\t\tborder: 1px solid #0F172A;\n\t\t\t\t\t\t\t\t\t\t\tmargin-left: 12px;\n\t\t\t\t\t\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t\t\t\t\t\t\tline-height: 11px;\n\t\t\t\t\t\t\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\t\t\t\t\t\t"])))},null===(s=srfm_admin)||void 0===s?void 0:s.pro_plugin_name.split(" ")[1])),Te("div",{css:Le(Et||(Et=$t(["\n\t\t\t\t\t\t\t\t\t\twidth: 1px;\n\t\t\t\t\t\t\t\t\t\tbackground: #e2e8f0;\n\t\t\t\t\t\t\t\t\t\theight: 20px;\n\t\t\t\t\t\t\t\t\t"])))}),Te("article",{css:Le(kt||(kt=$t(["\n\t\t\t\t\t\t\t\t\t\tcolor: ",";\n\t\t\t\t\t\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\t\t\t\t\tline-height: 20px;\n\t\t\t\t\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\t\t\t\t"])),u?"#16A34A":"#DC2626")}," ",u?(0,Ve.__)("Licensed","sureforms"):Te(React.Fragment,null,Te("span",{css:Le(Ct||(Ct=$t(["\n\t\t\t\t\t\t\t\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\t\t\t\t\t\t\t"]))),onClick:function(){var e;"sureforms_form_settings"===f?null===(e=document.querySelector('a[href*="tab=account-settings"].srfm-settings-sidebar-category'))||void 0===e||e.click():window.location.href="".concat(srfm_admin.site_url,"/wp-admin/admin.php?page=sureforms_form_settings&tab=account-settings")}},(0,Ve.__)("Unlicensed","sureforms"))))),Te("div",{css:Le(St||(St=$t(["\n\t\t\t\t\t\t\t\twidth: 1px;\n\t\t\t\t\t\t\t\tbackground: #e2e8f0;\n\t\t\t\t\t\t\t\theight: 20px;\n\t\t\t\t\t\t\t"])))}),Te("div",{id:"srfm_whats_new"})))))};var jt,Lt=function(){return React.createElement(Be.Fragment,null,React.createElement(je,{styles:Le(jt||(e=["\n\t\t\t\t\t:root {\n\t\t\t\t\t\t--sc-color-primary-500: var( --sc-color-brand-primary );\n\t\t\t\t\t\t--sc-focus-ring-color-primary: var(\n\t\t\t\t\t\t\t--sc-color-brand-primary\n\t\t\t\t\t\t);\n\t\t\t\t\t\t--sc-input-border-color-focus: var(\n\t\t\t\t\t\t\t--sc-color-brand-primary\n\t\t\t\t\t\t);\n\t\t\t\t\t\t--dashboard-heading: #1e293b;\n\t\t\t\t\t\t--dashboard-text: #64748b;\n\t\t\t\t\t\toverflow-x: hidden;\n\t\t\t\t\t}\n\t\t\t\t\t@media screen and ( max-width: 782px ) {\n\t\t\t\t\t\t#wpbody {\n\t\t\t\t\t\t\tpadding-top: 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t.auto-fold #wpcontent {\n\t\t\t\t\t\t\tpadding-left: 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t#srfm-form-page-header {\n\t\t\t\t\t\t\tpadding-top: 46px;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t"],t||(t=e.slice(0)),jt=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))))}),React.createElement(Tt,null));var e,t};const Pt=Lt;var Nt;Nt=document.getElementById("srfm-page-header"),document.addEventListener("DOMContentLoaded",(function(){null!==Nt&&(0,Be.render)(React.createElement(Lt,null),Nt)}))},9960:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},8679:(e,t,r)=>{"use strict";var n=r(1296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function c(e){return n.isMemo(e)?a:i[e.$$typeof]||o}i[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[n.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(m){var o=p(r);o&&o!==m&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var i=c(t),h=c(r),y=0;y{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,i=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case s:case i:case a:case p:return e;default:switch(e=e&&e.$$typeof){case l:case f:case y:case h:case c:return e;default:return t}}case o:return t}}}function x(e){return _(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=f,t.Fragment=s,t.Lazy=y,t.Memo=h,t.Portal=o,t.Profiler=i,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||_(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return _(e)===l},t.isContextProvider=function(e){return _(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return _(e)===f},t.isFragment=function(e){return _(e)===s},t.isLazy=function(e){return _(e)===y},t.isMemo=function(e){return _(e)===h},t.isPortal=function(e){return _(e)===o},t.isProfiler=function(e){return _(e)===i},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===d||e===i||e===a||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===h||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=_},1296:(e,t,r)=>{"use strict";e.exports=r(6103)},885:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{})},8276:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="html",n="head",o="body",s=/<([a-zA-Z]+[0-9]?)/,a=//i,i=//i,c=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},l=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},u="object"==typeof window&&window.DOMParser;if("function"==typeof u){var d=new u;c=l=function(e,t){return t&&(e="<".concat(t,">").concat(e,"").concat(t,">")),d.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var f=document.implementation.createHTMLDocument();c=function(e,t){if(t){var r=f.documentElement.querySelector(t);return r&&(r.innerHTML=e),f}return f.documentElement.innerHTML=e,f}}var p,m="object"==typeof document&&document.createElement("template");m&&m.content&&(p=function(e){return m.innerHTML=e,m.content.childNodes}),t.default=function(e){var t,u,d=e.match(s),f=d&&d[1]?d[1].toLowerCase():"";switch(f){case r:var m=l(e);return a.test(e)||null===(t=null==(y=m.querySelector(n))?void 0:y.parentNode)||void 0===t||t.removeChild(y),i.test(e)||null===(u=null==(y=m.querySelector(o))?void 0:y.parentNode)||void 0===u||u.removeChild(y),m.querySelectorAll(r);case n:case o:var h=c(e).querySelectorAll(f);return i.test(e)&&a.test(e)?h[0].parentNode.childNodes:h;default:return p?p(e):(y=c(e,o).querySelector(o)).childNodes;var y}}},4152:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(8276)),s=r(1507),a=/<(![a-zA-Z\s]+)>/;t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(a),r=t?t[1]:void 0;return(0,s.formatDOM)((0,o.default)(e),null,r)}},1507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatDOM=t.formatAttributes=void 0;var n=r(4584),o=r(885);function s(e){for(var t={},r=0,n=e.length;r0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(i);t.NodeWithChildren=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=p;var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=m;var h=function(e){function t(t,r,n,o){void 0===n&&(n=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var s=e.call(this,n)||this;return s.name=t,s.attribs=r,s.type=o,s}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(f);function y(e){return(0,a.isTag)(e)}function g(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function _(e){return e.type===a.ElementType.Root}function x(e,t){var r;if(void 0===t&&(t=!1),v(e))r=new l(e.data);else if(b(e))r=new u(e.data);else if(y(e)){var n=t?E(e.children):[],o=new h(e.name,s({},e.attribs),n);n.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=s({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=s({},e["x-attribsPrefix"])),r=o}else if(g(e)){n=t?E(e.children):[];var a=new p(n);n.forEach((function(e){return e.parent=a})),r=a}else if(_(e)){n=t?E(e.children):[];var i=new m(n);n.forEach((function(e){return e.parent=i})),e["x-mode"]&&(i["x-mode"]=e["x-mode"]),r=i}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new d(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function E(e){for(var t=e.map((function(e){return x(e,!0)})),r=1;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5726),o=r(4606),s=["checked","value"],a=["input","select","textarea"],i={reset:!0,submit:!0};function c(e){return n.possibleStandardNames[e]}t.default=function(e,t){void 0===e&&(e={});var r={},l=Boolean(e.type&&i[e.type]);for(var u in e){var d=e[u];if((0,n.isCustomAttribute)(u))r[u]=d;else{var f=u.toLowerCase(),p=c(f);if(p){var m=(0,n.getPropertyInfo)(p);switch(s.includes(p)&&a.includes(t)&&!l&&(p=c("default"+f)),r[p]=d,m&&m.type){case n.BOOLEAN:r[p]=!0;break;case n.OVERLOADED_BOOLEAN:""===d&&(r[p]=!0)}}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(r[u]=d)}}return(0,o.setStyleProp)(e.style,r),r}},3670:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(9196),s=n(r(484)),a=r(4606),i={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement};function c(e){return a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,a.isCustomComponent)(e.name,e.attribs)}t.default=function e(t,r){for(var n=[],o="function"==typeof(null==r?void 0:r.replace),l=(null==r?void 0:r.transform)||a.returnFirstArg,u=(null==r?void 0:r.library)||i,d=u.cloneElement,f=u.createElement,p=u.isValidElement,m=t.length,h=0;h1&&(g=d(g,{key:g.key||h})),n.push(l(g,y,h));continue}}if("text"!==y.type){var v=y,b={};c(v)?((0,a.setStyleProp)(v.attribs.style,v.attribs),b=v.attribs):v.attribs&&(b=(0,s.default)(v.attribs,v.name));var w=void 0;switch(y.type){case"script":case"style":y.children[0]&&(b.dangerouslySetInnerHTML={__html:y.children[0].data});break;case"tag":"textarea"===y.name&&y.children[0]?b.defaultValue=y.children[0].data:y.children&&y.children.length&&(w=e(y.children,r));break;default:continue}m>1&&(b.key=h),n.push(l(f(y.name,b,w),y,h))}else{var _=!y.data.trim().length;if(_&&y.parent&&!(0,a.canTextBeChildOfNode)(y.parent))continue;if((null==r?void 0:r.trim)&&_)continue;n.push(l(y.data,y,h))}}return 1===n.length?n[0]:n}},3426:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0;var o=n(r(4152));t.htmlToDOM=o.default;var s=n(r(484));t.attributesToProps=s.default;var a=n(r(3670));t.domToReact=a.default;var i=r(7384);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return i.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return i.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return i.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return i.Text}});var c={lowerCaseAttributeNames:!1};t.default=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return e?(0,a.default)((0,o.default)(e,(null==t?void 0:t.htmlparser2)||c),t):[]}},4606:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=t.setStyleProp=t.isCustomComponent=void 0;var o=r(9196),s=n(r(1476)),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);t.isCustomComponent=function(e,t){return e.includes("-")?!a.has(e):Boolean(t&&"string"==typeof t.is)};var i={reactCompat:!0};t.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,s.default)(e,i)}catch(e){t.style={}}else t.style={}},t.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},7384:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var s=r(9960),a=r(5079);o(r(5079),t);var i={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,r){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=i),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:i,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?s.ElementType.Tag:void 0,n=new a.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===s.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===s.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new a.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},5079:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(i);t.NodeWithChildren=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=p;var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=m;var h=function(e){function t(t,r,n,o){void 0===n&&(n=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var s=e.call(this,n)||this;return s.name=t,s.attribs=r,s.type=o,s}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(f);function y(e){return(0,a.isTag)(e)}function g(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function _(e){return e.type===a.ElementType.Root}function x(e,t){var r;if(void 0===t&&(t=!1),v(e))r=new l(e.data);else if(b(e))r=new u(e.data);else if(y(e)){var n=t?E(e.children):[],o=new h(e.name,s({},e.attribs),n);n.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=s({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=s({},e["x-attribsPrefix"])),r=o}else if(g(e)){n=t?E(e.children):[];var a=new p(n);n.forEach((function(e){return e.parent=a})),r=a}else if(_(e)){n=t?E(e.children):[];var i=new m(n);n.forEach((function(e){return e.parent=i})),e["x-mode"]&&(i["x-mode"]=e["x-mode"]),r=i}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new d(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function E(e){for(var t=e.map((function(e){return x(e,!0)})),r=1;r{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,i=/^[;\s]*/,c=/^\s+|\s+$/g,l="";function u(e){return e?e.replace(c,l):l}e.exports=function(e,c){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];c=c||{};var d=1,f=1;function p(e){var t=e.match(r);t&&(d+=t.length);var n=e.lastIndexOf("\n");f=~n?e.length-n:f+e.length}function m(){var e={line:d,column:f};return function(t){return t.position=new h(e),b(),t}}function h(e){this.start=e,this.end={line:d,column:f},this.source=c.source}h.prototype.content=e;var y=[];function g(t){var r=new Error(c.source+":"+d+":"+f+": "+t);if(r.reason=t,r.filename=c.source,r.line=d,r.column=f,r.source=e,!c.silent)throw r;y.push(r)}function v(t){var r=t.exec(e);if(r){var n=r[0];return p(n),e=e.slice(n.length),r}}function b(){v(n)}function w(e){var t;for(e=e||[];t=_();)!1!==t&&e.push(t);return e}function _(){var t=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;l!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,l===e.charAt(r-1))return g("End of comment missing");var n=e.slice(2,r-2);return f+=2,p(n),e=e.slice(r),f+=2,t({type:"comment",comment:n})}}function x(){var e=m(),r=v(o);if(r){if(_(),!v(s))return g("property missing ':'");var n=v(a),c=e({type:"declaration",property:u(r[0].replace(t,l)),value:n?u(n[0].replace(t,l)):l});return v(i),c}}return b(),function(){var e,t=[];for(w(t);e=x();)!1!==e&&(t.push(e),w(t));return t}()}},5726:(e,t,r)=>{"use strict";const n=2,o=3,s=4;function a(e,t,r,a,i,c,l){this.acceptsBooleans=t===n||t===o||t===s,this.attributeName=a,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=c,this.removeEmptyString=l}const i={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{i[e]=new a(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((([e,t])=>{i[e]=new a(e,1,!1,t,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{i[e]=new a(e,n,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{i[e]=new a(e,n,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((e=>{i[e]=new a(e,o,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{i[e]=new a(e,o,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{i[e]=new a(e,s,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{i[e]=new a(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{i[e]=new a(e,5,!1,e.toLowerCase(),null,!1,!1)}));const c=/[\-\:]([a-z])/g,l=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((e=>{const t=e.replace(c,l);i[t]=new a(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(c,l);i[t]=new a(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(c,l);i[t]=new a(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{i[e]=new a(e,1,!1,e.toLowerCase(),null,!1,!1)})),i.xlinkHref=new a("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{i[e]=new a(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:u,SAME:d,possibleStandardNames:f}=r(8229),p=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),m=Object.keys(f).reduce(((e,t)=>{const r=f[t];return r===d?e[t]=t:r===u?e[t.toLowerCase()]=t:e[t]=r,e}),{});t.BOOLEAN=o,t.BOOLEANISH_STRING=n,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=s,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return i.hasOwnProperty(e)?i[e]:null},t.isCustomAttribute=p,t.possibleStandardNames=m},8229:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},1476:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(5174)),s=r(6678);t.default=function(e,t){var r={};return e&&"string"==typeof e?((0,o.default)(e,(function(e,n){e&&n&&(r[(0,s.camelCase)(e,t)]=n)})),r):r}},6678:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var r=/^--[a-zA-Z0-9-]+$/,n=/-([a-z])/g,o=/^[^-]+$/,s=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,i=function(e,t){return t.toUpperCase()},c=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||r.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,c):e.replace(s,c)).replace(n,i))}},5174:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(8139));t.default=function(e,t){var r=null;if(!e||"string"!=typeof e)return r;var n=(0,o.default)(e),s="function"==typeof t;return n.forEach((function(e){if("declaration"===e.type){var n=e.property,o=e.value;s?t(n,o,e):o&&((r=r||{})[n]=o)}})),r}},9196:e=>{"use strict";e.exports=window.React},9307:e=>{"use strict";e.exports=window.wp.element},5736:e=>{"use strict";e.exports=window.wp.i18n}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var s=n[e]={exports:{}};return r[e].call(s.exports,s,s.exports,o),s.exports}o.m=r,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,r)=>(o.f[r](e,t),t)),[])),o.u=e=>e+".js",o.miniCssF=e=>{},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="sureforms:",o.l=(r,n,s,a)=>{if(e[r])e[r].push(n);else{var i,c;if(void 0!==s)for(var l=document.getElementsByTagName("script"),u=0;u{i.onerror=i.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),t)return t(n)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),c&&document.head.appendChild(i)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var t=o.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!e;)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),(()=>{var e={571:0,292:0};o.f.j=(t,r)=>{var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var s=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=s);var a=o.p+o.u(t),i=new Error;o.l(a,(r=>{if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var s=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+s+": "+a+")",i.name="ChunkLoadError",i.type=s,i.request=a,n[1](i)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,s,[a,i,c]=r,l=0;if(a.some((t=>0!==e[t]))){for(n in i)o.o(i,n)&&(o.m[n]=i[n]);c&&c(o)}for(t&&t(r);l{"use strict";var e,t,r=o(9307),n=o(9196),s=o.n(n);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}var p;function m(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function h(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function y(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function g(e,t,r,n){let o;void 0===n&&(n=!1),"string"==typeof e?o=f(e):(o=a({},e),c(!o.pathname||!o.pathname.includes("?"),h("?","pathname","search",o)),c(!o.pathname||!o.pathname.includes("#"),h("#","pathname","hash",o)),c(!o.search||!o.search.includes("#"),h("#","search","hash",o)));let s,i=""===e||""===o.pathname,l=i?"/":o.pathname;if(n||null==l)s=r;else{let e=t.length-1;if(l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}s=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:o=""}="string"==typeof e?f(e):e,s=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:s,search:b(n),hash:w(o)}}(o,s),d=l&&"/"!==l&&l.endsWith("/"),p=(i||"."===l)&&r.endsWith("/");return u.pathname.endsWith("/")||!d&&!p||(u.pathname+="/"),u}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(p||(p={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const v=e=>e.join("/").replace(/\/\/+/g,"/"),b=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",w=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class _ extends Error{}const x=["post","put","patch","delete"],E=(new Set(x),["get",...x]);function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t{r.current=!0})),n.useCallback((function(n,o){void 0===o&&(o={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,k({fromRouteId:t},o)))}),[e,t])}():function(){O()||c(!1);let{basename:e,navigator:t}=n.useContext(S),{matches:r}=n.useContext(R),{pathname:o}=T(),s=JSON.stringify(y(r).map((e=>e.pathnameBase))),a=n.useRef(!1);return j((()=>{a.current=!0})),n.useCallback((function(r,n){if(void 0===n&&(n={}),!a.current)return;if("number"==typeof r)return void t.go(r);let i=g(r,JSON.parse(s),o,"path"===n.relative);"/"!==e&&(i.pathname="/"===i.pathname?e:v([e,i.pathname])),(n.replace?t.replace:t.push)(i,n.state,n)}),[e,t,s,o])}()}function P(e,t){let{relative:r}=void 0===t?{}:t,{matches:o}=n.useContext(R),{pathname:s}=T(),a=JSON.stringify(y(o).map((e=>e.pathnameBase)));return n.useMemo((()=>g(e,JSON.parse(a),s,"path"===r)),[e,a,s,r])}class N extends n.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?n.createElement(R.Provider,{value:this.props.routeContext},n.createElement(RouteErrorContext.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}var I,A,M;function D(t){let{basename:r="/",children:o=null,location:s,navigationType:a=e.Pop,navigator:i,static:l=!1}=t;O()&&c(!1);let u=r.replace(/^\/*/,"/"),d=n.useMemo((()=>({basename:u,navigator:i,static:l})),[u,i,l]);"string"==typeof s&&(s=f(s));let{pathname:p="/",search:h="",hash:y="",state:g=null,key:v="default"}=s,b=n.useMemo((()=>{let e=m(p,u);return null==e?null:{location:{pathname:e,search:h,hash:y,state:g,key:v},navigationType:a}}),[u,p,h,y,g,v,a]);return null==b?null:n.createElement(S.Provider,{value:d},n.createElement($.Provider,{children:o,value:b}))}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"}(I||(I={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"}(A||(A={})),function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(M||(M={})),new Promise((()=>{}));class F extends n.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error(" caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:r}=this.props,o=null,s=M.pending;if(r instanceof Promise)if(this.state.error){M.error;let e=this.state.error;Promise.reject().catch((()=>{})),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_error",{get:()=>e})}else r._tracked?void 0!==o._error?M.error:void 0!==o._data?M.success:M.pending:(M.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),r.then((e=>Object.defineProperty(r,"_data",{get:()=>e})),(e=>Object.defineProperty(r,"_error",{get:()=>e}))));else M.success,Promise.resolve(),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_data",{get:()=>r});if(s===M.error&&o._error instanceof _)throw neverSettledPromise;if(s===M.error&&!t)throw o._error;if(s===M.error)return n.createElement(AwaitContext.Provider,{value:o,children:t});if(s===M.success)return n.createElement(AwaitContext.Provider,{value:o,children:e});throw o}}function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.removeEventListener(i,v),h=null}},createHref:e=>r(s,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(t,r){m=e.Push;let o=u(w.location,t,r);n&&n(o,t),y=g()+1;let a=l(o,y),i=w.createHref(o);try{p.pushState(a,"",i)}catch(e){s.location.assign(i)}f&&h&&h({action:m,location:w.location,delta:1})},replace:function(t,r){m=e.Replace;let o=u(w.location,t,r);n&&n(o,t),y=g();let s=l(o,y),a=w.createHref(o);p.replaceState(s,"",a),f&&h&&h({action:m,location:w.location,delta:0})},go:e=>p.go(e)};return w}((function(e,t){let{pathname:r,search:n,hash:o}=e.location;return u("",{pathname:r,search:n,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:d(t)}),null,p)));let m=f.current,[h,y]=n.useState({action:m.action,location:m.location});return n.useLayoutEffect((()=>m.listen(y)),[m]),n.createElement(D,{basename:r,children:o,location:h.location,navigationType:h.action,navigator:m})}const H="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,B=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,V=n.forwardRef((function(e,t){let r,{onClick:o,relative:s,reloadDocument:a,replace:i,state:l,target:u,to:f,preventScrollReset:p}=e,h=function(e,t){if(null==e)return{};var r,n,o={},s=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,q),{basename:y}=n.useContext(S),g=!1;if("string"==typeof f&&B.test(f)&&(r=f,H))try{let e=new URL(window.location.href),t=f.startsWith("//")?new URL(e.protocol+f):new URL(f),r=m(t.pathname,y);t.origin===e.origin&&null!=r?f=r+t.search+t.hash:g=!0}catch(e){}let b=function(e,t){let{relative:r}=void 0===t?{}:t;O()||c(!1);let{basename:o,navigator:s}=n.useContext(S),{hash:a,pathname:i,search:l}=P(e,{relative:r}),u=i;return"/"!==o&&(u="/"===i?o:v([o,i])),s.createHref({pathname:u,search:l,hash:a})}(f,{relative:s}),w=function(e,t){let{target:r,replace:o,state:s,preventScrollReset:a,relative:i}=void 0===t?{}:t,c=L(),l=T(),u=P(e,{relative:i});return n.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,r)){t.preventDefault();let r=void 0!==o?o:d(l)===d(u);c(e,{replace:r,state:s,preventScrollReset:a,relative:i})}}),[l,c,u,o,s,r,e,a,i])}(f,{replace:i,state:l,target:u,preventScrollReset:p,relative:s});return n.createElement("a",z({},h,{href:r||b,onClick:g||a?o:function(e){o&&o(e),e.defaultPrevented||w(e)},ref:t,target:u}))}));var G,W;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(G||(G={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(W||(W={}));var Z=o(9108),K=o(5736),X=o(3426);const Y=X.default||X,J=JSON.parse("{\"yw\":\"\"}"),Q=window.wp.hooks;var ee={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},te=s().createContext&&s().createContext(ee),re=function(){return re=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||xe,ke=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Ce=/\/\*[^]*?\*\/| +/g,Se=/\n+/g,$e=(e,t)=>{let r="",n="",o="";for(let s in e){let a=e[s];"@"==s[0]?"i"==s[1]?r=s+" "+a+";":n+="f"==s[1]?$e(a,s):s+"{"+$e(a,"k"==s[1]?"":t)+"}":"object"==typeof a?n+=$e(a,t?t.replace(/([^,])+/g,(e=>s.replace(/(^:.*)|([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):s):null!=a&&(s=/^--/.test(s)?s:s.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=$e.p?$e.p(s,a):s+":"+a+";")}return r+(t&&o?t+"{"+o+"}":o)+n},Re={},Oe=e=>{if("object"==typeof e){let t="";for(let r in e)t+=r+Oe(e[r]);return t}return e},Te=(e,t,r,n,o)=>{let s=Oe(e),a=Re[s]||(Re[s]=(e=>{let t=0,r=11;for(;t>>0;return"go"+r})(s));if(!Re[a]){let t=s!==e?e:(e=>{let t,r,n=[{}];for(;t=ke.exec(e.replace(Ce,""));)t[4]?n.shift():t[3]?(r=t[3].replace(Se," ").trim(),n.unshift(n[0][r]=n[0][r]||{})):n[0][t[1]]=t[2].replace(Se," ").trim();return n[0]})(e);Re[a]=$e(o?{["@keyframes "+a]:t}:t,r?"":"."+a)}let i=r&&Re.g?Re.g:null;return r&&(Re.g=Re[a]),((e,t,r,n)=>{n?t.data=t.data.replace(n,e):-1===t.data.indexOf(e)&&(t.data=r?e+t.data:t.data+e)})(Re[a],t,n,i),a},je=(e,t,r)=>e.reduce(((e,n,o)=>{let s=t[o];if(s&&s.call){let e=s(r),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;s=t?"."+t:e&&"object"==typeof e?e.props?"":$e(e,""):!1===e?"":e}return e+n+(null==s?"":s)}),"");function Le(e){let t=this||{},r=e.call?e(t.p):e;return Te(r.unshift?r.raw?je(r,[].slice.call(arguments,1),t.p):r.reduce(((e,r)=>Object.assign(e,r&&r.call?r(t.p):r)),{}):r,Ee(t.target),t.g,t.o,t.k)}Le.bind({g:1});let Pe,Ne,Ie,Ae=Le.bind({k:1});function Me(e,t){let r=this||{};return function(){let n=arguments;function o(s,a){let i=Object.assign({},s),c=i.className||o.className;r.p=Object.assign({theme:Ne&&Ne()},i),r.o=/ *go\d+/.test(c),i.className=Le.apply(r,n)+(c?" "+c:""),t&&(i.ref=a);let l=e;return e[0]&&(l=i.as||e,delete i.as),Ie&&l[0]&&Ie(i),Pe(l,i)}return t?t(o):o}}var De=(e,t)=>(e=>"function"==typeof e)(e)?e(t):e,Fe=(()=>{let e=0;return()=>(++e).toString()})(),ze=(()=>{let e;return()=>{if(void 0===e&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),qe=new Map,Ue=e=>{if(qe.has(e))return;let t=setTimeout((()=>{qe.delete(e),Ge({type:4,toastId:e})}),1e3);qe.set(e,t)},He=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,20)};case 1:return t.toast.id&&(e=>{let t=qe.get(e);t&&clearTimeout(t)})(t.toast.id),{...e,toasts:e.toasts.map((e=>e.id===t.toast.id?{...e,...t.toast}:e))};case 2:let{toast:r}=t;return e.toasts.find((e=>e.id===r.id))?He(e,{type:1,toast:r}):He(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?Ue(n):e.toasts.forEach((e=>{Ue(e.id)})),{...e,toasts:e.toasts.map((e=>e.id===n||void 0===n?{...e,visible:!1}:e))};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter((e=>e.id!==t.toastId))};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map((e=>({...e,pauseDuration:e.pauseDuration+o})))}}},Be=[],Ve={toasts:[],pausedAt:void 0},Ge=e=>{Ve=He(Ve,e),Be.forEach((e=>{e(Ve)}))},We={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Ze=e=>(t,r)=>{let n=((e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(null==r?void 0:r.id)||Fe()}))(t,e,r);return Ge({type:2,toast:n}),n.id},Ke=(e,t)=>Ze("blank")(e,t);Ke.error=Ze("error"),Ke.success=Ze("success"),Ke.loading=Ze("loading"),Ke.custom=Ze("custom"),Ke.dismiss=e=>{Ge({type:3,toastId:e})},Ke.remove=e=>Ge({type:4,toastId:e}),Ke.promise=(e,t,r)=>{let n=Ke.loading(t.loading,{...r,...null==r?void 0:r.loading});return e.then((e=>(Ke.success(De(t.success,e),{id:n,...r,...null==r?void 0:r.success}),e))).catch((e=>{Ke.error(De(t.error,e),{id:n,...r,...null==r?void 0:r.error})})),e};var Xe,Ye=(e,t)=>{Ge({type:1,toast:{id:e,height:t}})},Je=()=>{Ge({type:5,time:Date.now()})},Qe=Ae`
from {
transform: scale(0) rotate(45deg);
opacity: 0;
}
to {
transform: scale(1) rotate(45deg);
opacity: 1;
}`,et=Ae`
from {
transform: scale(0);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}`,tt=Ae`
from {
transform: scale(0) rotate(90deg);
opacity: 0;
}
to {
transform: scale(1) rotate(90deg);
opacity: 1;
}`,rt=Me("div")`
width: 20px;
opacity: 0;
height: 20px;
border-radius: 10px;
background: ${e=>e.primary||"#ff4b4b"};
position: relative;
transform: rotate(45deg);
animation: ${Qe} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
forwards;
animation-delay: 100ms;
&:after,
&:before {
content: '';
animation: ${et} 0.15s ease-out forwards;
animation-delay: 150ms;
position: absolute;
border-radius: 3px;
opacity: 0;
background: ${e=>e.secondary||"#fff"};
bottom: 9px;
left: 4px;
height: 2px;
width: 12px;
}
&:before {
animation: ${tt} 0.15s ease-out forwards;
animation-delay: 180ms;
transform: rotate(90deg);
}
`,nt=Ae`
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
`,ot=Me("div")`
width: 12px;
height: 12px;
box-sizing: border-box;
border: 2px solid;
border-radius: 100%;
border-color: ${e=>e.secondary||"#e0e0e0"};
border-right-color: ${e=>e.primary||"#616161"};
animation: ${nt} 1s linear infinite;
`,st=Ae`
from {
transform: scale(0) rotate(45deg);
opacity: 0;
}
to {
transform: scale(1) rotate(45deg);
opacity: 1;
}`,at=Ae`
0% {
height: 0;
width: 0;
opacity: 0;
}
40% {
height: 0;
width: 6px;
opacity: 1;
}
100% {
opacity: 1;
height: 10px;
}`,it=Me("div")`
width: 20px;
opacity: 0;
height: 20px;
border-radius: 10px;
background: ${e=>e.primary||"#61d345"};
position: relative;
transform: rotate(45deg);
animation: ${st} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
forwards;
animation-delay: 100ms;
&:after {
content: '';
box-sizing: border-box;
animation: ${at} 0.2s ease-out forwards;
opacity: 0;
animation-delay: 200ms;
position: absolute;
border-right: 2px solid;
border-bottom: 2px solid;
border-color: ${e=>e.secondary||"#fff"};
bottom: 6px;
left: 6px;
height: 10px;
width: 6px;
}
`,ct=Me("div")`
position: absolute;
`,lt=Me("div")`
position: relative;
display: flex;
justify-content: center;
align-items: center;
min-width: 20px;
min-height: 20px;
`,ut=Ae`
from {
transform: scale(0.6);
opacity: 0.4;
}
to {
transform: scale(1);
opacity: 1;
}`,dt=Me("div")`
position: relative;
transform: scale(0.6);
opacity: 0.4;
min-width: 20px;
animation: ${ut} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
forwards;
`,ft=({toast:e})=>{let{icon:t,type:r,iconTheme:o}=e;return void 0!==t?"string"==typeof t?n.createElement(dt,null,t):t:"blank"===r?null:n.createElement(lt,null,n.createElement(ot,{...o}),"loading"!==r&&n.createElement(ct,null,"error"===r?n.createElement(rt,{...o}):n.createElement(it,{...o})))},pt=e=>`\n0% {transform: translate3d(0,${-200*e}%,0) scale(.6); opacity:.5;}\n100% {transform: translate3d(0,0,0) scale(1); opacity:1;}\n`,mt=e=>`\n0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}\n100% {transform: translate3d(0,${-150*e}%,-1px) scale(.6); opacity:0;}\n`,ht=Me("div")`
display: flex;
align-items: center;
background: #fff;
color: #363636;
line-height: 1.3;
will-change: transform;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
max-width: 350px;
pointer-events: auto;
padding: 8px 10px;
border-radius: 8px;
`,yt=Me("div")`
display: flex;
justify-content: center;
margin: 4px 10px;
color: inherit;
flex: 1 1 auto;
white-space: pre-line;
`,gt=n.memo((({toast:e,position:t,style:r,children:o})=>{let s=e.height?((e,t)=>{let r=e.includes("top")?1:-1,[n,o]=ze()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:[pt(r),mt(r)];return{animation:t?`${Ae(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Ae(o)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}})(e.position||t||"top-center",e.visible):{opacity:0},a=n.createElement(ft,{toast:e}),i=n.createElement(yt,{...e.ariaProps},De(e.message,e));return n.createElement(ht,{className:e.className,style:{...s,...r,...e.style}},"function"==typeof o?o({icon:a,message:i}):n.createElement(n.Fragment,null,a,i))}));Xe=n.createElement,$e.p=void 0,Pe=Xe,Ne=void 0,Ie=void 0;var vt=({id:e,className:t,style:r,onHeightUpdate:o,children:s})=>{let a=n.useCallback((t=>{if(t){let r=()=>{let r=t.getBoundingClientRect().height;o(e,r)};r(),new MutationObserver(r).observe(t,{subtree:!0,childList:!0,characterData:!0})}}),[e,o]);return n.createElement("div",{ref:a,className:t,style:r},s)},bt=Le`
z-index: 9999;
> * {
pointer-events: auto;
}
`,wt=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:o,children:s,containerStyle:a,containerClassName:i})=>{let{toasts:c,handlers:l}=(e=>{let{toasts:t,pausedAt:r}=((e={})=>{let[t,r]=(0,n.useState)(Ve);(0,n.useEffect)((()=>(Be.push(r),()=>{let e=Be.indexOf(r);e>-1&&Be.splice(e,1)})),[t]);let o=t.toasts.map((t=>{var r,n;return{...e,...e[t.type],...t,duration:t.duration||(null==(r=e[t.type])?void 0:r.duration)||(null==e?void 0:e.duration)||We[t.type],style:{...e.style,...null==(n=e[t.type])?void 0:n.style,...t.style}}}));return{...t,toasts:o}})(e);(0,n.useEffect)((()=>{if(r)return;let e=Date.now(),n=t.map((t=>{if(t.duration===1/0)return;let r=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(!(r<0))return setTimeout((()=>Ke.dismiss(t.id)),r);t.visible&&Ke.dismiss(t.id)}));return()=>{n.forEach((e=>e&&clearTimeout(e)))}}),[t,r]);let o=(0,n.useCallback)((()=>{r&&Ge({type:6,time:Date.now()})}),[r]),s=(0,n.useCallback)(((e,r)=>{let{reverseOrder:n=!1,gutter:o=8,defaultPosition:s}=r||{},a=t.filter((t=>(t.position||s)===(e.position||s)&&t.height)),i=a.findIndex((t=>t.id===e.id)),c=a.filter(((e,t)=>te.visible)).slice(...n?[c+1]:[0,c]).reduce(((e,t)=>e+(t.height||0)+o),0)}),[t]);return{toasts:t,handlers:{updateHeight:Ye,startPause:Je,endPause:o,calculateOffset:s}}})(r);return n.createElement("div",{style:{position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none",...a},className:i,onMouseEnter:l.startPause,onMouseLeave:l.endPause},c.map((r=>{let a=r.position||t,i=((e,t)=>{let r=e.includes("top"),n=r?{top:0}:{bottom:0},o=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:ze()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(r?1:-1)}px)`,...n,...o}})(a,l.calculateOffset(r,{reverseOrder:e,gutter:o,defaultPosition:t}));return n.createElement(vt,{id:r.id,key:r.id,onHeightUpdate:l.updateHeight,className:r.visible?bt:"",style:i},"custom"===r.type?De(r.message,r):s?s(r):n.createElement(gt,{toast:r,position:a}))})))},_t=Ke;const xt=window.wp.components,Et=n.createContext({}),kt=!0;function Ct({baseColor:e,highlightColor:t,width:r,height:n,borderRadius:o,circle:s,direction:a,duration:i,enableAnimation:c=kt}){const l={};return"rtl"===a&&(l["--animation-direction"]="reverse"),"number"==typeof i&&(l["--animation-duration"]=`${i}s`),c||(l["--pseudo-element-display"]="none"),"string"!=typeof r&&"number"!=typeof r||(l.width=r),"string"!=typeof n&&"number"!=typeof n||(l.height=n),"string"!=typeof o&&"number"!=typeof o||(l.borderRadius=o),s&&(l.borderRadius="50%"),void 0!==e&&(l["--base-color"]=e),void 0!==t&&(l["--highlight-color"]=t),l}function St({count:e=1,wrapper:t,className:r,containerClassName:o,containerTestId:s,circle:a=!1,style:i,...c}){var l,u,d;const f=n.useContext(Et),p={...c};for(const[e,t]of Object.entries(c))void 0===t&&delete p[e];const m={...f,...p,circle:a},h={...i,...Ct(m)};let y="react-loading-skeleton";r&&(y+=` ${r}`);const g=null!==(l=m.inline)&&void 0!==l&&l,v=[],b=Math.ceil(e);for(let t=0;te&&t===b-1){const t=null!==(u=r.width)&&void 0!==u?u:"100%",n=e%1,o="number"==typeof t?t*n:`calc(${t} * ${n})`;r={...r,width:o}}const o=n.createElement("span",{className:y,style:r,key:t},"");g?v.push(o):v.push(n.createElement(n.Fragment,{key:t},o,n.createElement("br",null)))}return n.createElement("span",{className:o,"data-testid":s,"aria-live":"polite","aria-busy":null!==(d=m.enableAnimation)&&void 0!==d?d:kt},t?v.map(((e,r)=>n.createElement(t,{key:r},e))):v)}const $t=function(e){var t=e.loading,r=e.title,n=e.content;return React.createElement(React.Fragment,null,React.createElement("div",{className:"srfm-section-container"},React.createElement("div",{className:"srfm-content-title"},t?React.createElement(St,{count:1,height:30,width:200}):r),React.createElement("div",{className:"srfm-section-content"},t?React.createElement(React.Fragment,null,React.createElement(St,{className:"srfm-skeleton-container",count:3,height:25}),React.createElement(St,{count:1,height:25})):n)))};function Rt(e){return Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rt(e)}function Ot(){Ot=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",i=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,o){var s=t&&t.prototype instanceof f?t:f,a=Object.create(s.prototype),i=new C(o||[]);return n(a,"_invoke",{value:_(e,r,i)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var d={};function f(){}function p(){}function m(){}var h={};c(h,s,(function(){return this}));var y=Object.getPrototypeOf,g=y&&y(y(S([])));g&&g!==t&&r.call(g,s)&&(h=g);var v=m.prototype=f.prototype=Object.create(h);function b(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(n,s,a,i){var c=u(e[n],e,s);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==Rt(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,i)}),(function(e){o("throw",e,a,i)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,i)}))}i(c.arg)}var s;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return s=s?s.then(n,n):n()}})}function _(e,t,r){var n="suspendedStart";return function(o,s){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw s;return{value:void 0,done:!0}}for(r.method=o,r.arg=s;;){var a=r.delegate;if(a){var i=x(a,r);if(i){if(i===d)continue;return i}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function x(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=u(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var s=o.arg;return s?s.done?(t[e.resultName]=s.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):s:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function S(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return n("end");if(s.tryLoc<=this.prev){var i=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(i&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function Tt(e,t,r,n,o,s,a){try{var i=e[s](a),c=i.value}catch(e){return void r(e)}i.done?t(c):Promise.resolve(c).then(n,o)}function jt(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var s=e.apply(t,r);function a(e){Tt(s,n,o,a,i,"next",e)}function i(e){Tt(s,n,o,a,i,"throw",e)}a(void 0)}))}}function Lt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return n("end");if(s.tryLoc<=this.prev){var i=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(i&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function Bt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Vt(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=t||r<0||g&&e-a.current>=b},w=function(t){return i.current=null,y&&c.current?e(t):(c.current=l.current=null,u.current)},_=function e(){var o=Date.now();if(n(o))return w(o);if(f.current){var i=t-(o-s.current),c=g?Math.min(i,b-(o-a.current)):i;r(e,c)}},x=function(){if(p||v){var d=Date.now(),m=n(d);if(c.current=[].slice.call(arguments),l.current=o,s.current=d,m){if(!i.current&&f.current)return a.current=s.current,r(_,t),h?e(s.current):u.current;if(g)return r(_,t),e(s.current)}return i.current||r(_,t),u.current}};return x.cancel=function(){i.current&&(m?cancelAnimationFrame(i.current):clearTimeout(i.current)),a.current=0,c.current=s.current=l.current=i.current=null},x.isPending=function(){return!!i.current},x.flush=function(){return i.current?w(Date.now()):u.current},x}),[h,g,t,b,y,m,p,v]);return w}((function(e,t){try{if("general-settings-dynamic-opt"===t&&Object.values(e).some((function(e){return""===e.trim()})))return _t.dismiss(),_t.error((0,K.__)("This field cannot be left blank.","sureforms"),{duration:0}),k(Vt({},S)),void setTimeout((function(){_t.dismiss()}),1500);_e()({path:"sureforms/v1/srfm-global-settings",method:"POST",body:JSON.stringify(e),headers:{"content-type":"application/json","X-WP-Nonce":srfm_admin.global_settings_nonce}}).then((function(t){_t.dismiss(),_t.success(null==t?void 0:t.data,{duration:1500}),$(e),setTimeout((function(){_t.dismiss()}),1500)}))}catch(e){console.error(e)}}),1e3);function T(e,t,r){var n;if("email-settings"===r)n=Vt(Vt({},g),{},Gt({srfm_tab:r},e,t)),v(n);else if("general-settings"===r)n=Vt(Vt({},m),{},Gt({srfm_tab:r},e,t)),h(n);else if("security-settings"===r)n=Vt(Vt({},w),{},Gt({srfm_tab:r},e,t)),_(n);else{if("general-settings-dynamic-opt"!==r)return;n=Vt(Vt({},E),{},Gt({srfm_tab:r},e,t)),k(n)}O(n,r)}return React.createElement(React.Fragment,null,React.createElement(wt,{containerClassName:"srfm-toast-container",position:"top-right"},(function(e){return React.createElement(gt,{toast:e,style:Vt(Vt({},e.style),{},{animation:e.visible?"slide-in-left 0.5s ease":"slide-out-right 0.5s ease"})})})),c&&s&&React.createElement("div",{className:"srfm-page-heading"},React.createElement("div",{className:"srfm-page-icon"},c),React.createElement("h4",{style:{margin:"0",color:"#0F172A"}},s)),React.createElement("div",{className:"srfm-page-content"},"general-settings"===t&&React.createElement(Pt,{loading:d,emailTabOptions:g,generalTabOptions:m,updateGlobalSettings:T}),"validation-settings"===t&&React.createElement(Nt,{loading:d,dynamicBlockOptions:E,updateGlobalSettings:T}),"security-settings"===t&&React.createElement(It,{loading:d,securitytabOptions:w,generalTabOptions:m,updateGlobalSettings:T}),"integration-settings"===t&&React.createElement(qt,{loading:d}),(0,Q.applyFilters)("srfm.settings.page.content",[],t,d,_t)))};function Yt(){var e=new URLSearchParams(T().search);return React.createElement(Xt,{path:e.get("tab")})}var Jt,Qt=function(){return React.createElement(U,null,React.createElement(Z.Z,null),React.createElement("div",{className:"srfm-settings-wrap"},React.createElement(be,null),React.createElement("div",{className:"srfm-settings-page-container"},React.createElement("div",{className:"srfm-settings-page-inner"},React.createElement(Yt,null)))))};Jt=document.getElementById("srfm-settings-container"),document.addEventListener("DOMContentLoaded",(function(){null!==Jt&&(0,r.render)(React.createElement(Qt,null),Jt)}))})()})();