1import{woodyDevEnqueueStyle as r}from"woody_addon_devtools_tools";function u(s){let e=[],a,c,o;const l=s.querySelector("#wp-admin-bar-woody-color-palette"),n=s.querySelector("#wp-admin-bar-woody-style-shift"),f=s.querySelector("#wp-admin-bar-fake-touristic-sheet");s.style.display="block";const d=s.querySelectorAll(".ab-item");d&&d.forEach(t=>t.style.cursor="pointer"),l&&l.addEventListener("click",async function(){const t="woody-palette";e.includes(t)||(await r(WOODY_ADDON_DEVTOOLS.css_path_color_palette),e.push(t)),a||(a=await import("woody_addon_devtools_color_palette"),a.init()),l.classList.add("active")}),n&&n.addEventListener("click",async function(t){t.target.parentNode.classList.contains("active")?t.target.parentNode.classList.remove("active"):t.target.parentNode.classList.add("active");const i="woody-styleshift";e.includes(i)||(await r(WOODY_ADDON_DEVTOOLS.css_path_style_shift),e.push(i)),c||(c=await import("woody_addon_devtools_style_shift"),c.init())}),f&&f.addEventListener("click",async function(t){t.target.parentNode.classList.contains("active")?t.target.parentNode.classList.remove("active"):t.target.parentNode.classList.add("active");const i="woody-faketouristicsheet";e.includes(i)||(await r(WOODY_ADDON_DEVTOOLS.css_path_fake_touristic_sheet),e.push(i)),o||(o=await import("woody_addon_devtools_fake_touristic_sheet"),o.init())})}export{u as init};
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.