文件操作 - Header.6c0cf1be.js
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/js/Header.6c0cf1be.js
编辑文件内容
import{an as k,f as n,i as r,a0 as u,R as y,j as d,a4 as N,ae as z,U as S,B as G,P as Z,at as Q,b as I,v as e,Q as _,M as l,T as A,r as K,u as x}from"./vendor-vue-ui.ad4935f9.js";import{c as j,q as E,B as J,b3 as X,h as ee,au as se,d as te,b as ne,x as B}from"./app-core.fa86622d.js";import{u as oe}from"./ScrollAndHighlight.106627a7.js";import{C as re,a as ae}from"./LicenseKeyBar.1247ec67.js";import{U as ie}from"./AnimatedNumber.d12fd772.js";import{_ as v}from"./_plugin-vue_export-helper.eefbdd86.js";import{S as F}from"./Close.8e99996b.js";import{S as ce}from"./LogoGear.2109d383.js";import{a as b,_ as g}from"./vendor-other.835e467b.js";import{S as V}from"./Logo.e396c83a.js";import{S as le}from"./Trash.49bbc1a8.js";const ue={components:{UtilAnimatedNumber:ie},props:{percentage:Number},data(){return{fromNumber:0,number:0}},watch:{percentage:{deep:!0,handler(s){s!==this.number&&(this.fromNumber=this.number,this.number=s)}}},mounted(){this.number=this.percentage}},de={class:"aioseo-percent-circle"},pe={viewBox:"0 0 33.83098862 33.83098862",xmlns:"http://www.w3.org/2000/svg"},ge=["stroke-dasharray"],me={class:"aioseo-percent-circle-percent"};function fe(s,t,o,f,p,a){const i=k("util-animated-number");return n(),r("div",de,[u(N,{name:"fill-percent-circle"},{default:y(()=>[(n(),r("svg",pe,[t[0]||(t[0]=d("circle",{class:"aioseo-percent-circle-score__background",stroke:"#BFD6F7","stroke-width":"2",fill:"none",cx:"16.91549431",cy:"16.91549431",r:"15.91549431"},null,-1)),d("circle",{class:"aioseo-percent-circle-score__circle",stroke:"#005AE0","stroke-width":"2","stroke-dasharray":`${o.percentage},100`,fill:"none",cx:"16.91549431",cy:"16.91549431",r:"15.91549431"},null,8,ge)]))]),_:1}),d("div",me,[d("div",null,[u(i,{number:p.number,"from-number":p.fromNumber},null,8,["number","from-number"]),t[1]||(t[1]=z("% ",-1))])])])}const D=v(ue,[["render",fe]]),he={emits:["close"],components:{CorePercentCircle:D,SvgClose:F},props:{strings:Object,percentage:Number}},_e={class:"aioseo-processing-popup"};function ke(s,t,o,f,p,a){const i=k("core-percent-circle"),c=k("svg-close");return n(),r("div",_e,[u(i,{percentage:o.percentage},null,8,["percentage"]),d("div",null,[d("strong",null,S(o.strings.header),1),t[1]||(t[1]=d("br",null,null,-1)),z(S(o.strings.description),1)]),u(c,{onClick:t[0]||(t[0]=U=>s.$emit("close"))})])}const ve=v(he,[["render",ke]]),P="all-in-one-seo-pack",be={setup(){return{settingsStore:E()}},components:{SvgAioseoLogoGear:ce,SvgClose:F},data(){return{strings:{boldText:b("<strong>%1$s %2$s</strong>","All in One SEO",g("Free",P)),url:j.getUpsellUrl("lite-upgrade-bar",null,"liteUpgrade"),linkText:b(g("upgrading to %1$s",P),"Pro")}}},computed:{link(){return b('<strong><a href="%1$s" target="_blank" class="text-white">%2$s</a> <a href="%1$s" target="_blank" class="text-white upgrade-arrow">→</a></strong>',this.strings.url,this.strings.linkText)},upgradeText(){return b(g("You're using %1$s. To unlock more features, consider %2$s",P),this.strings.boldText,this.link)}},methods:{processHideUpgradeBar(){document.body.classList.remove("aioseo-has-bar"),this.settingsStore.hideUpgradeBar()}},mounted(){document.body.classList.add("aioseo-has-bar")}},ye={class:"aioseo-upgrade-bar"},Se={class:"upgrade-text"},Ce=["innerHTML"];function $e(s,t,o,f,p,a){const i=k("svg-aioseo-logo-gear"),c=k("svg-close");return n(),r("div",ye,[d("div",Se,[u(i),d("div",{innerHTML:a.upgradeText},null,8,Ce)]),u(c,{onClick:a.processHideUpgradeBar},null,8,["onClick"])])}const we=v(be,[["render",$e]]),Ae={props:{hero:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},fullWidth:Boolean,small:Boolean},computed:{classes(){let s=this.fluid?"aioseo-container-fluid ":"aioseo-container ";return s+=this.hero?"aioseo-hero ":"",s+=this.fullWidth?"full-width ":"",s+=this.small?"small ":"",s}}};function xe(s,t,o,f,p,a){return n(),r("div",{class:Z(a.classes)},[G(s.$slots,"default")],2)}const Be=v(Ae,[["render",xe]]),Pe={},Ne={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"aioseo-notifications"};function Ue(s,t){return n(),r("svg",Ne,[...t[0]||(t[0]=[d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.8333 2.5H4.16667C3.25 2.5 2.5 3.25 2.5 4.16667V15.8333C2.5 16.75 3.24167 17.5 4.16667 17.5H15.8333C16.75 17.5 17.5 16.75 17.5 15.8333V4.16667C17.5 3.25 16.75 2.5 15.8333 2.5ZM15.8333 15.8333H4.16667V13.3333H7.13333C7.70833 14.325 8.775 15 10.0083 15C11.2417 15 12.3 14.325 12.8833 13.3333H15.8333V15.8333ZM11.675 11.6667H15.8333V4.16667H4.16667V11.6667H8.34167C8.34167 12.5833 9.09167 13.3333 10.0083 13.3333C10.925 13.3333 11.675 12.5833 11.675 11.6667Z",fill:"currentColor"},null,-1)])])}const He=v(Pe,[["render",Ue]]),Le={class:"aioseo-header"},Te={class:"aioseo-header-content"},Me=["href"],Ve={key:2,class:"spacer"},ze={key:3,class:"page-name"},je={key:4,class:"header-actions"},Ee={key:0,class:"round number"},Ke={__name:"Header",props:{fullWidth:Boolean,small:Boolean,pageName:String,actions:{type:Boolean,default(){return!0}},upgradeBar:{type:Boolean,default(){return!0}}},setup(s){const t="all-in-one-seo-pack";oe();const o=J(),f=X(),p=ee(),a=se(),i=te(),c=ne(),U=E(),m=K(null),H={linkAssistantPopup:{header:g("Link suggestions are being processed.",t),description:g("Depending on the number of posts being scanned, this process can take some time. You can safely leave this page and check back later.",t)},searchStatisticsPopup:{header:g("Search statistics are being fetched.",t),description:g("Depending on the amount of content on your site, this process can take some time. You can safely leave this page and check back later.",t)},seoAnalyzerPopup:{header:g("Site Audit is being processed.",t),description:g("Depending on the amount of content on your site, this process can take some time. You can safely leave this page and check back later.",t)}},C=x(()=>{switch(m.value){case"linkAssistant":return a.suggestionsScan.percent;case"seoAnalyzer":return o.objectsScan.percent;default:return null}}),Y=x(()=>{switch(m.value){case"linkAssistant":return a.suggestionsScan.showProcessingPopup&&a.suggestionsScan.percent!==100;case"seoAnalyzer":return o.objectsScan.showProcessingPopup&&o.objectsScan.percent!==100;default:return null}}),O=x(()=>{switch(m.value){case"linkAssistant":return H.linkAssistantPopup;case"seoAnalyzer":return H.seoAnalyzerPopup;default:return null}}),R=$=>{let h;return(...w)=>{h&&cancelAnimationFrame(h),h=requestAnimationFrame(()=>{$(...w)})}},L=()=>{document.documentElement.dataset.scroll=window.scrollY},W=()=>{document.getElementById("aioseo-help-modal").classList.toggle("visible"),document.body.classList.toggle("modal-open")},T=Q(),q=()=>{c.aioseo.page==="link-assistant"&&B.isActive("aioseo-link-assistant")&&!B.requiresUpgrade("aioseo-link-assistant")&&B.hasMinimumVersion("aioseo-link-assistant")&&(T.name==="links-report"||T.name==="overview")&&a.suggestionsScan.percent!==100&&(m.value="linkAssistant"),c.aioseo.page==="seo-analysis"&&c.isPro&&!p.isUnlicensed&&o.objectsScan.percent!==100&&(m.value="seoAnalyzer")},M=()=>{switch(m.value){case"linkAssistant":return a.toggleProcessingPopup();case"seoAnalyzer":return o.toggleProcessingPopup();default:return null}};return I(()=>{L(),document.addEventListener("scroll",R(L),{passive:!0}),q()}),($,h)=>(n(),r("div",Le,[!e(c).isPro&&e(U).settings.showUpgradeBar&&s.upgradeBar&&e(c).pong?(n(),_(e(we),{key:0})):l("",!0),e(c).isPro&&e(p).isUnlicensed&&e(c).pong?(n(),_(e(re),{key:1})):l("",!0),e(c).pong?l("",!0):(n(),_(e(ae),{key:2})),u(e(Be),{"full-width":s.fullWidth,small:s.small},{default:y(()=>[d("div",Te,[e(p).isUnlicensed?(n(),r("a",{key:0,href:e(j).getUpsellUrl("header-logo",null,"liteUpgrade"),target:"_blank"},[u(e(V))],8,Me)):l("",!0),e(p).isUnlicensed?l("",!0):(n(),_(e(V),{key:1})),s.pageName?(n(),r("span",Ve)):l("",!0),s.pageName?(n(),r("span",ze,S(s.pageName),1)):l("",!0),s.actions?(n(),r("div",je,[u(N,{name:"fade-percent-circle"},{default:y(()=>[m.value&&C.value!==100?(n(),_(e(D),{key:0,percentage:C.value,onClick:M},null,8,["percentage"])):l("",!0)]),_:1}),u(N,{name:"fade-processing-popup"},{default:y(()=>[Y.value?(n(),_(e(ve),{key:0,strings:O.value,percentage:C.value,onClose:M},null,8,["strings","percentage"])):l("",!0)]),_:1}),d("span",{class:"round",onClick:h[0]||(h[0]=A((...w)=>e(i).toggleNotifications&&e(i).toggleNotifications(...w),["stop"]))},[e(i).activeNotificationsCount?(n(),r("span",Ee,S(e(i).activeNotificationsCount>9?"!":e(i).activeNotificationsCount),1)):l("",!0),u(e(He),{onClick:A(e(i).toggleNotifications,["stop"])},null,8,["onClick"])]),e(f).docs&&Object.keys(e(f).docs).length?(n(),r("span",{key:0,class:"round",onClick:A(W,["stop"])},[u(e(le))])):l("",!0)])):l("",!0)])]),_:1},8,["full-width","small"])]))}};export{we as C,Be as G,Ke as _};
修改文件时间
将文件时间修改为当前时间的前一年
删除文件