{"version":3,"sources":["../../src/util/ThemeProvider.ts"],"names":[],"mappings":"AACA,OAAO,SAAP,MAAsB,qBAAtB;AACA,OAAO,MAAP,MAAmB,UAAnB;AAEA;AACA,eAAe,OAAO,SAAP,EAAkB,MAAlB,CAAyB;AACtC,UAAM,gBADgC;AAGtC,WAAO;AACL,cAAM;AADD,KAH+B;AAOtC,cAAU;AACR,cADQ,oBACF;AACJ,mBAAO,KAAK,IAAL,GAAY,KAAK,UAAjB,GAA8B,UAAU,OAAV,CAAkB,QAAlB,CAA2B,MAA3B,CAAkC,IAAlC,CAAuC,IAAvC,CAArC;AACD;AAHO,KAP4B;AAatC,UAbsC,oBAahC;AACJ,eAAO,KAAK,MAAL,CAAY,OAAZ,IAAwB,KAAK,MAAL,CAAY,OAAZ,CAAqB,IAArB,CAA0B;AAAA,mBAAQ,CAAC,KAAK,SAAN,IAAmB,KAAK,IAAL,KAAc,GAAzC;AAAA,SAA1B,CAA/B;AACD;AAfqC,CAAzB,CAAf","sourcesContent":["import { VNode } from 'vue'\nimport Themeable from '../mixins/themeable'\nimport mixins from './mixins'\n\n/* @vue/component */\nexport default mixins(Themeable).extend({\n name: 'theme-provider',\n\n props: {\n root: Boolean\n },\n\n computed: {\n isDark (): boolean {\n return this.root ? this.rootIsDark : Themeable.options.computed.isDark.call(this)\n }\n },\n\n render (): VNode {\n return this.$slots.default! && this.$slots.default!.find(node => !node.isComment && node.text !== ' ')!\n }\n})\n"],"sourceRoot":""}