File Editor
Directories:
.. (Back)
externals
languages
Files:
academy.js
addon-installation.js
admin-global.js
admin-modules.js
analysis-worker.js
api-client.js
block-editor.js
bulk-editor.js
classic-editor.js
crawl-settings.js
dashboard-widget.js
dynamic-blocks.js
edit-page.js
editor-modules.js
elementor.js
externals-components.js
externals-contexts.js
externals-redux.js
faq-block.js
filter-explanation.js
frontend-inspector-resources.js
general-page.js
help-scout-beacon.js
how-to-block.js
import.js
indexation.js
installation-success.js
integrations-page.js
introductions.js
network-admin.js
new-settings.js
post-edit.js
quick-edit-handler.js
react-select.js
redirect-old-features-tab.js
reindex-links.js
settings.js
support.js
term-edit.js
used-keywords-assessment.js
wincher-dashboard-widget.js
workouts.js
Create New File
Create
Edit File: externals-redux.js
(()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{ADD_CHECKLIST:()=>Ee,CHANGE_COUNTRY:()=>Mt,CLEAR_FACEBOOK_IMAGE:()=>xr,CLEAR_TWITTER_IMAGE:()=>br,CLOSE_EDITOR_MODAL:()=>et,CUSTOM_FIELD_RESULTS:()=>cr,DISMISS_ALERT:()=>pt,DISMISS_ALERT_SUCCESS:()=>Et,FIND_CUSTOM_FIELDS:()=>or,GET_SCHEMA_ARTICLE_DATA:()=>Rt,GET_SCHEMA_PAGE_DATA:()=>At,HIDE_REPLACEMENT_VARIABLES:()=>dr,LOAD_ADVANCED_SETTINGS:()=>ee,LOAD_CORNERSTONE_CONTENT:()=>ke,LOAD_ESTIMATED_READING_TIME:()=>L,LOAD_FACEBOOK_PREVIEW:()=>Hr,LOAD_FOCUS_KEYWORD:()=>it,LOAD_SNIPPET_EDITOR_DATA:()=>mr,LOAD_TWITTER_PREVIEW:()=>Cr,MODAL_DISMISS:()=>Pt,MODAL_OPEN:()=>vt,MODAL_OPEN_NO_KEYPHRASE:()=>bt,NEW_REQUEST:()=>Ft,NO_DATA_FOUND:()=>Kt,OPEN_EDITOR_MODAL:()=>Ze,REFRESH:()=>Er,REMOVE_REPLACEMENT_VARIABLE:()=>pr,RUN_ANALYSIS:()=>ce,SET_ACTIVE_AI_FIXES_BUTTON:()=>V,SET_ACTIVE_MARKER:()=>H,SET_ADVANCED:()=>z,SET_ARTICLE_TYPE:()=>It,SET_BREADCRUMBS_TITLE:()=>J,SET_CANONICAL_URL:()=>Z,SET_CONTENT_IMAGE:()=>zt,SET_CORNERSTONE_CONTENT:()=>We,SET_CURRENT_PROMOTIONS:()=>xe,SET_DISABLED_AI_FIXES_BUTTONS:()=>q,SET_DISMISSED_ALERTS:()=>gt,SET_EDITOR_DATA_CONTENT:()=>Ge,SET_EDITOR_DATA_EXCERPT:()=>qe,SET_EDITOR_DATA_IMAGE_URL:()=>Ye,SET_EDITOR_DATA_SLUG:()=>je,SET_EDITOR_DATA_TITLE:()=>Ve,SET_ESTIMATED_READING_TIME:()=>N,SET_FACEBOOK_DESCRIPTION:()=>Kr,SET_FACEBOOK_IMAGE:()=>Br,SET_FACEBOOK_TITLE:()=>Fr,SET_FLESCH_READING_EASE:()=>M,SET_FOCUS_KEYWORD:()=>st,SET_IS_PREMIUM:()=>Dn,SET_LOGIN_STATUS:()=>Bt,SET_MARKER_PAUSE_STATUS:()=>ut,SET_MARKER_STATUS:()=>ct,SET_NO_FOLLOW:()=>X,SET_NO_INDEX:()=>Q,SET_PAGE_TYPE:()=>wt,SET_POST_ID:()=>Pn,SET_PRIMARY_TAXONOMY:()=>St,SET_PROMINENT_WORDS:()=>k,SET_REQUEST_FAILED:()=>Ut,SET_REQUEST_LIMIT_REACHED:()=>Wt,SET_REQUEST_PENDING:()=>xt,SET_REQUEST_SUCCEEDED:()=>kt,SET_SETTINGS:()=>Xt,SET_SHOPPING_DATA:()=>rr,SET_TEXT_LENGTH:()=>U,SET_TWITTER_DESCRIPTION:()=>Pr,SET_TWITTER_IMAGE:()=>vr,SET_TWITTER_TITLE:()=>Or,SET_WARNING_MESSAGE:()=>$r,SWITCH_MODE:()=>sr,TOGGLE_CORNERSTONE_CONTENT:()=>Ue,UPDATE_DATA:()=>ar,UPDATE_REPLACEMENT_VARIABLE:()=>lr,UPDATE_REPLACEMENT_VARIABLES_BATCH:()=>ur,UPDATE_SETTINGS:()=>Jt,UPDATE_SHORTCODES_FOR_PARSING:()=>le,UPDATE_SNIPPET_DATA:()=>oe,UPDATE_WORDS_TO_HIGHLIGHT:()=>gr,WINCHER_MODAL_DISMISS:()=>Xr,WINCHER_MODAL_OPEN:()=>zr,WINCHER_MODAL_OPEN_NO_KEYPHRASE:()=>Jr,WINCHER_NEW_REQUEST:()=>an,WINCHER_SET_AUTOMATICALLY_TRACK_ALL_REQUEST:()=>ln,WINCHER_SET_KEYPHRASE_LIMIT_REACHED:()=>sn,WINCHER_SET_LOGIN_STATUS:()=>on,WINCHER_SET_REQUEST_FAILED:()=>nn,WINCHER_SET_REQUEST_SUCCEEDED:()=>rn,WINCHER_SET_SEO_PERFORMANCE_TRACKED_KEYPHRASES:()=>In,WINCHER_SET_SEO_PERFORMANCE_TRACKING_FOR_KEYPHRASE:()=>yn,WINCHER_SET_TRACK_ALL_REQUEST:()=>cn,WINCHER_SET_WEBSITE_ID:()=>Tn,WINCHER_UNSET_SEO_PERFORMANCE_TRACKING_FOR_KEYPHRASE:()=>wn,addChecklist:()=>ge,clearFacebookPreviewImage:()=>Yr,clearTwitterPreviewImage:()=>kr,closeEditorModal:()=>rt,dismissAlert:()=>mt,findCustomFields:()=>Tr,getSchemaArticleData:()=>Ot,getSchemaPageData:()=>Dt,hideReplacementVariables:()=>hr,loadAdvancedSettingsData:()=>ae,loadCornerstoneContent:()=>Fe,loadEstimatedReadingTime:()=>F,loadFacebookPreviewData:()=>jr,loadFocusKeyword:()=>at,loadTwitterPreviewData:()=>Ur,openEditorModal:()=>tt,refreshSnippetEditor:()=>Rr,removeReplacementVariable:()=>Ar,runAnalysis:()=>de,setActiveAIFixesButton:()=>Y,setActiveMarker:()=>G,setAdminUrl:()=>bn,setAdvanced:()=>ne,setArticleType:()=>ft,setBreadcrumbsTitle:()=>ie,setCanonical:()=>se,setContentImage:()=>er,setCornerstoneContent:()=>Ke,setCurrentPromotions:()=>He,setDisabledAIFixesButtons:()=>j,setDismissedAlerts:()=>_t,setEditorDataContent:()=>$e,setEditorDataExcerpt:()=>Xe,setEditorDataImageUrl:()=>ze,setEditorDataSlug:()=>Je,setEditorDataTitle:()=>Qe,setEstimatedReadingTime:()=>W,setFacebookPreviewDescription:()=>Vr,setFacebookPreviewImage:()=>qr,setFacebookPreviewTitle:()=>Gr,setFleschReadingEase:()=>K,setFocusKeyword:()=>ot,setInclusiveLanguageResults:()=>be,setIsPremium:()=>On,setLinkParams:()=>Cn,setMarkerPauseStatus:()=>dt,setMarkerStatus:()=>lt,setNoFollow:()=>re,setNoIndex:()=>te,setOverallInclusiveLanguageScore:()=>Le,setOverallReadabilityScore:()=>Ce,setOverallSeoScore:()=>Ne,setPageType:()=>ht,setPluginUrl:()=>Nn,setPostId:()=>vn,setPrimaryTaxonomyId:()=>Tt,setProminentWords:()=>B,setReadabilityResults:()=>ve,setSEMrushChangeCountry:()=>Yt,setSEMrushDismissModal:()=>Ct,setSEMrushLoginStatus:()=>$t,setSEMrushNewRequest:()=>Qt,setSEMrushNoKeyphraseMessage:()=>Lt,setSEMrushNoResultsFound:()=>jt,setSEMrushOpenModal:()=>Nt,setSEMrushRequestFailed:()=>Vt,setSEMrushRequestPending:()=>Ht,setSEMrushRequestSucceeded:()=>Gt,setSEMrushSetRequestLimitReached:()=>qt,setSeoResultsForKeyword:()=>Pe,setSettings:()=>Zt,setShoppingData:()=>nr,setTextLength:()=>x,setTwitterPreviewDescription:()=>Lr,setTwitterPreviewImage:()=>Mr,setTwitterPreviewTitle:()=>Nr,setWarningMessage:()=>Qr,setWincherAutomaticKeyphaseTracking:()=>Sn,setWincherDismissModal:()=>Zr,setWincherLoginStatus:()=>gn,setWincherNewRequest:()=>un,setWincherNoKeyphrase:()=>tn,setWincherOpenModal:()=>en,setWincherRequestFailed:()=>pn,setWincherRequestSucceeded:()=>dn,setWincherSetKeyphraseLimitReached:()=>En,setWincherTrackAllKeyphrases:()=>mn,setWincherTrackedKeyphrases:()=>fn,setWincherTrackingForKeyphrase:()=>Rn,setWincherWebsiteId:()=>An,setWistiaEmbedPermission:()=>Ln,setWistiaEmbedPermissionValue:()=>Mn,switchMode:()=>_r,toggleCornerstoneContent:()=>Be,unsetWincherTrackingForKeyphrase:()=>hn,updateAnalysisData:()=>ue,updateData:()=>Sr,updateReplacementVariable:()=>yr,updateReplacementVariablesBatch:()=>wr,updateSettings:()=>tr,updateShortcodesForParsing:()=>pe,updateWordsToHighlight:()=>Ir});var r={};e.r(r),e.d(r,{getActiveAIFixesButton:()=>qi,getActiveMarker:()=>na,getAdvanced:()=>Qi,getAnalysisData:()=>Ls,getAnalysisTimestamp:()=>Cs,getArticleType:()=>Ia,getBaseUrlFromSettings:()=>ps,getBreadcrumbsTitle:()=>Xi,getCanonical:()=>zi,getChecklistItems:()=>ks,getContentImage:()=>Fs,getContentLocale:()=>ii,getDateFromSettings:()=>Es,getDefaultArticleType:()=>wa,getDefaultPageType:()=>Ta,getDescription:()=>vs,getDisabledAIFixesButtons:()=>Yi,getEditorContext:()=>$n,getEditorDataContent:()=>rs,getEditorDataExcerpt:()=>is,getEditorDataExcerptWithFallback:()=>ss,getEditorDataImageFallback:()=>os,getEditorDataImageUrl:()=>as,getEditorDataSlug:()=>cs,getEditorDataTitle:()=>ns,getEditorType:()=>ni,getEstimatedReadingTime:()=>Ki,getFacebookAltText:()=>zs,getFacebookDescription:()=>$s,getFacebookDescriptionFallback:()=>ta,getFacebookDescriptionOrFallback:()=>ra,getFacebookImageSrc:()=>Xs,getFacebookImageUrl:()=>Qs,getFacebookTitle:()=>js,getFacebookTitleFallback:()=>Zs,getFacebookTitleOrFallback:()=>ea,getFacebookWarnings:()=>Js,getFleschReadingEaseDifficulty:()=>xi,getFleschReadingEaseScore:()=>Bi,getFocusKeyphrase:()=>ls,getFocusKeyphraseErrors:()=>us,getImageFallback:()=>Ks,getInclusiveLanguageResults:()=>ga,getIsAiFeatureEnabled:()=>pi,getIsBlockEditor:()=>Jn,getIsDraft:()=>ri,getIsElementorEditor:()=>Zn,getIsFrontPage:()=>ei,getIsKeywordAnalysisActive:()=>oi,getIsLoading:()=>Ji,getIsModalOpen:()=>Ws,getIsPremium:()=>co,getIsProduct:()=>Xn,getIsProductTerm:()=>zn,getIsTerm:()=>ti,getIsWooCommerceActive:()=>ci,getIsWooSeoActive:()=>li,getIsWooSeoUpsell:()=>ui,getIsWooSeoUpsellTerm:()=>di,getMarkButtonStatus:()=>Sa,getMarkerPauseStatus:()=>ia,getMarksButtonStatus:()=>aa,getNoFollow:()=>$i,getNoIndex:()=>ji,getPageType:()=>ya,getPermalink:()=>bs,getPostId:()=>lo,getPostOrPageString:()=>Qn,getPreference:()=>si,getPreferences:()=>ai,getPrimaryTaxonomyId:()=>ca,getReadabilityResults:()=>Ea,getRecommendedReplaceVars:()=>gs,getReplaceVars:()=>_s,getReplacedExcerpt:()=>Ys,getResultById:()=>_a,getResultsForFocusKeyword:()=>ma,getResultsForKeyword:()=>pa,getSEMrushIsRequestPending:()=>ha,getSEMrushLoginStatus:()=>Ca,getSEMrushModalOpen:()=>Aa,getSEMrushNoKeyphraseMessage:()=>Ra,getSEMrushRequestHasData:()=>ba,getSEMrushRequestIsSuccess:()=>fa,getSEMrushRequestKeyphrase:()=>Pa,getSEMrushRequestLimitReached:()=>Oa,getSEMrushRequestResponse:()=>Da,getSEMrushSelectedCountry:()=>va,getSeoDescriptionTemplate:()=>Vs,getSeoResults:()=>da,getSeoTitle:()=>Ps,getSeoTitleTemplate:()=>xs,getSeoTitleTemplateNoFallback:()=>Hs,getShoppingData:()=>Na,getShortcodesForParsing:()=>Ns,getSiteIconUrlFromSettings:()=>ms,getSiteName:()=>ds,getSiteUrl:()=>Bs,getSnippetEditorData:()=>hs,getSnippetEditorDescription:()=>Is,getSnippetEditorDescriptionWithTemplate:()=>As,getSnippetEditorIsLoading:()=>Ds,getSnippetEditorMode:()=>Ts,getSnippetEditorPreviewImageUrl:()=>Os,getSnippetEditorSlug:()=>Rs,getSnippetEditorTemplates:()=>Ss,getSnippetEditorTitle:()=>ys,getSnippetEditorTitleWithTemplate:()=>ws,getSnippetEditorWordsToHighlight:()=>fs,getSocialDescriptionTemplate:()=>qs,getSocialTitleTemplate:()=>Gs,getTextLength:()=>Gi,getTwitterAltText:()=>Fa,getTwitterDescription:()=>Ma,getTwitterDescriptionFallback:()=>Ha,getTwitterDescriptionOrFallback:()=>Ga,getTwitterImageSrc:()=>Wa,getTwitterImageType:()=>Ua,getTwitterImageUrl:()=>ka,getTwitterTitle:()=>La,getTwitterTitleFallback:()=>Ba,getTwitterTitleOrFallback:()=>xa,getTwitterWarnings:()=>Ka,getWarningMessage:()=>Va,getWincherAllKeyphrasesMissRanking:()=>ao,getWincherHistoryDaysLimit:()=>Za,getWincherKeyphraseLimitReached:()=>Qa,getWincherLimit:()=>Ja,getWincherLoginStatus:()=>Xa,getWincherModalOpen:()=>qa,getWincherPermalink:()=>oo,getWincherRequestIsSuccess:()=>ja,getWincherRequestResponse:()=>$a,getWincherTrackableKeyphrases:()=>so,getWincherTrackedKeyphrases:()=>no,getWincherWebsiteId:()=>ro,hasWincherNoKeyphrase:()=>Ya,hasWincherTrackedKeyphrases:()=>io,isAlertDismissed:()=>oa,isCornerstoneContent:()=>Ms,isFleschReadingEaseAvailable:()=>Hi,isFormalitySupported:()=>Vi,isMarkingAvailable:()=>sa,isPromotionActive:()=>Us,isWincherNewlyAuthenticated:()=>za,selectAdminLink:()=>po,selectAdminUrl:()=>uo,selectImageLink:()=>So,selectLink:()=>mo,selectLinkParam:()=>go,selectLinkParams:()=>Eo,selectPluginUrl:()=>_o,selectWistiaEmbedPermission:()=>To,selectWistiaEmbedPermissionError:()=>Io,selectWistiaEmbedPermissionStatus:()=>wo,selectWistiaEmbedPermissionValue:()=>yo,shouldWincherAutomaticallyTrackAll:()=>to,shouldWincherTrackAll:()=>eo});const n=window.yoast.reduxJsToolkit,i=window.lodash,s="adminUrl",a=(0,n.createSlice)({name:s,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),o=(a.getInitialState,{selectAdminUrl:e=>(0,i.get)(e,s,"")});o.selectAdminLink=(0,n.createSelector)([o.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}}));const c=a.actions,l=a.reducer,u=window.wp.url,d="linkParams",p=(0,n.createSlice)({name:d,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),E=(p.getInitialState,{selectLinkParam:(e,t,r={})=>(0,i.get)(e,`${d}.${t}`,r),selectLinkParams:e=>(0,i.get)(e,d,{})});E.selectLink=(0,n.createSelector)([E.selectLinkParams,(e,t)=>t,(e,t,r={})=>r],((e,t,r)=>(0,u.addQueryArgs)(t,{...e,...r})));const g=p.actions,m=p.reducer,_=(0,n.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:r="default",title:i,description:s})=>({payload:{id:e||(0,n.nanoid)(),variant:t,size:r,title:i||"",description:s}})},removeNotification:(e,{payload:t})=>(0,i.omit)(e,t)}}),S=(_.getInitialState,_.actions,_.reducer,"pluginUrl"),T=(0,n.createSlice)({name:S,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),y=(T.getInitialState,{selectPluginUrl:e=>(0,i.get)(e,S,"")});y.selectImageLink=(0,n.createSelector)([y.selectPluginUrl,(e,t,r="images")=>r,(e,t)=>t],((e,t,r)=>[(0,i.trimEnd)(e,"/"),(0,i.trim)(t,"/"),(0,i.trimStart)(r,"/")].join("/")));const w=T.actions,I=T.reducer;window.wp.apiFetch;const A="request",R="success",h="error",f="idle",D="wistiaEmbedPermission",O=(0,n.createSlice)({name:D,initialState:{value:!1,status:f,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${D}/${A}`,(e=>{e.status="loading"})),e.addCase(`${D}/${R}`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${D}/${h}`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,i.get)(t,"error.code",500),message:(0,i.get)(t,"error.message","Unknown")}}))}}),P=(O.getInitialState,{selectWistiaEmbedPermission:e=>(0,i.get)(e,D,{value:!1,status:f}),selectWistiaEmbedPermissionValue:e=>(0,i.get)(e,[D,"value"],!1),selectWistiaEmbedPermissionStatus:e=>(0,i.get)(e,[D,"status"],f),selectWistiaEmbedPermissionError:e=>(0,i.get)(e,[D,"error"],{})}),v={...O.actions,setWistiaEmbedPermission:function*(e){yield{type:`${D}/${A}`};try{return yield{type:D,payload:e},{type:`${D}/${R}`,payload:{value:e}}}catch(t){return{type:`${D}/${h}`,payload:{error:t,value:e}}}}},b=O.reducer;class C{static get estimatedReadingTimeElement(){return document.getElementById("yoast_wpseo_estimated-reading-time-minutes")}static get estimatedReadingTime(){return C.estimatedReadingTimeElement&&C.estimatedReadingTimeElement.value||""}static set estimatedReadingTime(e){C.estimatedReadingTimeElement&&(C.estimatedReadingTimeElement.value=e)}}const N="SET_ESTIMATED_READING_TIME",L="LOAD_ESTIMATED_READING_TIME",M="SET_FLESCH_READING_EASE",k="SET_PROMINENT_WORDS",U="SET_TEXT_LENGTH",W=e=>(C.estimatedReadingTime=e.toString(),{type:N,payload:e}),F=()=>({type:L,payload:(0,i.toSafeInteger)(C.estimatedReadingTime)}),K=({score:e,difficulty:t})=>({type:M,payload:{score:e,difficulty:t}}),B=e=>({type:k,payload:e}),x=e=>({type:U,payload:e}),H="WPSEO_SET_ACTIVE_MARKER";function G(e){return{type:H,activeMarker:e}}const V="SET_ACTIVE_AI_FIXES_BUTTON",q="SET_DISABLED_AI_FIXES_BUTTONS";function Y(e){return{type:V,activeAIButton:e}}function j(e){return{type:q,disabledAIButtons:e}}class ${static get noIndexElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_meta-robots-noindex":"hidden_wpseo_noindex")}static get noFollowElement(){return document.getElementById("yoast_wpseo_meta-robots-nofollow")}static get advancedElement(){return document.getElementById("yoast_wpseo_meta-robots-adv")}static get breadcrumbsTitleElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_bctitle":"hidden_wpseo_bctitle")}static get canonicalElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_canonical":"hidden_wpseo_canonical")}static get noIndex(){return $.noIndexElement&&$.noIndexElement.value||""}static set noIndex(e){$.noIndexElement.value=e}static get noFollow(){return $.noFollowElement&&$.noFollowElement.value||""}static set noFollow(e){$.noFollowElement.value=e}static get advanced(){return $.advancedElement&&$.advancedElement.value||""}static set advanced(e){$.advancedElement.value=e}static get breadcrumbsTitle(){return $.breadcrumbsTitleElement&&$.breadcrumbsTitleElement.value||""}static set breadcrumbsTitle(e){$.breadcrumbsTitleElement.value=e}static get canonical(){return $.canonicalElement&&$.canonicalElement.value||""}static set canonical(e){$.canonicalElement.value=e}}const Q="SET_NO_INDEX",X="SET_NO_FOLLOW",z="SET_ADVANCED",J="SET_BREADCRUMBS_TITLE",Z="SET_CANONICAL_URL",ee="LOAD_ADVANCED_SETTINGS",te=e=>($.noIndex=e,{type:Q,value:e}),re=e=>($.noFollow=e,{type:X,value:e}),ne=e=>($.advanced=e.join(","),{type:z,value:e}),ie=e=>($.breadcrumbsTitle=e,{type:J,value:e}),se=e=>($.canonical=e,{type:Z,value:e}),ae=()=>({type:ee,settings:{noIndex:$.noIndex,noFollow:$.noFollow,advanced:$.advanced.split(","),breadcrumbsTitle:$.breadcrumbsTitle,canonical:$.canonical,isLoading:!1}}),oe="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",ce="RUN_ANALYSIS",le="UPDATE_SHORTCODES_FOR_PARSING";function ue(e){return{type:oe,data:e}}function de(){return{type:ce,timestamp:Date.now()}}function pe(e){return{type:le,shortcodesForParsing:e}}const Ee="ADD_CHECKLIST";function ge(e,t){return{type:Ee,name:e,data:t}}class me{static get keyphraseElement(){var e;return document.getElementById(null!==(e=window.wpseoScriptData)&&void 0!==e&&e.isPost?"yoast_wpseo_focuskw":"hidden_wpseo_focuskw")}static get isCornerstoneElement(){var e;return document.getElementById(null!==(e=window.wpseoScriptData)&&void 0!==e&&e.isPost?"yoast_wpseo_is_cornerstone":"hidden_wpseo_is_cornerstone")}static get seoScoreElement(){var e;return document.getElementById(null!==(e=window.wpseoScriptData)&&void 0!==e&&e.isPost?"yoast_wpseo_linkdex":"hidden_wpseo_linkdex")}static get readabilityScoreElement(){var e;return document.getElementById(null!==(e=window.wpseoScriptData)&&void 0!==e&&e.isPost?"yoast_wpseo_content_score":"hidden_wpseo_content_score")}static get inclusiveLanguageScoreElement(){var e;return document.getElementById(null!==(e=window.wpseoScriptData)&&void 0!==e&&e.isPost?"yoast_wpseo_inclusive_language_score":"hidden_wpseo_inclusive_language_score")}static set keyphrase(e){me.keyphraseElement&&(me.keyphraseElement.value=e)}static get keyphrase(){var e,t;return null!==(e=null===(t=me.keyphraseElement)||void 0===t?void 0:t.value)&&void 0!==e?e:""}static set isCornerstone(e){me.isCornerstoneElement&&(me.isCornerstoneElement.value=e?"1":"0")}static get isCornerstone(){var e;return"1"===(null===(e=me.isCornerstoneElement)||void 0===e?void 0:e.value)}static set seoScore(e){me.seoScoreElement&&(me.seoScoreElement.value=e)}static get seoScore(){var e,t;return null!==(e=null===(t=me.seoScoreElement)||void 0===t?void 0:t.value)&&void 0!==e?e:""}static set readabilityScore(e){me.readabilityScoreElement&&(me.readabilityScoreElement.value=e)}static get readabilityScore(){var e,t;return null!==(e=null===(t=me.readabilityScoreElement)||void 0===t?void 0:t.value)&&void 0!==e?e:""}static set inclusiveLanguageScore(e){me.inclusiveLanguageScoreElement&&(me.inclusiveLanguageScoreElement.value=e)}static get inclusiveLanguageScore(){var e,t;return null!==(e=null===(t=me.inclusiveLanguageScoreElement)||void 0===t?void 0:t.value)&&void 0!==e?e:""}}const _e="CONTENT_ANALYSIS_",Se=`${_e}SET_SEO_RESULTS`,Te=`${_e}SET_SEO_RESULTS_FOR_KEYWORD`,ye=`${_e}UPDATE_SEO_RESULT`,we=`${_e}REMOVE_KEYWORD`,Ie=`${_e}SET_READABILITY_RESULTS`,Ae=`${_e}UPDATE_READABILITY_RESULT`,Re=`${_e}SET_INCLUSIVE_LANGUAGE_RESULTS`,he=`${_e}UPDATE_INCLUSIVE_LANGUAGE_RESULT`,fe=`${_e}SET_OVERALL_READABILITY_SCORE`,De=`${_e}SET_OVERALL_SEO_SCORE`,Oe=`${_e}SET_OVERALL_INCLUSIVE_LANGUAGE_SCORE`;function Pe(e,t){return{type:Te,keyword:e,results:t}}function ve(e){return{type:Ie,results:e}}function be(e){return{type:Re,results:e}}function Ce(e){return me.readabilityScore=e,{type:fe,overallScore:e}}function Ne(e,t){return me.seoScore=e,{type:De,keyword:t,overallScore:e}}function Le(e){return me.inclusiveLanguageScore=e,{type:Oe,overallScore:e}}const Me="WPSEO_",ke=`${Me}LOAD_CORNERSTONE_CONTENT`,Ue=`${Me}TOGGLE_CORNERSTONE_CONTENT`,We=`${Me}SET_CORNERSTONE_CONTENT`,Fe=()=>({type:We,isCornerstone:me.isCornerstone}),Ke=e=>(me.isCornerstone=e,{type:We,isCornerstone:e}),Be=()=>(me.isCornerstone=!me.isCornerstone,{type:Ue}),xe="SET_CURRENT_PROMOTIONS";function He(e){return{type:xe,payload:e}}const Ge="SET_EDITOR_DATA_CONTENT",Ve="SET_EDITOR_DATA_TITLE",qe="SET_EDITOR_DATA_EXCERPT",Ye="SET_EDITOR_DATA_IMAGE_URL",je="SET_EDITOR_DATA_SLUG";function $e(e){return{type:Ge,content:e}}function Qe(e){return{type:Ve,title:e}}function Xe(e){return{type:qe,excerpt:e}}function ze(e){return{type:Ye,imageUrl:e}}function Je(e){return{type:je,slug:e}}const Ze="OPEN_MODAL",et="CLOSE_MODAL";function tt(e){return{type:Ze,modalKey:e}}function rt(){return{type:et}}const nt="WPSEO_",it=`${nt}LOAD_FOCUS_KEYWORD`,st=`${nt}SET_FOCUS_KEYWORD`,at=()=>({type:it,keyword:me.keyphrase}),ot=function(e){return me.keyphrase=e,{type:st,keyword:e}},ct="WPSEO_SET_MARKER_STATUS",lt=function(e){return{type:ct,marksButtonStatus:e}},ut="WPSEO_SET_MARKER_PAUSE_STATUS";function dt(e){return{type:ut,isMarkerPaused:e}}const pt="DISMISS_ALERT",Et="DISMISS_ALERT_SUCCESS",gt="SET_DISMISSED_ALERTS";function*mt(e){return yield{type:pt,alertKey:e},{type:Et,alertKey:e}}function _t(e){return{type:gt,payload:e}}const St="WPSEO_SET_PRIMARY_TAXONOMY",Tt=(e,t)=>({type:St,taxonomy:e,termId:t});class yt{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return yt.articleTypeInput.getAttribute("data-default")}static get articleType(){return yt.articleTypeInput.value}static set articleType(e){yt.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return yt.pageTypeInput.getAttribute("data-default")}static get pageType(){return yt.pageTypeInput.value}static set pageType(e){yt.pageTypeInput.value=e}}const wt="SET_PAGE_TYPE",It="SET_ARTICLE_TYPE",At="GET_SCHEMA_PAGE_DATA",Rt="GET_SCHEMA_ARTICLE_DATA",ht=e=>(yt.pageType=e,{type:wt,pageType:e}),ft=e=>(yt.articleType=e,{type:It,articleType:e}),Dt=()=>({type:At,pageType:yt.pageType,defaultPageType:yt.defaultPageType}),Ot=()=>({type:Rt,articleType:yt.articleType,defaultArticleType:yt.defaultArticleType}),Pt="MODAL_DISMISS",vt="MODAL_OPEN",bt="MODAL_OPEN_NO_KEYPHRASE";function Ct(){return{type:Pt}}function Nt(e){return{type:vt,location:e}}function Lt(){return{type:bt}}const Mt="CHANGE_COUNTRY",kt="SET_REQUEST_SUCCEEDED",Ut="SET_REQUEST_FAILED",Wt="SET_LIMIT_REACHED",Ft="NEW_REQUEST",Kt="NO_DATA_FOUND",Bt="SET_LOGIN_STATUS",xt="SET_REQUEST_PENDING";function Ht(){return{type:xt}}function Gt(e){return{type:kt,response:e}}function Vt(e){return{type:Ut,response:e}}function qt(){return{type:Wt}}function Yt(e){return{type:Mt,countryCode:e}}function jt(){return{type:Kt}}function $t(e){return{type:Bt,loginStatus:e}}function*Qt(e,t){try{yield Ht();const r=yield{type:Ft,countryCode:e,keyphrase:t};200===r.status?0===r.results.rows.length?yield jt():yield Gt(r):r.error&&r.error.includes("TOTAL LIMIT EXCEEDED")?yield qt():yield Vt(r)}catch(e){yield Vt(e)}}const Xt="SET_SETTINGS",zt="SET_CONTENT_IMAGE",Jt="UPDATE_SNIPPET_EDITOR_SETTINGS",Zt=function(e){return{type:Xt,settings:e}},er=function(e){return{type:zt,src:e}},tr=function(e){return{type:Jt,snippetEditor:e}},rr="SET_SHOPPING_DATA";function nr(e){return{type:rr,shoppingData:e}}const ir=window.yoast.helpers,sr="SNIPPET_EDITOR_SWITCH_MODE",ar="SNIPPET_EDITOR_UPDATE_DATA",or="SNIPPET_EDITOR_FIND_CUSTOM_FIELDS",cr="SNIPPET_EDITOR_CUSTOM_FIELD_RESULTS",lr="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",ur="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLES_BATCH",dr="SNIPPET_EDITOR_HIDE_REPLACEMENT_VARIABLES",pr="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",Er="SNIPPET_EDITOR_REFRESH",gr="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",mr="LOAD_SNIPPET_EDITOR_DATA";function _r(e){return{type:sr,mode:e}}function Sr(e){return{type:ar,data:e}}function*Tr(e,t){const r=yield{type:or,query:e,postId:t};return{type:cr,results:r}}function yr(e,t,r="",n=!1){const i="string"==typeof t?(0,ir.decodeHTML)(t):t;return{type:lr,name:e,value:i,label:r,hidden:n}}function wr(e){return{type:ur,updatedVariables:e}}function Ir(e){return{type:gr,wordsToHighlight:e}}function Ar(e){return{type:pr,name:e}}function Rr(){return{type:Er,time:(new Date).getMilliseconds()}}function hr(e){return{type:dr,data:e}}const fr=window.wp.data;class Dr{static get titleElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-title":"hidden_wpseo_twitter-title")}static get descriptionElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-description":"hidden_wpseo_twitter-description")}static get imageIdElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image-id":"hidden_wpseo_twitter-image-id")}static get imageUrlElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image":"hidden_wpseo_twitter-image")}static get title(){return Dr.titleElement.value}static set title(e){Dr.titleElement.value=e}static set description(e){Dr.descriptionElement.value=e}static get description(){return Dr.descriptionElement.value}static set imageId(e){Dr.imageIdElement.value=e}static get imageId(){return Dr.imageIdElement.value}static set imageUrl(e){Dr.imageUrlElement.value=e}static get imageUrl(){return Dr.imageUrlElement.value}}const Or="SET_TWITTER_TITLE",Pr="SET_TWITTER_DESCRIPTION",vr="SET_TWITTER_IMAGE",br="CLEAR_TWITTER_IMAGE",Cr="LOAD_TWITTER_PREVIEW",Nr=e=>(e.trim()===(0,fr.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?Dr.title="":Dr.title=e,{type:Or,title:e}),Lr=e=>(e.trim()===(0,fr.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?Dr.description="":Dr.description=e,{type:Pr,description:e}),Mr=e=>(Dr.imageId=e.id,Dr.imageUrl=e.url,{type:vr,image:e}),kr=()=>(Dr.imageId="",Dr.imageUrl="",{type:br}),Ur=()=>{const{getSocialDescriptionTemplate:e,getSocialTitleTemplate:t}=(0,fr.select)("yoast-seo/editor");return{type:Cr,imageId:Dr.imageId,imageUrl:Dr.imageUrl,description:Dr.description||e(),title:Dr.title||t()}};class Wr{static get titleElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-title":"hidden_wpseo_opengraph-title")}static get descriptionElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-description":"hidden_wpseo_opengraph-description")}static get imageIdElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image-id":"hidden_wpseo_opengraph-image-id")}static get imageUrlElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image":"hidden_wpseo_opengraph-image")}static get title(){return Wr.titleElement.value}static set title(e){Wr.titleElement.value=e}static set description(e){Wr.descriptionElement.value=e}static get description(){return Wr.descriptionElement.value}static set imageId(e){Wr.imageIdElement.value=e}static get imageId(){return Wr.imageIdElement.value}static set imageUrl(e){Wr.imageUrlElement.value=e}static get imageUrl(){return Wr.imageUrlElement.value}}const Fr="SET_FACEBOOK_TITLE",Kr="SET_FACEBOOK_DESCRIPTION",Br="SET_FACEBOOK_IMAGE",xr="CLEAR_FACEBOOK_IMAGE",Hr="LOAD_FACEBOOK_PREVIEW",Gr=e=>(e.trim()===(0,fr.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?Wr.title="":Wr.title=e,{type:Fr,title:e}),Vr=e=>(e.trim()===(0,fr.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?Wr.description="":Wr.description=e,{type:Kr,description:e}),qr=e=>(Wr.imageUrl=e.url,Wr.imageId=e.id,{type:Br,image:e}),Yr=()=>(Wr.imageId="",Wr.imageUrl="",{type:xr}),jr=()=>{const{getSocialDescriptionTemplate:e,getSocialTitleTemplate:t}=(0,fr.select)("yoast-seo/editor");return{type:Hr,imageId:Wr.imageId,imageUrl:Wr.imageUrl,description:Wr.description||e(),title:Wr.title||t()}},$r="SET_WARNING_MESSAGE";function Qr(e){return{type:$r,message:e}}const Xr="WINCHER_MODAL_DISMISS",zr="WINCHER_MODAL_OPEN",Jr="WINCHER_MODAL_OPEN_NO_KEYPHRASE";function Zr(){return{type:Xr}}function en(e){return{type:zr,location:e}}function tn(){return{type:Jr}}const rn="WINCHER_SET_REQUEST_SUCCEEDED",nn="WINCHER_SET_REQUEST_FAILED",sn="WINCHER_SET_KEYPHRASE_LIMIT_REACHED",an="WINCHER_NEW_REQUEST",on="WINCHER_SET_LOGIN_STATUS",cn="WINCHER_FORCE_SEO_PERFORMANCE_TRACKED_KEYPHRASES",ln="WINCHER_SET_AUTOMATICALLY_TRACK_ALL_REQUEST";function un(){return{type:an}}function dn(e){return{type:rn,response:e}}function pn(e){return{type:nn,response:e}}function En(e){return{type:sn,limit:e}}function gn(e,t){return{type:on,loginStatus:e,newlyAuthenticated:t}}function mn(e){return{type:cn,trackAll:e}}function Sn(e){return{type:ln,automaticallyTrack:e}}const Tn="WINCHER_SET_WEBSITE_ID",yn="WINCHER_SET_SEO_PERFORMANCE_TRACKING_FOR_KEYPHRASE",wn="WINCHER_UNSET_SEO_PERFORMANCE_TRACKING_FOR_KEYPHRASE",In="WINCHER_SET_SEO_PERFORMANCE_TRACKED_KEYPHRASES";function An(e){return{type:Tn,websiteId:e}}function Rn(e){return{type:yn,keyphraseObject:e}}function hn(e){return{type:wn,untrackedKeyphrase:e}}function fn(e){return{type:In,trackedKeyphrases:e}}const Dn="SET_IS_PREMIUM",On=e=>({type:Dn,payload:e}),Pn="SET_POST_ID",vn=e=>({type:Pn,payload:e}),{setAdminUrl:bn}=c,{setLinkParams:Cn}=g,{setPluginUrl:Nn}=w,{setWistiaEmbedPermission:Ln,setWistiaEmbedPermissionValue:Mn}=v,kn={estimatedReadingTime:0,textLength:{}},Un={results:[],overallScore:null},Wn={};function Fn(e,t,r){return Object.assign({},e,{[t]:{results:r}})}const Kn={},Bn=(0,fr.combineReducers)({seo:function(e=Wn,t){switch(t.type){case Se:return function(e){const t={};return e.resultsPerKeyword.forEach((function(e){t[e.keyword]={results:e.results}})),t}(t);case ye:return function(e,t){return e[t.keyword]?-1!==(0,i.findIndex)(e[t.keyword].results,{id:t.result.id})?function(e,t){const r=Array.from(e[t.keyword].results,(e=>e.id===t.result.id?t.result:e));return Object.assign({},e,{[t.keyword]:{results:r}})}(e,t):Object.assign({},e,{[t.keyword]:{results:[...e[t.keyword].results,t.result]}}):Fn(e,t.keyword,[t.result])}(e,t);case we:return(0,i.omit)(e,t.keyword);case Te:return function(e,t){return e[t.keyword]?Object.assign({},e,{[t.keyword]:{results:t.results}}):Fn(e,t.keyword,t.results)}(e,t);case De:return function(e,t){return Object.assign({},e,{[t.keyword]:{...e[t.keyword],overallScore:t.overallScore}})}(e,t);default:return e}},readability:function(e=Kn,t){switch(t.type){case Ie:return function(e,t){return Object.assign({},e,{results:t.results})}(e,t);case Ae:return function(e,t){if((0,i.isUndefined)(e.results))return Object.assign({},e,{results:[t.result]});const r=(0,i.findIndex)(e.results,{id:t.result.id});if(-1!==r){const n=e.results.filter((function(t){return t!==e.results[r]}));return Object.assign({},e,{results:n.concat(t.result)})}return Object.assign({},e,{results:[...e.results,t.result]})}(e,t);case fe:return function(e,t){return Object.assign({},e,{overallScore:t.overallScore})}(e,t);default:return e}},inclusiveLanguage:function(e=Un,t){switch(t.type){case Re:return function(e,t){return Object.assign({},e,{results:t.results})}(e,t);case he:return function(e,t){if((0,i.isUndefined)(e.results))return Object.assign({},e,{results:[t.result]});const r=(0,i.findIndex)(e.results,{id:t.result.id});if(-1!==r){const n=e.results.filter((function(t){return t!==e.results[r]}));return Object.assign({},e,{results:n.concat(t.result)})}return Object.assign({},e,{results:[...e.results,t.result]})}(e,t);case Oe:return function(e,t){return Object.assign({},e,{overallScore:t.overallScore})}(e,t);default:return e}}}),xn={noIndex:"",noFollow:"",advanced:[],breadcrumbsTitle:"",canonical:"",isLoading:!0},Hn={activeAIButton:null,disabledAIButtons:{}},Gn={snippet:{},timestamp:0,shortcodesForParsing:[]},Vn={checklistItems:{}},qn={content:"",excerpt:"",imageUrl:"",slug:"",title:""},Yn={openedModal:""},jn={title:"",description:"",warnings:[],image:{url:"",id:"",alt:""}};function $n(e){return e.editorContext}function Qn(e){return"Page"===(0,i.get)(e,"editorContext.postTypeNameSingular")?"page":"post"}function Xn(e){return"Product"===(0,i.get)(e,"editorContext.postTypeNameSingular")}function zn(e){const t=(0,i.get)(e,"editorContext.termType");return"product_cat"===t||"product_tag"===t}function Jn(e){return(0,i.get)(e,"editorContext.isBlockEditor",!1)}function Zn(e){return(0,i.get)(e,"editorContext.isElementorEditor",!1)}function ei(e){return(0,i.get)(e,"editorContext.isFrontPage",!1)}function ti(e){return(0,i.get)(e,"editorContext.isTerm",!1)}function ri(e){return["draft","auto-draft"].includes((0,i.get)(e,"editorContext.postStatus",""))}function ni(e){return Zn(e)?"elementorEditor":Jn(e)?"blockEditor":"classicEditor"}function ii(e){return(0,i.get)(e,"editorContext.contentLocale","en_US")}const si=(e,t,r=null)=>(0,i.get)(e,`preferences.${t}`,r),ai=e=>e.preferences,oi=e=>(0,i.get)(e,"preferences.isKeywordAnalysisActive",!1),ci=e=>si(e,"isWooCommerceActive",!1),li=e=>si(e,"isWooCommerceSeoActive",!1),ui=e=>{const t=li(e),r=ci(e),n=Xn(e);return!t&&r&&n},di=e=>{const t=li(e),r=ci(e),n=zn(e);return!t&&r&&n},pi=()=>{var e;const t=null===(e=(0,fr.select)("yoast-seo-premium/editor"))||void 0===e?void 0:e.getIsAiFeatureEnabled;return t?t():Boolean(window.wpseoAdminL10n.isAiFeatureActive)};function Ei(){return(0,i.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}function gi(){const e=Ei();return!0===(0,i.get)(e,"contentAnalysisActive",!1)}function mi(){const e=Ei();return!0===(0,i.get)(e,"keywordAnalysisActive",!1)}function _i(){const e=Ei();return!0===(0,i.get)(e,"inclusiveLanguageAnalysisActive",!1)}function Si(){const e=Ei();return!0===(0,i.get)(e,"cornerstoneActive",!1)}const Ti=function(){const e=Ei();return(0,i.get)(e,"wordFormRecognitionActive",!1)};function yi(){const e=Ei();return!0===(0,i.get)(e,"semrushIntegrationActive",!1)}function wi(){const e=Ei();return!0===(0,i.get)(e,"wincherIntegrationActive",!1)}const Ii={},Ai={pageType:"",defaultPageType:"",articleType:"",defaultArticleType:""},Ri={whichModalOpen:"none",displayNoKeyphraseMessage:!1},hi={isRequestPending:!1,keyphrase:"",countryCode:"us",isSuccess:!1,response:null,limitReached:!1,hasData:!0,isLoggedIn:!1},fi={},Di=window.wp.i18n,Oi=window.wp.sanitize;function Pi(e){return e.charAt(0).toUpperCase()+e.slice(1)}window.React,window.wp.element;const{stripHTMLTags:vi}=ir.strings;function bi(e){return e=function(e){if(!["ct_","cf_","pt_"].includes(e.substring(0,3)))return e.replace(/_/g," ");const t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}(e),Pi(e)}function Ci(e,t="_"){return e.replace(/\s/g,t)}const Ni={title:"",description:"",warnings:[],image:{url:"",id:"",alt:""}},Li={message:[]},Mi={whichModalOpen:"none",hasNoKeyphrase:!1},ki={isSuccess:!1,response:null,limitReached:!1,isLoggedIn:!1,isNewlyAuthenticated:!1,limit:10,trackAll:!1,automaticallyTrack:!1,historyDaysLimit:0},Ui={websiteId:"",trackedKeyphrases:null,trackAll:!1},Wi={activeMarker:function(e=null,t){return t.type===H?t.activeMarker:e},[s]:l,advancedSettings:(e=xn,t)=>{switch(t.type){case ee:return{...e,...t.settings};case Q:return{...e,noIndex:t.value};case X:return{...e,noFollow:t.value};case z:return{...e,advanced:t.value};case Z:return{...e,canonical:t.value};case J:return{...e,breadcrumbsTitle:t.value};default:return e}},AIButton:function(e=Hn,t){switch(t.type){case V:return{...e,activeAIButton:t.activeAIButton};case q:return{...e,disabledAIButtons:t.disabledAIButtons};default:return e}},analysis:Bn,analysisData:function(e=Gn,t){switch(t.type){case oe:return{...e,snippet:t.data};case ce:return{...e,timestamp:t.timestamp};case le:return{...e,shortcodesForParsing:t.shortcodesForParsing}}return e},checklist:function(e=Vn,t){if(t.type===Ee){const r=Object.assign({},e);return r.checklistItems[t.name]=t.data,r}return e},currentPromotions:function(e={},t){return t.type===xe?{promotions:t.payload}:e},dismissedAlerts:function(e={},t){return t.type===Et&&t.alertKey?{...e,[t.alertKey]:!0}:t.type===gt?{...t.payload}:e},editorContext:function(e=function(){return{contentLocale:(0,i.get)(window,"wpseoScriptData.metabox.contentLocale",""),isBlockEditor:"1"===(0,i.get)(window,"wpseoScriptData.isBlockEditor","0"),isElementorEditor:"1"===(0,i.get)(window,"wpseoScriptData.isElementorEditor","0"),isPost:(0,i.get)(window,"wpseoScriptData",{}).hasOwnProperty("isPost"),isTerm:(0,i.get)(window,"wpseoScriptData",{}).hasOwnProperty("isTerm"),noIndex:"1"===(0,i.get)(window,"wpseoAdminL10n.noIndex","0"),postTypeNameSingular:(0,i.get)(window,"wpseoAdminL10n.postTypeNameSingular",""),postTypeNamePlural:(0,i.get)(window,"wpseoAdminL10n.postTypeNamePlural",""),termType:(0,i.get)(window,"wpseoScriptData.termType",""),postStatus:(0,i.get)(window,"wpseoScriptData.postStatus",""),isFrontPage:"1"===(0,i.get)(window,"wpseoScriptData.isFrontPage","0")}}()){return e},editorData:(e=qn,t)=>{switch(t.type){case Ge:return{...e,content:t.content};case qe:return{...e,excerpt:t.excerpt};case Ye:return{...e,imageUrl:t.imageUrl};case je:return{...e,slug:t.slug};case Ve:return{...e,title:t.title}}return e},editorModals:function(e=Yn,t){switch(t.type){case Ze:return{...e,openedModal:t.modalKey};case et:return{...e,openedModal:""}}return e},facebookEditor:(e=jn,t)=>{switch(t.type){case Hr:return{...e,title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}};case Fr:return{...e,title:t.title};case Kr:return{...e,description:t.description};case Br:return{...e,warnings:t.image.warnings,image:{id:t.image.id,url:t.image.url,alt:t.image.alt||""}};case xr:return{...e,image:{url:"",id:"",alt:""},warnings:[]};default:return e}},focusKeyword:function(e="",t){switch(t.type){case it:case st:return t.keyword;default:return e}},insights:(e=kn,{type:t,payload:r})=>{switch(t){case L:case N:return{...e,estimatedReadingTime:r};case M:return{...e,fleschReadingEaseScore:r.score,fleschReadingEaseDifficulty:r.difficulty};case U:return{...e,textLength:r};default:return e}},isCornerstone:function(e=!1,t){switch(t.type){case Ue:return!e;case We:return t.isCornerstone;default:return e}},isMarkerPaused:function(e=!1,t){return t.type===ut?function(e,t){return t.isMarkerPaused}(0,t):e},isPremium:(e=!1,t)=>t.type===Dn?t.payload:e,[d]:m,[S]:I,postId:(e=!1,t)=>t.type===Pn?t.payload:e,marksButtonStatus:function(e="disabled",t){return t.type===ct?t.marksButtonStatus:e},preferences:function(e=function(){const e=!!window.wpseoAdminL10n.displayAdvancedTab;return{isContentAnalysisActive:gi(),isKeywordAnalysisActive:mi(),isInclusiveLanguageAnalysisActive:_i(),isWordFormRecognitionActive:(0,i.isUndefined)(window.wpseoPremiumMetaboxData)&&Ti(),isCornerstoneActive:Si(),isBreadcrumbsDisabled:!!window.wpseoAdminL10n.isBreadcrumbsDisabled,isPrivateBlog:!!window.wpseoScriptData.isPrivateBlog,isSEMrushIntegrationActive:yi(),shouldUpsell:(0,i.isUndefined)(window.wpseoPremiumMetaboxData),displayAdvancedTab:e,displaySchemaSettings:e&&!!window.wpseoScriptData.isPost,displaySchemaSettingsFooter:window.wpseoScriptData.metabox.schema.displayFooter,useOpenGraphData:window.wpseoScriptData.metabox.showSocial.facebook,useTwitterData:window.wpseoScriptData.metabox.showSocial.twitter,isWincherIntegrationActive:wi(),isInsightsEnabled:(0,i.get)(window,"wpseoScriptData.metabox.isInsightsEnabled",!1),isNewsEnabled:(0,i.get)(window,"wpseoScriptData.metabox.isNewsSeoActive",!1),isAiFeatureActive:pi(),isWooCommerceSeoActive:(0,i.get)(window,"wpseoScriptData.metabox.isWooCommerceSeoActive",!1),isWooCommerceActive:(0,i.get)(window,"wpseoScriptData.metabox.isWooCommerceActive",!1),isRtl:(0,i.get)(window,"wpseoScriptData.metabox.isRtl",!1),userLocale:(0,i.get)(window,"wpseoScriptData.metabox.userLocale","en-US")}}()){return e},primaryTaxonomies:function(e=Ii,t){return t.type===St?{...e,[t.taxonomy]:t.termId}:e},schemaTab:(e=Ai,t)=>{switch(t.type){case wt:return{...e,pageType:t.pageType};case It:return{...e,articleType:t.articleType};case At:return{...e,pageType:t.pageType,defaultPageType:t.defaultPageType};case Rt:return{...e,articleType:t.articleType,defaultArticleType:t.defaultArticleType};default:return e}},SEMrushModal:function(e=Ri,t){switch(t.type){case bt:return{whichModalOpen:"none",displayNoKeyphraseMessage:!0};case vt:return{whichModalOpen:t.location,displayNoKeyphraseMessage:!1};case Pt:return{whichModalOpen:"none",displayNoKeyphraseMessage:!1}}return e},SEMrushRequest:function(e=hi,t){switch(t.type){case xt:return{...e,isRequestPending:!0};case Ft:return{...e,keyphrase:t.keyphrase,countryCode:t.countryCode,isSuccess:!1,response:null};case kt:return{...e,isRequestPending:!1,isSuccess:!0,response:t.response,hasData:!0};case Ut:return{...e,isRequestPending:!1,isSuccess:!1,response:t.response,hasData:!1};case Wt:return{...e,isRequestPending:!1,limitReached:!0,hasData:!1};case Mt:return{...e,countryCode:t.countryCode};case Kt:return{...e,isSuccess:!0,isRequestPending:!1,hasData:!1,response:null};case Bt:return{...e,isLoggedIn:t.loginStatus};default:return e}},settings:function(e={},t){switch(t.type){case Xt:return{...e,...t.settings};case zt:{const r=Object.assign({},e.socialPreviews,{contentImage:t.src});return{...e,socialPreviews:{...r}}}case Jt:{const r=Object.assign({},e.snippetEditor,t.snippetEditor);return{...e,snippetEditor:{...r}}}default:return e}},shoppingData:function(e=fi,t){if(t.type===rr){const r=(0,i.pick)(t.shoppingData,["rating","reviewCount","availability","price"]);return{...e,...r}}return e},snippetEditor:function(e=function(){return{mode:"mobile",data:{title:"",description:"",slug:""},wordsToHighlight:[],replacementVariables:[{name:"date",label:(0,Di.__)("Date","wordpress-seo"),value:""},{name:"id",label:(0,Di.__)("ID","wordpress-seo"),value:""},{name:"page",label:(0,Di.__)("Page","wordpress-seo"),value:""},{name:"searchphrase",label:(0,Di.__)("Search phrase","wordpress-seo"),value:""},{name:"sitedesc",label:(0,Di.__)("Tagline","wordpress-seo"),value:""},{name:"sitename",label:(0,Di.__)("Site title","wordpress-seo"),value:""},{name:"category",label:(0,Di.__)("Category","wordpress-seo"),value:""},{name:"focuskw",label:(0,Di.__)("Focus keyphrase","wordpress-seo"),value:""},{name:"title",label:(0,Di.__)("Title","wordpress-seo"),value:""},{name:"parent_title",label:(0,Di.__)("Parent title","wordpress-seo"),value:""},{name:"excerpt",label:(0,Di.__)("Excerpt","wordpress-seo"),value:""},{name:"primary_category",label:(0,Di.__)("Primary category","wordpress-seo"),value:""},{name:"sep",label:(0,Di.__)("Separator","wordpress-seo"),value:""},{name:"excerpt_only",label:(0,Di.__)("Excerpt only","wordpress-seo"),value:""},{name:"category_description",label:(0,Di.__)("Category description","wordpress-seo"),value:""},{name:"tag_description",label:(0,Di.__)("Tag description","wordpress-seo"),value:""},{name:"term_description",label:(0,Di.__)("Term description","wordpress-seo"),value:""},{name:"currentyear",label:(0,Di.__)("Current year","wordpress-seo"),value:""}],uniqueRefreshValue:"",templates:{title:"",description:""},isLoading:!0}}(),t){switch(t.type){case sr:return{...e,mode:t.mode};case ar:return{...e,data:{...e.data,...t.data}};case lr:return function(e,t){let r=!0,n=e.replacementVariables.map((e=>e.name===t.name?(r=!1,{name:t.name,label:t.label||e.label,value:t.value,hidden:e.hidden}):e));return r&&(n=function(e,t){return e.push({name:t.name,label:t.label||bi(t.name),value:t.value}),e}(n,t)),{...e,replacementVariables:n}}(e,t);case ur:return function(e,t){const r={},n=e.replacementVariables.map((e=>{const n=t.updatedVariables[e.name];return n?(r[e.name]=!0,{name:e.name,label:n.label||e.label,value:n.value,hidden:e.hidden}):e}));return Object.keys(t.updatedVariables).forEach((e=>{r[e]||n.push({name:e,label:t.updatedVariables[e].label||bi(e),value:t.updatedVariables[e].value,hidden:!1})})),{...e,replacementVariables:n}}(e,t);case cr:return function(e,t){const r=t.results.filter((t=>!e.replacementVariables.some((e=>e.name==="cf_"+t.key))));if(0===r.length)return e;const n=[...r.map((e=>({name:"cf_"+Ci(e.key),label:Pi(e.key+" (custom field)"),value:e.value,hidden:!1}))),...e.replacementVariables];return{...e,replacementVariables:n}}(e,t);case dr:{const r=e.replacementVariables.map((e=>({name:e.name,label:e.label,value:e.value,hidden:t.data.includes(e.name)})));return{...e,replacementVariables:r}}case pr:return{...e,replacementVariables:e.replacementVariables.filter((e=>e.name!==t.name))};case Er:return{...e,uniqueRefreshValue:t.time};case gr:return{...e,wordsToHighlight:t.wordsToHighlight};case mr:return{...e,data:{...e.data,title:t.data.title,description:t.data.description,slug:t.data.slug},templates:{...e.templates,title:t.templates.title,description:t.templates.description},isLoading:!1}}return e},twitterEditor:(e=Ni,t)=>{switch(t.type){case Cr:return{...e,title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}};case Or:return{...e,title:t.title};case Pr:return{...e,description:t.description};case vr:return{...e,image:{id:t.image.id,url:t.image.url,alt:t.image.alt||""},warnings:t.image.warnings};case br:return{...e,image:{url:"",id:"",alt:""},warnings:[]};default:return e}},warning:function(e=Li,t){return t.type===$r?{...e,message:t.message}:e},WincherModal:function(e=Mi,t){switch(t.type){case Jr:return{whichModalOpen:"none",hasNoKeyphrase:!0};case zr:return{...e,hasNoKeyphrase:!1,whichModalOpen:t.location};case Xr:return{...e,whichModalOpen:"none",hasNoKeyphrase:!1}}return e},WincherRequest:function(e=ki,t){switch(t.type){case an:return{...e,limitReached:!1,isSuccess:!1,response:null,isNewlyAuthenticated:!1};case rn:return{...e,isSuccess:!0,response:t.response};case nn:return{...e,isSuccess:!1,response:t.response};case sn:return{...e,limitReached:!0,limit:t.limit};case on:return{...e,isLoggedIn:t.loginStatus,isNewlyAuthenticated:t.newlyAuthenticated};case cn:return{...e,trackAll:t.trackAll};case ln:return{...e,automaticallyTrack:t.automaticallyTrack};default:return e}},WincherSEOPerformance:function(e=Ui,t){switch(t.type){case Tn:return{...e,websiteId:t.websiteId};case yn:return{...e,trackedKeyphrases:{...e.trackedKeyphrases,...t.keyphraseObject}};case wn:return{...e,trackedKeyphrases:(0,i.pickBy)(e.trackedKeyphrases,((e,r)=>r!==t.untrackedKeyphrase))};case In:return{...e,trackedKeyphrases:t.trackedKeyphrases}}return e},[D]:b};function Fi(){const e=Ei();return(0,i.get)(e,"contentLocale","en_US")}const Ki=e=>(0,i.get)(e,"insights.estimatedReadingTime",0),Bi=e=>(0,i.get)(e,"insights.fleschReadingEaseScore",null),xi=e=>(0,i.get)(e,"insights.fleschReadingEaseDifficulty",null),Hi=e=>null!==Bi(e)&&null!==xi(e),Gi=e=>(0,i.get)(e,"insights.textLength",{}),Vi=()=>{const e="en"===Fi().split("_")[0],t=Ei().isPremium;return!!e&&(!t||window.wp.data.select("yoast-seo-premium/editor").hasOwnProperty("getTextFormalityLevel"))},qi=e=>(0,i.get)(e,"AIButton.activeAIButton",""),Yi=e=>(0,i.get)(e,"AIButton.disabledAIButtons",{}),ji=e=>(0,i.get)(e,"advancedSettings.noIndex",""),$i=e=>(0,i.get)(e,"advancedSettings.noFollow",""),Qi=e=>(0,i.get)(e,"advancedSettings.advanced",""),Xi=e=>(0,i.get)(e,"advancedSettings.breadcrumbsTitle","summary"),zi=e=>(0,i.get)(e,"advancedSettings.canonical",""),Ji=e=>(0,i.get)(e,"advancedSettings.isLoading",!0),Zi="yoast-measurement-element";function es(e){let t=document.getElementById(Zi);return t||(t=function(){const e=document.createElement("div");return e.id=Zi,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}const ts=window.wp.hooks,rs=e=>(0,i.get)(e,"editorData.content",""),ns=e=>(0,i.get)(e,"editorData.title",""),is=e=>(0,i.get)(e,"editorData.excerpt"),ss=e=>{let t=(0,i.get)(e,"editorData.excerpt","");if(""===t){const r="ja"===Fi()?80:156;t=function(e,t=156){return(e=(e=(0,Oi.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}((0,i.get)(e,"editorData.content",""),r)}return t},as=e=>(0,i.get)(e,"editorData.imageUrl",""),os=e=>{const t=[{featuredOrFirstImage:(0,i.get)(e,"editorData.imageUrl","")},{socialImage:(0,i.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:(0,i.get)(window.wpseoScriptData,"metabox.showSocial.facebook")&&(0,i.get)(e,"settings.socialPreviews.sitewideImage","")}];(0,ts.applyFilters)("yoast.socials.imageFallback",t);for(const e of t)if(Object.values(e)[0])return Object.values(e)[0];return""},cs=e=>(0,i.get)(e,"editorData.slug","");function ls(e){return(0,i.get)(e,"focusKeyword","")}const us=e=>{const t=(0,ts.applyFilters)("yoast.focusKeyphrase.errors",[],ls(e));return(0,i.isArray)(t)?t.filter(i.isString):[]},ds=e=>(0,i.get)(e,"settings.socialPreviews.siteName",""),ps=e=>(0,i.get)(e,"settings.snippetEditor.baseUrl",""),Es=e=>(0,i.get)(e,"settings.snippetEditor.date",""),gs=e=>(0,i.get)(e,"settings.snippetEditor.recommendedReplacementVariables",[]),ms=e=>(0,i.get)(e,"settings.snippetEditor.siteIconUrl",""),_s=e=>(0,i.get)(e,"snippetEditor.replacementVariables",[]),Ss=e=>(0,i.get)(e,"snippetEditor.templates",{title:"",description:""}),Ts=e=>(0,i.get)(e,"snippetEditor.mode","mobile"),ys=e=>(0,i.get)(e,"snippetEditor.data.title",""),ws=e=>(0,i.get)(e,"snippetEditor.data.title","")||Ss(e).title,Is=e=>(0,i.get)(e,"snippetEditor.data.description",""),As=e=>Is(e)||Ss(e).description,Rs=e=>(0,i.get)(e,"snippetEditor.data.slug",""),hs=e=>(0,i.get)(e,"snippetEditor.data",{title:ys(e),description:Is(e),slug:Rs(e)}),fs=e=>(0,i.get)(e,"snippetEditor.wordsToHighlight",[]),Ds=e=>(0,i.get)(e,"snippetEditor.isLoading",!0),Os=e=>(0,i.get)(e,"snippetEditor.data.snippetPreviewImageURL",""),Ps=e=>(0,i.get)(e,"analysisData.snippet.title",""),vs=e=>(0,i.get)(e,"analysisData.snippet.description",""),bs=e=>(0,i.get)(e,"analysisData.snippet.url",""),Cs=e=>parseInt((0,i.get)(e,"analysisData.timestamp",0),10),Ns=e=>(0,i.get)(e,"analysisData.shortcodesForParsing",[]),Ls=e=>{const t=Ps(e)||ys(e),r=Rs(e);return{text:rs(e),title:t,keyword:ls(e),description:vs(e)||Is(e),locale:ii(e),titleWidth:es(t),slug:r,permalink:ps(e)+r}};function Ms(e){return e.isCornerstone}function ks(e){return e.checklist.checklistItems}function Us(e,t){return e.currentPromotions.promotions.includes(t)}const Ws=(e,t)=>(0,i.get)(e,"editorModals.openedModal","")===t,Fs=e=>(0,i.get)(e,"socialPreviews.contentImage",""),Ks=e=>{const t=[{featuredImage:(0,i.get)(e,"snippetEditor.data.snippetPreviewImageURL","")},{contentImage:(0,i.get)(e,"settings.socialPreviews.contentImage","")},{socialImage:(0,i.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:(0,i.get)(window,"wpseoScriptData.metabox.showSocial.facebook")&&(0,i.get)(e,"settings.socialPreviews.sitewideImage","")}];(0,ts.applyFilters)("yoast.socials.imageFallback",t);for(const e of t)if(Object.values(e)[0])return Object.values(e)[0];return""},Bs=()=>{let e=(0,i.get)(window,"wpseoScriptData.metabox.base_url","");return""===e?"":(e=new URL(e),e.host)},xs=()=>(0,i.get)(window,"wpseoScriptData.metabox.title_template",""),Hs=()=>(0,i.get)(window,"wpseoScriptData.metabox.title_template_no_fallback",""),Gs=()=>(0,i.get)(window,"wpseoScriptData.metabox.social_title_template",""),Vs=()=>(0,i.get)(window,"wpseoScriptData.metabox.metadesc_template",""),qs=()=>(0,i.get)(window,"wpseoScriptData.metabox.social_description_template",""),Ys=e=>{let t="";return(0,i.get)(e,"snippetEditor.replacementVariables",[]).forEach((e=>{"excerpt"===e.name&&(t=e.value)})),t},js=e=>(0,i.get)(e,"facebookEditor.title",""),$s=e=>(0,i.get)(e,"facebookEditor.description",""),Qs=e=>(0,i.get)(e,"facebookEditor.image.url"),Xs=e=>(0,i.get)(e,"facebookEditor.image.src",""),zs=e=>(0,i.get)(e,"facebookEditor.image.alt",""),Js=e=>(0,i.get)(e,"facebookEditor.warnings",[]),Zs=(0,n.createSelector)([Gs,Ps,Hs,xs],((...e)=>e.find(Boolean)||"")),ea=(0,n.createSelector)([js,Zs],((e,t)=>e||t)),ta=(0,n.createSelector)([qs,vs,Vs,Ys,ss],((...e)=>{var t;return null!==(t=e.find(Boolean))&&void 0!==t?t:""})),ra=(0,n.createSelector)([$s,ta],((e,t)=>e||t));function na(e){return e.activeMarker}function ia(e){return e.isMarkerPaused}function sa(e){return"enabled"===e.marksButtonStatus}function aa(e){return e.marksButtonStatus}function oa(e,t){return!0===e.dismissedAlerts[t]}function ca(e,t){return e.primaryTaxonomies[t]}const la=[],ua={};function da(e){const t=(0,i.get)(e,"analysis.seo",ua);return(0,i.isEmpty)(t)?{results:la,overallScore:null}:t}function pa(e,t){const r=da(e);return(0,i.get)(r,t,ua)}function Ea(e){const t=(0,i.get)(e,"analysis.readability",{});return(0,i.isEmpty)(t)?{results:la,overallScore:null}:t}function ga(e){return(0,i.get)(e,"analysis.inclusiveLanguage",{results:la,overallScore:null})}function ma(e){return pa(e,e.focusKeyword)}function _a(e,t){return[...ma(e).results||la,...Ea(e).results||la,...ga(e).results||la].find((e=>e._identifier===t))}function Sa(e){return e.marksButtonStatus}const Ta=e=>(0,i.get)(e,"schemaTab.defaultPageType",""),ya=e=>(0,i.get)(e,"schemaTab.pageType",""),wa=e=>(0,i.get)(e,"schemaTab.defaultArticleType",""),Ia=e=>(0,i.get)(e,"schemaTab.articleType","");function Aa(e){return e.SEMrushModal.whichModalOpen}function Ra(e){return e.SEMrushModal.displayNoKeyphraseMessage}function ha(e){return e.SEMrushRequest.isRequestPending}function fa(e){return e.SEMrushRequest.isSuccess}function Da(e){return e.SEMrushRequest.response}function Oa(e){return e.SEMrushRequest.limitReached}function Pa(e){return e.SEMrushRequest.keyphrase}function va(e){return e.SEMrushRequest.countryCode}function ba(e){return e.SEMrushRequest.hasData}function Ca(e){return e.SEMrushRequest.isLoggedIn}const Na=e=>(0,i.get)(e,"shoppingData",{}),La=e=>(0,i.get)(e,"twitterEditor.title",""),Ma=e=>(0,i.get)(e,"twitterEditor.description",""),ka=e=>(0,i.get)(e,"twitterEditor.image.url",""),Ua=e=>(0,i.get)(e,"settings.socialPreviews.twitterCardType","summary"),Wa=e=>(0,i.get)(e,"twitterEditor.image.src",""),Fa=e=>(0,i.get)(e,"twitterEditor.image.alt",""),Ka=e=>(0,i.get)(e,"twitterEditor.warnings",[]),Ba=(0,n.createSelector)([Gs,js,Ps,Hs,xs],((...e)=>e.find(Boolean)||"")),xa=(0,n.createSelector)([La,Ba],((e,t)=>e||t)),Ha=(0,n.createSelector)([qs,$s,vs,Vs,Ys,ss],((...e)=>{var t;return null!==(t=e.find(Boolean))&&void 0!==t?t:""})),Ga=(0,n.createSelector)([Ma,Ha],((e,t)=>e||t));function Va(e){return(0,i.get)(e,"warning.message",[])}function qa(e){return e.WincherModal.whichModalOpen}function Ya(e){return e.WincherModal.hasNoKeyphrase}function ja(e){return e.WincherRequest.isSuccess}function $a(e){return e.WincherRequest.response}function Qa(e){return e.WincherRequest.limitReached}function Xa(e){return e.WincherRequest.isLoggedIn}function za(e){return e.WincherRequest.isNewlyAuthenticated}function Ja(e){return e.WincherRequest.limit}function Za(e){return e.WincherRequest.historyDays}function eo(e){return!0===e.WincherRequest.trackAll}function to(e){return e.WincherRequest.automaticallyTrack&&ri(e)}function ro(e){return e.WincherSEOPerformance.websiteId}function no(e){return e.WincherSEOPerformance.trackedKeyphrases}function io(e){return!(0,i.isEmpty)(e.WincherSEOPerformance.trackedKeyphrases)}function so(e){const t=Ei().isPremium,r=window.wp.data.select("yoast-seo-premium/editor"),n=[e.focusKeyword.trim()];return t&&r&&n.push(...r.getKeywords().filter((e=>void 0!==e.keyword)).map((e=>e.keyword.trim()))),(0,i.uniq)(n.filter((e=>!!e)).map((e=>e.replace(/["+:\s]+/g," ").trim().toLocaleLowerCase()))).sort()}function ao(e){const{trackedKeyphrases:t}=e.WincherSEOPerformance;return!(0,i.isEmpty)(t)&&(0,i.filter)(t,(e=>(0,i.isEmpty)(e.updated_at))).length===Object.keys(t).length}function oo(e){const t=Ls(e);return t.slug?t.permalink:""}const co=e=>(0,i.get)(e,"isPremium",!1),lo=e=>(0,i.get)(e,"postId",null),{selectAdminUrl:uo,selectAdminLink:po}=o,{selectLinkParams:Eo,selectLinkParam:go,selectLink:mo}=E,{selectPluginUrl:_o,selectImageLink:So}=y,{selectWistiaEmbedPermission:To,selectWistiaEmbedPermissionValue:yo,selectWistiaEmbedPermissionStatus:wo,selectWistiaEmbedPermissionError:Io}=P;window.yoast=window.yoast||{},window.yoast.externals=window.yoast.externals||{},window.yoast.externals.redux={selectors:r,reducers:Wi,actions:t,utils:{createFreezeReducer:(e,t)=>{let r=!1,n=null;return{freezeReducer:(i=t,s)=>r?n:e(i,s),toggleFreeze:(e,t=!r)=>{n=t?(0,i.cloneDeep)(e()):null,r=Boolean(t)}}},createSnapshotReducer:(e,t)=>{let r,n=!1,s=!1;return{snapshotReducer:(i=t,s)=>n?(n=!1,r):e(i,s),takeSnapshot:(e,t)=>{t({type:"CREATE_SNAPSHOT"}),r=(0,i.cloneDeep)(e()),s=!0},restoreSnapshot:e=>{s&&(n=!0,e({type:"RESTORE_SNAPSHOT"}))}}}}}})();
Save Changes
Rename File
Rename