(window["aioseopjsonp"]=window["aioseopjsonp"]||[]).push([["search-appearance-Archives-vue","search-appearance-partials-Advanced-vue","search-appearance-partials-TitleDescription-vue"],{"0844":function(t,e,n){"use strict";n.r(e);var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aioseo-sa-ct-advanced"},[n("core-settings-row",{attrs:{name:t.strings.robotsSetting},scopedSlots:t._u([{key:"content",fn:function(){return[n("core-robots-meta",{attrs:{options:t.options.advanced.robotsMeta,mainOptions:t.options}})]},proxy:!0}])}),t.showBulk?n("core-settings-row",{attrs:{name:t.strings.bulkEditing,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[n("base-radio-toggle",{attrs:{name:t.object.name+"BulkEditing",options:[{label:t.$constants.GLOBAL_STRINGS.disabled,value:"disabled"},{label:t.$constants.GLOBAL_STRINGS.enabled,value:"enabled"},{label:t.strings.readOnly,value:"read-only"}]},model:{value:t.options.advanced.bulkEditing,callback:function(e){t.$set(t.options.advanced,"bulkEditing",e)},expression:"options.advanced.bulkEditing"}})]},proxy:!0}],null,!1,3216224115)}):t._e(),t.noMetaBox||t.isUnlicensed&&"taxonomies"===t.type?t._e():n("core-settings-row",{attrs:{name:t.strings.otherOptions},scopedSlots:t._u([{key:"content",fn:function(){return[n("div",{staticClass:"other-options"},[n("base-toggle",{model:{value:t.options.advanced.showMetaBox,callback:function(e){t.$set(t.options.advanced,"showMetaBox",e)},expression:"options.advanced.showMetaBox"}},[t._v(" "+t._s(t.showMetaBox)+" ")])],1)]},proxy:!0}],null,!1,430458522)}),t.mainOptions.searchAppearance.advanced.useKeywords&&t.includeKeywords?n("core-settings-row",{attrs:{name:t.strings.keywords,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[n("base-select",{attrs:{multiple:"",taggable:"",options:t.getJsonValue(t.options.advanced.keywords)||[],value:t.getJsonValue(t.options.advanced.keywords)||[],"tag-placeholder":t.strings.tagPlaceholder},on:{input:function(e){return t.options.advanced.keywords=t.setJsonValue(e)}}})]},proxy:!0}],null,!1,4182382651)}):t._e()],1)},o=[],i=n("5530"),a=n("2f62"),r=n("9c0e"),c={mixins:[r["c"],r["e"]],props:{type:{type:String,required:!0},object:{type:Object,required:!0},options:{type:Object,required:!0},showBulk:Boolean,noMetaBox:Boolean,includeKeywords:Boolean},data:function(){return{titleCount:0,descriptionCount:0,strings:{robotsSetting:this.$t.__("Robots Meta Settings",this.$td),bulkEditing:this.$t.__("Bulk Editing",this.$td),readOnly:this.$t.__("Read Only",this.$td),otherOptions:this.$t.__("Other Options",this.$td),showDateInGooglePreview:this.$t.__("Show Date in Google Preview",this.$td),keywords:this.$t.__("Keywords",this.$td)}}},computed:Object(i["a"])(Object(i["a"])(Object(i["a"])({},Object(a["e"])({mainOptions:"options"})),Object(a["c"])(["isUnlicensed"])),{},{title:function(){return this.$t.sprintf(this.$t.__("%1$s Title",this.$td),this.object.singular)},showPostThumbnailInSearch:function(){return this.$t.sprintf(this.$t.__("Show %1$s Thumbnail in Google Custom Search",this.$td),this.object.singular)},showMetaBox:function(){return this.$t.sprintf(this.$t.__("Show %1$s Meta Box",this.$td),"AIOSEO")}})},l=c,u=(n("3d63"),n("2877")),d=Object(u["a"])(l,s,o,!1,null,null,null);e["default"]=d.exports},"2eee":function(t,e,n){"use strict";n("5d1c")},"3d63":function(t,e,n){"use strict";n("7a06")},"587e":function(t,e,n){"use strict";n.r(e);var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aioseo-sa-ct-title-description"},[n("core-settings-row",{attrs:{name:t.strings.showInSearchResults,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[t.edit?n("base-radio-toggle",{attrs:{name:t.object.name+"ShowInSearch",options:[{label:t.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:t.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:t.options.show,callback:function(e){t.$set(t.options,"show",e)},expression:"options.show"}}):t._e(),t.edit?t._e():n("base-radio-toggle",{attrs:{value:!0,name:t.object.name+"ShowInSearch",options:[{label:t.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:t.$constants.GLOBAL_STRINGS.yes,value:!0}]}}),n("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.noIndexDescription)+" ")])]},proxy:!0}])}),t.edit&&t.options.show?n("core-settings-row",{attrs:{name:t.$constants.GLOBAL_STRINGS.preview},scopedSlots:t._u([{key:"content",fn:function(){return[n("core-google-search-preview",{attrs:{title:t.options.title,separator:t.separator,description:t.options.metaDescription}})]},proxy:!0}],null,!1,3395425131)}):t._e(),t.options.show?n("core-settings-row",{attrs:{name:t.title},scopedSlots:t._u([{key:"content",fn:function(){return[t.edit?n("core-html-tags-editor",{attrs:{"line-numbers":!1,single:"","tags-context":t.object.name+"Title","default-tags":t.$tags.getDefaultTags(t.type,t.object.name,"title")},scopedSlots:t._u([{key:"tags-description",fn:function(){return[t._v(" "+t._s(t.strings.clickToAddTitle)+" ")]},proxy:!0}],null,!1,3106947238),model:{value:t.options.title,callback:function(e){t.$set(t.options,"title",e)},expression:"options.title"}}):t._e(),t.edit?t._e():n("core-html-tags-editor",{attrs:{"line-numbers":!1,single:"","tags-context":t.object.name+"Title","default-tags":t.$tags.getDefaultTags(t.type,t.object.name,"title")},scopedSlots:t._u([{key:"tags-description",fn:function(){return[t._v(" "+t._s(t.strings.clickToAddTitle)+" ")]},proxy:!0}],null,!1,3106947238)})]},proxy:!0}],null,!1,198146199)}):t._e(),t.options.show?n("core-settings-row",{attrs:{name:t.strings.metaDescription},scopedSlots:t._u([{key:"content",fn:function(){return[t.edit?n("core-html-tags-editor",{attrs:{"line-numbers":!1,description:"","tags-context":t.object.name+"Description","default-tags":t.$tags.getDefaultTags(t.type,t.object.name,"description")},scopedSlots:t._u([{key:"tags-description",fn:function(){return[t._v(" "+t._s(t.strings.clickToAddDescription)+" ")]},proxy:!0}],null,!1,1726597184),model:{value:t.options.metaDescription,callback:function(e){t.$set(t.options,"metaDescription",e)},expression:"options.metaDescription"}}):t._e(),t.edit?t._e():n("core-html-tags-editor",{attrs:{"line-numbers":!1,"tags-context":t.object.name+"Description","default-tags":t.$tags.getDefaultTags(t.type,t.object.name,"description")},scopedSlots:t._u([{key:"tags-description",fn:function(){return[t._v(" "+t._s(t.strings.clickToAddDescription)+" ")]},proxy:!0}],null,!1,1726597184)})]},proxy:!0}],null,!1,2372372956)}):t._e()],1)},o=[],i=n("9c0e"),a={mixins:[i["e"]],props:{type:{type:String,required:!0},object:{type:Object,required:!0},separator:{type:String,required:!0},options:{type:Object,required:!0},edit:{type:Boolean,default:function(){return!0}}},data:function(){return{titleCount:0,descriptionCount:0,strings:{showInSearchResults:this.$t.__("Show in Search Results",this.$td),clickToAddTitle:this.$t.__("Click on the tags below to insert variables into your title.",this.$td),metaDescription:this.$t.__("Meta Description",this.$td),clickToAddDescription:this.$t.__("Click on the tags below to insert variables into your meta description.",this.$td),noIndexDescription:this.$t.__('Selecting "No" will no-index this page.',this.$td)}}},watch:{show:function(t){this.options.advanced.robotsMeta.noindex=!t,t||(this.options.advanced.robotsMeta.default=!1)}},computed:{title:function(){return this.$t.sprintf(this.$t.__("%1$s Title",this.$td),this.object.singular)},show:function(){return this.options.show}},methods:{}},r=a,c=n("2877"),l=Object(c["a"])(r,s,o,!1,null,null,null);e["default"]=l.exports},"5b69":function(t,e,n){"use strict";n.r(e);var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aioseo-search-appearance-archives"},t._l(t.getArchives,(function(e,s){return n("core-card",{key:s,attrs:{slug:e.name+"Archives"},scopedSlots:t._u([{key:"header",fn:function(){return[n("div",{staticClass:"icon dashicons",class:""+(e.icon||"dashicons-admin-post")}),n("div",[t._v(" "+t._s(e.label)+" ")])]},proxy:!0},{key:"tabs",fn:function(){return[n("core-main-tabs",{attrs:{tabs:t.tabs,showSaveButton:!1,active:t.settings.internalTabs[e.name+"Archives"],internal:""},on:{changed:function(n){return t.processChangeTab(e.name,n)}}})]},proxy:!0}],null,!0)},[n("transition",{attrs:{name:"route-fade",mode:"out-in"}},[n(t.settings.internalTabs[e.name+"Archives"],{tag:"component",attrs:{object:e,separator:t.options.searchAppearance.global.separator,options:t.getOptions(e),type:"archives","show-bulk":!1,"no-meta-box":"","include-keywords":""}})],1)],1)})),1)},o=[],i=n("5530"),a=(n("99af"),n("d81d"),n("b0c0"),n("ac1f"),n("5319"),n("2f62")),r=n("0844"),c=n("587e"),l={components:{Advanced:r["default"],TitleDescription:c["default"]},data:function(){return{internalDebounce:null,tabs:[{slug:"title-description",name:this.$t.__("Title & Description",this.$td),access:"aioseo_search_appearance_settings",pro:!1},{slug:"advanced",name:this.$t.__("Advanced",this.$td),access:"aioseo_search_appearance_settings",pro:!1}],archives:[{label:"Author Archives",name:"author",singular:"Author",icon:"dashicons-admin-users"},{label:"Date Archives",name:"date",singular:"Date",icon:"dashicons-calendar-alt"},{label:"Search Page",name:"search",singular:"Search Page",icon:"dashicons-search"}]}},computed:Object(i["a"])(Object(i["a"])({},Object(a["e"])(["options","dynamicOptions","settings"])),{},{getArchives:function(){return this.archives.concat(this.$aioseo.postData.archives.map((function(t){return{label:"".concat(t.label," Archives"),name:"".concat(t.name,"Archive"),icon:"dashicons-category",singular:t.singular,dynamic:!0}})))}}),methods:Object(i["a"])(Object(i["a"])({},Object(a["b"])(["changeTab"])),{},{processChangeTab:function(t,e){var n=this;this.internalDebounce||(this.internalDebounce=!0,this.changeTab({slug:"".concat(t,"Archives"),value:e}),setTimeout((function(){n.internalDebounce=!1}),50))},getOptions:function(t){return t.dynamic?this.dynamicOptions.searchAppearance.archives[t.name.replace("Archive","")]:this.options.searchAppearance.archives[t.name]}})},u=l,d=(n("2eee"),n("2877")),p=Object(d["a"])(u,s,o,!1,null,null,null);e["default"]=p.exports},"5d1c":function(t,e,n){},"7a06":function(t,e,n){}}]);