????

Your IP : 18.222.183.98


Current Path : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/
Upload File :
Current File : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/63-es2015.js.map

{"version":3,"sources":["./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/vec4.js","./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec4.js","./node_modules/arcgis-js-api/views/3d/support/buffer/workerHelper.js","./node_modules/arcgis-js-api/views/3d/support/meshProcessing.js","./node_modules/arcgis-js-api/views/3d/webgl-engine/lib/edgeRendering/EdgeProcessingWorker.js","./node_modules/arcgis-js-api/views/3d/webgl-engine/lib/edgeRendering/bufferLayouts.js","./node_modules/arcgis-js-api/views/3d/webgl-engine/lib/edgeRendering/edgeBufferWriters.js","./node_modules/arcgis-js-api/views/3d/webgl-engine/lib/edgeRendering/edgePreprocessing.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,wGAAU,CAAC,mCAAC,gBAAgB,gBAAgB,iDAAiD,sBAAsB,qCAAqC,kBAAkB,qEAAqE,kBAAkB,qEAAqE,kBAAkB,qEAAqE,kBAAkB,qEAAqE,gBAAgB,6FAA6F,gBAAgB,iGAAiG,kBAAkB,6GAA6G,kBAAkB,6GAA6G,gBAAgB,iGAAiG,kBAAkB,yDAAyD,oBAAoB,6EAA6E,gBAAgB,oDAAoD,kCAAkC,gBAAgB,oDAAoD,uBAAuB,cAAc,gCAAgC,kCAAkC,cAAc,gCAAgC,uBAAuB,gBAAgB,qDAAqD,gBAAgB,yDAAyD,gBAAgB,kDAAkD,qEAAqE,gBAAgB,+CAA+C,oBAAoB,gCAAgC,iFAAiF,gBAAgB,OAAO,gBAAgB,GAAG,4CAA4C,YAAY,GAAG,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S,CAAC,4GAAgC,CAAC,0GAA+B,CAAC,oHAAoC,CAAC,kIAA2C,CAAC,wIAA8C,CAAC,mHAA4B,CAAC,mCAAC,0BAA0B,oBAAoB,kBAAkB,0UAA0U,4BAA4B,oEAAoE,uBAAuB,iBAAiB,EAAE,oCAAoC,IAAI,KAAK,sEAAsE,gJAAgJ,KAAK,0JAA0J,oCAAoC,qFAAqF,oEAAoE,OAAO,SAAS,mCAAmC,WAAW,aAAa,mCAAmC,WAAW,wBAAwB,gBAAgB,oBAAoB,gBAAgB,oBAAoB,gBAAgB,kDAAkD,2HAA2H,cAAc,2DAA2D,IAAI,KAAK,sEAAsE,sDAAsD,sCAAsC,IAAI,KAAK,sEAAsE,4JAA4J,SAAS,cAAc,4GAA4G,IAAI,KAAK,qCAAqC,4KAA4K,SAAS,sCAAsC,SAAS,EAAE,SAAS,iBAAiB,OAAO,oJAAoJ,IAAI,uDAAuD,IAAI,kEAAkE,IAAI,uCAAuC;AAAA,oGAAC,C","file":"63-es2015.js","sourcesContent":["// COPYRIGHT © 2019 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.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"./common\"],function(t,n,r){function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function u(t,n,r,a,u){return t[0]=n,t[1]=r,t[2]=a,t[3]=u,t}function e(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t}function o(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t}function i(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t[3]=n[3]*r[3],t}function M(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t[3]=n[3]/r[3],t}function c(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t[3]=Math.ceil(n[3]),t}function h(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t[3]=Math.floor(n[3]),t}function f(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t[3]=Math.min(n[3],r[3]),t}function s(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t[3]=Math.max(n[3],r[3]),t}function l(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t[3]=Math.round(n[3]),t}function d(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t}function m(t,n,r,a){return t[0]=n[0]+r[0]*a,t[1]=n[1]+r[1]*a,t[2]=n[2]+r[2]*a,t[3]=n[3]+r[3]*a,t}function v(t,n){var r=n[0]-t[0],a=n[1]-t[1],u=n[2]-t[2],e=n[3]-t[3];return Math.sqrt(r*r+a*a+u*u+e*e)}function b(t,n){var r=n[0]-t[0],a=n[1]-t[1],u=n[2]-t[2],e=n[3]-t[3];return r*r+a*a+u*u+e*e}function q(t){var n=t[0],r=t[1],a=t[2],u=t[3];return Math.sqrt(n*n+r*r+a*a+u*u)}function x(t){var n=t[0],r=t[1],a=t[2],u=t[3];return n*n+r*r+a*a+u*u}function O(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=-n[3],t}function N(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t[3]=1/n[3],t}function A(t,n){var r=n[0],a=n[1],u=n[2],e=n[3],o=r*r+a*a+u*u+e*e;return o>0&&(o=1/Math.sqrt(o),t[0]=r*o,t[1]=a*o,t[2]=u*o,t[3]=e*o),t}function D(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function L(t,n,r,a){var u=n[0],e=n[1],o=n[2],i=n[3];return t[0]=u+a*(r[0]-u),t[1]=e+a*(r[1]-e),t[2]=o+a*(r[2]-o),t[3]=i+a*(r[3]-i),t}function p(t,n){n=n||1;var a,u,e,o,i,M;do{a=2*r.RANDOM()-1,u=2*r.RANDOM()-1,i=a*a+u*u}while(i>=1);do{e=2*r.RANDOM()-1,o=2*r.RANDOM()-1,M=e*e+o*o}while(M>=1);var c=Math.sqrt((1-i)/M);return t[0]=n*a,t[1]=n*u,t[2]=n*e*c,t[3]=n*o*c,t}function E(t,n,r){var a=n[0],u=n[1],e=n[2],o=n[3];return t[0]=r[0]*a+r[4]*u+r[8]*e+r[12]*o,t[1]=r[1]*a+r[5]*u+r[9]*e+r[13]*o,t[2]=r[2]*a+r[6]*u+r[10]*e+r[14]*o,t[3]=r[3]*a+r[7]*u+r[11]*e+r[15]*o,t}function P(t,n,r){var a=n[0],u=n[1],e=n[2],o=r[0],i=r[1],M=r[2],c=r[3],h=c*a+i*e-M*u,f=c*u+M*a-o*e,s=c*e+o*u-i*a,l=-o*a-i*u-M*e;return t[0]=h*c+l*-o+f*-M-s*-i,t[1]=f*c+l*-i+s*-o-h*-M,t[2]=s*c+l*-M+h*-i-f*-o,t[3]=n[3],t}function I(t){return\"vec4(\"+t[0]+\", \"+t[1]+\", \"+t[2]+\", \"+t[3]+\")\"}function R(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]}function S(t,n){var a=t[0],u=t[1],e=t[2],o=t[3],i=n[0],M=n[1],c=n[2],h=n[3];return Math.abs(a-i)<=r.EPSILON*Math.max(1,Math.abs(a),Math.abs(i))&&Math.abs(u-M)<=r.EPSILON*Math.max(1,Math.abs(u),Math.abs(M))&&Math.abs(e-c)<=r.EPSILON*Math.max(1,Math.abs(e),Math.abs(c))&&Math.abs(o-h)<=r.EPSILON*Math.max(1,Math.abs(o),Math.abs(h))}Object.defineProperty(n,\"__esModule\",{value:!0}),n.copy=a,n.set=u,n.add=e,n.subtract=o,n.multiply=i,n.divide=M,n.ceil=c,n.floor=h,n.min=f,n.max=s,n.round=l,n.scale=d,n.scaleAndAdd=m,n.distance=v,n.squaredDistance=b,n.length=q,n.squaredLength=x,n.negate=O,n.inverse=N,n.normalize=A,n.dot=D,n.lerp=L,n.random=p,n.transformMat4=E,n.transformQuat=P,n.str=I,n.exactEquals=R,n.equals=S,n.sub=o,n.mul=i,n.div=M,n.dist=v,n.sqrDist=b,n.len=q,n.sqrLen=x});","// COPYRIGHT © 2019 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.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"./math/vec4\"],function(e,r,t){Object.defineProperty(r,\"__esModule\",{value:!0}),r.vec4=t});","// COPYRIGHT © 2019 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.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../../../core/tsSupport/assignHelper\",\"./BufferView\",\"./InterleavedLayout\"],function(e,f,r,u,i){function t(e,f){return f.push(e.buffer),{buffer:e.buffer,layout:c(e.layout)}}function V(e){return n(e.layout).createView(e.buffer)}function c(e){var f=new Array;return e.fields.forEach(function(e,u){var i=r({},e,{constructor:w(e.constructor)});f.push([u,i])}),{stride:e.stride,fields:f,fieldNames:e.fieldNames}}function n(e){var f=i.newLayout();return f.stride=e.stride,f.fieldNames=e.fieldNames,e.fields.forEach(function(e){return f.fields.set(e[0],r({},e[1],{constructor:B(e[1].constructor)}))}),f}function w(e){return e.ElementType+\"_\"+e.ElementCount}function B(e){return o.get(e)}Object.defineProperty(f,\"__esModule\",{value:!0}),f.packInterleavedBuffer=t,f.unpackInterleavedBuffer=V,f.packLayout=c,f.unpackLayout=n;var a=[u.BufferViewFloat,u.BufferViewVec2f,u.BufferViewVec3f,u.BufferViewVec4f,u.BufferViewMat3f,u.BufferViewMat4f,u.BufferViewFloat64,u.BufferViewVec2f64,u.BufferViewVec3f64,u.BufferViewVec4f64,u.BufferViewMat3f64,u.BufferViewMat4f64,u.BufferViewUint8,u.BufferViewVec2u8,u.BufferViewVec3u8,u.BufferViewVec4u8,u.BufferViewUint16,u.BufferViewVec2u16,u.BufferViewVec3u16,u.BufferViewVec4u16,u.BufferViewUint32,u.BufferViewVec2u32,u.BufferViewVec3u32,u.BufferViewVec4u32,u.BufferViewInt8,u.BufferViewVec2i8,u.BufferViewVec3i8,u.BufferViewVec4i8,u.BufferViewInt16,u.BufferViewVec2i16,u.BufferViewVec3i16,u.BufferViewVec4i16,u.BufferViewInt32,u.BufferViewVec2i32,u.BufferViewVec3i32,u.BufferViewVec4i32],o=new Map;a.forEach(function(e){return o.set(w(e),e)})});","// COPYRIGHT © 2019 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.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\"],function(r,n){function a(r,n){for(var a=r.length/3,e=new Uint32Array(n+1),o=new Uint32Array(n+1),f=function(r,n){r<n?e[r+1]++:o[n+1]++},t=0;t<a;t++){var v=r[3*t],i=r[3*t+1],u=r[3*t+2];f(v,i),f(i,u),f(u,v)}for(var c=0,y=0,t=0;t<n;t++){var l=e[t+1],s=o[t+1];e[t+1]=c,o[t+1]=y,c+=l,y+=s}for(var w=new Uint32Array(6*a),A=e[n],d=function(r,n,a){if(r<n){var f=e[r+1]++;w[2*f]=n,w[2*f+1]=a}else{var f=o[n+1]++;w[2*A+2*f]=r,w[2*A+2*f+1]=a}},t=0;t<a;t++){var v=r[3*t],i=r[3*t+1],u=r[3*t+2];d(v,i,t),d(i,u,t),d(u,v,t)}for(var p=function(r,n){for(var a=2*r,e=n-r,o=1;o<e;o++){var f=w[a+2*o],t=w[a+2*o+1],v=o-1;for(v;v>=0&&w[a+2*v]>f;v--)w[a+2*v+2]=w[a+2*v],w[a+2*v+3]=w[a+2*v+1];w[a+2*v+2]=f,w[a+2*v+3]=t}},t=0;t<n;t++)p(e[t],e[t+1]),p(A+o[t],A+o[t+1]);for(var U=new Int32Array(3*a),b=function(n,a){return n===r[3*a]?0:n===r[3*a+1]?1:n===r[3*a+2]?2:-1},g=function(r,n){var a=b(r,n);U[3*n+a]=-1},t=0;t<n;t++){for(var h=e[t],_=e[t+1],j=o[t],m=o[t+1];h<_&&j<m;){var q=w[2*h],x=w[2*A+2*j];q===x?(!function(r,n,a,e){var o=b(r,n);U[3*n+o]=e;var f=b(a,e);U[3*e+f]=n}(t,w[2*h+1],x,w[2*A+2*j+1]),h++,j++):q<x?(g(t,w[2*h+1]),h++):(g(x,w[2*A+2*j+1]),j++)}for(;h<_;)g(t,w[2*h+1]),h++;for(;j<m;){var x=w[2*A+2*j];g(x,w[2*A+2*j+1]),j++}}return U}Object.defineProperty(n,\"__esModule\",{value:!0}),n.computeNeighbors=a});","// COPYRIGHT © 2019 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.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../../../../core/tsSupport/awaiterHelper\",\"../../../../../core/tsSupport/generatorHelper\",\"../../../../../core/typedArrayUtil\",\"../../../../../geometry/support/meshUtils/deduplicate\",\"../../../support/meshProcessing\",\"../../../support/buffer/workerHelper\",\"./bufferLayouts\",\"./edgeBufferWriters\",\"./edgePreprocessing\"],function(e,t,r,n,i,a,u,s,o,p,f){return function(){function e(){this.regularWriter=new p.RegularEdgeBufferWriter,this.silhouetteWriter=new p.SilhouetteEdgeBufferWriter}return e.prototype.process=function(e,t){return r(this,void 0,void 0,function(){var r,i,a;return n(this,function(n){switch(n.label){case 0:return t?(r=new Array,i=this.packInput(e,r),this.wrappedWork,[4,t.invoke(\"wrappedWork\",i,{transferList:r})]):[3,2];case 1:return a=n.sent(),[2,this.unpackOutput(a)];case 2:return[2,this.work(e)]}})})},e.prototype.wrappedWork=function(e){return r(this,void 0,void 0,function(){var t,r,i,a;return n(this,function(n){return t=this.unpackInput(e),r=this.work(t),i=new Array,this.packInputTransferables(t,i),a=this.packOutput(r,i),[2,{result:a,transferList:i}]})})},e.prototype.work=function(e){var t=this.extractEdgeInformation(e.data,e.skipDeduplicate,e.originalIndices);return this.regularWriter.updateSettings(e.writerSettings),this.silhouetteWriter.updateSettings(e.writerSettings),f.extractEdges(t,this.regularWriter,this.silhouetteWriter)},e.prototype.packInputTransferables=function(e,t){t.push(e.data.buffer)},e.prototype.packInput=function(e,t){this.packInputTransferables(e,t);var r={dataBuffer:e.data.buffer,writerSettings:e.writerSettings,skipDeduplicate:e.skipDeduplicate};return e.originalIndices&&(r.originalIndicesBuffer=e.originalIndices.buffer,r.originalIndicesType=i.isUint32Array(e.originalIndices)?\"Uint32Array\":\"Uint16Array\"),r},e.prototype.unpackInput=function(e){return{data:o.EdgeInputBufferLayout.createView(e.dataBuffer),originalIndices:\"Uint32Array\"===e.originalIndicesType?new Uint32Array(e.originalIndicesBuffer):\"Uint16Array\"===e.originalIndicesType?new Uint16Array(e.originalIndicesBuffer):void 0,writerSettings:e.writerSettings,skipDeduplicate:e.skipDeduplicate}},e.prototype.packOutput=function(e,t){return t.push(e.regular.lodInfo.lengths.buffer),t.push(e.silhouette.lodInfo.lengths.buffer),{regular:{instancesData:s.packInterleavedBuffer(e.regular.instancesData,t),lodInfo:{lengths:e.regular.lodInfo.lengths.buffer}},silhouette:{instancesData:s.packInterleavedBuffer(e.silhouette.instancesData,t),lodInfo:{lengths:e.silhouette.lodInfo.lengths.buffer}},averageEdgeLength:e.averageEdgeLength}},e.prototype.unpackOutput=function(e){return{regular:{instancesData:s.unpackInterleavedBuffer(e.regular.instancesData),lodInfo:{lengths:new Float32Array(e.regular.lodInfo.lengths)}},silhouette:{instancesData:s.unpackInterleavedBuffer(e.silhouette.instancesData),lodInfo:{lengths:new Float32Array(e.silhouette.lodInfo.lengths)}},averageEdgeLength:e.averageEdgeLength}},e.prototype.extractEdgeInformation=function(e,t,r){if(t&&r){var n=u.computeNeighbors(r,e.count);return{faces:r,neighbors:n,vertices:e}}var i=a.default(e.buffer,e.stride/4,{originalIndices:r}),n=u.computeNeighbors(i.indices,i.uniqueCount);return{faces:i.indices,neighbors:n,vertices:o.EdgeInputBufferLayout.createView(i.buffer)}},e}()});","// COPYRIGHT © 2019 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.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../../support/buffer/glUtil\",\"../../../support/buffer/InterleavedLayout\"],function(e,n,o,t){Object.defineProperty(n,\"__esModule\",{value:!0}),n.EdgeInputBufferLayout=t.newLayout().vec3f(\"position\").u16(\"componentIndex\").u16(\"_padding\"),n.VertexLayout=t.newLayout().vec2u8(\"sideness\"),n.glVertexLayout=o.glLayout(n.VertexLayout),n.CommonInstancesLayout=t.newLayout().vec3f(\"position0\").vec3f(\"position1\").u16(\"componentIndex\").u8(\"variantOffset\",{glNormalized:!0}).u8(\"variantStroke\").u8(\"variantExtension\",{glNormalized:!0}).u8(\"_padding\",{glPadding:!0}).u16(\"_padding2\",{glPadding:!0}),n.RegularEdgeInstancesLayout=n.CommonInstancesLayout.clone().vec3f(\"normal\"),n.SilhouetteEdgeInstancesLayout=n.CommonInstancesLayout.clone().vec3f(\"normalA\").vec3f(\"normalB\"),n.EdgeShaderAttributeLocations={position0:0,position1:1,componentIndex:2,variantOffset:4,variantStroke:5,variantExtension:6,normal:7,normalA:7,normalB:8,sideness:9}});","// COPYRIGHT © 2019 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.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../../../../core/tsSupport/assignHelper\",\"../../../../../core/tsSupport/extendsHelper\",\"../../../../../core/RandomLCG\",\"../../../../../core/libs/gl-matrix-2/vec3\",\"../../../../../core/libs/gl-matrix-2/vec3f64\",\"../../../support/buffer/glUtil\",\"./bufferLayouts\"],function(t,e,o,r,n,i,a,u,s){function c(t){var e=l;e[0]=t.position0[0],e[1]=t.position0[1],e[2]=t.position0[2],e[3]=t.position1[0],e[4]=t.position1[1],e[5]=t.position1[2],g[0]=5381;for(var o=0;o<m.length;o++)g[0]=31*g[0]+m[o];return g[0]}function p(t,e){var o=t<0?-1:1;return Math.pow(Math.abs(t),e)*o}Object.defineProperty(e,\"__esModule\",{value:!0});var f=function(){function t(){}return t.prototype.updateSettings=function(t){this.settings=t},t.prototype.write=function(t,e,o){var r=c(o);y.seed=r;var n=y.getIntRange(0,255),i=y.getIntRange(0,this.settings.variants-1),a=y.getFloat(),u=-(1-Math.min(a/.7,1)),s=Math.max(0,a-.7)/(1-.7),f=.5*p(u+s,1.2)+.5,l=255*f;t.position0.setVec(e,o.position0),t.position1.setVec(e,o.position1),t.componentIndex.set(e,o.componentIndex),t.variantOffset.set(e,n),t.variantStroke.set(e,i),t.variantExtension.set(e,l)},t.prototype.trim=function(t,e){return t.slice(0,e)},t}();e.CommonBufferWriter=f;var l=new Float32Array(6),m=new Uint32Array(l.buffer),g=new Uint32Array(1),y=new n,d=function(){function t(){this.commonWriter=new f}return t.prototype.updateSettings=function(t){this.commonWriter.updateSettings(t)},t.prototype.allocate=function(t){return s.RegularEdgeInstancesLayout.createBuffer(t)},t.prototype.write=function(t,e,o){this.commonWriter.write(t,e,o),i.vec3.add(h,o.faceNormal0,o.faceNormal1),i.vec3.normalize(h,h),t.normal.setVec(e,h)},t.prototype.trim=function(t,e){return this.commonWriter.trim(t,e)},t.Layout=s.RegularEdgeInstancesLayout,t.glLayout=u.glLayout(s.RegularEdgeInstancesLayout,{divisor:1}),t}();e.RegularEdgeBufferWriter=d;var v=function(){function t(){this.commonWriter=new f}return t.prototype.updateSettings=function(t){this.commonWriter.updateSettings(t)},t.prototype.allocate=function(t){return s.SilhouetteEdgeInstancesLayout.createBuffer(t)},t.prototype.write=function(t,e,o){this.commonWriter.write(t,e,o),t.normalA.setVec(e,o.faceNormal0),t.normalB.setVec(e,o.faceNormal1)},t.prototype.trim=function(t,e){return this.commonWriter.trim(t,e)},t.Layout=s.SilhouetteEdgeInstancesLayout,t.glLayout=u.glLayout(s.SilhouetteEdgeInstancesLayout,{divisor:1}),t}();e.SilhouetteEdgeBufferWriter=v;var h=a.vec3f64.create()});","// COPYRIGHT © 2019 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.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../../../../core/arrayUtils\",\"../../../../../core/mathUtils\",\"../../../../../core/typedArrayUtil\",\"../../../../../core/libs/gl-matrix-2/vec3\",\"../../../../../core/libs/gl-matrix-2/vec3f64\",\"../../../support/mathUtils\"],function(e,r,t,c,a,o,n,i){function s(e,r,n,i){void 0===i&&(i=A);var s=e.vertices.position,p=e.vertices.componentIndex,h=c.deg2rad(i.anglePlanar),y=c.deg2rad(i.angleSignificantEdge),w=Math.cos(y),x=Math.cos(h),I=m.edge,V=I.position0,b=I.position1,N=I.faceNormal0,E=I.faceNormal1,F=d(e),U=g(e),M=U.length/4,P=r.allocate(M),D=0,S=M,_=n.allocate(S),j=0,q=0,z=0,C=t.range(0,M),L=new Float32Array(M);a.forEach(L,function(e,r,t){s.getVec(U[4*r+0],V),s.getVec(U[4*r+1],b),t[r]=o.vec3.distance(V,b)}),C.sort(function(e,r){return L[r]-L[e]});for(var O=new Array,T=new Array,k=0;k<M;k++){var B=C[k],G=L[B],H=U[4*B+0],J=U[4*B+1],K=U[4*B+2],Q=U[4*B+3],R=Q===u;if(s.getVec(H,V),s.getVec(J,b),R)o.vec3.set(N,F[3*K+0],F[3*K+1],F[3*K+2]),o.vec3.copy(E,N),I.componentIndex=p.get(H),I.cosAngle=o.vec3.dot(N,E);else{if(o.vec3.set(N,F[3*K+0],F[3*K+1],F[3*K+2]),o.vec3.set(E,F[3*Q+0],F[3*Q+1],F[3*Q+2]),I.componentIndex=p.get(H),I.cosAngle=o.vec3.dot(N,E),l(I,x))continue;I.cosAngle<-.9999&&o.vec3.copy(E,N)}q+=G,z++,R||v(I,w)?(r.write(P,D++,I),O.push(G)):f(I,h)&&(n.write(_,j++,I),T.push(G))}var W=new Float32Array(O.reverse()),X=new Float32Array(T.reverse());return{regular:{instancesData:r.trim(P,D),lodInfo:{lengths:W}},silhouette:{instancesData:n.trim(_,j),lodInfo:{lengths:X}},averageEdgeLength:q/z}}function v(e,r){return e.cosAngle<r}function l(e,r){return e.cosAngle>r}function f(e,r){var t=c.acosClamped(e.cosAngle),a=m.fwd,n=m.ortho;return i.directionFromTo(a,e.position1,e.position0),t*(o.vec3.dot(o.vec3.cross(n,e.faceNormal0,e.faceNormal1),a)>0?-1:1)>r}function g(e){for(var r=e.faces.length/3,t=e.faces,c=e.neighbors,a=0,o=0;o<r;o++){var n=c[3*o+0],i=c[3*o+1],s=c[3*o+2],v=t[3*o+0],l=t[3*o+1],f=t[3*o+2];a+=n===u||v<l?1:0,a+=i===u||l<f?1:0,a+=s===u||f<v?1:0}for(var g=new Int32Array(4*a),d=0,o=0;o<r;o++){var n=c[3*o+0],i=c[3*o+1],s=c[3*o+2],v=t[3*o+0],l=t[3*o+1],f=t[3*o+2];(n===u||v<l)&&(g[d++]=v,g[d++]=l,g[d++]=o,g[d++]=n),(i===u||l<f)&&(g[d++]=l,g[d++]=f,g[d++]=o,g[d++]=i),(s===u||f<v)&&(g[d++]=f,g[d++]=v,g[d++]=o,g[d++]=s)}return g}function d(e){for(var r=e.faces.length/3,t=e.vertices.position,c=e.faces,a=h.v0,n=h.v1,i=h.v2,s=new Float32Array(3*r),v=0;v<r;v++){var l=c[3*v+0],f=c[3*v+1],g=c[3*v+2];t.getVec(l,a),t.getVec(f,n),t.getVec(g,i),o.vec3.subtract(n,n,a),o.vec3.subtract(i,i,a),o.vec3.cross(a,n,i),o.vec3.normalize(a,a),s[3*v+0]=a[0],s[3*v+1]=a[1],s[3*v+2]=a[2]}return s}Object.defineProperty(r,\"__esModule\",{value:!0});var u=-1;r.extractEdges=s;var p={position0:n.vec3f64.create(),position1:n.vec3f64.create(),faceNormal0:n.vec3f64.create(),faceNormal1:n.vec3f64.create(),componentIndex:0,cosAngle:0},m={edge:p,ortho:n.vec3f64.create(),fwd:n.vec3f64.create()},h={v0:n.vec3f64.create(),v1:n.vec3f64.create(),v2:n.vec3f64.create()},A={anglePlanar:4,angleSignificantEdge:35}});"],"sourceRoot":"webpack:///"}