text: (window["aioseopjsonp"]=window["aioseopjsonp"]||[]).push([["sitemaps-HtmlSitemap-vue"],{"0fdd":function(t,s,e){"use strict";e("50a3")},"2bc0":function(t,s,e){"use strict";e.r(s);var i=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-html-sitemap"},[e("core-card",{attrs:{slug:"htmlSitemap"},scopedSlots:t._u([{key:"header",fn:function(){return[t._v(" "+t._s(t.strings.title)+" ")]},proxy:!0}])},[e("div",{staticClass:"aioseo-settings-row aioseo-section-description"},[t._v(" "+t._s(t.strings.description)+" "),e("span",{domProps:{innerHTML:t._s(t.$links.getDocLink(t.$constants.GLOBAL_STRINGS.learnMore,"htmlSitemap",!0))}})]),e("core-settings-row",{attrs:{name:t.strings.enableSitemap},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-toggle",{model:{value:t.options.sitemap.html.enable,callback:function(s){t.$set(t.options.sitemap.html,"enable",s)},expression:"options.sitemap.html.enable"}})]},proxy:!0}])}),t.options.sitemap.html.enable?e("html-sitemap-display-info",{attrs:{label:t.strings.displayLabel,displayOptions:t.displayOptions,url:t.options.sitemap.html.pageUrl}}):t._e()],1),t.options.sitemap.html.enable?e("core-card",{staticClass:"aioseo-html-sitemap-settings",attrs:{slug:"htmlSitemapSettings"},scopedSlots:t._u([{key:"header",fn:function(){return[t._v(" "+t._s(t.strings.settings)+" ")]},proxy:!0}],null,!1,1126058562)},[e("core-settings-row",{attrs:{name:t.strings.postTypes},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-checkbox",{attrs:{size:"medium"},model:{value:t.options.sitemap.html.postTypes.all,callback:function(s){t.$set(t.options.sitemap.html.postTypes,"all",s)},expression:"options.sitemap.html.postTypes.all"}},[t._v(" "+t._s(t.strings.includeAllPostTypes)+" ")]),t.options.sitemap.html.postTypes.all?t._e():e("core-post-type-options",{attrs:{options:t.options.sitemap.html,type:"postTypes",excluded:["attachment"]}}),e("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.selectPostTypes)+" ")])]},proxy:!0}],null,!1,1879190995)}),e("core-settings-row",{attrs:{name:t.strings.taxonomies},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-checkbox",{attrs:{size:"medium"},model:{value:t.options.sitemap.html.taxonomies.all,callback:function(s){t.$set(t.options.sitemap.html.taxonomies,"all",s)},expression:"options.sitemap.html.taxonomies.all"}},[t._v(" "+t._s(t.strings.includeAllTaxonomies)+" ")]),t.options.sitemap.html.taxonomies.all?t._e():e("core-post-type-options",{attrs:{options:t.options.sitemap.html,type:"taxonomies"}}),e("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.selectTaxonomies)+" ")])]},proxy:!0}],null,!1,2105218266)}),e("core-settings-row",{staticClass:"aioseo-sort-order",attrs:{name:t.strings.sortOrder},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-select",{attrs:{size:"medium",options:t.sortOrders,value:t.getSortOrder(t.options.sitemap.html.sortOrder)},on:{input:function(s){return t.options.sitemap.html.sortOrder=s.value}}})]},proxy:!0}],null,!1,1973041532)}),e("core-settings-row",{staticClass:"aioseo-sort-direction",attrs:{name:t.strings.sortDirection},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-select",{attrs:{size:"medium",options:t.sortDirections,value:t.getSortDirection(t.options.sitemap.html.sortDirection)},on:{input:function(s){return t.options.sitemap.html.sortDirection=s.value}}})]},proxy:!0}],null,!1,3610521404)}),e("core-settings-row",{attrs:{name:t.strings.publicationDate},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-radio-toggle",{attrs:{name:"publicationDate",options:[{label:t.$constants.GLOBAL_STRINGS.hide,value:!1,activeClass:"dark"},{label:t.$constants.GLOBAL_STRINGS.show,value:!0}]},model:{value:t.options.sitemap.html.publicationDate,callback:function(s){t.$set(t.options.sitemap.html,"publicationDate",s)},expression:"options.sitemap.html.publicationDate"}}),e("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.publicationDateDescription)+" ")])]},proxy:!0}],null,!1,2741867663)}),e("core-settings-row",{attrs:{name:t.strings.compactArchives},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-radio-toggle",{attrs:{name:"compactArchives",options:[{label:t.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:t.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:t.options.sitemap.html.compactArchives,callback:function(s){t.$set(t.options.sitemap.html,"compactArchives",s)},expression:"options.sitemap.html.compactArchives"}}),e("div",{staticClass:"aioseo-description",domProps:{innerHTML:t._s(t.strings.compactArchivesDescription)}})]},proxy:!0}],null,!1,1373752516)})],1):t._e(),t.options.sitemap.html.enable?e("core-card",{attrs:{slug:"htmlSitemapAdvancedSettings",toggles:t.options.sitemap.html.advancedSettings.enable},scopedSlots:t._u([{key:"header",fn:function(){return[e("base-toggle",{model:{value:t.options.sitemap.html.advancedSettings.enable,callback:function(s){t.$set(t.options.sitemap.html.advancedSettings,"enable",s)},expression:"options.sitemap.html.advancedSettings.enable"}}),t._v(" "+t._s(t.strings.advancedSettings)+" ")]},proxy:!0}],null,!1,1408724889)},[t.options.sitemap.html.advancedSettings.enable?e("div",[e("core-settings-row",{staticClass:"aioseo-exclude-pages-posts",attrs:{name:t.strings.excludePostsPages},scopedSlots:t._u([{key:"content",fn:function(){return[e("core-exclude-posts",{attrs:{options:t.options.sitemap.html.advancedSettings,type:"posts"}})]},proxy:!0}],null,!1,241377281)}),e("core-settings-row",{staticClass:"aioseo-exclude-terms",attrs:{name:t.strings.excludeTerms},scopedSlots:t._u([{key:"content",fn:function(){return[e("core-exclude-posts",{attrs:{options:t.options.sitemap.html.advancedSettings,type:"terms"}})]},proxy:!0}],null,!1,279405175)})],1):t._e()]):t._e()],1)},o=[],n=e("5530"),a=(e("7db0"),e("2f62")),l={data:function(){return{sortOrders:[{label:this.$t.__("Publish Date",this.$td),value:"publish_date"},{label:this.$t.__("Last Updated Date",this.$td),value:"last_updated"},{label:this.$t.__("Alphabetical",this.$td),value:"alphabetical"},{label:this.$t.__("Post/Term ID",this.$td),value:"id"}],sortDirections:[{label:this.$t.__("Ascending",this.$td),value:"asc"},{label:this.$t.__("Descending",this.$td),value:"desc"}],displayOptions:{extra:{desc:this.$t.__("Display the sitemap on a dedicated page:",this.$td)},block:{copy:"",desc:this.$t.sprintf(this.$t.__('To add this block, edit a page or post and search for the %1$s"%2$s - HTML Sitemap"%3$s block.',this.$td),"<strong>","AIOSEO","</strong>")},shortcode:{copy:"[aioseo_html_sitemap]",desc:this.$t.sprintf(this.$t.__("Use the following shortcode to display the HTML Sitemap. %1$s",this.$td),this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"htmlSitemapShortcode",!0))},widget:{copy:"",desc:this.$t.sprintf(this.$t.__('To add this widget, visit the %1$swidgets page%2$s and look for the %3$s"%4$s - HTML Sitemap"%5$s widget.',this.$td),'<a href="'.concat(this.$aioseo.urls.admin.widgets,'" target="_blank">'),"</a>","<strong>","AIOSEO","</strong>")},php:{copy:"<?php if( function_exists( 'aioseo_html_sitemap' ) ) aioseo_html_sitemap(); ?>",desc:this.$t.sprintf(this.$t.__("Use the following PHP code anywhere in your theme to display the sitemap. %1$s",this.$td),this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"htmlSitemapFunction",!0))}},strings:{title:this.$t.__("HTML Sitemap",this.$td),enableSitemap:this.$t.__("Enable Sitemap",this.$td),settings:this.$t.__("HTML Sitemap Settings",this.$td),description:this.$t.sprintf(this.$t.__("Using the custom-built tools below, you can add an HTML sitemap to your website and help visitors discover all your content. Adding an HTML sitemap to your website may also help search engines find your content more easily.",this.$td),"All in One SEO"),displayLabel:this.$t.__("Display HTML Sitemap",this.$td),postTypes:this.$t.__("Post Types",this.$td),taxonomies:this.$t.__("Taxonomies",this.$td),includeAllPostTypes:this.$t.__("Include All Post Types",this.$td),selectPostTypes:this.$t.__("Select which Post Types appear in your sitemap.",this.$td),includeAllTaxonomies:this.$t.__("Include All Taxonomies",this.$td),selectTaxonomies:this.$t.__("Select which Taxonomies appear in your sitemap.",this.$td),sortOrder:this.$t.__("Sort Order",this.$td),sortDirection:this.$t.__("Sort Direction",this.$td),publicationDate:this.$t.__("Publication Date",this.$td),publicationDateDescription:this.$t.__("This setting only applies to posts and pages.",this.$td),compactArchives:this.$t.__("Compact Archives",this.$td),compactArchivesDescription:this.$t.sprintf(this.$t.__("This setting allows you to toggle between the regular sitemap or the compact date archive sitemap. %1$s",this.$td),this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"htmlSitemapCompactArchives",!0)),advancedSettings:this.$t.__("Advanced Settings",this.$td),excludePostsPages:this.$t.__("Exclude Posts / Pages",this.$td),excludeTerms:this.$t.__("Exclude Terms",this.$td)}}},computed:Object(n["a"])({},Object(a["e"])(["options","internalOptions"])),methods:{getSortOrder:function(t){return this.sortOrders.find((function(s){return s.value===t}))},getSortDirection:function(t){return this.sortDirections.find((function(s){return s.value===t}))}}},r=l,p=(e("0fdd"),e("2877")),c=Object(p["a"])(r,i,o,!1,null,null,null);s["default"]=c.exports},"50a3":function(t,s,e){}}]);