관리-도구
편집 파일: seedprod.024b9126.js
import{Y as n,h as s}from"./js/runtime-dom.esm-bundler.6789c400.js";import{c as a,b as d}from"./js/vue-router.fc4966b9.js";import{l as c}from"./js/index.3eb8f806.js";import{l}from"./js/index.ee8124c6.js";import{l as u}from"./js/index.1ca84f0e.js";import{c as p,e as f,m as g,y as v}from"./js/index.5a710757.js";import{i as _}from"./js/isEmpty.8f6a6fb1.js";import"./js/translations.12335a6a.js";import{e as h}from"./js/elemLoaded.5e0343ce.js";import{_ as w}from"./js/default-i18n.54b5d8cd.js";import{_ as m}from"./js/App.d867d60c.js";import{m as y}from"./js/helpers.b97d7047.js";import"./js/Caret.662da1f3.js";import"./js/_plugin-vue_export-helper.249dac1d.js";import"./js/helpers.f95d5840.js";import"./js/_getTag.8dc22eac.js";/* empty css */import"./js/LicenseKeyBar.116709fd.js";import"./js/ScrollTo.97c9805f.js";import"./js/params.764403f6.js";import"./js/LogoGear.29bd352d.js";import"./js/allowed.b971be4c.js";import"./js/constants.2019bcb3.js";import"./js/SettingsRow.1934f141.js";import"./js/Row.f01f32cd.js";import"./js/Checkbox.e983780b.js";import"./js/Checkmark.32f79576.js";import"./js/Url.cc9d8d5e.js";import"./js/Tabs.08a4fd23.js";import"./js/ProBadge.7733ac87.js";import"./js/Information.82968754.js";import"./js/Slide.d0517fb0.js";import"./js/Index.c4d148bc.js";import"./js/MaxCounts.d28a6cb7.js";import"./js/Tags.3157574f.js";import"./js/regex.f8017116.js";import"./js/Ellipse.c57f22ea.js";import"./js/debounce.40834200.js";import"./js/toNumber.30f8b529.js";import"./js/_baseTrim.940c51cf.js";import"./js/toString.1401d490.js";import"./js/toFinite.bbcc0565.js";import"./js/TruSeoScore.13b74a09.js";import"./js/Tooltip.b6b45c85.js";import"./js/Statistics.324b239a.js";import"./js/Plus.c3a1a43f.js";import"./js/Eye.902c8763.js";import"./js/RadioToggle.64619d6b.js";import"./js/GoogleSearchPreview.805aa110.js";import"./js/HtmlTagsEditor.b85e0cfa.js";import"./js/Editor.e5877fb8.js";import"./js/isEqual.51bf23f5.js";import"./js/_baseIsEqual.6bc92395.js";import"./js/_baseClone.50c6045c.js";import"./js/_arrayEach.f4f00336.js";import"./js/UnfilteredHtml.559aa5ad.js";import"./js/popup.189dc215.js";import"./js/SetupWizardStore.f2a8f9f3.js";import"./js/datetime.cb3980ce.js";import"./js/license.03044dbc.js";import"./js/upperFirst.96c04516.js";import"./js/_stringToArray.08127ca9.js";import"./js/Mobile.3fcac169.js";import"./js/Settings.d1d930e5.js";import"./js/TableOfContentsStore.564030c3.js";import"./js/vue3-apexcharts.8b5abfad.js";import"./js/ConnectCta.5056f139.js";import"./js/GoogleSearchConsole.c9d25148.js";import"./js/Index.c0a0a208.js";import"./js/Blur.31bfcf06.js";import"./js/Graph.4f83fda6.js";import"./js/numbers.b55b32c5.js";import"./js/WpTable.40f759ac.js";import"./js/Table.0a6a3fdb.js";import"./js/Download.6a0d8455.js";import"./js/RequiredPlans.7723218f.js";import"./js/addons.ef42f038.js";import"./js/PostTypes.d6c1987b.js";import"./js/External.b3b0805d.js";import"./js/InternalOutbound.b4a71286.js";import"./js/Image.72fb04c2.js";import"./js/FacebookPreview.e03b069d.js";import"./js/Img.2fc40874.js";import"./js/Profile.19fffd1c.js";import"./js/ImageUploader.82ab8ffd.js";import"./js/TwitterPreview.4c191e49.js";import"./js/Book.e7bb6a80.js";import"./js/Build.828bd995.js";import"./js/Redirects.31560156.js";import"./js/Index.2a80ac06.js";import"./js/JsonValues.892a7505.js";import"./js/External.c84e4310.js";import"./js/escapeRegExp.d673186c.js";import"./js/Exclamation.bf79561a.js";import"./js/Gear.1433c8c3.js";import"./js/date.839db266.js";import"./js/DatePicker.b0d8c799.js";import"./js/Calendar.4686ac3f.js";import"./js/pick.231724a9.js";import"./js/_baseSet.32e7a763.js";import"./js/Card.5b602127.js";import"./js/Upsell.3b19b12e.js";import"./js/metabox.1128ddb8.js";import"./js/cleanForSlug.f9ffe7db.js";const b=()=>{p();const t=f();_(t.currentPost)||t.saveCurrentPost(t.currentPost).then(()=>{const o=g(),r=v();o.isUnlicensed||r.fetch()})},S=()=>{document.getElementById("seedprod-builder-save").addEventListener("click",b)},i={id:"aioseo-limit-modified-date-seedprod",param:"aioseo_limit_modified_date",event:"save-limit-modified-date",title:w("Save (Don't Modify Date)","all-in-one-seo-pack"),svg:'<svg xmlns="http://www.w3.org/2000/svg" width="12" height="14" class="sp-w-4 sp-fill-current sp-inline sp-mr-2"><path fill="currentColor" d="M10.7 2H10V.7H8.7V2H3.3V.7H2V2h-.7C.6 2 0 2.6 0 3.3v9.4c0 .7.6 1.3 1.3 1.3h9.4c.7 0 1.3-.6 1.3-1.3V3.3c0-.7-.6-1.3-1.3-1.3Zm0 10.7H1.3V6h9.4v6.7Zm-9.4-8V3.3h9.4v1.4H1.3Zm2.2 6.2.7.7L5.8 10l1.6 1.6.8-.7-1.7-1.6 1.7-1.6-.8-.7-1.6 1.6L4.2 7l-.7.7L5 9.3 3.5 11Z"/></svg>'},L=t=>{delete t.$children[0].$data.shared.settings[i.param];const o=document.createElement("button");o.id=i.id,o.textContent=i.title,o.className="sp-btn sp-font-semibold",o.type="button",o.innerHTML=`<span>${i.svg}${i.title}</span>`,o.addEventListener("click",()=>{t.$children[0].$data.shared.settings[i.param]=!0,document.getElementById("seedprod-builder-save").click(),setTimeout(()=>delete t.$children[0].$data.shared.settings[i.param])}),h("#seedprod-builder-save-dropdown-menu","seedprodBuilderSaveDropdownMenu"),document.addEventListener("animationstart",r=>{r.animationName==="seedprodBuilderSaveDropdownMenu"&&r.target.insertAdjacentElement("afterbegin",o)},{passive:!0})},E=t=>{t.$watch("$route.name",o=>{if(o==="setup_settings_seo"){const r=a({history:d(),routes:[{path:"/",component:m}]});let e=n({name:"Standalone/SeedProd",data(){return{tableContext:window.aioseo.currentPost.context,screenContext:"metabox"}},mounted:()=>{setTimeout(y)},render:()=>s(m)});e=c(e),e=l(e),e=u(e),e.use(r),r.app=e,p(e,r),e.mount("#seedprod-preview-wrapper .seedprod-settings-page-wrapper"),document.querySelector(".seedprod-settings-page-wrapper").classList.remove("seedprod-settings-page-wrapper")}},{immediate:!0})},$=()=>{const t=document.getElementById("aioseo-seedprod-common-css");t&&t.setAttribute("href",t.getAttribute("data-href"))},x=t=>{E(t),$(),S(),L(t)};document.addEventListener("DOMContentLoaded",()=>{var t;(t=window.seedprod_app)!=null&&t._isMounted&&x(window.seedprod_app)});