(function webpackUniversalModuleDefinition(root, factory) {
	if(typeof exports === 'object' && typeof module === 'object')
		module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util"));
	else if(typeof define === 'function' && define.amd)
		define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
	else {
		var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/util"]);
		for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
	}
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__) {
return /******/ (function() { // webpackBootstrap
/******/ 	"use strict";
/******/ 	var __webpack_modules__ = ({

/***/ 1349:
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
/*
 * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
 * All rights reserved.
 */


element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
  _init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
  Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
};
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);

/***/ }),

/***/ 348:
/***/ (function(module) {

module.exports = require("@kq_npm/client_icons_vue");

/***/ }),

/***/ 2118:
/***/ (function(module) {

module.exports = require("core-js/modules/es.array.push.js");

/***/ }),

/***/ 8470:
/***/ (function(module) {

module.exports = require("core-js/modules/esnext.iterator.constructor.js");

/***/ }),

/***/ 1058:
/***/ (function(module) {

module.exports = require("core-js/modules/esnext.iterator.for-each.js");

/***/ }),

/***/ 9389:
/***/ (function(module) {

module.exports = require("element-plus/dist/index.full.js");

/***/ }),

/***/ 7080:
/***/ (function(module) {

module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");

/***/ }),

/***/ 7135:
/***/ (function(module) {

module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;

/***/ }),

/***/ 3458:
/***/ (function(module) {

module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;

/***/ }),

/***/ 7997:
/***/ (function(module) {

module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;

/***/ }),

/***/ 1895:
/***/ (function(module) {

module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;

/***/ }),

/***/ 5301:
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {


// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "Z": function() { return /* binding */ _defineProperty; }
});

;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
function _typeof(o) {
  "@babel/helpers - typeof";

  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
    return typeof o;
  } : function (o) {
    return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
  }, _typeof(o);
}

;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js

function toPrimitive(t, r) {
  if ("object" != _typeof(t) || !t) return t;
  var e = t[Symbol.toPrimitive];
  if (void 0 !== e) {
    var i = e.call(t, r || "default");
    if ("object" != _typeof(i)) return i;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return ("string" === r ? String : Number)(t);
}

;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js


function toPropertyKey(t) {
  var i = toPrimitive(t, "string");
  return "symbol" == _typeof(i) ? i : i + "";
}

;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js

function _defineProperty(e, r, t) {
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
    value: t,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[r] = t, e;
}


/***/ })

/******/ 	});
/************************************************************************/
/******/ 	// The module cache
/******/ 	var __webpack_module_cache__ = {};
/******/ 	
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/ 		// Check if module is in cache
/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
/******/ 		if (cachedModule !== undefined) {
/******/ 			return cachedModule.exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = __webpack_module_cache__[moduleId] = {
/******/ 			// no module.id needed
/******/ 			// no module.loaded needed
/******/ 			exports: {}
/******/ 		};
/******/ 	
/******/ 		// Execute the module function
/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/ 	
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/ 	
/************************************************************************/
/******/ 	/* webpack/runtime/compat get default export */
/******/ 	!function() {
/******/ 		// getDefaultExport function for compatibility with non-harmony modules
/******/ 		__webpack_require__.n = function(module) {
/******/ 			var getter = module && module.__esModule ?
/******/ 				function() { return module['default']; } :
/******/ 				function() { return module; };
/******/ 			__webpack_require__.d(getter, { a: getter });
/******/ 			return getter;
/******/ 		};
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/define property getters */
/******/ 	!function() {
/******/ 		// define getter functions for harmony exports
/******/ 		__webpack_require__.d = function(exports, definition) {
/******/ 			for(var key in definition) {
/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ 				}
/******/ 			}
/******/ 		};
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
/******/ 	!function() {
/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/make namespace object */
/******/ 	!function() {
/******/ 		// 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 });
/******/ 		};
/******/ 	}();
/******/ 	
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
!function() {
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "ModelProfileAnalysisViewModel": function() { return /* reexport */ ModelProfileAnalysisViewModel; },
  "default": function() { return /* reexport */ ModelProfileAnalysis; }
});

// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
var gis_utils_ = __webpack_require__(7135);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
var defineProperty = __webpack_require__(5301);
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
var es_array_push_js_ = __webpack_require__(2118);
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
var esnext_iterator_for_each_js_ = __webpack_require__(1058);
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
var message = __webpack_require__(1349);
;// CONCATENATED MODULE: ./src/webgl/modelprofileanalysis/ModelProfileAnalysisViewModel.js




/*
 * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
 * All rights reserved.
 */
//分析逻辑类
let floatingPoint;
let drawPoints = [];
let activeShapePoints = [];
let activeCartographicPoints = [];

class ModelProfileAnalysisViewModel {
  constructor(scenceView, viewModel, chart) {
    (0,defineProperty/* default */.Z)(this, "_profileAnalysis", null);
    //剖面分析三维对象
    (0,defineProperty/* default */.Z)(this, "_ProfileAnalysisChart", null);
    //显示结果的DOM元素
    (0,defineProperty/* default */.Z)(this, "_ProfileAnalysisChartVis", null);
    //显示结果的DOM元素显隐
    (0,defineProperty/* default */.Z)(this, "_language", null);
    //全局参数对象
    (0,defineProperty/* default */.Z)(this, "_globaOptions", {
      width: 360,
      height: 360
    });
    this._language = scenceView._language;
    this._globaOptions.viewModel = {
      angle: viewModel.perspectiveAngle || 90,
      frustumH: viewModel.targetAreaHeight || 200,
      extendWidth: viewModel.targetAreaWidth || 1,
      isPerspective: viewModel.enablePerspective || true,
      cameraHeight: viewModel.cameraHeight || 0
    };
    this._globaOptions.viewer = scenceView._viewer;
    this._globaOptions.viewer.scene.postProcessStages._fxaa.enabled = true;
    this._globaOptions.viewer.scene.globe.depthTestAgainstTerrain = true;
    this._ProfileAnalysisChart = chart;
    this._ProfileAnalysisChartVis = chart || {};
    // 实例化单线剖面分析对象
    this._profileAnalysis = new window.Cesium.Kq3dProfileAnalysis({
      viewer: this._globaOptions.viewer,
      width: this._globaOptions.width,
      height: this._globaOptions.height,
      angle: this._globaOptions.viewModel.angle,
      frustumH: this._globaOptions.viewModel.frustumH,
      extendWidth: this._globaOptions.viewModel.extendWidth,
      isPerspective: this._globaOptions.viewModel.isPerspective,
      cameraHeight: this._globaOptions.viewModel.cameraHeight,
      isShowDown: false,
      debugCamera: {
        show: true,
        color: window.Cesium.Color.fromBytes(0, 255, 255, 200)
      }
    });
    this._globaOptions._handler = new window.Cesium.ScreenSpaceEventHandler(this._globaOptions.viewer.canvas);
    //创建剖面分析结果显示窗口
    this._globaOptions.canvas = document.createElement("canvas");
    this._globaOptions.canvas.id = "pro";
    this._globaOptions.ctx = this._globaOptions.canvas.getContext("2d");
    this._ProfileAnalysisChart.appendChild(this._globaOptions.canvas);
  }
  //开始分析
  start() {
    // 判断是否添加了模型
    var flag = false;
    var models = this._globaOptions.viewer.scene.primitives._primitives;
    for (let i = 0; i < models.length; i++) {
      if (models[i] instanceof Cesium.Cesium3DTileset && models[i]._url) {
        flag = true;
      }
    }
    if (flag) {
      //清空绘制结果
      this.remove();
      let that = this;
      this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
      this._globaOptions._handler.setInputAction(function (event) {
        var earthPosition = that._globaOptions.viewer.scene.pickPosition(event.position);
        if (window.Cesium.defined(earthPosition)) {
          //绘制点
          floatingPoint = that.createPoint(earthPosition);
          drawPoints.push(floatingPoint);
          activeShapePoints.push(earthPosition);
          let earthPositionCarto = window.Cesium.Cartographic.fromCartesian(earthPosition);
          activeCartographicPoints.push(earthPositionCarto);

          //单线分析结果显示
          if (activeShapePoints.length == 2) {
            var newPositions = [];
            activeShapePoints.forEach(position => {
              var newPosition = window.Cesium.Cartographic.fromCartesian(position);
              newPositions.push(newPosition);
            });
            that._profileAnalysis.elevation = newPositions;
            that.updatePorfileAnalysis();
            drawPoints.forEach(function (point) {
              that._globaOptions.viewer.entities.remove(point);
            });
            drawPoints = [];
            activeShapePoints = [];
          }
        }
      }, window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
    } else {
      (0,message/* default */.Z)({
        message: this._language["addModelTips"],
        type: "warning"
      });
    }
  }
  //绘制点
  createPoint(worldPosition) {
    var point = this._globaOptions.viewer.entities.add({
      position: worldPosition,
      point: {
        color: window.Cesium.Color.YELLOW,
        pixelSize: 5
      }
    });
    return point;
  }
  //更新单线剖面分析结果
  updatePorfileAnalysis() {
    if (this._profileAnalysis) {
      this._profileAnalysis.frustumH = this._globaOptions.viewModel.frustumH;
      this._profileAnalysis.angle = this._globaOptions.viewModel.angle;
      this._profileAnalysis.extendWidth = this._globaOptions.viewModel.extendWidth;
      this._profileAnalysis.cameraHeight = this._globaOptions.viewModel.cameraHeight;
      this._profileAnalysis.isPerspective = this._globaOptions.viewModel.isPerspective;
      if (this._globaOptions._handler) {
        let buffer = this._profileAnalysis.updateBuffer();
        this._ProfileAnalysisChartVis.value = true;
        setTimeout(() => {
          this.getPorfileAnalysisTexture(buffer);
          this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
        }, 500);
      }
    }
  }
  //获取单线剖面分析纹理
  getPorfileAnalysisTexture(buffer) {
    if (buffer) {
      this._globaOptions.canvas.height = this._globaOptions.height;
      this._globaOptions.canvas.width = this._globaOptions.width;
      let imgData = this._globaOptions.ctx.createImageData(this._globaOptions.width, this._globaOptions.height);

      // flipY
      var line = this._globaOptions.width * 4;
      for (let h = 0; h < this._globaOptions.height; h++) {
        for (let w = 0; w < this._globaOptions.width; w++) {
          for (let n = 0; n < 4; n++) {
            imgData.data[(this._globaOptions.height - 1 - h) * line + w * 4 + n] = buffer[h * line + w * 4 + n];
          }
        }
      }
      this._globaOptions.ctx.putImageData(imgData, 0, 0);

      //=====================
      this._globaOptions.ctx.setLineDash([20, 5]);
      this._globaOptions.ctx.lineWidth = 1;
      this._globaOptions.ctx.strokeStyle = "#ff2";
      let fTop = (1.0 - this._profileAnalysis._frustumH / this._profileAnalysis._maxH) * 360;
      let fLeft = (1.0 - this._profileAnalysis._frustumW / this._profileAnalysis._maxW) / 2 * 360;
      this._globaOptions.ctx.moveTo(fLeft, 360); // bottom
      this._globaOptions.ctx.lineTo(fLeft, fTop);
      this._globaOptions.ctx.lineTo(360 - fLeft, fTop);
      this._globaOptions.ctx.lineTo(360 - fLeft, 360);
      this._globaOptions.ctx.stroke();

      //=====================
      let str = String(this._profileAnalysis._frustumW.toFixed(2));
      let str1 = this._language.profileLength + " : " + str + "m";
      str = String(this._profileAnalysis._maxW.toFixed(2));
      let str2 = this._language.totalLength + " : " + str + "m";
      str = String(this._profileAnalysis._frustumH.toFixed(2));
      let str3 = this._language.profileHeight + " : " + str + "m";
      str = String(this._profileAnalysis._maxH.toFixed(2));
      let str4 = this._language.totalHeight + " : " + str + "m";
      this._globaOptions.ctx.font = "bold 15px Arial";
      this._globaOptions.ctx.textAlign = "left";
      this._globaOptions.ctx.textBaseline = "bottom";
      this._globaOptions.ctx.fillStyle = "#ccc";
      this._globaOptions.ctx.fillText(str1, 10, 20);
      this._globaOptions.ctx.fillText(str2, 10, 40);
      this._globaOptions.ctx.fillText(str3, 10, 60);
      this._globaOptions.ctx.fillText(str4, 10, 80);
    }
  }
  // 是否透视
  setEnablePerspective(val) {
    this._globaOptions.viewModel.isPerspective = val;
    if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
  }
  // 透视角度
  setPerspectiveAngle(val) {
    this._globaOptions.viewModel.angle = val;
    if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
  }
  // 目标区域宽度
  setTargetAreaWidth(val) {
    this._globaOptions.viewModel.extendWidth = val;
    if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
  }
  // 目标区域高度
  setTargetAreaHeight(val) {
    this._globaOptions.viewModel.frustumH = val;
    if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
  }
  // 相机高度
  setCameraHeight(val) {
    this._globaOptions.viewModel.cameraHeight = val;
    if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
  }
  // 切换语言
  changeLanguage(lang) {
    this._language = lang;
    if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
  }
  // 清理剖面分析
  remove() {
    this._ProfileAnalysisChartVis.value = false;
    this._profileAnalysis && this._profileAnalysis.clearPrimitives();
  }
  //清除全部结果
  clear() {
    this.remove();
    this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
  }
  // 销毁
  destroy() {
    this.remove();
    this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
    this._globaOptions._handler = null;
    this._ProfileAnalysisChartVis.value = false;
    this._profileAnalysis && this._profileAnalysis.destroy();
    this._profileAnalysis = null;
  }
}
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
var client_icons_vue_ = __webpack_require__(348);
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
var util_ = __webpack_require__(3458);
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
var vue_i18n_cjs_js_ = __webpack_require__(7080);
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelprofileanalysis/ModelProfileAnalysis.vue?vue&type=script&setup=true&lang=js

const _hoisted_1 = {
  class: "kq3d-model-profile-analysis-box"
};
const _hoisted_2 = {
  class: "kq3d-model-profile-analysis-footer"
};
const _hoisted_3 = {
  class: "kq3d-model-profile-analysis-result"
};
const _hoisted_4 = {
  id: "resultCahrt",
  class: "resultCahrt"
};






const __default__ = {
  name: "Kq3dModelProfileAnalysis"
};
/* harmony default export */ var ModelProfileAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
  props: {
    // 设置参数
    settingParams: {
      type: Object
    },
    // 是否显示阴影效果
    showShadow: {
      type: Boolean,
      default: true
    },
    /**
     * 例："center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
     */
    position: [String, Object],
    // 是否生成HeaderTemp
    showHeaderTemp: {
      type: Boolean,
      default: false
    },
    // 是否折叠HeaderTemp，showHeaderTemp为true时生效
    isCollapseHeaderTemp: {
      type: Boolean,
      default: false
    },
    // HeaderTemp标题
    headerTempTitle: {
      type: String
    },
    // HeaderTemp图标
    headerTempIcon: {
      type: [Object, String],
      default: client_icons_vue_.IconProfileAnalysis
    },
    // HeaderTemp Title&Icon的位置
    isRight: {
      type: Boolean,
      default: true
    }
  },
  setup(__props, {
    expose: __expose
  }) {
    const props = __props;
    const {
      proxy
    } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
    let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
    // 设置
    let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
    // 分析类
    let viewModel = null;
    // chart显示
    let resultCahrtVis = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(true);
    // 获取组件传参

    let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
      perspectiveAngle: props.settingParams && props.settingParams.perspectiveAngle || 90,
      // 透视角度
      minPerspectiveAngle: props.settingParams && props.settingParams.minPerspectiveAngle || 0,
      // 透视角度范围最小值
      maxPerspectiveAngle: props.settingParams && props.settingParams.maxPerspectiveAngle || 90,
      // 透视角度范围最大值
      targetAreaWidth: props.settingParams && props.settingParams.targetAreaWidth || 1,
      // 目标区域宽度
      minTargetAreaWidth: props.settingParams && props.settingParams.minTargetAreaWidth || 0,
      // 目标区域宽度范围最小值
      maxTargetAreaWidth: props.settingParams && props.settingParams.maxTargetAreaWidth || 500,
      // 目标区域宽度范围最大值
      targetAreaHeight: props.settingParams && props.settingParams.targetAreaHeight || 200,
      // 目标区域高度
      minTargetAreaHeight: props.settingParams && props.settingParams.minTargetAreaHeight || 0,
      // 目标区域高度范围最小值
      maxTargetAreaHeight: props.settingParams && props.settingParams.maxTargetAreaHeight || 500,
      // 目标区域高度范围最大值
      cameraHeight: props.settingParams && props.settingParams.cameraHeight || 0,
      // 相机高度
      minCameraHeight: props.settingParams && props.settingParams.minCameraHeight || 0,
      // 相机高度范围最小值
      maxCameraHeight: props.settingParams && props.settingParams.maxCameraHeight || 500,
      // 相机高度范围最大值
      enablePerspective: props.settingParams && props.settingParams.isLabel !== undefined || true // 是否透视
    });

    // 组件容器Ref
    let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);

    // 生成组件默认header
    let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
    let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();

    // 国际化
    let {
      locale,
      messages
    } = (0,vue_i18n_cjs_js_.useI18n)();
    let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
      language.value = messages.value[newVal]["webgl"];
      headerTempTitle.value = language.value.modelProfileAnalysis;
      viewModel && viewModel.changeLanguage(language.value);
    });
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
      (0,util_.updatePosition)(boxRef.value, props);
      (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
        (0,util_.updatePosition)(boxRef.value, props);
      });
      watchCreateHeaderTemp();
      (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
        (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
          watchCreateHeaderTemp();
        });
      });
      gis_utils_.utils.getWebMap(null, scenceView => {
        if (scenceView) {
          viewModel = new ModelProfileAnalysisViewModel(scenceView, {
            perspectiveAngle: formItem.perspectiveAngle,
            // 透视角度
            targetAreaWidth: formItem.targetAreaWidth,
            // 目标区域宽度
            targetAreaHeight: formItem.targetAreaHeight,
            // 目标区域高度
            cameraHeight: formItem.cameraHeight,
            // 相机高度
            enablePerspective: formItem.enablePerspective // 是否透视
          }, document.getElementById("resultCahrt"));
          viewModel._ProfileAnalysisChartVis = resultCahrtVis;
          resultCahrtVis.value = false;
        }
      });
    });

    /**
     * @description 监听header生成
     */
    const watchCreateHeaderTemp = () => {
      if (props.showHeaderTemp) {
        // 生成headerTemp
        headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
      }
    };

    // 开始分析
    function startAnalysis() {
      viewModel && viewModel.start();
    }
    // 清除结果
    function clearResult() {
      viewModel && viewModel.clear();
    }
    // 是否透视
    function onChangeEnablePerspective() {
      viewModel && viewModel.setEnablePerspective(formItem.enablePerspective);
    }
    // 透视角度
    function onChangePerspectiveAngle() {
      viewModel && viewModel.setPerspectiveAngle(formItem.perspectiveAngle);
    }
    // 目标区域宽度
    function onChangeTargetAreaWidth() {
      viewModel && viewModel.setTargetAreaWidth(formItem.targetAreaWidth);
    }
    // 目标区域高度
    function onChangeTargetAreaHeight() {
      viewModel && viewModel.setTargetAreaHeight(formItem.targetAreaHeight);
    }
    // 相机高度
    function onChangeCameraHeight() {
      viewModel && viewModel.setCameraHeight(formItem.cameraHeight);
    }

    // 销毁
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
      viewModel && viewModel.destroy();
    });
    __expose({
      startAnalysis,
      clearResult,
      onChangeEnablePerspective,
      onChangePerspectiveAngle,
      onChangeTargetAreaWidth,
      onChangeTargetAreaHeight,
      onChangeCameraHeight
    });
    return (_ctx, _cache) => {
      const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
      const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
      const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
      const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
      const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
      const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox");
      const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
      const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
      const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
      const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
      return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
        class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-model-profile-analysis", {
          'kq-box-shadow': __props.showShadow
        }]),
        ref_key: "boxRef",
        ref: boxRef
      }, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
        key: 0,
        ref_key: "headerTempRef",
        ref: headerTempRef
      }, null, 512 /* NEED_PATCH */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
        class: "kq3d-model-profile-analysis-tip"
      }, {
        default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).profileTips), 1 /* TEXT */)]),
        _: 1 /* STABLE */
      }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
        "model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue)
      }, {
        default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse_item, {
          title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).analysisSettings,
          name: "setting"
        }, {
          default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
            "label-width": "135px",
            "label-position": "left"
          }, {
            default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
              default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
                label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).perspectiveAngle
              }, {
                default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
                  style: {
                    "display": "flex"
                  }
                }, {
                  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
                    span: 16
                  }, {
                    default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
                      modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).perspectiveAngle,
                      "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).perspectiveAngle = $event),
                      step: 1,
                      min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minPerspectiveAngle,
                      max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxPerspectiveAngle,
                      onInput: onChangePerspectiveAngle
                    }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
                    _: 1 /* STABLE */
                  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
                    span: 8
                  }, {
                    default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
                      modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).perspectiveAngle,
                      "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).perspectiveAngle = $event),
                      min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minPerspectiveAngle,
                      max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxPerspectiveAngle,
                      step: 1,
                      "controls-position": "right"
                    }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
                    _: 1 /* STABLE */
                  })]),
                  _: 1 /* STABLE */
                })]),
                _: 1 /* STABLE */
              }, 8 /* PROPS */, ["label"])]),
              _: 1 /* STABLE */
            }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
              default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
                label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).targetAreaWidth
              }, {
                default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
                  style: {
                    "display": "flex"
                  }
                }, {
                  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
                    span: 16
                  }, {
                    default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
                      modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).targetAreaWidth,
                      "onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).targetAreaWidth = $event),
                      step: 1,
                      min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minTargetAreaWidth,
                      max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxTargetAreaWidth,
                      onInput: onChangeTargetAreaWidth
                    }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
                    _: 1 /* STABLE */
                  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
                    span: 8
                  }, {
                    default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
                      modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).targetAreaWidth,
                      "onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).targetAreaWidth = $event),
                      min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minTargetAreaWidth,
                      step: 1,
                      max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxTargetAreaWidth,
                      "controls-position": "right"
                    }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
                    _: 1 /* STABLE */
                  })]),
                  _: 1 /* STABLE */
                })]),
                _: 1 /* STABLE */
              }, 8 /* PROPS */, ["label"])]),
              _: 1 /* STABLE */
            }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
              default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
                label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).targetAreaHeight
              }, {
                default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
                  style: {
                    "display": "flex"
                  }
                }, {
                  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
                    span: 16
                  }, {
                    default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
                      modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).targetAreaHeight,
                      "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).targetAreaHeight = $event),
                      step: 1,
                      min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minTargetAreaHeight,
                      max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxTargetAreaHeight,
                      onInput: onChangeTargetAreaHeight
                    }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
                    _: 1 /* STABLE */
                  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
                    span: 8
                  }, {
                    default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
                      modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).targetAreaHeight,
                      "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).targetAreaHeight = $event),
                      min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minTargetAreaHeight,
                      step: 1,
                      max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxTargetAreaHeight,
                      "controls-position": "right"
                    }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
                    _: 1 /* STABLE */
                  })]),
                  _: 1 /* STABLE */
                })]),
                _: 1 /* STABLE */
              }, 8 /* PROPS */, ["label"])]),
              _: 1 /* STABLE */
            }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
              default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
                label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).cameraHeight
              }, {
                default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
                  style: {
                    "display": "flex"
                  }
                }, {
                  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
                    span: 16
                  }, {
                    default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
                      modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).cameraHeight,
                      "onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).cameraHeight = $event),
                      step: 1,
                      min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minCameraHeight,
                      max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxCameraHeight,
                      onInput: onChangeCameraHeight
                    }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
                    _: 1 /* STABLE */
                  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
                    span: 8
                  }, {
                    default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
                      modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).cameraHeight,
                      "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).cameraHeight = $event),
                      min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minCameraHeight,
                      step: 1,
                      max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxCameraHeight,
                      "controls-position": "right"
                    }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
                    _: 1 /* STABLE */
                  })]),
                  _: 1 /* STABLE */
                })]),
                _: 1 /* STABLE */
              }, 8 /* PROPS */, ["label"])]),
              _: 1 /* STABLE */
            }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
              default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_checkbox, {
                modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enablePerspective,
                "onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enablePerspective = $event),
                onChange: onChangeEnablePerspective
              }, {
                default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).enablePerspective), 1 /* TEXT */)]),
                _: 1 /* STABLE */
              }, 8 /* PROPS */, ["modelValue"])]),
              _: 1 /* STABLE */
            })]),
            _: 1 /* STABLE */
          })]),
          _: 1 /* STABLE */
        }, 8 /* PROPS */, ["title"])]),
        _: 1 /* STABLE */
      }, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
        onClick: _cache[9] || (_cache[9] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
        title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
        type: "primary"
      }, {
        default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis), 1 /* TEXT */)]),
        _: 1 /* STABLE */
      }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
        onClick: _cache[10] || (_cache[10] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
        title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
      }, {
        default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult), 1 /* TEXT */)]),
        _: 1 /* STABLE */
      }, 8 /* PROPS */, ["title"])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, null, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(resultCahrtVis)]])])])], 2 /* CLASS */);
    };
  }
}));
;// CONCATENATED MODULE: ./src/webgl/modelprofileanalysis/ModelProfileAnalysis.vue?vue&type=script&setup=true&lang=js
 
;// CONCATENATED MODULE: ./src/webgl/modelprofileanalysis/ModelProfileAnalysis.vue



const __exports__ = ModelProfileAnalysisvue_type_script_setup_true_lang_js;

/* harmony default export */ var ModelProfileAnalysis = (__exports__);
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
var init_js_ = __webpack_require__(7997);
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
;// CONCATENATED MODULE: ./src/webgl/modelprofileanalysis/index.js
/*
 * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
 * All rights reserved.
 */



ModelProfileAnalysis.install = (Vue, opts) => {
  init_js_default()(Vue, opts);
  Vue.component(ModelProfileAnalysis.name, ModelProfileAnalysis);
};

}();
/******/ 	return __webpack_exports__;
/******/ })()
;
});