Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
superstepsgroup.com
/
wp-content
/
plugins
/
all-in-one-seo-pack
/
dist
/
Lite
/
assets
/
js
/
Editing: SitemapsPro.6c0fecc0.js
import{g as N,x as b,c as P,G as L,b as x,Z,h as q,a4 as B}from"./app-core.b862f9c8.js";import{u as O}from"./Url.2a5968be.js";import{C as T}from"./Index.3967c277.js";import{C as I}from"./Button.6c09d515.js";import{C as R}from"./Index.08267eee.js";import{C as F}from"./Tooltip.cb3a78f6.js";import{S as Y}from"./Close.de45e465.js";import{aq as h,f as r,i as l,j as i,B as C,U as a,M as d,Q as k,R as g,ae as m,P as y,a0 as f,T as z}from"./vendor-vue-ui.f00a1236.js";import{_ as w}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as o,a as G}from"./vendor-other.7b559694.js";const n="all-in-one-seo-pack",j={setup(){const{getHref:t}=O();return{GLOBAL_STRINGS:L,addonsStore:B(),getHref:t,licenseStore:q(),links:P,pluginsStore:Z(),rootStore:x()}},components:{CoreAlert:T,CoreLoader:I,CoreModal:R,CoreTooltip:F,SvgClose:Y},props:{feature:{type:Object,required:!0},canActivate:{type:Boolean,default(){return!0}},canManage:{type:Boolean,default(){return!1}},staticCard:Boolean},data(){return{addons:b,addon:{},showNetworkModal:!1,changeStatusOnNetwork:!1,failed:!1,loading:!1,featureUpgrading:!1,strings:{version:o("Version",n),updateToVersion:o("Update to version",n),activated:o("Activated",n),networkActivated:o("Network Activated",n),deactivated:o("Deactivated",n),notInstalled:o("Not Installed",n),upgradeToPro:o("Upgrade to Pro",n),upgradeYourPlan:o("Upgrade Your Plan",n),updateFeature:o("Update Addon",n),permissionWarning:o("You currently don't have permission to update this addon. Please ask a site administrator to update.",n),manage:o("Manage",n),requestFailed:o("An error occurred while changing the addon status. Please try again or contact support for more information.",n),updateRequired:G(o("An update is required for this addon to continue to work with %1$s %2$s.",n),"AIOSEO","Pro"),areYouSureNetworkChange:o("This is a network-wide change.",n),yesProcessNetworkChange:o("Yes, process this network change",n),noChangedMind:o("No, I changed my mind",n)}}},watch:{showNetworkModal(t){if(t){this.changeStatusOnNetwork=!1;return}this.changeStatusOnNetwork||(this.addon.isActive=!this.addon.isActive),this.changeStatusOnNetwork&&this.actuallyProcessStatusChange()}},computed:{networkChangeMessage(){return this.addon.isActive?o("Are you sure you want to activate this addon across the network?",n):o("Are you sure you want to deactivate this addon across the network?",n)},statusLabel(){return this.addon.isActive?!this.rootStore.aioseo.data.isNetworkAdmin&&this.addon.isNetworkActive?this.strings.networkActivated:this.strings.activated:this.addon.installed||this.addon.canInstall?this.strings.deactivated:this.strings.notInstalled}},methods:{closeNetworkModal(t){this.changeStatusOnNetwork=t,this.showNetworkModal=!1},processStatusChange(t){if(this.addon.isActive=t,this.rootStore.aioseo.data.isNetworkAdmin){this.showNetworkModal=!0;return}this.actuallyProcessStatusChange()},actuallyProcessStatusChange(){this.failed=!1,this.loading=!0;const t=this.addon.isActive?"installPlugins":"deactivatePlugins";this.pluginsStore[t]([{plugin:this.addon.basename}]).then(s=>{this.loading=!1,s.body.failed.length&&(this.addon.isActive=!this.addon.isActive,this.failed=!0)}).catch(()=>{this.loading=!1,this.addon.isActive=!this.addon.isActive})},processUpgradeFeature(){this.failed=!1,this.featureUpgrading=!0,this.pluginsStore.upgradePlugins([{plugin:this.addon.sku}]).then(t=>{if(this.featureUpgrading=!1,t.body.failed.length){this.addon.isActive=!1,this.failed=!0;return}this.addon=this.addons.getAddon(this.addon.sku)}).catch(()=>{this.featureUpgrading=!1,this.addon.isActive=!1})}},mounted(){this.addon=this.addons.getAddon(this.feature.sku);const t=N();!this.addon.isActive&&t["aioseo-activate"]&&t["aioseo-activate"]===this.addon.sku&&(this.loading=!0,this.addon.isActive=!0,this.pluginsStore.installPlugins([{plugin:this.addon.basename}]).then(()=>this.loading=!1).catch(()=>{this.loading=!1,this.addon.isActive=!this.addon.isActive}))}},D={class:"aioseo-feature-card"},E={class:"feature-card-header"},W={class:"feature-card-description"},Q={key:0,class:"learn-more"},J=["href"],K=["href"],X={key:1,class:"learn-more"},$=["href"],ee=["href"],se={key:0,class:"feature-card-install-activate"},te={key:1,class:"version"},oe={class:"status"},ne={key:1,class:"feature-card-upgrade-cta"},re={key:0},ae={key:1},ie={key:2,class:"feature-card-upgrade-cta"},de={class:"version"},le={key:0},ce={class:"aioseo-modal-body"},ue={class:"reset-description"};function ge(t,s,p,c,e,u){const A=h("core-alert"),S=h("core-loader"),M=h("base-toggle"),v=h("base-button"),V=h("core-tooltip"),U=h("svg-close"),H=h("core-modal");return r(),l("div",D,[i("div",{class:y(["feature-card-body",{static:p.staticCard}])},[i("div",E,[C(t.$slots,"title")]),i("div",W,[C(t.$slots,"description"),(!e.addon.isActive||e.addon.requiresUpgrade)&&!p.staticCard?(r(),l("div",Q,[i("a",{href:c.links.utmUrl("feature-manager-addon-link",e.addon.sku,e.addon.learnMoreUrl),target:"_blank"},a(c.GLOBAL_STRINGS.learnMore),9,J),i("a",{href:c.links.utmUrl("feature-manager-addon-link",e.addon.sku,e.addon.learnMoreUrl),class:"no-underline",target:"_blank"}," →",8,K)])):d("",!0),e.addon.manageUrl&&(e.addon.isActive&&!e.addon.requiresUpgrade||p.staticCard)&&p.canManage?(r(),l("div",X,[i("a",{href:c.getHref(e.addon.manageUrl)},a(e.strings.manage),9,$),i("a",{href:c.getHref(e.addon.manageUrl),class:"no-underline"}," → ",8,ee)])):d("",!0),e.failed?(r(),k(A,{key:2,class:"install-failed",type:"red"},{default:g(()=>[m(a(e.strings.requestFailed),1)]),_:1})):d("",!0)])],2),p.canActivate?(r(),l("div",{key:0,class:y(["feature-card-footer",{"upgrade-required":e.addon.requiresUpgrade||!c.licenseStore.license.isActive}])},[!e.addon.requiresUpgrade&&c.licenseStore.license.isActive&&(!e.addon.installed||e.addon.hasMinimumVersion)?(r(),l("div",se,[e.loading?(r(),k(S,{key:0,dark:""})):d("",!0),!e.loading&&e.addon.installedVersion?(r(),l("span",te,a(e.strings.version)+" "+a(e.addon.installedVersion),1)):d("",!0),i("span",oe,a(u.statusLabel),1),e.addon.installed||e.addon.canInstall?(r(),k(M,{key:2,modelValue:e.addon.isActive,disabled:e.loading,"onUpdate:modelValue":s[0]||(s[0]=_=>u.processStatusChange(_))},null,8,["modelValue","disabled"])):d("",!0)])):d("",!0),e.addon.requiresUpgrade||!c.licenseStore.license.isActive?(r(),l("div",ne,[f(v,{type:"green",size:"medium",tag:"a",href:c.links.getUpsellUrl("feature-manager-upgrade",e.addon.sku,c.rootStore.isPro?"pricing":"liteUpgrade"),target:"_blank"},{default:g(()=>[c.rootStore.isPro?(r(),l("span",re,a(e.strings.upgradeYourPlan),1)):d("",!0),c.rootStore.isPro?d("",!0):(r(),l("span",ae,a(e.strings.upgradeToPro),1))]),_:1},8,["href"])])):d("",!0),c.rootStore.isPro&&!e.addon.requiresUpgrade&&e.addon.installed&&!e.addon.hasMinimumVersion?(r(),l("div",ie,[e.addon.isActive&&!e.loading?(r(),k(V,{key:0},{tooltip:g(()=>[m(a(e.strings.updateRequired)+" ",1),e.addons.userCanUpdate(e.addon.sku)?d("",!0):(r(),l("strong",le,a(e.strings.permissionWarning),1))]),default:g(()=>[i("span",de,a(e.strings.updateToVersion)+" "+a(e.addon.minimumVersion),1)]),_:1})):d("",!0),f(v,{type:"blue",size:"medium",onClick:u.processUpgradeFeature,loading:e.featureUpgrading,disabled:!e.addons.userCanUpdate(e.addon.sku)},{default:g(()=>[m(a(e.strings.updateFeature),1)]),_:1},8,["onClick","loading","disabled"])])):d("",!0)],2)):d("",!0),f(H,{show:e.showNetworkModal,"no-header":"",onClose:s[4]||(s[4]=_=>u.closeNetworkModal(!1)),classes:["aioseo-feature-card-modal"]},{body:g(()=>[i("div",ce,[i("button",{class:"close",onClick:s[1]||(s[1]=z(_=>u.closeNetworkModal(!1),["stop"]))},[f(U)]),i("h3",null,a(e.strings.areYouSureNetworkChange),1),i("div",ue,a(u.networkChangeMessage),1),f(v,{type:"blue",size:"medium",onClick:s[2]||(s[2]=_=>u.closeNetworkModal(!0))},{default:g(()=>[m(a(e.strings.yesProcessNetworkChange),1)]),_:1}),f(v,{type:"gray",size:"medium",onClick:s[3]||(s[3]=_=>u.closeNetworkModal(!1))},{default:g(()=>[m(a(e.strings.noChangedMind),1)]),_:1})])]),_:1},8,["show"])])}const Le=w(j,[["render",ge]]),he={},fe={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function pe(t,s){return r(),l("svg",fe,[...s[0]||(s[0]=[i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11 15H7C5.35 15 4 13.65 4 12C4 10.35 5.35 9 7 9H11V7H7C4.24 7 2 9.24 2 12C2 14.76 4.24 17 7 17H11V15ZM17 7H13V9H17C18.65 9 20 10.35 20 12C20 13.65 18.65 15 17 15H13V17H17C19.76 17 22 14.76 22 12C22 9.24 19.76 7 17 7ZM16 11H8V13H16V11Z",fill:"currentColor"},null,-1)])])}const xe=w(he,[["render",pe]]),_e={},me={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"aioseo-redirect"};function ve(t,s){return r(),l("svg",me,[...s[0]||(s[0]=[i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.59 9.17L5.41 4L4 5.41L9.17 10.58L10.59 9.17ZM14.5 4L16.54 6.04L4 18.59L5.41 20L17.96 7.46L20 9.5V4H14.5ZM13.42 14.82L14.83 13.41L17.96 16.54L20 14.5V20H14.5L16.55 17.95L13.42 14.82Z",fill:"currentColor"},null,-1)])])}const Ze=w(_e,[["render",ve]]),ke={},we={viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"aioseo-sitemaps-pro"};function Ce(t,s){return r(),l("svg",we,[...s[0]||(s[0]=[i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M23.45 3.5H4.55C3.96667 3.5 3.5 3.96667 3.5 4.55V23.45C3.5 23.9167 3.96667 24.5 4.55 24.5H23.45C23.9167 24.5 24.5 23.9167 24.5 23.45V4.55C24.5 3.96667 23.9167 3.5 23.45 3.5ZM10.5 8.16667H8.16667V10.5H10.5V8.16667ZM19.8333 8.16667H12.8333V10.5H19.8333V8.16667ZM19.8333 12.8333H12.8333V15.1667H19.8333V12.8333ZM12.8333 17.5H19.8333V19.8333H12.8333V17.5ZM8.16667 12.8333H10.5V15.1667H8.16667V12.8333ZM10.5 17.5H8.16667V19.8333H10.5V17.5ZM5.83333 22.1667H22.1667V5.83333H5.83333V22.1667Z",fill:"currentColor"},null,-1)])])}const qe=w(ke,[["render",Ce]]);export{Le as C,qe as S,Ze as a,xe as b};
Save
Cancel