관리-도구
편집 파일: Advanced.42a891f9.js
import{G as M}from"./constants.2019bcb3.js";import{h as D,l as A,s as G,b as I,k as J,u as j}from"./index.5a710757.js";import{u as X}from"./JsonValues.892a7505.js";import{B as Z}from"./Checkbox.e983780b.js";import{B as $}from"./RadioToggle.64619d6b.js";import{a as q,b as ee}from"./index.01e1b194.js";import{C as Q,S as oe,d as se}from"./Caret.662da1f3.js";import{C as K}from"./Card.2a757b17.js";import{C as te}from"./ExcludePosts.50b27b4c.js";import{C as ne}from"./HtmlTagsEditor.144f5fa2.js";import{C as ae}from"./PostTypeOptions.82478ea9.js";import{C as re}from"./RobotsMeta.923dd147.js";import{C as le}from"./SettingsRow.1934f141.js";import{C as E}from"./Tooltip.b6b45c85.js";import{S as ie}from"./External.c84e4310.js";import{i as ce}from"./regex.f8017116.js";import{S as de}from"./Plus.c3a1a43f.js";import"./translations.12335a6a.js";import{_ as P}from"./_plugin-vue_export-helper.249dac1d.js";import{_ as o,s as x}from"./default-i18n.54b5d8cd.js";import{v as y,o as p,c as v,C as a,l,a as c,t as i,k,b as g,x as f,F as ue,J as pe,E as O}from"./runtime-dom.esm-bundler.6789c400.js";import{C as ge}from"./Index.c4d148bc.js";import{C as he}from"./Table.9be344df.js";import"./helpers.f95d5840.js";import"./Checkmark.32f79576.js";import"./Slide.d0517fb0.js";import"./AddPlus.9574d780.js";import"./Editor.0232fc0c.js";import"./isEqual.51bf23f5.js";import"./_baseIsEqual.6bc92395.js";import"./_getTag.8dc22eac.js";import"./_baseClone.50c6045c.js";import"./_arrayEach.f4f00336.js";import"./UnfilteredHtml.559aa5ad.js";import"./PostTypes.dc684c4f.js";import"./HighlightToggle.6ee9eb70.js";import"./Radio.e92f8160.js";import"./Row.f01f32cd.js";import"./numbers.b55b32c5.js";import"./Download.6a0d8455.js";const w="all-in-one-seo-pack",me={emits:["blockArgAdded"],components:{CoreAlert:Q,CoreCard:K,SvgCirclePlus:de},data(){return{strings:{blockQuery:o("Block Query Arg",w),delete:o("Delete",w),add:o("Block Query Arg",w),regex:o("Regex",w),selectAValue:o("Select a Value or Add a New One",w),key:o("Key",w),value:o("Enter one or multiple values",w),createValue:o("Press enter to create a value",w),invalidRegex:o("The regex syntax is invalid.",w)},key:null,regex:!1,regexValue:null,isRegexValid:!0,valuesList:[],warnings:[]}},watch:{regexValue(){this.warnings=this.testRegex()}},computed:{allowedAddQuery(){return this.regex?this.regexValue&&this.isRegexValid:this.key}},methods:{getSlug(n){if(this.regex)return this.regexValue;let t="?"+this.key;return n&&(t+="="+n),t},addQuery(){const n=[];this.regex?n.push({slug:this.getSlug(),key:null,value:null,regex:this.regexValue}):this.valuesList.length!==0?this.valuesList.forEach(t=>{n.push({slug:this.getSlug(t.value),key:this.key,value:t.value,regex:null})}):n.push({slug:this.getSlug(),key:this.key,value:null,regex:null}),D.post(A.restUrl("crawl-cleanup/block/")).send(n).then(t=>{const _=t.body;this.regex||(this.key=null,this.valuesList=[],_.success===!1&&_.exists&&_.exists.forEach(e=>{this.key=e.key,this.valuesList.push({label:e.value,value:e.value})})),this.regex&&_.success===!0&&(this.regexValue=null),window.aioseoBus.$emit("blockArgAdded",t)})},testRegex(){const n=[];return this.isRegexValid=ce(this.regexValue),this.regexValue=this.regexValue===""?null:this.regexValue,this.regex&&this.regexValue!==null&&(this.regexValue.indexOf("^")===-1&&this.regexValue.indexOf("$")===-1&&n.push(x(o("To prevent a greedy regular expression you can use %1$s to anchor it to the start of the Query Arg. For example: %2$s",w),"<code>^/</code>","<code>^"+G(this.regexValue.replace(/^\//,""))+"</code>")),0<this.regexValue.indexOf("^")&&n.push(x(o("The caret %1$s should be at the start. For example: %2$s",w),"<code>^</code>","<code>^"+G(this.regexValue.replace("^","").replace(/^\//,""))+"</code>")),this.regexValue.length-1!==this.regexValue.indexOf("$")&&this.regexValue.indexOf("$")!==-1&&n.push(x(o("The dollar symbol %1$s should be at the end. For example: %2$s",w),"<code>$</code>","<code>"+G(this.regexValue.replace(/\$/g,""))+"$</code>"))),n}}},ye={class:"card-block-query"},be={class:"query-arg-logs"},fe={class:"query-arg-options"},ke={class:"query-arg-key"},Se={key:0,class:"query-arg-value"},_e={class:"query-arg-button"},ve={key:1};function we(n,t,_,e,s,b){const V=y("base-input"),m=y("base-select"),S=y("base-toggle"),L=y("svg-circle-plus"),F=y("base-button"),C=y("core-card"),T=y("core-alert");return p(),v("div",ye,[a(C,{"no-slide":"",slug:"blockQueryArg"},{header:l(()=>[c("span",null,i(s.strings.blockQuery),1)]),default:l(()=>[c("div",be,[c("div",fe,[c("div",ke,[s.regex?g("",!0):(p(),k(V,{key:0,modelValue:s.key,"onUpdate:modelValue":t[0]||(t[0]=h=>s.key=h),size:"medium",placeholder:s.strings.key},null,8,["modelValue","placeholder"])),s.regex?(p(),k(V,{key:1,modelValue:s.regexValue,"onUpdate:modelValue":t[1]||(t[1]=h=>s.regexValue=h),size:"medium",placeholder:"^utm_.*$"},null,8,["modelValue"])):g("",!0)]),s.regex?g("",!0):(p(),v("div",Se,[a(m,{multiple:"",taggable:"",options:[],size:"medium",modelValue:s.valuesList,"onUpdate:modelValue":t[2]||(t[2]=h=>s.valuesList=h),placeholder:s.strings.value,"tag-placeholder":s.strings.createValue},null,8,["modelValue","placeholder","tag-placeholder"])])),c("div",null,[a(S,{modelValue:s.regex,"onUpdate:modelValue":t[3]||(t[3]=h=>s.regex=h)},{default:l(()=>[f(i(s.strings.regex),1)]),_:1},8,["modelValue"])])]),c("div",_e,[a(F,{size:"small",type:"black",disabled:!b.allowedAddQuery,onClick:t[4]||(t[4]=h=>b.addQuery())},{default:l(()=>[a(L),f(" "+i(s.strings.add),1)]),_:1},8,["disabled"])])])]),_:1}),s.isRegexValid?g("",!0):(p(),k(T,{key:0,class:"regex-error",type:"red",size:"medium"},{default:l(()=>[f(i(s.strings.invalidRegex),1)]),_:1})),s.regex&&s.warnings.length?(p(),v("div",ve,[(p(!0),v(ue,null,pe(s.warnings,(h,B)=>(p(),k(T,{key:B,class:"regex-warning",type:"yellow",size:"medium",innerHTML:h},null,8,["innerHTML"]))),128))])):g("",!0)])}const Ae=P(me,[["render",we]]),u="all-in-one-seo-pack",Ce={setup(){return{optionsStore:I(),settingsStore:J()}},components:{CoreAlert:Q,CoreModal:ge,CoreTooltip:E,CoreWpTable:he,SvgCircleQuestionMark:q,SvgClose:oe},props:{showBulkActions:{type:Boolean,default(){return!0}},showTableFooter:{type:Boolean,default(){return!0}},showHeader:{type:Boolean,default(){return!0}},blockArgs:[]},data(){return{tableId:"aioseo-query-args-wp-table",showAlert:!1,alertDescription:null,alertType:null,strings:{delete:o("Delete",u),regex:o("Regex",u),key:o("Key",u),value:o("Value",u),yes:o("Yes",u),no:o("No",u),at:o("at",u),blockKey:o("Block Key",u),blockKeyValue:o("Block Key & Value",u),unblock:o("Unblock",u),success:o("The query arg has been successfully added to the blocklist.",u),unsuccess:o("An error occurred while trying to add the query arg to the blocklist. Please try again later.",u),unblockSuccess:o("The query arg has been successfully unblocked.",u),unblockUnsuccess:o("An error occurred while trying to remove the query arg from the blocklist. Please try again later.",u),deleteSuccess:o("The query arg has been successfully deleted.",u),deleteUnsuccess:o("An error occurred while trying to delete the query arg. Please try again later.",u),sureDeleteQuery:o("Are you sure you want to delete this query arg?",u),sureDeleteQueries:o("Are you sure you want to delete these query args?",u),sureBlockQuery:o("Are you sure you want to block this query arg?",u),sureBlockQueries:o("Are you sure you want to block these query args?",u),sureUnblockQuery:o("Are you sure you want to unblock this query arg?",u),sureUnblockQueries:o("Are you sure you want to unblock these query args?",u),thisWillRemoveQuery:o("This action will permanently remove this query arg.",u),thisWillRemoveQueries:o("This action will permanently remove the selected query args.",u),thisWillBlockQuery:o("This action will block this query arg.",u),thisWillBlockQueries:o("This action will block the selected query args.",u),thisWillUnblockQuery:o("This action will unblock this query arg.",u),thisWillUnblockQueries:o("This action will unblock the selected query args.",u),yesDeleteQuery:o("Delete Query Arg",u),yesDeleteQueries:o("Delete Query Args",u),yesBlockQuery:o("Block Query Arg",u),yesBlockQueries:o("Block Query Args",u),yesUnblockQuery:o("Unblock Query Arg",u),yesUnblockQueries:o("Unblock Query Args",u),noChangedMind:o("No, I changed my mind",u),actions:o("Actions",u),crawlCleanupTooltip:o('The "Block key" blocks both the key and all of its values, while "Block Key & values" lets you selectively block only certain values, without blocking the entire key.',u),blockedArgExists:o("The query arg you've entered is already being blocked.",u),blockedByRegex:o("Blocked by regex: ",u)},showModal:!1,showDeleteModal:!1,showBlockModal:!1,showUnblockModal:!1,rows:[],regexMatches:[],filters:[],selectedFilters:{slug:"unblocked",name:o("Unblocked",u),count:0,active:!0},totals:{total:0,pages:0,page:1},pageNumber:1,wpTableKey:0,searchTerm:null,wpTableLoading:!1,limit:this.settingsStore.settings.tablePagination.queryArgs,isMultipleSelected:!1,modalMessagemTitle:null,modalMessageDescription:null}},watch:{showAlert(n){n&&se(()=>{this.showAlert=!1},5e3)}},computed:{columns(){const n=[{slug:"slug",label:o("URL",u),with:"100%"}];return this.selectedFilters.slug==="blocked"&&n.push({slug:"regex",label:o("Regex",u),width:"60px"}),n.push({slug:"hits",label:o("Hits",u),width:"110px"},{slug:"updated",label:o("Last Accessed",u),width:"250px"},{slug:"actions",label:o("Actions",u),width:this.isBlockedSelected?"100px":"220px"}),n},isBlockedSelected(){return this.selectedFilters.slug==="blocked"},bulkOptions(){const n=[];return this.selectedFilters.slug==="unblocked"&&(n.push({label:o("Block Key",u),value:"block-key"}),n.push({label:o("Block Key & Value",u),value:"block-key-value"})),this.selectedFilters.slug==="blocked"&&n.push({label:o("Unblock",u),value:"unblock"}),n.push({label:o("Delete",u),value:"delete"}),n},yesDeleteQuery(){return this.isMultipleSelected?this.strings.yesDeleteQueries:this.strings.yesDeleteQuery},yesBlockQuery(){return this.isMultipleSelected?this.strings.yesBlockQueries:this.strings.yesBlockQuery},yesUnblockQuery(){return this.isMultipleSelected?this.strings.yesUnblockQueries:this.strings.yesUnblockQuery}},methods:{fetchData(){this.wpTableLoading=!0,D.post(A.restUrl("crawl-cleanup")).send({slug:this.slug,limit:this.limit?this.limit:this.settingsStore.settings.tablePagination.queryArgs,offset:this.pageNumber===1?0:(this.pageNumber-1)*this.limit,searchTerm:this.searchTerm,filter:this.selectedFilters?this.selectedFilters.slug:"unblocked"}).then(n=>{this.filters=n.body.filters,this.rows=n.body.rows,this.regexMatches=n.body.regex,this.totals=n.body.totals,this.pageNumber=n.body.totals.page,this.wpTableLoading=!1})},getSlug(n){return this.selectedFilters.slug==="blocked"?n.regex?n.regex:"?"+n.key+"="+(n.value?n.value:"*"):n.slug},blockKey(n){D.post(A.restUrl("crawl-cleanup/block/")).send(n).then(t=>{t.body.success===!1&&(this.openAlert(this.strings.unsuccess,"red"),t.body.error&&t.body.error===1&&this.openAlert(this.strings.blockedArgExists,"yellow")),this.fetchData()})},unblockKey(n){D.post(A.restUrl("crawl-cleanup/delete-blocked/")).send(n).then(t=>{t.body.success===!1&&this.openAlert(this.strings.unblockUnsuccess,"red"),this.fetchData()}).catch(t=>{console.error(t)})},openAlert(n,t="green"){this.showAlert=!0,this.alertDescription=n,this.alertType=t},processSearch(n){this.searchTerm=n,this.pageNumber=1,this.fetchData()},maybeDoBulkAction({action:n,selectedRows:t}){!n||!t.length||(this.showDeleteModal=n==="delete",this.showUnblockModal=n==="unblock",this.showBlockModal=n==="block-key"||n==="block-key-value",this.showModal=this.showDeleteModal||this.showBlockModal||this.showUnblockModal,this.action=n,this.selectedRows=t,this.isMultipleSelected=Array.isArray(t)&&1<t.length,this.modalMessagemTitle=this.areYouSureDeleteQuery(),this.modalMessageDescription=this.thisWillRemoveQuery(),(n==="block-key"||n==="block-key-value")&&(this.modalMessageDescription=this.thisWillBlockQuery(),this.modalMessagemTitle=this.areYouSureBlockQuery()),this.action==="unblock"&&(this.modalMessageDescription=this.thisWillUnblockQuery(),this.modalMessagemTitle=this.areYouSureUnblockQuery()))},areYouSureDeleteQuery(){return this.isMultipleSelected?this.strings.sureDeleteQueries:this.strings.sureDeleteQuery},areYouSureBlockQuery(){return this.isMultipleSelected?this.strings.sureBlockQueries:this.strings.sureBlockQuery},areYouSureUnblockQuery(){return this.isMultipleSelected?this.strings.sureUnblockQueries:this.strings.sureUnblockQuery},thisWillRemoveQuery(){return this.isMultipleSelected?this.strings.thisWillRemoveQueries:this.strings.thisWillRemoveQuery},thisWillBlockQuery(){return this.isMultipleSelected?this.strings.thisWillBlockQueries:this.strings.thisWillBlockQuery},thisWillUnblockQuery(){return this.isMultipleSelected?this.strings.thisWillUnblockQueries:this.strings.thisWillUnblockQuery},processQueryDelete(){this.wpTableLoading=!0,this.selectedFilters.slug==="blocked"&&D.post(A.restUrl("crawl-cleanup/delete-blocked/")).send(this.selectedRows).then(n=>{this.showModal=!1,this.wpTableLoading=!1,this.openAlert(this.strings.deleteSuccess),n.body.success===!1&&this.openAlert(this.strings.deleteSuccess,"red"),this.fetchData()}).catch(n=>{console.error(n)}),this.selectedFilters.slug==="unblocked"&&D.post(A.restUrl("crawl-cleanup/delete-unblocked/")).send(this.selectedRows).then(n=>{this.showModal=!1,this.wpTableLoading=!1,this.openAlert(this.strings.deleteSuccess),n.body.success===!1&&this.openAlert(this.strings.deleteUnsuccess,"red"),this.fetchData()}).catch(n=>{console.error(n)})},processQueryBlock(){const n=this.selectedRows.map(t=>{const _=this.rows.find(e=>e.id===t);return _===void 0?null:{key:_.key,value:this.action==="block-key-value"?_.value:null,regex:_.regex}}).filter(t=>t!==null);this.blockKey(n)},processQueryUnblock(){this.unblockKey(this.selectedRows)},processChangeItemsPerPage(n){this.limit=n,this.pageNumber=1,this.fetchData()},doProcessFilterTable(n){this.pageNumber=1,this.searchTerm=null,this.selectedFilters=n,this.fetchData()},doProcessPagination(n){this.pageNumber=n,this.fetchData()},hasRegexBlock(n){return this.regexMatches[n]?this.regexMatches[n]:!1}},mounted(){this.fetchData(),window.aioseoBus.$on("blockArgAdded",n=>{this.wpTableLoading=!0,this.selectedFilters={slug:"blocked"},n.body.success===!1&&(this.openAlert(this.strings.unsuccess,"red"),n.body.error&&n.body.error===1&&this.openAlert(this.strings.blockedArgExists,"yellow"),this.wpTableLoading=!1),this.fetchData()})}},Te={class:"aioseo-query-args-table"},xe={class:"actions-query-args"},Fe={key:0},Ve=["onClick"],Le={key:1},Be={key:0},De={class:"no-link"},Re={key:1},Me=["onClick"],Ge=c("span",{class:"separator"},"|",-1),Oe=["onClick"],Qe={class:"aioseo-modal-body delete"},Pe={class:"close"},Ue={class:"reset-description"};function Ne(n,t,_,e,s,b){const V=y("core-alert"),m=y("svg-circle-question-mark"),S=y("core-tooltip"),L=y("core-wp-table"),F=y("svg-close"),C=y("base-button"),T=y("core-modal");return p(),v("div",Te,[s.showAlert?(p(),k(V,{key:0,type:s.alertType,size:"medium",innerHTML:s.alertDescription},null,8,["type","innerHTML"])):g("",!0),(p(),k(L,{id:s.tableId,"bulk-options":b.bulkOptions,columns:b.columns,filters:s.filters,"initial-items-per-page":e.settingsStore.settings.tablePagination.queryArgs,"initial-page-number":s.pageNumber,"initial-search-term":s.searchTerm,key:s.wpTableKey,loading:s.wpTableLoading,rows:s.rows,"search-label":s.strings.searchUrls,"selected-filters":s.selectedFilters,"show-bulk-actions":_.showBulkActions,"show-header":_.showHeader,"show-table-footer":_.showTableFooter,totals:s.totals,"show-items-per-page":"",onSearch:b.processSearch,onProcessBulkAction:b.maybeDoBulkAction,onFilterTable:b.doProcessFilterTable,onPaginate:b.doProcessPagination,onProcessChangeItemsPerPage:b.processChangeItemsPerPage},{actionsHeaderFooter:l(()=>[f(i(s.strings.actions)+" ",1),a(S,{placement:"left"},{tooltip:l(()=>[f(i(s.strings.crawlCleanupTooltip),1)]),default:l(()=>[a(m)]),_:1})]),slug:l(({row:h})=>[f(i(b.getSlug(h)),1)]),hits:l(({row:h})=>[f(i(parseInt(h.hits).toLocaleString()),1)]),regex:l(({row:h})=>[f(i(!h.regex||h.regex==="0"?s.strings.no:s.strings.yes),1)]),actions:l(({row:h})=>[c("div",xe,[b.isBlockedSelected?(p(),v("div",Fe,[c("span",{onClick:B=>b.maybeDoBulkAction({action:"unblock",selectedRows:[h.id]})},i(s.strings.unblock),9,Ve)])):g("",!0),b.isBlockedSelected?g("",!0):(p(),v("div",Le,[b.hasRegexBlock(h.id)?(p(),v("div",Be,[c("span",De,i(s.strings.blockedByRegex)+" "+i(b.hasRegexBlock(h.id)),1)])):(p(),v("div",Re,[c("span",{onClick:B=>b.maybeDoBulkAction({action:"block-key",selectedRows:[h.id]})},i(s.strings.blockKey),9,Me),Ge,c("span",{onClick:B=>b.maybeDoBulkAction({action:"block-key-value",selectedRows:[h.id]})},i(s.strings.blockKeyValue),9,Oe)]))]))])]),_:1},8,["id","bulk-options","columns","filters","initial-items-per-page","initial-page-number","initial-search-term","loading","rows","search-label","selected-filters","show-bulk-actions","show-header","show-table-footer","totals","onSearch","onProcessBulkAction","onFilterTable","onPaginate","onProcessChangeItemsPerPage"])),a(T,{show:s.showModal,"no-header":"",classes:["block-arg-modal"],onClose:t[5]||(t[5]=h=>s.showModal=!1)},{body:l(()=>[c("div",Qe,[c("button",Pe,[a(F,{onClick:t[0]||(t[0]=h=>s.showModal=!1)})]),c("h3",null,i(s.modalMessagemTitle),1),c("div",Ue,i(s.modalMessageDescription),1),s.showDeleteModal?(p(),k(C,{key:0,type:"blue",size:"medium",onClick:[b.processQueryDelete,t[1]||(t[1]=O(h=>s.showModal=!1,["stop"]))]},{default:l(()=>[f(i(b.yesDeleteQuery),1)]),_:1},8,["onClick"])):g("",!0),s.showBlockModal?(p(),k(C,{key:1,type:"blue",size:"medium",onClick:[b.processQueryBlock,t[2]||(t[2]=O(h=>s.showModal=!1,["stop"]))]},{default:l(()=>[f(i(b.yesBlockQuery),1)]),_:1},8,["onClick"])):g("",!0),s.showUnblockModal?(p(),k(C,{key:2,type:"blue",size:"medium",onClick:[b.processQueryUnblock,t[3]||(t[3]=O(h=>s.showModal=!1,["stop"]))]},{default:l(()=>[f(i(b.yesUnblockQuery),1)]),_:1},8,["onClick"])):g("",!0),a(C,{type:"gray",size:"medium",onClick:t[4]||(t[4]=h=>s.showModal=!1)},{default:l(()=>[f(i(s.strings.noChangedMind),1)]),_:1})])]),_:1},8,["show"])])}const Ie=P(Ce,[["render",Ne]]),r="all-in-one-seo-pack",qe={setup(){const{getJsonValue:n,setJsonValue:t}=X();return{GLOBAL_STRINGS:M,getJsonValue:n,links:A,optionsStore:I(),rootStore:j(),setJsonValue:t}},components:{BaseCheckbox:Z,BaseRadioToggle:$,BaseSelect:ee,CoreAlert:Q,CoreCard:K,CoreExcludePosts:te,CoreHtmlTagsEditor:ne,CorePostTypeOptions:ae,CoreRobotsMeta:re,CoreSettingsRow:le,CoreTooltip:E,SvgCircleQuestionMark:q,SvgExternal:ie,QueryArgMonitorBlockArg:Ae,QueryArgMonitorTable:Ie},data(){return{emptyString:"",strings:{advanced:o("Advanced Settings",r),globalRobotsMeta:o("Global Robots Meta",r),autogenerateDescriptions:o("Autogenerate Descriptions",r),useContentForAutogeneratedDescriptions:o("Use Content for Autogenerated Descriptions",r),runShortcodes:o("Run Shortcodes",r),runShortcodesDescription:x(o("This option allows you to control whether %1$s should parse shortcodes when generating data such as the SEO title/meta description. Enabling this setting may cause conflicts with third-party plugins/themes. %2$s",r),"AIOSEO",A.getDocLink(M.learnMore,"runningShortcodes",!0)),runShortcodesWarning:x(o("NOTE: Enabling this setting may cause conflicts with third-party plugins/themes. %1$s",r),A.getDocLink(M.learnMore,"runningShortcodes",!0)),noPaginationForCanonical:o("No Pagination for Canonical URLs",r),useKeywords:o("Use Meta Keywords",r),useKeywordsDescription:o("This option allows you to toggle the use of Meta Keywords throughout the whole of the site.",r),useCategoriesForMetaKeywords:o("Use Categories for Meta Keywords",r),useCategoriesDescription:o("Check this if you want your categories for a given post used as the Meta Keywords for this post (in addition to any keywords you specify on the Edit Post screen).",r),useTagsForMetaKeywords:o("Use Tags for Meta Keywords",r),useTagsDescription:o("Check this if you want your tags for a given post used as the Meta Keywords for this post (in addition to any keywords you specify on the Edit Post screen).",r),dynamicallyGenerateKeywords:o("Dynamically Generate Meta Keywords",r),dynamicallyGenerateDescription:o("Check this if you want your keywords on your Posts page (set in WordPress under Settings, Reading, Front Page Displays) and your archive pages to be dynamically generated from the keywords of the posts showing on that page. If unchecked, it will use the keywords set in the edit page screen for the posts page.",r),pagedFormat:o("Paged Format",r),pagedFormatDescription:o("This string gets appended to the titles and descriptions of paginated pages (like term or archive pages).",r),descriptionFormat:o("Description Format",r),excludePostsPages:o("Exclude Posts / Pages",r),excludeTerms:o("Exclude Terms",r),sitelinks:o("Enable Sitelinks Search Box",r),sitelinksDescription:x(o("Choose whether %1$s should output the required schema markup that Google needs to generate a sitelinks search box.",r),"AIOSEO"),descriptionTagRequired:o("A Description tag is required in order to properly display your meta descriptions on your site.",r),crawlCleanup:o("Crawl Cleanup",r),queryArgMonitoring:o("Query Arg Monitoring",r),logsRetention:o("Logs Retention",r),crawlCleanupDescription:o("Disabling unnecessary RSS feeds can help save search engine crawl quota and speed up content indexing for larger sites. If you choose to disable any feeds, those feed links will automatically redirect to your homepage or applicable archive page.",r),queryArgMonitorDescription:o("This feature allows you to log all query arguments that are used on your site and block them. This will help prevent search engines from crawling every variation of your pages with unrecognized query arguments and help save search engine crawl quota.",r),globalFeed:o("Global RSS Feed",r),globalFeedDescription:o("The global RSS feed is how users subscribe to any new content that has been created on your site.",r),openYourRssFeed:o("Open Your RSS Feed",r),disableGlobalFeedAlert:o("Disabling the global RSS feed is NOT recommended. This will prevent users from subscribing to your content and can hurt your SEO rankings.",r),globalCommentsFeed:o("Global Comments RSS Feed",r),globalCommentsFeedDescription:o("The global comments feed allows users to subscribe to any new comments added to your site.",r),openYourCommentsRssFeed:o("Open Your Comments RSS Feed",r),staticBlogPageFeed:o("Static Posts Page Feed",r),staticBlogPageFeedDescription:o("The static posts page feed allows users to subscribe to any new content added to your blog page.",r),openYourStaticBlogPageFeed:o("Open Your Static Posts Page RSS Feed",r),authorsFeed:o("Author Feeds",r),authorsFeedDescription:o("The authors feed allows your users to subscribe to any new content written by a specific author.",r),postCommentsFeed:o("Post Comment Feeds",r),postCommentsFeedDescription:o("The post comments feed allows your users to subscribe to any new comments on a specific page or post.",r),searchFeed:o("Search Feed",r),searchFeedDescription:o("The search feed allows visitors to subscribe to your content based on a specific search term.",r),attachmentsFeed:o("Attachments Feed",r),attachmentsFeedDescription:o("The attachments feed allows users to subscribe to any changes to your site made to media file categories.",r),postTypesFeed:o("Post Type Archive Feeds",r),includeAllPostTypes:o("Include All Post Type Archives",r),selectPostTypes:o("Select which post type archives should include an RSS feed. This only applies to post types that include an archive page.",r),taxonomiesFeed:o("Taxonomy Feeds",r),includeAllTaxonomies:o("Include All Taxonomies",r),selectTaxonomies:o("Select which Taxonomies should include an RSS feed.",r),atomFeed:o("Atom Feed",r),atomFeedDescription:x(o("This is a global feed of your site output in the Atom format. %1$s",r),A.getPlainLink(M.learnMore,"http://www.atomenabled.org/",!0)),openYourAtomFeed:o("Open Your Atom Feed",r),rdfFeed:o("RDF/RSS 1.0 Feed",r),rdfFeedDescription:x(o("This is a global feed of your site output in the RDF/RSS 1.0 format. %1$s",r),A.getPlainLink(M.learnMore,"https://web.resource.org/rss/1.0/",!0)),openYourRdfFeed:o("Open Your RDF Feed",r),paginatedFeed:o("Paginated RSS Feeds",r),paginatedFeedDescription:o("The paginated RSS feeds are for any posts or pages that are paginated.",r)},logsRetentionOptions:[{label:o("1 hour",r),value:"hour"},{label:o("1 day",r),value:"day"},{label:o("1 week",r),value:"week"},{label:o("Forever",r),value:"forever"}]}},computed:{getArchives(){const n=[],t=this.rootStore.aioseo.postData.archives.filter(_=>_.buddyPress&&_.name!=="bp-activity"?(n.push(_.name),!1):!0);return{excluded:n,included:t}}}},Ke={class:"aioseo-search-appearance-advanced"},Ee={class:"aioseo-description"},He={class:"aioseo-description"},We={class:"aioseo-description"},Ye={class:"aioseo-description"},ze={class:"aioseo-description"},Je=["innerHTML"],je={class:"aioseo-description"},Xe=["innerHTML"],Ze={class:"aioseo-settings-row aioseo-section-description"},$e=["innerHTML"],eo={key:0,class:"aioseo-description"},oo={class:"rss-link"},so=["href"],to=["href"],no={class:"aioseo-description"},ao={key:0,class:"aioseo-description"},ro=["href"],lo=["href"],io={class:"aioseo-description"},co={key:0,class:"aioseo-description"},uo=["href"],po=["href"],go={class:"aioseo-description"},ho={class:"aioseo-description"},mo={class:"aioseo-description"},yo={class:"aioseo-description"},bo={class:"aioseo-description"},fo={class:"aioseo-description"},ko={class:"aioseo-description"},So=["innerHTML"],_o={key:0,class:"aioseo-description"},vo=["href"],wo=["href"],Ao=["innerHTML"],Co={key:0,class:"aioseo-description"},To=["href"],xo=["href"],Fo={class:"aioseo-settings-row aioseo-section-description"},Vo=["innerHTML"];function Lo(n,t,_,e,s,b){const V=y("core-robots-meta"),m=y("core-settings-row"),S=y("base-radio-toggle"),L=y("core-html-tags-editor"),F=y("core-alert"),C=y("core-exclude-posts"),T=y("core-card"),h=y("base-toggle"),B=y("svg-circle-question-mark"),H=y("core-tooltip"),R=y("svg-external"),U=y("base-checkbox"),N=y("core-post-type-options"),W=y("base-select"),Y=y("query-arg-monitor-block-arg"),z=y("query-arg-monitor-table");return p(),v("div",Ke,[a(T,{slug:"searchAdvanced","header-text":s.strings.advanced},{default:l(()=>[a(m,{name:s.strings.globalRobotsMeta},{content:l(()=>[a(V,{options:e.optionsStore.options.searchAppearance.advanced.globalRobotsMeta,global:""},null,8,["options"])]),_:1},8,["name"]),a(m,{name:s.strings.sitelinks,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.sitelinks,"onUpdate:modelValue":t[0]||(t[0]=d=>e.optionsStore.options.searchAppearance.advanced.sitelinks=d),name:s.strings.sitelinks,options:[{label:e.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.on,value:!0}]},null,8,["modelValue","name","options"]),c("div",Ee,i(s.strings.sitelinksDescription),1)]),_:1},8,["name"]),e.optionsStore.internalOptions.internal.deprecatedOptions.includes("autogenerateDescriptions")?(p(),k(m,{key:0,name:s.strings.autogenerateDescriptions,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.deprecated.searchAppearance.advanced.autogenerateDescriptions,"onUpdate:modelValue":t[1]||(t[1]=d=>e.optionsStore.options.deprecated.searchAppearance.advanced.autogenerateDescriptions=d),name:"autogenerateDescriptions",options:[{label:e.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.on,value:!0}]},null,8,["modelValue","options"])]),_:1},8,["name"])):g("",!0),e.optionsStore.internalOptions.internal.deprecatedOptions.includes("useContentForAutogeneratedDescriptions")&&(!e.optionsStore.internalOptions.internal.deprecatedOptions.includes("autogenerateDescriptions")||e.optionsStore.options.deprecated.searchAppearance.advanced.autogenerateDescriptions)?(p(),k(m,{key:1,name:s.strings.useContentForAutogeneratedDescriptions,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.deprecated.searchAppearance.advanced.useContentForAutogeneratedDescriptions,"onUpdate:modelValue":t[2]||(t[2]=d=>e.optionsStore.options.deprecated.searchAppearance.advanced.useContentForAutogeneratedDescriptions=d),name:"useContentForAutogeneratedDescriptions",options:[{label:e.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.on,value:!0}]},null,8,["modelValue","options"])]),_:1},8,["name"])):g("",!0),e.optionsStore.internalOptions.internal.deprecatedOptions.includes("noPaginationForCanonical")?(p(),k(m,{key:2,name:s.strings.noPaginationForCanonical,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.deprecated.searchAppearance.advanced.noPaginationForCanonical,"onUpdate:modelValue":t[3]||(t[3]=d=>e.optionsStore.options.deprecated.searchAppearance.advanced.noPaginationForCanonical=d),name:"noPaginationForCanonical",options:[{label:e.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.on,value:!0}]},null,8,["modelValue","options"])]),_:1},8,["name"])):g("",!0),a(m,{name:s.strings.useKeywords,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.useKeywords,"onUpdate:modelValue":t[4]||(t[4]=d=>e.optionsStore.options.searchAppearance.advanced.useKeywords=d),name:"useKeywords",options:[{label:e.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.yes,value:!0}]},null,8,["modelValue","options"]),c("div",He,i(s.strings.useKeywordsDescription),1)]),_:1},8,["name"]),e.optionsStore.options.searchAppearance.advanced.useKeywords?(p(),k(m,{key:3,name:s.strings.useCategoriesForMetaKeywords,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.useCategoriesForMetaKeywords,"onUpdate:modelValue":t[5]||(t[5]=d=>e.optionsStore.options.searchAppearance.advanced.useCategoriesForMetaKeywords=d),name:"useCategoriesForMetaKeywords",options:[{label:e.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.yes,value:!0}]},null,8,["modelValue","options"]),c("div",We,i(s.strings.useCategoriesDescription),1)]),_:1},8,["name"])):g("",!0),e.optionsStore.options.searchAppearance.advanced.useKeywords?(p(),k(m,{key:4,name:s.strings.useTagsForMetaKeywords,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.useTagsForMetaKeywords,"onUpdate:modelValue":t[6]||(t[6]=d=>e.optionsStore.options.searchAppearance.advanced.useTagsForMetaKeywords=d),name:"useTagsForMetaKeywords",options:[{label:e.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.yes,value:!0}]},null,8,["modelValue","options"]),c("div",Ye,i(s.strings.useTagsDescription),1)]),_:1},8,["name"])):g("",!0),e.optionsStore.options.searchAppearance.advanced.useKeywords?(p(),k(m,{key:5,name:s.strings.dynamicallyGenerateKeywords,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.dynamicallyGenerateKeywords,"onUpdate:modelValue":t[7]||(t[7]=d=>e.optionsStore.options.searchAppearance.advanced.dynamicallyGenerateKeywords=d),name:"dynamicallyGenerateKeywords",options:[{label:e.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.yes,value:!0}]},null,8,["modelValue","options"]),c("div",ze,i(s.strings.dynamicallyGenerateDescription),1)]),_:1},8,["name"])):g("",!0),e.optionsStore.internalOptions.internal.deprecatedOptions.includes("descriptionFormat")?(p(),k(m,{key:6,id:"description-format",name:s.strings.descriptionFormat,align:""},{content:l(()=>[a(L,{class:"description-format",modelValue:e.optionsStore.options.deprecated.searchAppearance.global.descriptionFormat,"onUpdate:modelValue":t[8]||(t[8]=d=>e.optionsStore.options.deprecated.searchAppearance.global.descriptionFormat=d),"line-numbers":!1,single:"","show-tags-description":!1,"tags-context":"descriptionFormat","default-tags":["description","site_title","tagline"],"show-all-tags-link":!0},{"tags-description":l(()=>[f(i(s.emptyString),1)]),_:1},8,["modelValue"]),e.optionsStore.options.deprecated.searchAppearance.global.descriptionFormat.includes("#description")?g("",!0):(p(),k(F,{key:0,class:"description-notice",type:"red"},{default:l(()=>[f(i(s.strings.descriptionTagRequired),1)]),_:1}))]),_:1},8,["name"])):g("",!0),a(m,{name:s.strings.runShortcodes,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.runShortcodes,"onUpdate:modelValue":t[9]||(t[9]=d=>e.optionsStore.options.searchAppearance.advanced.runShortcodes=d),name:"runShortcodes",options:[{label:e.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.on,value:!0}]},null,8,["modelValue","options"]),e.optionsStore.options.searchAppearance.advanced.runShortcodes?(p(),k(F,{key:0,class:"run-shortcodes-alert",type:"yellow",innerHTML:s.strings.runShortcodesWarning},null,8,["innerHTML"])):g("",!0),c("div",{class:"aioseo-description",innerHTML:s.strings.runShortcodesDescription},null,8,Je)]),_:1},8,["name"]),a(m,{name:s.strings.pagedFormat,align:""},{content:l(()=>[a(L,{class:"paged-format",modelValue:e.optionsStore.options.searchAppearance.advanced.pagedFormat,"onUpdate:modelValue":t[10]||(t[10]=d=>e.optionsStore.options.searchAppearance.advanced.pagedFormat=d),"line-numbers":!1,single:"","tags-context":"pagedFormat","default-tags":["page_number"],"show-all-tags-link":!1},{"tags-description":l(()=>[f(i(s.emptyString),1)]),_:1},8,["modelValue"]),c("div",je,i(s.strings.pagedFormatDescription),1)]),_:1},8,["name"]),e.optionsStore.internalOptions.internal.deprecatedOptions.includes("excludePosts")?(p(),k(m,{key:7,name:s.strings.excludePostsPages,class:"aioseo-exclude-pages-posts",align:""},{content:l(()=>[a(C,{options:e.optionsStore.options.deprecated.searchAppearance.advanced,type:"posts"},null,8,["options"])]),_:1},8,["name"])):g("",!0),e.optionsStore.internalOptions.internal.deprecatedOptions.includes("excludeTerms")?(p(),k(m,{key:8,name:s.strings.excludeTerms,class:"aioseo-exclude-terms",align:""},{content:l(()=>[a(C,{options:e.optionsStore.options.deprecated.searchAppearance.advanced,type:"terms"},null,8,["options"])]),_:1},8,["name"])):g("",!0)]),_:1},8,["header-text"]),a(T,{class:"aioseo-rss-content-advanced",slug:"searchAdvancedCrawlCleanup",toggles:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.enable},{header:l(()=>[a(h,{modelValue:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.enable,"onUpdate:modelValue":t[11]||(t[11]=d=>e.optionsStore.options.searchAppearance.advanced.crawlCleanup.enable=d)},null,8,["modelValue"]),c("span",null,i(s.strings.crawlCleanup),1),e.optionsStore.options.searchAppearance.advanced.crawlCleanup.enable?g("",!0):(p(),k(H,{key:0},{tooltip:l(()=>[f(i(s.strings.crawlCleanupDescription)+" ",1),c("span",{innerHTML:e.links.getDocLink(e.GLOBAL_STRINGS.learnMore,"crawlCleanup",!0)},null,8,Xe)]),default:l(()=>[a(B)]),_:1}))]),default:l(()=>[c("div",Ze,[f(i(s.strings.crawlCleanupDescription)+" ",1),c("span",{innerHTML:e.links.getDocLink(e.GLOBAL_STRINGS.learnMore,"crawlCleanup",!0)},null,8,$e)]),a(m,{id:"crawl-content-global-feed",name:s.strings.globalFeed,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.global,"onUpdate:modelValue":t[12]||(t[12]=d=>e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.global=d),name:"global",options:[{label:e.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.enabled,value:!0}]},null,8,["modelValue","options"]),e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.global?(p(),v("div",eo,[f(i(s.strings.globalFeedDescription)+" "+i(s.strings.disableGlobalFeedAlert)+" ",1),c("div",oo,[c("a",{href:e.rootStore.aioseo.urls.feeds.global,target:"_blank"},i(s.strings.openYourRssFeed),9,so),c("a",{class:"no-underline",href:e.rootStore.aioseo.urls.feeds.global,target:"_blank"},[f(" "),a(R)],8,to)])])):g("",!0),e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.global?g("",!0):(p(),k(F,{key:1,type:"red"},{default:l(()=>[f(i(s.strings.disableGlobalFeedAlert),1)]),_:1}))]),_:1},8,["name"]),a(m,{name:s.strings.globalCommentsFeed,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.globalComments,"onUpdate:modelValue":t[13]||(t[13]=d=>e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.globalComments=d),name:"globalComments",options:[{label:e.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.enabled,value:!0}]},null,8,["modelValue","options"]),c("div",no,i(s.strings.globalCommentsFeedDescription),1),e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.globalComments?(p(),v("div",ao,[c("a",{href:e.rootStore.aioseo.urls.feeds.globalComments,target:"_blank"},i(s.strings.openYourCommentsRssFeed),9,ro),c("a",{class:"no-underline",href:e.rootStore.aioseo.urls.feeds.globalComments,target:"_blank"},[f(" "),a(R)],8,lo)])):g("",!0)]),_:1},8,["name"]),e.rootStore.aioseo.data.staticBlogPage?(p(),k(m,{key:0,name:s.strings.staticBlogPageFeed,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.staticBlogPage,"onUpdate:modelValue":t[14]||(t[14]=d=>e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.staticBlogPage=d),name:"staticBlogPage",options:[{label:e.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.enabled,value:!0}]},null,8,["modelValue","options"]),c("div",io,i(s.strings.staticBlogPageFeedDescription),1),e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.staticBlogPage?(p(),v("div",co,[c("a",{href:e.rootStore.aioseo.urls.feeds.staticBlogPage,target:"_blank"},i(s.strings.openYourStaticBlogPageFeed),9,uo),c("a",{class:"no-underline",href:e.rootStore.aioseo.urls.feeds.staticBlogPage,target:"_blank"},[f(" "),a(R)],8,po)])):g("",!0)]),_:1},8,["name"])):g("",!0),a(m,{name:s.strings.authorsFeed,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.authors,"onUpdate:modelValue":t[15]||(t[15]=d=>e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.authors=d),name:"authors",options:[{label:e.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.enabled,value:!0}]},null,8,["modelValue","options"]),c("div",go,i(s.strings.authorsFeedDescription),1)]),_:1},8,["name"]),a(m,{name:s.strings.postCommentsFeed,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.postComments,"onUpdate:modelValue":t[16]||(t[16]=d=>e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.postComments=d),name:"postComments",options:[{label:e.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.enabled,value:!0}]},null,8,["modelValue","options"]),c("div",ho,i(s.strings.postCommentsFeedDescription),1)]),_:1},8,["name"]),a(m,{name:s.strings.searchFeed,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.search,"onUpdate:modelValue":t[17]||(t[17]=d=>e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.search=d),name:"search",options:[{label:e.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.enabled,value:!0}]},null,8,["modelValue","options"]),c("div",mo,i(s.strings.searchFeedDescription),1)]),_:1},8,["name"]),a(m,{name:s.strings.attachmentsFeed,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.attachments,"onUpdate:modelValue":t[18]||(t[18]=d=>e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.attachments=d),name:"attachments",options:[{label:e.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.enabled,value:!0}]},null,8,["modelValue","options"]),c("div",yo,i(s.strings.attachmentsFeedDescription),1)]),_:1},8,["name"]),a(m,{name:s.strings.paginatedFeed,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.paginated,"onUpdate:modelValue":t[19]||(t[19]=d=>e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.paginated=d),name:"paginated",options:[{label:e.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.enabled,value:!0}]},null,8,["modelValue","options"]),c("div",bo,i(s.strings.paginatedFeedDescription),1)]),_:1},8,["name"]),b.getArchives.included.length?(p(),k(m,{key:1,name:s.strings.postTypesFeed},{content:l(()=>[a(U,{size:"medium",modelValue:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.archives.all,"onUpdate:modelValue":t[20]||(t[20]=d=>e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.archives.all=d)},{default:l(()=>[f(i(s.strings.includeAllPostTypes),1)]),_:1},8,["modelValue"]),e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.archives.all?g("",!0):(p(),k(N,{key:0,options:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds,excluded:b.getArchives.excluded,type:"archives"},null,8,["options","excluded"])),c("div",fo,i(s.strings.selectPostTypes),1)]),_:1},8,["name"])):g("",!0),a(m,{name:s.strings.taxonomiesFeed},{content:l(()=>[a(U,{size:"medium",modelValue:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.taxonomies.all,"onUpdate:modelValue":t[21]||(t[21]=d=>e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.taxonomies.all=d)},{default:l(()=>[f(i(s.strings.includeAllTaxonomies),1)]),_:1},8,["modelValue"]),e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.taxonomies.all?g("",!0):(p(),k(N,{key:0,options:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds,type:"taxonomies"},null,8,["options"])),c("div",ko,i(s.strings.selectTaxonomies),1)]),_:1},8,["name"]),a(m,{name:s.strings.atomFeed,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.atom,"onUpdate:modelValue":t[22]||(t[22]=d=>e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.atom=d),name:"atom",options:[{label:e.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.enabled,value:!0}]},null,8,["modelValue","options"]),c("div",{class:"aioseo-description",innerHTML:s.strings.atomFeedDescription},null,8,So),e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.atom?(p(),v("div",_o,[c("a",{href:e.rootStore.aioseo.urls.feeds.atom,target:"_blank"},i(s.strings.openYourAtomFeed),9,vo),c("a",{class:"no-underline",href:e.rootStore.aioseo.urls.feeds.atom,target:"_blank"},[f(" "),a(R)],8,wo)])):g("",!0)]),_:1},8,["name"]),a(m,{name:s.strings.rdfFeed,align:""},{content:l(()=>[a(S,{modelValue:e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.rdf,"onUpdate:modelValue":t[23]||(t[23]=d=>e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.rdf=d),name:"rdf",options:[{label:e.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.enabled,value:!0}]},null,8,["modelValue","options"]),c("div",{class:"aioseo-description",innerHTML:s.strings.rdfFeedDescription},null,8,Ao),e.optionsStore.options.searchAppearance.advanced.crawlCleanup.feeds.rdf?(p(),v("div",Co,[c("a",{href:e.rootStore.aioseo.urls.feeds.rdf,target:"_blank"},i(s.strings.openYourRdfFeed),9,To),c("a",{class:"no-underline",href:e.rootStore.aioseo.urls.feeds.rdf,target:"_blank"},[f(" "),a(R)],8,xo)])):g("",!0)]),_:1},8,["name"])]),_:1},8,["toggles"]),a(T,{id:"aioseo-query-arg-monitoring",slug:"queryArgLogs",toggles:e.optionsStore.options.searchAppearance.advanced.blockArgs.enable},{header:l(()=>[a(h,{modelValue:e.optionsStore.options.searchAppearance.advanced.blockArgs.enable,"onUpdate:modelValue":t[24]||(t[24]=d=>e.optionsStore.options.searchAppearance.advanced.blockArgs.enable=d)},null,8,["modelValue"]),c("span",null,i(s.strings.queryArgMonitoring),1)]),default:l(()=>[c("div",Fo,[f(i(s.strings.queryArgMonitorDescription)+" ",1),c("span",{innerHTML:e.links.getDocLink(e.GLOBAL_STRINGS.learnMore,"queryArgMonitor",!0)},null,8,Vo)]),a(m,{name:s.strings.logsRetention,class:"table-retention"},{content:l(()=>[a(W,{size:"medium",options:s.logsRetentionOptions,modelValue:e.getJsonValue(e.optionsStore.options.searchAppearance.advanced.blockArgs.logsRetention),"onUpdate:modelValue":t[25]||(t[25]=d=>e.optionsStore.options.searchAppearance.advanced.blockArgs.logsRetention=e.setJsonValue(d))},null,8,["options","modelValue"])]),_:1},8,["name"]),a(Y),a(z)]),_:1},8,["toggles"])])}const bs=P(qe,[["render",Lo]]);export{bs as default};