{"version":3,"sources":["webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLLabelTemplate.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLFillTemplate.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/segmentUtils.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Matcher.js","webpack:///./node_modules/arcgis-js-api/symbols/cim/ExpandedCIM.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Reader.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/VertexVector.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicFillTemplate.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/TileClipper.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicMarkerTemplate.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseTextTemplate.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Lock.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/factories/WGLMeshFactory.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLTemplateStore.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLMeshTemplate.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/meshUtils.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseLineTemplate.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Result.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/CollisionGrid.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/GeometryUtils.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseMarkerTemplate.js","webpack:///./node_modules/arcgis-js-api/symbols/cim/cimSymbolUtils.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayObject.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/factories/matcherUtils.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicLineTemplate.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/MeshData.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLMarkerTemplate.js","webpack:///./node_modules/arcgis-js-api/views/2d/layers/features/processors/SymbolProcessor.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/Metric.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/util/serializationUtils.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayRecord.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/bufcut.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseFillTemplate.js","webpack:///./node_modules/arcgis-js-api/core/libs/libtess/libtess.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/templateUtils.js","webpack:///./node_modules/arcgis-js-api/symbols/cim/SDFHelper.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/VertexBuffer.js","webpack:///./node_modules/arcgis-js-api/views/2d/layers/features/textUtils.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/TurboLine.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLTextTemplate.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/Tesselator.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicMeshTemplate.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/MeshData.js","webpack:///./node_modules/arcgis-js-api/symbols/cim/effects/CIMEffectHelper.js","webpack:///./node_modules/arcgis-js-api/symbols/cim/placements/CIMMarkerPlacementHelper.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Writer.js","webpack:///./node_modules/arcgis-js-api/symbols/cim/cimAnalyzer.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLLineTemplate.js","webpack:///./node_modules/arcgis-js-api/views/2d/layers/features/processors/BaseProcessor.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/Geometry.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/util.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicTextTemplate.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAO,CAAC,kCAAS,CAAC,OAAS,CAAC,2BAAO,CAAC,2BAA8B,CAAC,2BAA+B,CAAC,2BAAkC,CAAC,2BAAkC,CAAC,2BAA8B,CAAC,2BAAoC,CAAC,2BAAsB,CAAC,2BAAa,CAAC,2BAAmB,CAAC,2BAAa,CAAC,2BAAc,CAAC,2BAAyB,CAAC,2BAA+B,CAAC,2BAAa,CAAC,2BAAgB,CAAC,2BAAmB,CAAC,mCAAE,gDAAgD,aAAa,sCAAsC,SAAS,EAAE,iEAAiE,yBAAyB,QAAQ,oBAAoB,KAAK,OAAO,UAAU,SAAS,uBAAuB,wCAAwC,gBAAgB,6BAA6B,eAAe,wBAAwB,eAAe,+BAA+B,iBAAiB,oDAAoD,eAAe,oBAAoB,qUAAqU,mKAAmK,oBAAoB,iDAAiD,yBAAyB,sBAAsB,mDAAmD,yBAAyB,wEAAwE,wH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AA0D,gFAAgF,uFAAuF,6EAA6E,GAAG,GAAG,yCAAyC,mCAAmC,mDAAmD,cAAc,sCAAsC,4QAA4Q,yCAAyC,wBAAwB,4BAA4B,GAAG,uBAAuB,YAAY;AAAA,oGAAE,C","file":"js/chunk-9c50852a.ce328f55.js","sourcesContent":["// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../../../../core/Error\",\"../../../../../../core/Logger\",\"../../../../../../core/mathUtils\",\"../../../../../../core/mathUtils\",\"../../../../../../core/maybe\",\"../../../../../../core/screenUtils\",\"../../alignmentUtils\",\"../../color\",\"../../definitions\",\"../../enums\",\"../../number\",\"../../collisions/Metric\",\"../../materialKey/MaterialKey\",\"./meshUtils\",\"./segmentUtils\",\"./WGLTextTemplate\"],(function(e,t,i,r,n,o,a,s,l,h,c,u,f,m,p,d,g,_,y){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var v=n.getLogger(\"esri.views.2d.engine.webgl.WGLLabelTemplate\");var x,b,M=(x=function(e){var t=0;if(0===e)return 1/0;for(;!(e%2);)t++,e/=2;return t},b=new Map,function(e){return b.has(e)||b.set(e,x(e)),b.get(e)}),w=function(e){return Math.floor(127*e+127)},L=function(e){return Math.floor(10*e)},P=function(e){return Math.round(e*(254/360))},S=function(e,t){return m.i1616to32(Math.round(8*e),Math.round(8*t))},A=function(e){function t(t,i,r,n){var a=e.call(this,t,r.font.size,r.haloSize||0,r.color&&c.premultiplyAlphaRGBAArray(r.color)||0,r.haloColor&&c.premultiplyAlphaRGBAArray(r.haloColor)||0,r.horizontalAlignment,r.verticalAlignment,g.isMapAligned(i.labelPlacement)?1:0,r.font.decoration,!1,r.angle||0,r.xoffset,r.yoffset,r.lineWidth,r.lineHeight,null,null)||this;a._outLineLabelAngle=0,a._refPlacementPadding=0,a._refPlacementDirX=0,a._refPlacementDirY=0,a._refOffsetX=0,a._refOffsetY=0,a.geometryType=f.WGLGeometryType.LABEL;var s=function(e,t){var i=!!e.minScale&&t.scaleToZoom(e.minScale)||0;return o.clamp(i,0,25.5)}(i,n),m=function(e,t){var i=!!e.maxScale&&t.scaleToZoom(e.maxScale)||255;return o.clamp(i,0,25.5)}(i,n),p=i.labelPlacement,_=h.getAlignmentFromPlacement(p),y=_[0],v=_[1];a._xAlignD=y,a._yAlignD=v,a._minZoom=s,a._maxZoom=m,a._refPlacementPadding=l.pt2px(r.haloSize)+u.TEXT_PLACEMENT_PADDING;var x=d.LabelMaterialKey.load(t);return x.sdf=!0,a._materialKey=x.data,a}return i.__extends(t,e),t.fromLabelClass=function(e,i){if(\"center-along\"===e.labelPlacement){var r=e.symbol;r.xoffset=0,r.yoffset=0,r.angle=0,r.font.decoration=\"none\"}return new t(e.materialKey,e,e.symbol,i)},Object.defineProperty(t.prototype,\"_shapedBox\",{get:function(){return s.unwrap(this._shapingInfo).bounds},enumerable:!1,configurable:!0}),t.prototype.bindReferenceTemplate=function(e){var t=h.getXDirection(this._xAlignD),i=h.getYDirection(this._yAlignD);if(this._refOffsetX=0,this._refOffsetY=0,s.isNone(e))this._refSymbolAndPlacementOffset=m.i8888to32(0,0,w(t),w(i));else{if(\"circle\"===e.boundsType&&(t||i)){var r=Math.sqrt(t*t+i*i);t/=r,i/=r}var n=Math.max(e.height,e.width),o=4*this._refPlacementPadding;this._refSymbolAndPlacementOffset=m.i8888to32(o,n,w(t),w(i)),this._referenceSize=n,this._refPlacementDirX=t,this._refPlacementDirY=i,this._refOffsetX=e.xOffset,this._refOffsetY=e.yOffset}},t.prototype.writeMesh=function(e,t,i,n,o,a){if(!s.isNone(this._shapingInfo)){var l=new Array,h=this._shapingInfo,c=\"esriGeometryPolygon\"===i.geometryType?i.readLegacyCentroid():i.readLegacyGeometry();if(c){switch(this.current={out:e,outVecs:t,outMetrics:l,inId:o,inShaping:h,zoomLevel:a},n){case\"esriGeometryPolyline\":this._placeLineLabels(c);break;case\"esriGeometryPoint\":case\"esriGeometryPolygon\":this._placePointLabels(c);break;default:u=\"mapview-labeling\",void 0===(f=\"Geometry of type \"+n+\" is not supported\")&&(f=\"mapview-labeling\"),v.error(new r(f,u))}var u,f;e.writeMetrics(this.current.outMetrics)}}},t.prototype._isVisible=function(e,t){var i=L(this.current.zoomLevel);return L(e)<=i&&i<=L(t)},t.prototype._placePointLabels=function(e){var t=this.current,i=t.out,r=t.outVecs,n=t.outMetrics,o=t.inId;this._writeGlyphs(i,r,o,e,n)},t.prototype._placeLineLabels=function(e){for(var t=_.smoothPaths(e.paths,this.current.inShaping.bounds.width),i=this._placeSubdivGlyphs.bind(this),r=(this._shapedBox.width+128)/4,n=0,o=t;n=n);)this._placeOnSegment(a,t,i,s,r,-1,o),s+=a.length+0},t.prototype._placeForward=function(e,t,i,r,n,o){for(var a=e.clone(),s=e.remainingLength+0;a.next()&&!(s>=n);)this._placeOnSegment(a,t,i,s,r,1,o),s+=a.length+0},t.prototype._placeFirst=function(e,t,i,r){for(var n=e,o=this.current.inShaping,s=o.glyphs,l=this.current.zoomLevel,h=this.current,c=h.out,u=h.outVecs,f=h.inId,m=S(n.x,n.y),p=0,d=s;po.bounds.x?r:1-r,y=_*e.remainingLength+(1-_)*e.backwardLength,v=Math.abs(g.x+g.width/2-o.bounds.x),x=Math.max(0,l+a.log2(v/(y+0))),b=Math.max(i,x);g.maxZoom=25,g.angle=e.angle+(1-r)*Math.PI,g.minZoom=b,this._writeGlyph(c,u,g,f,m),r&&this._isVisible(g.minZoom,g.maxZoom)&&t.add(g.bounds,0,0)}},t.prototype._placeOnSegment=function(e,t,i,r,n,o,s){for(var l=this.current.inShaping.glyphs,h=this.current,c=h.out,u=h.outVecs,f=h.inId,m=this.current.inShaping,p=this.current.zoomLevel,d=e.dx/e.length,g=e.dy/e.length,_={x:e.x+r*-o*d,y:e.y+r*-o*g},y=S(_.x,_.y),v=0,x=l;vm.bounds.x?s:1-s;if(M&&1===o||!M&&-1===o){var w=Math.abs(b.x+b.width/2-m.bounds.x),L=Math.max(0,p+a.log2(w/r)-.1),P=Math.max(n,p+a.log2(w/(r+e.length+0)));0!==L&&(b.angle=e.angle+(1-s)*Math.PI,b.minZoom=P,b.maxZoom=L,this._writeGlyph(c,u,b,f,y),s&&this._isVisible(b.minZoom,b.maxZoom)&&i.add(b.bounds,e.x-t.x,e.y-t.y))}}},t.prototype._writeGlyphs=function(e,t,i,r,n,o){void 0===o&&(o=this._minZoom);var a=this._shapingInfo;if(!s.isNone(a)&&!(r.x<0||r.x>=512||r.y<0||r.y>=512)){for(var l=e.currentDisplayRecordCount(),h=S(r.x+this._refOffsetX,r.y-this._refOffsetY),c={from:l,count:-1},u=new p.default(i,c,r.x+this._refOffsetX,r.y-this._refOffsetY,o),f=0,m=a.glyphs;f255?y=255:y<=0&&(y=r.nextHighestPowerOfTwo(v-d));var g=r.nextHighestPowerOfTwo(o.pt2px(e.height/x*p||0));g>255?g=255:g<=0&&(g=r.nextHighestPowerOfTwo(P-w));var T=o.pt2px(e.offsetX||0)+128;T>255&&(T=255);var m=o.pt2px(-e.offsetY||0)+128;m>255&&(m=255);var I=e.scaleX||1;return new t(h,i,u,f.i1616to32(w,d),f.i1616to32(P,v),f.i8888to32(g,y,T,m),f.i1616to32(128*I,128),f.i8888to32(0,0,n.degToByte(e.angle),e.colorLocked?1:0),e.effects)},t.fromSimpleFill=function(e,i,o){void 0===o&&(o=!1);var n=e.color,s=n&&\"esriSFSNull\"!==e.style&&l.premultiplyAlphaRGBAArray(n)||0,u=f.i8888to32(0,0,0,o?255:0),h=e.materialKey;if(!i)return new t(h,null,s,0,0,0,0,u,null);var c=i.rect,p=i.width,x=i.height,w=c.x+a.SPRITE_PADDING,d=c.y+a.SPRITE_PADDING,P=w+p,v=d+x;return new t(h,i,s,f.i1616to32(w,d),f.i1616to32(P,v),f.i8888to32(r.nextHighestPowerOfTwo(P-w),r.nextHighestPowerOfTwo(v-d),0,0),f.i1616to32(128,128),u,null)},t.fromPictureFill=function(e,i,l){void 0===l&&(l=!1);var n=a.PICTURE_FILL_COLOR,s=i.rect,u=i.width,h=i.height,c=s.x+a.SPRITE_PADDING,p=s.y+a.SPRITE_PADDING,x=c+u,w=p+h,d=f.i1616to32(c,p),P=f.i1616to32(x,w),v=r.nextHighestPowerOfTwo(o.pt2px(e.width));v>255&&(v=255);var y=r.nextHighestPowerOfTwo(o.pt2px(e.height));y>255&&(y=255);var g=o.pt2px(e.xoffset)+128;g>255&&(g=255);var T=o.pt2px(-e.yoffset)+128;T>255&&(T=255);var m=f.i8888to32(v,y,g,T),I=f.i1616to32(128*e.xscale,128*e.yscale),_=f.i8888to32(0,0,0,l?255:0);return new t(e.materialKey,i,n,d,P,m,I,_,null)},t}(u.default(h.default));t.default=c}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../../../../../core/maybe\",\"./util\"],(function(t,e,n,r){\"use strict\";function i(t,e){return t[e+1]}function s(t){return t.length-1}function o(t){for(var e=0,n=0;nt._index||this._index===t._index&&this._distance>=t._distance},Object.defineProperty(t.prototype,\"_segment\",{get:function(){return this._segments[this._index+1]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"angle\",{get:function(){var t=this.dy,e=(0*t+-1*-this.dx)/(1*this.length),n=Math.acos(e);return t>0&&(n=2*Math.PI-n),n},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"xStart\",{get:function(){return this._xStart},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"yStart\",{get:function(){return this._yStart},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"x\",{get:function(){return this.xStart+this.distance*this.dx},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"y\",{get:function(){return this.yStart+this.distance*this.dy},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"dx\",{get:function(){return this._segment[0]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"dy\",{get:function(){return this._segment[1]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"xMidpoint\",{get:function(){return this.xStart+.5*this.dx},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"yMidpoint\",{get:function(){return this.yStart+.5*this.dy},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"xEnd\",{get:function(){return this.xStart+this.dx},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"yEnd\",{get:function(){return this.yStart+this.dy},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"length\",{get:function(){var t=this.dx,e=this.dy;return Math.sqrt(t*t+e*e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"remainingLength\",{get:function(){return this.length*(1-this._distance)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"backwardLength\",{get:function(){return this.length*this._distance},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"distance\",{get:function(){return this._distance},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"done\",{get:function(){return this._done},enumerable:!1,configurable:!0}),t.prototype.hasPrev=function(){return this._index-1>=0},t.prototype.hasNext=function(){return this._index+1t)return this._seekBackwards(t-r);r+=this.length}return this._distance=0,e?this:null},t.prototype.seek=function(t,e){if(void 0===e&&(e=!1),t<0)return this._seekBackwards(Math.abs(t),e);if(t<=this.remainingLength)return this._distance=(this.backwardLength+t)/this.length,this;for(var n=this.remainingLength;this.next();){if(n+this.length>t)return this.seek(t-n,e);n+=this.length}return this._distance=1,e?this:null},t}();function u(t,e){if(!(e<=0)){var n=t.length;if(!(n<3)){var i=[],s=0;i.push(0);for(var o=1;o=0&&!(i[l+1]i[o]+d);l++){y=d-i[l-1]+i[o],b=i[l]-i[l-1],_=i[l]-i[o]=0&&i.y<512&&i.y>=0&&n(i.clone(),d,s+d*e,r),i.seek(e)},e.pathSubdivide=function(t,e,r){!function t(e,r,i,s,o){if(i=l.min,f=this._isMaxInclusive?a<=l.max:a\"===e.value?c.setNullResult(a):c.add(e.value,a),[2]}}))}))})))];case 2:return p.sent(),[4,l.expandSymbol(e.defaultSymbol,i)];case 3:return(f=p.sent())?[4,n.createTemplateGroup(f,u)]:[3,5];case 4:d=p.sent(),c.setDefault(d),p.label=5;case 5:return[2,c]}}))}))},t.prototype.setNullResult=function(e){this._nullResult=e},t.prototype.add=function(e,t){this._resultsMap.set(e.toString(),t)},t.prototype.size=function(){return e.prototype.size.call(this)+this._resultsMap.size},t.prototype.match=function(e,t,r,n,i){if(null==this._fieldsIndex&&!this._fields)return this.getDefault();var a=null!=this._fieldsIndex?t.getComputedStringAtIndex(this._fieldsIndex):this._getValueFromFields(t);if(null!==this._nullResult&&(null==a||\"\"===a||\"\"===a))return this._nullResult;if(!a&&null==a)return this.getDefault();var s=a.toString();return this._resultsMap.has(s)?this._resultsMap.get(s):this.getDefault()},t.prototype._getValueFromFields=function(e){for(var t=[],r=0,n=this._fields;r-1&&(i.text=u.createLabelOverrideFunction(v._fieldMap,i.text,i.cim.textCase))}return v._templates.createTemplateGroup(e,null)})),this._groupIdCache.put(c,y,1),[2,y]}}))}))},i.prototype.analyze=function(e,t,n,i,a){return r.__awaiter(this,void 0,void 0,(function(){var e,o;return r.__generator(this,(function(r){for(e=t.getCursor(),o=[];e.next();)o.push(this._analyzeFeature(e,n,i,a));return[2,s.all(o)]}))}))},i.prototype.match=function(e,t,r,n,i){return null},i.prototype._attributeHash=function(e){for(var t=\"\",r=0,n=this._symbolFields;r255&&(l=255);i._dynamicPropertyMap.set(\"_offsetX\",(function(t,i,r){if(c.isFunction(e.offsetX)){var n=a.pt2px(e.offsetX(t,i,r))+128;return n>255&&(n=255),n}return l}));var u=1;c.isFunction(e.scaleX)||(u=e.scaleX||1);i._dynamicPropertyMap.set(\"_scaleX\",(function(t,i,r){return c.isFunction(e.scaleX)?e.scaleX(t,i,r):u}));var h=0;c.isFunction(e.offsetY)||(h=a.pt2px(-e.offsetY||0)+128)>255&&(h=255);i._dynamicPropertyMap.set(\"_offsetY\",(function(t,i,r){if(c.isFunction(e.offsetY)){var n=a.pt2px(-e.offsetY(t,i,r))+128;return n>255&&(n=255),n}return h}));var p=0;c.isFunction(e.angle)||(p=o.radToByte(e.angle)||0);return i._dynamicPropertyMap.set(\"_angle\",(function(t,i,r){return c.isFunction(e.angle)?o.radToByte(e.angle(t,i,r)):p})),i.effects=e.effects,i._cimFillLayer=e,i._fillMaterialKey=f.FillMaterialKey.load(e.materialKey),i}return i.__extends(e,t),e.fromCIMFill=function(t){return new e(t)},e.prototype.bindFeature=function(t,e,i){var n=this,o=t.readLegacyFeature();this._dynamicPropertyMap.forEach((function(t,r){n[r]=t(o,e,i)}));var f=this._fillMaterialKey,c=this._materialCache,u=this._cimFillLayer;this.aux3=l.i8888to32(0,0,this._angle,u.colorLocked?1:0);var h=(0,u.materialHash)(o,e,i),y=c.get(h),_=null;if(y&&p.ok(y.spriteMosaicItem)&&(_=y.spriteMosaicItem),_){var d=_.rect,m=_.width,g=_.height,x=d.x+s.SPRITE_PADDING,v=d.y+s.SPRITE_PADDING,F=x+m,M=v+g,P=r.nextHighestPowerOfTwo(a.pt2px(this._height));P>255?P=255:P<=0&&(P=r.nextHighestPowerOfTwo(M-v));var X=r.nextHighestPowerOfTwo(a.pt2px(this._height/g*m||0));X>255?X=255:X<=0&&(X=r.nextHighestPowerOfTwo(F-x));var w=this._scaleX;this.tl=l.i1616to32(x,v),this.br=l.i1616to32(F,M),this.aux1=l.i8888to32(X,P,this._offsetX,this._offsetY),this.aux2=l.i1616to32(128*w,128),f.sdf=_.sdf,f.pattern=!0,f.textureBinding=_.textureBinding}else this.tl=0,this.br=0,this.aux1=0,this.aux2=0,f.sdf=!1,f.pattern=!1,f.textureBinding=0;this._materialKey=f.data},e}(u.default(h.default));e.default=y}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"./definitions\",\"./Geometry\",\"./GeometryUtils\"],(function(i,t,s,h,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.SimpleBuilder=t.TileClipper=void 0;var e=function(i,t,s){this.ratio=i,this.x=t,this.y=s},l=function(){function i(i,t,h,n,e){void 0===n&&(n=8),void 0===e&&(e=8),this.lines=[],this.starts=[],this.pixelRatio=n,this.pixelMargin=e,this.tileSize=s.TILE_SIZE*n,this.dz=i,this.yPos=t,this.xPos=h}return i.prototype.setExtent=function(i){this.finalRatio=this.tileSize/i*(1<>this.dz;t>s&&(t=s),this.margin=t,this.xmin=s*this.xPos-t,this.ymin=s*this.yPos-t,this.xmax=this.xmin+s+2*t,this.ymax=this.ymin+s+2*t},i.prototype.reset=function(i){this.type=i,this.lines=[],this.starts=[],this.line=null,this.start=0},i.prototype.moveTo=function(i,t){this._pushLine(),this._prevIsIn=this._isIn(i,t),this._moveTo(i,t,this._prevIsIn),this._prevPt=new h.Point(i,t),this._firstPt=new h.Point(i,t),this._dist=0},i.prototype.lineTo=function(i,t){var s,n,l,x,a,r,y,o,p=this._isIn(i,t),u=new h.Point(i,t),m=h.Point.distance(this._prevPt,u);if(p)this._prevIsIn?this._lineTo(i,t,!0):(s=this._prevPt,n=u,l=this._intersect(n,s),this.start=this._dist+m*(1-this._r),this._lineTo(l.x,l.y,!0),this._lineTo(n.x,n.y,!0));else if(this._prevIsIn)n=this._prevPt,s=u,l=this._intersect(n,s),this._lineTo(l.x,l.y,!0),this._lineTo(s.x,s.y,!1);else{var _=this._prevPt,f=u;if(_.x<=this.xmin&&f.x<=this.xmin||_.x>=this.xmax&&f.x>=this.xmax||_.y<=this.ymin&&f.y<=this.ymin||_.y>=this.ymax&&f.y>=this.ymax)this._lineTo(f.x,f.y,!1);else{var v=[];if((_.xthis.xmin||_.x>this.xmin&&f.x=this.ymax?r=!0:v.push(new e(x,this.xmin,o))),(_.xthis.xmax||_.x>this.xmax&&f.x=this.ymax?r=!0:v.push(new e(x,this.xmax,o))),(_.ythis.ymin||_.y>this.ymin&&f.y=this.xmax?a=!0:v.push(new e(x,y,this.ymin))),(_.ythis.ymax||_.y>this.ymax&&f.y=this.xmax?a=!0:v.push(new e(x,y,this.ymax))),0===v.length)a?r?this._lineTo(this.xmax,this.ymax,!0):this._lineTo(this.xmax,this.ymin,!0):r?this._lineTo(this.xmin,this.ymax,!0):this._lineTo(this.xmin,this.ymin,!0);else if(v.length>1&&v[0].ratio>v[1].ratio)this.start=this._dist+m*v[1].ratio,this._lineTo(v[1].x,v[1].y,!0),this._lineTo(v[0].x,v[0].y,!0);else{this.start=this._dist+m*v[0].ratio;for(var c=0;c2){var i=this._firstPt,t=this._prevPt;i.x===t.x&&i.y===t.y||this.lineTo(i.x,i.y);for(var s=this.line,h=s.length;h>=4&&(s[0].x===s[1].x&&s[0].x===s[h-2].x||s[0].y===s[1].y&&s[0].y===s[h-2].y);)s.pop(),s[0].x=s[h-2].x,s[0].y=s[h-2].y,--h}},i.prototype.result=function(i){return void 0===i&&(i=!0),this._pushLine(),0===this.lines.length?null:(3===this.type&&i&&a.simplify(this.tileSize,this.margin*this.finalRatio,this.lines),this.lines)},i.prototype.resultWithStarts=function(){if(2!==this.type)throw new Error(\"Only valid for lines\");this._pushLine();var i=this.lines,t=i.length;if(0===t)return null;for(var s=[],h=0;h=this.xmin&&i<=this.xmax&&t>=this.ymin&&t<=this.ymax},i.prototype._intersect=function(i,t){var s,n,e;if(t.x>=this.xmin&&t.x<=this.xmax)e=((n=t.y<=this.ymin?this.ymin:this.ymax)-i.y)/(t.y-i.y),s=i.x+e*(t.x-i.x);else if(t.y>=this.ymin&&t.y<=this.ymax)e=((s=t.x<=this.xmin?this.xmin:this.xmax)-i.x)/(t.x-i.x),n=i.y+e*(t.y-i.y);else{n=t.y<=this.ymin?this.ymin:this.ymax;var l=((s=t.x<=this.xmin?this.xmin:this.xmax)-i.x)/(t.x-i.x),x=(n-i.y)/(t.y-i.y);l0&&(this.lines.push(this.line),this.starts.push(this.start)):2===this.type?this.line.length>1&&(this.lines.push(this.line),this.starts.push(this.start)):3===this.type&&this.line.length>3&&(this.lines.push(this.line),this.starts.push(this.start))),this.line=[],this.start=0},i.prototype._moveTo=function(i,t,s){3!==this.type?s&&(i=Math.round((i-(this.xmin+this.margin))*this.finalRatio),t=Math.round((t-(this.ymin+this.margin))*this.finalRatio),this.line.push(new h.Point(i,t))):(s||(ithis.xmax&&(i=this.xmax),tthis.ymax&&(t=this.ymax)),i=Math.round((i-(this.xmin+this.margin))*this.finalRatio),t=Math.round((t-(this.ymin+this.margin))*this.finalRatio),this.line.push(new h.Point(i,t)),this._is_h=!1,this._is_v=!1)},i.prototype._lineTo=function(i,t,s){var n,e;if(3!==this.type)if(s){if(i=Math.round((i-(this.xmin+this.margin))*this.finalRatio),t=Math.round((t-(this.ymin+this.margin))*this.finalRatio),this.line.length>0&&(n=this.line[this.line.length-1]).equals(i,t))return;this.line.push(new h.Point(i,t))}else this.line&&this.line.length>0&&this._pushLine();else if(s||(ithis.xmax&&(i=this.xmax),tthis.ymax&&(t=this.ymax)),i=Math.round((i-(this.xmin+this.margin))*this.finalRatio),t=Math.round((t-(this.ymin+this.margin))*this.finalRatio),this.line&&this.line.length>0){var l=(n=this.line[this.line.length-1]).x===i,x=n.y===t;if(l&&x)return;this._is_h&&l?(n.x=i,n.y=t,(e=this.line[this.line.length-2]).x===i&&e.y===t?(this.line.pop(),this.line.length<=1?(this._is_h=!1,this._is_v=!1):(e=this.line[this.line.length-2],this._is_h=e.x===i,this._is_v=e.y===t)):(this._is_h=e.x===i,this._is_v=e.y===t)):this._is_v&&x?(n.x=i,n.y=t,(e=this.line[this.line.length-2]).x===i&&e.y===t?(this.line.pop(),this.line.length<=1?(this._is_h=!1,this._is_v=!1):(e=this.line[this.line.length-2],this._is_h=e.x===i,this._is_v=e.y===t)):(this._is_h=e.x===i,this._is_v=e.y===t)):(this.line.push(new h.Point(i,t)),this._is_h=l,this._is_v=x)}else this.line.push(new h.Point(i,t))},i}();t.TileClipper=l;var x=function(){function i(){}return i.prototype.setExtent=function(i){this._ratio=4096===i?1:4096/i},i.prototype.reset=function(i){this.type=i,this.lines=[],this.line=null},i.prototype.moveTo=function(i,t){this.line&&this.lines.push(this.line),this.line=[];var s=this._ratio;this.line.push(new h.Point(Math.round(i*s),Math.round(t*s)))},i.prototype.lineTo=function(i,t){var s=this._ratio;this.line.push(new h.Point(Math.round(i*s),Math.round(t*s)))},i.prototype.close=function(){var i=this.line;i&&!i[0].isEqual(i[i.length-1])&&i.push(i[0])},i.prototype.result=function(){return this.line&&this.lines.push(this.line),0===this.lines.length?null:(3===this.type&&1!==this._ratio&&a.simplify(4096,64,this.lines),this.lines)},i}();t.SimpleBuilder=x;var a=function(){function i(){}return i.simplify=function(t,s,h){if(h){for(var n=-s,e=t+s,l=-s,x=t+s,a=[],r=[],y=h.length,o=0;om.y?(a.push(o),a.push(f),a.push(0),a.push(-1)):(r.push(o),r.push(f),r.push(0),r.push(-1))),u.x>=e&&(u.y=x&&(u.x>m.x?(a.push(o),a.push(f),a.push(3),a.push(-1)):(r.push(o),r.push(f),r.push(3),r.push(-1)))),u=m}if(0!==a.length&&0!==r.length){i.fillParent(h,r,a),i.fillParent(h,a,r);var v=[];i.calcDeltas(v,r,a),i.calcDeltas(v,a,r),i.addDeltas(v,h)}}},i.fillParent=function(i,t,s){for(var h=s.length,e=t.length,l=0;l1&&n[l-2]===e?0:(n.push(e),i.calcDelta(e,h,s,n)+1)},i.addDeltas=function(i,t){for(var s=i.length,h=0,n=0;nh&&(h=x)}for(n=0;n0,i=\"esriGeometryPolyline\"===this._geometryType?s.HEURISTIC_GLYPHS_PER_LINE:s.HEURISTIC_GLYPHS_PER_FEATURE;return t[n.WGLGeometryType.MARKER]=new p.VertexVectors(n.WGLGeometryType.MARKER,4*e),t[n.WGLGeometryType.FILL]=new p.VertexVectors(n.WGLGeometryType.FILL,e,this._isDD),t[n.WGLGeometryType.LINE]=new p.VertexVectors(n.WGLGeometryType.LINE,e),t[n.WGLGeometryType.TEXT]=new p.VertexVectors(n.WGLGeometryType.TEXT,4*e),t[n.WGLGeometryType.LABEL]=new p.VertexVectors(n.WGLGeometryType.LABEL,r?4*i:0),new l.MeshData(t,{features:e,records:e,metrics:0})},e.prototype.analyze=function(e,t,i,a,s){return r.__awaiter(this,void 0,void 0,(function(){var n,l,p,y,m,c,h;return r.__generator(this,(function(r){switch(r.label){case 0:return o.isAborted(s)?[2]:\"dictionary\"!==t.type?[3,2]:[4,t.analyze(this._idField,e.copy(),i,a,s)];case 1:n=r.sent(),r.label=2;case 2:for(l=0;e.next();)if(p=void 0,p=n?n[l++]:t.match(this._idField,e,this._geometryType,i,a),e.setGroupId(p),u.isDynamicId(p))for(y=this._templateStore.getDynamicTemplateGroup(p),m=0,c=y;mu||a<-16||a>u){i=!0;continue}n.push({x:l,y:a})}for(var h=!1,c=s.length,p=1;pu||a<-16||a>u){h=!0;break}n.push({x:l,y:a})}if(h)i=!0;else{if(i){var _=f.resultWithStarts();if(_)for(var d=0,y=_;d=this._rowsLength||r<0||r>=this._colsLength||this._grid[r*this._colsLength+e]>=this._elementsPerBucket},t.prototype.markUsed=function(t,i){var e=Math.floor(t/this._bucketSize),r=Math.floor(i/this._bucketSize);this._grid[r*this._colsLength+e]+=1},t.prototype.reset=function(){this._grid=this._initGrid()},t.prototype._initGrid=function(){return new Uint8Array(this._rowsLength*this._colsLength)},t}();i.CollisionGrid=r}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\"],(function(_,e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.between=e.interpolate=e.sqr=e.log2=e.degToByte=e.radToByte=e.positiveMod=e.C_SQRT2_INV=e.C_SQRT2=e.C_DEG_TO_RAD=e.C_DEG_TO_256=e.C_256_TO_RAD=e.C_RAD_TO_256=e.C_PI_BY_2=e.C_2PI=e.C_PI=e.C_INFINITY=void 0,e.C_INFINITY=Number.POSITIVE_INFINITY,e.C_PI=Math.PI,e.C_2PI=2*e.C_PI,e.C_PI_BY_2=e.C_PI/2,e.C_RAD_TO_256=128/e.C_PI,e.C_256_TO_RAD=e.C_PI/128,e.C_DEG_TO_256=256/360,e.C_DEG_TO_RAD=e.C_PI/180,e.C_SQRT2=1.414213562,e.C_SQRT2_INV=1/e.C_SQRT2;var t=1/Math.LN2;function n(_,e){return(_%=e)>=0?_:_+e}e.positiveMod=n,e.radToByte=function(_){return n(_*e.C_RAD_TO_256,256)},e.degToByte=function(_){return n(_*e.C_DEG_TO_256,256)},e.log2=function(_){return Math.log(_)*t},e.sqr=function(_){return _*_},e.interpolate=function(_,e,t){return _*(1-t)+e*t},e.between=function(_,e,t){return _>=e&&_<=t||_>=t&&_<=e}}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../../../../core/maybe\",\"../../../../../../core/screenUtils\",\"../../../../../../core/libs/gl-matrix-2/mat2d\",\"../../../../../../core/libs/gl-matrix-2/mat2df32\",\"../../../../../../core/libs/gl-matrix-2/vec2\",\"../../../../../../core/libs/gl-matrix-2/vec2f32\",\"../../../../../../layers/graphics/featureConversionUtils\",\"../../../../../../symbols/cim/placements/CIMMarkerPlacementHelper\",\"../../enums\",\"../../number\"],(function(t,e,s,i,r,o,h,n,a,p,u,l,c){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});e.default=function(t){return function(t){function e(){for(var e=[],s=0;s=-128&&_.tx<=640&&_.ty>=-128&&_.ty<=640&&(this._applyTransformation(c,l,_.getAngle()/(3.14159265359/180)),this._writeVertices(t,o,this._getPos(_.tx,_.ty)),this._writeIndices(e,s+f),f+=4),_=p.next()},e.prototype._getPos=function(t,e){return c.i1616to32(Math.round(8*t),Math.round(8*e))},e.prototype._writeVertices=function(t,e,s){t.push(s),t.push(this._offsetUpperLeft),t.push(this._texUpperLeft),t.push(this._bitestAndDistRatio),t.push(e),t.push(this._fillColor),t.push(this._outlineColor),t.push(this._sizeOutlineWidth),t.push(s),t.push(this._offsetUpperRight),t.push(this._texUpperRight),t.push(this._bitestAndDistRatio),t.push(e),t.push(this._fillColor),t.push(this._outlineColor),t.push(this._sizeOutlineWidth),t.push(s),t.push(this._offsetBottomLeft),t.push(this._texBottomLeft),t.push(this._bitestAndDistRatio),t.push(e),t.push(this._fillColor),t.push(this._outlineColor),t.push(this._sizeOutlineWidth),t.push(s),t.push(this._offsetBottomRight),t.push(this._texBottomRight),t.push(this._bitestAndDistRatio),t.push(e),t.push(this._fillColor),t.push(this._outlineColor),t.push(this._sizeOutlineWidth)},e.prototype._writeIndices=function(t,e){var s=e;t.push(s+0),t.push(s+1),t.push(s+2),t.push(s+1),t.push(s+3),t.push(s+2)},e}(t)}}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../symbols\",\"../../core/promiseUtils\",\"./cimAnalyzer\",\"./ExpandedCIM\"],(function(e,n,r,t,a,i,o){\"use strict\";Object.defineProperty(n,\"__esModule\",{value:!0}),n.expandSymbol=n.expandSymbols=void 0,n.expandSymbols=function(e,t,i){return r.__awaiter(void 0,void 0,void 0,(function(){return r.__generator(this,(function(r){return[2,a.all(e.map((function(e){return n.expandSymbol(e,t,i)})))]}))}))};var d=function(e,n){return r.__awaiter(void 0,void 0,void 0,(function(){var t;return r.__generator(this,(function(r){switch(r.label){case 0:return t=o.ExpandedCIM.bind,[4,i.analyzeCIMSymbol(e.data,n)];case 1:return[2,new(t.apply(o.ExpandedCIM,[void 0,r.sent(),e.data,e.rendererKey]))]}}))}))};n.expandSymbol=function(e,n,a){return r.__awaiter(void 0,void 0,void 0,(function(){var i,o;return r.__generator(this,(function(r){switch(r.label){case 0:return e?\"cim\"===e.type?[2,d(e,n)]:\"web-style\"!==e.type?[3,2]:(i=t.WebStyleSymbol.fromJSON(e),o={type:\"cim\"},[4,i.fetchCIMSymbol(a)]):[2,null];case 1:return o.data=r.sent().data,o.rendererKey=e.rendererKey,[2,d(o,n)];case 2:return[2,e]}}))}))}}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"./WGLDisplayRecord\",\"./collisions/Metric\",\"./util/serializationUtils\"],(function(i,t,e,s,r){\"use strict\";return function(){function i(i){this.insertAfter=null,this.id=i,this.displayRecords=[],this.metrics=[]}return i.prototype.copy=function(){var t=new i(this.id);return t.set(this),t},i.prototype.clone=function(){var t=new i(this.id);return t.displayRecords=this.displayRecords.map((function(i){return i.clone()})),t.metrics=this.metrics.map((function(i){return i.clone()})),t.insertAfter=this.insertAfter,t},i.prototype.set=function(i){this.id=i.id,this.displayRecords=i.displayRecords,this.metrics=i.metrics,this.insertAfter=i.insertAfter},i.prototype.serialize=function(i){return i.push(this.id),r.serializeList(i,this.metrics),r.serializeList(i,this.displayRecords),i},i.deserialize=function(t){var n=t.readInt32(),o=new i(n),c={id:n},d=r.deserializeList(t,s.default);return d.length&&(o.metrics=d),o.displayRecords=r.deserializeList(t,e,c),o},i}()}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../../../../core/Error\",\"../../../../../../core/Logger\",\"../../util/Matcher\"],(function(e,r,t,n,a,i){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.createMatcher=void 0;var c=a.getLogger(\"esri/views/2d/engine/webgl/mesh/factories/matcherUtils\");r.createMatcher=function(e,r,a){return t.__awaiter(this,void 0,void 0,(function(){return t.__generator(this,(function(t){switch(e.type){case\"simple\":return[2,i.FeatureMatcher.fromBasicRenderer(e,r,a)];case\"map\":return[2,i.MapMatcher.fromUVRenderer(e,r,a)];case\"interval\":return[2,i.IntervalMatcher.fromCBRenderer(e,r,a)];case\"dictionary\":return[2,i.DictionaryMatcher.fromDictionaryRenderer(e,r,a)];default:return c.error(new n(\"mapview-mesh:invalid-renderer\",\"Unable to handle unknown renderer type\")),[2,null]}return[2]}))}))}}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../../../../core/screenUtils\",\"../../color\",\"../../definitions\",\"../../number\",\"../../materialKey/MaterialKey\",\"./util\",\"./WGLBaseLineTemplate\",\"./WGLDynamicMeshTemplate\",\"../../util/Result\"],(function(t,e,i,r,s,a,o,n,l,c,h,p){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var _=function(t){function e(e){var i=t.call(this,e)||this;i._cimLineLayer=e;var a=0;l.isFunction(e.width)||(a=.5*r.pt2px(e.width));if(i._dynamicPropertyMap.set(\"_halfWidth\",(function(t,i,s){return l.isFunction(e.width)?.5*r.pt2px(e.width(t,i,s)):a})),l.isFunction(e.cap)?i._dynamicPropertyMap.set(\"_capType\",e.cap):i._capType=e.cap,l.isFunction(e.join)?i._dynamicPropertyMap.set(\"_joinType\",e.join):i._joinType=e.join,l.isFunction(e.color)){i._dynamicPropertyMap.set(\"_fillColor\",(function(t,i,r){var a=e.color(t,i,r);return a&&s.premultiplyAlphaRGBA(a)||0}))}else{var o=e.color;i._fillColor=o&&s.premultiplyAlphaRGBA(o)||0}if(l.isFunction(e.miterLimit)){i._dynamicPropertyMap.set(\"_miterLimitCosine\",(function(t,i,r){return l.getLimitCosine(e.miterLimit(t,i,r))}))}else i._miterLimitCosine=l.getLimitCosine(e.miterLimit);return i._scaleFactor=e.scaleFactor||1,i._isDashed=e.isDashed,i.effects=e.effects,i.tessellationProperties._bitset=e.colorLocked?1:0,i._materialKey=e.materialKey,i._initializeTessellator(!0),i}return i.__extends(e,t),e.fromCIMLine=function(t){return new e(t)},e.prototype.bindFeature=function(t,e,i){var r=this,s=t.readLegacyFeature();this._dynamicPropertyMap.forEach((function(t,a){r[a]=t(s,e,i)})),this._halfWidth*=this._scaleFactor;var l=this._materialCache,c=(0,this._cimLineLayer.materialHash)(s,e,i),h=l.get(c),_=null;if(h&&p.ok(h.spriteMosaicItem)&&(_=h.spriteMosaicItem),_){this._hasPattern=!0;var u=_.rect,f=_.width,d=_.height,m=u.x+a.SPRITE_PADDING,y=u.y+a.SPRITE_PADDING,P=m+f,L=y+d;this.tessellationProperties._tl=o.i1616to32(m,y),this.tessellationProperties._br=o.i1616to32(P,L)}else this._hasPattern=!1,this.tessellationProperties._tl=0,this.tessellationProperties._br=0;this.tessellationProperties._fillColor=this._fillColor,this.tessellationProperties._halfWidth=this._halfWidth,this.tessellationProperties._halfReferenceWidth=this.tessellationProperties._halfWidth;var M=n.LineMaterialKey.load(this._materialKey);_&&(M.sdf=_.sdf,M.pattern=!0,M.textureBinding=_.textureBinding),this._materialKey=M.data},e}(c.default(h.default));e.default=_}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../WGLDisplayObject\",\"../WGLDisplayRecord\",\"../collisions/Metric\",\"../util/Reader\",\"../util/serializationUtils\",\"../util/Writer\"],(function(t,e,s,r,i,u,c,f){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.MeshData=void 0;var a=function(){function t(t,e){this.vertexVectorsMap=t,this._currentIndex=-1,this._currentRecordOffset=0,this._currentMetricOffset=0;var s=4*(4*e.features+1),r=4*(8*e.records+1),i=4*(20*e.metrics+1);this._bufDisplayObjects=new f.default(Uint32Array,s+4),this._bufDisplayRecords=new f.default(Uint32Array,r+4),this._bufMetrics=new f.default(Uint32Array,i+4),this._bufDisplayObjects.push(0),this._bufDisplayRecords.push(0),this._bufMetrics.push(0)}return Object.defineProperty(t.prototype,\"vertexBuffersMap\",{get:function(){if(!this._vertexBuffersMap){this._vertexBuffersMap={};for(var t=0;t=t)&&(!e.maxScale||e.maxScale<=t)}(t,e.scale)}))}));if(s.isNone(o)||0===o.length)return null;for(var i=new Map,n=new p.CollisionGrid(d.COLLISION_EARLY_REJECT_BUCKET_SIZE),a=t.getCursor(),c=function(){var e=a.getDisplayId();if(l._shouldDiscard(n,a))return i.has(e)||i.set(e,null),\"continue\";for(var t=!1,r=[],s=v.isAggregateId(e),c=s&&1!==a.readAttribute(\"cluster_count\")?\"aggregate\":\"feature\",u=function(o){if(o.target!==c)return\"continue\";var i=a.getStorage(),n=s&&\"feature\"===c?i.getComputedStringAtIndex(a.readAttribute(\"referenceId\"),o.fieldIndex):i.getComputedStringAtIndex(e,o.fieldIndex);if(!n)return\"continue\";var u=g.bidiText(n.toString()),d=u[0],p=u[1];l._store.getMosaicItem(o.symbol,m.codepoints(d)).then((function(e){r[o.index]={glyphs:e.glyphMosaicItems,rtl:p,index:o.index}})),t=!0},d=0,p=o;do.COLLISION_MAX_ZOOM_DELTA||!i&&!s?e:i&&s?this._boxesToBoxes(t):i?this._boxesToBox(t):this._boxToBoxes(t)},t.prototype.computeVVOffset=function(t,e){e||r.error(\"mapview-labeling\",\"Unable to compute label offset. Expected an evaluator function but found \"+e);var i=this.size;if(this.hasVV){var s=e(t);i=isNaN(s)||null==s||s===1/0?this.size:s}this._computeOffset(i)},t.prototype.setPlacementOffset=function(t,e,i,s,o){this.hasVV=t,this.size=e,this.placementPadding=Math.round(i),this.directionX=s,this.directionY=o},t.prototype.clone=function(){var e=new t(this.id,this.range,this.anchor[0],this.anchor[1],this.baseZoom);return e.minZoom=this.minZoom,this.bounds&&(e.bounds=this.bounds.clone()),this.boxes&&(e.boxes=this.boxes.map((function(t){return t.clone()}))),e.xBucket=this.xBucket,e.yBucket=this.yBucket,e.xOverflow=this.xOverflow,e.yOverflow=this.yOverflow,e.hasVV=this.hasVV,e.size=this.size,e.directionX=this.directionX,e.directionY=this.directionY,e.offsetX=this.offsetX,e.offsetY=this.offsetY,e},t.prototype._boxToBoxes=function(t){for(var e=-1/0,i=0,s=t.boxes;i0)for(var o=t;o=t;o-=i)y=v(o+n*i,e[o+n*i],e[o+1+n*i],y);return y&&h(y,y.next)&&(f(y),y=y.next),y}function t(e,n){if(void 0===n&&(n=e),!e)return e;var r,t=e;do{if(r=!1,t.steiner||!h(t,t.next)&&0!==p(t.prev,t,t.next))t=t.next;else{if(f(t),(t=n=t.prev)===t.next)break;r=!0}}while(r||t!==n);return n}function x(e,n,r,v,y,o,p,a){if(e){!a&&o&&(e=function e(n,r,t,x){for(var i=void 0;i!==n;i=i.next){if(null===(i=i||n).z&&(i.z=d(i.x,i.y,r,t,x)),i.prev.next!==i||i.next.prev!==i)return i.prev.next=i,i.next.prev=i,e(n,r,t,x);i.prevZ=i.prev,i.nextZ=i.next}return n.prevZ.nextZ=null,n.prevZ=null,function(e){var n,r=1;for(;;){var t=e,x=void 0;e=null,n=null;for(var i=0;t;){i++,x=t;for(var u=0;u0||v>0&&x;){var f=void 0;0===u?(f=x,x=x.nextZ,v--):0!==v&&x?t.z<=x.z?(f=t,t=t.nextZ,u--):(f=x,x=x.nextZ,v--):(f=t,t=t.nextZ,u--),n?n.nextZ=f:e=f,f.prevZ=n,n=f}t=x}if(n.nextZ=null,r*=2,i<2)return e}}(n)}(e,v,y,o));for(var l=e;e.prev!==e.next;){var c=e.prev,h=e.next;if(o?u(e,v,y,o):i(e))n.push(c.index/r+p),n.push(e.index/r+p),n.push(h.index/r+p),f(e),e=h.next,l=h.next;else if((e=h)===l){a?1===a?x(e=s(e,n,r,p),n,r,v,y,o,p,2):2===a&&w(e,n,r,v,y,o,p):x(t(e),n,r,v,y,o,p,1);break}}}}function i(e){var n=e.prev,r=e,t=e.next;if(p(n,r,t)>=0)return!1;for(var x=e.next.next,i=x,u=0;x!==e.prev&&(0===u||x!==i);){if(u++,l(n.x,n.y,r.x,r.y,t.x,t.y,x.x,x.y)&&p(x.prev,x,x.next)>=0)return!1;x=x.next}return!0}function u(e,n,r,t){var x=e.prev,i=e,u=e.next;if(p(x,i,u)>=0)return!1;for(var v=x.xi.x?x.x>u.x?x.x:u.x:i.x>u.x?i.x:u.x,o=x.y>i.y?x.y>u.y?x.y:u.y:i.y>u.y?i.y:u.y,a=d(v,f,n,r,t),c=d(y,o,n,r,t),h=e.prevZ,Z=e.nextZ;h&&h.z>=a&&Z&&Z.z<=c;){if(h!==e.prev&&h!==e.next&&l(x.x,x.y,i.x,i.y,u.x,u.y,h.x,h.y)&&p(h.prev,h,h.next)>=0)return!1;if(h=h.prevZ,Z!==e.prev&&Z!==e.next&&l(x.x,x.y,i.x,i.y,u.x,u.y,Z.x,Z.y)&&p(Z.prev,Z,Z.next)>=0)return!1;Z=Z.nextZ}for(;h&&h.z>=a;){if(h!==e.prev&&h!==e.next&&l(x.x,x.y,i.x,i.y,u.x,u.y,h.x,h.y)&&p(h.prev,h,h.next)>=0)return!1;h=h.prevZ}for(;Z&&Z.z<=c;){if(Z!==e.prev&&Z!==e.next&&l(x.x,x.y,i.x,i.y,u.x,u.y,Z.x,Z.y)&&p(Z.prev,Z,Z.next)>=0)return!1;Z=Z.nextZ}return!0}function v(e,n,r,t){var x=b.create(e,n,r);return t?(x.next=t.next,x.prev=t,t.next.prev=x,t.next=x):(x.prev=x,x.next=x),x}function f(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function y(e){var n=e,r=e;do{(n.x=t.next.y&&t.next.y!==t.y){var v=t.x+(i-t.y)*(t.next.x-t.x)/(t.next.y-t.y);if(v<=x&&v>u){if(u=v,v===x){if(i===t.y)return t;if(i===t.next.y)return t.next}r=t.x=t.x&&t.x>=o&&x!==t.x&&l(ir.x)&&c(t,e)&&(r=t,a=f),t=t.next;return r}(e,n)){var r=M(n,e);t(r,r.next)}}function p(e,n,r){return(n.y-e.y)*(r.x-n.x)-(n.x-e.x)*(r.y-n.y)}function a(e,n,r,t){return!!(h(e,n)&&h(r,t)||h(e,t)&&h(r,n))||p(e,n,r)>0!=p(e,n,t)>0&&p(r,t,e)>0!=p(r,t,n)>0}function l(e,n,r,t,x,i,u,v){return(x-u)*(n-v)-(e-u)*(i-v)>=0&&(e-u)*(t-v)-(r-u)*(n-v)>=0&&(r-u)*(i-v)-(x-u)*(t-v)>=0}function c(e,n){return p(e.prev,e,e.next)<0?p(e,n,e.next)>=0&&p(e,e.prev,n)>=0:p(e,n,e.prev)<0||p(e,e.next,n)<0}function d(e,n,r,t,x){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-r)*x)|e<<8))|e<<4))|e<<2))|e<<1))|(n=1431655765&((n=858993459&((n=252645135&((n=16711935&((n=32767*(n-t)*x)|n<<8))|n<<4))|n<<2))|n<<1))<<1}function h(e,n){return e.x===n.x&&e.y===n.y}function Z(e,n){return e.x-n.x}function s(e,n,r,t){var x=e;do{var i=x.prev,u=x.next.next;!h(i,u)&&a(i,x,x.next,u)&&c(i,u)&&c(u,i)&&(n.push(i.index/r+t),n.push(x.index/r+t),n.push(u.index/r+t),f(x),f(x.next),x=e=u),x=x.next}while(x!==e);return x}function w(e,n,r,i,u,v,f){var y=e;do{for(var o=y.next.next;o!==y.prev;){if(y.index!==o.index&&z(y,o)){var p=M(y,o);return y=t(y,y.next),p=t(p,p.next),x(y,n,r,i,u,v,f,0),void x(p,n,r,i,u,v,f,0)}o=o.next}y=y.next}while(y!==e)}function z(e,n){return e.next.index!==n.index&&e.prev.index!==n.index&&!function(e,n){var r=e;do{if(r.index!==e.index&&r.next.index!==e.index&&r.index!==n.index&&r.next.index!==n.index&&a(r,r.next,e,n))return!0;r=r.next}while(r!==e);return!1}(e,n)&&c(e,n)&&c(n,e)&&function(e,n){var r=e,t=!1,x=(e.x+n.x)/2,i=(e.y+n.y)/2;do{r.y>i!=r.next.y>i&&r.next.y!==r.y&&x<(r.next.x-r.x)*(i-r.y)/(r.next.y-r.y)+r.x&&(t=!t),r=r.next}while(r!==e);return t}(e,n)}function M(e,n){var r=b.create(e.index,e.x,e.y),t=b.create(n.index,n.x,n.y),x=e.next,i=n.prev;return e.next=n,n.prev=e,r.next=x,x.prev=r,t.next=r,r.prev=t,i.next=t,t.prev=i,t}Object.defineProperty(n,\"__esModule\",{value:!0}),n.bufcut=void 0,n.bufcut=function(e,n,i,u,v,f,p){g=0;var a=(u-i)*f,l=v&&v.length,c=l?(v[0]-i)*f:a,d=r(n,i,u,0,c,f,!0);if(d&&d.next!==d.prev){var h,s,w,z,M;if(l&&(d=function(e,n,x,i,u,v){for(var f=new Array,p=0,a=i.length;p80*f){h=w=n[0+i*f],s=z=n[1+i*f];for(var b=f;b0?i0?(s.t-r.t)*i+(s.t-t.t)*n:0},e.geom.transLeq=function(e,t){return e.t0?i0?(s.s-r.s)*i+(s.s-t.s)*n:0},e.geom.edgeGoesLeft=function(t){return e.geom.vertLeq(t.dst(),t.org)},e.geom.edgeGoesRight=function(t){return e.geom.vertLeq(t.org,t.dst())},e.geom.vertL1dist=function(e,t){return Math.abs(e.s-t.s)+Math.abs(e.t-t.t)},e.geom.vertCCW=function(e,t,s){return e.s*(t.t-s.t)+t.s*(s.t-e.t)+s.s*(e.t-t.t)>=0},e.geom.interpolate_=function(e,t,s,r){return(e=e<0?0:e)<=(s=s<0?0:s)?0===s?(t+r)/2:t+e/(e+s)*(r-t):r+s/(e+s)*(t-r)},e.geom.edgeIntersect=function(t,s,r,i,n){var o,a,l;e.geom.vertLeq(t,s)||(l=t,t=s,s=l),e.geom.vertLeq(r,i)||(l=r,r=i,i=l),e.geom.vertLeq(t,r)||(l=t,t=r,r=l,l=s,s=i,i=l),e.geom.vertLeq(r,s)?e.geom.vertLeq(s,i)?((o=e.geom.edgeEval(t,r,s))+(a=e.geom.edgeEval(r,s,i))<0&&(o=-o,a=-a),n.s=e.geom.interpolate_(o,r.s,a,s.s)):((o=e.geom.edgeSign(t,r,s))+(a=-e.geom.edgeSign(t,i,s))<0&&(o=-o,a=-a),n.s=e.geom.interpolate_(o,r.s,a,i.s)):n.s=(r.s+s.s)/2,e.geom.transLeq(t,s)||(l=t,t=s,s=l),e.geom.transLeq(r,i)||(l=r,r=i,i=l),e.geom.transLeq(t,r)||(l=t,t=r,r=l,l=s,s=i,i=l),e.geom.transLeq(r,s)?e.geom.transLeq(s,i)?((o=e.geom.transEval(t,r,s))+(a=e.geom.transEval(r,s,i))<0&&(o=-o,a=-a),n.t=e.geom.interpolate_(o,r.t,a,s.t)):((o=e.geom.transSign(t,r,s))+(a=-e.geom.transSign(t,i,s))<0&&(o=-o,a=-a),n.t=e.geom.interpolate_(o,r.t,a,i.t)):n.t=(r.t+s.t)/2},e.mesh={},e.mesh.makeEdge=function(t){var s=e.mesh.makeEdgePair_(t.eHead);return e.mesh.makeVertex_(s,t.vHead),e.mesh.makeVertex_(s.sym,t.vHead),e.mesh.makeFace_(s,t.fHead),s},e.mesh.meshSplice=function(t,s){var r=!1,i=!1;t!==s&&(s.org!==t.org&&(i=!0,e.mesh.killVertex_(s.org,t.org)),s.lFace!==t.lFace&&(r=!0,e.mesh.killFace_(s.lFace,t.lFace)),e.mesh.splice_(s,t),i||(e.mesh.makeVertex_(s,t.org),t.org.anEdge=t),r||(e.mesh.makeFace_(s,t.lFace),t.lFace.anEdge=t))},e.mesh.deleteEdge=function(t){var s=t.sym,r=!1;t.lFace!==t.rFace()&&(r=!0,e.mesh.killFace_(t.lFace,t.rFace())),t.oNext===t?e.mesh.killVertex_(t.org,null):(t.rFace().anEdge=t.oPrev(),t.org.anEdge=t.oNext,e.mesh.splice_(t,t.oPrev()),r||e.mesh.makeFace_(t,t.lFace)),s.oNext===s?(e.mesh.killVertex_(s.org,null),e.mesh.killFace_(s.lFace,null)):(t.lFace.anEdge=s.oPrev(),s.org.anEdge=s.oNext,e.mesh.splice_(s,s.oPrev())),e.mesh.killEdge_(t)},e.mesh.addEdgeVertex=function(t){var s=e.mesh.makeEdgePair_(t),r=s.sym;return e.mesh.splice_(s,t.lNext),s.org=t.dst(),e.mesh.makeVertex_(r,s.org),s.lFace=r.lFace=t.lFace,s},e.mesh.splitEdge=function(t){var s=e.mesh.addEdgeVertex(t).sym;return e.mesh.splice_(t.sym,t.sym.oPrev()),e.mesh.splice_(t.sym,s),t.sym.org=s.org,s.dst().anEdge=s.sym,s.sym.lFace=t.rFace(),s.winding=t.winding,s.sym.winding=t.sym.winding,s},e.mesh.connect=function(t,s){var r=!1,i=e.mesh.makeEdgePair_(t),n=i.sym;return s.lFace!==t.lFace&&(r=!0,e.mesh.killFace_(s.lFace,t.lFace)),e.mesh.splice_(i,t.lNext),e.mesh.splice_(n,s),i.org=t.dst(),n.org=s.org,i.lFace=n.lFace=t.lFace,t.lFace.anEdge=n,r||e.mesh.makeFace_(i,t.lFace),i},e.mesh.zapFace=function(t){var s,r=t.anEdge,i=r.lNext;do{if(i=(s=i).lNext,s.lFace=null,null===s.rFace()){s.oNext===s?e.mesh.killVertex_(s.org,null):(s.org.anEdge=s.oNext,e.mesh.splice_(s,s.oPrev()));var n=s.sym;n.oNext===n?e.mesh.killVertex_(n.org,null):(n.org.anEdge=n.oNext,e.mesh.splice_(n,n.oPrev())),e.mesh.killEdge_(s)}}while(s!==r);var o=t.prev,a=t.next;a.prev=o,o.next=a},e.mesh.meshUnion=function(e,t){var s=e.fHead,r=e.vHead,i=e.eHead,n=t.fHead,o=t.vHead,a=t.eHead;return n.next!==n&&(s.prev.next=n.next,n.next.prev=s.prev,n.prev.next=s,s.prev=n.prev),o.next!==o&&(r.prev.next=o.next,o.next.prev=r.prev,o.prev.next=r,r.prev=o.prev),a.next!==a&&(i.sym.next.sym.next=a.next,a.next.sym.next=i.sym.next,a.sym.next.sym.next=i,i.sym.next=a.sym.next),e},e.mesh.deleteMesh=function(e){},e.mesh.makeEdgePair_=function(t){var s=new e.GluHalfEdge,r=new e.GluHalfEdge,i=t.sym.next;return r.next=i,i.sym.next=s,s.next=t,t.sym.next=r,s.sym=r,s.oNext=s,s.lNext=r,r.sym=s,r.oNext=r,r.lNext=s,s},e.mesh.splice_=function(e,t){var s=e.oNext,r=t.oNext;s.sym.lNext=t,r.sym.lNext=e,e.oNext=r,t.oNext=s},e.mesh.makeVertex_=function(t,s){var r=s.prev,i=new e.GluVertex(s,r);r.next=i,s.prev=i,i.anEdge=t;var n=t;do{n.org=i,n=n.oNext}while(n!==t)},e.mesh.makeFace_=function(t,s){var r=s.prev,i=new e.GluFace(s,r);r.next=i,s.prev=i,i.anEdge=t,i.inside=s.inside;var n=t;do{n.lFace=i,n=n.lNext}while(n!==t)},e.mesh.killEdge_=function(e){var t=e.next,s=e.sym.next;t.sym.next=s,s.sym.next=t},e.mesh.killVertex_=function(e,t){var s=e.anEdge,r=s;do{r.org=t,r=r.oNext}while(r!==s);var i=e.prev,n=e.next;n.prev=i,i.next=n},e.mesh.killFace_=function(e,t){var s=e.anEdge,r=s;do{r.lFace=t,r=r.lNext}while(r!==s);var i=e.prev,n=e.next;n.prev=i,i.next=n},e.normal={},e.normal.S_UNIT_X_=1,e.normal.S_UNIT_Y_=0,e.normal.projectPolygon=function(t,s,r,i){var n=!1,o=[s,r,i];0===s&&0===r&&0===i&&(e.normal.computeNormal_(t,o),n=!0);var a,l=e.normal.longAxis_(o),_=t.mesh.vHead;if(e.TRUE_PROJECT){e.normal.normalize_(o);var g=[0,0,0],d=[0,0,0];g[l]=0,g[(l+1)%3]=e.normal.S_UNIT_X_,g[(l+2)%3]=e.normal.S_UNIT_Y_;var h=e.normal.dot_(g,o);for(g[0]-=h*o[0],g[1]-=h*o[1],g[2]-=h*o[2],e.normal.normalize_(g),d[0]=o[1]*g[2]-o[2]*g[1],d[1]=o[2]*g[0]-o[0]*g[2],d[2]=o[0]*g[1]-o[1]*g[0],e.normal.normalize_(d),a=_.next;a!==_;a=a.next)a.s=e.normal.dot_(a.coords,g),a.t=e.normal.dot_(a.coords,d)}else{var c=(l+1)%3,u=(l+2)%3,p=o[l]>0?1:-1;for(a=_.next;a!==_;a=a.next)a.s=a.coords[c],a.t=p*a.coords[u]}n&&e.normal.checkOrientation_(t)},e.normal.dot_=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},e.normal.normalize_=function(t){var s=t[0]*t[0]+t[1]*t[1]+t[2]*t[2];e.assert(s>0),s=Math.sqrt(s),t[0]/=s,t[1]/=s,t[2]/=s},e.normal.longAxis_=function(e){var t=0;return Math.abs(e[1])>Math.abs(e[0])&&(t=1),Math.abs(e[2])>Math.abs(e[t])&&(t=2),t},e.normal.computeNormal_=function(t,s){var r,i=[-2*e.GLU_TESS_MAX_COORD,-2*e.GLU_TESS_MAX_COORD,-2*e.GLU_TESS_MAX_COORD],n=[2*e.GLU_TESS_MAX_COORD,2*e.GLU_TESS_MAX_COORD,2*e.GLU_TESS_MAX_COORD],o=[],a=[],l=t.mesh.vHead;for(r=l.next;r!==l;r=r.next)for(var _=0;_<3;++_){var g=r.coords[_];gi[_]&&(i[_]=g,o[_]=r)}var d=0;if(i[1]-n[1]>i[0]-n[0]&&(d=1),i[2]-n[2]>i[d]-n[d]&&(d=2),n[d]>=i[d])return s[0]=0,s[1]=0,void(s[2]=1);var h=0,c=a[d],u=o[d],p=[0,0,0],m=[c.coords[0]-u.coords[0],c.coords[1]-u.coords[1],c.coords[2]-u.coords[2]],E=[0,0,0];for(r=l.next;r!==l;r=r.next){E[0]=r.coords[0]-u.coords[0],E[1]=r.coords[1]-u.coords[1],E[2]=r.coords[2]-u.coords[2],p[0]=m[1]*E[2]-m[2]*E[1],p[1]=m[2]*E[0]-m[0]*E[2],p[2]=m[0]*E[1]-m[1]*E[0];var v=p[0]*p[0]+p[1]*p[1]+p[2]*p[2];v>h&&(h=v,s[0]=p[0],s[1]=p[1],s[2]=p[2])}h<=0&&(s[0]=s[1]=s[2]=0,s[e.normal.longAxis_(m)]=1)},e.normal.checkOrientation_=function(e){for(var t=0,s=e.mesh.fHead,r=s.next;r!==s;r=r.next){var i=r.anEdge;if(!(i.winding<=0))do{t+=(i.org.s-i.dst().s)*(i.org.t+i.dst().t),i=i.lNext}while(i!==r.anEdge)}if(t<0)for(var n=e.mesh.vHead,o=n.next;o!==n;o=o.next)o.t=-o.t},e.render={},e.render.renderMesh=function(t,s,r){for(var i=!1,n=-1,o=s.fHead.prev;o!==s.fHead;o=o.prev)if(o.inside){i||(t.callBeginCallback(e.primitiveType.GL_TRIANGLES),i=!0);var a=o.anEdge;e.assert(a.lNext.lNext.lNext===a,\"renderMesh called with non-triangulated mesh\");do{if(r){var l=a.rFace().inside?0:1;n!==l&&(n=l,t.callEdgeFlagCallback(!!n))}t.callVertexCallback(a.org.data),a=a.lNext}while(a!==o.anEdge)}i&&t.callEndCallback()},e.render.renderBoundary=function(t,s){for(var r=s.fHead.next;r!==s.fHead;r=r.next)if(r.inside){t.callBeginCallback(e.primitiveType.GL_LINE_LOOP);var i=r.anEdge;do{t.callVertexCallback(i.org.data),i=i.lNext}while(i!==r.anEdge);t.callEndCallback()}},e.sweep={},e.sweep.SENTINEL_COORD_=4*e.GLU_TESS_MAX_COORD,e.sweep.TOLERANCE_NONZERO_=!1,e.sweep.computeInterior=function(t){var s;for(t.fatalError=!1,e.sweep.removeDegenerateEdges_(t),e.sweep.initPriorityQ_(t),e.sweep.initEdgeDict_(t);null!==(s=t.pq.extractMin());){for(;;){var r=t.pq.minimum();if(null===r||!e.geom.vertEq(r,s))break;r=t.pq.extractMin(),e.sweep.spliceMergeVertices_(t,s.anEdge,r.anEdge)}e.sweep.sweepEvent_(t,s)}var i=t.dict.getMin().getKey();t.event=i.eUp.org,e.sweep.doneEdgeDict_(t),e.sweep.donePriorityQ_(t),e.sweep.removeDegenerateFaces_(t.mesh),t.mesh.checkMesh()},e.sweep.addWinding_=function(e,t){e.winding+=t.winding,e.sym.winding+=t.sym.winding},e.sweep.edgeLeq_=function(t,s,r){var i=t.event,n=s.eUp,o=r.eUp;return n.dst()===i?o.dst()===i?e.geom.vertLeq(n.org,o.org)?e.geom.edgeSign(o.dst(),n.org,o.org)<=0:e.geom.edgeSign(n.dst(),o.org,n.org)>=0:e.geom.edgeSign(o.dst(),i,o.org)<=0:o.dst()===i?e.geom.edgeSign(n.dst(),i,n.org)>=0:e.geom.edgeEval(n.dst(),i,n.org)>=e.geom.edgeEval(o.dst(),i,o.org)},e.sweep.deleteRegion_=function(t,s){s.fixUpperEdge&&e.assert(0===s.eUp.winding),s.eUp.activeRegion=null,t.dict.deleteNode(s.nodeUp),s.nodeUp=null},e.sweep.fixUpperEdge_=function(t,s){e.assert(t.fixUpperEdge),e.mesh.deleteEdge(t.eUp),t.fixUpperEdge=!1,t.eUp=s,s.activeRegion=t},e.sweep.topLeftRegion_=function(t){var s=t.eUp.org;do{t=t.regionAbove()}while(t.eUp.org===s);if(t.fixUpperEdge){var r=e.mesh.connect(t.regionBelow().eUp.sym,t.eUp.lNext);e.sweep.fixUpperEdge_(t,r),t=t.regionAbove()}return t},e.sweep.topRightRegion_=function(e){var t=e.eUp.dst();do{e=e.regionAbove()}while(e.eUp.dst()===t);return e},e.sweep.addRegionBelow_=function(t,s,r){var i=new e.ActiveRegion;return i.eUp=r,i.nodeUp=t.dict.insertBefore(s.nodeUp,i),r.activeRegion=i,i},e.sweep.isWindingInside_=function(t,s){switch(t.windingRule){case e.windingRule.GLU_TESS_WINDING_ODD:return 0!=(1&s);case e.windingRule.GLU_TESS_WINDING_NONZERO:return 0!==s;case e.windingRule.GLU_TESS_WINDING_POSITIVE:return s>0;case e.windingRule.GLU_TESS_WINDING_NEGATIVE:return s<0;case e.windingRule.GLU_TESS_WINDING_ABS_GEQ_TWO:return s>=2||s<=-2}return e.assert(!1),!1},e.sweep.computeWinding_=function(t,s){s.windingNumber=s.regionAbove().windingNumber+s.eUp.winding,s.inside=e.sweep.isWindingInside_(t,s.windingNumber)},e.sweep.finishRegion_=function(t,s){var r=s.eUp,i=r.lFace;i.inside=s.inside,i.anEdge=r,e.sweep.deleteRegion_(t,s)},e.sweep.finishLeftRegions_=function(t,s,r){for(var i=s,n=s.eUp;i!==r;){i.fixUpperEdge=!1;var o=i.regionBelow(),a=o.eUp;if(a.org!==n.org){if(!o.fixUpperEdge){e.sweep.finishRegion_(t,i);break}a=e.mesh.connect(n.lPrev(),a.sym),e.sweep.fixUpperEdge_(o,a)}n.oNext!==a&&(e.mesh.meshSplice(a.oPrev(),a),e.mesh.meshSplice(n,a)),e.sweep.finishRegion_(t,i),n=o.eUp,i=o}return n},e.sweep.addRightEdges_=function(t,s,r,i,n,o){var a=!0,l=r;do{e.assert(e.geom.vertLeq(l.org,l.dst())),e.sweep.addRegionBelow_(t,s,l.sym),l=l.oNext}while(l!==i);null===n&&(n=s.regionBelow().eUp.rPrev());for(var _,g=s,d=n;(l=(_=g.regionBelow()).eUp.sym).org===d.org;)l.oNext!==d&&(e.mesh.meshSplice(l.oPrev(),l),e.mesh.meshSplice(d.oPrev(),l)),_.windingNumber=g.windingNumber-l.winding,_.inside=e.sweep.isWindingInside_(t,_.windingNumber),g.dirty=!0,!a&&e.sweep.checkForRightSplice_(t,g)&&(e.sweep.addWinding_(l,d),e.sweep.deleteRegion_(t,g),e.mesh.deleteEdge(d)),a=!1,g=_,d=l;g.dirty=!0,e.assert(g.windingNumber-l.winding===_.windingNumber),o&&e.sweep.walkDirtyRegions_(t,g)},e.sweep.callCombine_=function(t,s,r,i,n){var o=[s.coords[0],s.coords[1],s.coords[2]];s.data=null,s.data=t.callCombineCallback(o,r,i),null===s.data&&(n?t.fatalError||(t.callErrorCallback(e.errorType.GLU_TESS_NEED_COMBINE_CALLBACK),t.fatalError=!0):s.data=r[0])},e.sweep.spliceMergeVertices_=function(t,s,r){var i=[null,null,null,null];i[0]=s.org.data,i[1]=r.org.data,e.sweep.callCombine_(t,s.org,i,[.5,.5,0,0],!1),e.mesh.meshSplice(s,r)},e.sweep.vertexWeights_=function(t,s,r,i,n){var o=e.geom.vertL1dist(s,t),a=e.geom.vertL1dist(r,t),l=n,_=n+1;i[l]=.5*a/(o+a),i[_]=.5*o/(o+a),t.coords[0]+=i[l]*s.coords[0]+i[_]*r.coords[0],t.coords[1]+=i[l]*s.coords[1]+i[_]*r.coords[1],t.coords[2]+=i[l]*s.coords[2]+i[_]*r.coords[2]},e.sweep.getIntersectData_=function(t,s,r,i,n,o){var a=[0,0,0,0],l=[r.data,i.data,n.data,o.data];s.coords[0]=s.coords[1]=s.coords[2]=0,e.sweep.vertexWeights_(s,r,i,a,0),e.sweep.vertexWeights_(s,n,o,a,2),e.sweep.callCombine_(t,s,l,a,!0)},e.sweep.checkForRightSplice_=function(t,s){var r=s.regionBelow(),i=s.eUp,n=r.eUp;if(e.geom.vertLeq(i.org,n.org)){if(e.geom.edgeSign(n.dst(),i.org,n.org)>0)return!1;e.geom.vertEq(i.org,n.org)?i.org!==n.org&&(t.pq.remove(i.org.pqHandle),e.sweep.spliceMergeVertices_(t,n.oPrev(),i)):(e.mesh.splitEdge(n.sym),e.mesh.meshSplice(i,n.oPrev()),s.dirty=r.dirty=!0)}else{if(e.geom.edgeSign(i.dst(),n.org,i.org)<0)return!1;s.regionAbove().dirty=s.dirty=!0,e.mesh.splitEdge(i.sym),e.mesh.meshSplice(n.oPrev(),i)}return!0},e.sweep.checkForLeftSplice_=function(t,s){var r,i=s.regionBelow(),n=s.eUp,o=i.eUp;if(e.assert(!e.geom.vertEq(n.dst(),o.dst())),e.geom.vertLeq(n.dst(),o.dst())){if(e.geom.edgeSign(n.dst(),o.dst(),n.org)<0)return!1;s.regionAbove().dirty=s.dirty=!0,r=e.mesh.splitEdge(n),e.mesh.meshSplice(o.sym,r),r.lFace.inside=s.inside}else{if(e.geom.edgeSign(o.dst(),n.dst(),o.org)>0)return!1;s.dirty=i.dirty=!0,r=e.mesh.splitEdge(o),e.mesh.meshSplice(n.lNext,o.sym),r.rFace().inside=s.inside}return!0},e.sweep.checkForIntersect_=function(t,s){var r=s.regionBelow(),i=s.eUp,n=r.eUp,o=i.org,a=n.org,l=i.dst(),_=n.dst(),g=new e.GluVertex;if(e.assert(!e.geom.vertEq(_,l)),e.assert(e.geom.edgeSign(l,t.event,o)<=0),e.assert(e.geom.edgeSign(_,t.event,a)>=0),e.assert(o!==t.event&&a!==t.event),e.assert(!s.fixUpperEdge&&!r.fixUpperEdge),o===a)return!1;if(Math.min(o.t,l.t)>Math.max(a.t,_.t))return!1;if(e.geom.vertLeq(o,a)){if(e.geom.edgeSign(_,o,a)>0)return!1}else if(e.geom.edgeSign(l,a,o)<0)return!1;e.geom.edgeIntersect(l,o,_,a,g),e.assert(Math.min(o.t,l.t)<=g.t),e.assert(g.t<=Math.max(a.t,_.t)),e.assert(Math.min(_.s,l.s)<=g.s),e.assert(g.s<=Math.max(a.s,o.s)),e.geom.vertLeq(g,t.event)&&(g.s=t.event.s,g.t=t.event.t);var d=e.geom.vertLeq(o,a)?o:a;if(e.geom.vertLeq(d,g)&&(g.s=d.s,g.t=d.t),e.geom.vertEq(g,o)||e.geom.vertEq(g,a))return e.sweep.checkForRightSplice_(t,s),!1;if(!e.geom.vertEq(l,t.event)&&e.geom.edgeSign(l,t.event,g)>=0||!e.geom.vertEq(_,t.event)&&e.geom.edgeSign(_,t.event,g)<=0){if(_===t.event)return e.mesh.splitEdge(i.sym),e.mesh.meshSplice(n.sym,i),i=(s=e.sweep.topLeftRegion_(s)).regionBelow().eUp,e.sweep.finishLeftRegions_(t,s.regionBelow(),r),e.sweep.addRightEdges_(t,s,i.oPrev(),i,i,!0),!0;if(l===t.event){e.mesh.splitEdge(n.sym),e.mesh.meshSplice(i.lNext,n.oPrev()),r=s;var h=(s=e.sweep.topRightRegion_(s)).regionBelow().eUp.rPrev();return r.eUp=n.oPrev(),n=e.sweep.finishLeftRegions_(t,r,null),e.sweep.addRightEdges_(t,s,n.oNext,i.rPrev(),h,!0),!0}return e.geom.edgeSign(l,t.event,g)>=0&&(s.regionAbove().dirty=s.dirty=!0,e.mesh.splitEdge(i.sym),i.org.s=t.event.s,i.org.t=t.event.t),e.geom.edgeSign(_,t.event,g)<=0&&(s.dirty=r.dirty=!0,e.mesh.splitEdge(n.sym),n.org.s=t.event.s,n.org.t=t.event.t),!1}return e.mesh.splitEdge(i.sym),e.mesh.splitEdge(n.sym),e.mesh.meshSplice(n.oPrev(),i),i.org.s=g.s,i.org.t=g.t,i.org.pqHandle=t.pq.insert(i.org),e.sweep.getIntersectData_(t,i.org,o,l,a,_),s.regionAbove().dirty=s.dirty=r.dirty=!0,!1},e.sweep.walkDirtyRegions_=function(t,s){for(var r=s.regionBelow();;){for(;r.dirty;)s=r,r=r.regionBelow();if(!s.dirty&&(r=s,null===(s=s.regionAbove())||!s.dirty))return;s.dirty=!1;var i=s.eUp,n=r.eUp;if(i.dst()!==n.dst()&&e.sweep.checkForLeftSplice_(t,s)&&(r.fixUpperEdge?(e.sweep.deleteRegion_(t,r),e.mesh.deleteEdge(n),n=(r=s.regionBelow()).eUp):s.fixUpperEdge&&(e.sweep.deleteRegion_(t,s),e.mesh.deleteEdge(i),i=(s=r.regionAbove()).eUp)),i.org!==n.org)if(i.dst()===n.dst()||s.fixUpperEdge||r.fixUpperEdge||i.dst()!==t.event&&n.dst()!==t.event)e.sweep.checkForRightSplice_(t,s);else if(e.sweep.checkForIntersect_(t,s))return;i.org===n.org&&i.dst()===n.dst()&&(e.sweep.addWinding_(n,i),e.sweep.deleteRegion_(t,s),e.mesh.deleteEdge(i),s=r.regionAbove())}},e.sweep.connectRightVertex_=function(t,s,r){var i,n=r.oNext,o=s.regionBelow(),a=s.eUp,l=o.eUp,_=!1;(a.dst()!==l.dst()&&e.sweep.checkForIntersect_(t,s),e.geom.vertEq(a.org,t.event)&&(e.mesh.meshSplice(n.oPrev(),a),n=(s=e.sweep.topLeftRegion_(s)).regionBelow().eUp,e.sweep.finishLeftRegions_(t,s.regionBelow(),o),_=!0),e.geom.vertEq(l.org,t.event)&&(e.mesh.meshSplice(r,l.oPrev()),r=e.sweep.finishLeftRegions_(t,o,null),_=!0),_)?e.sweep.addRightEdges_(t,s,r.oNext,n,n,!0):(i=e.geom.vertLeq(l.org,a.org)?l.oPrev():a,i=e.mesh.connect(r.lPrev(),i),e.sweep.addRightEdges_(t,s,i,i.oNext,i.oNext,!1),i.sym.activeRegion.fixUpperEdge=!0,e.sweep.walkDirtyRegions_(t,s))},e.sweep.connectLeftDegenerate_=function(t,s,r){var i=s.eUp;if(e.geom.vertEq(i.org,r))return e.assert(e.sweep.TOLERANCE_NONZERO_),void(e.sweep.TOLERANCE_NONZERO_&&e.sweep.spliceMergeVertices_(t,i,r.anEdge));if(!e.geom.vertEq(i.dst(),r))return e.mesh.splitEdge(i.sym),s.fixUpperEdge&&(e.mesh.deleteEdge(i.oNext),s.fixUpperEdge=!1),e.mesh.meshSplice(r.anEdge,i),void e.sweep.sweepEvent_(t,r);if(e.assert(e.sweep.TOLERANCE_NONZERO_),e.sweep.TOLERANCE_NONZERO_){var n=(s=e.sweep.topRightRegion_(s)).regionBelow(),o=n.eUp.sym,a=o.oNext,l=a;n.fixUpperEdge&&(e.assert(a!==o),e.sweep.deleteRegion_(t,n),e.mesh.deleteEdge(o),o=a.oPrev()),e.mesh.meshSplice(r.anEdge,o),e.geom.edgeGoesLeft(a)||(a=null),e.sweep.addRightEdges_(t,s,o.oNext,l,a,!0)}},e.sweep.connectLeftVertex_=function(t,s){var r=new e.ActiveRegion;r.eUp=s.anEdge.sym;var i=t.dict.search(r).getKey(),n=i.regionBelow(),o=i.eUp,a=n.eUp;if(0!==e.geom.edgeSign(o.dst(),s,o.org)){var l,_=e.geom.vertLeq(a.dst(),o.dst())?i:n;if(i.inside||_.fixUpperEdge){if(_===i)l=e.mesh.connect(s.anEdge.sym,o.lNext);else l=e.mesh.connect(a.dNext(),s.anEdge).sym;_.fixUpperEdge?e.sweep.fixUpperEdge_(_,l):e.sweep.computeWinding_(t,e.sweep.addRegionBelow_(t,i,l)),e.sweep.sweepEvent_(t,s)}else e.sweep.addRightEdges_(t,i,s.anEdge,s.anEdge,null,!0)}else e.sweep.connectLeftDegenerate_(t,i,s)},e.sweep.sweepEvent_=function(t,s){t.event=s;for(var r=s.anEdge;null===r.activeRegion;)if((r=r.oNext)===s.anEdge)return void e.sweep.connectLeftVertex_(t,s);var i=e.sweep.topLeftRegion_(r.activeRegion),n=i.regionBelow(),o=n.eUp,a=e.sweep.finishLeftRegions_(t,n,null);a.oNext===o?e.sweep.connectRightVertex_(t,i,a):e.sweep.addRightEdges_(t,i,a.oNext,o,o,!0)},e.sweep.addSentinel_=function(t,s){var r=new e.ActiveRegion,i=e.mesh.makeEdge(t.mesh);i.org.s=e.sweep.SENTINEL_COORD_,i.org.t=s,i.dst().s=-e.sweep.SENTINEL_COORD_,i.dst().t=s,t.event=i.dst(),r.eUp=i,r.windingNumber=0,r.inside=!1,r.fixUpperEdge=!1,r.sentinel=!0,r.dirty=!1,r.nodeUp=t.dict.insert(r)},e.sweep.initEdgeDict_=function(t){t.dict=new e.Dict(t,e.sweep.edgeLeq_),e.sweep.addSentinel_(t,-e.sweep.SENTINEL_COORD_),e.sweep.addSentinel_(t,e.sweep.SENTINEL_COORD_)},e.sweep.doneEdgeDict_=function(t){for(var s,r=0;null!==(s=t.dict.getMin().getKey());)s.sentinel||(e.assert(s.fixUpperEdge),e.assert(1==++r)),e.assert(0===s.windingNumber),e.sweep.deleteRegion_(t,s);t.dict=null},e.sweep.removeDegenerateEdges_=function(t){for(var s,r=t.mesh.eHead,i=r.next;i!==r;i=s){s=i.next;var n=i.lNext;e.geom.vertEq(i.org,i.dst())&&i.lNext.lNext!==i&&(e.sweep.spliceMergeVertices_(t,n,i),e.mesh.deleteEdge(i),n=(i=n).lNext),n.lNext===i&&(n!==i&&(n!==s&&n!==s.sym||(s=s.next),e.mesh.deleteEdge(n)),i!==s&&i!==s.sym||(s=s.next),e.mesh.deleteEdge(i))}},e.sweep.initPriorityQ_=function(t){var s=new e.PriorityQ;t.pq=s;var r,i=t.mesh.vHead;for(r=i.next;r!==i;r=r.next)r.pqHandle=s.insert(r);s.init()},e.sweep.donePriorityQ_=function(e){e.pq.deleteQ(),e.pq=null},e.sweep.removeDegenerateFaces_=function(t){for(var s,r=t.fHead.next;r!==t.fHead;r=s){s=r.next;var i=r.anEdge;e.assert(i.lNext!==i),i.lNext.lNext===i&&(e.sweep.addWinding_(i.oNext,i),e.mesh.deleteEdge(i))}},e.tessmono={},e.tessmono.tessellateMonoRegion_=function(t){var s=t.anEdge;for(e.assert(s.lNext!==s&&s.lNext.lNext!==s);e.geom.vertLeq(s.dst(),s.org);s=s.lPrev());for(;e.geom.vertLeq(s.org,s.dst());s=s.lNext);for(var r,i=s.lPrev();s.lNext!==i;)if(e.geom.vertLeq(s.dst(),i.org)){for(;i.lNext!==s&&(e.geom.edgeGoesLeft(i.lNext)||e.geom.edgeSign(i.org,i.dst(),i.lNext.dst())<=0);)i=(r=e.mesh.connect(i.lNext,i)).sym;i=i.lPrev()}else{for(;i.lNext!==s&&(e.geom.edgeGoesRight(s.lPrev())||e.geom.edgeSign(s.dst(),s.org,s.lPrev().org)>=0);)r=e.mesh.connect(s,s.lPrev()),s=r.sym;s=s.lNext}for(e.assert(i.lNext!==s);i.lNext.lNext!==s;)i=(r=e.mesh.connect(i.lNext,i)).sym},e.tessmono.tessellateInterior=function(t){for(var s,r=t.fHead.next;r!==t.fHead;r=s)s=r.next,r.inside&&e.tessmono.tessellateMonoRegion_(r)},e.tessmono.discardExterior=function(t){for(var s,r=t.fHead.next;r!==t.fHead;r=s)s=r.next,r.inside||e.mesh.zapFace(r)},e.tessmono.setWindingNumber=function(t,s,r){for(var i,n=t.eHead.next;n!==t.eHead;n=i)i=n.next,n.rFace().inside!==n.lFace.inside?n.winding=n.lFace.inside?s:-s:r?e.mesh.deleteEdge(n):n.winding=0},e.Dict=function(t,s){this.head_=new e.DictNode,this.frame_=t,this.leq_=s},e.Dict.prototype.deleteDict_=function(){},e.Dict.prototype.insertBefore=function(t,s){do{t=t.prev}while(null!==t.key&&!this.leq_(this.frame_,t.key,s));var r=new e.DictNode(s,t.next,t);return t.next.prev=r,t.next=r,r},e.Dict.prototype.insert=function(e){return this.insertBefore(this.head_,e)},e.Dict.prototype.deleteNode=function(e){e.next.prev=e.prev,e.prev.next=e.next},e.Dict.prototype.search=function(e){var t=this.head_;do{t=t.next}while(null!==t.key&&!this.leq_(this.frame_,e,t.key));return t},e.Dict.prototype.getMin=function(){return this.head_.next},e.Dict.prototype.getMax=function(){return this.head_.prev},e.DictNode=function(e,t,s){this.key=e||null,this.next=t||this,this.prev=s||this},e.DictNode.prototype.getKey=function(){return this.key},e.DictNode.prototype.getSuccessor=function(){return this.next},e.DictNode.prototype.getPredecessor=function(){return this.prev},e.GluTesselator=function(){this.state_=e.GluTesselator.tessState_.T_DORMANT,this.lastEdge_=null,this.mesh=null,this.errorCallback_=null,this.normal_=[0,0,0],this.windingRule=e.windingRule.GLU_TESS_WINDING_ODD,this.fatalError=!1,this.dict=null,this.pq=null,this.event=null,this.combineCallback_=null,this.boundaryOnly_=!1,this.beginCallback_=null,this.edgeFlagCallback_=null,this.vertexCallback_=null,this.endCallback_=null,this.meshCallback_=null,this.polygonData_=null},e.GluTesselator.tessState_={T_DORMANT:0,T_IN_POLYGON:1,T_IN_CONTOUR:2},e.GluTesselator.prototype.gluDeleteTess=function(){this.requireState_(e.GluTesselator.tessState_.T_DORMANT)},e.GluTesselator.prototype.gluTessProperty=function(t,s){switch(t){case e.gluEnum.GLU_TESS_TOLERANCE:return;case e.gluEnum.GLU_TESS_WINDING_RULE:var r=s;switch(r){case e.windingRule.GLU_TESS_WINDING_ODD:case e.windingRule.GLU_TESS_WINDING_NONZERO:case e.windingRule.GLU_TESS_WINDING_POSITIVE:case e.windingRule.GLU_TESS_WINDING_NEGATIVE:case e.windingRule.GLU_TESS_WINDING_ABS_GEQ_TWO:return void(this.windingRule=r)}break;case e.gluEnum.GLU_TESS_BOUNDARY_ONLY:return void(this.boundaryOnly_=!!s);default:return void this.callErrorCallback(e.gluEnum.GLU_INVALID_ENUM)}this.callErrorCallback(e.gluEnum.GLU_INVALID_VALUE)},e.GluTesselator.prototype.gluGetTessProperty=function(t){switch(t){case e.gluEnum.GLU_TESS_TOLERANCE:return 0;case e.gluEnum.GLU_TESS_WINDING_RULE:var s=this.windingRule;return e.assert(s===e.windingRule.GLU_TESS_WINDING_ODD||s===e.windingRule.GLU_TESS_WINDING_NONZERO||s===e.windingRule.GLU_TESS_WINDING_POSITIVE||s===e.windingRule.GLU_TESS_WINDING_NEGATIVE||s===e.windingRule.GLU_TESS_WINDING_ABS_GEQ_TWO),s;case e.gluEnum.GLU_TESS_BOUNDARY_ONLY:return e.assert(!0===this.boundaryOnly_||!1===this.boundaryOnly_),this.boundaryOnly_;default:this.callErrorCallback(e.gluEnum.GLU_INVALID_ENUM)}return!1},e.GluTesselator.prototype.gluTessNormal=function(e,t,s){this.normal_[0]=e,this.normal_[1]=t,this.normal_[2]=s},e.GluTesselator.prototype.gluTessCallback=function(t,s){var r=s||null;switch(t){case e.gluEnum.GLU_TESS_BEGIN:case e.gluEnum.GLU_TESS_BEGIN_DATA:return void(this.beginCallback_=r);case e.gluEnum.GLU_TESS_EDGE_FLAG:case e.gluEnum.GLU_TESS_EDGE_FLAG_DATA:return void(this.edgeFlagCallback_=r);case e.gluEnum.GLU_TESS_VERTEX:case e.gluEnum.GLU_TESS_VERTEX_DATA:return void(this.vertexCallback_=r);case e.gluEnum.GLU_TESS_END:case e.gluEnum.GLU_TESS_END_DATA:return void(this.endCallback_=r);case e.gluEnum.GLU_TESS_ERROR:case e.gluEnum.GLU_TESS_ERROR_DATA:return void(this.errorCallback_=r);case e.gluEnum.GLU_TESS_COMBINE:case e.gluEnum.GLU_TESS_COMBINE_DATA:return void(this.combineCallback_=r);case e.gluEnum.GLU_TESS_MESH:return void(this.meshCallback_=r);default:return void this.callErrorCallback(e.gluEnum.GLU_INVALID_ENUM)}},e.GluTesselator.prototype.gluTessVertex=function(t,s){var r=!1,i=[0,0,0];this.requireState_(e.GluTesselator.tessState_.T_IN_CONTOUR);for(var n=0;n<3;++n){var o=t[n];o<-e.GLU_TESS_MAX_COORD&&(o=-e.GLU_TESS_MAX_COORD,r=!0),o>e.GLU_TESS_MAX_COORD&&(o=e.GLU_TESS_MAX_COORD,r=!0),i[n]=o}r&&this.callErrorCallback(e.errorType.GLU_TESS_COORD_TOO_LARGE),this.addVertex_(i,s)},e.GluTesselator.prototype.gluTessBeginPolygon=function(t){this.requireState_(e.GluTesselator.tessState_.T_DORMANT),this.state_=e.GluTesselator.tessState_.T_IN_POLYGON,this.mesh=new e.GluMesh,this.polygonData_=t},e.GluTesselator.prototype.gluTessBeginContour=function(){this.requireState_(e.GluTesselator.tessState_.T_IN_POLYGON),this.state_=e.GluTesselator.tessState_.T_IN_CONTOUR,this.lastEdge_=null},e.GluTesselator.prototype.gluTessEndContour=function(){this.requireState_(e.GluTesselator.tessState_.T_IN_CONTOUR),this.state_=e.GluTesselator.tessState_.T_IN_POLYGON},e.GluTesselator.prototype.gluTessEndPolygon=function(){if(this.requireState_(e.GluTesselator.tessState_.T_IN_POLYGON),this.state_=e.GluTesselator.tessState_.T_DORMANT,e.normal.projectPolygon(this,this.normal_[0],this.normal_[1],this.normal_[2]),e.sweep.computeInterior(this),!this.fatalError){var t=this.mesh;if(this.boundaryOnly_?e.tessmono.setWindingNumber(t,1,!0):e.tessmono.tessellateInterior(t),this.mesh.checkMesh(),this.beginCallback_||this.endCallback_||this.vertexCallback_||this.edgeFlagCallback_)if(this.boundaryOnly_)e.render.renderBoundary(this,this.mesh);else{var s=!!this.edgeFlagCallback_;e.render.renderMesh(this,this.mesh,s)}if(this.meshCallback_)return e.tessmono.discardExterior(this.mesh),this.meshCallback_(this.mesh),this.mesh=null,void(this.polygonData_=null)}e.mesh.deleteMesh(this.mesh),this.polygonData_=null,this.mesh=null},e.GluTesselator.prototype.requireState_=function(e){this.state_!==e&&this.gotoState_(e)},e.GluTesselator.prototype.gotoState_=function(t){for(;this.state_!==t;)if(this.state_0&&null===this.verts_[this.order_[this.size_-1]]);return t},e.PriorityQ.prototype.minimum=function(){if(0===this.size_)return this.heap_.minimum();var t=this.verts_[this.order_[this.size_-1]];if(!this.heap_.isEmpty()){var s=this.heap_.minimum();if(e.geom.vertLeq(s,t))return s}return t},e.PriorityQ.prototype.remove=function(t){if(t>=0)this.heap_.remove(t);else for(t=-(t+1),e.assert(t0&&null===this.verts_[this.order_[this.size_-1]];)--this.size_},e.PriorityQHeap=function(){this.heap_=e.PriorityQHeap.reallocNumeric_([0],e.PriorityQHeap.INIT_SIZE_+1),this.verts_=[null,null],this.handles_=[0,0],this.size_=0,this.max_=e.PriorityQHeap.INIT_SIZE_,this.freeList_=0,this.initialized_=!1,this.heap_[1]=1},e.PriorityQHeap.INIT_SIZE_=32,e.PriorityQHeap.reallocNumeric_=function(e,t){for(var s=new Array(t),r=0;r=1;--e)this.floatDown_(e);this.initialized_=!0},e.PriorityQHeap.prototype.insert=function(t){var s,r=++this.size_;return 2*r>this.max_&&(this.max_*=2,this.handles_=e.PriorityQHeap.reallocNumeric_(this.handles_,this.max_+1)),0===this.freeList_?s=r:(s=this.freeList_,this.freeList_=this.handles_[this.freeList_]),this.verts_[s]=t,this.handles_[s]=r,this.heap_[r]=s,this.initialized_&&this.floatUp_(r),s},e.PriorityQHeap.prototype.isEmpty=function(){return 0===this.size_},e.PriorityQHeap.prototype.minimum=function(){return this.verts_[this.heap_[1]]},e.PriorityQHeap.prototype.extractMin=function(){var e=this.heap_,t=this.verts_,s=this.handles_,r=e[1],i=t[r];return this.size_>0&&(e[1]=e[this.size_],s[e[1]]=1,t[r]=null,s[r]=this.freeList_,this.freeList_=r,--this.size_>0&&this.floatDown_(1)),i},e.PriorityQHeap.prototype.remove=function(t){var s=this.heap_,r=this.verts_,i=this.handles_;e.assert(t>=1&&t<=this.max_&&null!==r[t]);var n=i[t];if(s[n]=s[this.size_],i[s[n]]=n,n<=--this.size_)if(n<=1)this.floatDown_(n);else{var o=r[s[n]],a=r[s[n>>1]];e.geom.vertLeq(a,o)?this.floatDown_(n):this.floatUp_(n)}r[t]=null,i[t]=this.freeList_,this.freeList_=t},e.PriorityQHeap.prototype.floatDown_=function(t){for(var s=this.heap_,r=this.verts_,i=this.handles_,n=t,o=s[n];;){var a=n<<1;athis.size_||e.geom.vertLeq(r[o],r[l]))return s[n]=o,void(i[o]=n);s[n]=l,i[l]=n,n=a}},e.PriorityQHeap.prototype.floatUp_=function(t){for(var s=this.heap_,r=this.verts_,i=this.handles_,n=t,o=s[n];;){var a=n>>1,l=s[a];if(0===a||e.geom.vertLeq(r[l],r[o]))return s[n]=o,void(i[o]=n);s[n]=l,i[l]=n,n=a}},e.ActiveRegion=function(){this.eUp=null,this.nodeUp=null,this.windingNumber=0,this.inside=!1,this.sentinel=!1,this.dirty=!1,this.fixUpperEdge=!1},e.ActiveRegion.prototype.regionBelow=function(){return this.nodeUp.getPredecessor().getKey()},e.ActiveRegion.prototype.regionAbove=function(){return this.nodeUp.getSuccessor().getKey()},e}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../../../core/Error\",\"../enums\",\"../mesh/templates/meshUtils\"],(function(t,e,i,r,n,o){\"use strict\";function a(t,e){void 0===e&&(e=!1);var i=n.WGLVVFlag.SIZE_FIELD_STOPS|n.WGLVVFlag.SIZE_MINMAX_VALUE|n.WGLVVFlag.SIZE_SCALE_STOPS|n.WGLVVFlag.SIZE_UNIT_VALUE,r=(t&(n.WGLVVTarget.FIELD_TARGETS_OUTLINE|n.WGLVVTarget.MINMAX_TARGETS_OUTLINE|n.WGLVVTarget.SCALE_TARGETS_OUTLINE|n.WGLVVTarget.UNIT_TARGETS_OUTLINE))>>>4;return e?i&r:i&~r}function s(t){var e=a(t,!1);return t&(n.WGLVVFlag.COLOR|n.WGLVVFlag.OPACITY|n.WGLVVFlag.ROTATION|e)}Object.defineProperty(e,\"__esModule\",{value:!0}),e.LabelMaterialKey=e.TextMaterialKey=e.LineMaterialKey=e.MarkerMaterialKey=e.FillMaterialKey=e.MaterialKeyBase=e.hydrateMaterialKey=e.createMaterialKey=e.getLabelVVFlags=e.getTextVVFlags=e.getLineVVFlags=e.getFillVVFlags=e.getMarkerVVFlags=e.getSizeFlagsMask=void 0,e.getSizeFlagsMask=a,e.getMarkerVVFlags=s,e.getFillVVFlags=function(t){return t&(n.WGLVVFlag.COLOR|n.WGLVVFlag.OPACITY)},e.getLineVVFlags=function(t,e){if(e)return t&a(t,!0);var i=a(t,!1);return t&(n.WGLVVFlag.COLOR|n.WGLVVFlag.OPACITY|i)},e.getTextVVFlags=function(t){return s(t)},e.getLabelVVFlags=function(t){return t&a(t,!1)};e.createMaterialKey=function(t,e,i,r,o){switch(t){case n.WGLGeometryType.FILL:return y.from(e,r);case n.WGLGeometryType.LINE:return V.from(e,i);case n.WGLGeometryType.MARKER:return h.from(e);case n.WGLGeometryType.TEXT:return f.from(e);case n.WGLGeometryType.LABEL:return g.from(e,o);default:throw new Error(\"Unable to createMaterialKey for unknown geometryType \"+t)}},e.hydrateMaterialKey=function(t){switch(u.load(t).geometryType){case n.WGLGeometryType.MARKER:return new h(t);case n.WGLGeometryType.FILL:return new y(t);case n.WGLGeometryType.LINE:return new V(t);case n.WGLGeometryType.TEXT:return new f(t);case n.WGLGeometryType.LABEL:return new g(t)}};var u=function(){function t(t){this._data=0,this._data=t}return t.load=function(t){var e=this.shared;return e.data=t,e},Object.defineProperty(t.prototype,\"data\",{get:function(){return this._data},set:function(t){this._data=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"geometryType\",{get:function(){return this.bits(8,11)},set:function(t){this.setBits(t,8,11)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"mapAligned\",{get:function(){return!!this.bit(20)},set:function(t){this.setBit(20,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"sdf\",{get:function(){return!!this.bit(11)},set:function(t){this.setBit(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"pattern\",{get:function(){return!!this.bit(12)},set:function(t){this.setBit(12,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"textureBinding\",{get:function(){return this.bits(0,8)},set:function(t){this.setBits(t,0,8)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"geometryTypeString\",{get:function(){switch(this.geometryType){case n.WGLGeometryType.FILL:return\"fill\";case n.WGLGeometryType.MARKER:return\"marker\";case n.WGLGeometryType.LINE:return\"line\";case n.WGLGeometryType.TEXT:return\"text\";case n.WGLGeometryType.LABEL:return\"label\";default:throw new r(\"Unable to handle unknown geometryType: \"+this.geometryType)}},enumerable:!1,configurable:!0}),t.prototype.setBit=function(t,e){var i=1<>t},t.prototype.setBits=function(t,e,i){for(var r=e,n=0;r1?null:{x:Math.round(r+u*(o-r)),y:Math.round(e+u*(t-e))}}i.setExtent(n.TILE_SIZE),e.area=c,e.triangleArea=d,e.triangulate=function(r,e,o){var t=e.coords,n=e.lengths;if(e.hasIndeterminateRingOrder)return!1;for(var a=r.length,l=0,u=0;u0))break;g+=p,h.push(l+f),f+=v}var b=r.length;s.bufcut(r,t,l,l+f,h,2,o);var y=d(r,t,b,r.length,o),M=Math.abs(g);if(Math.abs((y-M)/Math.max(1e-7,M))>1e-5)return r.seek(a),!1;u=i,l+=f}return!0},e.triangulateEarcut=function(r,e,t){var n=e.coords,a=e.lengths;if(e.hasIndeterminateRingOrder)return!1;for(var s=0,l=0;l0))break;d.push(s+i-s),i+=f}for(var g=s+i,h=e.coords.slice(2*s,2*g),v=0,p=o.earcut(h,d,2);vo||uo)return!0}t+=a}return!1}(r,-128,n.TILE_SIZE+128))return r;i.reset(3);for(var e=0,o=0;o=n||v=n,b=p;a!==c&&p===b;)p||(r.coords[2*s]=h,r.coords[2*s+++1]=v,d++),h=r.coords[2*a],v=r.coords[2*a+++1],p=h=n||v=n;if(a!==c){var y=r.coords[2*(a-2)],M=r.coords[2*(a-2)+1],x=f(y,M,h,v,t,t,n,t)||f(y,M,h,v,n,t,n,n)||f(y,M,h,v,n,n,t,n)||f(y,M,h,v,t,t,t,n);x&&(r.coords[2*s]=x.x,r.coords[2*s+++1]=x.y,d++,g||(g=x)),p||(r.coords[2*s]=h,r.coords[2*s+++1]=v,d++)}else p?g&&(r.coords[2*s]=g.x,r.coords[2*s+++1]=g.y,d++):(r.coords[2*s]=h,r.coords[2*s+++1]=v,d++)}r.lengths[u]=d,l+=i}}}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../geometry/support/jsonUtils\",\"./packingUtils\",\"./Rect\"],(function(r,n,t,a,o){\"use strict\";function e(r){for(var n=1/0,t=-1/0,a=1/0,o=-1/0,e=0,i=r;et&&(t=v[0]),v[1]o&&(o=v[1])}return[n,a,t,o]}function i(r,n){for(var t=2*n,o=r.length,e=new Uint8Array(4*o),i=0;i0){var M=(n.xmax-n.xmin)/(n.ymax-n.ymin);x=a.x/(t*M),d=a.y/t}}else x=a.x,d=a.y;return x=.5*(n.xmax+n.xmin)+x*(n.xmax-n.xmin),d=.5*(n.ymax+n.ymin)+d*(n.ymax-n.ymin),x-=e,d-=i,x*=h,d*=h,[s,(x+=m)/y-.5,-((d+=m)/g-.5)]},n.buildSDF=function(r){for(var n,t=(n=r.geom)?n.rings?n.rings:n.paths?n.paths:void 0!==n.xmin&&void 0!==n.ymin&&void 0!==n.xmax&&void 0!==n.ymax?[[[n.xmin,n.ymin],[n.xmin,n.ymax],[n.xmax,n.ymax],[n.xmax,n.ymin],[n.xmin,n.ymin]]]:null:null,a=function(r){for(var n=1/0,t=-1/0,a=1/0,e=-1/0,i=0,l=r;it&&(t=f[0]),f[1]e&&(e=f[1])}return new o.default(n,a,t-n,e-a)}(t),e=Math.floor(31.5),l=(128-2*(e+1))/Math.max(a.width,a.height),u=Math.round(a.width*l)+2*e,v=Math.round(a.height*l)+2*e,f=[],m=0,h=t;m1){for(var g=[],s=0,x=y;sn&&(c=n),p<0&&(p=0),S>t&&(S=t);for(var b=y[0]-h[0],F=y[1]-h[1],I=b*b+F*F,D=M;DI?(k=y[0],P=y[1]):(w/=I,k=h[0]+w*b,P=h[1]+w*F);var A=(D-k)*(D-k)+(C-P)*(C-P),E=(t-C-1)*n+D;An-a&&(d=n-a),Mt-a&&(c=t-a);for(var p=M;pp!=m[1]>p){for(var S=(t-p-1)*n,b=x;by.wrapDistance||d0&&(h.inbound.x=h.outbound.x,h.inbound.y=h.outbound.y),d0||y.enableInnerBisectorSplit||y.innerBisectorAutoSplitThreshold>0?(h.canSplit=!0,function(){b(),g(),h.splitInner=h.gapInner=h.splitOuter=h.gapOuter=!1,p(1),h.closure0=h.leftEntry0,h.closure1=h.leftEntry1,h.closure2=h.leftEntry2;for(;s-u>y.wrapDistance||dy.wrapDistance||d=0?1:-1}function p(t){o.vertex(h),1===t?(h.leftEntry0=h.entry0,h.leftEntry1=h.entry1,h.leftEntry2=h.entry2,h.leftExit0=h.exit0,h.leftExit1=h.exit1,h.leftExit2=h.exit2):2===t&&(h.rightEntry0=h.entry0,h.rightEntry1=h.entry1,h.rightEntry2=h.entry2,h.rightExit0=h.exit0,h.rightExit1=h.exit1,h.rightExit2=h.exit2)}function f(t){o.vertex(h),1===t?(h.leftEntry0=h.entry0,h.leftEntry2=h.entry2,h.leftExit0=h.exit0,h.leftExit2=h.exit2):2===t&&(h.rightEntry0=h.entry0,h.rightEntry2=h.entry2,h.rightExit0=h.exit0,h.rightExit2=h.exit2)}var v=function(){function t(t,e){this.writeVertex=t,this.writeTriangle=e,this.capType=0,this.joinType=2,this.miterLimitCosine=r.getLimitCosine(2),this.roundLimitCosine=Math.cos(23*Math.PI/180),this.almostParallelCosine=.97,this.radsPerSlice=.8,this.textured=!1,this.joinOnUTurn=!1}return t.prototype.vertex=function(t){var e=2===this.joinType?this.miterLimitCosine:this.roundLimitCosine,r=t.isCap&&0!==this.capType,i=!1;t.cosine>this.almostParallelCosine?(t.exit0=t.entry0=this.writeVertex(t.currentVertex.x,t.currentVertex.y,0,0,t.bisector.x/t.cosine,t.bisector.y/t.cosine,0,-1,t.distance),t.exit2=t.entry2=this.writeVertex(t.currentVertex.x,t.currentVertex.y,0,0,-t.bisector.x/t.cosine,-t.bisector.y/t.cosine,0,1,t.distance)):t.cosine<1-this.almostParallelCosine?(i=!t.isCap&&this.joinOnUTurn,t.entry0=this.writeVertex(t.currentVertex.x,t.currentVertex.y,0,0,t.prevNormal.x,t.prevNormal.y,0,-1,t.distance),t.entry2=this.writeVertex(t.currentVertex.x,t.currentVertex.y,0,0,-t.prevNormal.x,-t.prevNormal.y,0,1,t.distance),t.exit0=this.writeVertex(t.currentVertex.x,t.currentVertex.y,0,0,t.nextNormal.x,t.nextNormal.y,0,-1,t.distance),t.exit2=this.writeVertex(t.currentVertex.x,t.currentVertex.y,0,0,-t.nextNormal.x,-t.nextNormal.y,0,1,t.distance)):t.canSplit?(x(),t.sign>0?(t.splitInner?(t.exit0=this.writeVertex(t.currentVertex.x,t.currentVertex.y,t.outbound.x,t.outbound.y,t.leftInner.x,t.leftInner.y,0,-1,t.distance),t.entry0=this.writeVertex(t.currentVertex.x,t.currentVertex.y,t.inbound.x,t.inbound.y,t.rightInner.x,t.rightInner.y,0,-1,t.distance)):t.exit0=t.entry0=this.writeVertex(t.currentVertex.x,t.currentVertex.y,t.inbound.x,t.inbound.y,t.bisector.x/t.cosine,t.bisector.y/t.cosine,0,-1,t.distance),t.cosine0?(t.exit0=t.entry0=this.writeVertex(t.currentVertex.x,t.currentVertex.y,t.inbound.x,t.inbound.y,t.bisector.x/t.cosine,t.bisector.y/t.cosine,0,-1,t.distance),t.cosine0?t.exit2:t.entry0,t.sign>0?t.entry2:t.exit0);else if(r&&1===this.capType||i&&1===this.joinType){var s,u=void 0,l=void 0,c=void 0,a=void 0,y=void 0,d=void 0;if(t.isCap)d=(s=Math.PI)/(y=Math.ceil(s/this.radsPerSlice)),t.isFirstVertex?(u=t.prevNormal.x,l=t.prevNormal.y,c=t.entry0,a=t.entry2):t.isLastVertex&&(u=-t.nextNormal.x,l=-t.nextNormal.y,c=t.exit2,a=t.exit0);else d=(s=2*Math.acos(t.cosine))/(y=Math.ceil(s/this.radsPerSlice)),u=t.sign>0?-t.prevNormal.x:t.nextNormal.x,l=t.sign>0?-t.prevNormal.y:t.nextNormal.y,c=t.sign>0?t.entry2:t.exit0,a=t.sign>0?t.exit2:t.entry0;var h,b=Math.cos(d),V=Math.sin(d),g=V*u+b*l;u=b*u-V*l,l=g;for(var p=void 0,f=0;f0?(this.writeTriangle(n,t.entry2,w),this.writeTriangle(n,w,N),this.writeTriangle(n,N,t.entry0)):(this.writeTriangle(n,w,t.exit2),this.writeTriangle(n,N,w),this.writeTriangle(n,t.exit0,N))}},t.prototype.bridge=function(t){this.writeTriangle(t.leftExit0,t.rightEntry0,null!=t.leftExit1?t.leftExit1:t.leftExit2),this.writeTriangle(t.rightEntry0,null!=t.rightEntry1?t.rightEntry1:t.rightEntry2,null!=t.leftExit1?t.leftExit1:t.leftExit2),null!=t.leftExit1&&null!=t.rightEntry1?(this.writeTriangle(t.leftExit1,t.rightEntry1,t.leftExit2),this.writeTriangle(t.rightEntry1,t.rightEntry2,t.leftExit2)):null!=t.leftExit1?this.writeTriangle(t.leftExit1,t.rightEntry2,t.leftExit2):null!=t.rightEntry1&&this.writeTriangle(t.rightEntry1,t.rightEntry2,t.leftExit2)},t}();e.StandardTessellationCallbacks=v;var E=function(){function t(t,e){this.writeVertex=t,this.writeTriangle=e}return t.prototype.vertex=function(t){t.entry0=this.writeVertex(t.currentVertex.x,t.currentVertex.y,0,0,t.prevNormal.x,t.prevNormal.y,0,-1,t.distance),t.entry2=this.writeVertex(t.currentVertex.x,t.currentVertex.y,0,0,-t.prevNormal.x,-t.prevNormal.y,0,1,t.distance),t.exit0=this.writeVertex(t.currentVertex.x,t.currentVertex.y,0,0,t.nextNormal.x,t.nextNormal.y,0,-1,t.distance),t.exit2=this.writeVertex(t.currentVertex.x,t.currentVertex.y,0,0,-t.nextNormal.x,-t.nextNormal.y,0,1,t.distance)},t.prototype.bridge=function(t){this.writeTriangle(t.leftExit0,t.rightEntry0,t.leftExit2),this.writeTriangle(t.rightEntry0,t.rightEntry2,t.leftExit2)},t}();e.ThinTessellationCallbacks=E}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../../../../core/screenUtils\",\"../../alignmentUtils\",\"../../color\",\"../../materialKey/MaterialKey\",\"./WGLBaseTextTemplate\",\"./WGLMeshTemplate\",\"../../util/BidiText\"],(function(e,t,i,l,n,a,o,r,s,c){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var f=function(e){function t(t,i,a,r,s,c,f,u,h,p,d,_,m,x,A,y,g,z){void 0===z&&(z=!1);var M=e.call(this)||this;M._xOffset=l.pt2px(_),M._yOffset=l.pt2px(m),M._decoration=h||\"none\",M._color=r,M._haloColor=s,M._haloSize=Math.min(Math.floor(5*l.pt2px(l.toPt(a))),127),M._size=Math.min(Math.round(l.pt2px(i)),127);var b=Math.min(Math.round(l.pt2px(i)),127);M._referenceSize=Math.round(Math.sqrt(256*b)),M._scale=M._size/24,M._angle=d,M._justify=n.getJustification(c||\"center\"),M._xAlignD=n.getXAnchorDirection(c||\"center\"),M._yAlignD=n.getYAnchorDirection(f||\"baseline\"),M._baseline=\"baseline\"===(f||\"baseline\"),M._bitset=(1===u?1:0)|(p?1:0)<<1;var v=o.MaterialKeyBase.load(t);return v.sdf=!0,M._materialKey=v.data,M._lineWidth=l.pt2px(x)||512,M._lineHeight=A||1,M._textPlacement=y,M.effects=g,M._isCIM=z,M}return i.__extends(t,e),t.fromText=function(e,i){var l=new t(e.materialKey,e.font.size,e.haloSize||0,e.color&&a.premultiplyAlphaRGBAArray(e.color)||0,e.haloColor&&a.premultiplyAlphaRGBAArray(e.haloColor)||0,e.horizontalAlignment,e.verticalAlignment,0,e.font.decoration,!1,e.angle||0,e.xoffset,e.yoffset,e.lineWidth,e.lineHeight,null,null,!1),n=c.bidiText(e.text)[1];return l.bindTextInfo(i,n),l},t.fromCIMText=function(e,i){var l=e.scaleFactor||1,n=new t(e.materialKey,e.size*e.sizeRatio*l,e.outlineSize*e.sizeRatio,a.premultiplyAlphaRGBA(e.color),a.premultiplyAlphaRGBA(e.outlineColor),e.horizontalAlignment,e.verticalAlignment,e.alignment,e.decoration,e.colorLocked,e.angle,e.offsetX*e.sizeRatio*l,e.offsetY*e.sizeRatio*l,512,1,e.markerPlacement,e.effects,!0),o=c.bidiText(e.text)[1];return n.bindTextInfo(i,o),n},t}(r.default(s.default));t.default=f}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../../../../core/Logger\",\"../../../../../core/libs/libtess/libtess\"],(function(e,t,n,i){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var s=n.getLogger(\"esri.views.2d.engine.webgl.mesh.templates.Tesselator\"),l=function(){function e(){this._currentVertexIndex=0,this._indexCounter=0,this._triangleIndices=[-1,-1,-1],this.glu=new i.GluTesselator,this.glu.gluTessCallback(i.gluEnum.GLU_TESS_BEGIN,this._begincallback.bind(this)),this.glu.gluTessCallback(i.gluEnum.GLU_TESS_VERTEX_DATA,this._vertexCallback.bind(this)),this.glu.gluTessCallback(i.gluEnum.GLU_TESS_END,this._endcallback.bind(this)),this.glu.gluTessCallback(i.gluEnum.GLU_TESS_COMBINE,this._combinecallback.bind(this)),this.glu.gluTessCallback(i.gluEnum.GLU_TESS_ERROR,this._errorcallback.bind(this)),this.glu.gluTessCallback(i.gluEnum.GLU_TESS_EDGE_FLAG,this._edgeCallback.bind(this)),this.glu.gluTessProperty(i.gluEnum.GLU_TESS_WINDING_RULE,i.windingRule.GLU_TESS_WINDING_ODD)}return e.prototype.beginPolygon=function(e,t){this._triangleIndices[0]=-1,this._triangleIndices[1]=-1,this._triangleIndices[2]=-1,this._currentVertexIndex=0,this._indexCounter=0,this.glu.gluTessBeginPolygon(e),this._indices=t},e.prototype.endPolygon=function(){this.glu.gluTessEndPolygon()},e.prototype.beginContour=function(){this.glu.gluTessBeginContour()},e.prototype.endContour=function(){this.glu.gluTessEndContour()},e.prototype.addVertex=function(e,t){this.glu.gluTessVertex(e,t)},e.prototype._vertexCallback=function(e,t){if(t[t.length]=e[0],t[t.length]=e[1],this._triangleIndices[this._currentVertexIndex]=-1,this._currentVertexIndex>=2){for(var n=0;n<3;n++)-1===this._triangleIndices[n]&&(this._triangleIndices[n]=this._indexCounter++),this._indices[this._indices.length]=this._triangleIndices[n];this._currentVertexIndex=0}else this._currentVertexIndex++},e.prototype._begincallback=function(){this._triangleIndices[0]=-1,this._triangleIndices[1]=-1,this._triangleIndices[2]=-1,this._currentVertexIndex=0},e.prototype._endcallback=function(){this._currentVertexIndex=0},e.prototype._errorcallback=function(e){s.error(\"Encountered error during tesselation: \"+e)},e.prototype._combinecallback=function(e){return[e[0],e[1],e[2]]},e.prototype._edgeCallback=function(){},e}();t.default=l}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../../../../core/Logger\",\"../../../../../../core/promiseUtils\",\"../../../../../../symbols/cim/cimAnalyzer\",\"./WGLMeshTemplate\"],(function(e,a,t,r,i,n,s){\"use strict\";Object.defineProperty(a,\"__esModule\",{value:!0});var o=r.getLogger(\"esri.views.2d.engine.webgl.WGLDynamicMeshTemplate\"),l=function(e){function a(a){var t=e.call(this)||this;return t._ongoingMaterialRequestMap=new Map,t._materialCache=new Map,t._dynamicPropertyMap=new Map,t._cimLayer=a,t}return t.__extends(a,e),a.prototype.analyze=function(e,a,t,r){var s=this,l=a.readLegacyFeature(),u=this._materialCache,c=this._cimLayer.materialHash;if(!c)return o.error(\"A Dynamic mesh template must have a material hash value or function!\"),i.reject(null);var m=\"function\"==typeof c?c(l,t,r):c;if(u.has(m)){var g=u.get(m);return i.resolve(g)}if(this._ongoingMaterialRequestMap.has(m))return this._ongoingMaterialRequestMap.get(m);var h=n.analyzeCIMResource(this._cimLayer.cim,this._cimLayer.materialOverrides);h.mosaicHash=m;var M=e.getMosaicItem(h).then((function(e){return s._ongoingMaterialRequestMap.delete(m),u.set(m,e),e})).catch((function(e){return s._ongoingMaterialRequestMap.delete(m),o.error(\".analyze()\",e.message),null}));return this._ongoingMaterialRequestMap.set(m,M),M},a}(s.default);a.default=l}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\"],(function(t,e){\"use strict\";return function(){function t(){this.vertexData=new Map,this.vertexCount=0,this.indexData=[]}return t.prototype.clear=function(){this.vertexData.clear(),this.vertexCount=0,this.indexData=[]},t.prototype.update=function(t,e,i){for(var r in t)this.vertexData.set(r,t[r]);for(var r in this.vertexData)null===t[r]&&this.vertexData.delete(r);this.vertexCount=e,this.indexData=i},t}()}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../CIMCursor\",\"../CIMEffects\",\"../CIMOperators\"],(function(e,r,t,n,o){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.CIMEffectHelper=void 0;var f=function(){function e(){}return e.executeEffects=function(e,r){for(var f=t.cloneAndDecodeGeometry(r),c=new n.SimpleGeometryCursor(f),u=0,i=e;u=this._buffer.length){var r=this._roundToNearest(1.5*(this._array.byteLength+t*this._buffer.BYTES_PER_ELEMENT),this._buffer.BYTES_PER_ELEMENT),e=new ArrayBuffer(r),o=new this._ctor(e);o.set(this._buffer,0),this._array=e,this._buffer=o}},t.prototype.writeF32=function(t){this._ensureSize(1);var r=this._pos;return new Float32Array(this._array,4*this._pos,1)[0]=t,this._pos++,r},t.prototype.push=function(t){this._ensureSize(1);var r=this._pos;return this._buffer[this._pos++]=t,r},t.prototype.writeFixed=function(t){this._buffer[this._pos++]=t},t.prototype.setValue=function(t,r){this._buffer[t]=r},t.prototype.getValue=function(t){return this._buffer[t]},t.prototype.incr=function(t){this._buffer[t]++},t.prototype.decr=function(t){this._buffer[t]--},t.prototype.writeRegion=function(t){this._ensureSize(t.length);var r=this._pos;return this._buffer.set(t,this._pos),this._pos+=t.length,r},t.prototype.buffer=function(){var t=this._array.slice(0,4*this._pos);return this.destroy(),t},t.prototype.toArray=function(){for(var t=this._array,r=[],e=0;e