(()=>{var e={2485(e,t){var s;!function(){"use strict";var o={}.hasOwnProperty;function i(){for(var e=[],t=0;t{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};s.r(e),s.d(e,{DISMISS_ALERT:()=>l});const t=window.wp.domReady;var o=s.n(t);const i=window.jQuery;var n=s.n(i);const r=window.wp.i18n,a=window.lodash,c=window.wp.data,d=window.yoast.externals.redux;function l({alertKey:e}){return new Promise(t=>wpseoApi.post("alerts/dismiss",{key:e},()=>t()))}const{currentPromotions:p,dismissedAlerts:h,isPremium:u,linkParams:g,documentTitle:w}=d.reducers,{isAlertDismissed:m,getIsPremium:f,isPromotionActive:y,selectLinkParams:b,selectLink:v,selectDocumentFullTitle:_}=d.selectors,{dismissAlert:k,setCurrentPromotions:x,setDismissedAlerts:P,setLinkParams:S,setIsPremium:D,setDocumentTitle:j}=d.actions,A=window.wp.element,T=window.wp.url,R=window.yoast.styledComponents,I=(e,t)=>{try{return(0,A.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}},C=window.yoast.propTypes;var O=s.n(C),E=s(2485),N=s.n(E);const L=(0,window.wp.compose.compose)([(0,c.withSelect)((e,t)=>{const{isAlertDismissed:s}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:s(t.alertKey)}}),(0,c.withDispatch)((e,t)=>{const{dismissAlert:s}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>s(t.alertKey)}})]),q=L,B=window.ReactJSXRuntime,F=({children:e,id:t,hasIcon:s=!0,title:o,image:i=null,isAlertDismissed:n,onDismissed:a,inEditorIntro:c=!1})=>n?null:(0,B.jsxs)("div",{id:t,className:N()("notice-yoast yoast is-dismissible yoast-webinar-dashboard yoast-general-page-notices",c&&"yst-mt-3"),children:[(0,B.jsxs)("div",{className:"notice-yoast__container",children:[(0,B.jsxs)("div",{children:[(0,B.jsxs)("div",{className:"notice-yoast__header",children:[s&&(0,B.jsx)("span",{className:"yoast-icon"}),(0,B.jsx)("h2",{className:"notice-yoast__header-heading yoast-notice-migrated-header",children:o})]}),(0,B.jsx)("div",{className:"notice-yoast-content",children:(0,B.jsx)("p",{children:e})})]}),i&&(0,B.jsx)(i,{height:"60"})]}),(0,B.jsx)("button",{type:"button",className:"notice-dismiss",onClick:a,children:(0,B.jsx)("span",{className:"screen-reader-text",children:/* translators: Hidden accessibility text. */ /* translators: Hidden accessibility text. */ (0,r.__)("Dismiss this notice.","wordpress-seo")})})]});F.propTypes={children:O().node.isRequired,id:O().string.isRequired,hasIcon:O().bool,title:O().any.isRequired,image:O().elementType,isAlertDismissed:O().bool.isRequired,onDismissed:O().func.isRequired,inEditorIntro:O().bool};const M=q(F),K=({store:e="yoast-seo/editor",image:t=null,url:s,...o})=>(0,c.useSelect)(t=>t(e).getIsPremium())?null:(0,B.jsxs)(M,{alertKey:"webinar-promo-notification",store:e,id:"webinar-promo-notification",title:(0,r.__)("Ready to boost your online visibility?","wordpress-seo"),image:t,url:s,...o,children:[I((0,r.sprintf)(/* translators: 1: bold open tag; 2: "FREE"; 3: bold close tag; 4: "Yoast SEO". */ /* translators: 1: bold open tag; 2: "FREE"; 3: bold close tag; 4: "Yoast SEO". */ (0,r.__)("Access our %1$s%2$s%3$s webinars and podcasts to get started with %4$s and build the foundational skills and confidence needed for sustainable success.","wordpress-seo"),"","FREE","","Yoast SEO"),{strong:(0,B.jsx)("strong",{})})," ",(0,B.jsx)("a",{href:s,target:"_blank",rel:"noreferrer",children:(0,r.__)("Sign up today!","wordpress-seo")})]});K.propTypes={store:O().string,image:O().elementType,url:O().string.isRequired};const $=K;var H;!function(e){function t(){e("#copy-home-meta-description").on("click",function(){e("#open_graph_frontpage_desc").val(e("#meta_description").val())})}function s(){var t=e("#wpseo-conf");if(t.length){var s=t.attr("action").split("#")[0];t.attr("action",s+window.location.hash)}}function o(){var t=window.location.hash.replace("#top#","");-1!==t.search("#top")&&(t=window.location.hash.replace("#top%23","")),""!==t&&"#"!==t.charAt(0)||(t=e(".wpseotab").attr("id")),e("#"+t).addClass("active"),e("#"+t+"-tab").addClass("nav-tab-active").trigger("click")}function i(t){const s=e("#noindex-author-noposts-wpseo-container");t?s.show():s.hide()}e.fn._wpseoIsInViewport=function(){const t=e(this).offset().top,s=t+e(this).outerHeight(),o=e(window).scrollTop(),i=o+e(window).height();return t>o&&s{e(this).is(":checked")||i(!1)}),n.on("change",()=>{e(this).is(":checked")||i(!0)}),e("#disable-date input[type='radio']").on("change",function(){e(this).is(":checked")&&e("#date-archives-titles-metas-content").toggle("off"===e(this).val())}).trigger("change"),e("#disable-attachment input[type='radio']").on("change",function(){e(this).is(":checked")&&e("#media_settings").toggle("off"===e(this).val())}).trigger("change"),e("#disable-post_format").on("change",function(){e("#post_format-titles-metas").toggle(e(this).is(":not(:checked)"))}).trigger("change"),e("#wpseo-tabs").find("a").on("click",function(t){var s,o,i,n=!0;if(s=e(this),o=!!e("#first-time-configuration-tab").filter(".nav-tab-active").length,i=!!s.filter("#first-time-configuration-tab").length,o&&!i&&window.isStepBeingEdited&&(n=confirm((0,r.__)("There are unsaved changes in one or more steps. Leaving means that those changes may not be saved. Are you sure you want to leave?","wordpress-seo"))),n){window.isStepBeingEdited=!1,e("#wpseo-tabs").find("a").removeClass("nav-tab-active"),e(".wpseotab").removeClass("active");var a=e(this).attr("id").replace("-tab",""),c=e("#"+a);c.addClass("active"),e(this).addClass("nav-tab-active"),c.hasClass("nosave")?e("#wpseo-submit-container").hide():e("#wpseo-submit-container").show(),e(window).trigger("yoast-seo-tab-change"),"first-time-configuration"===a?(e(".notice-yoast").slideUp(),e(".yoast_premium_upsell").slideUp(),e("#sidebar-container").hide()):(e(".notice-yoast").slideDown(),e(".yoast_premium_upsell").slideDown(),e("#sidebar-container").show())}else t.preventDefault(),e("#first-time-configuration-tab").trigger("focus")}),e("#yoast-first-time-configuration-notice a").on("click",function(){e("#first-time-configuration-tab").click()}),e("#company_or_person").on("change",function(){var t=e(this).val();"company"===t?(e("#knowledge-graph-company").show(),e("#knowledge-graph-person").hide()):"person"===t?(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").show()):(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").hide())}).trigger("change"),e(".switch-yoast-seo input").on("keydown",function(e){"keydown"===e.type&&13===e.which&&e.preventDefault()}),e("body").on("click","button.toggleable-container-trigger",t=>{const s=e(t.currentTarget),o=s.parent().siblings(".toggleable-container");o.toggleClass("toggleable-container-hidden"),s.attr("aria-expanded",!o.hasClass("toggleable-container-hidden")).find("span").toggleClass("dashicons-arrow-up-alt2 dashicons-arrow-down-alt2")});const d=e("#opengraph"),l=e("#wpseo-opengraph-settings");d.length&&l.length&&(l.toggle(d[0].checked),d.on("change",e=>{l.toggle(e.target.checked)})),t(),o(),function(){if(!e("#enable_xml_sitemap input[type=radio]").length)return;const t=e("#yoast-seo-sitemaps-disabled-warning");e("#enable_xml_sitemap input[type=radio]").on("change",function(){"off"===this.value?t.show():t.hide()})}(),function(){const t=e("#wpseo-submit-container-float"),s=e("#wpseo-submit-container-fixed");if(!t.length||!s.length)return;function o(){t._wpseoIsInViewport()?s.hide():s.show()}e(window).on("resize scroll",(0,a.debounce)(o,100)),e(window).on("yoast-seo-tab-change",o);const i=e(".wpseo-message");i.length&&window.setTimeout(()=>{i.fadeOut()},5e3),o()}()})}(n()),wpseoScriptData&&(void 0!==wpseoScriptData.dismissedAlerts&&((H=(0,c.registerStore)("yoast-seo/settings",{reducer:(0,c.combineReducers)({currentPromotions:p,dismissedAlerts:h,isPremium:u,linkParams:g,documentTitle:w}),selectors:{isAlertDismissed:m,getIsPremium:f,isPromotionActive:y,selectLinkParams:b,selectDocumentFullTitle:_,selectLink:v},actions:{dismissAlert:k,setCurrentPromotions:x,setDismissedAlerts:P,setLinkParams:S,setIsPremium:D,setDocumentTitle:j},controls:e})).dispatch(P((0,a.get)(window,"wpseoScriptData.dismissedAlerts",{}))),H.dispatch(D(Boolean((0,a.get)(window,"wpseoScriptData.isPremium",!1)))),H.dispatch(x((0,a.get)(window,"wpseoScriptData.currentPromotions",{}))),H.dispatch(S((0,a.get)(window,"wpseoScriptData.linkParams",{})))),o()(()=>{(()=>{const e=document.getElementById("yst-settings-header-root"),t=Boolean((0,a.get)(window,"wpseoScriptData.isRtl",!1)),s=(0,c.select)("yoast-seo/settings").selectLinkParams(),o=(0,T.addQueryArgs)("https://yoa.st/webinar-intro-settings",s);e&&(0,A.createRoot)(e).render((0,B.jsx)(R.ThemeProvider,{theme:{isRtl:t},children:(0,B.jsx)($,{store:"yoast-seo/settings",url:o})}))})()}))})()})();