module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ 		}
/******/ 	};
/******/
/******/ 	// define __esModule on exports
/******/ 	__webpack_require__.r = function(exports) {
/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 		}
/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
/******/ 	};
/******/
/******/ 	// create a fake namespace object
/******/ 	// mode & 1: value is a module id, require it
/******/ 	// mode & 2: merge all properties of value into the ns
/******/ 	// mode & 4: return value when already ns object
/******/ 	// mode & 8|1: behave like require
/******/ 	__webpack_require__.t = function(value, mode) {
/******/ 		if(mode & 1) value = __webpack_require__(value);
/******/ 		if(mode & 8) return value;
/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ 		var ns = Object.create(null);
/******/ 		__webpack_require__.r(ns);
/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ 		return ns;
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "lib/mapboxgl/";
/******/
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = 909);
/******/ })
/************************************************************************/
/******/ ({

/***/ 0:
/***/ (function(module, exports) {

module.exports = require("@babel/runtime/helpers/interopRequireDefault");

/***/ }),

/***/ 12:
/***/ (function(module, exports) {

module.exports = require("@supermap/vue-iclient-mapboxgl/lib/_utils/util.js");

/***/ }),

/***/ 19:
/***/ (function(module, exports) {

module.exports = require("lodash.clonedeep");

/***/ }),

/***/ 909:
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var _interopRequireDefault = __webpack_require__(0);
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.handleMultiGradient = exports.getMultiColorGroup = exports.chartThemeUtil = void 0;
var _util = __webpack_require__(12);
var _lodash = _interopRequireDefault(__webpack_require__(19));
var handleMultiGradient = exports.handleMultiGradient = function handleMultiGradient(colorGroupsData, dataLength) {
  var startColors = [];
  var endColors = [];
  var startColorGroups = [];
  var endColorGroups = [];
  var results = [];
  colorGroupsData.forEach(function (colorInfo) {
    startColors.push(colorInfo.colorStops[0].color);
    endColors.push(colorInfo.colorStops[1].color);
  });
  startColorGroups = SuperMap.ColorsPickerUtil.getGradientColors(startColors, dataLength, 'RANGE');
  endColorGroups = SuperMap.ColorsPickerUtil.getGradientColors(endColors, dataLength, 'RANGE');
  for (var i = 0; i < dataLength; i++) {
    var colorGroupDataCopy = (0, _lodash.default)(colorGroupsData[0]);
    colorGroupDataCopy.colorStops = [{
      offset: 0,
      color: startColorGroups[i]
    }, {
      offset: 1,
      color: endColorGroups[i]
    }];
    results.push(colorGroupDataCopy);
  }
  return results;
};
var getMultiColorGroup = exports.getMultiColorGroup = function getMultiColorGroup(colorGroup, dataNumber) {
  var nextColorGroup;
  // 是否需要产生分段颜色值
  if (colorGroup && dataNumber > colorGroup.length && typeof colorGroup[0] === 'object') {
    nextColorGroup = handleMultiGradient(colorGroup, dataNumber);
  } else {
    nextColorGroup = SuperMap.ColorsPickerUtil.getGradientColors(colorGroup, dataNumber, 'RANGE');
  }
  return nextColorGroup;
};
var chartThemeUtil = exports.chartThemeUtil = function chartThemeUtil(background, textColor, colorGroup, dataNumber) {
  if (background === void 0) {
    background = 'rgba(255, 255, 255, 0.6)';
  }
  if (textColor === void 0) {
    textColor = '#333';
  }
  if (colorGroup === void 0) {
    colorGroup = ['#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad', '#96dee8'];
  }
  colorGroup = getMultiColorGroup(colorGroup, dataNumber);
  var chartTheme = {
    color: colorGroup,
    backgroundColor: background,
    textStyle: {},
    title: {
      textStyle: {
        color: textColor
      },
      subtextStyle: {
        color: '#999999'
      }
    },
    line: {
      itemStyle: {
        normal: {
          borderWidth: '2'
        }
      },
      lineStyle: {
        normal: {
          width: '3'
        }
      },
      symbolSize: '8',
      symbol: 'emptyCircle',
      smooth: false
    },
    radar: {
      name: {
        textStyle: {
          color: textColor
        }
      },
      lineStyle: {
        normal: {
          width: '3',
          color: textColor
        }
      },
      splitLine: {
        lineStyle: {
          color: [(0, _util.getColorWithOpacity)(textColor, 1), (0, _util.getColorWithOpacity)(textColor, 0.8), (0, _util.getColorWithOpacity)(textColor, 0.6), (0, _util.getColorWithOpacity)(textColor, 0.4), (0, _util.getColorWithOpacity)(textColor, 0.2), (0, _util.getColorWithOpacity)(textColor, 0.1)]
        }
      },
      axisLine: {
        lineStyle: {
          color: (0, _util.getColorWithOpacity)(textColor, 0.3)
        }
      },
      symbolSize: '8',
      symbol: 'emptyCircle',
      smooth: false
      // 'radius': '63%'
    },

    bar: {
      itemStyle: {
        normal: {
          barBorderWidth: 0,
          barBorderColor: '#cccccc'
        },
        emphasis: {
          barBorderWidth: 0,
          barBorderColor: '#cccccc'
        }
      }
    },
    pie: {
      itemStyle: {
        normal: {
          borderWidth: 0,
          borderColor: '#cccccc'
        },
        emphasis: {
          borderWidth: 0,
          borderColor: '#cccccc'
        }
      },
      radius: '63%'
    },
    scatter: {
      itemStyle: {
        normal: {
          borderWidth: 0,
          borderColor: '#cccccc'
        },
        emphasis: {
          borderWidth: 0,
          borderColor: '#cccccc'
        }
      }
    },
    boxplot: {
      itemStyle: {
        normal: {
          borderWidth: 0,
          borderColor: '#cccccc'
        },
        emphasis: {
          borderWidth: 0,
          borderColor: '#cccccc'
        }
      }
    },
    parallel: {
      itemStyle: {
        normal: {
          borderWidth: 0,
          borderColor: '#cccccc'
        },
        emphasis: {
          borderWidth: 0,
          borderColor: '#cccccc'
        }
      }
    },
    sankey: {
      itemStyle: {
        normal: {
          borderWidth: 0,
          borderColor: '#cccccc'
        },
        emphasis: {
          borderWidth: 0,
          borderColor: '#cccccc'
        }
      }
    },
    funnel: {
      itemStyle: {
        normal: {
          borderWidth: 0,
          borderColor: '#cccccc'
        },
        emphasis: {
          borderWidth: 0,
          borderColor: '#cccccc'
        }
      }
    },
    gauge: {
      axisLine: {
        // 坐标轴线
        lineStyle: {
          // 属性lineStyle控制线条样式
          color: [[0.2, colorGroup[0]], [0.8, colorGroup[1]], [1, colorGroup[2]]]
        }
      },
      itemStyle: {
        normal: {
          borderWidth: 0,
          borderColor: '#cccccc'
        },
        emphasis: {
          borderWidth: 0,
          borderColor: '#cccccc'
        }
      }
    },
    candlestick: {
      itemStyle: {
        normal: {
          color: '#e6a0d2',
          color0: 'transparent',
          borderColor: '#e6a0d2',
          borderColor0: '#3fb1e3',
          borderWidth: '2'
        }
      }
    },
    graph: {
      itemStyle: {
        normal: {
          borderWidth: 0,
          borderColor: '#cccccc'
        }
      },
      lineStyle: {
        normal: {
          width: '1',
          color: '#cccccc'
        }
      },
      symbolSize: '8',
      symbol: 'emptyCircle',
      smooth: false,
      color: colorGroup,
      label: {
        normal: {
          textStyle: {
            color: '#ffffff'
          }
        }
      }
    },
    map: {
      itemStyle: {
        normal: {
          areaColor: '#eeeeee',
          borderColor: '#aaaaaa',
          borderWidth: 0.5
        },
        emphasis: {
          areaColor: 'rgba(63,177,227,0.25)',
          borderColor: '#3fb1e3',
          borderWidth: 1
        }
      },
      label: {
        normal: {
          textStyle: {
            color: '#ffffff'
          }
        },
        emphasis: {
          textStyle: {
            color: 'rgb(63,177,227)'
          }
        }
      }
    },
    geo: {
      itemStyle: {
        normal: {
          areaColor: '#eeeeee',
          borderColor: '#aaaaaa',
          borderWidth: 0.5
        },
        emphasis: {
          areaColor: 'rgba(63,177,227,0.25)',
          borderColor: '#3fb1e3',
          borderWidth: 1
        }
      },
      label: {
        normal: {
          textStyle: {
            color: '#ffffff'
          }
        },
        emphasis: {
          textStyle: {
            color: 'rgb(63,177,227)'
          }
        }
      }
    },
    categoryAxis: {
      axisLine: {
        show: true,
        lineStyle: {
          color: textColor
        }
      },
      axisTick: {
        show: true,
        lineStyle: {
          color: textColor
        }
      },
      axisLabel: {
        show: true,
        rotate: -45,
        interval: 'auto',
        textStyle: {
          color: textColor
        }
      },
      splitLine: {
        show: false,
        lineStyle: {
          color: ['#eeeeee']
        }
      },
      splitArea: {
        show: false,
        areaStyle: {
          color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)']
        }
      },
      nameTextStyle: {
        fontSize: 14
      }
    },
    valueAxis: {
      axisLine: {
        show: true,
        lineStyle: {
          color: textColor
        }
      },
      axisTick: {
        show: true,
        lineStyle: {
          color: textColor
        }
      },
      axisLabel: {
        show: true,
        rotate: 45,
        interval: 'auto',
        textStyle: {
          color: textColor
        }
      },
      splitLine: {
        show: false,
        lineStyle: {
          color: ['#eeeeee']
        }
      },
      splitArea: {
        show: true
        // 'areaStyle': {
        //   'color': [
        //     'rgba(237,237,236,1)',
        //     'rgba(252,252,251,1)'
        //   ]
        // }
      },

      nameTextStyle: {
        fontSize: 14
      }
    },
    logAxis: {
      axisLine: {
        show: true,
        lineStyle: {
          color: textColor
        }
      },
      axisTick: {
        show: false,
        lineStyle: {
          color: textColor
        }
      },
      axisLabel: {
        show: true,
        textStyle: {
          color: textColor
        }
      },
      splitLine: {
        show: true,
        lineStyle: {
          color: [textColor]
        }
      },
      splitArea: {
        show: false,
        areaStyle: {
          color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)']
        }
      }
    },
    timeAxis: {
      axisLine: {
        show: true,
        lineStyle: {
          color: textColor
        }
      },
      axisTick: {
        show: false,
        lineStyle: {
          color: textColor
        }
      },
      axisLabel: {
        show: true,
        textStyle: {
          color: textColor
        }
      },
      splitLine: {
        show: true,
        lineStyle: {
          color: [textColor]
        }
      },
      splitArea: {
        show: false,
        areaStyle: {
          color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)']
        }
      }
    },
    toolbox: {
      iconStyle: {
        normal: {
          borderColor: '#999999'
        },
        emphasis: {
          borderColor: '#666666'
        }
      }
    },
    legend: {
      textStyle: {
        color: textColor
      },
      pageTextStyle: {
        color: textColor
      }
    },
    tooltip: {
      axisPointer: {
        lineStyle: {
          color: '#cccccc',
          width: 1
        },
        crossStyle: {
          color: '#cccccc',
          width: 1
        }
      }
    },
    timeline: {
      lineStyle: {
        color: '#626c91',
        width: 1
      },
      itemStyle: {
        normal: {
          color: '#626c91',
          borderWidth: 1
        },
        emphasis: {
          color: '#626c91'
        }
      },
      controlStyle: {
        normal: {
          color: '#626c91',
          borderColor: '#626c91',
          borderWidth: 0.5
        },
        emphasis: {
          color: '#626c91',
          borderColor: '#626c91',
          borderWidth: 0.5
        }
      },
      checkpointStyle: {
        color: '#3fb1e3',
        borderColor: 'rgba(63,177,227,0.15)'
      },
      label: {
        normal: {
          textStyle: {
            color: '#626c91'
          }
        },
        emphasis: {
          textStyle: {
            color: '#626c91'
          }
        }
      }
    },
    visualMap: {
      color: colorGroup
    },
    dataZoom: {
      backgroundColor: 'rgba(255,255,255,0)',
      dataBackgroundColor: 'rgba(222,222,222,1)',
      fillerColor: 'rgba(114,230,212,0.25)',
      handleColor: '#cccccc',
      handleSize: '100%',
      textStyle: {
        color: textColor
      }
    },
    markPoint: {
      label: {
        normal: {
          textStyle: {
            color: textColor
          }
        },
        emphasis: {
          textStyle: {
            color: textColor
          }
        }
      }
    }
  };
  return chartTheme;
};

/***/ })

/******/ });