PageSourceSearch

https://www.syn.is/_next/static/chunks/7578.929b6d49dbac0e1f.js

js syn.is collected 2026-09-24 09:43:51 UTC 4,137 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7578,59515],{7578:(e,t,n)=>{n.r(t),n.d(t,{execute:()=>u,executeMany:()=>i,isConvex:()=>m});var r=n(89637),o=n(27627);function u(e){let t=(0,o.fromGeometry)(e);return(0,o.toGeometry)((0,r.g7)(t.getGeometry()),t.getSpatialReference())}function i(e,t={}){let{merge:n=!1}=t,[u,m]=(0,o.fromGeometries)(e);return(0,r.zo)(u,n).map(e=>(0,o.toGeometry)(e,m))}function m(e){return(0,r.qT)((0,o.fromGeometryToGXGeometry)(e))}},59515:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>o});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class o extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){let e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},89637:(e,t,n)=>{n.d(t,{fz:()=>h,g7:()=>G,qT:()=>f,zo:()=>c});var r=n(59515),o=n(99383),u=n(42379),i=n(81320),m=n(7561);class s{getOperatorType(){return 10102}supportsCurves(){return!1}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,n){return new l(t,e,n)}execute(e,t){return g(e)}isConvex(e,t){if((0,o.l)(e),(0,o.d)(e),e.isEmpty())return!0;let n=e.getGeometryType();return n===o.G.enumPoint||(n===o.G.enumEnvelope?e.getXMin()!==e.getXMax()&&e.getYMin()!==e.getYMax():(0,o.f)(n)?!e.getStartXY().equals(e.getEndXY()):n===o.G.enumMultiPoint?1===e.getPointCount():n===o.G.enumPolyline?1===e.getPathCount()&&2===e.getPointCount()&&!e.getXY(0).equals(e.getXY(1)):n===o.G.enumGeometryCollection?1===e.getGeometryCount()&&this.isConvex(e.getGeometry(0),t):!(1!==e.getPathCount()||3>e.getPointCount())&&(0,i.i)(e,0))}constructOrientedMinimumBoundingBox(e,t,n,r,o){(0,i.e)(e,t,n,r,o)}}class l extends r.G{constructor(e,t,n){super(),t||(0,o.t)(""),this.m_progressTracker=n,this.m_index=-1,this.m_bMerge=e,this.m_bDone=!1,this.m_inputGeometryCursor=t}getGeometryID(){return this.m_index}tock(){return!0}getRank(){return 1}next(){if(this.m_bMerge){if(!this.m_bDone){let e=a(this.m_inputGeometryCursor);return this.m_bDone=!0,e}return null}if(!this.m_bDone){let e=this.m_inputGeometryCursor.next();if(null!==e)return(0,o.l)(e),(0,o.d)(e),this.m_index=this.m_inputGeometryCursor.getGeometryID(),g(e);this.m_bDone=!0}return null}}function a(e,t){let n,r=new i.C;for(;n=e.next();)(0,o.l)(n),(0,o.d)(n),r.addGeometry(n);return r.getBoundingGeometry()}function g(e,t){if(e||(0,o.t)(""),(0,o.l)(e),(0,o.d)(e),e.isEmpty())return e.createInstance();let n=e.getGeometryType();if((0,o.f)(n)){if(e.getStartXY().equals(e.getEndXY())){let t=new u.P;return e.queryStart(t),t}{let t=new u.P,n=new i.P({vd:e.getDescription()});return e.queryStart(t),n.startPathPoint(t),e.queryEnd(t),n.lineToPoint(t),n}}if(n===o.G.enumEnvelope){let t=new m.J;if(e.queryEnvelope(t),t.xmin===t.xmax&&t.ymin===t.ymax){let t=new u.P;return e.queryCornerByVal(0,t),t}if(t.xmin===t.xmax||t.ymin===t.ymax){let t=new u.P,n=new i.P({vd:e.getDescription()});return e.queryCornerByVal(0,t),n.startPathPoint(t),e.queryCornerByVal(1,t),n.lineToPoint(t),n}{let t=new i.a({vd:e.getDescription()});return t.addEnvelope(e,!1),t}}if(n===o.G.enumGeometryCollection)return a((0,i.g)(e,-1));if(function e(t,n){if((0,o.l)(t),(0,o.d)(t),t.isEmpty())return!0;let r=t.getGeometryType();return r===o.G.enumPoint||(r===o.G.enumEnvelope?t.getXMin()!==t.getXMax()&&t.getYMin()!==t.getYMax():(0,o.f)(r)?!t.getStartXY().equals(t.getEndXY()):r===o.G.enumMultiPoint?1===t.getPointCount():r===o.G.enumPolyline?1===t.getPathCount()&&2===t.getPointCount()&&!t.getXY(0).equals(t.getXY(1)):r===o.G.enumGeometryCollection?1===t.getGeometryCount()&&e(t.getGeometry(0)):!(1!==t.getPathCount()||3>t.getPointCount())&&(0,i.i)(t,0))}(e)){if(n===o.G.enumMultiPoint){let t=new u.P;return e.getPointByVal(0,t),t}return e}return(0,i.f)(e)}let y=new s;function G(e){return y.execute(e,null)}function c(e,t){return Array.from(y.executeMany(new r.S(e),t,null))}function f(e){return y.isConvex(e,null)}function h(){return y.supportsCurves()}}}]);
2//# sourceMappingURL=7578.929b6d49dbac0e1f.js.map

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.