{"version":3,"sources":["webpack:///./src/views/BrandInfo.vue?6884","webpack:///./src/views/BrandInfo.vue","webpack:///./src/views/BrandInfo.vue?9cef","webpack:///./src/views/BrandInfo.vue?e181","webpack:///./src/views/BrandInfo.vue?7b06","webpack:///./src/views/BrandRegister.vue?4b5b","webpack:///./src/views/BrandRegister.vue?0261","webpack:///./src/views/BrandRegister.vue","webpack:///./src/views/BrandRegister.vue?95aa","webpack:///./src/views/BrandRegister.vue?3a43"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","toolbar","unregistered","registered","staticClass","staticStyle","_v","on","popRegisterHelp","$event","goToArticle","$images","useSupport","staticRenderFns","Vue","extend","props","articleLink","type","String","default","data","title","left","icon","back","tooltip","permission","feature","right","computed","brand","$store","getters","isApp","setting","settingGet","window","_","isEmpty","methods","open","popIntercomMessenger","commit","intercom","displayMessenger","popSupportMessenger","dispatch","text","color","component","VCol","VIcon","VImg","VRow","$vuetify","breakpoint","smAndUp","scopedSlots","_u","key","fn","proxy","directives","name","rawName","value","expression","_s","errorMessage","brandCompanyInputs","model","updateModel","brandAddressInputs","brandContactInputs","submitting","submit","_e","mixins","models","properMap","city","company_name","company_type","company_status","contact_email","contact_name","contact_phone_number","country","line1","postal_code","tax_id","vertical","website","required","status","errorBar","errorVars","mounted","$router","push","newBrand","mapGetters","stockEnabled","exchanges","stockExchanges","map","x","exchange","inputs","join","dba","alt_business_id_type","alt_business_id","alt_business_name","line2","state","region","stock_symbol","stock_exchange","input","val","path","valid","validateSubmition","tenant_id","tenant","id","resp","metadata","user_id","user","email","Intercom","missingFields","vModel","pick","Object","entries","proper","unitedStates","missingState","length","canada","missingRegion","watch","VAlert","VBtn","VDivider","VListItem"],"mappings":"+IAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,gBAAgB,CAACE,MAAM,CAAC,QAAUN,EAAIO,UAAU,CAAEP,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AAShJ,KAAKqF,UAAUpB,GAG5B0E,EAAclC,KAAKuC,IAIvB,IAAMC,EACgB,kBAAlBrE,EAAMiB,SAAiD,OAAlBjB,EAAMiB,QAGzCqD,GAAgBtE,EAAM6C,QAAU7C,EAAM6C,MAAM0B,OAG5CC,EAA2B,WAAlBxE,EAAMiB,SAA0C,OAAlBjB,EAAMiB,QAG7CwD,GAAiBzE,EAAM8C,SAAW9C,EAAM8C,OAAOyB,OAQrD,OALIF,GAAgBC,EAAcP,EAAclC,KAAK,SAE5C2C,GAAUC,GAAeV,EAAclC,KAAK,mBAGhDkC,EAAcQ,QAMnBnJ,KAAKsG,UAAL,UAAqBqC,GACrB3I,KAAKqG,UAAW,GACT,IAPHrG,KAAKqG,UAAW,GACT,KASnBiD,MAAO,CAEHlH,MAFG,WAGKpC,KAAKoC,OAAOpC,KAAKwG,QAAQC,KAAK,mBCzU0V,I,iICQpYlD,EAAY,eACd,EACAzD,EACAoB,GACA,EACA,KACA,WACA,MAIa,aAAAqC,EAAiB,QAWhC,IAAkBA,EAAW,CAACgG,SAAA,KAAOC,OAAA,KAAKhG,OAAA,KAAKiG,WAAA,KAAShG,QAAA,KAAMiG,YAAA,KAAU/F,OAAA","file":"js/brand-index.5378ae51.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('page-template',{attrs:{\"toolbar\":_vm.toolbar}},[(_vm.unregistered && !_vm.registered)?_c('v-row',{staticClass:\"pa-4\",staticStyle:{\"text-align\":\"left\"},attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('v-col',{staticStyle:{\"max-width\":\"550px\"}},[_c('span',{staticClass:\"brand-title grey--text text--darken-2\"},[_vm._v(\" Register Phone Number For Compliant Text Messaging \")]),_c('v-icon',{staticStyle:{\"transform\":\"translateY(-0.1em)\"},attrs:{\"right\":\"\",\"small\":\"\"},on:{\"click\":_vm.popRegisterHelp}},[_vm._v(\" mdi-help-circle \")]),_c('v-col',{staticClass:\"grey--text text--darken-3\"},[_c('div',{staticStyle:{\"position\":\"relative\",\"padding-bottom\":\"70.0194678780013%\",\"height\":\"0\"}},[_c('iframe',{staticStyle:{\"position\":\"absolute\",\"top\":\"0\",\"left\":\"0\",\"width\":\"100%\",\"height\":\"100%\"},attrs:{\"src\":\"https://www.loom.com/embed/283618b525fa473fbb856d307bf98ab5?sid=0840c600-8081-4098-bc17-a4ddf45a0acb\",\"frameborder\":\"0\",\"webkitallowfullscreen\":\"\",\"mozallowfullscreen\":\"\",\"allowfullscreen\":\"\"}})]),_c('br'),_c('span',{staticClass:\"black--text text--darken-1\",staticStyle:{\"font-size\":\"1.15rem\"}},[_vm._v(\" Carriers require that all buisnesses register to send and recieve SMS successfully. \")]),_c('br'),_c('br'),_c('span',{staticClass:\"black--text text--darken-3\",staticStyle:{\"font-size\":\"1.15rem\"}},[_vm._v(\" To register your organization you'll need: \")]),_c('br'),_c('ol',{staticStyle:{\"font-size\":\"1.00rem\",\"padding-bottom\":\"2%\",\"text-align\":\"left\"}},[_c('li',[_vm._v(\"Basic Information about your organization\")]),_c('li',[_vm._v(\"Federal Tax ID (EIN, GIIN, etc.)\")])]),_c('br'),_c('div',{attrs:{\"data-tf-live\":\"01HP57S48J2Y5TMNK75TPX4E5B\",\"data-tf-transitive-search-params\":\"firstname\"}}),_c('script',{attrs:{\"type\":\"application/javascript\",\"defer\":\"\",\"src\":\"//embed.typeform.com/next/embed.js\"}})]),_c('span',{staticClass:\"black--text text--darken-1\",staticStyle:{\"font-size\":\"1.00rem\"}},[_vm._v(\" For more information about registration, \"),_c('a',{on:{\"click\":function($event){return _vm.goToArticle()}}},[_vm._v(\" visit this article.\")])]),_c('br'),_c('span',{staticClass:\"black--text text--darken-1\",staticStyle:{\"font-size\":\"1.00rem\"}},[_vm._v(\" Or contact us for 1 on 1 support with your registration by emailing support@messagedesk.com \")]),_c('br')],1)],1):(!_vm.registered)?_c('v-row',{staticClass:\"pa-4\",staticStyle:{\"text-align\":\"center\"},attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('v-col',{staticStyle:{\"max-width\":\"500px\"}},[_c('span',{staticClass:\"brand-title grey--text text--darken-2\"},[_vm._v(\" Registration Completed! \")]),_c('v-img',{staticStyle:{\"margin\":\"0 auto\"},attrs:{\"alt\":\"servicesMasthead\",\"src\":_vm.$images.useSupport,\"contain\":\"\",\"max-width\":\"380px\",\"height\":\"auto\"}}),_c('div',[_c('span',{staticClass:\"grey--text text--darken-3\",staticStyle:{\"font-size\":\"1.15rem\"}},[_vm._v(\" Your registration is under review. Please allow 10 business days for approval. If denied, you will be refunded. \")])])],1)],1):_c('v-row',{staticClass:\"pa-4\",staticStyle:{\"text-align\":\"center\"},attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('v-col',{staticStyle:{\"max-width\":\"500px\"}},[_c('span',{staticClass:\"brand-title grey--text text--darken-2\"},[_vm._v(\" Registration Successful! \")]),_c('v-img',{staticStyle:{\"margin\":\"0 auto\"},attrs:{\"alt\":\"servicesMasthead\",\"src\":_vm.$images.useSupport,\"contain\":\"\",\"max-width\":\"380px\",\"height\":\"auto\"}}),_c('div',[_c('span',{staticClass:\"grey--text text--darken-3\",staticStyle:{\"font-size\":\"1.15rem\"}},[_vm._v(\" Your phone number is successfully registered with Carriers. This provides reliable delivery and SPAM protection. \")])])],1)],1)],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\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\n\n\n\n\n\n\nimport Brand from '@/types/Brand.interface'\nimport Vue from 'vue'\nexport default Vue.extend({\n props: {\n articleLink: {\n type: String,\n default:\n 'https://learn.messagedesk.com/en/articles/6365302-why-and-how-to-register-your-traffic-to-avoid-failures'\n }\n },\n data() {\n return {\n // Tri-Panel toolbar\n toolbar: {\n title: 'Carrier Registration',\n left: [\n {\n title: 'Back',\n icon: 'mdi-chevron-left',\n back: '/settings',\n tooltip: 'Back',\n permission: 0,\n feature: null\n }\n ],\n right: []\n }\n }\n },\n computed: {\n brand(): Brand {\n return this.$store.getters.brand\n },\n isApp(): boolean {\n return this.$store.getters.isApp\n },\n registered(): boolean {\n // Grab our A2P settings\n const setting = this.$store.getters.settingGet('a2pEnabled')\n\n // Condition depends on existence\n return setting ? true : false\n },\n unregistered(): boolean {\n return !this.brand || window._.isEmpty(this.brand)\n }\n },\n methods: {\n goToArticle(): void {\n window.open(this.articleLink, this.isApp ? '_system' : '_blank')\n },\n popIntercomMessenger(): void {\n // Close help modal component\n this.$store.commit('helpModalSet', false)\n\n // @ts-ignore If we are on the mobile app, then call our Cordova plugin\n if (this.isApp) intercom.displayMessenger()\n // Pops the intercom messenger through the id bound to the hidden span element\n else window.popSupportMessenger()\n },\n popRegisterHelp(): void {\n this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n title: 'Info',\n text: `Registering with the carriers allows for us to verify that you are sending messages for legitimate purposes. This prevents your messages from being blocked when they shouldn't be.\\n
This business information is not to be used for any purpose other than registration. To find out more about registration, visit this article.`,\n icon: 'mdi-help-circle',\n color: 'primary darken-2'\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BrandInfo.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BrandInfo.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BrandInfo.vue?vue&type=template&id=f0b1f502&scoped=true&\"\nimport script from \"./BrandInfo.vue?vue&type=script&lang=ts&\"\nexport * from \"./BrandInfo.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./BrandInfo.vue?vue&type=style&index=0&id=f0b1f502&scoped=true&lang=css&\"\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 \"f0b1f502\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VIcon,VImg,VRow})\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BrandInfo.vue?vue&type=style&index=0&id=f0b1f502&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BrandRegister.vue?vue&type=style&index=0&id=363b304b&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.model)?_c('page-template',{attrs:{\"right-width\":_vm.$vuetify.breakpoint.smAndUp && '20%',\"toolbar\":_vm.toolbar},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('v-row',{staticClass:\"my-4\",attrs:{\"justify\":\"center\"}},[_c('v-icon',{attrs:{\"size\":\"32\"}},[_vm._v(\"mdi-help-circle-outline\")])],1),_c('v-list-item',{staticClass:\"pa-2 justify-center align-center\"},[_c('v-col',[_c('div',{staticClass:\"helper-title\"},[_vm._v(\"Why do I need to add organization info? \")]),_c('div',{staticClass:\"helper-desc\"},[_vm._v(\"Carrier messaging providers need to know who you are and what kinds of messages you'll be sending. Your organization information helps us determine your eligibility for high-volume 10DLC text messaging.\")])])],1),_c('v-divider',{staticClass:\"mx-1\"}),_c('v-list-item',{staticClass:\"pa-2\"},[_c('v-col',[_c('div',{staticClass:\"helper-title\"},[_vm._v(\"Why do I need to add contact details? \")]),_c('div',{staticClass:\"helper-desc\"},[_vm._v(\"Your organization contact details make it possible to verify who you are. We require this information for high-volume messaging eligibility.\")])])],1),_c('v-divider',{staticClass:\"mx-1\"})]},proxy:true}],null,false,2707902428)},[_c('v-row',{staticClass:\"my-4\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"brandForm ma-0 pa-0\",attrs:{\"ma-0\":\"\",\"pa-0\":\"\",\"cols\":\"12\"}},[_c('v-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errorBar),expression:\"errorBar\"}],staticClass:\"mx-6 align-center justify-center\"},[_c('v-alert',{attrs:{\"dense\":\"\",\"type\":\"error\"}},[_vm._v(\" \"+_vm._s(_vm.errorMessage)+\" \")])],1),_c('v-row',[_c('v-col',[_c('v-row',{staticClass:\"pl-8 pb-2\",staticStyle:{\"font-size\":\"1.15rem\"}},[_vm._v(\" Organization Info \")]),_c('app-form',{attrs:{\"inputs\":_vm.brandCompanyInputs,\"model\":_vm.model,\"button\":false,\"formClass\":\"px-4\"},on:{\"change\":_vm.updateModel}})],1)],1),_c('v-row',[_c('v-col',[_c('v-row',{staticClass:\"pl-8 pb-2\",staticStyle:{\"font-size\":\"1.15rem\"}},[_vm._v(\" Organization Address \")]),_c('app-form',{attrs:{\"inputs\":_vm.brandAddressInputs,\"model\":_vm.model,\"button\":false,\"formClass\":\"px-4\",\"autofocus\":false},on:{\"change\":_vm.updateModel}})],1)],1),_c('v-row',[_c('v-col',[_c('v-row',{staticClass:\"pl-8 pb-2\",staticStyle:{\"font-size\":\"1.15rem\"}},[_vm._v(\" Contact Info \")]),_c('app-form',{attrs:{\"inputs\":_vm.brandContactInputs,\"model\":_vm.model,\"button\":false,\"formClass\":\"px-4\",\"autofocus\":false},on:{\"change\":_vm.updateModel}})],1)],1),_c('v-row',{staticClass:\"ma-3\",attrs:{\"justify\":\"center\"}},[_c('v-btn',{staticClass:\"white--text\",attrs:{\"rounded\":\"\",\"color\":\"primary\",\"type\":\"submit\",\"disalbed\":_vm.submitting},on:{\"click\":_vm.submit}},[_vm._v(\" Submit \")])],1)],1)],1)],1):_vm._e()}\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\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\nimport Vue from 'vue'\nimport { mapGetters } from 'vuex'\nimport Brand from '@/types/Brand.interface'\nimport models from '@/mixins/models-mixin'\nimport StockExchange from '@/types/StockExchange.interface'\nimport Input from '@/types/Input.interface'\nexport default Vue.extend({\n mixins: [models],\n data() {\n return {\n // The model we are updating\n model: null,\n // Our proper named field map\n properMap: {\n city: 'City',\n company_name: 'Company Name',\n company_type: 'Company Type',\n company_status: 'Company Status',\n contact_email: 'Email',\n contact_name: 'Contact Name',\n contact_phone_number: 'Mobile Phone',\n country: 'Country',\n line1: 'Address Line 1',\n postal_code: 'Zip/Postal Code',\n tax_id: 'Tax Number/ID/EIN',\n vertical: 'Vertical Type',\n website: 'Website'\n },\n // Our required fields\n required: [\n 'city',\n 'comapny_name',\n 'company_type',\n 'comapny_status',\n 'contact_email',\n 'contact_name',\n 'contact_phone_number',\n 'country',\n 'line1',\n 'postal_code',\n 'tax_id',\n 'vertical',\n 'website'\n ],\n // The company status, determines if stock inputs are enabled\n status: null,\n // Tri-Panel toolbar\n toolbar: {\n title: '10DLC Registration',\n left: [\n {\n title: 'Back',\n icon: 'mdi-chevron-left',\n back: '/settings',\n tooltip: 'Back',\n permission: 0,\n feature: null\n }\n ],\n right: []\n },\n // Determines if the error bar is shown\n errorBar: false,\n // Variables in the error bar\n errorVars: [],\n // Boolean flag to determine if we are currently submitting\n submitting: false\n }\n },\n mounted() {\n // If the tenant is already registered, go back to info page\n if (this.brand) return this.$router.push('/brand-info')\n\n // Else, initialize our brand\n this.model = this.newBrand()\n },\n computed: {\n ...mapGetters([\n 'brand',\n 'brandAddressInputs',\n 'brandContactInputs',\n 'stockExchanges',\n 'tenant',\n 'user'\n ]),\n brandCompanyInputs(): object {\n // Stocks are enabled if the status of the company is public\n const stockEnabled = this.status === 'Public'\n\n // Get all the stock exchanges\n const exchanges = this.stockExchanges.map((x: StockExchange) => x.exchange)\n\n // Grab our inputs function\n const inputs = this.$store.getters.brandCompanyInputs\n\n // Retrieve the brand company inputs for this current brand\n return inputs(this.model, exchanges, !stockEnabled)\n },\n errorMessage(): string {\n return `Missing the following values: ${this.errorVars.join(', ')}`\n }\n },\n methods: {\n newBrand(): Brand {\n // Return all of our new brand input fields\n return {\n company_type: null,\n company_status: null,\n company_name: null,\n dba: null,\n website: null,\n tax_id: null,\n alt_business_id_type: null,\n alt_business_id: null,\n alt_business_name: null,\n vertical: null,\n line1: null,\n line2: null,\n country: null,\n city: null,\n postal_code: null,\n state: null,\n region: null,\n stock_symbol: null,\n stock_exchange: null,\n contact_name: null,\n contact_email: null,\n contact_phone_number: null\n }\n },\n updateModel(input: Input, val: any): void {\n // If the input does not contain the method path, return.\n if (input?.path == null) return\n\n // If the company status (Private or Public) changes, update the status\n if (input.path === 'company_status') this.status = val\n\n // Set the value at the path\n this.model[input.path] = val\n },\n async submit(): Promise {\n // Start the submitting flag\n this.submitting = true\n\n // Check if the model is valid\n const valid = this.validateSubmition(this.model)\n\n // If it is not valid do nothing\n if (!valid) {\n this.submitting = false\n return\n }\n\n // Attatch the tenant id to the request\n this.model.tenant_id = this.tenant.id\n\n // If the tenant's organization is public, ensure that they don't submit an invalid stock symbol and exchange\n if (this.model.company_status !== 'Public') {\n this.model.stock_symbol = null\n this.model.stock_exchange = null\n }\n\n // Convert country labels to short codes\n if (this.model.country === 'United States') this.model.country = 'US'\n else if (this.model.country === 'Canada') this.model.country = 'CA'\n\n // Attatch the tenant id to the request\n this.model.tenant_id = this.tenant.id\n\n // If the tenant's organization is public, ensure that they don't submit an invalid stock symbol and exchange\n if (this.model.company_status !== 'Public') {\n this.model.stock_symbol = null\n this.model.stock_exchange = null\n }\n\n // Convert country labels to short codes\n if (this.model.country === 'United States') this.model.country = 'US'\n else if (this.model.country === 'Canada') this.model.country = 'CA'\n\n // Else, send the delete request to the API\n const resp = await this.$store.dispatch('brandPost', this.model)\n\n // Regardless of result, stop submitting flag\n this.submitting = false\n\n // If the request failed, do nothing\n if (!resp) return\n\n // Our intercom event metadata\n const metadata = {\n user_id: this.user.id,\n email: this.user.email,\n tenant_id: this.tenant.id\n }\n\n // Report event to Intercom\n window.Intercom('trackEvent', 'a2pRegistrationSubmission', metadata)\n\n // Go back to brand-info route to see pending\n this.$router.push('/brand-info')\n },\n validateSubmition(model: Brand): boolean {\n // Container for missing fields\n const missingFields = []\n\n // Create our clone that we want to validate fields on\n const vModel = window._.pick(model, this.required) as Brand\n\n // Iterate through our vModel to see if fields are valid\n for (const [key, val] of Object.entries(vModel)) {\n // If we have a value set, then continue\n if (val) continue\n\n // Else, this field must be nullish so get the proper name of this field\n let proper = this.properMap[key]\n\n // Add this to our missing fields\n missingFields.push(proper)\n }\n\n // Check if the brand is in the united states\n const unitedStates =\n model.country === 'United States' || model.country === 'US'\n\n // Check if a state was picked\n const missingState = !model.state || !model.state.length\n\n // Check if the brand is in Canada\n const canada = model.country === 'Canada' || model.country === 'CA'\n\n // Check if a region is missing\n const missingRegion = !model.region || !model.region.length\n\n // If the user is in the united states but has NOT picked a state, add state to missing fields\n if (unitedStates && missingState) missingFields.push('State')\n // Else if the user is in Canada but didn't pick a region, add region to missing fields\n else if (canada && missingRegion) missingFields.push('Region/Province')\n\n // If there are NOT missing fields then just hide our warning and return\n if (!missingFields.length) {\n this.errorBar = false\n return true\n }\n\n // If there are missing fields, display the warning\n this.errorVars = [...missingFields]\n this.errorBar = true\n return false\n }\n },\n watch: {\n // If the brand loads go back to the info page\n brand(): void {\n if (this.brand) this.$router.push('/brand-info')\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BrandRegister.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BrandRegister.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BrandRegister.vue?vue&type=template&id=363b304b&scoped=true&\"\nimport script from \"./BrandRegister.vue?vue&type=script&lang=ts&\"\nexport * from \"./BrandRegister.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./BrandRegister.vue?vue&type=style&index=0&id=363b304b&scoped=true&lang=css&\"\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 \"363b304b\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VAlert,VBtn,VCol,VDivider,VIcon,VListItem,VRow})\n"],"sourceRoot":""}