var d=Object.defineProperty,f=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var i=(t,e,n)=>e in t?d(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,o=(t,e)=>{for(var n in e||(e={}))v.call(e,n)&&i(t,n,e[n]);if(a)for(var n of a(e))b.call(e,n)&&i(t,n,e[n]);return t},r=(t,e)=>f(t,h(e));import{b as y,a as g,d as C}from"./index.8900b7f9.js";import{A,T as S}from"./TitleDescription.5a47fa57.js";import{C as T}from"./Card.f0350b06.js";import{C as x}from"./Tabs.5e76dea5.js";import{C as c,S as $}from"./Schema.0167973d.js";import{n as l}from"./vueComponentNormalizer.87056a83.js";import"./default-i18n.abde8d59.js";import"./isArrayLikeObject.a4a9229a.js";import"./ToolsSettings.a9d9524e.js";import"./context.04ada340.js";import"./JsonValues.08065e69.js";import"./MaxCounts.3eed5286.js";import"./RadioToggle.98e1e7ec.js";import"./RobotsMeta.2bc11dc9.js";import"./Checkbox.5873a8d2.js";import"./Checkmark.e7547654.js";import"./Row.13b6f3f1.js";import"./SettingsRow.eb71f07b.js";import"./GoogleSearchPreview.9074c63e.js";import"./HtmlTagsEditor.e47641de.js";import"./Editor.ff0e9ee9.js";import"./_commonjsHelpers.f40d732e.js";import"./index.652636d3.js";import"./client.94d919c5.js";import"./constants.7cd698f2.js";import"./UnfilteredHtml.333a73bf.js";import"./Index.476ddbfd.js";import"./Tooltip.3ec20ff5.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./TruSeoScore.4bc8e535.js";import"./Information.f4b75b56.js";import"./Textarea.d161fc2e.js";import"./Blur.8490ecd2.js";import"./Index.abdfd585.js";var j=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aioseo-sa-ct-custom-fields-view"},[t.isUnlicensed?t._e():n("custom-fields",{attrs:{type:t.type,object:t.object,options:t.options,"show-bulk":t.showBulk}}),t.isUnlicensed?n("custom-fields-lite",{attrs:{type:t.type,object:t.object,options:t.options,"show-bulk":t.showBulk}}):t._e()],1)},k=[];const w={components:{CustomFields:c,CustomFieldsLite:c},props:{type:{type:String,required:!0},object:{type:Object,required:!0},options:{type:Object,required:!0},showBulk:Boolean},computed:o({},y(["isUnlicensed"]))},p={};var D=l(w,j,k,!1,F,null,null,null);function F(t){for(let e in p)this[e]=p[e]}var B=function(){return D.exports}(),M=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aioseo-search-appearance-content-types"},t._l(t.postTypes,function(s,m){return n("core-card",{key:m,attrs:{slug:s.name+"SA"},scopedSlots:t._u([{key:"header",fn:function(){return[n("div",{staticClass:"icon dashicons",class:""+(s.icon||"dashicons-admin-post")}),n("div",{domProps:{innerHTML:t._s(s.label)}})]},proxy:!0},{key:"tabs",fn:function(){return[n("core-main-tabs",{attrs:{tabs:t.tabs,showSaveButton:!1,active:t.settings.internalTabs[s.name+"SA"],internal:""},on:{changed:function(_){return t.processChangeTab(s.name,_)}}})]},proxy:!0}],null,!0)},[n("transition",{attrs:{name:"route-fade",mode:"out-in"}},[n(t.settings.internalTabs[s.name+"SA"],{tag:"component",attrs:{object:s,separator:t.options.searchAppearance.global.separator,options:t.dynamicOptions.searchAppearance.postTypes[s.name],type:"postTypes"}})],1)],1)}),1)},L=[];const O={components:{Advanced:A,CoreCard:T,CoreMainTabs:x,CustomFields:B,Schema:$,TitleDescription:S},data(){return{internalDebounce:null,tabs:[{slug:"title-description",name:"Title & Description",access:"aioseo_search_appearance_settings",pro:!1},{slug:"schema",name:"Schema Markup",access:"aioseo_search_appearance_settings",pro:!0},{slug:"custom-fields",name:"Custom Fields",access:"aioseo_search_appearance_settings",pro:!0},{slug:"advanced",name:"Advanced",access:"aioseo_search_appearance_settings",pro:!1}]}},computed:r(o({},g(["options","dynamicOptions","settings"])),{postTypes(){return this.$aioseo.postData.postTypes.filter(t=>t.name!=="attachment")}}),methods:r(o({},C(["changeTab"])),{processChangeTab(t,e){this.internalDebounce||(this.internalDebounce=!0,this.changeTab({slug:`${t}SA`,value:e}),setTimeout(()=>{this.internalDebounce=!1},50))}})},u={};var U=l(O,M,L,!1,q,null,null,null);function q(t){for(let e in u)this[e]=u[e]}var gt=function(){return U.exports}();export{gt as default};
