{"version":3,"file":"Note-C0I0GWEM.mjs","names":[],"sources":["../src/components/templates/Note.vue"],"sourcesContent":["<template>\n  <div :=\"attrs\">\n    <p class=\"admonition-title\">Note</p>\n    <component\n      v-for=\"(c, index) in children\"\n      :key=\"'note_component_' + index\"\n      :is=\"c.component\"\n      :node=\"c.node\"\n      :componentName=\"c.name\"\n      :properties=\"c.properties\"\n    />\n  </div>\n</template>\n\n<script setup>\nimport { toRefs, ref } from 'vue'\n\nimport { useMethods } from '../../composables/methods'\nimport { useChildren } from '../../composables/computed'\n\nconst props = defineProps({\n  node: {\n    type: undefined,\n    default: null,\n  },\n  componentName: {\n    type: String,\n  },\n  properties: {\n    type: Object,\n  },\n})\n\nconst { node } = toRefs(props)\nconst { dataObject } = useMethods()\nconst attrs = ref({})\n\nconst { children } = useChildren(node)\n\nattrs.value = dataObject(node.value, ['admonition', 'note']).attrs\n</script>\n"],"mappings":";;;;;;;;;;;;;;;EAiCA,IAAM,EAAE,YAAS,EAAO,CAAK,GACvB,EAAE,kBAAe,EAAW,GAC5B,IAAQ,EAAI,CAAC,CAAC,GAEd,EAAE,gBAAa,EAAY,CAAI;SAErC,EAAM,QAAQ,EAAW,EAAK,OAAO,CAAC,cAAc,MAAM,CAAC,CAAC,CAAC,kBAtC3D,EAAA,GAAA,EAUM,OAAA,EAAA,EAVE,EAAA,KAAK,CAAA,GAAA,CACX,AAAA,EAAA,OAAA,EAAoC,KAAA,EAAjC,OAAM,mBAAkB,GAAC,QAAI,EAAA,IAChC,EAAA,EAAA,GAAA,EAOE,GAAA,MAAA,EANqB,EAAA,CAAA,IAAb,GAAG,OADb,EAAA,GAAA,EAOE,EAJK,EAAE,SAAS,GAAA;GADf,KAAG,oBAAsB;GAEzB,MAAM,EAAE;GACR,eAAe,EAAE;GACjB,YAAY,EAAE"}