Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/js/Monsterinsights.e51bac79.js
Назад
import{t as k,u as M}from"./index.5a710757.js";import{_ as x}from"./MiIntro.b9f1cfe7.js";import{S as E}from"./External.c84e4310.js";import"./translations.12335a6a.js";import{_ as P}from"./_plugin-vue_export-helper.249dac1d.js";import{s as a,_ as e}from"./default-i18n.54b5d8cd.js";import{c as o,a as l,C as d,G as I,F as u,x as p,t as i,b as c,k as v,l as h,v as _,o as r}from"./runtime-dom.esm-bundler.6789c400.js";import"./helpers.f95d5840.js";import"./Card.5b602127.js";import"./Tooltip.b6b45c85.js";import"./Caret.662da1f3.js";import"./index.ee8124c6.js";import"./Slide.d0517fb0.js";import"./LogoGear.29bd352d.js";import"./em.38b6ef3c.js";const n="all-in-one-seo-pack",A={setup(){return{pluginsStore:k(),rootStore:M()}},components:{CoreMiIntro:x,SvgExternal:E},data(){return{installingPlugin:!1,justInstalled:!1,strings:{miLink:a("<strong>%1$s</strong>",e("Click here",n)),installMi:a(e("Install %1$s",n),"MonsterInsights"),activateMi:a(e("Activate %1$s",n),"MonsterInsights"),activateEm:a(e("Activate %1$s",n),"ExactMetrics"),miInstalled:a(e("%1$s is Installed & Active",n),"MonsterInsights"),emInstalled:a(e("%1$s is Installed & Active",n),"ExactMetrics"),setupGA:e("Launch Setup Wizard",n),emInstallH:a(e("Activate %1$s",n),"ExactMetrics"),emInstallP:a(e("%1$s shows you exactly which content gets the most visits, so you can analyze and optimize it for higher conversions.",n),"ExactMetrics"),miemInstallH:e("Install",n),miInstallH:a(e("Activate %1$s",n),"MonsterInsights"),miInstallP:a(e("%1$s shows you exactly which content gets the most visits, so you can analyze and optimize it for higher conversions.",n),"MonsterInsights"),emWizardH:a(e("Setup %1$s",n),"ExactMetrics"),miWizardH:a(e("Setup %1$s",n),"MonsterInsights"),emWizardP:a(e("%1$s has an intuitive setup wizard to guide you through the setup process.",n),"ExactMetrics"),miWizardP:a(e("%1$s has an intuitive setup wizard to guide you through the setup process.",n),"MonsterInsights")}}},computed:{gaActivated(){return this.pluginsStore.plugins.miLite.activated||this.pluginsStore.plugins.emLite.activated||this.pluginsStore.plugins.miPro.activated||this.pluginsStore.plugins.emPro.activated},gaInstalled(){return this.pluginsStore.plugins.miLite.installed||this.pluginsStore.plugins.emLite.installed||this.pluginsStore.plugins.miPro.installed||this.pluginsStore.plugins.emPro.installed},miOnboardingUrl(){return this.prefersEm?`${this.rootStore.aioseo.urls.home}/wp-admin/admin.php?page=exactmetrics-onboarding`:`${this.rootStore.aioseo.urls.home}/wp-admin/admin.php?page=monsterinsights-onboarding`},prefersEm(){return(this.pluginsStore.plugins.emLite.installed||this.pluginsStore.plugins.emPro.installed)&&!this.pluginsStore.plugins.miLite.installed&&!this.pluginsStore.plugins.miPro.installed}},methods:{installMi(){this.installingPlugin=!0,this.pluginsStore.installPlugins([{plugin:this.prefersEm?"emLite":"miLite",type:"plugin"}]).then(()=>{this.installingPlugin=!1,this.justInstalled=!0,this.pluginsStore.plugins.miLite.activated=!0}).catch(f=>{console.error(f)})}}},z={class:"aioseo-analytics"},b={id:"aioseo-analytics",class:"aioseo-wrap aioseo-plugin-landing"},L=l("div",{class:"step-count"},[l("span",{class:"step-count__num"},"1")],-1),j={class:"content"},w={class:"step-title"},H={key:0},C={key:1},W={key:2},B={key:3},N={key:4},V=l("div",{class:"step-count"},[l("span",{class:"step-count__num"},"2")],-1),G={class:"content"},U={class:"step-title"},F={class:"step-body"},O={class:"step-title"},R={class:"step-body"};function D(f,T,q,m,s,t){const y=_("core-mi-intro"),S=_("svg-external"),g=_("base-button");return r(),o("div",z,[l("div",b,[d(y,{"prefers-em":t.prefersEm},null,8,["prefers-em"]),l("section",{class:I(s.justInstalled||t.gaActivated?"aioseo-card step step--completed":"aioseo-card step step--current")},[L,l("div",j,[l("h2",w,[t.gaInstalled?c("",!0):(r(),o(u,{key:0},[p(i(s.strings.miemInstallH)+" & ",1)],64)),t.prefersEm?(r(),o(u,{key:1},[p(i(s.strings.emInstallH),1)],64)):(r(),o(u,{key:2},[p(i(s.strings.miInstallH),1)],64))]),l("p",null,[t.prefersEm?(r(),o(u,{key:0},[p(i(s.strings.emInstallP),1)],64)):(r(),o(u,{key:1},[p(i(s.strings.miInstallP),1)],64))]),m.pluginsStore.plugins.miLite.canInstall?c("",!0):(r(),v(g,{key:0,type:"blue",size:"medium",tag:"a",target:"_blank",href:m.pluginsStore.plugins.miLite.wpLink},{default:h(()=>[d(S),p(" "+i(s.strings.installMi),1)]),_:1},8,["href"])),m.pluginsStore.plugins.miLite.canInstall?(r(),v(g,{key:1,loading:s.installingPlugin,type:s.justInstalled||t.gaActivated?"disabled":"blue",size:"medium",onClick:t.installMi},{default:h(()=>[!s.justInstalled&&!t.gaInstalled?(r(),o("span",H,i(s.strings.installMi),1)):c("",!0),(s.justInstalled||t.gaActivated)&&!t.prefersEm?(r(),o("span",C,i(s.strings.miInstalled),1)):c("",!0),(s.justInstalled||t.gaActivated)&&t.prefersEm?(r(),o("span",W,i(s.strings.emInstalled),1)):c("",!0),!s.justInstalled&&t.gaInstalled&&!t.gaActivated&&!t.prefersEm?(r(),o("span",B,i(s.strings.activateMi),1)):c("",!0),!s.justInstalled&&t.gaInstalled&&!t.gaActivated&&t.prefersEm?(r(),o("span",N,i(s.strings.activateEm),1)):c("",!0)]),_:1},8,["loading","type","onClick"])):c("",!0)])],2),l("section",{class:I(s.justInstalled||t.gaActivated?"aioseo-card step step--current":"aioseo-card step step--pending")},[V,l("div",G,[t.prefersEm?(r(),o(u,{key:0},[l("h2",U,i(s.strings.emWizardH),1),l("p",F,i(s.strings.emWizardP),1)],64)):(r(),o(u,{key:1},[l("h2",O,i(s.strings.miWizardH),1),l("p",R,i(s.strings.miWizardP),1)],64)),d(g,{disabled:!s.justInstalled&&!t.gaActivated,type:"blue",size:"medium",tag:"a",href:t.miOnboardingUrl},{default:h(()=>[p(i(s.strings.setupGA),1)]),_:1},8,["disabled","href"])])],2)])])}const os=P(A,[["render",D]]);export{os as default};
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка