1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[402],{36537:(e,t,o)=>{o.r(t),o.d(t,{applyRightHandRule:()=>n,default:()=>r,fixRings:()=>i});let r=e=>n(e),n=(e,t=!1)=>{if(!("type"in e)){let{isArray:o}=Array;return o(e[0][0])?o(e[0][0][0])?{type:"MultiPolygon",coordinates:e.map(e=>i(e,t))}:{type:"Polygon",coordinates:i(e,t)}:{type:"Polygon",coordinates:i([e],t)}}return"Polygon"===e.type?e.coordinates=i(e.coordinates):"MultiPolygon"===e.type?e.coordinates=e.coordinates.map(e=>i(e,t)):"GeometryCollection"===e.type&&(e.geometries=e.geometries.map(e=>n(e,t))),e},i=(e,t=!1)=>e.map((e,o)=>0>(e=l(e)).reduce((e,[t,o],r,n)=>r===n.length-1?e:e+(n[r+1][0]-t)*(n[r+1][1]+o),0)==(t?0!==o:0===o)?e:e.reverse()),l=e=>{let[t,o]=e[0],[r,n]=e[e.length-1];return t===r&&o===n?e.slice():e.concat([e[0]])}}}]);
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.