Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
superstepsgroup.com
/
wp-content
/
plugins
/
all-in-one-seo-pack
/
dist
/
Lite
/
assets
/
js
/
Editing: Media.b2fdbd73.js
import{G,h as F,c as P,q as M,b as E,y as V}from"./app-core.b862f9c8.js";import{u as K}from"./AddonConditions.690f08fc.js";import{u as j}from"./PostTypes.54ea30b8.js";import{T as q,A as z}from"./TitleDescription.412108d0.js";import{B as I}from"./RadioToggle.b2f1549c.js";import{C as H}from"./Card.482ec741.js";import{C as W}from"./Tabs.37afc36c.js";import{C as Q}from"./ProBadge.838818f5.js";import{C as N}from"./SettingsRow.1722e16a.js";import{_ as x}from"./_plugin-vue_export-helper.eefbdd86.js";import{f as c,i as T,aq as l,Q as _,R as n,j as m,a0 as i,M as A,ae as k,U as d,O,ad as D,v as f,aD as J,a4 as X,S as Y,P as Z}from"./vendor-vue-ui.f00a1236.js";import{S as $,_ as ee}from"./Schema.a53839aa.js";import{B as te}from"./Checkbox.e62f1ba4.js";import{C as ae}from"./Blur.92d1018b.js";import{C as oe}from"./HtmlTagsEditor.fc0c6398.js";import{G as se,a as ne}from"./Row.2a7735dd.js";import{_ as e,a as w}from"./vendor-other.7b559694.js";import{R as ie}from"./RequiredPlans.24b8f4aa.js";import{C as re}from"./Index.d49bf7b5.js";import"./vendor-lodash.d3ad8b99.js";import"./Index.3967c277.js";import"./Close.de45e465.js";import"./JsonValues.a0694556.js";import"./RobotsMeta.d02129a5.js";import"./GoogleSearchPreview.14fc9832.js";import"./Caret.e6c9f7cc.js";import"./Url.2a5968be.js";import"./Tooltip.cb3a78f6.js";import"./Trash.c3e8db0b.js";import"./Slide.805812ec.js";import"./Button.6c09d515.js";import"./Information.bbfb3caf.js";import"./Textarea.b7de8109.js";import"./Checkmark.af3294f4.js";import"./Editor.ce4b47c1.js";import"./vendor-quill.e1eec88c.js";import"./Input.af82b72e.js";import"./Pencil.1ca5815a.js";import"./UnfilteredHtml.d98e0104.js";import"./vendor-emoji.92c96208.js";const le={};function ce(u,a){return c(),T("div")}const me=x(le,[["render",ce]]),o="all-in-one-seo-pack",pe={components:{BaseCheckbox:te,BaseRadioToggle:I,CoreBlur:ae,CoreHtmlTagsEditor:oe,CoreSettingsRow:N,GridColumn:ne,GridRow:se},props:{activeTab:Object},data(){return{GLOBAL_STRINGS:G,stripPunctuationSettings:[{value:"dashes",label:e("Dashes (-)",o)},{value:"underscores",label:e("Underscores (_)",o)},{value:"numbers",label:e("Numbers (0-9)",o)},{value:"plus",label:e("Plus (+)",o)},{value:"apostrophe",label:e("Apostrophe (')",o)},{value:"pound",label:e("Pound (#)",o)},{value:"ampersand",label:e("Ampersand (&)",o)}],strings:{attributeFormat:w(e("%1$s Format",o),e("Title",o)),clickToAddTags:w(e("Click on the tags below to insert variables into your %1$s attribute.",o),e("Title",o).toLowerCase()),stripPunctuation:e("Strip Punctuation",o),punctuationCharactersToKeep:e("Punctuation Characters to Keep:",o),casing:e("Casing",o),casingDescription:e("Choose which casing should be applied to the attribute.",o),wordsToStrip:e("Words to Strip",o),autogenerate:w(e("Autogenerate %1$s on Upload",o),e("Title",o))},tags:{title:{context:"imageSeoTitle",default:["image_title","separator_sa","site_title"]},altTag:{context:"imageSeoAlt",default:["alt_tag","separator_sa","site_title"]},caption:{context:"imageSeoCaption",default:["attachment_caption","separator_sa","site_title"]},description:{context:"imageSeoDescription",default:["attachment_description","separator_sa","site_title"]}},casings:{lowerCase:{label:e("Lower Case",o),description:e("All letters are converted to lower case (small) letters.",o)},titleCase:{label:e("Title Case",o),description:e("Major words are capitalized and minor words remain in their original casing.",o)},sentenceCase:{label:e("Sentence Case",o),description:e("The first word of each sentence starts with a capital.",o)}}}}},ue={class:"aioseo-sa-image-seo"},de={class:"global-robots-settings aioseo-description"},ge={class:"aioseo-description"},_e={class:"casing-options"};function he(u,a,v,s,t,p){const h=l("base-radio-toggle"),b=l("core-settings-row"),C=l("core-html-tags-editor"),y=l("base-checkbox"),L=l("grid-column"),U=l("grid-row"),B=l("core-blur");return c(),_(B,null,{default:n(()=>[m("div",ue,[["caption","description"].includes("title")?(c(),_(b,{key:0,name:t.strings.autogenerate,align:""},{content:n(()=>[i(h,{name:"autogenerate",options:[{label:t.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:t.GLOBAL_STRINGS.enabled,value:!0}]},null,8,["options"])]),_:1},8,["name"])):A("",!0),i(b,{name:t.strings.attributeFormat},{content:n(()=>[i(C,{"line-numbers":!1,single:"","tags-context":t.tags.title.context,"default-tags":t.tags.title.default},{"tags-description":n(()=>[k(d(t.strings.clickToAddTags),1)]),_:1},8,["tags-context","default-tags"])]),_:1},8,["name"]),i(b,{name:t.strings.stripPunctuation,align:""},{content:n(()=>[i(h,{name:"stripPunctuation",options:[{label:t.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:t.GLOBAL_STRINGS.enabled,value:!0}]},null,8,["options"]),m("div",de,[m("strong",null,d(t.strings.punctuationCharactersToKeep),1),i(U,{class:"settings"},{default:n(()=>[(c(!0),T(O,null,D(t.stripPunctuationSettings,(S,g)=>(c(),_(L,{key:g,xl:"3",md:"4",sm:"6"},{default:n(()=>[i(y,{size:"medium"},{default:n(()=>[k(d(S.label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})])]),_:1},8,["name"]),i(b,{name:t.strings.casing,align:""},{content:n(()=>[i(h,{name:"casing",options:[{label:t.GLOBAL_STRINGS.disabled,value:"",activeClass:"dark"},{label:t.casings.lowerCase.label,value:"lower"},{label:t.casings.titleCase.label,value:"title"},{label:t.casings.sentenceCase.label,value:"sentence"}]},null,8,["options"]),m("div",ge,[m("span",null,d(t.strings.casingDescription),1),a[0]||(a[0]=m("br",null,null,-1)),m("ul",_e,[(c(!0),T(O,null,D(t.casings,(S,g)=>(c(),T("li",{key:g},[m("span",null,d(S.label),1),m("span",null,d(S.description),1)]))),128))])])]),_:1},8,["name"])])]),_:1})}const be=x(pe,[["render",he]]),Se={class:"aioseo-sa-image-seo"},fe={__name:"ImageSeo",setup(u){const a="all-in-one-seo-pack",v=F(),s={titleAttributeFormat:e("Title Attribute Format",a),ctaDescription:e("The Image SEO module is a premium feature that enables you to globally control the title, alt tag, caption, description and filename of the images on your site.",a),ctaButtonText:e("Unlock Image SEO",a),ctaHeader:w(e("Image SEO is a %1$s Feature",a),"PRO")},t=[e("Autogenerate image attributes",a),e("Clean uploaded image filenames",a),e("Strip punctuation from image attributes",a),e("Convert casing of image attributes",a)];return(p,h)=>(c(),T("div",Se,[i(f(be)),i(f(re),{"cta-link":f(P).getPricingUrl("image-seo","image-seo-upsell",null,"liteUpgrade"),"button-text":s.ctaButtonText,"learn-more-link":f(P).getUpsellUrl("image-seo",null,"liteUpgrade"),"feature-list":t,"hide-bonus":!f(v).isUnlicensed},{"header-text":n(()=>[k(d(s.ctaHeader),1)]),description:n(()=>[i(f(ie),{addon:"aioseo-image-seo"}),k(" "+d(s.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","hide-bonus"])]))}},R=x(fe,[["__scopeId","data-v-bc554ad9"]]),r="all-in-one-seo-pack",Te={setup(){const{shouldShowActivate:u,shouldShowLite:a,shouldShowMain:v,shouldShowUpdate:s}=K({addonSlug:"aioseo-image-seo"}),{getPostIconClass:t}=j();return{GLOBAL_STRINGS:G,getPostIconClass:t,optionsStore:V(),rootStore:E(),settingsStore:M(),shouldShowActivate:u,shouldShowLite:a,shouldShowMain:v,shouldShowUpdate:s}},components:{Advanced:z,BaseRadioToggle:I,CoreCard:H,CoreMainTabs:W,CoreProBadge:Q,CoreSettingsRow:N,Cta:me,CustomFields:ee,ImageSeo:R,Lite:R,Schema:$,TitleDescription:q},data(){return{imageSeoKey:0,internalDebounce:!1,imageSeoActiveTab:{slug:"altTag",name:e("Alt Tag",r),pro:!0},strings:{redirectAttachmentUrls:e("Redirect Attachment URLs",r),attachment:e("Attachment",r),attachmentParent:e("Attachment Parent",r),attachmentUrlsDescription:e("We recommended redirecting attachment URLs back to the attachment since the default WordPress attachment pages have little SEO value.",r),imageSeo:e("Image SEO",r),advancedSettings:e("Advanced Settings",r)},tabs:{attachments:[{slug:"title-description",name:e("Title & Description",r),access:"aioseo_search_appearance_settings",pro:!1},{slug:"Schema",name:e("Schema Markup",r),access:"aioseo_search_appearance_settings",pro:!0},{slug:"advanced",name:e("Advanced",r),access:"aioseo_search_appearance_settings",pro:!1}],imageSeo:[{slug:"altTag",name:e("Alt Tag",r),pro:!0},{slug:"title",name:e("Title",r),pro:!0},{slug:"caption",name:e("Caption",r),pro:!0},{slug:"description",name:e("Description",r),pro:!0},{slug:"filename",name:e("Filename",r),pro:!0}]}}},computed:{postType(){return this.rootStore.aioseo.postData.postTypes.filter(u=>u.name==="attachment")[0]}},methods:{processChangeTab(u,a){this.internalDebounce||(this.internalDebounce=!0,this.settingsStore.changeTab({slug:`${u}SA`,value:a}),setTimeout(()=>{this.internalDebounce=!1},50))},setImageSeoActiveTab(u){this.imageSeoActiveTab=this.tabs.imageSeo.find(a=>a.slug===u),this.imageSeoKey++}}},ve={class:"aioseo-search-appearance-content-types"},Ae={class:"aioseo-description"};function Ce(u,a,v,s,t,p){const h=l("base-radio-toggle"),b=l("core-settings-row"),C=l("core-main-tabs"),y=l("core-card"),L=l("core-pro-badge"),U=l("image-seo"),B=l("cta"),S=l("lite");return c(),T("div",ve,[i(y,{slug:`${p.postType.name}SA`},J({header:n(()=>[m("div",{class:Z(["icon dashicons",s.getPostIconClass(p.postType.icon)])},null,2),m("div",null,d(p.postType.label),1)]),"before-tabs":n(()=>[i(b,{name:t.strings.redirectAttachmentUrls,align:""},{content:n(()=>[i(h,{modelValue:s.optionsStore.dynamicOptions.searchAppearance.postTypes.attachment.redirectAttachmentUrls,"onUpdate:modelValue":a[0]||(a[0]=g=>s.optionsStore.dynamicOptions.searchAppearance.postTypes.attachment.redirectAttachmentUrls=g),name:"redirectAttachmentUrls",options:[{label:s.GLOBAL_STRINGS.disabled,value:"disabled",activeClass:"dark"},{label:t.strings.attachment,value:"attachment"},{label:t.strings.attachmentParent,value:"attachment_parent"}]},null,8,["modelValue","options"]),m("div",Ae,d(t.strings.attachmentUrlsDescription),1)]),_:1},8,["name"])]),default:n(()=>[s.optionsStore.dynamicOptions.searchAppearance.postTypes.attachment.redirectAttachmentUrls==="disabled"?(c(),_(X,{key:0,name:"route-fade",mode:"out-in"},{default:n(()=>[(c(),_(Y(s.settingsStore.settings.internalTabs[`${p.postType.name}SA`]),{object:p.postType,separator:s.optionsStore.options.searchAppearance.global.separator,options:s.optionsStore.dynamicOptions.searchAppearance.postTypes[p.postType.name],type:"postTypes"},null,8,["object","separator","options"]))]),_:1})):A("",!0)]),_:2},[s.optionsStore.dynamicOptions.searchAppearance.postTypes.attachment.redirectAttachmentUrls==="disabled"?{name:"tabs",fn:n(()=>[i(C,{tabs:t.tabs.attachments,showSaveButton:!1,active:s.settingsStore.settings.internalTabs[`${p.postType.name}SA`],internal:"",onChanged:a[1]||(a[1]=g=>p.processChangeTab(p.postType.name,g))},null,8,["tabs","active"])]),key:"0"}:void 0]),1032,["slug"]),i(y,{slug:"imageSeo",noSlide:!s.shouldShowMain},{header:n(()=>[m("span",null,d(t.strings.imageSeo),1),i(L)]),tabs:n(()=>[i(C,{tabs:t.tabs.imageSeo,showSaveButton:!1,active:t.imageSeoActiveTab.slug,internal:"",onChanged:a[2]||(a[2]=g=>p.setImageSeoActiveTab(g))},null,8,["tabs","active"])]),default:n(()=>[s.shouldShowMain?(c(),_(U,{activeTab:t.imageSeoActiveTab,key:t.imageSeoKey},null,8,["activeTab"])):A("",!0),s.shouldShowUpdate||s.shouldShowActivate?(c(),_(B,{key:1})):A("",!0),s.shouldShowLite?(c(),_(S,{key:2})):A("",!0)]),_:1},8,["noSlide"])])}const mt=x(Te,[["render",Ce]]);export{mt as default};
Save
Cancel