{"version":3,"file":"validate.js","names":[],"sources":["esm/platform/app-intents/validate.js"],"sourcesContent":["function assertActionHandler(identifier, handler) {\n  if (typeof identifier !== \"string\" || !identifier.trim() || typeof handler !== \"function\") {\n    throw new TypeError(\"AppIntents.defineAction requires a non-empty identifier and a function\");\n  }\n}\nexport {\n  assertActionHandler\n};\n//# sourceMappingURL=validate.js.map\n"],"mappings":";AAAA,SAAS,oBAAoB,YAAY,SAAS;CAChD,IAAI,OAAO,eAAe,YAAY,CAAC,WAAW,KAAK,KAAK,OAAO,YAAY,YAAY;EACzF,MAAM,IAAI,UAAU,wEAAwE;CAC9F;AACF"}