/******/ (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; /******/ /******/ // identity function for calling harmony imports with the correct context /******/ __webpack_require__.i = function(value) { return value; }; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ } /******/ }; /******/ /******/ // 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 = ""; /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 5); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports) { /* COPYRIGHT 2012 SUPERMAP * 本程序只能在有效的授权许可下使用。 * 未经许可,不得以任何手段擅自使用或传播。*/ /** * @requires SuperMap/BaseTypes.js */ /** * Namespace: SuperMap.Lang * 国际化的命名空间,包含多种语言和方法库来设置和获取当前的语言。 */ var SuperMapAlgoPlot = window.SuperMapAlgoPlot = window.SuperMapAlgoPlot || {}; /*** * @private * @type {{translate: SuperMap.PlotLang.translate}} */ SuperMapAlgoPlot.PlotLang = { /** * APIMethod: translate * 从当前语言字符串的字典查找key。 * getCode获取的值用来判断合适的字典。字典存储在 方法中。 * * Parameters: * key - {String} 字典中i18n字符串值的关键字. * context - {Object} 使用此参数。 * * Returns: * {String} 国际化的字符串。 */ translate: function(key, context) { var dictionary = SuperMapAlgoPlot.PlotLang["zh-CN"]; var message = dictionary && dictionary[key]; if(!message) { // Message not found, fall back to message key message = key; } if(context) { message = SuperMapAlgoPlot.String.format(message, context); } return message; } }; /** * @private * APIMethod: SuperMap.plotI18n * 的别名. 当前语言字符串的字典查找key。 * getCode获取的值用来判断合适的字典。字典存储在 方法中。 * * Parameters: * key - {String} 字典中i18n字符串值的关键字. * context - {Object} 使用此参数。 * * Returns: * {String} 国际化的字符串。 */ SuperMapAlgoPlot.plotI18n = SuperMapAlgoPlot.PlotLang.translate; /** * @private * */ SuperMapAlgoPlot.PlotLang["zh-CN"] = { //字体 'SongTi':"宋体", //text 'text':"文本", 'textSizeLabel':"字体大小", 'textSizeTitle':"字体大小", 'textFaceNameLabel':"字体", 'textFaceNameTitle':"字体", 'textAlignLabel':"水平对齐方式", 'textAlignTitle':"文本的水平对齐方式", 'textVerticalAlignmentLabel':"垂直对齐方式", 'textVerticalAlignmentTitle':"文本的垂直对齐方式", 'textHaloRadiusLabel':"文本边框宽度", 'textHaloRadiusTitle':"文本的外围边框的宽度", 'textHaloColorLabel':"文本边框颜色", 'textHaloColorTitle':"文本的外围边框的颜色", 'textFillLabel':"文本颜色", 'textFillTitle':"文本的颜色值", 'textOpacityLabel':"透明度", 'textOpacityTitle':"文本的透明度", 'textDxLabel':"横向偏移", 'textDxTitle':"文本的横向偏移值", 'textDyLabel':"纵向偏移值", 'textDyTitle':"文本的纵向偏移值", 'textCompOpLabel':"叠加方式", 'textCompOpTitle':"文本之间相互叠加里使用的覆盖或者是异或等运算方式", 'expandingPointContent':"展", 'volleyPointContent':"齐", 'rendezvousPointContent':"会", 'supplyPointContent':"补", //symbolAlgo //JB 'symbolAlgo_17703':"加", 'symbolAlgo_17704':"急", 'symbolAlgo_21600':"冲", 'symbolAlgo_28000_1':"危", 'symbolAlgo_28000_2':"中", 'symbolAlgo_28000_3':"轻", 'symbolAlgo_315':"突击", 'symbolAlgo_31304':"慑阻", 'symbolAlgo_3010301':"调", 'symbolAlgo_3010303':"出", 'symbolAlgo_3010304':"协", //WJ 'symbolAlgo_2121505':"火", 'symbolAlgo_2121506':"墩", 'symbolAlgo_2121507':"复", 'symbolAlgo_2121601':"遥", 'symbolAlgo_2121602':"障", 'symbolAlgo_30010':"?", 'symbolAlgo_3001101':"集", 'symbolAlgo_3001102':"暴", 'symbolAlgo_3001103':"骚", 'symbolAlgo_3001104':"私", 'symbolAlgo_3001105':"盗", 'symbolAlgo_30020':"水", 'symbolAlgo_3002001':"震", 'symbolAlgo_3002004':"火", 'symbolAlgo_30025':"滞", 'symbolAlgo_5010301':"调", 'symbolAlgo_5010303':"出", 'symbolAlgo_5010304':"协", 'symbolAlgo_5010401':"JZ", 'symbolAlgo_5022001':"ZD0", 'symbolAlgo_5034801':"催", "symbolAlgo_60203":"避", 'symbolAlgo_60301':"爆", 'symbolAlgo_6030101':"挖", 'symbolAlgo_6030102':"浇", 'symbolAlgo_6030103':"砌", 'symbolAlgo_6030104':"装", 'symbolAlgo_6030105':"石", 'symbolAlgo_6030106':"沙", 'symbolAlgo_6030107':"练", 'symbolAlgo_60304':"隧", 'symbolAlgo_3002501':"踏", 'symbolAlgo_30026':"灾", 'symbolAlgo_40104':"缉", 'symbolAlgo_4030301':"标", 'symbolAlgo_4030302':"劝", 'symbolAlgo_4030303':"疏", 'symbolAlgo_40304':"警", 'symbolAlgo_4030401':"警", //basic symbol 'polyLine':"折线", 'parallelogram':"平行四边形", 'circle':"圆", 'ellipse':"椭圆", 'annotation':"注记", 'regularPolygon':"正多边形", 'polygon':"多边形", 'bezier':"贝塞尔曲线", 'closedBesselCurve':"闭合贝塞尔曲线", 'kidney':"集结地", 'brace':"大括号", 'trapezoid':"梯形", 'rectangle':"矩形", 'chord':"弓形", 'sector':"扇形", 'arc':"弧线", 'parallel':"平行线", 'annoframe':"注记指示框", 'tooltipBoxM':"多角标注框", 'runway':"跑道线", 'curveEight':"八字形", 'arrowLine':"箭头线", 'pathText':"沿线注记", 'concentricCircle':"同心圆", 'combinedCircle':"组合圆", 'freeCurve':"自由线", 'nodeChain':"节点链", 'lineMarking':"线型标注", 'symbolTextBox':"标注框", 'parallelFlatArrow':"平行平耳箭头", 'multipleArrow':"多箭头", 'trapezoidalFlatArrow':"梯形平耳箭头", 'besselPointArrow':"贝塞尔尖耳箭头", 'besselArrow':"普通贝塞尔箭头", 'doubleArrow':"钳击箭头", 'brokenSpaceTriangleArrow':"折线空三角箭头", 'besselDovetailArrow':"贝塞尔燕尾箭头", 'ordinaryLineArrow':"普通折线箭头", 'besselPointedEarsTailArrow':"贝塞尔尖耳燕尾箭头", 'besselTipArrow':"贝塞尔尖耳单点箭头", 'besselArrowNoGraph':"普通贝塞尔箭头(不随图)", 'brokenSpaceTriangleArrowNoGraph':"折线空三角箭头(不随图)", 'besselPointedEarsTailArrowNoGraph':"贝塞尔尖耳燕尾箭头(不随图)", 'ordinaryLineArrowNoGraph':"普通折线箭头(不随图)", 'combianationArrow':"组合箭头", 'symbolAlgo_311':'进攻方向', 'symbolAlgo_317':'钳击', //new obj 'airDeployment':"空军兵力部署", 'airRoute':"空军航线", 'arcRegion':"扇形区域", 'flagGroup':"多旗", 'lineRelation':"对象间连线", 'polygonRegion':"多边形区域管理", 'navyRoute':"海军航线", 'missileRoute':"导弹航线", 'navyDeployment':"海军兵力部署", 'satelliteTimeWindows':"卫星时间窗", 'satellite':"卫星", 'symbolText':"对象标注", 'symbolText1':"对象标注(带指示线)", 'interferenceBeam':"干扰波束", 'groupObject':"组合对象", //routeNodeTypeName 'RENDEZVOUS': "会合点", 'EXPANDING': "展开点", 'VOLLEY': "齐射点", 'STANDBY': "待机点", 'SUPPLY': "补给点", 'TAKEOFF': "起飞点", 'INITIAL': "初始点", 'VISUALINITAL': "可视初始点", 'LANCH': "发射点", 'TURNING': "转弯点", 'AIMING': "瞄准点", 'COMMONROUTE': "普通航路点", 'WEAPONLAUNCH': "武器发射点", 'TARGET': "目标点", 'ATTACK':"攻击点", 'SUPPRESS':"压制点", 'EIGHTSPIRAL':"八字盘旋点", 'HAPPYVALLEY':"跑马圈点", 'LITERATESIGN':"标牌文字", 'undoStackOverflow': '撤销的栈溢出', //Mapviewer 'noContent':'无内容', 'lableTitle': '_标签图层' }; /***/ }), /* 1 */ /***/ (function(module, exports) { /*! * * iclient-plot-algorithms-jb.(https://iclient.supermap.io) * Copyright© 2000 - 2020 SuperMap Software Co.Ltd * version: v10.1.1 * */!function(t){var e={};function l(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,l),i.l=!0,i.exports}l.m=t,l.c=e,l.d=function(t,e,o){l.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},l.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},l.t=function(t,e){if(1&e&&(t=l(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(l.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)l.d(o,i,function(e){return t[e]}.bind(null,i));return o},l.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return l.d(e,"a",e),e},l.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},l.p="",l(l.s=233)}([function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l(n*=this.scaleValues[6])?(P=SuperMapAlgoPlot.PlottingUtil.paraLine(p,n/2,!0),c=SuperMapAlgoPlot.PlottingUtil.paraLine(p,n/2,!1)):(P=SuperMapAlgoPlot.PlottingUtil.paraLine(p,g/2,!0),c=SuperMapAlgoPlot.PlottingUtil.paraLine(p,g/2,!1));var S=[];S.push(P[0]),S.push(P[P.length-1]),S.push(c[c.length-1]),S.push(c[0]);var h={surroundLineFlag:!1,fillLimit:!0,strokeColor:"#37CECE",fillColorLimit:!0,fillColor:"#37CECE",fill:!0,fillOpacity:.7,lineColorLimit:!0,color:"#37CECE",surroundLineLimit:!0};this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,S,h);var f=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(S);h={surroundLineFlag:!1,fillLimit:!0,lineTypeLimit:!0};var y=SuperMapAlgoPlot.PlottingUtil.paraLine(o,l,!1);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,y,h);for(var A=i*this.scaleValues[1],M=this.getDashLinePts(o,A),b=0;bo)return l;for(var i=SuperMapAlgoPlot.PlottingUtil.clonePoints(t),n=2*parseInt(o/(1.5*e)),a=0;a0&&l.push(i),l}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length1&&(g=1),this.scaleValues[5]=g)}else this.scaleValues[5]=c/i;else if(1===t){a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i*this.scaleValues[5],o),n=SuperMapAlgoPlot.PlottingUtil.distance(a.pts,e);var S=this.scaleValues[7]*i;this.scaleValues[6]=n/S}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol1770501=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lo)return l;for(var i=SuperMapAlgoPlot.PlottingUtil.clonePoints(t),n=2*parseInt(o/(1.5*e)),a=0;a0&&l.push(i),l}}]),e}();SuperMapAlgoPlot.AlgoSymbol1770201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lo)return l;for(var i=SuperMapAlgoPlot.PlottingUtil.clonePoints(t),n=2*parseInt(o/(1.5*e)),a=0;a0&&l.push(i),l}}]),e}();SuperMapAlgoPlot.AlgoSymbol1770101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol4021102=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol30800),e}();SuperMapAlgoPlot.AlgoSymbol4021102=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol4021101=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol30800),e}();SuperMapAlgoPlot.AlgoSymbol4021101=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.05&&(e=.05),this.scaleValues[0]=e}for(var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),o=Math.abs(l*this.scaleValues[0]),i=this.getDashLinePts(t,o),n={surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0},a=1,r=0;r0?u.pntLeft:u.pntRight,this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,[P,s[0],s[1]],n)}else a--;i[r].length>1&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s),a++}var c=180*SuperMapAlgoPlot.PlottingUtil.radian(t[0],t[1])/Math.PI;this.scaleValues[0]>0?c+=90:c-=90;var g=SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],2*o,2*o,c);this.addScalePoint(g),this.finish()}}},{key:"getDashLinePts",value:function(t,e){var l=[],o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(e>o)return l;for(var i=SuperMapAlgoPlot.PlottingUtil.clonePoints(t),n=2*parseInt(o/(1.5*e)),a=0;a0&&l.push(i),l}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=.05&&(i=.05),SuperMapAlgoPlot.PlottingUtil.isRight(e,l[0],l[1])&&(i=-i),this.scaleValues[0]=i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol6020404=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ls&&(s+=360);var p=(s-r)/50,u=this.getArcPts(t[0],n,r,s,p),P=this.getArcPts(t[0],a,r,s,p);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,u),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,P,{surroundLineFlag:!1,lineColorLimit:!0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1,surroundLineLimit:!0}),3===this.controlPoints.length&&(this.controlPoints[2]=SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],e,e,s)),this.addScalePoint(new SuperMapAlgoPlot.Point(P[P.length-1].x,P[P.length-1].y),0),this.finish()}}},{key:"getArcPts",value:function(t,e,l,o,i){void 0!==i&&null!==i||(i=1);for(var n=[],a=l;a=1.01&&(this.scaleValues[0]=i)}}}]),e}();SuperMapAlgoPlot.AlgoSymbol6020403=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0));var e=[];e=3>=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);this.isEdit||(this.scaleValues[0]=this.getSubSymbolScaleValue());var i=this.scaleValues[0],n=this.scaleValues[2],a=this.scaleValues[3],r=o*i,s=new SuperMapAlgoPlot.Point(l.x+o*n,l.y+o*a);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],s,r,0);var p=new SuperMapAlgoPlot.Point(s.x+r,s.y+r/2),u=new SuperMapAlgoPlot.Point(s.x+r,s.y-r/2),P=.3*r,c=SuperMapAlgoPlot.PlottingUtil.radian(u,p)*SuperMapAlgoPlot.PlottingUtil.RTOD,g=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,P,P,c+157.5),S=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,P,P,c+202.5),h=new SuperMapAlgoPlot.Point((g.x+S.x)/2,(g.y+S.y)/2),f=[];f.push(u),f.push(h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,f);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,[g,h,S,p],{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0},!0),this.addScalePoint(s);var y=r,A=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,y,y,90);this.addScalePoint(A),this.finish(),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol4022102=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0));var e=[];e=3>=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);this.isEdit||(this.scaleValues[0]=this.getSubSymbolScaleValue());var i=this.scaleValues[0],n=this.scaleValues[2],a=this.scaleValues[3],r=o*i,s=new SuperMapAlgoPlot.Point(l.x+o*n,l.y+o*a);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],s,r,0);var p=new SuperMapAlgoPlot.Point(s.x+r,s.y+r/2),u=new SuperMapAlgoPlot.Point(s.x+r,s.y-r/2),P=.3*r,c=SuperMapAlgoPlot.PlottingUtil.radian(p,u)*SuperMapAlgoPlot.PlottingUtil.RTOD,g=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,P,P,c+157.5),S=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,P,P,c+202.5),h=new SuperMapAlgoPlot.Point((g.x+S.x)/2,(g.y+S.y)/2),f=[];f.push(p),f.push(h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,f);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,[g,h,S,u],{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0},!0),this.addScalePoint(s);var y=r,A=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,y,y,90);this.addScalePoint(A),this.finish(),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol4022101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol4022100=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues.push(.05),l.scaleValues.push(0),l.scaleValues.push(0),l.scaleValues.push(0)),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol23500),e}();SuperMapAlgoPlot.AlgoSymbol4022100=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[2]=1.5*o,this.scaleValues[4]=.5*o,this.scaleValues[5]=.5*o}var i=l*this.scaleValues[4],n=this.scaleValues[0]-this.scaleValues[3];n<0&&(n=0);var a=this.scaleValues[0]+this.scaleValues[3];a>1&&(a=1);var r=this.getLinePts(e,this.scaleValues[4],n),s=this.getLinePts(e,this.scaleValues[4],a),p=new SuperMapAlgoPlot.Point((r.startPt.x+r.endPt.x)/2,(r.startPt.y+r.endPt.y)/2),u=SuperMapAlgoPlot.PlottingUtil.radian(r.startPt,r.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD;this.createSubSymbol1(p,i,u);var P=new SuperMapAlgoPlot.Point((s.startPt.x+s.endPt.x)/2,(s.startPt.y+s.endPt.y)/2),c=SuperMapAlgoPlot.PlottingUtil.radian(s.startPt,s.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD;this.createSubSymbol2(P,i,c);for(var g=[],S=[],h=[],f=0;f<=r.startIndex;f++)g.push(e[f]);if(g.push(r.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g),r.endIndex<=s.startIndex){S.push(r.endPt);for(var y=r.endIndex+1;y<=s.startIndex;y++)S.push(e[y]);S.push(s.startPt),2===e.length&&SuperMapAlgoPlot.PlottingUtil.distance(e[0],r.endPt)<=SuperMapAlgoPlot.PlottingUtil.distance(e[0],s.startPt)&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,S),e.length>2&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,S)}h.push(s.endPt);for(var A=s.endIndex+1;Au&&(i=h,a=s,n=u));if(-1==i||i>o.length-1)return;P=0;for(var f=0;fS)return;var y=SuperMapAlgoPlot.PlottingUtil.pointIsOnPolyLines(this.scalePoints[0],o),A=SuperMapAlgoPlot.PlottingUtil.pointIsOnPolyLines(this.scalePoints[3],o),M=0;y.index===A.index&&(M=SuperMapAlgoPlot.PlottingUtil.distance(this.scalePoints[0],this.scalePoints[3]));for(var b=A.index;bS-M-.5&&(P=S-M-.5),this.scaleValues[0]=P/S}else if(1===t){var d=S*this.scaleValues[0],m=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(o,d);if(-1===m.index)return;var v=o[m.index],O=o[m.index+1],U=SuperMapAlgoPlot.PlottingUtil.radian(v,O),L=SuperMapAlgoPlot.PlottingUtil.radian(m.pt,e);this.scaleValues[1]=L-U-Math.PI;var w=SuperMapAlgoPlot.PlottingUtil.distance(m.pt,e);this.scaleValues[2]=w/S}else if(2===t){i=-1,n=0,a=new SuperMapAlgoPlot.Point(0,0);for(var V=0;Vu&&(i=V,a=s,n=u));if(-1!==i&&i<=o.length-1){P=0;for(var _=0;_0&&P1-x&&(E=1-x),this.scaleValues[3]=Math.abs(E-this.scaleValues[0])}}}else if(3===t)if(this.scaleValues[0]>.5){var Y=this.scaleValues[0]+this.scaleValues[3],j=S*(c=this.scaleValues[0]-this.scaleValues[3]),C=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(o,j);-1!==C.index&&((g=SuperMapAlgoPlot.PlottingUtil.distance(C.pt,e)/S)>1-Y&&(g=1-Y),this.scaleValues[4]=g)}else{var I=S*(c=this.scaleValues[0]-this.scaleValues[3]);-1!==(p=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(o,I)).index&&((g=SuperMapAlgoPlot.PlottingUtil.distance(p.pt,e)/S)>c&&(g=c),this.scaleValues[4]=g)}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol4020303=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(-.1),this.scaleValues.push(0),this.scaleValues.push(.1),this.scaleValues.push(0));var e=[];e=3>=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getSubSymbolScaleValue()*SuperMapAlgoPlot.PlottingUtil.polylineDistance(this.controlPoints);this.scaleValues[0]=i/o,this.scaleValues[3]=i/o}var n=this.scaleValues[0],a=this.scaleValues[1],r=this.scaleValues[3],s=this.scaleValues[4],p=this.scaleValues[6],u=this.scaleValues[7],P=this.scaleValues[8],c=this.scaleValues[9],g=new SuperMapAlgoPlot.Point(l.x+o*p,l.y+o*u),S=new SuperMapAlgoPlot.Point(l.x+o*P,l.y+o*c),h=[],f=.15*SuperMapAlgoPlot.PlottingUtil.distance(g,S),y=SuperMapAlgoPlot.PlottingUtil.linePnt(g,S,f),A=SuperMapAlgoPlot.PlottingUtil.linePnt(S,g,f);h.push(y),h.push(A),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,h);var M=o*n,b=a;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],g,M,b+90);var d=o*r,m=s;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[1],S,d,m+90),this.addScalePoint(g);var v=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,.5*M,.5*M,b);this.addScalePoint(v),this.addScalePoint(S);var O=SuperMapAlgoPlot.PlottingUtil.circlePoint(S,.5*d,.5*d,m);this.addScalePoint(O),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).lengththis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(-.1),this.scaleValues.push(0),this.scaleValues.push(.1),this.scaleValues.push(0));var o=[];o=3>=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i,n,a,r,s=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),p=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),u=e;if(0==t)i=(u.x-s.x)/p,this.scaleValues[6]=i,n=(u.y-s.y)/p,this.scaleValues[7]=n;else if(1==t){i=this.scaleValues[6],n=this.scaleValues[7];var P=new SuperMapAlgoPlot.Point(s.x+p*i,s.y+p*n),c=2*SuperMapAlgoPlot.PlottingUtil.distance(P,u)/p;this.scaleValues[0]=c;var g=180*SuperMapAlgoPlot.PlottingUtil.radian(P,u)/Math.PI;this.scaleValues[1]=g,this.scaleValues[2]=0<=g&&g<90?1:90<=g&&g<180?2:180<=g&&g<270?3:4}else if(2==t)a=(u.x-s.x)/p,this.scaleValues[8]=a,r=(u.y-s.y)/p,this.scaleValues[9]=r;else if(3==t){a=this.scaleValues[8],r=this.scaleValues[9];var S=new SuperMapAlgoPlot.Point(s.x+p*a,s.y+p*r),h=2*SuperMapAlgoPlot.PlottingUtil.distance(S,u)/p;this.scaleValues[3]=h;var f=180*SuperMapAlgoPlot.PlottingUtil.radian(S,u)/Math.PI;this.scaleValues[4]=f,this.scaleValues[5]=0<=f&&f<90?1:90<=f&&f<180?2:180<=f&&f<270?3:4}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol4011101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(-.1),this.scaleValues.push(0),this.scaleValues.push(.1),this.scaleValues.push(0));var e=[];e=3>=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getSubSymbolScaleValue()*SuperMapAlgoPlot.PlottingUtil.polylineDistance(this.controlPoints);this.scaleValues[0]=i/o,this.scaleValues[3]=i/o}var n=this.scaleValues[0],a=this.scaleValues[1],r=this.scaleValues[3],s=this.scaleValues[4],p=this.scaleValues[6],u=this.scaleValues[7],P=this.scaleValues[8],c=this.scaleValues[9],g=new SuperMapAlgoPlot.Point(l.x+o*p,l.y+o*u),S=new SuperMapAlgoPlot.Point(l.x+o*P,l.y+o*c),h=[],f=.15*SuperMapAlgoPlot.PlottingUtil.distance(g,S),y=SuperMapAlgoPlot.PlottingUtil.linePnt(g,S,f),A=SuperMapAlgoPlot.PlottingUtil.linePnt(S,g,f);h.push(y),h.push(A),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,h);var M=o*n,b=a;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],g,M,b-90);var d=o*r,m=s;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[1],S,d,m-90),this.addScalePoint(g);var v=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,.5*M,.5*M,b);this.addScalePoint(v),this.addScalePoint(S);var O=SuperMapAlgoPlot.PlottingUtil.circlePoint(S,.5*d,.5*d,m);this.addScalePoint(O),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).lengththis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(-.1),this.scaleValues.push(0),this.scaleValues.push(.1),this.scaleValues.push(0));var o=[];o=3>=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i,n,a,r,s=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),p=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),u=e;if(0==t)i=(u.x-s.x)/p,this.scaleValues[6]=i,n=(u.y-s.y)/p,this.scaleValues[7]=n;else if(1==t){i=this.scaleValues[6],n=this.scaleValues[7];var P=new SuperMapAlgoPlot.Point(s.x+p*i,s.y+p*n),c=2*SuperMapAlgoPlot.PlottingUtil.distance(P,u)/p;this.scaleValues[0]=c;var g=180*SuperMapAlgoPlot.PlottingUtil.radian(P,u)/Math.PI;this.scaleValues[1]=g,this.scaleValues[2]=0<=g&&g<90?1:90<=g&&g<180?2:180<=g&&g<270?3:4}else if(2==t)a=(u.x-s.x)/p,this.scaleValues[8]=a,r=(u.y-s.y)/p,this.scaleValues[9]=r;else if(3==t){a=this.scaleValues[8],r=this.scaleValues[9];var S=new SuperMapAlgoPlot.Point(s.x+p*a,s.y+p*r),h=2*SuperMapAlgoPlot.PlottingUtil.distance(S,u)/p;this.scaleValues[3]=h;var f=180*SuperMapAlgoPlot.PlottingUtil.radian(S,u)/Math.PI;this.scaleValues[4]=f,this.scaleValues[5]=0<=f&&f<90?1:90<=f&&f<180?2:180<=f&&f<270?3:4}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol4011100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol4010905=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues.push(.333333),l.scaleValues.push(.333333),l.scaleValues.push(.125),l.scaleValues.push(90)),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol23901),e}();SuperMapAlgoPlot.AlgoSymbol4010905=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol4010801=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol4010800),e}();SuperMapAlgoPlot.AlgoSymbol4010801=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0));var e=[];e=3>=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e);var l,o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var n=(l=1.5*this.getDefaultSubSymbolSize())/i;n>.2&&(n=.2),this.scaleValues[0]=n}var a=this.scaleValues[0],r=this.scaleValues[2],s=this.scaleValues[3];l=i*a;var p=new SuperMapAlgoPlot.Point(o.x+i*r,o.y+i*s);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,l,0);for(var u=0;ur&&(r+=360),!this.isEdit){var s=.5*this.getDefaultSubSymbolSize()/n;s>.1&&(s=.1),this.scaleValues[0]=s}var p=n*this.scaleValues[0],u=180*Math.atan(.5*p/n)/Math.PI,P=(r-a)/3,c=(r-a)/50,g=this.getArcPts(t[0],n,a,a+P-1.8*u,c);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g);var S=this.getArcPts(t[0],n,a+P+1.8*u,a+2*P-1.8*u,c);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,S);var h=this.getArcPts(t[0],n,a+2*P+1.8*u,r,c);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,h);var f=a+P+90,y=SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],e,e,a+P);this.createSubSymbol(y,p,f);var A=SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],e,e,a+2*P),M=a+2*P+90;this.createSubSymbol(A,p,M);var b=SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],e+p,e+p,a+P);this.addScalePoint(b),3===this.controlPoints.length&&(this.controlPoints[2]=SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],e,e,r)),this.finish()}}},{key:"getArcPts",value:function(t,e,l,o,i){void 0!==i&&null!==i||(i=1);for(var n=[],a=l;ap&&(p+=360);var u=(p-s)/3,P=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[0],o,o,s+u),c=SuperMapAlgoPlot.PlottingUtil.distance(P,e)/r;c<=.6&&(this.scaleValues[0]=c)}}}]),e}();SuperMapAlgoPlot.AlgoSymbol6020400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol3010302=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return l.subText="冲",l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol21600),e}();SuperMapAlgoPlot.AlgoSymbol3010302=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol3010301=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return l.subText="调",l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol21600),e}();SuperMapAlgoPlot.AlgoSymbol3010301=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol3010108=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues[0]=.05,l.scaleValues[1]=.05),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol3010107),e}();SuperMapAlgoPlot.AlgoSymbol3010108=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!1);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o),n=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.6*i,o);if(!n.bfind)return;var a=2*SuperMapAlgoPlot.PlottingUtil.distance(e,n.pts);this.scaleValues[0]=a/i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol3010106=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,c)}g.push(n.endPt);for(var f=n.endIndex+1;f(S*=.5)){u=SuperMapAlgoPlot.PlottingUtil.linePnt(r.pts,e[r.index],S),s.push(u),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s),P=SuperMapAlgoPlot.PlottingUtil.linePnt(r.pts,e[r.index+1],S),h.push(P);for(var f=e.length,y=r.index+1;y=0;M--)if(c=new SuperMapAlgoPlot.Point(s[M].x,s[M].y),g=new SuperMapAlgoPlot.Point(r.pts.x,r.pts.y),SuperMapAlgoPlot.PlottingUtil.distance(c,g)>S){A=M;break}if(-1===A)return;s.splice(A+1,s.length-1-A),u=SuperMapAlgoPlot.PlottingUtil.linePnt(r.pts,e[A],S),s.push(u),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s);for(var b=-1,d=r.index;dS){b=d;break}if(-1===b)return;P=SuperMapAlgoPlot.PlottingUtil.linePnt(r.pts,e[b],S),h.push(P);for(var m=b+1;m0&&this.computeSubSymbol(this.subSymbols[0],U,1.5*L,n+90);for(var W=.02*l,q=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(W,e[1],e[0]),J=.5*SuperMapAlgoPlot.PlottingUtil.distance(e[0],q.pntLeft),Z=new SuperMapAlgoPlot.Point((e[0].x+q.pntLeft.x)/2,(e[0].y+q.pntLeft.y)/2),X=SuperMapAlgoPlot.PlottingUtil.radian(e[1],e[0])*SuperMapAlgoPlot.PlottingUtil.RTOD,H=[],Q=270+X;Q<=360+X;Q+=5)H.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(Z,J,J,Q));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,H),w=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(W,e[e.length-2],e[e.length-1]);for(var $=new SuperMapAlgoPlot.Point((e[e.length-1].x+w.pntRight.x)/2,(e[e.length-1].y+w.pntRight.y)/2),tt=SuperMapAlgoPlot.PlottingUtil.radian(e[e.length-1],w.pntRight)*SuperMapAlgoPlot.PlottingUtil.RTOD,et=[],lt=90+tt;lt<=180+tt;lt+=5)et.push(SuperMapAlgoPlot.PlottingUtil.circlePoint($,J,J,lt));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,et),this.scalePoints=[],this.addScalePoint(U,0);var ot=new SuperMapAlgoPlot.Point(0,-2*S),it=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(U,ot,this.scaleValues[2]);this.addScalePoint(it,1),this.finish()}}}},{key:"GetSymbolPt",value:function(){var t=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(!((t=SuperMapAlgoPlot.PlottingUtil.clearSamePts(t)).length(g*=.5)){p=SuperMapAlgoPlot.PlottingUtil.linePnt(a.pts,e[a.index],g),r.push(p),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,r),u=SuperMapAlgoPlot.PlottingUtil.linePnt(a.pts,e[a.index+1],g),S.push(u);for(var h=e.length,f=a.index+1;f=0;A--)if(P=new SuperMapAlgoPlot.Point(r[A].x,r[A].y),c=new SuperMapAlgoPlot.Point(a.pts.x,a.pts.y),SuperMapAlgoPlot.PlottingUtil.distance(P,c)>g){y=A;break}if(-1===y)return;r.splice(y+1,r.length-1-y),p=SuperMapAlgoPlot.PlottingUtil.linePnt(a.pts,e[y],g),r.push(p);for(var M=-1,b=a.index;bg){M=b;break}if(-1===M)return;u=SuperMapAlgoPlot.PlottingUtil.linePnt(a.pts,e[M],g),S.push(u);for(var d=M+1;df&&(u=g,c=h,P=f)}}if(-1===u||u>s.length-1)return;n=0;for(var y=0;y=d&&(a=d),a<=m&&(a=m),this.scaleValues[0]=a}else if(1===t){i=new SuperMapAlgoPlot.Point(e.x,e.y);var v=this.GetSymbolPt();a=(n=SuperMapAlgoPlot.PlottingUtil.distance(i,v))/r;var O=this.scaleValues[0]<.4?this.scaleValues[0]:1-this.scaleValues[0];a>=O&&(a=O),this.scaleValues[1]=a;var U=SuperMapAlgoPlot.PlottingUtil.radian(v,i)*SuperMapAlgoPlot.PlottingUtil.RTOD;this.scaleValues[2]=U-270}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol2890001=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lt[o].x&&(e=t[o].x),l0&&(s=!0),p-=r}if(""==!this.subText.toString()){var b=a,d=(l-e)*this.scaleValues[0],m=new SuperMapAlgoPlot.Point(b.x+d,b.y),v=new SuperMapAlgoPlot.Point((b.x+m.x)/2,(b.y+m.y)/2),O=this.subText;this.addText(O,v,d,0)}this.finish()}}},{key:"sortPts2D",value:function(t){for(var e=new SuperMapAlgoPlot.Point(0,0),l=0;lt[o+1].y&&(e=t[o],t[o]=t[o+1],t[o+1]=e):t[o].x>t[o+1].x&&(e=t[o],t[o]=t[o+1],t[o+1]=e);return t}}]),e}();SuperMapAlgoPlot.AlgoSymbol2570501=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lt[o].x&&(e=t[o].x),l0&&(s=!0),p-=r}if(""==!this.subText.toString()){var b=a,d=(l-e)*this.scaleValues[0],m=new SuperMapAlgoPlot.Point(b.x+d,b.y),v=new SuperMapAlgoPlot.Point((b.x+m.x)/2,(b.y+m.y)/2),O=this.subText;this.addText(O,v,d,0)}this.finish()}}},{key:"sortPts2D",value:function(t){for(var e=new SuperMapAlgoPlot.Point(0,0),l=0;lt[o+1].y&&(e=t[o],t[o]=t[o+1],t[o+1]=e):t[o].x>t[o+1].x&&(e=t[o],t[o]=t[o+1],t[o+1]=e);return t}}]),e}();SuperMapAlgoPlot.AlgoSymbol2570401=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lt[o].x&&(e=t[o].x),l0&&(s=!0),p-=r}if(""==!this.subText.toString()){var b=a,d=(l-e)*this.scaleValues[0],m=new SuperMapAlgoPlot.Point(b.x+d,b.y),v=new SuperMapAlgoPlot.Point((b.x+m.x)/2,(b.y+m.y)/2),O=this.subText;this.addText(O,v,d,0)}this.finish()}}},{key:"sortPts2D",value:function(t){for(var e=new SuperMapAlgoPlot.Point(0,0),l=0;lt[o+1].y&&(e=t[o],t[o]=t[o+1],t[o+1]=e):t[o].x>t[o+1].x&&(e=t[o],t[o]=t[o+1],t[o+1]=e);return t}}]),e}();SuperMapAlgoPlot.AlgoSymbol2570301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lt[o].x&&(e=t[o].x),l0&&(s=!0),p-=r}if(""==!this.subText.toString()){var b=a,d=(l-e)*this.scaleValues[0],m=new SuperMapAlgoPlot.Point(b.x+d,b.y),v=new SuperMapAlgoPlot.Point((b.x+m.x)/2,(b.y+m.y)/2),O=this.subText;this.addText(O,v,d,0)}this.finish()}}},{key:"sortPts2D",value:function(t){for(var e=new SuperMapAlgoPlot.Point(0,0),l=0;lt[o+1].y&&(e=t[o],t[o]=t[o+1],t[o+1]=e):t[o].x>t[o+1].x&&(e=t[o],t[o]=t[o+1],t[o+1]=e);return t}}]),e}();SuperMapAlgoPlot.AlgoSymbol2570201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(0),this.scaleValues.push(.05),this.scaleValues.push(0),this.scaleValues.push(-.05));var e=[];e=3>=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(e);if(!this.isEdit){var i=this.getSubSymbolScaleValue()*SuperMapAlgoPlot.PlottingUtil.polylineDistance(this.controlPoints);this.scaleValues[0]=i/o*.8,this.scaleValues[3]=i/o*.8}var n=this.scaleValues[0],a=this.scaleValues[1],r=this.scaleValues[3],s=this.scaleValues[4],p=this.scaleValues[6],u=this.scaleValues[7],P=this.scaleValues[8],c=this.scaleValues[9],g=new SuperMapAlgoPlot.Point(l.x+o*p,l.y+o*u),S=new SuperMapAlgoPlot.Point(l.x+o*P,l.y+o*c),h=o*n,f=a;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],g,h,f);var y=o*r,A=s;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[1],S,y,A),this.addScalePoint(g);var M=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,h,h,f);this.addScalePoint(M),this.addScalePoint(S);var b=SuperMapAlgoPlot.PlottingUtil.circlePoint(S,y,y,A);this.addScalePoint(b),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).lengththis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(0),this.scaleValues.push(.05),this.scaleValues.push(0),this.scaleValues.push(-.05));var o=[];o=3>=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i,n,a,r,s=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),p=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o),u=e;if(0==t)i=(u.x-s.x)/p,this.scaleValues[6]=i,n=(u.y-s.y)/p,this.scaleValues[7]=n;else if(1==t){i=this.scaleValues[6],n=this.scaleValues[7];var P=new SuperMapAlgoPlot.Point(s.x+p*i,s.y+p*n),c=SuperMapAlgoPlot.PlottingUtil.distance(P,u)/p;this.scaleValues[0]=c;var g=180*SuperMapAlgoPlot.PlottingUtil.radian(P,u)/Math.PI;this.scaleValues[1]=g,this.scaleValues[2]=0<=g&&g<90?1:90<=g&&g<180?2:180<=g&&g<270?3:4}else if(2==t)a=(u.x-s.x)/p,this.scaleValues[8]=a,r=(u.y-s.y)/p,this.scaleValues[9]=r;else if(3==t){a=this.scaleValues[8],r=this.scaleValues[9];var S=new SuperMapAlgoPlot.Point(s.x+p*a,s.y+p*r),h=SuperMapAlgoPlot.PlottingUtil.distance(S,u)/p;this.scaleValues[3]=h;var f=180*SuperMapAlgoPlot.PlottingUtil.radian(S,u)/Math.PI;this.scaleValues[4]=f,this.scaleValues[5]=0<=f&&f<90?1:90<=f&&f<180?2:180<=f&&f<270?3:4}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol2350001=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l),i=new SuperMapAlgoPlot.Point(o.x,0);if(!1===this.polylineConnectLocationPoint){for(var n=0,a=-1,r=0;r0;y--)u.push(h[y]);var A=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(u,g);if(-1===A.index)return;(h=[]).push(A.pt);for(var M=A.index+1;M0&&this.computeSubSymbolC(this.subSymbols[0],i,p,0)}else{var b=t[0],d=t[1],m=SuperMapAlgoPlot.PlottingUtil.distance(b,d),v=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.2*m,[b,d]);if(-1===v.index)return;var O=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.4*m,[b,d]);if(-1===O.index)return;var U=[];U.push(t[0]),U.push(v.pts),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,U),(U=[]).push(O.pts);for(var L=1;L0&&this.computeSubSymbolC(this.subSymbols[0],w,.1*m,0)}this.finish()}}},{key:"computeSubSymbolC",value:function(t,e,l,o,i,n){if(null==t.symbolData||null==t.symbolData.innerCells)return null;void 0===i&&(i=0),void 0===n&&(n=0);for(var a=SuperMapAlgoPlot.AnalysisSymbol.analysisSymbolCells(t.symbolData,!0),r=0,s=0,p=0,u=0,P=0;Pc[g].x&&(p=c[g].x),u>c[g].y&&(u=c[g].y)}var h=new SuperMapAlgoPlot.Point(r,s),f=new SuperMapAlgoPlot.Point(p,u),y=(h.y-f.y)/l,A=(h.x-f.x)/l,M=A>y?A:y,b=new SuperMapAlgoPlot.Point(.5*(h.x+f.x),.5*(h.y+f.y));b.x+=i*(h.x-f.x),b.y+=n*(h.y-f.y);for(var d=0,m=a.length;d=s.length)){var P=s[0].clone(),c=s[0].clone();for(p=0;ps[p].x&&(P=s[p].clone()),c.x=P.x&&((g=[]).push(P),g.push(S),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g));var h=new SuperMapAlgoPlot.Point(a.x+n/2,c.y);h.x<=c.x&&h.x>=P.x&&((g=[]).push(c),g.push(h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g)),this.scalePoints=[];var f=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,n/2,n/2,90);if(!SuperMapAlgoPlot.PlottingUtil.ptIsInPolygon(t,a))return this.addScalePoint(a,0),this.addScalePoint(f,1),a.xl.length)return;if(0===SuperMapAlgoPlot.PlottingUtil.getOutRectangleDis(l))return;var o,i,n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),a=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l),r=e;if(0==t&&(o=(r.x-a.x)/n,this.scaleValues[0]=o,i=(r.y-a.y)/n,this.scaleValues[1]=i),1==t){o=this.scaleValues[0],i=this.scaleValues[1];var s=new SuperMapAlgoPlot.Point(a.x+o*n,a.y+i*n),p=2*SuperMapAlgoPlot.PlottingUtil.distance(r,s)/n;this.scaleValues[2]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol44400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);this.isEdit||(this.scaleValues[0]=.5*this.getSubSymbolScaleValue());var i=this.scaleValues[0],n=this.scaleValues[2],a=this.scaleValues[3];l.x=l.x+n*o,l.y=l.y+a*o;var r=o*i,s=SuperMapAlgoPlot.PlottingUtil.circlePoint(l,r,r,90),p=SuperMapAlgoPlot.PlottingUtil.circlePoint(l,r,r,210),u=SuperMapAlgoPlot.PlottingUtil.circlePoint(l,r,r,330),P=[];P.push(s),P.push(p),P.push(u),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,P,{lineTypeLimit:!0,lineColorLimit:!0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1,surroundLineLimit:!0,fillLimit:!0,fill:!0}),this.scalePoints=[],this.addScalePoint(s),this.addScalePoint(l),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o=[];if(o=3>=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o);if(0===t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(n.x+a,n.y+r),p=SuperMapAlgoPlot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1===t){var u=(e.x-n.x)/i,P=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=P}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol44300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[1]=o}var i=this.scaleValues[0],n=this.scaleValues[1],a=this.scaleValues[2],r=l*i,s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(r,e);if(s.bfind){var p=s.index,u=s.pts,P=u,c=n*l,g=new SuperMapAlgoPlot.Point(c,-.5*c),S=new SuperMapAlgoPlot.Point(c,.5*c),h=new SuperMapAlgoPlot.Point(-c,.5*c),f=new SuperMapAlgoPlot.Point(-c,-.5*c),y=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,g,a),A=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,S,a),M=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,h,a),b=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,f,a),d=[];d.push(y),d.push(A),d.push(M),d.push(b),d.push(y),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,d);var m=new SuperMapAlgoPlot.Point(.5*c,-.2*c),v=new SuperMapAlgoPlot.Point(.7*c,.2*c),O=new SuperMapAlgoPlot.Point(.3*c,.2*c),U=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,m,a),L=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,O,a),w=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,v,a),V=[];V.push(U),V.push(L),V.push(w),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,V,{lineColorLimit:!0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1,fillLimit:!0,fill:!0,lineTypeLimit:!0});var _=new SuperMapAlgoPlot.Point(c,0),T=new SuperMapAlgoPlot.Point(2*c,0),x=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,_,a),E=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,T,a);(V=[]).push(x),V.push(E),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,V);var Y=new SuperMapAlgoPlot.Point(2*c,.15*c),j=new SuperMapAlgoPlot.Point(2*c,-.15*c),C=new SuperMapAlgoPlot.Point(2.6*c,0),I=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,Y,a),B=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,j,a),R=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,C,a);(V=[]).push(I),V.push(B),V.push(R),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,V,{fillLimit:!0,fill:!0,lineTypeLimit:!0});var N=[];N.push(I),N.push(R);var D,k=[],z=[];for(D=0;D<=p;D++)k.push(e[D]);for(k.push(P),z.push(P),D=p+1;DK){var W=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(r-K,k);if(W.bfind){var q=W.pts,J=W.index;for(V=[],D=0;D<=J;D++)V.push(k[D]);V.push(q),F=SuperMapAlgoPlot.PlottingUtil.radian(V[0],V[1])*SuperMapAlgoPlot.PlottingUtil.RTOD,G=SuperMapAlgoPlot.PlottingUtil.circlePoint(V[0],.1*c,.1*c,90+F),V.splice(0,0,G),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,V)}}if(l-r>K){var Z=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(K,z);if(Z.bfind){var X=Z.pts,H=Z.index;for((V=[]).push(X),D=H+1;D1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).lengthg&&(s=u,p=g)}}if(-1==s)return SuperMapAlgoPlot.PlottingUtil.distance(r,o[0])>SuperMapAlgoPlot.PlottingUtil.distance(r,o[o.length-1])?void(s=o.length-1):void(s=0);if(i=0,0===s)i=SuperMapAlgoPlot.PlottingUtil.distance(o[0],c);else for(var S=0;Sa)return;n=i/a,this.scaleValues[0]=n}else if(1==t){i=this.scaleValues[0]*a;var h=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i,o);if(!h.bfind)return;var f=h.pts;(n=.5*SuperMapAlgoPlot.PlottingUtil.distance(f,e)/a)>.3&&(n=.3),this.scaleValues[1]=n;var y=SuperMapAlgoPlot.PlottingUtil.radian(f,e)*SuperMapAlgoPlot.PlottingUtil.RTOD;this.scaleValues[2]=y}}}},{key:"GetGoPts",value:function(){var t=[];return this.controlPoints.length=0||t<3)){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o,i=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]),n=l[0].clone(),a=l[1].clone(),r=e.clone();if(0==t){var s=SuperMapAlgoPlot.PlottingUtil.distance(r,n)/i;this.scaleValues[0]=s}else if(1==t){o=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,n,a);var p=SuperMapAlgoPlot.PlottingUtil.distance(o,r)/i;this.scaleValues[1]=p;var u=SuperMapAlgoPlot.PlottingUtil.distance(o,a)/i;this.scaleValues[3]=u}else if(2==t){o=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,n,a);var P=SuperMapAlgoPlot.PlottingUtil.distance(o,r)/i;this.scaleValues[2]=P;var c=SuperMapAlgoPlot.PlottingUtil.distance(o,a)/i;this.scaleValues[4]=c}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol44100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.x&&(O=!1);var U,L=(v=.1*o)+(m=.12*o/2);d=1==O?(U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(L,l,e)).pntRight:(U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(L,l,e)).pntLeft;var w,V,_,T,x,E,Y,j,C=[];C.push(d),C.push(new SuperMapAlgoPlot.Point(d.x+m,d.y)),this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,C),1==O?(w=(U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(.85*v,l,e)).pntRight,T=U.pntLeft,V=(U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(v,w,T)).pntRight,_=U.pntLeft):(w=(U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(.85*v,l,e)).pntLeft,T=U.pntRight,V=(U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(v,w,T)).pntLeft,_=U.pntRight),(C=[]).push(w),C.push(V),C.push(_),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,C,{fillLimit:!0,fill:!0,lineTypeLimit:!0}),U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(2*m,V,_),j=1==O?U.pntRight:U.pntLeft,U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(2*m,_,V),E=1==O?U.pntLeft:U.pntRight;var I=SuperMapAlgoPlot.PlottingUtil.intersectLines(w,E,_,V);I.isIntersectLines&&(x=I.intersectPoint,(I=SuperMapAlgoPlot.PlottingUtil.intersectLines(w,j,_,V)).isIntersectLines&&(Y=I.intersectPoint,(C=[]).push(x),C.push(E),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,C),(C=[]).push(Y),C.push(j),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,C),this.scalePoints=[],this.addScalePoint(A[0]),this.addScalePoint(A[1]),this.addScalePoint(A[2]),this.finish()))}}},{key:"computeScaleValues",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o,i=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]),n=l[0].clone(),a=l[1].clone(),r=e.clone();if(0==t){var s=SuperMapAlgoPlot.PlottingUtil.distance(r,n)/i;this.scaleValues[0]=s}else if(1==t){o=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,n,a);var p=SuperMapAlgoPlot.PlottingUtil.distance(o,r)/i;this.scaleValues[1]=p;var u=SuperMapAlgoPlot.PlottingUtil.distance(o,a)/i;this.scaleValues[3]=u}else if(2==t){o=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,n,a);var P=SuperMapAlgoPlot.PlottingUtil.distance(o,r)/i;this.scaleValues[2]=P;var c=SuperMapAlgoPlot.PlottingUtil.distance(o,a)/i;this.scaleValues[4]=c}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol42500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/l;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=.5*i}var n=l*this.scaleValues[0],a=l*this.scaleValues[2],r=l*this.scaleValues[3],s=[];s.push(new SuperMapAlgoPlot.Point(o.x+a,o.y+r)),s.push(new SuperMapAlgoPlot.Point(o.x+a+n,o.y+r)),this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,s,{fill:!1}),this.scalePoints=[],this.addScalePoint(new SuperMapAlgoPlot.Point(o.x+a+n,o.y+r)),this.addScalePoint(new SuperMapAlgoPlot.Point(o.x+a,o.y+r)),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o=[];if(o=3>=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(n.x+a,n.y+r),p=SuperMapAlgoPlot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,P=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=P}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol42400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e,{fillLimit:!0,fill:!1,surroundLineFlag:!1});var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.2||i<=0)&&(i=.2),this.scaleValues[0]=i}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3],s=o*n,p=new SuperMapAlgoPlot.Point(l.x+o*a,l.y+o*r);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,s,0),this.addScalePoint(p);var u=s,P=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,u,u,90);this.addScalePoint(P),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i,n,a=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),r=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===t)i=(e.x-a.x)/r,this.scaleValues[2]=i,n=(e.y-a.y)/r,this.scaleValues[3]=n;else if(1===t){i=this.scaleValues[2],n=this.scaleValues[3];var s=new SuperMapAlgoPlot.Point(a.x+r*i,a.y+r*n),p=SuperMapAlgoPlot.PlottingUtil.distance(s,e)/r;this.scaleValues[0]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol42200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]);if(0==o)return;var i,n,a=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l),r=e;if(0==t)i=(r.x-a.x)/o,this.scaleValues[0]=i,n=(r.y-a.y)/o,this.scaleValues[1]=n;else if(1==t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMapAlgoPlot.Point(a.x+i*o,a.y+n*o),p=SuperMapAlgoPlot.PlottingUtil.distance(r,s)/o;this.scaleValues[2]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol41202=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]);if(0==o)return;var i,n,a=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l),r=e;if(0==t)i=(r.x-a.x)/o,this.scaleValues[0]=i,n=(r.y-a.y)/o,this.scaleValues[1]=n;else if(1==t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMapAlgoPlot.Point(a.x+i*o,a.y+n*o),p=SuperMapAlgoPlot.PlottingUtil.distance(r,s)/o;this.scaleValues[2]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol41201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]);if(0==o)return;var i,n,a=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l),r=e;if(0==t)i=(r.x-a.x)/o,this.scaleValues[0]=i,n=(r.y-a.y)/o,this.scaleValues[1]=n;else if(1==t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMapAlgoPlot.Point(a.x+i*o,a.y+n*o),p=SuperMapAlgoPlot.PlottingUtil.distance(r,s)/o;this.scaleValues[2]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol41200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.minEditPts){for(var R,N,D,k,z,F,G,K,W,q=1;qu&&(i=r,a=p,n=u)}}if(-1===i||i>l.length-1)return;for(var P=0,c=0;co)return;var S=P/o,h=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1])/o;S<.4*h&&(S=.4*h),S>1-.4*h&&(S=1-.4*h),this.scaleValues[0]=S}}}]),e}();SuperMapAlgoPlot.AlgoSymbol41100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2*this.controlPoints.length-1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o);if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(i,0)||SuperMapAlgoPlot.PlottingUtil.equalFuzzy(n,0))return;if(2*(l.length-1)==t||2==l.length&&0==t){var a,r=e,s=[];for(a=0;aS&&(u=a,p=g,P=S)}}if(-1==u||u>s.length-1)return;var h=0;for(a=0;an)return;var M=h/n;if(M>.8||M<.2)return;2==l.length?this.scaleValues[0]=M:this.scaleValues[2*t]=M}else if(2*l.length-1==t||2==l.length&&1==t){var b=1.667*SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/i;2==l.length?this.scaleValues[1]=b:this.scaleValues[2*t-1]=b}else{var d=-1;d=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var m=(e.x-l[d].x)/i,v=(e.y-l[d].y)/i;this.scaleValues[2*t]=m,this.scaleValues[2*t+1]=v}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol40900=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/l;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=.2*i}var n=l*this.scaleValues[0],a=l*this.scaleValues[2],r=l*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(o.x+a,o.y+r),p=[];p.push(s),p.push(new SuperMapAlgoPlot.Point(s.x+n,s.y)),this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,p,{fillLimit:!0,fill:!0,lineTypeLimit:!0,surroundLineLimit:!0});for(var u=18*n,P=new SuperMapAlgoPlot.Point(s.x+u,s.y),c=[],g=135;g<180;g+=3)c.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(P,u,u,g));c.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(P,u,u,180)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,c,{lineTypeLimit:!0,surroundLineLimit:!0}),this.scalePoints=[];var S=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,n,n,0);this.addScalePoint(S),this.addScalePoint(s),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),o=[];if(o=3>=(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o),n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(n.x+a,n.y+r),p=SuperMapAlgoPlot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,P=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=P}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol40101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/l;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=.4*i}var n=l*this.scaleValues[0],a=l*this.scaleValues[2],r=l*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(o.x+a,o.y+r),p=.6*n,u=new SuperMapAlgoPlot.Point(s.x+n,s.y),P=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,p,p,0),c=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,p,p,180),g=[];g.push(P),g.push(c),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g,{lineTypeLimit:!0});var S=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,p,p,90),h=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,p,p,270);(g=[]).push(S),g.push(h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g,{lineTypeLimit:!0});var f=new SuperMapAlgoPlot.Point(s.x-n,s.y),y=SuperMapAlgoPlot.PlottingUtil.circlePoint(f,.5*n,.5*n,270),A=SuperMapAlgoPlot.PlottingUtil.circlePoint(f,n,n,240),M=SuperMapAlgoPlot.PlottingUtil.circlePoint(f,n,n,90),b=SuperMapAlgoPlot.PlottingUtil.circlePoint(f,n,n,300);(g=[]).push(y),g.push(A),g.push(M),g.push(b),g.push(y),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g,{lineTypeLimit:!0}),this.scalePoints=[];var d=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,n,n,0);this.addScalePoint(d),this.addScalePoint(s),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),o=[];if(o=3>=(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(n.x+a,n.y+r),p=SuperMapAlgoPlot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,P=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=P}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol40100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2&&(i=t.length-1);var n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(e)*this.scaleValues[4*i],r=n*this.scaleValues[4*i+1]/1.667,s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(a,e);if(s.bfind){var p=s.index,u=s.pts,P=3.6*r,c=a-P,g=a+P;if((s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(c,e)).bfind){var S,h=s.pts,f=[];if(0==(p=s.index))f.push(e[0]);else for(S=0;S0){var j=this.computeSubSymbol(this.subSymbols[0],Y,E,x);if(null!=j)for(var C=0;C2*this.controlPoints.length-1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o);if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(i,0)||SuperMapAlgoPlot.PlottingUtil.equalFuzzy(n,0))return;if(2*(l.length-1)==t||2==l.length&&0==t){var a,r=e,s=[];for(a=0;aS&&(u=a,p=g,P=S)}}if(-1==u||u>s.length-1)return;var h=0;for(a=0;an)return;var M=h/n;if(M>.8||M<.2)return;2==l.length?this.scaleValues[0]=M:this.scaleValues[2*t]=M}else if(2*l.length-1==t||2==l.length&&1==t){var b=1.667*SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/i;2==l.length?this.scaleValues[1]=b:this.scaleValues[2*t-1]=b}else{var d=-1;d=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var m=(e.x-l[d].x)/i,v=(e.y-l[d].y)/i;this.scaleValues[2*t]=m,this.scaleValues[2*t+1]=v}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol40000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2&&(i=t.length-1);var n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(e)*this.scaleValues[4*i],r=n*this.scaleValues[4*i+1]/1.667,s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(a,e);if(s.bfind){var p=s.index,u=s.pts,P=3*r,c=a-P,g=a+P;if((s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(c,e)).bfind){var S,h=s.pts,f=[];if(0==(p=s.index))f.push(e[0]);else for(S=0;S0&&this.computeSubSymbol(this.subSymbols[0],d,b,M),!(f.length<2)){var m=f[0],v=f[1],O=SuperMapAlgoPlot.PlottingUtil.radian(m,v)*SuperMapAlgoPlot.PlottingUtil.RTOD,U=SuperMapAlgoPlot.PlottingUtil.circlePoint(m,r,r,O+90),L=SuperMapAlgoPlot.PlottingUtil.circlePoint(m,r,r,O+270),w=[];if(w.push(U),w.push(L),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,w),!(A.length<2)){var V=A[A.length-1],_=A[A.length-2],T=SuperMapAlgoPlot.PlottingUtil.radian(V,_)*SuperMapAlgoPlot.PlottingUtil.RTOD,x=SuperMapAlgoPlot.PlottingUtil.circlePoint(V,r,r,T+90),E=SuperMapAlgoPlot.PlottingUtil.circlePoint(V,r,r,T+270);(w=[]).push(x),w.push(E),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,w);var Y=SuperMapAlgoPlot.PlottingUtil.paraLine(e,r,!1),j=SuperMapAlgoPlot.PlottingUtil.polylineDistance(Y)/11,C=j;for(S=0;S<11;S++)if((s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(C-j,Y)).bfind){var I=s.index,B=s.pts;if((s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(C,Y)).bfind){var R=s.pts,N=s.index;if(S%2==0){var D=[];D.push(B);for(var k=I+1;k<=N;k++)D.push(Y[k]);D.push(R),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,D,{surroundLineLimit:!0,lineColorLimit:!0,strokeColor:"#000000",strokeOpacity:1,color:"#000000",opacity:1})}C+=j}}var z;z=SuperMapAlgoPlot.PlottingUtil.paraLine(e,3.5*r,!1),SuperMapAlgoPlot.PlottingUtil.clearSamePts(z),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,z);var F;F=SuperMapAlgoPlot.PlottingUtil.paraLine(e,3.5*r,!0),SuperMapAlgoPlot.PlottingUtil.clearSamePts(F),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,F),this.addScalePoint(u),this.addScalePoint(U),this.finish()}}}}}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>2*this.controlPoints.length-1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o);if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(i,0)||SuperMapAlgoPlot.PlottingUtil.equalFuzzy(n,0))return;if(2*(l.length-1)==t||2==l.length&&0==t){var a,r=e,s=[];for(a=0;aS&&(u=a,p=g,P=S)}}if(-1==u||u>s.length-1)return;var h=0;for(a=0;an)return;var M=h/n;if(M>.8||M<.2)return;2==l.length?this.scaleValues[0]=M:this.scaleValues[2*t]=M}else if(2*l.length-1==t||2==l.length&&1==t){var b=1.667*SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/i;2==l.length?this.scaleValues[1]=b:this.scaleValues[2*t-1]=b}else{var d=-1;d=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var m=(e.x-l[d].x)/i,v=(e.y-l[d].y)/i;this.scaleValues[2*t]=m,this.scaleValues[2*t+1]=v}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol39802=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2&&(i=t.length-1);var n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(e)*this.scaleValues[4*i],r=n*this.scaleValues[4*i+1]/1.667,s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(a,e);if(s.bfind){var p=s.index,u=s.pts,P=3*r,c=a-P,g=a+P;if((s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(c,e)).bfind){var S,h=s.pts,f=[];if(0==(p=s.index))f.push(e[0]);else for(S=0;S0&&this.computeSubSymbol(this.subSymbols[0],d,b,M),!(f.length<2)){var m=f[0],v=f[1],O=SuperMapAlgoPlot.PlottingUtil.radian(m,v)*SuperMapAlgoPlot.PlottingUtil.RTOD,U=SuperMapAlgoPlot.PlottingUtil.circlePoint(m,r,r,O+90),L=SuperMapAlgoPlot.PlottingUtil.circlePoint(m,r,r,O+270),w=[];if(w.push(U),w.push(L),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,w),!(A.length<2)){var V=A[A.length-1],_=A[A.length-2],T=SuperMapAlgoPlot.PlottingUtil.radian(V,_)*SuperMapAlgoPlot.PlottingUtil.RTOD,x=SuperMapAlgoPlot.PlottingUtil.circlePoint(V,r,r,T+90),E=SuperMapAlgoPlot.PlottingUtil.circlePoint(V,r,r,T+270);(w=[]).push(x),w.push(E),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,w),this.addScalePoint(u),this.addScalePoint(U),this.finish()}}}}}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>2*this.controlPoints.length-1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o);if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(i,0)||SuperMapAlgoPlot.PlottingUtil.equalFuzzy(n,0))return;if(2*(l.length-1)==t||2==l.length&&0==t){var a,r=e,s=[];for(a=0;aS&&(u=a,p=g,P=S)}}if(-1==u||u>s.length-1)return;var h=0;for(a=0;an)return;var M=h/n;if(M>.8||M<.2)return;2==l.length?this.scaleValues[0]=M:this.scaleValues[2*t]=M}else if(2*l.length-1==t||2==l.length&&1==t){var b=1.667*SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/i;2==l.length?this.scaleValues[1]=b:this.scaleValues[2*t-1]=b}else{var d=-1;d=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var m=(e.x-l[d].x)/i,v=(e.y-l[d].y)/i;this.scaleValues[2*t]=m,this.scaleValues[2*t+1]=v}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol39801=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2&&(i=t.length-1);var n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(e)*this.scaleValues[4*i],r=n*this.scaleValues[4*i+1]/1.667,s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(a,e);if(s.bfind){var p=s.index,u=s.pts,P=3.6*r,c=a-P,g=a+P;if((s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(c,e)).bfind){var S,h=s.pts,f=[];if(0==(p=s.index))f.push(e[0]);else for(S=0;S0&&this.computeSubSymbol(this.subSymbols[0],d,.8*b,M),!(f.length<2)){var m=f[0],v=f[1],O=SuperMapAlgoPlot.PlottingUtil.radian(m,v)*SuperMapAlgoPlot.PlottingUtil.RTOD,U=SuperMapAlgoPlot.PlottingUtil.circlePoint(m,r,r,O+90),L=SuperMapAlgoPlot.PlottingUtil.circlePoint(m,r,r,O+270),w=[];if(w.push(U),w.push(L),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,w),!(A.length<2)){var V=A[A.length-1],_=A[A.length-2],T=SuperMapAlgoPlot.PlottingUtil.radian(V,_)*SuperMapAlgoPlot.PlottingUtil.RTOD,x=SuperMapAlgoPlot.PlottingUtil.circlePoint(V,r,r,T+90),E=SuperMapAlgoPlot.PlottingUtil.circlePoint(V,r,r,T+270);(w=[]).push(x),w.push(E),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,w);var Y=SuperMapAlgoPlot.PlottingUtil.paraLine(e,r,!1),j=SuperMapAlgoPlot.PlottingUtil.polylineDistance(Y)/11,C=j;for(S=0;S<11;S++)if((s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(C-j,Y)).bfind){var I=s.index,B=s.pts;if((s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(C,Y)).bfind){var R=s.pts,N=s.index;if(S%2==0){var D=[];D.push(B);for(var k=I+1;k<=N;k++)D.push(Y[k]);D.push(R),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,D,{surroundLineLimit:!0,lineColorLimit:!0,strokeColor:"#000000",strokeOpacity:1,color:"#000000",opacity:1})}C+=j}}this.addScalePoint(u),this.addScalePoint(U),this.finish()}}}}}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>2*this.controlPoints.length-1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o);if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(i,0)||SuperMapAlgoPlot.PlottingUtil.equalFuzzy(n,0))return;if(2*(l.length-1)==t||2==l.length&&0==t){var a,r=e,s=[];for(a=0;aS&&(u=a,p=g,P=S)}}if(-1==u||u>s.length-1)return;var h=0;for(a=0;an)return;var M=h/n;if(M>.8||M<.2)return;2==l.length?this.scaleValues[0]=M:this.scaleValues[2*t]=M}else if(2*l.length-1==t||2==l.length&&1==t){var b=1.667*SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/i;2==l.length?this.scaleValues[1]=b:this.scaleValues[2*t-1]=b}else{var d=-1;d=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var m=(e.x-l[d].x)/i,v=(e.y-l[d].y)/i;this.scaleValues[2*t]=m,this.scaleValues[2*t+1]=v}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol39800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol39600=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues[0]=.03,l.scaleValues[1]=.05),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol38600),e}();SuperMapAlgoPlot.AlgoSymbol39600=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=0;--m)d.push(A[m]);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,d);var v=t[0],O=t[0],U=t[1],L=SuperMapAlgoPlot.PlottingUtil.radian(O,U)*SuperMapAlgoPlot.PlottingUtil.RTOD+270,w=.2*o;this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],v,w,L),this.scalePoints=[],this.addScalePoint(A[0]),this.addScalePoint(A[1]),this.addScalePoint(A[2]),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o,i=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]),n=l[0].clone(),a=l[1].clone(),r=e.clone();if(0==t){var s=SuperMapAlgoPlot.PlottingUtil.distance(r,n)/i;this.scaleValues[0]=s}else if(1==t){o=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,n,a);var p=SuperMapAlgoPlot.PlottingUtil.distance(o,r)/i;this.scaleValues[1]=p;var u=SuperMapAlgoPlot.PlottingUtil.distance(o,a)/i;this.scaleValues[3]=u}else if(2==t){o=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,n,a);var P=SuperMapAlgoPlot.PlottingUtil.distance(o,r)/i;this.scaleValues[2]=P;var c=SuperMapAlgoPlot.PlottingUtil.distance(o,a)/i;this.scaleValues[4]=c}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol39500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/l;(i>.1||i<=0)&&(i=.1),this.scaleValues[0]=i}var n=l*this.scaleValues[2],a=l*this.scaleValues[3],r=new SuperMapAlgoPlot.Point(o.x+n,o.y+a),s=l*this.scaleValues[0];this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],r,s,0),this.scalePoints=[];var p=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,s,s,180);this.addScalePoint(p),this.addScalePoint(r),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o=[];if(o=3>=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(n.x+a,n.y+r),p=SuperMapAlgoPlot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,P=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=P}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol39101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),r=SuperMapAlgoPlot.PlottingUtil.clearSamePts(r),!(this.minEditPts>r.length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,r);var s=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(t),p=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var u=this.getSubSymbolScaleValue()*p;this.scaleValues[0]=u/p,this.scaleValues[3]=u/p,this.scaleValues[6]=u/p}var P=new SuperMapAlgoPlot.Point(s.x+p*e,s.y+p*l),c=new SuperMapAlgoPlot.Point(s.x+p*o,s.y+p*i),g=new SuperMapAlgoPlot.Point(s.x+p*n,s.y+p*a),S=p*this.scaleValues[0],h=p*this.scaleValues[3],f=p*this.scaleValues[6];this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],P,1.5*S,0),this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[1],c,1.5*h,0),this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[2],g,1.5*f,0),this.addScalePoint(P);var y=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,S,S,180);this.addScalePoint(y),this.addScalePoint(c);var A=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,h,h,180);this.addScalePoint(A),this.addScalePoint(g);var M=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,f,f,180);this.addScalePoint(M),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),c=SuperMapAlgoPlot.PlottingUtil.clearSamePts(c),this.minEditPts>c.length)return;this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,c);var g=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l),S=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===t)i=(e.x-g.x)/S,this.scaleValues[1]=i,n=(e.y-g.y)/S,this.scaleValues[2]=n;else if(1===t){i=this.scaleValues[1],n=this.scaleValues[2];var h=new SuperMapAlgoPlot.Point(g.x+S*i,g.y+S*n);o=SuperMapAlgoPlot.PlottingUtil.distance(h,e)/S,this.scaleValues[0]=o}if(2===t)r=(e.x-g.x)/S,this.scaleValues[4]=r,s=(e.y-g.y)/S,this.scaleValues[5]=s;else if(3===t){r=this.scaleValues[4],s=this.scaleValues[5];var f=new SuperMapAlgoPlot.Point(g.x+S*r,g.y+S*s);a=SuperMapAlgoPlot.PlottingUtil.distance(f,e)/S,this.scaleValues[3]=a}if(4===t)u=(e.x-g.x)/S,this.scaleValues[7]=u,P=(e.y-g.y)/S,this.scaleValues[8]=P;else if(5===t){u=this.scaleValues[7],P=this.scaleValues[8];var y=new SuperMapAlgoPlot.Point(g.x+S*u,g.y+S*P);p=SuperMapAlgoPlot.PlottingUtil.distance(y,e)/S,this.scaleValues[6]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol39000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||n<=0)&&(n=.3),this.scaleValues[2]=n}var a=this.scaleValues[0],r=this.scaleValues[1],s=this.scaleValues[2],p=this.scaleValues[3],u=a*SuperMapAlgoPlot.PlottingUtil.RTOD,P=i-u,c=i+u,g=this.GetArcPts(P,c,e,o);if(!(2>g.length)){this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g);var S=o*s,h=i-90,f=o*p,y=SuperMapAlgoPlot.PlottingUtil.linePnt(e,l,f),A=SuperMapAlgoPlot.PlottingUtil.radian(y,l)*SuperMapAlgoPlot.PlottingUtil.RTOD-30,M=SuperMapAlgoPlot.PlottingUtil.distance(y,l),b=0,d=t[0].clone(),m=SuperMapAlgoPlot.PlottingUtil.circlePoint(y,M,M,A),v=null;if(this.subSymbols.length>0&&null!=(v=this.computeSubSymbol(this.subSymbols[0],y,S,h,0,-.5)))for(var O=0;Ov[O].positionPoints))for(var U=0;USuperMapAlgoPlot.PlottingUtil.distance(y,d)&&(d=V),b++)}this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[d,m]);var _=SuperMapAlgoPlot.PlottingUtil.radian(m,d)*SuperMapAlgoPlot.PlottingUtil.RTOD,T=SuperMapAlgoPlot.PlottingUtil.distance(d,m),x=SuperMapAlgoPlot.PlottingUtil.circlePoint(m,.1*T,.1*T,_-15),E=SuperMapAlgoPlot.PlottingUtil.circlePoint(m,.1*T,.1*T,_+15),Y=[];Y.push(m),Y.push(x),Y.push(E),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,Y,{fillLimit:!0,fill:!0,lineTypeLimit:!0}),this.scalePoints=[];var j=SuperMapAlgoPlot.PlottingUtil.circlePoint(e,o,o,c);this.addScalePoint(j);var C=SuperMapAlgoPlot.PlottingUtil.linePnt(y,l,o*s);if(this.addScalePoint(C),this.addScalePoint(y),3==t.length){var I=t[2],B=SuperMapAlgoPlot.PlottingUtil.distance(e,I),R=r*SuperMapAlgoPlot.PlottingUtil.RTOD,N=i-R,D=i+R,k=this.GetArcPts(N,D,e,B);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,k);var z=SuperMapAlgoPlot.PlottingUtil.circlePoint(e,B,B,D);this.addScalePoint(z);var F=m,G=SuperMapAlgoPlot.PlottingUtil.distance(e,I)-o,K=SuperMapAlgoPlot.PlottingUtil.circlePoint(F,G,G,A);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[F,K]);var W=SuperMapAlgoPlot.PlottingUtil.circlePoint(K,.1*G,.1*G,_-15),q=SuperMapAlgoPlot.PlottingUtil.circlePoint(K,.1*G,.1*G,_+15),J=[];J.push(K),J.push(W),J.push(q),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,J,{fillLimit:!0,fill:!0,lineTypeLimit:!0})}this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>3)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=e,i=l[0],n=l[1],a=SuperMapAlgoPlot.PlottingUtil.distance(i,n),r=SuperMapAlgoPlot.PlottingUtil.radian(i,n);if(0==t){var s=SuperMapAlgoPlot.PlottingUtil.radian(i,o),p=Math.abs(s-r);this.scaleValues[0]=p}else if(1==t){var u=a*this.scaleValues[3],P=SuperMapAlgoPlot.PlottingUtil.linePnt(i,n,u),c=SuperMapAlgoPlot.PlottingUtil.distance(o,P)/a;this.scaleValues[2]=c}else if(2==t){var g=SuperMapAlgoPlot.PlottingUtil.distance(o,i)/a;if(g>=1)return;this.scaleValues[3]=g}else if(3==t){var S=SuperMapAlgoPlot.PlottingUtil.radian(i,o),h=Math.abs(S-r);this.scaleValues[1]=h}}}},{key:"GetArcPts",value:function(t,e,l,o){var i,n=[],a=0;for(a=t;a.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=o,this.scaleValues[2]=.5*o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=180*SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)/Math.PI,r=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);0=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.2||i<=0)&&(i=.2),this.scaleValues[0]=i}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3],s=o*n,p=new SuperMapAlgoPlot.Point(l.x+o*a,l.y+o*r);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,s,0),this.addScalePoint(p);var u=s,P=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,u,u,90);this.addScalePoint(P),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol37700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),i=l*this.scaleValues[2],n=l*this.scaleValues[3],a=new SuperMapAlgoPlot.Point(o.x+i,o.y+n);if(!this.isEdit){var r=this.getDefaultSubSymbolSize()/l;(r>.3||r<=0)&&(r=.3),this.scaleValues[0]=r}var s=l*this.scaleValues[0];this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],a,s,90),this.scalePoints=[];var p=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,s,s,180);this.addScalePoint(p),this.addScalePoint(a),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),o=[];if(o=3>=(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(n.x+a,n.y+r),p=SuperMapAlgoPlot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,P=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=P}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol37601=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.15||i<=0)&&(i=.15),this.scaleValues[0]=i}var n=o*this.scaleValues[2],a=o*this.scaleValues[3],r=new SuperMapAlgoPlot.Point(l.x+n,l.y+a),s=o*this.scaleValues[0];this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],r,s,0),this.scalePoints=[];var p=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,s,s,180);this.addScalePoint(p),this.addScalePoint(r),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),o=[];if(o=3>=(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(n.x+a,n.y+r),p=SuperMapAlgoPlot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,P=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=P}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol37600=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[1],l[0]);if(0==t){var i=SuperMapAlgoPlot.PlottingUtil.projectPoint(e,l[1],l[0]),n=SuperMapAlgoPlot.PlottingUtil.distance(i,l[1]);90>SuperMapAlgoPlot.PlottingUtil.radian(l[1],i)*SuperMapAlgoPlot.PlottingUtil.RTOD&&(n=-n);var a=n/o;this.scaleValues[0]=a;var r=SuperMapAlgoPlot.PlottingUtil.distance(e,i)/o;this.scaleValues[1]=r}else if(1==t){var s=SuperMapAlgoPlot.PlottingUtil.distance(l[0],e)/o;if(.1>s||s>.95)return;this.scaleValues[2]=s}else if(2==t){var p=SuperMapAlgoPlot.PlottingUtil.distance(l[0],e)/o;if(.1>p||p>.95)return;this.scaleValues[3]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol37301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[1],l[0]);if(0==t){var i=SuperMapAlgoPlot.PlottingUtil.projectPoint(e,l[1],l[0]),n=SuperMapAlgoPlot.PlottingUtil.distance(i,l[1]);90>SuperMapAlgoPlot.PlottingUtil.radian(l[1],i)*SuperMapAlgoPlot.PlottingUtil.RTOD&&(n=-n);var a=n/o;this.scaleValues[0]=a;var r=SuperMapAlgoPlot.PlottingUtil.distance(e,i)/o;this.scaleValues[1]=r}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol37300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol37200=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues[0]=.1,l.scaleValues[1]=.2),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol27100),e}();SuperMapAlgoPlot.AlgoSymbol37200=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],P,.9*u,h-90),this.scalePoints=[],this.addScalePoint(s[s.length-1]);var f=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,u,u,h+90);this.addScalePoint(f),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]);if(0==t){var i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}else if(1==t){var n=this.scaleValues[0]*o,a=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[0],n,n,90),r=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[1],n,n,90),s=new SuperMapAlgoPlot.Point((a.x+r.x)/2,(a.y+r.y)/2),p=SuperMapAlgoPlot.PlottingUtil.distance(s,e)/o;p>=.8&&(p=.8),this.scaleValues[1]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol37100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=o,this.scaleValues[2]=.5*o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=180*SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)/Math.PI,r=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);0=2){for(var i=-1,n=0;n0&&this.computeSubSymbol(this.subSymbols[0],s,u,p+90),this.scalePoints=[],this.addScalePoint(r[r.length-1]);var P=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,u,u,p+90);this.addScalePoint(P),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]);if(0==t){var i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}else if(1==t){var n=new SuperMapAlgoPlot.Point((l[0].x+l[1].x)/2,(l[0].y+l[1].y)/2),a=SuperMapAlgoPlot.PlottingUtil.distance(n,e)/o;a>=.8&&(a=.8),this.scaleValues[1]=a}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol36600=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],a,.8*o,w-90),this.scalePoints=[];var V=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,o,o,w-90);this.addScalePoint(V),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;if(0==t){var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=e,n=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.5*o,l).pts,a=SuperMapAlgoPlot.PlottingUtil.distance(i,n)/o;this.scaleValues[0]=a<.5?a:.5}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol36401=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.scalePoints.length)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===t){var i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0]);this.scaleValues[0]=2*i/o}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol35500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.scaleValues.length&&this.scaleValues.push(0);var S=this.scaleValues[2*(o+1)];2*(o+1)+1>=this.scaleValues.length&&this.scaleValues.push(1);var h=S;this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[o],g,i,h);var f=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,1.5*i,1.5*i,h+90);this.addScalePoint(f)}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>this.scalePoints.length)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;if(0==t){for(var o=[],i=0;i(s-=90)&&(s+=360),this.scaleValues[2*t]=s}}}},{key:"GetCodeByScaleValue",value:function(t){switch(Math.floor(t)){case 0:return 35300;case 1:return 35301;case 2:return 35302;case 3:return 35303;case 4:return 35400;case 5:return 35401;case 6:return 35402;case 7:return 35403;default:return-1}}}]),e}();SuperMapAlgoPlot.AlgoSymbol35304=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],l,o,0),this.scalePoints=[];var i=SuperMapAlgoPlot.PlottingUtil.circlePoint(l,o,o,90);this.addScalePoint(i),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l);if(0==t){var n=SuperMapAlgoPlot.PlottingUtil.distance(e,i)/o;this.scaleValues[0]=n}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol35200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=e[0],n=e[1],a=e[e.length-1],r=e[e.length-2],s=SuperMapAlgoPlot.PlottingUtil.radian(i,n)*SuperMapAlgoPlot.PlottingUtil.RTOD,p=SuperMapAlgoPlot.PlottingUtil.radian(r,a)*SuperMapAlgoPlot.PlottingUtil.RTOD,u=this.scaleValues[0],P=l*u,c=SuperMapAlgoPlot.PlottingUtil.circlePoint(i,P,P,s+90),g=SuperMapAlgoPlot.PlottingUtil.circlePoint(i,P,P,s+270),S=[];S.push(c),S.push(g),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,S,{lineTypeLimit:!0}),this.scalePoints=[],this.addScalePoint(g);var h=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,P,P,p+90),f=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,P,P,p+270);(S=[]).push(h),S.push(f),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,S,{lineTypeLimit:!0});var y,A,M=t.length;if(this.scaleValues.length<=M){for(this.scaleValues=[],this.scaleValues.push(u),A=1/M,y=0;y=this.scalePoints.length)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i,n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0==t){var a=(i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0]))/n;this.scaleValues[0]=a}else{var r,s=e,p=[];for(r=0;rh&&(u=r,c=S,P=h)}}if(-1==u||u>p.length-1)return;for(i=0,r=0;rn)return;var f=i/n;this.scaleValues[t]=f}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol35000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||a<=0)&&(a=.3),this.scaleValues[0]=a,this.scaleValues[1]=.5*a}var r,s=l*this.scaleValues[0],p=[];for(p.push(n),r=i;r>=0;r--)p.push(e[r]);if((o=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(s,p)).bfind){var u=o.index,P=o.pts,c=[];for(r=p.length-1;r>u;r--)c.push(p[r]);c.push(P),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,c);var g=[];for(g.push(n),r=i+1;r.3||a<=0)&&(a=.3),this.scaleValues[0]=a,this.scaleValues[1]=.5*a}var r,s=l*this.scaleValues[0],p=[];for(p.push(n),r=i;r>=0;r--)p.push(e[r]);if((o=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(s,p)).bfind){var u=o.index,P=o.pts,c=[];for(r=p.length-1;r>u;r--)c.push(p[r]);c.push(P),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,c);var g=[];for(g.push(n),r=i+1;r.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=.5*o}this.addArrow(e,this.scaleValues[1]);var i=l*this.scaleValues[0],n=new SuperMapAlgoPlot.Point(e[0].x,e[0].y),a=new SuperMapAlgoPlot.Point(e[1].x,e[1].y),r=SuperMapAlgoPlot.PlottingUtil.radian(a,n)*SuperMapAlgoPlot.PlottingUtil.RTOD,s=new SuperMapAlgoPlot.Point(0,.5*i),p=new SuperMapAlgoPlot.Point(i,.5*i),u=new SuperMapAlgoPlot.Point(1.5*i,0),P=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(n,s,r),c=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(n,p,r),g=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(n,u,r);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,[e[0],P,c,g]),this.finish()}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol34900=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=0;n--)a.push(e[n]);for(this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,a),e=[],n=195;n<=345;n+=4)e.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(l,i,i,n));for(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(n,345)&&(n=345,e.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(l,i,i,n))),a=[],n=e.length-1;n>=0;n--)a.push(e[n]);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,a);var r=2*this.scaleValues[0]*i;(e=[]).push(new SuperMapAlgoPlot.Point(l.x-r,l.y)),e.push(new SuperMapAlgoPlot.Point(l.x-.4*r,l.y)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,e,{lineTypeLimit:!0}),(e=[]).push(new SuperMapAlgoPlot.Point(l.x-.2*r,l.y)),e.push(new SuperMapAlgoPlot.Point(l.x+.4*r,l.y)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,e,{lineTypeLimit:!0}),(e=[]).push(new SuperMapAlgoPlot.Point(l.x+.6*r,l.y)),e.push(new SuperMapAlgoPlot.Point(l.x+r,l.y)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,e,{lineTypeLimit:!0}),(e=[]).push(new SuperMapAlgoPlot.Point(l.x-this.scaleValues[0]*i,l.y)),e.push(new SuperMapAlgoPlot.Point(l.x-this.scaleValues[0]*i,l.y+this.scaleValues[0]*i)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,e,{lineTypeLimit:!0}),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol34801=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=0;n--)a.push(e[n]);for(this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,a),e=[],n=195;n<=345;n+=4)e.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(l,i,i,n));for(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(n,345)&&(n=345,e.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(l,i,i,n))),a=[],n=e.length-1;n>=0;n--)a.push(e[n]);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,a);var r=.8*i;(e=[]).push(new SuperMapAlgoPlot.Point(l.x-r,l.y)),e.push(new SuperMapAlgoPlot.Point(l.x+r,l.y)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,e,{lineTypeLimit:!0}),(e=[]).push(new SuperMapAlgoPlot.Point(l.x-.4*i,l.y)),e.push(new SuperMapAlgoPlot.Point(l.x-.4*i,l.y+.4*i)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,e,{lineTypeLimit:!0}),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol34800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0==t){var i=.5*o,n=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i,l).pts,a=SuperMapAlgoPlot.PlottingUtil.distance(e,n)/o;a>.5&&(a=.5),this.scaleValues[0]=a}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol34700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0){var A=.2*e,M=new SuperMapAlgoPlot.Point(t[1].x,t[1].y+A/2);this.computeSubSymbol(this.subSymbols[0],M,A,0)}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol34501=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l1&&(s=1);var p,u,P=e*s,c=SuperMapAlgoPlot.PlottingUtil.circlePoint(l,P,P,i),g=[];g.push(t[0].clone()),g.push(c),p=SuperMapAlgoPlot.PlottingUtil.paraLine(g,r,!0),u=SuperMapAlgoPlot.PlottingUtil.paraLine(g,r,!1);var S,h=[];for(S=0;S0&&this.computeSubSymbol(this.subSymbols[0],A,y/2,i+180);for(var M=[],b=.1*P,d=[],m=0;m=O)){for(var U=b;Ul.length)return;var o,i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);0==t?(o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],e)/i,this.scaleValues[0]=o):1==t&&(o=2*SuperMapAlgoPlot.PlottingUtil.distance(l[1],e)/i,this.scaleValues[1]=o)}}}]),e}();SuperMapAlgoPlot.AlgoSymbol34400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||i<=0)&&(i=.3),this.scaleValues[5]=i);var a=1.5*this.scaleValues[5];2==t.length?(this.isEdit||(this.scaleValues[3]=this.scaleValues[2]+a),l=this.scaleValues[2],o=this.scaleValues[3]):(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(this.scaleValues[4],0)&&(this.scaleValues=[],this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(.125)),this.isEdit||(this.scaleValues[4]=this.scaleValues[3]+a,((i=this.getDefaultSubSymbolSize()/n)>.3||i<=0)&&(i=.3),this.scaleValues[5]=i),l=this.scaleValues[3],o=this.scaleValues[4]);var r=n*l,s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(r,e);if(s.bfind){var p=s.index,u=s.pts,P=n*o;if((s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(P,e)).bfind){for(var c=s.index,g=s.pts,S=new SuperMapAlgoPlot.Point(u.x,u.y),h=new SuperMapAlgoPlot.Point(g.x,g.y),f=SuperMapAlgoPlot.PlottingUtil.radian(S,h)*SuperMapAlgoPlot.PlottingUtil.RTOD,y=[],A=0;A<=p;A++)y.push(e[A]);for(y.push(u),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,y),(y=[]).push(g),A=c+1;Al.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!1);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i,n,a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o),r=0,s=0;if(2==l.length?(r=this.scaleValues[2],s=this.scaleValues[3]):(r=this.scaleValues[3],s=this.scaleValues[4]),0==t){for(var p=s-r,u=e.clone(),P=[],c=0;cM&&(S=f,g=A,h=M)}}if(-1==S||S>P.length-1)return;i=0;for(var b=0;ba)return;if((n=i/a)>.7||n-p<0)return;2==l.length?(this.scaleValues[2]=n-p,this.scaleValues[3]=n):(this.scaleValues[3]=n-p,this.scaleValues[4]=n)}else if(1==t){i=a*r;var d=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i,o);if(!d.bfind)return;var m=d.pts;if(.7<(n=(2*SuperMapAlgoPlot.PlottingUtil.distance(m,e)+i)/a))return;2==l.length?this.scaleValues[3]=n:this.scaleValues[4]=n}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol33400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;le.x),P=[];u?(P.push(l),P.push(s)):(P.push(l),P.push(p)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,P,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineColor:"#ffff00",surroundLineColorOpacity:1,surroundLineWidth:4,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.INNER});var c=[];u?(c.push(o),c.push(p)):(c.push(o),c.push(s)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,c,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineColor:"#ffff00",surroundLineColorOpacity:1,surroundLineWidth:4,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.INNER});var g,S,h,f,y=.37*n,A=SuperMapAlgoPlot.PlottingUtil.linePnt(i,e,y),M=.09*n,b=[];b.push(A),b.push(new SuperMapAlgoPlot.Point(A.x,A.y+M)),this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,b,{lineTypeLimit:!0,surroundLineLimit:!0,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.NONE}),u?(g=(r=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(M,i,A)).pntLeft,S=(r=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(2*M,i,A)).pntLeft,h=(r=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(M,g,S)).pntRight,f=r.pntLeft):(g=(r=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(M,i,A)).pntRight,S=(r=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(2*M,i,A)).pntRight,h=(r=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(M,g,S)).pntRight,f=r.pntLeft);var d=[];d.push(g),d.push(S),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,d,{lineTypeLimit:!0,surroundLineLimit:!0,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.NONE});var m=[];m.push(h),m.push(f),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,m,{lineTypeLimit:!0,surroundLineLimit:!0,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.NONE}),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol32300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],A,a,P-90),this.finish()}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol31803=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||l<=0)&&(l=.3),this.scaleValues[2]=l}var o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(t),i=Math.abs(t[1].x-t[0].x)*this.getSubSymbolScaleValue()*.5,n=Math.abs(t[1].y-t[0].y)*this.getSubSymbolScaleValue()*.5;if(t[0].y>t[1].y){var a=new SuperMapAlgoPlot.Point(o.x,t[0].y),r=new SuperMapAlgoPlot.Point(o.x,t[0].y-n);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[a,r]);var s=new SuperMapAlgoPlot.Point(o.x,t[1].y),p=new SuperMapAlgoPlot.Point(o.x,t[1].y+n);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[s,p])}else{var u=new SuperMapAlgoPlot.Point(o.x,t[1].y),P=new SuperMapAlgoPlot.Point(o.x,t[1].y-n);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[u,P]);var c=new SuperMapAlgoPlot.Point(o.x,t[0].y),g=new SuperMapAlgoPlot.Point(o.x,t[0].y+n);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[c,g])}if(t[0].x>t[1].x){var S=new SuperMapAlgoPlot.Point(t[0].x,o.y),h=new SuperMapAlgoPlot.Point(t[0].x-i,o.y);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[S,h]);var f=new SuperMapAlgoPlot.Point(t[1].x,o.y),y=new SuperMapAlgoPlot.Point(t[1].x+i,o.y);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[f,y])}else{var A=new SuperMapAlgoPlot.Point(t[1].x,o.y),M=new SuperMapAlgoPlot.Point(t[1].x-i,o.y);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[A,M]);var b=new SuperMapAlgoPlot.Point(t[0].x,o.y),d=new SuperMapAlgoPlot.Point(t[0].x+i,o.y);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[b,d])}this.addCell(SuperMapAlgoPlot.SymbolType.RECTANGLESYMBOL,t);var m=new SuperMapAlgoPlot.Point(o.x+e*this.scaleValues[0],o.y+e*this.scaleValues[1]),v=e*this.scaleValues[2]*1.2;this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],m,v,0),this.addScalePoint(m);var O=SuperMapAlgoPlot.PlottingUtil.circlePoint(m,v/2,v/2,90);this.addScalePoint(O),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length.3||s<=0)&&(s=.3),this.scaleValues[0]=s}var p=new SuperMapAlgoPlot.Point(e.x+o,e.y),u=new SuperMapAlgoPlot.Point(e.x+4*o,e.y),P=SuperMapAlgoPlot.PlottingUtil.radian(p,u)*SuperMapAlgoPlot.PlottingUtil.RTOD,c=l*this.scaleValues[0]*2,g=new SuperMapAlgoPlot.Point(e.x+l*this.scaleValues[1],e.y+l*this.scaleValues[2]);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],g,.8*c,P),this.addScalePoint(g);var S=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,c/2,c/2,90);this.addScalePoint(S),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length0&&this.computeSubSymbol(this.subSymbols[0],i,2*o,v),this.addScalePoint(r.pntRight,0),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol31303=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],a,2*n,P),this.addScalePoint(s.pntRight),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol31302=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ld&&(h=A,y=b,f=d)}}if(-1==h||h>S.length-1)return;n=0;for(var m=0;mo)return;var v=n/o;this.scaleValues[0]=v}else if(1===t){a=o*this.scaleValues[0];var O=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(S,a);if(-1===O.index)return;s=r=O.pt,p=S[O.index],u=S[O.index+1],P=SuperMapAlgoPlot.PlottingUtil.radian(p,u);var U=SuperMapAlgoPlot.PlottingUtil.radian(s,e)-P;this.scaleValues[1]=U;var L=(n=SuperMapAlgoPlot.PlottingUtil.distance(r,e))/o;this.scaleValues[2]=L}else if(2===t){if(a=o*this.scaleValues[0],c=180*this.scaleValues[1]/Math.PI,n=o*this.scaleValues[2],-1===(r=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(S,a)).index)return;s=r.pt,p=S[r.index],u=S[r.index+1],P=180*SuperMapAlgoPlot.PlottingUtil.radian(p,u)/Math.PI,g=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,n,n,P+c-180);var w=SuperMapAlgoPlot.PlottingUtil.distance(e,g)/(.4*n);this.scaleValues[5]=w}else if(3===t){if(a=o*this.scaleValues[0],c=180*this.scaleValues[1]/Math.PI,n=o*this.scaleValues[2],-1===(r=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(S,a)).index)return;s=r.pt,p=S[r.index],u=S[r.index+1],P=180*SuperMapAlgoPlot.PlottingUtil.radian(p,u)/Math.PI,g=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,n,n,P+c-180);var V=.4*n*this.scaleValues[5],_=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,V,V,P+c+90),T=2*SuperMapAlgoPlot.PlottingUtil.distance(_,e)/(.4*n);if(this.scaleValues[5]-.25*T<=0)return;this.scaleValues[6]=T}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol30102=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||i<=0)&&(i=.3),this.scaleValues[1]=i,this.scaleValues[3]=i}var n=this.scaleValues[1],a=180*this.scaleValues[2]/Math.PI,r=l*this.scaleValues[0],s=l*this.scaleValues[3],p=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,r);if(-1!==p.index){var u=p.pt,P=e[p.index],c=e[p.index+1],g=SuperMapAlgoPlot.PlottingUtil.radian(P,c)*SuperMapAlgoPlot.PlottingUtil.RTOD,S=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,s,s,g+a);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[p.pt,S]);var h,f=SuperMapAlgoPlot.PlottingUtil.radian(u,S)*SuperMapAlgoPlot.PlottingUtil.RTOD,y=l*n;0A&&(c=h,S=y,g=A)}}if(-1==c||c>u.length-1)return;for(var M=0,b=0;bo)return;var d=M/o;this.scaleValues[0]=d}else if(1===t){var m=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(p,o*this.scaleValues[0]);if(-1===m.index)return;n=m.pt,a=p[m.index],r=p[m.index+1],s=SuperMapAlgoPlot.PlottingUtil.radian(a,r)*SuperMapAlgoPlot.PlottingUtil.RTOD;var v=o*this.scaleValues[3],O=SuperMapAlgoPlot.PlottingUtil.circlePoint(n,v,v,s+this.scaleValues[2]*SuperMapAlgoPlot.PlottingUtil.RTOD+180),U=SuperMapAlgoPlot.PlottingUtil.distance(O,e)/o*2;this.scaleValues[1]=U}else if(2===t){var L=o*this.scaleValues[0],w=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(p,L);if(-1===w.index)return;n=w.pt,a=p[w.index],r=p[w.index+1],s=SuperMapAlgoPlot.PlottingUtil.radian(a,r);var V=SuperMapAlgoPlot.PlottingUtil.radian(n,e)-s;this.scaleValues[2]=V}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol30800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ls||.3v&&(y=b,M=m,A=v)}}if(-1==y||y>h.length-1)return;n=0;for(var O=0;Oo)return;var U=n/o;this.scaleValues[0]=U}else if(1===t){a=o*this.scaleValues[0];var L=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(S,a);if(-1===L.index)return;r=L.pt,s=S[L.index],p=S[L.index+1],u=SuperMapAlgoPlot.PlottingUtil.radian(s,p);var w=(g=SuperMapAlgoPlot.PlottingUtil.radian(r,e))-u;this.scaleValues[1]=w;var V=(n=SuperMapAlgoPlot.PlottingUtil.distance(r,e))/o/1.5;this.scaleValues[2]=V}else if(2===t){if(a=o*this.scaleValues[0],P=180*this.scaleValues[1]/Math.PI,n=o*this.scaleValues[2],-1===(r=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(S,a)).index)return;c=r.pt,s=S[r.index],p=S[r.index+1],u=180*SuperMapAlgoPlot.PlottingUtil.radian(s,p)/Math.PI;var _=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,.4*n,.4*n,u+P),T=SuperMapAlgoPlot.PlottingUtil.distance(e,_)/(.4*n);this.scaleValues[5]=T}else if(3===t){if(a=o*this.scaleValues[0],P=180*this.scaleValues[1]/Math.PI,n=o*this.scaleValues[2],-1===(r=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(S,a)).index)return;c=r.pt,s=S[r.index],p=S[r.index+1],g=(u=180*SuperMapAlgoPlot.PlottingUtil.radian(s,p)/Math.PI)+P;var x=new SuperMapAlgoPlot.Point(.6*n,0),E=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,x,g),Y=.4*n*this.scaleValues[5],j=new SuperMapAlgoPlot.Point(0,Y),C=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(E,j,g),I=2*SuperMapAlgoPlot.PlottingUtil.distance(C,e)/(.4*n);this.scaleValues[6]=I}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol30100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.5*f){M=d-1,b=SuperMapAlgoPlot.PlottingUtil.linePnt(A,e[d],.5*f);break}-1===M&&(M=e.length-1,b=e[e.length-1]);var m=null;if(null!==b){for(var v=180*SuperMapAlgoPlot.PlottingUtil.radian(A,b)/Math.PI,O=[],U=0;U=0;T--)if(SuperMapAlgoPlot.PlottingUtil.distance(w,e[T])>.5*f){V=T,_=SuperMapAlgoPlot.PlottingUtil.linePnt(w,e[T],.5*f);break}if(-1===V&&(V=0,_=e[0]),null!==_){for(var x=180*SuperMapAlgoPlot.PlottingUtil.radian(w,_)/Math.PI,E=[],Y=0;Y.2||o<=0)&&(o=.2),this.scaleValues[2]=o,this.scaleValues[4]=o}var i=l*this.scaleValues[0],n=180*this.scaleValues[1]/Math.PI,a=l*this.scaleValues[2],r=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,i);if(-1!==r.index){var s=r.pt,p=new SuperMapAlgoPlot.Point(e[r.index].x,e[r.index].y),u=new SuperMapAlgoPlot.Point(e[r.index+1].x,e[r.index+1].y),P=180*SuperMapAlgoPlot.PlottingUtil.radian(p,u)/Math.PI,c=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,a,a,P+n);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[s,c]);var g=180*SuperMapAlgoPlot.PlottingUtil.radian(s,c)/Math.PI,S=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,.2*a,.2*a,g-157.5),h=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,.2*a,.2*a,g+157.5);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,[c,S,h],{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0});for(var f=4.5*(l*this.scaleValues[4])*Math.sin(Math.PI/8),y=this.getLeftSubSymbolPts(f),A=e[0].clone(),M=-1,b=null,d=1;d.5*f){M=d-1,b=SuperMapAlgoPlot.PlottingUtil.linePnt(A,e[d],.5*f);break}-1===M&&(M=e.length-1,b=e[e.length-1]);var m=null;if(null!==b){for(var v=180*SuperMapAlgoPlot.PlottingUtil.radian(A,b)/Math.PI,O=[],U=0;U=0;T--)if(SuperMapAlgoPlot.PlottingUtil.distance(w,e[T])>.5*f){V=T,_=SuperMapAlgoPlot.PlottingUtil.linePnt(w,e[T],.5*f);break}if(-1===V&&(V=0,_=e[0]),null!==_){for(var x=180*SuperMapAlgoPlot.PlottingUtil.radian(w,_)/Math.PI,E=[],Y=0;Yc&&(a=p,s=P,r=c))}}if(-1===a||a>o.length-1)return;i=0;for(var g=0;gn)return;var S=i/n;this.scaleValues[0]=S}else if(1===t){var h=n*this.scaleValues[0],f=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(o,h);if(-1===f.index)return;var y=f.pt,A=o[f.index],M=o[f.index+1],b=SuperMapAlgoPlot.PlottingUtil.radian(A,M),d=SuperMapAlgoPlot.PlottingUtil.radian(y,e)-b;this.scaleValues[1]=d;var m=(i=SuperMapAlgoPlot.PlottingUtil.distance(y,e))/n;this.scaleValues[2]=m}else if(2===t){var v=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/n;v>.35&&(v=.35),this.scaleValues[4]=v}}}},{key:"getLeftSubSymbolPts",value:function(t){var e=.25*t,l=[],o=new SuperMapAlgoPlot.Point(0,0),i=new SuperMapAlgoPlot.Point(e,-2*e),n=new SuperMapAlgoPlot.Point(2*e,0),a=new SuperMapAlgoPlot.Point(e,2*e);return l.push(o),l.push(i),l.push(n),l.push(a),l.push(o),l}},{key:"getRightSubSymbolPts",value:function(t){return this.getLeftSubSymbolPts(t)}}]),e}();SuperMapAlgoPlot.AlgoSymbol30001=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lc&&(a=p,s=P,r=c)}}if(-1==a||a>o.length-1)return;i=0;for(var g=0;gn)return;var S=i/n;this.scaleValues[0]=S}else if(1===t){var h=n*this.scaleValues[0],f=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(o,h);if(-1===f.index)return;var y=f.pt,A=o[f.index],M=o[f.index+1],b=SuperMapAlgoPlot.PlottingUtil.radian(A,M),d=SuperMapAlgoPlot.PlottingUtil.radian(y,e)-b;this.scaleValues[1]=d;var m=(i=SuperMapAlgoPlot.PlottingUtil.distance(y,e))/n;this.scaleValues[2]=m}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol30000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=this.getSubSymbolScaleValue(),this.scaleValues[2]=.5*this.getSubSymbolScaleValue()}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,r=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);0=2){var c=l*this.scaleValues[1],g=.3*c,S=.8*c,h=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(l-S,e),f=1.1*c,y=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(l-f,e),A=180*SuperMapAlgoPlot.PlottingUtil.radian(h.pts,y.pts)/Math.PI,M=SuperMapAlgoPlot.PlottingUtil.circlePoint(h.pts,g,g,A+90),b=SuperMapAlgoPlot.PlottingUtil.circlePoint(h.pts,g,g,A+270),d=SuperMapAlgoPlot.PlottingUtil.circlePoint(y.pts,g,g,A+90),m=SuperMapAlgoPlot.PlottingUtil.circlePoint(y.pts,g,g,A+270),v=[];v.push(M),v.push(b),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,v),(v=[]).push(d),v.push(m),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,v)}}var O=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.5*l,e),U=SuperMapAlgoPlot.PlottingUtil.circlePoint(O.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,a+90);this.addScalePoint(U,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=2&&this.controlPoints.length=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,o);for(var i=0;i<4;i++){var n=i*(o.length-1)/4,a=new SuperMapAlgoPlot.Point(o[n].x,o[n].y),r=new SuperMapAlgoPlot.Point(o[n+1].x,o[n+1].y),s=new SuperMapAlgoPlot.Point((a.x+r.x)/2,(a.y+r.y)/2),p=180*SuperMapAlgoPlot.PlottingUtil.radian(s,r)/Math.PI,u=e*this.scaleValues[0]/2,P=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,u,u,p),c=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,4*u,4*u,p+270),g=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,u,u,p+180);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,[P,c,g],{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0})}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol29103=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,l);for(var o=0;o<4;o++){var i=o*(l.length-1)/4,n=new SuperMapAlgoPlot.Point(l[i].x,l[i].y),a=new SuperMapAlgoPlot.Point(l[i+1].x,l[i+1].y),r=new SuperMapAlgoPlot.Point((n.x+a.x)/2,(n.y+a.y)/2),s=SuperMapAlgoPlot.PlottingUtil.radian(r,a)*SuperMapAlgoPlot.PlottingUtil.RTOD,p=this.scaleValues[0]*e/2,u=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,p,p,s),P=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,4*p,4*p,s+270),c=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,p,p,s+180);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[u,P,c])}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol29101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,l);for(var o=0;o<4;o++){var i=Math.floor(o*l.length/4),n=new SuperMapAlgoPlot.Point(l[i].x,l[i].y),a=new SuperMapAlgoPlot.Point(l[i+1].x,l[i+1].y),r=new SuperMapAlgoPlot.Point((n.x+a.x)/2,(n.y+a.y)/2),s=SuperMapAlgoPlot.PlottingUtil.radian(a,r)*SuperMapAlgoPlot.PlottingUtil.RTOD,p=this.scaleValues[0]*e/2,u=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,p,p,s),P=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,4*p,4*p,s+270),c=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,p,p,s+180);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[u,P,c],{lineTypeLimit:!0,surroundLineLimit:!0})}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol29100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;if(0==t){var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l),i=this.scaleValues[0],n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),a=i*n,r=.01*n,s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(r,o);if(!s.bfind)return;var p=s.pts,u=s.index,P=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(a,o[u],p).pntLeft,c=SuperMapAlgoPlot.PlottingUtil.projectPoint(e,P,p),g=SuperMapAlgoPlot.PlottingUtil.distance(c,p),S=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(c,p,e);this.scaleValues[1]=S?1:0,this.scaleValues[0]=g/n}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol29003=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l1&&(this.computeSubSymbol(this.subSymbols[0],n,i,o),this.computeSubSymbol(this.subSymbols[1],a,i,o));var r,s=[];2==e?(r=SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,t),s.push.apply(s,r)):3==e&&(r=SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.ELLIPSESYMBOL,t),s=s.concat(r));var p,u=new SuperMapAlgoPlot.Point(.8*l,.1*l),P=new SuperMapAlgoPlot.Point(1.2*l,.1*l),c=new SuperMapAlgoPlot.Point(1.2*l,.1*-l),g=new SuperMapAlgoPlot.Point(.9*l,.1*-l),S=[];S.push(u),S.push(P),S.push(c),S.push(g);var h=[],f=0;for(f=0;f<4;f++)p=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(t[0],S[f],o),h.push(p);var y=new SuperMapAlgoPlot.Point(-.8*l,.1*l),A=new SuperMapAlgoPlot.Point(-1.2*l,.1*l),M=new SuperMapAlgoPlot.Point(-1.1*l,.1*-l),b=new SuperMapAlgoPlot.Point(-.8*l,.1*-l);(S=[]).push(y),S.push(A),S.push(M),S.push(b);var d=[];for(f=0;f<4;f++)p=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(t[0],S[f],o),d.push(p);for(var m,v=SuperMapAlgoPlot.PlottingUtil.linePnt(t[1],t[0],3*l),O=SuperMapAlgoPlot.PlottingUtil.linePnt(t[0],t[1],2*l),U=[],L=0;L=U.length)&&(m=SuperMapAlgoPlot.PlottingUtil.pointIsOnPolyLines(U[0],s)).isOnPolyLine){var V=[];for(f=m.index+1;f=m.length)&&(M=SuperMapAlgoPlot.PlottingUtil.pointIsOnPolyLines(m[0],n)).isOnPolyLine){var O=[];for(g=M.index+1;g.3||o<=0)&&(o=.3),this.scaleValues[0]=o}this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,e);var i=e[0],n=e[1],a=e[e.length-2],r=e[e.length-1],s=l*this.scaleValues[0]*.6,p=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(s,n,i),u=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(s,a,r),P=p.pntLeft,c=u.pntRight,g=[];g.push(i),g.push(P);for(var S=new SuperMapAlgoPlot.Point((i.x+P.x)/2,(i.y+P.y)/2),h=SuperMapAlgoPlot.PlottingUtil.polylineDistance(g)/2,f=[],y=180*SuperMapAlgoPlot.PlottingUtil.radian(n,i)/Math.PI,A=270+y;A<=360+y;A+=3)f.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(S,h,h,A));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,f);var M=[];M.push(r),M.push(c);var b=[];b.push(r),b.push(c);for(var d=new SuperMapAlgoPlot.Point((r.x+c.x)/2,(r.y+c.y)/2),m=SuperMapAlgoPlot.PlottingUtil.polylineDistance(b)/2,v=[],O=180*SuperMapAlgoPlot.PlottingUtil.radian(r,c)/Math.PI,U=90+O;U<=180+O;U+=3)v.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(d,m,m,U));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,v),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol28900=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=2*i}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3],s=o*n,p=.5*SuperMapAlgoPlot.PlottingUtil.distance(t[0],l),u=new SuperMapAlgoPlot.Point(l.x+o*a-p,l.y+o*r);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],u,s,180),this.addScalePoint(u);var P=s,c=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,P,P,0);this.addScalePoint(c),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i,n,a=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),r=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),s=.5*SuperMapAlgoPlot.PlottingUtil.distance(l[0],a);if(0===t)i=(e.x+s-a.x)/r,this.scaleValues[2]=i,n=(e.y-a.y)/r,this.scaleValues[3]=n;else if(1===t){i=this.scaleValues[2],n=this.scaleValues[3];var p=new SuperMapAlgoPlot.Point(a.x-s+r*i,a.y+r*n),u=SuperMapAlgoPlot.PlottingUtil.distance(p,e)/r;this.scaleValues[0]=u}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol28400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],p,n*a,e*SuperMapAlgoPlot.PlottingUtil.RTOD);var u=SuperMapAlgoPlot.PlottingUtil.circlePoint(i,s,s,e*SuperMapAlgoPlot.PlottingUtil.RTOD);this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[1],u,n*a,e*SuperMapAlgoPlot.PlottingUtil.RTOD),this.scalePoints=[];var P=e*SuperMapAlgoPlot.PlottingUtil.RTOD,c=n*a,g=t[0].clone(),S=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,c,c,P);this.addScalePoint(S),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),o=(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l))[0].clone(),i=l[1].clone(),n=e.clone(),a=SuperMapAlgoPlot.PlottingUtil.distance(o,i),r=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(n,o,i)/a;if(r<0||SuperMapAlgoPlot.PlottingUtil.equalFuzzy(r,0))return;this.scaleValues[0]=r,SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(o,i,n)?this.scaleValues[1]=1:this.scaleValues[1]=0}}}]),e}();SuperMapAlgoPlot.AlgoSymbol28301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e);this.isEdit||(this.scaleValues[0]=this.getSubSymbolScaleValue());var i=l*this.scaleValues[0];this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],o,i,0),this.scalePoints=[];var n=SuperMapAlgoPlot.PlottingUtil.circlePoint(o,i,i,0);this.addScalePoint(n),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o=[];o=3>=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=SuperMapAlgoPlot.PlottingUtil.distance(e,n)/i;this.scaleValues[0]=a}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol28300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e);var l={lineColorLimit:!0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1,surroundLineFlag:!1,surroundLineLimit:!0,surroundLineColor:"#ffff00",surroundLineColorOpacity:1,surroundLineWidth:4,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.INNER};this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e,l),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol28200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l270&&p<360&&(p=360-p),p>90)return;this.scaleValues[1]=p*Math.PI/180}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol28100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&(h=[]));(n=[]).push(t[0]);for(var f=0;f=0;d--)n.push(new SuperMapAlgoPlot.Point(M[d].x,M[d].y));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,n,{surroundLineFlag:!1,lineColorLimit:!0,strokeColor:"#0000ff",strokeOpacity:1,color:"#0000ff",opacity:1,surroundLineLimit:!0,surroundLineColor:"#ffff00",surroundLineColorOpacity:1,surroundLineWidth:4,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.INNER}),(n=[]).push(new SuperMapAlgoPlot.Point(M[0].x,M[0].y)),n.push(new SuperMapAlgoPlot.Point(e[e.length-1].x,e[e.length-1].y)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,n,{surroundLineFlag:!1,lineColorLimit:!0,strokeColor:"#0000ff",strokeOpacity:1,color:"#0000ff",opacity:1,surroundLineLimit:!0,surroundLineColor:"#ffff00",surroundLineColorOpacity:1,surroundLineWidth:4,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.INNER}),(n=[]).push(new SuperMapAlgoPlot.Point(e[0].x,e[0].y)),n.push(new SuperMapAlgoPlot.Point(M[M.length-1].x,M[M.length-1].y)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,n,{surroundLineFlag:!1,lineColorLimit:!0,strokeColor:"#0000ff",strokeOpacity:1,color:"#0000ff",opacity:1,surroundLineLimit:!0,surroundLineColor:"#ffff00",surroundLineColorOpacity:1,surroundLineWidth:4,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.INNER}),a=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,o,o,P),S=new SuperMapAlgoPlot.Point(a.x,a.y),(r=[]).push(c),r.push(S),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,r,{surroundLineFlag:!1,lineColorLimit:!0,strokeColor:"#0000ff",strokeOpacity:1,color:"#0000ff",opacity:1,surroundLineLimit:!0,surroundLineColor:"#ffff00",surroundLineColorOpacity:1,surroundLineWidth:4,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.INNER})}var m=new SuperMapAlgoPlot.Point(0,0);if(4<=t.length){for(e=[],l=new SuperMapAlgoPlot.Point(t[3].x,t[3].y),o=SuperMapAlgoPlot.PlottingUtil.distance(p,l),i=0,i=P-s;i<=P+s;i+=3)e.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(p,o,o,i));SuperMapAlgoPlot.PlottingUtil.equalFuzzy(i,P+s)&&(i=P+s,e.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(p,o,o,i))),(n=[]).push(t[0]);for(var v=0;vt.length)this.addScalePoint(t[0]);else{var O=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[1])*this.scaleValues[0],U=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,O,O,P+180);this.addScalePoint(U,0)}var L=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[t.length-1]),w=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,L,L,P+s);this.addScalePoint(w,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l,o=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o),0==t){if(3>o.length)return;var i=new SuperMapAlgoPlot.Point(o[0].x,o[0].y),n=new SuperMapAlgoPlot.Point(e.x,e.y),a=SuperMapAlgoPlot.PlottingUtil.distance(i,n),r=new SuperMapAlgoPlot.Point(o[1].x,o[1].y);if((l=a/SuperMapAlgoPlot.PlottingUtil.distance(i,r))>=2.5)return;this.scaleValues[0]=l}else if(1==t){var s=new SuperMapAlgoPlot.Point(o[0].x,o[0].y),p=new SuperMapAlgoPlot.Point(o[o.length-1].x,o[o.length-1].y),u=SuperMapAlgoPlot.PlottingUtil.radian(s,p),P=new SuperMapAlgoPlot.Point(e.x,e.y);if(l=SuperMapAlgoPlot.PlottingUtil.radian(s,P)-u,(l=Math.abs(l))>Math.PI/2&&l<3*Math.PI/2)return;l>3*Math.PI/2&&l<=2*Math.PI&&(l=2*Math.PI-l),this.scaleValues[1]=Math.abs(l)}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol28000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,o);var i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o);this.isEdit||(this.scaleValues[0]=.3*this.getSubSymbolScaleValue());var n=this.scaleValues[0]*e*2,a=this.scaleValues[0]*e,r=new SuperMapAlgoPlot.Point(i.x-n-a,i.y),s=new SuperMapAlgoPlot.Point(i.x-n,i.y),p=new SuperMapAlgoPlot.Point(i.x-n+a,i.y),u=new SuperMapAlgoPlot.Point(i.x+n,i.y),P=new SuperMapAlgoPlot.Point(i.x+n+a,i.y),c=new SuperMapAlgoPlot.Point(i.x+n+2*a,i.y),g=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(a,r,s),S=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(a,s,p),h=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(a,u,P),f=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(a,P,c),y=[];y.push(new SuperMapAlgoPlot.Point(g.pntLeft.x,g.pntLeft.y)),y.push(new SuperMapAlgoPlot.Point(r.x,r.y)),y.push(new SuperMapAlgoPlot.Point(g.pntRight.x,g.pntRight.y)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,y),(y=[]).push(new SuperMapAlgoPlot.Point(S.pntLeft.x,S.pntLeft.y)),y.push(new SuperMapAlgoPlot.Point(s.x,s.y)),y.push(new SuperMapAlgoPlot.Point(S.pntRight.x,S.pntRight.y)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,y),(y=[]).push(new SuperMapAlgoPlot.Point(h.pntLeft.x,h.pntLeft.y)),y.push(new SuperMapAlgoPlot.Point(u.x,u.y)),y.push(new SuperMapAlgoPlot.Point(h.pntRight.x,h.pntRight.y)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,y),(y=[]).push(new SuperMapAlgoPlot.Point(f.pntLeft.x,f.pntLeft.y)),y.push(new SuperMapAlgoPlot.Point(P.x,P.y)),y.push(new SuperMapAlgoPlot.Point(f.pntRight.x,f.pntRight.y)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,y),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol27701=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l),i=new SuperMapAlgoPlot.Point(o.x,0);if(!1===this.polylineConnectLocationPoint){for(var n=0,a=-1,r=0;r0;y--)u.push(h[y]);var A=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(u,g);if(-1===A.index)return;(h=[]).push(A.pt);for(var M=A.index+1;M0&&this.computeSubSymbol(this.subSymbols[0],i,p,0)}else{var b=t[0],d=t[1],m=SuperMapAlgoPlot.PlottingUtil.distance(b,d),v=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.2*m,[b,d]);if(-1===v.index)return;var O=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.4*m,[b,d]);if(-1===O.index)return;var U=[];U.push(t[0]),U.push(v.pts),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,U),(U=[]).push(O.pts);for(var L=1;L0&&this.computeSubSymbol(this.subSymbols[0],w,.1*m,0)}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol27300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],P,.9*u,S-90),this.scalePoints=[],this.addScalePoint(s[s.length-1]);var f=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,u,u,S+90);this.addScalePoint(f),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]);if(0==t){var i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}else if(1==t){var n=this.scaleValues[0]*o,a=SuperMapAlgoPlot.PlottingUtil.radian(l[0],l[1])*SuperMapAlgoPlot.PlottingUtil.RTOD,r=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[0],n,n,90+a),s=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[1],n,n,90+a),p=new SuperMapAlgoPlot.Point((r.x+s.x)/2,(r.y+s.y)/2),u=SuperMapAlgoPlot.PlottingUtil.distance(p,e)/o;u>=.8&&(u=.8),this.scaleValues[1]=u}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol27100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=i)return;this.scaleValues=[];var n=SuperMapAlgoPlot.PlottingUtil.distance(e,l)/i;this.scaleValues.push(n);var a=SuperMapAlgoPlot.PlottingUtil.radian(e,l)*SuperMapAlgoPlot.PlottingUtil.RTOD;a>90?a-=90:a=270+a,this.scaleValues.push(a*SuperMapAlgoPlot.PlottingUtil.DTOR);var r=SuperMapAlgoPlot.PlottingUtil.radian(e,o)*SuperMapAlgoPlot.PlottingUtil.RTOD;r>90?r-=90:r=270+r,this.scaleValues.push(r*SuperMapAlgoPlot.PlottingUtil.DTOR);var s=this.scaleValues[0]*i,p=this.scaleValues[1]*SuperMapAlgoPlot.PlottingUtil.RTOD+90,u=this.scaleValues[2]*SuperMapAlgoPlot.PlottingUtil.RTOD+90;p=u;g-=4)P=SuperMapAlgoPlot.PlottingUtil.circlePoint(this.controlPoints[0],s,s,g),c.push(P);g!=u&&(P=SuperMapAlgoPlot.PlottingUtil.circlePoint(this.controlPoints[0],s,s,u),c.push(P)),c.push(t[0]),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,c)}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol26800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],a,r,s),0===this.scaleValues[1]?this.addScalePoint(i[0]):this.addScalePoint(n[0]),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(this.scalePoints.length<=t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===o)return;if(0===t){var i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol26700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}for(var i=l*this.scaleValues[0],n=this.getLinePts(e,this.scaleValues[0]),a=[],r=[],s=0;s<=n.startIndex;s++)a.push(e[s]);if(a.push(n.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,a),n.endIndex<=e.length){r.push(n.endPt);for(var p=n.endIndex+1;p<=e.length-1;p++)r.push(e[p]);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,r)}var u=.5*i,P=new SuperMapAlgoPlot.Point(n.endPt.x,n.endPt.y),c=new SuperMapAlgoPlot.Point(n.startPt.x,n.startPt.y),g=SuperMapAlgoPlot.PlottingUtil.distance(P,c),S=.2*g,h=SuperMapAlgoPlot.PlottingUtil.linePnt(P,c,S),f=SuperMapAlgoPlot.PlottingUtil.linePnt(c,P,S),y=.5*g,A=SuperMapAlgoPlot.PlottingUtil.linePnt(P,c,y),M=new SuperMapAlgoPlot.Point((f.x+A.x)/2,(f.y+A.y)/2),b=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(u,f,M),d=b.pntLeft,m=b.pntRight,v=[];v.push(m),v.push(f),v.push(d),this.addCell(SuperMapAlgoPlot.SymbolType.ARCSYMBOL,v,null,!0);var O=.1*g,U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(O,f,A),L=U.pntLeft,w=U.pntRight,V=[];V.push(f),V.push(L),V.push(w);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,V,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0},!0);var _=[];_.push(A),_.push(h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,_,null,!0);var T=new SuperMapAlgoPlot.Point((n.startPt.x+n.endPt.x)/2,(n.startPt.y+n.endPt.y)/2),x=180*SuperMapAlgoPlot.PlottingUtil.radian(n.startPt,n.endPt)/Math.PI,E=.5*l*this.scaleValues[0],Y=SuperMapAlgoPlot.PlottingUtil.circlePoint(T,E,E,x+90),j=e[0],C=e[1],I=e[e.length-2],B=e[e.length-1],R=.5*i,N=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(R,C,j),D=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(R,I,B),k=N.pntLeft,z=D.pntLeft,F=[];F.push(j),F.push(k),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,F);var G=[];G.push(B),G.push(z),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,G),this.addScalePoint(Y),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol26503=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol26502=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues.push(.05),l.scaleValues.push(.05),l.scaleValues.push(.01)),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol22000),e}();SuperMapAlgoPlot.AlgoSymbol26502=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=180*SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)/Math.PI,r=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);0.3||n<=0)&&(n=.3),this.scaleValues[0]=n;var a=1.5*this.scaleValues[0]*l,r=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(a,e[o.index],i),s=[];s.push(r.pntLeft),s.push(i),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s,null,!0),this.finish()}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol26500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.minEditPts){for(var V,_,T,x,E,Y=1;Y=0?(A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(K,t[W],q)).pntRight:(A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(K,t[W],q)).pntLeft;var J=SuperMapAlgoPlot.PlottingUtil.linePnt(q,L,K),Z=.3*K,X=SuperMapAlgoPlot.PlottingUtil.linePnt(J,q,Z),H=(A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(.3*Z,J,X)).pntLeft,Q=A.pntRight;(v=[]).push(q),v.push(J),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,v,null,!0),(v=[]).push(H),v.push(J),v.push(Q);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,v,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0},!0),this.addScalePoint(J),this.addScalePoint(p);var $=SuperMapAlgoPlot.PlottingUtil.radian(r.pt,s.pt)*SuperMapAlgoPlot.PlottingUtil.RTOD+90,tt=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,.5*n,.5*n,$);this.addScalePoint(tt),this.finish()}}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(this.scalePoints.length<=t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o,i,n,a,r,s,p,u,P,c,g=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),S=l.length,h=e;if(t>=0&&tc&&(i=d,a=p,n=c));if(-1==i||i>l.length-1)return;u=0;for(var m=0;mg)return;var U=u/g;this.scaleValues[S+1]=U;var L,w=this.scaleValues.length;o=g*this.scaleValues[w-5],L=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(l[i],l[i+1],h)?n/o:-Math.abs(n/o),this.scaleValues[S+2]=L}else if(t===S+2){i=-1,n=0,a=new SuperMapAlgoPlot.Point(0,0);for(var V=0;Vc&&(i=V,a=p,n=c));if(-1===i||i>l.length-1)return;u=0;for(var _=0;_g)return;.1*gu&&(this.scaleValues[this.scaleValues.length-2]=u/g)}else if(t===S+3){var T=this.scaleValues[this.scaleValues.length-2]*g;if(-1===(s=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(l,T)).index)return;var x=2*SuperMapAlgoPlot.PlottingUtil.distance(s.pt,e)/g;x>.15&&(x=.15),this.scaleValues[this.scaleValues.length-1]=x}}}},{key:"computeSubSymbol",value:function(t,e,l,o,i,n){if(null==t.symbolData||null==t.symbolData.innerCells)return null;void 0===i&&(i=0),void 0===n&&(n=0);for(var a=SuperMapAlgoPlot.AnalysisSymbol.analysisSymbolCells(t.symbolData,!0),r=0,s=0,p=0,u=0,P=0;Pc[g].x&&(p=c[g].x),u>c[g].y&&(u=c[g].y)}var h=new SuperMapAlgoPlot.Point(r,s),f=new SuperMapAlgoPlot.Point(p,u),y=(h.y-f.y)/l,A=(h.x-f.x)/l,M=A>y?A:y;100!==this.subSymbols[0].libID||3300!==this.subSymbols[0].code&&3301!==this.subSymbols[0].code&&3302!==this.subSymbols[0].code||(M=2*(h.y-f.y)),100!==this.subSymbols[0].libID||3400!==this.subSymbols[0].code&&3401!==this.subSymbols[0].code&&3402!==this.subSymbols[0].code||(M=h.y-f.y);var b=new SuperMapAlgoPlot.Point(.5*(h.x+f.x),.5*(h.y+f.y));b.x+=i*(h.x-f.x),b.y+=n*(h.y-f.y);for(var d=0,m=a.length;dt[o].x&&(e=t[o].x),l2&&a.length>0){for(var r=[],s=0;st[o].x&&(e=t[o].x),l2&&a.length>0){for(var r=[],s=new SuperMapAlgoPlot.Point(0,0),p=0;pl.length)return;var o,i,n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),a=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l);if(0==n)return;if(0==t)o=(e.x-a.x)/n,this.scaleValues[0]=o,i=(e.y-a.y)/n,this.scaleValues[1]=i;else if(1==t){o=this.scaleValues[0],i=this.scaleValues[1];var r=new SuperMapAlgoPlot.Point(a.x+n*o,a.y+n*i),s=2*SuperMapAlgoPlot.PlottingUtil.distance(r,e)/n;this.scaleValues[2]=s}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol25800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lt[o].x&&(e=t[o].x),l0&&(s=!0),f=[];for(var m=new SuperMapAlgoPlot.Point(u,a.y),v=SuperMapAlgoPlot.PlottingUtil.circlePoint(m,5,5,45),O=0;O0&&(s=!0),p-=r,u+=r}this.finish()}}},{key:"sortPts2D",value:function(t){for(var e=new SuperMapAlgoPlot.Point(0,0),l=0;lt[o+1].y&&(e=t[o],t[o]=t[o+1],t[o+1]=e):t[o].x>t[o+1].x&&(e=t[o],t[o]=t[o+1],t[o+1]=e);return t}}]),e}();SuperMapAlgoPlot.AlgoSymbol25701=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lt[o].x&&(e=t[o].x),l2&&s.length>0){for(var p=[],u=0;u0&&(S=!0),b=[];for(var L=new SuperMapAlgoPlot.Point(f,c.y),w=SuperMapAlgoPlot.PlottingUtil.circlePoint(L,5,5,45),V=0;V0&&(S=!0),h-=g,f+=g}this.finish()}}},{key:"sortPts2D",value:function(t){for(var e=new SuperMapAlgoPlot.Point(0,0),l=0;lt[o+1].y&&(e=t[o],t[o]=t[o+1],t[o+1]=e):t[o].x>t[o+1].x&&(e=t[o],t[o]=t[o+1],t[o+1]=e);return t}}]),e}();SuperMapAlgoPlot.AlgoSymbol25700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length=2&&this.controlPoints.lengtht[o].x&&(e=t[o].x),l2?SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(t[0],t[1],t[2])?(n=SuperMapAlgoPlot.PlottingUtil.paraPolygon(t,i,!1),a=SuperMapAlgoPlot.PlottingUtil.paraPolygon(t,i,!0)):(r=!1,n=SuperMapAlgoPlot.PlottingUtil.paraPolygon(t,i,!0),a=SuperMapAlgoPlot.PlottingUtil.paraPolygon(t,i,!1)):(n=SuperMapAlgoPlot.PlottingUtil.paraPolygon(t,i,!1),a=SuperMapAlgoPlot.PlottingUtil.paraPolygon(t,i,!0));var s,p,u,P,c,g,S,h,f;if(this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,a),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,n,{surroundLineFlag:!1,lineWidthLimit:!0}),t.length>2){var y=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);this.isEdit||(this.scaleValues[0]=this.getSubSymbolScaleValue());var A=this.scaleValues[0]*y*.5;a.push(a[0].clone());for(var M=0;M=2&&this.controlPoints.length0&&this.computeSubSymbol(this.subSymbols[0],a,2*r,0);var u=[];u.push(new SuperMapAlgoPlot.Point(a.x+4*r,a.y)),u.push(new SuperMapAlgoPlot.Point(a.x+r,a.y));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,u,{surroundLineFlag:!1,surroundLineLimit:!0,lineTypeLimit:!0});var P=[];P.push(new SuperMapAlgoPlot.Point(a.x+4*r,a.y+r/2)),P.push(new SuperMapAlgoPlot.Point(a.x+4*r,a.y-r/2));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,P,{surroundLineFlag:!1,surroundLineLimit:!0,lineTypeLimit:!0}),this.scalePoints=[],this.addScalePoint(a.clone());var c=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,2*r,2*r,90);this.addScalePoint(c),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(this.scalePoints.length<=t)return;if(0!=t&&1!=t)return;var l,o,i=this.controlPoints,n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(i),a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(i);if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(a,0))return;if(0==t)l=(e.x-n.x)/a,this.scaleValues[0]=l,o=(e.y-n.y)/a,this.scaleValues[1]=o;else if(1==t){l=this.scaleValues[0],o=this.scaleValues[1];var r=new SuperMapAlgoPlot.Point(n.x+a*l,n.y+a*o),s=SuperMapAlgoPlot.PlottingUtil.distance(r,e)/2/a;this.scaleValues[2]=s}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol25503=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length=2&&this.controlPoints.length=2&&this.controlPoints.lengtht[o].x&&(e=t[o].x),lSuperMapAlgoPlot.PlottingUtil.polylineDistance(r)?(this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,n),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,r,s)):(this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,n,s),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,r));var p=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(t),u=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);this.isEdit||(this.scaleValues[2]=.5*this.getSubSymbolScaleValue());var P=this.scaleValues[0],c=this.scaleValues[1],g=this.scaleValues[2],S=new SuperMapAlgoPlot.Point(p.x+u*P,p.y+u*c),h=g*u,f=new SuperMapAlgoPlot.Point(S.x-4*h,S.y+h/2),y=new SuperMapAlgoPlot.Point(S.x-4*h,S.y-h/2),A=[];A.push(f),A.push(y),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,A);var M=new SuperMapAlgoPlot.Point(S.x-4*h,S.y),b=new SuperMapAlgoPlot.Point(S.x-1.5*h,S.y);(A=[]).push(M),A.push(b),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,A);for(var d=new SuperMapAlgoPlot.Point(S.x,S.y-h),m=SuperMapAlgoPlot.PlottingUtil.circlePoint(d,2*h,2*h,60),v=SuperMapAlgoPlot.PlottingUtil.circlePoint(d,2*h,2*h,120),O=new SuperMapAlgoPlot.Point((m.x+v.x)/2,m.y),U=[],L=0;L<=180;L+=3)U.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(O,h,h,L));A=[];for(var w=0;w.3||o<=0)&&(o=.3),this.scaleValues[0]=o}this.scaleValues.length<1&&(this.scaleValues=[],this.scaleValues.push(.5));for(var i=this.getLinePts(e,this.scaleValues[0]),n=this.getLinePts(e,1.2*this.scaleValues[0]),a=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt),r=[],s=[],p=0;p<=n.startIndex;p++)r.push(e[p]);if(r.push(n.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,r),n.endIndex<=e.length){s.push(n.endPt);for(var u=n.endIndex+1;u<=e.length-1;u++)s.push(e[u]);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s)}var P=e[0],c=e[1],g=e[e.length-2],S=e[e.length-1],h=.3*a,f=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(h,c,P),y=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(h,g,S),A=f.pntLeft,M=y.pntLeft,b=[];b.push(P),b.push(A),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,b);var d=[];d.push(S),d.push(M),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,d);var m=SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,v=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),O=new SuperMapAlgoPlot.Point(.1*a,0),U=new SuperMapAlgoPlot.Point(.5*a,0),L=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,O,m),w=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,U,m),V=[];V.push(L),V.push(w);var _={surroundLineFlag:!1,lineTypeLimit:!0,fillLimit:!0};this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,V,_);var T=new SuperMapAlgoPlot.Point(.35*a,0),x=SuperMapAlgoPlot.PlottingUtil.circlePoint(T,.2*a,.2*a,135),E=SuperMapAlgoPlot.PlottingUtil.circlePoint(T,.2*a,.2*a,225),Y=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,T,m),j=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,x,m),C=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,E,m);(V=[]).push(j),V.push(Y),V.push(C),_={surroundLineFlag:!1,lineTypeLimit:!0,fillLimit:!0},this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,V,_);var I=new SuperMapAlgoPlot.Point(-.1*a,0),B=new SuperMapAlgoPlot.Point(-.5*a,-.15*a),R=new SuperMapAlgoPlot.Point(-.5*a,.15*a),N=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,I,m),D=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,B,m),k=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,R,m);(V=[]).push(N),V.push(D),V.push(k),V.push(N),_={surroundLineFlag:!1,lineTypeLimit:!0,fillLimit:!0},this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,V,_);var z=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.5*l,e),F=SuperMapAlgoPlot.PlottingUtil.circlePoint(z.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,m);this.addScalePoint(F,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=0;P--)u.push(n[P]);if((a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(p,u)).bfind){var c=a.index,g=a.pts.clone(),S=[];S.push(g);for(var h=c+1;h0&&this.computeSubSymbol(this.subSymbols[0],v,p,m+90),e=SuperMapAlgoPlot.PlottingUtil.polylineDistance(i),(a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(e/2,i)).bfind){var O=a.index,U=a.pts.clone(),L=[];L.push(U);for(var w=O;w>=0;w--)L.push(i[w]);if((a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(p,L)).bfind){var V=a.index,_=a.pts.clone(),T=[];T.push(_);for(var x=V+1;x1&&this.computeSubSymbol(this.subSymbols[1],R,p,B);var N=SuperMapAlgoPlot.PlottingUtil.linePnt(u[u.length-1],L[L.length-1],3*o),D=SuperMapAlgoPlot.PlottingUtil.linePnt(L[L.length-1],u[u.length-1],3*o);(T=[]).push(N),T.push(D),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,T,f);var k=SuperMapAlgoPlot.PlottingUtil.linePnt(y[y.length-1],E[E.length-1],3*o),z=SuperMapAlgoPlot.PlottingUtil.linePnt(E[E.length-1],y[y.length-1],3*o);(T=[]).push(k),T.push(z),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,T,f),this.scalePoints=[],this.addScalePoint(N.clone()),this.finish()}}}}}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(this.scalePoints.length<=t)return;if(0!=t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o/2;i>=.4&&(i=.4),this.scaleValues[0]=i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol25301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=0;P--)u.push(n[P]);if((a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(p,u)).bfind){var c=a.index,g=a.pts.clone(),S=[];S.push(g);for(var h=c+1;h0&&this.computeSubSymbol(this.subSymbols[0],v,p,m);var O=u[u.length-1].clone(),U=SuperMapAlgoPlot.PlottingUtil.circlePoint(O,.3*o,.3*o,m+30),L=SuperMapAlgoPlot.PlottingUtil.circlePoint(O,.3*o,.3*o,m+180),w=SuperMapAlgoPlot.PlottingUtil.circlePoint(O,.3*o,.3*o,m+330);(S=[]).push(U),S.push(L),S.push(w);var V={surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0};if(this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,S,V,!0),e=SuperMapAlgoPlot.PlottingUtil.polylineDistance(i),(a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(e/2,i)).bfind){var _=a.index,T=a.pts.clone(),x=[];x.push(T);for(var E=_;E>=0;E--)x.push(i[E]);if((a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(p,x)).bfind){var Y=a.index,j=a.pts.clone(),C=[];C.push(j);for(var I=Y+1;I0&&this.computeSubSymbol(this.subSymbols[1],F,p,z+90);var G=x[x.length-1].clone(),K=SuperMapAlgoPlot.PlottingUtil.circlePoint(G,.3*o,.3*o,m+30),W=SuperMapAlgoPlot.PlottingUtil.circlePoint(G,.3*o,.3*o,m+180),q=SuperMapAlgoPlot.PlottingUtil.circlePoint(G,.3*o,.3*o,m+330);(S=[]).push(K),S.push(W),S.push(q),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,S,V,!0);var J=SuperMapAlgoPlot.PlottingUtil.linePnt(W,L,3*o),Z=SuperMapAlgoPlot.PlottingUtil.linePnt(L,W,3*o);(C=[]).push(J),C.push(Z),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,C,f);var X=SuperMapAlgoPlot.PlottingUtil.linePnt(y[y.length-1],B[B.length-1],3*o),H=SuperMapAlgoPlot.PlottingUtil.linePnt(B[B.length-1],y[y.length-1],3*o);(C=[]).push(X),C.push(H),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,C,f),this.scalePoints=[],this.addScalePoint(J.clone()),this.finish()}}}}}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(this.scalePoints.length<=t)return;if(0!=t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o/2;i>=.45&&(i=.45),this.scaleValues[0]=i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol25300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=0;--y)f.push(i[y]);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,f),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(this.scalePoints.length<=t)return;if(0!=t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o;if(i>.5)return;this.scaleValues[0]=i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol25202=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2){for(var n=-1,a=e.length-2;a>=0;a--)if(ol.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[l.length-1])/o;if(i>.2)return;this.scaleValues[0]=i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol25201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0){var l;if(null==this.subSymbols[0].symbolData)return;l=Math.max(this.subSymbols[0].symbolData.symbolSize.x,this.subSymbols[0].symbolData.symbolSize.y);var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),i=o*this.scaleValues[4],n=o*this.scaleValues[5],a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i,t),r=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(n,t),s=SuperMapAlgoPlot.PlottingUtil.radian(r.pts,a.pts)*SuperMapAlgoPlot.PlottingUtil.RTOD+270,p=100*SuperMapAlgoPlot.PlottingUtil.distance(a.pts,r.pts)/l,u=new SuperMapAlgoPlot.Point((r.pts.x+a.pts.x)/2,(a.pts.y+r.pts.y)/2);if(null==this.subSymbols.length)return;null!=this.subSymbols[0].code&&this.computeSubSymbol(this.subSymbols[0],u,p,s),a.pts.isScalePoint=!0,a.pts.tag=this.scalePoints.length,this.scalePoints.push(a.pts.clone()),r.pts.isScalePoint=!0,r.pts.tag=this.scalePoints.length,this.scalePoints.push(r.pts.clone())}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length<2)return;if(this.scaleValues.length<6&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(.148),this.scaleValues.push(.4),this.scaleValues.push(.312),this.scaleValues.push(.2),this.scaleValues.push(.01)),t<=2)SuperMapAlgoPlot.AlgoSymbol1004.prototype.computeScaleValues.apply(this,arguments);else if(3==t||4==t){var o=new SuperMapAlgoPlot.Point((l[0].x+l[1].x)/2,(l[0].y+l[1].y)/2),i=SuperMapAlgoPlot.PlottingUtil.clonePoints(l);i.splice(0,2),i.unshift(o);var n=SuperMapAlgoPlot.PlottingUtil.projectPtOnPolyLine(e,i),a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(i);if(3===t&&null==n.pt&&(n.pt=o.clone()),-1==n.index&&4==t)this.scaleValues[t+1]=.01;else{var r=SuperMapAlgoPlot.PlottingUtil.clonePoints(i);r.splice(0,n.index+1),r.unshift(n.pt);var s=SuperMapAlgoPlot.PlottingUtil.polylineDistance(r);a.5&&(this.scaleValues[4]=.5)}}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol25200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=0;--m)d.push(M[m]);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,M),this.scalePoints=[];var v=M[0].clone();v.isScalePoint=!0,v.tag=0,this.scalePoints.push(v);var O=M[1].clone();O.isScalePoint=!0,O.tag=1,this.scalePoints.push(O);var U=M[2].clone();U.isScalePoint=!0,U.tag=2,this.scalePoints.push(U);var L=.08125*o,w=new SuperMapAlgoPlot.Point(h.x-L,0),V=new SuperMapAlgoPlot.Point(w.x-L/2,0),_=new SuperMapAlgoPlot.Point(w.x+L/2,0),T=[];A=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(e,V,f*SuperMapAlgoPlot.PlottingUtil.RTOD),T.push(A.clone()),A=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(e,_,f*SuperMapAlgoPlot.PlottingUtil.RTOD),T.push(A.clone()),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,T);var x=new SuperMapAlgoPlot.Point(w.x,w.y-L/2),E=new SuperMapAlgoPlot.Point(w.x,w.y+L/2),Y=[];A=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(e,E,f*SuperMapAlgoPlot.PlottingUtil.RTOD),Y.push(A.clone()),A=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(e,x,f*SuperMapAlgoPlot.PlottingUtil.RTOD),Y.push(A.clone()),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,Y),this.finish()}}},{key:"GetGoPts",value:function(){var t=[];return this.controlPoints.length=0;--m)d.push(M[m]);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,M),this.scalePoints=[];var v=M[0].clone();v.isScalePoint=!0,v.tag=0,this.scalePoints.push(v);var O=M[1].clone();O.isScalePoint=!0,O.tag=1,this.scalePoints.push(O);var U=M[2].clone();U.isScalePoint=!0,U.tag=2,this.scalePoints.push(U);var L=.04*o,w=.0475*o,V=new SuperMapAlgoPlot.Point(h.x-L,0),_=new SuperMapAlgoPlot.Point(g.x,g.y+w),T=SuperMapAlgoPlot.PlottingUtil.intersectLines(p,g,V,_),x=T.intersectPoint;if(0!=T.isIntersectLines){var E=new SuperMapAlgoPlot.Point(S.x,S.y-w),Y=(T=SuperMapAlgoPlot.PlottingUtil.intersectLines(S,u,V,E)).intersectPoint;if(0!=T.isIntersectLines){var j=[];j.push(x),j.push(V),j.push(Y);for(var C=[],I=0;I=0;--m)d.push(A[m]);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,d),this.scalePoints=[];var v=A[0].clone();v.isScalePoint=!0,v.tag=0,this.scalePoints.push(v);var O=A[1].clone();O.isScalePoint=!0,O.tag=1,this.scalePoints.push(O);var U=A[2].clone();U.isScalePoint=!0,U.tag=2,this.scalePoints.push(U),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o,i=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]),n=l[0].clone(),a=l[1].clone(),r=e.clone();if(0==t){var s=SuperMapAlgoPlot.PlottingUtil.distance(r,n)/i;this.scaleValues[0]=s}else if(1==t){o=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,n,a);var p=SuperMapAlgoPlot.PlottingUtil.distance(o,r)/i;this.scaleValues[1]=p;var u=SuperMapAlgoPlot.PlottingUtil.distance(o,a)/i;this.scaleValues[3]=u}else if(2==t){o=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,n,a);var P=SuperMapAlgoPlot.PlottingUtil.distance(o,r)/i;this.scaleValues[2]=P;var c=SuperMapAlgoPlot.PlottingUtil.distance(o,a)/i;this.scaleValues[4]=c}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol25000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||a<=0)&&(a=.3),this.scaleValues[1]=a}var r=this.scaleValues[1]*SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),s=0,p=.3*n;this.ComputeDashLine(3*i/19,i/19,e);var u=e[1].clone(),P=e[0].clone(),c=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(r,u,P),g=c.pntRight,S=c.pntLeft,h=[];h.push(S.clone()),h.push(g.clone()),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,h);for(var f=3*p,y=e[0].clone(),A=0;A<=i;A+=f){s=A+2*p;var M=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(s,e);if(M.bfind){if(l=M.pts,M.index>=e.length)break;var b,d,m,v,O,U,L,w=[];if(w.push(y.clone()),w.push(l.clone()),0==A){var V=l.clone();V.isScalePoint=!0,V.tag=0,this.scalePoints.push(V);var _=g.clone();_.isScalePoint=!0,_.tag=1,this.scalePoints.push(_)}if(0==this.scaleValues[2]){b=new SuperMapAlgoPlot.Point((y.x+l.x)/2,(y.y+l.y)/2),d=y.clone(),m=b.clone(),P=l.clone();var T=(c=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(r,d,m)).pntLeft;v=SuperMapAlgoPlot.PlottingUtil.linePnt(b,d,.3*r),O=SuperMapAlgoPlot.PlottingUtil.linePnt(b,P,.3*r),0==A&&((U=T.clone()).isScalePoint=!0,U.tag=2,this.scalePoints.push(U)),(L=[]).push(T.clone()),L.push(v.clone()),L.push(O.clone()),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,L)}else{b=new SuperMapAlgoPlot.Point((y.x+l.x)/2,(y.y+l.y)/2),d=y.clone(),m=b.clone(),P=l.clone();var x=(c=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(r,d,m)).pntRight;v=SuperMapAlgoPlot.PlottingUtil.linePnt(b,d,.3*p),O=SuperMapAlgoPlot.PlottingUtil.linePnt(b,P,.3*p),0==A&&((U=x.clone()).isScalePoint=!0,U.tag=2,this.scalePoints.push(U)),(L=[]).push(x.clone()),L.push(v.clone()),L.push(O.clone()),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,L)}if(s=A+3*p,(M=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(s,e)).bfind){if(l=M.pts,!(M.index=0?this.scaleValues[2]=0:this.scaleValues[2]=1}}}},{key:"ComputeDashLine",value:function(t,e,l){for(var o,i,n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),a=l[0].clone(),r=1,s=0,p=!0,u=!0;sl.length)return;var o,i,n,a,r,s,p,u=[];2==l.length?(o=l[0],i=l[1],r=SuperMapAlgoPlot.PlottingUtil.distance(o,i),a=180*SuperMapAlgoPlot.PlottingUtil.radian(o,i)/Math.PI,n=SuperMapAlgoPlot.PlottingUtil.circlePoint(o,r,r,a+60),u.push(o),u.push(i),u.push(n)):u=u.concat(l),o=u[0],i=u[1],n=u[2],u.push(u[0]);var P=SuperMapAlgoPlot.PlottingUtil.polylineDistance(u),c=e;if(0===t)r=SuperMapAlgoPlot.PlottingUtil.distance(c,u[0]),this.scaleValues[0]=r/P;else if(1===t){s=SuperMapAlgoPlot.PlottingUtil.distance(c,u[0])/P,this.scaleValues[1]=s,a=180*SuperMapAlgoPlot.PlottingUtil.InnerAngle(o,i,n)/Math.PI,0<=(p=180*SuperMapAlgoPlot.PlottingUtil.InnerAngle(o,i,c)/Math.PI/a)&&1>=p&&(this.scaleValues[2]=p)}else if(2===t){s=this.scaleValues[1],p=this.scaleValues[2];var g,S=P*s,h=180*SuperMapAlgoPlot.PlottingUtil.InnerAngle(o,i,n)/Math.PI*p,f=180*SuperMapAlgoPlot.PlottingUtil.radian(o,i)/Math.PI,y=f-h,A=f+h,M=SuperMapAlgoPlot.PlottingUtil.circlePoint(o,S,S,y),b=SuperMapAlgoPlot.PlottingUtil.circlePoint(o,S,S,A);g=SuperMapAlgoPlot.PlottingUtil.ptIsInPolygon(u,M)?M:b;var d=2*SuperMapAlgoPlot.PlottingUtil.distance(c,g)/P;this.scaleValues[3]=d;var m=180*SuperMapAlgoPlot.PlottingUtil.radian(g,c)/Math.PI;this.scaleValues[4]=m}}}},{key:"ComputeSubSymbolPt",value:function(t,e,l,o){var i,n,a=l[0],r=l[1],s=l[2],p=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(s,a,r)*t,u=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(r,a,s)*e,P=[];if(SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(a,r,o)?((i=[]).push(a),i.push(r),P=SuperMapAlgoPlot.PlottingUtil.paraLine(i,p,!1)):((i=[]).push(a),i.push(r),P=SuperMapAlgoPlot.PlottingUtil.paraLine(i,p,!0)),SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(a,s,o)?((i=[]).push(a),i.push(s),n=SuperMapAlgoPlot.PlottingUtil.paraLine(i,u,!1)):((i=[]).push(a),i.push(s),n=SuperMapAlgoPlot.PlottingUtil.paraLine(i,u,!0)),2>P.length||2>n.length)return o;var c=SuperMapAlgoPlot.PlottingUtil.intersectLines(P[0],P[1],n[0],n[1]);return c.isIntersectLines?c.intersectPoint:o}},{key:"createArcPts",value:function(t,e){for(var l=[],o=[],i=0;iMath.abs(o[n]-o[a]))for(var s=0;s<2;s++){var p,u,P;0==s?(P=n,p=SuperMapAlgoPlot.PlottingUtil.radian(t[n],t[a])*SuperMapAlgoPlot.PlottingUtil.RTOD,u=Math.acos((r*r+o[n]*o[n]-o[a]*o[a])/(2*r*o[n]))*SuperMapAlgoPlot.PlottingUtil.RTOD):(P=a,p=SuperMapAlgoPlot.PlottingUtil.radian(t[a],t[n])*SuperMapAlgoPlot.PlottingUtil.RTOD,u=Math.acos((r*r+o[a]*o[a]-o[n]*o[n])/(2*r*o[a]))*SuperMapAlgoPlot.PlottingUtil.RTOD);var c=p-u,g=p+u,S=c<0&&g>0||c>360||g>360;c=this.adjustAngle(c),g=this.adjustAngle(g);for(var h=l[P].length-1;h>=0;h--)if(S){if(g>l[P][h].End||SuperMapAlgoPlot.PlottingUtil.equalFuzzy(g,l[P][h].End)){l[P].splice(h,1);continue}if(g>l[P][h].Start&&(l[P][h].Start=g),cl[P][h].End)l[P].splice(h,1);else if(c>l[P][h].Start&&gl[P][h].End)continue;if(c>l[P][h].Start&&(l[P][h].End=c),g=0;y--){for(var A=this.adjustAngle(l[f][y].Start),M=this.adjustAngle(l[f][y].End);M360;)t-=360;for(;t<0;)t+=360;return t}},{key:"GetCirclePts",value:function(t,e,l,o){var i=180*SuperMapAlgoPlot.PlottingUtil.radian(t,e)/Math.PI,n=180*SuperMapAlgoPlot.PlottingUtil.radian(t,l)/Math.PI,a=i;n>i&&(a=n);for(var r=[],s=a;s<360+a;s+=4)90==s&&(s=91),r.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t,o,o,s));return r.push[0],r}},{key:"CreatArc",value:function(t,e,l){for(var o=[],i=[],n=0;n1&&o.push(i),i=[]):i.push(a)}i.length>1&&o.push(i);for(var r=0;r1&&o.push(i),i=[]):i.push(a)}i.length>1&&o.push(i);for(var r=[],s=0;sr){var s=new SuperMapAlgoPlot.Point(o.x,o.y);o=new SuperMapAlgoPlot.Point(a.x,a.y),a=new SuperMapAlgoPlot.Point(s.x,s.y),i=r,e[l]=o,e[n]=a}}return e}}]),e}();SuperMapAlgoPlot.AlgoSymbol23902=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o,i,n,a=[];if(2==l.length){o=l[0],i=l[1];var r=SuperMapAlgoPlot.PlottingUtil.distance(o,i),s=180*SuperMapAlgoPlot.PlottingUtil.radian(o,i)/Math.PI;n=SuperMapAlgoPlot.PlottingUtil.circlePoint(o,r,r,s+60),a.push(o),a.push(i),a.push(n)}else a=a.concat(l);o=a[0],i=a[1],n=a[2];var p=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(a);a.push(a[0]);var u=SuperMapAlgoPlot.PlottingUtil.polylineDistance(a),P=e;if(0==t){var c=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(n,o,i),g=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(i,o,n),S=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(P,o,i)/c,h=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(P,o,n)/g;S>1&&(S=1),h>1&&(h=1),this.scaleValues[0]=S,this.scaleValues[1]=h}else if(1==t){var f=this.scaleValues[0],y=this.scaleValues[1],A=this.ComputeSubSymbolPt(f,y,a,p),M=SuperMapAlgoPlot.PlottingUtil.distance(A,P)/u;this.scaleValues[2]=M;var b=180*SuperMapAlgoPlot.PlottingUtil.radian(A,P)/Math.PI;this.scaleValues[3]=b}}}},{key:"ComputeSubSymbolPt",value:function(t,e,l,o){var i,n,a=l[0],r=l[1],s=l[2],p=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(s,a,r)*t,u=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(r,a,s)*e,P=[];if(SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(a,r,o)?((i=[]).push(a),i.push(r),P=SuperMapAlgoPlot.PlottingUtil.paraLine(i,p,!1)):((i=[]).push(a),i.push(r),P=SuperMapAlgoPlot.PlottingUtil.paraLine(i,p,!0)),SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(a,s,o)?((i=[]).push(a),i.push(s),n=SuperMapAlgoPlot.PlottingUtil.paraLine(i,u,!1)):((i=[]).push(a),i.push(s),n=SuperMapAlgoPlot.PlottingUtil.paraLine(i,u,!0)),2>P.length||2>n.length)return o;var c=SuperMapAlgoPlot.PlottingUtil.intersectLines(P[0],P[1],n[0],n[1]);return c.isIntersectLines?c.intersectPoint:o}}]),e}();SuperMapAlgoPlot.AlgoSymbol23901=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?(e=SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)):e=t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=i}var n=o*this.scaleValues[0]*.15,a=[];a.push(new SuperMapAlgoPlot.Point(0,n)),a.push(new SuperMapAlgoPlot.Point(-n,0)),a.push(new SuperMapAlgoPlot.Point(0,-n));var r=[];r.push(new SuperMapAlgoPlot.Point(n,n)),r.push(new SuperMapAlgoPlot.Point(0,0)),r.push(new SuperMapAlgoPlot.Point(n,-n));for(var s=new SuperMapAlgoPlot.Point(-3*n,2*n),p=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(l,s,0),u=[],P=[],c=0;c<3;c++)u.push(new SuperMapAlgoPlot.Point(a[c].x+p.x,a[c].y+p.y)),P.push(new SuperMapAlgoPlot.Point(r[c].x+p.x,r[c].y+p.y));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,u),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,P);for(var g=new SuperMapAlgoPlot.Point(3*n,2*n),S=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(l,g,0),h=[],f=[],y=0;y<3;y++)h.push(new SuperMapAlgoPlot.Point(a[y].x+S.x,a[y].y+S.y)),f.push(new SuperMapAlgoPlot.Point(r[y].x+S.x,r[y].y+S.y));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,f);var A=new SuperMapAlgoPlot.Point(-4*n,-2*n),M=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(l,A,0);h=[],f=[];for(var b=0;b<3;b++)h.push(new SuperMapAlgoPlot.Point(a[b].x+M.x,a[b].y+M.y)),f.push(new SuperMapAlgoPlot.Point(r[b].x+M.x,r[b].y+M.y));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,f);var d=new SuperMapAlgoPlot.Point(0,-2*n),m=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(l,d,0);h=[],f=[];for(var v=0;v<3;v++)h.push(new SuperMapAlgoPlot.Point(a[v].x+m.x,a[v].y+m.y)),f.push(new SuperMapAlgoPlot.Point(r[v].x+m.x,r[v].y+m.y));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,f);var O=new SuperMapAlgoPlot.Point(4*n,-2*n),U=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(l,O,0);h=[],f=[];for(var L=0;L<3;L++)h.push(new SuperMapAlgoPlot.Point(a[L].x+U.x,a[L].y+U.y)),f.push(new SuperMapAlgoPlot.Point(r[L].x+U.x,r[L].y+U.y));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,f),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol23700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(-.1),this.scaleValues.push(0),this.scaleValues.push(.1),this.scaleValues.push(0));var e=[];e=3>=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(e);if(!this.isEdit){var i=this.getSubSymbolScaleValue()*SuperMapAlgoPlot.PlottingUtil.polylineDistance(this.controlPoints);this.scaleValues[0]=i/o*.8,this.scaleValues[3]=i/o*.8}var n=this.scaleValues[0],a=this.scaleValues[1],r=this.scaleValues[3],s=this.scaleValues[4],p=this.scaleValues[6],u=this.scaleValues[7],P=this.scaleValues[8],c=this.scaleValues[9],g=new SuperMapAlgoPlot.Point(l.x+o*p,l.y+o*u),S=new SuperMapAlgoPlot.Point(l.x+o*P,l.y+o*c),h=[],f=.15*SuperMapAlgoPlot.PlottingUtil.distance(g,S),y=SuperMapAlgoPlot.PlottingUtil.linePnt(g,S,f),A=SuperMapAlgoPlot.PlottingUtil.linePnt(S,g,f);h.push(y),h.push(A),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,h);var M=o*n,b=a;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],g,M,b);var d=o*r,m=s;this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[1],S,d,m),this.addScalePoint(g);var v=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,M,M,b);this.addScalePoint(v),this.addScalePoint(S);var O=SuperMapAlgoPlot.PlottingUtil.circlePoint(S,d,d,m);this.addScalePoint(O),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).lengththis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(.1),this.scaleValues.push(0),this.scaleValues.push(1),this.scaleValues.push(-.1),this.scaleValues.push(0),this.scaleValues.push(.1),this.scaleValues.push(0));var o=[];o=3>=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i,n,a,r,s=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),p=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o),u=e;if(0==t)i=(u.x-s.x)/p,this.scaleValues[6]=i,n=(u.y-s.y)/p,this.scaleValues[7]=n;else if(1==t){i=this.scaleValues[6],n=this.scaleValues[7];var P=new SuperMapAlgoPlot.Point(s.x+p*i,s.y+p*n),c=SuperMapAlgoPlot.PlottingUtil.distance(P,u)/p;this.scaleValues[0]=c;var g=180*SuperMapAlgoPlot.PlottingUtil.radian(P,u)/Math.PI;this.scaleValues[1]=g,this.scaleValues[2]=0<=g&&g<90?1:90<=g&&g<180?2:180<=g&&g<270?3:4}else if(2==t)a=(u.x-s.x)/p,this.scaleValues[8]=a,r=(u.y-s.y)/p,this.scaleValues[9]=r;else if(3==t){a=this.scaleValues[8],r=this.scaleValues[9];var S=new SuperMapAlgoPlot.Point(s.x+p*a,s.y+p*r),h=SuperMapAlgoPlot.PlottingUtil.distance(S,u)/p;this.scaleValues[3]=h;var f=180*SuperMapAlgoPlot.PlottingUtil.radian(S,u)/Math.PI;this.scaleValues[4]=f,this.scaleValues[5]=0<=f&&f<90?1:90<=f&&f<180?2:180<=f&&f<270?3:4}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol23600=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e,{fillLimit:!0,fill:!1,surroundLineFlag:!1});var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.2||i<=0)&&(i=.2),this.scaleValues[0]=i}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3],s=o*n,p=new SuperMapAlgoPlot.Point(l.x+o*a,l.y+o*r);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,s,0),this.addScalePoint(p);var u=s,P=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,u,u,90);this.addScalePoint(P),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i,n,a=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),r=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===t)i=(e.x-a.x)/r,this.scaleValues[2]=i,n=(e.y-a.y)/r,this.scaleValues[3]=n;else if(1===t){i=this.scaleValues[2],n=this.scaleValues[3];var s=new SuperMapAlgoPlot.Point(a.x+r*i,a.y+r*n),p=SuperMapAlgoPlot.PlottingUtil.distance(s,e)/r;this.scaleValues[0]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol23500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e),this.scaleValues.length<2&&(this.scaleValues=[],this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(.1));var l=this.scaleValues[0],o=this.scaleValues[1],i=this.scaleValues[2],n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),r=a*i,s=new SuperMapAlgoPlot.Point(n.x+a*l,n.y+a*o);if(this.subSymbols.length>0){if(null==this.subSymbols.length)return;null!=this.subSymbols[0].code&&this.computeSubSymbol(this.subSymbols[0],s,r,0),this.addScalePoint(s);var p=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,r,r,0);this.addScalePoint(p)}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i,n,a=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),r=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===t)i=(e.x-a.x)/r,this.scaleValues[0]=i,n=(e.y-a.y)/r,this.scaleValues[1]=n;else if(1===t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMapAlgoPlot.Point(a.x+r*i,a.y+r*n),p=SuperMapAlgoPlot.PlottingUtil.distance(s,e)/r;this.scaleValues[2]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol23400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e);0===this.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.05));var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);this.isEdit||(this.scaleValues[0]=.35*this.getSubSymbolScaleValue());var i=o*this.scaleValues[0],n=[];n.push(new SuperMapAlgoPlot.Point(l.x,l.y)),n.push(new SuperMapAlgoPlot.Point(l.x+i,l.y)),this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,n);var a=[];a.push(new SuperMapAlgoPlot.Point(l.x,l.y+.8*i)),a.push(new SuperMapAlgoPlot.Point(l.x,l.y-.8*i)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,a);var r=[];r.push(new SuperMapAlgoPlot.Point(l.x+.8*i,l.y)),r.push(new SuperMapAlgoPlot.Point(l.x-.8*i,l.y)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,r),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol22200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol22103=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues.push(.05),l.scaleValues.push(.025)),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol22000),e}();SuperMapAlgoPlot.AlgoSymbol22103=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=.6*this.getSubSymbolScaleValue()}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,r=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);0.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[3]=.5*o}for(var i=this.getLinePts(e,this.scaleValues[0]),n=[],a=[],r=0;r<=i.startIndex;r++)n.push(e[r]);if(n.push(i.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,n),i.endIndex<=e.length){a.push(i.endPt);for(var s=i.endIndex+1;s<=e.length-1;s++)a.push(e[s]);this.addArrow(a,this.scaleValues[this.scaleValues.length-1])}var p,u,P,c,g,S,h,f,y,A,M,b,d,m=i.startPt.clone(),v=i.endPt.clone(),O=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),U=SuperMapAlgoPlot.PlottingUtil.distance(m,v),L=SuperMapAlgoPlot.PlottingUtil.radian(m,v)*SuperMapAlgoPlot.PlottingUtil.RTOD;p=new SuperMapAlgoPlot.Point(0,0),u=new SuperMapAlgoPlot.Point(0,0),P=new SuperMapAlgoPlot.Point(0,0),c=new SuperMapAlgoPlot.Point(0,0),g=new SuperMapAlgoPlot.Point(0,0),S=new SuperMapAlgoPlot.Point(0,0),h=new SuperMapAlgoPlot.Point(0,0),f=new SuperMapAlgoPlot.Point(0,0),y=new SuperMapAlgoPlot.Point(0,0),A=new SuperMapAlgoPlot.Point(0,0),M=new SuperMapAlgoPlot.Point(0,0),b=new SuperMapAlgoPlot.Point(0,0),d=new SuperMapAlgoPlot.Point(0,0),m.x>=v.x?(p.x=.25*U,p.y=.25*-U,u.x=.5*-U,u.y=.25*-U,P.x=.5*-U,P.y=.25*U,c.x=.5*U,c.y=.25*U,g.x=.5*U,g.y=0,S.x=.25*-U,S.y=.125*-U,h.x=0,h.y=.125*U,f.x=0,f.y=.125*-U,y.x=.25*U,y.y=.2*U,A.x=.25*-U,A.y=.25*-U,M.x=.375*-U,M.y=.5*-U,b.x=.02*-U,b.y=.25*-U,d.x=.1*U,d.y=.5*-U):(p.x=.25*U,p.y=.25*U,u.x=.5*-U,u.y=.25*U,P.x=.5*-U,P.y=.25*-U,c.x=.5*U,c.y=.25*-U,g.x=.5*U,g.y=0,S.x=.25*U,S.y=.125*-U,h.x=0,h.y=.125*U,f.x=0,f.y=.125*-U,y.x=.25*-U,y.y=.125*U,A.x=.25*-U,A.y=.25*U,M.x=.375*-U,M.y=.5*U,b.x=.02*U,b.y=.25*U,d.x=.15*U,d.y=.5*U);var w=[],V=[],_=[],T=[],x=[],E=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,p,L),Y=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,u,L),j=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,P,L),C=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,c,L),I=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,g,L),B=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,S,L),R=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,h,L),N=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,f,L),D=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,y,L),k=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,A,L),z=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,M,L),F=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,b,L),G=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,d,L);w.push(E),w.push(Y),w.push(j),w.push(C),w.push(I),V.push(B),V.push(R),V.push(N),V.push(D),_.push(k),_.push(z),T.push(F),T.push(G),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,w,null,!0),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,V,null,!0),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,_,null,!0),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,T,null,!0);var K=.3*SuperMapAlgoPlot.PlottingUtil.distance(N,D),W=SuperMapAlgoPlot.PlottingUtil.linePnt(D,N,K),q=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(.3*K,D,W);x.push(q.pntLeft),x.push(D),x.push(q.pntRight);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,x,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0},!0);var J=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.5*l,e),Z=SuperMapAlgoPlot.PlottingUtil.circlePoint(J.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,L+90);this.addScalePoint(Z,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).lengthl.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol21800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&(s+=SuperMapAlgoPlot.PlottingUtil.distance(r[p],r[p-1]));var u,P,c=i-s,g=l*this.scaleValues[1],S=[];if(c>=g){u=SuperMapAlgoPlot.PlottingUtil.linePnt(a,e[n.index],g),r.push(u),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,r),P=SuperMapAlgoPlot.PlottingUtil.linePnt(a,e[n.index+1],g),S.push(P);for(var h=e.length,f=n.index+1;f=0;b--)if(y=new SuperMapAlgoPlot.Point(r[b].x,r[b].y),A=new SuperMapAlgoPlot.Point(a.x,a.y),SuperMapAlgoPlot.PlottingUtil.distance(y,A)>g){M=b;break}if(-1==M)return;r.splice(M+1,r.length-1-M),u=SuperMapAlgoPlot.PlottingUtil.linePnt(a,e[M],g),r.push(u),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,r);for(var d=-1,m=n.index;mg){d=m;break}if(-1==d)return;P=SuperMapAlgoPlot.PlottingUtil.linePnt(a,e[d],g),S.push(P);for(var v=d+1;vl.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol21600=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],t,.8*e,l-90)}}]),e}();SuperMapAlgoPlot.AlgoSymbol21504=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],t,.8*e,l-90)}}]),e}();SuperMapAlgoPlot.AlgoSymbol21503=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol21502=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues.push(.05),l.scaleValues.push(.02)),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol21501),e}();SuperMapAlgoPlot.AlgoSymbol21502=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=.5*this.getSubSymbolScaleValue()}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,r=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);this.addSubSymbols(n,r,a);for(var s=[],p=[],u=0;u<=i.startIndex;u++)s.push(e[u]);if(s.push(i.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){p.push(i.endPt);for(var P=i.endIndex+1;P<=e.length-1;P++)p.push(e[P]);this.addArrow(p,this.scaleValues[1])}var c=l*this.scaleValues[0]*.5,g=SuperMapAlgoPlot.PlottingUtil.circlePoint(n,c,c,a+90);this.addScalePoint(g,0),this.finish()}}},{key:"addSubSymbols",value:function(t,e,l){this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],t,.8*e,l-180)}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).lengthl.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!1);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=.01*i;if(0===t){var a=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(o,n);if(-1===a.index)return;var r=SuperMapAlgoPlot.PlottingUtil.distance(e,a.pt);this.scaleValues[0]=r/i}else if(1===t){var s=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(o,n);if(-1===s.index)return;var p=SuperMapAlgoPlot.PlottingUtil.projectPtOnPolyLine(e,o);if(-1===p.index)return;for(var u=0,P=s.index+1;P.93&&(this.scaleValues[1]=.93)}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol21500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!1);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o),n=i*(.5+.5*this.scaleValues[1]),a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(n,o);if(!a.bfind)return;var r,s=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(1,o[a.index],a.pts),p=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(o[a.index],o[a.index+1],e);this.scaleValues[2]=p?0:1,r=SuperMapAlgoPlot.PlottingUtil.pointProjectToSegment(e,new SuperMapAlgoPlot.Point(s.pntLeft.x,s.pntLeft.y),new SuperMapAlgoPlot.Point(s.pntRight.x,s.pntRight.y));var u=SuperMapAlgoPlot.PlottingUtil.distance(r.projectPoint,new SuperMapAlgoPlot.Point(a.pts.x,a.pts.y));this.scaleValues[0]=u/i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol21401=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=new SuperMapAlgoPlot.Point(l[0].x,l[0].y),i=new SuperMapAlgoPlot.Point(l[1].x,l[1].y),n=SuperMapAlgoPlot.PlottingUtil.distance(o,i);if(0===n)return;var a=new SuperMapAlgoPlot.Point((o.x+i.x)/2,(o.y+i.y)/2);if(0===t){var r=SuperMapAlgoPlot.PlottingUtil.distance(e,a)/n;this.scaleValues[0]=r,SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(o,i,e)?this.scaleValues[1]=1:this.scaleValues[1]=0}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol20301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;for(var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=-1,n=0,a=new SuperMapAlgoPlot.Point(0,0),r=0;rP&&(i=r,a=s,n=P)}}if(-1===i||i>l.length-1)return;for(var c=0,g=0;go)return;var y=c/o;y>.95?y=.95:y<.1&&(y=.1),this.scaleValues[0]=y}}}]),e}();SuperMapAlgoPlot.AlgoSymbol20300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2*l.length-2)return;for(var o=0,i=0;i.45&&(p=.45),2==l.length?this.scaleValues[0]=p:this.scaleValues[2*t]=p}else{var u=-1;u=t%2==0?t/2:(t+1)/2;var P=(e.x-l[u].x)/o,c=(e.y-l[u].y)/o;this.scaleValues[2*t]=P,this.scaleValues[2*t+1]=c}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol17703=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lo)return l;for(var i=SuperMapAlgoPlot.PlottingUtil.clonePoints(t),n=2*parseInt(o/(1.5*e)),a=0;a0&&l.push(i),l}}]),e}();SuperMapAlgoPlot.AlgoSymbol17700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(3>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);for(var l=e[0].x,o=e[0].x,i=e[0].y,n=e[0].y,a=0;ae[a].x&&(l=e[a].x),oe[a].y&&(i=e[a].y),n=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(3>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);for(var l=e[0].x,o=e[0].x,i=e[0].y,n=e[0].y,a=0;ae[a].x&&(l=e[a].x),oe[a].y&&(i=e[a].y),n=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);for(var l=e[0].x,o=e[0].x,i=e[0].y,n=e[0].y,a=[],r=0;re[r].x&&(l=e[r].x),oe[r].y&&(i=e[r].y),n=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(3>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);for(var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(e),o=e[0].x,i=e[0].x,n=e[0].y,a=e[0].y,r=[],s=0;se[s].x&&(o=e[s].x),ie[s].y&&(n=e[s].y),a0&&(y=.015*l,this.computeSubSymbol(this.subSymbols[0],A,y,0)),S++):(S=0,this.subSymbols.length>0&&(y=.022*l,this.computeSubSymbol(this.subSymbols[1],A,y,0)))}this.finish()}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol17400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.minEditPts){var t,e=[];if(2===this.controlPoints.length){for(var l=SuperMapAlgoPlot.PlottingUtil.distance(this.controlPoints[0],this.controlPoints[1]),o=this.scaleValues[0]*l,i=SuperMapAlgoPlot.PlottingUtil.parallel(this.controlPoints,o/2),n=SuperMapAlgoPlot.PlottingUtil.parallel(this.controlPoints,-o/2),a=180*SuperMapAlgoPlot.PlottingUtil.radian(this.controlPoints[0],this.controlPoints[1])/Math.PI,r=[],s=a+90;s<=a+270;s+=10)t=SuperMapAlgoPlot.PlottingUtil.circlePoint(this.controlPoints[0],o/2,o/2,s),r.push(t);for(var p=[],u=a-90;u<=a+90;u+=10)t=SuperMapAlgoPlot.PlottingUtil.circlePoint(this.controlPoints[1],o/2,o/2,u),p.push(t);e=(e=(e=(e=e.concat(r)).concat(n)).concat(p)).concat(i)}else this.controlPoints.length<=3?e=SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,this.controlPoints):this.controlPoints.length>3&&!0===this.polylineConnectLocationPoint?e=this.controlPoints:(this.controlPoints.push(this.controlPoints[0]),e=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(this.controlPoints));e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var P=e[0].x,c=e[0].x,g=e[0].y,S=e[0].y;for(s=0;se[s].x&&(P=e[s].x),ce[s].y&&(g=e[s].y),S0||U.length>0)&&(A=!0),O=[],U=[];for(var Y=new SuperMapAlgoPlot.Point(b,h.y),j=SuperMapAlgoPlot.PlottingUtil.circlePoint(Y,5,5,45),C=SuperMapAlgoPlot.PlottingUtil.circlePoint(Y,5,5,135),I=0;I0||U.length>0)&&(A=!0),M-=f,b+=f}this.finish()}}},{key:"sortPts2D",value:function(t){for(var e,l=0;lt[o+1].y&&(e=t[o],t[o]=t[o+1],t[o+1]=e):t[o].x>t[o+1].x&&(e=t[o],t[o]=t[o+1],t[o+1]=e);return t}}]),e}();SuperMapAlgoPlot.AlgoSymbol16500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lo-o*this.scaleValues[0]-n&&(this.scaleValues[1]=(o-o*this.scaleValues[0]-n)/o)}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol16203=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.9&&(this.scaleValues[1]=.9)}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol16201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0||g.length>0)&&(l=!0),c=[],g=[];for(var b=new SuperMapAlgoPlot.Point(i,e.y),d=SuperMapAlgoPlot.PlottingUtil.circlePoint(b,10,10,45),m=SuperMapAlgoPlot.PlottingUtil.circlePoint(b,10,10,135),v=0;v0||g.length>0)&&(l=!0),o-=.8,i+=.8}this.finish()}}}},{key:"sortPts2D",value:function(t){for(var e,l=0;lt[o+1].y&&(e=t[o],t[o]=t[o+1],t[o+1]=tempPt11):t[o].x>t[o+1].x&&(e=t[o],t[o]=t[o+1],t[o+1]=e);return t}}]),e}();SuperMapAlgoPlot.AlgoSymbol16100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0?new SuperMapAlgoPlot.Point(y.pntLeft.x,y.pntLeft.y):new SuperMapAlgoPlot.Point(y.pntRight.x,y.pntRight.y);var A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(P,f,h.pt),M=[];if(M.push(A.pntRight),M.push(f),M.push(A.pntLeft),0===S){var b=new SuperMapAlgoPlot.Point(f.x,f.y);b.isScalePoint=!0,b.tag=0,this.scalePoints.push(b)}this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,M,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0})}}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),o=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(l[0],l[1],e);this.scaleValues[0]=o?-1:1}}}]),e}();SuperMapAlgoPlot.AlgoSymbol16000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.minEditPts){this.scalePoints=[];var e=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t);e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e);var l=this.scaleValues[0],o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),i=l*o,n=.6*i,a=this.scaleValues[2]*o,r=0===this.scaleValues[1],s=SuperMapAlgoPlot.PlottingUtil.polylineDistance(e);if(0===s)return;for(var p=[],u=0;u<=s;u+=a){var P=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,u);if(!(P.index<0)){var c=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(i,e[P.index+1],P.pt);if(r?p.push(c.pntRight):p.push(c.pntLeft),!((P=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,u+.65*a)).index<0||(c=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(n,e[P.index+1],P.pt),r?p.push(c.pntRight):p.push(c.pntLeft),(P=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,u+.8*a)).index<0||(p.push(P.pt),(P=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,u+.5*a)).index<0||(c=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(i,e[P.index+1],P.pt),r?p.push(c.pntLeft):p.push(c.pntRight),P=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,u+.2*a),p.push(P.pt),(P=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,u+.35*a)).index<0||(c=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(n,e[P.index+1],P.pt),r?p.push(c.pntRight):p.push(c.pntLeft),(P=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,u+a)).index<0||(c=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(i,e[P.index+1],P.pt),r?p.push(c.pntRight):p.push(c.pntLeft),!(Math.abs(u)<=1e-6)))))))){this.scalePoints=[];var g=new SuperMapAlgoPlot.Point(p[0].x,p[0].y);g.isScalePoint=!0,g.tag=0,this.scalePoints.push(g),(g=new SuperMapAlgoPlot.Point(P.pt.x,P.pt.y)).isScalePoint=!0,g.tag=1,this.scalePoints.push(g)}}}var S=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(p);SuperMapAlgoPlot.PlottingUtil.clearSamePts(S),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,S)}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=1)return;this.scaleValues[2]=y}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol15800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.7&&(d=.7),this.scaleValues[2]=d}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol15200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=n)return;this.scaleValues=[];var a=SuperMapAlgoPlot.PlottingUtil.distance(l,o)/n;this.scaleValues.push(a);var r=180*SuperMapAlgoPlot.PlottingUtil.radian(l,o)/Math.PI;r>90?r-=90:r=270+r,this.scaleValues.push(r*(Math.PI/180));var s=180*SuperMapAlgoPlot.PlottingUtil.radian(l,i)/Math.PI;s>90?s-=90:s=270+s,this.scaleValues.push(s*(Math.PI/180)),e=this.scaleValues[0]*n;var p=this.scaleValues[1]*(180/Math.PI)+90,u=this.scaleValues[2]*(180/Math.PI)+90;p=u;g-=4)P=SuperMapAlgoPlot.PlottingUtil.circlePoint(this.controlPoints[0],e,e,g),c.push(P);g!=u&&(P=SuperMapAlgoPlot.PlottingUtil.circlePoint(this.controlPoints[0],e,e,u),c.push(P)),this.controlPoints[2]=SuperMapAlgoPlot.PlottingUtil.circlePoint(this.controlPoints[0],e,e,u),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,c)}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol13700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;li&&Si){var h;h=g>i?c:r,(P=this.getLineAddCircleIntersectPts(c,r,p)).length>0&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[P[0],h])}else{var f=SuperMapAlgoPlot.PlottingUtil.projectPoint(s,c,r);if(SuperMapAlgoPlot.PlottingUtil.distance(s,f)>=i)this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[c,r]);else if(SuperMapAlgoPlot.PlottingUtil.pointIsOnPolyLine(f,c,r)){if((P=this.getLineAddCircleIntersectPts(c,r,p)).length>0){P.unshift(c),P.push(r);for(var y=0;ySuperMapAlgoPlot.PlottingUtil.distance(i,l)}},{key:"getLineAddCircleIntersectPts",value:function(t,e,l){var o=l.slice();o[0].x===o[o.length-1].x&&o[0].y===o[o.length-1].y||o.push(o[0]);for(var i,n=[],a=0;ae.x)for(var P=0;Pn[c+1].x&&(i=n[c],n[c]=n[c+1],n[c+1]=i);else if(t.y>e.y)for(var g=0;gn[S+1].y&&(i=n[S],n[S]=n[S+1],n[S+1]=i);return n}}]),e}();SuperMapAlgoPlot.AlgoSymbol12502=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l1&&(c.push(g),g=[]):g.push(a.pt[S]);g.length>1&&c.push(g);for(var h=0;hthis.scaleValues.length)return;var o,i,n,a,r,s=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),p=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l),u=new SuperMapAlgoPlot.Point(e.x,e.y);if(0===t){var P=new SuperMapAlgoPlot.Point(l[0].x,l[0].y),c=SuperMapAlgoPlot.PlottingUtil.distance(P,u);i=2*c/s,this.scaleValues[1]=i}else if(1===t)P=new SuperMapAlgoPlot.Point(l[0].x,l[0].y),o=(c=SuperMapAlgoPlot.PlottingUtil.distance(P,u))/s,this.scaleValues[0]=o;else if(2==t){var g=-1,S=0;r=new SuperMapAlgoPlot.Point(0,0),o=this.scaleValues[0],i=this.scaleValues[1];for(var h=0;hM&&(g=h,r=A,S=M)}}if(-1==g||g>p.length-1)return;a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(p);for(var b=[],d=0;da)return;n=m/a,this.scaleValues[2]=n}else if(3===t){o=this.scaleValues[0],i=this.scaleValues[1],n=this.scaleValues[2];var v=(a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(p))*n;if(-1===(r=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(p,v)).index)return;var O=SuperMapAlgoPlot.PlottingUtil.distance(r.pt,e)/s;O>.4&&(O=.4),this.scaleValues[3]=O}}}},{key:"GetCurvePts",value:function(t,e,l){for(var o,i=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(i),a=n*e,r=n*l/2,s=[],p=[],u=i[0],P=!1,c=i[0],g=1;g1&&0===A?this.ClearCurvePts2D(c,u,S,p,M,s):s.concat(M),p=(p=[]).concat(M),c=u,u=f}g===i.length-1&&(f=i[i.length-1],M=this.GetCosPts2D(u,f,a,r),s=p.length>1&&M.length>1?this.ClearCurvePts2D(c,u,S,p,M,s):s.concat(M))}}return{pt:s,scalePt:o}}},{key:"GetCosPts2D",value:function(t,e,l,o){for(var i=[],n=SuperMapAlgoPlot.PlottingUtil.distance(t,e),a=l/30,r=0;ro&&go){var S;S=c>o?u:P,(p=this.getLineAddCircleIntersectPts(u,P,r)).length>0&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[p[0],S])}else{var h=SuperMapAlgoPlot.PlottingUtil.projectPoint(a,u,P);if(SuperMapAlgoPlot.PlottingUtil.distance(a,h)>=o)this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[u,P]);else if(SuperMapAlgoPlot.PlottingUtil.pointIsOnPolyLine(h,u,P)){if((p=this.getLineAddCircleIntersectPts(u,P,r)).length>0){p.unshift(u),p.push(P);for(var f=0;fSuperMapAlgoPlot.PlottingUtil.distance(i,l)}},{key:"getLineAddCircleIntersectPts",value:function(t,e,l){var o=l.slice();o[0].x===o[o.length-1].x&&o[0].y===o[o.length-1].y||o.push(o[0]);for(var i,n=[],a=0;ae.x)for(var P=0;Pn[c+1].x&&(i=n[c],n[c]=n[c+1],n[c+1]=i);else if(t.y>e.y)for(var g=0;gn[S+1].y&&(i=n[S],n[S]=n[S+1],n[S+1]=i);return n}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===t){for(var i=0,n=-1,a=null,r=0;r1&&(c=1),this.scaleValues[0]=c}if(1===t){var g=this.scaleValues[0]*o,S=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(l,g);if(-1===S.index)return;var h=SuperMapAlgoPlot.PlottingUtil.distance(S.pt,e)/o;h>.4&&(h=.4),this.scaleValues[1]=h}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol12500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbol1770501=e.AlgoSymbol1770201=e.AlgoSymbol1770101=e.AlgoSymbol4021102=e.AlgoSymbol4021101=e.AlgoSymbol6020404=e.AlgoSymbol6020403=e.AlgoSymbol4022102=e.AlgoSymbol4022101=e.AlgoSymbol4022100=e.AlgoSymbol4020402=e.AlgoSymbol4020401=e.AlgoSymbol4020303=e.AlgoSymbol4011101=e.AlgoSymbol4011100=e.AlgoSymbol4010905=e.AlgoSymbol4010801=e.AlgoSymbol4010800=e.AlgoSymbol3032000=e.AlgoSymbol3020901=e.AlgoSymbol3010304=e.AlgoSymbol3010303=e.AlgoSymbol6020402=e.AlgoSymbol6020401=e.AlgoSymbol6020400=e.AlgoSymbol3010302=e.AlgoSymbol3010301=e.AlgoSymbol3010108=e.AlgoSymbol3010107=e.AlgoSymbol3010106=e.AlgoSymbol3010105=void 0,e.AlgoSymbol3010104=e.AlgoSymbol3010103=e.AlgoSymbol3010102=e.AlgoSymbol2890001=e.AlgoSymbol2730101=e.AlgoSymbol2570501=e.AlgoSymbol2570401=e.AlgoSymbol2570301=e.AlgoSymbol2570201=e.AlgoSymbol2350001=e.AlgoSymbol44400=e.AlgoSymbol44300=e.AlgoSymbol44200=e.AlgoSymbol44100=e.AlgoSymbol43500=e.AlgoSymbol42700=e.AlgoSymbol42500=e.AlgoSymbol42400=e.AlgoSymbol42200=e.AlgoSymbol41202=e.AlgoSymbol41201=e.AlgoSymbol41200=e.AlgoSymbol41100=e.AlgoSymbol40900=e.AlgoSymbol40101=e.AlgoSymbol40100=e.AlgoSymbol40000=e.AlgoSymbol39802=e.AlgoSymbol39801=e.AlgoSymbol39800=e.AlgoSymbol39600=e.AlgoSymbol39500=e.AlgoSymbol39101=e.AlgoSymbol39000=e.AlgoSymbol38700=e.AlgoSymbol38600=e.AlgoSymbol37700=e.AlgoSymbol37601=e.AlgoSymbol37600=e.AlgoSymbol37301=e.AlgoSymbol37300=e.AlgoSymbol37200=e.AlgoSymbol37100=e.AlgoSymbol36800=e.AlgoSymbol36700=e.AlgoSymbol36600=e.AlgoSymbol36401=e.AlgoSymbol36400=e.AlgoSymbol35500=e.AlgoSymbol35304=e.AlgoSymbol35200=e.AlgoSymbol35000=e.AlgoSymbol34902=e.AlgoSymbol34901=e.AlgoSymbol34900=e.AlgoSymbol34801=e.AlgoSymbol34800=e.AlgoSymbol34700=e.AlgoSymbol34501=e.AlgoSymbol34500=e.AlgoSymbol34400=e.AlgoSymbol34300=e.AlgoSymbol33400=e.AlgoSymbol32900=e.AlgoSymbol32300=e.AlgoSymbol31803=e.AlgoSymbol31601=e.AlgoSymbol31600=e.AlgoSymbol31401=e.AlgoSymbol31400=e.AlgoSymbol31304=e.AlgoSymbol31303=e.AlgoSymbol31302=e.AlgoSymbol31301=e.AlgoSymbol31300=e.AlgoSymbol30102=e.AlgoSymbol30800=e.AlgoSymbol30201=e.AlgoSymbol30200=e.AlgoSymbol30100=e.AlgoSymbol30002=e.AlgoSymbol30001=e.AlgoSymbol30000=e.AlgoSymbol29903=e.AlgoSymbol29800=e.AlgoSymbol29401=e.AlgoSymbol29103=e.AlgoSymbol29101=e.AlgoSymbol29100=e.AlgoSymbol29003=e.AlgoSymbol29002=e.AlgoSymbol29001=e.AlgoSymbol29000=e.AlgoSymbol28900=e.AlgoSymbol28400=e.AlgoSymbol28301=e.AlgoSymbol28300=e.AlgoSymbol28201=e.AlgoSymbol28200=e.AlgoSymbol28100=void 0,e.AlgoSymbol28000=e.AlgoSymbol27902=e.AlgoSymbol27901=e.AlgoSymbol27900=e.AlgoSymbol27701=e.AlgoSymbol27700=e.AlgoSymbol27300=e.AlgoSymbol27100=e.AlgoSymbol26800=e.AlgoSymbol26700=e.AlgoSymbol26601=e.AlgoSymbol26600=e.AlgoSymbol26503=e.AlgoSymbol26502=e.AlgoSymbol26501=e.AlgoSymbol26500=e.AlgoSymbol26400=e.AlgoSymbol25901=e.AlgoSymbol25900=e.AlgoSymbol25801=e.AlgoSymbol25800=e.AlgoSymbol25701=e.AlgoSymbol25700=e.AlgoSymbol25601=e.AlgoSymbol25600=e.AlgoSymbol25503=e.AlgoSymbol25502=e.AlgoSymbol25501=e.AlgoSymbol25500=e.AlgoSymbol25400=e.AlgoSymbol25301=e.AlgoSymbol25300=e.AlgoSymbol25202=e.AlgoSymbol25201=e.AlgoSymbol25200=e.AlgoSymbol25101=e.AlgoSymbol25100=e.AlgoSymbol25000=e.AlgoSymbol24700=e.AlgoSymbol23902=e.AlgoSymbol23901=e.AlgoSymbol23700=e.AlgoSymbol23600=e.AlgoSymbol23500=e.AlgoSymbol23400=e.AlgoSymbol22200=e.AlgoSymbol22103=e.AlgoSymbol22000=e.AlgoSymbol21900=e.AlgoSymbol21800=e.AlgoSymbol21600=e.AlgoSymbol21504=e.AlgoSymbol21503=e.AlgoSymbol21502=e.AlgoSymbol21501=e.AlgoSymbol21500=e.AlgoSymbol21401=e.AlgoSymbol21400=e.AlgoSymbol20301=e.AlgoSymbol20300=e.AlgoSymbol17806=e.AlgoSymbol17805=e.AlgoSymbol17804=e.AlgoSymbol17803=e.AlgoSymbol17802=e.AlgoSymbol17801=e.AlgoSymbol17800=e.AlgoSymbol17704=e.AlgoSymbol17703=e.AlgoSymbol17700=e.AlgoSymbol17600=e.AlgoSymbol17501=e.AlgoSymbol17500=e.AlgoSymbol17401=e.AlgoSymbol17400=e.AlgoSymbol16900=e.AlgoSymbol16700=e.AlgoSymbol16500=e.AlgoSymbol16203=e.AlgoSymbol16202=e.AlgoSymbol16201=e.AlgoSymbol16200=e.AlgoSymbol16100=e.AlgoSymbol16001=e.AlgoSymbol16000=e.AlgoSymbol15900=e.AlgoSymbol15806=e.AlgoSymbol15805=e.AlgoSymbol15804=e.AlgoSymbol15803=e.AlgoSymbol15802=e.AlgoSymbol15801=e.AlgoSymbol15800=e.AlgoSymbol15202=e.AlgoSymbol15201=e.AlgoSymbol15200=e.AlgoSymbol13700=e.AlgoSymbol12502=e.AlgoSymbol12501=e.AlgoSymbol12500=void 0;var o=l(230),i=l(229),n=l(228),a=l(227),r=l(226),s=l(225),p=l(224),u=l(223),P=l(222),c=l(221),g=l(220),S=l(219),h=l(218),f=l(217),y=l(216),A=l(215),M=l(214),b=l(213),d=l(212),m=l(211),v=l(210),O=l(209),U=l(208),L=l(207),w=l(206),V=l(205),_=l(204),T=l(203),x=l(202),E=l(201),Y=l(200),j=l(199),C=l(198),I=l(197),B=l(196),R=l(195),N=l(194),D=l(193),k=l(192),z=l(191),F=l(190),G=l(189),K=l(188),W=l(187),q=l(186),J=l(185),Z=l(184),X=l(183),H=l(182),Q=l(181),$=l(180),tt=l(179),et=l(178),lt=l(177),ot=l(176),it=l(175),nt=l(174),at=l(173),rt=l(172),st=l(171),pt=l(170),ut=l(169),Pt=l(168),ct=l(167),gt=l(166),St=l(165),ht=l(164),ft=l(163),yt=l(162),At=l(161),Mt=l(160),bt=l(159),dt=l(158),mt=l(157),vt=l(156),Ot=l(155),Ut=l(154),Lt=l(153),wt=l(152),Vt=l(151),_t=l(150),Tt=l(149),xt=l(148),Et=l(147),Yt=l(146),jt=l(145),Ct=l(144),It=l(143),Bt=l(142),Rt=l(141),Nt=l(140),Dt=l(139),kt=l(138),zt=l(137),Ft=l(136),Gt=l(135),Kt=l(134),Wt=l(133),qt=l(132),Jt=l(131),Zt=l(130),Xt=l(129),Ht=l(128),Qt=l(127),$t=l(126),te=l(125),ee=l(124),le=l(123),oe=l(122),ie=l(121),ne=l(120),ae=l(119),re=l(118),se=l(117),pe=l(116),ue=l(115),Pe=l(114),ce=l(113),ge=l(112),Se=l(111),he=l(110),fe=l(109),ye=l(108),Ae=l(107),Me=l(106),be=l(105),de=l(104),me=l(103),ve=l(102),Oe=l(101),Ue=l(100),Le=l(99),we=l(98),Ve=l(97),_e=l(96),Te=l(95),xe=l(94),Ee=l(93),Ye=l(92),je=l(91),Ce=l(90),Ie=l(89),Be=l(88),Re=l(87),Ne=l(86),De=l(85),ke=l(84),ze=l(83),Fe=l(82),Ge=l(81),Ke=l(80),We=l(79),qe=l(78),Je=l(77),Ze=l(76),Xe=l(75),He=l(74),Qe=l(73),$e=l(72),tl=l(71),el=l(70),ll=l(69),ol=l(68),il=l(67),nl=l(66),al=l(65),rl=l(64),sl=l(63),pl=l(62),ul=l(61),Pl=l(60),cl=l(59),gl=l(58),Sl=l(57),hl=l(56),fl=l(55),yl=l(54),Al=l(53),Ml=l(52),bl=l(51),dl=l(50),ml=l(49),vl=l(48),Ol=l(47),Ul=l(46),Ll=l(45),wl=l(44),Vl=l(43),_l=l(42),Tl=l(41),xl=l(40),El=l(39),Yl=l(38),jl=l(37),Cl=l(36),Il=l(35),Bl=l(34),Rl=l(33),Nl=l(32),Dl=l(31),kl=l(30),zl=l(29),Fl=l(28),Gl=l(27),Kl=l(26),Wl=l(25),ql=l(24),Jl=l(23),Zl=l(22),Xl=l(21),Hl=l(20),Ql=l(19),$l=l(18),to=l(17),eo=l(16),lo=l(15),oo=l(14),io=l(13),no=l(12),ao=l(11),ro=l(10),so=l(9),po=l(8),uo=l(7),Po=l(6),co=l(5),go=l(4),So=l(3),ho=l(2),fo=l(1),yo=l(0);e.AlgoSymbol12500=o.AlgoSymbol12500,e.AlgoSymbol12501=i.AlgoSymbol12501,e.AlgoSymbol12502=n.AlgoSymbol12502,e.AlgoSymbol13700=a.AlgoSymbol13700,e.AlgoSymbol15200=r.AlgoSymbol15200,e.AlgoSymbol15201=s.AlgoSymbol15201,e.AlgoSymbol15202=p.AlgoSymbol15202,e.AlgoSymbol15800=u.AlgoSymbol15800,e.AlgoSymbol15801=P.AlgoSymbol15801,e.AlgoSymbol15802=c.AlgoSymbol15802,e.AlgoSymbol15803=g.AlgoSymbol15803,e.AlgoSymbol15804=S.AlgoSymbol15804,e.AlgoSymbol15805=h.AlgoSymbol15805,e.AlgoSymbol15806=f.AlgoSymbol15806,e.AlgoSymbol15900=y.AlgoSymbol15900,e.AlgoSymbol16000=A.AlgoSymbol16000,e.AlgoSymbol16001=M.AlgoSymbol16001,e.AlgoSymbol16100=b.AlgoSymbol16100,e.AlgoSymbol16200=d.AlgoSymbol16200,e.AlgoSymbol16201=m.AlgoSymbol16201,e.AlgoSymbol16202=v.AlgoSymbol16202,e.AlgoSymbol16203=O.AlgoSymbol16203,e.AlgoSymbol16500=U.AlgoSymbol16500,e.AlgoSymbol16700=L.AlgoSymbol16700,e.AlgoSymbol16900=w.AlgoSymbol16900,e.AlgoSymbol17400=V.AlgoSymbol17400,e.AlgoSymbol17401=_.AlgoSymbol17401,e.AlgoSymbol17500=T.AlgoSymbol17500,e.AlgoSymbol17501=x.AlgoSymbol17501,e.AlgoSymbol17600=E.AlgoSymbol17600,e.AlgoSymbol17700=Y.AlgoSymbol17700,e.AlgoSymbol17703=j.AlgoSymbol17703,e.AlgoSymbol17704=C.AlgoSymbol17704,e.AlgoSymbol17800=I.AlgoSymbol17800,e.AlgoSymbol17801=B.AlgoSymbol17801,e.AlgoSymbol17802=R.AlgoSymbol17802,e.AlgoSymbol17803=N.AlgoSymbol17803,e.AlgoSymbol17804=D.AlgoSymbol17804,e.AlgoSymbol17805=k.AlgoSymbol17805,e.AlgoSymbol17806=z.AlgoSymbol17806,e.AlgoSymbol20300=F.AlgoSymbol20300,e.AlgoSymbol20301=G.AlgoSymbol20301,e.AlgoSymbol21400=K.AlgoSymbol21400,e.AlgoSymbol21401=W.AlgoSymbol21401,e.AlgoSymbol21500=q.AlgoSymbol21500,e.AlgoSymbol21501=J.AlgoSymbol21501,e.AlgoSymbol21502=Z.AlgoSymbol21502,e.AlgoSymbol21503=X.AlgoSymbol21503,e.AlgoSymbol21504=H.AlgoSymbol21504,e.AlgoSymbol21600=Q.AlgoSymbol21600,e.AlgoSymbol21800=$.AlgoSymbol21800,e.AlgoSymbol21900=tt.AlgoSymbol21900,e.AlgoSymbol22000=et.AlgoSymbol22000,e.AlgoSymbol22103=lt.AlgoSymbol22103,e.AlgoSymbol22200=ot.AlgoSymbol22200,e.AlgoSymbol23400=it.AlgoSymbol23400,e.AlgoSymbol23500=nt.AlgoSymbol23500,e.AlgoSymbol23600=at.AlgoSymbol23600,e.AlgoSymbol23700=rt.AlgoSymbol23700,e.AlgoSymbol23901=st.AlgoSymbol23901,e.AlgoSymbol23902=pt.AlgoSymbol23902,e.AlgoSymbol24700=ut.AlgoSymbol24700,e.AlgoSymbol25000=Pt.AlgoSymbol25000,e.AlgoSymbol25100=ct.AlgoSymbol25100,e.AlgoSymbol25101=gt.AlgoSymbol25101,e.AlgoSymbol25200=St.AlgoSymbol25200,e.AlgoSymbol25201=ht.AlgoSymbol25201,e.AlgoSymbol25202=ft.AlgoSymbol25202,e.AlgoSymbol25300=yt.AlgoSymbol25300,e.AlgoSymbol25301=At.AlgoSymbol25301,e.AlgoSymbol25400=Mt.AlgoSymbol25400,e.AlgoSymbol25500=bt.AlgoSymbol25500,e.AlgoSymbol25501=dt.AlgoSymbol25501,e.AlgoSymbol25502=mt.AlgoSymbol25502,e.AlgoSymbol25503=vt.AlgoSymbol25503,e.AlgoSymbol25600=Ot.AlgoSymbol25600,e.AlgoSymbol25601=Ut.AlgoSymbol25601,e.AlgoSymbol25700=Lt.AlgoSymbol25700,e.AlgoSymbol25701=wt.AlgoSymbol25701,e.AlgoSymbol25800=Vt.AlgoSymbol25800,e.AlgoSymbol25801=_t.AlgoSymbol25801,e.AlgoSymbol25900=Tt.AlgoSymbol25900,e.AlgoSymbol25901=xt.AlgoSymbol25901,e.AlgoSymbol26400=Et.AlgoSymbol26400,e.AlgoSymbol26500=Yt.AlgoSymbol26500,e.AlgoSymbol26501=jt.AlgoSymbol26501,e.AlgoSymbol26502=Ct.AlgoSymbol26502,e.AlgoSymbol26503=It.AlgoSymbol26503,e.AlgoSymbol26600=Bt.AlgoSymbol26600,e.AlgoSymbol26601=Rt.AlgoSymbol26601,e.AlgoSymbol26700=Nt.AlgoSymbol26700,e.AlgoSymbol26800=Dt.AlgoSymbol26800,e.AlgoSymbol27100=kt.AlgoSymbol27100,e.AlgoSymbol27300=zt.AlgoSymbol27300,e.AlgoSymbol27700=Ft.AlgoSymbol27700,e.AlgoSymbol27701=Gt.AlgoSymbol27701,e.AlgoSymbol27900=Kt.AlgoSymbol27900,e.AlgoSymbol27901=Wt.AlgoSymbol27901,e.AlgoSymbol27902=qt.AlgoSymbol27902,e.AlgoSymbol28000=Jt.AlgoSymbol28000,e.AlgoSymbol28100=Zt.AlgoSymbol28100,e.AlgoSymbol28200=Xt.AlgoSymbol28200,e.AlgoSymbol28201=Ht.AlgoSymbol28201,e.AlgoSymbol28300=Qt.AlgoSymbol28300,e.AlgoSymbol28301=$t.AlgoSymbol28301,e.AlgoSymbol28400=te.AlgoSymbol28400,e.AlgoSymbol28900=ee.AlgoSymbol28900,e.AlgoSymbol29000=le.AlgoSymbol29000,e.AlgoSymbol29001=oe.AlgoSymbol29001,e.AlgoSymbol29002=ie.AlgoSymbol29002,e.AlgoSymbol29003=ne.AlgoSymbol29003,e.AlgoSymbol29100=ae.AlgoSymbol29100,e.AlgoSymbol29101=re.AlgoSymbol29101,e.AlgoSymbol29103=se.AlgoSymbol29103,e.AlgoSymbol29401=pe.AlgoSymbol29401,e.AlgoSymbol29800=ue.AlgoSymbol29800,e.AlgoSymbol29903=Pe.AlgoSymbol29903,e.AlgoSymbol30000=ce.AlgoSymbol30000,e.AlgoSymbol30001=ge.AlgoSymbol30001,e.AlgoSymbol30002=Se.AlgoSymbol30002,e.AlgoSymbol30100=he.AlgoSymbol30100,e.AlgoSymbol30200=fe.AlgoSymbol30200,e.AlgoSymbol30201=ye.AlgoSymbol30201,e.AlgoSymbol30800=Ae.AlgoSymbol30800,e.AlgoSymbol30102=Me.AlgoSymbol30102,e.AlgoSymbol31300=be.AlgoSymbol31300,e.AlgoSymbol31301=de.AlgoSymbol31301,e.AlgoSymbol31302=me.AlgoSymbol31302,e.AlgoSymbol31303=ve.AlgoSymbol31303,e.AlgoSymbol31304=Oe.AlgoSymbol31304,e.AlgoSymbol31400=Ue.AlgoSymbol31400,e.AlgoSymbol31401=Le.AlgoSymbol31401,e.AlgoSymbol31600=we.AlgoSymbol31600,e.AlgoSymbol31601=Ve.AlgoSymbol31601,e.AlgoSymbol31803=_e.AlgoSymbol31803,e.AlgoSymbol32300=Te.AlgoSymbol32300,e.AlgoSymbol32900=xe.AlgoSymbol32900,e.AlgoSymbol33400=Ee.AlgoSymbol33400,e.AlgoSymbol34300=Ye.AlgoSymbol34300,e.AlgoSymbol34400=je.AlgoSymbol34400,e.AlgoSymbol34500=Ce.AlgoSymbol34500,e.AlgoSymbol34501=Ie.AlgoSymbol34501,e.AlgoSymbol34700=Be.AlgoSymbol34700,e.AlgoSymbol34800=Re.AlgoSymbol34800,e.AlgoSymbol34801=Ne.AlgoSymbol34801,e.AlgoSymbol34900=De.AlgoSymbol34900,e.AlgoSymbol34901=ke.AlgoSymbol34901,e.AlgoSymbol34902=ze.AlgoSymbol34902,e.AlgoSymbol35000=Fe.AlgoSymbol35000,e.AlgoSymbol35200=Ge.AlgoSymbol35200,e.AlgoSymbol35304=Ke.AlgoSymbol35304,e.AlgoSymbol35500=We.AlgoSymbol35500,e.AlgoSymbol36400=qe.AlgoSymbol36400,e.AlgoSymbol36401=Je.AlgoSymbol36401,e.AlgoSymbol36600=Ze.AlgoSymbol36600,e.AlgoSymbol36700=Xe.AlgoSymbol36700,e.AlgoSymbol36800=He.AlgoSymbol36800,e.AlgoSymbol37100=Qe.AlgoSymbol37100,e.AlgoSymbol37200=$e.AlgoSymbol37200,e.AlgoSymbol37300=tl.AlgoSymbol37300,e.AlgoSymbol37301=el.AlgoSymbol37301,e.AlgoSymbol37600=ll.AlgoSymbol37600,e.AlgoSymbol37601=ol.AlgoSymbol37601,e.AlgoSymbol37700=il.AlgoSymbol37700,e.AlgoSymbol38600=nl.AlgoSymbol38600,e.AlgoSymbol38700=al.AlgoSymbol38700,e.AlgoSymbol39000=rl.AlgoSymbol39000,e.AlgoSymbol39101=sl.AlgoSymbol39101,e.AlgoSymbol39500=pl.AlgoSymbol39500,e.AlgoSymbol39600=ul.AlgoSymbol39600,e.AlgoSymbol39800=Pl.AlgoSymbol39800,e.AlgoSymbol39801=cl.AlgoSymbol39801,e.AlgoSymbol39802=gl.AlgoSymbol39802,e.AlgoSymbol40000=Sl.AlgoSymbol40000,e.AlgoSymbol40100=hl.AlgoSymbol40100,e.AlgoSymbol40101=fl.AlgoSymbol40101,e.AlgoSymbol40900=yl.AlgoSymbol40900,e.AlgoSymbol41100=Al.AlgoSymbol41100,e.AlgoSymbol41200=Ml.AlgoSymbol41200,e.AlgoSymbol41201=bl.AlgoSymbol41201,e.AlgoSymbol41202=dl.AlgoSymbol41202,e.AlgoSymbol42200=ml.AlgoSymbol42200,e.AlgoSymbol42400=vl.AlgoSymbol42400,e.AlgoSymbol42500=Ol.AlgoSymbol42500,e.AlgoSymbol42700=Ul.AlgoSymbol42700,e.AlgoSymbol43500=Ll.AlgoSymbol43500,e.AlgoSymbol44100=wl.AlgoSymbol44100,e.AlgoSymbol44200=Vl.AlgoSymbol44200,e.AlgoSymbol44300=_l.AlgoSymbol44300,e.AlgoSymbol44400=Tl.AlgoSymbol44400,e.AlgoSymbol2350001=El.AlgoSymbol2350001,e.AlgoSymbol2570201=Yl.AlgoSymbol2570201,e.AlgoSymbol2570301=jl.AlgoSymbol2570301,e.AlgoSymbol2570401=Cl.AlgoSymbol2570401,e.AlgoSymbol2570501=Il.AlgoSymbol2570501,e.AlgoSymbol2730101=xl.AlgoSymbol2730101,e.AlgoSymbol2890001=Bl.AlgoSymbol2890001,e.AlgoSymbol3010102=Rl.AlgoSymbol3010102,e.AlgoSymbol3010103=Nl.AlgoSymbol3010103,e.AlgoSymbol3010104=Dl.AlgoSymbol3010104,e.AlgoSymbol3010105=kl.AlgoSymbol3010105,e.AlgoSymbol3010106=zl.AlgoSymbol3010106,e.AlgoSymbol3010107=Fl.AlgoSymbol3010107,e.AlgoSymbol3010108=Gl.AlgoSymbol3010108,e.AlgoSymbol3010301=Kl.AlgoSymbol3010301,e.AlgoSymbol3010302=Wl.AlgoSymbol3010302,e.AlgoSymbol6020400=ql.AlgoSymbol6020400,e.AlgoSymbol6020401=Jl.AlgoSymbol6020401,e.AlgoSymbol6020402=Zl.AlgoSymbol6020402,e.AlgoSymbol3010303=Xl.AlgoSymbol3010303,e.AlgoSymbol3010304=Hl.AlgoSymbol3010304,e.AlgoSymbol3020901=Ql.AlgoSymbol3020901,e.AlgoSymbol3032000=$l.AlgoSymbol3032000,e.AlgoSymbol4010800=to.AlgoSymbol4010800,e.AlgoSymbol4010801=eo.AlgoSymbol4010801,e.AlgoSymbol4010905=lo.AlgoSymbol4010905,e.AlgoSymbol4011100=oo.AlgoSymbol4011100,e.AlgoSymbol4011101=io.AlgoSymbol4011101,e.AlgoSymbol4020303=no.AlgoSymbol4020303,e.AlgoSymbol4020401=ao.AlgoSymbol4020401,e.AlgoSymbol4020402=ro.AlgoSymbol4020402,e.AlgoSymbol4022100=so.AlgoSymbol4022100,e.AlgoSymbol4022101=po.AlgoSymbol4022101,e.AlgoSymbol4022102=uo.AlgoSymbol4022102,e.AlgoSymbol6020403=Po.AlgoSymbol6020403,e.AlgoSymbol6020404=co.AlgoSymbol6020404,e.AlgoSymbol4021101=go.AlgoSymbol4021101,e.AlgoSymbol4021102=So.AlgoSymbol4021102,e.AlgoSymbol1770101=ho.AlgoSymbol1770101,e.AlgoSymbol1770201=fo.AlgoSymbol1770201,e.AlgoSymbol1770501=yo.AlgoSymbol1770501},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JBAlgoSymbolFactory=void 0,l(231);e.JBAlgoSymbolFactory=SuperMapAlgoPlot.JBAlgoSymbolFactory=SuperMapAlgoPlot.JBAlgoSymbolFactory||{};SuperMapAlgoPlot.JBAlgoSymbolFactory.getAlgoSymbol=function(t,e,l){if(100!==t)return new SuperMapAlgoPlot.AlgoSymbol(l);switch(e){case 12500:return new SuperMapAlgoPlot.AlgoSymbol12500(l);case 12501:return new SuperMapAlgoPlot.AlgoSymbol12501(l);case 12502:return new SuperMapAlgoPlot.AlgoSymbol12502(l);case 13700:return new SuperMapAlgoPlot.AlgoSymbol13700(l);case 15200:return new SuperMapAlgoPlot.AlgoSymbol15200(l);case 15201:case 23800:return new SuperMapAlgoPlot.AlgoSymbol15201(l);case 15202:return new SuperMapAlgoPlot.AlgoSymbol15202(l);case 15800:return new SuperMapAlgoPlot.AlgoSymbol15800(l);case 15801:return new SuperMapAlgoPlot.AlgoSymbol15801(l);case 15802:return new SuperMapAlgoPlot.AlgoSymbol15802(l);case 15803:return new SuperMapAlgoPlot.AlgoSymbol15803(l);case 15804:return new SuperMapAlgoPlot.AlgoSymbol15804(l);case 15805:return new SuperMapAlgoPlot.AlgoSymbol15805(l);case 15806:return new SuperMapAlgoPlot.AlgoSymbol15806(l);case 15900:return new SuperMapAlgoPlot.AlgoSymbol15900(l);case 16e3:return new SuperMapAlgoPlot.AlgoSymbol16000(l);case 16001:return new SuperMapAlgoPlot.AlgoSymbol16001(l);case 16100:return new SuperMapAlgoPlot.AlgoSymbol16100(l);case 16200:return new SuperMapAlgoPlot.AlgoSymbol16200(l);case 16201:return new SuperMapAlgoPlot.AlgoSymbol16201(l);case 16202:return new SuperMapAlgoPlot.AlgoSymbol16202(l);case 16203:return new SuperMapAlgoPlot.AlgoSymbol16203(l);case 16500:return new SuperMapAlgoPlot.AlgoSymbol16500(l);case 16700:return new SuperMapAlgoPlot.AlgoSymbol16700(l);case 16900:return new SuperMapAlgoPlot.AlgoSymbol16900(l);case 17400:return new SuperMapAlgoPlot.AlgoSymbol17400(l);case 17401:return new SuperMapAlgoPlot.AlgoSymbol17401(l);case 17500:return new SuperMapAlgoPlot.AlgoSymbol17500(l);case 17501:return new SuperMapAlgoPlot.AlgoSymbol17501(l);case 17600:return new SuperMapAlgoPlot.AlgoSymbol17600(l);case 17700:return new SuperMapAlgoPlot.AlgoSymbol17700(l);case 1770101:return new SuperMap.Plot.AlgoSymbol1770101(l);case 1770201:return new SuperMap.Plot.AlgoSymbol1770201(l);case 1770501:return new SuperMap.Plot.AlgoSymbol1770501(l);case 17703:return new SuperMapAlgoPlot.AlgoSymbol17703(l);case 17704:return new SuperMapAlgoPlot.AlgoSymbol17704(l);case 17800:return new SuperMapAlgoPlot.AlgoSymbol17800(l);case 17801:return new SuperMapAlgoPlot.AlgoSymbol17801(l);case 17802:return new SuperMapAlgoPlot.AlgoSymbol17802(l);case 17803:return new SuperMapAlgoPlot.AlgoSymbol17803(l);case 17804:return new SuperMapAlgoPlot.AlgoSymbol17804(l);case 17805:return new SuperMapAlgoPlot.AlgoSymbol17805(l);case 17806:return new SuperMapAlgoPlot.AlgoSymbol17806(l);case 20300:return new SuperMapAlgoPlot.AlgoSymbol20300(l);case 20301:return new SuperMapAlgoPlot.AlgoSymbol20301(l);case 21401:return new SuperMapAlgoPlot.AlgoSymbol21401(l);case 21500:return new SuperMapAlgoPlot.AlgoSymbol21500(l);case 21501:return new SuperMapAlgoPlot.AlgoSymbol21501(l);case 21502:return new SuperMapAlgoPlot.AlgoSymbol21502(l);case 21503:return new SuperMapAlgoPlot.AlgoSymbol21503(l);case 21504:return new SuperMapAlgoPlot.AlgoSymbol21504(l);case 21600:return new SuperMapAlgoPlot.AlgoSymbol21600(l);case 21800:return new SuperMapAlgoPlot.AlgoSymbol21800(l);case 21900:return new SuperMapAlgoPlot.AlgoSymbol21900(l);case 22e3:return new SuperMapAlgoPlot.AlgoSymbol22000(l);case 22103:return new SuperMapAlgoPlot.AlgoSymbol22103(l);case 22200:return new SuperMapAlgoPlot.AlgoSymbol22200(l);case 23400:return new SuperMapAlgoPlot.AlgoSymbol23400(l);case 23500:return new SuperMapAlgoPlot.AlgoSymbol23500(l);case 2350001:return new SuperMapAlgoPlot.AlgoSymbol2350001(l);case 23600:return new SuperMapAlgoPlot.AlgoSymbol23600(l);case 23700:return new SuperMapAlgoPlot.AlgoSymbol23700(l);case 23901:return new SuperMapAlgoPlot.AlgoSymbol23901(l);case 23902:return new SuperMapAlgoPlot.AlgoSymbol23902(l);case 24700:return new SuperMapAlgoPlot.AlgoSymbol24700(l);case 25e3:return new SuperMapAlgoPlot.AlgoSymbol25000(l);case 25100:return new SuperMapAlgoPlot.AlgoSymbol25100(l);case 25101:return new SuperMapAlgoPlot.AlgoSymbol25101(l);case 25200:return new SuperMapAlgoPlot.AlgoSymbol25200(l);case 21400:case 25201:return new SuperMapAlgoPlot.AlgoSymbol25201(l);case 25202:return new SuperMapAlgoPlot.AlgoSymbol25202(l);case 25300:return new SuperMapAlgoPlot.AlgoSymbol25300(l);case 25301:return new SuperMapAlgoPlot.AlgoSymbol25301(l);case 25400:return new SuperMapAlgoPlot.AlgoSymbol25400(l);case 25500:return new SuperMapAlgoPlot.AlgoSymbol25500(l);case 25501:return new SuperMapAlgoPlot.AlgoSymbol25501(l);case 25502:return new SuperMapAlgoPlot.AlgoSymbol25502(l);case 25503:return new SuperMapAlgoPlot.AlgoSymbol25503(l);case 25600:return new SuperMapAlgoPlot.AlgoSymbol25600(l);case 25601:return new SuperMapAlgoPlot.AlgoSymbol25601(l);case 25700:return new SuperMapAlgoPlot.AlgoSymbol25700(l);case 25701:return new SuperMapAlgoPlot.AlgoSymbol25701(l);case 2570201:return new SuperMap.Plot.AlgoSymbol2570201(l);case 2570301:return new SuperMap.Plot.AlgoSymbol2570301(l);case 2570401:return new SuperMap.Plot.AlgoSymbol2570401(l);case 2570501:return new SuperMap.Plot.AlgoSymbol2570501(l);case 25800:return new SuperMapAlgoPlot.AlgoSymbol25800(l);case 25801:return new SuperMapAlgoPlot.AlgoSymbol25801(l);case 25900:return new SuperMapAlgoPlot.AlgoSymbol25900(l);case 25901:return new SuperMapAlgoPlot.AlgoSymbol25901(l);case 26400:return new SuperMapAlgoPlot.AlgoSymbol26400(l);case 26500:return new SuperMapAlgoPlot.AlgoSymbol26500(l);case 26501:return new SuperMapAlgoPlot.AlgoSymbol26501(l);case 26502:return new SuperMapAlgoPlot.AlgoSymbol26502(l);case 26503:return new SuperMapAlgoPlot.AlgoSymbol26503(l);case 26600:return new SuperMapAlgoPlot.AlgoSymbol26600(l);case 26601:return new SuperMapAlgoPlot.AlgoSymbol26601(l);case 26700:return new SuperMapAlgoPlot.AlgoSymbol26700(l);case 26800:return new SuperMapAlgoPlot.AlgoSymbol26800(l);case 27100:return new SuperMapAlgoPlot.AlgoSymbol27100(l);case 27300:return new SuperMapAlgoPlot.AlgoSymbol27300(l);case 2730101:return new SuperMap.Plot.AlgoSymbol2730101(l);case 27700:return new SuperMapAlgoPlot.AlgoSymbol27700(l);case 27701:return new SuperMapAlgoPlot.AlgoSymbol27701(l);case 27900:return new SuperMapAlgoPlot.AlgoSymbol27900(l);case 27901:return new SuperMapAlgoPlot.AlgoSymbol27901(l);case 27902:return new SuperMapAlgoPlot.AlgoSymbol27902(l);case 28e3:return new SuperMapAlgoPlot.AlgoSymbol28000(l);case 28100:return new SuperMapAlgoPlot.AlgoSymbol28100(l);case 28200:return new SuperMapAlgoPlot.AlgoSymbol28200(l);case 28201:return new SuperMapAlgoPlot.AlgoSymbol28201(l);case 28300:return new SuperMapAlgoPlot.AlgoSymbol28300(l);case 28301:return new SuperMapAlgoPlot.AlgoSymbol28301(l);case 28400:return new SuperMapAlgoPlot.AlgoSymbol28400(l);case 28900:return new SuperMapAlgoPlot.AlgoSymbol28900(l);case 29e3:return new SuperMapAlgoPlot.AlgoSymbol29000(l);case 29001:return new SuperMapAlgoPlot.AlgoSymbol29001(l);case 29002:return new SuperMapAlgoPlot.AlgoSymbol29002(l);case 29003:return new SuperMapAlgoPlot.AlgoSymbol29003(l);case 29100:return new SuperMapAlgoPlot.AlgoSymbol29100(l);case 29101:return new SuperMapAlgoPlot.AlgoSymbol29101(l);case 29103:return new SuperMapAlgoPlot.AlgoSymbol29103(l);case 29401:return new SuperMapAlgoPlot.AlgoSymbol29401(l);case 29800:return new SuperMapAlgoPlot.AlgoSymbol29800(l);case 29903:return new SuperMapAlgoPlot.AlgoSymbol29903(l);case 3e4:return new SuperMapAlgoPlot.AlgoSymbol30000(l);case 30001:return new SuperMapAlgoPlot.AlgoSymbol30001(l);case 30002:return new SuperMapAlgoPlot.AlgoSymbol30002(l);case 30100:case 4020400:return new SuperMapAlgoPlot.AlgoSymbol30100(l);case 30200:return new SuperMapAlgoPlot.AlgoSymbol30200(l);case 30201:return new SuperMapAlgoPlot.AlgoSymbol30201(l);case 30800:return new SuperMapAlgoPlot.AlgoSymbol30800(l);case 30102:return new SuperMapAlgoPlot.AlgoSymbol30102(l);case 31300:return new SuperMapAlgoPlot.AlgoSymbol31300(l);case 31301:return new SuperMapAlgoPlot.AlgoSymbol31301(l);case 31302:return new SuperMapAlgoPlot.AlgoSymbol31302(l);case 31303:return new SuperMapAlgoPlot.AlgoSymbol31303(l);case 31304:return new SuperMapAlgoPlot.AlgoSymbol31304(l);case 31400:return new SuperMapAlgoPlot.AlgoSymbol31400(l);case 31401:return new SuperMapAlgoPlot.AlgoSymbol31401(l);case 31600:return new SuperMapAlgoPlot.AlgoSymbol31600(l);case 31601:return new SuperMapAlgoPlot.AlgoSymbol31601(l);case 31803:return new SuperMapAlgoPlot.AlgoSymbol31803(l);case 32300:return new SuperMapAlgoPlot.AlgoSymbol32300(l);case 32900:return new SuperMapAlgoPlot.AlgoSymbol32900(l);case 33400:return new SuperMapAlgoPlot.AlgoSymbol33400(l);case 34300:return new SuperMapAlgoPlot.AlgoSymbol34300(l);case 34400:return new SuperMapAlgoPlot.AlgoSymbol34400(l);case 34500:return new SuperMapAlgoPlot.AlgoSymbol34500(l);case 34501:return new SuperMapAlgoPlot.AlgoSymbol34501(l);case 34700:return new SuperMapAlgoPlot.AlgoSymbol34700(l);case 34800:return new SuperMapAlgoPlot.AlgoSymbol34800(l);case 34801:return new SuperMapAlgoPlot.AlgoSymbol34801(l);case 34900:return new SuperMapAlgoPlot.AlgoSymbol34900(l);case 34901:return new SuperMapAlgoPlot.AlgoSymbol34901(l);case 34902:return new SuperMapAlgoPlot.AlgoSymbol34902(l);case 35e3:return new SuperMapAlgoPlot.AlgoSymbol35000(l);case 35200:return new SuperMapAlgoPlot.AlgoSymbol35200(l);case 35304:return new SuperMapAlgoPlot.AlgoSymbol35304(l);case 35500:return new SuperMapAlgoPlot.AlgoSymbol35500(l);case 36400:return new SuperMapAlgoPlot.AlgoSymbol36400(l);case 36401:return new SuperMapAlgoPlot.AlgoSymbol36401(l);case 36600:return new SuperMapAlgoPlot.AlgoSymbol36600(l);case 36700:return new SuperMapAlgoPlot.AlgoSymbol36700(l);case 36800:return new SuperMapAlgoPlot.AlgoSymbol36800(l);case 37100:return new SuperMapAlgoPlot.AlgoSymbol37100(l);case 37200:return new SuperMapAlgoPlot.AlgoSymbol37200(l);case 37300:return new SuperMapAlgoPlot.AlgoSymbol37300(l);case 37301:return new SuperMapAlgoPlot.AlgoSymbol37301(l);case 37600:return new SuperMapAlgoPlot.AlgoSymbol37600(l);case 37601:return new SuperMapAlgoPlot.AlgoSymbol37601(l);case 37700:return new SuperMapAlgoPlot.AlgoSymbol37700(l);case 38600:return new SuperMapAlgoPlot.AlgoSymbol38600(l);case 38700:return new SuperMapAlgoPlot.AlgoSymbol38700(l);case 39e3:return new SuperMapAlgoPlot.AlgoSymbol39000(l);case 39101:return new SuperMapAlgoPlot.AlgoSymbol39101(l);case 39500:return new SuperMapAlgoPlot.AlgoSymbol39500(l);case 39600:return new SuperMapAlgoPlot.AlgoSymbol39600(l);case 39800:return new SuperMapAlgoPlot.AlgoSymbol39800(l);case 39801:return new SuperMapAlgoPlot.AlgoSymbol39801(l);case 39802:return new SuperMapAlgoPlot.AlgoSymbol39802(l);case 4e4:return new SuperMapAlgoPlot.AlgoSymbol40000(l);case 40100:return new SuperMapAlgoPlot.AlgoSymbol40100(l);case 40101:return new SuperMapAlgoPlot.AlgoSymbol40101(l);case 40900:return new SuperMapAlgoPlot.AlgoSymbol40900(l);case 41100:return new SuperMapAlgoPlot.AlgoSymbol41100(l);case 41200:return new SuperMapAlgoPlot.AlgoSymbol41200(l);case 41201:return new SuperMapAlgoPlot.AlgoSymbol41201(l);case 41202:return new SuperMapAlgoPlot.AlgoSymbol41202(l);case 42200:return new SuperMapAlgoPlot.AlgoSymbol42200(l);case 42400:return new SuperMapAlgoPlot.AlgoSymbol42400(l);case 42500:return new SuperMapAlgoPlot.AlgoSymbol42500(l);case 42700:return new SuperMapAlgoPlot.AlgoSymbol42700(l);case 43500:return new SuperMapAlgoPlot.AlgoSymbol43500(l);case 44100:return new SuperMapAlgoPlot.AlgoSymbol44100(l);case 44200:return new SuperMapAlgoPlot.AlgoSymbol44200(l);case 44300:return new SuperMapAlgoPlot.AlgoSymbol44300(l);case 44400:return new SuperMapAlgoPlot.AlgoSymbol44400(l);case 2890001:return new SuperMapAlgoPlot.AlgoSymbol2890001(l);case 3010301:return new SuperMapAlgoPlot.AlgoSymbol3010301(l);case 3010302:return new SuperMapAlgoPlot.AlgoSymbol3010302(l);case 3010303:return new SuperMapAlgoPlot.AlgoSymbol3010303(l);case 3010304:return new SuperMapAlgoPlot.AlgoSymbol3010304(l);case 3010102:return new SuperMapAlgoPlot.AlgoSymbol3010102(l);case 3010103:return new SuperMapAlgoPlot.AlgoSymbol3010103(l);case 3010104:return new SuperMapAlgoPlot.AlgoSymbol3010104(l);case 3010105:return new SuperMapAlgoPlot.AlgoSymbol3010105(l);case 3010106:return new SuperMapAlgoPlot.AlgoSymbol3010106(l);case 3010107:return new SuperMapAlgoPlot.AlgoSymbol3010107(l);case 3010108:return new SuperMapAlgoPlot.AlgoSymbol3010108(l);case 3020901:return new SuperMapAlgoPlot.AlgoSymbol3020901(l);case 3032e3:return new SuperMapAlgoPlot.AlgoSymbol3032000(l);case 4010800:return new SuperMapAlgoPlot.AlgoSymbol4010800(l);case 4010801:return new SuperMapAlgoPlot.AlgoSymbol4010801(l);case 4010905:return new SuperMapAlgoPlot.AlgoSymbol4010905(l);case 4011100:return new SuperMapAlgoPlot.AlgoSymbol4011100(l);case 4011101:return new SuperMapAlgoPlot.AlgoSymbol4011101(l);case 4020303:return new SuperMapAlgoPlot.AlgoSymbol4020303(l);case 4020401:return new SuperMapAlgoPlot.AlgoSymbol4020401(l);case 4020402:return new SuperMapAlgoPlot.AlgoSymbol4020402(l);case 4021101:return new SuperMapAlgoPlot.AlgoSymbol4021101(l);case 4021102:return new SuperMapAlgoPlot.AlgoSymbol4021102(l);case 4022100:return new SuperMapAlgoPlot.AlgoSymbol4022100(l);case 4022101:return new SuperMapAlgoPlot.AlgoSymbol4022101(l);case 4022102:return new SuperMapAlgoPlot.AlgoSymbol4022102(l);case 6020400:return new SuperMapAlgoPlot.AlgoSymbol6020400(l);case 6020401:return new SuperMapAlgoPlot.AlgoSymbol6020401(l);case 6020402:return new SuperMapAlgoPlot.AlgoSymbol6020402(l);case 6020403:return new SuperMapAlgoPlot.AlgoSymbol6020403(l);case 6020404:return new SuperMapAlgoPlot.AlgoSymbol6020404(l);default:return new SuperMapAlgoPlot.AlgoSymbol(l)}},SuperMapAlgoPlot.JBAlgoSymbolFactory.isAccessServer=function(t,e){if(100!==t)return!0;switch(e){case 12500:case 12501:case 12502:case 13700:case 15200:case 15201:case 15202:case 15800:case 15801:case 15802:case 15803:case 15804:case 15805:case 15806:case 15900:case 16e3:case 16001:case 16100:case 16200:case 16201:case 16202:case 16203:case 16500:case 16700:case 16900:case 17400:case 17401:case 17500:case 17501:case 17600:case 17700:case 1770101:case 1770201:case 1770501:case 17703:case 17704:case 17800:case 17801:case 17802:case 17803:case 17804:case 17805:case 17806:case 20300:case 20301:case 21400:case 21401:case 21500:case 21501:case 21502:case 21503:case 21504:case 21600:case 21800:case 21900:case 22e3:case 22103:case 22200:case 23400:case 23500:case 23600:case 23700:case 23800:case 23901:case 23902:case 24700:case 25e3:case 25100:case 25101:case 25200:case 25201:case 25202:case 25300:case 25301:case 25400:case 25500:case 25501:case 25502:case 25503:case 25600:case 25601:case 25700:case 25701:case 2570201:case 2570301:case 2570401:case 2570501:case 25800:case 25801:case 25900:case 25901:case 26400:case 26500:case 26501:case 26502:case 26503:case 26600:case 26601:case 26700:case 26800:case 27100:case 27300:case 2730101:case 27700:case 27701:case 27900:case 27901:case 27902:case 28e3:case 28100:case 28200:case 28201:case 28300:case 28301:case 28400:case 28900:case 29e3:case 29001:case 29002:case 29003:case 29100:case 29101:case 29103:case 29401:case 29800:case 29903:case 3e4:case 30001:case 30002:case 30100:case 30200:case 30201:case 30800:case 30102:case 31300:case 31301:case 31302:case 31303:case 31304:case 31400:case 31401:case 31600:case 31601:case 31803:case 32300:case 32900:case 33400:case 34300:case 34400:case 34500:case 34501:case 34700:case 34800:case 34801:case 34900:case 34901:case 34902:case 35e3:case 35200:case 35304:case 35500:case 36400:case 36401:case 36600:case 36700:case 36800:case 37100:case 37200:case 37300:case 37301:case 37600:case 37601:case 37700:case 38600:case 38700:case 39e3:case 39101:case 39500:case 39600:case 39800:case 39801:case 39802:case 3010102:case 3010103:case 3010104:case 3010105:case 3010106:case 3010107:case 3010108:case 4e4:case 40100:case 40101:case 40900:case 41100:case 41200:case 41201:case 41202:case 42200:case 42400:case 42500:case 42700:case 43500:case 44100:case 44200:case 44300:case 44400:case 2350001:case 2890001:case 3010301:case 3010302:case 3010303:case 3010304:case 3020901:case 3032e3:case 4010800:case 4010801:case 4010905:case 4011100:case 4011101:case 4020303:case 4020400:case 4020401:case 4020402:case 4022100:case 4022101:case 4022102:case 6020400:case 6020401:case 6020402:case 6020403:case 6020404:case 4021101:case 4021102:return!1;default:return!0}},SuperMapAlgoPlot.JBAlgoSymbolFactory.getSymbolWayType=function(t,e){if(100!==t)return SuperMapAlgoPlot.AddPoint_WayType.UNKNOWN;switch(e){case 15200:case 15201:case 16203:case 17703:case 17704:case 21400:case 21401:case 21500:case 21501:case 21502:case 21503:case 21504:case 21600:case 21900:case 22e3:case 22103:case 23800:case 24700:case 25201:case 25400:case 26500:case 26501:case 26502:case 26600:case 28900:case 29e3:case 29003:case 29903:case 3e4:case 30001:case 30002:case 30100:case 30102:case 30200:case 30201:case 30800:case 31803:case 33400:case 34900:case 34901:case 34902:case 35e3:case 36400:case 42200:case 44200:case 3010102:case 3010103:case 3010104:case 3010105:case 3010106:case 3010107:case 3010108:case 3010301:case 3010302:case 3010303:case 3010304:case 16500:case 17400:case 17401:case 17500:case 17501:case 23400:case 23500:case 23600:case 23700:case 27300:case 2730101:case 28200:case 28300:case 28400:case 37600:case 37601:case 37700:case 39e3:case 40100:case 40101:case 42400:case 2350001:case 3032e3:case 4010800:case 4010801:case 4011100:case 4011101:case 4022100:case 4022101:case 4022102:case 39101:case 44300:case 22200:case 27701:return SuperMapAlgoPlot.AddPoint_WayType.CURVE;case 12500:case 12502:case 16100:case 20300:case 25501:case 25502:case 26503:case 25503:case 25601:case 25801:case 25901:case 32900:case 34700:case 35200:case 36401:case 41200:case 41201:case 41202:case 42700:case 44400:return SuperMapAlgoPlot.AddPoint_WayType.POLYLINE;default:return SuperMapAlgoPlot.AddPoint_WayType.UNKNOWN}},SuperMapAlgoPlot.JBAlgoSymbolFactory.getDefaultSubSymbols=function(t,e){var l=[];if(100!==t)return l;switch(e){case 17400:case 17401:return l.push(new SuperMapAlgoPlot.SubSymbol(100,17300)),l.push(new SuperMapAlgoPlot.SubSymbol(100,17301)),l;case 21501:case 26502:return l.push(new SuperMapAlgoPlot.SubSymbol(100,19700)),l;case 21502:return l.push(new SuperMapAlgoPlot.SubSymbol(100,6803)),l;case 22103:case 26501:return l.push(new SuperMapAlgoPlot.SubSymbol(100,22100)),l;case 21503:return l.push(new SuperMapAlgoPlot.SubSymbol(100,7900)),l;case 21504:return l.push(new SuperMapAlgoPlot.SubSymbol(100,8404)),l;case 22e3:return l.push(new SuperMapAlgoPlot.SubSymbol(100,1e3)),l;case 23500:return l.push(new SuperMapAlgoPlot.SubSymbol(100,1300)),l;case 23600:return l.push(new SuperMapAlgoPlot.SubSymbol(100,800)),l.push(new SuperMapAlgoPlot.SubSymbol(100,800)),l;case 25300:return l.push(new SuperMapAlgoPlot.SubSymbol(100,6302)),l.push(new SuperMapAlgoPlot.SubSymbol(100,7900)),l;case 25301:return l.push(new SuperMapAlgoPlot.SubSymbol(100,300)),l.push(new SuperMapAlgoPlot.SubSymbol(100,6200)),l;case 25503:return l.push(new SuperMapAlgoPlot.SubSymbol(100,8402)),l;case 26700:return l.push(new SuperMapAlgoPlot.SubSymbol(100,4500)),l;case 27100:return l.push(new SuperMapAlgoPlot.SubSymbol(100,7700)),l;case 27300:return l.push(new SuperMapAlgoPlot.SubSymbol(100,1500)),l;case 2730101:return l.push(new SuperMap.Plot.SubSymbol(100,1500)),l;case 3032e3:return l.push(new SuperMapAlgoPlot.SubSymbol(100,1500)),l.push(new SuperMapAlgoPlot.SubSymbol(100,1500)),l;case 28300:return l.push(new SuperMapAlgoPlot.SubSymbol(100,18600)),l;case 28301:return l.push(new SuperMapAlgoPlot.SubSymbol(100,18600)),l.push(new SuperMapAlgoPlot.SubSymbol(100,18600)),l;case 28400:return l.push(new SuperMapAlgoPlot.SubSymbol(100,4801)),l;case 29001:return l.push(new SuperMapAlgoPlot.SubSymbol(100,5200)),l.push(new SuperMapAlgoPlot.SubSymbol(100,5200)),l;case 29002:return l.push(new SuperMapAlgoPlot.SubSymbol(100,600)),l.push(new SuperMapAlgoPlot.SubSymbol(100,5300)),l;case 23901:case 23902:return l.push(new SuperMapAlgoPlot.SubSymbol(100,4800)),l;case 31600:case 31601:return l.push(new SuperMapAlgoPlot.SubSymbol(100,700)),l;case 29903:case 4021101:return l.push(new SuperMapAlgoPlot.SubSymbol(100,600)),l;case 32900:return l.push(new SuperMapAlgoPlot.SubSymbol(100,6700)),l;case 35200:return l.push(new SuperMapAlgoPlot.SubSymbol(100,6803)),l;case 37700:return l.push(new SuperMapAlgoPlot.SubSymbol(100,37800)),l;case 3010107:return l.push(new SuperMapAlgoPlot.SubSymbol(100,800)),l;case 3010108:return l.push(new SuperMapAlgoPlot.SubSymbol(100,4600)),l;case 4010800:return l.push(new SuperMapAlgoPlot.SubSymbol(100,1300)),l;case 4010801:case 4022100:case 4022101:case 4022102:case 4021102:return l.push(new SuperMapAlgoPlot.SubSymbol(100,8400)),l;case 31303:case 31302:return l.push(new SuperMapAlgoPlot.SubSymbol(100,4400)),l;case 4010905:return l.push(new SuperMapAlgoPlot.SubSymbol(100,700)),l;case 31803:return l.push(new SuperMapAlgoPlot.SubSymbol(100,8402)),l;case 34400:return l.push(new SuperMapAlgoPlot.SubSymbol(100,6202)),l;case 34501:return l.push(new SuperMapAlgoPlot.SubSymbol(100,8403)),l;case 35304:return l.push(new SuperMapAlgoPlot.SubSymbol(100,35301)),l;case 36401:return l.push(new SuperMapAlgoPlot.SubSymbol(100,7200)),l;case 36600:return l.push(new SuperMapAlgoPlot.SubSymbol(100,300)),l;case 37100:return l.push(new SuperMapAlgoPlot.SubSymbol(100,8e3)),l;case 37200:return l.push(new SuperMapAlgoPlot.SubSymbol(100,7101)),l;case 37600:case 37601:case 38600:case 38700:return l.push(new SuperMapAlgoPlot.SubSymbol(100,4600)),l;case 39e3:return l.push(new SuperMapAlgoPlot.SubSymbol(100,9300)),l.push(new SuperMapAlgoPlot.SubSymbol(100,9300)),l.push(new SuperMapAlgoPlot.SubSymbol(100,9300)),l;case 39101:return l.push(new SuperMapAlgoPlot.SubSymbol(100,39100)),l;case 39500:case 39600:return l.push(new SuperMapAlgoPlot.SubSymbol(100,8700)),l;case 39800:case 39801:case 39802:case 4e4:return l.push(new SuperMapAlgoPlot.SubSymbol(100,8900)),l;case 36700:return l.push(new SuperMapAlgoPlot.SubSymbol(100,300)),l;case 42200:return l.push(new SuperMapAlgoPlot.SubSymbol(100,20901)),l;case 4011100:return l.push(new SuperMapAlgoPlot.SubSymbol(100,4e3)),l.push(new SuperMapAlgoPlot.SubSymbol(100,4001)),l;case 4011101:return l.push(new SuperMapAlgoPlot.SubSymbol(100,700)),l.push(new SuperMapAlgoPlot.SubSymbol(100,700)),l;case 2350001:return l.push(new SuperMapAlgoPlot.SubSymbol(100,7900)),l.push(new SuperMapAlgoPlot.SubSymbol(100,1300)),l;case 2890001:return l.push(new SuperMapAlgoPlot.SubSymbol(100,4003)),l;default:return l}},SuperMapAlgoPlot.JBAlgoSymbolFactory.getMinEditPts=function(t,e){if(100!==t)return 0;switch(e){case 12500:case 12501:case 12502:case 13700:case 15200:case 15201:case 15202:case 15800:case 15801:case 15802:case 15803:case 15804:case 15805:case 15806:case 15900:case 16e3:case 16001:case 16200:case 16201:case 16202:case 16203:case 16500:case 16700:case 16900:case 17400:case 17401:case 17500:case 17501:case 17600:case 17700:case 1770101:case 1770201:case 1770501:case 17703:case 17704:case 17800:case 17801:case 17802:case 17803:case 17804:case 17805:case 17806:case 20300:case 20301:case 21400:case 21401:case 21500:case 21501:case 21502:case 21503:case 21504:case 21600:case 21800:case 21900:case 22e3:case 22103:case 22200:case 23400:case 23500:case 23600:case 23700:case 23800:case 23901:case 23902:case 24700:case 25e3:case 25100:case 25101:case 25201:case 25202:case 25300:case 25301:case 25400:case 26400:case 26500:case 26501:case 26502:case 26503:case 26600:case 26601:case 26700:case 26800:case 27100:case 27300:case 2730101:case 27700:case 27701:case 27900:case 27901:case 27902:case 28e3:case 28100:case 28200:case 28201:case 28300:case 28301:case 28400:case 28900:case 29e3:case 29001:case 29002:case 29003:case 29100:case 29101:case 29103:case 29401:case 29903:case 41100:case 44100:case 43500:case 42500:case 39500:case 37301:case 37300:case 37200:case 37100:case 36800:case 36600:case 35500:case 34801:case 34800:case 34501:case 34500:case 34400:case 34300:case 31600:case 31601:case 31401:case 31400:case 31304:case 31303:case 31302:case 31301:case 31300:case 44200:case 41200:case 41201:case 41202:case 31803:case 30800:case 30201:case 30200:case 44300:case 42400:case 42200:case 40900:case 40100:case 40101:case 4e4:case 39802:case 39801:case 39800:case 39600:case 39101:case 39e3:case 38600:case 37700:case 37601:case 37600:case 36700:case 36401:case 36400:case 35304:case 35200:case 35e3:case 34700:case 33400:case 30100:case 30102:case 30002:case 30001:case 3e4:case 38700:case 32300:case 42700:case 34902:case 34901:case 34900:case 32900:case 2350001:case 2890001:case 3032e3:case 3010102:case 3010103:case 3010104:case 3010105:case 3010106:case 3010107:case 3010108:case 3010301:case 3010302:case 3010303:case 3010304:case 3020901:case 4021101:case 4021102:case 4010800:case 4010801:case 4011100:case 4011101:case 4022101:case 4022102:case 4020303:case 4020400:case 4020401:case 4020402:case 4022100:case 4010905:case 6020400:case 6020401:case 6020402:case 6020403:case 6020404:return 2;case 16100:case 25200:case 25500:case 25501:case 25502:case 25503:case 25600:case 25601:case 25700:case 25701:case 2570201:case 2570301:case 2570401:case 2570501:case 25800:case 25801:case 25900:case 25901:case 29800:case 44400:return 3;default:return 0}},SuperMapAlgoPlot.JBAlgoSymbolFactory.getMaxEditPts=function(t,e){if(100!==t)return 0;switch(e){case 15202:case 16202:case 20301:case 16700:case 16900:case 17600:case 25e3:case 25100:case 25101:case 25300:case 25301:case 27100:case 27700:case 27900:case 27901:case 27902:case 28100:case 28201:case 28301:case 44100:case 43500:case 42500:case 39500:case 37301:case 37300:case 37200:case 37100:case 36800:case 36600:case 35500:case 34801:case 34800:case 34501:case 34500:case 34400:case 34300:case 31600:case 31601:case 31401:case 31400:case 31304:case 31303:case 31302:case 31301:case 31300:case 21800:case 26700:case 29401:case 1770101:case 1770201:return 2;case 13700:case 17800:case 17801:case 17802:case 17803:case 17804:case 17805:case 17806:case 23901:case 23902:case 38700:case 26800:case 29001:case 29002:case 32300:case 29101:case 29100:case 4010905:case 6020400:case 6020401:case 6020402:case 6020403:case 29e3:return 3;case 28e3:return 4;case 16201:case 17400:case 17401:case 17500:case 17501:case 22200:case 23400:case 23500:case 2350001:case 23600:case 23700:case 23800:case 25200:case 27300:case 2730101:case 27701:case 28400:case 44300:case 42400:case 42200:case 40900:case 40100:case 40101:case 4e4:case 39802:case 39801:case 39800:case 39600:case 39101:case 39e3:case 38600:case 37700:case 37601:case 37600:case 36700:case 36401:case 36400:case 35304:case 35200:case 35e3:case 34700:case 33400:case 30100:case 30102:case 30002:case 30001:case 3e4:case 29903:case 29800:case 3032e3:case 4010800:case 4010801:case 4011100:case 4011101:case 4022101:case 4022102:case 4020303:case 4020400:case 4020401:case 4020402:case 4022100:case 16500:return 30;case 42700:case 34902:case 34901:case 34900:case 32900:case 6020404:return 512;case 12500:case 12501:case 12502:case 16e3:case 16001:case 16100:case 16200:case 16203:case 17700:case 1770501:case 17703:case 17704:case 21900:case 22e3:case 22103:case 25201:case 25202:case 24700:case 25400:case 25500:case 25501:case 25502:case 25503:case 25600:case 25601:case 25700:case 25701:case 2570201:case 2570301:case 2570401:case 2570501:case 25800:case 25801:case 25900:case 25901:case 28900:case 2890001:case 44400:case 44200:case 41200:case 41201:case 41202:case 31803:case 30800:case 30201:case 30200:case 4021102:case 29103:case 28300:case 28200:case 29003:return 1e3;case 15200:case 15201:case 15800:case 15801:case 15802:case 15803:case 15804:case 15805:case 15806:case 15900:case 20300:case 21400:case 21401:case 21500:case 21501:case 21502:case 21503:case 21504:case 21600:case 26400:case 26500:case 26501:case 26502:case 26503:case 26600:case 26601:case 3010102:case 3010103:case 3010104:case 3010105:case 3010106:case 3010107:case 3010108:case 3010301:case 3010302:case 3010303:case 3010304:case 3020901:case 4021101:case 41100:return 9999;default:return 0}},SuperMapAlgoPlot.JBAlgoSymbolFactory.getDefaultStyle=function(t,e){var l={};if(100===t)switch(e){case 34800:case 34801:case 22200:case 28e3:case 28100:case 28200:case 28201:case 44400:l.color=l.strokeColor="#0000ff";break;case 42500:case 42700:l.color=l.strokeColor="#00ff00";break;case 42400:l.color=l.strokeColor="#006600"}return l},SuperMapAlgoPlot.JBAlgoSymbolFactory.zoomInCalSymbol=function(){return!1}},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JBAlgoSymbolFactory=void 0;var o=l(232);e.JBAlgoSymbolFactory=o.JBAlgoSymbolFactory}]); /***/ }), /* 2 */ /***/ (function(module, exports) { /*! * * iclient-plot-algorithms-wj.(https://iclient.supermap.io) * Copyright© 2000 - 2020 SuperMap Software Co.Ltd * version: v10.1.1 * */!function(t){var e={};function l(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,l),i.l=!0,i.exports}l.m=t,l.c=e,l.d=function(t,e,o){l.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},l.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},l.t=function(t,e){if(1&e&&(t=l(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(l.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)l.d(o,i,function(e){return t[e]}.bind(null,i));return o},l.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return l.d(e,"a",e),e},l.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},l.p="",l(l.s=276)}([function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,r=.8*SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],n,r,a+180);for(var s=[],p=[],u=0;u<=i.startIndex;u++)s.push(e[u]);if(s.push(i.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){p.push(i.endPt);for(var P=i.endIndex+1;P<=e.length-1;P++)p.push(e[P]);this.addArrow(p)}var c=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.5*l,e),g=SuperMapAlgoPlot.PlottingUtil.circlePoint(c.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,a+90);this.addScalePoint(g,0);var S=SuperMapAlgoPlot.PlottingUtil.polylineDistance(p),h=this.subText,f=.15*S,y=new SuperMapAlgoPlot.Point(i.endPt.x+f/2,i.endPt.y-f/2),A=a;this.addText(h,y,f,A),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol4030602=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[1],l[0]);if(0==t){var i=SuperMapAlgoPlot.PlottingUtil.projectPoint(e,l[1],l[0]),n=SuperMapAlgoPlot.PlottingUtil.distance(i,l[1]);90>SuperMapAlgoPlot.PlottingUtil.radian(l[1],i)*SuperMapAlgoPlot.PlottingUtil.RTOD&&(n=-n);var a=n/o;this.scaleValues[0]=a;var r=SuperMapAlgoPlot.PlottingUtil.distance(e,i)/o;this.scaleValues[1]=r}else if(1==t){var s=SuperMapAlgoPlot.PlottingUtil.distance(l[0],e)/o;if(.1>s||s>.95)return;this.scaleValues[2]=s}else if(2==t){var p=SuperMapAlgoPlot.PlottingUtil.distance(l[0],e)/o;if(.1>p||p>.95)return;this.scaleValues[3]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol37301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=3){var u=SuperMapAlgoPlot.PlottingUtil.linePnt(t[1],t[2],l),P=[];P.push(u),P.push(t[2]);var c=[];if(t.length>3){for(r=3;r0&&this.addScalePoint(n[0]),this.finish()}}},{key:"computeScaleValues",value:function(t,e){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(!(2>l.length)&&0==t){var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]),i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[1])/o;this.scaleValues[1]=i,this.scaleValues[1]>.7&&(this.scaleValues[1]=.7)}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5033701=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l3){var n=[];if(!this.isEdit){var a=SuperMapAlgoPlot.PlottingUtil.radian(t[0],t[3])*this.RTOD;this.scaleValues[2]=a}o=SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],e,l,this.scaleValues[2]),n.push(o);for(var r=3;r0&&u.push(p[0]),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,p),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,u);var c=[];for(r=0;r<=360;r+=5){var g=SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],l*this.scaleValues[1],l*this.scaleValues[1],r);P.push(g),30!=r&&210!=r||c.push(g)}var S={lineColorLimit:!0,strokeColor:"#0000ff",strokeOpacity:1,color:"#0000ff",opacity:1,lineColor:"#0000ff"};this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,P,S),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,c,S),P.length>0&&(this.addScalePoint(P[0]),t.length>3&&this.addScalePoint(o)),this.finish()}}},{key:"computeScaleValues",value:function(t,e){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(!(2>l.length)){if(0===t){var o,i;if(2===l.length)o=i=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]);else if((o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]))<(i=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[2]))){var n=o;o=i,i=n}var a=i*this.scaleValues[1];(n=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/a)<=2&&(this.scaleValues[1]*=n)}if(1===t){var r=SuperMapAlgoPlot.PlottingUtil.radian(l[0],e)*this.RTOD;this.scaleValues[2]=r}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol50337=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=3){var p=SuperMapAlgoPlot.PlottingUtil.linePnt(t[1],t[2],l),u=[];u.push(p),u.push(t[2]);var P=[];if(t.length>3){for(r=3;r0&&this.addScalePoint(n[0]),this.finish()}}},{key:"computeScaleValues",value:function(t,e){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(!(2>l.length)&&0==t){var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]),i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[1])/o;this.scaleValues[1]=i,this.scaleValues[1]>.7&&(this.scaleValues[1]=.7)}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5033601=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=3){var p=SuperMapAlgoPlot.PlottingUtil.linePnt(t[1],t[2],l),u=[];u.push(p),u.push(t[2]);var P=[];if(t.length>3){for(r=3;r0&&this.addScalePoint(n[0]),this.finish()}}},{key:"computeScaleValues",value:function(t,e){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(!(2>l.length)&&0==t){var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]),i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[1])/o;i<=.5&&(this.scaleValues[1]=i)}}}]),e}();SuperMapAlgoPlot.AlgoSymbol50336=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0;i--)o.push(l.leftBody[i]);var n=this.arrowMeshs(e.tempPt);o=(o=o.concat(n.shapePts)).concat(l.rightBody);var a={fillLimit:!0,fillColorLimit:!0,fillStyle:0,strokeOpacity:1,opacity:1,lineColorLimit:!0,strokeColor:"#0000ff",color:"#0000ff",lineColor:"#0000ff",surroundLineLimit:!0,surroundLineColor:"#ffff00",surroundLineColorOpacity:1,surroundLineWidth:4,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.NONE};this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,o,a),SuperMapAlgoPlot.AlgoSymbol1004.prototype.scaleValues=this.scaleValues;var r=SuperMapAlgoPlot.AlgoSymbol1004.prototype.updateScalePoints(e.tempPt);this.scalePoints=[],this.addScalePoint(r[r.length-1]),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.scaleValues.length<4&&(this.scaleValues.push(this.sv1_DefaultAtLenDivAbLen),this.scaleValues.push(this.sv2_DefaultAjWidthDivAtLen),this.scaleValues.push(this.sv3_DefaultAeWidthDivAtLen),this.scaleValues.push(this.sv4_DefaultAeLenDivAtLen));var o=l.length;if(o<=2)return;var i,n,a,r,s=this.operateCtrlPts(l);o=s.length,o--;if(this.scaleValues.length<4){var p=this.calcDefaultScaleValues(o);i=p[0],n=p[1],a=p[2],r=p[3]}else i=this.scaleValues[0],n=this.scaleValues[1],a=this.scaleValues[2],r=this.scaleValues[3];for(var u=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),P=[],c=0;c=3&&(i=SuperMapAlgoPlot.PlottingUtil.radian(r[p.index-1],r[p.index+1])*this.RTOD,n=SuperMapAlgoPlot.PlottingUtil.radian(r[u.index-1],r[u.index+1])*this.RTOD,a=SuperMapAlgoPlot.PlottingUtil.radian(r[P.index-1],r[P.index+1])*this.RTOD);var c=SuperMapAlgoPlot.PlottingUtil.circlePoint(p.pt,.9*s,.9*s,i+90),g=SuperMapAlgoPlot.PlottingUtil.circlePoint(p.pt,.9*s,.9*s,i+270),S=SuperMapAlgoPlot.PlottingUtil.circlePoint(u.pt,.8*s,.8*s,n+90),h=SuperMapAlgoPlot.PlottingUtil.circlePoint(u.pt,.8*s,.8*s,n+270),f=SuperMapAlgoPlot.PlottingUtil.circlePoint(P.pt,.3*s,.3*s,a+90),y=SuperMapAlgoPlot.PlottingUtil.circlePoint(P.pt,.3*s,.3*s,a+270),A=[];A.push(e),A.push(c),A.push(S),A.push(f),A.push(t[0]);var M=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(A),b=[];return b.push(l),b.push(g),b.push(h),b.push(y),b.push(t[0]),{leftBody:M,rightBody:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(b)}}},{key:"GetLeftAndRightPt",value:function(){var t=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),e=(t=SuperMapAlgoPlot.PlottingUtil.clearSamePts(t)).length;if(!(e=3){for(var u=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t),P=SuperMapAlgoPlot.PlottingUtil.pointIsOnPolyLines(t[1],u),c=[],g=0;g<=P.index;g++)c.push(u[g]);var S=SuperMapAlgoPlot.PlottingUtil.polylineDistance(c),h=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(u,.9*S);s=SuperMapAlgoPlot.PlottingUtil.radian(u[h.index-1],u[h.index+1])*this.RTOD;if(i=SuperMapAlgoPlot.PlottingUtil.circlePoint(h.pt,a,a,s+90),n=SuperMapAlgoPlot.PlottingUtil.circlePoint(h.pt,a,a,s+270),SuperMapAlgoPlot.PlottingUtil.isRight(i,u[h.index-1],u[h.index+1])){p=i;i=n,n=p}var f=[];for(g=0;g<=h.index;g++)f.push(u[g]);l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(f)}return{leftPt:i,rightPt:n,dTailLenght:l}}}},{key:"updateScalePoints",value:function(t){var e=t.length,l=[];if(!(e<3)){var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!SuperMapAlgoPlot.PlottingUtil.equalFuzzy(o,0)){var i=this.operateCtrlPts(t);e=i.length,e--;for(var n=[],a=0;a=0;h--)e.push(p[h]),o.push(p[h])}return{shapePts:e,leftBodyPts:l,rightBodyPts:o,arrowHeadPts:i}}},{key:"operateCtrlPts",value:function(t){var e=SuperMapAlgoPlot.PlottingUtil.clonePoints(t);if(3===e.length){var l=((e[0].x+e[1].x)/2+e[2].x)/2,o=((e[0].y+e[1].y)/2+e[2].y)/2,i=new SuperMapAlgoPlot.Point(l,o),n=e[2];e[2]=i,e.push(n)}return e}}]),e}();SuperMapAlgoPlot.AlgoSymbol5033301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l3){var l=[];l.push(t[0]),l.push(t[1]),l.push(t[2]);var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);this.addArrow(o,this.scaleValues[0]);for(var i=[],n=3;n=2){var a=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(i);this.addArrow(a,this.scaleValues[0])}}else if(t.length<=3){var r=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t);this.addArrow(r,this.scaleValues[0])}this.finish()}}},{key:"computeScaleValues",value:function(t,e){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(!(2>l.length)){0===this.scaleValues.length&&this.scaleValues.push(.2);SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1])}}}]),e}();SuperMapAlgoPlot.AlgoSymbol50332=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=1&&(this.scaleValues[5]=r);break;case 1:if(s=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(l[0],l[1],e))return;i=(SuperMapAlgoPlot.PlottingUtil.radian(l[1],e)-SuperMapAlgoPlot.PlottingUtil.radian(l[0],l[1]))*this.RTOD,o=SuperMapAlgoPlot.PlottingUtil.distance(e,l[1])/a,this.scaleValues[2]=o,this.scaleValues[7]=i,n=SuperMapAlgoPlot.PlottingUtil.projectPoint(e,l[0],l[1]),(r=SuperMapAlgoPlot.PlottingUtil.distance(e,n)/a)>=1.1&&(this.scaleValues[5]=r);break;case 2:if(!(s=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(l[0],l[1],e)))return;i=(SuperMapAlgoPlot.PlottingUtil.radian(l[0],e)-SuperMapAlgoPlot.PlottingUtil.radian(l[0],l[1]))*this.RTOD,o=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/a,this.scaleValues[3]=o,this.scaleValues[8]=i,n=SuperMapAlgoPlot.PlottingUtil.projectPoint(e,l[0],l[1]),(r=SuperMapAlgoPlot.PlottingUtil.distance(e,n)/a)>=1.1&&-1==this.scaleValues[10]&&(this.scaleValues[5]=r);break;case 3:if(!(s=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(l[0],l[1],e)))return;i=(SuperMapAlgoPlot.PlottingUtil.radian(l[1],e)-SuperMapAlgoPlot.PlottingUtil.radian(l[0],l[1]))*this.RTOD,o=SuperMapAlgoPlot.PlottingUtil.distance(e,l[1])/a,this.scaleValues[4]=o,this.scaleValues[9]=i,n=SuperMapAlgoPlot.PlottingUtil.projectPoint(e,l[0],l[1]),(r=SuperMapAlgoPlot.PlottingUtil.distance(e,n)/a)>=1.1&&-1==this.scaleValues[10]&&(this.scaleValues[5]=r);break;case 4:var r,s=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(l[0],l[1],e);this.scaleValues[10]=s?-1:1,n=SuperMapAlgoPlot.PlottingUtil.projectPoint(e,l[0],l[1]),(r=SuperMapAlgoPlot.PlottingUtil.distance(e,n)/a)>=1.1&&(this.scaleValues[5]=r)}}}},{key:"AddCellPoints",value:function(t,e,l){for(var o=0;o=i&&o>=n?(e=t[0],l=t[1]):i>=o&&i>=n?(e=t[1],l=t[2]):(e=t[0],l=t[2])}var a=SuperMapAlgoPlot.PlottingUtil.dirAngle(e,l)*SuperMapAlgoPlot.PlottingUtil.RTOD,r=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),s=.1*r,p=[];if(p=3>=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),0!=(p=SuperMapAlgoPlot.PlottingUtil.clearSamePts(p)).length){for(var u=p[0].x,P=p[0].x,c=p[0].y,g=p[0].y,S=0;Sp[S].x&&(u=p[S].x),Pp[S].y&&(c=p[S].y),g=p.length)){var U=[];U.push(f);for(var L=A+1;L0;j--)U.push(x[j]);_=new SuperMapAlgoPlot.Point(0,0),V=-1;var Y=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(T,U);if(Y.bfind){V=Y.index,_=Y.pts,(x=[]).push(_);for(var I=V+1;ISuperMapAlgoPlot.PlottingUtil.distance(h,k)?(R=D,z=SuperMapAlgoPlot.PlottingUtil.dirAngle(D,k)*SuperMapAlgoPlot.PlottingUtil.RTOD):(R=k,z=SuperMapAlgoPlot.PlottingUtil.dirAngle(R,D)*SuperMapAlgoPlot.PlottingUtil.RTOD);var F=SuperMapAlgoPlot.PlottingUtil.circlePoint(R,.2*s,.2*s,z),G=SuperMapAlgoPlot.PlottingUtil.circlePoint(F,.05*s,.05*s,z+90),W=SuperMapAlgoPlot.PlottingUtil.circlePoint(F,.05*s,.05*s,z-90);(N=[]).push(G),N.push(W),N.push(R),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,N),this.finish()}}}}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol70110=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0){var l;if(null==this.subSymbols[0].symbolData)return;l=this.subSymbols[0].symbolData.symbolSize.x;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),i=o*this.scaleValues[4],n=o*this.scaleValues[5],a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i,t),r=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(n,t),s=SuperMapAlgoPlot.PlottingUtil.radian(r.pts,a.pts)*SuperMapAlgoPlot.PlottingUtil.RTOD+270,p=60*SuperMapAlgoPlot.PlottingUtil.distance(a.pts,r.pts)/l,u=new SuperMapAlgoPlot.Point(2*r.pts.x-a.pts.x,2*r.pts.y-a.pts.y),P=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,p,p,s),c=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,p,p,s-180);if(null==this.subSymbols.length)return;null!=this.subSymbols[0].code&&(this.computeSubSymbol(this.subSymbols[0],r.pts,p,s-90),this.computeSubSymbol(this.subSymbols[1],P,p,s-90),this.computeSubSymbol(this.subSymbols[2],c,p,s-90)),a.pts.isScalePoint=!0,a.pts.tag=this.scalePoints.length,this.scalePoints.push(a.pts.clone()),r.pts.isScalePoint=!0,r.pts.tag=this.scalePoints.length,this.scalePoints.push(r.pts.clone())}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length<2)return;if(this.scaleValues.length<6&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(.148),this.scaleValues.push(.4),this.scaleValues.push(.312),this.scaleValues.push(.2),this.scaleValues.push(.01)),t<=2)SuperMapAlgoPlot.AlgoSymbol1004.prototype.computeScaleValues.apply(this,arguments);else if(3==t||4==t){var o=new SuperMapAlgoPlot.Point((l[0].x+l[1].x)/2,(l[0].y+l[1].y)/2),i=SuperMapAlgoPlot.PlottingUtil.clonePoints(l);i.splice(0,2),i.unshift(o);var n=SuperMapAlgoPlot.PlottingUtil.projectPtOnPolyLine(e,i),a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(i);if(-1===n.index&&3===t&&(n.pt=o.clone()),-1==n.index&&4==t)this.scaleValues[t+1]=.01;else{var r=SuperMapAlgoPlot.PlottingUtil.clonePoints(i);r.splice(0,n.index+1),r.unshift(n.pt);var s=SuperMapAlgoPlot.PlottingUtil.polylineDistance(r);a.5&&(this.scaleValues[4]=.5)}}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol6031001=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=2*i}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3],s=o*n,p=new SuperMapAlgoPlot.Point(l.x+o*a,l.y+o*r);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,s,0),this.addScalePoint(p);var u=s,P=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,u,u,90);this.addScalePoint(P),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),a=0,r=0;if(0===t)a=(e.x-i.x)/n,this.scaleValues[2]=a,r=(e.y-i.y)/n,this.scaleValues[3]=r;else if(1===t){a=this.scaleValues[2],r=this.scaleValues[3];var s=new SuperMapAlgoPlot.Point(i.x+n*a,i.y+n*r),p=SuperMapAlgoPlot.PlottingUtil.distance(s,e);this.scaleValues[0]=p/n}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5020802=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.lengthP.length||2>i.length)return o;var c=SuperMapAlgoPlot.PlottingUtil.intersectLines(P[0],P[1],i[0],i[1]);return c.isIntersectLines?c.intersectPoint:o}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length1&&(S=1),h>1&&(h=1),this.scaleValues[0]=S,this.scaleValues[1]=h}if(1===t){var f=this.scaleValues[0],y=this.scaleValues[1],A=this.ComputeSubSymbolPt(f,y,a,u),M=SuperMapAlgoPlot.PlottingUtil.distance(A,e)/P;this.scaleValues[2]=M;var b=SuperMapAlgoPlot.PlottingUtil.radian(A,e)*SuperMapAlgoPlot.PlottingUtil.RTOD;this.scaleValues[3]=b}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5020801=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0&&this.computeSubSymbol(this.subSymbols[0],a,2*n,0);var S=new SuperMapAlgoPlot.Point(a.x+4*n,a.y),h=new SuperMapAlgoPlot.Point(a.x+n,a.y),f=[];f.push(S),f.push(h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,f,u);var y=new SuperMapAlgoPlot.Point(a.x+4*n,a.y+n/2),A=new SuperMapAlgoPlot.Point(a.x+4*n,a.y),M=[];M.push(y),M.push(A),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,M,u),this.addScalePoint(a,0);var b=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,2*n,2*n,90);this.addScalePoint(b,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l);if(0===o)return;var n=0,a=0;if(0===t&&(n=(e.x-i.x)/o,this.scaleValues[0]=n,a=(e.y-i.y)/o,this.scaleValues[1]=a),1===t){n=this.scaleValues[0],a=this.scaleValues[1];var r=new SuperMapAlgoPlot.Point(i.x+o*n,i.y+o*a),s=SuperMapAlgoPlot.PlottingUtil.distance(r,e);this.scaleValues[2]=s/2/o}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5035205=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length.5&&(this.scaleValues[4]=.5)}}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5035203=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0){var l;if(null==this.subSymbols[0].symbolData)return;l=this.subSymbols[0].symbolData.symbolSize.x;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),i=o*this.scaleValues[4],n=o*this.scaleValues[5],a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i,t),r=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(n,t),s=SuperMapAlgoPlot.PlottingUtil.radian(r.pts,a.pts)*SuperMapAlgoPlot.PlottingUtil.RTOD+270,p=60*SuperMapAlgoPlot.PlottingUtil.distance(a.pts,r.pts)/l;if(null==this.subSymbols.length)return;null!=this.subSymbols[0].code&&this.computeSubSymbol(this.subSymbols[0],r.pts,p,s-90),a.pts.isScalePoint=!0,a.pts.tag=this.scalePoints.length,this.scalePoints.push(a.pts.clone()),r.pts.isScalePoint=!0,r.pts.tag=this.scalePoints.length,this.scalePoints.push(r.pts.clone())}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length<2)return;if(this.scaleValues.length<6&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(.148),this.scaleValues.push(.4),this.scaleValues.push(.312),this.scaleValues.push(.2),this.scaleValues.push(.01)),t<=2)SuperMapAlgoPlot.AlgoSymbol1004.prototype.computeScaleValues.apply(this,arguments);else if(3==t||4==t){var o=new SuperMapAlgoPlot.Point((l[0].x+l[1].x)/2,(l[0].y+l[1].y)/2),i=SuperMapAlgoPlot.PlottingUtil.clonePoints(l);i.splice(0,2),i.unshift(o);var n=SuperMapAlgoPlot.PlottingUtil.projectPtOnPolyLine(e,i),a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(i);if(-1===n.index&&3===t&&(n.pt=o.clone()),-1==n.index&&4==t)this.scaleValues[t+1]=.01;else{var r=SuperMapAlgoPlot.PlottingUtil.clonePoints(i);r.splice(0,n.index+1),r.unshift(n.pt);var s=SuperMapAlgoPlot.PlottingUtil.polylineDistance(r);a.5&&(this.scaleValues[4]=.5)}}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5035202=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0){this.computeSubSymbol(this.subSymbols[0],P,u,r);var c=SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],2.1*u,2.1*u,r),g=SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],3*u,3*u,r),S=[];S.push(c),S.push(g),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,S);var h=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,.2*u,.2*u,r),f=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,.05*u,.05*u,r+90),y=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,.05*u,.05*u,r+270),A=[];A.push(h),A.push(f),A.push(y);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,A,{fillLimit:!0,fill:!0})}var M=SuperMapAlgoPlot.PlottingUtil.circlePoint(n,o,o,r+90);this.addScalePoint(M,0),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=.15&&(r=.15),this.scaleValues[1]=r}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5035201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;le.x),P=[];u?(P.push(l),P.push(s)):(P.push(l),P.push(p)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,P);var c=[];u?(c.push(o),c.push(p)):(c.push(o),c.push(s)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,c);var g,S,h,f,y,A=.37*n,M=SuperMapAlgoPlot.PlottingUtil.linePnt(i,e,A),b=.09*n,d=[];d.push(M),d.push(new SuperMapAlgoPlot.Point(M.x,M.y+b)),this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,d,{lineTypeLimit:!0}),u?(S=(g=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(b,i,M)).pntLeft,h=(g=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(2*b,i,M)).pntLeft,f=(g=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(b,S,h)).pntRight,y=g.pntLeft):(S=(g=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(b,i,M)).pntRight,h=(g=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(2*b,i,M)).pntRight,f=(g=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(b,S,h)).pntRight,y=g.pntLeft);var m=[];m.push(S),m.push(h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,m,{lineTypeLimit:!0});var v=[];v.push(f),v.push(y),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,v,{lineTypeLimit:!0}),this.addText("催",M,b,0),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5034801=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],M,i,p-90),this.finish()}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5034203=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=2*i}var n=this.scaleValues[0],a=o*this.scaleValues[2],r=o*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(l.x+a,l.y+r),p=o*n,u=new SuperMapAlgoPlot.Point(s.x-.5*p,s.y);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],u,p,0);var P=new SuperMapAlgoPlot.Point(s.x+.5*p,s.y),c=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,.3*p,.3*p,-90),g=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,.5*p,.5*p,90),S=[];S.push(c),S.push(g),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,S);var h=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,.2*p,.2*p,-90),f=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,.05*p,.05*p,0),y=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,.05*p,.05*p,180),A=[];A.push(h),A.push(f),A.push(y);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,A,{fillLimit:!0,fill:!0});var M=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,p,p,180);this.addScalePoint(M,0),this.addScalePoint(s,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===n)return;var a=0,r=0,s=0,p=0;if(0===t){a=n*(s=this.scaleValues[2]),r=n*(p=this.scaleValues[3]);var u=new SuperMapAlgoPlot.Point(i.x+a,i.y+r),P=SuperMapAlgoPlot.PlottingUtil.distance(e,u);this.scaleValues[0]=P/n}else 1===t&&(s=(a=e.x-i.x)/n,p=(r=e.y-i.y)/n,this.scaleValues[2]=s,this.scaleValues[3]=p)}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5034202=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=2*i}var n=this.scaleValues[0],a=o*this.scaleValues[2],r=o*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(l.x+a,l.y+r),p=o*n,u=new SuperMapAlgoPlot.Point(s.x-.5*p,s.y);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],u,p,0);var P=new SuperMapAlgoPlot.Point(s.x+.5*p,s.y),c=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,.5*p,.5*p,-90),g=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,.3*p,.3*p,90),S=[];S.push(c),S.push(g),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,S);var h=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,.2*p,.2*p,90),f=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,.05*p,.05*p,0),y=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,.05*p,.05*p,180),A=[];A.push(h),A.push(f),A.push(y);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,A,{fillLimit:!0,fill:!0});var M=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,p,p,180);this.addScalePoint(M,0),this.addScalePoint(s,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===n)return;var a=0,r=0,s=0,p=0;if(0===t){s=n*(a=this.scaleValues[2]),p=n*(r=this.scaleValues[3]);var u=new SuperMapAlgoPlot.Point(i.x+s,i.y+p),P=SuperMapAlgoPlot.PlottingUtil.distance(e,u);this.scaleValues[0]=P/n}else 1===t&&(a=(s=e.x-i.x)/n,r=(p=e.y-i.y)/n,this.scaleValues[2]=a,this.scaleValues[3]=r)}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5034201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2)for(var r=2;r=r){var s=[];if(s.push(this.getMinDisPt(t[r],t[1],i,n)),s.push(t[r+1]),2==r){for(var p=.25*SuperMapAlgoPlot.PlottingUtil.distance(s[0],s[1]),u=.1*p,P=this.computeDashLine(p,u,s),c=0;c2){var r=[];o=SuperMapAlgoPlot.PlottingUtil.dirAngle(t[0],t[2])*SuperMapAlgoPlot.PlottingUtil.RTOD,r.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],l,l,o)),r.push(t[2]),this.addArrow(r,this.scaleValues[0])}if(e>3)for(var s=3;s2){for(var r=[],s=0;s<=360;s+=5)r.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t[2],l,l,s));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,r)}if(e>3)for(var p=3;p3){for(var c=.25*SuperMapAlgoPlot.PlottingUtil.distance(u[0],u[1]),g=.1*c,S=this.computeDashLine(c,g,u),h=0;h0&&this.computeSubSymbol(this.subSymbols[0],n,2*i,d),this.addScalePoint(u.pntRight,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length.48&&(i=.48),this.scaleValues[0]=i}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5033803=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],n,2*i,h-90),this.addScalePoint(s.pntLeft,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length.48&&(i=.48),this.scaleValues[0]=i}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5033802=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],P,i,p+270),this.finish()}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5033001=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0){for(var C=0;Cb&&(S=y,f=M,h=b)}}if(-1==S||S>c.length-1)return;n=0;for(var d=0;do)return;var m=n/o;this.scaleValues[0]=m}else if(1===t){a=o*this.scaleValues[0];var v=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(P,a);if(-1===v.index)return;r=v.pt,s=P[v.index],p=P[v.index+1],u=SuperMapAlgoPlot.PlottingUtil.radian(s,p);var O=SuperMapAlgoPlot.PlottingUtil.radian(r,e)-u;this.scaleValues[1]=O;var U=(n=SuperMapAlgoPlot.PlottingUtil.distance(r,e))/o/1.5;this.scaleValues[2]=U}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol50321=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lc&&(a=p,s=P,r=c)}}if(-1==a||a>o.length-1)return;i=0;for(var g=0;gn)return;var S=i/n;this.scaleValues[0]=S}else if(1===t){var h=n*this.scaleValues[0],f=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(o,h);if(-1===f.index)return;var y=f.pt,A=o[f.index],M=o[f.index+1],b=SuperMapAlgoPlot.PlottingUtil.radian(A,M),d=SuperMapAlgoPlot.PlottingUtil.radian(y,e)-b;this.scaleValues[1]=d;var m=(i=SuperMapAlgoPlot.PlottingUtil.distance(y,e))/n;this.scaleValues[2]=m}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5032004=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[2]=2*o}var i=l*this.scaleValues[0],n=this.scaleValues[1],a=l*this.scaleValues[2],r=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i,e);if(r.bfind){var s=r.pts.clone(),p=e[r.index].clone(),u=e[r.index+1].clone(),P=SuperMapAlgoPlot.PlottingUtil.radian(p,u)*SuperMapAlgoPlot.PlottingUtil.RTOD,c=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,a,a,P+n),g=[];g.push(r.pts),g.push(c);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g,{lineTypeLimit:!0,surroundLineLimit:!0});var S=SuperMapAlgoPlot.PlottingUtil.radian(s,c)*SuperMapAlgoPlot.PlottingUtil.RTOD,h=new SuperMapAlgoPlot.Point(-.2*a,.05*a),f=new SuperMapAlgoPlot.Point(-.2*a,-.05*a),y=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,h,S),A=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,f,S),M=[];M.push(c),M.push(y),M.push(A);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,M,{lineTypeLimit:!0,surroundLineLimit:!0,fillLimit:!0,fill:!0});var b=.3*a,d=.6*a,m=i-d;m<0&&(m=0);var v=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(m,e);if(v.bfind){var O=[];O.push(v.pts);for(var U=v.index;U>=0;U--)O.push(e[U]);var L=[];L.push(v.pts);for(var w=v.index+1;w1){var T=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(_,O);if(T.bfind){(V=[]).push(T.pts);for(var E=T.index+1;E1&&(O=O.concat(V))}}if(O.length>1&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,O),L.length>1){var x=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(_,L);if(x.bfind){(V=[]).push(x.pts);for(var C=x.index+1;C1&&(L=L.concat(V))}}var j=i+d;j>l&&(j=l),j=l-j;for(var Y=[],I=L.length-1;I>=0;I--)Y.push(L[I]);var R=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(j,Y);if(R.bfind){var B=[];B.push(R.pts);for(var N=R.index;N>=0;N--)B.push(Y[N]);var D=[];D.push(R.pts);for(var k=R.index+1;k1){var z=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(_,B);if(z.bfind){(V=[]).push(z.pts);for(var F=z.index+1;F1&&(B=B.concat(V))}}if(B.length>1&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,B),D.length>1){var G=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(_,D);if(G.bfind){(V=[]).push(G.pts);for(var W=G.index+1;W1&&(D=D.concat(V))}}if(D.length>1&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,D),this.subSymbols.length>0){if(null!==this.subSymbols[0].symbolData)for(var J=0;Jt||1g&&(r=u,s=c,p=g)}}if(-1===r||r>n.length-1)return;for(var S=0,h=0;hi)return;this.scaleValues[0]=S/i}if(1===t){var M=i*this.scaleValues[0],b=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(M,o);if(!b.bfind)return;var d=b.pts.clone(),m=new SuperMapAlgoPlot.Point(o[b.index].x,o[b.index].y),v=new SuperMapAlgoPlot.Point(o[b.index+1].x,o[b.index+1].y),O=SuperMapAlgoPlot.PlottingUtil.radian(m,v)*SuperMapAlgoPlot.PlottingUtil.RTOD,U=SuperMapAlgoPlot.PlottingUtil.radian(d,e)*SuperMapAlgoPlot.PlottingUtil.RTOD;this.scaleValues[1]=U-O;var L=SuperMapAlgoPlot.PlottingUtil.distance(d,e);this.scaleValues[2]=L/i}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5032003=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=180*SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)/Math.PI,r=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);0=2&&t.length2*o-1){for(var r=0;rthis.MAX_SCALEVALUE?n=this.MAX_SCALEVALUE:n3)for(var a=o-1,r=0,s=a;rb&&(M=.5*b);var d=M*c;h.push(h[u].clone());var m,v=0;m=f-M;var O=[],U=0;for(U=2;U<=u;U++)v+=SuperMapAlgoPlot.PlottingUtil.distance(h[U-1],h[U-2]),SuperMapAlgoPlot.PlottingUtil.equalFuzzy(m,0,1e-14)?O[U]=0:SuperMapAlgoPlot.PlottingUtil.equalFuzzy(m-v,0,1e-14)?O[U]=d:O[U]=d+(y-d)*Math.pow((m-v)/m,this.SV_ATScaleParameter);O[u+1]=d;var L=new SuperMapAlgoPlot.Point(0,0),w=new SuperMapAlgoPlot.Point(0,0),_=new SuperMapAlgoPlot.Point(0,0);for(U=2;U<=u;U++){SuperMapAlgoPlot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE1,this.AB_CTRLPT_RATE2,h[U-2],h[U-1],h[U],w,_),u===U&&SuperMapAlgoPlot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,h[u],h[u-1],_,L);var V=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(O[U],w,h[U-1]);n[U]=V.pntLeft,i[U]=V.pntRight}var T,E,x=L.clone();if(SuperMapAlgoPlot.PlottingUtil.distance(h[u],x)>0){var C=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(M,h[u],L);h[u]=C.clone()}for(A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(d,h[u+1],h[u]),i[u+1]=A.pntLeft,n[u+1]=A.pntRight,U=2;U<=u;U++)SuperMapAlgoPlot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE2,this.AB_CTRLPT_RATE2,i[U-1],i[U],i[U+1],w,_),a[U]=w.clone(),r[U]=_.clone(),SuperMapAlgoPlot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE2,this.AB_CTRLPT_RATE2,n[U-1],n[U],n[U+1],w,_),s[U]=w.clone(),p[U]=_.clone();SuperMapAlgoPlot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,i[1],i[2],a[2],L),r[1]=L.clone(),SuperMapAlgoPlot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,n[1],n[2],s[2],L),p[1]=L.clone();E=SuperMapAlgoPlot.PlottingUtil.distance(i[u+1],i[u])*(1/3),(T=SuperMapAlgoPlot.PlottingUtil.getExcentrePointOnSegmentByScale(E,h[u],h[u+1])).x+=i[u+1].x-h[u].x,T.y+=i[u+1].y-h[u].y,E=(y-d)*Math.pow(E/m,this.SV_ATScaleParameter+.3),A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(E,i[u+1],T),a[u+1]=A.pntLeft.clone(),E=SuperMapAlgoPlot.PlottingUtil.distance(n[u+1],n[u])*(1/3),(T=SuperMapAlgoPlot.PlottingUtil.getExcentrePointOnSegmentByScale(E,h[u],h[u+1])).x+=n[u+1].x-h[u].x,T.y+=n[u+1].y-h[u].y,E=(y-d)*Math.pow(E/m,this.SV_ATScaleParameter+.3),A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(E,n[u+1],T),s[u+1]=A.pntRight.clone();var j=[],Y=M*S,I=SuperMapAlgoPlot.PlottingUtil.getExcentrePointOnSegmentByScale(Y,h[u],h[u+1]);this.m_scalePoints.push(I.clone()),Y=M*g,A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(Y,h[u+1],I),j.push(A.pntRight),j.push(h[u+1]),j.push(A.pntLeft);var R=[];for(R.push(i[u+1]),U=u;U>=1;U--)R.push(a[U+1]),R.push(r[U]),R.push(i[U]);var B=[];for(U=1;U<=u;U++)B.push(n[U]),B.push(p[U]),B.push(s[U+1]);B.push(n[u+1]),o.push.apply(o,B),o.push.apply(o,j),o.push.apply(o,R),l=M/f;var N=[];for(U=R.length-1;U>=0;U--)N.push(R[U]);return{dATLenDivABLen:l,arrowBodyPts:o}}},{key:"generateAYPts",value:function(t,e,l,o,i){var n=new SuperMapAlgoPlot.Point(.5*(t[2].x+l[2].x),.5*(t[2].y+l[2].y)),a=new SuperMapAlgoPlot.Point(.5*(t[1].x+l[1].x),.5*(t[1].y+l[1].y)),r=new SuperMapAlgoPlot.Point(.5*(t[0].x+l[0].x),.5*(t[0].y+l[0].y)),s=SuperMapAlgoPlot.PlottingUtil.distance(n,a),p=SuperMapAlgoPlot.PlottingUtil.distance(r,a),u=i*(s+p),P=new SuperMapAlgoPlot.Point(0,0),c=new SuperMapAlgoPlot.Point(0,0),g=new SuperMapAlgoPlot.Point(0,0);if(u>s){u=s+p-u,P=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(u,r,a);var S=SuperMapAlgoPlot.PlottingUtil.distance(t[1],t[0]),h=SuperMapAlgoPlot.PlottingUtil.distance(l[1],l[0]);S=S*u/p,c=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(S,t[0],t[1]),h=h*u/p,g=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(h,l[0],l[1])}else{P=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(u,n,a);var f=SuperMapAlgoPlot.PlottingUtil.distance(t[1],t[2]),y=SuperMapAlgoPlot.PlottingUtil.distance(l[1],l[2]);f=f*u/s,c=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(f,t[2],t[1]),y=y*u/s,g=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(y,l[2],l[1])}this.m_scalePoints.push(P.clone());var A=this.SV_ArrowWoCtrl*SuperMapAlgoPlot.PlottingUtil.distance(P,c),M=this.SV_ArrowWoCtrl*SuperMapAlgoPlot.PlottingUtil.distance(P,g),b=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(A,P,c),d=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(M,P,g),m=e[11].clone(),v=e[10].clone(),O=o[5].clone(),U=o[6].clone(),L=SuperMapAlgoPlot.PlottingUtil.intersectLines(v,m,P,c),w=SuperMapAlgoPlot.PlottingUtil.distance(L.intersectPoint,v),_=SuperMapAlgoPlot.PlottingUtil.distance(v,P);w=w>_?this.SV_AJCtrl*_:this.SV_AJCtrl*w;var V=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(w,v,m);m=V.clone(),e[11]=V.clone(),L=SuperMapAlgoPlot.PlottingUtil.intersectLines(U,O,P,g),w=(w=SuperMapAlgoPlot.PlottingUtil.distance(L.intersectPoint,U))>(_=SuperMapAlgoPlot.PlottingUtil.distance(U,P))?this.SV_AJCtrl*_:this.SV_AJCtrl*w,O=(V=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(w,U,O)).clone(),o[5]=V.clone();var T=[];T.push(v),T.push(m),T.push(b),T.push(P);var E=[];return E.push(P),E.push(d),E.push(O),E.push(U),{arrowLeftYaoPts:T,arrowRightYaoPts:E}}},{key:"generateAWWidth",value:function(t,e){var l=[];if(t>0)if(1==t)l.push(0);else{var o=SuperMapAlgoPlot.PlottingUtil.distance(e[0],e[this.MIN_PTCOUNT_PERARROW]);l.push(o);for(var i=1,n=this.MIN_PTCOUNT_PERARROW;ithis.MAX_SCALEVALUE?i=this.MAX_SCALEVALUE:ithis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(this.sv1_DefaultAtLenDivAbLen),this.scaleValues.push(this.sv2_DefaultAjWidthDivAtLen),this.scaleValues.push(this.sv3_DefaultAeWidthDivAtLen),this.scaleValues.push(this.sv4_DefaultAeLenDivAtLen),this.scaleValues.push(this.sv_arrowTailWidth),this.scaleValues.push(30));var l=e*this.scaleValues[4],o=this.scaleValues[5],i=SuperMapAlgoPlot.PlottingUtil.dirAngle(t[0],t[1])*SuperMapAlgoPlot.PlottingUtil.RTOD,n=SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],l,l,i-o),a=SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],l,l,i-o+180);if(SuperMapAlgoPlot.PlottingUtil.isRight(n,t[0],t[1])){var r=n;n=a,a=r}void 0!==t[0].z&&(n.z=t[0].z,a.z=t[0].z),this.controlPoints=[],this.controlPoints.push(n),this.controlPoints.push(a);for(var s=1;sthis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(this.sv1_DefaultAtLenDivAbLen),this.scaleValues.push(this.sv2_DefaultAjWidthDivAtLen),this.scaleValues.push(this.sv3_DefaultAeWidthDivAtLen),this.scaleValues.push(this.sv4_DefaultAeLenDivAtLen),this.scaleValues.push(this.sv_arrowTailWidth));var o=l[0].clone(),i=l[1].clone(),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0!==n){var a=n*this.scaleValues[4],r=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(a,l[1],l[0]);(l=[]).push(r.pntRight),l.push(r.pntLeft);for(var s=1;sthis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(this.sv1_DefaultAtLenDivAbLen),this.scaleValues.push(this.sv2_DefaultAjWidthDivAtLen),this.scaleValues.push(this.sv3_DefaultAeWidthDivAtLen),this.scaleValues.push(this.sv4_DefaultAeLenDivAtLen),this.scaleValues.push(this.sv_arrowTailWidth));var l=e*this.scaleValues[4],o=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(l,t[1],t[0]);void 0!==t[0].z&&(o.pntLeft.z=t[0].z,o.pntRight.z=t[0].z),this.controlPoints=[],this.controlPoints.push(o.pntLeft),this.controlPoints.push(o.pntRight);for(var i=1;ithis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(this.sv1_DefaultAtLenDivAbLen),this.scaleValues.push(this.sv2_DefaultAjWidthDivAtLen),this.scaleValues.push(this.sv3_DefaultAeWidthDivAtLen),this.scaleValues.push(this.sv4_DefaultAeLenDivAtLen),this.scaleValues.push(this.sv_arrowTailWidth));var o=l[0].clone(),i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0!==i){var n=i*this.scaleValues[4],a=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(n,l[1],l[0]);(l=[]).push(a.pntRight),l.push(a.pntLeft);for(var r=1;rthis.scaleValues.length&&(this.scaleValues.push(.05),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0));var e=[];e=3>=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=1.5*this.getDefaultSubSymbolSize();this.subSymbolScaleValue=i/o,this.subSymbolScaleValue>.2&&(this.subSymbolScaleValue=.2),this.scaleValues[0]=this.subSymbolScaleValue}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3],s=o*n,p=new SuperMapAlgoPlot.Point(l.x+o*a,l.y+o*r);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,o*n,0);for(var u=0;u=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),a=0,r=0;if(0===t)a=(e.x-i.x)/n,this.scaleValues[2]=a,r=(e.y-i.y)/n,this.scaleValues[3]=r;else if(1===t){a=this.scaleValues[2],r=this.scaleValues[3];var s=new SuperMapAlgoPlot.Point(i.x+n*a,i.y+n*r),p=SuperMapAlgoPlot.PlottingUtil.distance(s,e);this.scaleValues[0]=p/n}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5022301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[1]=o}var i=this.scaleValues[0],n=this.scaleValues[1],a=this.scaleValues[2],r=l*i,s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(r,e);if(s.bfind){var p=s.index,u=s.pts,P=n*l,c=u,g=new SuperMapAlgoPlot.Point(P,-.5*P),S=new SuperMapAlgoPlot.Point(P,.5*P),h=new SuperMapAlgoPlot.Point(-P,.5*P),f=new SuperMapAlgoPlot.Point(-P,-.5*P),y=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,g,a),A=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,S,a),M=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,h,a),b=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,f,a);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,[y,A,M,b,y]);var d=new SuperMapAlgoPlot.Point(.5*P,.5*P),m=new SuperMapAlgoPlot.Point(.5*P,-.5*P),v=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,m,a),O=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,d,a);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[v,O]);var U=new SuperMapAlgoPlot.Point(0,.5*P),L=new SuperMapAlgoPlot.Point(0,-.5*P),w=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,U,a),_=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,L,a);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[w,_]);var V=new SuperMapAlgoPlot.Point(P,0),T=new SuperMapAlgoPlot.Point(2*P,0),E=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,V,a),x=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,T,a);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[E,x]);var C=new SuperMapAlgoPlot.Point(2*P,.15*P),j=new SuperMapAlgoPlot.Point(2*P,-.15*P),Y=new SuperMapAlgoPlot.Point(2.6*P,0),I=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,C,a),R=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,j,a),B=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,Y,a);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,[I,R,B],{lineTypeLimit:!0,lineColorLimit:!1,strokeColor:"#FF0000",strokeOpacity:1,color:"#FF0000",opacity:1,surroundLineLimit:!0,fillLimit:!0,fill:!0});var N,D=[],k=[];for(N=0;N<=p;N++)D.push(e[N]);for(D.push(u),k.push(u),N=p+1;Nz){var F=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(r-z,D);if(F.bfind){var G=F.pts,W=F.index,J=[];for(N=0;N<=W;N++)J.push(D[N]);J.push(G),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,J)}}if(l-r>z){var K=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(z,k);if(K.bfind){var H=K.pts,q=K.index;for((J=[]).push(H),N=q+1;N1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).lengthP&&(a=s,r=P)}}if(-1===a)return SuperMapAlgoPlot.PlottingUtil.distance(n,o[0])>SuperMapAlgoPlot.PlottingUtil.distance(n,o[o.length-1])?void(a=o.length-1):void(a=0);var c=0;if(0===a)c=SuperMapAlgoPlot.PlottingUtil.distance(o[0],u);else for(var g=0;gi)return;this.scaleValues[0]=c/i}else if(1===t){var S=this.scaleValues[0]*i,h=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(S,o);if(!h.bfind)return;var f=h.pts,y=SuperMapAlgoPlot.PlottingUtil.distance(f,e)/i;y>.5&&(y=.5),this.scaleValues[1]=y;var A=SuperMapAlgoPlot.PlottingUtil.radian(f,e)*SuperMapAlgoPlot.PlottingUtil.RTOD;this.scaleValues[2]=A+90}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5022002=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[1]=o}var i=this.scaleValues[0],n=this.scaleValues[1],a=this.scaleValues[2],r=l*i,s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(r,e);if(s.bfind){var p=s.index,u=s.pts,P=n*l*.5,c=new SuperMapAlgoPlot.Point(0,0),g=new SuperMapAlgoPlot.Point(.5*P,0),S=new SuperMapAlgoPlot.Point(0,P),h=[],f=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(u,c,a);h.push(f);var y=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(u,g,a);h.push(y);var A=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(u,S,a);h.push(A),this.addCell(SuperMapAlgoPlot.SymbolType.ELLIPSESYMBOL,h);var M=new SuperMapAlgoPlot.Point(0,-2*P),b=new SuperMapAlgoPlot.Point(.15*P,-1.6*P),d=new SuperMapAlgoPlot.Point(-.15*P,-1.6*P),m=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(u,M,a),v=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(u,b,a),O=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(u,d,a),U=[];U.push(m),U.push(v),U.push(O);var L={surroundLineFlag:!1,fillLimit:!0,fill:!0};this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,U,L);var w=new SuperMapAlgoPlot.Point(0,-P),_=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(u,w,a);(U=[]).push(_),U.push(m.clone()),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,U,L);var V,T=[],E=[];for(V=0;V<=p;V++)T.push(e[V]);for(T.push(u),E.push(u),V=p+1;Vx){var C=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(r-x,T);if(C.bfind){var j=C.pts,Y=C.index,I=[];for(V=0;V<=Y;V++)I.push(T[V]);I.push(j),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,I)}}if(l-r>x){var R=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(x,E);if(R.bfind){var B=R.pts,N=R.index;for((I=[]).push(B),V=N+1;VP&&(a=s,r=P)}}if(-1===a)return SuperMapAlgoPlot.PlottingUtil.distance(n,o[0])>SuperMapAlgoPlot.PlottingUtil.distance(n,o[o.length-1])?void(a=o.length-1):void(a=0);var c=0;if(0===a)c=SuperMapAlgoPlot.PlottingUtil.distance(o[0],u);else for(var g=0;gi)return;this.scaleValues[0]=c/i}else if(1===t){var S=this.scaleValues[0]*i,h=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(S,o);if(!h.bfind)return;var f=h.pts,y=SuperMapAlgoPlot.PlottingUtil.distance(f,e)/i;y>.5&&(y=.5),this.scaleValues[1]=y;var A=SuperMapAlgoPlot.PlottingUtil.radian(f,e)*SuperMapAlgoPlot.PlottingUtil.RTOD;this.scaleValues[2]=A+90}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5022001=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||n<=0)&&(n=.3);var a=1.5*n;2===t.length?(this.isEdit||(this.scaleValues[3]=this.scaleValues[2]+a),l=this.scaleValues[2],o=this.scaleValues[3]):(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(this.scaleValues[4],0)&&(this.scaleValues=[],this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(.125)),this.isEdit||(this.scaleValues[4]=this.scaleValues[3]+a),l=this.scaleValues[3],o=this.scaleValues[4]);var r=i*l,s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(r,e);if(s.bfind){var p=s.pts,u=i*o;if((s=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(u,e)).bfind){var P=s.index,c=s.pts,g=new SuperMapAlgoPlot.Point(p.x,p.y),S=new SuperMapAlgoPlot.Point(c.x,c.y),h=SuperMapAlgoPlot.PlottingUtil.radian(g,S)*SuperMapAlgoPlot.PlottingUtil.RTOD,f=[];f.push(c);for(var y=P+1;y0&&this.computeSubSymbol(this.subSymbols[0],g,A,h),this.scalePoints=[],this.addScalePoint(c);var M=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,A/2,A/2,h+90);this.addScalePoint(M),this.finish()}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!1);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o),n=0,a=0;if(2===l.length?(n=this.scaleValues[2],a=this.scaleValues[3]):(n=this.scaleValues[3],a=this.scaleValues[4]),0===t){for(var r=a-n,s=e.clone(),p=[],u=0;uy&&(c=S,P=f,g=y)}}if(-1===c||c>p.length-1)return;for(var A=0,M=0;Mi)return;var b=A/i;if(b>.7||b-r<0)return;2===l.length?(this.scaleValues[2]=b-r,this.scaleValues[3]=b):(this.scaleValues[3]=b-r,this.scaleValues[4]=b)}else if(1===t){var d=i*n,m=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(d,o);if(!m.bfind)return;var v=m.pts,O=(2*SuperMapAlgoPlot.PlottingUtil.distance(v,e)+d)/i;if(.7l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5010401=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbol4030802=void 0;l(0);var o=e.AlgoSymbol4030802=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return l.subText="队",l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol4030602),e}();SuperMapAlgoPlot.AlgoSymbol4030802=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.1||o<=0)&&(o=.1),this.scaleValues[0]=o,this.scaleValues[1]=this.getSubSymbolScaleValue(),this.scaleValues[2]=.5*o}var i=this.getLinePts(l,this.scaleValues[0],.5),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMap.Plot.PlottingUtil.dirAngle(i.startPt,i.endPt)*SuperMap.Plot.PlottingUtil.RTOD,r=SuperMap.Plot.PlottingUtil.distance(i.startPt,i.endPt);this.computeSubSymbolC(n,r,a);for(var s=[],p=0;p<=i.startIndex;p++)s.push(l[p]);s.push(new SuperMapAlgoPlot.Point(i.startPt.x,i.startPt.y));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s,{strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1});var u=[];if(i.endIndex<=l.length){u.push(new SuperMapAlgoPlot.Point(i.endPt.x,i.endPt.y));for(var P=i.endIndex+1;P<=l.length-1;P++)u.push(l[P]);this.addArrow(u,this.scaleValues[2])}var c=SuperMapAlgoPlot.PlottingUtil.circlePoint(n,.5*r,.5*r,a+90);this.addScalePoint(c,0),this.finish()}}},{key:"computeSubSymbolC",value:function(t,e,l){for(var o=[],i=0;i<360;i+=12)o.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t,.5*e,.5*e,i));o.push(o[0]);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,o,{lineColorLimit:!0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1})}}]),e}();SuperMapAlgoPlot.AlgoSymbol4030501=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,r=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],n,r,a);for(var s=[],p=[],u=0;u<=i.startIndex;u++)s.push(e[u]);if(s.push(i.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){p.push(i.endPt);for(var P=i.endIndex+1;P<=e.length-1;P++)p.push(e[P]);var c=SuperMapAlgoPlot.PlottingUtil.polylineDistance(p);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,p)}var g=this.subText,S=.15*c,h=new SuperMapAlgoPlot.Point(i.endPt.x+S/2,i.endPt.y-S/2),f=a;this.addText(g,h,S,f);var y=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.5*l,e),A=SuperMapAlgoPlot.PlottingUtil.circlePoint(y.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,a+90);this.addScalePoint(A,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=2&&this.controlPoints.length=s.length)this.finish();else{var P=s[0].clone(),c=s[0].clone();for(p=0;ps[p].x&&(P=s[p].clone()),c.x=P.x&&((g=[]).push(P),g.push(S),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g));var h=new SuperMapAlgoPlot.Point(a.x+n/2,c.y);h.x<=c.x&&h.x>=P.x&&((g=[]).push(c),g.push(h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g)),this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],a,n,0),this.addScalePoint(a,0);var f=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,n/2,n/2,90);this.addScalePoint(f,1),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l),n=e,a=0,r=0;if(0===t){if(!SuperMapAlgoPlot.PlottingUtil.ptIsInPolygon(l,n))return;a=(n.x-i.x)/o,this.scaleValues[0]=a,r=(n.y-i.y)/o,this.scaleValues[1]=r}if(1===t){a=this.scaleValues[0],r=this.scaleValues[1];var s=new SuperMapAlgoPlot.Point(i.x+a*o,i.y+r*o),p=2*SuperMapAlgoPlot.PlottingUtil.distance(n,s);this.scaleValues[2]=p/o}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol3002005=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(2>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(e),o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),i=this.scaleValues[0],n=this.scaleValues[1],a=l*this.scaleValues[2],r=new SuperMapAlgoPlot.Point(o.x+l*i,o.y+l*n),s=new SuperMapAlgoPlot.Point(r.x+1,r.y),p=[];e.push(e[0].clone());for(var u=0;u=p.length)this.finish();else{var c=p[0].clone(),g=p[0].clone();for(u=0;up[u].x&&(c=p[u].clone()),g.x=c.x&&((S=[]).push(c),S.push(h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,S));var f=new SuperMapAlgoPlot.Point(r.x+a/2,g.y);f.x<=g.x&&f.x>=c.x&&((S=[]).push(g),S.push(f),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,S));var y=SuperMapAlgoPlot.PlottingUtil.radian(h,f)*SuperMapAlgoPlot.PlottingUtil.RTOD;this.addText("火",r,a,y),this.addScalePoint(r,0);var A=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,a/2,a/2,90);this.addScalePoint(A,1),this.finish()}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l),n=e,a=0,r=0;if(0===t){if(!SuperMapAlgoPlot.PlottingUtil.ptIsInPolygon(l,n))return;a=(n.x-i.x)/o,this.scaleValues[0]=a,r=(n.y-i.y)/o,this.scaleValues[1]=r}if(1===t){a=this.scaleValues[0],r=this.scaleValues[1];var s=new SuperMapAlgoPlot.Point(i.x+a*o,i.y+r*o),p=2*SuperMapAlgoPlot.PlottingUtil.distance(n,s);this.scaleValues[2]=p/o}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol3002004=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.AlgoSymbol3002003=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol),e}()},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length=p.length)this.finish();else{var c=p[0].clone(),g=p[0].clone();for(u=0;up[u].x&&(c=p[u].clone()),g.xl.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l),n=e,a=0,r=0;if(0===t){if(!SuperMapAlgoPlot.PlottingUtil.ptIsInPolygon(l,n))return;a=(n.x-i.x)/o,this.scaleValues[0]=a,r=(n.y-i.y)/o,this.scaleValues[1]=r}if(1===t){a=this.scaleValues[0],r=this.scaleValues[1];var s=new SuperMapAlgoPlot.Point(i.x+a*o,i.y+r*o),p=2*SuperMapAlgoPlot.PlottingUtil.distance(n,s);this.scaleValues[2]=p/o}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol3002002=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol3002001=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return l.subText="震",l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol30020),e}();SuperMapAlgoPlot.AlgoSymbol3002001=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0){var S=SuperMapAlgoPlot.PlottingUtil.radian(t[0],t[1])*SuperMapAlgoPlot.PlottingUtil.RTOD,h=.5*SuperMapAlgoPlot.PlottingUtil.distance(a,r);this.computeSubSymbol(this.subSymbols[0],n,h,S+180)}var f=SuperMapAlgoPlot.PlottingUtil.linePnt(t[t.length-1],t[t.length-2],e),y=new SuperMapAlgoPlot.Point(f.x,f.y),A=new SuperMapAlgoPlot.Point(f.x,f.y);y=SuperMapAlgoPlot.PlottingUtil.rotateAngle(t[t.length-1],1/6*Math.PI,y),A=SuperMapAlgoPlot.PlottingUtil.rotateAngle(t[t.length-1],11/6*Math.PI,A);var M=[];M.push(y),M.push(t[t.length-1]),M.push(A),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,M),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol3001301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],r,s,0),this.addText("盗",r,s,0),this.addScalePoint(r,0);var p=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,s,s,90);this.addScalePoint(p,1),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length0&&this.computeSubSymbol(this.subSymbols[0],a,s,0),this.addText("私",r,s,0,"#0000FF"),this.addScalePoint(r,0);var p=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,s,s,90);this.addScalePoint(p,1),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,r=.8*SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);this.subSymbols.length>0&&(this.computeSubSymbol(this.subSymbols[0],n,r,a+180),this.computeSubSymbol(this.subSymbols[1],n,.5*r,a+180));for(var s=[],p=[],u=0;u<=i.startIndex;u++)s.push(e[u]);if(s.push(i.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){p.push(i.endPt);for(var P=i.endIndex+1;P<=e.length-1;P++)p.push(e[P]);this.addArrow(p)}var c=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.5*l,e),g=SuperMapAlgoPlot.PlottingUtil.circlePoint(c.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,a+90);this.addScalePoint(g,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,r=.8*SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],n,r,a+180);var s=[],p=new SuperMapAlgoPlot.Point(0,0);p.x=-r/6,p.y=r/3;var u=new SuperMapAlgoPlot.Point(0,0),P=SuperMapAlgoPlot.PlottingUtil.rotateAngle(u,a*SuperMapAlgoPlot.PlottingUtil.DTOR,p),c=new SuperMapAlgoPlot.Point(P.x+n.x,P.y+n.y);p.x=r/6,p.y=r/3;var g=SuperMapAlgoPlot.PlottingUtil.rotateAngle(u,a*SuperMapAlgoPlot.PlottingUtil.DTOR,p),S=new SuperMapAlgoPlot.Point(g.x+n.x,g.y+n.y);p.x=0,p.y=-r/3;var h=SuperMapAlgoPlot.PlottingUtil.rotateAngle(u,a*SuperMapAlgoPlot.PlottingUtil.DTOR,p),f=new SuperMapAlgoPlot.Point(h.x+n.x,h.y+n.y);s.push(c),s.push(S),s.push(f);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,s,{fillLimit:!0,fill:!0});for(var y=[],A=[],M=0;M<=i.startIndex;M++)y.push(e[M]);if(y.push(i.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,y),i.endIndex<=e.length){A.push(i.endPt);for(var b=i.endIndex+1;b<=e.length-1;b++)A.push(e[b]);this.addArrow(A)}var d=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.5*l,e),m=SuperMapAlgoPlot.PlottingUtil.circlePoint(d.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,a+90);this.addScalePoint(m,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,r=.8*SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);this.subSymbols.length>0&&(this.computeSubSymbol(this.subSymbols[0],n,.05*r,a+90),this.computeSubSymbol(this.subSymbols[1],n,r,a+180));for(var s=[],p=[],u=0;u<=i.startIndex;u++)s.push(e[u]);if(s.push(i.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){p.push(i.endPt);for(var P=i.endIndex+1;P<=e.length-1;P++)p.push(e[P]);this.addArrow(p)}var c=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.5*l,e),g=SuperMapAlgoPlot.PlottingUtil.circlePoint(c.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,a+90);this.addScalePoint(g,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,r=.8*SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],n,r,a+180);for(var s=[],p=[],u=0;u<=i.startIndex;u++)s.push(e[u]);if(s.push(i.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){p.push(i.endPt);for(var P=i.endIndex+1;P<=e.length-1;P++)p.push(e[P]);this.addArrow(p)}var c=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.5*l,e),g=SuperMapAlgoPlot.PlottingUtil.circlePoint(c.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,a+90);this.addScalePoint(g,0),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol3000804=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol3000803=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol3000801),e}();SuperMapAlgoPlot.AlgoSymbol3000803=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol3000802=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol3000801),e}();SuperMapAlgoPlot.AlgoSymbol3000802=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,r=.8*SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],n,r,a);for(var s=[],p=[],u=0;u<=i.startIndex;u++)s.push(e[u]);if(s.push(i.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){p.push(i.endPt);for(var P=i.endIndex+1;P<=e.length-1;P++)p.push(e[P]);this.addArrow(p)}var c=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.5*l,e),g=SuperMapAlgoPlot.PlottingUtil.circlePoint(c.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,a+90);this.addScalePoint(g,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length.8?n=.8:n<.2&&(n=.2),this.scaleValues[1]=n}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol2122301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lo)return l;for(var i=SuperMapAlgoPlot.PlottingUtil.clonePoints(t),n=2*parseInt(o/(1.5*e)),a=0;a0&&l.push(i),l}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).lengtho)return l;for(var i=SuperMapAlgoPlot.PlottingUtil.clonePoints(t),n=2*parseInt(o/(1.5*e)),a=0;a0&&l.push(i),l}}]),e}();SuperMapAlgoPlot.AlgoSymbol2122201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(2>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.POLYBEZIERCLOSESYMBOL,e);for(var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(e),o=e[0].x,i=e[0].x,n=e[0].y,a=e[0].y,r=[],s=0;se[s].x&&(o=e[s].x),ie[s].y&&(n=e[s].y),a10&&(p=10);for(var u=.2*p,P=[],c=0;c<360;c+=18){var g=SuperMapAlgoPlot.PlottingUtil.circlePoint(new SuperMapAlgoPlot.Point(0,0),u,u,c);P.push(g)}for(var S=0,h=o;h0?new SuperMapAlgoPlot.Point(g.pntLeft.x,g.pntLeft.y):new SuperMapAlgoPlot.Point(g.pntRight.x,g.pntRight.y);var S=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(r,c,P.pt),h=[];if(h.push(S.pntRight),h.push(c),h.push(S.pntLeft),0===u){var f=new SuperMapAlgoPlot.Point(c.x,c.y);f.isScalePoint=!0,f.tag=0,this.scalePoints.push(f)}this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,h,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0})}}var y=SuperMapAlgoPlot.PlottingUtil.radian(t[t.length-2],t[t.length-1])*SuperMapAlgoPlot.PlottingUtil.RTOD,A=.1*i,M=SuperMapAlgoPlot.PlottingUtil.distance(t[t.length-1],t[t.length-2]),b=SuperMapAlgoPlot.PlottingUtil.linePnt(t[t.length-2],t[t.length-1],.5*A+M);this.addText(this.subText,b,A,y),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),o=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(l[0],l[1],e);this.scaleValues[0]=o?-1:1}}}]),e}();SuperMapAlgoPlot.AlgoSymbol2121601=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol2121507=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return l.subText="复",l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol2121505),e}();SuperMapAlgoPlot.AlgoSymbol2121507=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol2121506=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return l.subText="墩",l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol2121505),e}();SuperMapAlgoPlot.AlgoSymbol2121506=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],n,h,S),this.addScalePoint(u[0],0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!=t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length.24&&(i=.24),this.scaleValues[0]=i}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol2121504=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lo&&go){var S;S=c>o?u:P;var h=this.getLineAddCircleIntersectPts(u,P,s);h.length>0&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[h[0],S])}else{var f=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,u,P);if(SuperMapAlgoPlot.PlottingUtil.distance(r,f)>=o)this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[u,P]);else if(SuperMapAlgoPlot.PlottingUtil.pointIsOnPolyLine(f,u,P)){var y=this.getLineAddCircleIntersectPts(u,P,s);if(y.length>0){y.unshift(u),y.push(P);for(var A=0;A=t.length-1?SuperMapAlgoPlot.PlottingUtil.radian(t[t.length-2],t[t.length-1])*SuperMapAlgoPlot.PlottingUtil.RTOD:SuperMapAlgoPlot.PlottingUtil.radian(t[n.index],t[n.index+1])*SuperMapAlgoPlot.PlottingUtil.RTOD,this.subSymbols.length>0){if(null!==this.subSymbols[0].symbolData)for(var M=0;MSuperMapAlgoPlot.PlottingUtil.distance(i,l)}},{key:"getLineAddCircleIntersectPts",value:function(t,e,l){var o=l.slice();o[0].x===o[o.length-1].x&&o[0].y===o[o.length-1].y||o.push(o[0]);for(var i=[],n=0;ne.x){for(var u=0;ui[c+1].x){var g=i[c];i[c]=i[c+1],i[c+1]=g}}else if(t.y>e.y){for(var S=0;Si[f+1].y){var y=i[f];i[f]=i[f+1],i[f+1]=y}return i}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===t){for(var i=0,n=-1,a=null,r=0;r1&&(c=1),this.scaleValues[0]=c}if(1===t){var g=this.scaleValues[0]*o,S=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(l,g);if(-1===S.index)return;var h=SuperMapAlgoPlot.PlottingUtil.distance(S.pt,e)/o;h>.4&&(h=.4),this.scaleValues[1]=h}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol2092101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l1&&(c.push(g),g=[]):g.push(a.pt[S]);g.length>1&&c.push(g);for(var h=0;hthis.scaleValues.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(i),a=new SuperMapAlgoPlot.Point(e.x,e.y);if(0===t){var r=l[0],s=SuperMapAlgoPlot.PlottingUtil.distance(r,a);this.scaleValues[1]=2*s/o}else if(1===t)r=l[0],s=SuperMapAlgoPlot.PlottingUtil.distance(r,a),this.scaleValues[0]=s/o;else if(2===t){for(var p=-1,u=0,P=new SuperMapAlgoPlot.Point(0,0),c=0;cf&&(p=c,P=h,u=f)}}if(-1===p||p>i.length-1)return;for(var y=[],A=0;An)return;this.scaleValues[2]=M/n}else if(3===t){var b=n*this.scaleValues[2],d=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(i,b);if(-1===d.index)return;var m=SuperMapAlgoPlot.PlottingUtil.distance(d.pt,e);this.scaleValues[3]=m/o}}}},{key:"GetCurvePts",value:function(t,e,l){for(var o,i=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(i),a=n*e,r=n*l/2,s=[],p=[],u=i[0],P=!1,c=i[0],g=1;g1&&0===A?this.ClearCurvePts2D(c,u,S,p,M,s):s.concat(M),p=(p=[]).concat(M),c=u,u=f}g===i.length-1&&(f=i[i.length-1],M=this.GetCosPts2D(u,f,a,r),s=p.length>1&&M.length>1?this.ClearCurvePts2D(c,u,S,p,M,s):s.concat(M))}}return{pt:s,scalePt:o}}},{key:"GetCosPts2D",value:function(t,e,l,o){for(var i=[],n=SuperMapAlgoPlot.PlottingUtil.distance(t,e),a=l/30,r=0;r0)this.computeSubSymbol(this.subSymbols[0],P,.9*u,S-90);else{var f=new SuperMapAlgoPlot.Point(.3*u,0),y=new SuperMapAlgoPlot.Point(.4*u,0),A=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,f,S),M=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,y,S),b=[];b.push(A),b.push(M),this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,b,{fill:!1,fillLimit:!0,lineTypeLimit:!0,surroundLineLimit:!0});var d=new SuperMapAlgoPlot.Point(-.4*u,0),m=new SuperMapAlgoPlot.Point(-.3*u,0),v=new SuperMapAlgoPlot.Point(-.3*u,.2*u),O=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,d,S),U=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,m,S),L=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,v,S);(b=[]).push(A),b.push(O),b.push(L),b.push(U),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,b,{fillLimit:!0,lineTypeLimit:!0,surroundLineLimit:!0});var w=new SuperMapAlgoPlot.Point(-.2*u,0),_=SuperMapAlgoPlot.PlottingUtil.circlePoint(w,.3*u,.3*u,45),V=SuperMapAlgoPlot.PlottingUtil.circlePoint(w,.3*u,.3*u,315),T=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,w,S),E=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,_,S),x=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,V,S);(b=[]).push(E),b.push(T),b.push(x),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,b,{fillLimit:!0,lineTypeLimit:!0,surroundLineLimit:!0});var C=SuperMapAlgoPlot.PlottingUtil.circlePoint(f,.15*u,.15*u,45),j=SuperMapAlgoPlot.PlottingUtil.circlePoint(f,.15*u,.15*u,315),Y=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,C,S),I=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,j,S);(b=[]).push(Y),b.push(A),b.push(I),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,b,{fillLimit:!0,lineTypeLimit:!0,surroundLineLimit:!0})}this.scalePoints=[],this.addScalePoint(s[s.length-1]);var R=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,u,u,S+90);this.addScalePoint(R),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]);if(0==t){var i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}else if(1==t){var n=this.scaleValues[0]*o,a=SuperMapAlgoPlot.PlottingUtil.radian(l[0],l[1])*SuperMapAlgoPlot.PlottingUtil.RTOD,r=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[0],n,n,90+a),s=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[1],n,n,90+a),p=new SuperMapAlgoPlot.Point((r.x+s.x)/2,(r.y+s.y)/2),u=SuperMapAlgoPlot.PlottingUtil.distance(p,e)/o;u>=.8&&(u=.8),this.scaleValues[1]=u}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol90217=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=o,this.scaleValues[2]=.5*o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=180*SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)/Math.PI,r=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);if(0=2){for(var i=-1,n=0;n0)this.computeSubSymbol(this.subSymbols[0],P,.9*u,h-90);else{h+=180;var f=new SuperMapAlgoPlot.Point(.3*u,0),y=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,f,h),A=[],M=new SuperMapAlgoPlot.Point(-.6*u,0),b=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,M,h);(A=[]).push(y),A.push(b),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,A);var d=new SuperMapAlgoPlot.Point(-.35*u,0),m=SuperMapAlgoPlot.PlottingUtil.circlePoint(d,.4*u,.4*u,45),v=SuperMapAlgoPlot.PlottingUtil.circlePoint(d,.4*u,.4*u,315),O=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,d,h),U=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,m,h),L=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(P,v,h);(A=[]).push(U),A.push(O),A.push(L),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,A)}this.scalePoints=[],this.addScalePoint(s[s.length-1]);var w=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,u,u,h+90);this.addScalePoint(w),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]);if(0==t){var i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}else if(1==t){var n=this.scaleValues[0]*o,a=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[0],n,n,90),r=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[1],n,n,90),s=new SuperMapAlgoPlot.Point((a.x+r.x)/2,(a.y+r.y)/2),p=SuperMapAlgoPlot.PlottingUtil.distance(s,e)/o;p>=.8&&(p=.8),this.scaleValues[1]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol90212=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e,{lineColorLimit:!0,strokeColor:"#ff00ff",strokeOpacity:1,color:"#ff00ff",opacity:1,lineColor:"#ff00ff"});var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/l;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=.4*i}var n=this.scaleValues[0],a=this.scaleValues[1],r=this.scaleValues[2],s=this.scaleValues[3],p=l*n,u=new SuperMapAlgoPlot.Point(o.x-l*r,o.y-l*s),P=new SuperMapAlgoPlot.Point(o.x-l*a,o.y-l*s);this.addText("!",u,4*p,0,"#ff00ff"),this.addText("!",P,4*p,0,"#ff00ff"),this.scalePoints=[];var c=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,p,p,0);this.addScalePoint(c),this.addScalePoint(o),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),o=[];if(o=3>=(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=(e.x-n.x)/i;this.scaleValues[2]=-a;var r=(e.y-n.y)/i;this.scaleValues[3]=-r}else if(1==t){a=this.scaleValues[2],r=this.scaleValues[3];var s=new SuperMapAlgoPlot.Point(n.x+i*a,n.y+i*r),p=SuperMapAlgoPlot.PlottingUtil.distance(s,new SuperMapAlgoPlot.Point(e.x,e.y))/2/i;this.scaleValues[0]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol8020301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e,{lineColorLimit:!0,strokeColor:"#008000",strokeOpacity:1,color:"#008000",opacity:1,lineColor:"#008000"});var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/l;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=.4*i}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3],s=l*n,p=new SuperMapAlgoPlot.Point(o.x-l*a,o.y-l*r);this.addText("!",p,4*s,0,"#008000"),this.scalePoints=[];var u=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,s,s,0);this.addScalePoint(u),this.addScalePoint(o),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),o=[];if(o=3>=(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=(e.x-n.x)/i;this.scaleValues[2]=-a;var r=(e.y-n.y)/i;this.scaleValues[3]=-r}else if(1==t){a=this.scaleValues[2],r=this.scaleValues[3];var s=new SuperMapAlgoPlot.Point(n.x+i*a,n.y+i*r),p=SuperMapAlgoPlot.PlottingUtil.distance(s,new SuperMapAlgoPlot.Point(e.x,e.y))/2/i;this.scaleValues[0]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol80203=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0){var l;if(null==this.subSymbols[0].symbolData)return;l=this.subSymbols[0].symbolData.symbolSize.x;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),i=o*this.scaleValues[4],n=o*this.scaleValues[5],a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i,t),r=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(n,t),s=SuperMapAlgoPlot.PlottingUtil.radian(r.pts,a.pts)*SuperMapAlgoPlot.PlottingUtil.RTOD+270,p=100*SuperMapAlgoPlot.PlottingUtil.distance(a.pts,r.pts)/l;if(null==this.subSymbols.length)return;if(null!=this.subSymbols[0].code){this.computeSubSymbol(this.subSymbols[0],r.pts,p,s-90);var u=SuperMapAlgoPlot.PlottingUtil.circlePoint(r.pts,p,p,s+90),P=SuperMapAlgoPlot.PlottingUtil.circlePoint(r.pts,2*p,2*p,s+90),c=[];c.push(u),c.push(P),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,c);var g=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,.2*p,.2*p,s+90),S=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,.05*p,.05*p,s),h=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,.05*p,.05*p,s+180),f=[];f.push(g),f.push(S),f.push(h);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,f,{fillLimit:!0,fill:!0})}a.pts.isScalePoint=!0,a.pts.tag=this.scalePoints.length,this.scalePoints.push(a.pts.clone()),r.pts.isScalePoint=!0,r.pts.tag=this.scalePoints.length,this.scalePoints.push(r.pts.clone())}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length<2)return;if(this.scaleValues.length<6&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(.148),this.scaleValues.push(.4),this.scaleValues.push(.312),this.scaleValues.push(.2),this.scaleValues.push(.01)),t<=2)SuperMapAlgoPlot.AlgoSymbol1004.prototype.computeScaleValues.apply(this,arguments);else if(3==t||4==t){var o=new SuperMapAlgoPlot.Point((l[0].x+l[1].x)/2,(l[0].y+l[1].y)/2),i=SuperMapAlgoPlot.PlottingUtil.clonePoints(l);i.splice(0,2),i.unshift(o);var n=SuperMapAlgoPlot.PlottingUtil.projectPtOnPolyLine(e,i),a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(i);if(3===t&&null==n.pt&&(n.pt=o.clone()),-1==n.index&&4==t)this.scaleValues[t+1]=.01;else{var r=SuperMapAlgoPlot.PlottingUtil.clonePoints(i);r.splice(0,n.index+1),r.unshift(n.pt);var s=SuperMapAlgoPlot.PlottingUtil.polylineDistance(r);a.5&&(this.scaleValues[4]=.5)}}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol60310=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.24&&(i=.24),this.scaleValues[0]=i}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol2121505=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol60301=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return l.subText="爆",l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol30020),e}();SuperMapAlgoPlot.AlgoSymbol60301=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[2]=2*o}var i=l*this.scaleValues[0],n=this.scaleValues[1],a=l*this.scaleValues[2],r=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i,e);if(r.bfind){var s=r.pts.clone(),p=e[r.index].clone(),u=e[r.index+1].clone(),P=SuperMapAlgoPlot.PlottingUtil.radian(p,u)*SuperMapAlgoPlot.PlottingUtil.RTOD,c=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,a,a,P+n),g=[];g.push(r.pts),g.push(c);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g,{lineTypeLimit:!0,surroundLineLimit:!0});var S=SuperMapAlgoPlot.PlottingUtil.radian(s,c)*SuperMapAlgoPlot.PlottingUtil.RTOD,h=new SuperMapAlgoPlot.Point(-.2*a,.05*a),f=new SuperMapAlgoPlot.Point(-.2*a,-.05*a),y=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,h,S),A=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,f,S),M=[];M.push(c),M.push(y),M.push(A);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,M,{lineTypeLimit:!0,surroundLineLimit:!0,fillLimit:!0,fill:!0});var b=.3*a,d=.6*a,m=i-d;m<0&&(m=0);var v=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(m,e);if(v.bfind){var O=[];O.push(v.pts);for(var U=v.index;U>=0;U--)O.push(e[U]);var L=[];L.push(v.pts);for(var w=v.index+1;w1){var T=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(_,O);if(T.bfind){(V=[]).push(T.pts);for(var E=T.index+1;E1&&(O=O.concat(V))}}if(O.length>1&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,O),L.length>1){var x=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(_,L);if(x.bfind){(V=[]).push(x.pts);for(var C=x.index+1;C1&&(L=L.concat(V))}}var j=i+d;j>l&&(j=l),j=l-j;for(var Y=[],I=L.length-1;I>=0;I--)Y.push(L[I]);var R=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(j,Y);if(R.bfind){var B=[];B.push(R.pts);for(var N=R.index;N>=0;N--)B.push(Y[N]);var D=[];D.push(R.pts);for(var k=R.index+1;k1){var z=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(_,B);if(z.bfind){(V=[]).push(z.pts);for(var F=z.index+1;F1&&(B=B.concat(V))}}if(B.length>1&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,B),D.length>1){var G=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(_,D);if(G.bfind){(V=[]).push(G.pts);for(var W=G.index+1;W1&&(D=D.concat(V))}}D.length>1&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,D),this.subSymbols.length>0&&(this.computeSubSymbol(this.subSymbols[0],v.pts,b,P+n+180,.3),this.computeSubSymbol(this.subSymbols[1],R.pts,b,P+n+180,.3)),this.addScalePoint(r.pts,0),this.addScalePoint(c,1),this.finish()}}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).lengtht||1g&&(r=u,s=c,p=g)}}if(-1===r||r>n.length-1)return;for(var S=0,h=0;hi)return;this.scaleValues[0]=S/i}if(1===t){var M=i*this.scaleValues[0],b=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(M,o);if(!b.bfind)return;var d=b.pts.clone(),m=new SuperMapAlgoPlot.Point(o[b.index].x,o[b.index].y),v=new SuperMapAlgoPlot.Point(o[b.index+1].x,o[b.index+1].y),O=SuperMapAlgoPlot.PlottingUtil.radian(m,v)*SuperMapAlgoPlot.PlottingUtil.RTOD,U=SuperMapAlgoPlot.PlottingUtil.radian(d,e)*SuperMapAlgoPlot.PlottingUtil.RTOD;this.scaleValues[1]=U-O;var L=SuperMapAlgoPlot.PlottingUtil.distance(d,e);this.scaleValues[2]=L/i}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol60205=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&(s+=SuperMapAlgoPlot.PlottingUtil.distance(r[p],r[p-1]));var u,P,c=i-s,g=l*this.scaleValues[1],S=[];if(c>=g){u=SuperMapAlgoPlot.PlottingUtil.linePnt(a,e[n.index],g),r.push(u),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,r),P=SuperMapAlgoPlot.PlottingUtil.linePnt(a,e[n.index+1],g),S.push(P);for(var h=e.length,f=n.index+1;f=0;b--)if(y=new SuperMapAlgoPlot.Point(r[b].x,r[b].y),A=new SuperMapAlgoPlot.Point(a.x,a.y),SuperMapAlgoPlot.PlottingUtil.distance(y,A)>g){M=b;break}if(-1==M)return;r.splice(M+1,r.length-1-M),u=SuperMapAlgoPlot.PlottingUtil.linePnt(a,e[M],g),r.push(u),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,r);for(var d=-1,m=n.index;mg){d=m;break}if(-1==d)return;P=SuperMapAlgoPlot.PlottingUtil.linePnt(a,e[d],g),S.push(P);for(var v=d+1;v0){if(null!==this.subSymbols[0].symbolData)for(var R=0;Rl.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol6012702=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.2||i<=0)&&(i=.2),this.scaleValues[0]=i,this.scaleValues[1]=.5*this.getSubSymbolScaleValue(),this.scaleValues[2]=0}for(var n=this.getLinePts(l,this.scaleValues[0],.5),a=new SuperMapAlgoPlot.Point((n.startPt.x+n.endPt.x)/2,(n.startPt.y+n.endPt.y)/2),r=SuperMapAlgoPlot.PlottingUtil.dirAngle(n.startPt,n.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,s=SuperMapAlgoPlot.PlottingUtil.distance(n.startPt,n.endPt),p=[],u=0;u<=n.startIndex;u++)p.push(l[u]);p.push(new SuperMapAlgoPlot.Point(n.startPt.x,n.startPt.y)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,p);var P=[];if(n.endIndex<=l.length){P.push(new SuperMapAlgoPlot.Point(n.endPt.x,n.endPt.y));for(var c=n.endIndex+1;c<=l.length-1;c++)P.push(l[c]);this.addArrow(P,this.scaleValues[1])}if(this.subSymbols.length>0)this.computeSubSymbol(this.subSymbols[0],centerPoint,.8*s,r-180);else{var g=new SuperMapAlgoPlot.Point(0,.2*s),S=new SuperMapAlgoPlot.Point(s,.2*s),h=new SuperMapAlgoPlot.Point(s,-.2*s),f=new SuperMapAlgoPlot.Point(0,-.2*s),y=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(p[p.length-1],g,r),A=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(p[p.length-1],S,r),M=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(p[p.length-1],h,r),b=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(p[p.length-1],f,r),d=[];d.push(y),d.push(A),d.push(M),d.push(b),d.push(y);var m={lineColorLimit:!0,strokeColor:"#008000",strokeOpacity:1,color:"#008000",opacity:1,lineColor:"#008000"};this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,d,m);var v=new SuperMapAlgoPlot.Point(.5*s,.2*s),O=new SuperMapAlgoPlot.Point(.5*s,-.2*s),U=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(p[p.length-1],v,r),L=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(p[p.length-1],O,r);(d=[]).push(U),d.push(L),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,d,m);var w=0,_=0,V=0,T=0,E=0,x=this.scaleValues[1];x=.7*SuperMapAlgoPlot.PlottingUtil.distance(p[0],p[p.length-1]);var C=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(x,p);if(!C.bfind)return;w=C.index;var j,Y,I,R=C.pts,B=.1*s,N=(g=new SuperMapAlgoPlot.Point(p[w].x,p[w].y),S=new SuperMapAlgoPlot.Point(R.x,R.y),SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(B,g,S));T=N.pntLeft.x,E=N.pntLeft.y,_=N.pntRight.x,V=N.pntRight.y,0==(j=this.scaleValues[2])?Y=new SuperMapAlgoPlot.Point(_,V):1==j&&(Y=new SuperMapAlgoPlot.Point(T,E)),(d=[]).push(Y),d.push(R),this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,d),_=0,V=0,T=0,E=0;var D;D=.3*SuperMapAlgoPlot.PlottingUtil.distance(p[0],p[p.length-1]);var k=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(D,P);if(!k.bfind)return;w=k.index,I=k.pts;h=new SuperMapAlgoPlot.Point(P[w].x,P[w].y),f=new SuperMapAlgoPlot.Point(I.x,I.y);var z,F=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(B,h,f);T=F.pntLeft.x,E=F.pntLeft.y,_=F.pntRight.x,V=F.pntRight.y,0==j?z=new SuperMapAlgoPlot.Point(_,V):1==j&&(z=new SuperMapAlgoPlot.Point(T,E)),(d=[]).push(z),d.push(I),this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,d),this.scalePoints=[];var G=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,.5*s,.5*s,r+90);this.addScalePoint(G,0),this.addScalePoint(z,1)}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=this.scaleValues[0],n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0==t){var a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.5*n,o),r=2*SuperMapAlgoPlot.PlottingUtil.distance(a.pts,e)/n;this.scaleValues[0]=r<=.3?r:.3}else{var s=n*(.5+.5*i),p=(t=-1,SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(s,o));if(!p.bfind)return;t=p.index,p.pts;var u=new SuperMapAlgoPlot.Point(o[t].x,o[t].y),P=new SuperMapAlgoPlot.Point(o[t+1].x,o[t+1].y),c=new SuperMapAlgoPlot.Point(e.x,e.y),g=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(u,P,c);this.scaleValues[2]=g?0:1}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol5035501=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.SuperMap=window.SuperMap=window.SuperMap||{};e.Plot=o.Plot=o.Plot||{},e.SuperMapAlgoPlot=window.SuperMapAlgoPlot=o.Plot||{}},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbol50355=void 0;var o=function(){function t(t,e){for(var l=0;l.2||n<=0)&&(n=.2),this.scaleValues[0]=n,this.scaleValues[1]=.5*this.getSubSymbolScaleValue()}for(var a=this.getLinePts(l,this.scaleValues[0],.5),r=new i.SuperMapAlgoPlot.Point((a.startPt.x+a.endPt.x)/2,(a.startPt.y+a.endPt.y)/2),s=i.SuperMapAlgoPlot.PlottingUtil.dirAngle(a.startPt,a.endPt)*i.SuperMapAlgoPlot.PlottingUtil.RTOD,p=i.SuperMapAlgoPlot.PlottingUtil.distance(a.startPt,a.endPt),u=[],P=0;P<=a.startIndex;P++)u.push(l[P]);u.push(new i.SuperMapAlgoPlot.Point(a.startPt.x,a.startPt.y)),this.addCell(i.SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,u);var c=[];if(a.endIndex<=l.length){c.push(new i.SuperMapAlgoPlot.Point(a.endPt.x,a.endPt.y));for(var g=a.endIndex+1;g<=l.length-1;g++)c.push(l[g]);this.addArrow(c,this.scaleValues[2])}this.scalePoints=[];var S=i.SuperMapAlgoPlot.PlottingUtil.circlePoint(r,.5*p,.5*p,s+90);if(this.addScalePoint(S,0),this.subSymbols.length>0)this.computeSubSymbol(this.subSymbols[0],centerPoint,.8*p,s-180);else{var h=new i.SuperMapAlgoPlot.Point(0,.2*p),f=new i.SuperMapAlgoPlot.Point(p,.2*p),y=new i.SuperMapAlgoPlot.Point(p,-.2*p),A=new i.SuperMapAlgoPlot.Point(0,-.2*p),M=i.SuperMapAlgoPlot.PlottingUtil.coordinateTrans(u[u.length-1],h,s),b=i.SuperMapAlgoPlot.PlottingUtil.coordinateTrans(u[u.length-1],f,s),d=i.SuperMapAlgoPlot.PlottingUtil.coordinateTrans(u[u.length-1],y,s),m=i.SuperMapAlgoPlot.PlottingUtil.coordinateTrans(u[u.length-1],A,s),v=[];v.push(M),v.push(b),v.push(d),v.push(m),v.push(M);var O={lineColorLimit:!0,strokeColor:"#008000",strokeOpacity:1,color:"#008000",opacity:1,lineColor:"#008000"};this.addCell(i.SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,v,O);var U=new i.SuperMapAlgoPlot.Point(.5*p,.2*p),L=new i.SuperMapAlgoPlot.Point(.5*p,-.2*p),w=i.SuperMapAlgoPlot.PlottingUtil.coordinateTrans(u[u.length-1],U,s),_=i.SuperMapAlgoPlot.PlottingUtil.coordinateTrans(u[u.length-1],L,s);(v=[]).push(w),v.push(_),this.addCell(i.SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,v,O)}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var l=i.SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=i.SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length2){for(var w=i;w2){for(var _=i;_2){for(var w=i;w2){for(var _=i;_=P.index;G--)k.push(t[G]);this.addArrow(k,.2*this.scaleValues[0])}},{key:"computeScaleValues",value:function(t,e){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length}}]),e}();SuperMapAlgoPlot.AlgoSymbol50354=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0){var l;if(null==this.subSymbols[0].symbolData)return;l=this.subSymbols[0].symbolData.symbolSize.x;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),i=o*this.scaleValues[4],n=o*this.scaleValues[5],a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i,t),r=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(n,t),s=SuperMapAlgoPlot.PlottingUtil.radian(r.pts,a.pts)*SuperMapAlgoPlot.PlottingUtil.RTOD+270,p=60*SuperMapAlgoPlot.PlottingUtil.distance(a.pts,r.pts)/l,u=new SuperMapAlgoPlot.Point((r.pts.x+a.pts.x)/2,(a.pts.y+r.pts.y)/2);if(null==this.subSymbols.length)return;if(null!=this.subSymbols[0].code){this.computeSubSymbol(this.subSymbols[0],u,p,s+90);var P=SuperMapAlgoPlot.PlottingUtil.circlePoint(r.pts,p,p,s+90),c=SuperMapAlgoPlot.PlottingUtil.circlePoint(r.pts,2*p,2*p,s+90),g=[];g.push(P),g.push(c),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g);var S=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,.2*p,.2*p,s+90),h=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,.05*p,.05*p,s),f=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,.05*p,.05*p,s+180),y=[];y.push(S),y.push(h),y.push(f);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,y,{fillLimit:!0,fill:!0})}a.pts.isScalePoint=!0,a.pts.tag=this.scalePoints.length,this.scalePoints.push(a.pts.clone()),r.pts.isScalePoint=!0,r.pts.tag=this.scalePoints.length,this.scalePoints.push(r.pts.clone())}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length<2)return;if(this.scaleValues.length<6&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(.148),this.scaleValues.push(.4),this.scaleValues.push(.312),this.scaleValues.push(.2),this.scaleValues.push(.01)),t<=2)SuperMapAlgoPlot.AlgoSymbol1004.prototype.computeScaleValues.apply(this,arguments);else if(3==t||4==t){var o=new SuperMapAlgoPlot.Point((l[0].x+l[1].x)/2,(l[0].y+l[1].y)/2),i=SuperMapAlgoPlot.PlottingUtil.clonePoints(l);i.splice(0,2),i.unshift(o);var n=SuperMapAlgoPlot.PlottingUtil.projectPtOnPolyLine(e,i),a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(i);if(-1===n.index&&3===t&&(n.pt=o.clone()),-1==n.index&&4==t)this.scaleValues[t+1]=.01;else{var r=SuperMapAlgoPlot.PlottingUtil.clonePoints(i);r.splice(0,n.index+1),r.unshift(n.pt);var s=SuperMapAlgoPlot.PlottingUtil.polylineDistance(r);a.5&&(this.scaleValues[4]=.5)}}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol50352=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=2*i}var n=this.scaleValues[0],a=o*this.scaleValues[2],r=o*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(l.x+a,l.y+r),p=o*n;this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],s,p,0);var u=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,p,p,180);this.addScalePoint(u,0),this.addScalePoint(s,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===n)return;var a=0,r=0,s=0,p=0;if(0===t){s=n*(a=this.scaleValues[2]),p=n*(r=this.scaleValues[3]);var u=new SuperMapAlgoPlot.Point(i.x+s,i.y+p),P=SuperMapAlgoPlot.PlottingUtil.distance(e,u)/n;this.scaleValues[0]=P}else 1===t&&(a=(s=e.x-i.x)/n,r=(p=e.y-i.y)/n,this.scaleValues[2]=a,this.scaleValues[3]=r)}}}]),e}();SuperMapAlgoPlot.AlgoSymbol50342=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol5033502=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return l.bShowArrow=!1,l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol50335),e}();SuperMapAlgoPlot.AlgoSymbol5033502=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.scaleValues.length&&this.scaleValues.push(.2);var e=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[1]),l=e*this.scaleValues[0];this.computeArcAndArrow(t[0],e,l,40,140),this.computeArcAndArrow(t[0],e,l,160,260),this.computeArcAndArrow(t[0],e,l,290,380);for(var o=[],i=0;i<360;i+=12)o.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],l,l,i));this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,o,{lineColorLimit:!0,fillStyle:1,color:"#0000FF",opacity:1}),this.computeSubCells(t[0],l),this.scalePoints=[];var n=SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],l,l,0);this.scalePoints.push(n),this.finish()}}},{key:"computeSubCells",value:function(t,e){}},{key:"computeArcAndArrow",value:function(t,e,l,o,i){for(var n=[],a=o;a.7&&(i=.6),this.scaleValues[0]=i}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol50335=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2&&(l=SuperMapAlgoPlot.PlottingUtil.distance(t[1],t[2]));for(var o=[],i=80;i<420;i+=12)o.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],l,e,i));o.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],l,e,420)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,o);var n=[],a=l>e?l:e;a*=1.5,n.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],a,a,50)),n.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],l,e,70)),n.push(new SuperMapAlgoPlot.Point(t[0].x,t[0].y));var r=SuperMapAlgoPlot.PlottingUtil.getBeizerCtrlPt(n),s=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsWithCtrlPt(r);this.addArrow(s,.1),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol50331=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.8){var O;if(!(O=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.8*l,d)))return;v=O.index,r.pts,f=[];for(var U=0;U.8){var N=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.8*l,I);if(!N.bfind)return;B=N.index,N.pts,f=[];for(var D=0;Df&&(u=g,c=h,P=f)}}if(-1==u||u>s.length-1)return;if(!(m=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(P,r)).bfind)return;var y=m.index;U=new SuperMapAlgoPlot.Point(r[(r[y].x,r[y].y)]),L=new SuperMapAlgoPlot.Point(r[(r[y+1].x,r[y+1].y)]),n=0;for(var A=0;Ao)return;var M=SuperMapAlgoPlot.PlottingUtil.dirAngle(U,L),b=SuperMapAlgoPlot.PlottingUtil.dirAngle(c,e)+M;this.scaleValues[4]=b;var d=n/o;this.scaleValues[0]=d}else if(1===t){var m;if(a=o*this.scaleValues[0],-1===(m=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(a,r)).index)return;y=m.index;var v=m.pts,O=new SuperMapAlgoPlot.Point(v.x,v.y),U=new SuperMapAlgoPlot.Point(r[y].x,r[y].y),L=new SuperMapAlgoPlot.Point(r[y+1].x,r[y+1].y);M=SuperMapAlgoPlot.PlottingUtil.dirAngle(U,L);b=SuperMapAlgoPlot.PlottingUtil.dirAngle(O,e)-M;this.scaleValues[4]=b;var w=(n=SuperMapAlgoPlot.PlottingUtil.distance(O,e))/o;this.scaleValues[2]=w>.65?.65:w}else if(2==t){for(var _=-1,V=0,T=new SuperMapAlgoPlot.Point(0,0),E=r.length,x=0;xY&&(_=x,T=j,V=Y)}}if(-1==_||_>E-1)return;for(var I=0,R=0;R<_;R++){var B=new SuperMapAlgoPlot.Point(r[R].x,r[R].y),N=new SuperMapAlgoPlot.Point(r[R+1].x,r[R+1].y);I+=SuperMapAlgoPlot.PlottingUtil.distance(B,N)}var D=new SuperMapAlgoPlot.Point(r[_].x,r[_].y);if((I+=SuperMapAlgoPlot.PlottingUtil.distance(D,T))<0||I>o)return;var k=I/o;this.scaleValues[1]=k}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol50328=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(this.RATIO_OUTLINE),this.scaleValues.push(.05));[].push(l[l.length-1]);var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);this.isEdit||(this.scaleValues.push(.5*this.getSubSymbolScaleValue()),this.scaleValues.push(this.getSubSymbolScaleValue()));for(var i=o*this.scaleValues[0],n=t[t.length-1],a=SuperMapAlgoPlot.PlottingUtil.distance(n,l[l.length-1]);a<=1.5*i;)l.pop(),a=SuperMapAlgoPlot.PlottingUtil.distance(n,l[l.length-1]);l.push(n),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,l);var r=l[l.length-2],s=SuperMapAlgoPlot.PlottingUtil.dirAngle(n,r)*SuperMapAlgoPlot.PlottingUtil.RTOD,p=SuperMapAlgoPlot.PlottingUtil.circlePoint(n,i,i,s+14),u=SuperMapAlgoPlot.PlottingUtil.circlePoint(n,i,i,s-14),P=[];P.push(p),P.push(n),P.push(u);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,P,{lineTypeLimit:!0,fillLimit:!0,fillStyle:0,strokeOpacity:1,opacity:1});var c=o*this.scaleValues[1],g=SuperMapAlgoPlot.PlottingUtil.dirAngle(l[0],l[1])*SuperMapAlgoPlot.PlottingUtil.RTOD,S=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[0],c,c,g+90),h=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[0],c,c,g-90),f=[];f.push(S),f.push(h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,f);var y=(o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t))*this.scaleValues[0];this.scalePoints=[];var A=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[l.length-1],y,y,s+180);this.scalePoints.push(A),this.scalePoints.push(S),this.finish()}}},{key:"computeScaleValues",value:function(t,e){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(!((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).lengththis.scaleValues.length&&(this.scaleValues.push(this.sv1_DefaultAtLenDivAbLen),this.scaleValues.push(this.sv2_DefaultAjWidthDivAtLen),this.scaleValues.push(this.sv3_DefaultAeWidthDivAtLen),this.scaleValues.push(this.sv4_DefaultAeLenDivAtLen),this.scaleValues.push(this.sv_arrowTailWidth));for(var l=e*this.scaleValues[4],o=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(l,t[1],t[0]),i=SuperMapAlgoPlot.PlottingUtil.distance(o.pntLeft,o.pntRight),n=i,a=2.5*i,r=SuperMapAlgoPlot.PlottingUtil.dirAngle(t[0],t[1])*SuperMapAlgoPlot.PlottingUtil.RTOD,s=[],p=120;p<420;p+=12)s.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t[0],n,.5*a,p+r-90));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s),this.finish()}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol50318=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.minEditPts){for(var g=1;g=0?(V=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(I,t[B],N)).pntRight:(V=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(I,t[B],N)).pntLeft;var D=SuperMapAlgoPlot.PlottingUtil.linePnt(N,P,I),k=.3*I,z=SuperMapAlgoPlot.PlottingUtil.linePnt(D,N,k),F=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(.3*k,D,z),G=F.pntLeft,W=F.pntRight;(h=[]).push(N),h.push(D),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,h,null,!0),(h=[]).push(G),h.push(D),h.push(W);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,h,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0},!0),this.addScalePoint(D),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(this.scalePoints.length<=t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=l.length,n=e;if(t>=0&&tf&&(u=g,c=h,P=f)}}if(-1===u||u>l.length-1)return;for(var y=0,A=0;Ao)return;this.scaleValues[i+1]=y/o;var m,v=this.scaleValues.length,O=o*this.scaleValues[v-3];m=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(l[u],l[u+1],n)?P/O:-Math.abs(P/O),this.scaleValues[i+2]=m}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol50308=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),i=this.scaleValues[0],n=this.scaleValues[2],a=this.scaleValues[3];o.x=o.x+n*l,o.y=o.y+a*l;var r=new SuperMapAlgoPlot.Point(.5*l*i,0),s=new SuperMapAlgoPlot.Point(-.5*l*i,0),p=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(o,r,0),u=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(o,s,0),P=[];P.push(p),P.push(u),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,P);var c=new SuperMapAlgoPlot.Point(.8*l*i,0),g=new SuperMapAlgoPlot.Point(-.8*l*i,0),S=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(o,c,0),h=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(o,g,0);this.subSymbols.length>0&&(this.computeSubSymbol(this.subSymbols[0],S,.05*i,90),this.computeSubSymbol(this.subSymbols[0],h,.05*i,90));var f=SuperMapAlgoPlot.PlottingUtil.circlePoint(o,i*l,i*l,180);this.addScalePoint(f,0),this.addScalePoint(o,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.controlPoints.length=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o),n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o);if(0===t){n.x=n.x+this.scaleValues[2]*i,n.y=n.y+this.scaleValues[3]*i;var a=SuperMapAlgoPlot.PlottingUtil.distance(e,n)/i;this.scaleValues[0]=a}if(1===t){var r=(e.x-n.x)/i;this.scaleValues[2]=r;var s=(e.y-n.y)/i;this.scaleValues[3]=s}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol50226=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length.2&&(this.subSymbolScaleValue=.2),this.scaleValues[0]=this.subSymbolScaleValue);var o=this.scaleValues[0],i=this.scaleValues[2],n=this.scaleValues[3],a=e*o,r=new SuperMapAlgoPlot.Point(l.x+e*i,l.y+e*n);this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],r,a,0),this.addScalePoint(r,0);var s=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,a,a,90);this.addScalePoint(s,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l);if(0===o)return;var n=0,a=0;if(0===t&&(n=(e.x-i.x)/o,this.scaleValues[2]=n,a=(e.y-i.y)/o,this.scaleValues[3]=a),1===t){n=this.scaleValues[2],a=this.scaleValues[3];var r=new SuperMapAlgoPlot.Point(i.x+o*n,i.y+o*a),s=SuperMapAlgoPlot.PlottingUtil.distance(r,e);this.scaleValues[0]=s/2/o}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol50225=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=2*i}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3];l.x=l.x+a*o,l.y=l.y+r*o;var s=new SuperMapAlgoPlot.Point(.25*o*n,.25*o*n),p=new SuperMapAlgoPlot.Point(0,.5*o*n),u=new SuperMapAlgoPlot.Point(-.25*o*n,.25*o*n),P=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(l,s,0),c=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(l,p,0),g=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(l,u,0);this.addCell(SuperMapAlgoPlot.SymbolType.ARCSYMBOL,[P,c,g],{lineTypeLimit:!0,lineColorLimit:!0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1,surroundLineLimit:!0});var S=new SuperMapAlgoPlot.Point(0,-.3*o*n),h=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(l,S,0);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[P,h,g],{lineTypeLimit:!0,lineColorLimit:!0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1,surroundLineLimit:!0}),this.scalePoints=[];var f=SuperMapAlgoPlot.PlottingUtil.circlePoint(l,n*o*.5,n*o*.5,180);this.addScalePoint(f,0),this.addScalePoint(l,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===t){i.x=i.x+this.scaleValues[2]*n,i.y=i.y+this.scaleValues[3]*n;var a=SuperMapAlgoPlot.PlottingUtil.distance(e,i)/n;this.scaleValues[0]=a}else if(1===t){var r=(e.x-i.x)/n;this.scaleValues[2]=r;var s=(e.y-i.y)/n;this.scaleValues[3]=s}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol50223=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=2*i}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3],s=o*n,p=new SuperMapAlgoPlot.Point(l.x+o*a,l.y+o*r);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,s,0);for(var u=0;u=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),a=0,r=0;if(0===t)a=(e.x-i.x)/n,this.scaleValues[2]=a,r=(e.y-i.y)/n,this.scaleValues[3]=r;else if(1===t){a=this.scaleValues[2],r=this.scaleValues[3];var s=new SuperMapAlgoPlot.Point(i.x+n*a,i.y+n*r),p=SuperMapAlgoPlot.PlottingUtil.distance(s,e);this.scaleValues[0]=p/n}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol50108=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.1||o<=0)&&(o=.1),this.scaleValues[0]=o,this.scaleValues[1]=this.getSubSymbolScaleValue(),this.scaleValues[2]=.5*o}var i=this.getLinePts(l,this.scaleValues[0],.5),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMapAlgoPlot.PlottingUtil.dirAngle(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,r=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);this.computeSubSymbolC(n,r,a);for(var s=[],p=0;p<=i.startIndex;p++)s.push(l[p]);s.push(new SuperMapAlgoPlot.Point(i.startPt.x,i.startPt.y)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s);var u=[];if(i.endIndex<=l.length){u.push(new SuperMapAlgoPlot.Point(i.endPt.x,i.endPt.y));for(var P=i.endIndex+1;P<=l.length-1;P++)u.push(l[P]);this.addArrow(u,this.scaleValues[2])}this.scalePoints=[];var c=SuperMapAlgoPlot.PlottingUtil.circlePoint(n,.5*r,.5*r,a+90);this.addScalePoint(c,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(0===t){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(!((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=s&&(r=s),this.scaleValues[0]=r}}}}},{key:"computeSubSymbolC",value:function(t,e,l){for(var o=[],i=0;i<360;i+=12)o.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t,.5*e,.5*e,i));o.push(o[0]);var n={lineColorLimit:!0,fillLimit:!1,fillStyle:0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1};this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,o,n);for(var a=[],r=0;r<360;r+=12)a.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t,.25*e,.25*e,r));a.push(a[0]),n={lineColorLimit:!0,fillLimit:!0,fillColorLimit:!0,fillStyle:1,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1},this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,a,n);var s=[];s.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t,.25*e,.25*e,l+90)),s.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t,.5*e,.5*e,l+90)),n={lineColorLimit:!0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1},this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s,n);var p=[];p.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t,.25*e,.25*e,l+270)),p.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t,.5*e,.5*e,l+270)),n={lineColorLimit:!0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1},this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,p,n)}}]),e}();SuperMapAlgoPlot.AlgoSymbol40305=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=p){var u=SuperMapAlgoPlot.PlottingUtil.linePnt(o.pts,t[o.index],p);i.push(u),this.ComputeDashLine(r,s,i);var P=SuperMapAlgoPlot.PlottingUtil.linePnt(o.pts,t[o.index],p);a.push(P);for(var c=o.index+1;c=0;S--){var h=new SuperMapAlgoPlot.Point(i[S].x,i[S].y),f=new SuperMapAlgoPlot.Point(o.pts.x,o.pts.y),y=SuperMapAlgoPlot.PlottingUtil.distance(h,f);if(y>p){g=S;break}}if(-1==g)return;i.splice(g+1,i.length-1-g),u=SuperMapAlgoPlot.PlottingUtil.linePnt(o.pts,t[g],p),i.push(u),this.ComputeDashLine(r,s,i);for(var A=-1,M=i.length-1;Mp){A=M;break}if(-1==A)return;P=SuperMapAlgoPlot.PlottingUtil.linePnt(o.pts,t[A],p),a.push(P);for(var b=A+1;b1&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,i)}}]),e}();SuperMapAlgoPlot.AlgoSymbol40304=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length.2&&(this.subSymbolScaleValue=.2),this.scaleValues[2]=this.subSymbolScaleValue/3);var o=this.scaleValues[0],i=this.scaleValues[1],n=e*this.scaleValues[2],a=new SuperMapAlgoPlot.Point(l.x+e*o,l.y+e*i),r=new SuperMapAlgoPlot.Point(a.x-4*n,a.y),s=new SuperMapAlgoPlot.Point(a.x-4*n,a.y-n/2),p=[];p.push(r),p.push(s);var u={lineTypeLimit:!0,fillLimit:!0};this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,p,u);var P=new SuperMapAlgoPlot.Point(a.x-4*n,a.y),c=new SuperMapAlgoPlot.Point(a.x-n,a.y),g=[];g.push(P),g.push(c),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g,u),this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],a,2*n,0);var S=new SuperMapAlgoPlot.Point(a.x+4*n,a.y),h=new SuperMapAlgoPlot.Point(a.x+n,a.y),f=[];f.push(S),f.push(h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,f,u);var y=new SuperMapAlgoPlot.Point(a.x+4*n,a.y+n/2),A=new SuperMapAlgoPlot.Point(a.x+4*n,a.y),M=[];M.push(y),M.push(A),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,M,u),this.addScalePoint(a,0);var b=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,2*n,2*n,90);this.addScalePoint(b,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l);if(0===o)return;var n=0,a=0;if(0===t&&(n=(e.x-i.x)/o,this.scaleValues[0]=n,a=(e.y-i.y)/o,this.scaleValues[1]=a),1===t){n=this.scaleValues[0],a=this.scaleValues[1];var r=new SuperMapAlgoPlot.Point(i.x+o*n,i.y+o*a),s=SuperMapAlgoPlot.PlottingUtil.distance(r,e);this.scaleValues[2]=s/2/o}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol40302=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length=s.length)this.finish();else{var P=s[0].clone(),c=s[0].clone();for(p=0;ps[p].x&&(P=s[p].clone()),c.xl.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l),n=e,a=0,r=0;if(0===t){if(!SuperMapAlgoPlot.PlottingUtil.ptIsInPolygon(l,n))return;a=(n.x-i.x)/o,this.scaleValues[0]=a,r=(n.y-i.y)/o,this.scaleValues[1]=r}if(1===t){a=this.scaleValues[0],r=this.scaleValues[1];var s=new SuperMapAlgoPlot.Point(i.x+a*o,i.y+r*o),p=2*SuperMapAlgoPlot.PlottingUtil.distance(n,s);this.scaleValues[2]=p/o}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol40104=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=n.length)){var s=n[0].clone(),p=n[0].clone();for(a=0;an[a].x&&(s=n[a].clone()),p.x=n.length)){var s=n[0].clone(),p=n[0].clone();for(a=0;an[a].x&&(s=n[a].clone()),p.x=n.length)){var s=n[0].clone(),p=n[0].clone();for(a=0;an[a].x&&(s=n[a].clone()),p.x0){var z=this.computeSubSymbol(this.subSymbols[0],D,.62*k,x);if(null!=z)for(var F=0;F=2&&t.lengthl.x&&r.xl.y&&r.yo.x||r.yo.y)&&(e[0]=n,e[3]=l),4==e.length){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);l=e[0],o=e[2];var s=[];s.push(l),s.push(o),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s)}this.finish()}}},{key:"GetPointsByTrapezoid",value:function(t,e,l,o,i){var n=e.x,a=e.y,r=l.x,s=l.y,p=o.x,u=o.y,P=0,c=0,g=0,S=0;if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(Math.abs(a-s),0))P=n+r-p,c=u;else if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(Math.abs(n-r),0))P=p,c=a+s-u;else{var h=1*(a-s)/(n-r),f=u-h*p;c=h*(P=((s+a)/2+(n+r)/(2*h)-f)/(h+1/h))+f,P=2*P-p,c=2*c-u}var y=Math.sqrt(1*(n-r)*(n-r)+1*(a-s)*(a-s)),A=Math.sqrt(1*(n-P)*(n-P)+1*(a-c)*(a-c));y>0?(g=n+(r-n)*A/y,S=a+(s-a)*A/y):(g=n,S=a);var M=g+(P-g)*t,b=S+(c-S)*t;i.x=M,i.y=b}}]),e}();SuperMapAlgoPlot.AlgoSymbol30023=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length=s.length)this.finish();else{var P=s[0].clone(),c=s[0].clone();for(p=0;ps[p].x&&(P=s[p].clone()),c.x=P.x&&((g=[]).push(P),g.push(S),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g,this._style));var h=new SuperMapAlgoPlot.Point(a.x+n/2,c.y);h.x<=c.x&&h.x>=P.x&&((g=[]).push(c),g.push(h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g,this._style));var f=SuperMapAlgoPlot.PlottingUtil.radian(S,h)*SuperMapAlgoPlot.PlottingUtil.RTOD;this.addText(this.subText,a,n,f),this.addScalePoint(a,0);var y=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,n/2,n/2,90);this.addScalePoint(y,1),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l),n=0,a=0,r=e;if(0===t){if(!SuperMapAlgoPlot.PlottingUtil.ptIsInPolygon(l,r))return;n=(r.x-i.x)/o,this.scaleValues[0]=n,a=(r.y-i.y)/o,this.scaleValues[1]=a}if(1===t){n=this.scaleValues[0],a=this.scaleValues[1];var s=new SuperMapAlgoPlot.Point(i.x+n*o,i.y+a*o),p=2*SuperMapAlgoPlot.PlottingUtil.distance(r,s);this.scaleValues[2]=p/o}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol30020=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],r,s,0),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,t),this.addScalePoint(r,0);var p=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,s,s,90);this.addScalePoint(p,1),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length0&&this.computeSubSymbol(this.subSymbols[0],r,s,0),this.addText("?",a,.3*i,0,"#0000ff"),this.addScalePoint(r,0);var p=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,s,s,90);this.addScalePoint(p,1),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length2){for(var n=-1,a=e.length-2;a>=0;a--)if(o2){for(var n=-1,a=e.length-2;a>=0;a--)if(o=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(3>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.POLYBEZIERCLOSESYMBOL,e);for(var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(e),o=e[0].x,i=e[0].x,n=e[0].y,a=e[0].y,r=[],s=0;se[s].x&&(o=e[s].x),ie[s].y&&(n=e[s].y),a0){var A=.015*l;this.computeSubSymbol(this.subSymbols[0],y,A,0),!0===this.subSymbols[0].fillLimit&&(this.subSymbols[0].fillColor="#332323")}S++}else if(S=0,this.subSymbols.length>0){var M=.015*l;this.computeSubSymbol(this.subSymbols[1],y,M,0)}}this.finish()}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol21221=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0?new SuperMapAlgoPlot.Point(S.pntLeft.x,S.pntLeft.y):new SuperMapAlgoPlot.Point(S.pntRight.x,S.pntRight.y);var h=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(s,g,c.pt),f=[];if(f.push(h.pntRight),f.push(g),f.push(h.pntLeft),0===P){var y=new SuperMapAlgoPlot.Point(g.x,g.y);y.isScalePoint=!0,y.tag=0,this.scalePoints.push(y)}this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,f,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0})}}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),o=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(l[0],l[1],e);this.scaleValues[0]=o?-1:1}}}]),e}();SuperMapAlgoPlot.AlgoSymbol21216=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.4&&(this.scaleValues[0]=.4);var e=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[1])*this.scaleValues[0],l=[];l.push(t[0]),l.push(t[1]);var o=SuperMapAlgoPlot.PlottingUtil.paraLine(l,.5*e,!0),i=SuperMapAlgoPlot.PlottingUtil.paraLine(l,.5*e,!1),n=!1;if(t.length>=3){var a=t[2];if(SuperMapAlgoPlot.PlottingUtil.pointIsOnPolyLine(a,t[0],t[1]))n=!0;else{n=!1;var r=SuperMap.Plot.PlottingUtil.isRight(a,t[0],t[1]),s=.8*SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[1]);if(r){var p=SuperMapAlgoPlot.PlottingUtil.linePnt(i[0],i[1],s),u=SuperMapAlgoPlot.PlottingUtil.dirAngle(p,t[2])*SuperMapAlgoPlot.PlottingUtil.RTOD-SuperMapAlgoPlot.PlottingUtil.dirAngle(t[0],t[1])*SuperMapAlgoPlot.PlottingUtil.RTOD;if(u<0&&(u+=360),u>180&&(u-=180),u<10||u>170)n=!0;else{var P=[];P.push(p),P.push(new SuperMapAlgoPlot.Point(t[2].x,t[2].y));var c=SuperMapAlgoPlot.PlottingUtil.paraLine(P,.5*e,!0),g=SuperMapAlgoPlot.PlottingUtil.paraLine(P,.5*e,!1),S=SuperMapAlgoPlot.PlottingUtil.intersectLines(i[0],i[1],c[0],c[1]);c[0]=S.intersectPoint,S=SuperMapAlgoPlot.PlottingUtil.intersectLines(i[0],i[1],g[0],g[1]),g[0]=S.intersectPoint;for(var h=[],f=[],y=0;y=0;M--)f.push(g[M]);f.push(i[0]),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,f)}}else{var b=SuperMapAlgoPlot.PlottingUtil.linePnt(o[0],o[1],s),d=SuperMapAlgoPlot.PlottingUtil.dirAngle(b,t[2])*SuperMapAlgoPlot.PlottingUtil.RTOD-SuperMapAlgoPlot.PlottingUtil.dirAngle(t[0],t[1])*SuperMapAlgoPlot.PlottingUtil.RTOD;if(d<0&&(d+=360),d>180&&(d-=180),d<10||d>170)n=!0;else{var m=[];m.push(b),m.push(new SuperMapAlgoPlot.Point(t[2].x,t[2].y));var v=SuperMapAlgoPlot.PlottingUtil.paraLine(m,.5*e,!0),O=SuperMapAlgoPlot.PlottingUtil.paraLine(m,.5*e,!1),U=SuperMapAlgoPlot.PlottingUtil.intersectLines(o[0],o[1],v[0],v[1]);v[0]=U.intersectPoint,U=SuperMapAlgoPlot.PlottingUtil.intersectLines(o[0],o[1],O[0],O[1]),O[0]=U.intersectPoint;var L=[],w=[];L.push(o[0]);for(var _=0;_=0;V--)w.push(O[V]);w.push(o[o.length-1]);for(var T=i.length-1;T>=0;T--)w.push(i[T]);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,w)}}}}else n=!0;if(n){for(var E=i.length-1;E>=0;E--)o.push(i[E]);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,o)}this.addScalePoint(o[0],0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(!(2>l.length)){0===this.scaleValues.length&&this.scaleValues.push(.2);var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]);if(0===t){var i=2*SuperMapAlgoPlot.PlottingUtil.pointToLineDis(e,l[0],l[1])/o;i>.4&&(i=.4),this.scaleValues[0]=i}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol21207=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&t.length2*o-1){for(var r=0;rh[m].length)){for(var v=c[m][c[m].length-1],O=g[m][0],U=new SuperMapAlgoPlot.Point(.5*(v.x+O.x),.5*(v.y+O.y)),L=h[m][h[m].length-1],w=h[m][h[m].length-2],_=this.ComputeZValue(U,L,w),V={x:U.x,y:U.y,z:_},T=[],E=[],x=0;x=0;Y--)if(m==o-1)j.push(h[m][Y]);else{var I={x:h[m][Y].x,y:h[m][Y].y,z:.5*(h[m][Y].z+h[m+1][Y].z)};j.push(I)}this.ComputeBeizerZValueByDis(j,g[m],T),b.push(T),T=[];for(var R=S[m],B=0;B0&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,D,{surroundLineFlag:!1}),this.scalePoints=this.scalePoints.concat(this.m_scalePoints),!0}p.shapePts.length>0&&(this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,p.shapePts,{surroundLineFlag:!1,lineWidthLimit:!0,strokeWidth:0,weight:0}),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,p.shapePts,{surroundLineFlag:!1})),this.scalePoints=[];for(var z=0;zthis.MAX_SCALEVALUE?n=this.MAX_SCALEVALUE:n3)for(var a=o-1,r=0,s=a;r3)for(var n=o-1,a=0,r=n;a0)if(1==t)l.push(0);else{var o=SuperMapAlgoPlot.PlottingUtil.distance(e[0],e[this.MIN_PTCOUNT_PERARROW]);l.push(o);for(var i=1,n=this.MIN_PTCOUNT_PERARROW;ib&&(M=.5*b);var d=M*c;h.push(h[u].clone());var m,v=0;m=f-M;var O=[],U=0;for(U=2;U<=u;U++)v+=SuperMapAlgoPlot.PlottingUtil.distance(h[U-1],h[U-2]),SuperMapAlgoPlot.PlottingUtil.equalFuzzy(m,0,1e-14)?O[U]=0:SuperMapAlgoPlot.PlottingUtil.equalFuzzy(m-v,0,1e-14)?O[U]=d:O[U]=d+(y-d)*Math.pow((m-v)/m,this.SV_ATScaleParameter);O[u+1]=d;var L=new SuperMapAlgoPlot.Point(0,0),w=new SuperMapAlgoPlot.Point(0,0),_=new SuperMapAlgoPlot.Point(0,0);for(U=2;U<=u;U++){SuperMapAlgoPlot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE1,this.AB_CTRLPT_RATE2,h[U-2],h[U-1],h[U],w,_),u==U&&SuperMapAlgoPlot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,h[u],h[u-1],_,L);var V=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(O[U],w,h[U-1]);n[U]=V.pntLeft,i[U]=V.pntRight}var T,E,x=L.clone();if(SuperMapAlgoPlot.PlottingUtil.distance(h[u],x)>0){var C=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(M,h[u],L);h[u]=C.clone()}for(A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(d,h[u+1],h[u]),i[u+1]=A.pntLeft,n[u+1]=A.pntRight,U=2;U<=u;U++)SuperMapAlgoPlot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE2,this.AB_CTRLPT_RATE2,i[U-1],i[U],i[U+1],w,_),a[U]=w.clone(),r[U]=_.clone(),SuperMapAlgoPlot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE2,this.AB_CTRLPT_RATE2,n[U-1],n[U],n[U+1],w,_),s[U]=w.clone(),p[U]=_.clone();SuperMapAlgoPlot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,i[1],i[2],a[2],L),r[1]=L.clone(),SuperMapAlgoPlot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,n[1],n[2],s[2],L),p[1]=L.clone();E=SuperMapAlgoPlot.PlottingUtil.distance(i[u+1],i[u])*(1/3),(T=SuperMapAlgoPlot.PlottingUtil.getExcentrePointOnSegmentByScale(E,h[u],h[u+1])).x+=i[u+1].x-h[u].x,T.y+=i[u+1].y-h[u].y,E=(y-d)*Math.pow(E/m,this.SV_ATScaleParameter+.3),A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(E,i[u+1],T),a[u+1]=A.pntLeft.clone(),E=SuperMapAlgoPlot.PlottingUtil.distance(n[u+1],n[u])*(1/3),(T=SuperMapAlgoPlot.PlottingUtil.getExcentrePointOnSegmentByScale(E,h[u],h[u+1])).x+=n[u+1].x-h[u].x,T.y+=n[u+1].y-h[u].y,E=(y-d)*Math.pow(E/m,this.SV_ATScaleParameter+.3),A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(E,n[u+1],T),s[u+1]=A.pntRight.clone();var j=[],Y=M*S,I=SuperMapAlgoPlot.PlottingUtil.getExcentrePointOnSegmentByScale(Y,h[u],h[u+1]);this.m_scalePoints.push(I.clone()),Y=M*g,A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(Y,h[u+1],I),j.push(A.pntRight),j.push(h[u+1]),j.push(A.pntLeft);var R=[];for(R.push(i[u+1]),U=u;U>=1;U--)R.push(a[U+1]),R.push(r[U]),R.push(i[U]);var B=[];for(U=1;U<=u;U++)B.push(n[U]),B.push(p[U]),B.push(s[U+1]);B.push(n[u+1]),o.push.apply(o,B),o.push.apply(o,j),o.push.apply(o,R),l=M/f;var N=[];for(U=R.length-1;U>=0;U--)N.push(R[U]);return{dATLenDivABLen:l,arrowBodyPts:o}}},{key:"generateAYPts",value:function(t,e,l,o,i){var n=new SuperMapAlgoPlot.Point(.5*(t[2].x+l[2].x),.5*(t[2].y+l[2].y)),a=new SuperMapAlgoPlot.Point(.5*(t[1].x+l[1].x),.5*(t[1].y+l[1].y)),r=new SuperMapAlgoPlot.Point(.5*(t[0].x+l[0].x),.5*(t[0].y+l[0].y)),s=SuperMapAlgoPlot.PlottingUtil.distance(n,a),p=SuperMapAlgoPlot.PlottingUtil.distance(r,a),u=i*(s+p),P=new SuperMapAlgoPlot.Point(0,0),c=new SuperMapAlgoPlot.Point(0,0),g=new SuperMapAlgoPlot.Point(0,0);if(u>s){u=s+p-u,P=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(u,r,a);var S=SuperMapAlgoPlot.PlottingUtil.distance(t[1],t[0]),h=SuperMapAlgoPlot.PlottingUtil.distance(l[1],l[0]);S=S*u/p,c=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(S,t[0],t[1]),h=h*u/p,g=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(h,l[0],l[1])}else{P=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(u,n,a);var f=SuperMapAlgoPlot.PlottingUtil.distance(t[1],t[2]),y=SuperMapAlgoPlot.PlottingUtil.distance(l[1],l[2]);f=f*u/s,c=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(f,t[2],t[1]),y=y*u/s,g=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(y,l[2],l[1])}this.m_scalePoints.push(P.clone());var A=this.SV_ArrowWoCtrl*SuperMapAlgoPlot.PlottingUtil.distance(P,c),M=this.SV_ArrowWoCtrl*SuperMapAlgoPlot.PlottingUtil.distance(P,g),b=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(A,P,c),d=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(M,P,g),m=e[11].clone(),v=e[10].clone(),O=o[5].clone(),U=o[6].clone(),L=SuperMapAlgoPlot.PlottingUtil.intersectLines(v,m,P,c),w=SuperMapAlgoPlot.PlottingUtil.distance(L.intersectPoint,v),_=SuperMapAlgoPlot.PlottingUtil.distance(v,P);w=w>_?this.SV_AJCtrl*_:this.SV_AJCtrl*w;var V=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(w,v,m);m=V.clone(),e[11]=V.clone(),L=SuperMapAlgoPlot.PlottingUtil.intersectLines(U,O,P,g),w=(w=SuperMapAlgoPlot.PlottingUtil.distance(L.intersectPoint,U))>(_=SuperMapAlgoPlot.PlottingUtil.distance(U,P))?this.SV_AJCtrl*_:this.SV_AJCtrl*w,O=(V=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(w,U,O)).clone(),o[5]=V.clone();var T=[];T.push(v),T.push(m),T.push(b),T.push(P);var E=[];return E.push(P),E.push(d),E.push(O),E.push(U),{arrowLeftYaoPts:T,arrowRightYaoPts:E}}}]),e}();SuperMapAlgoPlot.AlgoSymbol1002=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&t.length0&&(this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,l.shapePts,{strokeWidth:0,weight:0,lineWidthLimit:!0}),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,n),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,a),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,l.LeftArowHead,{lineTypeLimit:!0}),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,l.LeftArowRightBody),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,c),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,l.RightArowHead,{lineTypeLimit:!0}),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,M),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,b)),this.scalePoints=[];for(var O=0;Othis.SV1_MaxValue&&(o=this.SV1_MaxValue)}else o=SuperMapAlgoPlot.PlottingUtil.distance(r.projectPoint,n)1)){if(t=(1-t)/2,this.controlPoints.length>=this.minEditPts){var e,l,o,i,n,a;this.controlPoints[2]&&(this.controlPoints[2].isFixedPos=!0),this.controlPoints[0].xl?Math.abs((a-l)/(n-e))>s?2:1:as?4:1:n>o?a>l?Math.abs((a-l)/(n-o))>s?2:3:as?4:3:a>l?2:ao?Math.abs((r-o)/(a-l))>p?2:1:rp?4:1:a>i?r>o?Math.abs((r-o)/(a-i))>p?2:3:rp?4:3:r>o?2:ro&&(P=o),P<(o+n)/2&&(P=(o+n)/2),u=1-2*(o-P)/(o-n);break;case 2:case 4:var c=s.x+(e.x-s.x);c>i&&(c=i),c<(l+i)/2&&(c=(l+i)/2),u=1-2*(i-c)/(i-l)}u<0&&(u=0),u>1&&(u=1),this.scaleValues[0]=u}this.calculateParts()}}]),e}();SuperMapAlgoPlot.GeoTooltipBox=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/l;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=.4*i}var n=l*this.scaleValues[0],a=l*this.scaleValues[2],r=l*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(o.x+a,o.y+r),p=.6*n,u=new SuperMapAlgoPlot.Point(s.x+n,s.y),P=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,p,p,0),c=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,p,p,180),g=[];g.push(P),g.push(c),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g,{lineTypeLimit:!0});var S=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,p,p,90),h=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,p,p,270);(g=[]).push(S),g.push(h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g,{lineTypeLimit:!0});var f=new SuperMapAlgoPlot.Point(s.x-n,s.y),y=SuperMapAlgoPlot.PlottingUtil.circlePoint(f,.5*n,.5*n,270),A=SuperMapAlgoPlot.PlottingUtil.circlePoint(f,n,n,240),M=SuperMapAlgoPlot.PlottingUtil.circlePoint(f,n,n,90),b=SuperMapAlgoPlot.PlottingUtil.circlePoint(f,n,n,300);(g=[]).push(y),g.push(A),g.push(M),g.push(b),g.push(y),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g,{lineTypeLimit:!0}),this.scalePoints=[];var d=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,n,n,0);this.addScalePoint(d),this.addScalePoint(s),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),o=[];if(o=3>=(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(n.x+a,n.y+r),p=SuperMapAlgoPlot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,P=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=P}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol40100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.2||i<=0)&&(i=.2),this.scaleValues[0]=i}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3],s=o*n,p=new SuperMapAlgoPlot.Point(l.x+o*a,l.y+o*r);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,s,0),this.addScalePoint(p);var u=s,P=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,u,u,90);this.addScalePoint(P),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol37700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.scalePoints.length)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===t){var i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0]);this.scaleValues[0]=2*i/o}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol35500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],l,o,0),this.scalePoints=[];var i=SuperMapAlgoPlot.PlottingUtil.circlePoint(l,o,o,90);this.addScalePoint(i),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l);if(0==t){var n=SuperMapAlgoPlot.PlottingUtil.distance(e,i)/o;this.scaleValues[0]=n}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol35200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=e[0],n=e[1],a=e[e.length-1],r=e[e.length-2],s=SuperMapAlgoPlot.PlottingUtil.radian(i,n)*SuperMapAlgoPlot.PlottingUtil.RTOD,p=SuperMapAlgoPlot.PlottingUtil.radian(r,a)*SuperMapAlgoPlot.PlottingUtil.RTOD,u=this.scaleValues[0],P=l*u,c=SuperMapAlgoPlot.PlottingUtil.circlePoint(i,P,P,s+90),g=SuperMapAlgoPlot.PlottingUtil.circlePoint(i,P,P,s+270),S=[];S.push(c),S.push(g),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,S,{lineTypeLimit:!0}),this.scalePoints=[],this.addScalePoint(g);var h=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,P,P,p+90),f=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,P,P,p+270);(S=[]).push(h),S.push(f),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,S,{lineTypeLimit:!0});var y,A,M=t.length;if(this.scaleValues.length<=M){for(this.scaleValues=[],this.scaleValues.push(u),A=1/M,y=0;y=this.scalePoints.length)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i,n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0==t){var a=(i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0]))/n;this.scaleValues[0]=a}else{var r,s=e,p=[];for(r=0;rh&&(u=r,c=S,P=h)}}if(-1==u||u>p.length-1)return;for(i=0,r=0;rn)return;var f=i/n;this.scaleValues[t]=f}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol35000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=0||t<3)){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o,i=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]),n=l[0].clone(),a=l[1].clone(),r=e.clone();if(0==t){var s=SuperMapAlgoPlot.PlottingUtil.distance(r,n)/i;this.scaleValues[0]=s}else if(1==t){o=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,n,a);var p=SuperMapAlgoPlot.PlottingUtil.distance(o,r)/i;this.scaleValues[1]=p;var u=SuperMapAlgoPlot.PlottingUtil.distance(o,a)/i;this.scaleValues[3]=u}else if(2==t){o=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,n,a);var P=SuperMapAlgoPlot.PlottingUtil.distance(o,r)/i;this.scaleValues[2]=P;var c=SuperMapAlgoPlot.PlottingUtil.distance(o,a)/i;this.scaleValues[4]=c}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol44100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e,{fillLimit:!0,fill:!1,surroundLineFlag:!1});var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.2||i<=0)&&(i=.2),this.scaleValues[0]=i}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3],s=o*n,p=new SuperMapAlgoPlot.Point(l.x+o*a,l.y+o*r);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,s,0),this.addScalePoint(p);var u=s,P=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,u,u,90);this.addScalePoint(P),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i,n,a=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),r=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===t)i=(e.x-a.x)/r,this.scaleValues[2]=i,n=(e.y-a.y)/r,this.scaleValues[3]=n;else if(1===t){i=this.scaleValues[2],n=this.scaleValues[3];var s=new SuperMapAlgoPlot.Point(a.x+r*i,a.y+r*n),p=SuperMapAlgoPlot.PlottingUtil.distance(s,e)/r;this.scaleValues[0]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol42200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]);if(0==o)return;var i,n,a=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l),r=e;if(0==t)i=(r.x-a.x)/o,this.scaleValues[0]=i,n=(r.y-a.y)/o,this.scaleValues[1]=n;else if(1==t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMapAlgoPlot.Point(a.x+i*o,a.y+n*o),p=SuperMapAlgoPlot.PlottingUtil.distance(r,s)/o;this.scaleValues[2]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol41202=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]);if(0==o)return;var i,n,a=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l),r=e;if(0==t)i=(r.x-a.x)/o,this.scaleValues[0]=i,n=(r.y-a.y)/o,this.scaleValues[1]=n;else if(1==t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMapAlgoPlot.Point(a.x+i*o,a.y+n*o),p=SuperMapAlgoPlot.PlottingUtil.distance(r,s)/o;this.scaleValues[2]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol41201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]);if(0==o)return;var i,n,a=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(l),r=e;if(0==t)i=(r.x-a.x)/o,this.scaleValues[0]=i,n=(r.y-a.y)/o,this.scaleValues[1]=n;else if(1==t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMapAlgoPlot.Point(a.x+i*o,a.y+n*o),p=SuperMapAlgoPlot.PlottingUtil.distance(r,s)/o;this.scaleValues[2]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol41200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.minEditPts){for(var B,N,D,k,z,F,G,W,J,K=1;Ku&&(i=r,a=p,n=u)}}if(-1===i||i>l.length-1)return;for(var P=0,c=0;co)return;var S=P/o,h=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1])/o;S<.4*h&&(S=.4*h),S>1-.4*h&&(S=1-.4*h),this.scaleValues[0]=S}}}]),e}();SuperMapAlgoPlot.AlgoSymbol41100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(0>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/l;(i>.3||i<=0)&&(i=.3),this.scaleValues[0]=.2*i}var n=l*this.scaleValues[0],a=l*this.scaleValues[2],r=l*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(o.x+a,o.y+r),p=[];p.push(s),p.push(new SuperMapAlgoPlot.Point(s.x+n,s.y)),this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,p,{fillLimit:!0,fill:!0,lineTypeLimit:!0,surroundLineLimit:!0});for(var u=18*n,P=new SuperMapAlgoPlot.Point(s.x+u,s.y),c=[],g=135;g<180;g+=3)c.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(P,u,u,g));c.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(P,u,u,180)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,c,{lineTypeLimit:!0,surroundLineLimit:!0}),this.scalePoints=[];var S=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,n,n,0);this.addScalePoint(S),this.addScalePoint(s),this.finish()}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),o=[];if(o=3>=(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),0>(o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o)).length)return;var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o),n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=i*this.scaleValues[2],r=i*this.scaleValues[3],s=new SuperMapAlgoPlot.Point(n.x+a,n.y+r),p=SuperMapAlgoPlot.PlottingUtil.distance(e,s)/i;this.scaleValues[0]=p}else if(1==t){var u=(e.x-n.x)/i,P=(e.y-n.y)/i;this.scaleValues[2]=u,this.scaleValues[3]=P}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol40101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2*this.controlPoints.length-1)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o);if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(i,0)||SuperMapAlgoPlot.PlottingUtil.equalFuzzy(n,0))return;if(2*(l.length-1)==t||2==l.length&&0==t){var a,r=e,s=[];for(a=0;aS&&(u=a,p=g,P=S)}}if(-1==u||u>s.length-1)return;var h=0;for(a=0;an)return;var M=h/n;if(M>.8||M<.2)return;2==l.length?this.scaleValues[0]=M:this.scaleValues[2*t]=M}else if(2*l.length-1==t||2==l.length&&1==t){var b=1.667*SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/i;2==l.length?this.scaleValues[1]=b:this.scaleValues[2*t-1]=b}else{var d=-1;d=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var m=(e.x-l[d].x)/i,v=(e.y-l[d].y)/i;this.scaleValues[2*t]=m,this.scaleValues[2*t+1]=v}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol40900=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[1],l[0]);if(0==t){var i=SuperMapAlgoPlot.PlottingUtil.projectPoint(e,l[1],l[0]),n=SuperMapAlgoPlot.PlottingUtil.distance(i,l[1]);90>SuperMapAlgoPlot.PlottingUtil.radian(l[1],i)*SuperMapAlgoPlot.PlottingUtil.RTOD&&(n=-n);var a=n/o;this.scaleValues[0]=a;var r=SuperMapAlgoPlot.PlottingUtil.distance(e,i)/o;this.scaleValues[1]=r}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol37300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol37200=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues[0]=.1,l.scaleValues[1]=.2),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol27100),e}();SuperMapAlgoPlot.AlgoSymbol37200=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],P,.9*u,h-90),this.scalePoints=[],this.addScalePoint(s[s.length-1]);var f=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,u,u,h+90);this.addScalePoint(f),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]);if(0==t){var i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}else if(1==t){var n=this.scaleValues[0]*o,a=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[0],n,n,90),r=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[1],n,n,90),s=new SuperMapAlgoPlot.Point((a.x+r.x)/2,(a.y+r.y)/2),p=SuperMapAlgoPlot.PlottingUtil.distance(s,e)/o;p>=.8&&(p=.8),this.scaleValues[1]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol37100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0==t){var i=.5*o,n=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i,l).pts,a=SuperMapAlgoPlot.PlottingUtil.distance(e,n)/o;a>.5&&(a=.5),this.scaleValues[0]=a}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol34700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l1&&(s=1);var p,u,P=e*s,c=SuperMapAlgoPlot.PlottingUtil.circlePoint(l,P,P,i),g=[];g.push(t[0].clone()),g.push(c),p=SuperMapAlgoPlot.PlottingUtil.paraLine(g,r,!0),u=SuperMapAlgoPlot.PlottingUtil.paraLine(g,r,!1);var S,h=[];for(S=0;S0&&this.computeSubSymbol(this.subSymbols[0],A,y/2,i+180);for(var M=[],b=.1*P,d=[],m=0;m=O)){for(var U=b;Ul.length)return;var o,i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);0==t?(o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],e)/i,this.scaleValues[0]=o):1==t&&(o=2*SuperMapAlgoPlot.PlottingUtil.distance(l[1],e)/i,this.scaleValues[1]=o)}}}]),e}();SuperMapAlgoPlot.AlgoSymbol34400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;le.x),P=[];u?(P.push(l),P.push(s)):(P.push(l),P.push(p)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,P,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineColor:"#ffff00",surroundLineColorOpacity:1,surroundLineWidth:4,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.INNER});var c=[];u?(c.push(o),c.push(p)):(c.push(o),c.push(s)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,c,{surroundLineFlag:!1,surroundLineLimit:!0,surroundLineColor:"#ffff00",surroundLineColorOpacity:1,surroundLineWidth:4,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.INNER});var g,S,h,f,y=.37*n,A=SuperMapAlgoPlot.PlottingUtil.linePnt(i,e,y),M=.09*n,b=[];b.push(A),b.push(new SuperMapAlgoPlot.Point(A.x,A.y+M)),this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,b,{lineTypeLimit:!0,surroundLineLimit:!0,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.NONE}),u?(g=(r=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(M,i,A)).pntLeft,S=(r=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(2*M,i,A)).pntLeft,h=(r=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(M,g,S)).pntRight,f=r.pntLeft):(g=(r=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(M,i,A)).pntRight,S=(r=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(2*M,i,A)).pntRight,h=(r=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(M,g,S)).pntRight,f=r.pntLeft);var d=[];d.push(g),d.push(S),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,d,{lineTypeLimit:!0,surroundLineLimit:!0,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.NONE});var m=[];m.push(h),m.push(f),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,m,{lineTypeLimit:!0,surroundLineLimit:!0,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.NONE}),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol32300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||i<=0)&&(i=.3),this.scaleValues[1]=i,this.scaleValues[3]=i}var n=this.scaleValues[1],a=180*this.scaleValues[2]/Math.PI,r=l*this.scaleValues[0],s=l*this.scaleValues[3],p=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,r);if(-1!==p.index){var u=p.pt,P=e[p.index],c=e[p.index+1],g=SuperMapAlgoPlot.PlottingUtil.radian(P,c)*SuperMapAlgoPlot.PlottingUtil.RTOD,S=SuperMapAlgoPlot.PlottingUtil.circlePoint(u,s,s,g+a);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[p.pt,S]);var h,f=SuperMapAlgoPlot.PlottingUtil.radian(u,S)*SuperMapAlgoPlot.PlottingUtil.RTOD,y=l*n;0A&&(c=h,S=y,g=A)}}if(-1==c||c>u.length-1)return;for(var M=0,b=0;bo)return;var d=M/o;this.scaleValues[0]=d}else if(1===t){var m=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(p,o*this.scaleValues[0]);if(-1===m.index)return;n=m.pt,a=p[m.index],r=p[m.index+1],s=SuperMapAlgoPlot.PlottingUtil.radian(a,r)*SuperMapAlgoPlot.PlottingUtil.RTOD;var v=o*this.scaleValues[3],O=SuperMapAlgoPlot.PlottingUtil.circlePoint(n,v,v,s+this.scaleValues[2]*SuperMapAlgoPlot.PlottingUtil.RTOD+180),U=SuperMapAlgoPlot.PlottingUtil.distance(O,e)/o*2;this.scaleValues[1]=U}else if(2===t){var L=o*this.scaleValues[0],w=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(p,L);if(-1===w.index)return;n=w.pt,a=p[w.index],r=p[w.index+1],s=SuperMapAlgoPlot.PlottingUtil.radian(a,r);var _=SuperMapAlgoPlot.PlottingUtil.radian(n,e)-s;this.scaleValues[2]=_}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol30800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ls||.3v&&(y=b,M=m,A=v)}}if(-1==y||y>h.length-1)return;n=0;for(var O=0;Oo)return;var U=n/o;this.scaleValues[0]=U}else if(1===t){a=o*this.scaleValues[0];var L=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(S,a);if(-1===L.index)return;r=L.pt,s=S[L.index],p=S[L.index+1],u=SuperMapAlgoPlot.PlottingUtil.radian(s,p);var w=(g=SuperMapAlgoPlot.PlottingUtil.radian(r,e))-u;this.scaleValues[1]=w;var _=(n=SuperMapAlgoPlot.PlottingUtil.distance(r,e))/o/1.5;this.scaleValues[2]=_}else if(2===t){if(a=o*this.scaleValues[0],P=180*this.scaleValues[1]/Math.PI,n=o*this.scaleValues[2],-1===(r=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(S,a)).index)return;c=r.pt,s=S[r.index],p=S[r.index+1],u=180*SuperMapAlgoPlot.PlottingUtil.radian(s,p)/Math.PI;var V=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,.4*n,.4*n,u+P),T=SuperMapAlgoPlot.PlottingUtil.distance(e,V)/(.4*n);this.scaleValues[5]=T}else if(3===t){if(a=o*this.scaleValues[0],P=180*this.scaleValues[1]/Math.PI,n=o*this.scaleValues[2],-1===(r=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(S,a)).index)return;c=r.pt,s=S[r.index],p=S[r.index+1],g=(u=180*SuperMapAlgoPlot.PlottingUtil.radian(s,p)/Math.PI)+P;var E=new SuperMapAlgoPlot.Point(.6*n,0),x=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(c,E,g),C=.4*n*this.scaleValues[5],j=new SuperMapAlgoPlot.Point(0,C),Y=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(x,j,g),I=2*SuperMapAlgoPlot.PlottingUtil.distance(Y,e)/(.4*n);this.scaleValues[6]=I}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol30100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.5*f){M=d-1,b=SuperMapAlgoPlot.PlottingUtil.linePnt(A,e[d],.5*f);break}-1===M&&(M=e.length-1,b=e[e.length-1]);var m=null;if(null!==b){for(var v=180*SuperMapAlgoPlot.PlottingUtil.radian(A,b)/Math.PI,O=[],U=0;U=0;T--)if(SuperMapAlgoPlot.PlottingUtil.distance(w,e[T])>.5*f){_=T,V=SuperMapAlgoPlot.PlottingUtil.linePnt(w,e[T],.5*f);break}if(-1===_&&(_=0,V=e[0]),null!==V){for(var E=180*SuperMapAlgoPlot.PlottingUtil.radian(w,V)/Math.PI,x=[],C=0;C.2||o<=0)&&(o=.2),this.scaleValues[2]=o,this.scaleValues[4]=o}var i=l*this.scaleValues[0],n=180*this.scaleValues[1]/Math.PI,a=l*this.scaleValues[2],r=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,i);if(-1!==r.index){var s=r.pt,p=new SuperMapAlgoPlot.Point(e[r.index].x,e[r.index].y),u=new SuperMapAlgoPlot.Point(e[r.index+1].x,e[r.index+1].y),P=180*SuperMapAlgoPlot.PlottingUtil.radian(p,u)/Math.PI,c=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,a,a,P+n);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[s,c]);var g=180*SuperMapAlgoPlot.PlottingUtil.radian(s,c)/Math.PI,S=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,.2*a,.2*a,g-157.5),h=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,.2*a,.2*a,g+157.5);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,[c,S,h],{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0});for(var f=4.5*(l*this.scaleValues[4])*Math.sin(Math.PI/8),y=this.getLeftSubSymbolPts(f),A=e[0].clone(),M=-1,b=null,d=1;d.5*f){M=d-1,b=SuperMapAlgoPlot.PlottingUtil.linePnt(A,e[d],.5*f);break}-1===M&&(M=e.length-1,b=e[e.length-1]);var m=null;if(null!==b){for(var v=180*SuperMapAlgoPlot.PlottingUtil.radian(A,b)/Math.PI,O=[],U=0;U=0;T--)if(SuperMapAlgoPlot.PlottingUtil.distance(w,e[T])>.5*f){_=T,V=SuperMapAlgoPlot.PlottingUtil.linePnt(w,e[T],.5*f);break}if(-1===_&&(_=0,V=e[0]),null!==V){for(var E=180*SuperMapAlgoPlot.PlottingUtil.radian(w,V)/Math.PI,x=[],C=0;Cc&&(a=p,s=P,r=c))}}if(-1===a||a>o.length-1)return;i=0;for(var g=0;gn)return;var S=i/n;this.scaleValues[0]=S}else if(1===t){var h=n*this.scaleValues[0],f=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(o,h);if(-1===f.index)return;var y=f.pt,A=o[f.index],M=o[f.index+1],b=SuperMapAlgoPlot.PlottingUtil.radian(A,M),d=SuperMapAlgoPlot.PlottingUtil.radian(y,e)-b;this.scaleValues[1]=d;var m=(i=SuperMapAlgoPlot.PlottingUtil.distance(y,e))/n;this.scaleValues[2]=m}else if(2===t){var v=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/n;v>.35&&(v=.35),this.scaleValues[4]=v}}}},{key:"getLeftSubSymbolPts",value:function(t){var e=.25*t,l=[],o=new SuperMapAlgoPlot.Point(0,0),i=new SuperMapAlgoPlot.Point(e,-2*e),n=new SuperMapAlgoPlot.Point(2*e,0),a=new SuperMapAlgoPlot.Point(e,2*e);return l.push(o),l.push(i),l.push(n),l.push(a),l.push(o),l}},{key:"getRightSubSymbolPts",value:function(t){return this.getLeftSubSymbolPts(t)}}]),e}();SuperMapAlgoPlot.AlgoSymbol30001=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lc&&(a=p,s=P,r=c)}}if(-1==a||a>o.length-1)return;i=0;for(var g=0;gn)return;var S=i/n;this.scaleValues[0]=S}else if(1===t){var h=n*this.scaleValues[0],f=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(o,h);if(-1===f.index)return;var y=f.pt,A=o[f.index],M=o[f.index+1],b=SuperMapAlgoPlot.PlottingUtil.radian(A,M),d=SuperMapAlgoPlot.PlottingUtil.radian(y,e)-b;this.scaleValues[1]=d;var m=(i=SuperMapAlgoPlot.PlottingUtil.distance(y,e))/n;this.scaleValues[2]=m}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol30000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0&&this.computeSubSymbol(this.subSymbols[0],p,n*a,e*SuperMapAlgoPlot.PlottingUtil.RTOD);var u=SuperMapAlgoPlot.PlottingUtil.circlePoint(i,s,s,e*SuperMapAlgoPlot.PlottingUtil.RTOD);this.subSymbols.length>1&&this.computeSubSymbol(this.subSymbols[1],u,n*a,e*SuperMapAlgoPlot.PlottingUtil.RTOD),this.scalePoints=[];var P=e*SuperMapAlgoPlot.PlottingUtil.RTOD,c=n*a,g=t[0].clone(),S=SuperMapAlgoPlot.PlottingUtil.circlePoint(g,c,c,P);this.addScalePoint(S),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),o=(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l))[0].clone(),i=l[1].clone(),n=e.clone(),a=SuperMapAlgoPlot.PlottingUtil.distance(o,i),r=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(n,o,i)/a;if(r<0||SuperMapAlgoPlot.PlottingUtil.equalFuzzy(r,0))return;this.scaleValues[0]=r,SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(o,i,n)?this.scaleValues[1]=1:this.scaleValues[1]=0}}}]),e}();SuperMapAlgoPlot.AlgoSymbol28301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),o=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e);this.isEdit||(this.scaleValues[0]=this.getSubSymbolScaleValue());var i=l*this.scaleValues[0];this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],o,i,0),this.scalePoints=[];var n=SuperMapAlgoPlot.PlottingUtil.circlePoint(o,i,i,0);this.addScalePoint(n),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o=[];o=3>=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o);if(0==t){var a=SuperMapAlgoPlot.PlottingUtil.distance(e,n)/i;this.scaleValues[0]=a}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol28300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e);var l={lineColorLimit:!0,strokeColor:"#0000FF",strokeOpacity:1,color:"#0000FF",opacity:1,surroundLineFlag:!1,surroundLineLimit:!0,surroundLineColor:"#ffff00",surroundLineColorOpacity:1,surroundLineWidth:4,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.INNER};this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e,l),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol28200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l270&&p<360&&(p=360-p),p>90)return;this.scaleValues[1]=p*Math.PI/180}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol28100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&(h=[]));(n=[]).push(t[0]);for(var f=0;f=0;d--)n.push(new SuperMapAlgoPlot.Point(M[d].x,M[d].y));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,n,{surroundLineFlag:!1,lineColorLimit:!0,strokeColor:"#0000ff",strokeOpacity:1,color:"#0000ff",opacity:1,surroundLineLimit:!0,surroundLineColor:"#ffff00",surroundLineColorOpacity:1,surroundLineWidth:4,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.INNER}),(n=[]).push(new SuperMapAlgoPlot.Point(M[0].x,M[0].y)),n.push(new SuperMapAlgoPlot.Point(e[e.length-1].x,e[e.length-1].y)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,n,{surroundLineFlag:!1,lineColorLimit:!0,strokeColor:"#0000ff",strokeOpacity:1,color:"#0000ff",opacity:1,surroundLineLimit:!0,surroundLineColor:"#ffff00",surroundLineColorOpacity:1,surroundLineWidth:4,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.INNER}),(n=[]).push(new SuperMapAlgoPlot.Point(e[0].x,e[0].y)),n.push(new SuperMapAlgoPlot.Point(M[M.length-1].x,M[M.length-1].y)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,n,{surroundLineFlag:!1,lineColorLimit:!0,strokeColor:"#0000ff",strokeOpacity:1,color:"#0000ff",opacity:1,surroundLineLimit:!0,surroundLineColor:"#ffff00",surroundLineColorOpacity:1,surroundLineWidth:4,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.INNER}),a=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,o,o,P),S=new SuperMapAlgoPlot.Point(a.x,a.y),(r=[]).push(c),r.push(S),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,r,{surroundLineFlag:!1,lineColorLimit:!0,strokeColor:"#0000ff",strokeOpacity:1,color:"#0000ff",opacity:1,surroundLineLimit:!0,surroundLineColor:"#ffff00",surroundLineColorOpacity:1,surroundLineWidth:4,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.INNER})}var m=new SuperMapAlgoPlot.Point(0,0);if(4<=t.length){for(e=[],l=new SuperMapAlgoPlot.Point(t[3].x,t[3].y),o=SuperMapAlgoPlot.PlottingUtil.distance(p,l),i=0,i=P-s;i<=P+s;i+=3)e.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(p,o,o,i));SuperMapAlgoPlot.PlottingUtil.equalFuzzy(i,P+s)&&(i=P+s,e.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(p,o,o,i))),(n=[]).push(t[0]);for(var v=0;vt.length)this.addScalePoint(t[0]);else{var O=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[1])*this.scaleValues[0],U=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,O,O,P+180);this.addScalePoint(U,0)}var L=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[t.length-1]),w=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,L,L,P+s);this.addScalePoint(w,1),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l,o=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o),0==t){if(3>o.length)return;var i=new SuperMapAlgoPlot.Point(o[0].x,o[0].y),n=new SuperMapAlgoPlot.Point(e.x,e.y),a=SuperMapAlgoPlot.PlottingUtil.distance(i,n),r=new SuperMapAlgoPlot.Point(o[1].x,o[1].y);if((l=a/SuperMapAlgoPlot.PlottingUtil.distance(i,r))>=2.5)return;this.scaleValues[0]=l}else if(1==t){var s=new SuperMapAlgoPlot.Point(o[0].x,o[0].y),p=new SuperMapAlgoPlot.Point(o[o.length-1].x,o[o.length-1].y),u=SuperMapAlgoPlot.PlottingUtil.radian(s,p),P=new SuperMapAlgoPlot.Point(e.x,e.y);if(l=SuperMapAlgoPlot.PlottingUtil.radian(s,P)-u,(l=Math.abs(l))>Math.PI/2&&l<3*Math.PI/2)return;l>3*Math.PI/2&&l<=2*Math.PI&&(l=2*Math.PI-l),this.scaleValues[1]=Math.abs(l)}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol28000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||n<=0)&&(n=.3),this.scaleValues[0]=n;var a=1.5*this.scaleValues[0]*l,r=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(a,e[o.index],i),s=[];s.push(r.pntLeft),s.push(i),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s,null,!0),this.finish()}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol26500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lthis.minEditPts){for(var _,V,T,E,x,C=1;C=0?(A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(W,t[J],K)).pntRight:(A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(W,t[J],K)).pntLeft;var H=SuperMapAlgoPlot.PlottingUtil.linePnt(K,L,W),q=.3*W,Q=SuperMapAlgoPlot.PlottingUtil.linePnt(H,K,q),X=(A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(.3*q,H,Q)).pntLeft,Z=A.pntRight;(v=[]).push(K),v.push(H),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,v,null,!0),(v=[]).push(X),v.push(H),v.push(Z);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,v,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0},!0),this.addScalePoint(H),this.addScalePoint(p);var $=SuperMapAlgoPlot.PlottingUtil.radian(r.pt,s.pt)*SuperMapAlgoPlot.PlottingUtil.RTOD+90,tt=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,.5*n,.5*n,$);this.addScalePoint(tt),this.finish()}}}}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(this.scalePoints.length<=t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o,i,n,a,r,s,p,u,P,c,g=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),S=l.length,h=e;if(t>=0&&tc&&(i=d,a=p,n=c));if(-1==i||i>l.length-1)return;u=0;for(var m=0;mg)return;var U=u/g;this.scaleValues[S+1]=U;var L,w=this.scaleValues.length;o=g*this.scaleValues[w-5],L=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(l[i],l[i+1],h)?n/o:-Math.abs(n/o),this.scaleValues[S+2]=L}else if(t===S+2){i=-1,n=0,a=new SuperMapAlgoPlot.Point(0,0);for(var _=0;_c&&(i=_,a=p,n=c));if(-1===i||i>l.length-1)return;u=0;for(var V=0;Vg)return;.1*gu&&(this.scaleValues[this.scaleValues.length-2]=u/g)}else if(t===S+3){var T=this.scaleValues[this.scaleValues.length-2]*g;if(-1===(s=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(l,T)).index)return;var E=2*SuperMapAlgoPlot.PlottingUtil.distance(s.pt,e)/g;E>.15&&(E=.15),this.scaleValues[this.scaleValues.length-1]=E}}}},{key:"computeSubSymbol",value:function(t,e,l,o,i,n){if(null==t.symbolData||null==t.symbolData.innerCells)return null;void 0===i&&(i=0),void 0===n&&(n=0);for(var a=SuperMapAlgoPlot.AnalysisSymbol.analysisSymbolCells(t.symbolData,!0),r=0,s=0,p=0,u=0,P=0;Pc[g].x&&(p=c[g].x),u>c[g].y&&(u=c[g].y)}var h=new SuperMapAlgoPlot.Point(r,s),f=new SuperMapAlgoPlot.Point(p,u),y=(h.y-f.y)/l,A=(h.x-f.x)/l,M=A>y?A:y;100!==this.subSymbols[0].libID||3300!==this.subSymbols[0].code&&3301!==this.subSymbols[0].code&&3302!==this.subSymbols[0].code||(M=2*(h.y-f.y)),100!==this.subSymbols[0].libID||3400!==this.subSymbols[0].code&&3401!==this.subSymbols[0].code&&3402!==this.subSymbols[0].code||(M=h.y-f.y);var b=new SuperMapAlgoPlot.Point(.5*(h.x+f.x),.5*(h.y+f.y));b.x+=i*(h.x-f.x),b.y+=n*(h.y-f.y);for(var d=0,m=a.length;d.3||o<=0)&&(o=.3),this.scaleValues[0]=o}this.scaleValues.length<1&&(this.scaleValues=[],this.scaleValues.push(.5));for(var i=this.getLinePts(e,this.scaleValues[0]),n=this.getLinePts(e,1.2*this.scaleValues[0]),a=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt),r=[],s=[],p=0;p<=n.startIndex;p++)r.push(e[p]);if(r.push(n.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,r),n.endIndex<=e.length){s.push(n.endPt);for(var u=n.endIndex+1;u<=e.length-1;u++)s.push(e[u]);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s)}var P=e[0],c=e[1],g=e[e.length-2],S=e[e.length-1],h=.3*a,f=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(h,c,P),y=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(h,g,S),A=f.pntLeft,M=y.pntLeft,b=[];b.push(P),b.push(A),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,b);var d=[];d.push(S),d.push(M),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,d);var m=SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,v=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),O=new SuperMapAlgoPlot.Point(.1*a,0),U=new SuperMapAlgoPlot.Point(.5*a,0),L=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,O,m),w=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,U,m),_=[];_.push(L),_.push(w);var V={surroundLineFlag:!1,lineTypeLimit:!0,fillLimit:!0};this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,_,V);var T=new SuperMapAlgoPlot.Point(.35*a,0),E=SuperMapAlgoPlot.PlottingUtil.circlePoint(T,.2*a,.2*a,135),x=SuperMapAlgoPlot.PlottingUtil.circlePoint(T,.2*a,.2*a,225),C=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,T,m),j=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,E,m),Y=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,x,m);(_=[]).push(j),_.push(C),_.push(Y),V={surroundLineFlag:!1,lineTypeLimit:!0,fillLimit:!0},this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,_,V);var I=new SuperMapAlgoPlot.Point(-.1*a,0),R=new SuperMapAlgoPlot.Point(-.5*a,-.15*a),B=new SuperMapAlgoPlot.Point(-.5*a,.15*a),N=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,I,m),D=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,R,m),k=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(v,B,m);(_=[]).push(N),_.push(D),_.push(k),_.push(N),V={surroundLineFlag:!1,lineTypeLimit:!0,fillLimit:!0},this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,_,V);var z=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.5*l,e),F=SuperMapAlgoPlot.PlottingUtil.circlePoint(z.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,m);this.addScalePoint(F,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=0;--m)d.push(A[m]);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,d),this.scalePoints=[];var v=A[0].clone();v.isScalePoint=!0,v.tag=0,this.scalePoints.push(v);var O=A[1].clone();O.isScalePoint=!0,O.tag=1,this.scalePoints.push(O);var U=A[2].clone();U.isScalePoint=!0,U.tag=2,this.scalePoints.push(U),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o,i=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]),n=l[0].clone(),a=l[1].clone(),r=e.clone();if(0==t){var s=SuperMapAlgoPlot.PlottingUtil.distance(r,n)/i;this.scaleValues[0]=s}else if(1==t){o=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,n,a);var p=SuperMapAlgoPlot.PlottingUtil.distance(o,r)/i;this.scaleValues[1]=p;var u=SuperMapAlgoPlot.PlottingUtil.distance(o,a)/i;this.scaleValues[3]=u}else if(2==t){o=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,n,a);var P=SuperMapAlgoPlot.PlottingUtil.distance(o,r)/i;this.scaleValues[2]=P;var c=SuperMapAlgoPlot.PlottingUtil.distance(o,a)/i;this.scaleValues[4]=c}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol25000=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=2&&this.controlPoints.length0){var l;if(null==this.subSymbols[0].symbolData)return;l=Math.max(this.subSymbols[0].symbolData.symbolSize.x,this.subSymbols[0].symbolData.symbolSize.y);var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),i=o*this.scaleValues[4],n=o*this.scaleValues[5],a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i,t),r=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(n,t),s=SuperMapAlgoPlot.PlottingUtil.radian(r.pts,a.pts)*SuperMapAlgoPlot.PlottingUtil.RTOD+270,p=100*SuperMapAlgoPlot.PlottingUtil.distance(a.pts,r.pts)/l,u=new SuperMapAlgoPlot.Point((r.pts.x+a.pts.x)/2,(a.pts.y+r.pts.y)/2);if(null==this.subSymbols.length)return;null!=this.subSymbols[0].code&&this.computeSubSymbol(this.subSymbols[0],u,p,s),a.pts.isScalePoint=!0,a.pts.tag=this.scalePoints.length,this.scalePoints.push(a.pts.clone()),r.pts.isScalePoint=!0,r.pts.tag=this.scalePoints.length,this.scalePoints.push(r.pts.clone())}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length<2)return;if(this.scaleValues.length<6&&(this.scaleValues=[],this.scaleValues.push(.05),this.scaleValues.push(.148),this.scaleValues.push(.4),this.scaleValues.push(.312),this.scaleValues.push(.2),this.scaleValues.push(.01)),t<=2)SuperMapAlgoPlot.AlgoSymbol1004.prototype.computeScaleValues.apply(this,arguments);else if(3==t||4==t){var o=new SuperMapAlgoPlot.Point((l[0].x+l[1].x)/2,(l[0].y+l[1].y)/2),i=SuperMapAlgoPlot.PlottingUtil.clonePoints(l);i.splice(0,2),i.unshift(o);var n=SuperMapAlgoPlot.PlottingUtil.projectPtOnPolyLine(e,i),a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(i);if(3===t&&null==n.pt&&(n.pt=o.clone()),-1==n.index&&4==t)this.scaleValues[t+1]=.01;else{var r=SuperMapAlgoPlot.PlottingUtil.clonePoints(i);r.splice(0,n.index+1),r.unshift(n.pt);var s=SuperMapAlgoPlot.PlottingUtil.polylineDistance(r);a.5&&(this.scaleValues[4]=.5)}}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol25200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,o);for(var i=0;i<4;i++){var n=i*(o.length-1)/4,a=new SuperMapAlgoPlot.Point(o[n].x,o[n].y),r=new SuperMapAlgoPlot.Point(o[n+1].x,o[n+1].y),s=new SuperMapAlgoPlot.Point((a.x+r.x)/2,(a.y+r.y)/2),p=180*SuperMapAlgoPlot.PlottingUtil.radian(s,r)/Math.PI,u=e*this.scaleValues[0]/2,P=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,u,u,p),c=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,4*u,4*u,p+270),g=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,u,u,p+180);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,[P,c,g],{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0})}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol29103=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,l);for(var o=0;o<4;o++){var i=o*(l.length-1)/4,n=new SuperMapAlgoPlot.Point(l[i].x,l[i].y),a=new SuperMapAlgoPlot.Point(l[i+1].x,l[i+1].y),r=new SuperMapAlgoPlot.Point((n.x+a.x)/2,(n.y+a.y)/2),s=SuperMapAlgoPlot.PlottingUtil.radian(r,a)*SuperMapAlgoPlot.PlottingUtil.RTOD,p=this.scaleValues[0]*e/2,u=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,p,p,s),P=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,4*p,4*p,s+270),c=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,p,p,s+180);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[u,P,c])}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol29101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,l);for(var o=0;o<4;o++){var i=Math.floor(o*l.length/4),n=new SuperMapAlgoPlot.Point(l[i].x,l[i].y),a=new SuperMapAlgoPlot.Point(l[i+1].x,l[i+1].y),r=new SuperMapAlgoPlot.Point((n.x+a.x)/2,(n.y+a.y)/2),s=SuperMapAlgoPlot.PlottingUtil.radian(a,r)*SuperMapAlgoPlot.PlottingUtil.RTOD,p=this.scaleValues[0]*e/2,u=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,p,p,s),P=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,4*p,4*p,s+270),c=SuperMapAlgoPlot.PlottingUtil.circlePoint(r,p,p,s+180);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[u,P,c],{lineTypeLimit:!0,surroundLineLimit:!0})}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol29100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=m.length)&&(M=SuperMapAlgoPlot.PlottingUtil.pointIsOnPolyLines(m[0],n)).isOnPolyLine){var O=[];for(g=M.index+1;g.3||o<=0)&&(o=.3),this.scaleValues[0]=o}this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,e);var i=e[0],n=e[1],a=e[e.length-2],r=e[e.length-1],s=l*this.scaleValues[0]*.6,p=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(s,n,i),u=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(s,a,r),P=p.pntLeft,c=u.pntRight,g=[];g.push(i),g.push(P);for(var S=new SuperMapAlgoPlot.Point((i.x+P.x)/2,(i.y+P.y)/2),h=SuperMapAlgoPlot.PlottingUtil.polylineDistance(g)/2,f=[],y=180*SuperMapAlgoPlot.PlottingUtil.radian(n,i)/Math.PI,A=270+y;A<=360+y;A+=3)f.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(S,h,h,A));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,f);var M=[];M.push(r),M.push(c);var b=[];b.push(r),b.push(c);for(var d=new SuperMapAlgoPlot.Point((r.x+c.x)/2,(r.y+c.y)/2),m=SuperMapAlgoPlot.PlottingUtil.polylineDistance(b)/2,v=[],O=180*SuperMapAlgoPlot.PlottingUtil.radian(r,c)/Math.PI,U=90+O;U<=180+O;U+=3)v.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(d,m,m,U));this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,v),this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol28900=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o,i,n,a,r,s,p,u=[];2==l.length?(o=l[0],i=l[1],r=SuperMapAlgoPlot.PlottingUtil.distance(o,i),a=180*SuperMapAlgoPlot.PlottingUtil.radian(o,i)/Math.PI,n=SuperMapAlgoPlot.PlottingUtil.circlePoint(o,r,r,a+60),u.push(o),u.push(i),u.push(n)):u=u.concat(l),o=u[0],i=u[1],n=u[2],u.push(u[0]);var P=SuperMapAlgoPlot.PlottingUtil.polylineDistance(u),c=e;if(0===t)r=SuperMapAlgoPlot.PlottingUtil.distance(c,u[0]),this.scaleValues[0]=r/P;else if(1===t){s=SuperMapAlgoPlot.PlottingUtil.distance(c,u[0])/P,this.scaleValues[1]=s,a=180*SuperMapAlgoPlot.PlottingUtil.InnerAngle(o,i,n)/Math.PI,0<=(p=180*SuperMapAlgoPlot.PlottingUtil.InnerAngle(o,i,c)/Math.PI/a)&&1>=p&&(this.scaleValues[2]=p)}else if(2===t){s=this.scaleValues[1],p=this.scaleValues[2];var g,S=P*s,h=180*SuperMapAlgoPlot.PlottingUtil.InnerAngle(o,i,n)/Math.PI*p,f=180*SuperMapAlgoPlot.PlottingUtil.radian(o,i)/Math.PI,y=f-h,A=f+h,M=SuperMapAlgoPlot.PlottingUtil.circlePoint(o,S,S,y),b=SuperMapAlgoPlot.PlottingUtil.circlePoint(o,S,S,A);g=SuperMapAlgoPlot.PlottingUtil.ptIsInPolygon(u,M)?M:b;var d=2*SuperMapAlgoPlot.PlottingUtil.distance(c,g)/P;this.scaleValues[3]=d;var m=180*SuperMapAlgoPlot.PlottingUtil.radian(g,c)/Math.PI;this.scaleValues[4]=m}}}},{key:"ComputeSubSymbolPt",value:function(t,e,l,o){var i,n,a=l[0],r=l[1],s=l[2],p=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(s,a,r)*t,u=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(r,a,s)*e,P=[];if(SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(a,r,o)?((i=[]).push(a),i.push(r),P=SuperMapAlgoPlot.PlottingUtil.paraLine(i,p,!1)):((i=[]).push(a),i.push(r),P=SuperMapAlgoPlot.PlottingUtil.paraLine(i,p,!0)),SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(a,s,o)?((i=[]).push(a),i.push(s),n=SuperMapAlgoPlot.PlottingUtil.paraLine(i,u,!1)):((i=[]).push(a),i.push(s),n=SuperMapAlgoPlot.PlottingUtil.paraLine(i,u,!0)),2>P.length||2>n.length)return o;var c=SuperMapAlgoPlot.PlottingUtil.intersectLines(P[0],P[1],n[0],n[1]);return c.isIntersectLines?c.intersectPoint:o}},{key:"createArcPts",value:function(t,e){for(var l=[],o=[],i=0;iMath.abs(o[n]-o[a]))for(var s=0;s<2;s++){var p,u,P;0==s?(P=n,p=SuperMapAlgoPlot.PlottingUtil.radian(t[n],t[a])*SuperMapAlgoPlot.PlottingUtil.RTOD,u=Math.acos((r*r+o[n]*o[n]-o[a]*o[a])/(2*r*o[n]))*SuperMapAlgoPlot.PlottingUtil.RTOD):(P=a,p=SuperMapAlgoPlot.PlottingUtil.radian(t[a],t[n])*SuperMapAlgoPlot.PlottingUtil.RTOD,u=Math.acos((r*r+o[a]*o[a]-o[n]*o[n])/(2*r*o[a]))*SuperMapAlgoPlot.PlottingUtil.RTOD);var c=p-u,g=p+u,S=c<0&&g>0||c>360||g>360;c=this.adjustAngle(c),g=this.adjustAngle(g);for(var h=l[P].length-1;h>=0;h--)if(S){if(g>l[P][h].End||SuperMapAlgoPlot.PlottingUtil.equalFuzzy(g,l[P][h].End)){l[P].splice(h,1);continue}if(g>l[P][h].Start&&(l[P][h].Start=g),cl[P][h].End)l[P].splice(h,1);else if(c>l[P][h].Start&&gl[P][h].End)continue;if(c>l[P][h].Start&&(l[P][h].End=c),g=0;y--){for(var A=this.adjustAngle(l[f][y].Start),M=this.adjustAngle(l[f][y].End);M360;)t-=360;for(;t<0;)t+=360;return t}},{key:"GetCirclePts",value:function(t,e,l,o){var i=180*SuperMapAlgoPlot.PlottingUtil.radian(t,e)/Math.PI,n=180*SuperMapAlgoPlot.PlottingUtil.radian(t,l)/Math.PI,a=i;n>i&&(a=n);for(var r=[],s=a;s<360+a;s+=4)90==s&&(s=91),r.push(SuperMapAlgoPlot.PlottingUtil.circlePoint(t,o,o,s));return r.push[0],r}},{key:"CreatArc",value:function(t,e,l){for(var o=[],i=[],n=0;n1&&o.push(i),i=[]):i.push(a)}i.length>1&&o.push(i);for(var r=0;r1&&o.push(i),i=[]):i.push(a)}i.length>1&&o.push(i);for(var r=[],s=0;sr){var s=new SuperMapAlgoPlot.Point(o.x,o.y);o=new SuperMapAlgoPlot.Point(a.x,a.y),a=new SuperMapAlgoPlot.Point(s.x,s.y),i=r,e[l]=o,e[n]=a}}return e}}]),e}();SuperMapAlgoPlot.AlgoSymbol23902=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o,i,n,a=[];if(2==l.length){o=l[0],i=l[1];var r=SuperMapAlgoPlot.PlottingUtil.distance(o,i),s=180*SuperMapAlgoPlot.PlottingUtil.radian(o,i)/Math.PI;n=SuperMapAlgoPlot.PlottingUtil.circlePoint(o,r,r,s+60),a.push(o),a.push(i),a.push(n)}else a=a.concat(l);o=a[0],i=a[1],n=a[2];var p=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(a);a.push(a[0]);var u=SuperMapAlgoPlot.PlottingUtil.polylineDistance(a),P=e;if(0==t){var c=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(n,o,i),g=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(i,o,n),S=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(P,o,i)/c,h=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(P,o,n)/g;S>1&&(S=1),h>1&&(h=1),this.scaleValues[0]=S,this.scaleValues[1]=h}else if(1==t){var f=this.scaleValues[0],y=this.scaleValues[1],A=this.ComputeSubSymbolPt(f,y,a,p),M=SuperMapAlgoPlot.PlottingUtil.distance(A,P)/u;this.scaleValues[2]=M;var b=180*SuperMapAlgoPlot.PlottingUtil.radian(A,P)/Math.PI;this.scaleValues[3]=b}}}},{key:"ComputeSubSymbolPt",value:function(t,e,l,o){var i,n,a=l[0],r=l[1],s=l[2],p=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(s,a,r)*t,u=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(r,a,s)*e,P=[];if(SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(a,r,o)?((i=[]).push(a),i.push(r),P=SuperMapAlgoPlot.PlottingUtil.paraLine(i,p,!1)):((i=[]).push(a),i.push(r),P=SuperMapAlgoPlot.PlottingUtil.paraLine(i,p,!0)),SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(a,s,o)?((i=[]).push(a),i.push(s),n=SuperMapAlgoPlot.PlottingUtil.paraLine(i,u,!1)):((i=[]).push(a),i.push(s),n=SuperMapAlgoPlot.PlottingUtil.paraLine(i,u,!0)),2>P.length||2>n.length)return o;var c=SuperMapAlgoPlot.PlottingUtil.intersectLines(P[0],P[1],n[0],n[1]);return c.isIntersectLines?c.intersectPoint:o}}]),e}();SuperMapAlgoPlot.AlgoSymbol23901=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e,{fillLimit:!0,fill:!1,surroundLineFlag:!1});var l=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!this.isEdit){var i=this.getDefaultSubSymbolSize()/o;(i>.2||i<=0)&&(i=.2),this.scaleValues[0]=i}var n=this.scaleValues[0],a=this.scaleValues[2],r=this.scaleValues[3],s=o*n,p=new SuperMapAlgoPlot.Point(l.x+o*a,l.y+o*r);this.subSymbols&&null!==this.subSymbols&&this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],p,s,0),this.addScalePoint(p);var u=s,P=SuperMapAlgoPlot.PlottingUtil.circlePoint(p,u,u,90);this.addScalePoint(P),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i,n,a=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),r=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===t)i=(e.x-a.x)/r,this.scaleValues[2]=i,n=(e.y-a.y)/r,this.scaleValues[3]=n;else if(1===t){i=this.scaleValues[2],n=this.scaleValues[3];var s=new SuperMapAlgoPlot.Point(a.x+r*i,a.y+r*n),p=SuperMapAlgoPlot.PlottingUtil.distance(s,e)/r;this.scaleValues[0]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol23500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e),this.scaleValues.length<2&&(this.scaleValues=[],this.scaleValues.push(0),this.scaleValues.push(0),this.scaleValues.push(.1));var l=this.scaleValues[0],o=this.scaleValues[1],i=this.scaleValues[2],n=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(e),a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),r=a*i,s=new SuperMapAlgoPlot.Point(n.x+a*l,n.y+a*o);if(this.subSymbols.length>0){if(null==this.subSymbols.length)return;null!=this.subSymbols[0].code&&this.computeSubSymbol(this.subSymbols[0],s,r,0),this.addScalePoint(s);var p=SuperMapAlgoPlot.PlottingUtil.circlePoint(s,r,r,0);this.addScalePoint(p)}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=l.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,l):l.length>3&&!0===this.polylineConnectLocationPoint?l:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i,n,a=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(o),r=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===t)i=(e.x-a.x)/r,this.scaleValues[0]=i,n=(e.y-a.y)/r,this.scaleValues[1]=n;else if(1===t){i=this.scaleValues[0],n=this.scaleValues[1];var s=new SuperMapAlgoPlot.Point(a.x+r*i,a.y+r*n),p=SuperMapAlgoPlot.PlottingUtil.distance(s,e)/r;this.scaleValues[2]=p}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol23400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol22103=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues.push(.05),l.scaleValues.push(.025)),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol22000),e}();SuperMapAlgoPlot.AlgoSymbol22103=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=.6*this.getSubSymbolScaleValue()}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,r=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);0l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol21800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&(s+=SuperMapAlgoPlot.PlottingUtil.distance(r[p],r[p-1]));var u,P,c=i-s,g=l*this.scaleValues[1],S=[];if(c>=g){u=SuperMapAlgoPlot.PlottingUtil.linePnt(a,e[n.index],g),r.push(u),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,r),P=SuperMapAlgoPlot.PlottingUtil.linePnt(a,e[n.index+1],g),S.push(P);for(var h=e.length,f=n.index+1;f=0;b--)if(y=new SuperMapAlgoPlot.Point(r[b].x,r[b].y),A=new SuperMapAlgoPlot.Point(a.x,a.y),SuperMapAlgoPlot.PlottingUtil.distance(y,A)>g){M=b;break}if(-1==M)return;r.splice(M+1,r.length-1-M),u=SuperMapAlgoPlot.PlottingUtil.linePnt(a,e[M],g),r.push(u),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,r);for(var d=-1,m=n.index;mg){d=m;break}if(-1==d)return;P=SuperMapAlgoPlot.PlottingUtil.linePnt(a,e[d],g),S.push(P);for(var v=d+1;vl.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol21600=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],t,.8*e,l-90)}}]),e}();SuperMapAlgoPlot.AlgoSymbol21504=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],t,.8*e,l-90)}}]),e}();SuperMapAlgoPlot.AlgoSymbol21503=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol21502=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===l.scaleValues.length&&(l.scaleValues.push(.05),l.scaleValues.push(.02)),l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol21501),e}();SuperMapAlgoPlot.AlgoSymbol21502=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[1]=.5*this.getSubSymbolScaleValue()}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,r=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);this.addSubSymbols(n,r,a);for(var s=[],p=[],u=0;u<=i.startIndex;u++)s.push(e[u]);if(s.push(i.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){p.push(i.endPt);for(var P=i.endIndex+1;P<=e.length-1;P++)p.push(e[P]);this.addArrow(p,this.scaleValues[1])}var c=l*this.scaleValues[0]*.5,g=SuperMapAlgoPlot.PlottingUtil.circlePoint(n,c,c,a+90);this.addScalePoint(g,0),this.finish()}}},{key:"addSubSymbols",value:function(t,e,l){this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],t,.8*e,l-180)}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length.3||o<=0)&&(o=.3),this.scaleValues[0]=o,this.scaleValues[3]=.5*o}for(var i=this.getLinePts(e,this.scaleValues[0]),n=[],a=[],r=0;r<=i.startIndex;r++)n.push(e[r]);if(n.push(i.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,n),i.endIndex<=e.length){a.push(i.endPt);for(var s=i.endIndex+1;s<=e.length-1;s++)a.push(e[s]);this.addArrow(a,this.scaleValues[this.scaleValues.length-1])}var p,u,P,c,g,S,h,f,y,A,M,b,d,m=i.startPt.clone(),v=i.endPt.clone(),O=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),U=SuperMapAlgoPlot.PlottingUtil.distance(m,v),L=SuperMapAlgoPlot.PlottingUtil.radian(m,v)*SuperMapAlgoPlot.PlottingUtil.RTOD;p=new SuperMapAlgoPlot.Point(0,0),u=new SuperMapAlgoPlot.Point(0,0),P=new SuperMapAlgoPlot.Point(0,0),c=new SuperMapAlgoPlot.Point(0,0),g=new SuperMapAlgoPlot.Point(0,0),S=new SuperMapAlgoPlot.Point(0,0),h=new SuperMapAlgoPlot.Point(0,0),f=new SuperMapAlgoPlot.Point(0,0),y=new SuperMapAlgoPlot.Point(0,0),A=new SuperMapAlgoPlot.Point(0,0),M=new SuperMapAlgoPlot.Point(0,0),b=new SuperMapAlgoPlot.Point(0,0),d=new SuperMapAlgoPlot.Point(0,0),m.x>=v.x?(p.x=.25*U,p.y=.25*-U,u.x=.5*-U,u.y=.25*-U,P.x=.5*-U,P.y=.25*U,c.x=.5*U,c.y=.25*U,g.x=.5*U,g.y=0,S.x=.25*-U,S.y=.125*-U,h.x=0,h.y=.125*U,f.x=0,f.y=.125*-U,y.x=.25*U,y.y=.2*U,A.x=.25*-U,A.y=.25*-U,M.x=.375*-U,M.y=.5*-U,b.x=.02*-U,b.y=.25*-U,d.x=.1*U,d.y=.5*-U):(p.x=.25*U,p.y=.25*U,u.x=.5*-U,u.y=.25*U,P.x=.5*-U,P.y=.25*-U,c.x=.5*U,c.y=.25*-U,g.x=.5*U,g.y=0,S.x=.25*U,S.y=.125*-U,h.x=0,h.y=.125*U,f.x=0,f.y=.125*-U,y.x=.25*-U,y.y=.125*U,A.x=.25*-U,A.y=.25*U,M.x=.375*-U,M.y=.5*U,b.x=.02*U,b.y=.25*U,d.x=.15*U,d.y=.5*U);var w=[],_=[],V=[],T=[],E=[],x=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,p,L),C=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,u,L),j=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,P,L),Y=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,c,L),I=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,g,L),R=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,S,L),B=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,h,L),N=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,f,L),D=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,y,L),k=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,A,L),z=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,M,L),F=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,b,L),G=SuperMapAlgoPlot.PlottingUtil.coordinateTrans(O,d,L);w.push(x),w.push(C),w.push(j),w.push(Y),w.push(I),_.push(R),_.push(B),_.push(N),_.push(D),V.push(k),V.push(z),T.push(F),T.push(G),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,w,null,!0),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,_,null,!0),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,V,null,!0),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,T,null,!0);var W=.3*SuperMapAlgoPlot.PlottingUtil.distance(N,D),J=SuperMapAlgoPlot.PlottingUtil.linePnt(D,N,W),K=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(.3*W,D,J);E.push(K.pntLeft),E.push(D),E.push(K.pntRight);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,E,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0},!0);var H=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.5*l,e),q=SuperMapAlgoPlot.PlottingUtil.circlePoint(H.pts,l*this.scaleValues[0]*.5,l*this.scaleValues[0]*.5,L+90);this.addScalePoint(q,0),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint&&0===t){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).lengthl.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!1);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),n=.01*i;if(0===t){var a=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(o,n);if(-1===a.index)return;var r=SuperMapAlgoPlot.PlottingUtil.distance(e,a.pt);this.scaleValues[0]=r/i}else if(1===t){var s=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(o,n);if(-1===s.index)return;var p=SuperMapAlgoPlot.PlottingUtil.projectPtOnPolyLine(e,o);if(-1===p.index)return;for(var u=0,P=s.index+1;P.93&&(this.scaleValues[1]=.93)}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol21500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!1);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o),n=i*(.5+.5*this.scaleValues[1]),a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(n,o);if(!a.bfind)return;var r,s=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(1,o[a.index],a.pts),p=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(o[a.index],o[a.index+1],e);this.scaleValues[2]=p?0:1,r=SuperMapAlgoPlot.PlottingUtil.pointProjectToSegment(e,new SuperMapAlgoPlot.Point(s.pntLeft.x,s.pntLeft.y),new SuperMapAlgoPlot.Point(s.pntRight.x,s.pntRight.y));var u=SuperMapAlgoPlot.PlottingUtil.distance(r.projectPoint,new SuperMapAlgoPlot.Point(a.pts.x,a.pts.y));this.scaleValues[0]=u/i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol21401=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2){for(var n=-1,a=e.length-2;a>=0;a--)if(ol.length)return;var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[l.length-1])/o;if(i>.2)return;this.scaleValues[0]=i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol25201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.x&&(O=!1);var U,L=(v=.1*o)+(m=.12*o/2);d=1==O?(U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(L,l,e)).pntRight:(U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(L,l,e)).pntLeft;var w,_,V,T,E,x,C,j,Y=[];Y.push(d),Y.push(new SuperMapAlgoPlot.Point(d.x+m,d.y)),this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,Y),1==O?(w=(U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(.85*v,l,e)).pntRight,T=U.pntLeft,_=(U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(v,w,T)).pntRight,V=U.pntLeft):(w=(U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(.85*v,l,e)).pntLeft,T=U.pntRight,_=(U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(v,w,T)).pntLeft,V=U.pntRight),(Y=[]).push(w),Y.push(_),Y.push(V),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,Y,{fillLimit:!0,fill:!0,lineTypeLimit:!0}),U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(2*m,_,V),j=1==O?U.pntRight:U.pntLeft,U=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(2*m,V,_),x=1==O?U.pntLeft:U.pntRight;var I=SuperMapAlgoPlot.PlottingUtil.intersectLines(w,x,V,_);I.isIntersectLines&&(E=I.intersectPoint,(I=SuperMapAlgoPlot.PlottingUtil.intersectLines(w,j,V,_)).isIntersectLines&&(C=I.intersectPoint,(Y=[]).push(E),Y.push(x),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,Y),(Y=[]).push(C),Y.push(j),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,Y),this.scalePoints=[],this.addScalePoint(A[0]),this.addScalePoint(A[1]),this.addScalePoint(A[2]),this.finish()))}}},{key:"computeScaleValues",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var o,i=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]),n=l[0].clone(),a=l[1].clone(),r=e.clone();if(0==t){var s=SuperMapAlgoPlot.PlottingUtil.distance(r,n)/i;this.scaleValues[0]=s}else if(1==t){o=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,n,a);var p=SuperMapAlgoPlot.PlottingUtil.distance(o,r)/i;this.scaleValues[1]=p;var u=SuperMapAlgoPlot.PlottingUtil.distance(o,a)/i;this.scaleValues[3]=u}else if(2==t){o=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,n,a);var P=SuperMapAlgoPlot.PlottingUtil.distance(o,r)/i;this.scaleValues[2]=P;var c=SuperMapAlgoPlot.PlottingUtil.distance(o,a)/i;this.scaleValues[4]=c}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol42500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.3||o<=0)&&(o=.3),this.scaleValues[0]=o}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),a=180*SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)/Math.PI,r=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);0l.length)return;var o=new SuperMapAlgoPlot.Point(l[0].x,l[0].y),i=new SuperMapAlgoPlot.Point(l[1].x,l[1].y),n=SuperMapAlgoPlot.PlottingUtil.distance(o,i);if(0===n)return;var a=new SuperMapAlgoPlot.Point((o.x+i.x)/2,(o.y+i.y)/2);if(0===t){var r=SuperMapAlgoPlot.PlottingUtil.distance(e,a)/n;this.scaleValues[0]=r,SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(o,i,e)?this.scaleValues[1]=1:this.scaleValues[1]=0}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol20301=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;ll.length)return;for(var o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),i=-1,n=0,a=new SuperMapAlgoPlot.Point(0,0),r=0;rP&&(i=r,a=s,n=P)}}if(-1===i||i>l.length-1)return;for(var c=0,g=0;go)return;var y=c/o;y>.95?y=.95:y<.1&&(y=.1),this.scaleValues[0]=y}}}]),e}();SuperMapAlgoPlot.AlgoSymbol20300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l(n*=this.scaleValues[6])?(P=SuperMapAlgoPlot.PlottingUtil.paraLine(p,n/2,!0),c=SuperMapAlgoPlot.PlottingUtil.paraLine(p,n/2,!1)):(P=SuperMapAlgoPlot.PlottingUtil.paraLine(p,g/2,!0),c=SuperMapAlgoPlot.PlottingUtil.paraLine(p,g/2,!1));var S=[];S.push(P[0]),S.push(P[P.length-1]),S.push(c[c.length-1]),S.push(c[0]);var h={surroundLineFlag:!1,fillLimit:!0,strokeColor:"#37CECE",fillColorLimit:!0,fillColor:"#37CECE",fill:!0,fillOpacity:.7,lineColorLimit:!0,color:"#37CECE",surroundLineLimit:!0};this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,S,h);var f=SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(S);h={surroundLineFlag:!1,fillLimit:!0,lineTypeLimit:!0};var y=SuperMapAlgoPlot.PlottingUtil.paraLine(o,l,!1);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,y,h);for(var A=i*this.scaleValues[1],M=this.getDashLinePts(o,A),b=0;bo)return l;for(var i=SuperMapAlgoPlot.PlottingUtil.clonePoints(t),n=2*parseInt(o/(1.5*e)),a=0;a0&&l.push(i),l}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length1&&(g=1),this.scaleValues[5]=g)}else this.scaleValues[5]=c/i;else if(1===t){a=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i*this.scaleValues[5],o),n=SuperMapAlgoPlot.PlottingUtil.distance(a.pts,e);var S=this.scaleValues[7]*i;this.scaleValues[6]=n/S}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol1770501=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.AlgoSymbol17704=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var l=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return l.subText="急",l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol17703),e}();SuperMapAlgoPlot.AlgoSymbol17704=o},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2*l.length-2)return;for(var o=0,i=0;i.45&&(p=.45),2==l.length?this.scaleValues[0]=p:this.scaleValues[2*t]=p}else{var u=-1;u=t%2==0?t/2:(t+1)/2;var P=(e.x-l[u].x)/o,c=(e.y-l[u].y)/o;this.scaleValues[2*t]=P,this.scaleValues[2*t+1]=c}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol17703=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lo)return l;for(var i=SuperMapAlgoPlot.PlottingUtil.clonePoints(t),n=2*parseInt(o/(1.5*e)),a=0;a0&&l.push(i),l}}]),e}();SuperMapAlgoPlot.AlgoSymbol17700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(3>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);for(var l=e[0].x,o=e[0].x,i=e[0].y,n=e[0].y,a=0;ae[a].x&&(l=e[a].x),oe[a].y&&(i=e[a].y),n=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(3>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);for(var l=e[0].x,o=e[0].x,i=e[0].y,n=e[0].y,a=0;ae[a].x&&(l=e[a].x),oe[a].y&&(i=e[a].y),n=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);for(var l=e[0].x,o=e[0].x,i=e[0].y,n=e[0].y,a=[],r=0;re[r].x&&(l=e[r].x),oe[r].y&&(i=e[r].y),n=this.controlPoints.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):t.length>3&&!0===this.polylineConnectLocationPoint?t:SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),!(3>(e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e)).length)){this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e);for(var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(e),o=e[0].x,i=e[0].x,n=e[0].y,a=e[0].y,r=[],s=0;se[s].x&&(o=e[s].x),ie[s].y&&(n=e[s].y),a0&&(y=.015*l,this.computeSubSymbol(this.subSymbols[0],A,y,0)),S++):(S=0,this.subSymbols.length>0&&(y=.022*l,this.computeSubSymbol(this.subSymbols[1],A,y,0)))}this.finish()}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol17400=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;lo-o*this.scaleValues[0]-n&&(this.scaleValues[1]=(o-o*this.scaleValues[0]-n)/o)}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol16203=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.9&&(this.scaleValues[1]=.9)}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol16201=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=this.minEditPts){this.scalePoints=[];var e=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t);e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e);var l=this.scaleValues[0],o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),i=l*o,n=.6*i,a=this.scaleValues[2]*o,r=0===this.scaleValues[1],s=SuperMapAlgoPlot.PlottingUtil.polylineDistance(e);if(0===s)return;for(var p=[],u=0;u<=s;u+=a){var P=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,u);if(!(P.index<0)){var c=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(i,e[P.index+1],P.pt);if(r?p.push(c.pntRight):p.push(c.pntLeft),!((P=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,u+.65*a)).index<0||(c=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(n,e[P.index+1],P.pt),r?p.push(c.pntRight):p.push(c.pntLeft),(P=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,u+.8*a)).index<0||(p.push(P.pt),(P=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,u+.5*a)).index<0||(c=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(i,e[P.index+1],P.pt),r?p.push(c.pntLeft):p.push(c.pntRight),P=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,u+.2*a),p.push(P.pt),(P=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,u+.35*a)).index<0||(c=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(n,e[P.index+1],P.pt),r?p.push(c.pntRight):p.push(c.pntLeft),(P=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,u+a)).index<0||(c=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(i,e[P.index+1],P.pt),r?p.push(c.pntRight):p.push(c.pntLeft),!(Math.abs(u)<=1e-6)))))))){this.scalePoints=[];var g=new SuperMapAlgoPlot.Point(p[0].x,p[0].y);g.isScalePoint=!0,g.tag=0,this.scalePoints.push(g),(g=new SuperMapAlgoPlot.Point(P.pt.x,P.pt.y)).isScalePoint=!0,g.tag=1,this.scalePoints.push(g)}}}var S=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(p);SuperMapAlgoPlot.PlottingUtil.clearSamePts(S),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,S)}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)).length=1)return;this.scaleValues[2]=y}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol15800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.7&&(d=.7),this.scaleValues[2]=d}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol15200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=n)return;this.scaleValues=[];var a=SuperMapAlgoPlot.PlottingUtil.distance(l,o)/n;this.scaleValues.push(a);var r=180*SuperMapAlgoPlot.PlottingUtil.radian(l,o)/Math.PI;r>90?r-=90:r=270+r,this.scaleValues.push(r*(Math.PI/180));var s=180*SuperMapAlgoPlot.PlottingUtil.radian(l,i)/Math.PI;s>90?s-=90:s=270+s,this.scaleValues.push(s*(Math.PI/180)),e=this.scaleValues[0]*n;var p=this.scaleValues[1]*(180/Math.PI)+90,u=this.scaleValues[2]*(180/Math.PI)+90;p=u;g-=4)P=SuperMapAlgoPlot.PlottingUtil.circlePoint(this.controlPoints[0],e,e,g),c.push(P);g!=u&&(P=SuperMapAlgoPlot.PlottingUtil.circlePoint(this.controlPoints[0],e,e,u),c.push(P)),this.controlPoints[2]=SuperMapAlgoPlot.PlottingUtil.circlePoint(this.controlPoints[0],e,e,u),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,c)}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol13700=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;li&&Si){var h;h=g>i?c:r,(P=this.getLineAddCircleIntersectPts(c,r,p)).length>0&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[P[0],h])}else{var f=SuperMapAlgoPlot.PlottingUtil.projectPoint(s,c,r);if(SuperMapAlgoPlot.PlottingUtil.distance(s,f)>=i)this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[c,r]);else if(SuperMapAlgoPlot.PlottingUtil.pointIsOnPolyLine(f,c,r)){if((P=this.getLineAddCircleIntersectPts(c,r,p)).length>0){P.unshift(c),P.push(r);for(var y=0;ySuperMapAlgoPlot.PlottingUtil.distance(i,l)}},{key:"getLineAddCircleIntersectPts",value:function(t,e,l){var o=l.slice();o[0].x===o[o.length-1].x&&o[0].y===o[o.length-1].y||o.push(o[0]);for(var i,n=[],a=0;ae.x)for(var P=0;Pn[c+1].x&&(i=n[c],n[c]=n[c+1],n[c+1]=i);else if(t.y>e.y)for(var g=0;gn[S+1].y&&(i=n[S],n[S]=n[S+1],n[S+1]=i);return n}}]),e}();SuperMapAlgoPlot.AlgoSymbol12502=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l1&&(c.push(g),g=[]):g.push(a.pt[S]);g.length>1&&c.push(g);for(var h=0;hthis.scaleValues.length)return;var o,i,n,a,r,s=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l),p=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l),u=new SuperMapAlgoPlot.Point(e.x,e.y);if(0===t){var P=new SuperMapAlgoPlot.Point(l[0].x,l[0].y),c=SuperMapAlgoPlot.PlottingUtil.distance(P,u);i=2*c/s,this.scaleValues[1]=i}else if(1===t)P=new SuperMapAlgoPlot.Point(l[0].x,l[0].y),o=(c=SuperMapAlgoPlot.PlottingUtil.distance(P,u))/s,this.scaleValues[0]=o;else if(2==t){var g=-1,S=0;r=new SuperMapAlgoPlot.Point(0,0),o=this.scaleValues[0],i=this.scaleValues[1];for(var h=0;hM&&(g=h,r=A,S=M)}}if(-1==g||g>p.length-1)return;a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(p);for(var b=[],d=0;da)return;n=m/a,this.scaleValues[2]=n}else if(3===t){o=this.scaleValues[0],i=this.scaleValues[1],n=this.scaleValues[2];var v=(a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(p))*n;if(-1===(r=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(p,v)).index)return;var O=SuperMapAlgoPlot.PlottingUtil.distance(r.pt,e)/s;O>.4&&(O=.4),this.scaleValues[3]=O}}}},{key:"GetCurvePts",value:function(t,e,l){for(var o,i=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(i),a=n*e,r=n*l/2,s=[],p=[],u=i[0],P=!1,c=i[0],g=1;g1&&0===A?this.ClearCurvePts2D(c,u,S,p,M,s):s.concat(M),p=(p=[]).concat(M),c=u,u=f}g===i.length-1&&(f=i[i.length-1],M=this.GetCosPts2D(u,f,a,r),s=p.length>1&&M.length>1?this.ClearCurvePts2D(c,u,S,p,M,s):s.concat(M))}}return{pt:s,scalePt:o}}},{key:"GetCosPts2D",value:function(t,e,l,o){for(var i=[],n=SuperMapAlgoPlot.PlottingUtil.distance(t,e),a=l/30,r=0;ro&&go){var S;S=c>o?u:P,(p=this.getLineAddCircleIntersectPts(u,P,r)).length>0&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[p[0],S])}else{var h=SuperMapAlgoPlot.PlottingUtil.projectPoint(a,u,P);if(SuperMapAlgoPlot.PlottingUtil.distance(a,h)>=o)this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[u,P]);else if(SuperMapAlgoPlot.PlottingUtil.pointIsOnPolyLine(h,u,P)){if((p=this.getLineAddCircleIntersectPts(u,P,r)).length>0){p.unshift(u),p.push(P);for(var f=0;fSuperMapAlgoPlot.PlottingUtil.distance(i,l)}},{key:"getLineAddCircleIntersectPts",value:function(t,e,l){var o=l.slice();o[0].x===o[o.length-1].x&&o[0].y===o[o.length-1].y||o.push(o[0]);for(var i,n=[],a=0;ae.x)for(var P=0;Pn[c+1].x&&(i=n[c],n[c]=n[c+1],n[c+1]=i);else if(t.y>e.y)for(var g=0;gn[S+1].y&&(i=n[S],n[S]=n[S+1],n[S+1]=i);return n}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),o=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(0===t){for(var i=0,n=-1,a=null,r=0;r1&&(c=1),this.scaleValues[0]=c}if(1===t){var g=this.scaleValues[0]*o,S=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(l,g);if(-1===S.index)return;var h=SuperMapAlgoPlot.PlottingUtil.distance(S.pt,e)/o;h>.4&&(h=.4),this.scaleValues[1]=h}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol12500=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l0&&this.computeSubSymbol(this.subSymbols[0],P,.9*u,S-90),this.scalePoints=[],this.addScalePoint(s[s.length-1]);var f=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,u,u,S+90);this.addScalePoint(f),this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){if(0!==t&&1!==t)return;var l=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.minEditPts>l.length)return;var o=SuperMapAlgoPlot.PlottingUtil.distance(l[0],l[1]);if(0==t){var i=SuperMapAlgoPlot.PlottingUtil.distance(e,l[0])/o;this.scaleValues[0]=i}else if(1==t){var n=this.scaleValues[0]*o,a=SuperMapAlgoPlot.PlottingUtil.radian(l[0],l[1])*SuperMapAlgoPlot.PlottingUtil.RTOD,r=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[0],n,n,90+a),s=SuperMapAlgoPlot.PlottingUtil.circlePoint(l[1],n,n,90+a),p=new SuperMapAlgoPlot.Point((r.x+s.x)/2,(r.y+s.y)/2),u=SuperMapAlgoPlot.PlottingUtil.distance(p,e)/o;u>=.8&&(u=.8),this.scaleValues[1]=u}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol27100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbol37301=e.AlgoSymbol5033701=e.AlgoSymbol50337=e.AlgoSymbol5033601=e.AlgoSymbol50336=e.AlgoSymbol5033301=e.AlgoSymbol50332=e.AlgoSymbol3002701=e.AlgoSymbol90217=e.AlgoSymbol90215=e.AlgoSymbol90213=e.AlgoSymbol90212=e.AlgoSymbol8020301=e.AlgoSymbol80203=e.AlgoSymbol6030601=e.AlgoSymbol70110=e.AlgoSymbol6031001=e.AlgoSymbol6030501=e.AlgoSymbol6030107=e.AlgoSymbol6030106=e.AlgoSymbol6030105=e.AlgoSymbol6030104=e.AlgoSymbol6030103=e.AlgoSymbol6030102=e.AlgoSymbol6030101=e.AlgoSymbol6012702=e.AlgoSymbol5020802=e.AlgoSymbol5020801=e.AlgoSymbol5035205=e.AlgoSymbol5035203=e.AlgoSymbol5035202=e.AlgoSymbol5035201=e.AlgoSymbol5034801=e.AlgoSymbol5034203=e.AlgoSymbol5034202=e.AlgoSymbol5034201=e.AlgoSymbol5033803=e.AlgoSymbol5033802=e.AlgoSymbol5033502=e.AlgoSymbol5033501=e.AlgoSymbol5033001=e.AlgoSymbol50321=e.AlgoSymbol5032004=e.AlgoSymbol5032003=e.AlgoSymbol5031401=e.AlgoSymbol5030301=e.AlgoSymbol5030107=e.AlgoSymbol5030105=e.AlgoSymbol5030104=e.AlgoSymbol5030103=e.AlgoSymbol5022301=e.AlgoSymbol5022002=e.AlgoSymbol5022001=e.AlgoSymbol5021803=e.AlgoSymbol5010401=e.AlgoSymbol4030802=e.AlgoSymbol4030602=e.AlgoSymbol4030501=e.AlgoSymbol4030401=e.AlgoSymbol4030303=e.AlgoSymbol4030302=e.AlgoSymbol4030301=e.AlgoSymbol3002005=e.AlgoSymbol3002004=e.AlgoSymbol3002003=e.AlgoSymbol3002002=e.AlgoSymbol3002001=e.AlgoSymbol3001302=e.AlgoSymbol3001301=e.AlgoSymbol3001105=e.AlgoSymbol3001104=e.AlgoSymbol3001103=e.AlgoSymbol3001102=void 0,e.AlgoSymbol3001101=e.AlgoSymbol3000809=e.AlgoSymbol3000808=e.AlgoSymbol3000807=e.AlgoSymbol3000806=e.AlgoSymbol3000805=e.AlgoSymbol3000804=e.AlgoSymbol3000803=e.AlgoSymbol3000802=e.AlgoSymbol3000801=e.AlgoSymbol2122301=e.AlgoSymbol2122202=e.AlgoSymbol2122201=e.AlgoSymbol2122101=e.AlgoSymbol2121602=e.AlgoSymbol2121601=e.AlgoSymbol2121507=e.AlgoSymbol2121506=e.AlgoSymbol2121504=e.AlgoSymbol2092101=e.AlgoSymbol2091503=e.AlgoSymbol37300=e.AlgoSymbol37200=e.AlgoSymbol37100=e.AlgoSymbol36800=e.AlgoSymbol34700=e.AlgoSymbol34400=e.AlgoSymbol34300=e.AlgoSymbol60310=e.AlgoSymbol60306=e.AlgoSymbol60305=e.AlgoSymbol60304=e.AlgoSymbol2121505=e.AlgoSymbol60301=e.AlgoSymbol60205=e.AlgoSymbol60203=e.AlgoSymbol6011501=e.AlgoSymbol60115=e.AlgoSymbol60108=e.AlgoSymbol5035501=e.AlgoSymbol50355=e.AlgoSymbol5035401=e.AlgoSymbol50354=e.AlgoSymbol50352=e.AlgoSymbol50344=e.AlgoSymbol5034303=e.AlgoSymbol5034302=e.AlgoSymbol5034301=e.AlgoSymbol50343=e.AlgoSymbol50342=e.AlgoSymbol5034102=e.AlgoSymbol5034101=e.AlgoSymbol50341=e.AlgoSymbol50335=e.AlgoSymbol50331=e.AlgoSymbol50328=e.AlgoSymbol50323=e.AlgoSymbol50318=e.AlgoSymbol50308=e.AlgoSymbol50226=e.AlgoSymbol50225=e.AlgoSymbol50223=e.AlgoSymbol50108=e.AlgoSymbol40305=e.AlgoSymbol40304=e.AlgoSymbol40302=e.AlgoSymbol40104=e.AlgoSymbol30031=e.AlgoSymbol3003001=e.AlgoSymbol30030=e.AlgoSymbol30026=e.AlgoSymbol3002505=e.AlgoSymbol3002504=e.AlgoSymbol3002503=e.AlgoSymbol3002502=e.AlgoSymbol3002501=e.AlgoSymbol30025=e.AlgoSymbol30020=e.AlgoSymbol30014=e.AlgoSymbol30013=e.AlgoSymbol30012=e.AlgoSymbol30011=e.AlgoSymbol30010=e.AlgoSymbol30009=e.AlgoSymbol30008=e.AlgoSymbol21221=e.AlgoSymbol21216=e.AlgoSymbol21207=e.AlgoSymbol1002=e.AlgoSymbol1021=e.GeoTooltipBox=e.AlgoSymbol3020901=e.AlgoSymbol3010304=e.AlgoSymbol3010303=e.AlgoSymbol3010301=e.AlgoSymbol40100=e.AlgoSymbol37700=e.AlgoSymbol35500=e.AlgoSymbol35200=e.AlgoSymbol35000=void 0,e.AlgoSymbol44100=e.AlgoSymbol42200=e.AlgoSymbol41202=e.AlgoSymbol41201=e.AlgoSymbol41200=e.AlgoSymbol41100=e.AlgoSymbol40101=e.AlgoSymbol40900=e.AlgoSymbol36400=e.AlgoSymbol32300=e.AlgoSymbol31401=e.AlgoSymbol31400=e.AlgoSymbol31301=e.AlgoSymbol31300=e.AlgoSymbol30800=e.AlgoSymbol30023=e.AlgoSymbol30201=e.AlgoSymbol30200=e.AlgoSymbol30100=e.AlgoSymbol30002=e.AlgoSymbol30001=e.AlgoSymbol30000=e.AlgoSymbol29800=e.AlgoSymbol28301=e.AlgoSymbol28300=e.AlgoSymbol28200=e.AlgoSymbol28100=e.AlgoSymbol28000=e.AlgoSymbol26601=e.AlgoSymbol26600=e.AlgoSymbol26502=e.AlgoSymbol26500=e.AlgoSymbol26400=e.AlgoSymbol25400=e.AlgoSymbol25000=e.AlgoSymbol25200=e.AlgoSymbol29103=e.AlgoSymbol29101=e.AlgoSymbol29100=e.AlgoSymbol29000=e.AlgoSymbol28900=e.AlgoSymbol23902=e.AlgoSymbol23901=e.AlgoSymbol23800=e.AlgoSymbol23500=e.AlgoSymbol23400=e.AlgoSymbol22103=e.AlgoSymbol22000=e.AlgoSymbol21800=e.AlgoSymbol21600=e.AlgoSymbol21504=e.AlgoSymbol21503=e.AlgoSymbol21502=e.AlgoSymbol21501=e.AlgoSymbol21900=e.AlgoSymbol21500=e.AlgoSymbol21401=e.AlgoSymbol25201=e.AlgoSymbol42500=e.AlgoSymbol26501=e.AlgoSymbol2060202=e.AlgoSymbol2060201=e.AlgoSymbol20301=e.AlgoSymbol20300=e.AlgoSymbol17806=e.AlgoSymbol17805=e.AlgoSymbol17804=e.AlgoSymbol17803=e.AlgoSymbol17802=e.AlgoSymbol17801=e.AlgoSymbol17800=e.AlgoSymbol1770501=e.AlgoSymbol17704=e.AlgoSymbol17703=e.AlgoSymbol17700=e.AlgoSymbol17501=e.AlgoSymbol17500=e.AlgoSymbol17401=e.AlgoSymbol17400=e.AlgoSymbol16700=e.AlgoSymbol16203=e.AlgoSymbol16202=e.AlgoSymbol16201=e.AlgoSymbol16200=e.AlgoSymbol15900=e.AlgoSymbol15806=e.AlgoSymbol15805=e.AlgoSymbol15804=e.AlgoSymbol15803=e.AlgoSymbol15802=e.AlgoSymbol15801=e.AlgoSymbol15800=e.AlgoSymbol15202=e.AlgoSymbol15201=e.AlgoSymbol15200=e.AlgoSymbol13700=e.AlgoSymbol12502=e.AlgoSymbol12501=e.AlgoSymbol12500=e.AlgoSymbol27100=void 0;var o=l(273),i=l(272),n=l(271),a=l(270),r=l(269),s=l(268),p=l(267),u=l(266),P=l(265),c=l(264),g=l(263),S=l(262),h=l(261),f=l(260),y=l(259),A=l(258),M=l(257),b=l(256),d=l(255),m=l(254),v=l(253),O=l(252),U=l(251),L=l(250),w=l(249),_=l(248),V=l(247),T=l(246),E=l(245),x=l(244),C=l(243),j=l(242),Y=l(241),I=l(240),R=l(239),B=l(238),N=l(237),D=l(236),k=l(235),z=l(234),F=l(233),G=l(232),W=l(231),J=l(230),K=l(229),H=l(228),q=l(227),Q=l(226),X=l(225),Z=l(224),$=l(223),tt=l(222),et=l(221),lt=l(220),ot=l(219),it=l(218),nt=l(217),at=l(216),rt=l(215),st=l(214),pt=l(213),ut=l(212),Pt=l(211),ct=l(210),gt=l(209),St=l(208),ht=l(207),ft=l(206),yt=l(205),At=l(204),Mt=l(203),bt=l(202),dt=l(201),mt=l(200),vt=l(199),Ot=l(198),Ut=l(197),Lt=l(196),wt=l(195),_t=l(194),Vt=l(193),Tt=l(192),Et=l(191),xt=l(190),Ct=l(189),jt=l(188),Yt=l(187),It=l(186),Rt=l(185),Bt=l(184),Nt=l(183),Dt=l(182),kt=l(181),zt=l(180),Ft=l(179),Gt=l(178),Wt=l(177),Jt=l(176),Kt=l(175),Ht=l(174),qt=l(173),Qt=l(172),Xt=l(171),Zt=l(170),$t=l(169),te=l(168),ee=l(167),le=l(166),oe=l(165),ie=l(164),ne=l(163),ae=l(162),re=l(161),se=l(160),pe=l(159),ue=l(158),Pe=l(157),ce=l(156),ge=l(155),Se=l(154),he=l(153),fe=l(152),ye=l(151),Ae=l(150),Me=l(149),be=l(148),de=l(147),me=l(146),ve=l(145),Oe=l(144),Ue=l(143),Le=l(142),we=l(141),_e=l(140),Ve=l(139),Te=l(138),Ee=l(137),xe=l(136),Ce=l(135),je=l(134),Ye=l(133),Ie=l(132),Re=l(131),Be=l(130),Ne=l(129),De=l(128),ke=l(127),ze=l(126),Fe=l(125),Ge=l(124),We=l(123),Je=l(122),Ke=l(121),He=l(120),qe=l(119),Qe=l(118),Xe=l(117),Ze=l(116),$e=l(115),tl=l(114),el=l(113),ll=l(111),ol=l(110),il=l(109),nl=l(108),al=l(107),rl=l(106),sl=l(105),pl=l(104),ul=l(103),Pl=l(102),cl=l(101),gl=l(100),Sl=l(99),hl=l(98),fl=l(97),yl=l(96),Al=l(95),Ml=l(94),bl=l(93),dl=l(92),ml=l(91),vl=l(90),Ol=l(89),Ul=l(88),Ll=l(87),wl=l(86),_l=l(85),Vl=l(84),Tl=l(83),El=l(82),xl=l(81),Cl=l(80),jl=l(79),Yl=l(78),Il=l(77),Rl=l(76),Bl=l(75),Nl=l(74),Dl=l(73),kl=l(72),zl=l(71),Fl=l(70),Gl=l(69),Wl=l(68),Jl=l(67),Kl=l(66),Hl=l(65),ql=l(64),Ql=l(63),Xl=l(62),Zl=l(61),$l=l(60),to=l(59),eo=l(58),lo=l(57),oo=l(56),io=l(55),no=l(54),ao=l(53),ro=l(52),so=l(51),po=l(0),uo=l(50),Po=l(49),co=l(48),go=l(47),So=l(46),ho=l(45),fo=l(44),yo=l(43),Ao=l(42),Mo=l(41),bo=l(40),mo=l(39),vo=l(38),Oo=l(37),Uo=l(36),Lo=l(35),wo=l(34),_o=l(33),Vo=l(32),To=l(31),Eo=l(30),xo=l(29),Co=l(28),jo=l(27),Yo=l(26),Io=l(25),Ro=l(24),Bo=l(23),No=l(22),Do=l(21),ko=l(20),zo=l(19),Fo=l(18),Go=l(17),Wo=l(16),Jo=l(15),Ko=l(14),Ho=l(13),qo=l(12),Qo=l(11),Xo=l(10),Zo=l(9),$o=l(8),ti=l(7),ei=l(6),li=l(5),oi=l(4),ii=l(3),ni=l(2),ai=l(1);e.AlgoSymbol27100=o.AlgoSymbol27100,e.AlgoSymbol12500=i.AlgoSymbol12500,e.AlgoSymbol12501=n.AlgoSymbol12501,e.AlgoSymbol12502=a.AlgoSymbol12502,e.AlgoSymbol13700=r.AlgoSymbol13700,e.AlgoSymbol15200=s.AlgoSymbol15200,e.AlgoSymbol15201=p.AlgoSymbol15201,e.AlgoSymbol15202=u.AlgoSymbol15202,e.AlgoSymbol15800=P.AlgoSymbol15800,e.AlgoSymbol15801=c.AlgoSymbol15801,e.AlgoSymbol15802=g.AlgoSymbol15802,e.AlgoSymbol15803=S.AlgoSymbol15803,e.AlgoSymbol15804=h.AlgoSymbol15804,e.AlgoSymbol15805=f.AlgoSymbol15805,e.AlgoSymbol15806=y.AlgoSymbol15806,e.AlgoSymbol15900=A.AlgoSymbol15900,e.AlgoSymbol16200=M.AlgoSymbol16200,e.AlgoSymbol16201=b.AlgoSymbol16201,e.AlgoSymbol16202=d.AlgoSymbol16202,e.AlgoSymbol16203=m.AlgoSymbol16203,e.AlgoSymbol16700=v.AlgoSymbol16700,e.AlgoSymbol17400=O.AlgoSymbol17400,e.AlgoSymbol17401=U.AlgoSymbol17401,e.AlgoSymbol17500=L.AlgoSymbol17500,e.AlgoSymbol17501=w.AlgoSymbol17501,e.AlgoSymbol17700=_.AlgoSymbol17700,e.AlgoSymbol17703=V.AlgoSymbol17703,e.AlgoSymbol17704=T.AlgoSymbol17704,e.AlgoSymbol1770501=E.AlgoSymbol1770501,e.AlgoSymbol17800=x.AlgoSymbol17800,e.AlgoSymbol17801=C.AlgoSymbol17801,e.AlgoSymbol17802=j.AlgoSymbol17802,e.AlgoSymbol17803=Y.AlgoSymbol17803,e.AlgoSymbol17804=I.AlgoSymbol17804,e.AlgoSymbol17805=R.AlgoSymbol17805,e.AlgoSymbol17806=B.AlgoSymbol17806,e.AlgoSymbol20300=N.AlgoSymbol20300,e.AlgoSymbol20301=D.AlgoSymbol20301,e.AlgoSymbol2060201=Pe.AlgoSymbol2060201,e.AlgoSymbol2060202=ce.AlgoSymbol2060202,e.AlgoSymbol26501=k.AlgoSymbol26501,e.AlgoSymbol42500=z.AlgoSymbol42500,e.AlgoSymbol25201=F.AlgoSymbol25201,e.AlgoSymbol21401=G.AlgoSymbol21401,e.AlgoSymbol21500=W.AlgoSymbol21500,e.AlgoSymbol21900=J.AlgoSymbol21900,e.AlgoSymbol21501=K.AlgoSymbol21501,e.AlgoSymbol21502=H.AlgoSymbol21502,e.AlgoSymbol21503=q.AlgoSymbol21503,e.AlgoSymbol21504=Q.AlgoSymbol21504,e.AlgoSymbol21600=X.AlgoSymbol21600,e.AlgoSymbol21800=Z.AlgoSymbol21800,e.AlgoSymbol22000=$.AlgoSymbol22000,e.AlgoSymbol22103=tt.AlgoSymbol22103,e.AlgoSymbol23400=et.AlgoSymbol23400,e.AlgoSymbol23500=lt.AlgoSymbol23500,e.AlgoSymbol23800=ot.AlgoSymbol23800,e.AlgoSymbol23901=it.AlgoSymbol23901,e.AlgoSymbol23902=nt.AlgoSymbol23902,e.AlgoSymbol28900=at.AlgoSymbol28900,e.AlgoSymbol29000=rt.AlgoSymbol29000,e.AlgoSymbol29100=st.AlgoSymbol29100,e.AlgoSymbol29101=pt.AlgoSymbol29101,e.AlgoSymbol29103=ut.AlgoSymbol29103,e.AlgoSymbol25200=Pt.AlgoSymbol25200,e.AlgoSymbol25000=ct.AlgoSymbol25000,e.AlgoSymbol25400=gt.AlgoSymbol25400,e.AlgoSymbol26400=St.AlgoSymbol26400,e.AlgoSymbol26500=ht.AlgoSymbol26500,e.AlgoSymbol26502=ft.AlgoSymbol26502,e.AlgoSymbol26600=yt.AlgoSymbol26600,e.AlgoSymbol26601=At.AlgoSymbol26601,e.AlgoSymbol28000=Mt.AlgoSymbol28000,e.AlgoSymbol28100=bt.AlgoSymbol28100,e.AlgoSymbol28200=dt.AlgoSymbol28200,e.AlgoSymbol28300=mt.AlgoSymbol28300,e.AlgoSymbol28301=vt.AlgoSymbol28301,e.AlgoSymbol29800=Ot.AlgoSymbol29800,e.AlgoSymbol30000=Ut.AlgoSymbol30000,e.AlgoSymbol30001=Lt.AlgoSymbol30001,e.AlgoSymbol30002=wt.AlgoSymbol30002,e.AlgoSymbol30100=_t.AlgoSymbol30100,e.AlgoSymbol30200=Vt.AlgoSymbol30200,e.AlgoSymbol30201=Tt.AlgoSymbol30201,e.AlgoSymbol30023=Oe.AlgoSymbol30023,e.AlgoSymbol30800=Et.AlgoSymbol30800,e.AlgoSymbol31300=xt.AlgoSymbol31300,e.AlgoSymbol31301=Ct.AlgoSymbol31301,e.AlgoSymbol31400=jt.AlgoSymbol31400,e.AlgoSymbol31401=Yt.AlgoSymbol31401,e.AlgoSymbol32300=It.AlgoSymbol32300,e.AlgoSymbol36400=Dt.AlgoSymbol36400,e.AlgoSymbol40900=Wt.AlgoSymbol40900,e.AlgoSymbol40101=Jt.AlgoSymbol40101,e.AlgoSymbol41100=Kt.AlgoSymbol41100,e.AlgoSymbol41200=Ht.AlgoSymbol41200,e.AlgoSymbol41201=qt.AlgoSymbol41201,e.AlgoSymbol41202=Qt.AlgoSymbol41202,e.AlgoSymbol42200=Xt.AlgoSymbol42200,e.AlgoSymbol44100=Zt.AlgoSymbol44100,e.AlgoSymbol35000=$t.AlgoSymbol35000,e.AlgoSymbol35200=te.AlgoSymbol35200,e.AlgoSymbol35500=ee.AlgoSymbol35500,e.AlgoSymbol37700=le.AlgoSymbol37700,e.AlgoSymbol40100=oe.AlgoSymbol40100,e.AlgoSymbol3010301=ie.AlgoSymbol3010301,e.AlgoSymbol3010303=ne.AlgoSymbol3010303,e.AlgoSymbol3010304=ae.AlgoSymbol3010304,e.AlgoSymbol3020901=re.AlgoSymbol3020901,e.GeoTooltipBox=se.GeoTooltipBox,e.AlgoSymbol1021=pe.AlgoSymbol1021,e.AlgoSymbol1002=ue.AlgoSymbol1002,e.AlgoSymbol21207=ge.AlgoSymbol21207,e.AlgoSymbol21216=Se.AlgoSymbol21216,e.AlgoSymbol21221=he.AlgoSymbol21221,e.AlgoSymbol30008=fe.AlgoSymbol30008,e.AlgoSymbol30009=ye.AlgoSymbol30009,e.AlgoSymbol30010=Ae.AlgoSymbol30010,e.AlgoSymbol30011=Me.AlgoSymbol30011,e.AlgoSymbol30012=be.AlgoSymbol30012,e.AlgoSymbol30013=de.AlgoSymbol30013,e.AlgoSymbol30014=me.AlgoSymbol30014,e.AlgoSymbol30020=ve.AlgoSymbol30020,e.AlgoSymbol30025=Ue.AlgoSymbol30025,e.AlgoSymbol3002501=$l.AlgoSymbol3002501,e.AlgoSymbol3002502=to.AlgoSymbol3002502,e.AlgoSymbol3002503=eo.AlgoSymbol3002503,e.AlgoSymbol3002504=lo.AlgoSymbol3002504,e.AlgoSymbol3002505=oo.AlgoSymbol3002505,e.AlgoSymbol30026=Le.AlgoSymbol30026,e.AlgoSymbol30030=we.AlgoSymbol30030,e.AlgoSymbol3003001=_e.AlgoSymbol3003001,e.AlgoSymbol30031=Ve.AlgoSymbol30031,e.AlgoSymbol40104=Te.AlgoSymbol40104,e.AlgoSymbol40302=Ee.AlgoSymbol40302,e.AlgoSymbol40304=xe.AlgoSymbol40304,e.AlgoSymbol40305=Ce.AlgoSymbol40305,e.AlgoSymbol50108=je.AlgoSymbol50108,e.AlgoSymbol50223=Ye.AlgoSymbol50223,e.AlgoSymbol50225=Ie.AlgoSymbol50225,e.AlgoSymbol50226=Re.AlgoSymbol50226,e.AlgoSymbol50308=Be.AlgoSymbol50308,e.AlgoSymbol50318=Ne.AlgoSymbol50318,e.AlgoSymbol50323=De.AlgoSymbol50323,e.AlgoSymbol50328=ke.AlgoSymbol50328,e.AlgoSymbol50331=ze.AlgoSymbol50331,e.AlgoSymbol50335=Fe.AlgoSymbol50335,e.AlgoSymbol50341=Vo.AlgoSymbol50341,e.AlgoSymbol5034101=To.AlgoSymbol5034101,e.AlgoSymbol5034102=Eo.AlgoSymbol5034102,e.AlgoSymbol50342=Je.AlgoSymbol50342,e.AlgoSymbol50343=Ke.AlgoSymbol50343,e.AlgoSymbol5034301=He.AlgoSymbol5034301,e.AlgoSymbol5034302=qe.AlgoSymbol5034302,e.AlgoSymbol5034303=Qe.AlgoSymbol5034303,e.AlgoSymbol50344=Xe.AlgoSymbol50344,e.AlgoSymbol50352=Ze.AlgoSymbol50352,e.AlgoSymbol50354=$e.AlgoSymbol50354,e.AlgoSymbol5035401=tl.AlgoSymbol5035401,e.AlgoSymbol50355=el.AlgoSymbol50355,e.AlgoSymbol5035501=ll.AlgoSymbol5035501,e.AlgoSymbol60108=ol.AlgoSymbol60108,e.AlgoSymbol60115=il.AlgoSymbol60115,e.AlgoSymbol6011501=nl.AlgoSymbol6011501,e.AlgoSymbol60203=rl.AlgoSymbol60203,e.AlgoSymbol60205=sl.AlgoSymbol60205,e.AlgoSymbol60301=pl.AlgoSymbol60301,e.AlgoSymbol2121505=ul.AlgoSymbol2121505,e.AlgoSymbol60304=Pl.AlgoSymbol60304,e.AlgoSymbol60305=cl.AlgoSymbol60305,e.AlgoSymbol60306=gl.AlgoSymbol60306,e.AlgoSymbol60310=Sl.AlgoSymbol60310,e.AlgoSymbol34300=Rt.AlgoSymbol34300,e.AlgoSymbol34400=Bt.AlgoSymbol34400,e.AlgoSymbol34700=Nt.AlgoSymbol34700,e.AlgoSymbol36800=kt.AlgoSymbol36800,e.AlgoSymbol37100=zt.AlgoSymbol37100,e.AlgoSymbol37200=Ft.AlgoSymbol37200,e.AlgoSymbol37300=Gt.AlgoSymbol37300,e.AlgoSymbol2091503=dl.AlgoSymbol2091503,e.AlgoSymbol2092101=ml.AlgoSymbol2092101,e.AlgoSymbol2121504=vl.AlgoSymbol2121504,e.AlgoSymbol2121506=Ol.AlgoSymbol2121506,e.AlgoSymbol2121507=Ul.AlgoSymbol2121507,e.AlgoSymbol2121601=Ll.AlgoSymbol2121601,e.AlgoSymbol2121602=wl.AlgoSymbol2121602,e.AlgoSymbol2122101=_l.AlgoSymbol2122101,e.AlgoSymbol2122201=Vl.AlgoSymbol2122201,e.AlgoSymbol2122202=Tl.AlgoSymbol2122202,e.AlgoSymbol2122301=El.AlgoSymbol2122301,e.AlgoSymbol3000801=xl.AlgoSymbol3000801,e.AlgoSymbol3000802=Cl.AlgoSymbol3000802,e.AlgoSymbol3000803=jl.AlgoSymbol3000803,e.AlgoSymbol3000804=Yl.AlgoSymbol3000804,e.AlgoSymbol3000805=Il.AlgoSymbol3000805,e.AlgoSymbol3000806=Rl.AlgoSymbol3000806,e.AlgoSymbol3000807=Bl.AlgoSymbol3000807,e.AlgoSymbol3000808=Nl.AlgoSymbol3000808,e.AlgoSymbol3000809=Dl.AlgoSymbol3000809,e.AlgoSymbol3001101=kl.AlgoSymbol3001101,e.AlgoSymbol3001102=zl.AlgoSymbol3001102,e.AlgoSymbol3001103=Fl.AlgoSymbol3001103,e.AlgoSymbol3001104=Gl.AlgoSymbol3001104,e.AlgoSymbol3001105=Wl.AlgoSymbol3001105,e.AlgoSymbol3001301=Jl.AlgoSymbol3001301,e.AlgoSymbol3001302=Kl.AlgoSymbol3001302,e.AlgoSymbol3002001=Hl.AlgoSymbol3002001,e.AlgoSymbol3002002=ql.AlgoSymbol3002002,e.AlgoSymbol3002003=Ql.AlgoSymbol3002003,e.AlgoSymbol3002004=Xl.AlgoSymbol3002004,e.AlgoSymbol3002005=Zl.AlgoSymbol3002005,e.AlgoSymbol4030301=io.AlgoSymbol4030301,e.AlgoSymbol4030302=no.AlgoSymbol4030302,e.AlgoSymbol4030303=ao.AlgoSymbol4030303,e.AlgoSymbol4030401=ro.AlgoSymbol4030401,e.AlgoSymbol4030501=so.AlgoSymbol4030501,e.AlgoSymbol4030602=po.AlgoSymbol4030602,e.AlgoSymbol4030802=uo.AlgoSymbol4030802,e.AlgoSymbol5010401=Po.AlgoSymbol5010401,e.AlgoSymbol5021803=co.AlgoSymbol5021803,e.AlgoSymbol5022001=go.AlgoSymbol5022001,e.AlgoSymbol5022002=So.AlgoSymbol5022002,e.AlgoSymbol5022301=ho.AlgoSymbol5022301,e.AlgoSymbol5030103=fo.AlgoSymbol5030103,e.AlgoSymbol5030104=yo.AlgoSymbol5030104,e.AlgoSymbol5030105=Ao.AlgoSymbol5030105,e.AlgoSymbol5030107=Mo.AlgoSymbol5030107,e.AlgoSymbol5030301=bo.AlgoSymbol5030301,e.AlgoSymbol5031401=mo.AlgoSymbol5031401,e.AlgoSymbol5032003=vo.AlgoSymbol5032003,e.AlgoSymbol5032004=Oo.AlgoSymbol5032004,e.AlgoSymbol50321=Uo.AlgoSymbol50321,e.AlgoSymbol5033001=Lo.AlgoSymbol5033001,e.AlgoSymbol5033501=Ge.AlgoSymbol5033501,e.AlgoSymbol5033502=We.AlgoSymbol5033502,e.AlgoSymbol5033802=wo.AlgoSymbol5033802,e.AlgoSymbol5033803=_o.AlgoSymbol5033803,e.AlgoSymbol5034201=xo.AlgoSymbol5034201,e.AlgoSymbol5034202=Co.AlgoSymbol5034202,e.AlgoSymbol5034203=jo.AlgoSymbol5034203,e.AlgoSymbol5034801=Yo.AlgoSymbol5034801,e.AlgoSymbol5035201=Io.AlgoSymbol5035201,e.AlgoSymbol5035202=Ro.AlgoSymbol5035202,e.AlgoSymbol5035203=Bo.AlgoSymbol5035203,e.AlgoSymbol5035205=No.AlgoSymbol5035205,e.AlgoSymbol5020801=Do.AlgoSymbol5020801,e.AlgoSymbol5020802=ko.AlgoSymbol5020802,e.AlgoSymbol6012702=al.AlgoSymbol6012702,e.AlgoSymbol6030101=zo.AlgoSymbol6030101,e.AlgoSymbol6030102=Fo.AlgoSymbol6030102,e.AlgoSymbol6030103=Go.AlgoSymbol6030103,e.AlgoSymbol6030104=Wo.AlgoSymbol6030104,e.AlgoSymbol6030105=Jo.AlgoSymbol6030105,e.AlgoSymbol6030106=Ko.AlgoSymbol6030106,e.AlgoSymbol6030107=Ho.AlgoSymbol6030107,e.AlgoSymbol6030501=qo.AlgoSymbol6030501,e.AlgoSymbol6031001=Qo.AlgoSymbol6031001,e.AlgoSymbol70110=Xo.AlgoSymbol70110,e.AlgoSymbol6030601=Zo.AlgoSymbol6030601,e.AlgoSymbol80203=hl.AlgoSymbol80203,e.AlgoSymbol8020301=fl.AlgoSymbol8020301,e.AlgoSymbol90212=yl.AlgoSymbol90212,e.AlgoSymbol90213=Al.AlgoSymbol90213,e.AlgoSymbol90215=Ml.AlgoSymbol90215,e.AlgoSymbol90217=bl.AlgoSymbol90217,e.AlgoSymbol3002701=$o.AlgoSymbol3002701,e.AlgoSymbol50332=ti.AlgoSymbol50332,e.AlgoSymbol5033301=ei.AlgoSymbol5033301,e.AlgoSymbol50336=li.AlgoSymbol50336,e.AlgoSymbol5033601=oi.AlgoSymbol5033601,e.AlgoSymbol50337=ii.AlgoSymbol50337,e.AlgoSymbol5033701=ni.AlgoSymbol5033701,e.AlgoSymbol37301=ai.AlgoSymbol37301},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WJAlgoSymbolFactory=void 0,l(274);e.WJAlgoSymbolFactory=SuperMapAlgoPlot.WJAlgoSymbolFactory=SuperMapAlgoPlot.WJAlgoSymbolFactory||{};SuperMapAlgoPlot.WJAlgoSymbolFactory.getAlgoSymbol=function(t,e,l){if(123===t)switch(e){case 20602:return new SuperMapAlgoPlot.AlgoSymbol15805(l);case 2060201:return new SuperMapAlgoPlot.AlgoSymbol2060201(l);case 2060202:return new SuperMapAlgoPlot.AlgoSymbol2060202(l);case 20915:return new SuperMapAlgoPlot.AlgoSymbol12500(l);case 2091501:return new SuperMapAlgoPlot.AlgoSymbol12501(l);case 2091502:return new SuperMapAlgoPlot.AlgoSymbol12502(l);case 2091503:return new SuperMapAlgoPlot.AlgoSymbol2091503(l);case 2092101:return new SuperMapAlgoPlot.AlgoSymbol2092101(l);case 21003:return new SuperMapAlgoPlot.AlgoSymbol13700(l);case 21206:return new SuperMapAlgoPlot.AlgoSymbol15200(l);case 2120601:return new SuperMapAlgoPlot.AlgoSymbol15201(l);case 2120602:return new SuperMapAlgoPlot.AlgoSymbol15202(l);case 21207:return new SuperMapAlgoPlot.AlgoSymbol21207(l);case 21212:return new SuperMapAlgoPlot.AlgoSymbol15800(l);case 2121201:return new SuperMapAlgoPlot.AlgoSymbol15801(l);case 2121202:return new SuperMapAlgoPlot.AlgoSymbol15802(l);case 2121203:return new SuperMapAlgoPlot.AlgoSymbol15803(l);case 2121204:return new SuperMapAlgoPlot.AlgoSymbol15804(l);case 2121205:return new SuperMapAlgoPlot.AlgoSymbol15806(l);case 21213:return new SuperMapAlgoPlot.AlgoSymbol15900(l);case 21214:return new SuperMapAlgoPlot.AlgoSymbol16200(l);case 2121401:return new SuperMapAlgoPlot.AlgoSymbol16201(l);case 2121402:return new SuperMapAlgoPlot.AlgoSymbol16202(l);case 2121403:return new SuperMapAlgoPlot.AlgoSymbol16203(l);case 2121404:return new SuperMapAlgoPlot.AlgoSymbol2121504(l);case 2121405:return new SuperMapAlgoPlot.AlgoSymbol2121505(l);case 2121406:return new SuperMapAlgoPlot.AlgoSymbol2121506(l);case 2121407:return new SuperMapAlgoPlot.AlgoSymbol2121507(l);case 21215:return new SuperMapAlgoPlot.AlgoSymbol21216(l);case 2121501:return new SuperMapAlgoPlot.AlgoSymbol2121601(l);case 2121502:return new SuperMapAlgoPlot.AlgoSymbol2121602(l);case 21217:return new SuperMapAlgoPlot.AlgoSymbol16700(l);case 21221:return new SuperMapAlgoPlot.AlgoSymbol17500(l);case 21220:return new SuperMapAlgoPlot.AlgoSymbol17400(l);case 2122001:return new SuperMapAlgoPlot.AlgoSymbol17401(l);case 2122101:return new SuperMapAlgoPlot.AlgoSymbol17501(l);case 21222:return new SuperMapAlgoPlot.AlgoSymbol17700(l);case 2122201:return new SuperMapAlgoPlot.AlgoSymbol2122201(l);case 2122202:return new SuperMapAlgoPlot.AlgoSymbol2122202(l);case 2122203:return new SuperMapAlgoPlot.AlgoSymbol17703(l);case 2122204:return new SuperMapAlgoPlot.AlgoSymbol17704(l);case 2122205:return new SuperMapAlgoPlot.AlgoSymbol1770501(l);case 21223:return new SuperMapAlgoPlot.AlgoSymbol17800(l);case 2122301:return new SuperMapAlgoPlot.AlgoSymbol17801(l);case 2122302:return new SuperMapAlgoPlot.AlgoSymbol17802(l);case 2122303:return new SuperMapAlgoPlot.AlgoSymbol17803(l);case 2122304:return new SuperMapAlgoPlot.AlgoSymbol17804(l);case 2122305:return new SuperMapAlgoPlot.AlgoSymbol17805(l);case 2122306:return new SuperMapAlgoPlot.AlgoSymbol17806(l);case 21605:return new SuperMapAlgoPlot.AlgoSymbol20300(l);case 2160501:return new SuperMapAlgoPlot.AlgoSymbol20301(l);case 30008:return new SuperMapAlgoPlot.AlgoSymbol30008(l);case 3000801:return new SuperMapAlgoPlot.AlgoSymbol3000801(l);case 3000802:return new SuperMapAlgoPlot.AlgoSymbol3000802(l);case 3000803:return new SuperMapAlgoPlot.AlgoSymbol3000803(l);case 3000804:return new SuperMapAlgoPlot.AlgoSymbol3000804(l);case 3000805:return new SuperMapAlgoPlot.AlgoSymbol3000805(l);case 3000806:return new SuperMapAlgoPlot.AlgoSymbol3000806(l);case 3000807:return new SuperMapAlgoPlot.AlgoSymbol3000807(l);case 3000808:return new SuperMapAlgoPlot.AlgoSymbol3000808(l);case 3000809:return new SuperMapAlgoPlot.AlgoSymbol3000809(l);case 30009:return new SuperMapAlgoPlot.AlgoSymbol30009(l);case 30010:return new SuperMapAlgoPlot.AlgoSymbol30010(l);case 30011:return new SuperMapAlgoPlot.AlgoSymbol30011(l);case 3001101:return new SuperMapAlgoPlot.AlgoSymbol3001101(l);case 3001102:return new SuperMapAlgoPlot.AlgoSymbol3001102(l);case 3001103:return new SuperMapAlgoPlot.AlgoSymbol3001103(l);case 3001104:return new SuperMapAlgoPlot.AlgoSymbol3001104(l);case 3001105:return new SuperMapAlgoPlot.AlgoSymbol3001105(l);case 30012:return new SuperMapAlgoPlot.AlgoSymbol30012(l);case 30013:return new SuperMapAlgoPlot.AlgoSymbol30013(l);case 3001301:return new SuperMapAlgoPlot.AlgoSymbol3001301(l);case 3001302:return new SuperMapAlgoPlot.AlgoSymbol3001302(l);case 30014:return new SuperMapAlgoPlot.AlgoSymbol30014(l);case 30018:return new SuperMapAlgoPlot.AlgoSymbol42500(l);case 30023:return new SuperMapAlgoPlot.AlgoSymbol30023(l);case 30024:return new SuperMapAlgoPlot.AlgoSymbol30020(l);case 3002401:return new SuperMapAlgoPlot.AlgoSymbol3002001(l);case 3002402:return new SuperMapAlgoPlot.AlgoSymbol3002002(l);case 3002403:return new SuperMapAlgoPlot.AlgoSymbol3002005(l);case 30025:return new SuperMapAlgoPlot.AlgoSymbol30025(l);case 3002501:return new SuperMapAlgoPlot.AlgoSymbol3002501(l);case 3002502:return new SuperMapAlgoPlot.AlgoSymbol3002502(l);case 3002503:return new SuperMapAlgoPlot.AlgoSymbol3002503(l);case 3002504:return new SuperMapAlgoPlot.AlgoSymbol3002504(l);case 3002505:return new SuperMapAlgoPlot.AlgoSymbol3002505(l);case 30026:return new SuperMapAlgoPlot.AlgoSymbol30026(l);case 30028:return new SuperMapAlgoPlot.AlgoSymbol30030(l);case 3002801:return new SuperMapAlgoPlot.AlgoSymbol3003001(l);case 30029:return new SuperMapAlgoPlot.AlgoSymbol30031(l);case 50106:return new SuperMapAlgoPlot.AlgoSymbol21900(l);case 5010301:return new SuperMapAlgoPlot.AlgoSymbol3010301(l);case 50108:return new SuperMapAlgoPlot.AlgoSymbol50108(l);case 5010303:return new SuperMapAlgoPlot.AlgoSymbol3010303(l);case 5010304:return new SuperMapAlgoPlot.AlgoSymbol3010304(l);case 5010401:return new SuperMapAlgoPlot.AlgoSymbol5010401(l);case 5020801:return new SuperMapAlgoPlot.AlgoSymbol5020801(l);case 5020802:return new SuperMapAlgoPlot.AlgoSymbol5020802(l);case 5021711:return new SuperMapAlgoPlot.AlgoSymbol26502(l);case 5021803:return new SuperMapAlgoPlot.AlgoSymbol5021803(l);case 5022001:return new SuperMapAlgoPlot.AlgoSymbol5022001(l);case 5022002:return new SuperMapAlgoPlot.AlgoSymbol5022002(l);case 50223:return new SuperMapAlgoPlot.AlgoSymbol50223(l);case 5022301:return new SuperMapAlgoPlot.AlgoSymbol5022301(l);case 40301:case 4030101:case 4030102:case 4030103:case 4030104:return new SuperMapAlgoPlot.AlgoSymbol22000(l);case 40302:case 4030201:case 4030202:case 4030203:case 4030204:return new SuperMapAlgoPlot.AlgoSymbol40302(l);case 40303:return new SuperMapAlgoPlot.AlgoSymbol26501(l);case 4030301:return new SuperMapAlgoPlot.AlgoSymbol4030301(l);case 4030302:return new SuperMapAlgoPlot.AlgoSymbol4030302(l);case 4030303:return new SuperMapAlgoPlot.AlgoSymbol4030303(l);case 40304:return new SuperMapAlgoPlot.AlgoSymbol40304(l);case 4030401:return new SuperMapAlgoPlot.AlgoSymbol4030401(l);case 40305:return new SuperMapAlgoPlot.AlgoSymbol40305(l);case 4030501:return new SuperMapAlgoPlot.AlgoSymbol4030501(l);case 4030602:return new SuperMapAlgoPlot.AlgoSymbol4030602(l);case 4030802:case 4031202:return new SuperMapAlgoPlot.AlgoSymbol4030802(l);case 50101:return new SuperMapAlgoPlot.AlgoSymbol25201(l);case 5010101:return new SuperMapAlgoPlot.AlgoSymbol21401(l);case 50102:return new SuperMapAlgoPlot.AlgoSymbol21500(l);case 5010202:return new SuperMapAlgoPlot.AlgoSymbol21502(l);case 5010203:return new SuperMapAlgoPlot.AlgoSymbol21503(l);case 5010204:return new SuperMapAlgoPlot.AlgoSymbol21504(l);case 50103:case 5010302:return new SuperMapAlgoPlot.AlgoSymbol21600(l);case 50104:return new SuperMapAlgoPlot.AlgoSymbol21800(l);case 50107:case 5010701:return new SuperMapAlgoPlot.AlgoSymbol22000(l);case 50208:return new SuperMapAlgoPlot.AlgoSymbol23400(l);case 50209:return new SuperMapAlgoPlot.AlgoSymbol23500(l);case 50210:return new SuperMapAlgoPlot.AlgoSymbol23800(l);case 50212:case 5021101:return new SuperMapAlgoPlot.AlgoSymbol23901(l);case 5021102:return new SuperMapAlgoPlot.AlgoSymbol23902(l);case 50220:return new SuperMapAlgoPlot.AlgoSymbol28900(l);case 50221:return new SuperMapAlgoPlot.AlgoSymbol29000(l);case 50225:return new SuperMapAlgoPlot.AlgoSymbol50225(l);case 50226:return new SuperMapAlgoPlot.AlgoSymbol50226(l);case 50222:return new SuperMapAlgoPlot.AlgoSymbol29101(l);case 5022201:return new SuperMapAlgoPlot.AlgoSymbol29103(l);case 50227:return new SuperMapAlgoPlot.AlgoSymbol35200(l);case 50301:return new SuperMapAlgoPlot.AlgoSymbol1004(l);case 5030101:return new SuperMapAlgoPlot.AlgoSymbol25200(l);case 5030102:return new SuperMapAlgoPlot.AlgoSymbol25201(l);case 50302:return new SuperMapAlgoPlot.AlgoSymbol25000(l);case 50303:return new SuperMapAlgoPlot.AlgoSymbol25400(l);case 5030103:return new SuperMapAlgoPlot.AlgoSymbol5030103(l);case 5030104:return new SuperMapAlgoPlot.AlgoSymbol5030104(l);case 5030105:return new SuperMapAlgoPlot.AlgoSymbol5030105(l);case 5030107:return new SuperMapAlgoPlot.AlgoSymbol5030107(l);case 5030106:return new SuperMapAlgoPlot.AlgoSymbol1021(l);case 5030301:return new SuperMapAlgoPlot.AlgoSymbol5030301(l);case 50308:return new SuperMapAlgoPlot.AlgoSymbol26400(l);case 50309:return new SuperMapAlgoPlot.AlgoSymbol26500(l);case 50310:return new SuperMapAlgoPlot.AlgoSymbol26600(l);case 5031001:return new SuperMapAlgoPlot.AlgoSymbol26601(l);case 50312:return new SuperMapAlgoPlot.AlgoSymbol28000(l);case 50313:return new SuperMapAlgoPlot.AlgoSymbol28100(l);case 50314:return new SuperMapAlgoPlot.AlgoSymbol28200(l);case 5031401:return new SuperMapAlgoPlot.AlgoSymbol5031401(l);case 50315:return new SuperMapAlgoPlot.AlgoSymbol28300(l);case 5031501:return new SuperMapAlgoPlot.AlgoSymbol28301(l);case 50316:return new SuperMapAlgoPlot.AlgoSymbol29800(l);case 50317:return new SuperMapAlgoPlot.AlgoSymbol1006(l);case 5031701:return new SuperMapAlgoPlot.AlgoSymbol1002(l);case 50318:return new SuperMapAlgoPlot.AlgoSymbol50318(l);case 50328:return new SuperMapAlgoPlot.AlgoSymbol50328(l);case 50320:return new SuperMapAlgoPlot.AlgoSymbol30000(l);case 5010201:return new SuperMapAlgoPlot.AlgoSymbol21501(l);case 5032001:case 5032002:case 5032003:return new SuperMapAlgoPlot.AlgoSymbol5032003(l);case 5032004:return new SuperMapAlgoPlot.AlgoSymbol5032004(l);case 50321:case 5032101:case 5032102:return new SuperMapAlgoPlot.AlgoSymbol50321(l);case 50322:return new SuperMapAlgoPlot.AlgoSymbol30200(l);case 50323:return new SuperMapAlgoPlot.AlgoSymbol50323(l);case 5032201:return new SuperMapAlgoPlot.AlgoSymbol30201(l);case 50330:return new SuperMapAlgoPlot.AlgoSymbol30800(l);case 50331:return new SuperMapAlgoPlot.AlgoSymbol50331(l);case 5033001:return new SuperMapAlgoPlot.AlgoSymbol5033001(l);case 50335:return new SuperMapAlgoPlot.AlgoSymbol50335(l);case 5033501:return new SuperMapAlgoPlot.AlgoSymbol5033501(l);case 5033502:return new SuperMapAlgoPlot.AlgoSymbol5033502(l);case 50338:return new SuperMapAlgoPlot.AlgoSymbol31300(l);case 5033801:return new SuperMapAlgoPlot.AlgoSymbol31301(l);case 5033802:return new SuperMapAlgoPlot.AlgoSymbol5033802(l);case 5033803:return new SuperMapAlgoPlot.AlgoSymbol5033803(l);case 50339:return new SuperMapAlgoPlot.AlgoSymbol31400(l);case 5033901:return new SuperMapAlgoPlot.AlgoSymbol31401(l);case 50341:return new SuperMapAlgoPlot.AlgoSymbol50341(l);case 5034101:return new SuperMapAlgoPlot.AlgoSymbol5034101(l);case 5034102:return new SuperMapAlgoPlot.AlgoSymbol5034102(l);case 50342:return new SuperMapAlgoPlot.AlgoSymbol50342(l);case 5034201:return new SuperMapAlgoPlot.AlgoSymbol5034201(l);case 5034202:return new SuperMapAlgoPlot.AlgoSymbol5034202(l);case 5034203:return new SuperMapAlgoPlot.AlgoSymbol5034203(l);case 50343:return new SuperMapAlgoPlot.AlgoSymbol50343(l);case 5034301:return new SuperMapAlgoPlot.AlgoSymbol5034301(l);case 5034302:return new SuperMapAlgoPlot.AlgoSymbol5034302(l);case 5034303:return new SuperMapAlgoPlot.AlgoSymbol5034303(l);case 50344:return new SuperMapAlgoPlot.AlgoSymbol50344(l);case 50348:return new SuperMapAlgoPlot.AlgoSymbol32300(l);case 5034801:return new SuperMapAlgoPlot.AlgoSymbol5034801(l);case 50352:return new SuperMapAlgoPlot.AlgoSymbol50352(l);case 5035201:return new SuperMapAlgoPlot.AlgoSymbol5035201(l);case 5035202:return new SuperMapAlgoPlot.AlgoSymbol5035202(l);case 5035203:return new SuperMapAlgoPlot.AlgoSymbol5035203(l);case 5035204:return new SuperMapAlgoPlot.AlgoSymbol21501(l);case 5035205:return new SuperMapAlgoPlot.AlgoSymbol5035205(l);case 50354:return new SuperMapAlgoPlot.AlgoSymbol50354(l);case 5035401:return new SuperMapAlgoPlot.AlgoSymbol5035401(l);case 50355:return new SuperMapAlgoPlot.AlgoSymbol50355(l);case 5035501:return new SuperMapAlgoPlot.AlgoSymbol5035501(l);case 60104:return new SuperMapAlgoPlot.GeoTooltipBox(l);case 60106:case 6010601:case 6010602:return new SuperMapAlgoPlot.AlgoSymbol26501(l);case 60108:return new SuperMapAlgoPlot.AlgoSymbol60108(l);case 60110:return new SuperMapAlgoPlot.AlgoSymbol34700(l);case 60111:return new SuperMapAlgoPlot.AlgoSymbol22103(l);case 6011101:return new SuperMapAlgoPlot.AlgoSymbol25400(l);case 6011102:return new SuperMapAlgoPlot.AlgoSymbol22103(l);case 60115:return new SuperMapAlgoPlot.AlgoSymbol60115(l);case 6011501:return new SuperMapAlgoPlot.AlgoSymbol6011501(l);case 60117:case 6011701:case 6011702:return new SuperMapAlgoPlot.AlgoSymbol21501(l);case 60127:return new SuperMapAlgoPlot.AlgoSymbol36400(l);case 6012702:return new SuperMapAlgoPlot.AlgoSymbol6012702(l);case 60131:return new SuperMapAlgoPlot.AlgoSymbol35000(l);case 60201:return new SuperMapAlgoPlot.AlgoSymbol60301(l);case 6020101:return new SuperMapAlgoPlot.AlgoSymbol6030101(l);case 6020102:return new SuperMapAlgoPlot.AlgoSymbol6030102(l);case 6020103:return new SuperMapAlgoPlot.AlgoSymbol6030103(l);case 6020104:return new SuperMapAlgoPlot.AlgoSymbol6030104(l);case 6020105:return new SuperMapAlgoPlot.AlgoSymbol6030105(l);case 6020106:return new SuperMapAlgoPlot.AlgoSymbol6030106(l);case 6020107:return new SuperMapAlgoPlot.AlgoSymbol6030107(l);case 60202:return new SuperMapAlgoPlot.AlgoSymbol60305(l);case 6020201:return new SuperMapAlgoPlot.AlgoSymbol6030501(l);case 60203:return new SuperMapAlgoPlot.AlgoSymbol60306(l);case 6020301:return new SuperMapAlgoPlot.AlgoSymbol6030601(l);case 60207:return new SuperMapAlgoPlot.AlgoSymbol60310(l);case 6020701:return new SuperMapAlgoPlot.AlgoSymbol6031001(l);case 70109:return new SuperMapAlgoPlot.AlgoSymbol40900(l);case 70110:return new SuperMapAlgoPlot.AlgoSymbol70110(l);case 70201:return new SuperMapAlgoPlot.AlgoSymbol41100(l);case 70202:return new SuperMapAlgoPlot.AlgoSymbol41200(l);case 7020201:return new SuperMapAlgoPlot.AlgoSymbol41201(l);case 7020202:return new SuperMapAlgoPlot.AlgoSymbol41202(l);case 80202:return new SuperMapAlgoPlot.AlgoSymbol42200(l);case 80203:return new SuperMapAlgoPlot.AlgoSymbol80203(l);case 8020301:return new SuperMapAlgoPlot.AlgoSymbol8020301(l);case 90114:return new SuperMapAlgoPlot.AlgoSymbol34300(l);case 90115:return new SuperMapAlgoPlot.AlgoSymbol34400(l);case 90207:return new SuperMapAlgoPlot.AlgoSymbol35500(l);case 90212:return new SuperMapAlgoPlot.AlgoSymbol90212(l);case 90213:return new SuperMapAlgoPlot.AlgoSymbol90213(l);case 90214:return new SuperMapAlgoPlot.AlgoSymbol36800(l);case 90215:return new SuperMapAlgoPlot.AlgoSymbol90215(l);case 90216:return new SuperMapAlgoPlot.AlgoSymbol37100(l);case 90217:return new SuperMapAlgoPlot.AlgoSymbol90217(l);case 90218:return new SuperMapAlgoPlot.AlgoSymbol37300(l);case 9021801:return new SuperMapAlgoPlot.AlgoSymbol37301(l);case 90305:return new SuperMapAlgoPlot.AlgoSymbol37700(l);case 90404:return new SuperMapAlgoPlot.AlgoSymbol40100(l);case 9040401:return new SuperMapAlgoPlot.AlgoSymbol40101(l);case 90507:return new SuperMapAlgoPlot.AlgoSymbol44100(l);case 30027:return new SuperMapAlgoPlot.AlgoSymbol3002701(l);case 50332:return new SuperMapAlgoPlot.AlgoSymbol50332(l);case 5033301:return new SuperMapAlgoPlot.AlgoSymbol5033301(l);case 50336:return new SuperMapAlgoPlot.AlgoSymbol50336(l);case 5033601:return new SuperMapAlgoPlot.AlgoSymbol5033601(l);case 50337:return new SuperMapAlgoPlot.AlgoSymbol50337(l);case 5033701:return new SuperMapAlgoPlot.AlgoSymbol5033701(l);default:return new SuperMapAlgoPlot.AlgoSymbol(l)}},SuperMapAlgoPlot.WJAlgoSymbolFactory.isAccessServer=function(t,e){if(123!==t)return!0;switch(e){case 20602:case 2060201:case 2060202:case 20915:case 2091501:case 2091502:case 2091503:case 2092101:case 21003:case 21206:case 2120601:case 2120602:case 21207:case 21212:case 2121201:case 2121202:case 2121203:case 2121204:case 2121205:case 21213:case 21214:case 2121401:case 2121402:case 2121403:case 2121404:case 2121405:case 2121406:case 2121407:case 21215:case 2121501:case 2121502:case 21217:case 21220:case 2122001:case 21221:case 2122101:case 21222:case 2122201:case 2122202:case 2122203:case 2122204:case 2122205:case 21223:case 2122301:case 2122302:case 2122303:case 2122304:case 2122305:case 2122306:case 21605:case 2160501:case 30008:case 3000801:case 3000802:case 3000803:case 3000804:case 3000805:case 3000806:case 3000807:case 3000808:case 3000809:case 30009:case 30010:case 30011:case 3001101:case 3001102:case 3001103:case 3001104:case 3001105:case 30012:case 30013:case 3001301:case 3001302:case 30014:case 30018:case 30023:case 30024:case 3002401:case 3002402:case 3002403:case 30025:case 3002501:case 3002502:case 3002503:case 3002504:case 3002505:case 30026:case 30027:case 30028:case 3002801:case 30029:case 40301:case 4030101:case 4030102:case 4030103:case 4030104:case 40302:case 4030201:case 4030202:case 4030203:case 4030204:case 40303:case 4030301:case 4030302:case 4030303:case 40304:case 4030401:case 40305:case 4030501:case 4030602:case 4030802:case 4031202:case 50101:case 5010101:case 50102:case 5010201:case 5010202:case 5010203:case 5010204:case 50103:case 5010301:case 5010302:case 5010303:case 5010304:case 50104:case 5010401:case 50106:case 50107:case 5010701:case 50108:case 50208:case 5020801:case 5020802:case 50209:case 50210:case 5021101:case 5021102:case 50212:case 5021711:case 5021803:case 50220:case 5022001:case 5022002:case 50221:case 50222:case 5022201:case 50223:case 5022301:case 50225:case 50226:case 50227:case 50301:case 5030101:case 5030102:case 5030103:case 5030104:case 5030105:case 5030106:case 5030107:case 50302:case 50303:case 5030301:case 50308:case 50309:case 50310:case 5031001:case 50312:case 50313:case 50314:case 5031401:case 50315:case 5031501:case 50316:case 50317:case 5031701:case 50318:case 50328:case 50320:case 5032001:case 5032002:case 5032003:case 5032004:case 50321:case 5032101:case 5032102:case 50322:case 5032201:case 50323:case 50330:case 5033001:case 50331:case 50335:case 5033501:case 5033502:case 50338:case 5033801:case 5033802:case 5033803:case 50339:case 5033901:case 50341:case 5034101:case 5034102:case 50342:case 5034201:case 5034202:case 5034203:case 50343:case 5034301:case 5034302:case 5034303:case 50344:case 50348:case 5034801:case 50352:case 5035201:case 5035202:case 5035203:case 5035204:case 5035205:case 50354:case 5035401:case 50355:case 5035501:case 60104:case 60106:case 6010601:case 6010602:case 60108:case 60110:case 60111:case 6011101:case 6011102:case 60115:case 6011501:case 60117:case 6011701:case 6011702:case 60127:case 6012702:case 60131:case 60201:case 6020101:case 6020102:case 6020103:case 6020104:case 6020105:case 6020106:case 6020107:case 60202:case 6020201:case 60203:case 6020301:case 60207:case 6020701:case 70109:case 70110:case 70201:case 70202:case 7020201:case 7020202:case 80202:case 80203:case 8020301:case 90114:case 90115:case 90207:case 90212:case 90213:case 90214:case 90215:case 90216:case 90217:case 90218:case 9021801:case 90305:case 90404:case 9040401:case 90507:case 50332:case 5033301:case 50336:case 5033601:case 50337:case 5033701:return!1;default:return!0}},SuperMapAlgoPlot.WJAlgoSymbolFactory.getSymbolWayType=function(t,e){if(123!==t)return SuperMapAlgoPlot.AddPoint_WayType.UNKNOWN;switch(e){case 21003:case 21217:case 21220:case 2122001:case 30008:case 3000801:case 3000802:case 3000803:case 3000804:case 3000805:case 3000806:case 3000807:case 3000808:case 3000809:case 30009:case 5021803:case 5022001:case 5022002:case 40301:case 4030101:case 4030102:case 4030103:case 4030104:case 40303:case 4030301:case 4030302:case 4030303:case 50101:case 5010101:case 50102:case 5010201:case 5010202:case 5010203:case 5010204:case 50103:case 5010301:case 5010302:case 5010303:case 5010304:case 50107:case 5010701:case 50210:case 5021711:case 50220:case 50221:case 50225:case 5030102:case 50303:case 5030301:case 50309:case 50320:case 5032001:case 5032002:case 5032003:case 5032004:case 50321:case 5032101:case 5032102:case 50322:case 5032201:case 50330:case 5033001:case 5034203:case 5035201:case 5035204:case 60127:case 60131:case 20915:case 2091502:case 2092101:case 21215:case 2121501:case 2121502:case 21605:case 30010:case 30011:case 3001101:case 3001102:case 3001103:case 3001104:case 3001105:case 30012:case 30026:case 40302:case 4030201:case 4030202:case 4030203:case 4030204:case 50227:case 5035205:case 60201:case 6020101:case 6020102:case 6020103:case 6020104:case 6020105:case 6020106:case 6020107:case 70202:case 7020201:case 7020202:return SuperMapAlgoPlot.AddPoint_WayType.POLYLINE;case 80203:case 8020301:return SuperMapAlgoPlot.AddPoint_WayType.CURVE;default:return SuperMapAlgoPlot.AddPoint_WayType.UNKNOWN}},SuperMapAlgoPlot.WJAlgoSymbolFactory.getDefaultSubSymbols=function(t,e){var l=[];if(123!==t)return l;switch(e){case 21220:case 2122001:return l.push(new SuperMapAlgoPlot.SubSymbol(123,21219)),l.push(new SuperMapAlgoPlot.SubSymbol(123,2121901)),l;case 2092101:return l.push(new SuperMapAlgoPlot.SubSymbol(123,20921)),l;case 80202:return l.push(new SuperMapAlgoPlot.SubSymbol(123,2170201)),l;case 21221:case 2122101:return l.push(new SuperMapAlgoPlot.SubSymbol(123,21220)),l.push(new SuperMapAlgoPlot.SubSymbol(123,2122001)),l;case 3000801:return l.push(new SuperMapAlgoPlot.SubSymbol(123,3000106)),l;case 50209:return l.push(new SuperMapAlgoPlot.SubSymbol(100,1300)),l;case 3000802:return l.push(new SuperMapAlgoPlot.SubSymbol(123,3000107)),l;case 3000803:return l.push(new SuperMapAlgoPlot.SubSymbol(123,3000108)),l;case 3000804:return l.push(new SuperMapAlgoPlot.SubSymbol(123,20303)),l;case 2121404:case 3000805:case 3000808:case 3001301:case 4030103:case 4030202:case 5020802:case 5010201:case 50108:case 3002501:case 3002502:case 3002503:case 3002504:case 3002505:return l.push(new SuperMapAlgoPlot.SubSymbol(123,21601)),l;case 3000806:return l.push(new SuperMapAlgoPlot.SubSymbol(123,20404)),l;case 3000807:return l.push(new SuperMapAlgoPlot.SubSymbol(123,2010103)),l.push(new SuperMapAlgoPlot.SubSymbol(123,21601)),l;case 3000809:return l.push(new SuperMapAlgoPlot.SubSymbol(123,21601)),l.push(new SuperMapAlgoPlot.SubSymbol(123,30006)),l;case 30010:return l.push(new SuperMapAlgoPlot.SubSymbol(123,10305)),l;case 3001104:case 3001105:return l.push(new SuperMapAlgoPlot.SubSymbol(123,20404)),l;case 30012:return l.push(new SuperMapAlgoPlot.SubSymbol(123,30006)),l;case 3002403:return l.push(new SuperMapAlgoPlot.SubSymbol(123,21305)),l;case 40301:return l.push(new SuperMapAlgoPlot.SubSymbol(123,40201)),l;case 5021803:return l.push(new SuperMapAlgoPlot.SubSymbol(123,50218)),l;case 50225:return l.push(new SuperMapAlgoPlot.SubSymbol(123,10103)),l;case 50226:return l.push(new SuperMapAlgoPlot.SubSymbol(123,10103)),l.push(new SuperMapAlgoPlot.SubSymbol(123,10103)),l;case 5032003:case 5032102:return l.push(new SuperMapAlgoPlot.SubSymbol(123,20304)),l.push(new SuperMapAlgoPlot.SubSymbol(123,20301)),l;case 5030301:case 5022301:case 5033001:case 5034201:case 5034202:case 50342:case 6011102:return l.push(new SuperMapAlgoPlot.SubSymbol(123,10110)),l;case 5033802:return l.push(new SuperMapAlgoPlot.SubSymbol(123,20202)),l;case 5033803:return l.push(new SuperMapAlgoPlot.SubSymbol(123,20203)),l;case 5034203:return l.push(new SuperMapAlgoPlot.SubSymbol(123,2050302)),l;case 50352:return l.push(new SuperMapAlgoPlot.SubSymbol(123,50231)),l;case 5035202:return l.push(new SuperMapAlgoPlot.SubSymbol(123,21226)),l;case 5035205:return l.push(new SuperMapAlgoPlot.SubSymbol(123,2050308)),l;case 4030101:return l.push(new SuperMapAlgoPlot.SubSymbol(123,2030303)),l;case 4030102:case 4030201:return l.push(new SuperMapAlgoPlot.SubSymbol(123,20303)),l;case 4030104:case 4030203:return l.push(new SuperMapAlgoPlot.SubSymbol(123,20401)),l;case 4030204:return l.push(new SuperMapAlgoPlot.SubSymbol(123,10110)),l;case 40302:case 40303:case 4030301:case 4030302:case 4030303:return l.push(new SuperMapAlgoPlot.SubSymbol(123,40201)),l;case 5010202:return l.push(new SuperMapAlgoPlot.SubSymbol(123,2040301)),l;case 5010203:return l.push(new SuperMapAlgoPlot.SubSymbol(123,20501)),l;case 5010204:return l.push(new SuperMapAlgoPlot.SubSymbol(123,20503)),l;case 50107:return l.push(new SuperMapAlgoPlot.SubSymbol(123,10106)),l;case 5010701:return l.push(new SuperMapAlgoPlot.SubSymbol(123,5010503)),l;case 5021101:case 5021102:case 50212:return l.push(new SuperMapAlgoPlot.SubSymbol(123,2020301)),l;case 5021711:return l.push(new SuperMapAlgoPlot.SubSymbol(123,5021707)),l;case 50227:return l.push(new SuperMapAlgoPlot.SubSymbol(123,10103)),l;case 5030101:return l.push(new SuperMapAlgoPlot.SubSymbol(123,2050302)),l;case 50315:return l.push(new SuperMapAlgoPlot.SubSymbol(123,21302)),l;case 5031501:return l.push(new SuperMapAlgoPlot.SubSymbol(123,21302)),l.push(new SuperMapAlgoPlot.SubSymbol(123,21302)),l;case 5032001:case 5032101:return l.push(new SuperMapAlgoPlot.SubSymbol(123,20301)),l.push(new SuperMapAlgoPlot.SubSymbol(123,20301)),l;case 5032002:case 50321:return l.push(new SuperMapAlgoPlot.SubSymbol(123,20304)),l.push(new SuperMapAlgoPlot.SubSymbol(123,20304)),l;case 5035201:return l.push(new SuperMapAlgoPlot.SubSymbol(123,50231)),l;case 5035204:return l.push(new SuperMapAlgoPlot.SubSymbol(123,2040106)),l;case 5035401:return l.push(new SuperMapAlgoPlot.SubSymbol(123,2030111)),l;case 60106:return l.push(new SuperMapAlgoPlot.SubSymbol(123,10302)),l;case 6010601:return l.push(new SuperMapAlgoPlot.SubSymbol(123,1030201)),l;case 6010602:return l.push(new SuperMapAlgoPlot.SubSymbol(123,1030202)),l;case 6012702:return l.push(new SuperMapAlgoPlot.SubSymbol(123,21509)),l;case 60207:return l.push(new SuperMapAlgoPlot.SubSymbol(123,5023103)),l;case 6020701:return l.push(new SuperMapAlgoPlot.SubSymbol(123,2122601)),l.push(new SuperMapAlgoPlot.SubSymbol(123,2122602)),l.push(new SuperMapAlgoPlot.SubSymbol(123,2122603)),l;case 60115:case 6011501:return l.push(new SuperMapAlgoPlot.SubSymbol(123,21504)),l;case 60108:return l.push(new SuperMapAlgoPlot.SubSymbol(123,60107)),l;case 90114:return l.push(new SuperMapAlgoPlot.SubSymbol(100,6202)),l;case 90115:return l.push(new SuperMapAlgoPlot.SubSymbol(123,9010206)),l;case 90305:return l.push(new SuperMapAlgoPlot.SubSymbol(123,50304)),l;case 4030602:return l.push(new SuperMapAlgoPlot.SubSymbol(123,40306)),l;case 4030802:return l.push(new SuperMapAlgoPlot.SubSymbol(123,40308)),l;case 4031202:return l.push(new SuperMapAlgoPlot.SubSymbol(123,40312)),l;case 60111:return l.push(new SuperMapAlgoPlot.SubSymbol(123,90106)),l;case 60117:return l.push(new SuperMapAlgoPlot.SubSymbol(123,21701)),l;case 6011701:return l.push(new SuperMapAlgoPlot.SubSymbol(123,20603)),l;case 6011702:return l.push(new SuperMapAlgoPlot.SubSymbol(123,2170101)),l;case 90216:return l.push(new SuperMapAlgoPlot.SubSymbol(123,9020106)),l;default:return l}},SuperMapAlgoPlot.WJAlgoSymbolFactory.getMinEditPts=function(t,e){if(123!==t)return 0;switch(e){case 20602:case 2060201:case 2060202:case 20915:case 21003:case 21206:case 2120601:case 2120602:case 21207:case 21212:case 2121201:case 2121202:case 2121203:case 2121204:case 2121205:case 21213:case 21214:case 2121401:case 2121402:case 2121403:case 2121404:case 2121405:case 2121406:case 2121407:case 21215:case 21217:case 21221:case 21222:case 2122201:case 2122202:case 2122203:case 2122204:case 2122205:case 21223:case 2122301:case 2122302:case 2122303:case 2122304:case 2122305:case 2122306:case 21605:case 30008:case 30009:case 30010:case 30013:case 30014:case 30018:case 30027:case 30028:case 3002801:case 30029:case 40301:case 40303:case 40304:case 40305:case 50101:case 50102:case 50103:case 50104:case 50106:case 50107:case 50108:case 50208:case 50209:case 50210:case 50212:case 50220:case 50221:case 50222:case 50223:case 50226:case 50302:case 50303:case 50308:case 50309:case 50310:case 50312:case 50313:case 50314:case 50315:case 50318:case 50328:case 50320:case 50321:case 5032101:case 5032102:case 50322:case 50323:case 50330:case 50331:case 50335:case 50338:case 50339:case 50341:case 5034101:case 5034102:case 50342:case 50343:case 5034301:case 5034302:case 5034303:case 50344:case 50348:case 50354:case 5035401:case 50355:case 5035501:case 60106:case 60108:case 60115:case 6011501:case 60127:case 60131:case 60202:case 6020201:case 60203:case 6020301:case 70109:case 70110:case 70201:case 70202:case 80202:case 80203:case 8020301:case 90114:case 90115:case 90207:case 90212:case 90213:case 90214:case 90215:case 90216:case 90217:case 90218:case 9021801:case 90305:case 90404:case 90507:case 2091501:case 2091502:case 2091503:case 2092101:case 2121501:case 2121502:case 21220:case 2122001:case 2122101:case 2160501:case 3000801:case 3000802:case 3000803:case 3000804:case 3000805:case 3000806:case 3000807:case 3000808:case 3000809:case 3001301:case 3001302:case 30025:case 3002501:case 3002502:case 3002503:case 3002504:case 3002505:case 30026:case 4030101:case 4030102:case 4030103:case 4030104:case 4030301:case 4030302:case 4030303:case 4030401:case 4030501:case 4030602:case 4030802:case 4031202:case 5010101:case 5010201:case 5010202:case 5010203:case 5010204:case 5010301:case 5010302:case 5010303:case 5010304:case 5010401:case 5010701:case 5020802:case 5021101:case 5021102:case 5021711:case 5021803:case 5022001:case 5022002:case 5022201:case 5022301:case 5030102:case 5030103:case 5030104:case 5030301:case 5031001:case 5031401:case 5031501:case 5032001:case 5032002:case 5032003:case 5032004:case 5032201:case 5033001:case 5033501:case 5033502:case 5033801:case 5033802:case 5033803:case 5033901:case 5034201:case 5034202:case 5034203:case 5034801:case 5035201:case 5035203:case 5035204:case 6010601:case 6010602:case 60110:case 60111:case 6011101:case 6011102:case 60117:case 6011701:case 6011702:case 6012702:case 7020201:case 7020202:case 9040401:case 50332:case 5033301:case 50336:case 5033601:case 50337:case 5033701:return 2;case 30011:case 30012:case 30024:case 3002401:case 3002402:case 3002403:case 40302:case 50225:case 50227:case 50301:case 50316:case 50317:case 5031701:case 50352:case 60104:case 60201:case 6020101:case 6020102:case 6020103:case 6020104:case 6020105:case 6020106:case 6020107:case 60207:case 6020701:case 3001101:case 3001102:case 3001103:case 3001104:case 3001105:case 30023:case 4030201:case 4030202:case 4030203:case 4030204:case 5020801:case 5030101:case 5030105:case 5030106:case 5030107:case 5035202:case 5035205:return 3;default:return 0}},SuperMapAlgoPlot.WJAlgoSymbolFactory.getMaxEditPts=function(t,e){if(123!==t)return 0;switch(e){case 21217:case 30018:case 30025:case 3002501:case 3002502:case 3002503:case 3002504:case 3002505:case 50104:case 50302:case 50313:case 50335:case 50338:case 50339:case 60202:case 6020201:case 60203:case 6020301:case 70201:case 90114:case 90115:case 90214:case 90216:case 90217:case 90218:case 9021801:case 90507:case 2120602:case 2121402:case 2121404:case 2121405:case 2121406:case 2121407:case 2122201:case 2122202:case 2160501:case 3001301:case 30026:case 4030401:case 5010401:case 5031401:case 5031501:case 5033501:case 5033502:case 5033801:case 5033802:case 5033803:case 5033901:case 50343:case 5034301:case 5034302:case 5034303:case 50344:case 60108:case 60115:case 6011501:case 90207:case 90212:case 90215:case 30027:return 2;case 21003:case 21207:case 21223:case 2122301:case 2122302:case 2122303:case 2122304:case 2122305:case 2122306:case 30023:case 50221:case 50222:case 50331:case 50348:case 60104:case 2021101:case 2021102:case 5021101:case 5021102:case 5022201:case 5034801:case 70110:return 3;case 50312:case 50317:case 5030106:return 4;case 21220:case 2122001:case 21221:case 50225:case 50226:case 50316:case 50320:case 5032004:case 50322:case 50328:case 60127:case 2122101:case 5020801:case 5031701:case 5032001:case 5032002:case 5032003:case 50321:case 5032101:case 5032102:case 5032201:case 80203:case 8020301:case 90213:return 30;case 30024:case 3002401:case 3002402:case 3002403:case 30028:case 3002801:case 30029:case 50227:case 50352:case 60207:case 6020701:case 5022001:case 5022002:case 5030101:case 50341:case 5034101:case 5034102:case 5035202:case 5035203:return 512;case 20915:case 21212:case 2121201:case 2121202:case 2121203:case 2121204:case 2121205:case 21213:case 21214:case 2121401:case 2121403:case 21215:case 21222:case 2122203:case 2122204:case 2122205:case 21605:case 30008:case 30010:case 30011:case 30012:case 40301:case 40302:case 40303:case 50101:case 50102:case 50106:case 50107:case 50108:case 50209:case 50210:case 50220:case 50223:case 50303:case 50309:case 50315:case 50330:case 60201:case 6020101:case 6020102:case 6020103:case 6020104:case 6020105:case 6020106:case 6020107:case 70202:case 80202:case 2091501:case 2091502:case 2091503:case 2121501:case 2121502:case 3001101:case 3001102:case 3001103:case 3001104:case 3001105:case 4030101:case 4030102:case 4030103:case 4030104:case 4030201:case 4030202:case 4030203:case 4030204:case 5010101:case 5010701:case 5020802:case 5022301:case 5030102:case 5030301:case 5035205:case 6010601:case 6010602:case 60110:case 60111:case 6011101:case 6011102:case 60117:case 6011701:case 6011702:case 7020201:case 7020202:case 50212:return 1e3;case 20602:case 2060201:case 2060202:case 21206:case 2120601:case 30009:case 30013:case 30014:case 40304:case 40305:case 50103:case 50208:case 50301:case 50308:case 50310:case 50314:case 50318:case 50323:case 50342:case 60106:case 60131:case 70109:case 90305:case 90404:case 2092101:case 3000801:case 3000802:case 3000803:case 3000804:case 3000805:case 3000806:case 3000807:case 3000808:case 3000809:case 3001302:case 4030301:case 4030302:case 4030303:case 4030501:case 4030602:case 4030802:case 4031202:case 5010201:case 5010202:case 5010203:case 5010204:case 5010301:case 5010302:case 5010303:case 5010304:case 5021711:case 5021803:case 5030103:case 5030104:case 5030105:case 5030107:case 5031001:case 5033001:case 5034201:case 5034202:case 5034203:case 5035201:case 5035204:case 50354:case 5035401:case 50355:case 5035501:case 6012702:case 9040401:case 5033301:case 50336:case 5033601:case 50337:case 5033701:return 9999;case 50332:return 6;default:return 0}},SuperMapAlgoPlot.WJAlgoSymbolFactory.getDefaultStyle=function(t,e){var l={};if(123===t)switch(e){case 50108:case 30012:case 3000801:case 3001101:case 30011:case 30013:case 30010:case 3001104:case 30014:case 30009:case 30008:case 30023:case 3000802:case 3000803:case 3000804:case 3000805:case 3000806:case 3000807:case 3000808:l.color=l.strokeColor="#0000ff"}return l},SuperMapAlgoPlot.WJAlgoSymbolFactory.zoomInCalSymbol=function(){return!1}},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WJAlgoSymbolFactory=void 0;var o=l(275);e.WJAlgoSymbolFactory=o.WJAlgoSymbolFactory}]); /***/ }), /* 3 */ /***/ (function(module, exports) { /*! * * iclient-plot-algorithms-yj.(https://iclient.supermap.io) * Copyright© 2000 - 2020 SuperMap Software Co.Ltd * version: v10.1.1 * */!function(t){var e={};function l(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,l),i.l=!0,i.exports}l.m=t,l.c=e,l.d=function(t,e,o){l.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},l.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},l.t=function(t,e){if(1&e&&(t=l(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(l.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)l.d(o,i,function(e){return t[e]}.bind(null,i));return o},l.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return l.d(e,"a",e),e},l.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},l.p="",l(l.s=15)}([function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e),this.isEdit||(this.scaleValues[0]=.5*this.getSubSymbolScaleValue(),this.scaleValues[1]=.0625*this.getSubSymbolScaleValue());for(var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),o=l*this.scaleValues[0],i=l*this.scaleValues[1],n=e[0],r=0,a=1;a=o){var s=SuperMapAlgoPlot.PlottingUtil.findPointInLine(n,p,o);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[n,s]),n=s,r++,a--}break;case 1:case 3:var P=3*i;if(u>P)n=SuperMapAlgoPlot.PlottingUtil.findPointInLine(n,p,P),r++,a--;break;case 2:if(u>2*i){var c=SuperMapAlgoPlot.PlottingUtil.findPointInLine(n,p,2*i);this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,[new SuperMapAlgoPlot.Point(.5*(n.x+c.x),.5*(n.y+c.y)),c],{fillLimit:!0,fill:!0}),n=c,r++,a--}}}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol610100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l2&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,c)}g.push(n.endPt);for(var f=n.endIndex+1;f=.12&&(n=.12),this.scaleValues[0]=n}}},{key:"computeXPts",value:function(t,e,l,o){var i=[],n=SuperMapAlgoPlot.PlottingUtil.circlePoint(t,e,e,o+45),r=SuperMapAlgoPlot.PlottingUtil.circlePoint(t,e,e,o+225);i.push(n),i.push(r);var a=SuperMapAlgoPlot.PlottingUtil.circlePoint(t,e,e,o+135),p=SuperMapAlgoPlot.PlottingUtil.circlePoint(t,e,e,o+315);return i.push(a),i.push(p),i}},{key:"computeDashLines",value:function(t,e){for(var l=this.computeDashLine(2*e,2*e,t),o=.5*e,i=0;il.length)return;var o=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(l,!1);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o),n=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(.6*i,o);if(!n.bfind)return;var r=2*SuperMapAlgoPlot.PlottingUtil.distance(e,n.pts);this.scaleValues[0]=r/i}}}]),e}();SuperMapAlgoPlot.AlgoSymbol520300=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l1&&(c=1),this.scaleValues[0]=c}if(1===t){var g=this.scaleValues[0]*o,S=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(l,g);if(-1===S.index)return;var h=SuperMapAlgoPlot.PlottingUtil.distance(S.pt,e)/o;h>.4&&(h=.4),this.scaleValues[1]=h}}}},{key:"intersectLineAndCircle",value:function(t,e,l,o,i){for(var n=!1,r=SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,[l,new SuperMapAlgoPlot.Point(l.x+o,l.y)]),a=0;ae.x){for(var u=0;ui[P+1].x){var c=i[P];i[P]=i[P+1],i[P+1]=c}}else if(t.y>e.y){for(var g=0;gi[h+1].y){var f=i[h];i[h]=i[h+1],i[h+1]=f}return n}},{key:"isLineInCircle",value:function(t,e,l,o){var i=new SuperMapAlgoPlot.Point((t.x+e.x)/2,(t.y+e.y)/2);return SuperMapAlgoPlot.PlottingUtil.distance(i,l)=.12&&(n=.12),this.scaleValues[0]=n}}},{key:"computeXPts",value:function(t,e,l,o){var i=[],n=SuperMapAlgoPlot.PlottingUtil.circlePoint(t,e,e,o+45),r=SuperMapAlgoPlot.PlottingUtil.circlePoint(t,e,e,o+225);i.push(n),i.push(r);var a=SuperMapAlgoPlot.PlottingUtil.circlePoint(t,e,e,o+135),p=SuperMapAlgoPlot.PlottingUtil.circlePoint(t,e,e,o+315);return i.push(a),i.push(p),i}}]),e}();SuperMapAlgoPlot.AlgoSymbol510100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,l);for(var o=0;o<4;o++){var i=o*(l.length-1)/4,n=new SuperMapAlgoPlot.Point(l[i].x,l[i].y),r=new SuperMapAlgoPlot.Point(l[i+1].x,l[i+1].y),a=new SuperMapAlgoPlot.Point((n.x+r.x)/2,(n.y+r.y)/2),p=SuperMapAlgoPlot.PlottingUtil.radian(a,r)*SuperMapAlgoPlot.PlottingUtil.RTOD,u=this.scaleValues[0]*e/2,s=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,u,u,p),P=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,4*u,4*u,p+270),c=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,u,u,p+180);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[s,P,c])}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol29101=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,l);for(var o=0;o<4;o++){var i=Math.floor(o*l.length/4),n=new SuperMapAlgoPlot.Point(l[i].x,l[i].y),r=new SuperMapAlgoPlot.Point(l[i+1].x,l[i+1].y),a=new SuperMapAlgoPlot.Point((n.x+r.x)/2,(n.y+r.y)/2),p=SuperMapAlgoPlot.PlottingUtil.radian(r,a)*SuperMapAlgoPlot.PlottingUtil.RTOD,u=this.scaleValues[0]*e/2,s=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,u,u,p),P=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,4*u,4*u,p+270),c=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,u,u,p+180);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[s,P,c],{lineTypeLimit:!0,surroundLineLimit:!0})}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol29100=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l.7&&(d=.7),this.scaleValues[2]=d}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol15200=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var l=0;l=1)return;this.scaleValues[2]=y}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol15800=i},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbol610100=e.AlgoSymbol530200=e.AlgoSymbol530100=e.AlgoSymbol520500=e.AlgoSymbol520300=e.AlgoSymbol520200=e.AlgoSymbol520100=e.AlgoSymbol510100=e.AlgoSymbol29101=e.AlgoSymbol29100=e.AlgoSymbol15200=e.AlgoSymbol15804=e.AlgoSymbol15800=void 0;var o=l(12),i=l(11),n=l(10),r=l(9),a=l(8),p=l(7),u=l(6),s=l(5),P=l(4),c=l(3),g=l(2),S=l(1),h=l(0);e.AlgoSymbol15800=o.AlgoSymbol15800,e.AlgoSymbol15804=i.AlgoSymbol15804,e.AlgoSymbol15200=n.AlgoSymbol15200,e.AlgoSymbol29100=r.AlgoSymbol29100,e.AlgoSymbol29101=a.AlgoSymbol29101,e.AlgoSymbol510100=p.AlgoSymbol510100,e.AlgoSymbol520100=u.AlgoSymbol520100,e.AlgoSymbol520200=s.AlgoSymbol520200,e.AlgoSymbol520300=P.AlgoSymbol520300,e.AlgoSymbol520500=c.AlgoSymbol520500,e.AlgoSymbol530100=g.AlgoSymbol530100,e.AlgoSymbol530200=S.AlgoSymbol530200,e.AlgoSymbol610100=h.AlgoSymbol610100},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.YJAlgoSymbolFactory=void 0,l(13);e.YJAlgoSymbolFactory=SuperMapAlgoPlot.YJAlgoSymbolFactory=SuperMapAlgoPlot.YJAlgoSymbolFactory||{};SuperMapAlgoPlot.YJAlgoSymbolFactory.getAlgoSymbol=function(t,e,l){if(999!==t)return new SuperMapAlgoPlot.AlgoSymbol(l);switch(e){case 510100:return new SuperMapAlgoPlot.AlgoSymbol510100(l);case 510200:return new SuperMapAlgoPlot.AlgoSymbol15804(l);case 520100:return new SuperMapAlgoPlot.AlgoSymbol520100(l);case 520200:return new SuperMapAlgoPlot.AlgoSymbol520200(l);case 520300:return new SuperMapAlgoPlot.AlgoSymbol520300(l);case 520400:return new SuperMapAlgoPlot.AlgoSymbol15200(l);case 520500:return new SuperMapAlgoPlot.AlgoSymbol520500(l);case 530100:return new SuperMapAlgoPlot.AlgoSymbol530100(l);case 530200:return new SuperMapAlgoPlot.AlgoSymbol530200(l);case 610100:return new SuperMapAlgoPlot.AlgoSymbol610100(l);case 610200:return new SuperMapAlgoPlot.AlgoSymbol29100(l);case 610300:return new SuperMapAlgoPlot.AlgoSymbol29101(l);default:return new SuperMapAlgoPlot.AlgoSymbol(l)}},SuperMapAlgoPlot.YJAlgoSymbolFactory.isAccessServer=function(t,e){if(999!==t)return!0;switch(e){case 510100:case 510200:case 520100:case 520200:case 520300:case 520400:case 520500:case 530100:case 530200:case 610100:case 610200:case 610300:return!1;default:return!0}},SuperMapAlgoPlot.YJAlgoSymbolFactory.getSymbolWayType=function(t,e){if(999===t)switch(e){case 510100:case 510200:case 520100:case 520200:case 520300:case 520400:case 520500:case 530100:case 530200:case 610100:case 610200:case 610300:return SuperMapAlgoPlot.AddPoint_WayType.CURVE;default:return SuperMapAlgoPlot.AddPoint_WayType.UNKNOWN}},SuperMapAlgoPlot.YJAlgoSymbolFactory.getDefaultSubSymbols=function(){return[]},SuperMapAlgoPlot.YJAlgoSymbolFactory.getMinEditPts=function(t,e){if(999!==t)return 0;switch(e){case 510100:case 510200:case 520100:case 520200:case 520300:case 520400:case 520500:case 530100:case 530200:case 610100:case 610200:case 610300:return 2;default:return 0}},SuperMapAlgoPlot.YJAlgoSymbolFactory.getMaxEditPts=function(t,e){if(999!==t)return 0;switch(e){case 510100:case 510200:case 520100:case 520200:case 520300:case 520400:case 520500:case 530100:case 530200:case 610100:return 9999;case 610200:case 610300:return 3;default:return 0}},SuperMapAlgoPlot.YJAlgoSymbolFactory.getDefaultStyle=function(){return{}},SuperMapAlgoPlot.YJAlgoSymbolFactory.zoomInCalSymbol=function(){return!1}},function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.YJAlgoSymbolFactory=void 0;var o=l(14);e.YJAlgoSymbolFactory=o.YJAlgoSymbolFactory}]); /***/ }), /* 4 */ /***/ (function(module, exports) { /*! * * iclient-plot-webgl-common.(https://iclient.supermap.io) * Copyright© 2000 - 2020 SuperMap Software Co.Ltd * version: v10.1.1 * */!function(t){var e={};function o(l){if(e[l])return e[l].exports;var i=e[l]={i:l,l:!1,exports:{}};return t[l].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=e,o.d=function(t,e,l){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:l})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var l=Object.create(null);if(o.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(l,i,function(e){return t[e]}.bind(null,i));return l},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=138)}([function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(e.SuperMap=window.SuperMap=window.SuperMap||{}).Widgets=window.SuperMap.Widgets||{}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Util=void 0;var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=o(0); /* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved. * This program are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/o(2);var n,r,a;e.Util=i.SuperMap.Util=i.SuperMap.Util||{};i.SuperMap.Util.extend=function(t,e){if(t=t||{},e){for(var o in e){var l=e[o];void 0!==l&&(t[o]=l)}!("function"==typeof window.Event&&e instanceof window.Event)&&e.hasOwnProperty&&e.hasOwnProperty("toString")&&(t.toString=e.toString)}return t},i.SuperMap.Util.copy=function(t,e){var o;if(t=t||{},e)for(var l in t)void 0!==(o=e[l])&&(t[l]=o)},i.SuperMap.Util.reset=function(t){for(var e in t=t||{})if(t.hasOwnProperty(e)){if("object"===l(t[e])&&t[e]instanceof Array){for(var o in t[e])t[e][o].destroy&&t[e][o].destroy();t[e].length=0}else"object"===l(t[e])&&t[e]instanceof Object&&t[e].destroy&&t[e].destroy();t[e]=null}},i.SuperMap.Util.getElement=function(){for(var t=[],e=0,o=arguments.length;e=0;o--)t[o]===e&&t.splice(o,1);return t},i.SuperMap.Util.indexOf=function(t,e){if(null==t)return-1;if("function"==typeof t.indexOf)return t.indexOf(e);for(var o=0,l=t.length;o=0&&parseFloat(a)<1?(t.style.filter="alpha(opacity="+100*a+")",t.style.opacity=a):1===parseFloat(a)&&(t.style.filter="",t.style.opacity="")},i.SuperMap.Util.applyDefaults=function(t,e){t=t||{};var o="function"==typeof window.Event&&e instanceof window.Event;for(var l in e)(void 0===t[l]||!o&&e.hasOwnProperty&&e.hasOwnProperty(l)&&!t.hasOwnProperty(l))&&(t[l]=e[l]);return!o&&e&&e.hasOwnProperty&&e.hasOwnProperty("toString")&&!t.hasOwnProperty("toString")&&(t.toString=e.toString),t},i.SuperMap.Util.getParameterString=function(t){var e=[];for(var o in t){var i=t[o];if(null!=i&&"function"!=typeof i){var n;if("object"===(void 0===i?"undefined":l(i))&&i.constructor===Array){for(var r,a=[],s=0,u=i.length;s1?1/t:t},i.SuperMap.Util.getResolutionFromScale=function(t,e){var o;t&&(null==e&&(e="degrees"),o=1/(i.SuperMap.Util.normalizeScale(t)*i.SuperMap.INCHES_PER_UNIT[e]*i.SuperMap.DOTS_PER_INCH));return o},i.SuperMap.Util.getScaleFromResolution=function(t,e){return null==e&&(e="degrees"),t*i.SuperMap.INCHES_PER_UNIT[e]*i.SuperMap.DOTS_PER_INCH},i.SuperMap.IS_GECKO=-1===(n=navigator.userAgent.toLowerCase()).indexOf("webkit")&&-1!==n.indexOf("gecko"),i.SuperMap.Browser=function(){var t,e="",o="",l="pc",i=navigator.userAgent.toLowerCase();return i.indexOf("msie")>-1||i.indexOf("trident")>-1&&i.indexOf("rv")>-1?(e="msie",t=i.match(/msie ([\d.]+)/)||i.match(/rv:([\d.]+)/)):i.indexOf("chrome")>-1?(e="chrome",t=i.match(/chrome\/([\d.]+)/)):i.indexOf("firefox")>-1?(e="firefox",t=i.match(/firefox\/([\d.]+)/)):i.indexOf("opera")>-1?(e="opera",t=i.match(/version\/([\d.]+)/)):i.indexOf("safari")>-1&&(e="safari",t=i.match(/version\/([\d.]+)/)),o=t?t[1]:"",i.indexOf("ipad")>-1||i.indexOf("ipod")>-1||i.indexOf("iphone")>-1?l="apple":i.indexOf("android")>-1&&(o=(t=i.match(/version\/([\d.]+)/))?t[1]:"",l="android"),{name:e,version:o,device:l}}(),i.SuperMap.Util.getBrowser=function(){return i.SuperMap.Browser},i.SuperMap.Util.isSupportCanvas=(r=!0,a=i.SuperMap.Util.getBrowser(),document.createElement("canvas").getContext?("firefox"===a.name&&parseFloat(a.version)<5&&(r=!1),"safari"===a.name&&parseFloat(a.version)<4&&(r=!1),"opera"===a.name&&parseFloat(a.version)<10&&(r=!1),"msie"===a.name&&parseFloat(a.version)<9&&(r=!1)):r=!1,r),i.SuperMap.Util.supportCanvas=function(){return i.SuperMap.Util.isSupportCanvas},i.SuperMap.INCHES_PER_UNIT.degree=i.SuperMap.INCHES_PER_UNIT.dd,i.SuperMap.INCHES_PER_UNIT.meter=i.SuperMap.INCHES_PER_UNIT.m,i.SuperMap.INCHES_PER_UNIT.foot=i.SuperMap.INCHES_PER_UNIT.ft,i.SuperMap.INCHES_PER_UNIT.inch=i.SuperMap.INCHES_PER_UNIT.inches,i.SuperMap.INCHES_PER_UNIT.mile=i.SuperMap.INCHES_PER_UNIT.mi,i.SuperMap.INCHES_PER_UNIT.kilometer=i.SuperMap.INCHES_PER_UNIT.km,i.SuperMap.INCHES_PER_UNIT.yard=i.SuperMap.INCHES_PER_UNIT.yd,i.SuperMap.Util.isInTheSameDomain=function(t){if(!t)return!0;var e=t.indexOf("//"),o=document.location.toString(),l=o.indexOf("//");if(-1===e)return!0;var i,n=i=t.substring(0,e),r=o.substring(l+2);l=r.indexOf("/");var a=r.indexOf(":"),s=r.substring(0,l),u=document.location.protocol;if(-1!==a||(s+=":"+("http:"===u.toLowerCase()?80:443)),u.toLowerCase()!==n.toLowerCase())return!1;var p=(n=t.substring(e+2)).indexOf(":");e=n.indexOf("/");var c,P=n.substring(0,e);return-1!==p?c=n.substring(0,p):(c=n.substring(0,e),P+=":"+("http:"===i.toLowerCase()?80:443)),c===document.domain&&P===s},i.SuperMap.Util.calculateDpi=function(t,e,o,l,i){if(t&&e&&o){var n,r=t.getWidth(),a=t.getHeight(),s=e.w,u=e.h;if(i=i||6378137,"degree"===(l=l||"degrees").toLowerCase()||"degrees"===l.toLowerCase()||"dd"===l.toLowerCase()){var p=r/s,c=a/u;n=254/(p>c?p:c)/o/(2*Math.PI*i/360)/1e4}else{n=254/(r/s)/o/1e4}return n}},i.SuperMap.Util.toJSON=function(t){var e=t;if(null==e)return null;switch(e.constructor){case String:return e=(e=(e=(e=(e=(e=(e='"'+e.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","<")).replace(">",">")).replace(/%/g,"%25")).replace(/&/g,"%26");case Array:for(var o=[],n=0,r=e.length;n0?"{"+p.join(",")+"}":"{}"}return e.toString()}},i.SuperMap.Util.getResolutionFromScaleDpi=function(t,e,o,l){return l=l||6378137,o=o||"",t>0&&e>0?(t=i.SuperMap.Util.normalizeScale(t),"degree"===o.toLowerCase()||"degrees"===o.toLowerCase()||"dd"===o.toLowerCase()?254/e/t/(2*Math.PI*l/360)/1e4:254/e/t/1e4):-1},i.SuperMap.Util.getScaleFromResolutionDpi=function(t,e,o,l){return l=l||6378137,o=o||"",t>0&&e>0?"degree"===o.toLowerCase()||"degrees"===o.toLowerCase()||"dd"===o.toLowerCase()?254/e/t/(2*Math.PI*l/360)/1e4:254/e/t/1e4:-1},i.SuperMap.Util.transformResult=function(t){return t.responseText&&"string"==typeof t.responseText&&(t=JSON.parse(t.responseText)),t},i.SuperMap.Util.copyAttributes=function(t,e){if(t=t||{},e)for(var o in e){var l=e[o];void 0!==l&&"CLASS_NAME"!==o&&"function"!=typeof l&&(t[o]=l)}return t},i.SuperMap.Util.copyAttributesWithClip=function(t,e,o){if(t=t||{},e)for(var l in e){var i=!1;if(o&&o.length)for(var n=0,r=o.length;n=0&&r<=1&&n<=1&&r>=0?new i.SuperMap.Geometry.Point(t.x+n*(e.x-t.x),t.y+n*(e.y-t.y)):"No Intersection";else if(0==s&&0==u){var c=Math.max(t.y,e.y),P=Math.min(t.y,e.y),h=Math.max(t.x,e.x),g=Math.min(t.x,e.x);a=(o.y>=P&&o.y<=c||l.y>=P&&l.y<=c)&&o.x>=g&&o.x<=h||l.x>=g&&l.x<=h?"Coincident":"Parallel"}else a="Parallel";return a},i.SuperMap.Util.getTextBounds=function(t,e,o){document.body.appendChild(o),o.style.width="auto",o.style.height="auto",t.fontSize&&(o.style.fontSize=t.fontSize),t.fontFamily&&(o.style.fontFamily=t.fontFamily),t.fontWeight&&(o.style.fontWeight=t.fontWeight),o.style.position="relative",o.style.visibility="hidden",o.style.display="inline-block",o.innerHTML=e;var l=o.clientWidth,i=o.clientHeight;return document.body.removeChild(o),{textWidth:l,textHeight:i}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArrayExt=e.FunctionExt=e.NumberExt=e.StringExt=void 0;var l=o(0); /* Copyright© 2000 - 2018 SuperMap Software Co.Ltd. All rights reserved. * This program are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/ l.SuperMap.inherit=function(t,e){var o,i,n,r=function(){};for(r.prototype=e.prototype,t.prototype=new r,o=2,i=arguments.length;o0&&(o=parseFloat(t.toPrecision(e))),o},format:function(t,e,o,i){e=void 0!==e?e:0,o=void 0!==o?o:l.SuperMap.Number.thousandsSeparator,i=void 0!==i?i:l.SuperMap.Number.decimalSeparator,null!=e&&(t=parseFloat(t.toFixed(e)));var n=t.toString().split(".");1===n.length&&null==e&&(e=0);var r,a=n[0];if(o)for(var s=/(-?[0-9]+)([0-9]{3})/;s.test(a);)a=a.replace(s,"$1"+o+"$2");if(0==e)r=a;else{var u=n.length>1?n[1]:"0";null!=e&&(u+=new Array(e-u.length+1).join("0")),r=a+i+u}return r}};Number.prototype.limitSigDigs||(Number.prototype.limitSigDigs=function(t){return i.limitSigDigs(this,t)});e.FunctionExt=l.SuperMap.Function={bind:function(t,e){var o=Array.prototype.slice.apply(arguments,[2]);return function(){var l=o.concat(Array.prototype.slice.apply(arguments,[0]));return t.apply(e,l)}},bindAsEventListener:function(t,e){return function(o){return t.call(e,o||window.event)}},False:function(){return!1},True:function(){return!0},Void:function(){}},e.ArrayExt=l.SuperMap.Array={filter:function(t,e,o){var l=[];if(Array.prototype.filter)l=t.filter(e,o);else{var i=t.length;if("function"!=typeof e)throw new TypeError;for(var n=0;n-1?"&":"?")+"_method="+t,"string"!=typeof o&&(o=JSON.stringify(o)),this.post(e,o,l)},_processUrl:function(t,e){if(this._isMVTRequest(t))return t;if(-1===t.indexOf(".json")&&!e.withoutFormatSuffix)if(t.indexOf("?")<0)t+=".json";else{var o=t.split("?");2===o.length&&(t=o[0]+".json?"+o[1])}return e&&e.proxy&&("function"==typeof e.proxy?t=e.proxy(t):(t=decodeURIComponent(t),t=e.proxy+encodeURIComponent(t))),t},_fetch:function(t,e,o,l){return(o=o||{}).headers=o.headers||{},o.headers["Content-Type"]||(o.headers["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8"),o.timeout?this._timeout(o.timeout,u(t,{method:l,headers:o.headers,body:"PUT"===l||"POST"===l?e:void 0,credentials:o.withCredentials?"include":"omit",mode:"cors",timeout:c()}).then(function(t){return t})):u(t,{method:l,body:"PUT"===l||"POST"===l?e:void 0,headers:o.headers,credentials:o.withCredentials?"include":"omit",mode:"cors",timeout:c()}).then(function(t){return t})},_fetchJsonp:function(t,e){return e=e||{},(0,r.default)(t,{method:"GET",timeout:e.timeout}).then(function(t){return t})},_timeout:function(t,e){return new Promise(function(o,l){setTimeout(function(){l(new Error("timeout"))},t),e.then(o,l)})},_getParameterString:function(t){var e=[];for(var o in t){var i=t[o];if(null!=i&&"function"!=typeof i){var n;if("object"===(void 0===i?"undefined":l(i))&&i.constructor===Array){for(var r,a=[],s=0,u=i.length;s-1||t.indexOf(".pbf")>-1}};a.SuperMap.Util.RequestJSONPPromise={limitLength:1500,queryKeys:[],queryValues:[],supermap_callbacks:{},addQueryStrings:function(t){for(var e in t){this.queryKeys.push(e),"string"!=typeof t[e]&&(t[e]=a.SuperMap.Util.toJSON(t[e]));var o=encodeURIComponent(t[e]);this.queryValues.push(o)}},issue:function(t){for(var e=this,o=e.getUid(),l=t.url,i=[],n=new Promise(function(t){e.supermap_callbacks[o]=function(l){delete e.supermap_callbacks[o],t(l)}}),r=l,a=0,s=e.queryKeys?e.queryKeys.length:0,u=0;u=e.limitLength){if(0==a)return!1;i.push(r),r=l,a=0,u--}else if(r.length+e.queryKeys[u].length+2+e.queryValues[u].length>e.limitLength)for(var p=e.queryValues[u];p.length>0;){var c=e.limitLength-r.length-e.queryKeys[u].length-2;r.indexOf("?")>-1?r+="&":r+="?";var P=p.substring(0,c);"%"===P.substring(c-1,c)?(c-=1,P=p.substring(0,c)):"%"===P.substring(c-2,c-1)&&(c-=2,P=p.substring(0,c)),r+=e.queryKeys[u]+"="+P,p=p.substring(c),P.length>0&&(i.push(r),r=l,a=0)}else a++,r.indexOf("?")>-1?r+="&":r+="?",r+=e.queryKeys[u]+"="+e.queryValues[u];return i.push(r),e.send(i,"SuperMap.Util.RequestJSONPPromise.supermap_callbacks["+o+"]",t&&t.proxy),n},getUid:function(){return 1e3*(new Date).getTime()+Math.floor(1e17*Math.random())},send:function(t,e,o){var l=t.length;if(l>0)for(var i=(new Date).getTime(),n=0;n-1?a+="&":a+="?",a+="sectionCount="+l,a+="§ionIndex="+n,a+="&jsonpUserID="+i,o&&(a=decodeURIComponent(a),a=o+encodeURIComponent(a)),(0,r.default)(a,{jsonpCallbackFunction:e,timeout:3e4})}},GET:function(t){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings(t.params),this.issue(t)},POST:function(t){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:t.data}),this.issue(t)},PUT:function(t){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:t.data}),this.issue(t)},DELETE:function(t){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:t.data}),this.issue(t)}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbolFactory=void 0,o(3);e.AlgoSymbolFactory=SuperMapAlgoPlot.AlgoSymbolFactory=SuperMapAlgoPlot.AlgoSymbolFactory||{};SuperMapAlgoPlot.AlgoSymbolFactory.getAlgoSymbol=function(t){var e=t.libID,o=t.code;return 0!==e&&22!==e&&421!==e||void 0===SuperMapAlgoPlot.BasicAlgoSymbolFactory?100===e&&void 0!==SuperMapAlgoPlot.JBAlgoSymbolFactory?SuperMapAlgoPlot.JBAlgoSymbolFactory.getAlgoSymbol(e,o,t):123===e&&void 0!==SuperMapAlgoPlot.WJAlgoSymbolFactory?SuperMapAlgoPlot.WJAlgoSymbolFactory.getAlgoSymbol(e,o,t):999===e&&void 0!==SuperMapAlgoPlot.YJAlgoSymbolFactory?SuperMapAlgoPlot.YJAlgoSymbolFactory.getAlgoSymbol(e,o,t):null:SuperMapAlgoPlot.BasicAlgoSymbolFactory.getAlgoSymbol(e,o,t)},SuperMapAlgoPlot.AlgoSymbolFactory.getSymbolWayType=function(t,e){if(0===t)switch(e){case SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL:case SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL:return SuperMapAlgoPlot.AddPoint_WayType.POLYLINE;case SuperMapAlgoPlot.SymbolType.POLYBEZIERSYMBOL:case SuperMapAlgoPlot.SymbolType.POLYBEZIERCLOSESYMBOL:return SuperMapAlgoPlot.AddPoint_WayType.CURVE;default:return SuperMapAlgoPlot.AddPoint_WayType.UNKNOWN}if(22===t)switch(e){case 1005:case 1008:case 1012:case 1014:return SuperMapAlgoPlot.AddPoint_WayType.CURVE;case 1007:case 1009:case 1013:case 1015:return SuperMapAlgoPlot.AddPoint_WayType.POLYLINE;default:return SuperMapAlgoPlot.AddPoint_WayType.UNKNOWN}if(100===t)switch(e){case 15200:case 15201:case 16203:case 17703:case 17704:case 21400:case 21401:case 21500:case 21501:case 21502:case 21503:case 21504:case 21600:case 21900:case 22e3:case 22103:case 23800:case 24700:case 25201:case 25400:case 25601:case 25801:case 25901:case 26500:case 26501:case 26502:case 26503:case 26600:case 28900:case 29e3:case 29003:case 29903:case 3e4:case 30001:case 30002:case 30100:case 30102:case 30200:case 30201:case 30800:case 31803:case 33400:case 34900:case 34901:case 34902:case 35e3:case 36400:case 44200:case 3010102:case 3010103:case 3010104:case 3010105:case 3010106:case 3010107:case 3010108:case 3010301:case 3010302:case 3010303:case 3010304:case 16500:case 17400:case 17401:case 17500:case 17501:case 23400:case 23500:case 23600:case 23700:case 27300:case 28200:case 28300:case 28400:case 37600:case 37601:case 37700:case 39e3:case 40100:case 40101:case 42400:case 2350001:case 3032e3:case 4010800:case 4010801:case 4011100:case 4011101:case 4022100:case 4022101:case 4022102:case 39101:case 44300:case 22200:case 27701:return SuperMapAlgoPlot.AddPoint_WayType.CURVE;case 12500:case 12502:case 16100:case 20300:case 25501:case 25502:case 25503:case 32900:case 34700:case 35200:case 36401:case 41200:case 41201:case 41202:case 42700:case 44400:return SuperMapAlgoPlot.AddPoint_WayType.POLYLINE;default:return SuperMapAlgoPlot.AddPoint_WayType.UNKNOWN}if(123===t)switch(e){case 21003:case 21207:case 2120701:case 2121503:case 21218:case 30008:case 3000801:case 3000802:case 3000803:case 3000804:case 3000805:case 3000806:case 3000807:case 3000808:case 3000809:case 30009:case 5021803:case 5022001:case 5022002:case 40301:case 4030101:case 4030102:case 4030103:case 4030104:case 40303:case 4030301:case 4030302:case 4030303:case 50101:case 5010101:case 50102:case 5010201:case 5010202:case 5010203:case 5010204:case 50103:case 5010301:case 5010302:case 5010303:case 5010304:case 50107:case 5010701:case 50210:case 50220:case 50221:case 50225:case 5030102:case 50303:case 5030301:case 50309:case 50320:case 5032001:case 5032002:case 5032003:case 50321:case 5032101:case 5032102:case 50322:case 5032201:case 50330:case 5033001:case 5034203:case 5035201:case 5035204:case 60205:case 90105:return SuperMapAlgoPlot.AddPoint_WayType.CURVE;case 20915:case 2091502:case 2092101:case 2120702:case 21216:case 2121601:case 2121602:case 21605:case 30010:case 30011:case 3001101:case 3001102:case 3001103:case 3001104:case 3001105:case 30012:case 30020:case 3002001:case 3002002:case 3002005:case 30025:case 3002501:case 30026:case 40104:case 40302:case 4030201:case 4030202:case 4030203:case 4030204:case 50227:case 5035205:case 60301:case 6030101:case 6030102:case 6030103:case 6030104:case 6030105:case 6030106:case 6030107:case 70202:case 7020201:case 7020202:case 90107:return SuperMapAlgoPlot.AddPoint_WayType.POLYLINE;default:return SuperMapAlgoPlot.AddPoint_WayType.UNKNOWN}},SuperMapAlgoPlot.AlgoSymbolFactory.isAccessServer=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMapAlgoPlot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMapAlgoPlot.JBAlgoSymbolFactory?SuperMapAlgoPlot.JBAlgoSymbolFactory.isAccessServer(t,e):123===t&&void 0!==SuperMapAlgoPlot.WJAlgoSymbolFactory?SuperMapAlgoPlot.WJAlgoSymbolFactory.isAccessServer(t,e):999!==t||void 0===SuperMapAlgoPlot.YJAlgoSymbolFactory||SuperMapAlgoPlot.YJAlgoSymbolFactory.isAccessServer(t,e):SuperMapAlgoPlot.BasicAlgoSymbolFactory.isAccessServer(t,e)},SuperMapAlgoPlot.AlgoSymbolFactory.getDefaultSubSymbols=function(t,e){return 100===t&&void 0!==SuperMapAlgoPlot.JBAlgoSymbolFactory?SuperMapAlgoPlot.JBAlgoSymbolFactory.getDefaultSubSymbols(t,e):123===t&&void 0!==SuperMapAlgoPlot.WJAlgoSymbolFactory?SuperMapAlgoPlot.WJAlgoSymbolFactory.getDefaultSubSymbols(t,e):999===t&&void 0!==SuperMapAlgoPlot.YJAlgoSymbolFactory?SuperMapAlgoPlot.YJAlgoSymbolFactory.getDefaultSubSymbols(t,e):[]},SuperMapAlgoPlot.AlgoSymbolFactory.getMinEditPts=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMapAlgoPlot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMapAlgoPlot.JBAlgoSymbolFactory?SuperMapAlgoPlot.JBAlgoSymbolFactory.getMinEditPts(t,e):123===t&&void 0!==SuperMapAlgoPlot.WJAlgoSymbolFactory?SuperMapAlgoPlot.WJAlgoSymbolFactory.getMinEditPts(t,e):999===t&&void 0!==SuperMapAlgoPlot.YJAlgoSymbolFactory?SuperMapAlgoPlot.YJAlgoSymbolFactory.getMinEditPts(t,e):0:SuperMapAlgoPlot.BasicAlgoSymbolFactory.getMinEditPts(t,e)},SuperMapAlgoPlot.AlgoSymbolFactory.getMaxEditPts=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMapAlgoPlot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMapAlgoPlot.JBAlgoSymbolFactory?SuperMapAlgoPlot.JBAlgoSymbolFactory.getMaxEditPts(t,e):123===t&&void 0!==SuperMapAlgoPlot.WJAlgoSymbolFactory?SuperMapAlgoPlot.WJAlgoSymbolFactory.getMaxEditPts(t,e):999===t&&void 0!==SuperMapAlgoPlot.YJAlgoSymbolFactory?SuperMapAlgoPlot.YJAlgoSymbolFactory.getMaxEditPts(t,e):0:SuperMapAlgoPlot.BasicAlgoSymbolFactory.getMaxEditPts(t,e)},SuperMapAlgoPlot.AlgoSymbolFactory.getDefaultStyle=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMapAlgoPlot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMapAlgoPlot.JBAlgoSymbolFactory?SuperMapAlgoPlot.JBAlgoSymbolFactory.getDefaultStyle(t,e):123===t&&void 0!==SuperMapAlgoPlot.WJAlgoSymbolFactory?SuperMapAlgoPlot.WJAlgoSymbolFactory.getDefaultStyle(t,e):999===t&&void 0!==SuperMapAlgoPlot.YJAlgoSymbolFactory?SuperMapAlgoPlot.YJAlgoSymbolFactory.getDefaultStyle(t,e):{}:SuperMapAlgoPlot.BasicAlgoSymbolFactory.getDefaultStyle(t,e)},SuperMapAlgoPlot.AlgoSymbolFactory.getSymbolName=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMapAlgoPlot.BasicAlgoSymbolFactory?"":SuperMapAlgoPlot.BasicAlgoSymbolFactory.getSymbolName(t,e)},SuperMapAlgoPlot.AlgoSymbolFactory.canPolylineConnect=function(t,e){if(100!==t)return!1;switch(e){case 16500:case 17400:case 17401:case 17500:case 17501:case 23400:case 23500:case 23600:case 23700:case 27300:case 28200:case 28300:case 28400:case 37600:case 37601:case 37700:case 39e3:case 40100:case 40101:case 42200:case 42400:case 2350001:case 2730101:case 3032e3:case 4010800:case 4010801:case 4011100:case 4011101:case 4022100:case 4022101:case 4022102:return!0;default:return!1}},SuperMapAlgoPlot.AlgoSymbolFactory.zoomInCalSymbol=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMapAlgoPlot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMapAlgoPlot.JBAlgoSymbolFactory?SuperMapAlgoPlot.JBAlgoSymbolFactory.zoomInCalSymbol(t,e):123===t&&void 0!==SuperMapAlgoPlot.WJAlgoSymbolFactory?SuperMapAlgoPlot.WJAlgoSymbolFactory.zoomInCalSymbol(t,e):999===t&&void 0!==SuperMapAlgoPlot.YJAlgoSymbolFactory?SuperMapAlgoPlot.YJAlgoSymbolFactory.zoomInCalSymbol(t,e):0:SuperMapAlgoPlot.BasicAlgoSymbolFactory.zoomInCalSymbol(t,e)},SuperMapAlgoPlot.AlgoSymbolFactory.zoomCalSymbol=function(t,e){if((0===t||22===t||421===t)&&void 0!==SuperMapAlgoPlot.BasicAlgoSymbolFactory)return SuperMapAlgoPlot.BasicAlgoSymbolFactory.zoomCalSymbol(t,e);if(100===t)switch(e){case 28e3:case 28100:case 28200:case 28201:case 32300:return!0;default:return!1}else{if(123!==t||void 0===SuperMapAlgoPlot.WJAlgoSymbolFactory)return!1;switch(e){case 50312:case 50313:case 50314:case 50348:return!0;default:return!1}}},SuperMapAlgoPlot.AlgoSymbolFactory.calSurroundLineDir=function(t,e){if(22!==t)return!0;switch(e){case 1018:case 1020:case 1021:return!1;default:return!0}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),e=SuperMapAlgoPlot.PlottingUtil.clearSamePts(e);var o=20*this.getSubSymbolScaleValue(),l=.1*this.getSubSymbolScaleValue(),i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(e);o>.05*i?l=.01*(o=.05*i):o<.005*i&&(o=.005*i);for(var n=SuperMapAlgoPlot.PlottingUtil.makeDottedLine(e,o),r=0;r0){var a=n[r-1][n[r-1].length-1],s=n[r][0],u=SuperMapAlgoPlot.PlottingUtil.midPoint(a,s);this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,[u,new SuperMapAlgoPlot.Point(u.x+l,u.y)],{lineTypeLimit:!0,surroundLineLimit:!0,fillLimit:!0,fillColorLimit:!1,fill:!0})}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol329=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=t.length?SuperMapAlgoPlot.Primitives.getSpatialData(SuperMapAlgoPlot.SymbolType.KIDNEY,t):SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t,!0),o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,o);for(var l=0;l<4;l++){var i=Math.floor(l*o.length/4),n=new SuperMapAlgoPlot.Point(o[i].x,o[i].y),r=new SuperMapAlgoPlot.Point(o[i+1].x,o[i+1].y),a=new SuperMapAlgoPlot.Point((n.x+r.x)/2,(n.y+r.y)/2),s=SuperMapAlgoPlot.PlottingUtil.radian(r,a)*SuperMapAlgoPlot.PlottingUtil.RTOD,u=this.scaleValues[0]*e/2,p=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,u,u,s),c=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,4*u,4*u,s+270),P=SuperMapAlgoPlot.PlottingUtil.circlePoint(a,u,u,s+180);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[p,c,P])}this.finish()}}}]),e}();SuperMapAlgoPlot.AlgoSymbol330=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o2&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,P)}h.push(n.endPt);for(var f=n.endIndex+1;f.3||l<=0)&&(l=.3),this.scaleValues[0]=l,this.scaleValues[1]=.5*this.getSubSymbolScaleValue()}var i=this.getLinePts(e,this.scaleValues[0]),n=new SuperMapAlgoPlot.Point((i.startPt.x+i.endPt.x)/2,(i.startPt.y+i.endPt.y)/2),r=SuperMapAlgoPlot.PlottingUtil.radian(i.startPt,i.endPt)*SuperMapAlgoPlot.PlottingUtil.RTOD,a=SuperMapAlgoPlot.PlottingUtil.distance(i.startPt,i.endPt);this.addSubSymbols(n,a,r);for(var s=[],u=[],p=0;p<=i.startIndex;p++)s.push(e[p]);if(s.push(i.startPt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s),i.endIndex<=e.length){u.push(i.endPt);for(var c=i.endIndex+1;c<=e.length-1;c++)u.push(e[c]);this.addArrow(u,this.scaleValues[1])}var P=o*this.scaleValues[0]*.5,h=SuperMapAlgoPlot.PlottingUtil.circlePoint(n,P,P,r+90);this.addScalePoint(h,0),this.finish()}}},{key:"addSubSymbols",value:function(t,e,o){this.subSymbols.length>0&&this.computeSubSymbol(this.subSymbols[0],t,.8*e,o-180)}},{key:"computeScaleValues",value:function(t,e){if(0===t&&!0===e.isScalePoint){var o=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if((o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o)).length.3&&(S=.3),this.scaleValues[1]=S}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol322=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;ot[l].x&&(e=t[l].x),o0&&(s=!0),f=[];for(var b=new SuperMapAlgoPlot.Point(p,r.y),m=SuperMapAlgoPlot.PlottingUtil.circlePoint(b,5,5,45),T=0;T0&&(s=!0),u-=a,p+=a}this.finish()}}},{key:"sortPts2D",value:function(t){for(var e=new SuperMapAlgoPlot.Point(0,0),o=0;ot[l+1].y&&(e=t[l],t[l]=t[l+1],t[l+1]=e):t[l].x>t[l+1].x&&(e=t[l],t[l]=t[l+1],t[l+1]=e);return t}}]),e}();SuperMapAlgoPlot.AlgoSymbol25701=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o.7&&(v=.7),this.scaleValues[2]=v}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol15200=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=2&&t.length=2&&t.length0&&(this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,o.shapePts,{strokeWidth:0,weight:0,lineWidthLimit:!0}),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,n),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,r),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,o.LeftArowHead,{lineTypeLimit:!0}),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,o.LeftArowRightBody),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,P),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,h),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,o.RightArowHead,{lineTypeLimit:!0}),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,d),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,M)),this.scalePoints=[];for(var T=0;Tthis.SV1_MaxValue&&(l=this.SV1_MaxValue)}else l=SuperMapAlgoPlot.PlottingUtil.distance(a.projectPoint,n)=0;--w)E.push(T[w]);var x=SuperMapAlgoPlot.PlottingUtil.clonePoints(E);x.push(x[0]),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,x,{lineWidthLimit:!0,strokeWidth:0,weight:0,surroundLineFlag:!1}),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[E[0],E[1]]),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[E[2],E[3]]),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[E[3],E[4],E[5],E[6],E[7]],{lineTypeLimit:!0}),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[E[7],E[8]]),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[E[9],E[10]]),this.scalePoints=[];var C=T[0].clone();C.isScalePoint=!0,C.tag=0,this.scalePoints.push(C);var I=T[3].clone();I.isScalePoint=!0,I.tag=1,this.scalePoints.push(I);var R=T[4].clone();R.isScalePoint=!0,R.tag=2,this.scalePoints.push(R),this.finish()}}},{key:"modifyPoint",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var o=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var l=SuperMapAlgoPlot.PlottingUtil.distance(o[0],o[1]),i=o[0].clone(),n=o[1].clone(),r=e.clone();if(0==t){var a=SuperMapAlgoPlot.PlottingUtil.distance(r,i)/l;this.scaleValues[0]=a}else if(1==t){var s=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,i,n),u=SuperMapAlgoPlot.PlottingUtil.distance(s,r)/l;this.scaleValues[1]=u;var p=SuperMapAlgoPlot.PlottingUtil.distance(s,n)/l;this.scaleValues[3]=p}else if(2==t){var c=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,i,n),P=SuperMapAlgoPlot.PlottingUtil.distance(c,r)/l;this.scaleValues[2]=P;var h=SuperMapAlgoPlot.PlottingUtil.distance(c,n)/l;this.scaleValues[4]=h}}this.calculateParts()}}]),e}();SuperMapAlgoPlot.AlgoSymbol1020=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=0;--b)v.push(A[b]);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,v,{lineWidthLimit:!0,strokeWidth:0,weight:0,surroundLineFlag:!1}),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[v[2],v[1],v[7],v[6]],{surroundLineFlag:!1}),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[v[6],v[5],v[4],v[3],v[2]],{lineTypeLimit:!0,surroundLineFlag:!1}),this.scalePoints=[];var m=A[0].clone();m.isScalePoint=!0,m.tag=0,this.scalePoints.push(m);var T=A[1].clone();T.isScalePoint=!0,T.tag=1,this.scalePoints.push(T);var L=A[2].clone();L.isScalePoint=!0,L.tag=2,this.scalePoints.push(L),this.finish()}}},{key:"modifyPoint",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var o=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o);var l=SuperMapAlgoPlot.PlottingUtil.distance(o[0],o[1]),i=o[0].clone(),n=o[1].clone(),r=e.clone();if(0==t){var a=SuperMapAlgoPlot.PlottingUtil.distance(r,i)/l;this.scaleValues[0]=a}else if(1==t){var s=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,i,n),u=SuperMapAlgoPlot.PlottingUtil.distance(s,r)/l;this.scaleValues[1]=u;var p=SuperMapAlgoPlot.PlottingUtil.distance(s,n)/l;this.scaleValues[3]=p}else if(2==t){var c=SuperMapAlgoPlot.PlottingUtil.projectPoint(r,i,n),P=SuperMapAlgoPlot.PlottingUtil.distance(c,r)/l;this.scaleValues[2]=P;var h=SuperMapAlgoPlot.PlottingUtil.distance(c,n)/l;this.scaleValues[4]=h}}this.calculateParts()}}]),e}();SuperMapAlgoPlot.AlgoSymbol1019=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=2&&t.length=0;y--)e.push(u[y]),l.push(u[y])}return{shapePts:e,leftBodyPts:o,rightBodyPts:l,arrowHeadPts:i}}},{key:"updateScalePoints",value:function(t){var e=t.length,o=[];if(!(e<3)){var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!SuperMapAlgoPlot.PlottingUtil.equalFuzzy(l,0)){var i=this.operateCtrlPts(t);e=i.length,e--;for(var n=[],r=0;r0&&A>0){var M=1/(y-g[2].x),v=-1/(f-g[2].y),b=1*g[2].y/(f-g[2].y)-1*g[2].x/(y-g[2].x);d=Math.abs(M*g[0].x+v*g[0].y+b)/Math.sqrt(M*M+v*v)}else A<=1e-4?d=Math.abs(f-g[1].y):S<=1e-4&&(d=Math.abs(y-g[1].x));var m=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(d,g[2],new SuperMapAlgoPlot.Point(y,f)),T=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(g[1],g[2],g[0]);T?(r[1]=g[1],a[1]=g[0]):(r[1]=g[0],a[1]=g[1]),g[1]=new SuperMapAlgoPlot.Point((g[0].x+g[1].x)/2,(g[0].y+g[1].y)/2);var L=Math.sqrt((m.pntLeft.x-m.pntRight.x)*(m.pntLeft.x-m.pntRight.x)+(m.pntLeft.y-m.pntRight.y)*(m.pntLeft.y-m.pntRight.y))*this.sv_AtWidthDivAwWidth,O=(l=L*this.sv_AtLenDivAtWidth)*n;SuperMapAlgoPlot.PlottingUtil.equalFuzzy(i,0)||(O=(l=t*i)*n);var E,w,x=SuperMapAlgoPlot.PlottingUtil.distance(g[P],g[P-1]),C=2*l;x0&&(g[P]=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(l,g[P],N)),_=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(O,g[P+1],g[P]),(T=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(g[P],g[P+1],_.pntLeft))?(a[P]=new SuperMapAlgoPlot.Point(_.pntLeft.x,_.pntLeft.y),r[P]=new SuperMapAlgoPlot.Point(_.pntRight.x,_.pntRight.y)):(a[P]=new SuperMapAlgoPlot.Point(_.pntRight.x,_.pntRight.y),r[P]=new SuperMapAlgoPlot.Point(_.pntLeft.x,_.pntLeft.y)),I=2;I=this.minEditPts){this.scalePoints=[];var e=SuperMapAlgoPlot.PlottingUtil.clonePoints(t);this.isEdit||(this.scaleValues[0]=1.5*this.getSubSymbolScaleValue());var o=SuperMapAlgoPlot.ArrowToolkit.generateArrowBodyShapePts(e,this.scaleValues,SuperMapAlgoPlot.ArrowToolkit.ArrowBodyType.ARROWBODY_PARALLEL),l=o.arrowTouLen,i=o.leftBodyPts,n=o.rightBodyPts,r=[];r.push(i[i.length-1]),r.push(n[n.length-1]);var a=[];a.push(this.scaleValues[3]),a.push(this.scaleValues[4]),a.push(this.scaleValues[0]),a.push(this.scaleValues[1]);var s=SuperMapAlgoPlot.ArrowToolkit.generateArrowHeadShapePts(e,r,a,l,SuperMapAlgoPlot.ArrowToolkit.ArrowHeadType.ARROWHEAD_WITHOUT_EAR),u=[];u=(u=u.concat(i)).concat(s);for(var p=n.length-1;p>=0;p--)u.push(n[p]);u.push(u[0]),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,u,{lineWidthLimit:!0,strokeWidth:0,weight:0,surroundLineFlag:!1});for(var c=SuperMapAlgoPlot.PlottingUtil.clonePoints(i),P=[],h=n.length-1;h>=0;h--)P.push(n[h]);P=P.concat(c),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,P);var g=SuperMapAlgoPlot.PlottingUtil.clonePoints(s);g.push(n[n.length-1]),g.splice(0,0,i[i.length-1]),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,g,{lineTypeLimit:!0});var y=new SuperMapAlgoPlot.Point((r[0].x+r[1].x)/2,(r[0].y+r[1].y)/2),f=new SuperMapAlgoPlot.Point(y.x,y.y);f.isScalePoint=!0,f.tag=0,this.scalePoints.push(f);var S=new SuperMapAlgoPlot.Point(i[i.length-1].x,i[i.length-1].y);S.isScalePoint=!0,S.tag=1,this.scalePoints.push(S);var A=new SuperMapAlgoPlot.Point(s[0].x,s[0].y);A.isScalePoint=!0,A.tag=2,this.scalePoints.push(A),this.finish()}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=new SuperMapAlgoPlot.Point(this.scalePoints[0].x,this.scalePoints[0].y),l=new SuperMapAlgoPlot.Point(this.scalePoints[1].x,this.scalePoints[1].y),i=new SuperMapAlgoPlot.Point(this.scalePoints[2].x,this.scalePoints[2].y),n=this.scaleValues[0],r=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);r=SuperMapAlgoPlot.PlottingUtil.clearSamePts(r);var a=SuperMapAlgoPlot.PlottingUtil.polylineDistance(r),s=a*n;if(0==t){var u=SuperMapAlgoPlot.PlottingUtil.pointProjectToSegment(e,r[r.length-2],r[r.length-1]),p=u.projectPoint;if(u.isOnline){var c=SuperMapAlgoPlot.PlottingUtil.distance(p,r[r.length-1]);this.scaleValues[0]=c/a}}else if(1==t){var P=SuperMapAlgoPlot.PlottingUtil.pointProjectToSegment(e,l,i).projectPoint,h=SuperMapAlgoPlot.PlottingUtil.distance(P,o);this.scaleValues[1]=h/s}else if(2==t){var g=SuperMapAlgoPlot.PlottingUtil.pointProjectToSegment(e,r[1],i).projectPoint,y=SuperMapAlgoPlot.PlottingUtil.pointProjectToSegment(g,o,r[1]),f=y.projectPoint,S=SuperMapAlgoPlot.PlottingUtil.distance(f,o);!1===y.isOnline&&(this.scaleValues[4]=S/s)}}this.calculateParts()}}]),e}();SuperMapAlgoPlot.AlgoSymbol1017=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o1)if(this.arrowBodyType!==SuperMapAlgoPlot.ArrowToolkit.ArrowBodyType.ARROWBODY_COATTAIL)this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,o);else for(var p=0,c=o.length-1;p1&&this.addCell(d,u,e),s.length>1&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,s)}}}]),e}();SuperMapAlgoPlot.AlgoSymbol1016=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=e.AlgoSymbol1015=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.subSymbolDefaultPixelSize=15,o.CLASS_NAME="SuperMapAlgoPlot.AlgoSymbol1015",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol1009),e}();SuperMapAlgoPlot.AlgoSymbol1015=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=e.AlgoSymbol1014=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.subSymbolDefaultPixelSize=15,o.CLASS_NAME="SuperMapAlgoPlot.AlgoSymbol1014",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol1008),e}();SuperMapAlgoPlot.AlgoSymbol1014=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=e.AlgoSymbol1013=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.subSymbolDefaultPixelSize=15,o.CLASS_NAME="SuperMapAlgoPlot.AlgoSymbol1013",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol1007),e}();SuperMapAlgoPlot.AlgoSymbol1013=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=e.AlgoSymbol1012=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.subSymbolDefaultPixelSize=15,o.CLASS_NAME="SuperMapAlgoPlot.AlgoSymbol1012",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMapAlgoPlot.AlgoSymbol1005),e}();SuperMapAlgoPlot.AlgoSymbol1012=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=0;y--)e.push(u[y]),l.push(u[y])}return{shapePts:e,leftBodyPts:o,rightBodyPts:l,arrowHeadPts:i}}},{key:"updateScalePoints",value:function(t){var e=t.length,o=[];if(!(e<3)){var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!SuperMapAlgoPlot.PlottingUtil.equalFuzzy(l,0)){var i=this.operateCtrlPts(t);e=i.length,e--;for(var n=[],r=0;r0&&A>0){var M=1/(y-g[2].x),v=-1/(f-g[2].y),b=1*g[2].y/(f-g[2].y)-1*g[2].x/(y-g[2].x);d=Math.abs(M*g[0].x+v*g[0].y+b)/Math.sqrt(M*M+v*v)}else A<=1e-4?d=Math.abs(f-g[1].y):S<=1e-4&&(d=Math.abs(y-g[1].x));var m=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(d,g[2],new SuperMapAlgoPlot.Point(y,f)),T=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(g[1],g[2],g[0]);T?(r[1]=g[1],a[1]=g[0]):(r[1]=g[0],a[1]=g[1]),g[1]=new SuperMapAlgoPlot.Point((g[0].x+g[1].x)/2,(g[0].y+g[1].y)/2);var L=Math.sqrt((m.pntLeft.x-m.pntRight.x)*(m.pntLeft.x-m.pntRight.x)+(m.pntLeft.y-m.pntRight.y)*(m.pntLeft.y-m.pntRight.y))*this.sv_AtWidthDivAwWidth,O=(l=L*this.sv_AtLenDivAtWidth)*n;SuperMapAlgoPlot.PlottingUtil.equalFuzzy(i,0)||(O=(l=t*i)*n);var E,w,x=SuperMapAlgoPlot.PlottingUtil.distance(g[P],g[P-1]),C=2*l;x0&&(g[P]=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(l,g[P],N)),_=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(O,g[P+1],g[P]),(T=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(g[P],g[P+1],_.pntLeft))?(a[P]=new SuperMapAlgoPlot.Point(_.pntLeft.x,_.pntLeft.y),r[P]=new SuperMapAlgoPlot.Point(_.pntRight.x,_.pntRight.y)):(a[P]=new SuperMapAlgoPlot.Point(_.pntRight.x,_.pntRight.y),r[P]=new SuperMapAlgoPlot.Point(_.pntLeft.x,_.pntLeft.y)),I=2;I=2&&t.length=0;M--)e.push(c[M]),l.push(c[M]);for(var v=1;v0&&this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,n,{surroundLineFlag:!1,fillLimit:!0,fill:!0,lineTypeLimit:!0})}}}]),e}();SuperMapAlgoPlot.AlgoSymbol1008=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o0&&this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,s,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0})}else{this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,l);n.length>0&&this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,n,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0})}}}}]),e}();SuperMapAlgoPlot.AlgoSymbol1007=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=2&&t.length0&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,h,{surroundLineFlag:!1}),this.m_scalePoints.length>0&&(this.m_scalePoints[0]={x:this.m_scalePoints[0].x,y:this.m_scalePoints[0].y,z:b});for(var C=0;C0&&(this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,I,{surroundLineFlag:!1,lineWidthLimit:!0,strokeWidth:0,weight:0}),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,I,{surroundLineFlag:!1})),this.scalePoints=[];for(var R=0;Rthis.SV1_MaxValue&&(o=this.SV1_MaxValue)}else o=SuperMapAlgoPlot.PlottingUtil.distance(r.projectPoint,i)0&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,i)}}}]),e}();SuperMapAlgoPlot.AlgoSymbol1005=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=2&&t.length=2;M--)P.push(o[M]);P.push({x:h.x,y:h.y,z:S});var v=[];this.ComputeBeizerZValueByDis(P,r,v);for(var b=[],m=0;m0&&v.length>0&&b.length>0){u=(u=(u=(u=[]).concat(d)).concat(b)).concat(v),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,u,{surroundLineFlag:!1});for(var L=[],O=0;O=0;y--)e.push(u[y]),l.push(u[y])}return{shapePts:e,leftBodyPts:o,rightBodyPts:l,arrowHeadPts:i}}},{key:"updateScalePoints",value:function(t){var e=t.length,o=[];if(!(e<3)){var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);if(!SuperMapAlgoPlot.PlottingUtil.equalFuzzy(l,0)){var i=this.operateCtrlPts(t);e=i.length,e--;for(var n=[],r=0;r0&&A>0){var M=1/(y-g[2].x),v=-1/(f-g[2].y),b=1*g[2].y/(f-g[2].y)-1*g[2].x/(y-g[2].x);d=Math.abs(M*g[0].x+v*g[0].y+b)/Math.sqrt(M*M+v*v)}else A<=1e-4?d=Math.abs(f-g[1].y):S<=1e-4&&(d=Math.abs(y-g[1].x));var m=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(d,g[2],new SuperMapAlgoPlot.Point(y,f)),T=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(g[1],g[2],g[0]);T?(r[1]=g[1],a[1]=g[0]):(r[1]=g[0],a[1]=g[1]),g[1]=new SuperMapAlgoPlot.Point((g[0].x+g[1].x)/2,(g[0].y+g[1].y)/2);var L=Math.sqrt((m.pntLeft.x-m.pntRight.x)*(m.pntLeft.x-m.pntRight.x)+(m.pntLeft.y-m.pntRight.y)*(m.pntLeft.y-m.pntRight.y))*this.sv_AtWidthDivAwWidth,O=(l=L*this.sv_AtLenDivAtWidth)*n;SuperMapAlgoPlot.PlottingUtil.equalFuzzy(i,0)||(O=(l=t*i)*n);var E,w,x=SuperMapAlgoPlot.PlottingUtil.distance(g[P],g[P-1]),C=2*l;x0&&(g[P]=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(l,g[P],N)),_=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(O,g[P+1],g[P]),(T=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(g[P],g[P+1],_.pntLeft))?(a[P]=new SuperMapAlgoPlot.Point(_.pntLeft.x,_.pntLeft.y),r[P]=new SuperMapAlgoPlot.Point(_.pntRight.x,_.pntRight.y)):(a[P]=new SuperMapAlgoPlot.Point(_.pntRight.x,_.pntRight.y),r[P]=new SuperMapAlgoPlot.Point(_.pntLeft.x,_.pntLeft.y)),I=2;I=this.minEditPts){if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(this.controlPoints[0].x,this.controlPoints[1].x)&&SuperMapAlgoPlot.PlottingUtil.equalFuzzy(this.controlPoints[0].y,this.controlPoints[1].y))return;var o=SuperMapAlgoPlot.PlottingUtil.clonePoints(t),l=!1;void 0!==o[0].z&&(l=!0);var i=SuperMapAlgoPlot.ArrowToolkit.generateArrowBodyShapePts(t,this.scaleValues,SuperMapAlgoPlot.ArrowToolkit.ArrowBodyType.ARROWBODY_TRAPEZOID),n=i.arrowTouLen,r=i.leftBodyPts,a=i.rightBodyPts,s=[];s.push(r[r.length-1]),s.push(a[a.length-1]);var u=[];u.push(this.scaleValues[3]),u.push(this.scaleValues[4]),u.push(0),u.push(0);var p=SuperMapAlgoPlot.ArrowToolkit.generateArrowHeadShapePts(t,s,u,n,SuperMapAlgoPlot.ArrowToolkit.ArrowHeadType.ARROWHEAD_WITHOUT_EAR),c=[];c=(c=c.concat(r)).concat(p);for(var P=a.length-1;P>=0;P--)c.push(a[P]);if(c.push(r[0]),l){for(var h=[],g={x:o[1].x,y:o[1].y,z:o[1].z},y={x:o[0].x,y:o[0].y,z:o[0].z},f=0;f=2&&t.length2*l-1){for(var a=0;ay[b].length)){for(var m=P[b][P[b].length-1],T=h[b][0],L=new SuperMapAlgoPlot.Point(.5*(m.x+T.x),.5*(m.y+T.y)),O=y[b][y[b].length-1],E=y[b][y[b].length-2],w=this.ComputeZValue(L,O,E),x={x:L.x,y:L.y,z:w},C=[],I=[],R=0;R=0;N--)if(b==l-1)U.push(y[b][N]);else{var D={x:y[b][N].x,y:y[b][N].y,z:.5*(y[b][N].z+y[b+1][N].z)};U.push(D)}this.ComputeBeizerZValueByDis(U,h[b],C),M.push(C),C=[];for(var B=g[b],k=0;k0&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,Y,{surroundLineFlag:!1}),this.scalePoints=this.scalePoints.concat(this.m_scalePoints),!0}u.shapePts.length>0&&(this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,u.shapePts,{surroundLineFlag:!1,lineWidthLimit:!0,strokeWidth:0,weight:0}),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,u.shapePts,{surroundLineFlag:!1})),this.scalePoints=[];for(var F=0;Fthis.MAX_SCALEVALUE?n=this.MAX_SCALEVALUE:n3)for(var r=l-1,a=0,s=r;a3)for(var n=l-1,r=0,a=n;r0)if(1==t)o.push(0);else{var l=SuperMapAlgoPlot.PlottingUtil.distance(e[0],e[this.MIN_PTCOUNT_PERARROW]);o.push(l);for(var i=1,n=this.MIN_PTCOUNT_PERARROW;iM&&(d=.5*M);var v=d*P;y.push(y[p].clone());var b,m=0;b=f-d;var T=[],L=0;for(L=2;L<=p;L++)m+=SuperMapAlgoPlot.PlottingUtil.distance(y[L-1],y[L-2]),SuperMapAlgoPlot.PlottingUtil.equalFuzzy(b,0,1e-14)?T[L]=0:SuperMapAlgoPlot.PlottingUtil.equalFuzzy(b-m,0,1e-14)?T[L]=v:T[L]=v+(S-v)*Math.pow((b-m)/b,this.SV_ATScaleParameter);T[p+1]=v;var O=new SuperMapAlgoPlot.Point(0,0),E=new SuperMapAlgoPlot.Point(0,0),w=new SuperMapAlgoPlot.Point(0,0);for(L=2;L<=p;L++){SuperMapAlgoPlot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE1,this.AB_CTRLPT_RATE2,y[L-2],y[L-1],y[L],E,w),p==L&&SuperMapAlgoPlot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,y[p],y[p-1],w,O);var x=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(T[L],E,y[L-1]);n[L]=x.pntLeft,i[L]=x.pntRight}var C,I,R=O.clone();if(SuperMapAlgoPlot.PlottingUtil.distance(y[p],R)>0){var _=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(d,y[p],O);y[p]=_.clone()}for(A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(v,y[p+1],y[p]),i[p+1]=A.pntLeft,n[p+1]=A.pntRight,L=2;L<=p;L++)SuperMapAlgoPlot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE2,this.AB_CTRLPT_RATE2,i[L-1],i[L],i[L+1],E,w),r[L]=E.clone(),a[L]=w.clone(),SuperMapAlgoPlot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE2,this.AB_CTRLPT_RATE2,n[L-1],n[L],n[L+1],E,w),s[L]=E.clone(),u[L]=w.clone();SuperMapAlgoPlot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,i[1],i[2],r[2],O),a[1]=O.clone(),SuperMapAlgoPlot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,n[1],n[2],s[2],O),u[1]=O.clone();I=SuperMapAlgoPlot.PlottingUtil.distance(i[p+1],i[p])*(1/3),(C=SuperMapAlgoPlot.PlottingUtil.getExcentrePointOnSegmentByScale(I,y[p],y[p+1])).x+=i[p+1].x-y[p].x,C.y+=i[p+1].y-y[p].y,I=(S-v)*Math.pow(I/b,this.SV_ATScaleParameter+.3),A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(I,i[p+1],C),r[p+1]=A.pntLeft.clone(),I=SuperMapAlgoPlot.PlottingUtil.distance(n[p+1],n[p])*(1/3),(C=SuperMapAlgoPlot.PlottingUtil.getExcentrePointOnSegmentByScale(I,y[p],y[p+1])).x+=n[p+1].x-y[p].x,C.y+=n[p+1].y-y[p].y,I=(S-v)*Math.pow(I/b,this.SV_ATScaleParameter+.3),A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(I,n[p+1],C),s[p+1]=A.pntRight.clone();var U=[],N=d*g,D=SuperMapAlgoPlot.PlottingUtil.getExcentrePointOnSegmentByScale(N,y[p],y[p+1]);this.m_scalePoints.push(D.clone()),N=d*h,A=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(N,y[p+1],D),U.push(A.pntRight),U.push(y[p+1]),U.push(A.pntLeft);var B=[];for(B.push(i[p+1]),L=p;L>=1;L--)B.push(r[L+1]),B.push(a[L]),B.push(i[L]);var k=[];for(L=1;L<=p;L++)k.push(n[L]),k.push(u[L]),k.push(s[L+1]);k.push(n[p+1]),l.push.apply(l,k),l.push.apply(l,U),l.push.apply(l,B),o=d/f;var V=[];for(L=B.length-1;L>=0;L--)V.push(B[L]);return{dATLenDivABLen:o,arrowBodyPts:l}}},{key:"generateAYPts",value:function(t,e,o,l,i){var n=new SuperMapAlgoPlot.Point(.5*(t[2].x+o[2].x),.5*(t[2].y+o[2].y)),r=new SuperMapAlgoPlot.Point(.5*(t[1].x+o[1].x),.5*(t[1].y+o[1].y)),a=new SuperMapAlgoPlot.Point(.5*(t[0].x+o[0].x),.5*(t[0].y+o[0].y)),s=SuperMapAlgoPlot.PlottingUtil.distance(n,r),u=SuperMapAlgoPlot.PlottingUtil.distance(a,r),p=i*(s+u),c=new SuperMapAlgoPlot.Point(0,0),P=new SuperMapAlgoPlot.Point(0,0),h=new SuperMapAlgoPlot.Point(0,0);if(p>s){p=s+u-p,c=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(p,a,r);var g=SuperMapAlgoPlot.PlottingUtil.distance(t[1],t[0]),y=SuperMapAlgoPlot.PlottingUtil.distance(o[1],o[0]);g=g*p/u,P=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(g,t[0],t[1]),y=y*p/u,h=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(y,o[0],o[1])}else{c=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(p,n,r);var f=SuperMapAlgoPlot.PlottingUtil.distance(t[1],t[2]),S=SuperMapAlgoPlot.PlottingUtil.distance(o[1],o[2]);f=f*p/s,P=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(f,t[2],t[1]),S=S*p/s,h=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(S,o[2],o[1])}this.m_scalePoints.push(c.clone());var A=this.SV_ArrowWoCtrl*SuperMapAlgoPlot.PlottingUtil.distance(c,P),d=this.SV_ArrowWoCtrl*SuperMapAlgoPlot.PlottingUtil.distance(c,h),M=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(A,c,P),v=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(d,c,h),b=e[11].clone(),m=e[10].clone(),T=l[5].clone(),L=l[6].clone(),O=SuperMapAlgoPlot.PlottingUtil.intersectLines(m,b,c,P),E=SuperMapAlgoPlot.PlottingUtil.distance(O.intersectPoint,m),w=SuperMapAlgoPlot.PlottingUtil.distance(m,c);E=E>w?this.SV_AJCtrl*w:this.SV_AJCtrl*E;var x=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(E,m,b);b=x.clone(),e[11]=x.clone(),O=SuperMapAlgoPlot.PlottingUtil.intersectLines(L,T,c,h),E=(E=SuperMapAlgoPlot.PlottingUtil.distance(O.intersectPoint,L))>(w=SuperMapAlgoPlot.PlottingUtil.distance(L,c))?this.SV_AJCtrl*w:this.SV_AJCtrl*E,T=(x=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(E,L,T)).clone(),l[5]=x.clone();var C=[];C.push(m),C.push(b),C.push(M),C.push(c);var I=[];return I.push(c),I.push(v),I.push(T),I.push(L),{arrowLeftYaoPts:C,arrowRightYaoPts:I}}}]),e}();SuperMapAlgoPlot.AlgoSymbol1002=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=this.minEditPts){this.scalePoints=[];var o=SuperMapAlgoPlot.PlottingUtil.clonePoints(t),l=!1;void 0!==o[0].z&&(l=!0);var i=SuperMapAlgoPlot.ArrowToolkit.generateArrowBodyShapePts(t,this.scaleValues,SuperMapAlgoPlot.ArrowToolkit.ArrowBodyType.ARROWBODY_PARALLEL),n=i.arrowTouLen,r=i.leftBodyPts,a=i.rightBodyPts,s=[];s.push(r[r.length-1]),s.push(a[a.length-1]);var u=[];u.push(this.scaleValues[3]),u.push(this.scaleValues[4]),u.push(this.scaleValues[0]),u.push(this.scaleValues[1]);var p=SuperMapAlgoPlot.ArrowToolkit.generateArrowHeadShapePts(t,s,u,n,SuperMapAlgoPlot.ArrowToolkit.ArrowHeadType.ARROWHEAD_WITHOUT_EAR),c=[];if(l){for(var P=[],h=[],g=[],y=0;y=0;b--)c.push(g[b]);var m=new SuperMapAlgoPlot.Point((s[0].x+s[1].x)/2,(s[0].y+s[1].y)/2),T=new SuperMapAlgoPlot.Point(m.x,m.y);T.isScalePoint=!0,T.tag=0,this.addScalePoint(T);var L=new SuperMapAlgoPlot.Point(r[r.length-1].x,r[r.length-1].y);L.isScalePoint=!0,L.tag=1,this.addScalePoint(L);var O=new SuperMapAlgoPlot.Point(p[0].x,p[0].y);O.isScalePoint=!0,O.tag=2,this.addScalePoint(O);for(var E=0;E=0;x--)c.push(a[x]);var C=new SuperMapAlgoPlot.Point((s[0].x+s[1].x)/2,(s[0].y+s[1].y)/2),I=new SuperMapAlgoPlot.Point(C.x,C.y);I.isScalePoint=!0,I.tag=0,this.addScalePoint(I);var R=new SuperMapAlgoPlot.Point(r[r.length-1].x,r[r.length-1].y);R.isScalePoint=!0,R.tag=1,this.addScalePoint(R);var _=new SuperMapAlgoPlot.Point(p[0].x,p[0].y);_.isScalePoint=!0,_.tag=2,this.addScalePoint(_)}this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,c,{surroundLineFlag:!1,lineWidthLimit:!0,strokeWidth:0,weight:0}),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,c)}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=new SuperMapAlgoPlot.Point(this.scalePoints[0].x,this.scalePoints[0].y),l=new SuperMapAlgoPlot.Point(this.scalePoints[1].x,this.scalePoints[1].y),i=new SuperMapAlgoPlot.Point(this.scalePoints[2].x,this.scalePoints[2].y),n=this.scaleValues[0],r=SuperMapAlgoPlot.PlottingUtil.polylineDistance(this.controlPoints),a=r*n;if(0==t){var s=SuperMapAlgoPlot.PlottingUtil.pointProjectToSegment(e,this.controlPoints[this.controlPoints.length-2],this.controlPoints[this.controlPoints.length-1]),u=s.projectPoint;if(s.isOnline){var p=SuperMapAlgoPlot.PlottingUtil.distance(u,this.controlPoints[this.controlPoints.length-1]);this.scaleValues[0]=p/r}}else if(1==t){var c=SuperMapAlgoPlot.PlottingUtil.pointProjectToSegment(e,l,i).projectPoint,P=SuperMapAlgoPlot.PlottingUtil.distance(c,o);this.scaleValues[1]=P/a}else if(2==t){var h=SuperMapAlgoPlot.PlottingUtil.pointProjectToSegment(e,this.controlPoints[1],i).projectPoint,g=SuperMapAlgoPlot.PlottingUtil.pointProjectToSegment(h,o,this.controlPoints[1]),y=g.projectPoint,f=SuperMapAlgoPlot.PlottingUtil.distance(y,o);!0===g.inOnline?this.scaleValues[4]=-f/a:this.scaleValues[4]=f/a}}this.calculateParts()}}]),e}();SuperMapAlgoPlot.AlgoSymbol1001=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=this.minEditPts){var e=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[1]),o=SuperMapAlgoPlot.PlottingUtil.radian(t[0],t[1]),l=SuperMapAlgoPlot.PlottingUtil.radian(t[0],t[2]),i=SuperMapAlgoPlot.Primitives.getArcCircleSpatialData(t[0],e,l,o);0!==i.length&&this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,i)}}}]),e}();SuperMapAlgoPlot.NewChord=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=this.minEditPts){var e=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[1]),o=SuperMapAlgoPlot.PlottingUtil.radian(t[0],t[2]),l=SuperMapAlgoPlot.PlottingUtil.radian(t[0],t[1]),i=SuperMapAlgoPlot.Primitives.getArcCircleSpatialData(t[0],e,o,l);0!==i.length&&this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,i)}}}]),e}();SuperMapAlgoPlot.NewArc=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=this.minEditPts){var e=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[1]),o=SuperMapAlgoPlot.PlottingUtil.radian(t[0],t[2]),l=SuperMapAlgoPlot.PlottingUtil.radian(t[0],t[1]),i=[];i.push(t[0]),(i=i.concat(SuperMapAlgoPlot.Primitives.getArcCircleSpatialData(t[0],e,o,l))).push(t[0]),0!==i.length&&this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,i)}}}]),e}();SuperMapAlgoPlot.NewPie=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o2*this.controlPoints.length-1)return;var o=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(o=SuperMapAlgoPlot.PlottingUtil.clearSamePts(o),this.minEditPts>o.length)return;var l=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(o);l=SuperMapAlgoPlot.PlottingUtil.clearSamePts(l);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o),n=SuperMapAlgoPlot.PlottingUtil.polylineDistance(l);if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(i,0)||SuperMapAlgoPlot.PlottingUtil.equalFuzzy(n,0))return;var r=-1;r=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var a=(e.x-o[r].x)/i,s=(e.y-o[r].y)/i;this.scaleValues[2*t]=a,this.scaleValues[2*t+1]=s}}}]),e}();SuperMapAlgoPlot.Polybezier=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o1&&(this.scaleValues[2]=1)}}else if(2===t){var f=SuperMapAlgoPlot.PlottingUtil.pointProjectToSegment(e,o[0],o[1]);if(f.isOnline){var S=this.scaleValues[3]*(this.style.weight||this.style.strokeWidth),A=this.getLonLatDistanceFromPixel(S),d=A*this.scaleValues[5],M=SuperMapAlgoPlot.PlottingUtil.findPointInLine(o[1],o[0],A),v=SuperMapAlgoPlot.PlottingUtil.findPointInLine(M,o[1],d);A=SuperMapAlgoPlot.PlottingUtil.distance(o[1],f.projectPoint),S=this.getPixelDistanceFromLonLat(A),this.scaleValues[3]=S/(this.style.weight||this.style.strokeWidth);var b=SuperMapAlgoPlot.PlottingUtil.distance(e,f.projectPoint),m=this.getPixelDistanceFromLonLat(b);this.scaleValues[4]=m/(this.style.weight||this.style.strokeWidth),d=SuperMapAlgoPlot.PlottingUtil.distance(v,f.projectPoint),this.scaleValues[5]=d/A}}else if(3===t){var T=this.scaleValues[3]*(this.style.weight||this.style.strokeWidth),L=this.getLonLatDistanceFromPixel(T),O=SuperMapAlgoPlot.PlottingUtil.findPointInLine(o[1],o[0],L),E=SuperMapAlgoPlot.PlottingUtil.pointProjectToSegment(e,O,o[1]);if(E.isOnline){var w=SuperMapAlgoPlot.PlottingUtil.distance(O,E.projectPoint);this.scaleValues[5]=w/L,this.scaleValues[5]<0?this.scaleValues[5]=0:this.scaleValues[5]>1&&(this.scaleValues[5]=1)}}}this.calculateParts()}}]),e}();SuperMapAlgoPlot.LinearArrow=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;oo);a++){var s=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(n,i+l*a);if(-1!==s.index){var u=new SuperMapAlgoPlot.Point(s.pt.x,s.pt.y),p=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(l/2,e[s.index],u);this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,[p.pntLeft,p.pntRight])}}this.finish()}}}]),e}();SuperMapAlgoPlot.Wire=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=this.minEditPts){if(this.addCell(32,t,{surroundLineFlag:!1}),this.textContent&&null!=this.textContent&&this.textContent.length>0){var e=[];this.scaleValues[1]>t.length&&(this.scaleValues[1]=0);var o={labelRotation:0,surroundLineFlag:!1,labelAlign:"lt"};if(0===this.scaleValues[1])e=[SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt(t)];else{var l=null,i=null;this.scaleValues[1]===t.length?(l=t[t.length-1],i=t[0]):(l=t[this.scaleValues[1]-1],i=t[this.scaleValues[1]]),o.labelRotation=-SuperMapAlgoPlot.PlottingUtil.radian(l,i)/Math.PI*180;var n=this.scaleValues[0]*SuperMapAlgoPlot.PlottingUtil.distance(l,i);e=[SuperMapAlgoPlot.PlottingUtil.findPoint(l,i,n,0)]}this.addCell(34,e,o,this.textContent);var r=new SuperMapAlgoPlot.Point(e[0].x,e[0].y);r.isScalePoint=!0,r.tag=0,this.scalePoints=[],this.addScalePoint(r)}}else this.controlPoints.length>=2&&this.controlPoints.length=this.minEditPts&&this.computeLine(e)}},{key:"computeLine",value:function(t){this.components.length=0;var e=t[0],o=t[t.length-1];this.subSectionCount<=1&&(this.subSectionCount=10);var l=SuperMapAlgoPlot.PlottingUtil.distance(e,o)/(2*this.subSectionCount-1);if(this.lineRelationType===SuperMapAlgoPlot.LineRelationType.SOLID)this.addCell(24,t,{surroundLineFlag:!1});else if(this.lineRelationType===SuperMapAlgoPlot.LineRelationType.DASH)for(var i=0;i1)){if(t=(1-t)/2,this.controlPoints.length>=this.minEditPts){var e,o,l,i;this.scalePoints=[];var n=[];this.controlPoints[0].x=2&&this.controlPoints.lengthl?Math.abs((e-l)/(t-o))>r?2:1:er?4:1:t>i?e>l?Math.abs((e-l)/(t-i))>r?2:3:er?4:3:e>l?2:e1?this.computeText(l,this.textContent[1],t):this.computeText(l,this.textContent[0],t),this.relLineText=SuperMapAlgoPlot.RelLineText.ONBOTHLINE,this.showPathLine=o}else{var i=[];i=this.relLineText===SuperMapAlgoPlot.RelLineText.ONRIGHTLINE?this.getTextPathPts(t,!1):this.relLineText===SuperMapAlgoPlot.RelLineText.ONLEFTLINE?this.getTextPathPts(t,!0):t,this.computeText(i,this.textContent[0],t)}this.finish()}}},{key:"getTextPathPts",value:function(t,e){t=SuperMapAlgoPlot.PlottingUtil.clearSamePts(t);var o=this.getLonLatDistanceFromPixel(this.textToLineDistance);if(0>=o)return SuperMapAlgoPlot.PlottingUtil.clonePoints(t);var l=SuperMapAlgoPlot.PlottingUtil.paraLine(t,o,e);return SuperMapAlgoPlot.PlottingUtil.clearSamePts(l)}},{key:"computeText",value:function(t,e,o){if(!(t.length<2)){for(var l=e.length,i=t,n=i.length,r=0,a=0;a180&&(L-=360),L<-180&&(L+=360),L>90&&L<=180?(v=-180,d=!0,M=!0):L>-180&&L<-90&&(v=180,d=!0,M=!0),!0,0!=v?this.relLineText===SuperMapAlgoPlot.RelLineText.ONLINE||(g=this.relLineText===SuperMapAlgoPlot.RelLineText.ONLEFTLINE?"lt":"lb"):this.relLineText===SuperMapAlgoPlot.RelLineText.ONLINE||(g=this.relLineText===SuperMapAlgoPlot.RelLineText.ONLEFTLINE?"lb":"lt");for(var O=0;Or);O++){var E=O;for(M&&(E=l-O-1),b=(A=y[E]).getWidth(),d&&(u+=b);p<=u&&c=0){for(var R=[],_=0;_<=T.index;_++)R.push(o[_]);R.push(T.pt),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,R)}if(I.index>=0){var U=[];U.push(I.pt);for(var N=I.index+1;N2){for(var l=-1,i=t.length-2;i>=0;i--)if(ethis.controlPoints.length))if(2===this.controlPoints.length){var t=this.controlPoints[0].clone(),e=this.controlPoints[1].clone(),o=SuperMapAlgoPlot.PlottingUtil.distance(t,e)/2,l=180*SuperMapAlgoPlot.PlottingUtil.radian(t,e)/Math.PI,i=new SuperMapAlgoPlot.Point((t.x+e.x)/2,(t.y+e.y)/2),n=SuperMapAlgoPlot.PlottingUtil.circlePoint(i,o,o,l+90),r=SuperMapAlgoPlot.PlottingUtil.circlePoint(i,3*o,3*o,l+90);this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,[n,new SuperMapAlgoPlot.Point(n.x+o,n.y)]),this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,[r,new SuperMapAlgoPlot.Point(r.x+o,r.y)])}else{var a=this.controlPoints[0].clone(),s=this.controlPoints[1].clone(),u=this.controlPoints[2].clone(),p=0;p=SuperMapAlgoPlot.PlottingUtil.isRight(u,a,s)?180*SuperMapAlgoPlot.PlottingUtil.radian(s,a)/Math.PI+90:180*SuperMapAlgoPlot.PlottingUtil.radian(a,s)/Math.PI+90;var c=SuperMapAlgoPlot.PlottingUtil.distance(a,s)/2,P=new SuperMapAlgoPlot.Point((a.x+s.x)/2,(a.y+s.y)/2),h=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,c,c,p),g=SuperMapAlgoPlot.PlottingUtil.plumbLineLen(u,a,s);if(g<=4*c){var y=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,3*c,3*c,p);this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,[h,new SuperMapAlgoPlot.Point(h.x+c,h.y)]),this.addCell(SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,[y,new SuperMapAlgoPlot.Point(y.x+c,y.y)])}else{for(var f=SuperMapAlgoPlot.PlottingUtil.circlePoint(P,g-c,g-c,p),S=180*Math.acos(c/(g-2*c))/Math.PI,A=p-S,d=p-180+S,M=p-180-S+360,v=[],b=p+S-360;b<=A;b+=4){var m=SuperMapAlgoPlot.PlottingUtil.circlePoint(h,c,c,b);v.push(m)}var T=SuperMapAlgoPlot.PlottingUtil.circlePoint(h,c,c,A);v.push(T);for(var L=[],O=d;O=0;C--)x.push(L[C]);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,x)}}}}]),e}();SuperMapAlgoPlot.CurveEight=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=this.minEditPts){for(var t=this.controlPoints[0],e=this.controlPoints[1],o=SuperMapAlgoPlot.PlottingUtil.distance(t,e),l=this.scaleValues[0]*o,i=SuperMapAlgoPlot.PlottingUtil.parallel(this.controlPoints,l/2),n=SuperMapAlgoPlot.PlottingUtil.parallel(this.controlPoints,-l/2),r=180*SuperMapAlgoPlot.PlottingUtil.radian(t,e)/Math.PI,a=[],s=r+90;s<=r+270;s+=10){var u=SuperMapAlgoPlot.PlottingUtil.circlePoint(t,l/2,l/2,s);a.push(u)}for(var p=[],c=r-90;c<=r+90;c+=10){var P=SuperMapAlgoPlot.PlottingUtil.circlePoint(e,l/2,l/2,c);p.push(P)}var h=[];(h=(h=(h=(h=h.concat(a)).concat(n)).concat(p)).concat(i)).push(h[0]),this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,h);var g=new SuperMapAlgoPlot.Point(a[0].x,a[0].y);this.addScalePoint(g)}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint&&0==t){var o=SuperMapAlgoPlot.PlottingUtil.distance(e,this.controlPoints[0]),l=SuperMapAlgoPlot.PlottingUtil.distance(this.controlPoints[0],this.controlPoints[1]);this.scaleValues[0]=2*o/l}this.calculateParts()}}]),e}();SuperMapAlgoPlot.Runway=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o0)for(var i=0;i2*this.controlPoints.length-1)return;var o=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints);if(2>o.length)return;var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o),i=-1;i=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var n=(e.x-o[i].x)/l,r=(e.y-o[i].y)/l;this.scaleValues[2*t]=n,this.scaleValues[2*t+1]=r}this.calculateParts()}},{key:"reSample",value:function(t,e){var o=[];if(null==t||e<0)return o;var l=t.length;if(l>2){var i=new SuperMapAlgoPlot.Point(0,0),n=0,r=0,a=0,s=2*Math.PI;i=t[0],o.push(i);for(var u=!1,p=!1,c=!1,P=1;P0||SuperMapAlgoPlot.PlottingUtil.equalFuzzy(0,g)?Math.acos(h):2*Math.PI-Math.acos(h),s>2*Math.PI&&n+2*Math.PIa&&(n-=2*Math.PI,s>2*Math.PI&&(s-=2*Math.PI)),n>a&&nn+y&&(s=n+y):(c=!0,s=n+y),u=!0}else i=t[P-1],P--,o.push(i),a=0,s=2*Math.PI,u=!1,p=!1,c=!1}return o.push(t[l-1]),o}return o}},{key:"reSampleByAngle",value:function(t,e){var o=[],l=t.length;if(null==t||l<=0||e<=0)return o;for(var i=t,n=l,r=!1;SuperMapAlgoPlot.PlottingUtil.equalFuzzy(i[0].x,i[n-1].x)&&SuperMapAlgoPlot.PlottingUtil.equalFuzzy(i[0].y,i[n-1].y);){if((n-=1)<=0)return o;r=!0}var a,s,u=[];for(a=0;a1e-10&&SuperMapAlgoPlot.PlottingUtil.distance(i[s],i[a+1])>1e-10){var p=180*SuperMapAlgoPlot.PlottingUtil.InnerAngle(i[a],i[s],i[a+1])/Math.PI;p>e&&p<180-e&&(u[a]=1,s++)}var c=0;for(a=0;a0){for(r&&c++,o=[],s=0,a=0;aMath.abs(this.scaleValues[l]-this.scaleValues[i]))for(var r=0;r<2;r++){var a,s,u;0==r?(u=l,a=SuperMapAlgoPlot.PlottingUtil.radian(o[l],o[i])*SuperMapAlgoPlot.PlottingUtil.RTOD,s=Math.acos((n*n+this.scaleValues[l]*this.scaleValues[l]-this.scaleValues[i]*this.scaleValues[i])/(2*n*this.scaleValues[l]))*SuperMapAlgoPlot.PlottingUtil.RTOD):(u=i,a=SuperMapAlgoPlot.PlottingUtil.radian(o[i],o[l])*SuperMapAlgoPlot.PlottingUtil.RTOD,s=Math.acos((n*n+this.scaleValues[i]*this.scaleValues[i]-this.scaleValues[l]*this.scaleValues[l])/(2*n*this.scaleValues[i]))*SuperMapAlgoPlot.PlottingUtil.RTOD);var p=a-s,c=a+s,P=p<0&&c>0||p>360||c>360;p=this.adjustAngle(p),c=this.adjustAngle(c);for(var h=this.angleRange[u].length-1;h>=0;h--)if(P){if(c>this.angleRange[u][h].End||SuperMapAlgoPlot.PlottingUtil.equalFuzzy(c,this.angleRange[u][h].End)){this.angleRange[u].splice(h,1);continue}if(c>this.angleRange[u][h].Start&&(this.angleRange[u][h].Start=c),pthis.angleRange[u][h].End)this.angleRange[u].splice(h,1);else if(p>this.angleRange[u][h].Start&&cthis.angleRange[u][h].End)continue;if(p>this.angleRange[u][h].Start&&(this.angleRange[u][h].End=p),c=0;f--){for(var S=this.adjustAngle(this.angleRange[y][f].Start),A=this.adjustAngle(this.angleRange[y][f].End);A=0;w--)for(var x=0;x=0;n--)e.push(t[i][n]);if(t.splice(i,1),void 0!==(o=this.generatePolygon(t,e))&&0!==o.length)return o}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>=this.controlPoints.length)return;var o=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),l=SuperMapAlgoPlot.PlottingUtil.distance(o[t],e);this.scaleValues[t]=l}this.calculateParts()}},{key:"adjustAngle",value:function(t){for(;t>360;)t-=360;for(;t<0;)t+=360;return t}},{key:"getCircleLonLat",value:function(t,e){return null===this.map?2*this.getDefaultSubSymbolSize():this.map&&"undefined"!=typeof L&&void 0!==L.Map&&this.map instanceof L.Map?((o=this.map.latLngToLayerPoint(L.latLng(t.y,t.x))).x+=e,this.map.layerPointToLatLng(L.point(o.x,o.y)).lng-t.x):this.map&&"undefined"!=typeof SuperMap&&void 0!==SuperMap.Map&&this.map instanceof SuperMap.Map?((o=this.map.getPixelFromLonLat(new SuperMap.LonLat(t.x,t.y))).x+=e,this.map.getLonLatFromPixel(new SuperMap.Pixel(o.x,o.y)).lon-t.x):void 0;var o}}]),e}();SuperMapAlgoPlot.CombinationalCircle=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o360;)this.scaleValues[0]-=360;for(;this.scaleValues[0]<0;)this.scaleValues[0]+=360;for(;this.scaleValues[1]>360;)this.scaleValues[1]-=360;for(;this.scaleValues[1]<0;)this.scaleValues[1]+=360;for(;this.scaleValues[1]<=this.scaleValues[0];)this.scaleValues[1]+=360;SuperMapAlgoPlot.PlottingUtil.equalFuzzy(this.scaleValues[1],this.scaleValues[0])&&(this.scaleValues[1]+=360);for(var e=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[1]),o=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[2]),l=[],i=[],n=Math.PI/180,r=(this.scaleValues[1]-this.scaleValues[0])/72,a=this.scaleValues[0];a=0;g--)P.push(i[g]);this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,P,{surroundLineFlag:!1,lineWidthLimit:!0,weight:0,strokeWidth:0}),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,l),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,i);var y=t[0].x+e/2*Math.cos(this.scaleValues[0]*n),f=t[0].y+e/2*Math.sin(this.scaleValues[0]*n),S=t[0].x+o/2*Math.cos(this.scaleValues[1]*n),A=t[0].y+o/2*Math.sin(this.scaleValues[1]*n),d=new SuperMapAlgoPlot.Point(y,f);d.isScalePoint=!0,d.tag=0,this.addScalePoint(d);var M=new SuperMapAlgoPlot.Point(S,A);M.isScalePoint=!0,M.tag=1,this.addScalePoint(M)}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){for(var o=SuperMapAlgoPlot.PlottingUtil.clonePoints(this.controlPoints),l=180*SuperMapAlgoPlot.PlottingUtil.radian(o[0],e)/Math.PI;l>360;)l-=360;for(;l<0;)l+=360;0==t?this.scaleValues[0]=l:1==t&&(this.scaleValues[1]=l)}this.calculateParts()}}]),e}();SuperMapAlgoPlot.ConcentricCircle=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o1)){if(t=(1-t)/2,this.controlPoints.length>=this.minEditPts){var e,o,l,i;this.scalePoints=[];var n=[];this.controlPoints[0].x=2&&this.controlPoints.lengthl?Math.abs((a-l)/(r-o))>u?2:1:au?4:1:r>i?a>l?Math.abs((a-l)/(r-i))>u?2:3:au?4:3:a>l?2:al&&(c=l),c<(l+n)/2&&(c=(l+n)/2),p=1-2*(l-c)/(l-n);break;case 2:case 4:var P=s.x+(e.x-s.x);P>i&&(P=i),P<(o+i)/2&&(P=(o+i)/2),p=1-2*(i-P)/(i-o)}p<0&&(p=0),p>1&&(p=1),this.scaleValues[0]=p}this.calculateParts()}},{key:"calculateArc",value:function(t,e,o,l,i,n){(!i||1!=i&&-1!=i)&&(i=-1),n||(n=360);for(var r=Math.PI/n/2,a=r*i,s=Math.abs(l-o),u=[],p=o,c=0;c2*Math.PI?p-2*Math.PI:p}return u}},{key:"getAction",value:function(t,e,o,l,i,n){var r=(l-n)/(i-o);return tl?Math.abs((e-l)/(t-o))>r?2:1:er?4:1:t>i?e>l?Math.abs((e-l)/(t-i))>r?2:3:er?4:3:e>l?2:e=this.minEditPts){var e,o,l,i;t[0].xl?Math.abs((e-l)/(t-o))>r?2:1:er?4:1:t>i?e>l?Math.abs((e-l)/(t-i))>r?2:3:er?4:3:e>l?2:e1)){if(t=(1-t)/2,this.controlPoints.length>=this.minEditPts){var e,o,l,i,n,r;this.controlPoints[2]&&(this.controlPoints[2].isFixedPos=!0),this.controlPoints[0].xo?Math.abs((r-o)/(n-e))>s?2:1:rs?4:1:n>l?r>o?Math.abs((r-o)/(n-l))>s?2:3:rs?4:3:r>o?2:rl?Math.abs((a-l)/(r-o))>u?2:1:au?4:1:r>i?a>l?Math.abs((a-l)/(r-i))>u?2:3:au?4:3:a>l?2:al&&(c=l),c<(l+n)/2&&(c=(l+n)/2),p=1-2*(l-c)/(l-n);break;case 2:case 4:var P=s.x+(e.x-s.x);P>i&&(P=i),P<(o+i)/2&&(P=(o+i)/2),p=1-2*(i-P)/(i-o)}p<0&&(p=0),p>1&&(p=1),this.scaleValues[0]=p}this.calculateParts()}}]),e}();SuperMapAlgoPlot.GeoTooltipBox=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=2&&t.lengtho.x&&a.xo.y&&a.yl.x||a.yl.y)&&(e[0]=n,e[3]=o),4==e.length&&this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,e)}}},{key:"GetPointsByTrapezoid",value:function(t,e,o,l,i){var n=e.x,r=e.y,a=o.x,s=o.y,u=l.x,p=l.y,c=0,P=0,h=0,g=0;if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(Math.abs(r-s),0))c=n+a-u,P=p;else if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(Math.abs(n-a),0))c=u,P=r+s-p;else{var y=1*(r-s)/(n-a),f=p-y*u;P=y*(c=((s+r)/2+(n+a)/(2*y)-f)/(y+1/y))+f,c=2*c-u,P=2*P-p}var S=Math.sqrt(1*(n-a)*(n-a)+1*(r-s)*(r-s)),A=Math.sqrt(1*(n-c)*(n-c)+1*(r-P)*(r-P));S>0?(h=n+(a-n)*A/S,g=r+(s-r)*A/S):(h=n,g=r);var d=h+(c-h)*t,M=g+(P-g)*t;i.x=d,i.y=M}}]),e}();SuperMapAlgoPlot.Trapezoid=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o0&&i<.4&&(this.scaleValues[0]=i)}else if(1==t){var n=new SuperMapAlgoPlot.Point((o[0].x+o[1].x)/2,(o[0].y+o[1].y)/2),r=SuperMapAlgoPlot.PlottingUtil.distance(e,n)/l;0r&&(this.scaleValues[1]=r)}}this.calculateParts()}}]),e}();SuperMapAlgoPlot.Brace=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o2?SuperMapAlgoPlot.PlottingUtil.radian(e[e.length-1],e[e.length-2]):SuperMapAlgoPlot.PlottingUtil.radian(e[1],e[0]))-n,a=e[e.length-1].x+i*Math.cos(r),s=e[e.length-1].y+i*Math.sin(r),u=new SuperMapAlgoPlot.Point(a,s),p=l+n,c=e[e.length-1].x+i*Math.cos(p),P=e[e.length-1].y+i*Math.sin(p),h=new SuperMapAlgoPlot.Point(c,P),g=[];g.push(u),g.push(e[e.length-1].clone()),g.push(h);var y={surroundLineFlag:!1,fillLimit:!0,lineTypeLimit:!0},f=SuperMapAlgoPlot.PlottingUtil.radian(e[0],e[1]);r=f-n,a=e[0].x+i*Math.cos(r),s=e[0].y+i*Math.sin(r),u=new SuperMapAlgoPlot.Point(a,s),p=f+n,c=e[0].x+i*Math.cos(p),P=e[0].y+i*Math.sin(p),h=new SuperMapAlgoPlot.Point(c,P);var S=[];S.push(u),S.push(e[0].clone()),S.push(h);var A=this.scaleValues[1]===SuperMapAlgoPlot.ArrowLineType.DOUBLELINE?SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL:SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,d=this.scaleValues[2]===SuperMapAlgoPlot.ArrowLineType.DOUBLELINE?SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL:SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL;this.scaleValues[1]===SuperMapAlgoPlot.ArrowLineType.DOUBLELINE?this.addCell(A,S,y):this.scaleValues[1]===SuperMapAlgoPlot.ArrowLineType.TRIANGLESOLID&&this.addCell(A,S,y),this.scaleValues[2]===SuperMapAlgoPlot.ArrowLineType.DOUBLELINE?this.addCell(d,g,y):this.scaleValues[2]===SuperMapAlgoPlot.ArrowLineType.TRIANGLESOLID&&this.addCell(d,g,y),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,e),this.finish()}}}]),e}();SuperMapAlgoPlot.ArrowLine=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o=2&&this.controlPoints.length=this.minEditPts){var e={textContent:this.textContent,type:this.symbolType,surroundLineFlag:!1,positionPoints:t,style:{}};if(e.type===SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL&&e.positionPoints.push(e.positionPoints[0]),this.symbolType===SuperMapAlgoPlot.SymbolType.PARALLELLINE){if(this.controlPoints&&this.controlPoints.length>=3){var o=!1;void 0!==this.controlPoints[0].z&&(o=!0);var l=SuperMapAlgoPlot.PlottingUtil.distance(this.controlPoints[0],this.controlPoints[1]);SuperMapAlgoPlot.PlottingUtil.isRight(this.controlPoints[0],this.controlPoints[1],this.controlPoints[2])&&(l=-l);for(var i=[],n=1;ng)break;if(p>=h){var f=u.split("");u="";for(var S="",A=f.length,d=0;d=h){var M=f[d];if(f[d]="\n",r++,a.weight?y=parseFloat(a.fontSize)*r+r+2*a.weight+.2*parseFloat(a.fontSize):this.style.strokeWidth&&(y=parseFloat(a.fontSize)*r+r+2*a.strokeWidth+.2*parseFloat(a.fontSize)),!(y.5)return l.startIndex=0,l.startPt=t[0],l.endIndex=t.length-1,l.endPt=t[t.length-1],l;null==o&&(o=.5);var i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),n=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i*(o-e),t),r=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(i*(o+e),t);return l.startIndex=n.index,l.startPt=n.pts,l.endIndex=r.index,l.endPt=r.pts,l}},{key:"computeDashLine",value:function(t,e,o){var l=[],i=SuperMapAlgoPlot.PlottingUtil.polylineDistance(o);if(i<=0)return[];for(var n,r=o[0],a=1,s=0,u=!0,p=!0;s2){for(var s=-1,u=t.length-2;u>=0;u--)if(o1){SuperMapAlgoPlot.PlottingUtil.distance(t[t.length-1],t[t.length-2])>a&&(n=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(a,[t[t.length-1],t[t.length-2]])).bfind&&(t.splice(t.length-1,1),t.push(n.pts)),this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,t);var p=t[t.length-1],c=r,P=o;if(void 0===p)return t;var h=SuperMapAlgoPlot.PlottingUtil.radian(p,c)*SuperMapAlgoPlot.PlottingUtil.RTOD,g=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,P,P,h+157.5),y=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,P,P,h+202.5),f={surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0,surroundLineLimit:!0,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.NONE};this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,[g,r,y],f)}else this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,i)}},{key:"addArrowWithOutLine",value:function(t,e){if(t.length<2)return t;var o,l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(this.controlPoints);void 0===e&&(e=(this.isEdit,.5*this.getSubSymbolScaleValue()));var i=t.slice();o=l*e;var n,r=t[t.length-1],a=o*Math.cos(.125*Math.PI);if(t.length>2){for(var s=-1,u=t.length-2;u>=0;u--)if(o1){SuperMapAlgoPlot.PlottingUtil.distance(t[t.length-1],t[t.length-2])>a&&(n=SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance(a,[t[t.length-1],t[t.length-2]])).bfind&&(t.splice(t.length-1,1),t.push(n.pts));var p=t[t.length-1],c=r,P=o;if(void 0===p)return t;var h=SuperMapAlgoPlot.PlottingUtil.radian(p,c)*SuperMapAlgoPlot.PlottingUtil.RTOD,g=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,P,P,h+157.5),y=SuperMapAlgoPlot.PlottingUtil.circlePoint(c,P,P,h+202.5),f={surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0,surroundLineLimit:!0,surroundLineType:SuperMapAlgoPlot.AlgoSurroundLineType.NONE};this.addCell(SuperMapAlgoPlot.SymbolType.ARBITRARYPOLYGONSYMBOL,[g,r,y],f)}else this.addCell(SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,i)}},{key:"addDovetailArrow",value:function(t,e){if(t.length<2)return t;var o,l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(this.controlPoints);void 0===e&&(e=(this.isEdit,.5*this.getSubSymbolScaleValue())),o=l*e;var i=t[t.length-1];if(t.length>2){for(var n=-1,r=t.length-2;r>=0;r--)if(oe||l<=0)&&(l=e),l}},{key:"computeSubSymbol",value:function(t,e,o,l,i,n){if(null==t.symbolData||null==t.symbolData.innerCells)return null;void 0===i&&(i=0),void 0===n&&(n=0);for(var r=SuperMapAlgoPlot.AnalysisSymbol.analysisSymbolCells(t.symbolData,!0),a=[],s=0,u=0,p=0,c=0,P=0;Pa[h].x&&(p=a[h].x),c>a[h].y&&(c=a[h].y)}var y=new SuperMapAlgoPlot.Point(s,u),f=new SuperMapAlgoPlot.Point(p,c),S=(y.y-f.y)/o,A=(y.x-f.x)/o,d=A>S?A:S,M=new SuperMapAlgoPlot.Point(.5*(y.x+f.x),.5*(y.y+f.y));M.x+=i*(y.x-f.x),M.y+=n*(y.y-f.y);for(var v=0,b=r.length;v=n)return o.z;if(a>=n)return e.z}return i.x!=e.x&&e.x!=o.x?e.z+(i.x-e.x)/(e.x-o.x)*(e.z-o.z):i.y!=e.y&&e.y!=o.y?e.z+(i.y-e.y)/(e.y-o.y)*(e.z-o.z):0==(r=SuperMapAlgoPlot.PlottingUtil.distance(e,i))?e.z:e.z-(e.z-o.z)*(r/n)}},{key:"ComputeBeizerZValueByDis",value:function(t,e,o){if(t.length<2)return!1;for(var l=[],i=0;i2){var s=t.length;t.splice(2,s-2)}var u=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t);l.arrowTouLen=u*i;for(var p=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(t,u-l.arrowTouLen).pt,c=[],P=l.arrowTouLen*r,h=l.arrowTouLen*n,g=t.length-1,y=0;yt.length)return i;var n,r=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),a=SuperMapAlgoPlot.PlottingUtil.equalFuzzy(e,0);switch(o){case SuperMapAlgoPlot.ArrowToolkit.ArrowBodyType.ARROWBODY_POLYLINE:i=i.concat(t),l&&!a&&SuperMapAlgoPlot.PlottingUtil.distance(t[t.length-1],t[t.length-2])>e&&(n=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(t,r-e),i.splice(i.length-1,1),i.push(n.pt));break;case SuperMapAlgoPlot.ArrowToolkit.ArrowBodyType.ARROWBODY_POLYBEZIER:if(2==t.length)i=i.concat(t),l&&!a&&SuperMapAlgoPlot.PlottingUtil.distance(t[t.length-1],t[t.length-2])>e&&(n=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(t,r-e),i.splice(i.length-1,1),i.push(n.pt));else{var s=SuperMapAlgoPlot.PlottingUtil.generateBeizerPointsNoCtrlPt(t);if(a)i=i.concat(s);else{var u=s[s.length-1];if(!a&&(e1;p--){if(!(e>SuperMapAlgoPlot.PlottingUtil.distance(u,s[p]))){var c=SuperMapAlgoPlot.PlottingUtil.findPoint(u,s[p],e,0);s.push(c),i=s;break}s.splice(p,1)}l||i.push(u)}else i=i.concat(s)}}break;case SuperMapAlgoPlot.ArrowToolkit.ArrowBodyType.ARROWBODY_COATTAIL:var P=e;if(P>r)return i;for(var h,g,y=Math.ceil(r/(1.4*P)),f=0,S=[],A=0;At.length)return l;switch(o){case SuperMapAlgoPlot.ArrowToolkit.ArrowHeadType.ARROWHEAD_POLYLINE:var i=t[0],n=t[1],r=SuperMapAlgoPlot.PlottingUtil.distance(i,n);if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(r,e,1e-7)||r>e){var a=SuperMapAlgoPlot.PlottingUtil.findPoint(i,n,e,0),s=e*Math.tan(.125*Math.PI),u=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(s,t[0],a);l.push(u.pntLeft),l.push(t[0]),l.push(u.pntRight)}break;case SuperMapAlgoPlot.ArrowToolkit.ArrowHeadType.ARROWHEAD_TRIANGLE:break;case SuperMapAlgoPlot.ArrowToolkit.ArrowHeadType.ARROWHEAD_TRIANGLE_SOLID:var p=t[0],c=t[1],P=SuperMapAlgoPlot.PlottingUtil.distance(p,c);if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(P,e,1e-7)||P>e){var h=e*Math.tan(.125*Math.PI),g=SuperMapAlgoPlot.PlottingUtil.findPoint(p,c,e,0),y=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(h,t[0],g);l.push(y.pntLeft),l.push(p),l.push(y.pntRight),l.push(y.pntLeft)}break;case SuperMapAlgoPlot.ArrowToolkit.ArrowHeadType.ARROWHEAD_COATTAIL:var f=t[0],S=2*Math.sqrt(e*e/3),A=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[1]);if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(S/2,A,1e-7)||A>S/2){var d=SuperMapAlgoPlot.PlottingUtil.findPoint(t[0],t[1],S,20),M=SuperMapAlgoPlot.PlottingUtil.findPoint(t[0],t[1],S,-20),v=SuperMapAlgoPlot.PlottingUtil.findPoint(t[0],t[1],S/2,0);l.push(f),l.push(d),l.push(v),l.push(M),l.push(f)}break;case SuperMapAlgoPlot.ArrowToolkit.ArrowHeadType.ARROWHEAD_COATTAIL_HOLLOW:var b=[],m=t[0],T=2*Math.sqrt(e*e/3),L=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[1]);if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(T/1.4,L,1e-7)||L>T/1.4){var O=SuperMapAlgoPlot.PlottingUtil.findPoint(t[0],t[1],T,20),E=SuperMapAlgoPlot.PlottingUtil.findPoint(t[0],t[1],T,-20),w=SuperMapAlgoPlot.PlottingUtil.findPoint(t[0],t[1],T/1.4,0);b.push(m),b.push(O),b.push(w),b.push(E),b.push(m);var x=new SuperMapAlgoPlot.Point((b[0].x+b[1].x)/2,(b[0].y+b[1].y)/2),C=new SuperMapAlgoPlot.Point((b[3].x+b[4].x)/2,(b[3].y+b[4].y)/2),I=new SuperMapAlgoPlot.Point((x.x+C.x)/2,(x.y+C.y)/2),R=.75*SuperMapAlgoPlot.PlottingUtil.distance(x,C)/2,_=SuperMapAlgoPlot.PlottingUtil.findPointInLine(I,x,R),U=SuperMapAlgoPlot.PlottingUtil.findPointInLine(I,C,R);l.push(b[0]),l.push(_),l.push(b[1]),l.push(b[2]),l.push(b[3]),l.push(U),l.push(b[4])}}return l},SuperMapAlgoPlot.ArrowToolkit.generateArrowTailShapePts=function(t,e,o,l){for(var i=e.length,n=[],r=0,a=0;a0&&f>0){var A=1/(h-t[2].x),d=-1/(g-t[2].y),M=1*t[2].y/(g-t[2].y)-1*t[2].x/(h-t[2].x);S=Math.abs(A*t[0].x+d*t[0].y+M)/Math.sqrt(A*A+d*d)}else f<=1e-4?S=Math.abs(g-t[1].y):y<=1e-4&&(S=Math.abs(h-t[1].x));var v=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(S,t[2],new SuperMapAlgoPlot.Point(h,g)),b=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(t[1],t[2],t[0]);b?(n[1]=t[1],r[1]=t[0]):(n[1]=t[0],r[1]=t[1]),t[1]=new SuperMapAlgoPlot.Point((t[0].x+t[1].x)/2,(t[0].y+t[1].y)/2);var m=Math.sqrt((v.pntLeft.x-v.pntRight.x)*(v.pntLeft.x-v.pntRight.x)+(v.pntLeft.y-v.pntRight.y)*(v.pntLeft.y-v.pntRight.y))*SuperMapAlgoPlot.ArrowToolkit.ConstValue.sv_AtWidthDivAwWidth,T=(i=m*SuperMapAlgoPlot.ArrowToolkit.ConstValue.sv_AtLenDivAtWidth)*P;SuperMapAlgoPlot.PlottingUtil.equalFuzzy(c,0)||(T=(i=l*c)*P);var L,O,E=SuperMapAlgoPlot.PlottingUtil.distance(t[e],t[e-1]),w=2*i;E0&&(t[e]=SuperMapAlgoPlot.PlottingUtil.getIncentrePointOnSegmentByScale(i,t[e],_)),I=SuperMapAlgoPlot.PlottingUtil.getSidePointsOfLine(T,t[e+1],t[e]),(b=SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(t[e],t[e+1],I.pntLeft))?(r[e]=new SuperMapAlgoPlot.Point(I.pntLeft.x,I.pntLeft.y),n[e]=new SuperMapAlgoPlot.Point(I.pntRight.x,I.pntRight.y)):(r[e]=new SuperMapAlgoPlot.Point(I.pntRight.x,I.pntRight.y),n[e]=new SuperMapAlgoPlot.Point(I.pntLeft.x,I.pntLeft.y)),x=2;x1&&t.push(i),i=[],e=a.GetX(),o=a.GetY(),i.push(new SuperMapAlgoPlot.Point(e,o));break;case 1:e=a.GetX(),o=a.GetY(),i.push(new SuperMapAlgoPlot.Point(e,o));break;case 2:if(3!=l.elements[r+1].GetType()||3!=l.elements[r+1].GetType())break;for(var s=l.elements[r-1].GetX(),u=l.elements[r-1].GetY(),p=a.GetX(),c=a.GetY(),P=l.elements[r+1].GetX(),h=l.elements[r+1].GetY(),g=l.elements[r+2].GetX(),y=l.elements[r+2].GetY(),f=0;f<=1;f+=.03125){var S=f*f,A=S*f,d=1-3*f+3*S-A,M=3*(f-2*S+A),v=3*(S-A),b=A;i.push(new SuperMapAlgoPlot.Point(d*s+M*p+v*P+b*g,d*u+M*c+v*h+b*y))}r+=2}}return i.length>1&&t.push(i),!0}},{key:"ensureData",value:function(){null==this.m_pData&&this.ensureData_helper()}},{key:"ensureData_helper",value:function(){var t=new SuperMapAlgoPlot.Path2DData,e=new SuperMapAlgoPlot.Element(0,0,0);t.elements.push(e),null==this.m_pData||this.mtDeRef(this.m_pData.ref)||(this.m_pData=null),this.m_pData=t}},{key:"detach",value:function(){1!=this.m_pData.ref&&this.detach_helper(),this.setBoundsDirty(!0)}},{key:"detach_helper",value:function(){var t=new SuperMapAlgoPlot.Path2DData;null==this.m_pData||this.mtDeRef(this.m_pData.ref)||(this.m_pData=null),this.m_pData=t}},{key:"setBoundsDirty",value:function(t){this.getDataPtr().isBoundsDirty=t}},{key:"getDataPtr",value:function(){return this.m_pData}},{key:"IsEmpty",value:function(){if(null==this.m_pData)return!0;var t=this.m_pData.elements.length;return 0==t||1==t&&0==this.m_pData.elements[0].GetType()}},{key:"GetElementCount",value:function(){return null!=this.m_pData?this.m_pData.elements.length:0}}],[{key:"mtRef",value:function(t){return 0!=++t}},{key:"mtDeRef",value:function(t){return 0!=--t}}]),t}();SuperMapAlgoPlot.Path2D=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbol322=e.AlgoSymbol321=e.AlgoSymbol320=e.AlgoSymbol25701=e.AlgoSymbol15200=e.AlgoSymbol315=e.AlgoSymbol1022=e.AlgoSymbol1021=e.AlgoSymbol1020=e.AlgoSymbol1019=e.AlgoSymbol1018=e.AlgoSymbol1017=e.AlgoSymbol1016=e.AlgoSymbol1015=e.AlgoSymbol1014=e.AlgoSymbol1013=e.AlgoSymbol1012=e.AlgoSymbol1011=e.AlgoSymbol1010=e.AlgoSymbol1009=e.AlgoSymbol1008=e.AlgoSymbol1007=e.AlgoSymbol1006=e.AlgoSymbol1005=e.AlgoSymbol1004=e.AlgoSymbol1003=e.AlgoSymbol1002=e.AlgoSymbol1001=e.NewChord=e.NewArc=e.NewPie=e.Polybezier=e.LinearArrow=e.Wire=e.PolygonRegion=e.LineRelation=e.LineMarking=e.PathText=e.CurveEight=e.Runway=e.NodeChain=e.FreeCurve=e.CombinationalCircle=e.ConcentricCircle=e.SymbolTextBox=e.GeoTooltipBoxM=e.GeoTooltipBox=e.Trapezoid=e.Brace=e.RegularPolygon=e.ArrowLine=e.AlgoSymbol=e.ArrowToolkit=e.Path2DData=e.Element=e.Path2D=void 0;var l=o(70),i=o(69),n=o(68),r=o(67),a=o(66),s=o(65),u=o(64),p=o(63),c=o(62),P=o(61),h=o(60),g=o(59),y=o(58),f=o(57),S=o(56),A=o(55),d=o(54),M=o(53),v=o(52),b=o(51),m=o(50),T=o(49),L=o(48),O=o(47),E=o(46),w=o(45),x=o(44),C=o(43),I=o(42),R=o(41),_=o(40),U=o(39),N=o(38),D=o(37),B=o(36),k=o(35),V=o(34),Y=o(33),j=o(32),F=o(31),G=o(30),z=o(29),W=o(28),H=o(27),q=o(26),X=o(25),J=o(24),K=o(23),Q=o(22),Z=o(21),$=o(20),tt=o(19),et=o(18),ot=o(17),lt=o(16),it=o(15);e.Path2D=l.Path2D,e.Element=i.Element,e.Path2DData=n.Path2DData,e.ArrowToolkit=r.ArrowToolkit,e.AlgoSymbol=a.AlgoSymbol,e.ArrowLine=s.ArrowLine,e.RegularPolygon=u.RegularPolygon,e.Brace=p.Brace,e.Trapezoid=c.Trapezoid,e.GeoTooltipBox=P.GeoTooltipBox,e.GeoTooltipBoxM=h.GeoTooltipBoxM,e.SymbolTextBox=g.SymbolTextBox,e.ConcentricCircle=y.ConcentricCircle,e.CombinationalCircle=f.CombinationalCircle,e.FreeCurve=S.FreeCurve,e.NodeChain=A.NodeChain,e.Runway=d.Runway,e.CurveEight=M.CurveEight,e.PathText=v.PathText,e.LineMarking=b.LineMarking,e.LineRelation=m.LineRelation,e.PolygonRegion=T.PolygonRegion,e.Wire=L.Wire,e.LinearArrow=O.LinearArrow,e.Polybezier=E.Polybezier,e.NewPie=w.NewPie,e.NewArc=x.NewArc,e.NewChord=C.NewChord,e.AlgoSymbol1001=I.AlgoSymbol1001,e.AlgoSymbol1002=R.AlgoSymbol1002,e.AlgoSymbol1003=_.AlgoSymbol1003,e.AlgoSymbol1004=U.AlgoSymbol1004,e.AlgoSymbol1005=N.AlgoSymbol1005,e.AlgoSymbol1006=D.AlgoSymbol1006,e.AlgoSymbol1007=B.AlgoSymbol1007,e.AlgoSymbol1008=k.AlgoSymbol1008,e.AlgoSymbol1009=V.AlgoSymbol1009,e.AlgoSymbol1010=Y.AlgoSymbol1010,e.AlgoSymbol1011=j.AlgoSymbol1011,e.AlgoSymbol1012=F.AlgoSymbol1012,e.AlgoSymbol1013=G.AlgoSymbol1013,e.AlgoSymbol1014=z.AlgoSymbol1014,e.AlgoSymbol1015=W.AlgoSymbol1015,e.AlgoSymbol1016=H.AlgoSymbol1016,e.AlgoSymbol1017=q.AlgoSymbol1017,e.AlgoSymbol1018=X.AlgoSymbol1018,e.AlgoSymbol1019=J.AlgoSymbol1019,e.AlgoSymbol1020=K.AlgoSymbol1020,e.AlgoSymbol1021=Q.AlgoSymbol1021,e.AlgoSymbol1022=Z.AlgoSymbol1022,e.AlgoSymbol315=$.AlgoSymbol315,e.AlgoSymbol15200=tt.AlgoSymbol15200,e.AlgoSymbol25701=et.AlgoSymbol25701,e.AlgoSymbol320=ot.AlgoSymbol320,e.AlgoSymbol321=lt.AlgoSymbol321,e.AlgoSymbol322=it.AlgoSymbol322},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbolFactory=e.BasicAlgoSymbolFactory=void 0;var l=o(3),i=o(7);e.BasicAlgoSymbolFactory=l.BasicAlgoSymbolFactory,e.AlgoSymbolFactory=i.AlgoSymbolFactory},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.AddPoint_WayType=SuperMapAlgoPlot.AddPoint_WayType={UNKNOWN:0,POLYLINE:1,CURVE:2}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.RouteNodePrimitives=SuperMapAlgoPlot.RouteNodePrimitives=SuperMapAlgoPlot.RouteNodePrimitives||{};SuperMapAlgoPlot.RouteNodePrimitives={initialize:function(){},rendezvousPoint:function(){var t=[],e=new Object;e.type=SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMapAlgoPlot.Point(0,0)),e.positionPoints.push(new SuperMapAlgoPlot.Point(0,30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1};var o=new Object;return o.type=SuperMapAlgoPlot.SymbolType.TEXTSYMBOL,o.positionPoints=[],o.positionPoints.push(new SuperMapAlgoPlot.Point(0,0)),o.textContent="会",o.style={surroundLineFlag:!1,fontSize:14,fontSizeLimit:!0},o.style.labelAlign="cm",t.push(o),t.push(e),t},expandingPoint:function(){var t=[],e=new Object;e.type=SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMapAlgoPlot.Point(0,0)),e.positionPoints.push(new SuperMapAlgoPlot.Point(0,30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1};var o=new Object;return o.type=SuperMapAlgoPlot.SymbolType.TEXTSYMBOL,o.positionPoints=[],o.positionPoints.push(new SuperMapAlgoPlot.Point(0,0)),o.textContent="展",o.style={surroundLineFlag:!1,fontSize:14,fontSizeLimit:!0},o.style.labelAlign="cm",t.push(o),t.push(e),t},volleyPoint:function(){var t=[],e=new Object;e.type=SuperMapAlgoPlot.SymbolType.CIRCLESYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMapAlgoPlot.Point(0,0)),e.positionPoints.push(new SuperMapAlgoPlot.Point(0,30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1};var o=new Object;return o.type=SuperMapAlgoPlot.SymbolType.TEXTSYMBOL,o.positionPoints=[],o.positionPoints.push(new SuperMapAlgoPlot.Point(0,0)),o.textContent="齐",o.style={surroundLineFlag:!1,fontSize:14,fontSizeLimit:!0},o.style.labelAlign="cm",t.push(o),t.push(e),t},standbyPoint_Outer:function(t,e){var o=[],l=new SuperMapAlgoPlot.Point(0,0),i=new SuperMapAlgoPlot.Point(0,30);t||(t=90);var n=new Object;n.type=SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,n.positionPoints=[];for(var r=t+10;r<170+t;r+=10){var a=SuperMapAlgoPlot.PlottingUtil.findPoint(l,i,30,r);n.positionPoints.push(a)}n.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},o.push(n);var s=n.positionPoints[n.positionPoints.length-1],u=n.positionPoints[n.positionPoints.length-2],p=SuperMapAlgoPlot.PlottingUtil.findPoint(s,u,9,22.5),c=SuperMapAlgoPlot.PlottingUtil.findPoint(s,u,9,-22.5),P=new Object;P.type=SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,P.positionPoints=[],P.positionPoints.push(p),P.positionPoints.push(s.clone()),P.positionPoints.push(c),P.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},o.push(P);var h=new Object;h.type=SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,h.positionPoints=[];for(var g=190+t;g<350+t;g+=10){var y=SuperMapAlgoPlot.PlottingUtil.findPoint(l,i,30,g);h.positionPoints.push(y)}h.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},o.push(h);var f=h.positionPoints[h.positionPoints.length-1],S=h.positionPoints[h.positionPoints.length-2],A=SuperMapAlgoPlot.PlottingUtil.findPoint(f,S,9,22.5),d=SuperMapAlgoPlot.PlottingUtil.findPoint(f,S,9,-22.5),M=new Object;M.type=SuperMapAlgoPlot.SymbolType.POLYLINESYMBOL,M.positionPoints=[],M.positionPoints.push(A),M.positionPoints.push(f.clone()),M.positionPoints.push(d),M.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},o.push(M);for(var v=0;v=3){var e=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[1]);SuperMapAlgoPlot.PlottingUtil.isRight(t[0],t[1],t[2])&&(e=-e);for(var o=[],l=1;l=3){var e=t[0].x+(t[2].x-t[1].x),o=t[0].y+(t[2].y-t[1].y),l=new SuperMapAlgoPlot.Point(e,o),i=[];return i.push.apply(i,t),i.push(l),i.push(i[0]),i}},polygon:function(t){if(t&&t.length>2)return t},circle:function(t){if(t&&2===t.length){for(var e=t[0],o=t[1],l=[],i=Math.sqrt((o.x-e.x)*(o.x-e.x)+(o.y-e.y)*(o.y-e.y)),n=360/this.nSegmentCount,r=0;r=3){var e=this.getArcInfo(t[0],t[1],t[2]);e.dStartAngle*=Math.PI/180,e.dEndAngle*=Math.PI/180;var o=(e.dEndAngle-e.dStartAngle)/this.nSegmentCount,l=this.getArcSpatialData(e.pntCenter,e.dRadius,e.dRadius,0,e.dStartAngle,e.dEndAngle,o);if(l.push(e.pntCenter),0!==l.length)return l}},lune:function(t){if(t&&t.length>=3){var e=this.getArcInfo(t[0],t[1],t[2]);e.dStartAngle*=Math.PI/180,e.dEndAngle*=Math.PI/180;var o=(e.dEndAngle-e.dStartAngle)/this.nSegmentCount,l=this.getArcSpatialData(e.pntCenter,e.dRadius,e.dRadius,0,e.dStartAngle,e.dEndAngle,o);if(0!==l.length)return l}},arc:function(t){if(t&&t.length>=3){var e=this.getArcInfo(t[0],t[1],t[2]);e.dStartAngle*=Math.PI/180,e.dEndAngle*=Math.PI/180;var o=(e.dEndAngle-e.dStartAngle)/this.nSegmentCount,l=this.getArcSpatialData(e.pntCenter,e.dRadius,e.dRadius,0,e.dStartAngle,e.dEndAngle,o);if(0!==l.length)return l}},ellipse:function(t,e,o,l,i){if(!0===o){if((!l||null==l)&&t&&t.length>=3&&(l=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[1])),(!i||null==i)&&t&&t.length>=3){var n=SuperMapAlgoPlot.PlottingUtil.projectPoint(t[2],t[0],t[1]);i=SuperMapAlgoPlot.PlottingUtil.distance(n,t[2])}}else i=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[2]),l=SuperMapAlgoPlot.PlottingUtil.distance(t[0],t[1]);if(e&&null!=e?e*=Math.PI/180:e=SuperMapAlgoPlot.PlottingUtil.radian(t[0],t[1]),t&&t.length>0){var r=2*Math.PI,a=r/this.nSegmentCount,s=this.getArcSpatialData(t[0],l,i,e,0,r,a);if(!0===o){var u=Math.sin(e),p=Math.cos(e);t[2].x>t[1].x?(t[2].x=t[0].x-i*u,t[2].y=t[0].y+i*p):(t[2].x=t[0].x+i*u,t[2].y=t[0].y-i*p)}return s}},getArcSpatialData:function(t,e,o,l,i,n,r){var a=[];if(Math.abs(r)<1e-9)return a;for(;ni+2*Math.PI;)i+=2*Math.PI;var s=Math.cos(l)*e,u=Math.sin(l)*e,p=Math.cos(l)*o,c=Math.sin(l)*o,P=this.calcEllipseRadian(i,e,o),h=this.calcEllipseRadian(n,e,o);h-P<1e-5&&(h+=2*Math.PI);var g=Math.round(Math.abs((h-P)/r)+1);if(g<2)return a;for(var y=0;ya.length&&(a[a.length-1].x=t.x+s*Math.cos(h)-c*Math.sin(h),a[a.length-1].y=t.y+u*Math.cos(h)+p*Math.sin(h)),a},getArcCircleSpatialData:function(t,e,o,l){for(var i=[];lo+2*Math.PI;)o+=2*Math.PI;l-o<1e-10&&(l+=2*Math.PI);for(var n=(l-o)/50,r=o;r=1e-9&&(s=(o.y-e.y)/(o.x-e.x)),l.pntCenter.y=r.y,Math.abs(s)<1e-9?l.pntCenter.x=a.x:l.pntCenter.x=a.x-s*(r.y-a.y)}else{var u={},p={};u.x=(e.x+t.x)/2,u.y=(e.y+t.y)/2,p.x=(e.x+o.x)/2,p.y=(e.y+o.y)/2;var c=n/i,P=1;Math.abs(c)<1e-9?(l.pntCenter.x=u.x,Math.abs(o.x-e.x<1e-9)?l.pntCenter.y=p.y:l.pntCenter.y=-(o.x-e.x)/(o.y-e.y)*(l.pntCenter.x-p.x)+p.y):Math.abs(o.x-e.x)<1e-9?(l.pntCenter.y=p.y,l.pntCenter.x=-c*(l.pntCenter.y-u.y)+u.x):(P=(o.y-e.y)/(o.x-e.x),l.pntCenter.x=(c*P*(u.y-p.y)+P*u.x-c*p.x)/(P-c),l.pntCenter.y=(p.x-u.x+P*p.y-c*u.y)/(P-c))}var h=Math.atan2(t.y-l.pntCenter.y,t.x-l.pntCenter.x),g=Math.atan2(o.y-l.pntCenter.y,o.x-l.pntCenter.x);if(SuperMapAlgoPlot.PlottingUtil.isCounterClockwise(t,e,o)){for(;h>=2*Math.PI;)h-=2*Math.PI;for(;h<0;)h+=2*Math.PI;for(;g>2*Math.PI;)g-=2*Math.PI;for(;g=2*Math.PI;)g-=2*Math.PI;for(;g<0;)g+=2*Math.PI;for(;h>2*Math.PI;)h-=2*Math.PI;for(;g>h;)h+=2*Math.PI;var y=h;h=g,g=y}return l.dRadius=Math.sqrt((l.pntCenter.x-t.x)*(l.pntCenter.x-t.x)+(l.pntCenter.y-t.y)*(l.pntCenter.y-t.y)),l.dEndAngle=180*g/Math.PI,l.dStartAngle=180*h/Math.PI,l},calcEllipseRadian:function(t,e,o){var l=t,i=e*Math.sin(t),n=o*Math.cos(t),r=Math.atan2(i,n);if(t>Math.PI)for(;l>Math.PI;)l-=2*Math.PI,r+=2*Math.PI;else if(t<-Math.PI)for(;l<-Math.PI;)l+=2*Math.PI,r-=2*Math.PI;return r},getKendyShapePts:function(t){var e=[];if(2>(t=SuperMapAlgoPlot.PlottingUtil.clearSamePts(t)).length)return e;var o=this.calcShapePoints(t);if(12!=o.length)return e;o.push(o[0]),o.push(o[1]),o.splice(0,1);for(var l=0;l=l&&i>=n){var u=r.clone();r=s.clone(),s=u.clone()}else if(n>=l&&n>=i){var p=s.clone();s=a.clone(),a=p.clone()}if(!SuperMapAlgoPlot.PlottingUtil.isRight(s,r,a)){var c=r.clone();r=a.clone(),a=c.clone()}e[0]=r,e[1]=a,e[2]=s}return e},GetPtsByTriangle:function(t,e,o,l,i){var n=new SuperMapAlgoPlot.Point(0,0),r=0,a=0;return r=SuperMapAlgoPlot.PlottingUtil.distance(i,o),a=SuperMapAlgoPlot.PlottingUtil.distance(l,i),1==e&&(r*=2),2==e&&(a*=2),n.x=(r*l.x+a*o.x)/(r+a),n.y=(r*l.y+a*o.y)/(r+a),{pl:this.GetWhichPtOfNormal(t,o,n,i),pr:this.GetWhichPtOfNormal(t,l,n,i)}},GetWhichPtOfNormal:function(t,e,o,l){var i=0;i=SuperMapAlgoPlot.PlottingUtil.distance(l,e)/t;var n=this.GetPointsOfNormal(i,o,l);return SuperMapAlgoPlot.PlottingUtil.distance(e,n.pt4)>=(i=SuperMapAlgoPlot.PlottingUtil.distance(e,n.pt3))?n.pt3:n.pt4},getBezierPtsWithScalePts:function(t,e,o,l){var i=[],n=t.x,r=t.y,a=e.x,s=e.y,u=o.x,p=o.y,c=l.x,P=l.y;if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(n,a,1e-10)&&SuperMapAlgoPlot.PlottingUtil.equalFuzzy(r,s,1e-10)&&SuperMapAlgoPlot.PlottingUtil.equalFuzzy(u,c,1e-10)&&SuperMapAlgoPlot.PlottingUtil.equalFuzzy(p,P,1e-10))i.push(new SuperMapAlgoPlot.Point(n,r)),i.push(new SuperMapAlgoPlot.Point(u,p));else for(var h=0;h<=1;h+=.03125){var g,y,f,S,A=h*h,d=A*h;g=1-3*h+3*A-d,y=3*(h-2*A+d),f=3*(A-d),S=d;var M=new SuperMapAlgoPlot.Point(g*n+y*a+f*u+S*c,g*r+y*s+f*p+S*P);i.push(M)}return i},getSpatialData:function(t,e,o,l){switch(null==l&&(l=!0),t){case 24:return this.polyline(e);case 390:return this.kidney(e,l);case 590:return this.bezier(e,l);case 360:return this.loopbezier(e,l);case 28:return this.parallelogram(e);case 32:return this.polygon(e);case 29:return this.circle(e);case 26:return this.rectangle(e);case 380:return this.sector(e);case 370:return this.lune(e);case 44:return this.arc(e);case 31:return this.ellipse(e,o,l);case 48:return this.parallelline(e);default:return e}}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.PlottingUtil=SuperMapAlgoPlot.PlottingUtil=SuperMapAlgoPlot.PlottingUtil||{};SuperMapAlgoPlot.PlottingUtil.DEFAULT_PRECISION=14,SuperMapAlgoPlot.PlottingUtil.DPI=96,SuperMapAlgoPlot.PlottingUtil.RTOD=57.29577951308232,SuperMapAlgoPlot.PlottingUtil.DTOR=.017453292519943295,SuperMapAlgoPlot.PlottingUtil.dirAngle=function(t,e){var o,l,i,n;o=e.x,l=e.y,i=o-t.x,n=l-t.y;var r=Math.atan2(n,i);return r<0&&(r+=2*Math.PI),r},SuperMapAlgoPlot.PlottingUtil.generateUuid=function(){for(var t=[],e=0;e<36;e++)t[e]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return t[14]="4",t[19]="0123456789abcdef".substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-",t.join("")},SuperMapAlgoPlot.PlottingUtil.cloneObject=function(t){return JSON.parse(JSON.stringify(t))},SuperMapAlgoPlot.PlottingUtil.colorRGBA=function(t,e){var o=t.substring(1,3),l=parseInt(o,16),i=t.substring(3,5),n=parseInt(i,16),r=t.substring(5);return"rgba("+l+","+n+","+parseInt(r,16)+","+e+")"},SuperMapAlgoPlot.PlottingUtil.colorRGBToString=function(t){var e=t.red.toString(16);e.length<2&&(e="0"+e);var o=t.green.toString(16);o.length<2&&(o="0"+o);var l=t.blue.toString(16);return l.length<2&&(l="0"+l),"#"+e+o+l},SuperMapAlgoPlot.PlottingUtil.colorStringToRGB=function(t){var e={},o=t.substring(1,3);e.red=parseInt(o,16);var l=t.substring(3,5);e.green=parseInt(l,16);var i=t.substring(5);return e.blue=parseInt(i,16),e},SuperMapAlgoPlot.PlottingUtil.decimalToHex=function(t){for(var e=t.toString(16);e.length<8;)e="0"+e;var o=e.substring(0,2),l=e.substring(2,4),i=e.substring(4,6);return{color:"#"+e.substring(6)+i+l,alpha:parseInt(o,16)/255}},SuperMapAlgoPlot.PlottingUtil.hexToDecimal=function(t,e){var o=t.substring(1,3),l=t.substring(3,5),i=t.substring(5),n=parseInt(i+l+o,16),r=Math.round(255*e).toString(16);return parseInt(r+"000000",16)+n},SuperMapAlgoPlot.PlottingUtil.getAlign=function(t){return"TOPLEFT"===t?"lt":"TOPCENTER"===t?"ct":"TOPRIGHT"===t?"rt":"BOTTOMLEFT"===t?"lb":"BOTTOMCENTER"===t?"cb":"BOTTOMRIGHT"===t?"rb":"MIDDLELEFT"===t?"lm":"MIDDLECENTER"===t?"cm":"MIDDLERIGHT"===t?"rm":"lt"},SuperMapAlgoPlot.PlottingUtil.trim=function(t){return null==t?"":t.replace(/(^\s*)|(\s*$)/g,"")},SuperMapAlgoPlot.PlottingUtil.getTextWidth=function(t,e){" "===e&&(e="_");var o=document.createElement("span");document.body.appendChild(o),o.style.width="auto",o.style.height="auto",t.fontSize&&(o.style.fontSize=new String(t.fontSize)+"px"),t.fontFamily&&(o.style.fontFamily=t.fontFamily),t.fontWeight&&(o.style.fontWeight=t.fontWeight),o.style.position="absolute",o.style.visibility="hidden",o.style.display="inline-block",o.innerHTML=e;var l=o.clientWidth,i=e.length;return void 0===t.fontSpace&&void 0===t.fontPercent||(0!==t.fontSpace&&100!==t.fontPercent&&void 0!==t.fontSpace||void 0!==t.fontPercent?l=t.fontPercent/100*l+t.fontSpace*(t.fontPercent/100)*(i-1):0===t.fontSpace&&100!==t.fontPercent&&void 0!==t.fontPercent?l=t.fontPercent/100*l:0!==t.fontSpace&&100===t.fontPercent&&void 0!==t.fontSpace&&(l+=t.fontSpace*(i-1))),document.body.removeChild(o),l},SuperMapAlgoPlot.PlottingUtil.getTextCount=function(t){for(var e=0,o=0,l=0;l255?e++:o++;return e+o/2},SuperMapAlgoPlot.PlottingUtil.toJSON=function(t){var e=t;if(null==e)return null;switch(e.constructor){case String:return e=(e=(e=(e=(e=(e=(e='"'+e.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","<")).replace(">",">")).replace(/%/g,"%2525")).replace(/&/g,"%26");case Array:for(var o=[],i=0,n=e.length;i0?"{"+u.join(",")+"}":"{}"}return e.toString()}},SuperMapAlgoPlot.PlottingUtil.copyFeature=function(t){var e=null;if(null!=t&&t.geometry){var o=t.geometry.clone();e=new SuperMap.Feature.Vector(o),t.style&&(e.style=SuperMapAlgoPlot.PlottingUtil.copyAttributes(e.style,t.style)),o.feature=e,o.calculateParts()}return e},SuperMapAlgoPlot.PlottingUtil.getSurroundLinePts=function(t,e){for(var o=[],l=[],i=0;i2*c?l.push(r):(l[l.length-1]=p,l.push(r))}else l.push(r)}else l.push(n),l.push(r);(o=[]).push(l[l.length-2]),o.push(l[l.length-1])}}if(t[0].x===t[t.length-1].x&&t[0].y===t[t.length-1].y&&1Math.PI&&(l-=2*Math.PI),l}if(t.length<3)return 1;for(var o=0,l={x:0,y:0},i={x:0,y:0},n=2;n=0?-1:1},SuperMapAlgoPlot.PlottingUtil.isNear=function(t,e){return e||(e=SuperMapAlgoPlot.PlottingUtil.TORLERANCE_STATIC),t-e},SuperMapAlgoPlot.PlottingUtil.equalFuzzy=function(t,e,o){return o||(o=1e-18),Math.abs(t-e)<=o},SuperMapAlgoPlot.PlottingUtil.intersectLines=function(t,e,o,l){var i={isIntersectLines:!1};if(t.x===e.x&&t.y===e.y||o.x===l.x&&o.y===l.y)return i;var n=e.x-t.x,r=e.y-t.y,a=l.x-o.x,s=l.y-o.y,u=n*s-a*r;if(SuperMapAlgoPlot.PlottingUtil.isNear(u))return i;var p=(n*(t.y-o.y)-r*(t.x-o.x))/u,c=new SuperMapAlgoPlot.Point(0,0);return c.x=p*a+o.x,c.y=p*s+o.y,i.isIntersectLines=!0,i.intersectPoint=c,i},SuperMapAlgoPlot.PlottingUtil.getEnvelopePoints=function(t){function e(t,e){if(t.length!==e.length)return!1;for(var o=0;o=0;r--)e.push(t[l][r]);t.splice(l,1);var a=i(t,e);if(void 0!==a&&0!==a.length)return a}return e}if(SuperMapAlgoPlot.PlottingUtil.isArray(t)||(t=[t]),0===t.length)return[];if(1===t.length)return t[0];for(var n=0;n2&&v.push(b)}return v},SuperMapAlgoPlot.PlottingUtil.isRight=function(t,e,o){var l=e,i=o,n=e,r=t;return(i.x-l.x)*(r.y-n.y)-(r.x-n.x)*(i.y-l.y)<0},SuperMapAlgoPlot.PlottingUtil.radian=function(t,e){var o,l,i=0;return o=e.x-t.x,l=e.y-t.y,(i=Math.atan2(l,o))<0&&(i+=2*Math.PI),i},SuperMapAlgoPlot.PlottingUtil.findBisectorPoint=function(t,e,o,l){var i=SuperMapAlgoPlot.PlottingUtil.radian(e,t),n=(i+SuperMapAlgoPlot.PlottingUtil.radian(e,o))/2,r=Math.cos(n-i+Math.PI/2),a=l;SuperMapAlgoPlot.PlottingUtil.isNear(r,.15)||(a=l/r);var s=e.x+a*Math.cos(n),u=e.y+a*Math.sin(n);return new SuperMapAlgoPlot.Point(s,u)},SuperMapAlgoPlot.PlottingUtil.findPoint=function(t,e,o,l){if(t===e||Math.abs(o)<1e-18)return t;var i=SuperMapAlgoPlot.PlottingUtil.radian(t,e)+l*Math.PI/180,n=t.x+o*Math.cos(i),r=t.y+o*Math.sin(i);return new SuperMapAlgoPlot.Point(n,r)},SuperMapAlgoPlot.PlottingUtil.isSameQuadrant=function(t,e,o,l){var i=(e.x-t.x)*(l.x-o.x),n=(e.y-t.y)*(l.y-o.y);return!(Math.abs(i)<1e-18&&Math.abs(n)<1e-18)&&((i>0||Math.abs(i)<1e-18)&&(n>0||Math.abs(n)<1e-18))},SuperMapAlgoPlot.PlottingUtil.isCross=function(t,e,o,l){var i=new SuperMapAlgoPlot.Point(0,0);return!(!SuperMapAlgoPlot.PlottingUtil.intersectLineSegs(t,e,o,l,i)||i==t||i===e||i===o||i==l)},SuperMapAlgoPlot.PlottingUtil.intersectLineSegs=function(t,e,o,l,i){if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(t.x,e.x)&&SuperMapAlgoPlot.PlottingUtil.equalFuzzy(t.y,e.y))return i.x=t.x,i.y=t.y,!1;if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(o.x,l.x)&&SuperMapAlgoPlot.PlottingUtil.equalFuzzy(o.y,l.y))return i.x=o.x,i.y=o.y,!1;var n=0,r=0;if(n=t.x>e.x?t.x:e.x,r=t.x1e-16&&l.x-n>1e-16||o.x-r<-1e-16&&l.x-r<-1e-16)return!1;if(n=t.y>e.y?t.y:e.y,r=t.y1e-16&&l.y-n>1e-16||o.y-r<-1e-16&&l.y-r<-1e-16)return!1;var a=e.x-t.x,s=e.y-t.y,u=l.x-o.x,p=l.y-o.y,c=t.x-o.x,P=t.y-o.y,h=a*p-u*s,g=h;if(Math.abs(a)>1e-18&&Math.abs(u)>1e-18&&(g/=a*u),Math.abs(g)<1e-18)return t===o?(i.x=t.x,i.y=t.y,!SuperMapAlgoPlot.PlottingUtil.isSameQuadrant(t,e,o,l)):e===l?(i.x=e.x,i.y=e.y,!SuperMapAlgoPlot.PlottingUtil.isSameQuadrant(t,e,o,l)):t===l?(i.x=t.x,i.y=t.y,SuperMapAlgoPlot.PlottingUtil.isSameQuadrant(t,e,o,l)):e===o&&(i.x=e.x,i.y=e.y,SuperMapAlgoPlot.PlottingUtil.isSameQuadrant(t,e,o,l));var y=(a*P-s*c)/h,f=(u*P-p*c)/h;return!(y<0&&(Math.abs(y*u)>1e-16||Math.abs(y*p)>1e-16))&&(!(y>1&&(Math.abs((y-1)*u)>1e-16||Math.abs((y-1)*p)>1e-16))&&(!(f<0&&(Math.abs(f*a)>1e-16||Math.abs(f*s)>1e-16))&&(!(f>1&&(Math.abs((f-1)*a)>1e-16||Math.abs((f-1)*s)>1e-16))&&(Math.abs(y)<1e-18?(i.x=o.x,i.y=o.y,!0):Math.abs(y-1)<1e-18?(i.x=l.x,i.y=l.y,!0):Math.abs(f)<1e-18?(i.x=t.x,i.y=t.y,!0):Math.abs(f-1)<1e-18?(i.x=e.x,i.y=e.y,!0):!(y<0&&(Math.abs(y*u)>1e-16||Math.abs(y*p)>1e-16))&&(!(y>1&&(Math.abs((y-1)*u)>1e-16||Math.abs((y-1)*p)>1e-16))&&(!(f<0&&(Math.abs(f*a)>1e-16||Math.abs(f*s)>1e-16))&&(!(f>1&&(Math.abs((f-1)*a)>1e-16||Math.abs((f-1)*s)>1e-16))&&(i.x=y*u+o.x,i.y=y*p+o.y,!0))))))))},SuperMapAlgoPlot.PlottingUtil.parallel=function(t,e){var o=[],l=t.length;if(!t||null==t||t.length<2)return o;var i=!1;t.length>3&&t[0].x===t[t.length-1].x&&t[0].y===t[t.length-1].y&&(i=!0),i?(o[0]=SuperMapAlgoPlot.PlottingUtil.findBisectorPoint(t[t.length-2],t[0],t[1],e),o[t.length-1]=o[0]):(o[0]=SuperMapAlgoPlot.PlottingUtil.findPoint(t[0],t[1],e,90),o[t.length-1]=SuperMapAlgoPlot.PlottingUtil.findPoint(t[t.length-1],t[t.length-2],-e,90));for(var n=t[0],r=t[1],a=t[1],s=1;s1&&(r=1);var a=(o.x-e.x)*r+e.x,s=(o.y-e.y)*r+e.y,u=(a-t.x)*(a-t.x)+(s-t.y)*(s-t.y);return Math.sqrt(u)},SuperMapAlgoPlot.PlottingUtil.isCounterClockwise=function(t,e,o){return(o.x-e.x)*(t.y-e.y)-(t.x-e.x)*(o.y-e.y)>0},SuperMapAlgoPlot.PlottingUtil.clearSamePts=function(t){for(var e=t.length,o=0;o=e)){var n=t[i].x,r=t[i].y,a=t[i+2].x,s=t[i+2].y,u=t[i+4].x,p=t[i+4].y,c=t[i+3].x,P=t[i+3].y;if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(n,a,1e-10)&&SuperMapAlgoPlot.PlottingUtil.equalFuzzy(r,s,1e-10)&&SuperMapAlgoPlot.PlottingUtil.equalFuzzy(u,c,1e-10)&&SuperMapAlgoPlot.PlottingUtil.equalFuzzy(p,P,1e-10))o.push(new SuperMapAlgoPlot.Point(n,r)),o.push(new SuperMapAlgoPlot.Point(u,p));else for(var h=0;h<=1;h+=.03125){var g,y,f,S,A=h*h,d=A*h;g=1-3*h+3*A-d,y=3*(h-2*A+d),f=3*(A-d),S=d;var M=new SuperMapAlgoPlot.Point(g*n+y*a+f*u+S*c,g*r+y*s+f*p+S*P);o.push(M)}}return o},SuperMapAlgoPlot.PlottingUtil.computeBeizerPoints0=function(t,e,o){var l=SuperMapAlgoPlot.PlottingUtil.polylineDistance(e),i=[],n=[],r=[];if(t){n.push(e[0]);var a=o[0],s=o[1],u=e[0].x+l*a,p=e[0].y+l*s;n.push(new SuperMapAlgoPlot.Point(u,p)),i.push(new SuperMapAlgoPlot.Point(u,p));for(var c=1;c0?(p=e+(l-e)*y/g,c=o+(i-o)*y/g):(p=e,c=o),a.x=p+(s-p)*t,a.y=c+(u-c)*t,a},SuperMapAlgoPlot.PlottingUtil.pointIsOnPolyLine=function(t,e,o){if(SuperMapAlgoPlot.PlottingUtil.equalFuzzy(t.x,e.x)&&SuperMapAlgoPlot.PlottingUtil.equalFuzzy(t.y,e.y)||SuperMapAlgoPlot.PlottingUtil.equalFuzzy(t.x,o.x)&&SuperMapAlgoPlot.PlottingUtil.equalFuzzy(t.y,o.y))return!0;var l=t.x-e.x,i=t.y-e.y,n=t.x-o.x,r=t.y-o.y,a=(l*n+i*r)/(Math.sqrt(l*l+i*i)*Math.sqrt(n*n+r*r));return!!SuperMapAlgoPlot.PlottingUtil.equalFuzzy(a,-1,.1)},SuperMapAlgoPlot.PlottingUtil.pointIsOnPolyLines=function(t,e){if(!e||0===e.length)return{isOnPolyLine:!1,index:-1};for(var o=!1,l=-1,i=0;is&&(o=s,l=i)}}return l&&o<0&&(l=-1),{minDis:o,index:l}},SuperMapAlgoPlot.PlottingUtil.findPointInLine=function(t,e,o){if(t===e||Math.abs(o)<1e-18)return t;var l=e.x-t.x,i=e.y-t.y,n=o/Math.sqrt(l*l+i*i),r=t.x+l*n,a=t.y+i*n;return new SuperMapAlgoPlot.Point(r,a)},SuperMapAlgoPlot.PlottingUtil.operateControlPoints=function(t){var e=t,o=e.length;if(3==o){var l=new SuperMapAlgoPlot.Point(0,0);SuperMapAlgoPlot.PlottingUtil.getTrapezoidPoints(1,t[0],t[1],t[2],l),e.push(l)}if(o>4&&(e.splice(4,o-4),o=e.length),SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine(t[0],t[1],e[2])){var i=e[0];e[0]=e[1],e[1]=i}if(!SuperMapAlgoPlot.PlottingUtil.pointIsRightToVerticle(e[0],e[1],e[2])){var n=e[2];e[2]=e[3],e[3]=n}return e},SuperMapAlgoPlot.PlottingUtil.pointIsRightToLine=function(t,e,o){return(e.x-t.x)*(o.y-t.y)-(o.x-t.x)*(e.y-t.y)<0},SuperMapAlgoPlot.PlottingUtil.pointIsRightToVerticle=function(t,e,o){var l=new SuperMapAlgoPlot.Point(.5*(e.x+t.x),.5*(e.y+t.y)),i=new SuperMapAlgoPlot.Point(e.x-t.x,e.y-t.y),n=new SuperMapAlgoPlot.Point(o.x-l.x,o.y-l.y);return i.x*n.x+i.y*n.y>0},SuperMapAlgoPlot.PlottingUtil.linePnt=function(t,e,o){var l=SuperMapAlgoPlot.PlottingUtil.distance(t,e);if(0==l)return t;var i=o/l;return SuperMapAlgoPlot.PlottingUtil.findPointOnLineByRatio(i,t,e)},SuperMapAlgoPlot.PlottingUtil.findPointOnLineByRatio=function(t,e,o){var l=new SuperMapAlgoPlot.Point(0,0);return l.x=e.x+(o.x-e.x)*t,l.y=e.y+(o.y-e.y)*t,l},SuperMapAlgoPlot.PlottingUtil.rotateAngle=function(t,e,o){var l=e,i=Math.cos(l),n=Math.sin(l),r=o.x-t.x,a=o.y-t.y;return o.x=r*i-a*n+t.x,o.y=r*n+a*i+t.y,o},SuperMapAlgoPlot.PlottingUtil.resize=function(t,e,o){return o.x=t.x+e*(o.x-t.x),o.y=t.y+e*(o.y-t.y),o},SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine=function(t,e){if(e<0||t.length<2)return{index:-1,pt:null};if(Math.abs(e)<1e-18)return{index:0,pt:t[0]};for(var o=0,l=0;le||SuperMapAlgoPlot.PlottingUtil.equalFuzzy(o,e)){var i=o-e,n=t[l+1],r=t[l],a=i/SuperMapAlgoPlot.PlottingUtil.distance(n,r),s=new SuperMapAlgoPlot.Point(0,0);return s.x=n.x+(r.x-n.x)*a,s.y=n.y+(r.y-n.y)*a,{index:l,pt:s}}return{index:-1,pt:null}},SuperMapAlgoPlot.PlottingUtil.polylineDistance=function(t){if(0===t.length)return 0;for(var e=0,o=0;o=t.x&&e.y>=t.y?1:e.xt.y?2:e.x<=t.x&&e.y<=t.y?3:4)==(s=o.x>t.x&&o.y>t.y?1:o.xt.y?2:o.xl&&n>l)&&(r=0);else switch(a){case 1:(4==s&&il)&&(r=0);break;case 2:(1==s&&il)&&(r=0);break;case 3:(2==s&&il)&&(r=0);break;case 4:(3==s&&il)&&(r=0)}var u=new SuperMapAlgoPlot.Point(0,0);return SuperMapAlgoPlot.PlottingUtil.equalFuzzy(l-1.7976931348623157e308,0)?(u.x=t.x,u.y=e.y):SuperMapAlgoPlot.PlottingUtil.equalFuzzy(l,0)?(u.x=e.x,u.y=t.y):(u.x=(l*(e.y-t.y)+l*l*t.x+e.x)/(l*l+1),u.y=t.y+l*(u.x-t.x)),{isOnline:1===r,projectPoint:u}},SuperMapAlgoPlot.PlottingUtil.coordinateTrans=function(t,e,o){var l=SuperMapAlgoPlot.PlottingUtil.distance(new SuperMapAlgoPlot.Point(0,0),e),i=SuperMapAlgoPlot.PlottingUtil.radian(new SuperMapAlgoPlot.Point(0,0),e)+o*Math.PI/180,n=l*Math.cos(i)+t.x,r=l*Math.sin(i)+t.y;return new SuperMapAlgoPlot.Point(n,r)},SuperMapAlgoPlot.PlottingUtil.triangleHeightAndPartBottomLen=function(t,e,o){var l=void 0,i=void 0,n=(o.x-e.x)*(o.x-e.x)+(o.y-e.y)*(o.y-e.y),r=Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y)),a=Math.sqrt((t.x-o.x)*(t.x-o.x)+(t.y-o.y)*(t.y-o.y));if(0==a||0==r)l=0,i=0;else if(0==n)l=r,i=0;else{var s=(r*r+a*a-n)/2/r/a,u=0;s>=1?(s=1,u=0):u=Math.sqrt(1-s*s),l=a*s,i=a*u}return{dLen1:l,dLen2:i}},SuperMapAlgoPlot.PlottingUtil.paraLine=function(t,e,o){var l=[];if(2>t.length)return l;if(o){var i=t[1].clone();i=SuperMapAlgoPlot.PlottingUtil.rotateAngle(t[0],Math.PI/2,i),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(t[0],i,e));for(var n=1;nMath.PI/2?s-Math.PI/2:Math.PI/2-s;var p=e/Math.cos(u);i=t[n+1].clone(),i=SuperMapAlgoPlot.PlottingUtil.rotateAngle(t[n],s,i),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(t[n],i,p))}i=t[t.length-2].clone(),i=SuperMapAlgoPlot.PlottingUtil.rotateAngle(t[t.length-1],-1*Math.PI/2,i),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(t[t.length-1],i,e))}else{var c=t[1].clone();c=SuperMapAlgoPlot.PlottingUtil.rotateAngle(t[0],-Math.PI/2,c),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(t[0],c,e));for(var P=1;PMath.PI/2?y-Math.PI/2:Math.PI/2-y;var S=e/Math.cos(f);c=t[P-1].clone(),c=SuperMapAlgoPlot.PlottingUtil.rotateAngle(t[P],y,c),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(t[P],c,S))}c=t[t.length-2].clone(),c=SuperMapAlgoPlot.PlottingUtil.rotateAngle(t[t.length-1],Math.PI/2,c),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(t[t.length-1],c,e))}return l},SuperMapAlgoPlot.PlottingUtil.circlePoint=function(t,e,o,l){l*=Math.PI/180;var i=t.x+e*Math.cos(l),n=t.y+o*Math.sin(l);return new SuperMapAlgoPlot.Point(i,n)},SuperMapAlgoPlot.PlottingUtil.getPolygonCenterPt=function(t){if(!t||0===t.length)return null;for(var e=0,o=0,l=0;lr.y?n.y:r.y;if(!(e.ys))(e.y-n.y)*(r.x-n.x)/(r.y-n.y)+n.x>e.x&&o++}}return o%2==1},SuperMapAlgoPlot.PlottingUtil.projectPtOnPolyLine=function(t,e){if(2>e.length)return{index:-1,pt:null};for(var o=0;o0?0:1}},SuperMapAlgoPlot.PlottingUtil.isSamePt=function(t,e){return!(!SuperMapAlgoPlot.PlottingUtil.equalFuzzy(t.x,e.x)||!SuperMapAlgoPlot.PlottingUtil.equalFuzzy(t.y,e.y))},SuperMapAlgoPlot.PlottingUtil.getPtsIndexByDistance=function(t,e){var o=SuperMapAlgoPlot.PlottingUtil.findPointInPolyLine(e,t);return{index:o.index,pts:o.pt,bfind:-1!==o.index}},SuperMapAlgoPlot.PlottingUtil.ptInBounds=function(t,e){return t.x>e.left&&t.xe.bottom},SuperMapAlgoPlot.PlottingUtil.InnerAngle=function(t,e,o){if(t==e||t==o)return 0;var l=SuperMapAlgoPlot.PlottingUtil.distance(t,e),i=SuperMapAlgoPlot.PlottingUtil.distance(t,o),n=SuperMapAlgoPlot.PlottingUtil.distance(e,o),r=(l*l+i*i-n*n)/(2*l*i);return r>1&&SuperMapAlgoPlot.PlottingUtil.equalFuzzy(r,1)?r=1:r<1&&SuperMapAlgoPlot.PlottingUtil.equalFuzzy(r,-1)&&(r=-1),Math.acos(r)},SuperMapAlgoPlot.PlottingUtil.plumbLineLen=function(t,e,o){return SuperMapAlgoPlot.PlottingUtil.distance(t,e)*Math.sin(SuperMapAlgoPlot.PlottingUtil.InnerAngle(e,t,o))},SuperMapAlgoPlot.PlottingUtil.paraPolygon=function(t,e,o){var l=[],i=SuperMapAlgoPlot.PlottingUtil.clonePoints(t),n=i.length;if(n<2)return l;var r=new SuperMapAlgoPlot.Point(0,0);if(o){if(n<3)r=i[1].clone(),SuperMapAlgoPlot.PlottingUtil.rotateAngle(i[0],Math.PI,r),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(i[0],r,e));else{for(var a=SuperMapAlgoPlot.PlottingUtil.radian(i[0],i[1]),s=SuperMapAlgoPlot.PlottingUtil.radian(i[0],i[i.length-1])-a;s<0;)s+=2*Math.PI;var u=s/2,p=void 0;p=u>Math.PI/2?u-Math.PI/2:Math.PI/2-u;var c=e/Math.cos(p);r=i[1].clone(),r=SuperMapAlgoPlot.PlottingUtil.rotateAngle(i[0],u,r),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(i[0],r,c))}for(var P=1;PMath.PI/2?y-Math.PI/2:Math.PI/2-y;var S=e/Math.cos(f);r=i[P+1].clone(),r=SuperMapAlgoPlot.PlottingUtil.rotateAngle(i[P],y,r),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(i[P],r,S))}if(n<3)r=i[n-2].clone(),SuperMapAlgoPlot.PlottingUtil.rotateAngle(i[n-1],0,r),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(i[n-1],r,e));else{for(var A=SuperMapAlgoPlot.PlottingUtil.radian(i[n-1],i[0]),d=SuperMapAlgoPlot.PlottingUtil.radian(i[n-1],i[n-2])-A;d<0;)d+=2*Math.PI;var M=d/2,v=void 0;v=M>Math.PI/2?M-Math.PI/2:Math.PI/2-M;var b=e/Math.cos(v);r=i[0].clone(),r=SuperMapAlgoPlot.PlottingUtil.rotateAngle(i[n-1],M,r),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(i[n-1],r,b))}}else{if(n<3){var m=i[1].clone();SuperMapAlgoPlot.PlottingUtil.rotateAngle(i[0],0,m),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(i[0],m,e))}else{for(var T=SuperMapAlgoPlot.PlottingUtil.radian(i[0],i[1]),L=SuperMapAlgoPlot.PlottingUtil.radian(i[0],i[n-1])-T;L<0;)L+=2*Math.PI;var O=Math.PI-L/2,E=void 0;E=O>Math.PI/2?O-Math.PI/2:Math.PI/2-O;var w=e/Math.cos(E);r=i[n-1].clone(),r=SuperMapAlgoPlot.PlottingUtil.rotateAngle(i[0],O,r),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(i[0],r,w))}for(var x=1;xMath.PI/2?R-Math.PI/2:Math.PI/2-R;var U=e/Math.cos(_);r=i[x-1].clone(),r=SuperMapAlgoPlot.PlottingUtil.rotateAngle(i[x],R,r),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(i[x],r,U))}if(n<3)r=i[n-2].clone(),SuperMapAlgoPlot.PlottingUtil.rotateAngle(i[n-1],Math.PI,r),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(i[n-1],r,e));else{for(var N=SuperMapAlgoPlot.PlottingUtil.radian(i[n-1],i[0]),D=SuperMapAlgoPlot.PlottingUtil.radian(i[n-1],i[n-2])-N;D<0;)D+=2*Math.PI;var B=Math.PI-D/2,k=void 0;k=B>Math.PI/2?B-Math.PI/2:Math.PI/2-B;var V=e/Math.cos(k);r=i[n-2].clone(),r=SuperMapAlgoPlot.PlottingUtil.rotateAngle(i[n-1],B,r),l.push(SuperMapAlgoPlot.PlottingUtil.linePnt(i[n-1],r,V))}}return l},SuperMapAlgoPlot.PlottingUtil.getOutRectangleDis=function(t){if(2>t.length)return 0;for(var e=t[0].x,o=t[0].x,l=t[0].y,i=t[0].y,n=1;nt[n].x&&(o=t[n].x),lt[n].y&&(i=t[n].y);return SuperMapAlgoPlot.PlottingUtil.distance(new SuperMapAlgoPlot.Point(e,l),new SuperMapAlgoPlot.Point(o,i))},SuperMapAlgoPlot.PlottingUtil.clonePoints=function(t){var e=[];if(void 0===t||null===t)return e;if(SuperMapAlgoPlot.PlottingUtil.isArray(t)||(t=[t]),t&&null!=t)for(var o=0;o1e-12&&--y>0;){var f=Math.sin(h),S=Math.cos(h),A=Math.sqrt(P*f*(P*f)+(p*c-u*P*S)*(p*c-u*P*S));if(0==A)return 0;var d=u*c+p*P*S,M=Math.atan2(A,d),v=Math.asin(p*P*f/A),b=Math.cos(v)*Math.cos(v),m=d-2*u*c/b,T=s/16*b*(4+s*(4-3*b));g=h,h=o+(1-T)*s*Math.sin(v)*(M+T*A*(m+T*d*(2*m*m-1)))}if(0==y)return NaN;var O=b*(r*r-a*a)/(a*a),E=O/1024*(256+O*(O*(74-47*O)-128));return(a*(1+O/16384*(4096+O*(O*(320-175*O)-768)))*(M-E*A*(m+E/4*(d*(2*m*m-1)-E/6*m*(4*A*A-3)*(4*m*m-3))))).toFixed(3)/1e3},SuperMapAlgoPlot.PlottingUtil.destinationVincenty=function(t,e,o){var l,i,n=SuperMapAlgoPlot.PlottingUtil,r=n.VincentyConstants,a=r.a,s=r.b,u=r.f;"undefined"!=typeof L&&void 0!==L.LatLng&&t instanceof L.LatLng?(l=t.lng,i=t.lat):(l=t.lon,i=t.lat);for(var p=o,c=n.rad(e),P=Math.sin(c),h=Math.cos(c),g=(1-u)*Math.tan(n.rad(i)),y=1/Math.sqrt(1+g*g),f=g*y,S=Math.atan2(g,h),A=y*P,d=1-A*A,M=d*(a*a-s*s)/(s*s),v=1+M/16384*(4096+M*(M*(320-175*M)-768)),b=M/1024*(256+M*(M*(74-47*M)-128)),m=p/(s*v),T=2*Math.PI;Math.abs(m-T)>1e-12;){var O=Math.cos(2*S+m),E=Math.sin(m),w=Math.cos(m);T=m,m=p/(s*v)+b*E*(O+b/4*(w*(2*O*O-1)-b/6*O*(4*E*E-3)*(4*O*O-3)))}var x=f*E-y*w*h,C=Math.atan2(f*w+y*E*h,(1-u)*Math.sqrt(A*A+x*x)),I=u/16*d*(4+u*(4-3*d)),R=Math.atan2(E*P,y*w-f*E*h)-(1-I)*u*A*(m+I*E*(O+I*w*(2*O*O-1)));return"undefined"!=typeof L&&void 0!==L.LatLng&&t instanceof L.LatLng?L.latLng(n.deg(C),l+n.deg(R)):new SuperMap.LonLat(l+n.deg(R),n.deg(C))},SuperMapAlgoPlot.PlottingUtil.midPoint=function(t,e){var o=new SuperMapAlgoPlot.Point(0,0);return o.x=.5*(t.x+e.x),o.y=.5*(t.y+e.y),o},SuperMapAlgoPlot.PlottingUtil.makeDottedLine=function(t,e){for(var o,l,i=[],n=e,r=SuperMapAlgoPlot.PlottingUtil.polylineDistance(t),a=e,s=t[0].clone(),u=1,p=0,c=!0,P=!0;py?e.scaleValues[y]=t.scaleValues[y]:e.scaleValues.push(t.scaleValues[y]);else e.scaleValues=[],e.scaleValues=t.scaleValues;e.visible=t.visible,e.orbitPoints=t.orbitPoints}else if(0===t.libID&&t.symbolType===SuperMapAlgoPlot.SymbolType.SATELLITETIMEWINDOWS)e.timeWindows=t.timeWindows;else{var f=void 0;f=!0===o?L.Util.latLngsToSuperMapPoints(t.getLatLngs()):t.controlPoints,e.localePoints=[];var S=f.length;t.symbolType===SuperMapAlgoPlot.SymbolType.ELLIPSESYMBOL&&(S=3);for(var A=0;Ax?e.scaleValues[x]=t.scaleValues[x]:e.scaleValues.push(t.scaleValues[x]);else e.scaleValues=[],e.scaleValues=t.scaleValues;e.subSymbolScaleValue=t.subSymbolScaleValue,e.baseScale=t.baseScale,e.strokeWidth=t.strokeWidth,e.polylineConnectLocationPoint=t.polylineConnectLocationPoint,22===t.libID&&t.symbolType===SuperMapAlgoPlot.SymbolType.ALGOSYMBOL?(e.arrowHeadType=t.arrowHeadType,e.arrowBodyType=t.arrowBodyType,e.arrowTailType=t.arrowTailType):0===t.libID&&t.symbolType===SuperMapAlgoPlot.SymbolType.ARROWLINE?e.arrowAngle=t.arrowAngle:0===t.libID&&t.symbolType===SuperMapAlgoPlot.SymbolType.COMBINATIONALCIRCLE?e.defaultRadius=t.defaultRadius:0===t.libID&&t.symbolType===SuperMapAlgoPlot.SymbolType.CONCENTRICCIRCLE||(0===t.libID&&t.symbolType===SuperMapAlgoPlot.SymbolType.LINEMARKING?(e.islocationCircle=t.islocationCircle,e.textBoxType=t.textBoxType):0===t.libID&&t.symbolType===SuperMapAlgoPlot.SymbolType.SYMBOLTEXTBOX?(e.roundBox=t.roundBox,e.textBoxType=t.textBoxType):0===t.libID&&t.symbolType===SuperMapAlgoPlot.SymbolType.PATHTEXT?(e.isAvoid=t.isAvoid,e.isCurve=t.isCurve,e.relLineText=t.relLineText,e.showPathLine=t.showPathLine,e.textToLineDistance=t.textToLineDistance,e.showPathLineArrow=t.showPathLineArrow):0===t.libID&&t.symbolType===SuperMapAlgoPlot.SymbolType.ARCREGION&&(o?(e.centerPoint={x:t.centerPoint.lng,y:t.centerPoint.lat},e.circlePts=t.circlePts,e.spatialAnalystUrl=t.spatialAnalystUrl):e.centerPoint=t.centerPoint,e.endAngle=t.endAngle,e.radius=t.radius,e.radiusPosAngle=t.radiusPosAngle,e.startAngle=t.startAngle,e.textPosition=t.textPosition,e.radiusLineType=t.radiusLineType,e.radiusText=t.radiusText))}}t.symbolData=e},SuperMapAlgoPlot.AnalysisSymbol.parseSymbolData=function(t,e,o){if(null!=e){if(null!=e.isEdit&&(t.isEdit=e.isEdit),e.hasOwnProperty("version")&&(t.version=e.version),e.hasOwnProperty("libID")&&(t.libID=parseInt(e.libID)),e.hasOwnProperty("code")&&(t.code=parseInt(e.code)),e.hasOwnProperty("algoMaxEditPts")&&(t.maxEditPts=parseInt(e.algoMaxEditPts)),e.hasOwnProperty("algoMinEditPts")&&(t.minEditPts=parseInt(e.algoMinEditPts)),e.hasOwnProperty("symbolType")&&(t.symbolType=parseInt(e.symbolType)),e.hasOwnProperty("symbolName")&&(t.symbolName=e.symbolName),e.hasOwnProperty("textContent")&&(t.textContent=e.textContent),null!=e.dScale?t.dScale=e.dScale:void 0!==e.scale2D&&(t.dScale=e.scale2D.x),null!=e.dRotate?t.dRotate=e.dRotate:void 0!==e.rotate2D&&(t.dRotate=e.rotate2D.x),null!=e.resolution&&(t.resolution=e.resolution),null!=e.uuid&&(t.uuid=e.uuid),null!=e.associatedUuid&&(t.associatedUuid=e.associatedUuid),null!=e.textDisplay&&(t.textDisplay=e.textDisplay),null!=e.annotationPosition&&(o?t.annotationPosition=e.annotationPosition:t.textPosition=e.annotationPosition),null!=e.scaleByMap&&(t.scaleByMap=e.scaleByMap),void 0!==e.isLocked&&(t.isLocked=e.isLocked),void 0!==e.note&&(t.note=e.note),void 0!==e.custom&&(t.custom=e.custom),e.extendProperty)for(var l=0;l0&&this.feature.style.fillBackOpacity<1){var e=[];e.push({fillID:this.feature.style.fillSymbolID,color:this.feature.style.fillColor,opacity:this.feature.style.fillOpacity},{fillID:this.feature.style.fillSymbolID,color:this.feature.style.fillBackColor,opacity:this.feature.style.fillBackOpacity}),this.feature._map.getRenderer(this.feature.layer)instanceof L.SVG?(t.fillOpacity=1,t.fillColor="url(#"+this.createTextureFill(e)+")",t.fill=t.fillColor):new SuperMap.Plot.CalculateCanvasGradient(this.feature,this.feature.getBounds()).createTextureFill(e)}else t.fill=!0,t.fillColor=this.feature.style.fillColor,t.fillOpacity=this.feature.style.fillOpacity;else t.fill=this.feature.style.fill,t.fillColor=this.feature.style.fillColor,t.fillOpacity=this.feature.style.fillOpacity}},{key:"createGradientDirection",value:function(){var t=[];if("LINEAR"===this.feature.style.fillGradientMode){if(null!==this.feature.style.fillCenterOffsetX&&void 0!==this.feature.style.fillCenterOffsetX&&(0===this.feature.style.fillAngle||180===this.feature.style.fillAngle?(t.push({offset:0,color:this.feature.style.fillBackColor,opacity:this.feature.style.fillOpacity}),t.push({offset:this.feature.style.fillCenterOffsetX,color:this.feature.style.fillColor,opacity:this.feature.style.fillOpacity}),t.push({offset:1,color:this.feature.style.fillBackColor,opacity:this.feature.style.fillOpacity})):90===this.feature.style.fillAngle||270===this.feature.style.fillAngle?(t.push({offset:0,color:this.feature.style.fillBackColor,opacity:this.feature.style.fillOpacity}),t.push({offset:this.feature.style.fillCenterOffsetY,color:this.feature.style.fillColor,opacity:this.feature.style.fillOpacity}),t.push({offset:1,color:this.feature.style.fillBackColor,opacity:this.feature.style.fillOpacity})):(t.push({offset:0,color:this.feature.style.fillBackColor,opacity:this.feature.style.fillOpacity}),t.push({offset:this.feature.style.fillCenterOffsetX/2*(Math.sqrt(2)/2)*Math.abs(Math.sin(this.feature.style.fillAngle*Math.PI/180)),color:this.feature.style.fillColor,opacity:this.feature.style.fillOpacity}),t.push({offset:1,color:this.feature.style.fillBackColor,opacity:this.feature.style.fillOpacity}))),this.feature.style.fillAngle>=360&&(this.feature.style.fillAngle=0),0===this.feature.style.fillAngle)return{x1:0,y1:0,x2:1,y2:0,colors:t};if(90===this.feature.style.fillAngle)return{x1:0,y1:1,x2:0,y2:0,colors:t};if(180===this.feature.style.fillAngle)return{x1:1,y1:0,x2:0,y2:0,colors:t};if(270===this.feature.style.fillAngle)return{x1:0,y1:0,x2:0,y2:1,colors:t};if(0=0||this.feature.style.fillCenterOffsetX<=0&&this.feature.style.fillCenterOffsetX>=-1){if(this.feature.style.fillCenterOffsetY>=0&&this.feature.style.fillCenterOffsetY<=.5||this.feature.style.fillCenterOffsetY>=-.5&&this.feature.style.fillCenterOffsetY<=0)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:.5*Math.sqrt(2),colors:t};if(this.feature.style.fillCenterOffsetY>=.5&&this.feature.style.fillCenterOffsetY<=.8||this.feature.style.fillCenterOffsetY>=-.8&&this.feature.style.fillCenterOffsetY<=-.5)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:.8*Math.sqrt(2),colors:t};if(this.feature.style.fillCenterOffsetY>=.8&&this.feature.style.fillCenterOffsetY<=1||this.feature.style.fillCenterOffsetY>=-1&&this.feature.style.fillCenterOffsetY<=-.8)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:Math.sqrt(2),colors:t}}else if(this.feature.style.fillCenterOffsetX<=.8&&this.feature.style.fillCenterOffsetX>.5||this.feature.style.fillCenterOffsetX<=-.5&&this.feature.style.fillCenterOffsetX>=-.8){if(this.feature.style.fillCenterOffsetY>=0&&this.feature.style.fillCenterOffsetY<=.5||this.feature.style.fillCenterOffsetY>=-.5&&this.feature.style.fillCenterOffsetY<=0)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:.8*Math.sqrt(2),colors:t};if(this.feature.style.fillCenterOffsetY>=.5&&this.feature.style.fillCenterOffsetY<=.8||this.feature.style.fillCenterOffsetY>=-.8&&this.feature.style.fillCenterOffsetY<=-.5)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:.8*Math.sqrt(2),colors:t};if(this.feature.style.fillCenterOffsetY>=.8&&this.feature.style.fillCenterOffsetY<=1||this.feature.style.fillCenterOffsetY>=-1&&this.feature.style.fillCenterOffsetY<=-.8)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:Math.sqrt(2),colors:t}}else if(this.feature.style.fillCenterOffsetX<=1&&this.feature.style.fillCenterOffsetX>.8||this.feature.style.fillCenterOffsetX<=-.8&&this.feature.style.fillCenterOffsetX>=-1){if(this.feature.style.fillCenterOffsetY>=0&&this.feature.style.fillCenterOffsetY<=.5||this.feature.style.fillCenterOffsetY>=-.5&&this.feature.style.fillCenterOffsetY<=0)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:Math.sqrt(2),colors:t};if(this.feature.style.fillCenterOffsetY>=.5&&this.feature.style.fillCenterOffsetY<=.8||this.feature.style.fillCenterOffsetY>=-.8&&this.feature.style.fillCenterOffsetY<=-.5)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:Math.sqrt(2),colors:t};if(this.feature.style.fillCenterOffsetY>=.8&&this.feature.style.fillCenterOffsetY<=1||this.feature.style.fillCenterOffsetY>=-1&&this.feature.style.fillCenterOffsetY<=-.8)return{cx:.5,cy:.5,fx:.5+this.feature.style.fillCenterOffsetX,fy:.5-this.feature.style.fillCenterOffsetY,r:Math.sqrt(2),colors:t}}}}]),t}();SuperMap.Plot.CalculateSVGGradient=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;oMath.abs(e.y-e.y)?Math.abs(t.x-e.x):Math.abs(t.y-e.y)}}}},{key:"createGradient",value:function(){var t=null;if(this.getContext()instanceof CanvasRenderingContext2D){var e=this.calculateObjectByBounds();if("LINEAR"===this.feature.style.fillGradientMode){var o=this.getGradientDirection(this.feature.style.fillAngle);if(t=this.getContext().createLinearGradient(e.ptMinX+e.width*o.x1,e.ptMinY+e.height*o.y1,e.ptMinX+e.width*o.x2,e.ptMinY+e.height*o.y2),0===this.feature.style.fillCenterOffsetX&&0===this.feature.style.fillCenterOffsetY)t.addColorStop(0,SuperMap.Plot.PlottingUtil.colorRGBA(this.feature.style.fillColor,this.feature.style.fillOpacity)),t.addColorStop(1,SuperMap.Plot.PlottingUtil.colorRGBA(this.feature.style.fillBackColor,this.feature.style.fillOpacity));else{var l=this.feature.style.fillAngle;0===l||180===l||90===l||270===l?(t.addColorStop(0,SuperMap.Plot.PlottingUtil.colorRGBA(this.feature.style.fillBackColor,this.feature.style.fillOpacity)),0!==l&&180!==l||t.addColorStop(this.feature.style.fillCenterOffsetX,SuperMap.Plot.PlottingUtil.colorRGBA(this.feature.style.fillColor,this.feature.style.fillOpacity)),90!==l&&270!==l||t.addColorStop(this.feature.style.fillCenterOffsetY,SuperMap.Plot.PlottingUtil.colorRGBA(this.feature.style.fillColor,this.feature.style.fillOpacity)),t.addColorStop(1,SuperMap.Plot.PlottingUtil.colorRGBA(this.feature.style.fillBackColor,this.feature.style.fillOpacity))):(t.addColorStop(0,SuperMap.Plot.PlottingUtil.colorRGBA(this.feature.style.fillBackColor,this.feature.style.fillOpacity)),t.addColorStop(this.feature.style.fillCenterOffsetX>=this.feature.style.fillCenterOffsetY?this.feature.style.fillCenterOffsetX:this.feature.style.fillCenterOffsetY*Math.cos(this.feature.style.fillAngle*Math.PI/180),SuperMap.Plot.PlottingUtil.colorRGBA(this.feature.style.fillColor,this.feature.style.fillOpacity)),t.addColorStop(1,SuperMap.Plot.PlottingUtil.colorRGBA(this.feature.style.fillBackColor,this.feature.style.fillOpacity)))}}if("RADIAL"===this.feature.style.fillGradientMode){var i=this.feature.style.fillCenterOffsetX*e.r,n=this.feature.style.fillCenterOffsetY*e.r,r=e.r/Math.sqrt(2)+Math.abs(i)>e.r/Math.sqrt(2)+Math.abs(n)?e.r/Math.sqrt(2)+Math.abs(i):e.r/Math.sqrt(2)+Math.abs(n);(t=this.getContext().createRadialGradient(e.center.x+i,e.center.y-n,0,e.center.x+i,e.center.y-n,r)).addColorStop(0,SuperMap.Plot.PlottingUtil.colorRGBA(this.feature.style.fillColor,this.feature.style.fillOpacity)),this.feature.style.fillColor,this.feature.style.fillBackColor,t.addColorStop(1,SuperMap.Plot.PlottingUtil.colorRGBA(this.feature.style.fillBackColor,this.feature.style.fillOpacity))}return t}}},{key:"createTextureFill",value:function(t){if(0!==t.length){var e=document.createElement("canvas");document.body.appendChild(e);var o=e.getContext("2d");e.width=8,e.height=8;var l=e.width,i=e.height,n=SuperMap.Plot.PlottingUtil.colorStringToRGB(t[0].color);o.strokeStyle="rgba("+n.red+","+n.green+","+n.blue+","+t[0].opacity+")",o.lineWidth=1;var r=SuperMap.Plot.PlottingUtil.colorStringToRGB(t[1].color);switch(o.fillStyle="rgba("+r.red+","+r.green+","+r.blue+","+t[1].opacity+")",o.fillRect(0,0,e.width,e.height),o.beginPath(),t[0].fillID){case 0:case 1:break;case 2:o.moveTo(0,i),o.lineTo(l,0);break;case 3:o.moveTo(0,0),o.lineTo(l,0),o.moveTo(0,0),o.lineTo(0,i);break;case 4:o.moveTo(0,i),o.lineTo(l,0),o.moveTo(0,0),o.lineTo(l,i);break;case 5:o.moveTo(0,0),o.lineTo(l,i);break;case 6:o.moveTo(0,0),o.lineTo(l,0);break;case 7:o.moveTo(0,0),o.lineTo(0,i)}o.closePath(),o.stroke(),o.fill();var a=o.createPattern(e,"repeat");return document.body.removeChild(e),a}}},{key:"createFillMode",value:function(t){if(void 0!==this.feature.style.fillSymbolID)if(t.fill=this.feature.style.fill,t.fillSymbolID=this.feature.style.fillSymbolID,0===this.feature.style.fillSymbolID||1===this.feature.style.fillSymbolID||!0===this.feature.style.fill||!1===this.feature.style.fill)0===this.feature.style.fillSymbolID?t.fill=!0:1===this.feature.style.fillSymbolID&&(t.fill=!1),t.fillColor=this.feature.style.fillColor,t.fillOpacity=this.feature.style.fillOpacity;else if(this.feature.style.fillColor!==this.feature.style.fillBackColor||this.feature.style.fillBackOpacity>0&&this.feature.style.fillBackOpacity<1){var e=[];e.push({fillID:this.feature.style.fillSymbolID,color:this.feature.style.fillColor,opacity:this.feature.style.fillOpacity},{fillID:this.feature.style.fillSymbolID,color:this.feature.style.fillBackColor,opacity:this.feature.style.fillBackOpacity}),t.fill=!0,t.fillColor=this.createTextureFill(e),t.fillOpacity=this.feature.style.fillColor}else t.fill=!0,t.fillColor=this.feature.style.fillColor,t.fillOpacity=this.feature.style.fillOpacity;else t.fill=this.feature.style.fill,t.fillColor=this.feature.style.fillColor,t.fillOpacity=this.feature.style.fillOpacity}},{key:"getGradientDirection",value:function(t){var e=function(t){return{x:Math.cos(t),y:Math.sin(t)}},o=function(t){return t*Math.PI/180},l=e(o(180-t%360)),i=e(o(360-t%360)),n=Math.pow(2,-52);return(l.x<=0||Math.abs(l.x)<=n)&&(l.x=0),(l.y<=0||Math.abs(l.y)<=n)&&(l.y=0),(i.x<=0||Math.abs(i.x)<=n)&&(i.x=0),(i.y<=0||Math.abs(i.y)<=n)&&(i.y=0),{x1:l.x,y1:l.y,x2:i.x,y2:i.y}}}]),t}();SuperMap.Plot.CalculateCanvasGradient=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CalculateSVGGradient=e.CalculateCanvasGradient=void 0;var l=o(81),i=o(80);e.CalculateCanvasGradient=l.CalculateCanvasGradient,e.CalculateSVGGradient=i.CalculateSVGGradient},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=e.TransactionInfo=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e=e||{},this.layer=e.layer?e.layer:null,this.feature=e.feature?e.feature:null,this.uuid=e.uuid?e.uuid:null,this.functionName=e.functionName?e.functionName:null,this.undoParams=e.undoParams?e.undoParams:null,this.redoParams=e.redoParams?e.redoParams:null,this.propertyName=e.propertyName?e.propertyName:null,this.undoValue=e.undoValue?e.undoValue:null,this.redoValue=e.redoValue?e.redoValue:null,this.CLASS_NAME="SuperMap.Plot.TransactionInfo"};SuperMap.Plot.TransactionInfo=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o0&&SuperMap.Plot.PlottingUtil.equalFuzzy(t.lat,this.latlngs[this.latlngs.length-1].lat)&&SuperMap.Plot.PlottingUtil.equalFuzzy(t.lng,this.latlngs[this.latlngs.length-1].lng)||(!1===this.saveTrackingPoint&&-1!==this.trajectoryLength&&this.trajectoryLength>0?this.latlngs.length0&&this.latlngs.length>this.trajectoryLength&&(l+=this.latlngs.length-this.trajectoryLength);for(var i=l;il&&(a=i),i=a;it.right;)e.lon-=t.getWidth()}return e}},{key:"destroy",value:function(){this.lon=null,this.lat=null}}],[{key:"fromString",value:function(e){var o=e.split(",");return new t(o[0],o[1])}},{key:"fromArray",value:function(e){var o=i.Util.isArray(e);return new t(o&&e[0],o&&e[1])}}]),t}()},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Size=void 0;var l=function(){function t(t,e){for(var o=0;othis.right)&&(this.right=o.right),(null==this.top||o.top>this.top)&&(this.top=o.top))}}},{key:"containsLonLat",value:function(t,e){"boolean"==typeof e&&(e={inclusive:e}),e=e||{};var o=this.contains(t.lon,t.lat,e.inclusive),l=e.worldBounds;if(l&&!o){var i=l.getWidth(),n=(l.left+l.right)/2,r=Math.round((t.lon-n)/i);o=this.containsLonLat({lon:t.lon-r*i,lat:t.lat},{inclusive:e.inclusive})}return o}},{key:"containsPixel",value:function(t,e){return this.contains(t.x,t.y,e)}},{key:"contains",value:function(t,e,o){if(null==o&&(o=!0),null==t||null==e)return!1;t=s.Util.toFloat(t),e=s.Util.toFloat(e);var l=!1;return l=o?t>=this.left&&t<=this.right&&e>=this.bottom&&e<=this.top:t>this.left&&tthis.bottom&&e=o.bottom&&t.bottom<=o.top||o.bottom>=t.bottom&&o.bottom<=t.top,r=t.top>=o.bottom&&t.top<=o.top||o.top>t.bottom&&o.top=o.left&&t.left<=o.right||o.left>=t.left&&o.left<=t.right,s=t.right>=o.left&&t.right<=o.right||o.right>=t.left&&o.right<=t.right;l=(n||r)&&(a||s)}if(e.worldBounds&&!l){var u=e.worldBounds,p=u.getWidth(),c=!u.containsBounds(o),P=!u.containsBounds(t);c&&!P?(t=t.add(-p,0),l=o.intersectsBounds(t,{inclusive:e.inclusive})):P&&!c&&(o=o.add(-p,0),l=t.intersectsBounds(o,{inclusive:e.inclusive}))}return l}},{key:"containsBounds",value:function(t,e,o){null==e&&(e=!1),null==o&&(o=!0);var l=this.contains(t.left,t.bottom,o),i=this.contains(t.right,t.bottom,o),n=this.contains(t.left,t.top,o),r=this.contains(t.right,t.top,o);return e?l||i||n||r:l&&i&&n&&r}},{key:"determineQuadrant",value:function(t){var e="",o=this.getCenterLonLat();return e+=t.lat=t.right&&i.right>t.right;)i=i.add(-n,0);var r=i.left+o;rt.left&&i.right-l>t.right&&(i=i.add(-n,0))}return i}},{key:"toServerJSONObject",value:function(){return{rightTop:{x:this.right,y:this.top},leftBottom:{x:this.left,y:this.bottom},left:this.left,right:this.right,top:this.top,bottom:this.bottom}}},{key:"destroy",value:function(){this.left=null,this.right=null,this.top=null,this.bottom=null,this.centerLonLat=null}}],[{key:"fromString",value:function(e,o){var l=e.split(",");return t.fromArray(l,o)}},{key:"fromArray",value:function(e,o){return!0===o?new t(e[1],e[0],e[3],e[2]):new t(e[0],e[1],e[2],e[3])}},{key:"fromSize",value:function(e){return new t(0,e.h,e.w,0)}},{key:"oppositeQuadrant",value:function(t){var e="";return e+="t"===t.charAt(0)?"b":"t",e+="l"===t.charAt(1)?"r":"l"}}]),t}();i.SuperMap.Bounds=u},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Format=void 0;var l=function(){function t(t,e){for(var o=0;o0&&o.push(","),o.push(this.writeNewline(),this.writeIndent(),e));return this.level-=1,o.push(this.writeNewline(),this.writeIndent(),"]"),o.join("")},string:function(t){var e={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return/["\\\x00-\x1f]/.test(t)?'"'+t.replace(/([\x00-\x1f\\"])/g,function(t,o){var l=e[o];return l||(l=o.charCodeAt(),"\\u00"+Math.floor(l/16).toString(16)+(l%16).toString(16))})+'"':'"'+t+'"'},number:function(t){return isFinite(t)?String(t):"null"},boolean:function(t){return String(t)},date:function(t){function e(t){return t<10?"0"+t:t}return'"'+t.getFullYear()+"-"+e(t.getMonth()+1)+"-"+e(t.getDate())+"T"+e(t.getHours())+":"+e(t.getMinutes())+":"+e(t.getSeconds())+'"'}},o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r.Format),i(e,[{key:"read",value:function(t,e){var o;if(this.nativeJSON)try{o=JSON.parse(t,e)}catch(t){}return this.keepData&&(this.data=o),o}},{key:"write",value:function(t,e){this.pretty=!!e;var o=null,i=void 0===t?"undefined":l(t);if(this.serialize[i])try{o=!this.pretty&&this.nativeJSON?JSON.stringify(t):this.serialize[i].apply(this,[t])}catch(t){}return o}},{key:"writeIndent",value:function(){var t=[];if(this.pretty)for(var e=0;e1},isLeftClick:function(t){return t.which&&1===t.which||t.button&&1===t.button},isRightClick:function(t){return t.which&&3===t.which||t.button&&2===t.button},stop:function(t,e){e||(t.preventDefault?t.preventDefault():t.returnValue=!1),t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},findElement:function(t,e){for(var o=l.SuperMap.Event.element(t);o.parentNode&&(!o.tagName||o.tagName.toUpperCase()!=e.toUpperCase());)o=o.parentNode;return o},observe:function(t,e,o,l){var n=i.Util.getElement(t);if(l=l||!1,"keypress"===e&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||n.attachEvent)&&(e="keydown"),this.observers||(this.observers={}),!n._eventCacheID){var r="eventCacheID_";n.id&&(r=n.id+"_"+r),n._eventCacheID=i.Util.createUniqueID(r)}var a=n._eventCacheID;this.observers[a]||(this.observers[a]=[]),this.observers[a].push({element:n,name:e,observer:o,useCapture:l}),n.addEventListener?n.addEventListener(e,o,l):n.attachEvent&&n.attachEvent("on"+e,o)},stopObservingElement:function(t){var e=i.Util.getElement(t)._eventCacheID;this._removeElementObservers(l.SuperMap.Event.observers[e])},_removeElementObservers:function(t){if(t)for(var e=t.length-1;e>=0;e--){var o=t[e],i=new Array(o.element,o.name,o.observer,o.useCapture);l.SuperMap.Event.stopObserving.apply(this,i)}},stopObserving:function(t,e,o,n){n=n||!1;var r=i.Util.getElement(t),a=r._eventCacheID;"keypress"===e&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||r.detachEvent)&&(e="keydown");var s=!1,u=l.SuperMap.Event.observers[a];if(u)for(var p=0;!s&&p599){if(s)return;return s=!0,void i(new TypeError("Network request failed"))}var e={status:t,statusText:r.statusText,headers:function(t){var e=new a;return t.getAllResponseHeaders().trim().split("\n").forEach(function(t){var o=t.trim().split(":"),l=o.shift().trim(),i=o.join(":").trim();e.append(l,i)}),e}(r),url:"responseURL"in r?r.responseURL:/^X-Request-URL:/m.test(r.getAllResponseHeaders())?r.getResponseHeader("X-Request-URL"):void 0},o="response"in r?r.response:r.responseText;s||(s=!0,l(new g(o,e)))}}r.onreadystatechange=u,r.onload=u,r.onerror=function(){s||(s=!0,i(new TypeError("Network request failed")))},r.open(n.method,n.url,!0);try{"include"===n.credentials&&("withCredentials"in r?r.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(t){console&&console.warn&&console.warn("set withCredentials error:"+t)}"responseType"in r&&o.blob&&(r.responseType="blob"),n.headers.forEach(function(t,e){r.setRequestHeader(e,t)}),r.send(void 0===n._bodyInit?null:n._bodyInit)})},e.fetch.polyfill=!0,void 0!==t&&t.exports&&(t.exports=e.fetch)}function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function r(t){return"string"!=typeof t&&(t=String(t)),t}function a(t){this.map={},t instanceof a?t.forEach(function(t,e){this.append(e,t)},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function s(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function u(t){return new Promise(function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}})}function p(t){var e=new FileReader;return e.readAsArrayBuffer(t),u(e)}function c(){return this.bodyUsed=!1,this._initBody=function(t,e){if(this._bodyInit=t,"string"==typeof t)this._bodyText=t;else if(o.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t,this._options=e;else if(o.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(t){if(!o.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t))throw new Error("unsupported BodyInit type")}else this._bodyText=""},o.blob?(this.blob=function(){var t=s(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(p)},this.text=function(){var t,e,o,l,i,n,r,a=s(this);if(a)return a;if(this._bodyBlob)return t=this._bodyBlob,e=this._options,o=new FileReader,l=e.headers.map["content-type"]?e.headers.map["content-type"].toString():"",i=/charset\=[0-9a-zA-Z\-\_]*;?/,n=t.type.match(i)||l.match(i),r=[t],n&&r.push(n[0].replace(/^charset\=/,"").replace(/;$/,"")),o.readAsText.apply(o,r),u(o);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var t=s(this);return t||Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(h)}),this.json=function(){return this.text().then(JSON.parse)},this}function P(t,e){var o,i,n=(e=e||{}).body;if(P.prototype.isPrototypeOf(t)){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new a(t.headers)),this.method=t.method,this.mode=t.mode,n||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=t;if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new a(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),l.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n,e)}function h(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var o=t.split("="),l=o.shift().replace(/\+/g," "),i=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(l),decodeURIComponent(i))}}),e}function g(t,e){e||(e={}),this._initBody(t,e),this.type="default",this.status=e.status,this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText,this.headers=e.headers instanceof a?e.headers:new a(e.headers),this.url=e.url||""}}("undefined"!=typeof self?self:void 0)},function(t,e,o){"use strict";var l,i,n=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(l===setTimeout)return setTimeout(t,0);if((l===r||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}!function(){try{l="function"==typeof setTimeout?setTimeout:r}catch(t){l=r}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var u,p=[],c=!1,P=-1;function h(){c&&u&&(c=!1,u.length?p=u.concat(p):P=-1,p.length&&g())}function g(){if(!c){var t=s(h);c=!0;for(var e=p.length;e;){for(u=p,p=[];++P1)for(var o=1;o=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},o(133),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||void 0,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||void 0}).call(this,o(5))},function(t,e,o){"use strict";(function(e){var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(l){var i=setTimeout;function n(){}function r(t){if("object"!==o(this))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(t,this)}function a(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,r._immediateFn(function(){var o=1===t._state?e.onFulfilled:e.onRejected;if(null!==o){var l;try{l=o(t._value)}catch(t){return void u(e.promise,t)}s(e.promise,l)}else(1===t._state?s:u)(e.promise,t._value)})):t._deferreds.push(e)}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"===(void 0===e?"undefined":o(e))||"function"==typeof e)){var l=e.then;if(e instanceof r)return t._state=3,t._value=e,void p(t);if("function"==typeof l)return void c((i=l,n=e,function(){i.apply(n,arguments)}),t)}t._state=1,t._value=e,p(t)}catch(e){u(t,e)}var i,n}function u(t,e){t._state=2,t._value=e,p(t)}function p(t){2===t._state&&0===t._deferreds.length&&r._immediateFn(function(){t._handled||r._unhandledRejectionFn(t._value)});for(var e=0,o=t._deferreds.length;e0?(this.totalTimes--,this.ajaxPolling()):this._processFailed(t)}},{key:"ajaxPolling",value:function(){var t=this,e=t.options.url,o=/^http:\/\/([a-z]{9}|(\d+\.){3}\d+):\d{0,4}/;t.index=parseInt(Math.random()*t.length),t.url=t.urls[t.index],e=e.replace(o,o.exec(t.url)[0]),t.options.url=e,t.options.isInTheSameDomain=u.Util.isInTheSameDomain(e),t._commit(t.options)}},{key:"calculatePollingTimes",value:function(){var t=this;t.times?t.totalTimes>t.POLLING_TIMES?t.times>t.POLLING_TIMES?t.totalTimes=t.POLLING_TIMES:t.totalTimes=t.times:t.timest.POLLING_TIMES&&(t.totalTimes=t.POLLING_TIMES),t.totalTimes--}},{key:"isServiceSupportPolling",value:function(){return!("SuperMap.REST.ThemeService"===this.CLASS_NAME||"SuperMap.REST.EditFeaturesService"===this.CLASS_NAME)}},{key:"serviceProcessCompleted",value:function(t){t=u.Util.transformResult(t),this.events.triggerEvent("processCompleted",{result:t})}},{key:"serviceProcessFailed",value:function(t){var e=(t=u.Util.transformResult(t)).error||t;this.events.triggerEvent("processFailed",{error:e})}},{key:"_commit",value:function(t){"POST"!==t.method&&"PUT"!==t.method||(t.params&&(t.url=u.Util.urlAppend(t.url,u.Util.getParameterString(t.params||{}))),t.params=t.data),n.FetchRequest.commit(t.method,t.url,t.params,{headers:t.headers,withCredentials:t.withCredentials,crossOrigin:t.crossOrigin,timeout:t.async?0:null,proxy:t.proxy}).then(function(t){return t.text?t.text():t.json?t.json():t}).then(function(e){var o=e;("string"==typeof e&&(o=(new c.JSONFormat).read(e)),(!o||o.error||o.code>=300&&304!==o.code)&&(o=o&&o.error?{error:o.error}:{error:o}),o.error)?(t.scope?P.FunctionExt.bind(t.failure,t.scope):t.failure)(o):(o.succeed=void 0==o.succeed||o.succeed,(t.scope?P.FunctionExt.bind(t.success,t.scope):t.success)(o))}).catch(function(e){(t.scope?P.FunctionExt.bind(t.failure,t.scope):t.failure)(e)})}}]),t}();i.SuperMap.CommonServiceBase=h},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbolFactory=e.BasicAlgoSymbolFactory=e.AddPoint_WayType=e.Primitives=e.PlottingUtil=e.RouteNodePrimitives=e.AnalysisSymbol=e.TowardNode=e.TimeWindowParameter=e.SymbolText=e.SubSymbol=e.SMLInfoStruct=e.SitDataStruct=e.RouteNode=e.Property=e.OrbitPoint=e.MapInfoStruct=e.LayerDataStruct=e.ExtendProperty=e.DefaultStyle=e.GetSymbolInfoService=e.GetSymbolInfoParameters=e.GetSMLInfosService=e.GetSMLInfosParameters=e.GetLibInfoService=e.GetLibInfoParameter=e.GetLibIDsService=e.EditSmlFileService=e.EditSmlFileParameters=e.PlotCommonServiceBase=e.GOAnimationType=e.Event=e.EditMode=e.AlignType=e.PositionOffsetType=e.TextBoxType=e.ArrowLineType=e.AnnoPosition=e.RadiusLineType=e.RelLineText=e.RouteNodeType=e.AlgoSurroundLineType=e.LineRelationType=e.SymbolType=e.Plot=e.Bounds=e.CommonServiceBase=void 0;var l=o(137),i=o(122),n=o(119),r=o(79),a=o(72);e.CommonServiceBase=l.CommonServiceBase,e.Bounds=i.Bounds,e.Plot=n.Plot,e.SymbolType=n.SymbolType,e.LineRelationType=n.LineRelationType,e.AlgoSurroundLineType=n.AlgoSurroundLineType,e.RouteNodeType=n.RouteNodeType,e.RelLineText=n.RelLineText,e.RadiusLineType=n.RadiusLineType,e.AnnoPosition=n.AnnoPosition,e.ArrowLineType=n.ArrowLineType,e.TextBoxType=n.TextBoxType,e.PositionOffsetType=n.PositionOffsetType,e.AlignType=n.AlignType,e.EditMode=n.EditMode,e.Event=n.Event,e.GOAnimationType=n.GOAnimationType,e.PlotCommonServiceBase=n.PlotCommonServiceBase,e.EditSmlFileParameters=n.EditSmlFileParameters,e.EditSmlFileService=n.EditSmlFileService,e.GetLibIDsService=n.GetLibIDsService,e.GetLibInfoParameter=n.GetLibInfoParameter,e.GetLibInfoService=n.GetLibInfoService,e.GetSMLInfosParameters=n.GetSMLInfosParameters,e.GetSMLInfosService=n.GetSMLInfosService,e.GetSymbolInfoParameters=n.GetSymbolInfoParameters,e.GetSymbolInfoService=n.GetSymbolInfoService,e.DefaultStyle=n.DefaultStyle,e.ExtendProperty=n.ExtendProperty,e.LayerDataStruct=n.LayerDataStruct,e.MapInfoStruct=n.MapInfoStruct,e.OrbitPoint=n.OrbitPoint,e.Property=n.Property,e.RouteNode=n.RouteNode,e.SitDataStruct=n.SitDataStruct,e.SMLInfoStruct=n.SMLInfoStruct,e.SubSymbol=n.SubSymbol,e.SymbolText=n.SymbolText,e.TimeWindowParameter=n.TimeWindowParameter,e.TowardNode=n.TowardNode,e.AnalysisSymbol=r.AnalysisSymbol,e.RouteNodePrimitives=r.RouteNodePrimitives,e.PlottingUtil=r.PlottingUtil,e.Primitives=r.Primitives,e.AddPoint_WayType=r.AddPoint_WayType,e.BasicAlgoSymbolFactory=a.BasicAlgoSymbolFactory,e.AlgoSymbolFactory=a.AlgoSymbolFactory}]); /***/ }), /* 5 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(4); __webpack_require__(1); __webpack_require__(2); __webpack_require__(3); __webpack_require__(0); /***/ }) /******/ ]);