Your IP : 216.73.216.162


Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/
Upload File :
Current File : /home/x/b/o/xbodynamge/namtation/wp-content/Main.573b6f39.js.tar

home/xbodynamge/dev/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/js/Main.573b6f39.js000064400000023031151136504220025706 0ustar00import{c as R,j as x,m as O,a as U}from"./index.4fea5b8a.js";import{l as D}from"./license.ae04185d.js";import{D as h}from"./datetime.f197aeae.js";import{u as J}from"./GoogleSearchConsole.4c0d2e72.js";import{C as w,_ as P}from"./Caret.7cc96622.js";import"./translations.d159963e.js";import{_}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as o}from"./default-i18n.20001971.js";import{v as m,o as a,k as c,l as p,a as f,t as d,b as l,c as S,H as v,x as C,q as y,G}from"./runtime-dom.esm-bundler.baf35205.js";import{B as N}from"./DatePicker.6f355f8c.js";import{_ as V}from"./ConnectCta.fbe8c169.js";import F from"./ContentRankings.46452063.js";import{C as $}from"./Blur.601d8ea8.js";import{C as z}from"./Index.ca647dcc.js";import{C as I}from"./Index.a6ae6538.js";import j from"./Dashboard.45fce8a5.js";import q from"./IndexStatus.a85dc334.js";import E from"./KeywordRankTracker.ab4d2325.js";import H from"./SeoStatistics.2f96a674.js";import"./helpers.114e9c35.js";import"./upperFirst.eafa5318.js";import"./toString.bbd66337.js";import"./Calendar.ad6a53a7.js";import"./pick.81bbcc4b.js";import"./_baseSet.a1a8944e.js";import"./_getTag.423682f1.js";import"./debounce.1241e277.js";import"./toNumber.a6ddbe4d.js";import"./isEqual.5e2458d5.js";import"./_baseIsEqual.6ad153a3.js";import"./Cta.bce043d1.js";import"./Row.c7b7fb90.js";import"./PostsTable.2461c050.js";import"./PostTypes.dafa8837.js";import"./Statistic.a981247c.js";import"./_baseClone.8bb70b4f.js";import"./_arrayEach.6af5abac.js";import"./vue-router.fd2bb90e.js";import"./numbers.9fc174f3.js";import"./Tooltip.70b51a50.js";import"./WpTable.727efe8a.js";import"./ScrollTo.81bea8a7.js";import"./ScoreButton.16c8a595.js";import"./Table.e2de1c86.js";import"./Slide.1db617da.js";import"./Download.7a5bbc25.js";import"./vue3-apexcharts.b03ec956.js";import"./IndexStatus.9f10668d.js";import"./CheckSolid.1941c38f.js";import"./IndexStatus.7d333eb5.js";import"./Exclamation.a4801e64.js";import"./index.7fee6f1a.js";import"./Mobile.e6e7cfc6.js";import"./Link.ad58218a.js";import"./External.e551aa30.js";import"./ExclamationSolid.f8f07a3d.js";import"./RequiredPlans.8c29f2e8.js";import"./addons.e13ca687.js";import"./License.857ed9ae.js";import"./allowed.269a2007.js";/* empty css             */import"./params.af7ed354.js";import"./Tabs.4288f191.js";import"./ProBadge.2e262a91.js";import"./Information.8cb16b63.js";import"./Header.4306fee2.js";import"./LicenseKeyBar.3caf4ec6.js";import"./LogoGear.383c5312.js";import"./AnimatedNumber.572be72b.js";import"./Logo.a16dfa01.js";import"./Support.8462f1d2.js";import"./date.a0d85d51.js";import"./constants.a8a14dc3.js";import"./Url.41ca37be.js";import"./Gear.9759526d.js";import"./Card.9a64d2e2.js";import"./Overview.9868b9f2.js";import"./DonutChartWithLegend.df58f29f.js";import"./KeywordsGraph.e8a659a1.js";import"./Graph.7e544fe7.js";import"./SeoStatisticsOverview.248b08df.js";import"./List.4cb6f3dd.js";import"./Statistics.ec3f46e9.js";import"./Editor.683d2097.js";import"./Index.6b9f2f83.js";import"./SettingsRow.70a7af04.js";import"./External.49bc8f29.js";import"./Star.af6f3901.js";const K="all-in-one-seo-pack",Y={setup(){return{optionsStore:R(),searchStatisticsStore:x()}},components:{CoreAlert:w},data(){return{error:o("Your connection with Google Search Console has expired or is invalid. Please check that your site is verified in Google Search Console and try to reconnect. If the problem persists, please contact our support team.",K)}},computed:{invalidAuthentication(){var t,e;return this.searchStatisticsStore.unverifiedSite||typeof((e=(t=this.optionsStore.internalOptions.internal)==null?void 0:t.searchStatistics)==null?void 0:e.profile)!="object"}}};function Z(t,e,r,i,u,s){const g=m("core-alert");return s.invalidAuthentication?(a(),c(g,{key:0,class:"aioseo-input-error aioseo-search-statistics-authentication-alert",type:"red"},{default:p(()=>[f("strong",null,d(u.error),1)]),_:1})):l("",!0)}const Q=_(Y,[["render",Z]]),W={};function X(t,e){return a(),S("div")}const tt=_(W,[["render",X]]),et={};function st(t,e){return a(),S("div")}const at=_(et,[["render",st]]),n="all-in-one-seo-pack",rt={emits:["rolling"],setup(){const{connect:t,loading:e}=J();return{connect:t,licenseStore:O(),links:U,loading:e,searchStatisticsStore:x()}},components:{AuthenticationAlert:Q,BaseButton:P,BaseDatePicker:N,ConnectCta:V,ContentRankings:F,CoreAlert:w,CoreBlur:$,CoreMain:z,Cta:I,Dashboard:j,IndexStatus:q,KeywordRankTracker:E,PostDetail:tt,SeoStatistics:H,Settings:at},data(){return{maxDate:null,minDate:null,strings:{pageName:o("Search Statistics",n),sampleDataAlert:o("Sample data is available for you to explore. Connect your site to Google Search Console to receive insights on how content is being discovered. Identify areas for improvement and drive traffic to your website.",n),ctaButtonText:o("Connect to Google Search Console",n),ctaUnlockButtonText:o("Unlock Search Statistics",n)}}},computed:{defaultRange(){const t=new Date(`${this.searchStatisticsStore.range.start} 00:00:00`),e=new Date(`${this.searchStatisticsStore.range.end} 00:00:00`);return[t,e]},excludeTabs(){const t=["post-detail"];return(this.licenseStore.isUnlicensed||!D.hasCoreFeature("search-statistics"))&&t.push("settings"),t},isSettings(){return this.$route.name==="settings"},showSampleDataUnlockCta(){return D.hasCoreFeature("search-statistics")&&!this.searchStatisticsStore.isConnected||this.searchStatisticsStore.unverifiedSite},showConnectCta(){return(D.hasCoreFeature("search-statistics")&&!this.searchStatisticsStore.isConnected||this.searchStatisticsStore.unverifiedSite)&&!this.isSettings},showDatePicker(){const t=this.searchStatisticsStore.isConnected&&!this.searchStatisticsStore.unverifiedSite,e=this.searchStatisticsStore.range.start&&this.searchStatisticsStore.range.end;return!["settings","content-rankings","index-status"].includes(this.$route.name)&&t&&e},containerClasses(){const t=[];return this.searchStatisticsStore.fetching&&t.push("aioseo-blur"),t},getOriginalMaxDate(){return this.searchStatisticsStore.latestAvailableDate?h.fromFormat(this.searchStatisticsStore.latestAvailableDate,"yyyy-MM-dd").setZone(h.zone)||h.local().plus({days:-2}):h.local().plus({days:-2})},datepickerShortcuts(){return[{text:o("Last 7 Days",n),value:()=>(window.aioseoBus.$emit("rolling","last7Days"),[this.getOriginalMaxDate.plus({days:-6}).toJSDate(),this.getOriginalMaxDate.toJSDate()])},{text:o("Last 28 Days",n),value:()=>(window.aioseoBus.$emit("rolling","last28Days"),[this.getOriginalMaxDate.plus({days:-27}).toJSDate(),this.getOriginalMaxDate.toJSDate()])},{text:o("Last 3 Months",n),value:()=>(window.aioseoBus.$emit("rolling","last3Months"),[this.getOriginalMaxDate.plus({days:-89}).toJSDate(),this.getOriginalMaxDate.toJSDate()])}]}},methods:{isDisabledDate(t){return this.minDate===null?!0:t.getTime()<this.minDate.getTime()||t.getTime()>this.maxDate.getTime()},onDateChange(t,e){this.searchStatisticsStore.setDateRange({dateRange:t,rolling:e})},highlightShortcut(t){if(!t)return;document.querySelectorAll(".el-picker-panel__shortcut").forEach(r=>{switch(r.innerText){case o("Last 7 Days",n):t==="last7Days"?r.classList.add("active"):r.classList.remove("active");break;case o("Last 28 Days",n):t==="last28Days"?r.classList.add("active"):r.classList.remove("active");break;case o("Last 3 Months",n):t==="last3Months"?r.classList.add("active"):r.classList.remove("active");break;case o("Last 6 Months",n):t==="last6Months"?r.classList.add("active"):r.classList.remove("active");break;default:r.classList.remove("active")}})}},mounted(){this.minDate=h.now().plus({months:-16}).toJSDate(),this.maxDate=this.getOriginalMaxDate.toJSDate()}},ot=f("br",null,null,-1),it=f("br",null,null,-1),nt={key:1,class:"connect-cta"};function ct(t,e,r,i,u,s){const g=m("base-date-picker"),b=m("authentication-alert"),k=m("base-button"),L=m("core-alert"),B=m("core-blur"),M=m("connect-cta"),T=m("core-main");return a(),c(T,{"page-name":u.strings.pageName,"exclude-tabs":s.excludeTabs,showTabs:!s.excludeTabs.includes(t.$route.name),containerClasses:s.containerClasses},{extra:p(()=>[s.showDatePicker?(a(),c(g,{key:0,onChange:s.onDateChange,onUpdated:e[0]||(e[0]=A=>s.highlightShortcut(A)),clearable:!1,defaultValue:s.defaultRange,defaultRolling:i.searchStatisticsStore.rolling,isDisabledDate:s.isDisabledDate,shortcuts:s.datepickerShortcuts,size:"small"},null,8,["onChange","defaultValue","defaultRolling","isDisabledDate","shortcuts"])):l("",!0)]),default:p(()=>[f("div",null,[v(b),i.searchStatisticsStore.shouldShowSampleReports?(a(),S(G,{key:0},[v(L,{class:"description sample-data-alert",type:"yellow",onCloseAlert:()=>{}},{default:p(()=>[C(d(u.strings.sampleDataAlert)+" ",1),ot,it,s.showSampleDataUnlockCta?(a(),c(k,{key:0,type:"green",size:"small",onClick:i.connect,loading:i.loading},{default:p(()=>[C(d(u.strings.ctaButtonText),1)]),_:1},8,["onClick","loading"])):l("",!0),s.showSampleDataUnlockCta?l("",!0):(a(),c(k,{key:1,tag:"a",href:i.links.getPricingUrl("search-statistics","search-statistics-demo-upsell",t.$route.name),target:"_blank",type:"green",size:"small",onClick:i.searchStatisticsStore.showSampleReports,loading:i.loading},{default:p(()=>[C(d(u.strings.ctaUnlockButtonText),1)]),_:1},8,["href","onClick","loading"]))]),_:1}),(a(),c(y(t.$route.name)))],64)):l("",!0),s.showConnectCta?(a(),S("div",nt,[i.searchStatisticsStore.shouldShowSampleReports?l("",!0):(a(),c(B,{key:0},{default:p(()=>[(a(),c(y(t.$route.name)))]),_:1})),i.searchStatisticsStore.shouldShowSampleReports?l("",!0):(a(),c(M,{key:1}))])):l("",!0),!s.showConnectCta&&!i.searchStatisticsStore.shouldShowSampleReports?(a(),c(y(t.$route.name),{key:2})):l("",!0)])]),_:1},8,["page-name","exclude-tabs","showTabs","containerClasses"])}const Ie=_(rt,[["render",ct]]);export{Ie as default};