{"version":3,"sources":["../../../src/nodes/AreComment.ts"],"names":[],"mappings":";;;;AAQO,IAAM,UAAA,GAAN,cAAyB,WAAA,CAAY;AAAA,EAIxC,QAAQ,SAAA,EAAkC;AACtC,IAAA,KAAA,CAAM,OAAA,CAAQ;AAAA,MACV,GAAG,SAAA;AAAA,MACH,OAAA,EAAQ;AAAA,QACJ,GAAI,SAAA,CAAU,OAAA,IAAW,EAAC;AAAA,QAC1B,MAAA,EAAQ;AAAA;AACZ,KACH,CAAA;AAAA,EACL;AACJ;AAba,UAAA,GAAN,eAAA,CAAA;AAAA,EAJN,QAAQ,MAAA,CAAO;AAAA,IACZ,SAAA,EAAW,YAAA;AAAA,IACX,WAAA,EAAa;AAAA,GAChB;AAAA,CAAA,EACY,UAAA,CAAA","file":"AreComment.mjs","sourcesContent":["import { AreNodeNewProps } from \"@adaas/are\";\nimport { AreHTMLNode } from \"@adaas/are-html/node\";\nimport { A_Frame } from \"@adaas/a-frame/core\";\n\n@A_Frame.Define({\n    namespace: 'a-are-html',\n    description: 'Node type representing a comment node in the AreHTMLNode tree. Used as a stable DOM anchor by structural directives such as $if and $for that swap rendered content in and out, ensuring the parent container always has a consistent insertion point.'\n})\nexport class AreComment extends AreHTMLNode {\n\n\n\n    fromNew(newEntity: AreNodeNewProps): void {\n        super.fromNew({\n            ...newEntity,\n            payload:{\n                ...(newEntity.payload || {}),\n                entity: 'are-comment',\n            }\n        });\n    }\n}"]}