{"version":3,"file":"sparkle.cjs","names":[],"sources":["../../../../src/icons/sparkle.vue"],"sourcesContent":["<template>\n  <svg :aria-label=\"ariaLabel\" :class=\"iconSizeClass\" :data-qa=\"dataQA\" :aria-hidden=\"ariaHidden\" role=\"img\" data-name=\"Sparkle\" class=\"d-icon d-icon--sparkle\" viewBox=\"0 0 12 12\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9.264 1c.05 0 .093.034.107.082.23.745.81 1.335 1.545 1.572a.12.12 0 0 1 .084.113.12.12 0 0 1-.084.114 2.39 2.39 0 0 0-1.529 1.522.131.131 0 0 1-.123.092.131.131 0 0 1-.124-.092 2.392 2.392 0 0 0-1.509-1.516.127.127 0 0 1-.087-.12c0-.055.036-.103.087-.12a2.393 2.393 0 0 0 1.525-1.565A.114.114 0 0 1 9.264 1Zm0 6.505c.05 0 .093.034.108.081.23.746.81 1.335 1.544 1.572a.12.12 0 0 1 .084.114.12.12 0 0 1-.084.114 2.39 2.39 0 0 0-1.529 1.522.131.131 0 0 1-.123.092.131.131 0 0 1-.124-.092 2.393 2.393 0 0 0-1.509-1.516.127.127 0 0 1-.087-.12c0-.055.036-.103.087-.12a2.393 2.393 0 0 0 1.525-1.566.114.114 0 0 1 .108-.081ZM4.503 9.239v.27l-.082-.014a.267.267 0 0 1-.13-.097l-.038-.075c-.021-.064-.046-.127-.07-.19l.32.106Zm.25.084-.038.075a.262.262 0 0 1-.212.11v-.27l.318-.105a4.902 4.902 0 0 0-.068.19Zm-.251-4.926A5.882 5.882 0 0 1 2.918 5.99a5.882 5.882 0 0 1 1.584 1.595 5.885 5.885 0 0 1 1.585-1.596 5.883 5.883 0 0 1-1.585-1.592ZM7.7 6.279a4.87 4.87 0 0 0-2.879 2.854l-.318.106-.32-.106a4.875 4.875 0 0 0-2.738-2.802l-.267-.098A.258.258 0 0 1 1 5.99c0-.111.073-.209.178-.243a4.872 4.872 0 0 0 3.106-3.19.231.231 0 0 1 .219-.165c.1 0 .188.068.218.165A4.873 4.873 0 0 0 7.868 5.76c.1.032.169.124.17.23 0 .105-.07.198-.17.23l-.168.06Z\" fill=\"currentColor\"/></svg>\n</template>\n\n<script>\nimport { ICON_SIZE_MODIFIERS } from '@/src/constants';\n\nexport default {\n  name: 'DtIconSparkle',\n\n  props: {\n    /**\n     * The size of the icon.\n     * @values 100, 200, 300, 400, 500, 600, 700, 800\n     */\n    size: {\n      type: String,\n      default: '500',\n      validator: (s) => Object.keys(ICON_SIZE_MODIFIERS).includes(s),\n    },\n\n    /**\n     * The label of the icon as read out by a screenreader. Leave this unset if your icon is purely presentational\n     */\n    ariaLabel: {\n      type: String,\n      default: undefined,\n    },\n  },\n\n  /**\n  * @TODO: Remove this emit once the icons migration is complete,\n  * they will no longer need this event.\n  * */\n  emits: ['loaded'],\n\n  computed: {\n    iconSizeClass () {\n      return ICON_SIZE_MODIFIERS[this.size];\n    },\n\n    ariaHidden () {\n      return !this.ariaLabel ? 'true' : 'false';\n    },\n\n    dataQA () {\n      return this.$attrs['data-qa'] ?? 'dt-icon';\n    },\n  },\n\n  created () {\n    this.$emit('loaded');\n  },\n};\n</script>\n"],"mappings":"+HAOA,IAAK,EAAU,CACb,KAAM,gBAEN,MAAO,CAKL,KAAM,CACJ,KAAM,OACN,QAAS,MACT,UAAY,GAAM,OAAO,KAAK,EAAA,EAAoB,CAAC,SAAS,EAAE,CAC/D,CAKD,UAAW,CACT,KAAM,OACN,QAAS,IAAA,GACV,CACF,CAMD,MAAO,CAAC,SAAS,CAEjB,SAAU,CACR,eAAiB,CACf,OAAO,EAAA,EAAoB,KAAK,OAGlC,YAAc,CACZ,OAAQ,KAAK,UAAqB,QAAT,QAG3B,QAAU,CACR,OAAO,KAAK,OAAO,YAAc,WAEpC,CAED,SAAW,CACT,KAAK,MAAM,SAAS,EAEvB,mHApD68C,MAAA,CAAt8C,aAAY,EAAA,UAAY,OAAA,EAAA,EAAA,gBAAK,CAAE,EAAA,cAAgG,yBAAwB,CAAA,CAAxG,UAAS,EAAA,OAAS,cAAa,EAAA,WAAY,KAAK,MAAM,YAAU,UAAyC,QAAQ,YAAY,MAAM,wEAA8wC,OAAA,CAA3uC,EAAE,otCAAotC,KAAK"}