{"version":3,"sources":["webpack:///../../../src/components/VApp/VApp.ts","webpack:///./src/view/pages/vuetify/Vuetify.vue?336f","webpack:///src/view/pages/vuetify/Vuetify.vue","webpack:///./src/view/pages/vuetify/Vuetify.vue?c66c","webpack:///./src/view/pages/vuetify/Vuetify.vue","webpack:///../../src/util/mixins.ts","webpack:///./src/view/pages/vuetify/Vuetify.vue?a180","webpack:///../../../src/mixins/themeable/index.ts"],"names":["mixins","Themeable","extend","name","props","dark","type","Boolean","default","undefined","id","String","light","computed","isDark","this","$vuetify","theme","beforeCreate","$root","Error","render","h","wrapper","staticClass","getSlot","class","rtl","themeClasses","attrs","domProps","_vm","_h","$createElement","_c","_self","staticRenderFns","ignoreWarnMessage","Vue","config","warnHandler","msg","vm","trace","components","component","args","provide","themeableProvide","inject","data","appIsDark","rootIsDark","rootThemeClasses","watch","handler","newVal","oldVal","immediate","functionalThemeClasses","context","injections","options","call"],"mappings":"qLAWeA,iBACbC,QACAC,OAAO,CACPC,KAAM,QAENC,MAAO,CACLC,KAAM,CACJC,KAAMC,QACNC,aAASC,GAEXC,GAAI,CACFJ,KAAMK,OACNH,QAAS,OAEXI,MAAO,CACLN,KAAMC,QACNC,aAASC,IAIbI,SAAU,CACRC,SACE,OAAOC,KAAKC,SAASC,MAAMZ,OAI/Ba,eACE,IAAKH,KAAKC,UAAaD,KAAKC,WAAaD,KAAKI,MAC5C,MAAM,IAAIC,MAAM,mIAIpBC,OAAQC,GACN,MAAMC,EAAUD,EAAE,MAAO,CAAEE,YAAa,uBAAyBC,eAAQV,OAEzE,OAAOO,EAAE,MAAO,CACdE,YAAa,gBACbE,MAAO,CACL,wBAAyBX,KAAKC,SAASW,IACvC,yBAA0BZ,KAAKC,SAASW,OACrCZ,KAAKa,cAEVC,MAAO,CAAE,YAAY,GACrBC,SAAU,CAAEpB,GAAIK,KAAKL,KACpB,CAACa,OCrDJF,EAAS,WAAa,IAAIU,EAAIhB,KAASiB,EAAGD,EAAIE,eAAmBC,EAAGH,EA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,EAAK,IACNkB,EAAQxD,SACRwD,EAAQC,YAEP/C,EAASb,EAAU6D,QAAQjD,SAASC,OAAOiD,KAAKrB,GACtD,OAAOzC,EAAU6D,QAAQjD,SAASe,aAAamC,KAAK,CAAEjD,WARzCb,U","file":"js/chunk-5a9d6ea8.e5f23e3d.js","sourcesContent":["// Styles\nimport './VApp.sass'\n\n// Mixins\nimport Themeable from '../../mixins/themeable'\n\n// Utilities\nimport mixins from '../../util/mixins'\nimport { getSlot } from '../../util/helpers'\n\n/* @vue/component */\nexport default mixins(\n Themeable\n).extend({\n name: 'v-app',\n\n props: {\n dark: {\n type: Boolean,\n default: undefined,\n },\n id: {\n type: String,\n default: 'app',\n },\n light: {\n type: Boolean,\n default: undefined,\n },\n },\n\n computed: {\n isDark (): boolean {\n return this.$vuetify.theme.dark\n },\n },\n\n beforeCreate () {\n if (!this.$vuetify || (this.$vuetify === this.$root as any)) {\n throw new Error('Vuetify is not properly initialized, see https://v2.vuetifyjs.com/getting-started/quick-start#bootstrapping-the-vuetify-object')\n }\n },\n\n render (h) {\n const wrapper = h('div', { staticClass: 'v-application--wrap' }, getSlot(this))\n\n return h('div', {\n staticClass: 'v-application',\n class: {\n 'v-application--is-rtl': this.$vuetify.rtl,\n 'v-application--is-ltr': !this.$vuetify.rtl,\n ...this.themeClasses,\n },\n attrs: { 'data-app': true },\n domProps: { id: this.id },\n }, [wrapper])\n },\n})\n","import { VApp } from 'vuetify/lib/components/VApp';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VApp,[_c('transition',{attrs:{\"name\":\"fade-in-up\"}},[_c('router-view')],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Vuetify.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Vuetify.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Vuetify.vue?vue&type=template&id=affedf68\"\nimport script from \"./Vuetify.vue?vue&type=script&lang=js\"\nexport * from \"./Vuetify.vue?vue&type=script&lang=js\"\nimport style0 from \"./Vuetify.vue?vue&type=style&index=0&id=affedf68&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/* eslint-disable max-len, import/export, no-use-before-define */\nimport Vue, { VueConstructor } from 'vue'\n\nexport default function mixins (...args: T): ExtractVue extends infer V ? V extends Vue ? VueConstructor : never : never\nexport default function mixins (...args: VueConstructor[]): VueConstructor\nexport default function mixins (...args: VueConstructor[]): VueConstructor {\n return Vue.extend({ mixins: args })\n}\n\n/**\n * Returns the instance type from a VueConstructor\n * Useful for adding types when using mixins().extend()\n */\nexport type ExtractVue = T extends (infer U)[]\n ? UnionToIntersection<\n U extends VueConstructor ? V : never\n >\n : T extends VueConstructor ? V : never\n\ntype UnionToIntersection =\n (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Vuetify.vue?vue&type=style&index=0&id=affedf68&prod&lang=scss\"","import Vue from 'vue'\nimport { PropType, RenderContext } from 'vue/types/options'\n\ninterface options extends Vue {\n theme: {\n isDark: boolean\n }\n}\n\n/* @vue/component */\nconst Themeable = Vue.extend().extend({\n name: 'themeable',\n\n provide (): object {\n return {\n theme: this.themeableProvide,\n }\n },\n\n inject: {\n theme: {\n default: {\n isDark: false,\n },\n },\n },\n\n props: {\n dark: {\n type: Boolean as PropType,\n default: null,\n },\n light: {\n type: Boolean as PropType,\n default: null,\n },\n },\n\n data () {\n return {\n themeableProvide: {\n isDark: false,\n },\n }\n },\n\n computed: {\n appIsDark (): boolean {\n return this.$vuetify.theme.dark || false\n },\n isDark (): boolean {\n if (this.dark === true) {\n // explicitly dark\n return true\n } else if (this.light === true) {\n // explicitly light\n return false\n } else {\n // inherit from parent, or default false if there is none\n return this.theme.isDark\n }\n },\n themeClasses (): object {\n return {\n 'theme--dark': this.isDark,\n 'theme--light': !this.isDark,\n }\n },\n /** Used by menus and dialogs, inherits from v-app instead of the parent */\n rootIsDark (): boolean {\n if (this.dark === true) {\n // explicitly dark\n return true\n } else if (this.light === true) {\n // explicitly light\n return false\n } else {\n // inherit from v-app\n return this.appIsDark\n }\n },\n rootThemeClasses (): Dictionary {\n return {\n 'theme--dark': this.rootIsDark,\n 'theme--light': !this.rootIsDark,\n }\n },\n },\n\n watch: {\n isDark: {\n handler (newVal, oldVal) {\n if (newVal !== oldVal) {\n this.themeableProvide.isDark = this.isDark\n }\n },\n immediate: true,\n },\n },\n})\n\nexport default Themeable\n\nexport function functionalThemeClasses (context: RenderContext): object {\n const vm = {\n ...context.props,\n ...context.injections,\n }\n const isDark = Themeable.options.computed.isDark.call(vm)\n return Themeable.options.computed.themeClasses.call({ isDark })\n}\n"],"sourceRoot":""}