Sid Gifari File Manager
🏠 Root
/
home2
/
meumer25
/
www
/
wp-content
/
plugins
/
all-in-one-seo-pack
/
dist
/
Lite
/
assets
/
js
/
Editing: Media.69559899.js
import{G}from"./constants.bc5863fe.js";import{i as F,b as P,e as E,a as M,k as V}from"./index.317ad629.js";import{u as K}from"./AddonConditions.c3862ae2.js";import{u as j}from"./PostTypes.4e006733.js";import{A as z,T as H}from"./TitleDescription.739dc5ef.js";import{B as I}from"./RadioToggle.18655b2f.js";import{C as W}from"./Card.b75a3969.js";import{C as q}from"./Tabs.a35aa612.js";import{C as J}from"./ProBadge.e6ec5f9a.js";import{C as N}from"./SettingsRow.35256805.js";import{_ as x}from"./_plugin-vue_export-helper.eefbdd86.js";import{o as c,c as T,a6 as l,a1 as _,a2 as n,_ as m,l as i,a4 as C,a7 as w,$ as d,F as O,af as R,R as f,ao as Q,ae as X,a5 as Y}from"./runtime-core.esm-bundler.ce5add0b.js";import{_ as Z,S as $}from"./Schema.de702100.js";import{B as ee}from"./Checkbox.6a913600.js";import{C as te}from"./Blur.92695742.js";import{C as ae}from"./HtmlTagsEditor.c93abc5f.js";import{G as oe,a as se}from"./Row.bb9acf3f.js";import"./translations.e71e2202.js";import{_ as e,a as k}from"./default-i18n.65d58dd6.js";import{R as ne}from"./RequiredPlans.3bd01b59.js";import{C as ie}from"./Index.72794c8a.js";import{T as re}from"./runtime-dom.esm-bundler.dc49ee3e.js";import"./helpers.633a054c.js";import"./addons.a280be1f.js";import"./upperFirst.5dc701f8.js";import"./Index.2a391835.js";import"./Close.ccd53ef3.js";import"./JsonValues.a0694556.js";import"./RobotsMeta.759bfeb1.js";import"./Editor.8a5e9531.js";import"./isEqual.59768dc1.js";import"./_baseIsEqual.c0ca09f7.js";import"./_getTag.6fb74b2e.js";import"./_baseClone.cfa156ff.js";import"./_arrayEach.6af5abac.js";import"./Input.f04bee4d.js";import"./Pencil.d82df6a1.js";import"./Trash.87a7d946.js";import"./Caret.cd869c5d.js";import"./GoogleSearchPreview.114c7833.js";import"./Url.c2dcf147.js";import"./Tooltip.23c7170d.js";import"./Slide.3003ef51.js";import"./vue-router.41e9d860.js";import"./Button.9a301412.js";import"./Information.98ebb530.js";import"./Textarea.1045f090.js";import"./Checkmark.762f711e.js";import"./UnfilteredHtml.f93ca71d.js";import"./license.414793bf.js";const le={};function ce(u,o){return c(),T("div")}const me=x(le,[["render",ce]]),a="all-in-one-seo-pack",pe={components:{BaseCheckbox:ee,BaseRadioToggle:I,CoreBlur:te,CoreHtmlTagsEditor:ae,CoreSettingsRow:N,GridColumn:oe,GridRow:se},props:{activeTab:Object},data(){return{GLOBAL_STRINGS:G,stripPunctuationSettings:[{value:"dashes",label:e("Dashes (-)",a)},{value:"underscores",label:e("Underscores (_)",a)},{value:"numbers",label:e("Numbers (0-9)",a)},{value:"plus",label:e("Plus (+)",a)},{value:"apostrophe",label:e("Apostrophe (')",a)},{value:"pound",label:e("Pound (#)",a)},{value:"ampersand",label:e("Ampersand (&)",a)}],strings:{attributeFormat:k(e("%1$s Format",a),e("Title",a)),clickToAddTags:k(e("Click on the tags below to insert variables into your %1$s attribute.",a),e("Title",a).toLowerCase()),stripPunctuation:e("Strip Punctuation",a),punctuationCharactersToKeep:e("Punctuation Characters to Keep:",a),casing:e("Casing",a),casingDescription:e("Choose which casing should be applied to the attribute.",a),wordsToStrip:e("Words to Strip",a),autogenerate:k(e("Autogenerate %1$s on Upload",a),e("Title",a))},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",a),description:e("All letters are converted to lower case (small) letters.",a)},titleCase:{label:e("Title Case",a),description:e("Major words are capitalized and minor words remain in their original casing.",a)},sentenceCase:{label:e("Sentence Case",a),description:e("The first word of each sentence starts with a capital.",a)}}}}},ue={class:"aioseo-sa-image-seo"},de={class:"global-robots-settings aioseo-description"},ge={class:"aioseo-description"},_e=m("br",null,null,-1),he={class:"casing-options"};function be(u,o,v,s,t,p){const h=l("base-radio-toggle"),b=l("core-settings-row"),A=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"])):C("",!0),i(b,{name:t.strings.attributeFormat},{content:n(()=>[i(A,{"line-numbers":!1,single:"","tags-context":t.tags.title.context,"default-tags":t.tags.title.default},{"tags-description":n(()=>[w(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,R(t.stripPunctuationSettings,(S,g)=>(c(),_(L,{key:g,xl:"3",md:"4",sm:"6"},{default:n(()=>[i(y,{size:"medium"},{default:n(()=>[w(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),_e,m("ul",he,[(c(!0),T(O,null,R(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 Se=x(pe,[["render",be]]),fe={class:"aioseo-sa-image-seo"},Te={__name:"ImageSeo",setup(u){const o="all-in-one-seo-pack",v=F(),s={titleAttributeFormat:e("Title Attribute Format",o),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.",o),ctaButtonText:e("Unlock Image SEO",o),ctaHeader:k(e("Image SEO is a %1$s Feature",o),"PRO")},t=[e("Autogenerate image attributes",o),e("Clean uploaded image filenames",o),e("Strip punctuation from image attributes",o),e("Convert casing of image attributes",o)];return(p,h)=>(c(),T("div",fe,[i(f(Se)),i(f(ie),{"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(()=>[w(d(s.ctaHeader),1)]),description:n(()=>[i(f(ne),{addon:"aioseo-image-seo"}),w(" "+d(s.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","hide-bonus"])]))}},D=x(Te,[["__scopeId","data-v-bc554ad9"]]),r="all-in-one-seo-pack",ve={setup(){const{shouldShowActivate:u,shouldShowLite:o,shouldShowMain:v,shouldShowUpdate:s}=K({addonSlug:"aioseo-image-seo"}),{getPostIconClass:t}=j();return{GLOBAL_STRINGS:G,getPostIconClass:t,optionsStore:E(),rootStore:M(),settingsStore:V(),shouldShowActivate:u,shouldShowLite:o,shouldShowMain:v,shouldShowUpdate:s}},components:{Advanced:z,BaseRadioToggle:I,CoreCard:W,CoreMainTabs:q,CoreProBadge:J,CoreSettingsRow:N,Cta:me,CustomFields:Z,ImageSeo:D,Lite:D,Schema:$,TitleDescription:H},data(){return{imageSeoKey:0,internalDebounce:!1,imageSeoActiveTab:{slug:"title",name:e("Title",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:"title",name:e("Title",r),pro:!0},{slug:"altTag",name:e("Alt Tag",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,o){this.internalDebounce||(this.internalDebounce=!0,this.settingsStore.changeTab({slug:`${u}SA`,value:o}),setTimeout(()=>{this.internalDebounce=!1},50))},setImageSeoActiveTab(u){this.imageSeoActiveTab=this.tabs.imageSeo.find(o=>o.slug===u),this.imageSeoKey++}}},Ce={class:"aioseo-search-appearance-content-types"},Ae={class:"aioseo-description"};function ye(u,o,v,s,t,p){const h=l("base-radio-toggle"),b=l("core-settings-row"),A=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",Ce,[i(y,{slug:`${p.postType.name}SA`},Q({header:n(()=>[m("div",{class:X(["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":o[0]||(o[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(),_(re,{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})):C("",!0)]),_:2},[s.optionsStore.dynamicOptions.searchAppearance.postTypes.attachment.redirectAttachmentUrls==="disabled"?{name:"tabs",fn:n(()=>[i(A,{tabs:t.tabs.attachments,showSaveButton:!1,active:s.settingsStore.settings.internalTabs[`${p.postType.name}SA`],internal:"",onChanged:o[1]||(o[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(A,{tabs:t.tabs.imageSeo,showSaveButton:!1,active:t.imageSeoActiveTab.slug,internal:"",onChanged:o[2]||(o[2]=g=>p.setImageSeoActiveTab(g))},null,8,["tabs","active"])]),default:n(()=>[s.shouldShowMain?(c(),_(U,{activeTab:t.imageSeoActiveTab,key:t.imageSeoKey},null,8,["activeTab"])):C("",!0),s.shouldShowUpdate||s.shouldShowActivate?(c(),_(B,{key:1})):C("",!0),s.shouldShowLite?(c(),_(S,{key:2})):C("",!0)]),_:1},8,["noSlide"])])}const vt=x(ve,[["render",ye]]);export{vt as default};
Save
Cancel