{"version":3,"sources":["webpack:///./node_modules/lodash/now.js","webpack:///./node_modules/lodash/_trimmedEndIndex.js","webpack:///./src/views/companysetting/CompanyEmailSetting.vue","webpack:///src/views/companysetting/CompanyEmailSetting.vue","webpack:///./src/views/companysetting/CompanyEmailSetting.vue?ca4c","webpack:///./src/views/companysetting/CompanyEmailSetting.vue?a017","webpack:///./src/views/companysetting/storeMixin.js","webpack:///./src/components/VueDropzone/index.js","webpack:///./src/views/companysetting/CompanyEmailSetting.vue?1345","webpack:///./node_modules/lodash/_baseTrim.js","webpack:///./src/views/companysetting/CompanyEmailSetting.vue?eb3d","webpack:///./node_modules/lodash/debounce.js","webpack:///./node_modules/lodash/toNumber.js"],"names":["root","now","Date","module","exports","reWhitespace","trimmedEndIndex","string","index","length","test","charAt","render","_vm","this","_c","_self","$userInfo","isSupportUser","isCustomerAdministrator","staticClass","_m","hasError","showSavingStatus","toastNotificationEnabled","_e","saving","staticStyle","class","_v","_s","savingStatus","directives","name","rawName","value","companySetting","eSetDisplayName","expression","attrs","domProps","on","$event","target","composing","$set","$v","$dirty","required","eSetEmail","email","emailSignatureImage","removeImage","ref","dropzoneOptions","dropzoneMounted","dropzoneSuccess","dropzoneError","isConfirmModalActive","deleteImage","slot","staticRenderFns","components","ConfirmModal","VueDropzone","mixins","data","url","thumbnailWidth","thumbnailHeight","addRemoveLinks","maxFilesize","maxFiles","acceptedFiles","headers","Authorization","dictDefaultMessage","dictMaxFilesExceeded","dictResponseError","computed","watch","handler","entity","deep","created","_cloneDeep","serviceFunction","methods","deleteConfirmed","tmpCompanySetting","disableAutoUpdate","file","response","message","xhr","initializeAutoUpdate","updateEmailSetting","validations","beforeRouteLeave","to","from","next","component","moduleName","mapGetters","baseSnapshot","currentSnapshot","snapshotDiff","snapshots","val","$notification","error","setTimeout","mapActions","openToastNotification","success","r","require","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","clearTimeout","flush","debounced","isInvoking","arguments","isSymbol","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","other","valueOf","isBinary"],"mappings":"qGAAA,IAAIA,EAAO,EAAQ,QAkBfC,EAAM,WACR,OAAOD,EAAKE,KAAKD,OAGnBE,EAAOC,QAAUH,G,qBCrBjB,IAAII,EAAe,KAUnB,SAASC,EAAgBC,GACvB,IAAIC,EAAQD,EAAOE,OAEnB,MAAOD,KAAWH,EAAaK,KAAKH,EAAOI,OAAOH,KAClD,OAAOA,EAGTL,EAAOC,QAAUE,G,yCClBjB,IAAIM,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,WAAW,CAACL,EAAG,M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unk-57df80a7.555f1108.js","sourcesContent":["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","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:\"columns\"},[_c('div',{staticClass:\"column is-half\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Display Name\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.companySetting.eSetDisplayName),expression:\"companySetting.eSetDisplayName\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"placeholder\":\"Company Name\"},domProps:{\"value\":(_vm.companySetting.eSetDisplayName)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.companySetting, \"eSetDisplayName\", $event.target.value)}}}),(_vm.$v.companySetting.eSetDisplayName.$dirty && !_vm.$v.companySetting.eSetDisplayName.required)?_c('span',{staticClass:\"help is-danger\"},[_vm._v(\"Name Required \")]):_vm._e()])]),_c('div',{staticClass:\"column is-half\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Display Email\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.companySetting.eSetEmail),expression:\"companySetting.eSetEmail\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"placeholder\":\"Company Email\"},domProps:{\"value\":(_vm.companySetting.eSetEmail)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.companySetting, \"eSetEmail\", $event.target.value)}}}),(_vm.$v.companySetting.eSetEmail.$dirty && !_vm.$v.companySetting.eSetEmail.required)?_c('span',{staticClass:\"help is-danger\"},[_vm._v(\"Email Required \")]):_vm._e(),(!_vm.$v.companySetting.eSetEmail.email)?_c('span',{staticClass:\"help is-danger\"},[_vm._v(\"Please enter a valid email \")]):_vm._e()])])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label mb-3\"},[_vm._v(\"Company Signature Image\")]),(_vm.emailSignatureImage)?_c('div',{staticClass:\"is-flex is-align-items-center\"},[_c('img',{staticClass:\"emailSignature mr-5\",attrs:{\"src\":_vm.emailSignatureImage,\"alt\":\"Company Email Signature Image\"}}),_c('button',{staticClass:\"button has-text-danger\",attrs:{\"title\":\"Delete\"},on:{\"click\":_vm.removeImage}},[_c('i',{staticClass:\"icon mdi mdi-delete mdi-24px\"})])]):_c('div',[_c('vue-dropzone',{ref:\"emailSignatureDropzone\",attrs:{\"id\":'emailSignatureDropzone',\"options\":_vm.dropzoneOptions},on:{\"vdropzone-mounted\":_vm.dropzoneMounted,\"vdropzone-success\":_vm.dropzoneSuccess,\"vdropzone-error\":_vm.dropzoneError}}),_c('p',{staticClass:\"text is-size-7 is-italic\"},[_vm._v(\"Note: Maximum image file size is 100KB. One file only.\")])],1)]),(_vm.emailSignatureImage)?_c('confirm-modal',{attrs:{\"active\":_vm.isConfirmModalActive,\"ok-text\":'Yes',\"cancel-text\":'No'},on:{\"update:active\":function($event){_vm.isConfirmModalActive=$event},\"ok\":function($event){return _vm.deleteImage(true)},\"cancel\":function($event){return _vm.deleteImage(false)}}},[_c('p',{attrs:{\"slot\":\"text-title\"},slot:\"text-title\"},[_vm._v(\"Delete Company Signature Image\")]),_c('p',{attrs:{\"slot\":\"text-content\"},slot:\"text-content\"},[_vm._v(\" Company Signature Image will be deleted. Continue? \")])]):_vm._e()],1)]):_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(\"Two-Way Emails\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\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!./CompanyEmailSetting.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!./CompanyEmailSetting.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CompanyEmailSetting.vue?vue&type=template&id=5d336bda&scoped=true\"\nimport script from \"./CompanyEmailSetting.vue?vue&type=script&lang=js\"\nexport * from \"./CompanyEmailSetting.vue?vue&type=script&lang=js\"\nimport style0 from \"./CompanyEmailSetting.vue?vue&type=style&index=0&id=5d336bda&prod&lang=scss&scoped=true\"\nimport style1 from \"./CompanyEmailSetting.vue?vue&type=style&index=1&id=5d336bda&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 \"5d336bda\",\n null\n \n)\n\nexport default component.exports","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","// import VueDropzone from './VueDropzone'\nconst VueDropzone = r => require.ensure([], () => r(require('./VueDropzone.vue')), 'dropzone-components-chunk')\n\nexport default VueDropzone\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!./CompanyEmailSetting.vue?vue&type=style&index=0&id=5d336bda&prod&lang=scss&scoped=true\"","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","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!./CompanyEmailSetting.vue?vue&type=style&index=1&id=5d336bda&prod&lang=scss\"","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"],"sourceRoot":""}