{"version":3,"sources":["webpack:///./src/app/shared/components/basic/ontick-broker-logo.component.vue","webpack:///src/app/shared/components/basic/ontick-broker-logo.component.vue","webpack:///./src/app/shared/components/basic/ontick-broker-logo.component.vue?621f","webpack:///./src/app/shared/components/basic/ontick-broker-logo.component.vue?b66d","webpack:///./src/app/modules/account/pages/preference/preference.component.vue?be08","webpack:///./src/app/modules/account/pages/preference/preference.component.vue","webpack:///src/app/modules/account/pages/preference/preference.component.vue","webpack:///./src/app/modules/account/pages/preference/preference.component.vue?5d6c","webpack:///./src/app/modules/account/pages/preference/preference.component.vue?8cc2"],"names":["render","_vm","this","_c","_self","directives","name","rawName","value","arrow","theme","expression","staticClass","attrs","broker","domProps","_s","styles","staticRenderFns","props","type","String","computed","$icons","xs_logo","xs_xp_logo","rico_badge","clear","trophy","component","_m","loading","_v","email","allAccountEmailsAreActive","on","switchAllNotifications","data","account_preferences","_l","account","key","account_id","broker_name","account_number","account_emails","$event","setDailySummaryPreferenceByAccount","_e","moon","darkMode","changeTheme","localStorage","getItem","components","ontickSwitch","OntickBrokerLogoComponent","mapGetters","getSelectedAccount","getUiTheme","_this$data","every","item","methods","mapActions","postSoundAlert","getData","_this$getSelectedAcco","$api","get","$endpoint","GET_PREFERENCES","params","then","res","catch","err","console","error","finally","setTimeout","forceValue","pref_type","pref_data","post","UPDATE_PREFERENCE","find","forEach","index","allActive","Object","freeze","watch","immediate","handler","mounted"],"mappings":"gHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAO,CAAEC,OAAO,EAAMC,MAAO,SAAWC,WAAW,oCAAoCC,YAAY,UAAUC,MAAM,CAAC,QAAUZ,EAAIa,SAAS,CAACX,EAAG,IAAI,CAACS,YAAY,UAAUG,SAAS,CAAC,UAAYd,EAAIe,GAAGf,EAAIgB,cAEhUC,EAAkB,G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A,KAAAd,UAAAe,kBAAAb,GACAC,KAAAC,IACA,KAAArC,KAAAC,oBAAAgD,KACAxB,KAAApB,aAAAF,EAAAE,YACAG,eAAA6B,EAAArC,KAAA8C,YAEAR,MAAAC,IACAC,QAAAC,MAAAF,MAGAxC,yBACA,KAAAC,KAAAC,oBAAAiD,QAAA,CAAA/C,EAAAgD,KACA,IAAAC,EAAAC,OAAAC,OAAA,KAAAzD,2BACA8C,WAAA,KACA,KAAAjC,mCACAP,GACA,IAAAiD,EAAA,iBAEA,IAAAD,OAKAI,MAAA,CACAjC,WAAA,CACAkC,WAAA,EACAC,UACA,IAAApF,EAAA0C,aAAAC,QAAA,YAEA,KAAAH,SADA,SAAAxC,KASAqF,UACA,KAAA7B,YCjNub,I,wBCQnbrC,EAAY,eACd,EACA7B,EACAkB,GACA,EACA,KACA,WACA,MAIa,aAAAW,E","file":"js/chunk-84cbac98.81d102d7.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],staticClass:\"h-4 w-5\",attrs:{\"content\":_vm.broker}},[_c('i',{staticClass:\"h-4 w-4\",domProps:{\"innerHTML\":_vm._s(_vm.styles)}})])\n}\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/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ontick-broker-logo.component.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/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ontick-broker-logo.component.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ontick-broker-logo.component.vue?vue&type=template&id=68740c68\"\nimport script from \"./ontick-broker-logo.component.vue?vue&type=script&lang=js\"\nexport * from \"./ontick-broker-logo.component.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/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","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/cli-service/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/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./preference.component.vue?vue&type=style&index=0&id=1e11b492&prod&lang=scss&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"px-6\"},[_vm._m(0),(_vm.loading)?_c('div',{staticClass:\"flex h-[238px] w-full items-center justify-center\"},[_c('div',[_c('i',{staticClass:\"text-ontick-blue-600\",domProps:{\"innerHTML\":_vm._s(_vm.$icons.loading)}}),_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Carregando\")])])]):_c('div',{staticClass:\"grid grid-cols-1 gap-6 sm:grid-cols-2\"},[_c('div',[_c('div',{staticClass:\"dark:bg-ontick-graphite-500 bg-ontick-steel-100 space-y-6 rounded-lg p-6\"},[_c('div',{staticClass:\"flex items-center justify-between\"},[_vm._m(1),_c('div',{staticClass:\"flex flex-col items-center justify-center\"},[_c('div',{staticClass:\"flex items-center justify-center space-x-2\"},[_c('i',{domProps:{\"innerHTML\":_vm._s(_vm.$icons.email)}}),_c('span',[_vm._v(\"E-mail\")])]),_c('span',{staticClass:\"text-xs text-gray-500 dark:text-gray-400\"},[_vm._v(\" Resumo diário \")])])]),_c('div',{staticClass:\"divide-ontick-steel-200 dark:divide-ontick-steel-500 flex flex-col divide-y\"},[_c('div',{staticClass:\"list-item\"},[_c('span',[_vm._v(\" Todas as contas \")]),_c('ontick-switch',{attrs:{\"active\":_vm.allAccountEmailsAreActive},on:{\"switch\":_vm.switchAllNotifications}})],1),(_vm.data && _vm.data.account_preferences)?_vm._l((_vm.data.account_preferences),function(account){return _c('div',{key:account.account_id,staticClass:\"list-item\"},[_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('ontick-broker-logo-component',{attrs:{\"broker\":account.broker_name}}),_c('span',[_vm._v(\" \"+_vm._s(account.broker_name)+\" \")]),_c('span',{staticClass:\"text-gray-500 dark:text-gray-400\"},[_vm._v(\"(#\"+_vm._s(account.account_number)+\")\")])],1),_c('ontick-switch',{attrs:{\"active\":account.account_emails === 'TRUE'},on:{\"switch\":function($event){return _vm.setDailySummaryPreferenceByAccount(account)}}})],1)}):_vm._e()],2)])]),_c('div',[_c('div',{staticClass:\"dark:bg-ontick-graphite-500 bg-ontick-steel-100 space-y-6 rounded-lg p-6\"},[_vm._m(2),_c('div',{staticClass:\"list-item\"},[_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('i',{domProps:{\"innerHTML\":_vm._s(_vm.$icons.moon)}}),_c('span',[_vm._v(\" Dark mode \")])]),_c('ontick-switch',{attrs:{\"active\":_vm.darkMode},on:{\"switch\":function($event){_vm.changeTheme(\n _vm.localStorage.getItem('ui_theme') === 'DARK' ? 'LIGHT' : 'DARK'\n )}}})],1)])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"space-y-1 py-6\"},[_c('h1',{staticClass:\"text-ontick-steel-900 text-2xl font-medium dark:text-gray-300\"},[_vm._v(\" Preferências \")]),_c('p',{staticClass:\"text-ontick-steel-500 text-base dark:text-gray-400\"},[_vm._v(\" Personalize a OnTick do seu jeito \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"flex items-center\"},[_c('span',[_vm._v(\" Notificações \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"flex items-center\"},[_c('span',[_vm._v(\" Estilo \")])])\n}]\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/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./preference.component.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/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./preference.component.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./preference.component.vue?vue&type=template&id=1e11b492&scoped=true\"\nimport script from \"./preference.component.vue?vue&type=script&lang=js\"\nexport * from \"./preference.component.vue?vue&type=script&lang=js\"\nimport style0 from \"./preference.component.vue?vue&type=style&index=0&id=1e11b492&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1e11b492\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}