"use strict";const e=Symbol("parent"),t=Symbol("instanceName"),r=Symbol("secure event"),s=Symbol("properties"),o=Symbol("requiredProperties");function n(e){const t={};if("string"==typeof e){const r=/([\w-]*)\s*:\s*([^;]*)/g;let s;for(;s=r.exec(e);)s[1].startsWith("--")&&(t[s[1]]=s[2].trim())}else e&&"object"==typeof e&&Object.keys(e).forEach(r=>{r.startsWith("--")&&"string"==typeof e[r]&&(t[r]=e[r])});return Object.keys(t).map(e=>`${e}:${t[e]}`).join(";")}exports.instanceName=t,exports.normalizeApis=function(e){if(e&&"object"==typeof e){const t={...e};return e.style&&(t.style=n(e.style)),t}return{}},exports.normalizeStyle=n,exports.parent=e,exports.properties=s,exports.requiredProperties=o,exports.secure=r;
