{"version":3,"sources":["webpack:///./src/views/companysetting/CompanyIntegrationSetting.vue","webpack:///src/views/companysetting/CompanyIntegrationSetting.vue","webpack:///./src/views/companysetting/CompanyIntegrationSetting.vue?59f0","webpack:///./src/views/companysetting/CompanyIntegrationSetting.vue?1542","webpack:///./node_modules/lodash/now.js","webpack:///./node_modules/lodash/_trimmedEndIndex.js","webpack:///./src/views/companysetting/storeMixin.js","webpack:///./node_modules/lodash/_baseTrim.js","webpack:///./node_modules/lodash/debounce.js","webpack:///./node_modules/lodash/toNumber.js","webpack:///./src/views/companysetting/CompanyIntegrationSetting.vue?c59c"],"names":["render","_vm","this","_c","_self","$userInfo","isSupportUser","isCustomerAdministrator","staticClass","_m","hasError","showSavingStatus","toastNotificationEnabled","_e","saving","staticStyle","class","_v","_s","savingStatus","_l","companyExternalSettings","companyExternalSetting","index","key","activeTabIndex","on","$event","settingName","activeCompanyExternalSetting","$options","columns","left","column","label","directives","name","rawName","value","expression","attrs","requirePasswordGeneration","isDiable","domProps","target","composing","$set","randomPassword","right","isEstimageSettingPage","connectEstimage","property4","$filters","formatDateTimeLocale","dateTimeToLocal","modifiedDate","locale","staticRenderFns","mixins","data","autoUpdate","timeOutId","lastModified","computed","externalSettingTypes","isEstimageEnabledLabel","watch","handler","entity","deep","val","console","created","_cloneDeep","serviceFunction","methods","datetime","disableAutoUpdate","disableFetchEstimageSetting","fetchEstimageSetting","settings","stopFetchEstimageSetting","clearTimeout","initializeAutoUpdate","length","nonAlphaLength","pass","updateExternalSetting","externalSetting","item","baseItem","diff","DeepDiff","popupWindow","url","windowName","win","w","h","y","x","isTest","EstImageService","estImageConfig","estImageUrl","estimageClientId","window","beforeRouteLeave","to","from","next","component","root","now","Date","module","exports","reWhitespace","trimmedEndIndex","string","test","charAt","moduleName","mapGetters","baseSnapshot","currentSnapshot","snapshotDiff","snapshots","$notification","error","setTimeout","mapActions","openToastNotification","success","reTrimStart","baseTrim","slice","replace","isObject","toNumber","FUNC_ERROR_TEXT","nativeMax","Math","max","nativeMin","min","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","undefined","apply","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","flush","debounced","isInvoking","arguments","isSymbol","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","other","valueOf","isBinary"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAAEF,EAAII,UAAUC,eAAiBL,EAAII,UAAUE,wBAAyBJ,EAAG,MAAM,CAACK,YAAY,uBAAuB,CAACL,EAAG,UAAU,CAACK,YAAY,qBAAqB,CAACL,EAAG,MAAM,CAACK,YAAY,yCAAyC,CAACP,EAAIQ,GAAG,GAAKR,EAAIS,WAAYT,EAAIU,kBAAqBV,EAAIW,yBAAsdX,EAAIY,KAAhcV,EAAG,MAAM,CAACK,YAAY,oEAAoE,CAAEP,EAAIa,OAAQX,EAAG,OAAO,CAACK,YAAY,6BAA6BO,YAAY,CAAC,OAAS,UAAUZ,EAAG,OAAO,CAACK,YAAY,yBAAyB,CAACL,EAAG,IAAI,CAACK,YAAY,sDAAsDL,EAAG,OAAO,CAACK,YAAY,YAAYQ,MAAMf,EAAIa,OAAS,mBAAqB,oBAAoB,CAACb,EAAIgB,GAAGhB,EAAIiB,GAAGjB,EAAIkB,qBAA8BhB,EAAG,MAAM,CAACK,YAAY,SAAS,CAACL,EAAG,MAAM,CAACK,YAAY,iBAAiB,CAACL,EAAG,KAAKF,EAAImB,GAAInB,EAAIoB,yBAAyB,SAASC,EAAuBC,GAAO,OAAOpB,EAAG,KAAK,CAACqB,IAAID,EAAMP,MAAM,CAAE,YAAcf,EAAIwB,iBAAmBF,IAAS,CAACpB,EAAG,IAAI,CAACuB,GAAG,CAAC,MAA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lF,GAC/B,OAAQuJ,GAAYL,EAAUhE,KAAKlF,GAC/BmJ,EAAanJ,EAAMkG,MAAM,GAAIqD,EAAW,EAAI,GAC3CP,EAAW9D,KAAKlF,GAAS+I,GAAO/I,EAGvC6E,EAAOC,QAAUuB,G,kCC/DjB,W","file":"static/js/chunk-35941bd2.76d8564a.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.$userInfo.isSupportUser || _vm.$userInfo.isCustomerAdministrator)?_c('div',{staticClass:\"tile is-parent pl-1\"},[_c('article',{staticClass:\"tile is-child box\"},[_c('div',{staticClass:\"columns is-flex is-align-items-center\"},[_vm._m(0),(!_vm.hasError && _vm.showSavingStatus && !_vm.toastNotificationEnabled)?_c('div',{staticClass:\"column is-flex is-justify-content-flex-end is-align-items-center\"},[(_vm.saving)?_c('span',{staticClass:\"button is-loading is-white\",staticStyle:{\"height\":\"27px\"}}):_c('span',{staticClass:\"text has-text-success\"},[_c('i',{staticClass:\"mdi mdi-checkbox-marked-circle-outline mdi-18px\"})]),_c('span',{staticClass:\"is-size-6\",class:_vm.saving ? 'has-text-warning' : 'has-text-success'},[_vm._v(_vm._s(_vm.savingStatus))])]):_vm._e()]),_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"tabs is-boxed\"},[_c('ul',_vm._l((_vm.companyExternalSettings),function(companyExternalSetting,index){return _c('li',{key:index,class:{ 'is-active' : _vm.activeTabIndex === index }},[_c('a',{on:{\"click\":function($event){_vm.activeTabIndex = index}}},[_vm._v(_vm._s(companyExternalSetting.settingName))])])}),0)])]),(_vm.activeCompanyExternalSetting)?_c('div',{staticClass:\"field columns\"},[_c('div',{staticClass:\"column is-half\"},_vm._l((_vm.$options.columns.left),function(column,index){return _c('div',{key:index,staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(_vm._s(_vm.activeCompanyExternalSetting[column.label]))]),_c('div',{staticClass:\"field has-addons\"},[_c('div',{staticClass:\"control is-expanded\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.activeCompanyExternalSetting[column.value]),expression:\"activeCompanyExternalSetting[column.value]\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"disabled\":_vm.requirePasswordGeneration(column) || _vm.isDiable(column)},domProps:{\"value\":(_vm.activeCompanyExternalSetting[column.value])},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.activeCompanyExternalSetting, column.value, $event.target.value)}}})]),(_vm.requirePasswordGeneration(column))?_c('p',{staticClass:\"control\"},[_c('button',{staticClass:\"button is-primary\",on:{\"click\":function($event){return _vm.randomPassword(32, 6)}}},[_vm._v(\" Generate \")])]):_vm._e()])])}),0),_c('div',{staticClass:\"column is-half\"},_vm._l((_vm.$options.columns.right),function(column,index){return _c('div',{key:index,staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(_vm._s(_vm.activeCompanyExternalSetting[column.label])+\" \"),(_vm.isEstimageSettingPage && _vm.activeCompanyExternalSetting[column.label] === 'Enable Estimage Online')?_c('span',{staticClass:\"has-text-weight-normal is-italic is-size-7\"},[_vm._v(\" (Note: \"),(_vm.$userInfo.isSupportUser)?_c('span',[_c('span',{staticClass:\"has-text-weight-bold\"},[_vm._v(\"2\")]),_vm._v(\" = Test, \")]):_vm._e(),_c('span',{staticClass:\"has-text-weight-bold\"},[_vm._v(\"1\")]),_vm._v(\" = On and \"),_c('span',{staticClass:\"has-text-weight-bold\"},[_vm._v(\"0\")]),_vm._v(\" = Off) \")]):_vm._e()]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.activeCompanyExternalSetting[column.value]),expression:\"activeCompanyExternalSetting[column.value]\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"disabled\":_vm.requirePasswordGeneration(column) || _vm.isDiable(column)},domProps:{\"value\":(_vm.activeCompanyExternalSetting[column.value])},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.activeCompanyExternalSetting, column.value, $event.target.value)}}})])}),0)]):_vm._e(),(_vm.isEstimageSettingPage)?_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-half\"},[_c('div',{staticClass:\"flex-row\"},[_c('div',{staticClass:\"mr-4\"},[_c('button',{staticClass:\"button is-primary\",on:{\"click\":function($event){return _vm.connectEstimage(false)}}},[_vm._m(1),_c('span',[(_vm.activeCompanyExternalSetting.property4 === '1')?_c('span',[_vm._v(\"Re-\")]):_vm._e(),_vm._v(\"Connect to Estimage\")])]),(_vm.activeCompanyExternalSetting.property4 === '1')?_c('span',{staticClass:\"help is-italic has-text-grey\"},[_vm._v(\"Last connected: \"+_vm._s(_vm.$filters.formatDateTimeLocale(_vm.dateTimeToLocal(_vm.activeCompanyExternalSetting.modifiedDate), _vm.$userInfo.locale))+\" \")]):_vm._e()]),(_vm.$userInfo.isSupportUser)?_c('div',{staticClass:\"mr-4\"},[_c('button',{staticClass:\"button is-primary\",on:{\"click\":function($event){return _vm.connectEstimage(true)}}},[_vm._m(2),_c('span',[(_vm.activeCompanyExternalSetting.property4 === '2')?_c('span',[_vm._v(\"Re-\")]):_vm._e(),_vm._v(\"Connect to Test Estimage\")])]),(_vm.activeCompanyExternalSetting.property4 === '2')?_c('span',{staticClass:\"help is-italic has-text-grey\"},[_vm._v(\"Last connected: \"+_vm._s(_vm.$filters.formatDateTimeLocale(_vm.dateTimeToLocal(_vm.activeCompanyExternalSetting.modifiedDate), _vm.$userInfo.locale))+\" \")]):_vm._e()]):_vm._e()])]),_vm._m(3)]):_vm._e()])]):_c('div',{staticClass:\"is-flex is-justify-content-center pt-5\"},[_c('div',{staticClass:\"notification is-danger is-flex is-justify-content-center is-size-4\",staticStyle:{\"width\":\"50%\"}},[_vm._v(\" You do not have permissions on this page \")])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"column\"},[_c('p',{staticClass:\"title\"},[_vm._v(\"Integration\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"mdi mdi-cached mdi-18px\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"mdi mdi-cached mdi-18px\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"column is-half is-flex is-justify-content-right is-align-items-center\"},[_c('span',{staticClass:\"icon is-small has-text-primary mr-1\"},[_c('i',{staticClass:\"mdi mdi-18px mdi-information-outline\"})]),_c('span',{staticClass:\"help is-primary is-italic\"},[_vm._v(\"Reconnection may periodically be required.\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\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!./CompanyIntegrationSetting.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!./CompanyIntegrationSetting.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CompanyIntegrationSetting.vue?vue&type=template&id=128b06ba&scoped=true\"\nimport script from \"./CompanyIntegrationSetting.vue?vue&type=script&lang=js\"\nexport * from \"./CompanyIntegrationSetting.vue?vue&type=script&lang=js\"\nimport style0 from \"./CompanyIntegrationSetting.vue?vue&type=style&index=0&id=128b06ba&prod&lang=scss&scoped=true\"\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 \"128b06ba\",\n null\n \n)\n\nexport default component.exports","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","import { mapGetters, mapActions } from 'vuex'\n\nconst moduleName = 'companysetting'\n\nexport default {\n data() {\n return {\n savingStatus: null,\n showSavingStatus: false,\n toastNotificationEnabled: false\n }\n },\n computed: {\n ...mapGetters(moduleName, {\n baseSnapshot: 'baseSnapshot',\n currentSnapshot: 'currentSnapshot',\n hasError: 'hasError',\n saving: 'saving',\n snapshotDiff: 'snapshotDiff',\n snapshots: 'snapshots'\n }),\n ...mapGetters([\n 'debounceDelay'\n ])\n },\n watch: {\n hasError(val) {\n if (val) {\n this.$notification.error('','Save Failed')\n // this.$toast.open({\n // message: 'Save Failed',\n // type: 'is-danger',\n // duration: 3000\n // })\n }\n },\n saving(val) {\n if (!this.toastNotificationEnabled) {\n this.showSavingStatus = true\n }\n this.savingStatus = val ? 'Saving ...' : 'Saved'\n !this.hasError && !val && setTimeout(() => {\n this.showSavingStatus = false\n }, 5000)\n }\n },\n methods: {\n ...mapActions(moduleName, ['getStoreItem', 'editStoreItem',\n 'clearSnapshots', 'saveSnapshot']),\n\n openToastNotification() {\n if (!this.hasError) {\n this.$notification.success('','Information has been successfully saved')\n\n // this.$toast.open({\n // message: 'Information has been successfully saved',\n // type: 'is-success',\n // duration: 3000\n // })\n }\n }\n }\n}\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\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!./CompanyIntegrationSetting.vue?vue&type=style&index=0&id=128b06ba&prod&lang=scss&scoped=true\""],"sourceRoot":""}