{"version":3,"sources":["webpack:///./src/views/PPL.vue?da09","webpack:///./src/views/PPL.vue","webpack:///./src/views/PPL.vue?9cf0","webpack:///./src/views/PPL.vue?ddc8"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","$t","$store","state","licenses","ppl","_e","domProps","0","profile","org","contactCCLIUrl","attrs","_f","pplDueDate","on","$event","edit","pplEntry","Object","keys","length","staticStyle","_l","row","index","key","label","value","staticRenderFns","PPL","Vue","bus","$emit","dispatch","choral","christian","classical","commercialDance","country","folk","jazzBlues","latin","mainstream","motownSoulFunk","pop","rock","sequenceDance","specialistDance","urbanRapRAndB","world","other","__decorate","Component","components","InfoDisplay","AvailableToPurchaseCallout","Icon","component"],"mappings":"4GAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,KAAK,CAACE,YAAY,aAAa,CAACN,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,8BAA8BL,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,MAAM,CAACE,YAAY,yBAAyB,CAAEN,EAAIU,OAAOC,MAAMC,SAASC,IAAuB,oBAAET,EAAG,8BAA8BJ,EAAIc,KAAMd,EAAIU,OAAOC,MAAMC,SAASC,IAAW,QAAET,EAAG,MAAM,CAACE,YAAY,wBAAwB,CAACF,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,MAAM,CAACW,SAAS,CAAC,UAAYf,EAAIQ,GAAGR,EAAIS,GAAG,wBAAyB,CAACO,EAAGhB,EAAIU,OAAOC,MAAMM,QAAQC,IAAIC,qBAAqBf,EAAG,cAAc,CAACgB,MAAM,CAAC,MAAQpB,EAAIS,GAAG,wBAAwB,CAACT,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIqB,GAAG,aAAPrB,CAAqBA,EAAIsB,gBAAgBlB,EAAG,SAAS,CA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ASiC,QAItE,iBACE,OAAI1D,KAAKS,OAAOC,OAASV,KAAKS,OAAOC,MAAMM,QAClChB,KAAKS,OAAOC,MAAMM,QAAQK,WAE1B,GAIXG,OACEe,SAAIC,MAAM,kBAzCOH,EAAGsB,eAAA,CAPvBC,eAAU,CACTC,WAAW,CACTC,mBACAC,kCACAC,gBAGiB3B,WCrDwW,I,YCOzX4B,EAAY,eACd,EACAnE,EACAsC,GACA,EACA,KACA,WACA,MAIa,aAAA6B,E","file":"js/8ced2d2b2f.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('h1',{staticClass:\"font-24px\"},[_vm._v(_vm._s(_vm.$t('O.LIT_PPLReportingFull')))]),_c('div',{staticClass:\"panel\"},[_c('div',{staticClass:\"panel-body padding-2r\"},[(_vm.$store.state.licenses.ppl.availableToPurchase)?_c('AvailableToPurchaseCallout'):_vm._e(),(_vm.$store.state.licenses.ppl.enabled)?_c('div',{staticClass:\"grid-x grid-margin-x\"},[_c('div',{staticClass:\"cell auto\"},[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.$t('O.LIT_PPLInstructions', {0: _vm.$store.state.profile.org.contactCCLIUrl}))}}),_c('InfoDisplay',{attrs:{\"title\":_vm.$t('O.LIT_ReportingDue')}},[_vm._v(_vm._s(_vm._f(\"formatDate\")(_vm.pplDueDate)))]),_c('button',{staticClass:\"button primary\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.edit()}}},[_c('Icon',{attrs:{\"classes\":\"fal fa-pencil margin-right-halfr\"}}),_vm._v(_vm._s(_vm.$t('G.LIT_Edit')))],1)],1),_c('div',{staticClass:\"cell small-12 medium-6 text-right\"},[(_vm.$store.state.pplEntry && Object.keys(_vm.$store.state.pplEntry).length > 0)?_c('table',[_c('thead',[_c('tr',[_c('th',[_vm._v(_vm._s(_vm.$t('O.LIT_Genre')))]),_c('th',{staticStyle:{\"width\":\"50px\"}},[_vm._v(_vm._s(_vm.$t('O.LIT_Percentage')))])])]),_c('tbody',_vm._l((_vm.pplData),function(row,index){return _c('tr',{key:'ppl'+index},[_c('td',[_vm._v(_vm._s(row.label))]),_c('td',{staticClass:\"text-right\"},[_vm._v(_vm._s(row.value)+\"%\")])])}),0)]):_vm._e()])]):_vm._e()],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport InfoDisplay from '@/components/InfoDisplay.vue'; \r\n\r\nimport AvailableToPurchaseCallout from '@/components/App/AvailableToPurchaseCallout.vue';\r\nimport { bus } from '@/main';\r\nimport Icon from '@/components/Icon.vue';\r\n\r\n@Component({\r\n components:{\r\n InfoDisplay, \r\n AvailableToPurchaseCallout, \r\n Icon\r\n }\r\n})\r\nexport default class PPL extends Vue {\r\n\r\n async mounted() { \r\n bus.$emit('showBusy');\r\n await this.$store.dispatch('getPPL'); \r\n bus.$emit('hideBusy');\r\n }\r\n\r\n\r\n get pplData() { \r\n\r\n return [\r\n {label: this.$t('O.LIT_Choral'), value: this.$store.state.pplEntry.choral},\r\n {label: this.$t('O.LIT_Christian'), value: this.$store.state.pplEntry.christian},\r\n {label: this.$t('O.LIT_Classical'), value: this.$store.state.pplEntry.classical},\r\n {label: this.$t('O.LIT_CommercialDance'), value: this.$store.state.pplEntry.commercialDance},\r\n {label: this.$t('O.LIT_Country'), value: this.$store.state.pplEntry.country},\r\n {label: this.$t('O.LIT_Folk'), value: this.$store.state.pplEntry.folk},\r\n {label: this.$t('O.LIT_JazzBlues'), value: this.$store.state.pplEntry.jazzBlues},\r\n {label: this.$t('O.LIT_Latin'), value: this.$store.state.pplEntry.latin},\r\n {label: this.$t('O.LIT_Mainstream'), value: this.$store.state.pplEntry.mainstream},\r\n {label: this.$t('O.LIT_MotownSoulFunk'), value: this.$store.state.pplEntry.motownSoulFunk},\r\n {label: this.$t('O.LIT_PopCurrent'), value: this.$store.state.pplEntry.pop},\r\n {label: this.$t('O.LIT_Rock'), value: this.$store.state.pplEntry.rock},\r\n {label: this.$t('O.LIT_SequenceDance'), value: this.$store.state.pplEntry.sequenceDance},\r\n {label: this.$t('O.LIT_SpecialistDance'), value: this.$store.state.pplEntry.specialistDance},\r\n {label: this.$t('O.LIT_UrbanRapRAndB'), value: this.$store.state.pplEntry.urbanRapRAndB},\r\n {label: this.$t('O.LIT_World'), value: this.$store.state.pplEntry.world},\r\n {label: this.$t('O.LIT_Other'), value: this.$store.state.pplEntry.other},\r\n ];\r\n }\r\n\r\n get pplDueDate(){ \r\n if (this.$store.state && this.$store.state.profile){\r\n return this.$store.state.profile.pplDueDate;\r\n }else{\r\n return '';\r\n }\r\n }\r\n\r\n edit(){ \r\n bus.$emit('showPPLModal');\r\n }\r\n \r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PPL.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PPL.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PPL.vue?vue&type=template&id=1b611bfe&scoped=true\"\nimport script from \"./PPL.vue?vue&type=script&lang=ts\"\nexport * from \"./PPL.vue?vue&type=script&lang=ts\"\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 \"1b611bfe\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}