text: !function(){const e={isMobile:!1},t={};t.minorPublishing=document.querySelector("#minor-publishing"),t.screenMetaLinks=document.querySelector("#screen-meta-links"),t.editorPostStatus=document.querySelector("#post-status-info"),t.editorToolbar=document.querySelector("#ed_toolbar"),t.slugBox=document.querySelector("#edit-slug-box"),t.editorContentContainer=document.querySelector("#wp-content-editor-container"),t.editorContent=document.querySelector("#content"),t.metavalue=document.querySelector('textarea[name="metavalue"]'),t.metakeyselect=document.querySelector('select[name="metakeyselect"]'),t.postTitle=document.querySelector('input[name="post_title"]'),t.postTitle&&(t.postTitleLabel=document.querySelector(`[for="${t.postTitle.getAttribute("id")}"]`)),e.queryParameters=function(e=window.location.search){const t={};let o;return e&&"?"!==e?(e.substr(1).split("&").forEach((e=>{var r;o=e.split("="),t[o[0].toLowerCase()]=(r=function(e,t=document.createElement("textarea")){return t.textContent=e,t.innerHTML}(o[1]),decodeURIComponent(r).replaceAll("+"," "))})),t):t}(),function(){const t=window.innerWidth>0?window.innerWidth:screen.width;e.isMobile=t<=768}(),e.queryParameters.url&&!e.queryParameters.post_type&&(window.location=`${window.location.href}&post_type=link`),e.isMobile&&(t.minorPublishing&&t.minorPublishing.setAttribute("hidden",""),t.screenMetaLinks&&t.screenMetaLinks.setAttribute("hidden",""),t.slugBox&&t.slugBox.setAttribute("hidden",""),t.editorToolbar&&t.editorToolbar.setAttribute("hidden",""),t.editorPostStatus&&t.editorPostStatus.setAttribute("hidden",""),t.editorContent&&(new MutationObserver((e=>{for(const o of e)"attributes"===o.type&&(t.editorContent.style.marginTop="0")})).observe(t.editorContent,{attributes:!0}),t.editorContent.style.height="70px")),e.queryParameters.title&&t.postTitle&&(t.postTitle.value=e.queryParameters.title,t.postTitleLabel&&t.postTitleLabel.setAttribute("hidden","")),e.queryParameters.url&&(t.metavalue&&(t.metavalue.value=e.queryParameters.url),t.metakeyselect&&(t.metakeyselect.value="url")),e.queryParameters.description&&t.editorContent&&(t.editorContent.value=e.queryParameters.description)}();