PageSourceSearch

https://conix.ai/_next/static/chunks/2835.f18e7d75e106c67e.js

js conix.ai collected 2026-10-05 11:59:04 UTC 5,614 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2835],{22835:function(e,r,i){i.r(r),i.d(r,{default:function(){return s}});var n=i(79290),o=i(46121),a=i(81858),h=i(70859),l=i(37603),y=i(57360),g=i(3929);function u(e,r){return r}function d(e,r,i,n){switch(i){case 0:return f(e,r+n,0);case 1:return"lowerLeft"===e.originPosition?f(e,r+n,1):function({translate:e,scale:r},i,n){return e[n]-i*r[n]}(e,r+n,1)}}function p(e,r,i,n){return 2===i?f(e,r,2):d(e,r,i,n)}function c(e,r,i,n){return 2===i?f(e,r,3):d(e,r,i,n)}function m(e,r,i,n){return 3===i?f(e,r,3):p(e,r,i,n)}function f({translate:e,scale:r},i,n){return e[n]+i*r[n]}let _=class _{constructor(e){this._options=e,this.geometryTypes=["point","multipoint","polyline","polygon"],this._previousCoordinate=[0,0],this._transform=null,this._applyTransform=u,this._lengths=[],this._currentLengthIndex=0,this._toAddInCurrentPath=0,this._vertexDimension=0,this._coordinateBuffer=null,this._coordinateBufferPtr=0,this._attributesConstructor=class{},this._missingAttributes=[]}get missingAttributes(){return this._missingAttributes}createFeatureResult(){return new l.Pj}finishFeatureResult(e){if(this._options.applyTransform&&(e.transform=null),this._attributesConstructor=class{},this._coordinateBuffer=null,this._lengths.length=0,!e.hasZ)return;let r=(0,h.k)(e.geometryType,this._options.sourceSpatialReference,e.spatialReference);if(null!=r)for(let i of e.features)r(i.geometry)}createSpatialReference(){return new a.default}addField(e,r){e.fields.push(g.Z.fromJSON(r));let i=e.fields.map(e=>e.name);this._attributesConstructor=function(){for(let e of i)this[e]=null}}addFeature(e,r){let i=this._options.maxStringAttributeLength,n=this._options.maxStringAttributeFields;(0,l._0)(r.attributes,n,i,i=>{let n=r.attributes[e.objectIdFieldName];null!=n&&this._missingAttributes.push({objectId:n,attribute:i})}),e.features.push(r)}addQueryGeometry(e,r){let{queryGeometry:i,queryGeometryType:n}=r,o=(0,y.$g)(i.clone(),i,!1,!1,this._transform),a=(0,y.di)(o,n,!1,!1),h=null;switch(n){case"esriGeometryPoint":h="point";break;case"esriGeometryPolygon":h="polygon";break;case"esriGeometryPolyline":h="polyline";break;case"esriGeometryMultipoint":h="multipoint"}a.type=h,e.queryGeometryType=n,e.queryGeometry=a}prepareFeatures(e){switch(this._transform=e.transform??null,this._options.applyTransform&&e.transform&&(this._applyTransform=this._deriveApplyTransform(e)),this._vertexDimension=2,e.hasZ&&this._vertexDimension++,e.hasM&&this._vertexDimension++,e.geometryType){case"point":this.addCoordinate=(e,r,i)=>this.addCoordinatePoint(e,r,i),this.createGeometry=e=>this.createPointGeometry(e);break;case"polygon":this.addCoordinate=(e,r,i)=>this._addCoordinatePolygon(e,r,i),this.createGeometry=e=>this._createPolygonGeometry(e);break;case"polyline":this.addCoordinate=(e,r,i)=>this._addCoordinatePolyline(e,r,i),this.createGeometry=e=>this._createPolylineGeometry(e);break;case"multipoint":this.addCoordinate=(e,r,i)=>this._addCoordinateMultipoint(e,r,i),this.createGeometry=e=>this._createMultipointGeometry(e);break;case"mesh":case"extent":break;default:(0,n.Bg)(e.geometryType)}}createFeature(){return this._lengths.length=0,this._currentLengthIndex=0,this._previousCoordinate[0]=0,this._previousCoordinate[1]=0,new l.Wh((0,o.D)(),null,new this._attributesConstructor)}allocateCoordinates(){let e=this._lengths.reduce((e,r)=>e+r,0);this._coordinateBuffer=new Float64Array(e*this._vertexDimension),this._coordinateBufferPtr=0}addLength(e,r){0===this._lengths.length&&(this._toAddInCurrentPath=r),this._lengths.push(r)}createPointGeometry(e){let r={type:"point",x:0,y:0,spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM};return r.hasZ&&(r.z=0),r.hasM&&(r.m=0),r}addCoordinatePoint(e,r,i){let n=this._transform?this._applyTransform(this._transform,r,i,0):r;if(null!=n)switch(i){case 0:e.x=n;break;case 1:e.y=n;break;case 2:e.hasZ?e.z=n:e.m=n;break;case 3:e.m=n}}_transformPathLikeValue(e,r){let i=0;return r<=1&&(i=this._previousCoordinate[r],this._previousCoordinate[r]+=e),this._transform?this._applyTransform(this._transform,e,r,i):e}_addCoordinatePolyline(e,r,i){this._dehydratedAddPointsCoordinate(e.paths,r,i)}_addCoordinatePolygon(e,r,i){this._dehydratedAddPointsCoordinate(e.rings,r,i)}_addCoordinateMultipoint(e,r,i){0===i&&e.points.push([]);let n=this._transformPathLikeValue(r,i);e.points[e.points.length-1].push(n)}_createPolygonGeometry(e){return{type:"polygon",rings:[[]],spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM}}_createPolylineGeometry(e){return{type:"polyline",paths:[[]],spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM}}_createMultipointGeometry(e){return{type:"multipoint",points:[],spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM}}_dehydratedAddPointsCoordinate(e,r,i){0===i&&0==this._toAddInCurrentPath--&&(e.push([]),this._toAddInCurrentPath=this._lengths[++this._currentLengthIndex]-1,this._previousCoordinate[0]=0,this._previousCoordinate[1]=0);let n=this._transformPathLikeValue(r,i),o=e[e.length-1],a=this._coordinateBuffer;if(a){if(0===i){let e=this._coordinateBufferPtr*Float64Array.BYTES_PER_ELEMENT;o.push(new Float64Array(a.buffer,e,this._vertexDimension))}a[this._coordinateBufferPtr++]=n}}_deriveApplyTransform(e){let{hasZ:r,hasM:i}=e;return r&&i?m:r?p:i?c:d}};var C=i(96910);let t=class t{_parseFeatureQuery(e){let r=new _(e.options),i=(0,C.C)(e.buffer,r),n={...i,spatialReference:i.spatialReference?.toJSON(),fields:i.fields?i.fields.map(e=>e.toJSON()):void 0,missingAttributes:r.missingAttributes};return Promise.resolve(n)}};function s(){return new t}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.