Files
yoapuesto/wp-content/plugins/table-of-contents-plus/dist/assets/js/AboutUs.D5myDadZ.js
T

1 line
15 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{B as e,C as t,I as n,K as r,R as i,_ as a,a as o,b as s,et as c,g as l,ot as u,p as d,t as f,tt as p,v as m,w as h,wt as g,y as _}from"./_plugin-vue_export-helper.Bs2-bdpF.js";import{c as v,i as y,n as b,o as x,r as S,s as C,t as ee}from"./translations.DhZsnMqj.js";var te=``+window.__aioseoDynamicImportPreload__(`svg/activelayer.CdcKDq2I.svg`),ne=``+window.__aioseoDynamicImportPreload__(`svg/blc.OdlyqOb-.svg`),re=``+window.__aioseoDynamicImportPreload__(`svg/charitable.Bdjxf6b0.svg`),ie=``+window.__aioseoDynamicImportPreload__(`svg/duplicator.ltQ8M9rj.svg`),ae=``+window.__aioseoDynamicImportPreload__(`images/edd.DpQTObrr.png`),oe=``+window.__aioseoDynamicImportPreload__(`images/envira.Cp985Gp_.png`),se=``+window.__aioseoDynamicImportPreload__(`images/ff.DHfQgB8s.png`),ce=``+window.__aioseoDynamicImportPreload__(`images/if.BzSUPWic.png`),le=``+window.__aioseoDynamicImportPreload__(`images/mi.CawcRRuC.png`),ue=``+window.__aioseoDynamicImportPreload__(`images/om.CO62a3V5.png`),w=``+window.__aioseoDynamicImportPreload__(`svg/pdf.RXa59W0j.svg`),T=``+window.__aioseoDynamicImportPreload__(`images/rafflepress.BX9JrCHk.png`),E=``+window.__aioseoDynamicImportPreload__(`images/reviews.BfIr7rUF.png`),D=``+window.__aioseoDynamicImportPreload__(`images/sc.CbU-f6AE.png`),O=``+window.__aioseoDynamicImportPreload__(`images/smtp.CgF0XKTF.png`),k=``+window.__aioseoDynamicImportPreload__(`images/sp.K6GWNRcC.png`),A=``+window.__aioseoDynamicImportPreload__(`svg/ua.DUyh4e15.svg`),j=``+window.__aioseoDynamicImportPreload__(`svg/universally.erdtBChT.svg`),M=``+window.__aioseoDynamicImportPreload__(`svg/userfeedback.BX0_1K6d.svg`),N=``+window.__aioseoDynamicImportPreload__(`images/wpchat.8dv8a0lI.png`),P=``+window.__aioseoDynamicImportPreload__(`svg/wpcode.gpKvR65w.svg`),F=``+window.__aioseoDynamicImportPreload__(`images/wpconsent.DESO3PX2.png`),I=``+window.__aioseoDynamicImportPreload__(`images/wpforms.CAcCc8Da.png`),L=``+window.__aioseoDynamicImportPreload__(`images/wpsp.CvAXWjK4.png`),R=``+window.__aioseoDynamicImportPreload__(`images/wpvibe.ChjQOaoJ.png`),z=``+window.__aioseoDynamicImportPreload__(`images/yf.B3poydhR.png`),B={},V={viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`aioseo-external`};function H(e,t){return i(),s(`svg`,V,[...t[0]||=[a(`path`,{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M2.91667 2.91667V11.0833H11.0833V7H12.25V11.0833C12.25 11.725 11.725 12.25 11.0833 12.25H2.91667C2.26917 12.25 1.75 11.725 1.75 11.0833V2.91667C1.75 2.275 2.26917 1.75 2.91667 1.75H7V2.91667H2.91667ZM8.16666 2.91667V1.75H12.25V5.83333H11.0833V3.73917L5.34916 9.47333L4.52666 8.65083L10.2608 2.91667H8.16666Z`,fill:`currentColor`},null,-1)]])}var U=f(B,[[`render`,H]]),de={class:`aioseo-about-us`},fe={class:`about-hero`},pe={class:`eyebrow`},me={class:`about-stats`},he={class:`stat`},ge={class:`l`},_e={class:`stat`},ve={class:`l`},ye={class:`stat`},be={class:`l`},xe={key:0,class:`featured`},Se={class:`f-icon`},Ce=[`src`,`alt`],we={class:`f-body`},Te={class:`f-eyebrow`},Ee={class:`f-name`},De={class:`f-reason`},Oe={class:`f-side`},ke={class:`proof`},Ae={key:0,class:`tag-new`},je={key:1,class:`sep`},Me={class:`action`},Ne={class:`section-label`},Pe={class:`icon`},Fe=[`src`,`alt`],Ie={class:`plugin-text`},Le={class:`name`},Re={class:`benefit`},ze={class:`proof`},Be={key:0,class:`tag-new`},Ve={key:1,class:`sep`},He={class:`action`},W=`brokenLinkChecker`,G=14,K={__name:`AboutUs`,setup(f){let B=`table-of-contents-plus`,V=`aioseo.brokenLinkChecker.wpForms.wpConsent.wpVibe.wpMail.universally.duplicator.wpcode.charitable.sugarCalendar.activeLayer.miLite.optinMonster.reviewsFeed.wpSimplePay.uncannyAutomator.seedProd.instagramFeed.easyDigitalDownloads.enviraGallery.youTubeFeed.rafflePress.facebookFeed.userFeedback.wpChat.pdfEmbedder`.split(`.`),H={aioseo:`aioseoPro`,wpForms:`wpFormsPro`,wpMail:`wpMailPro`,miLite:`miPro`,wpcode:`wpcodePro`,sugarCalendar:`sugarCalendarPro`,wpSimplePay:`wpSimplePayPro`,seedProd:`seedProdPro`,instagramFeed:`instagramFeedPro`,facebookFeed:`facebookFeedPro`,youTubeFeed:`youTubeFeedPro`,rafflePress:`rafflePressPro`,easyDigitalDownloads:`easyDigitalDownloadsPro`},K=o(),q={about:{eyebrow:y(`About us`,B),heading:x(y(`The team behind %1$s`,B),`Table of Contents Plus`),p1:y(`Table of Contents Plus was originally created and maintained for many years by Michael Tran. We’re grateful for all the hard work he put in, and we’re proud to continue building on it — keeping the plugin simple, flexible, and lightweight.`,B),p2:y(`Today it’s part of Awesome Motive — the team behind All in One SEO, WPBeginner, OptinMonster, MonsterInsights, and more. Our mission is simple: help small businesses grow and compete with the big guys, with tools that work great together.`,B),stats:{websites:y(`Websites use our plugins`,B),tools:y(`Leading products`,B),team:y(`Team members worldwide`,B)}},featured:{eyebrow:y(`Recommended for you`,B)},family:{heading:y(`More from the family`,B)},actions:{install:y(`Install Plugin`,B),activate:y(`Activate Plugin`,B),activated:y(`Activated`,B)},newBadge:y(`New`,B)},J=c({aioseo:{name:`All in One SEO`,benefit:y(`Rank higher and drive more organic traffic to your content.`,B),rating:`4.8`,installs:`3M+`,isNew:!1,icon:v(C),installed:!1,canInstall:!1,activated:!1,loading:!1},brokenLinkChecker:{name:`Broken Link Checker`,benefit:y(`Catch and fix broken links before they hurt your SEO.`,B),reason:y(`Broken Link Checker finds and fixes dead links across your site from one dashboard — protecting your SEO and your readers’ experience.`,B),rating:``,installs:`300K+`,isNew:!1,icon:v(ne),installed:!1,canInstall:!1,activated:!1,loading:!1},wpForms:{name:`WPForms`,benefit:y(`Beautiful contact, survey & payment forms in minutes.`,B),rating:`4.9`,installs:`6M+`,isNew:!1,icon:v(I),installed:!1,canInstall:!1,activated:!1,loading:!1},wpConsent:{name:`WPConsent`,benefit:y(`Add a compliant cookie banner in minutes — GDPR & CCPA.`,B),rating:``,installs:``,isNew:!0,icon:v(F),installed:!1,canInstall:!1,activated:!1,loading:!1},wpVibe:{name:`WPVibe`,benefit:y(`Let AI assistants manage your site — safely.`,B),rating:``,installs:``,isNew:!0,icon:v(R),installed:!1,canInstall:!1,activated:!1,loading:!1},wpMail:{name:`WP Mail SMTP`,benefit:y(`Make sure your WordPress emails reach the inbox.`,B),rating:`4.8`,installs:`4M+`,isNew:!1,icon:v(O),installed:!1,canInstall:!1,activated:!1,loading:!1},universally:{name:`Universally`,benefit:y(`Reach a global audience — your site in 110+ languages.`,B),rating:``,installs:``,isNew:!0,icon:v(j),installed:!1,canInstall:!1,activated:!1,loading:!1},duplicator:{name:`Duplicator`,benefit:y(`One-click backups and painless site migrations.`,B),rating:`4.9`,installs:`1M+`,isNew:!1,icon:v(ie),installed:!1,canInstall:!1,activated:!1,loading:!1},wpcode:{name:`WPCode`,benefit:y(`Add snippets & tracking code without editing files.`,B),rating:`4.9`,installs:`2M+`,isNew:!1,icon:v(P),installed:!1,canInstall:!1,activated:!1,loading:!1},charitable:{name:`WP Charitable`,benefit:y(`Raise more online with donation & fundraising campaigns.`,B),rating:`4.6`,installs:`20K+`,isNew:!1,icon:v(re),installed:!1,canInstall:!1,activated:!1,loading:!1},sugarCalendar:{name:`Sugar Calendar`,benefit:y(`Simple, powerful event calendars and management.`,B),rating:`4.5`,installs:`10K+`,isNew:!1,icon:v(D),installed:!1,canInstall:!1,activated:!1,loading:!1},activeLayer:{name:`ActiveLayer`,benefit:y(`AI-powered spam protection for forms and comments.`,B),rating:``,installs:``,isNew:!0,icon:v(te),installed:!1,canInstall:!1,activated:!1,loading:!1},miLite:{name:`MonsterInsights`,benefit:y(`See exactly how visitors find and use your site.`,B),rating:`4.5`,installs:`3M+`,isNew:!1,icon:v(le),installed:!1,canInstall:!1,activated:!1,loading:!1},optinMonster:{name:`OptinMonster`,benefit:y(`Turn visitors into subscribers with smart popups.`,B),rating:`4.4`,installs:`1M+`,isNew:!1,icon:v(ue),installed:!1,canInstall:!1,activated:!1,loading:!1},reviewsFeed:{name:`Reviews Feed`,benefit:y(`Show Google, Yelp & TripAdvisor reviews on your site.`,B),rating:`4.4`,installs:`100K+`,isNew:!1,icon:v(E),installed:!1,canInstall:!1,activated:!1,loading:!1},wpSimplePay:{name:`WP Simple Pay`,benefit:y(`Accept one-time & recurring Stripe payments — no code.`,B),rating:`4.4`,installs:`8K+`,isNew:!1,icon:v(L),installed:!1,canInstall:!1,activated:!1,loading:!1},uncannyAutomator:{name:`Uncanny Automator`,benefit:y(`Automate WordPress with no-code recipes.`,B),rating:`4.9`,installs:`40K+`,isNew:!1,icon:v(A),installed:!1,canInstall:!1,activated:!1,loading:!1},seedProd:{name:`SeedProd`,benefit:y(`Build landing pages & themes with drag-and-drop.`,B),rating:`4.9`,installs:`700K+`,isNew:!1,icon:v(k),installed:!1,canInstall:!1,activated:!1,loading:!1},instagramFeed:{name:`Instagram Feed`,benefit:y(`Display beautiful, customizable Instagram feeds.`,B),rating:`4.9`,installs:`1M+`,isNew:!1,icon:v(ce),installed:!1,canInstall:!1,activated:!1,loading:!1},easyDigitalDownloads:{name:`Easy Digital Downloads`,benefit:y(`Sell digital products the easy way.`,B),rating:`4.7`,installs:`40K+`,isNew:!1,icon:v(ae),installed:!1,canInstall:!1,activated:!1,loading:!1},enviraGallery:{name:`Envira Gallery`,benefit:y(`Create fast, responsive photo galleries & albums.`,B),rating:`4.7`,installs:`100K+`,isNew:!1,icon:v(oe),installed:!1,canInstall:!1,activated:!1,loading:!1},youTubeFeed:{name:`YouTube Feed`,benefit:y(`Embed customizable YouTube video feeds.`,B),rating:`4.9`,installs:`100K+`,isNew:!1,icon:v(z),installed:!1,canInstall:!1,activated:!1,loading:!1},rafflePress:{name:`RafflePress`,benefit:y(`Grow your list with viral giveaways & contests.`,B),rating:`3.9`,installs:`20K+`,isNew:!1,icon:v(T),installed:!1,canInstall:!1,activated:!1,loading:!1},facebookFeed:{name:`Facebook Feed`,benefit:y(`Display customizable Facebook feeds on your site.`,B),rating:`4.7`,installs:`200K+`,isNew:!1,icon:v(se),installed:!1,canInstall:!1,activated:!1,loading:!1},userFeedback:{name:`UserFeedback`,benefit:y(`Run interactive surveys & polls in seconds.`,B),rating:`4.8`,installs:`200K+`,isNew:!1,icon:v(M),installed:!1,canInstall:!1,activated:!1,loading:!1},wpChat:{name:`WPChat`,benefit:y(`Add a free live chat & messaging widget.`,B),rating:``,installs:``,isNew:!0,icon:v(N),installed:!1,canInstall:!1,activated:!1,loading:!1},pdfEmbedder:{name:`PDF Embedder`,benefit:y(`Embed PDFs with a clean, mobile-friendly viewer.`,B),rating:`4.7`,installs:`300K+`,isNew:!1,icon:v(w),installed:!1,canInstall:!1,activated:!1,loading:!1}}),Y=e=>x(y(`%1$s installs`,B),e),X=l(()=>{let e=J[W];return e?{key:W,...e}:null}),Z=p([]),Q=l(()=>Z.value.filter(e=>J[e]).map(e=>({key:e,...J[e]}))),Ue=l(()=>Q.value.slice(0,Math.ceil(Q.value.length/2))),We=l(()=>Q.value.slice(Math.ceil(Q.value.length/2))),$=e=>{let t=J[e];if(!t.installed&&t.installUrl){window.open(t.installUrl,`_blank`).focus();return}t.loading=!0,K.installPlugins([{plugin:e,type:`plugin`}]).then(e=>{if(t.loading=!1,Object.keys(e.body.completed).length)t.installed=!0,t.activated=!0;else if(Object.keys(e.body.failed).length)throw Error(e.body.failed)}).catch(n=>{t.loading=!1,console.error(`Unable to install ${e}: ${n}`)})};return n(()=>{let e=K.plugins;Object.keys(J).forEach(t=>{let n=e[t];n&&(J[t].installed=n.installed,J[t].activated=n.activated,J[t].canInstall=n.canInstall,J[t].canActivate=n.canActivate,J[t].adminUrl=n.adminUrl,J[t].wpLink=n.wpLink)}),Object.keys(H).forEach(t=>{let n=e[H[t]];n&&n.activated&&J[t]&&(J[t].installed=!0,J[t].activated=!0)}),Z.value=V.filter(e=>W!==e&&J[e]&&!J[e].activated).slice(0,G)}),(n,o)=>(i(),s(`div`,de,[a(`section`,fe,[a(`div`,pe,g(q.about.eyebrow),1),a(`h1`,null,g(q.about.heading),1),a(`p`,null,g(q.about.p1),1),a(`p`,null,g(q.about.p2),1),a(`div`,me,[a(`div`,he,[o[2]||=a(`div`,{class:`n`},[t(`30M`),a(`span`,null,`+`)],-1),a(`div`,ge,g(q.about.stats.websites),1)]),a(`div`,_e,[o[3]||=a(`div`,{class:`n`},[t(`20`),a(`span`,null,`+`)],-1),a(`div`,ve,g(q.about.stats.tools),1)]),a(`div`,ye,[o[4]||=a(`div`,{class:`n`},[t(`250`),a(`span`,null,`+`)],-1),a(`div`,be,g(q.about.stats.team),1)])])]),X.value?(i(),s(`section`,xe,[a(`div`,Se,[a(`img`,{src:X.value.icon,alt:X.value.name},null,8,Ce)]),a(`div`,we,[a(`div`,Te,[o[5]||=a(`span`,{class:`mark`},`✦`,-1),t(` `+g(q.featured.eyebrow),1)]),a(`div`,Ee,g(X.value.name),1),a(`div`,De,g(X.value.reason),1)]),a(`div`,Oe,[a(`div`,ke,[X.value.isNew?(i(),s(`span`,Ae,g(q.newBadge),1)):(i(),s(d,{key:1},[X.value.rating?(i(),s(d,{key:0},[o[6]||=a(`span`,{class:`star`},`★`,-1),t(` `+g(X.value.rating),1)],64)):_(``,!0),X.value.rating&&X.value.installs?(i(),s(`span`,je,`·`)):_(``,!0),X.value.installs?(i(),s(d,{key:2},[t(g(Y(X.value.installs)),1)],64)):_(``,!0)],64))]),a(`div`,Me,[!X.value.installed&&X.value.canInstall?(i(),m(u(S),{key:0,type:`blue`,loading:X.value.loading,onClick:o[0]||=e=>$(X.value.key)},{default:r(()=>[t(g(q.actions.install),1)]),_:1},8,[`loading`])):!X.value.installed&&!X.value.canInstall?(i(),m(u(S),{key:1,type:`blue`,tag:`a`,target:`_blank`,href:X.value.wpLink},{default:r(()=>[h(u(U)),t(g(q.actions.install),1)]),_:1},8,[`href`])):X.value.installed&&!X.value.activated?(i(),m(u(S),{key:2,type:`blue`,disabled:!X.value.canActivate,loading:X.value.loading,onClick:o[1]||=e=>$(X.value.key)},{default:r(()=>[t(g(q.actions.activate),1)]),_:1},8,[`disabled`,`loading`])):(i(),m(u(S),{key:3,type:`gray`,disabled:``},{default:r(()=>[t(g(q.actions.activated),1)]),_:1}))])])])):_(``,!0),a(`div`,Ne,[a(`h2`,null,g(q.family.heading),1),o[7]||=a(`div`,{class:`rule`},null,-1)]),h(u(ee),{class:`family-cards`},{default:r(()=>[(i(!0),s(d,null,e([Ue.value,We.value],(n,c)=>(i(),m(u(b),{key:c,sm:`12`,md:`6`,class:`family-column`},{default:r(()=>[(i(!0),s(d,null,e(n,e=>(i(),s(`div`,{key:e.key,class:`plugin-row`},[a(`div`,Pe,[a(`img`,{src:e.icon,alt:e.name},null,8,Fe)]),a(`div`,Ie,[a(`div`,Le,g(e.name),1),a(`div`,Re,g(e.benefit),1),a(`div`,ze,[e.isNew?(i(),s(`span`,Be,g(q.newBadge),1)):(i(),s(d,{key:1},[e.rating?(i(),s(d,{key:0},[o[8]||=a(`span`,{class:`star`},`★`,-1),t(` `+g(e.rating),1)],64)):_(``,!0),e.rating&&e.installs?(i(),s(`span`,Ve,`·`)):_(``,!0),e.installs?(i(),s(d,{key:2},[t(g(Y(e.installs)),1)],64)):_(``,!0)],64))])]),a(`div`,He,[!e.installed&&e.canInstall?(i(),m(u(S),{key:0,type:`gray`,loading:e.loading,onClick:t=>$(e.key)},{default:r(()=>[t(g(q.actions.install),1)]),_:1},8,[`loading`,`onClick`])):!e.installed&&!e.canInstall?(i(),m(u(S),{key:1,type:`gray`,tag:`a`,target:`_blank`,href:e.wpLink},{default:r(()=>[h(u(U)),t(g(q.actions.install),1)]),_:1},8,[`href`])):e.installed&&!e.activated?(i(),m(u(S),{key:2,type:`gray`,disabled:!e.canActivate,loading:e.loading,onClick:t=>$(e.key)},{default:r(()=>[t(g(q.actions.activate),1)]),_:1},8,[`disabled`,`loading`,`onClick`])):(i(),m(u(S),{key:3,type:`gray`,disabled:``},{default:r(()=>[t(g(q.actions.activated),1)]),_:1}))])]))),128))]),_:2},1024))),128))]),_:1})]))}};export{K as default};