Your IP : 18.116.14.245


Current Path : /proc/self/root/home/sudancam/.trash/wp-content/plugins/seo-by-rank-math/assets/admin/js/
Upload File :
Current File : //proc/self/root/home/sudancam/.trash/wp-content/plugins/seo-by-rank-math/assets/admin/js/elementor.js

!function(t){var e={};function n(r){if(e[r])return e[r].exports;var a=e[r]={i:r,l:!1,exports:{}};return t[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(r,a,function(e){return t[e]}.bind(null,a));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=76)}({0:function(t,e){t.exports=wp.i18n},1:function(t,e){t.exports=lodash},13:function(t,e){t.exports=wp.apiFetch},15:function(t,e,n){"use strict";n.d(e,"a",(function(){return Tn}));var r={};n.r(r),n.d(r,"updateKeywords",(function(){return l})),n.d(r,"updatePillarContent",(function(){return d})),n.d(r,"toggleFrontendScore",(function(){return f})),n.d(r,"updateAnalysisScore",(function(){return h})),n.d(r,"updateCanonicalUrl",(function(){return m})),n.d(r,"updateAdvancedRobots",(function(){return g})),n.d(r,"updateRobots",(function(){return y})),n.d(r,"updateBreadcrumbTitle",(function(){return b})),n.d(r,"resetDirtyMetadata",(function(){return k})),n.d(r,"updateFacebookTitle",(function(){return w})),n.d(r,"updateFacebookDescription",(function(){return v})),n.d(r,"updateFacebookImage",(function(){return _})),n.d(r,"updateFacebookImageID",(function(){return O})),n.d(r,"updateFacebookHasOverlay",(function(){return j})),n.d(r,"updateFacebookImageOverlay",(function(){return D})),n.d(r,"updateAppData",(function(){return p})),n.d(r,"updateAppUi",(function(){return s})),n.d(r,"updatePostID",(function(){return I})),n.d(r,"updatePermalink",(function(){return T})),n.d(r,"updateTitle",(function(){return S})),n.d(r,"updateDescription",(function(){return A})),n.d(r,"updateFeaturedImage",(function(){return P})),n.d(r,"updatePrimaryTermID",(function(){return M})),n.d(r,"updateRedirection",(function(){return E})),n.d(r,"updateRedirectionItem",(function(){return U})),n.d(r,"resetRedirection",(function(){return C})),n.d(r,"updateHasRedirect",(function(){return R})),n.d(r,"updateSerpTitle",(function(){return z})),n.d(r,"updateSerpSlug",(function(){return L})),n.d(r,"updateSerpDescription",(function(){return G})),n.d(r,"toggleSnippetEditor",(function(){return B})),n.d(r,"updateSnippetPreviewType",(function(){return V})),n.d(r,"toggleTrendsCta",(function(){return $})),n.d(r,"updateTwitterUseFacebook",(function(){return W})),n.d(r,"updateTwitterCardType",(function(){return q})),n.d(r,"updateTwitterTitle",(function(){return Q})),n.d(r,"updateTwitterDescription",(function(){return J})),n.d(r,"updateTwitterAuthor",(function(){return X})),n.d(r,"updateTwitterImageID",(function(){return Y})),n.d(r,"updateTwitterImage",(function(){return Z})),n.d(r,"updateTwitterHasOverlay",(function(){return tt})),n.d(r,"updateTwitterImageOverlay",(function(){return et})),n.d(r,"updateTwitterPlayerUrl",(function(){return nt})),n.d(r,"updateTwitterPlayerSize",(function(){return rt})),n.d(r,"updateTwitterPlayerStreamUrl",(function(){return at})),n.d(r,"updateTwitterPlayerStreamCtype",(function(){return it})),n.d(r,"updateTwitterAppDescription",(function(){return ot})),n.d(r,"updateTwitterAppIphoneID",(function(){return ct})),n.d(r,"updateTwitterAppIphoneName",(function(){return ut})),n.d(r,"updateTwitterAppIphoneUrl",(function(){return pt})),n.d(r,"updateTwitterAppIpadID",(function(){return st})),n.d(r,"updateTwitterAppIpadName",(function(){return lt})),n.d(r,"updateTwitterAppIpadUrl",(function(){return dt})),n.d(r,"updateTwitterAppGoogleplayID",(function(){return ft})),n.d(r,"updateTwitterAppGoogleplayName",(function(){return ht})),n.d(r,"updateTwitterAppGoogleplayUrl",(function(){return mt})),n.d(r,"updateTwitterAppCountry",(function(){return gt})),n.d(r,"toggleLoaded",(function(){return yt})),n.d(r,"updateSelectedKeyword",(function(){return bt})),n.d(r,"refreshResults",(function(){return kt})),n.d(r,"setVersion",(function(){return wt})),n.d(r,"toggleIsDiviPageSettingsBarActive",(function(){return vt})),n.d(r,"toggleIsDiviRankMathModalActive",(function(){return _t})),n.d(r,"toggleSchemaEditor",(function(){return At})),n.d(r,"toggleSchemaTemplates",(function(){return Pt})),n.d(r,"schemaUpdated",(function(){return Mt})),n.d(r,"setEditingSchemaId",(function(){return Et})),n.d(r,"setEditorTab",(function(){return Ut})),n.d(r,"setTemplateTab",(function(){return Ct})),n.d(r,"updateEditSchemas",(function(){return Rt})),n.d(r,"updateSchemas",(function(){return Ft})),n.d(r,"updateEditSchema",(function(){return xt})),n.d(r,"saveSchema",(function(){return Kt})),n.d(r,"deleteSchema",(function(){return Ht})),n.d(r,"saveTemplate",(function(){return Nt})),n.d(r,"updateKeywordsData",(function(){return zt})),n.d(r,"updateAIScore",(function(){return Lt}));var a={};n.r(a),n.d(a,"appData",(function(){return Qt})),n.d(a,"appUi",(function(){return te}));var i={};n.r(i),n.d(i,"getAppData",(function(){return ee})),n.d(i,"getDirtyMetadata",(function(){return ne})),n.d(i,"getAnalysisScore",(function(){return re})),n.d(i,"getKeywords",(function(){return ae})),n.d(i,"getPillarContent",(function(){return ie})),n.d(i,"getRobots",(function(){return oe})),n.d(i,"getAdvancedRobots",(function(){return ce})),n.d(i,"getCanonicalUrl",(function(){return ue})),n.d(i,"getBreadcrumbTitle",(function(){return pe})),n.d(i,"getRichSnippets",(function(){return se})),n.d(i,"getShowScoreFrontend",(function(){return le})),n.d(i,"isLoaded",(function(){return de})),n.d(i,"getSelectedKeyword",(function(){return fe})),n.d(i,"isRefreshing",(function(){return he})),n.d(i,"isPro",(function(){return me})),n.d(i,"isDiviPageSettingsBarActive",(function(){return ge})),n.d(i,"isDiviRankMathModalActive",(function(){return ye})),n.d(i,"getFacebookTitle",(function(){return be})),n.d(i,"getFacebookDescription",(function(){return ke})),n.d(i,"getFacebookAuthor",(function(){return we})),n.d(i,"getFacebookImageID",(function(){return ve})),n.d(i,"getFacebookImage",(function(){return _e})),n.d(i,"getFacebookHasOverlay",(function(){return Oe})),n.d(i,"getFacebookImageOverlay",(function(){return je})),n.d(i,"getPostID",(function(){return De})),n.d(i,"getTitle",(function(){return Ie})),n.d(i,"getPermalink",(function(){return Te})),n.d(i,"getDescription",(function(){return Se})),n.d(i,"getFeaturedImage",(function(){return Ae})),n.d(i,"getFeaturedImageHtml",(function(){return Pe})),n.d(i,"getPrimaryTermID",(function(){return Me})),n.d(i,"getRedirectionID",(function(){return Ee})),n.d(i,"getRedirectionType",(function(){return Ue})),n.d(i,"getRedirectionUrl",(function(){return Ce})),n.d(i,"getRedirectionItem",(function(){return Re})),n.d(i,"hasRedirect",(function(){return Fe})),n.d(i,"getSerpTitle",(function(){return Ke})),n.d(i,"getSerpSlug",(function(){return He})),n.d(i,"getSerpDescription",(function(){return Ne})),n.d(i,"isSnippetEditorOpen",(function(){return ze})),n.d(i,"getSnippetPreviewType",(function(){return Le})),n.d(i,"isTrendsCtaOpen",(function(){return Ge})),n.d(i,"isSchemaEditorOpen",(function(){return Be})),n.d(i,"isSchemaTemplatesOpen",(function(){return Ve})),n.d(i,"hasSchemaUpdated",(function(){return $e})),n.d(i,"getSchemas",(function(){return We})),n.d(i,"getEditSchemas",(function(){return qe})),n.d(i,"getEditingSchema",(function(){return Qe})),n.d(i,"getPreviewSchema",(function(){return Je})),n.d(i,"getEditorTab",(function(){return Xe})),n.d(i,"getTemplateTab",(function(){return Ye})),n.d(i,"getTwitterUseFacebook",(function(){return Ze})),n.d(i,"getTwitterCardType",(function(){return tn})),n.d(i,"getTwitterTitle",(function(){return en})),n.d(i,"getTwitterDescription",(function(){return nn})),n.d(i,"getTwitterAuthor",(function(){return rn})),n.d(i,"getTwitterImageID",(function(){return an})),n.d(i,"getTwitterImage",(function(){return on})),n.d(i,"getTwitterHasOverlay",(function(){return cn})),n.d(i,"getTwitterImageOverlay",(function(){return un})),n.d(i,"getTwitterAppDescription",(function(){return pn})),n.d(i,"getTwitterAppIphoneID",(function(){return sn})),n.d(i,"getTwitterAppIphoneName",(function(){return ln})),n.d(i,"getTwitterAppIphoneUrl",(function(){return dn})),n.d(i,"getTwitterAppIpadID",(function(){return fn})),n.d(i,"getTwitterAppIpadName",(function(){return hn})),n.d(i,"getTwitterAppIpadUrl",(function(){return mn})),n.d(i,"getTwitterAppGoogleplayID",(function(){return gn})),n.d(i,"getTwitterAppGoogleplayName",(function(){return yn})),n.d(i,"getTwitterAppGoogleplayUrl",(function(){return bn})),n.d(i,"getTwitterAppCountry",(function(){return kn})),n.d(i,"getTwitterPlayerUrl",(function(){return wn})),n.d(i,"getTwitterPlayerSize",(function(){return vn})),n.d(i,"getTwitterPlayerStream",(function(){return _n})),n.d(i,"getTwitterPlayerStreamCtype",(function(){return On})),n.d(i,"getKeywordsData",(function(){return jn})),n.d(i,"getContentAIScore",(function(){return Dn}));var o=n(3),c=n(8),u=n(6);function p(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return e=Object(u.applyFilters)("rank_math_sanitize_data",e,t,n),null!==r&&(r=Object(u.applyFilters)("rank_math_sanitize_meta_value",r,t,n)),r=null===r?e:r,Object(u.doAction)("rank_math_data_changed",t,e,n),{type:"RANK_MATH_APP_DATA",key:t,value:e,metaKey:n,metaValue:r}}function s(t,e){return Object(u.doAction)("rank_math_update_app_ui",t,e),{type:"RANK_MATH_APP_UI",key:t,value:e}}function l(t){return c.a.setVariable("focuskw",t.split(",")[0]),rankMathEditor.refresh("keyword"),p("keywords",t,"rank_math_focus_keyword")}function d(t){return p("pillarContent",t,"rank_math_pillar_content",!0===t?"on":"off")}function f(t){return p("showScoreFrontend",t,"rank_math_dont_show_seo_score",!0===t?"off":"on")}function h(t){return p("score",t,"rank_math_seo_score")}function m(t){return p("canonicalUrl",t,"rank_math_canonical_url")}function g(t){return p("advancedRobots",t,"rank_math_advanced_robots")}function y(t){return p("robots",t,"rank_math_robots",Object.keys(t))}function b(t){return p("breadcrumbTitle",t,"rank_math_breadcrumb_title")}function k(){return p("dirtyMetadata",{})}function w(t){return p("facebookTitle",t,"rank_math_facebook_title")}function v(t){return p("facebookDescription",t,"rank_math_facebook_description")}function _(t){return p("facebookImage",t,"rank_math_facebook_image")}function O(t){return p("facebookImageID",t,"rank_math_facebook_image_id")}function j(t){return p("facebookHasOverlay",t,"rank_math_facebook_enable_image_overlay",!0===t?"on":"off")}function D(t){return p("facebookImageOverlay",t,"rank_math_facebook_image_overlay")}function I(t){return rankMath.objectID=t,p("postID",t)}function T(t){return p("permalink",t,"permalink")}function S(t){return p("title",t,"rank_math_title")}function A(t){return p("description",t,"rank_math_description")}function P(t){return p("featuredImage",t)}function M(t,e){return p("primaryTerm",parseInt(t),"rank_math_primary_"+e)}function E(t,e){return p(t,e)}function U(t){return s("redirectionItem",t)}function C(){return s("redirectionItem",{})}function R(t){return s("hasRedirect",t)}var F=n(7),x=n(1),K=n(16),H=function(t,e){return t=(t=F.Helpers.cleanText(t)).replace(/\r?\n|\r/g," "),e?Object(x.truncate)(t,{length:e,separator:" "}):t},N=function(t){var e=rankMathEditor.assessor.dataCollector.getData(),n=e.excerpt,r=function(t){if(Object(x.isEmpty)(t))return"";t=F.Helpers.stripScript(t),t=F.Helpers.stripStyle(t),t=Object(x.unescape)(t).replace(/\[caption[^\]]*\](.*)\[\/caption\]/g,"");var e=Object(x.filter)(F.Helpers.matchParagraphs(t,!0,!0),(function(t){return""!==t.trim()}));if(!e.length)return"";var n=rankMathEditor.getPrimaryKeyword();if(""!==n){var r=Object(x.filter)(e,(function(t){return Object(x.includes)(t.toLowerCase(),n.toLowerCase())}));if(0<r.length)return H(r[0],160)}return H(e[0],160)}(e.content),a=Object(x.isUndefined)(n)||Object(x.isEmpty)(n)?r:Object(x.unescape)(n);if(c.a.setVariable("excerpt",a),c.a.setVariable("seo_description",a),""!==(t=Object(K.a)(Object(u.applyFilters)("rankMath/description",t))))return F.Helpers.cleanText(t);if(!Object(x.isUndefined)(n)&&!Object(x.isEmpty)(n))return F.Helpers.cleanText(n);var i=Object(x.unescape)(rankMath.assessor.serpData.descriptionTemplate);return Object(x.isUndefined)(i)||""===i?r:F.Helpers.cleanText(i)};function z(t){return t=c.a.swap(""!==t?t:rankMath.assessor.serpData.titleTemplate),rankMathEditor.refresh("title"),s("serpTitle",t)}function L(t){return t=""!==t?t:rankMathEditor.assessor.dataCollector.getSlug(),rankMathEditor.refresh("permalink"),s("serpSlug",t)}function G(t){return t=c.a.swap(N(t)),rankMathEditor.refresh("description"),s("serpDescription",t)}function B(t){return s("isSnippetEditorOpen",t)}function V(t){return s("snippetPreviewType",t)}function $(t){return s("isTrendsCtaOpen",t)}function W(t){return p("twitterUseFacebook",t,"rank_math_twitter_use_facebook",!0===t?"on":"off")}function q(t){return p("twitterCardType",t,"rank_math_twitter_card_type")}function Q(t){return p("twitterTitle",t,"rank_math_twitter_title")}function J(t){return p("twitterDescription",t,"rank_math_twitter_description")}function X(t){return p("twitterAuthor",t,"rank_math_twitter_author")}function Y(t){return p("twitterImageID",t,"rank_math_twitter_image_id")}function Z(t){return p("twitterImage",t,"rank_math_twitter_image")}function tt(t){return p("twitterHasOverlay",t,"rank_math_twitter_enable_image_overlay",!0===t?"on":"off")}function et(t){return p("twitterImageOverlay",t,"rank_math_twitter_image_overlay")}function nt(t){return p("twitterPlayerUrl",t,"rank_math_twitter_player_url")}function rt(t){return p("twitterPlayerSize",t,"rank_math_twitter_player_size")}function at(t){return p("twitterPlayerStream",t,"rank_math_twitter_player_stream")}function it(t){return p("twitterPlayerStreamCtype",t,"rank_math_twitter_player_stream_ctype")}function ot(t){return p("twitterAppDescription",t,"rank_math_twitter_app_description")}function ct(t){return p("twitterAppIphoneID",t,"rank_math_twitter_app_iphone_id")}function ut(t){return p("twitterAppIphoneName",t,"rank_math_twitter_app_iphone_name")}function pt(t){return p("twitterAppIphoneUrl",t,"rank_math_twitter_app_iphone_url")}function st(t){return p("twitterAppIpadID",t,"rank_math_twitter_app_ipad_id")}function lt(t){return p("twitterAppIpadName",t,"rank_math_twitter_app_ipad_name")}function dt(t){return p("twitterAppIpadUrl",t,"rank_math_twitter_app_ipad_url")}function ft(t){return p("twitterAppGoogleplayID",t,"rank_math_twitter_app_googleplay_id")}function ht(t){return p("twitterAppGoogleplayName",t,"rank_math_twitter_app_googleplay_name")}function mt(t){return p("twitterAppGoogleplayUrl",t,"rank_math_twitter_app_googleplay_url")}function gt(t){return p("twitterAppCountry",t,"rank_math_twitter_app_country")}function yt(t){return s("isLoaded",t)}function bt(t){return s("selectedKeyword",t)}function kt(){return s("refreshResults",Date.now())}function wt(){return s("isPro",!0)}function vt(t){return s("isDiviPageSettingsBarActive",t)}function _t(t){return s("isDiviRankMathModalActive",t)}var Ot=n(0),jt=n(13),Dt=n.n(jt);function It(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?It(Object(n),!0).forEach((function(e){St(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):It(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function St(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function At(t){return s("isSchemaEditorOpen",t)}function Pt(t){return s("isSchemaTemplatesOpen",t)}function Mt(t){return s("schemaUpdated",t)}function Et(t){return s("editingSchemaId",t)}function Ut(t){return s("editorTab",t)}function Ct(t){return s("templateTab",t)}function Rt(t){return s("editSchemas",t)}function Ft(t){return p("schemas",t)}function xt(t,e){var n=Tt({},Object(o.select)("rank-math").getEditSchemas());return n[t]=e,s("editSchemas",n)}function Kt(t,e){var n=Tt({},Object(o.select)("rank-math").getSchemas());return n[t]=e,p("schemas",n)}function Ht(t){var e=Tt({},Object(o.select)("rank-math").getSchemas());return delete e[t],Object(u.doAction)("rank_math_schema_trash",t),p("schemas",e,"rank_math_delete_"+t,"")}function Nt(t,e,n){return Dt()({method:"POST",path:"rankmath/v1/saveTemplate",data:{schema:t,postId:n}}).then((function(n){e({loading:!1,showNotice:!0,postId:n.id}),setTimeout((function(){e({showNotice:!1}),Object(x.get)(rankMath,"isTemplateScreen",!1)&&(document.title=Object(Ot.__)("Edit Schema","rank-math"),window.history.pushState(null,"",n.link.replace(/&amp;/g,"&")))}),2e3),rankMath.schemaTemplates.push({schema:t,title:t.metadata.title,type:t["@type"]})})),e({loading:!0}),{type:"DONT_WANT_TO_DO_SOMETHING"}}function zt(t){return s("keywordsData",t)}function Lt(t){return p("contentAIScore",t,"rank_math_contentai_score")}function Gt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Bt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Gt(Object(n),!0).forEach((function(e){Vt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Vt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $t=rankMath.assessor.serpData,Wt=rankMath.assessor.hasRedirection,qt={postID:null,title:$t.title?$t.title:$t.titleTemplate,description:$t.description,keywords:$t.focusKeywords,pillarContent:$t.pillarContent,featuredImage:"",permalink:!1,primaryTerm:$t.primaryTerm,robots:$t.robots,advancedRobots:$t.advancedRobots,canonicalUrl:$t.canonicalUrl,breadcrumbTitle:$t.breadcrumbTitle,showScoreFrontend:$t.showScoreFrontend,redirectionID:Wt?Object(x.get)(rankMath.assessor,"redirection.id",""):"",redirectionType:Wt?Object(x.get)(rankMath.assessor,"redirection.header_code",""):"",redirectionUrl:Wt?Object(x.get)(rankMath.assessor,"redirection.url_to",""):"",facebookTitle:$t.facebookTitle,facebookImage:$t.facebookImage,facebookImageID:$t.facebookImageID,facebookAuthor:$t.facebookAuthor,facebookDescription:$t.facebookDescription,facebookHasOverlay:$t.facebookHasOverlay,facebookImageOverlay:$t.facebookImageOverlay,twitterTitle:$t.twitterTitle,twitterImage:$t.twitterImage,twitterAuthor:$t.twitterAuthor,twitterImageID:$t.twitterImageID,twitterCardType:$t.twitterCardType,twitterUseFacebook:$t.twitterUseFacebook,twitterDescription:$t.twitterDescription,twitterHasOverlay:$t.twitterHasOverlay,twitterImageOverlay:$t.twitterImageOverlay,twitterPlayerUrl:$t.twitterPlayerUrl,twitterPlayerSize:$t.twitterPlayerSize,twitterPlayerStream:$t.twitterPlayerStream,twitterPlayerStreamCtype:$t.twitterPlayerStreamCtype,twitterAppDescription:$t.twitterAppDescription,twitterAppIphoneName:$t.twitterAppIphoneName,twitterAppIphoneID:$t.twitterAppIphoneID,twitterAppIphoneUrl:$t.twitterAppIphoneUrl,twitterAppIpadName:$t.twitterAppIpadName,twitterAppIpadID:$t.twitterAppIpadID,twitterAppIpadUrl:$t.twitterAppIpadUrl,twitterAppGoogleplayName:$t.twitterAppGoogleplayName,twitterAppGoogleplayID:$t.twitterAppGoogleplayID,twitterAppGoogleplayUrl:$t.twitterAppGoogleplayUrl,twitterAppCountry:$t.twitterAppCountry,schemas:Object(x.get)(rankMath,"schemas",{}),score:0,contentAIScore:{},dirtyMetadata:{}};function Qt(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:qt,n=arguments.length>1?arguments[1]:void 0,r=Bt({},e.dirtyMetadata);return!1!==n.metaKey&&(r[n.metaKey]=n.metaValue),"RANK_MATH_APP_DATA"===n.type?"dirtyMetadata"===n.key?Bt(Bt({},e),{},{dirtyMetadata:n.value}):Bt(Bt({},e),{},(Vt(t={},n.key,n.value),Vt(t,"dirtyMetadata",r),t)):e}function Jt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Xt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Jt(Object(n),!0).forEach((function(e){Yt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Jt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Yt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Zt={isLoaded:!1,isPro:!1,selectedKeyword:{tag:"",index:0,data:{value:""}},hasRedirect:rankMath.assessor.hasRedirection&&!Object(x.isEmpty)(Object(x.get)(rankMath.assessor,"redirection.id",""))&&!Object(x.isEmpty)(Object(x.get)(rankMath.assessor,"redirection.url_to","")),serpTitle:"",serpSlug:"",serpDescription:"",isSnippetEditorOpen:!1,snippetPreviewType:"",refreshResults:"",redirectionItem:{},isTrendsCtaOpen:!1,editorTab:"",templateTab:"",editSchemas:{},editingSchemaId:"",isSchemaEditorOpen:!1,isSchemaTemplatesOpen:!1,schemaUpdated:!1,isDiviRankMathModalActive:!1,isDiviPageSettingsBarActive:!1,keywordsData:Object(x.get)(rankMath,"ca_data",[])};function te(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Zt,e=arguments.length>1?arguments[1]:void 0;return"RANK_MATH_APP_UI"===e.type?Xt(Xt({},t),{},Yt({},e.key,e.value)):t}function ee(t){return t.appData}function ne(t){return t.appData.dirtyMetadata}function re(t){return t.appData.score}function ae(t){return t.appData.keywords}function ie(t){return t.appData.pillarContent}function oe(t){return t.appData.robots}function ce(t){return t.appData.advancedRobots}function ue(t){return t.appData.canonicalUrl}function pe(t){return t.appData.breadcrumbTitle}function se(t){return"todo"}function le(t){return t.appData.showScoreFrontend}function de(t){return t.appUi.isLoaded}function fe(t){return t.appUi.selectedKeyword}function he(t){return t.appUi.refreshResults}function me(t){return t.appUi.isPro}function ge(t){return t.appUi.isDiviPageSettingsBarActive}function ye(t){return t.appUi.isDiviRankMathModalActive}function be(t){return t.appData.facebookTitle}function ke(t){return t.appData.facebookDescription}function we(t){return t.appData.facebookAuthor}function ve(t){return t.appData.facebookImageID}function _e(t){return t.appData.facebookImage}function Oe(t){return t.appData.facebookHasOverlay}function je(t){return""!==t.appData.facebookImageOverlay?t.appData.facebookImageOverlay:"play"}function De(t){return t.appData.postID}function Ie(t){return t.appData.title}function Te(t){return t.appData.permalink}function Se(t){return t.appData.description}function Ae(t){return t.appData.featuredImage}function Pe(t){var e=t.appData.featuredImage;return'<img src="'.concat(e.source_url,'" alt="').concat(e.alt_text,'" >')}function Me(t){return t.appData.primaryTerm}function Ee(t){return t.appData.redirectionID}function Ue(t){return t.appData.redirectionType}function Ce(t){return t.appData.redirectionUrl}function Re(t){return t.appUi.redirectionItem}function Fe(t){return t.appUi.hasRedirect}var xe=n(9);function Ke(t){return Object(K.a)(t.appUi.serpTitle)}function He(t){return Object(xe.safeDecodeURIComponent)(t.appUi.serpSlug)}function Ne(t){return t.appUi.serpDescription}function ze(t){return t.appUi.isSnippetEditorOpen}function Le(t){return t.appUi.snippetPreviewType}function Ge(t){return t.appUi.isTrendsCtaOpen}function Be(t){return t.appUi.isSchemaEditorOpen}function Ve(t){return t.appUi.isSchemaTemplatesOpen}function $e(t){return t.appUi.schemaUpdated}function We(t){return t.appData.schemas}function qe(t){return t.appUi.editSchemas}function Qe(t){return{id:t.appUi.editingSchemaId,data:t.appUi.editSchemas[t.appUi.editingSchemaId]}}function Je(t){return t.appData.schemas[t.appUi.editingSchemaId]}function Xe(t){return t.appUi.editorTab}function Ye(t){return t.appUi.templateTab}function Ze(t){return t.appData.twitterUseFacebook}function tn(t){return t.appData.twitterCardType}function en(t){return t.appData.twitterTitle}function nn(t){return t.appData.twitterDescription}function rn(t){return t.appData.twitterAuthor}function an(t){return t.appData.twitterImageID}function on(t){return t.appData.twitterImage}function cn(t){return t.appData.twitterHasOverlay}function un(t){return""!==t.appData.twitterImageOverlay?t.appData.twitterImageOverlay:"play"}function pn(t){return t.appData.twitterAppDescription}function sn(t){return t.appData.twitterAppIphoneID}function ln(t){return t.appData.twitterAppIphoneName}function dn(t){return t.appData.twitterAppIphoneUrl}function fn(t){return t.appData.twitterAppIpadID}function hn(t){return t.appData.twitterAppIpadName}function mn(t){return t.appData.twitterAppIpadUrl}function gn(t){return t.appData.twitterAppGoogleplayID}function yn(t){return t.appData.twitterAppGoogleplayName}function bn(t){return t.appData.twitterAppGoogleplayUrl}function kn(t){return t.appData.twitterAppCountry}function wn(t){return t.appData.twitterPlayerUrl}function vn(t){return t.appData.twitterPlayerSize}function _n(t){return t.appData.twitterPlayerStream}function On(t){return t.appData.twitterPlayerStreamCtype}function jn(t){return t.appUi.keywordsData}function Dn(t){return t.appData.contentAIScore}var In=Object(o.registerStore)("rank-math",{reducer:Object(o.combineReducers)(a),selectors:i,actions:r});function Tn(){return In}},16:function(t,e,n){"use strict";var r=document.createElement("div");e.a=function(t){return t&&"string"==typeof t&&(t=t.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),r.innerHTML=t,t=r.textContent,r.textContent=""),t}},2:function(t,e){t.exports=jQuery},20:function(t,e,n){"use strict";var r=n(4),a=Object(r.createSlotFill)("RankMathAfterEditor"),i=a.Fill,o=a.Slot,c=function(t){var e=t.children,n=t.className;return wp.element.createElement(i,null,wp.element.createElement(r.PanelRow,{className:n},e))};c.Slot=o,e.a=c},21:function(t,e,n){"use strict";var r=n(4),a=Object(r.createSlotFill)("RankMathAdvancedTab"),i=a.Fill,o=a.Slot,c=function(t){var e=t.children,n=t.className;return wp.element.createElement(i,null,wp.element.createElement(r.PanelRow,{className:n},e))};c.Slot=o,e.a=c},22:function(t,e,n){"use strict";var r=n(4),a=Object(r.createSlotFill)("RankMathAfterFocusKeyword"),i=a.Fill,o=a.Slot,c=function(t){var e=t.children,n=t.className;return wp.element.createElement(i,null,wp.element.createElement("div",{className:n},e))};c.Slot=o,e.a=c},25:function(t,e,n){"use strict";var r=n(0),a=n(6);function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),rankMath.is_front_page&&(Object(a.addFilter)("rankMath_analysis_contentLength","rank-math",this.contentLength),Object(a.addFilter)("rankMath_analysis_contentLength_boundaries","rank-math",this.contentLengthBoundary))}var e,n,o;return e=t,(n=[{key:"contentLength",value:function(t){return{hasScore:t.hasScore,failed:Object(r.__)("Content is %1$d words long. Consider using at least 300 words.","rank-math"),tooltipText:Object(r.__)("Minimum recommended content length should be 300 words.","rank-math"),emptyContent:Object(r.sprintf)(Object(r.__)("Content should be %1$s long.","rank-math"),'<a href="https://s.rankmath.com/100contentlength" target="_blank">'+Object(r.__)("300 words","rank-math")+"</a>")}}},{key:"contentLengthBoundary",value:function(){return{recommended:{boundary:299,score:8},belowRecommended:{boundary:200,score:5},low:{boundary:50,score:2}}}}])&&i(e.prototype,n),o&&i(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.a=o},3:function(t,e){t.exports=wp.data},30:function(t,e){t.exports=wp.mediaUtils},33:function(t,e,n){"use strict";var r=n(7),a=n(6),i=n(15),o=n(1),c=n(0),u=n(3);function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.analyzer=new r.Analyzer({i18n:c,analyses:rankMath.assessor.researchesTests}),this.dataCollector=e,this.registerRefresh(),this.updateKeywordResult=this.updateKeywordResult.bind(this),this.sanitizeData=this.sanitizeData.bind(this),Object(a.addAction)("rankMath_analysis_keywordUsage_updated","rank-math",this.updateKeywordResult),Object(a.addFilter)("rank_math_sanitize_meta_value","rank-math",this.sanitizeData),Object(a.addFilter)("rank_math_sanitize_data","rank-math",this.sanitizeData)}var e,n,s;return e=t,(n=[{key:"updateKeywordResult",value:function(t,e){rankMathEditor.resultManager.update(t,{keywordNotUsed:e}),t===this.getSelectedKeyword().toLowerCase()&&Object(u.dispatch)("rank-math").refreshResults()}},{key:"sanitizeData",value:function(t,e){return"schemas"===e||Object(o.isObject)(t)||Object(o.isEmpty)(t)?t:r.Helpers.sanitizeAppData(t)}},{key:"getPaper",value:function(t,e){var n=Object(i.a)().getState(),c=this.dataCollector.getData(),u=new r.Paper("",{locale:rankMath.localeFull});return u.setTitle(n.appUi.serpTitle),u.setPermalink(c.slug),u.setDescription(n.appUi.serpDescription),u.setUrl(c.permalink),u.setText(Object(o.unescape)(Object(a.applyFilters)("rank_math_content",c.content))),u.setKeyword(t),u.setKeywords(e),u.setSchema(n.appData.schemas),Object(o.isUndefined)(c.featuredImage)||(u.setThumbnail(c.featuredImage.source_url),u.setThumbnailAltText(r.Helpers.removeDiacritics(c.featuredImage.alt_text))),Object(o.isEmpty)(n.appData.contentAIScore)&&Object(o.isEmpty)(rankMath.ca_keyword)||u.setContentAI(!0),u}},{key:"registerRefresh",value:function(){var t=this;this.refresh=Object(o.debounce)((function(e){var n=Object(i.a)().getState();if(!1!==n.appUi.isLoaded){var o=n.appData.keywords.split(","),c=[];Object(a.doAction)("rank_math_"+e+"_refresh"),o.map((function(e,n){var a=t.getPaper(r.Helpers.removeDiacritics(e),o),i=0===n?rankMath.assessor.researchesTests:t.filterTests(t.getSecondaryKeywordTests());c.push(t.analyzer.analyzeSome(i,a).then((function(t){rankMathEditor.resultManager.update(a.getKeyword(),t,0===n),0===n&&Object(u.dispatch)("rank-math").updateAnalysisScore(rankMathEditor.resultManager.getScore(a.getKeyword()))}))),Promise.all(c).then((function(){Object(u.dispatch)("rank-math").refreshResults()}))}))}}),500)}},{key:"getSecondaryKeywordTests",value:function(){return["keywordInContent","lengthContent","keywordInSubheadings","keywordDensity","lengthPermalink","linksHasExternals","linksNotAllExternals","linksHasInternal","titleSentiment","titleHasPowerWords","titleHasNumber","contentHasTOC","contentHasShortParagraphs","contentHasAssets"]}},{key:"getPrimaryKeyword",value:function(){var t=Object(i.a)().getState().appData.keywords;return r.Helpers.removeDiacritics(t.split(",")[0])}},{key:"getSelectedKeyword",value:function(){var t=Object(i.a)().getState(),e=""!==t.appUi.selectedKeyword.data.value?t.appUi.selectedKeyword.data.value:t.appData.keywords.split(",")[0];return r.Helpers.removeDiacritics(e)}},{key:"getResearch",value:function(t){return this.analyzer.researcher.getResearch(t)}},{key:"filterTests",value:function(t){return Object(o.intersection)(t,rankMath.assessor.researchesTests)}}])&&p(e.prototype,n),s&&p(e,s),Object.defineProperty(e,"prototype",{writable:!1}),t}(),l=n(25);function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var f=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,o;return e=t,(n=[{key:"setup",value:function(t){Object(i.a)(),this.resultManager=new r.ResultManager,this.assessor=new s(t),new l.a,Object(a.doAction)("rank_math_loaded")}},{key:"refresh",value:function(t){this.assessor.refresh(t)}},{key:"getPrimaryKeyword",value:function(){return this.assessor.getPrimaryKeyword()}},{key:"getSelectedKeyword",value:function(){return this.assessor.getSelectedKeyword()}},{key:"updatePermalink",value:function(t){throw"Implement the function"}},{key:"updatePermalinkSanitize",value:function(t){throw"Implement the function"}}])&&d(e.prototype,n),o&&d(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.a=f},4:function(t,e){t.exports=wp.components},42:function(t,e){t.exports=Marionette},5:function(t,e){t.exports=wp.element},6:function(t,e){t.exports=wp.hooks},7:function(t,e){t.exports=rankMathAnalyzer},76:function(t,e,n){"use strict";n.r(e);var r=n(2),a=n.n(r),i=n(3),o=n(30),c=n(6),u=n(33),p=n(1),s=n(13),l=n.n(s),d=n(9),f=n(8);function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function m(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){g(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var b=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.initialize=!1,this._data={id:!1,slug:!1,permalink:!1,content:!1,title:!1,excerpt:!1,featuredImage:!1},this.refresh=this.refresh.bind(this),this.savePost=this.savePost.bind(this),this.saveRedirection=this.saveRedirection.bind(this),this.saveSchemas=this.saveSchemas.bind(this),this.subscribeToElementor(),setTimeout(this.elementorPreviewLoaded.bind(this),5e3)}var e,n,r;return e=t,(n=[{key:"elementorPreviewLoaded",value:function(){var t=this;Object(c.addAction)("rank_math_data_changed","rank-math",(function(){t.activateSaveButton()})),Object(c.addAction)("rank_math_update_app_ui","rank-math",(function(e){"hasRedirect"===e&&t.activateSaveButton()}))}},{key:"activateSaveButton",value:function(){var t=Object(p.get)(elementor,"saver.footerSaver",!1);!1===t?elementor.channels.editor.trigger("status:change",!0):t.activateSaveButtons(document,!0)}},{key:"collectGutenbergData",value:function(){return{id:this.getPostID(),slug:this.getSlug(),permalink:this.getPermalink(),content:this.getContent(),title:this.getTitle(),excerpt:this.getExcerpt(),featuredImage:this.getFeaturedImage()}}},{key:"getPostID",value:function(){return elementor.config.document.id}},{key:"getTitle",value:function(){return elementor.settings.page.model.get("post_title")}},{key:"getContent",value:function(){var t=[];return this.getContentArea().find(".elementor-widget-container").each((function(){t.push(a()(this).html())})),t.join("")}},{key:"getContentArea",value:function(){if(this._contentArea)return this._contentArea;var t=elementor.$preview.contents().find('[data-elementor-type="'+ElementorConfig.document.type+'"]');return t.length<1?a()("<div />"):(this._contentArea=t,t)}},{key:"getExcerpt",value:function(){return elementor.settings.page.model.get("post_excerpt")}},{key:"getPermalink",value:function(){return rankMath.is_front_page?rankMath.homeUrl+"/":this.getSlug()?rankMath.permalinkFormat.replace(/%(postname|pagename)%/,this.getSlug()).trimRight("/"):""}},{key:"getSlug",value:function(){return Object(d.safeDecodeURIComponent)(Object(i.select)("rank-math").getPermalink())}},{key:"getFeaturedImage",value:function(){var t=elementor.settings.page.model.get("post_featured_image");if(!Object(p.isUndefined)(t)&&(t=""===t.id?0:parseInt(t.id),this.isValidMediaId(t))){var e=Object(i.select)("core").getMedia(t);if(!Object(p.isUndefined)(e))return e}}},{key:"isValidMediaId",value:function(t){return"number"==typeof t&&0<t}},{key:"subscribeToElementor",value:function(){Object(i.dispatch)("rank-math").updatePermalink(rankMath.postName),this.subscriber=Object(p.debounce)(this.refresh,500),Object(i.subscribe)(this.subscriber),elementor.saver.on("before:save",this.savePost),elementor.saver.on("before:save",this.saveRedirection),elementor.saver.on("before:save",this.saveSchemas),elementor.settings.page.model.on("change",this.subscriber)}},{key:"refresh",value:function(){var t=m({},this._data);this._data=this.collectGutenbergData(),this.handleEditorChange(t),!Object(p.isEqual)(t,this._data)&&t.id&&elementor.channels.editor.trigger("status:change",!0)}},{key:"savePost",value:function(){var t=Object(i.select)("rank-math").getDirtyMetadata();Object(p.isEmpty)(t)||(l()({method:"POST",path:"rankmath/v1/updateMeta",data:{objectID:rankMath.objectID,objectType:rankMath.objectType,meta:t,content:this.getContent()}}).then((function(t){Object(p.isString)(t.slug)&&Object(i.dispatch)("rank-math").updatePermalink(t.slug),Object(c.doAction)("rank_math_metadata_updated",t)})),Object(i.dispatch)("rank-math").resetDirtyMetadata())}},{key:"saveRedirection",value:function(){var t=Object(i.select)("rank-math").getRedirectionItem();Object(p.isEmpty)(t)||(t.objectID=this.getPostID(),t.redirectionSources=this.getPermalink(),l()({method:"POST",path:"rankmath/v1/updateRedirection",data:t}).then((function(t){"delete"===t.action?Object(i.dispatch)("rank-math").updateRedirection("redirectionID",0):"new"===t.action&&Object(i.dispatch)("rank-math").updateRedirection("redirectionID",t.id)})),Object(i.dispatch)("rank-math").resetRedirection())}},{key:"saveSchemas",value:function(){var t=Object(i.select)("rank-math").getSchemas();if(!Object(p.isEmpty)(t)&&Object(i.select)("rank-math").hasSchemaUpdated()){var e=Object(i.select)("rank-math").getEditSchemas();l()({method:"POST",path:"rankmath/v1/updateSchemas",data:{objectID:rankMath.objectID,objectType:rankMath.objectType,schemas:t}}).then((function(n){if(!Object(p.isEmpty)(n)){var r=m({},t),a=m({},e);Object(p.map)(n,(function(t,e){r["schema-"+t]=m({},r[e]),a["schema-"+t]=m({},a[e]),delete r[e],delete a[e]})),Object(i.dispatch)("rank-math").schemaUpdated(!1),Object(i.dispatch)("rank-math").updateSchemas(r),Object(i.dispatch)("rank-math").updateEditSchemas(a)}}))}}},{key:"handleEditorChange",value:function(t){var e=this,n={id:"handleIDChange",slug:"handleSlugChange",title:"handleTitleChange",excerpt:"handleExcerptChange",content:"handleContentChange",featuredImage:"handleFeaturedImageChange"};if(Object(p.isInteger)(t.id))return this.initialize?void Object(p.forEach)(n,(function(n,r){e._data[r]!==t[r]&&e[n](e._data[r])})):(this.initialize=!0,Object(p.forEach)(n,(function(t,n){e[t](e._data[n])})),void rankMathEditor.refresh("init"));Object(i.dispatch)("rank-math").refreshResults()}},{key:"handleIDChange",value:function(t){Object(i.dispatch)("rank-math").updatePostID(t),Object(i.dispatch)("rank-math").toggleLoaded(!0)}},{key:"handleSlugChange",value:function(){rankMathEditor.refresh("permalink")}},{key:"handleTitleChange",value:function(t){f.a.setVariable("title",t),Object(i.dispatch)("rank-math").updateSerpTitle(Object(i.select)("rank-math").getTitle()),rankMathEditor.refresh("title")}},{key:"handleExcerptChange",value:function(t){f.a.setVariable("excerpt",t),f.a.setVariable("excerpt_only",t),f.a.setVariable("wc_shortdesc",t),f.a.setVariable("seo_description",t),Object(i.dispatch)("rank-math").updateSerpDescription(Object(i.select)("rank-math").getDescription())}},{key:"handleFeaturedImageChange",value:function(t){Object(i.dispatch)("rank-math").updateFeaturedImage(t),rankMathEditor.refresh("featuredImage")}},{key:"handleContentChange",value:function(){Object(i.dispatch)("rank-math").updateSerpDescription(Object(i.select)("rank-math").getDescription()),rankMathEditor.refresh("content")}},{key:"getData",value:function(){return this._data}}])&&y(e.prototype,n),r&&y(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),k=n(42),w=n.n(k),v=n(5),_=w.a.ItemView.extend({template:!1,id:"elementor-panel-rank-math",className:"rank-math-elementor rank-math-sidebar-panel",initialize:function(){a()("#elementor-panel-elements-search-area").hide()},onShow:function(){Object(v.render)(Object(v.createElement)(Object(c.applyFilters)("rank_math_app",{})),document.getElementById("elementor-panel-rank-math"))},onDestroy:function(){a()("#elementor-panel-elements-search-area").show()}}),O=function(t){return t["rank-math"]={region:t.global.region,view:_,options:{}},t};function j(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var D=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.onThemeChange=this.onThemeChange.bind(this),elementor.settings.editorPreferences.model.on("change",this.onThemeChange)}var e,n,r;return e=t,(n=[{key:"onThemeChange",value:function(t){var e=Object(p.get)(t,"changed.ui_theme",!1);if(!1!==e){this.manageContentAI(e);var n=this.getThemeLink();"light"!==e?n.attr("media","auto"===e?"(prefers-color-scheme: dark)":"").appendTo(elementorCommon.elements.$body):n.remove()}}},{key:"manageContentAI",value:function(t){if(rankMath.elementorContentAI){var e=this.getContentAILink();"light"!==t?e.attr("media","auto"===t?"(prefers-color-scheme: dark)":"").appendTo(elementorCommon.elements.$body):e.remove()}}},{key:"getThemeLink",value:function(){return this.link||this.createThemeLink(),this.link}},{key:"getContentAILink",value:function(){return this.contentAIlink||this.createcontentAILink(),this.contentAIlink}},{key:"createThemeLink",value:function(){var t="rank-math-elementor-dark-css";this.link=a()("#"+t),this.link.length||(this.link=a()("<link>",{id:t,rel:"stylesheet",href:rankMath.elementorDarkMode}))}},{key:"createcontentAILink",value:function(){var t="rank-math-content-ai-dark-css";this.contentAIlink=a()("#"+t),this.contentAIlink.length||(this.contentAIlink=a()("<link>",{id:t,rel:"stylesheet",href:rankMath.elementorContentAI}))}}])&&j(e.prototype,n),r&&j(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),I=n(20),T=n(21),S=n(22);function A(t){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},A(t)}function P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function M(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function E(){return E="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=U(t,e);if(r){var a=Object.getOwnPropertyDescriptor(r,e);return a.get?a.get.call(arguments.length<3?t:n):a.value}},E.apply(this,arguments)}function U(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=x(t)););return t}function C(t,e){return C=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},C(t,e)}function R(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=x(t);if(e){var a=x(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return F(this,n)}}function F(t,e){if(e&&("object"===A(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function x(t){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},x(t)}var K=function(){return o.MediaUpload},H=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&C(t,e)}(o,t);var e,n,r,a=R(o);function o(){return P(this,o),a.apply(this,arguments)}return e=o,(n=[{key:"setup",value:function(t){this.registerSlots=this.registerSlots.bind(this),Object(c.addAction)("rank_math_loaded","rank-math",this.registerSlots,0),Object(c.addFilter)("editor.MediaUpload","rank-math/replace-media-upload",K),E(x(o.prototype),"setup",this).call(this,t)}},{key:"registerSlots",value:function(){this.RankMathAfterEditor=I.a,this.RankMathAfterFocusKeyword=S.a,this.RankMathAdvancedTab=T.a,this.slots={AfterEditor:I.a,AfterFocusKeyword:S.a,AdvancedTab:T.a}}},{key:"updatePermalink",value:function(t){Object(i.dispatch)("rank-math").updatePermalink(t)}},{key:"updatePermalinkSanitize",value:function(t){t=this.assessor.getResearch("slugify")(t),Object(i.dispatch)("rank-math").updatePermalink(t)}}])&&M(e.prototype,n),r&&M(e,r),Object.defineProperty(e,"prototype",{writable:!1}),o}(u.a);a()((function(){window.rankMathEditor=new H,window.rankMathGutenberg=window.rankMathEditor,new D,elementor.once("preview:loaded",(function(){$e.components.get("panel/elements").addTab("rank-math",{title:"SEO"}),window.rankMathEditor.setup(new b),Object(i.dispatch)("rank-math").refreshResults()}))})),a()(window).on("elementor:init",(function(){elementor.hooks.addFilter("panel/elements/regionViews",O)}))},8:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(2),a=n.n(r);function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.map=null}var e,n,r;return e=t,(n=[{key:"swap",value:function(t,e){var n=this;if(!(t=t||""))return"";var r=new RegExp(/%(([a-z0-9_-]+)\(([^)]*)\)|[^\s]+)%/,"giu");return t.replace(" %page%","").replace("%sep% %sep%","%sep%").replace(r,(function(t){return n.replace(e,t)})).trim()}},{key:"replace",value:function(t,e){var n=e.toLowerCase().slice(1,-1);return["term_description","user_description"].includes(n)?"undefined"!=typeof tinymce&&tinymce.activeEditor&&"rank_math_description_editor"===tinymce.activeEditor.id?tinymce.activeEditor.getContent():a()("#description").val():n.includes("customfield(")?(n=n.replace("customfield(","").replace(")",""))in rankMath.customFields?rankMath.customFields[n]:"":(t=t||this.getMap(),(n="seo_description"===(n="seo_title"===(n=n.includes("(")?n.split("(")[0]:n)?"title":n)?"excerpt":n)in t?t[n]:"")}},{key:"getMap",value:function(){var t=this;return null!==this.map||(this.map={},a.a.each(rankMath.variables,(function(e,n){e=e.toLowerCase().replace(/%+/g,"").split("(")[0],t.map[e]=n.example}))),this.map}},{key:"setVariable",value:function(t,e){null!==this.map?this.map[t]=e:void 0!==rankMath.variables[t]&&(rankMath.variables[t].example=e)}}])&&i(e.prototype,n),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}())},9:function(t,e){t.exports=wp.url}});