1!function(){"use strict";function e(e){const t=e.querySelectorAll(".api-param-desc");if(!t.length)return;t.forEach(function(e){if(e.nextElementSibling&&e.nextElementSibling.classList.contains("api-param-show-more"))return;if(e.scrollHeight>65){e.classList.add("is-collapsible");const t=document.createElement("button");t.className="api-param-show-more",t.setAttribute("type","button"),t.setAttribute("aria-expanded","false"),t.innerHTML='<span>Show more</span><span class="icon icon-chevron"></span>',e.parentNode.insertBefore(t,e.nextSibling),t.addEventListener("click",function(n){n.preventDefault();const i="true"===t.getAttribute("aria-expanded"),a=t.querySelector("span:first-child");i?(e.classList.remove("is-expanded"),e.classList.add("is-collapsible"),t.setAttribute("aria-expanded","false"),a.textContent="Show more"):(e.classList.remove("is-collapsible"),e.classList.add("is-expanded"),t.setAttribute("aria-expanded","true"),a.textContent="Show less")})}})}function t(e){const t=document.querySelector(".site-header"),n=t?t.offsetHeight:0,i=e.getBoundingClientRect().top+window.pageYOffset-n-20;window.scrollTo({top:i,behavior:"smooth"});const a=function(e){const t=[];let n=e;for(;n&&n.classList.contains("api-param");){const e=n.querySelector(":scope > .api-param-header > .api-param-name");if(e){const n=e.textContent.trim().replace("#","");t.unshift(n)}const i=n.parentElement.closest(".api-param-children");if(!i)break;n=i.closest(".api-param")}t.length>1&&t.pop();return t}(e);a.length>0&&function(e,t){const n=e.querySelector(".api-param-breadcrumb");n&&n.remove();const i=document.createElement("div");i.className="api-param-breadcrumb";const a=document.createElement("span");a.className="api-param-breadcrumb-icon",a.innerHTML='<span class="icon icon-link"></span>',i.appendChild(a);const o=document.createElement("span");o.className="api-param-breadcrumb-path",o.textContent=t.join(" ⺠"),i.appendChild(o);const c=document.createElement("button");c.className="api-param-breadcrumb-copy",c.setAttribute("type","button"),c.setAttribute("aria-label","Copy path"),c.innerHTML='<span class="icon icon-copy"></span>',i.appendChild(c),c.addEventListener("click",function(e){e.stopPropagation();const n=t.join(" ⺠");navigator.clipboard&&navigator.clipboard.writeText&&navigator.clipboard.writeText(n).then(function(){c.innerHTML='<span class="icon icon-check"></span>',c.classList.add("is-copied"),setTimeout(function(){c.innerHTML='<span class="icon icon-copy"></span>',c.classList.remove("is-copied")},1e3)}).catch(function(e){})});const s=e.querySelector(".api-param-header");s?e.insertBefore(i,s):e.insertBefore(i,e.firstChild)}(e,a),e.classList.add("is-highlighted");const o=function(e){const t=[];let n=e;for(;n&&n.classList.contains("api-param");){const e=n.parentElement.closest(".api-param-children");if(!e)break;{const i=e.closest(".api-param");if(!i)break;t.push(i),n=i}}return t}(e);o.forEach(function(e){e.classList.add("is-parent-highlighted")}),setTimeout(function(){e.classList.remove("is-highlighted");const t=e.querySelector(".api-param-breadcrumb");t&&t.remove(),o.forEach(function(e){e.classList.remove("is-parent-highlighted")})},3e3)}function n(e){e.classList.add("is-highlighted"),setTimeout(function(){e.classList.remove("is-highlighted")},2e3)}document.addEventListener("DOMContentLoaded",function(){(function(){const e=document.querySelector('[data-toggle="side-nav"]'),t=document.querySelector("[data-side-nav-close]"),n=document.querySelector('[data-toggle="header-nav"]'),i=document.querySelector("[data-header-nav]"),a=document.querySelector("[data-side-nav]"),o=document.querySelector("[data-overlay]");e&&a&&o&&e.addEventListener("click",function(){a.classList.toggle("is-active"),o.classList.toggle("is-active"),document.body.classList.toggle("side-nav-active")});t&&a&&o&&t.addEventListener("click",function(){a.classList.remove("is-active"),o.classList.remove("is-active"),document.body.classList.remove("side-nav-active")});o&&a&&o.addEventListener("click",function(){a.classList.remove("is-active"),o.classList.remove("is-active"),document.body.classList.remove("side-nav-active")});n&&i&&n.addEventListener("click",function(){i.classList.toggle("is-active"),document.body.classList.toggle("header-nav-active")});document.addEventListener("click",function(e){i&&i.classList.contains("is-active")&&(i.contains(e.target)||n.contains(e.target)||(i.classList.remove("is-active"),document.body.classList.remove("header-nav-active")))}),document.addEventListener("keydown",function(e){"Escape"===e.key&&(a&&a.classList.contains("is-active")&&(a.classList.remove("is-active"),o.classList.remove("is-active"),document.body.classList.remove("side-nav-active")),i&&i.classList.contains("is-active")&&(i.classList.remove("is-active"),document.body.classList.remove("header-nav-active")))})})(),function(){const e=document.querySelector("[data-search-form]"),t=document.querySelector("[data-search-toggle]"),n=document.querySelector("[data-search-close]"),i=document.querySelector("[data-search-input]");if(!(e&&t&&n&&i))return;t.addEventListener("click",function(){e.classList.add("is-active"),i.focus()}),n.addEventListener("click",function(){e.classList.remove("is-active"),i.value=""}),i.addEventListener("keydown",function(t){"Escape"===t.key&&(e.classList.remove("is-active"),i.value="")}
1),document.addEventListener("click",function(t){e.classList.contains("is-active")&&(e.contains(t.target)||(e.classList.remove("is-active"),i.value=""))})}(),function(){const e=document.querySelector("[data-search-form]"),t=document.querySelector("[data-search-input]");let n=null,i=null;if(!e||!t)return;function a(e){i.innerHTML='<div class="search-results-loading"><span class="icon icon-spinner"></span> Searching...</div>',i.classList.add("is-active");const t=new FormData;t.append("action","apibase_search"),t.append("nonce",apibaseAjax.nonce),t.append("query",e),fetch(apibaseAjax.ajaxurl,{method:"POST",body:t}).then(function(e){return e.json()}).then(function(t){t.success&&t.data.results?o(t.data.results,t.data.total,e):c(e)}).catch(function(e){i.innerHTML='<div class="search-results-error">Search failed. Please try again.</div>'})}function o(e,t,n){let a='<div class="search-results-header">';a+='<span class="search-results-count">Found '+t+" result"+(1!==t?"s":"")+"</span>",a+="</div>",a+='<ul class="search-results-list">',e.forEach(function(e){a+='<li class="search-result-item">',a+='<a href="'+e.url+'" class="search-result-link">',a+='<span class="search-result-title">'+e.title+"</span>",e.excerpt&&(a+='<span class="search-result-excerpt">'+e.excerpt+"</span>"),a+="</a>",a+="</li>"}),a+="</ul>",a+='<div class="search-results-footer">',a+='<a href="/?s='+encodeURIComponent(n)+'" class="search-results-view-all">View all results</a>',a+="</div>",i.innerHTML=a,i.classList.add("is-active")}function c(e){let t='<div class="search-results-empty">';t+='<span class="icon icon-magnifier"></span>',t+='<p>No results found for "'+e+'"</p>',t+='<p class="search-results-empty-hint">Try different keywords or check the spelling</p>',t+="</div>",i.innerHTML=t,i.classList.add("is-active")}i=document.createElement("div"),i.className="search-results",i.setAttribute("data-search-results",""),e.appendChild(i),e.addEventListener("submit",function(e){e.preventDefault();const n=t.value.trim();n&&(window.location.href="/?s="+encodeURIComponent(n))}),t.addEventListener("input",function(){const e=t.value.trim();if(n&&clearTimeout(n),!e)return i.innerHTML="",void i.classList.remove("is-active");n=setTimeout(function(){a(e)},300)}),document.addEventListener("click",function(t){e.contains(t.target)||i.classList.remove("is-active")})}(),function(){const e=document.querySelectorAll("[data-submenu-toggle]");if(!e.length)return;e.forEach(function(e){const t=e.closest(".side-nav-item"),n=t.querySelector(".side-nav-submenu");if(!n)return;const i=t.querySelector(".side-nav-link"),a=i&&i.classList.contains("is-active"),o=n.querySelector(".side-nav-link.is-active");if(a||o){n.classList.add("is-open"),e.classList.add("is-active"),e.setAttribute("aria-expanded","true");let i=t;for(;i;){const e=i.closest(".side-nav-submenu");if(!e)break;{e.classList.add("is-open");const t=e.closest(".side-nav-item");if(t){const e=t.querySelector("[data-submenu-toggle]");e&&(e.classList.add("is-active"),e.setAttribute("aria-expanded","true"))}i=t}}}e.addEventListener("click",function(t){t.preventDefault(),e.classList.toggle("is-active"),n.classList.toggle("is-open");const i=e.classList.contains("is-active");e.setAttribute("aria-expanded",i)})})}(),function(){const e=document.querySelector("[data-search-input]"),t=document.querySelector("[data-search-shortcut]");if(!e)return;const n=navigator.platform.toUpperCase().indexOf("MAC")>=0;if(t&&!n){const e=t.querySelector(".search-shortcut-key:first-child");e&&(e.textContent="Ctrl")}document.addEventListener("keydown",function(t){(t.metaKey||t.ctrlKey)&&"k"===t.key&&(t.preventDefault(),e.focus(),e.select())})}(),function(){const e=document.querySelector("[data-toc]"),t=document.querySelector("[data-toc-content]"),i=document.querySelector(".article");if(!e||!t||!i)return;const a=i.querySelectorAll("h2[id]");if(0===a.length)return void(e.style.visibility="hidden");const o=document.createElement("ul");o.className="toc-list",a.forEach(function(e){const t=e.getAttribute("id"),i=e.textContent,a=document.createElement("li");a.className="toc-item";const c=document.createElement("a");
1c.className="toc-link",c.href="#"+t,c.textContent=i,c.setAttribute("data-toc-link",""),c.addEventListener("click",function(e){e.preventDefault();const i=document.getElementById(t);if(i){const e=document.querySelector(".site-header").offsetHeight,a=i.getBoundingClientRect().top+window.pageYOffset-e-20;window.scrollTo({top:a,behavior:"smooth"}),history.pushState(null,null,"#"+t),p(),n(i)}}),a.appendChild(c),o.appendChild(a)}),t.appendChild(o);const c=document.querySelector("[data-toc-toggle]");if(c){function m(){window.innerWidth<=1024?(t.classList.remove("is-open"),c.classList.remove("is-active")):(t.classList.add("is-open"),c.classList.add("is-active"))}c.addEventListener("click",function(){c.classList.toggle("is-active"),t.classList.toggle("is-open")}),m(),window.addEventListener("resize",m)}let s=0,r=[];const l=document.querySelectorAll("[data-toc-link]");function d(){const e=document.querySelector(".site-header");s=e?e.offsetHeight:0,r=Array.from(a).map(function(e){return{id:e.getAttribute("id"),top:e.offsetTop}})}d(),window.addEventListener("resize",d);let u=!1;function p(){const e=window.pageYOffset+s+100;let t="";r.forEach(function(n){e>=n.top&&(t=n.id)}),l.forEach(function(e){e.classList.remove("is-active"),e.getAttribute("href")==="#"+t&&e.classList.add("is-active")})}window.addEventListener("scroll",function(){u||(window.requestAnimationFrame(function(){p(),u=!1}),u=!0)}),p()}(),function(){const e=document.querySelector(".article-content");if(!e)return;const t=e.querySelectorAll("h2[id]");if(!t.length)return;if(t.forEach(function(e){if(e.querySelector(".heading-anchor"))return;const t=e.getAttribute("id"),i=e.textContent.trim(),a=document.createElement("span");for(a.className="heading-wrapper";e.firstChild;)a.appendChild(e.firstChild);const o=document.createElement("a");o.className="heading-anchor",o.href="#"+t,o.setAttribute("aria-label","Link to "+i),o.innerHTML="#",e.appendChild(a),e.appendChild(o),o.addEventListener("click",function(i){i.preventDefault();const a=window.location.origin+window.location.pathname+window.location.search+"#"+t;if(navigator.clipboard&&navigator.clipboard.writeText)navigator.clipboard.writeText(a).then(function(){o.classList.add("is-copied"),n(e),history.pushState(null,null,"#"+t);const i=document.querySelector(".site-header"),a=i?i.offsetHeight:0,c=20,s=e.getBoundingClientRect().top+window.pageYOffset-a-c;window.scrollTo({top:s,behavior:"smooth"}),setTimeout(function(){o.classList.remove("is-copied")},2e3)}).catch(function(e){});else{history.pushState(null,null,"#"+t),n(e);const i=document.querySelector(".site-header"),a=i?i.offsetHeight:0,o=20,c=e.getBoundingClientRect().top+window.pageYOffset-a-o;window.scrollTo({top:c,behavior:"smooth"})}})}),window.location.hash){const e=window.location.hash.substring(1),t=document.getElementById(e);t&&"H2"===t.tagName&&setTimeout(function(){const e=document.querySelector(".site-header"),i=e?e.offsetHeight:0,a=20,o=t.getBoundingClientRect().top+window.pageYOffset-i-a;window.scrollTo({top:o,behavior:"smooth"}),n(t)},100)}}(),function(){const t=document.querySelectorAll(".api-param-toggle");if(!t.length)return;t.forEach(function(t){t.addEventListener("click",function(n){n.preventDefault();const i=t.closest(".api-param").querySelector(".api-param-children");if(!i)return;const a="true"===t.getAttribute("aria-expanded");t.setAttribute("aria-expanded",!a),i.classList.toggle("is-open"),a||setTimeout(function(){e(i)},50)})})}(),e(document),function(){const e=document.querySelectorAll(".api-block");if(!e.length)return;e.forEach(function(e){const t=e.querySelector("[data-api-toggle]"),n=e.querySelector("[data-toggle-text]"),i=e.querySelectorAll(".api-tab"),a=e.querySelectorAll("[data-content]");function o(){window.innerWidth>1280&&(e.classList.remove("show-examples"),n.textContent="View Examples")}t&&n&&(t.addEventListener("click",function(){e.classList.contains("show-examples")?(e.classList.remove("show-examples"),n.textContent="View Examples"):(e.classList.add("show-examples"),n.textContent="View Main")}),i.length&&a.length&&i.forEach(function(t){t.addEventListener("click",function(){const n=t.getAttribute("data-tab");
1i.forEach(function(e){e.classList.remove("is-active"),e.setAttribute("aria-selected","false")}),t.classList.add("is-active"),t.setAttribute("aria-selected","true"),a.forEach(function(e){e.classList.remove("is-active")});const o=e.querySelector('[data-content="'+n+'"]');o&&o.classList.add("is-active")})}),window.addEventListener("resize",o),o())})}(),function(){const e=document.querySelectorAll("[data-copy-code]");if(!e.length)return;function t(e,t){const i=document.createElement("textarea");i.value=e,i.style.position="fixed",i.style.left="-9999px",document.body.appendChild(i),i.select();try{n(t,document.execCommand("copy")?"success":"error")}catch(e){n(t,"error")}document.body.removeChild(i)}function n(e,t){const n=e.querySelector(".copy-text");if("success"===t)e.classList.add("is-copied"),setTimeout(function(){e.classList.remove("is-copied")},2e3);else if(e.classList.add("is-error"),n){const t=n.textContent;n.textContent="Error",setTimeout(function(){n.textContent=t,e.classList.remove("is-error")},2e3)}}e.forEach(function(e){e.addEventListener("click",function(){const i=e.closest(".api-block-examples");if(!i)return;const a=i.querySelector(".api-example-content.is-active");if(!a)return;const o=a.querySelector("code");if(!o)return;const c=o.textContent;navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(c).then(function(){n(e,"success")}).catch(function(n){t(c,e)}):t(c,e)})})}(),function(){const e=document.querySelectorAll(".api-endpoint");if(!e.length)return;function t(e,t){const i=document.createElement("textarea");i.value=e,i.style.position="fixed",i.style.left="-9999px",document.body.appendChild(i),i.select();try{n(t,document.execCommand("copy")?"success":"error")}catch(e){n(t,"error")}document.body.removeChild(i)}function n(e,t){"success"===t?(e.classList.add("is-copied"),e.innerHTML='<span class="icon icon-check"></span>',setTimeout(function(){e.classList.remove("is-copied"),e.innerHTML='<span class="icon icon-copy"></span>'},2e3)):(e.classList.add("is-error"),setTimeout(function(){e.classList.remove("is-error")},2e3))}e.forEach(function(e){if(e.parentNode.classList.contains("api-endpoint-wrapper"))return;const i=document.createElement("div");i.className="api-endpoint-wrapper",e.parentNode.insertBefore(i,e),i.appendChild(e);const a=document.createElement("button");a.className="api-endpoint-copy-btn",a.setAttribute("type","button"),a.setAttribute("aria-label","Copy endpoint"),a.innerHTML='<span class="icon icon-copy"></span>',i.appendChild(a),a.addEventListener("click",function(i){i.preventDefault();let o=e.textContent.trim();const c=e.getAttribute("data-host");if(c&&""!==c.trim()){const e=c.trim().replace(/\/+$/,""),t=o.replace(/^\/+/,"");o=e+"/"+t}navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(o).then(function(){n(a,"success")}).catch(function(e){t(o,a)}):t(o,a)})})}(),function(){const e=document.querySelectorAll(".api-endpoint[data-host]");if(!e.length)return;e.forEach(function(e){const t=e.closest(".api-endpoint-wrapper");if(!t)return;if(t.querySelector(".api-endpoint-tooltip"))return;const n=e.getAttribute("data-host"),i=e.textContent.trim();if(!n||""===n.trim())return;const a=n.trim().replace(/\/+$/,"")+"/"+i.replace(/^\/+/,""),o=document.createElement("span");o.className="api-endpoint-tooltip",o.textContent=a,t.appendChild(o)})}(),function(){const e=document.querySelectorAll(".api-param-name");if(!e.length)return;const n={};if(e.forEach(function(e){if(e.querySelector(".api-param-anchor"))return;const i=e.closest(".api-param"),a=i?i.closest(".api-block"):null;let o="param";a&&a.id&&(o=a.id);const c=e.textContent.trim(),s=[];let r=i;for(;r&&r.classList.contains("api-param");){const e=r.querySelector(":scope > .api-param-header > .api-param-name");if(e){const t=e.textContent.trim().toLowerCase().replace(/[^a-z0-9_]+/g,"-");s.unshift(t)}const t=r.parentElement.closest(".api-param-children");if(!t)break;r=t.closest(".api-param")}let l=o+"-"+s.join("-"),d=l,u=1;for(;n[d]||document.getElementById(d);)d=l+"-"+u,u++;n[d]=!0,i&&!i.id&&(i.id=d);const p=document.createElement("a");p.className="api-param-anchor",p.href="#"+d,p.setAttribute("aria-label","Link to "+c+" parameter"),p.innerHTML="#",e.appendChild(p),p.addEventListener("click",function(e){e.preventDefault();const n=window.location.origin+window.location.pathname+window.location.search+"#"+d;let a=i;for(;a;){const e=a.closest(".api-param-children");if(!e)break;{e.classList.add("is-open");const t=e.closest(".api-param");if(t){const e=t.querySelector(":scope > .api-param-header .api-param-toggle");e&&e.setAttribute("aria-expanded","true")}a=t}}navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(n).then(function(){p.classList.add("is-copied"),t(i),history.pushState(null,null,"#"+d),setTimeout(function(){p.classList.remove("is-copied")},2e3)}
1).catch(function(e){}):(history.pushState(null,null,"#"+d),t(i))})}),window.location.hash){const e=window.location.hash.substring(1),n=document.getElementById(e);if(n&&n.classList.contains("api-param")){let e=n;for(;e;){const t=e.closest(".api-param-children");if(!t)break;{t.classList.add("is-open");const n=t.closest(".api-param");if(n){const e=n.querySelector(":scope > .api-param-header .api-param-toggle");e&&e.setAttribute("aria-expanded","true")}e=n}}setTimeout(function(){t(n)},100)}}}(),function(){const e=document.querySelectorAll(".theme-switcher-btn");if(!e.length)return;function t(t){e.forEach(function(e){e.classList.remove("is-active")});const n=document.querySelector('[data-theme="'+t+'"]');if(n&&n.classList.add("is-active"),"auto"===t){const e=window.matchMedia("(prefers-color-scheme: dark)").matches;document.documentElement.setAttribute("data-theme",e?"dark":"light")}else document.documentElement.setAttribute("data-theme",t)}t(localStorage.getItem("theme")||"light"),e.forEach(function(e){e.addEventListener("click",function(){const n=e.getAttribute("data-theme");t(n),localStorage.setItem("theme",n)})}),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",function(e){"auto"===(localStorage.getItem("theme")||"light")&&document.documentElement.setAttribute("data-theme",e.matches?"dark":"light")})}(),function(){const e=document.querySelector("[data-copy-link]"),t=document.querySelector("[data-share-link]");e&&e.addEventListener("click",function(t){t.preventDefault();const a=window.location.href;navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(a).then(function(){i(e,"Copied!")}).catch(function(t){n(a,e)}):n(a,e)});t&&t.addEventListener("click",function(e){e.preventDefault();const n=document.title,a=window.location.href,o=document.querySelector('meta[name="description"]'),c=o?o.content:"";navigator.share?navigator.share({title:n,text:c,url:a}).then(function(){}).catch(function(e){}):navigator.clipboard&&navigator.clipboard.writeText&&navigator.clipboard.writeText(a).then(function(){i(t,"Link copied!")}).catch(function(e){})});function n(e,t){const n=document.createElement("textarea");n.value=e,n.style.position="fixed",n.style.left="-9999px",document.body.appendChild(n),n.select();try{i(t,document.execCommand("copy")?"Copied!":"Failed to copy")}catch(e){i(t,"Failed to copy")}document.body.removeChild(n)}function i(e,t){var n=e.getAttribute("aria-label");e.setAttribute("aria-label",t),e.classList.add("is-success"),setTimeout(function(){e.setAttribute("aria-label",n),e.classList.remove("is-success")},2e3)}}(),function(){const e=document.querySelector(".breadcrumb-list");if(!e)return;const t=document.querySelector(".side-nav-link.is-active");if(!t)return;const n=[],i=t.closest(".side-nav-section");if(i){const e=i.querySelector(".side-nav-section-title");e&&n.push({text:e.textContent.trim(),type:"section",href:null})}let a=t.closest(".side-nav-item");const o=[];for(;a;){const e=a.closest(".side-nav-submenu");if(!e)break;{const t=e.closest(".side-nav-item");if(t){const e=t.querySelector(":scope > .side-nav-link");e&&o.unshift({text:e.textContent.trim(),type:"link",href:e.getAttribute("href")||"#"})}a=t}}const c=n.concat(o);if(c.length>0){e.querySelector(".breadcrumb-item:first-child");for(;e.children.length>1;)e.removeChild(e.lastChild);c.forEach(function(t,n){const i=document.createElement("li");if(i.className="breadcrumb-item","section"===t.type){const e=document.createElement("span");e.textContent=t.text,i.appendChild(e)}else{const e=document.createElement("a");e.className="breadcrumb-link",e.href=t.href,e.textContent=t.text,i.appendChild(e)}if(n<c.length-1){const e=document.createElement("span");e.className="breadcrumb-separator icon icon-chevron",e.setAttribute("aria-hidden","true"),i.appendChild(e)}e.appendChild(i)})}}(),function(){const e=document.querySelector(".api-block#api-response");if(!e)return;const t=e.querySelectorAll(".api-block-main .api-param-name"),n=e.querySelector(".api-example-content code.language-json"),i=e.querySelector(".api-example-content");
1if(!t.length||!n||!i)return;n.textContent;let a=null;function o(e){c();const t=document.createTreeWalker(n,NodeFilter.SHOW_TEXT,null,!1),a=[];let o;const s='"'+e+'"',r="'"+e+"'";for(;o=t.nextNode();){const t=o.textContent;t!==s&&t!==r&&t!==e||a.push(o)}const l=50,d=Math.min(a.length,l);for(let e=0;e<d;e++){const t=a[e],n=document.createElement("mark");n.className="json-param-highlight",n.textContent=t.textContent,t.parentNode.replaceChild(n,t)}const u=n.querySelector(".json-param-highlight");if(u){const e=i.getBoundingClientRect(),t=u.getBoundingClientRect(),n=i.scrollTop,a=t.top-e.top+n-e.height/2;i.scrollTo({top:Math.max(0,a),behavior:"smooth"})}}function c(){n.querySelectorAll(".json-param-highlight").forEach(function(e){e.parentNode.replaceChild(document.createTextNode(e.textContent),e)})}t.forEach(function(e){e.style.cursor="pointer",e.setAttribute("title","Click to highlight in JSON example"),e.addEventListener("click",function(t){if(t.target.closest(".api-param-anchor"))return;t.preventDefault(),t.stopPropagation();const n=e.textContent.replace("#","").trim();a&&clearTimeout(a),o(n),a=setTimeout(function(){c()},4e3)})})}()})}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.