import{isProperty as r}from"../../utils/isProperty.mjs";import{unprefixed as e}from"../../utils/vendor.mjs";function o(o,t){if(r(o)){let{prop:r}=o,i=e(r).toLowerCase();return i.startsWith("osx-")&&(i=i.slice(4)),{node:o,name:r,unprefixedName:i,orderData:t[i]}}return{node:o}}export{o as getNodeData};